@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: "Zen Kaku Gothic Antique", sans-serif;
  font-weight: 400;
  font-style: normal;
  word-break: auto-phrase;
  overflow-x: hidden;
}

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

.accent-font{
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  font-style: normal;
}

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

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

h3{
  margin: 0;
  line-height: 1.5;
  font-weight: 600;
}

h4{
  margin: 0;
  line-height: 1.5;
  font-weight: 600;
}

h5{
  margin: 0;
  line-height: 1.5;
  font-weight: 600;
}

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

.sp{
  display:none;
}

a{
  color: #000;
  transition: all .5s;
}
  
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;
  margin: 100px 0 5rem;
}

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

@media screen and (max-width: 768px) {
  .container{
    margin: 60px 0 5rem;
  }
  .content-wrap{
    position: relative;
    width: 90%;
  }
}

/* =========================
   page title
========================= */

.page-title {
  position: relative;
  padding: 3rem 0;
  overflow: hidden;
  margin-bottom: 5rem;
}

.page-title-head {
  width: min(100% - 40px, 1200px);
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  gap: 28px;
  position: relative;
  z-index: 2;
}

.page-title-head h1 {
  margin: 0;
  font-family: serif;
  font-size: clamp(56px, 8vw, 92px);
  line-height: 1;
  font-weight: 500;
}

.page-title-head p {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
}

.page-title-back {
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  max-width: 720px;
  height: 100%;
  object-fit: fill;
}

/* =========================
   pankuzu
========================= */

.pankuzu {
  width: min(100% - 40px, 1200px);
  margin: 28px auto 0;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.pankuzu p {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.pankuzu a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.pankuzu a::after {
  content: ">";
  margin-left: 10px;
}

/* =========================
   1200px
========================= */
@media screen and (max-width: 1200px) {
  .page-title-head,
  .pankuzu {
    width: min(100% - 40px, 1000px);
  }
}

/* =========================
   1024px
========================= */

@media screen and (max-width: 1024px) {
  .page-title {
    padding: 2rem 0 ;
  }

  .page-title-head,
  .pankuzu {
    width: min(100% - 40px, 900px);
  }

  .page-title-back {
    height: 170px;
  }
}

/* =========================
   768px
========================= */

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

  .page-title-head,
  .pankuzu {
    width: calc(100% - 32px);
  }

  .page-title-head {
    gap: 18px;
  }

  .page-title-head h1 {
    font-size: clamp(48px, 10vw, 72px);
  }

  .page-title-head p {
    font-size: 14px;
  }

  .page-title-back {
    width: 42%;
    height: 150px;
  }

  .pankuzu {
    margin-top: 24px;
    gap: 8px;
  }

  .pankuzu p {
    font-size: 10px;
  }

  .pankuzu a::after {
    margin-left: 8px;
  }
}

/* =========================
   414px
========================= */

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

  .page-title {
    padding:2rem 1rem;
  }

  .page-title-head,
  .pankuzu {
    width: calc(100% - 28px);
  }

  .page-title-head {
    display: block;
  }

  .page-title-head h1 {
    font-size: 56px;
  }

  .page-title-head p {
    margin-top: 10px;
    font-size: 13px;
  }

  .page-title-back {
    top: 10px;
    right: -60px;
    width: 72%;
    height: 100%;
    opacity: .7;
    object-fit: fill;
  }

  .pankuzu {
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 6px;
  }

  .pankuzu p {
    font-size: 10px;
  }

  .pankuzu a::after {
    margin-left: 6px;
  }
}

/* メインボタン */
.main-btn{
  position: relative;
  display: block;
  width: 300px;
  height: fit-content;
  padding: 1.5rem 2rem 1.25rem;
  z-index: 0;
  transition: all .5s;
  border-radius: 60px;
  background-color: #FFF;
  border: 2px solid #00A16C;
}

.main-btn::before{
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto 0;
  right: 2rem;
  width: 28px;
  height: 28px;
  background: url("https://withwinsandx.jp/system_panel/uploads/images/20260212183333262864.png");
  background-size: cover;
}

.main-btn p{
  position: relative;
  font-size: 18px;
  font-weight: bold;
  text-align: left;
  color: #00A16C;
  width: fit-content;
  padding-bottom: .25rem;
}

.main-btn p:before{
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #00A16C;
}

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

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

}

/* サブボタン */
.sub-btn{
  position: relative;
  display: block;
  width: 300px;
  height: fit-content;
  padding: 1.5rem 2rem 1.25rem;
  z-index: 0;
  transition: all .5s;
  border-radius: 60px;
  background-color: #00A16C;
  border: 2px solid #00A16C;
}

.sub-btn::before{
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto 0;
  right: 2rem;
  width: 28px;
  height: 28px;
  background: url("https://withwinsandx.jp/system_panel/uploads/images/20260213111257758996.png");
  background-size: cover;
}

.sub-btn p{
  position: relative;
  font-size: 18px;
  font-weight: bold;
  text-align: left;
  color: #FFF;
  width: fit-content;
  padding-bottom: .25rem;
}

.sub-btn p:before{
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #FFF;
}

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


.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;
  border-top: #008459 3px solid;
}

.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: 1rem 0;
  width: 70%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  z-index: 0;
  color: #00A16C;
  font-size: 18px;
  font-weight: 600;
}

.cta-base-wrap h2{
  position: relative;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  color: #00A16C;
  margin: 0 auto;
  line-height: 1;
}

.cta-base-wrap-title{
  position: relative;
  font-size: 5rem;
  text-align: center;
  color: #00A16C;
  margin: 0 auto;
  line-height: 1;
}

.cta-base-wrap-title{
  position: relative;
  font-size: 5rem;
  text-align: center;
  color: #00A16C;
  margin: 0 auto;
  line-height: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.cta-base-wrap-title-deco{
  position: absolute;
  top: -2rem;
  left: -3rem;
  width: 100px;
  height: auto;
  z-index: 0;
}

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

.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-wrap{
  position: relative;
  margin: 1rem auto;
  width: 90%;
  font-size: 14px;
  font-weight: 600;
}
  .cta-base-wrap-title{
    font-size: 3rem;
  }
  .cta-base-wrap-item{
    position: relative;
    margin: 0 auto;
    flex-direction: column;
    gap: 2rem;
    width: 90%;
  }
}


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


/* スライドする要素（画像） */
.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: 30%;
  display: flex;
  flex-direction: column;    /* ← 縦並び */
  animation: loop-slide-vertical 24s linear infinite;
  height: max-content;
}

.slideshow-r {
  position: absolute;
  top: 0;
  right: 15%;
  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: 1400px) {
  .slideshow-r {
    position: absolute;
    top: 0;
    right: 10%;
    display: flex;
    flex-direction: column;    /* ← 縦並び */
    animation: loop-slide-vertical 30s linear infinite;
    height: max-content;
  }
}


@media screen and (max-width: 1200px) {
  .slideshow {
    position: absolute;
    top: 0;
    right: 30%;
    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;
  }
}

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

  .slideshow-r {
   display: none;
  }
}



/* 初期状態 */

.animate-fv-text-img {
  display: block;

  opacity: 0;

  clip-path: polygon(
    0 0,
    0 0,
    0 100%,
    0 100%
  );

  transform: translate(-50px, -30px);

  filter: blur(12px);

  transition:
    opacity 1s ease,
    clip-path 1.2s ease,
    transform 1.2s ease,
    filter 1.2s ease;
}

/* スクロールで発火 */

.animate-fv-text-img.is-show {
  opacity: 1;

  clip-path: polygon(
    0 0,
    100% 0,
    100% 100%,
    0 100%
  );

  transform: translate(0, 0);

  filter: blur(0);
}



/* =========================
   black button
========================= */

.back-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;

  width: 220px;
  height: 56px;
  margin: 60px auto;

  border: 1px solid #000;
  background: #fff;

  color: #000;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;

  overflow: hidden;

  transition:
    color .5s ease,
    border-color .5s ease;
}

.back-btn p {
  position: relative;
  z-index: 3;
  margin: 0;
}

/* 左上三角 */

.back-btn::after {
  content: "";
  position: absolute;

  top: 0;
  left: 0;

  width: 18px;
  height: 18px;

  background: #000;

  clip-path: polygon(0 0, 100% 0, 0 100%);

  transition: background .5s ease;

  z-index: 2;
}

/* 背景アニメ */

.back-btn::before {
  content: "";
  position: absolute;

  top: 0;
  left: 0;

  width: 165%;
  height: 380%;

  background: #000;

  transform:
    translateX(-102%)
    translateY(-74%)
    rotate(135deg);

  transition:
    transform .65s cubic-bezier(.22,1,.36,1);

  z-index: 1;
}

.back-btn:hover {
  color: #fff;
}

/* 三角反転 */

.back-btn:hover::after {
  background: #fff;
}

/* 背景展開 */

.back-btn:hover::before {
  transform:
    translateX(-18%)
    translateY(-34%)
    rotate(135deg);
}

/* =========================
   white button
========================= */

.back-btn-w {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;

  width: 220px;
  height: 56px;
  margin: 60px auto;

  border: 1px solid #fff;
  background: transparent;

  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;

  overflow: hidden;

  transition:
    color .5s ease,
    border-color .5s ease;
}

.back-btn-w p {
  position: relative;
  z-index: 3;
  margin: 0;
}

/* 左上三角 */

.back-btn-w::after {
  content: "";
  position: absolute;

  top: 0;
  left: 0;

  width: 18px;
  height: 18px;

  background: #fff;

  clip-path: polygon(0 0, 100% 0, 0 100%);

  transition: background .5s ease;

  z-index: 2;
}

/* 背景アニメ */

.back-btn-w::before {
  content: "";
  position: absolute;

  top: 0;
  left: 0;

  width: 165%;
  height: 380%;

  background: #fff;

  transform:
    translateX(-102%)
    translateY(-74%)
    rotate(135deg);

  transition:
    transform .65s cubic-bezier(.22,1,.36,1);

  z-index: 1;
}

.back-btn-w:hover {
  color: #000;
}

/* 三角反転 */

.back-btn-w:hover::after {
  background: #000;
}

/* 背景展開 */

.back-btn-w:hover::before {
  transform:
    translateX(-18%)
    translateY(-34%)
    rotate(135deg);
}

/* =========================
   responsive
========================= */

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

  .back-btn,
  .back-btn-w {
    width: 200px;
    height: 52px;

    font-size: 16px;
  }

}

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

  .back-btn,
  .back-btn-w {
    width: 180px;
    height: 48px;

    font-size: 14px;
  }

  .back-btn::after,
  .back-btn-w::after {
    width: 15px;
    height: 15px;
  }

}