@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}

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

body{
  position: relative;
  font-size:16px;
  font-family:  "Noto Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
  word-break: auto-phrase;
}

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

.accent-font{
  font-family: "Tinos", serif;
  font-weight: 400;
  font-style: normal;
}

h1{
  font-weight: 500;
  margin: 0;
  font-family: "Noto Serif JP", sans-serif;
}

h2{
  font-weight: 400;
  margin: 0;
  line-height: 1.5;
  font-family: "Noto Serif JP", sans-serif;
}

h3{
  font-weight: 400;
  margin: 0;
  line-height: 1.5;
  font-family: "Noto Serif JP", sans-serif;
}

h4{
  font-weight: 400;
  font-family: "Noto Serif JP", sans-serif;
  margin: 0;
  line-height: 1.5;
}

h5{
  font-weight: 400;
  font-family: "Noto Serif JP", sans-serif;
  margin: 0;
  line-height: 1.5;
}

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

.sp{
  display:none;
}

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

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: 100px;
}

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

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

/* パンクズリスト */
.pankuzu{
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: end;
  gap: 1rem;
}

.pankuzu a{
  position: relative;
  padding-right: 2rem;
  font-size: 14px;
  width: fit-content;
  display: block;
}

.pankuzu a p{
  font-size: 14px;
  line-height: 1;
  width: fit-content;
  color: #525252;
}

.pankuzu p{
  font-size: 14px;
  line-height: 1;
  width: fit-content;
  color: #525252;
}

.pankuzu a:after{
  content: "/";
  position: absolute;
  top: -0.25rem;
  right: 0;
  font-size: 14px;
  color: #525252;
}

@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;
  }
}

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

.page-title h1{
  position: relative;
  font-size: 2.5rem;
  line-height: 1;
  font-weight: 500;
  color: #000;
  padding: 1rem 0;
  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;
  }
  .page-title h1{
    position: relative;
    font-size: 1.5rem;
  }
}

/* メインボタン */
.main-btn{
  position: relative;
  display: block;
  width: 300px;
  height: fit-content;
  padding: 1rem;
  z-index: 0;
  transition: all .5s;
  border-bottom: 1px solid #FFF;
}

.main-btn::before{
  content: "";
  position: absolute;
  top: 1.5rem;
  right: 0;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 10px solid #000; /* 色変更可 */
}

.main-btn::after{
  content: "";
  position: absolute;
  bottom: -1.5px;
  left: 0;
  width: 20%;
  background-color: #E8CDA9;
  height: 2px;
  z-index: 1;
  transition: 1s all;
  z-index: 1;
}

.main-btn p{
  font-size: 18px;
  font-family: "Noto Serif JP", sans-serif;
}

.main-btn img{
  width: 32px;
  height: auto;
}

.main-btn:hover.main-btn::after{
  width: 100%;
}

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

}

/* サブボタン */
.sub-btn{
  position: relative;
  width: 240px;
  text-align: center;
  padding: 1rem;
  background-color: #FFA908;
  color: #FFF;
  border-radius: 5px;
  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{
  opacity: .5;
}


.row{
  margin:0;
}

.cta-base{
  position: relative;
  width: 100%;
  margin: 0 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: fill;
  z-index: -1;
}

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

.cta-base-wrap h2{
  font-size: 1.5rem;
  text-align: center;
  color: #E8CDA9;
}

.cta-base-wrap-title{
  font-size: 2.5rem;
  text-align: center;
  color: #FFF;
  margin-bottom: 1rem;
  font-family: "Noto Serif JP", sans-serif;
}

.cta-base-wrap-item{
  margin: 2rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.cta-base-wrap-item-btn{
  background-color: #fff;
  width: 45%;
  padding: 2rem 1rem;
  border-radius: 10px;
}

.cta-base-wrap-item-btn:hover{
  background-color: #E8CDA9;
}

@media screen and (max-width: 960px) {
  .cta-base-wrap{
    width: 90%;
  }
  .cta-base-wrap h2{
    font-size: 1rem;
  }
  .cta-base-wrap-title{
    font-size: 2rem;
  }
  .cta-base-wrap-item{
    flex-direction: column;
  }
  .cta-base-wrap-item-btn{
    border-radius: 5px;
    background-color: #fff;
    width: 100%;
  }
}


.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;
}

@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;
  }
}


/*アコーディオン全体*/
.accordion-area{
  list-style: none;
  width: 100%;
  margin: 3rem auto;
}
.accordion-area-faq{
  background-color: #fff;
  margin: 0 0 2rem 0;
}

/*アコーディオンタイトル*/
.accordion__title {
  position: relative;
  cursor: pointer;
  padding: 1.5rem 5%;
  font-size: 18px;
  transition: all .5s ease;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 auto;
  width: 100%;
  border-radius: 10px;
  background-color: #EEF1F6;
}

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


.accordion__title-img{
  width: 30px;  
  height: auto;
  z-index: 1;
}

.accordion__answer {
  position: relative;
  cursor: pointer;
  width: 100%;
  font-size: 18px;
  padding: 1.5rem 5%;
  transition: all .5s ease;
  color: #000;
  display: flex;
  align-items: center;
  text-align: left;
  gap: 1rem;
}

.accordion__answer  img{
  width: 30px;  
  height: auto;
}

/* 共通（横線） */
.accordion__title::before,
.accordion__title::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  width: 16px;
  height: 2px;
  background-color: #000;
  transform: translateY(-50%);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ▼ 下向き（閉じているとき） */
.accordion__title::after {
  transform: translateY(-50%) rotate(90deg);
}

.accordion__title.close::after {
  opacity: 0; /* 縦線を消す */
}

.accordion__title.close::before {
  background-color: #FFF;
}

.accordion__title.close {
  background-color: #567EB4;
  color: #FFF;
}

.accordion__title.close{
  text-shadow: none;
  opacity: 1!important;
}

.accordion__title.close:hover{
  opacity: 1!important;
  background-color: #567EB4;
  color: #FFF!important;
}

/*アコーディオンで現れるエリア*/
.accordion__box {
  display: none;
  margin:0 1rem 1rem 0;
  padding: 0 1rem 1rem 0;
}

@media screen and (max-width: 960px) {
  .accordion-area{
    list-style: none;
    width: 100%;
    margin: 1rem auto;
  }
  .accordion__title h3{
    font-size: 12px;
  }
  .accordion__title-img{
    width: 24px;  
  }
  .accordion__answer  img{
    width: 24px;  
  } 
  .accordion__answer {
    font-size: 12px;
    padding: .5rem 1rem;
  }
  .accordion__box {
  display: none;
  margin:0 .5rem .5rem 0;
  padding: 0 .5rem .5rem 0;
}
}
@media screen and (max-width: 414px) {
  .accordion__title p{
    font-size: 12px;
    max-width: 260px;
  }
}

/*====================
文字回転アニメーション
====================*/

.rotate-text-wrap {
  position: relative;
  display: inline-block;
  overflow: hidden;
  line-height: 1;
}

/* 背景 rect */
.rotate-text-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
  z-index: 0;
}

.text-wrap {
  position: relative;
  display: inline-block;
  overflow: hidden;
  height: fit-content;
  z-index: 1;
}

/* ▼ デフォルト文字：通常フロー（幅の基準） */
.text-default {
  position: relative;
  display: flex;
  margin: 0; /* pタグ対策 */
}

/* ▼ hover文字：重ねる */
.text-hover {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  margin: 0;
}

/* 共通 */
.text span {
  display: inline-block;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
  transition-delay: calc(var(--i) * 0.03s);
}

/* 初期位置 */
.text-default span {
  transform: translateY(0);
}

.text-hover span {
  transform: translateY(100%);
}

/* 発火後 */
.rotate-text-wrap.is-active::before {
  transform: scaleY(1);
}

.rotate-text-wrap.is-active .text-default span {
  transform: translateY(-100%);
}

.rotate-text-wrap.is-active .text-hover span {
  transform: translateY(0);
}