@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:  "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", 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;
  margin: 120px auto 0;
}

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

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

@media screen and (max-width: 1024px) {
  .container{
    margin: 60px auto 0;
  }
}

/* パンクズリスト */
.pankuzu{
  position: absolute;
  right: 1.5rem;
  top: 1rem;
  width: fit-content;
  display: flex;
  justify-content: end;
  gap: 1rem;
}

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

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

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

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

/* 下層ページタイトル */
.page-title-wrap{
  display: flex;
  width: 100%;
  height: 560px;
  padding-top: 120px;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(
    150deg,
    #2F5862 0%,
    #7FB2A5 35%,
    #C7DDCF 70%,
    #FFF 100% 
  );
  background-size: 400% 400%;
  animation: Grad 12s ease-in-out infinite;
}

@keyframes Grad {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.page-title-wrap-page01{
  height: 900px;
}
.page-title-wrap-page01-1{
  height: 840px;
}

.page-title-wrap-page02{
  height: 1200px;
}

.page-title-wrap-page03{
  height: 1400px;
}

.page-title-back{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  object-fit: cover;
  opacity: .6;
}

.page-title{
  position: absolute;
  top: 140px;
  left: 0;
  right: 0;
  padding: 4rem 0;
  margin: 1rem auto;
  width: 70%;
  max-width: 960px;
  background-color: #FFFFFF9e;
  backdrop-filter: blur(16px);
  border-radius: 10px;
  z-index: 3;
}

.page-title-page{
  position: absolute;
  top: 140px;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.page-title-inner{
  padding: 4rem 0;
  margin: 1rem auto;
  width: 70%;
  max-width: 960px;
  background-color: #FFFFFF9e;
  backdrop-filter: blur(16px);
  border-radius: 10px;
  z-index: 3;
}

.page-title h1{
  position: relative;
  font-size: 5rem;
  line-height: 1;
  font-weight: 500;
  padding: 1rem 0;
  z-index: 1;
  background: linear-gradient(235deg, #3d6873, #7ab1a0 60%, #d0e4de59); 
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
}

.page-title-text p{
  font-size: 1.5rem;
  color: #3D6873;
  font-weight: 400;
  z-index: 1;
  font-family: "Noto Serif JP", sans-serif;
  text-align: center;
}

.page-title-inner h1{
  position: relative;
  font-size: 5rem;
  line-height: 1;
  font-weight: 500;
  padding: 1rem 0;
  z-index: 1;
  background: linear-gradient(235deg, #3d6873, #7ab1a0 60%, #d0e4de59); 
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
}

.page-title-desc{
  position: relative;
  margin: 3rem auto;
  width: 70%;
  max-width: 960px;
  display: flex;
  gap: 2rem;
  z-index: 1;
}

.page-title-desc h2{
  width: 45%;
  font-size: 2.5rem;
  color: #464646;
}

@media screen and (max-width: 1024px) {
  .page-title-wrap-page02{
    height: 1024px;
  }
  .page-title-wrap-page01{
    height: 1024px;
  }
  .page-title-desc{
    margin: 2rem auto;
    width: 80%;
  }
  .page-title-desc h2{
    width: 40%;
    font-size: 2rem;
    color: #464646;
  }
}

@media screen and (max-width: 960px) {
  .page-title-wrap{
    padding-top: 80px;
    height: 360px;
  }
  .page-title-wrap-page01{
    height: 720px;
  }
  .page-title-wrap-page01-1{
    height: 600px;
  }
  .page-title-wrap-page02{
    height: 700px;
  }
  .page-title-wrap-page03{
    height: 1000px;
  }
  .page-title{
    top: 100px;
    padding: 2rem 0;
    margin: 1rem auto;
    width: 90%;
    border-radius: 5px;
  }
  .page-title-page{
    top: 100px;
    gap: 1rem;
  }
  .page-title-inner{
    padding: 2rem 0;
    margin: 1rem auto;
    width: 90%;
    border-radius: 5px;
  }

  .page-title h1{
    font-size: 2.5rem;
  }

  .page-title-text p{
    font-size: 1.25rem;
  }
  .page-title-inner h1{
    font-size: 2.5rem;
  }
  .page-title-desc{
    margin: 2rem auto;
    width: 90%;
  }
  .page-title-desc h2{
    width: 100%;
    font-size: 2rem;
    color: #464646;
  }
  
  .page-title-desc{
    margin: 1rem auto;
    width: 90%;
    flex-direction: column;
    gap: 1rem;
  }
  .page-title-desc h2{
      width: auto;
      font-size: 1.5rem;
      color: #464646;
    }
}
@media screen and (max-width: 600px) {
  .page-title-wrap-page03{
      height: 1400px;
    }
}

/* メインボタン */
.main-btn{
  position: relative;
  display: block;
  width: 300px;
  height: fit-content;
  padding: 1rem 2rem;
  z-index: 0;
  transition: all .5s;
  border-radius: 10px;
  background-color: #3D6873;
}

.main-btn::before{
  content: ">";
  position: absolute;
  top: 18px;
  right: 2rem;
  font-size: 14px;
  color: #FFF;
}

.main-btn p{
  font-size: 18px;
  text-align: left;
  color: #FFF;
  font-family: "Noto Serif JP", sans-serif;
}

.main-btn:hover{
  opacity: .6;
}

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

.cta-base-02{
  border: 3px solid #3D6873;
  width: 70%;
  margin: 2rem auto;
  border-radius: 10px;
}

.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;
  padding: 3rem 0 1rem;
  width: 70%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #FFF;
  gap: 1rem;
  z-index: 0;
  color: #000;
  font-family: "Noto Serif JP", sans-serif;
}

.cta-base-wrap h2{
  position: absolute;
  font-size: 2.5rem;
  text-align: center;
  color: #000;
  top: -2rem;
  left: 0;
  right: 0;
  margin: 0 auto;
}

.cta-base-wrap-02{
  position: relative;
  margin: 1rem auto;
  padding: 0;
  width: 70%;
}

.cta-base-wrap-02 h2{
  position: relative;
  top: auto;
  font-size: 1.5rem;
  text-align: center;
  color: #000;
  margin: 1rem auto;
}

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

.cta-base-wrap-item:before {
    content: "";
    position: absolute;
    width: .5px;
    height: 60px;
    background: #818181;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.cta-base-wrap-item a{
  width: 320px;
}

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

@media screen and (max-width: 960px) {
 .cta-base{
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 2rem 0;
  }
  .cta-base-02{
    border: 1px solid #3D6873;
    width: 90%;
    margin: 2rem auto;
    border-radius: 5px;
  }
  .cta-base-wrap-02 h2{
    font-size: 1rem!important;
  }
  .cta-base-back{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    z-index: -1;
  }
  .cta-base-wrap{
    padding: 3rem 0 1rem;
    width: 90%;
    gap: 1rem;
  }
  .cta-base-wrap h2{
    font-size: 1.5rem;
    top: -1rem;
  }
  .cta-base-wrap-item{
    position: relative;
    margin: 0 auto;
    flex-direction: column;
    gap: 2rem;
    width: 90%;
  }
  .cta-base-wrap-item:before {
      display: none;
  }
  .cta-base-wrap-item a{
    max-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: 0 auto;
}
.accordion-area-faq{
  background-color: #fff;
  margin: 0 0 2rem 0;
}

/*アコーディオンタイトル*/
.accordion__title {
  position: relative;
  cursor: pointer;
  padding: 1.5rem 5%;
  font-size: 16px;
  transition: all .5s ease;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 auto;
  width: 100%;
  border-radius: 5px;
  background-color: #FFF;
  color: #3D6873;
  font-family: "Noto Serif JP", sans-serif;
}

.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: 14px;
  padding: 1.5rem 5% 1.5rem 5rem;
  transition: all .5s ease;
  color: #464646;
  display: flex;
  align-items: center;
  text-align: left;
  gap: 1rem;
}

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

/* ▼ 下向き（閉じているとき） */
.accordion__title::before {
  content: '';
  position: absolute;
  color: #000;
  right: 20px;      /* 矢印の位置 */
  top: 40%;
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
  width: 1rem;
  height: 1rem;
  border: 1px solid currentColor;
  border-left: 0;
  border-bottom: 0;
  box-sizing: border-box;
  transform: translateY(-25%) rotate(135deg);
  z-index: 1;
}

/* ▲ 上向き（開いているとき） */
.accordion__title.close::before {
  transform: translateY(4px) rotate(-45deg);
}

.accordion__title.close:hover{
  opacity: 1!important;
  color: #3D6873!important;
  font-weight: 400!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;
  }
}

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

/* スライドレールの枠 */
.slide-wrap {
  overflow: hidden;
  display: flex;
  align-items: center;
  height: 320px;
  width: 100%;
  margin-right: 1.5rem;
}

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

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

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