/* ========================================
   Variables
   ======================================== */
:root {
  /* カラー */
  --color-white:    #FFFFFF;
  --color-pink:     #F47A86;
  --color-yellow:   #F7F6A3;
  --color-main:     #233859;
  --color-beige:    #FFE9C7;
  --color-black:    #1D1D1D;
  --color-bg-blue:  #ECF5FF;
  --color-bg-pink:  #FDEEF0;
  --color-red:      #E54050;
  --color-gray:     #D9D9D9;
  --color-btn:      #01B902;

  /* フォント */
  --font-base:       'Noto Sans JP', sans-serif;
  --font-fv:         'Meiryo', sans-serif;
  --font-number:     'Roboto', sans-serif;
  --font-en:         'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-handwrite:  '花とちょうちょ', cursive;

  /* レイアウト */
  --content-width:  min(90%, 108rem);
  --side-padding:   2.4rem;

  /* 余白スケール（8の倍数） */
  --space-xs:   0.8rem;
  --space-sm:   1.6rem;
  --space-md:   2.4rem;
  --space-lg:   3.2rem;
  --space-xl:   4.8rem;
  --space-2xl:  8.0rem;

  /* 用途別余白 */
  --section-gap:      8.0rem;
  --element-gap:      3.2rem;
  --ttl-txt-gap:      1.2rem;
  --card-padding-v:   2.0rem;
  --card-padding-h:   1.6rem;

  /* price-reason: arrow/icon がセクション上部から飛び出す高さ分の余白 */
  --price-reason-deco-offset: 24rem;

  /* カード影 */
  --shadow-card: 0.2rem 0.2rem 0.76rem 0 rgba(0, 0, 0, 0.21);

  /* タイポグラフィ */
  --fs-base:    1.6rem;
  --fs-ttl:     2.8rem;
  --fs-ttl-sm:  2.4rem;
  --fs-sub-ttl: 2.0rem;
  --fs-large:   3.2rem;
  --fs-en:      1.2rem;
  --fs-sm:      1.4rem;
  --fs-note:    1.2rem;
}

/* ========================================
   Common
   ======================================== */
html {
  font-size: 62.5%; /* 1rem = 10px */
  overflow-x: hidden;
}

body {
  font-family: var(--font-base);
  font-size: var(--fs-base);
  color: var(--color-main);
  background-color: var(--color-white);
  line-height: 1.7;
  letter-spacing: 0.08em;
  /* 日本語組版 */
  font-feature-settings: "palt" 1;
  overflow-wrap: break-word;
  word-break: normal;
  line-break: strict;
  text-align: center;
  overflow-x: hidden;
}

img {
  width: 100%;
  height: auto;
}

.inner {
  width: var(--content-width);
  margin-inline: auto;
}

section {
  padding-block: var(--section-gap);
}

/* タイポグラフィ（body継承。差分のみ記述） */
.txt {
  font-size: var(--fs-base);
  line-height: 1.9;
  text-align: justify;
}

.ttl {
  font-size: var(--fs-ttl);
  font-weight: 700;
  line-height: 1.4;
  text-spacing-trim: trim-start;
}

.ttl-sm {
  font-size: var(--fs-ttl-sm);
  font-weight: 700;
  line-height: 1.4;
  text-spacing-trim: trim-start;
}

.sub-ttl {
  font-size: var(--fs-sub-ttl);
  font-weight: 700;
  line-height: 1.5;
  text-spacing-trim: trim-start;
}

.en-ttl {
  font-family: var(--font-en);
  font-size: var(--fs-en);
  line-height: 1.0;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-feature-settings: normal;
  line-break: auto;
  color: var(--color-pink);
}

.txt-sm {
  font-size: var(--fs-sm);
  line-height: 1.8;
  letter-spacing: 0.08em;
}

.txt-note {
  font-size: var(--fs-note);
}

.txt-highlight {
  background-color: color-mix(in srgb, var(--color-yellow) 60%, transparent);
  padding: 0 0.2em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  font-weight: 500;
}

.txt-highlight-main {
  font-weight: 700;
  background-color: var(--color-main);
  color: var(--color-white);
  padding: 0 1.5rem 0.6rem;
  width: fit-content;
  margin-inline: auto;
  margin-top: 0.2rem;
}

.emphasis > span {
  position: relative;
  display: inline-block;
}

.emphasis > span::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 0.2em;
  height: 0.2em;
  border-radius: 50%;
  background-color: var(--color-pink);
  pointer-events: none;
}

.txt-pink{
  color: var(--color-pink);
}

.logo{
  font-family: "Teachers", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 1.2em;
}

.faq-icon{
  font-family: "Expletus Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: var(--fs-ttl-sm);
  color: var(--color-main);
  line-height: 1.6;
  flex-shrink: 0;
}

.label-balloon {
  display: inline-block;
  background-color: var(--color-main);
  color: var(--color-white);
  padding: 0.1rem 1.1rem 0.1rem 1.2rem;
  position: relative;
  border-radius: 2px;
}
.label-balloon::after {
  content: '';
  position: absolute;
  bottom: -0.7rem; /* border-width: 1.0rem に対して短く設定し、ラベル枠に少し食い込ませる */
  left: 50%;
  transform: translateX(-50%);
  border-width: 1.0rem 0.6rem 0;
  border-style: solid;
  border-color: var(--color-main) transparent transparent;
}


/* ========================================
   Hero
   ======================================== */
.hero {
  padding-block: 0;
  position: relative;
  z-index: 1;
}

.hero-cta {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 48rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}

.hero-cta-link {
  display: block;
  width: 100%;
  max-width: 48rem;
}


/* ========================================
   Worry
   ======================================== */
.worry {
  padding-block: 0;
  position: relative;
  z-index: 1;
  background-color: var(--color-white);
}

.worry::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/worry-pattern.svg');
  background-repeat: repeat;
  background-size: 5rem;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

.worry .inner {
  position: relative;
  z-index: 1;
  padding-top: 13.4rem; /* 女の子イラストが上方向へ飛び出す量（.worry-girl-img の margin-top と対応） */
}

.worry-bubble {
  background-color: var(--color-gray);
  padding: var(--space-md) var(--space-md) var(--space-lg);
  border-radius: 0.9rem 4.9rem 0.9rem 4.9rem;
  position: relative;
}

.worry-bubble-bottom-img {
  display: block;
  width: auto;
  margin: 0 auto var(--space-lg);
}

.worry-girl-img {
  display: block;
  width: 55%;
  margin: -13.4rem auto var(--space-sm); /* -13.4rem でセクション上辺を越えて飛び出す（.worry .inner の padding-top と対応） */
}

.worry-ttl-wrapper {
  position: relative;
  width: 60%;
  margin: 0 auto var(--space-md);
}

.worry-ttl-wrapper::before,
.worry-ttl-wrapper::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 4.0rem;
  background-color: var(--color-main);
  top: 50%;
}

.worry-ttl-wrapper::before {
  left: -3.2rem; /* タイトル左端から外側へはみ出す量 */
  transform: translateY(-50%) rotate(-16deg); /* 内側に傾けて括弧状に見せる */
}

.worry-ttl-wrapper::after {
  right: -3.2rem; /* タイトル右端から外側へはみ出す量 */
  transform: translateY(-50%) rotate(16deg); /* 内側に傾けて括弧状に見せる */
}

.worry-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-sm);
  width: fit-content;
  margin-inline: auto;
}

.worry-item {
  background: var(--color-white);
  padding: 1.0rem var(--card-padding-h);
  padding-left: 4.4rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: left;
  position: relative;
  box-shadow: var(--shadow-card);
}

.worry-item:nth-child(odd) {
  margin-left: var(--space-md);
}

.worry-item::before {
  content: '';
  position: absolute;
  left: 1.2rem;
  top: 1.0rem;
  width: 2.3rem;
  height: 2.3rem;
  background-image: url('../images/worry-check-mark.svg');
  background-size: contain;
  background-repeat: no-repeat;
}

.worry-answer-ttl {
  margin-bottom: var(--space-xs);
}

.worry-answer-underline-img {
  width: auto;
  margin: -1.6rem 0 var(--space-lg) 6rem; /* -1.6rem で上のテキストに少し重ねる。6rem は右寄せのインデント */
}

.worry-answer-txt {
  margin-bottom: var(--space-xs);
}

.worry-answer-lead-txt {
  font-size: var(--fs-large);
  font-weight: 700;
}


/* ========================================
   Truth
   ======================================== */
.truth {
  background-color: var(--color-bg-blue);
  position: relative;
  padding-block-start: var(--space-xl);
}

.worry-wave-wrapper {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  line-height: 0;
}

.worry-wave-img {
  width: 100%;
  height: auto;
  display: block;
}

.truth .inner {
  position: relative;
  z-index: 1;
}

.truth-arrows {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 1;
}

.truth-arrows span {
  display: block;
  width: 1.0rem;
  height: 1.0rem;
  border-right: 1px solid var(--color-main);
  border-bottom: 1px solid var(--color-main);
  transform: rotate(45deg);
}

.truth-arrows span + span {
  margin-top: -0.3rem; /* 矢印を連続して見せるための重なり */
}

.truth-lead {
  font-weight: 500;
  letter-spacing: 0.2em;
  margin: var(--space-xl) 0;
}

.truth-box {
  display: inline-block;
  padding: 0.8rem 2.4rem;
  margin-bottom: var(--space-lg);
  background:
    linear-gradient(var(--color-pink), var(--color-pink)) top left / 1.6rem 2px no-repeat,
    linear-gradient(var(--color-pink), var(--color-pink)) top left / 2px 1.6rem no-repeat,
    linear-gradient(var(--color-pink), var(--color-pink)) top right / 1.6rem 2px no-repeat,
    linear-gradient(var(--color-pink), var(--color-pink)) top right / 2px 1.6rem no-repeat,
    linear-gradient(var(--color-pink), var(--color-pink)) bottom left / 1.6rem 2px no-repeat,
    linear-gradient(var(--color-pink), var(--color-pink)) bottom left / 2px 1.6rem no-repeat,
    linear-gradient(var(--color-pink), var(--color-pink)) bottom right / 1.6rem 2px no-repeat,
    linear-gradient(var(--color-pink), var(--color-pink)) bottom right / 2px 1.6rem no-repeat;
}
.truth-box-txt{
  font-weight: 500;
  line-height: 1.7;
}

.truth-headline {
  font-size: 4.2rem;
  font-weight: 700;
  line-height: 1.2;
}

.truth-headline-accent {
  font-size: 4.8rem;
  font-weight: 700;
  line-height: 1.2;
}

.truth-body{
  padding: 0 1.8rem 0;
  margin: var(--space-md) 0;
}

.truth-img-wrapper {
  position: relative;
  margin-bottom: var(--space-xl);
}

.truth-chara-img {
  position: absolute;
  width: 15%;
  right: 0;
  bottom: -2.4rem; /* 画像ラッパーの下辺からはみ出してバッジ要素に重なる量 */
}

.truth-badge-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.truth-badge-img {
  width: auto;
  height: 8.0rem;
}

.truth-ttl-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  margin-inline: auto;
}

.truth-ttl {
  margin-bottom: var(--space-md);
}

.truth-start-txt {
  color: var(--color-pink);
  -webkit-text-stroke: 3px var(--color-main);
  paint-order: stroke fill;
}

/* ========================================
   Solution
   ======================================== */
.solution {
  position: relative;
  background-color: var(--color-white);
}

.solution::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 19rem; /* 背景が見える高さ。テキスト量に応じて調整 */
  background-image: url('../images/solution-bg.webp');
  background-size: cover;
  background-position: center top;
  z-index: -1;
}

/* メインタイトル */
.solution-ttl {
  margin-bottom: var(--space-lg);
  line-height: 2.2;
}


.solution-sub-lead {
  margin-bottom: var(--space-xl);
}

.solution-steps {
  position: relative;
  background-color: #FFFAFA;
  border-radius: 1.2rem;
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
  box-shadow: var(--shadow-card);
}

.solution-step-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  list-style: none;
  counter-reset: none;
  position: relative;
}

.solution-step-list::before {
  content: '';
  position: absolute;
  left: 3.2rem; /* アイコン中心に合わせる */
  top: 3.2rem;
  bottom: 3.2rem;
  width: 1px;
  background-color: var(--color-gray);
  z-index: 0;
}

.solution-step-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  position: relative;
  z-index: 1;
}

.solution-step-icon {
  width: 6.4rem;
  height: 6.4rem;
  flex-shrink: 0;
}

.solution-step-body {
  text-align: left;
}

.solution-step-ttl {
  font-size: var(--fs-sub-ttl);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.4rem;
}

.solution-chara-img {
  position: absolute;
  width: 15%;
  right: 1.6rem;
  bottom: -2.4rem; /* ステップカード下辺からはみ出す量 */
}

.solution-cycle-txt {
  margin-bottom: var(--space-2xl);
}

/* 両端グラデ */
.solution-data-label {
  background: linear-gradient(
    to right,
    transparent,
    var(--color-main) 20%,
    var(--color-main) 80%,
    transparent
  );
  color: var(--color-white);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 0.1rem 3.2rem;
  margin-bottom: var(--space-lg);
}

.solution-check-list {
  display: flex;
  flex-direction: column;
  width: fit-content;
  margin-inline: auto;
  margin-bottom: var(--space-xl);
  text-align: left;
}

.solution-check-item {
  padding-left: 2.8rem;
  position: relative;
}

.solution-check-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 1.5rem;
  height: 1.5rem;
  background-image: url('../images/check-mark.svg');
}

/* PC画像 */
.solution-pc-wrapper {
  margin-bottom: var(--space-xl);
}

/* ========================================
   Service
   ======================================== */
.service {
  background-color: var(--color-bg-pink);
  position: relative;
}

.service-wave-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  line-height: 0; /* 画像下の余白をなくす */
}

.service-wave {
  width: 100%;
  height: auto;
  display: block;
}

/* セクションタイトル */
.service-ttl-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-ttl-inner {
  position: relative;
  display: inline-block;
}

.service-leaves {
  position: absolute;
  width: 5rem;
  top: 50%;
  transform: translateY(-50%);
}

.service-leaves--left {
  right: calc(100% + 1.6rem);
}

.service-leaves--right {
  left: calc(100% + 1.6rem);
  transform: translateY(-50%) scaleX(-1);
}

.service-lead {
  margin-bottom: 1.6rem;
}

.service-ttl {
  margin-bottom: var(--space-xs);
}
.service-ttl-large{
  font-size: 4.0rem;
}

.service-en {
  margin-bottom: var(--space-xl);
}
.service-txt-note{
  font-size: var(--fs-note);
}

/* カードリスト */
.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

/* カード */
.service-card {
  position: relative;
  background-color: transparent;
  padding: 0;
  overflow: visible;
  border-radius: 1.4rem;
}

.service-card-inner {
  display: flex;
  flex-direction: column; /* SP：縦並び */
}

.service-card-img {
  width: 80%;
  aspect-ratio: 1 / 0.9;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  border-radius: 1.4rem;
  margin: auto;
}

.service-card-body {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 0 3.2rem 0 0;
  padding: 2.4rem 2.2rem;
  margin: -12rem 7rem 0 -3.2rem; /* -12rem でカード本文を画像に重ねる。右に7rem空けて右端の余白、左-3.2remで画像左端に少しはみ出す */
  text-align: left;
  position: relative;
  box-shadow: var(--shadow-card);
}

.service-card-num {
  font-family: var(--font-number);
  font-size: var(--fs-sub-ttl);
  font-weight: 700;
  color: var(--color-pink);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-xs);
  padding-left: 1.4rem;
}

.service-card-ttl {
  display: inline-block;
  background: linear-gradient(
    to right,
    var(--color-main) 80%,
    rgba(75, 120, 191, 0) 100%
  );
  color: var(--color-white);
  padding: 0.4rem 1.4rem;
  margin-bottom: var(--space-xs);
  border-radius: 0;
  width: 100%; /* 帯を横いっぱいに */
}

.service-card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.service-card-item {
  line-height: 1.8;
  padding-left: 1.4rem;
}
.service-card-item .txt-note {
  line-height: 1.5;
  display: block; /* ← blockにしないとline-heightが効かないことがある */
}

/* No.2用：画像を右、白枠を左寄せ */
.service-card-img--reverse {
  margin: auto;
}

.service-card-body--reverse {
  border-radius: 3.2rem 0 0 0; /* 左上だけ角丸 */
  margin: -12rem -3.2rem 0 7rem; /* .service-card-body のleft/rightを左右反転（画像が右のとき） */
}

/* ========================================
   Price
   ======================================== */
.price {
  background-color: var(--color-white);
}

.price-ttl {
  margin-bottom: var(--space-xs);
}

.price-en {
  margin-bottom: var(--space-md);
}

.price-lead {
  margin-bottom: var(--space-xl);
}

/* カードリスト */
.price-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}
.price-card {
  border: none; 
  border-radius: 0;
  overflow: visible;
}

.price-card-img-wrapper {
  position: relative;
}

.price-card-img {
  display: block;
}

.price-card-note {
  position: absolute;
  top: 68%; /* SVG画像内の本文ゾーン開始位置（画像高さ比） */
  left: 5%;
  right: 5%;
  text-align: left;
  color: var(--color-main);
  line-height: 1.6;
}

/* 2枚目（公開後カード）はSVGのレイアウトが異なるため上書き */
.price-card:nth-child(2) .price-card-note {
  top: 64%;
}

/* 別途料金カード */
.price-card--extra .price-card-extra-body {
  position: absolute;
  top: 47%; /* SVG画像内のコンテンツゾーン中央位置（画像高さ比） */
  left: 4%;
  right: 6%;
  transform: translateY(-50%);
  text-align: left;
  color: var(--color-main);
}

.price-card-extra-ttl {
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.price-card-extra-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.price-card-extra-item {
  line-height: 1.6;
}

/* arrow/icon が上方向に飛び出す分の余白をここで確保 */
.price-reason-outer {
  margin-top: var(--price-reason-deco-offset);
  position: relative;
}

.price-reason {
  position: relative;
  background-color: var(--color-bg-blue);
  padding: var(--space-md) 4.2rem var(--space-xl);
  overflow: visible; /* はみ出しを許可 */
  text-align: center;
}

.price-reason-ttl{
  margin-bottom: var(--space-sm);
}


/* グラデーションの丸 */
.price-reason-circle {
  position: absolute;
  top: 10rem; /* .price-reason 上端から下に10remの位置を中心に配置（transform: -50%で実際は5rem上がる） */
  left: 50%;
  transform: translate(-50%, -50%); /* 上にはみ出す */
  width: 40rem;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: linear-gradient(
    180deg,
    #FFFFFF 0%,
    var(--color-bg-blue) 57%
  );
  border: 0.3px solid var(--color-bg-blue);
  pointer-events: none;
  z-index: 0;
}

/* 矢印 */
.price-reason-arrow {
  position: absolute;
  top: -20%; /* .price-reason上端からさらに上（価格カードリストの下部に重なる位置） */
  left: 52%;
  transform: translate(-50%, -100%); /* 丸よりさらに上 */
  z-index: 1;
}

.price-reason-arrow img {
  width: auto;
  height: 8.8rem;
}

/* アイコン */
.price-reason-icon {
  position: absolute;
  top: -7%; /* .price-reason上端を基準に丸の中央付近に配置 */
  left: 50%;
  transform: translate(-50%, -50%); /* 丸の中央に */
  z-index: 2;
}

.price-reason-icon img {
  width: auto;
  height: 4.0rem;
}

/* テキスト */
.price-reason-body {
  position: relative;
  z-index: 1;
}

/* ========================================
   Works
   ======================================== */

.works{
  background-color: var(--color-white);
}

.works .inner {
  padding-inline: 1.8rem; /* モックアップ・スクリーンショットを画面端まで伸ばすための基準余白 */
}

.works-mockup,
.works-screenshot {
  margin-inline: -1.8rem; /* .inner の padding-inline を打ち消して全幅表示にする */
}

.works-ttl {
  margin-bottom: var(--space-xs);
}

.works-en {
  margin-bottom: var(--space-xl);
}

.works-card {
  text-align: left;
}

.works-client {
  text-align: center;
  font-weight: 500;
  margin-bottom: var(--space-sm);
}

.works-mockup {
  margin-bottom: var(--space-xl);
}

.works-label {
  display: inline-block;
  border: 1px solid var(--color-main);
  border-radius: 2rem;
  padding: 0.2rem 1.6rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.works-review {
  margin-bottom: var(--space-lg);
}

.works-meta {
  margin-bottom: var(--space-md);
}

.works-meta-txt {
  padding-left: var(--space-xs);
}

.works-screenshot {
  margin-bottom: var(--space-xl);
  border: 1px solid var(--color-gray);
  box-shadow: var(--shadow-card);
}

.works-overview-ttl {
  display: inline-block;
  font-size: var(--fs-base);
  margin-bottom: 0.4rem;
  border-bottom: 1.5px solid var(--color-pink);
}

.works-overview-txt {
  margin-bottom: var(--space-lg);
}

/* ========================================
   Advantage
   ======================================== */
.advantage {
  background-color: var(--color-bg-pink);
}

.advantage-en {
  margin-bottom: var(--space-sm);
}

.advantage-ttl {
  font-weight: 500;
  margin-bottom: var(--space-2xl);
  line-height: 2.3;
}

.advantage-ttl-accent {
  font-size: var(--fs-large);
}

.advantage-th advantage-th--empty{
  text-align: center;
}

/* 横スクロール */
.advantage-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
  padding-bottom: 1.6rem;
  /* スクロールバー */
  scrollbar-width: thin;
  scrollbar-color: #AAAAAA transparent;
}

.advantage-table-wrapper::-webkit-scrollbar {
  height: 6px;
}

.advantage-table-wrapper::-webkit-scrollbar-track {
  background: transparent;
}

.advantage-table-wrapper::-webkit-scrollbar-thumb {
  background-color: #AAAAAA;
  border-radius: 3px;
}

/* 横スクロール案内オーバーレイ */
.advantage-scroll-hint {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(183, 183, 183, 0.5);
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.6rem;
  color: var(--color-white);
  font-weight: 700;
  font-size: var(--fs-sub-ttl);
  letter-spacing: 0.1em;
  white-space: nowrap;
  pointer-events: none;
  z-index: 10;
  border-radius: 0.8rem;
  opacity: 1;
  transition: opacity 0.6s ease;
}

.advantage-scroll-hint.is-hidden {
  opacity: 0;
}

@keyframes nudge-left {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(-6px); }
}

@keyframes nudge-right {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(6px); }
}

.advantage-scroll-hint-arrow--left {
  display: inline-block;
  animation: nudge-left 0.9s ease-in-out infinite;
}

.advantage-scroll-hint-arrow--right {
  display: inline-block;
  animation: nudge-right 0.9s ease-in-out infinite;
}

/* テーブルの基準 */
.advantage-table-inner {
  position: relative;
  min-width: 48rem;
}

/* 育てるLP列の大枠（絶対配置） */
.advantage-table-highlight {
  position: absolute;
  top: 0;
  left: 20%; /* ラベル列（advantage-th--empty: 24%）の内側に揃える */
  width: 43%; /* 育てるLP列（advantage-th--main: 52%）の幅に合わせた視覚的な枠 */
  height: 100%;
  border: 3px solid var(--color-red);
  border-radius: 1.2rem;
  box-shadow: 0.4rem 0.4rem 1.2rem rgba(0, 0, 0, 0.2);
  pointer-events: none;
  z-index: 2;
}

/* テーブル */
.advantage-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

/* ヘッダー */
.advantage-th {
  padding: var(--space-sm) var(--space-sm);
  font-weight: 700;
  text-align: center;
  font-size: var(--fs-sm);
  line-height: 1.5;
  vertical-align: middle;
}

.advantage-th--empty {
  width: 24%;
  background-color: transparent;
}

.advantage-th--main {
  width: 52%;
  background-color: var(--color-pink);
  color: var(--color-white);
  border-radius: 1.2rem 1.2rem 0 0;
  font-size: 2.0rem;
}

.advantage-th--other {
  width: 45%;
  background-color: var(--color-gray);
  color: var(--color-main);
  border-radius: 1.2rem 1.2rem 0 0;
  font-size: 1.8rem;
}

/* ボディ */
.advantage-td {
  padding: var(--space-md) var(--space-sm);
  text-align: center;
  font-size: var(--fs-sm);
  line-height: 1.6;
  border-bottom: 2px solid var(--color-white);
  vertical-align: middle;
}

.advantage-td--label {
  background-color: var(--color-main);
  color: var(--color-white);
  font-weight: 500;
  font-size: var(--fs-sm);
}

.advantage-td--main {
  background-color: var(--color-white);
  border-bottom: 2px solid var(--color-bg-pink);
  font-weight: 700;
  position: relative;
}

.advantage-circle {
  position: absolute;
  bottom: 1.4rem;
  right: 7.4rem; /* テーブルセル内右寄せ。表の幅に合わせた目視調整値 */
  width: 6.2rem;
  height: auto;
  opacity: 0.8;
}

.advantage-td--other {
  background-color: var(--color-white);
  color: var(--color-black);
  border-bottom: 2px solid var(--color-gray);
}

/* 最終行 */
.advantage-tr:last-child .advantage-td--main {
  border-radius: 0 0 1.2rem 1.2rem;
}

.advantage-tr:last-child .advantage-td--other {
  border-radius: 0 0 1.2rem 1.2rem;
}

.advantage-tr:last-child .advantage-td--label {
  border-radius: 0 0 0 1.2rem;
}





/* ========================================
   FAQ
   ======================================== */
.faq {
  background-color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.faq-bg {
  position: absolute;
  top: calc(var(--section-gap) + 6rem + var(--space-md)); /* section-gapの後、見出し+ENタイトルの高さ（約6rem）を飛ばしてコンテンツ横に配置 */
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  align-items: flex-start;
  pointer-events: none;
  z-index: 0;
}

.faq-bg-shape {
  flex-shrink: 0;
  width: 25.7rem;
  height: auto;
  display: block;
}

.faq-bg-shape--r {
  align-self: flex-end;
  transform: scaleX(-1);
}

.faq .inner {
  position: relative;
  z-index: 1;
}

.faq-ttl {
  margin-bottom: var(--space-xs);
}

.faq-en {
  margin-bottom: var(--space-xl);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  list-style: none;
}

.faq-card {
  background-color: var(--color-white);
  overflow: hidden;
  box-shadow: 0.4rem 0.3rem 0rem 0 var(--color-pink); /* 右下にずらしたピンク影でボーダーアクセント効果 */
}

.faq-q,
.faq-a {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.4rem;
}

.faq-divider {
  border-top: 1.5px dashed var(--color-pink);
  margin: 0 1.4rem; /* .faq-q / .faq-a の padding-left と揃えて仕切り線をインデントさせる */
}

.faq-q-txt {
  font-weight: 700;
  text-align: left;
  line-height: 1.6;
  padding-top: 0.5rem;
}

.faq-a-txt {
  text-align: left;
  line-height: 1.7;
  padding-top: 0.5rem;
}


/* ========================================
   CTA
   ======================================== */
.cta {
  background-color: var(--color-bg-pink);
}

.cta-inner{
  background-color: var(--color-white);
  padding: var(--space-2xl) 0;
}

.cta-chara-img {
  width: 96%;
  max-width: 48rem;
  margin-inline: auto;
  display: block;
}

.cta-lead {
  font-weight: 500;
  margin-bottom: var(--space-2xl);
}

.cta-btn-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: var(--space-2xl);
}

.cta-btn-label {
  margin-bottom: var(--space-sm);
}

.cta-btn-link {
  display: block;
  width: 100%;
  max-width: 44rem;
}

.cta-check-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  width: fit-content;
  margin-inline: auto;
  margin-bottom: var(--space-xl);
  text-align: left;
  padding: 0 var(--space-sm);
}

.cta-check-item {
  padding-left: 2.8rem;
  position: relative;
}

.cta-check-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 1.5rem;
  height: 1.5rem;
  background-image: url('../images/check-mark.svg');
  background-size: contain;
  background-repeat: no-repeat;
}

.cta-woman-img {
  border-radius: 0 0 6rem 0;
  margin-bottom: var(--space-2xl);
  max-width: 48rem;
  margin-inline: auto;
  display: block;
  padding: 0 1.8rem;
}

.cta-ttl-label {
  margin-bottom: var(--space-sm);
}

.cta-ttl-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
}

.cta-ttl {
  line-height: 1.4;
}

.cta-ttl-deco {
  width: 4.4rem;
  flex-shrink: 0;
}

.cta-ttl-deco--right {
  transform: scaleX(-1);
}


/* ========================================
   Profile
   ======================================== */
.profile {
  background-color: var(--color-white);
}

.profile-ttl {
  margin-bottom: var(--space-xs);
}

.profile-en {
  margin-bottom: var(--space-xl);
}

.profile-card {
  position: relative;
  max-width: 44rem;
  margin-inline: auto;
}

.profile-img {
  width: 68%;
  max-width: 22rem;
  display: block;
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

.profile-name-plate {
  position: relative;
  z-index: 3;
  margin-top: -2.0rem; /* プロフィール写真の下端に少し重ねる */
  background-color: var(--color-main);
  color: var(--color-white);
  padding: 0.4rem 2.4rem 0.6rem;
  text-align: left;
  width: fit-content;
  border-radius: 0 3.6rem 3.6rem 0;
}

.profile-card-inner {
  position: relative;
  z-index: 1;
  border: 1px solid var(--color-main);
  border-radius: 1.2rem;
  overflow: hidden;
  background-color: var(--color-white);
  margin-top: -22rem; /* カードを写真に重ねる量 */
  padding-top: 24rem; /* margin-top の重なり分（22rem）+ 写真とテキストの間の余白（2rem）分 */
}

.profile-name-brand {
  font-size: var(--fs-sm);
  display: block;
  opacity: 0.85;
}

.profile-name {
  font-size: var(--fs-sub-ttl);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.profile-card-body {
  padding: 0 2.4rem 2.4rem;
}

.profile-message-en {
  letter-spacing: 0.3em;
  margin-bottom: 1.6rem;
}

.profile-txt-group {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}


/* ========================================
   Fixed CTA Button
   ======================================== */
.fixed-cta {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 48rem;
  z-index: 100;
  padding-bottom: 1.2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.fixed-cta.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.fixed-cta-link {
  display: block;
}

.fixed-cta-img {
  display: block;
  width: 100%;
}

/* ========================================
   Button Sheen Animation
   ----------------------------------------
   対象：ヒーロー・CTAセクション・追従の3ボタン
   ======================================== */

/* 光が左から右へ流れるアニメーション
   0〜60% で通過、60〜100% は画面外で待機してループ */
@keyframes btn-sheen {
  0%   { left: -100%; }
  60%  { left: 150%; }
  100% { left: 150%; }
}

/* シーンに必要なコンテナ設定
   overflow: hidden で光がボタン外へはみ出るのを防ぐ
   border-radius: 9999px でボタンのシルエットに沿ってクリップ */
.hero-cta-link,
.cta-btn-link,
.fixed-cta-link {
  position: relative;
  overflow: hidden;
  border-radius: 9999px;
}

/* 光の帯本体
   top/bottom: 0 で親の高さに追従（height: % は親がautoだと効かないため使わない）
   skewX で斜めのシアー効果 */
.hero-cta-link::after,
.cta-btn-link::after,
.fixed-cta-link::after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: -100%;
  width: 60%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-20deg);
  animation: btn-sheen 3s infinite;
  pointer-events: none;
}

/* 追従ボタンはCTAセクションのボタンとタイミングをずらす */
.fixed-cta-link::after {
  animation-delay: 1.5s;
}


/* ========================================
   Footer
   ======================================== */
.footer {
  background-color: var(--color-main);
  color: var(--color-white);
  padding-block: var(--space-lg);
}

.footer-nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  margin-bottom: var(--space-sm);
}

.footer-nav-item {
  display: flex;
  align-items: center;
}

.footer-nav-item + .footer-nav-item::before {
  content: '｜';
  padding: 0 0.4rem;
  opacity: 0.4;
  font-size: var(--fs-sm);
}

.footer-nav-link {
  color: var(--color-white);
  text-decoration: none;
  font-size: var(--fs-sm);
}

.footer-nav-link:hover {
  text-decoration: underline;
}

.footer-copy {
  font-size: var(--fs-sm);
  opacity: 0.7;
}



/* ========================================
   534px以上：advantage表がスクロール不要になる幅
   ======================================== */
@media (min-width: 534px) {
  .advantage-scroll-hint {
    display: none;
  }
}

/* ========================================
   PC用メディアクエリ
   ======================================== */
@media (min-width: 768px) {
  body {
    max-width: 560px;
    margin-inline: auto;
    overflow-x: visible;
    background-color: #FDFAF7;
  }

  .hero {
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
  }

  .hero-bg-img {
    width: 100%;
    height: auto;
  }

  .hero-cta {
    max-width: 60rem;
    bottom: 0%;
    width: 35%;
  }

  .fixed-cta {
    max-width: 28.8rem; /* 48rem × 60% */
  }
}