@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: 100px 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: 960px) {
  .container{
    margin: 60px auto 0;
  }
}

/* パンクズリスト */
.pankuzu{
  position: absolute;
  left: 15%;
  bottom:  -3rem;
  width: fit-content;
  display: flex;
  justify-content: end;
  gap: 1rem;
  z-index: 10;
}

.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: #696969;
}

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

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

.pankuzu-w a{
  color: #FFF;
}
.pankuzu-w a:after{
  color: #FFF;
}
.pankuzu-w p{
  color: #FFF;
}
.pankuzu-w a p{
  color: #FFF;
}

/* 下層ページタイトル */
.page-title-wrap{
  position: relative;
  display: flex;
  width: 100%;
  padding: 3rem 0;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(
  90deg,
  #1A2D44 0%,
  #4F6F8F 35%,
  #8FA8C3 70%,
  #B8C7D9 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-back{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  object-fit: cover;
}

.page-title{
  position: relative;
  padding: 4rem 0;
  margin: 1rem auto;
  width: 70%;
  z-index: 3;
}

.page-title h1{
  position: relative;
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
  padding: 1rem 0;
  z-index: 1;
  color: #FFF;
}

.page-title p{
  font-size: 2.5rem;
  color: #FFF;
  font-weight: 400;
  z-index: 1;
  font-family: "Noto Serif JP", sans-serif;
}

@media screen and (max-width: 960px) {
  .page-title-wrap{
    padding-top: 80px;
    height: 360px;
  }
  .page-title-wrap-page01{
    height: 640px;
  }
  .page-title-wrap-page02{
    height: 700px;
  }
  .page-title-wrap-page03{
    height: 1000px;
  }
  .page-title{
    padding: 2rem 0;
    margin: 1rem auto;
    width: 90%;
    border-radius: 5px;
  }
  .page-title p{
    font-size: 1.5rem;
    color: #FFF;
    font-weight: 400;
    z-index: 1;
    font-family: "Noto Serif JP", sans-serif;
  }
  .page-title-page{
    gap: 1rem;
  }
  .page-title-inner{
    padding: 2rem 0;
    margin: 1rem auto;
    width: 90%;
    border-radius: 5px;
  }

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

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

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

.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-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: relative;
  font-size: 2.5rem;
  text-align: center;
  color: #000;
  margin: 0 auto 1rem;
}

.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;
    bottom: 0;
    margin: auto;
}

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

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

.cta-base-logo{
  position: relative;
  margin: 1rem auto;
  width: 240px;
  height: auto;
}

.cta-base-logo:hover{
  opacity: .6;
}

@media screen and (max-width: 960px) {
 .cta-base{
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 2rem 0;
  }
  .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;
  border-top: #1A59A2 .5px solid;
}

.accordion-area-faq:last-child{
  border-bottom: #1A59A2 .5px solid;
}
/*アコーディオンタイトル*/
.accordion__title {
  position: relative;
  cursor: pointer;
  padding: 2.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;
  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: 90px;  
  height: auto;
  z-index: 1;
}

.accordion__answer {
  position: relative;
  cursor: pointer;
  width: 100%;
  font-size: 14px;
  padding: 1rem 5% 1rem 10rem;
  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,
.accordion__title::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  width: 16px;
  height: 2px;
  background-color: #1A59A2;
  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{
  text-shadow: none;
  opacity: 1!important;
  font-weight: 400;
}

.accordion__title.close:hover{
  opacity: 1!important;
  font-weight: 400;
}

/*アコーディオンで現れるエリア*/
.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 {
  position: relative;
  cursor: pointer;
  padding: 2.5rem 5%;
  flex-direction: column;
  transition: all .5s ease;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin: 0 auto;
  width: 100%;
  border-radius: 5px;
  background-color: #FFF;
  font-family: "Noto Serif JP", sans-serif;
}
  .accordion__title h3{
    font-size: 12px;
  }
  .accordion__title-img{
    width: 60px!important;
  }
  .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: 200px;
  height: 1100px;
  object-fit: cover;
  display: block;
}

/* スライドレールの枠（表示領域） */
.slide-wrap {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;          /* ← 親に高さ必須 */
  width: 320px;          /* 横幅を固定したい場合 */
}

/* 1スライド */
.slide {
  flex: 0 0 auto;
}

/* スライド全体（縦に並べる） */
.slideshow {
  position: absolute;
  top: 0;
  right: 20%;
  display: flex;
  flex-direction: column;    /* ← 縦並び */
  animation: loop-slide-vertical 24s linear infinite;
  height: max-content;
}

.slideshow-r {
  position: absolute;
  top: 0;
  right: 5%;
  display: flex;
  flex-direction: column;    /* ← 縦並び */
  animation: loop-slide-vertical 30s linear infinite;
  height: max-content;
}

.slideshow,
.slideshow-r {
  display: flex;
  flex-direction: column;
  gap: 2rem; /* ← margin-bottomは禁止 */
}

/* 縦ループアニメーション */
@keyframes loop-slide-vertical {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-50%);
  }
}


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

.slideshow.is-down {
  animation: loop-slide-down 30s linear infinite;
}

@media screen and (max-width: 768px) {
  .slideshow {
    position: absolute;
    top: 0;
    right: 0%;
    display: flex;
    flex-direction: column;    /* ← 縦並び */
    animation: loop-slide-vertical 24s linear infinite;
    height: max-content;
  }

  .slideshow-r {
   display: none;
  }
}
