/****************************
全体設定
****************************/
/* スクロールバーを透明に */
html {
  scrollbar-color: transparent transparent;
  scrollbar-width: thin;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
  background: transparent;
}
html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 4px;
}
html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.15);
}
img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
a:hover {
  opacity: .7;
}

/*********************************
メインビジュアル
*********************************/
.main-visual {
  margin-bottom: 0px;
}
.mv-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 1;
}
.mv-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenBurns 5s ease-in-out infinite alternate;
}
@keyframes kenBurns {
  0% {
      transform: scale(1);
  }
  100% {
      transform: scale(1.1);
  }
}
/* === 人物・ベースレイヤー === */
.mv-base {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.mv-base picture {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}
.mv-base img {
  max-width: 1440px;
  width: 100%;
  /* 人物が縦に切れないよう cover ではなく contain（余計なクリップを避ける） */
  object-fit: contain;
  object-position: center;
}
/* === キャッチコピーのアニメーション === */
.mv-catchphrase {
  position: absolute;
  z-index: 3;
  top: clamp(160px, 22vw, 325px);
  left: clamp(160px, 18%, 230px);
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}
.catch-bg img {
  width: 53vw;
  max-width: 800px;
  margin: 0 auto;
  display: block;
}
.catch-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 800px;
  z-index: -1;
  opacity: 0;
  animation: fadeInBg 0.8s ease-out forwards;
}
@keyframes fadeInBg {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.catch-item {
  opacity: 0;
  transform: translateY(20px);
  margin: 0 5px;
}
.catch-item img {
  width: auto;
}
.catch-item:nth-of-type(2) img {
  height: 5vw;
  max-height: 60px;
  /* margin-top: 54px; */
  margin-top: 53%;
}
.catch-item:nth-of-type(3) img {
  height: 6vw;
  max-height: 90px;
  /* margin-bottom: -15px; */
  margin-bottom: -9%;
}
.catch-item:nth-of-type(4) img {
  height: 10vw;
  max-height: 130px;
  /* margin-bottom: 70px; */
  margin-bottom: 38%;
}
@keyframes floatUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.catch-item {
  animation: floatUp 1s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}
.delay-1 {
  animation-delay: 0.5s;
}
.delay-2 {
  animation-delay: 0.8s;
}
.delay-3 {
  animation-delay: 1.1s;
}

/*********************************
CTAセクション
*********************************/
.cta-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 30px 20px;
}
.cta-text {
  width: 50%;
  max-width: 480px;
}
.cta-button {
  width: 50%;
  max-width: 480px;
}
.cta-button a {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 50px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  animation: btnShake 4s infinite;
}
.cta-button a:hover {
  animation: none;
  transform: translateY(-3px);
  opacity: 0.9;
}
/* --- ぷるっと震えるキーフレーム --- */
@keyframes btnShake {
  0%   { transform: translateX(0); }
  2%   { transform: translateX(-5px); }
  4%   { transform: translateX(5px); }
  6%   { transform: translateX(-5px); }
  8%   { transform: translateX(5px); }
  10%  { transform: translateX(0); }
  100% { transform: translateX(0); }
}
/* --- 光が流れるエフェクト --- */
.cta-button a::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  z-index: 10;
  animation: ctaShine 4s ease-in-out infinite;
}
@keyframes ctaShine {
  0%   { left: -100%; }
  20%  { left: 200%; }
  100% { left: 200%; }
}
/* 画面下に固定用 */
.cta-section.floating {
  position: fixed;
  bottom: -150px;
  left: 0;
  width: 100%;
  z-index: 999;
  padding: 0;
  margin: 0;
  pointer-events: none;
  transition: bottom 0.4s ease-out;
}
.cta-section.floating.is-show {
  bottom: 0;
  pointer-events: auto;
}

/*********************************
モヤモヤ・解決セクション
*********************************/
.problem-section {
  position: relative;
  width: 100%;
  /* overflow: hidden; */
}
.problem-bg-shape {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
}
.problem-bg-shape img {
  width: 100%;
  height: auto;
}
.problem-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1130px;
  margin: 0 auto;
}
.problem-graphic-split {
  /* padding-top: 110px; */
  padding-top: clamp(90px, 10vw, 160px);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  /* width: 100%; */
  width: 72vw;
  margin: 0 auto;
}
.graphic-left {
  width: 26%;
  position: relative;
  z-index: 2;
  margin-right: 2%;
}
.graphic-center {
  width: 50%;
  position: relative;
  z-index: 1;
  margin-bottom: 60px;
}
.graphic-right {
  width: 25%;
  position: relative;
  z-index: 2;
  margin-left: -8%;
  margin-bottom: 10px;
}
.problem-arrow {
  width: 10%;
  max-width: 20px;
}
.problem-text {
  width: 100%;
  max-width: 800px;
  margin-top: -40px;
}
.problem-photos {
  width: 100%;
  max-width: 800px;
  display: flex;
  gap: 20px;
  margin-top: 40px;
}
/*  スクロールアニメーション設定 */
.js-scroll {
  opacity: 0;
  visibility: hidden;
}
.fade-left {
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease, visibility 0.8s;
}
.fade-left.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
.fade-left.delay1 {
  transition-delay: 0.3s;
}
.fade-left.delay2 {
  transition-delay: 0.6s;
}
.fade-left.delay3 {
  transition-delay: 0.9s;
}
.fade-left.delay4 {
  transition-delay: 1.2s;
}
.bounce-up.is-active {
  visibility: visible;
  animation: bounceUpAnim 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
@keyframes bounceUpAnim {
  0% {
      opacity: 0;
      transform: translateY(50px);
  }
  100% {
      opacity: 1;
      transform: translateY(0);
  }
}

/*********************************
選ばれる3つの理由からの設定
*********************************/
.inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}
/*********************************
背景の大枠
*********************************/
.main-bg-wrapper {
  width: 100%;
  background-image: url('../img/bg_gradient_grid.png');
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  padding-top: 80px;
  padding-bottom: 20px;
}
/*********************************
選ばれる3つの理由セクション
*********************************/
.reasons-section {
  margin-bottom: 100px;
}
.features-title {
  text-align: center;
  margin-bottom: 50px;
}
.features-title img { max-width: 500px; }
.reasons-cards {
  display: flex;
  justify-content: space-between;
}
.reason-card { width: 31%; }
.reason-card img { width: 100%; height: auto; }
/*********************************
実績セクション
*********************************/
.results-section {
  text-align: center;
}
.results-section img {
  width: 100%;
  max-width: 900px;
  height: auto;
  filter: drop-shadow(0px 10px 20px rgba(0, 0, 0, 0.05));
}
/*********************************
比較（GOOD vs BAD）セクション
*********************************/
.compare-section {
  padding-top: 80px;
  text-align: center;
}
.compare-title {
  margin-bottom: 50px;
}
.compare-title img {
  max-width: 800px;
  width: 100%;
}
.compare-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
}
.compare-col {
  width: 48%;
  max-width: 460px;
}
.compare-col img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0px 8px 16px rgba(0,0,0,0.08));
}
.row-vs {
  position: relative;
}
.vs-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  z-index: 10;
}
.vs-mark img {
  width: 100%;
}
.bias-box {
  margin-top: 60px;
}
.bias-box img {
  max-width: 700px;
  width: 100%;
}
/* アニメーション */
.js-anim {
  visibility: hidden;
}
.js-anim.is-active {
  visibility: visible;
}
.flip-in {
  opacity: 0;
  transform: perspective(1000px) rotateY(-90deg);
  transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}
.flip-in.is-active {
  opacity: 1;
  transform: perspective(1000px) rotateY(0deg);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.5s; }
.results-board-wrapper {
  position: relative;
  display: inline-block;
}
.results-board-wrapper img {
  display: block;
  width: 100%;
  max-width: 900px;
}
.number-pos {
  position: absolute;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: bold;
  color: #EB6B71;
  line-height: 1;
}
.pos-1 { top: 19%; left: 28%; font-size: 36px; color: #ccc; }
.pos-2 { top: 52%; left: 14%; font-size: 36px; letter-spacing: -3.8px;}
.pos-3 { top: 55%; left: 70%; font-size: 80px; color: #C69C6D; }
.unit {
  font-size: 0.5em;
}
/* 光が走るエフェクト */
.shine-effect {
  position: relative;
  overflow: hidden;
}
.shine-effect::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  z-index: 10;
}
.shine-effect.is-active::after {
  animation: shineSweep 3s ease-in-out 0.5s infinite;
}
@keyframes shineSweep {
  0% { left: -100%; }
  20% { left: 200%; }
  100% { left: 200%; }
}

/*********************************
背景大枠
*********************************/
.bottom-bg-wrapper {
  width: 100%;
  background-image: url('../img/bg_bottom_area.png');
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  padding: 40px 0 0;
}
/*********************************
サポート内容
*********************************/
.support-section {
  margin: 0 auto;
  width: 100%;
  position: relative;
}
.bg-support-section {
  width: 96%;
  height: auto;
}
.support-container {
  width: 84%;
  position: absolute;
  z-index: 2;
  top: clamp(10px, 8%, 150px);
  right: 0;
  left: 0;
  margin: 0 auto;
  border-radius: 20px;
}
.support-title {
  text-align: center;
  margin-bottom: 30px;
}
.support-title img {
  max-width: 16%;
}
.support-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}
.support-item {
  width: 31%;
  transition: transform 0.3s ease;
}
.support-item img {
  width: 100%;
  height: auto;
}
/* アニメーション：下からフェードアップ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-up.is-active {
  opacity: 1;
  transform: translateY(0);
}

/*********************************
ご利用の流れ セクション
*********************************/
.flow-section {
  position: relative;
  max-width: 1350px;
  margin: 50px auto;
  width: 100%;
}
.bg-flow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 180%;
  z-index: 1;
  pointer-events: none;
}
.bg-flow picture,
.bg-flow img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.flow-container {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}
.flow-title {
  text-align: center;
  margin-bottom: 30px;
}
.flow-title img {
  max-width: 250px;
  /* max-width: 16%; */
}
.flow-steps {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.flow-step {
  width: 31%;
  transition: transform 0.3s ease;
}
.flow-step img {
  width: 100%;
  height: auto;
}

/*********************************
ご利用者さまの声
*********************************/
.voice-section {
  padding: 60px 0;
  overflow: hidden;
  width: 100%;
  position: relative;
  z-index: 1;
}
.bg-voice {
  position: absolute;
  z-index: 2;
  width: 94%;
  right: 0;
}
.voice-inner {
  position: relative;
  z-index: 3;
}
.voice-title {
  text-align: center;
  margin: 40px 0 40px;
}
.voice-title img {
  max-width: 600px;
  width: 100%;
}
/* --- Swiperスライドの調整 --- */
.voice-swiper {
  width: 78%;
  padding-bottom: 1%;
}
.swiper-slide {
  height: auto;
}
.swiper-slide img {
  width: 100%;
  height: auto;
  border-radius: 20px;
}
/* --- スライダー操作部（矢印とドット） --- */
.swiper-controls-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  position: relative;
}
.voice-pagination {
  position: static;
  width: auto;
}
.swiper-pagination-bullet {
  /* background-color: #ccc; */
  opacity: 1;
}
.swiper-pagination-bullet-active {
  background-color: #EB6B71;
}
.voice-prev,
.voice-next {
  position: static;
  margin: 0;
  /* width: 40px; */
  width: 3vw;
  /* height: 40px; */
  height: auto;
  aspect-ratio: 1 / 1;
  border: 2px solid #EB6B71;
  border-radius: 50%;
  color: #EB6B71;
}
.voice-prev::after,
.voice-next::after {
  font-size: 14px;
  font-weight: bold;
}
.voice-note {
  margin: -30px 5% 0 auto;
  width: 28vw;
  display: block;
}

/*********************************
FAQセクション
*********************************/
.faq-section {
  margin: 0 auto;
  width: 100%;
}
.faq-title {
  text-align: center;
  margin-bottom: 50px;
}
.faq-title img {
  max-width: 300px;
}
.faq-content-pc {
  display: block;
  text-align: center;
  width: 86%;
  margin: 0 auto;
}
.faq-content-pc img {
  width: 100%;
}
.faq-content-sp {
  display: none;
}

/*********************************
メッセージセクション全体
*********************************/
.message-section {
  width: 100%;
}
.ceo-message-container {
  max-width: 1000px;
  width: 90%;
  margin: 100px auto 0;
  text-align: center;
  position: relative;
  z-index: 2;
}
.ceo-message-container img {
  width: 100%;
  height: auto;
  display: block;
}
/* 未来のあなたからのメッセージ */
.future-message-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.bg-future-sky {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.bg-future-sky img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.future-inner {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
  min-height: 500px;
}
.future-text {
  width: 60%;
  max-width: 600px;
  position: relative;
  z-index: 3;
}
.future-text img {
  width: 100%;
  height: auto;
}
.future-people {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 45%;
  max-width: 500px;
  z-index: 2;
}
.future-people img {
  width: 100%;
  height: auto;
  display: block;
}


/*********************************
フッター
*********************************/
.footer {
  width: 100%;
}
.footer-inner {
  position: relative;
  width: 100%;
  margin: 0 auto;
}
.footer-inner > picture img {
  width: 100%;
  height: auto;
  display: block;
}
.footer-links-area {
  position: absolute;
  bottom: 15%;
  left: 6.5%;
  /* width: 100%; */
  width: 20%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  z-index: 10;
}
.footer-link-privacy,
.footer-link-terms {
  display: block;
  max-width: 200px;
  transition: opacity 0.3s ease;
}
.footer-link-privacy {
  width: 50%;
}
.footer-link-terms {
  width: 20%;
}
.delimiter {
  width: 1px;
  height: 15px;
  object-fit: contain;
}
.footer-link-privacy:hover,
.footer-link-terms:hover {
  opacity: 0.7;
}
.footer-link-privacy img,
.footer-link-terms img {
  width: 100%;
  height: auto;
  display: block;
}

/* モーダル（ポップアップ）のスタイル */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.modal-content {
  position: relative;
  width: 90%;
  max-width: 800px;
  max-height: 80vh;
  background-color: #fff;
  border-radius: 10px;
  padding: 40px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 35px;
  height: 35px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #666;
}
.modal-body {
  overflow-y: auto;
  padding-right: 15px;
}
.modal-body h2 {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #333;
}
.modal-text {
  font-size: 14px;
  line-height: 1.8;
  color: #333;
  white-space: pre-wrap;
  text-align: left;
}



