/* ==========================================================
   StarAide ホームページ スタイルシート

   目次
   1. 色・文字などの基本設定（ここを変えると全体が変わります）
   2. ページ全体の土台
   3. 共通パーツ（ボタン・見出し・カード）
   4. ヘッダー
   5. 各セクション（①〜⑩）
   6. フッター・スマホ用固定ボタン
   7. スマホ・タブレット向けの調整
   ========================================================== */


/* ----------------------------------------------------------
   1. 色・文字などの基本設定
   色を変えたいときは、ここの数値だけ書き換えればOKです
   ---------------------------------------------------------- */
:root {
  --color-navy: #1f3556;        /* 文字・見出しの紺色 */
  --color-navy-dark: #152640;   /* ボタンを押したときの濃い紺 */
  --color-text: #33415c;        /* 本文の文字色 */
  --color-sub: #5c6b84;         /* 補足の文字色 */
  --color-blue-light: #eef5fc;  /* 薄い水色の背景 */
  --color-blue-line: #cfe0f2;   /* 枠線の水色 */
  --color-gold: #d9a52b;        /* アクセントの金色（星） */
  --color-white: #ffffff;

  --font-base: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-heading: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", var(--font-base);

  --radius: 16px;               /* カードの角の丸み */
  --shadow: 0 6px 20px rgba(31, 53, 86, 0.08);
  --header-height: 72px;
  --container: 1120px;          /* 中身の最大の横幅 */
}


/* ----------------------------------------------------------
   2. ページ全体の土台
   ---------------------------------------------------------- */
/* 日本語を文節の切れ目で改行する。Chrome以外では無視されるだけなので安全 */
body { word-break: auto-phrase; }

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height); /* メニューで移動したとき、見出しがヘッダーに隠れないように */
}

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.9;
  color: var(--color-text);
  background: var(--color-white);
}

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

h1, h2, h3 { font-family: var(--font-heading); color: var(--color-navy); line-height: 1.5; margin: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: inherit; }

/* キーボードで操作しているときに、どこを選んでいるか見えるようにする */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 3px;
}

/* 本文へ移動リンク（ふだんは隠し、キーボードで選んだときだけ出す） */
.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  background: var(--color-navy);
  color: var(--color-white);
  padding: 8px 16px;
  border-radius: 8px;
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 820px; }

/* 動きを減らす設定の人には、アニメーションを止める */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}


/* ----------------------------------------------------------
   3. 共通パーツ
   ---------------------------------------------------------- */

/* --- ボタン --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
/* 相談ボタン（いちばん目立たせる紺色のボタン） */
.btn-primary {
  background: var(--color-navy);
  color: var(--color-white);
  box-shadow: 0 4px 0 var(--color-gold);  /* 下に金色の線 */
}
.btn-primary:hover { background: var(--color-navy-dark); transform: translateY(-2px); }
/* 補助のボタン（枠線だけ） */
.btn-outline {
  background: var(--color-white);
  color: var(--color-navy);
  border: 2px solid var(--color-navy);
}
.btn-outline:hover { background: var(--color-blue-light); }
.btn-large { padding: 18px 40px; font-size: 18px; }

.btn-area { text-align: center; margin-top: 48px; }

/* --- セクションの共通 --- */
.section { padding: 96px 0; }
.section-tint { background: var(--color-blue-light); }

.section-title {
  font-size: 30px;
  text-align: center;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 20px;
}
/* 見出しの下の小さな金色の線 */
.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 48px;
  height: 3px;
  margin-left: -24px;
  background: var(--color-gold);
  border-radius: 2px;
}
.section-title-left { text-align: left; }
.section-title-left::after { left: 0; margin-left: 0; }

.section-lead { text-align: center; color: var(--color-sub); margin-bottom: 48px; }

/* --- カードを並べる枠 --- */
.card-grid { display: grid; gap: 24px; margin-top: 40px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* --- チェック付きの箇条書き --- */
.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 6px;
  font-size: 15px;
  text-align: left;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.55em;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--color-gold);
  border-bottom: 2px solid var(--color-gold);
  transform: rotate(-45deg);
}


/* ----------------------------------------------------------
   4. ヘッダー
   ---------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--color-blue-line);
  transition: box-shadow 0.2s;
}
.site-header.is-scrolled { box-shadow: var(--shadow); } /* 下にスクロールすると影がつく */

.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }

.logo { display: flex; align-items: center; gap: 4px; text-decoration: none; }
.logo-text { font-family: var(--font-heading); font-weight: 700; font-size: 26px; color: var(--color-navy); letter-spacing: 0.02em; }
.logo-star { width: 16px; height: 16px; fill: var(--color-gold); margin-top: -14px; }
.logo-sub { font-size: 12px; color: var(--color-sub); margin-left: 10px; }

.global-nav { display: flex; align-items: center; gap: 28px; }
.global-nav ul { display: flex; gap: 22px; }
.global-nav ul a { text-decoration: none; font-size: 14px; font-weight: 500; color: var(--color-navy); }
.global-nav ul a:hover { color: var(--color-gold); }
.btn-header { padding: 10px 22px; font-size: 14px; box-shadow: none; }

.menu-button { display: none; }


/* ----------------------------------------------------------
   5. 各セクション
   ---------------------------------------------------------- */

/* --- ① ファーストビュー --- */
.hero { padding: 64px 0 88px; background: linear-gradient(180deg, var(--color-white) 0%, var(--color-blue-light) 100%); }
.hero-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.hero-label { display: inline-block; font-size: 14px; font-weight: 700; color: var(--color-navy); background: var(--color-white); border: 1px solid var(--color-blue-line); border-radius: 999px; padding: 4px 16px; margin-bottom: 20px; }
.hero-title { font-size: 44px; line-height: 1.45; margin-bottom: 20px; }
.hero-lead { color: var(--color-text); margin-bottom: 32px; }
.hero-note { font-size: 13px; color: var(--color-sub); margin-top: 16px; }
.hero-image img { border-radius: 24px; box-shadow: var(--shadow); }

/* --- ② お悩み --- */
.worry-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.worry-list li {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 20px 24px 20px 56px;
  position: relative;
  box-shadow: var(--shadow);
}
/* お悩みの頭につく丸い印 */
.worry-list li::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 30px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid var(--color-blue-line);
}
.worry-answer { text-align: center; font-family: var(--font-heading); font-weight: 700; font-size: 22px; color: var(--color-navy); margin: 48px 0 0; }

/* --- ③ 変わること --- */
.change-card { text-align: center; padding: 32px 24px; border-radius: var(--radius); border: 1px solid var(--color-blue-line); }
.change-card img { width: 140px; margin: 0 auto 16px; }
.change-card h3 { font-size: 20px; margin-bottom: 12px; }
.change-card p { font-size: 15px; text-align: left; margin: 0; }

/* --- ④ サービス内容 --- */
.service-card { background: var(--color-white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.service-card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.service-body { padding: 20px 22px 26px; }
.service-body h3 { font-size: 18px; margin-bottom: 8px; }
.service-body p { font-size: 14px; margin: 0; }

/* --- ⑤ 料金 --- */
.price-grid { align-items: stretch; }
.price-card { border: 1px solid var(--color-blue-line); border-radius: var(--radius); padding: 32px 26px; text-align: center; position: relative; }
.price-card h3 { font-size: 20px; }
.price-target { font-size: 13px; color: var(--color-sub); margin: 4px 0 12px; }
.price-amount { font-family: var(--font-heading); font-size: 36px; font-weight: 700; color: var(--color-navy); margin-bottom: 20px; }
.price-amount span { font-size: 18px; margin-left: 2px; }
/* おすすめのプラン（枠を太く） */
.price-card-featured { border: 3px solid var(--color-navy); box-shadow: var(--shadow); }
.price-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--color-gold);
  color: var(--color-white);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 999px;
}
.price-note { font-size: 13px; color: var(--color-sub); text-align: center; margin: 24px auto 0; max-width: 760px; }

/* --- ⑥ プロフィール --- */
.profile-inner { display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: start; }
.profile-image img { border-radius: 50%; box-shadow: var(--shadow); border: 6px solid var(--color-white); }
.profile-name { font-weight: 700; color: var(--color-navy); font-size: 18px; margin-top: 16px; }
.values-title { font-size: 18px; margin: 32px 0 12px; }
.values-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.values-list li { background: var(--color-white); border-radius: 12px; padding: 14px 18px; font-size: 14px; }
.values-list strong { display: block; font-family: var(--font-heading); color: var(--color-navy); font-size: 16px; }

/* --- ⑦ お客さまの声 --- */
.voice-card { margin: 0; padding: 28px 24px; border-radius: var(--radius); border: 1px solid var(--color-blue-line); text-align: center; }
.voice-card img { width: 88px; margin: 0 auto 16px; }
.voice-card blockquote { margin: 0 0 12px; text-align: left; font-size: 15px; }
.voice-card figcaption { font-size: 13px; color: var(--color-sub); }

/* --- ⑧ ご依頼の流れ --- */
.flow-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 40px; counter-reset: none; }
.flow-list li { background: var(--color-white); border-radius: var(--radius); padding: 28px 18px; text-align: center; position: relative; box-shadow: var(--shadow); }
/* 次の手順へ向かう小さな三角 */
.flow-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -13px;
  top: 50%;
  margin-top: -8px;
  border: 8px solid transparent;
  border-left: 10px solid var(--color-gold);
  z-index: 1;
}
.flow-num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--color-navy); color: var(--color-white); font-weight: 700; margin-bottom: 12px; }
.flow-list h3 { font-size: 17px; margin-bottom: 8px; }
.flow-list p { font-size: 14px; margin: 0; text-align: left; }

/* --- ⑨ よくある質問（押すと開く） --- */
.faq-list { margin-top: 40px; }
.faq-item { border: 1px solid var(--color-blue-line); border-radius: 12px; margin-bottom: 12px; background: var(--color-white); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 56px 18px 56px;
  position: relative;
  font-weight: 700;
  color: var(--color-navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
/* 質問の頭の「Q」 */
.faq-item summary::before { content: "Q"; position: absolute; left: 20px; font-family: var(--font-heading); color: var(--color-gold); font-size: 20px; top: 14px; }
/* 右側の＋印（開くと×のように回る） */
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 12px;
  font-size: 26px;
  font-weight: 400;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 24px 20px 56px; margin: 0; }

/* --- ⑩ お問い合わせ --- */
.contact { background: var(--color-navy); text-align: center; }
.contact .section-title,
.contact .section-lead { color: var(--color-white); }
.contact .section-lead { opacity: 0.9; }
.contact-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
/* 紺色の背景の上では、相談ボタンを白くして目立たせる */
.contact .btn-primary { background: var(--color-white); color: var(--color-navy); }
.contact .btn-primary:hover { background: var(--color-blue-light); }
.contact .btn-outline { background: transparent; color: var(--color-white); border-color: var(--color-white); }
.contact .btn-outline:hover { background: rgba(255, 255, 255, 0.1); }
.contact-note { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--color-white); opacity: 0.85; font-size: 14px; margin-top: 28px; }


/* ----------------------------------------------------------
   6. フッター・スマホ用固定ボタン
   ---------------------------------------------------------- */
.site-footer { background: var(--color-navy-dark); color: var(--color-white); text-align: center; padding: 32px 0; }
.footer-logo { font-family: var(--font-heading); font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.footer-logo span { font-size: 12px; font-weight: 400; margin-left: 10px; opacity: 0.8; }
.footer-copy { margin: 0; opacity: 0.7; }

/* 画面下に固定する相談ボタン（パソコンでは出さない） */
.fixed-cta { display: none; }


/* ----------------------------------------------------------
   7. スマホ・タブレット向けの調整
   ---------------------------------------------------------- */

/* --- タブレット（横幅1024px以下） --- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .flow-list { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .flow-list li { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; text-align: left; align-items: center; }
  .flow-list .flow-num { margin: 0; grid-row: span 2; }
  .flow-list li:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -21px; margin: 0 0 0 -8px; border: 8px solid transparent; border-top: 10px solid var(--color-gold); }
}

/* --- ヘッダーのメニューをたたむ（横幅960px以下） --- */
@media (max-width: 960px) {
  :root { --header-height: 64px; }

  .menu-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: none;
    background: none;
    color: var(--color-navy);
    cursor: pointer;
  }
  .menu-button .icon-close { display: none; }
  .menu-button[aria-expanded="true"] .icon-open { display: none; }
  .menu-button[aria-expanded="true"] .icon-close { display: block; }

  /* メニュー本体（ボタンを押すと下に開く） */
  .global-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-blue-line);
    box-shadow: var(--shadow);
    padding: 8px 24px 24px;
  }
  .global-nav.is-open { display: flex; }
  .global-nav ul { flex-direction: column; gap: 0; }
  .global-nav ul a { display: block; padding: 14px 4px; font-size: 16px; border-bottom: 1px solid var(--color-blue-light); }
  .btn-header { margin-top: 20px; padding: 14px; font-size: 16px; }
}

/* --- スマホ（横幅768px以下） --- */
@media (max-width: 768px) {
  body { font-size: 15px; padding-bottom: 80px; } /* 下の固定ボタンに本文が隠れないように */

  .section { padding: 64px 0; }
  .container { padding: 0 20px; }
  .section-title { font-size: 24px; }
  .section-lead { margin-bottom: 32px; }
  .card-grid { gap: 16px; margin-top: 28px; }
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }

  .logo-text { font-size: 22px; }
  .logo-sub { display: none; }

  /* ① ファーストビュー：画像を上、文字を下に */
  .hero { padding: 24px 0 56px; }
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero-image { order: -1; }
  .hero-image img { border-radius: 16px; aspect-ratio: 16 / 10; object-fit: cover; }
  .hero-text { text-align: center; }
  .hero-label { font-size: 12px; margin-bottom: 14px; }
  .hero-title { font-size: 30px; }
  .hero-lead br { display: none; }
  .hero-text .btn { width: 100%; }

  .worry-list { grid-template-columns: 1fr; }
  .worry-answer { font-size: 19px; }

  /* ③ 変わること：アイコンを左、文字を右に */
  .change-card { display: grid; grid-template-columns: 88px 1fr; gap: 4px 16px; text-align: left; padding: 20px; align-items: center; }
  .change-card img { width: 88px; margin: 0; grid-row: span 2; }
  .change-card h3 { font-size: 18px; margin: 0; }

  .btn-area .btn { width: 100%; }

  .price-card { padding: 32px 20px 24px; }
  .price-card-featured { margin-top: 12px; }

  .profile-inner { grid-template-columns: 1fr; gap: 24px; }
  .profile-image { max-width: 220px; margin: 0 auto; }
  .values-list { grid-template-columns: 1fr; }

  .faq-item summary { padding: 16px 48px 16px 48px; }
  .faq-item summary::before { left: 16px; }
  .faq-item summary::after { right: 16px; }
  .faq-item p { padding: 0 20px 18px 48px; }

  .contact-buttons { flex-direction: column; }
  .contact-buttons .btn { width: 100%; }

  /* 画面下の固定ボタンを出す */
  .fixed-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--color-blue-line);
    box-shadow: 0 -4px 16px rgba(31, 53, 86, 0.1);
    transition: transform 0.25s;
  }
  .fixed-cta .btn { width: 100%; }
  /* お問い合わせ欄が見えているあいだは、固定ボタンを隠す */
  .fixed-cta.is-hidden { transform: translateY(110%); }
}


/* ----------------------------------------------------------
   8. website1の構成に合わせて足した部品
   （色・丸み・影は上の基本設定をそのまま使っています）
   ---------------------------------------------------------- */

/* --- ② お悩み（アイコン付きカード。5つを3つ＋2つで中央ぞろえ） --- */
.worry-grid { display: flex; flex-wrap: wrap; justify-content: center; }
.worry-grid .worry-card { flex: 0 1 calc((100% - 48px) / 3); }
.worry-card { background: var(--color-white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px 24px 28px; text-align: center; }
.worry-card img { width: 112px; margin: 0 auto 16px; }
.worry-card p { font-family: var(--font-heading); font-weight: 700; font-size: 17px; color: var(--color-navy); line-height: 1.7; margin: 0; }

/* --- ③ こう変わります（Point番号） --- */
.change-card .point-number { text-align: center; }
.point-number { font-size: 13px; font-weight: 700; color: var(--color-gold); letter-spacing: 0.08em; margin: 0 0 4px; }

/* --- ④ できること（箇条書きと注意書き） --- */
.service-body .check-list { margin-top: 14px; }
.service-body .check-list li { font-size: 14px; margin-bottom: 4px; }
.service-note { font-size: 12px !important; color: var(--color-sub); margin-top: 12px !important; padding-top: 10px; border-top: 1px dashed var(--color-blue-line); }

/* --- ⑤ プロフィール --- */
.profile-name { font-size: 22px; font-family: var(--font-heading); margin: 16px 0 12px; }

/* --- ⑥ 強み --- */
.strength-card { background: var(--color-white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 22px; text-align: center; }
.strength-card img { width: 96px; margin: 0 auto 8px; }
.strength-num { font-family: var(--font-heading); font-weight: 700; color: var(--color-gold); font-size: 18px; margin: 0; }
.strength-card h3 { font-size: 17px; margin-bottom: 10px; }
.strength-card p:last-child { font-size: 14px; text-align: left; margin: 0; }

/* --- ⑦ 制作例 --- */
.work-card { border: 1px solid var(--color-blue-line); border-radius: var(--radius); overflow: hidden; background: var(--color-white); }
.work-card img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; background: var(--color-blue-light); }
.work-body { padding: 22px 22px 24px; }
.work-body h3 { font-size: 17px; margin-bottom: 12px; }
.work-body p { font-size: 14px; margin-bottom: 10px; }
.work-body p:last-child { margin-bottom: 0; }
.work-body strong { display: inline-block; font-size: 12px; color: var(--color-white); background: var(--color-navy); border-radius: 999px; padding: 0 10px; margin-right: 8px; }

.demo-panel { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: center; margin-top: 32px; padding: 28px 36px; border-radius: var(--radius); background: var(--color-blue-light); }
.demo-image img { width: 100%; border-radius: 50%; background: var(--color-white); }
.demo-label { font-size: 13px; font-weight: 700; color: var(--color-gold); letter-spacing: 0.08em; margin: 0 0 4px; }
.demo-text h3 { font-size: 20px; margin-bottom: 8px; }
.text-link { display: inline-flex; gap: 6px; font-weight: 700; color: var(--color-navy); text-decoration: none; border-bottom: 2px solid var(--color-gold); }
.text-link:hover { color: var(--color-gold); }

/* --- ⑧ いただいた言葉 --- */
.voice-card { background: var(--color-white); }
.voice-card blockquote { text-align: center; font-family: var(--font-heading); font-weight: 700; color: var(--color-navy); font-size: 16px; }
.voice-card blockquote p { margin: 0; }

/* --- ⑨ 料金 --- */
.price-image { width: 88px; height: 88px; object-fit: contain; margin: 0 auto 8px; }
.price-card .price-amount { margin: 8px 0 12px; }
.price-card > .price-target { font-size: 14px; }
.price-card .check-list { display: inline-block; }
.price-note p { margin: 0 0 4px; }

/* --- ⑩ ご利用の流れ（7つ） --- */
.flow-list { grid-template-columns: repeat(7, 1fr); gap: 14px; }
.flow-list li { padding: 20px 8px 18px; }
.flow-list li img { width: 64px; margin: 0 auto 6px; }
.flow-list .flow-num { width: auto; height: auto; background: none; color: var(--color-gold); font-size: 13px; margin: 0; display: block; }
.flow-list h3 { font-size: 15px; margin: 0; }
.flow-note { text-align: center; font-weight: 700; color: var(--color-navy); margin: 32px 0 0; }

/* --- ⑪ お問い合わせ --- */
.contact-text { color: var(--color-white); opacity: 0.92; margin: 24px 0 36px; }
.contact-text p { margin-bottom: 0.6em; }

/* --- フッターのメニュー --- */
.footer-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 24px; margin: 12px 0 16px; }
.footer-nav a { color: var(--color-white); text-decoration: none; font-size: 13px; opacity: 0.85; }
.footer-nav a:hover { opacity: 1; text-decoration: underline; }

/* --- タブレット --- */
@media (max-width: 1024px) {
  .flow-list { grid-template-columns: 1fr; gap: 20px; }
  .flow-list li { grid-template-columns: 56px 1fr; padding: 14px 20px; }
  .flow-list li img { width: 56px; margin: 0; grid-column: 1; grid-row: 1 / 3; }
  .flow-list .flow-num { grid-column: 2; grid-row: 1; align-self: end; }
  .flow-list h3 { grid-column: 2; grid-row: 2; align-self: start; }
}

/* --- スマホ --- */
@media (max-width: 768px) {
  .worry-grid .worry-card { flex-basis: 100%; }
  .worry-card { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: center; text-align: left; padding: 18px 20px; }
  .worry-card img { width: 72px; margin: 0; }
  .worry-card p br { display: none; }

  .change-card .point-number { margin: 0; text-align: left; }
  .change-card .point-number { align-self: end; }
  .change-card h3 { align-self: start; }
  .change-card p:last-child { grid-column: 1 / -1; margin-top: 8px; }

  .strength-card { display: grid; grid-template-columns: 72px 1fr; gap: 0 16px; text-align: left; align-items: center; }
  .strength-card img { width: 72px; margin: 0; grid-row: span 2; }
  .strength-card p:last-child { grid-column: 1 / -1; margin-top: 10px; }

  .demo-panel { grid-template-columns: 1fr; padding: 24px 20px; text-align: center; }
  .demo-image { max-width: 160px; margin: 0 auto; }
  .demo-text p { text-align: left; }
  .demo-text .demo-label { text-align: center; }

  .contact-text { text-align: left; }
}

/* --- ① 見出し（h1）の中にサービス名とキャッチコピーを入れたための調整 --- */
#hero-title { margin: 0; }
#hero-title .hero-label { font-family: var(--font-base); line-height: 1.6; }
#hero-title .hero-title { display: block; }
