/* ============================================================
   style.css  —  サロン予約Kit LP
   記述方針: PCファースト（max-width メディアクエリ）
   ブレークポイント:
     タブレット横  : max-width: 1023px
     スマホ       : max-width: 767px
     スマホ小     : max-width: 639px
     スマホ最小   : max-width: 320px
   ============================================================ */

/* ================================
   1. CSS Variables (Design Tokens)
   ================================ */
:root {
  /* Colors */
  --accent:    #cf4466;
  --accent-d:  #b33050;
  --ink:       #111111;
  --ink-sub:   #555555;
  --surface:   #f7f7f5;
  --panel:     #ffffff;
  --line:      #e5e5e3;
  --base-dark: #111111;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / .05);
  --shadow:    0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);

  /* Border radius */
  --radius-full: 9999px;
  --radius-2xl:  1rem;
  --radius-xl:   0.75rem;
  --radius-lg:   0.5rem;
}

/* ================================
   2. Reset & Base
   ================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  color: var(--ink);
  background-color: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

@media (max-width: 767px) {
  body { font-size: 15px; }
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ================================
   3. Layout
   ================================ */

/* コンテナ: 幅・センタリングのみ（paddingはsectionが担う） */
.container,
.container-wide,
.container-narrow,
.container-slim {
  margin-inline: auto;
}

.container        { max-width: 72rem; } /* max-w-6xl */
.container-wide   { max-width: 64rem; } /* max-w-5xl */
.container-narrow { max-width: 56rem; } /* max-w-4xl */
.container-slim   { max-width: 48rem; } /* max-w-3xl */

/* セクション: PC基底 */
.section {
  padding-block: 100px;
  padding-inline: 2rem;
}

/* セクションヘッダー */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

/* 見出し: PC基底 = 大きいサイズ */
.section-heading {
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-lead {
  color: var(--ink-sub);
}

@media (max-width: 1023px) {
  .section {
    padding-block: 80px;
  }
  .section-heading { font-size: 2rem; }
}

@media (max-width: 767px) {
  .section {
    padding-block: 60px;
    padding-inline: 1rem;
  }
  .section-header {
    margin-bottom: 2rem;
  }
  .section-heading {
    font-size: 1.5rem;
  }
}

/* ================================
   4. Utilities
   ================================ */

.bg-surface  { background-color: var(--surface); }
.bg-panel    { background-color: var(--panel); }
.bg-dark     { background-color: var(--base-dark); color: #fff; }
.text-center { text-align: center; }
.text-accent { color: var(--accent); }

/* PC・タブレットでは非表示、スマホ小（〜639px）のみ表示 */
.mobile-break { display: none; }

@media (max-width: 639px) {
  .mobile-break { display: inline; }
}

/* ================================
   5. Buttons
   ================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
  font-weight: 700;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn--primary:hover { background-color: var(--accent-d); }

.btn--secondary {
  background-color: var(--panel);
  color: var(--ink);
  border: 1px solid var(--line);
  font-weight: 700;
}
.btn--secondary:hover { background-color: var(--surface); }

.btn--dark {
  background-color: var(--ink);
  color: #fff;
}
.btn--dark:hover { background-color: rgb(17 17 17 / .8); }

.btn--ghost {
  background-color: rgb(255 255 255 / .1);
  color: #fff;
  border: 1px solid rgb(255 255 255 / .2);
  font-weight: 700;
}
.btn--ghost:hover { background-color: rgb(255 255 255 / .2); }

.btn--outline {
  background-color: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn--outline:hover { background-color: rgb(207 68 102 / .06); }

.btn--sm {
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
}

.btn--lg {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

.btn--full {
  width: 100%;
  display: block;
  text-align: center;
}

@media (max-width: 320px) {
  .btn {
    padding: 0.875rem 1.25rem;
    font-size: 0.9rem;
  }
}

/* ================================
   6. Header
   ================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgb(255 255 255 / .95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 10px rgb(0 0 0 / .08);
}

/* PC: 内幅1080px・高さ70px */
.site-header__inner {
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

/* ロゴ: SVG画像 160×40px・狭い画面では縮小を許可 */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 1;   /* 狭いときは縮小を許可 */
  min-width: 0;
}

.logo__img {
  width: 160px;
  height: 40px;
  display: block;
  flex-shrink: 1;
}

/* ナビ＋ボタンを右グループ化: 間隔40px・縮小しない */
.header-right {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-shrink: 0;
}

/* ナビ: PC表示・タブレット以下で非表示、リンク間40px */
.site-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.site-nav__link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink-sub);
  white-space: nowrap;
  transition: color 0.15s ease;
}
.site-nav__link:hover { color: var(--ink); }

/* ボタングループ: 2ボタン間12px */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* ヘッダーボタン共通: PC */
.header-actions .btn--demo,
.header-actions .btn--header-cta {
  font-size: 0.875rem;
  padding: 0.5rem 1.25rem;
  font-weight: 700;
}

/* 「デモを試す」: #cf4466 アウトライン */
.header-actions .btn--demo {
  background-color: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.header-actions .btn--demo:hover {
  background-color: rgb(207 68 102 / .06);
}

/* 「今すぐ購入」 */
.header-actions .btn--header-cta {
  box-shadow: var(--shadow-sm);
}

@media (max-width: 1023px) {
  .logo__img {
    width: 140px;
    height: 35px;
  }
  .header-right {
    gap: 0;
  }
  .site-nav { display: none; }
  .header-actions .btn--demo,
  .header-actions .btn--header-cta {
    padding: 0.5rem 1rem;
  }
}

@media (max-width: 767px) {
  .site-header__inner {
    padding-inline: 1rem;
    height: 58px;
  }
  .logo__img {
    width: 120px;
    height: 30px;
  }
  .header-actions {
    gap: 6px;
  }
  .header-actions .btn--demo,
  .header-actions .btn--header-cta {
    font-size: 0.75rem;
    padding: 0.45rem 0.6rem;
  }
}

@media (max-width: 320px) {
  .site-header__inner {
    padding-inline: 0.75rem;
  }
  .logo__img {
    width: 110px;
    height: 28px;
  }
  .header-actions {
    gap: 5px;
  }
  .header-actions .btn--demo,
  .header-actions .btn--header-cta {
    font-size: 0.75rem;
    padding: 0.4rem 0.625rem;
  }
}

/* ================================
   7. Hero
   ================================ */

/* 背景画像: PC版・全幅 */
.hero {
  position: relative;
  background-image: url('../images/hero-bg_pc.jpg');
  background-size: cover;
  background-position: center 70%; /* ← PC位置調整: top/center/%で変更 */
  background-repeat: no-repeat;
  background-color: #000;
}

/* 黒オーバーレイ: Photoshop「黒背景＋画像40%不透明度」を再現 */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgb(0 0 0 / .6);
  z-index: 0;
}

/* コンテンツ幅1080px・縦中央揃え・オーバーレイより前面に */
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: 2rem;
  padding-block: 6rem;
  min-height: 640px;
  display: flex;
  align-items: center;
}

/* テキスト群ラッパー: 左20px余白・PC最大幅制限 */
.hero__body {
  margin-left: 20px;
  max-width: 640px;
}

/* バッジ: 白地にアクセントカラー */
.hero__badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  border: 1px solid #fff;
  border-radius: var(--radius-full);
}

/* 見出し: 白文字 */
.hero__title {
  color: #fff;
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 1.5rem;
}

.hero__body .btn {
  width: 100%;
  max-width: 400px;
}

/* リード文: 白文字 */
.hero__lead {
  color: rgb(255 255 255 / .9);
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

/* ヒーロー: ページロード時シーケンシャル出現アニメーション */
@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* animation-fill-mode: both → delay中は opacity:0 を維持 */
.hero__badge {
  animation: heroFadeIn 0.65s ease both;
  animation-delay: 0.10s;
}
.hero__title {
  animation: heroFadeIn 0.65s ease both;
  animation-delay: 0.22s;
}
.hero__lead {
  animation: heroFadeIn 0.65s ease both;
  animation-delay: 0.34s;
}
.hero__body .btn {
  animation: heroFadeIn 0.65s ease both;
  animation-delay: 0.46s;
}

@media (prefers-reduced-motion: reduce) {
  .hero__badge,
  .hero__title,
  .hero__lead,
  .hero__body .btn {
    animation: none;
  }
}

/* ボタン内アイコン: 右端12px固定 */
.btn-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-block;
  width: .9em;
  height: .9em;
  flex-shrink: 0;
  background-color: #fff;
  mask-image: url('../images/icon_arrow01.svg');
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}

/* アイコン付きボタン: relative基点・右側にアイコン分の余白 */
.btn:has(.btn-icon) {
  position: relative;
  /* padding-right: 2.75rem; */
}

/* モバイルのみ改行 */
.mobile-break { display: none; }

@media (max-width: 1023px) {
  .hero {
    background-image: url('../images/hero-bg_tablet.jpg');
  }
  .hero__title { font-size: 2.25rem; }
}

@media (max-width: 767px) {
  .hero__badge { font-size: 0.8125rem; }
  .hero__title { font-size: 1.75rem; }
  .hero__lead { 
    font-size: 0.9375rem;
    margin-bottom: 1.875rem;
  }
  .hero {
    background-image: url('../images/hero-bg_sp.jpg');
    background-position: center 30%; /* ← SP位置調整 */
  }
  .hero__inner {
    padding-inline: 1rem;
    padding-block: 3.5rem;
    min-height: 0;
  }
  .hero__body {
    margin-left: 0;
    max-width: 100%;
  }
  .hero__body .btn {
    display: block;
    text-align: center;
    width: 100%;
    max-width: 100%;
  }
  .mobile-no-break { display: none; }
  .mobile-break { display: inline; }
}

@media (max-width: 320px) {
  .hero__badge {
    font-size: 0.75rem;
  }
  .hero__title {
    font-size: 1.5rem;
  }
}

/* ================================
   8. 悩み訴求セクション (Pain)
   ================================ */

/* --- セクション --- */
.section-pain {
  position: relative;
  z-index: 2;
  background-color: var(--surface);
  padding-block: 100px;
}

/* ::after ▼: 薄グレーの三角を黒セクションの上に被せる */
.section-pain::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 90px solid transparent;
  border-right: 90px solid transparent;
  border-top: 50px solid var(--surface);
  z-index: 2;
}

/* --- コンテンツ幅900px --- */
.pain__inner {
  max-width: 900px;
  margin-inline: auto;
  padding-inline: 2rem;
}

/* --- ヘッダー --- */
.pain__header {
  text-align: center;
  margin-bottom: 3rem;
}

.pain__heading {
  font-size: 2rem;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.pain__lead {
  font-size: 1rem;
  color: var(--ink-sub);
}

/* --- 3カラムグリッド --- */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 25px;
}

/* --- 悩みカード --- */
.pain-card {
  background-color: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.pain-card__icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 1.25rem;
  display: block;
  background-color: #555555;
  mask-image: var(--icon-url);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}

.pain-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.75rem;
  text-align: center;
}

.pain-card__text {
  font-size: 0.875rem;
  color: var(--ink-sub);
  line-height: 1.75;
}

/* --- 注意喚起バー --- */
.pain-alert {
  background-color: #fff;
  border-radius: 12px;
  padding: 30px;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: var(--shadow);
}

.pain-alert__icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  margin-top: 2px;
  display: block;
  background-color: #555555;
  mask-image: var(--icon-url);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}

.pain-alert__text {
  font-size: 0.875rem;
  color: var(--ink-sub);
  line-height: 1.75;
}

@media (max-width: 1023px) {
  .section-pain { padding-block: 80px; }
  .pain-grid {
    gap: 20px;
    margin-bottom: 20px;
  }
}

@media (max-width: 767px) {
  .section-pain { padding-block: 60px; }
  .section-pain::after {
    bottom: -30px;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-top: 30px solid var(--surface);
  }
  .pain__inner { padding-inline: 1rem; }
  .pain__header { margin-bottom: 2rem; }
  .pain__heading { font-size: 1.5rem; }
  .pain__lead { font-size: 0.9375rem; }
  .pain-grid { 
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 16px;
  }
  .pain-card { padding: 26px; }
  .pain-alert { padding: 20px; }
}

/* ================================
   9. ピボットセクション (Solution)
   ================================ */

/* --- セクション --- */
.section-pivot {
  position: relative;
  z-index: 1;
  background-color: #111111;
  padding-block: 100px;
  text-align: center;
}

/* --- コンテンツ幅 --- */
.pivot__inner {
  max-width: 700px;
  margin-inline: auto;
  padding-inline: 2rem;
}

/* --- SOLUTION ラベル --- */
.pivot__label {
  font-size: 14px;
  font-weight: 700;
  color: #cf4466;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
}

/* --- タイトル --- */
.pivot__title {
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

/* --- テキスト --- */
.pivot__text {
  font-size: 1rem;
  color: #bcbcbc;
  line-height: 1.8;
}

@media (max-width: 1023px) {
  .section-pivot { padding-block: 80px; }
  .pivot__title { font-size: 2rem; }
}

@media (max-width: 767px) {
  .section-pivot { padding-block: 60px; }
  .pivot__inner { padding-inline: 1.625rem; }
  .pivot__title { font-size: 1.625rem; }
}

@media (max-width: 320px) {
  .pivot__inner br { display: none; }
}

/* ================================
   10. 機能一覧セクション (Features)
   ================================ */

/* --- セクション --- */
.section-features {
  background-color: var(--surface);
  padding-block: 100px;
}

/* --- コンテンツ幅 --- */
.features__inner {
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: 2rem;
}

/* --- ヘッダー --- */
.features__header {
  text-align: center;
  margin-bottom: 3rem;
}

.features__heading {
  position: relative;
  display: inline-block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--ink);
  padding-inline: 70px;
}

/* 両側の装飾線 \ / */
.features__heading::before,
.features__heading::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 2px;
  background-color: var(--ink);
}
.features__heading::before {
  top: 60%;
  left: 0;
  transform: rotate(60deg) translate(-5px, -5px);
}
.features__heading::after {
  top: 60%;
  right: 0;
  transform: rotate(-60deg) translate(5px, -5px);
}

/* --- 3カラムグリッド --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  
}

/* --- カード --- */
.feature-card {
  background-color: #fff;
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid var(--line);
}

/* --- アイコンボックス --- */
.feature-card__icon-wrap {
  width: 56px;
  height: 56px;
  background-color: var(--surface);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.feature-card__icon {
  width: 30px;
  height: 30px;
  display: block;
  background-color: #555555;
  mask-image: var(--icon-url);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}

/* --- テキスト --- */
.feature-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.75rem;
  text-align: center;
}

.feature-card__text {
  font-size: 0.875rem;
  color: var(--ink-sub);
  line-height: 1.75;
}

@media (max-width: 1023px) {
  .section-features { padding-block: 80px; }
  .feature-grid { 
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .feature-card { padding: 1.875rem; }
}

@media (max-width: 767px) {
  .section-features { padding-block: 60px; }
  .features__inner { padding-inline: 1rem; }
  .features__header { margin-bottom: 2rem; }
  .features__heading { font-size: 1.5rem; padding-inline: 50px; }
  .feature-grid { 
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .feature-card { padding: 1.625rem; }
}

/* ================================
   11. 管理画面セクション (Admin)
   ================================ */

/* --- セクション --- */
.section-admin {
  position: relative;
  background-color: #fff;
  padding-block: 100px 130px;
}

/* --- コンテンツ幅・2カラム --- */
.admin__inner {
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: 2rem;
  display: flex;
  align-items: center;
  gap: 4rem;
}

/* --- テキスト側 --- */
.admin__text {
  flex: 1;
  min-width: 0;
}

.admin__heading {
  font-size: 2rem;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.admin__lead {
  font-size: 0.9375rem;
  color: var(--ink-sub);
  line-height: 1.75;
  margin-bottom: 2rem;
}

/* --- チェックリスト --- */
.admin__checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.admin__check-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  position: relative;
  padding-left: 1.5rem;
}

.admin__check-icon {
  position: absolute;
  display: inline-block;
  top: 3px;
  left: 0;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background-color: var(--accent);
  mask-image: url('../images/icon_check.svg');
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}

/* --- 画像側 --- */
.admin__image {
  flex-shrink: 0;
}

.admin__laptop {
  width: 540px;
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 1023px) {
  .section-admin { padding-block: 80px 100px; }
  .admin__inner { gap: 2.5rem; }
  .admin__heading { font-size: 1.75rem; }
  .admin__laptop { width: 340px; }
}

@media (max-width: 767px) {
  .section-admin { padding-block: 60px 80px; }
  .admin__inner {
    flex-direction: column;
    padding-inline: 1rem;
    gap: 2.5rem;
  }
  .admin__heading { font-size: 1.5rem; }
  .admin__laptop { width: 100%; }
}

/* ================================
   12. セクション間矢印
   ================================ */

.section-arrow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  z-index: 10;
}

@keyframes floatUpDown {
  from { transform: translateY(0); }
  to   { transform: translateY(8px); }
}

.section-arrow__icon {
  width: 60px;
  height: 60px;
  display: block;
  animation: floatUpDown 1.8s ease-in-out infinite alternate;
}

@media (prefers-reduced-motion: reduce) {
  .section-arrow__icon {
    animation: none;
  }
}

@media (max-width: 767px) {
  .section-arrow__icon {
    width: 40px;
    height: 40px;
  }
}

/* ================================
   13. デモセクション (Demo)
   ================================ */

/* --- セクション --- */
.section-demo {
  background-color: var(--surface);
  padding-block: 80px 100px;
  text-align: center;
}

/* --- コンテンツ幅 --- */
.demo__inner {
  max-width: 760px;
  margin-inline: auto;
  padding-inline: 2rem;
}

/* --- 見出し --- */
.demo__heading {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

/* --- リード文 --- */
.demo__lead {
  font-size: 1rem;
  color: var(--ink-sub);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

/* --- ボタン群 --- */
.demo__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

/* アウトラインボタン（デモ用）*/
.btn--demo-outline {
  background-color: #fff;
  color: var(--accent);
  border: 2px solid var(--accent);
  min-width: 340px;
}
.btn--demo-outline:hover {
  background-color: rgb(207 68 102 / .06);
}

/* 塗りボタンの幅 */
.demo__buttons .btn--primary {
  min-width: 340px;
}

/* アクセントカラーのアイコン */
.btn-icon--accent {
  background-color: var(--accent);
}

/* --- ログイン情報ボックス --- */
.demo__info {
  display: block;
  background-color: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.125rem 2rem;
  font-size: 0.9375rem;
  color: var(--ink-sub);
  margin-bottom: 1rem;
}

.demo__info span { margin-right: 1.875rem; }

.demo__info strong {
  color: var(--ink);
  font-weight: 700;
}

/* --- 注記 --- */
.demo__note {
  font-size: 0.8125rem;
  color: var(--ink-sub);
}

@media (max-width: 1023px) {
  .section-demo { padding-block: 80px; }
  .demo__heading { font-size: 2rem; }
}

@media (max-width: 767px) {
  .section-demo { padding-block: 60px; }
  .demo__inner { padding-inline: 1rem; }
  .demo__heading { font-size: 1.625rem; }
  .demo__lead { 
    font-size: 0.9375rem;
    margin-bottom: 2rem;
  }
  .demo__lead br { display: none; }
  .demo__buttons {
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
  }
  .demo__buttons .btn { width: 100%; }
  .btn--demo-outline, .demo__buttons .btn--primary { min-width: 100%;}
  .demo__info { padding: 1.125rem 1.125rem; }
  .demo__info span { 
    margin-right: 0;
    display: block;
    margin-bottom: 0.5rem;
  }
}

/* ================================
   13. 比較表セクション (Comparison)
   ================================ */

/* --- セクション --- */
.section-comparison {
  background-color: #fff;
  padding-block: 100px;
}

/* --- コンテンツ幅 900px --- */
.comparison__inner {
  max-width: 900px;
  margin-inline: auto;
  padding-inline: 2rem;
}

/* --- セクションヘッダー --- */
.comparison__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.comparison__heading {
  font-size: 2rem;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.comparison__lead {
  font-size: 1rem;
  color: var(--ink-sub);
}

/* --- テーブルラッパー (横スクロール対応) --- */
.comparison__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.5rem;
}

/* --- テーブル本体 --- */
.ctable {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 560px;
}

/* 列幅 */
.ctable__col--label { width: 185px; }

/* --- ヘッダー行 --- */

/* スペーサー行: Kit列を上に突出させる */
.ctable__head-spacer td {
  height: 15px;
  padding: 0;
  border: none;
  background: transparent;
}

/* ラベルヘッダー（空） */
.ctable__label-head {
  /* 空のセル */
}

/* サロン予約Kit ヘッダー */
.ctable__kit-head {
  background-color: var(--accent);
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  border-radius: 10px 10px 0 0;
  padding: 1.5rem 1.25rem;
  text-align: center;
  vertical-align: middle;
  position: relative;
  z-index: 1;
}

/* Kit ロゴ（mask-image で白に） */
.ctable__kit-logo {
  display: block;
  width: 150px;
  height: 36px;
  margin: 0 auto;
  background-color: #fff;
  mask-image: url('../images/logo.svg');
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}

/* 他社列ヘッダー（共通） */
.ctable__other-head {
  background-color: var(--surface);
  border-top: 1px solid var(--line);
  padding: 1.25rem 1rem;
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
  vertical-align: middle;
  line-height: 1.5;
}

/* 月額制ヘッダー: 外枠左 + 角丸左上のみ */
.ctable__other-head--left {
  border-left: 1px solid var(--line);
  border-radius: 0 0 0 0;
}

/* ポータルヘッダー: 仕切り左 + 外枠右 + 角丸右上のみ */
.ctable__other-head--right {
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-radius: 0 10px 0 0;
}

.ctable__other-sub {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
}

/* --- ボディ行 --- */

/* ラベルセル */
.ctable__label {
  padding: 1.25rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  border-bottom: 1px solid var(--line);
}

/* Kit セル */
.ctable__kit {
  background-color: #fff;
  padding: 1.25rem 1rem;
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
  border-left: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 1;
}

/* Kit アクセントテキスト */
.ctable__kit--accent {
  color: var(--accent);
}

/* 他社セル */
.ctable__other {
  padding: 1.25rem 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--ink-sub);
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* 最終列: 右ボーダー */
.ctable tbody tr:not(.ctable__foot-spacer) td:last-child {
  border-right: 1px solid var(--line);
}

/* Kit最終セル: 下をピンクボーダーで閉じる */
.ctable__kit--last {
  border-bottom: 2px solid var(--accent);
}

/* 最終データ行: 他社列の角丸なし */
.ctable__last-row td:nth-child(3),
.ctable__last-row td:last-child {
  border-radius: 0;
}

/* --- 注釈ボックス --- */
.comparison__note {
  background-color: var(--surface);
  border-radius: 12px;
  padding: 2rem 2.5rem;
  text-align: center;
}

.comparison__note-sub {
  font-size: 0.875rem;
  color: var(--ink-sub);
  margin-bottom: 0.25rem;
}

.comparison__note-formula {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.comparison__note-text {
  font-size: 0.9375rem;
  color: var(--ink-sub);
  line-height: 1.75;
}

.comparison__note-accent {
  color: var(--accent);
  font-weight: 700;
}

@media (max-width: 1023px) {
  .section-comparison { padding-block: 80px; }
}

@media (max-width: 767px) {
  .section-comparison { padding-block: 60px; }
  .comparison__inner { padding-inline: 1rem; }
  .comparison__header { margin-bottom: 2.5rem; }
  .comparison__heading { font-size: 1.5rem; }
  .comparison__lead { font-size: 0.9375rem; }
  .ctable__kit-logo { width: 120px; height: 28px; }
  /* outer: スクロールしない非overflow親にグラデーションを付ける */
  .comparison__table-outer {
    position: relative;
    margin-bottom: 1.5rem;
  }
  /* スクロールヒント: outerの::after（スクロールに追従しない） */
  .comparison__table-outer::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 48px;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.9));
    pointer-events: none;
    z-index: 5;
  }
  /* table-wrap: margin-bottom をouterに移したのでリセット */
  .comparison__table-wrap {
    margin-bottom: 0;
  }
  /* 項目列の幅をスマホ向けに縮小 */
  .ctable__col--label { width: 110px; }
  /* 項目列（ラベルセル）: データ行のみ左に固定 */
  .ctable__label {
    position: sticky;
    left: 0;
    z-index: 2;
    background-color: #fff;
    box-shadow: inset -1px 0 0 0 var(--line);
    padding: 0.75rem 0.625rem;
    font-size: 0.8125rem;
  }
  /* ヘッダー行の空ラベルセル: 透明・ボーダーなし・固定なし（存在を消す） */
  .ctable__label-head {
    background: transparent;
    border: none;
    padding: 0;
  }
  /* ヘッダー他社セル: 余白縮小・フォント縮小 */
  .ctable__other-head {
    padding: 0.75rem 0.625rem;
    font-size: 0.8125rem;
  }
  /* Kit・他社セル: 余白縮小・フォント縮小 */
  .ctable__kit {
    padding: 0.75rem 0.625rem;
    font-size: 0.875rem;
  }
  .ctable__other {
    padding: 0.75rem 0.625rem;
    font-size: 0.8125rem;
  }
  /* 注釈ボックス */
  .comparison__note { 
    padding: 1.25rem;
    text-align: left;
  }
  .comparison__note-formula {
    font-size: 0.9375rem;
    margin-bottom: 1.25rem;
  }
  .comparison__note-text { font-size: 0.875rem; }
  .comparison__note-text br {
    display: none;
  }
}

@media (max-width: 639px) {
  .section-comparison { padding-block: 60px; }
}

/* ================================
   14. 動作環境セクション (Environment)
   ================================ */

/* PC: 2カラム */
.env-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.env-card {
  background-color: var(--panel);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--line);
  padding: 1.875rem;
}

.env-card__title {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.env-card__icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  flex-shrink: 0;
  background-color: #555;
  mask-image: var(--icon-url);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}

.env-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.env-list__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  padding-left: 1.5rem;
}

.env-check-icon {
  position: absolute;
  top: 3px;
  left: 0;
  width: 15px;
  height: 15px;
  display: inline-block;
  flex-shrink: 0;
  background-color: #555;
  mask-image: url('../images/icon_check.svg');
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}

.env-note {
  font-size: 0.75rem;
  color: var(--ink-sub);
  margin-top: 1.25rem;
  line-height: 1.75;
}

/* PC: 横並び */
.env-cta-bar {
  padding: 1.5rem;
  background-color: var(--panel);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1.875rem;
}

.env-cta-bar__title {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.env-cta-bar__text {
  font-size: 0.875rem;
  color: var(--ink-sub);
}

@media (max-width: 1023px) {
  .env-grid {
    gap: 1.25rem;
    margin-bottom: 1.25rem;
  }
}

@media (max-width: 767px) {
  .env-grid { 
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
  }
  .env-card { padding: 1.625rem; }
  .env-cta-bar {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1rem;
  }
  .env-cta-bar .btn {
    width: 100%;
    margin: 0 auto;
  }
}

/* ================================
   15. 料金プランセクション (Pricing)
   ================================ */

/* PC: 2カラム */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.plan-card {
  background-color: var(--panel);
  padding: 2.5rem;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.plan-card--featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-xl);
  position: relative;
}

.plan-card__badge {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent);
  color: #fff;
  padding: 0.375rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.plan-card__name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.plan-card--featured .plan-card__name {
  color: var(--accent);
}

.plan-card__desc {
  color: var(--ink-sub);
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.plan-card__price {
  margin-bottom: 2rem;
}

.plan-card__price-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
}

.plan-card--featured .plan-card__price-num {
  color: var(--accent);
}

.plan-card__price-unit {
  font-size: 0.875rem;
  font-weight: 700;
  margin-left: 0.25rem;
  color: var(--ink-sub);
}

.plan-card--featured .plan-card__price-unit {
  color: var(--accent);
}

.plan-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  flex: 1;
  font-size: 0.875rem;
}

.plan-card__feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.plan-card--featured .plan-card__feature-item {
  font-weight: 700;
}

.plan-check-icon {
  position: absolute;
  top: 3px;
  left: 0;
  width: 15px;
  height: 15px;
  display: inline-block;
  flex-shrink: 0;
  background-color: #555;
  mask-image: url('../images/icon_check.svg');
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}

.plan-card--featured .plan-check-icon {
  background-color: var(--accent);
}

@media (max-width: 1023px) {
  .pricing-grid { gap: 1.25rem; }
  .plan-card { padding: 2.5rem 2rem 2rem; }
}

@media (max-width: 767px) {
  .pricing-grid { 
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .plan-card { padding: 1.875rem 1.625rem 1.625rem; }
  .plan-card__price-num {
    font-size: 2.25rem;
  }
}

@media (max-width: 320px) {
  .plan-card {
    padding: 1.5rem;
  }
  .plan-card__price-num {
    font-size: 2rem;
  }
}

/* ================================
   16. 購入後の流れセクション (Steps)
   ================================ */

/* PC: 4カラム */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.step {
  text-align: center;
  background-color: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
}

.step__number {
  width: 2.4rem;
  height: 2.4rem;
  background-color: #fff;
  border: 2px solid var(--accent);
  color: var(--accent);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
  margin-inline: auto;
  margin-bottom: 1rem;
}

.step__title {
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.step__text {
  font-size: 0.75rem;
  color: var(--ink-sub);
  line-height: 1.75;
}

.steps-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--ink-sub);
  margin-top: 2rem;
}

@media (max-width: 767px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .step {
    padding: 1.625rem 1.25rem 1.25rem;
  }
  .steps-note { margin-top: 1.25rem; }
}

@media (max-width: 320px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

/* ================================
   17. FAQセクション
   ================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  text-align: left;
  padding: 1.5rem 1.5rem 1.5rem 3rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  position: relative;
}

.faq-q {
  position: absolute;
  font-size: 1.125rem;
  top: 22px;
  left: 24px;
  color: var(--accent);
  flex-shrink: 0;
}

.faq-icon {
  flex-shrink: 0;
  margin-left: auto;
  color: var(--ink-sub);
  transition: transform 0.2s ease;
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  padding: 0 1.5rem;
  font-size: 0.875rem;
  color: var(--ink-sub);
  line-height: 1.75;
  transition: max-height 0.35s ease, padding-bottom 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 1.5rem;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

@media (max-width: 767px) {
  .faq-trigger {
    padding: 1.25rem 1.25rem 1.25rem 2.8rem;
    font-size: 0.9375rem;
  }
  .faq-q {
    font-size: 1.0625rem;
    top: 18px;
    left: 20px;
  }
}

/* ================================
   18. フッター
   ================================ */
.site-footer {
  background-color: var(--base-dark);
  color: #fff;
  padding-block: 5rem;
  padding-inline: 2rem;
}

.footer__inner {
  max-width: 1080px;
  margin-inline: auto;
}

.footer-cta {
  text-align: center;
  margin-bottom: 5rem;
}

.footer-cta__title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.footer-cta__lead {
  color: #bcbcbc;
  font-size: 1rem;
  margin-bottom: 2.5rem;
  max-width: 36rem;
  margin-inline: auto;
  line-height: 1.75;
}

.footer-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.footer-cta__buttons .btn {
  width: 100%;
  max-width: 340px;
}

/* PC: ブランド2fr + ナビ3列 */
.footer-nav {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-top: 3rem;
  border-top: 1px solid rgb(255 255 255 / .1);
  font-size: 0.875rem;
}

/* PC: 1カラム幅 */
.footer-brand {
  grid-column: span 1;
  margin-right: 6.25rem;
}

.footer-brand__logo-img {
  display: block;
  width: 160px;
  height: 40px;
  margin-bottom: 1rem;
  background-color: #bcbcbc;
  mask-image: url('../images/logo.svg');
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: left center;
}

.footer-brand__desc {
  color: #bcbcbc;
  font-size: 0.75rem;
  line-height: 1.75;
}

.footer-nav__heading {
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: #bcbcbc;
}

.footer-nav__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav__list a {
  color: #bcbcbc;
  transition: color 0.15s ease;
}

.footer-nav__list a:hover {
  color: #fff;
}

/* PC: 横並び */
.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgb(255 255 255 / .05);
  color: #bcbcbc;
  font-size: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.back-to-top {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgb(255 255 255 / .3);
  background: transparent;
  color: #bcbcbc;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.back-to-top:hover {
  border-color: #fff;
  color: #fff;
}

.back-to-top .material-symbols-outlined {
  font-size: 1.125rem;
}

@media (max-width: 1023px) {
  .footer-brand { margin-right: 0; }
}

@media (max-width: 767px) {
  .site-footer {
    padding-block: 3.75rem;
    padding-inline: 1rem;
  }
  .footer-cta { margin-bottom: 3rem; }
  .footer-cta__title { font-size: 1.625rem; }
  .footer-cta__lead { font-size: 0.9375rem; }
  .footer-cta__lead br { display: none; }
  .footer-nav { 
    font-size: 0.8125rem;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .footer-brand { 
    grid-column: span 2;
    margin-bottom: 1rem;
  }
}

@media (max-width: 320px) {
  .footer-cta__buttons {
    flex-direction: column;
  }
  .footer-cta__buttons .btn {
    width: 100%;
  }
}

/* ================================
   19. スクロールアニメーション
   ================================ */

/* 初期状態: 下から20pxオフセットして非表示 */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

/* IntersectionObserver が is-visible を付与したら表示 */
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* アニメーション軽減設定を尊重 */
@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ================================
   20. サブページ共通
   ================================ */

/* ページヘッダー（ダークバナー） */
.page-hero {
  background-color: var(--ink);
  padding-block: 3.5rem;
  color: #fff;
}

.page-hero__inner {
  max-width: 760px;
  margin-inline: auto;
  padding-inline: 2rem;
}

.page-hero__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgb(255 255 255 / .4);
  margin-bottom: 0.625rem;
}

.page-hero__title {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.3;
}

/* コンテンツ本文エリア */
.page-body {
  max-width: 760px;
  margin-inline: auto;
  padding-inline: 2rem;
  padding-block: 4rem 5rem;
}

.page-date {
  font-size: 0.8125rem;
  color: var(--ink-sub);
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.page-body h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--line);
}

.page-body h2:first-child { margin-top: 0; }

.page-body p {
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--ink-sub);
  margin-bottom: 0.875rem;
}

.page-body ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.page-body ul li {
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--ink-sub);
  margin-bottom: 0.375rem;
}

/* 特定商取引法テーブル */
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.legal-table th,
.legal-table td {
  padding: 0.875rem 1rem;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background-color: var(--surface);
  font-weight: 700;
  width: 11rem;
  white-space: nowrap;
  color: var(--ink);
}

.legal-table td { color: var(--ink-sub); }

.legal-placeholder {
  color: var(--line);
  font-style: italic;
}

/* お問い合わせカード */
.contact-card {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 2rem 2.5rem;
  margin-block: 2rem;
}

.contact-card__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-sub);
  margin-bottom: 0.5rem;
}

.contact-card__email {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  word-break: break-all;
}

.contact-card__note {
  font-size: 0.875rem;
  color: var(--ink-sub);
  line-height: 1.7;
  margin-top: 0.75rem;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 3rem;
  max-width: 496px;
  margin-inline: auto;
}

.contact-links .btn {
  flex: 1;
}

/* お問い合わせページ用: page-body 幅をフォームに合わせて560pxに */
.page-body--narrow {
  max-width: 560px;
}

/* お問い合わせフォーム */
.contact-form {
  margin-top: 2rem;
}

.contact-form__honeypot {
  display: none;
}

.contact-form__group {
  margin-bottom: 1.5rem;
}

.contact-form__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.contact-form__required {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--accent);
  margin-left: 0.375rem;
}

.contact-form__input,
.contact-form__textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--ink);
  background-color: var(--panel);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgb(207 68 102 / .1);
}

.contact-form__textarea {
  resize: vertical;
  min-height: 160px;
  line-height: 1.75;
}

.contact-form__submit {
  margin-top: 0.5rem;
  width: 100%;
  max-width: 496px;
  display: block;
  margin-inline: auto;
}

/* 送信完了メッセージ */
.form-success {
  background-color: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 0.75rem;
  padding: 1.75rem 2rem;
  color: #166534;
  line-height: 1.8;
}

.form-success__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* エラーメッセージ */
.form-error {
  background-color: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: 0.75rem;
  padding: 1rem 1.5rem;
  color: #991b1b;
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
  line-height: 1.75;
}

@media (max-width: 767px) {
  .page-hero { padding-block: 2.5rem; }
  .page-hero__title { font-size: 1.375rem; }
  .page-body {
    padding-inline: 1rem;
    padding-block: 3rem 4rem;
  }
  .legal-table th { width: 7.5rem; white-space: normal; }
  .contact-card { padding: 1.5rem; }
  .contact-links { flex-direction: column; }
}

/* ================================
   21. Material Symbols
   ================================ */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ================================
   22. 購入モーダル
   ================================ */
.purchase-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.purchase-modal[hidden] { display: none; }

.purchase-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / .6);
  backdrop-filter: blur(2px);
}

.purchase-modal__card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-2xl);
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
}

.purchase-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--ink-sub);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.15s ease, color 0.15s ease;
}
.purchase-modal__close:hover { background: var(--surface); color: var(--ink); }

.purchase-modal__plan-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  background: rgb(207 68 102 / .08);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
}

.purchase-modal__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.purchase-modal__lead {
  font-size: 0.85rem;
  color: var(--ink-sub);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.purchase-modal__form { display: flex; flex-direction: column; gap: 1.25rem; }

.purchase-modal__group { display: flex; flex-direction: column; gap: 0.35rem; }

.purchase-modal__label {
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.purchase-modal__required {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  background: rgb(207 68 102 / .1);
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
}

.purchase-modal__input {
  width: 100%;
  padding: 0.65rem 0.875rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  font-size: 0.9375rem;
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  background: #fff;
}
.purchase-modal__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgb(207 68 102 / .12);
}

.purchase-modal__hint {
  font-size: 0.775rem;
  color: var(--ink-sub);
}

.purchase-modal__agree { margin-top: 0.25rem; }

.purchase-modal__agree-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.825rem;
  color: var(--ink-sub);
  cursor: pointer;
  line-height: 1.6;
  outline: none; /* 青枠を除去 */
}
.purchase-modal__agree-label input[type="checkbox"] {
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--accent);
  width: 1rem;
  height: 1rem;
  outline: none; /* モバイルでの青枠を除去 */
}
.purchase-modal__agree-label input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--accent); /* キーボード操作時のみフォーカスリングを表示 */
  outline-offset: 2px;
}
.purchase-modal__agree-label span { display: inline; }
.purchase-modal__agree-label a {
  color: var(--accent);
  text-decoration: underline;
  white-space: nowrap; /* リンクテキストを途中で折り返さない */
}

/* プランバッジカラー: スタンダード（グレー）/ プレミアム（ピンク） */
.purchase-modal__plan-label--standard {
  color: var(--ink-sub);
  background: rgb(85 85 85 / .08);
}
.purchase-modal__plan-label--premium {
  color: var(--accent);
  background: rgb(207 68 102 / .08);
}

.purchase-modal__submit { width: 100%; margin-top: 0.25rem; }

@media (max-width: 479px) {
  .purchase-modal__card { padding: 2rem 1.25rem; }
}

/* ================================
   23. エラートースト（購入エラー通知）
   ================================ */
@keyframes toastIn  { from { opacity: 0; transform: translateX(-50%) translateY(-0.5rem); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
@keyframes toastOut { from { opacity: 1; transform: translateX(-50%) translateY(0); } to { opacity: 0; transform: translateX(-50%) translateY(-0.5rem); } }

.purchase-error-toast {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
  padding: 0.875rem 1rem 0.875rem 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  max-width: calc(100vw - 2rem);
  white-space: nowrap;
  animation: toastIn 0.3s ease;
}
.purchase-error-toast--hide { animation: toastOut 0.4s ease forwards; }
.purchase-error-toast__close {
  border: none;
  background: transparent;
  color: #991b1b;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  padding: 0;
  flex-shrink: 0;
}

/* ================================
   24. デモ準備中バッジ
   ================================ */
.demo-btn[data-coming-soon] {
  position: relative;
  opacity: 0.7;
  cursor: default;
  pointer-events: none;
}
.demo-coming-soon-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  background: #555;
  color: #fff;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  margin-left: 0.5rem;
  vertical-align: middle;
}

