@charset "utf-8";

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

.accent-font {
  font-family: "Pinyon Script", cursive;
  font-weight: 400;
  font-style: normal;
}

body{
  position: relative;
  font-size:16px;
  font-family: "Shippori Mincho", serif;
  font-weight: 700;
  font-style: normal;
  word-break: auto-phrase;
}

@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;
}
  
a:hover{
	text-decoration: none;
}

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

.container-side{
  position: relative;
  width: 80%;
  max-width: 1200px;
  padding: 0!important;
  margin: 0 auto!important;
}

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

.page-head{
  font-size: 14px;
  width: 100%;
  position: fixed;
  top: 0;
  padding: .5rem 5%;
  background-color: #B31C00;
  color: #fff;
  z-index:9999;
  height: 32px;
}

@media screen and (max-width: 768px) {
  .page-head{
    font-size: 10px;
  }
}



/* パンクズリスト */
.pankuzu{
  padding: 1rem 10%;
  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.125rem;
  right: 0;
  font-size: 1rem;
}

@media screen and (max-width: 960px) {
  .pankuzu{
    padding: .5rem 5%;
  }
  .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: 5rem 10%;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.page-title-img{
  position: absolute;
  left: 0;
  top: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  z-index: -1;
  object-fit: cover;
  object-position: 0 0;
}

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

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

.page-title-deco{
  position: absolute;
  bottom: 0;
  right: 10%;
  width: 120px;
  height: auto;
}

@media screen and (max-width: 960px) {
  .page-title{
    padding: 3rem 5% 1.5rem;
    gap: 2rem;
  }
  .page-title p{
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }
  .page-title-deco{
    right: 5%;
    width: 60px;
  }
}

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

.main-btn-img{
  width: 2rem;
  height: 2rem;
  position: absolute;
  left: 1rem;
  top: 0;
  bottom: 0;
  margin: auto 0;
  z-index: 1;
  transition: transform 1s ease;
}

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

/* 元の文字を隠す */
.main-btn p {
  display: inline-block;
  transition: opacity 1s .25s;
}

/* ホバー時に元の文字を透明化 */
.main-btn:hover p {
  opacity: 0;
}

.main-btn::after {
  content: "Click!";
  position: absolute;
  font-size: 1rem;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 1s .25s;
  color: #000;
}

/* ホバー時に表示 */
.main-btn:hover::after {
  opacity: 1;
}

.main-btn:hover .main-btn-img{
  transform: translateX(180px);
}

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

}

/* サブボタン */
.sub-btn{
  position:relative;
  width: 280px;
  height: fit-content;
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: 80px;
  background-color: #565FAC;
  display: block;
  transition: all 0.5s ease;
}

.sub-btn:before{
  content: "";
  position: absolute;
  top: 5%;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 95%;
  height: 90%;
  border-radius: 80px;
  background-color: transparent;
  border: 1px solid #FFF; 
}

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

.sub-btn:hover{
  box-shadow: none;
  text-decoration: none!important;
}

@media screen and (max-width: 960px) {
  .sub-btn{
    width: 240px;
    padding: 1.5rem;
  }
  .sub-btn p{
    font-size: 14px;
  }
}

@media screen and (max-width: 414px) {
  .sub-btn{
    width: 180px;
    padding: 1rem;
    border-radius: 40px;
  }
  .sub-btn p{
    font-size: 10px;
  }
}

.row{
  margin:0;
}

.cta-base{
  position: relative;
  width: 70%;
  margin: 5rem auto;
  padding: 3rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  border-radius: 30px;
  z-index: 0;
  text-align: center;
}

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

.cta-base h2{
  font-size: 1rem;
}

.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;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
}

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

@media screen and (max-width: 960px) {
  .cta-base{
    position: relative;
    width: 90%;
    margin: 3rem auto;
    border-radius: 20px;
    padding: .5rem;
  }
  .cta-base-back{
    border-radius: 20px;
  }

  .cta-base h2{
    font-size: 1rem;
  }
  .cta-base-wrap{
    flex-direction: column;
  }
  .cta-base-phone{
      position: relative;
      display: flex;
      gap: .5rem;
      align-items: center;
      padding: .5rem 1rem;
      border-top: 1px solid #000;
      border-bottom: 1px solid #000;
  }
  .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;
  }
}