@charset "utf-8";

*,*::before,*::after{box-sizing:border-box}html{-moz-text-size-adjust:none;-webkit-text-size-adjust:none;text-size-adjust:none}body,h1,h2,h3,h4,p,figure,blockquote,dl,dd{margin:0}ul[role='list'],ol[role='list']{list-style:none}body{min-height:100vh;line-height:1.5}h1,h2,h3,h4,button,input,label{line-height:1.1}h1,h2,h3,h4{text-wrap:balance}a:not([class]){text-decoration-skip-ink:auto;color:currentColor}img,picture{max-width:100%;display:block}input,button,textarea,select{font:inherit}textarea:not([rows]){min-height:10em}:target{scroll-margin-block:5ex}

@charset "utf-8";

.invisible-style{
  display: none!important;
}

.accent-font {
  font-family: "Arial", serif;
  font-weight: bold;
  font-style: normal;
  letter-spacing: .25rem;
}

body{
  position: relative;
  font-size:16px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  font-style: normal;
  word-break: auto-phrase;
  background-color: #F5F4F4;
  color: #403C3C;
}

@media screen and (max-width: 768px) {
  body{
    font-size: 14px;
  }
}

h1{
  font-weight: bold;
  margin: 0;
}

h2{
  font-weight: bold;
  margin: 0;
  line-height: 1.5;
}

h3{
  font-weight: bold;
  margin: 0;
}

h4{
  font-weight: bold;
  margin: 0;
}

h5{
  font-weight: bold;
  margin: 0;
}

p{
  margin:0;
  line-height: 1.5;  
}

.sp{
  display:none;
}

a{
  color: #000;
  transition: all .5s;
}
  
a:hover{
	text-decoration: none;
    color: #cdcdcd;
}

img{
  width:100%;
  object-fit: contain;
}

h1{
}

iframe{
  border: none;
  width: 100%;
  max-height: 420px;
}

.container{
  position: relative;
  width: 100%;
  max-width: 100%;
  padding: 0!important;
  overflow: hidden;
}

.page-container{
  position: relative;
  width: 100%;
  max-width: 100%;
  padding: 0!important;
  overflow: hidden;
  margin-top: 180px;
}

.content-wrap{
  position: relative;
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
}

@media screen and (max-width: 960px) {
  .page-container{
    margin-top: 80px;
  }
}

/* パンクズリスト */
.pankuzu{
  display: flex;
  gap: 1rem;
}

.pankuzu a{
  position: relative;
  padding-right: 2rem;
  font-size: 1rem;
  width: fit-content;
  display: block;
}
.pankuzu a p{
  font-size: 1rem;
  font-weight: bold;
  line-height: 1;
  width: fit-content;
}

.pankuzu p{
  font-size: 1rem;
  font-weight: bold;
  line-height: 1;
  width: fit-content;
}

.pankuzu a:after{
  content: ">";
  position: absolute;
  top: -0.25rem;
  right: 0;
  font-size: 1rem;
}

@media screen and (max-width: 960px) {
  .pankuzu a{
    font-size: 12px;
  }
  .pankuzu a p{
    font-size: 12px;
  }
  .pankuzu p{
    font-size: 12px;
  }
  .pankuzu a:after{
    font-size: 12px;
  }
}

/* SNS固定要素 */
.sns-fixed{
  position: fixed;
  left: 2.5rem;
  bottom: 12rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 24px;
  z-index: 10;
}

.sns-fixed img{
  width: 24px;
  height: auto;
}

.sns-fixed img:hover{
  opacity: .8;
}

.sns-fixed-text{
  position: relative;
  padding-left: 5rem;
  transform: rotate(90deg);
  transform-origin: left;
  width: 160px;
  height: 48px;
  transition: all .75s;
}

.sns-fixed-text:before{
  content: "";
  position: absolute;
  width: 4rem;
  height: 1px;
  background-color: #000;
  top: 12px;
  left: 0;
  transition: all 1s;
}

.sns-fixed-text:hover{
  position: relative;
  padding-left: 7rem;
  width: 200px;
  color: #000;
}

.sns-fixed-text:hover:before{
  content: "";
  position: absolute;
  width: 6rem;
}

@media screen and (max-width: 960px) {
  .sns-fixed{display: none;}
}

/* 下層ページタイトル */
.page-title{
  position: relative;
  padding: 1rem 2rem;
  margin: 0 auto;
  width: 80%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  border-left: 3px solid #000;
}

.page-title-text h1{
  position: relative;
  font-size: 2.5rem;
  line-height: 1;
  font-weight: 800;
  color: #000;
  padding: 1rem 0;
  width: 190px;
  z-index: 1;
}

.page-title-text p{
  font-size: 1rem;
  color: #000;
  font-weight: 600;
  z-index: 1;
}

@media screen and (max-width: 960px) {
  .page-title{
    width: 90%;
    gap: 1rem;
  }
}

/* メインボタン */
.main-btn{
  position: relative;
  width: 240px;
  text-align: center;
  padding: 1rem;
  background-color: transparent;
  border: 1px solid #403C3C;
  border-radius: 100px;
  display: block;
  transition: all 0.5s ease;
  height: fit-content;
  font-weight: bold;
  z-index: 0;
  transition: all .5s;
}

.main-btn p{
  font-weight: bold!important;
  color: #403C3C!important;
  font-size: 1rem;
  margin: 0!important;
}

.main-btn:hover{
  background-color: #403C3C;
}

.main-btn:hover p{
  color: #FFF!important;
}

@media screen and (max-width: 480px) {

}

/* サブボタン */
.sub-btn{
  position: relative;
  width: 240px;
  text-align: center;
  padding: 1rem;
  background-color: transparent;
  border: 1px solid #FFF;
  color: #FFF;
  border-radius: 100px;
  display: block;
  transition: all 0.5s ease;
  height: fit-content;
  font-weight: bold;
  z-index: 0;
  transition: all .5s;
}

.sub-btn p{
  font-weight: bold;
  font-size: 1rem;
  color: #FFF;
}

.sub-btn:hover{
  color: #FFF;
  background-color: #403C3C;
}


.row{
  margin:0;
}

.cta-base{
  position: relative;
  width: 100%;
  margin: 5rem auto;
  padding: 3rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  z-index: 0;
  text-align: center;
  color: #FFF;
}

.cta-base-back{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.cta-base h2{
  color: #FFF;
  font-size: 4rem;
}

.cta-base-wrap{
  position: relative;
  margin: 1rem auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  z-index: 0;
}

.cta-base-phone{
    position: relative;
    display: flex;
    gap: .5rem;
    align-items: center;
    padding: .5rem 1rem;
  color: #FFF;
}

.cta-base-phone-num{
    font-size: 2rem;
}

@media screen and (max-width: 960px) {
  .cta-base{
    position: relative;
    width: 100%;
    margin: 3rem auto;
  }
  .cta-base h2{
    font-size: 2rem;
  }
  .cta-base-desc{
    width: 90%;
    margin: 0 auto;
  }
  .cta-base-wrap{
    flex-direction: column;  
  }
  .cta-base-phone{
      position: relative;
      display: flex;
      gap: .5rem;
      align-items: center;
      padding: .5rem 1rem;
  }
  .cta-base-phone-num{
      font-size: 1.5rem;
  }
}


.form-btn{
    position: relative;
    display: block;
    height: auto;
    width: fit-content;
    padding: 1rem;
    font-size: 1.25rem;
    color: #fff;
    margin: 2rem auto;
    border: 1px solid #fff;
  min-width: 200px;
}

.form-btn p{
  margin: 0;
  line-height: 1;
}
.form-btn:hover{
    background-color: #EBC551;
    color: #fff;
}


/* スライドする要素 */
.slide-img {
  width: 300px;
  height: 180px;
  object-fit: cover;
}

.slide-img-top {
  border-radius: 0!important;
}
/* スライドレールの枠 */
.slide-wrap {
  overflow: hidden;
  display: flex;
  align-items: center;
  height: 180px;
  width: 100%;
}

.slide {
  flex: 0 0 auto; /* 必須：スライド幅を固定 */
}

/* contentをまとめたスライドブロック */
.slideshow {
  display: flex;
  -webkit-animation: loop-slide 30s infinite linear 1s both;
  animation: loop-slide 30s infinite linear 1s both;
  width: max-content;
  margin-right: 0.5rem;
}

.slideshow-r {
  display: flex;
  -webkit-animation: loop-slide-r 30s infinite linear 1s both;
  animation: loop-slide-r 30s infinite linear 1s both;
  width: max-content;
  margin-right: 0.5rem;
}

@keyframes loop-slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@keyframes loop-slide-r {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}


@media screen and (max-width: 1280px) {
  .container-side{
    width: 80%;
    max-width: 80%;
    margin: 0 auto!important;
  }
  .fixed-menu{
    display: none;
  }
  .fixed-menu-wrap{
  	position: relative;
    margin-bottom: 3rem;
  }
  .content-title-side{
    margin: 0 auto 5rem;
  }
}


@media screen and (max-width: 1024px) {
  .content-wrap{
    position: relative;
    width: 90%;
  }
}

@media screen and (max-width: 768px) {
  .content-title-text h1{
    font-size: 3rem;
  }
  .sp{
    display:block;
  }
  .pc{
  display:none;
  }
  body{
    font-size:14px;
  }
  .content-title-text p{
    position: relative;
    font-size: 1rem;
    font-weight: bold;
    padding-left: 3rem;
  }

  .content-title-text p:before{
    content: "";
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 2.5rem;
    height: 0.5rem;
    border-radius: 0.5rem;
    background-color: #FD5B50;
  }
  .content-contact-title{
    font-size: 2rem;
    text-align: center;
    color: #C6FE5C;
  }
  .content-contact-link{
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
}

.hidden {
    animation: fade .2s ease-in-out forwards;
    pointer-events:none;/* 重要 */
}

@keyframes fade {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.visible {
    animation: fadeOut .2s ease-in-out forwards;
    pointer-events:all;/* 重要 */
}

@keyframes fadeOut {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}



/* ===== PC：ページ遷移オーバーレイ ===== */
#page-transition-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

#page-transition-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* GIFサイズ（PC） */
#page-transition-overlay img,
.page-transition-gif {
  max-width: 60vw;
  max-height: 60vh;
  object-fit: contain;
  width: auto;
  height: auto;
  will-change: transform, opacity;
}

/* ===== スマホでは GIF を「完全に無効化」 ===== */
@media screen and (max-width: 960px) {
  #page-transition-overlay {
    display: none !important;   /* ← スマホでは非表示に */
    opacity: 0 !important;
    pointer-events: none !important;
  }
}