/* =========================================================
   リザスト設定代行「お任せパック」LP
   色・角丸・文字サイズはここ（:root）でまとめて変えられます
   ========================================================= */
:root {
  --bg: #f5faf3;          /* ページの地色（やわらかい若葉色） */
  --bg-alt: #e6f2e3;      /* 交互セクションの地色 */
  --surface: #ffffff;
  --ink: #000000;         /* 本文 */
  --ink-head: #1f3b2c;    /* 見出し（深緑） */
  --ink-sub: #4a5a4f;     /* 補足 */
  --accent: #38995c;      /* ボタン・強調（緑） */
  --accent-deep: #27774a;
  --accent-soft: #d8efdd;
  --leaf: #4a7fa3;        /* 機能チップ（空色。緑と区別するため） */
  --leaf-soft: #e1edf6;
  --sun: #f4e38a;         /* マーカー */
  --line: #d3e5d1;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 6px 24px rgba(31, 70, 45, .08);
  --font-head: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
  --font-body: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .02em;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }
.mark { background: linear-gradient(transparent 58%, var(--sun) 58%); padding: 0 .1em; }
.nb { display: inline-block; }   /* 見出しの改行位置を整える */

.inner { width: 100%; max-width: 960px; margin: 0 auto; padding: 0 16px; }
.inner--narrow { max-width: 760px; }
.section { padding: 72px 0; }
.section--alt { background: var(--bg-alt); }

/* ---------- 見出し ---------- */
.sec-head { text-align: center; margin-bottom: 40px; }
.sec-head__label {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--accent-deep);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 4px 16px;
  margin-bottom: 14px;
}
.sec-head__title {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink-head);
  font-size: clamp(24px, 5.6vw, 34px);
  line-height: 1.5;
  margin: 0;
  text-wrap: balance;
}
.sec-head__title::after {   /* 見出しと本文を罫線で区切る */
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: var(--accent);
  margin: 18px auto 0;
}
.sec-head__lead { margin: 22px auto 0; max-width: 640px; }
.bridge {   /* セクションの境目のつなぎ */
  text-align: center;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink-head);
  font-size: 17px;
  margin: 48px auto 0;
  max-width: 640px;
}
.bridge::after {
  content: "";
  display: block;
  width: 14px; height: 14px;
  margin: 14px auto 0;
  border-right: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  transform: rotate(45deg);
  border-radius: 2px;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 60px;
  padding: 14px 36px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
  text-decoration: none;
  box-shadow: 0 6px 0 var(--accent-deep), 0 10px 24px rgba(56, 153, 92, .28);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { background: #45a869; }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--accent-deep); }
.btn__arrow { width: 18px; height: 18px; flex: none; }
.btn-wrap { text-align: center; margin-top: 36px; }
.btn-note { font-size: 14px; color: var(--ink-sub); margin-top: 14px; }

/* ---------- ファーストビュー ---------- */
.hero {
  position: relative;
  padding: 64px 0 72px;
  background:
    radial-gradient(circle at 12% 18%, #e2f3da 0, transparent 38%),
    radial-gradient(circle at 92% 8%, #e3eef7 0, transparent 34%),
    var(--bg);
  text-align: center;
  overflow: hidden;
}
.hero__brand {
  font-size: 14px;
  color: var(--ink-sub);
  margin-bottom: 18px;
}
.hero__service {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(15px, 3.8vw, 18px);
  color: var(--ink-head);
  border: 2px solid var(--ink-head);
  border-radius: 999px;
  padding: 6px 22px;
  margin: 0 0 22px;
}
.hero__title {
  font-family: var(--font-head);
  font-weight: 900;
  color: var(--ink-head);
  font-size: clamp(30px, 8.4vw, 54px);
  line-height: 1.4;
  margin: 0 0 22px;
  letter-spacing: .03em;
}
.hero__title em { font-style: normal; color: var(--accent-deep); }
.hero__lead { font-size: clamp(16px, 3.9vw, 18px); max-width: 620px; margin: 0 auto; }
.hero__points { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 22px 0 0; }
.hero__point {
  display: inline-block;
  background: var(--surface);
  border-radius: 999px;
  padding: 8px 24px;
  font-weight: 700;
  box-shadow: var(--shadow);
}

/* 話す → 形にする → 使える の図 */
.flow3 {
  list-style: none;
  margin: 44px auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 10px;
  max-width: 820px;
}
.flow3__item {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 22px 14px 20px;
  box-shadow: var(--shadow);
}
.flow3__num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  color: var(--accent-deep);
  letter-spacing: .1em;
}
.flow3__big {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 24px;
  color: var(--ink-head);
  line-height: 1.4;
  margin: 2px 0 8px;
}
.flow3__text { font-size: 14px; line-height: 1.7; margin: 0; }
.flow3__who {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  padding: 2px 12px;
  background: var(--leaf-soft);
  color: #2c5a78;
}
.flow3__who--you { background: var(--accent-soft); color: var(--accent-deep); }
.flow3__arrow { align-self: center; color: var(--accent); width: 22px; }

/* ---------- お悩み ---------- */
.voices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.bubble {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 22px 22px;
  font-weight: 700;
  line-height: 1.75;
  box-shadow: var(--shadow);
}
.bubble::after {   /* 吹き出しのしっぽ */
  content: "";
  position: absolute;
  bottom: -12px;
  left: 36px;
  border: 12px solid transparent;
  border-top-color: var(--surface);
  border-bottom: 0;
}
.answer {
  margin-top: 56px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow);
  text-align: center;
}
.answer__title {
  font-family: var(--font-head);
  font-weight: 900;
  color: var(--ink-head);
  font-size: clamp(22px, 5.4vw, 30px);
  line-height: 1.5;
  margin: 0 0 20px;
}
.answer__body { text-align: left; max-width: 620px; margin: 0 auto; }

/* 進め方の図（ヒアリング → 構成・文章 → ご確認 → 設定） */
.howto {
  list-style: none;
  margin: 32px auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 760px;
  counter-reset: how;
}
.howto li {
  position: relative;
  text-align: center;
  padding: 0 6px;
}
.howto li::before {
  counter-increment: how;
  content: counter(how, decimal-leading-zero);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 18px;
  position: relative;
  z-index: 1;
}
.howto li:not(:last-child)::after {   /* 丸と丸をつなぐ線 */
  content: "";
  position: absolute;
  top: 27px;
  left: calc(50% + 28px);
  width: calc(100% - 56px);
  border-top: 2px dashed var(--accent);
}
.howto__name { font-weight: 700; font-size: 15px; line-height: 1.5; display: block; }
.howto__sub { font-size: 13px; color: var(--ink-sub); line-height: 1.5; display: block; margin-top: 4px; }

/* 頼み方は3通り */
.scale {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.scale__item {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow);
  text-align: center;
}
.scale__size {   /* 頼む量を、四角の数で見せる */
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-bottom: 12px;
  height: 22px;
  align-items: flex-end;
}
.scale__size span { width: 16px; border-radius: 4px; background: var(--leaf); }
.scale__size span:nth-child(1) { height: 12px; }
.scale__size span:nth-child(2) { height: 17px; }
.scale__size span:nth-child(3) { height: 22px; }
.scale__size--loop span { background: var(--accent); }
.scale__title { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--ink-head); margin: 0 0 6px; line-height: 1.5; }
.scale__text { font-size: 14px; line-height: 1.7; margin: 0; }

/* ---------- 活用方法 ---------- */
.use-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.use-tabs button {
  appearance: none;
  border: 2px solid var(--line);
  background: var(--surface);
  color: var(--ink-head);
  font: 700 15px/1.4 var(--font-head);
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.use-tabs button[aria-selected="true"] { background: var(--ink-head); border-color: var(--ink-head); color: #fff; }
.use-tabs { display: none; }               /* JSが動くときだけタブにする */
.js .use-tabs { display: flex; }
.js .use[hidden] { display: none; }

.use {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow);
}
.use + .use { margin-top: 24px; }
.use__num {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: .12em;
  color: var(--accent-deep);
}
.use__title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(21px, 5vw, 26px);
  color: var(--ink-head);
  margin: 2px 0 20px;
  line-height: 1.5;
}
.chain {   /* 機能の組み合わせを矢印でつなぐ図 */
  list-style: none;
  padding: 18px 16px;
  margin: 0 0 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 6px;
  background: var(--bg);
  border-radius: var(--radius);
}
.chain li { display: flex; align-items: center; gap: 6px; }
.chain li:not(:last-child)::after {
  content: "";
  width: 9px; height: 9px;
  border-right: 2.5px solid var(--accent);
  border-top: 2.5px solid var(--accent);
  transform: rotate(45deg);
  margin: 0 6px 0 2px;
}
.chip {
  display: inline-block;
  background: var(--leaf-soft);
  color: #2c5a78;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  border-radius: 999px;
  padding: 7px 14px;
  white-space: nowrap;
}
.chain .chip { background: var(--leaf); color: #fff; font-size: 15px; padding: 9px 16px; }
.use__lead { margin-bottom: 20px; }
.roles { margin: 0; padding: 0; display: grid; gap: 10px; }
.roles div {
  display: grid;
  grid-template-columns: 9.5em 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}
.roles dt { font-weight: 700; color: #2c5a78; }
.roles dd { margin: 0; }
.use__foot {
  margin-top: 22px;
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-weight: 700;
}
.small-note { font-size: 14px; color: var(--ink-sub); margin-top: 20px; }

/* ---------- お客様の声 ---------- */
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.review {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 30px 28px 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.review__who { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.review__avatar {   /* お客様のリザストのプロフィール写真 */
  flex: none;
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg);
  border: 3px solid var(--surface);
  box-shadow: 0 0 0 2px var(--line);
}
.review__name { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--ink-head); line-height: 1.4; }
.review__uses { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; }
.review__uses .chip { font-size: 13px; padding: 4px 12px; }
.review__title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-head);
  margin: 0 0 16px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--line);
}
.review__body { font-size: 15px; line-height: 1.95; flex: 1; }
.review__link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  border: 2px solid var(--ink-head);
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  color: var(--ink-head);
  transition: background .15s, color .15s;
}
.review__link:hover { background: var(--ink-head); color: #fff; }
.review__link svg { width: 14px; height: 14px; }

/* ---------- 料金 ---------- */
.tax-badge {
  display: inline-block;
  background: var(--ink-head);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 4px 16px;
  font-size: 14px;
}
.price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 20px;
}
.price-table th, .price-table td { padding: 16px 18px; text-align: left; vertical-align: middle; line-height: 1.6; }
.price-table thead th { background: var(--ink-head); color: #fff; font-size: 14px; font-weight: 700; }
.price-table tbody tr + tr td, .price-table tbody tr + tr th { border-top: 1px solid var(--line); }
.price-table tbody th { font-weight: 700; }
.price-table tbody th a { text-decoration: none; border-bottom: 2px solid var(--accent-soft); }
.price-table tbody th a:hover { border-bottom-color: var(--accent); }
.price-table .p { font-family: var(--font-head); font-weight: 900; font-size: 19px; color: var(--accent-deep); white-space: nowrap; }
.price-table .p small { font-size: 13px; color: var(--ink); font-family: var(--font-body); font-weight: 700; margin-right: 2px; }
.price-table .d { white-space: nowrap; font-weight: 700; }

.menus { display: grid; gap: 24px; margin-top: 48px; }
.menu {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  box-shadow: var(--shadow);
  scroll-margin-top: 20px;
}
.menu--set { outline: 3px solid var(--accent); outline-offset: -3px; }
.menu__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
  padding: 2px 12px;
  margin-bottom: 8px;
}
.menu__name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(21px, 5vw, 25px);
  color: var(--ink-head);
  margin: 0 0 4px;
  line-height: 1.5;
}
.menu__what { font-size: 14px; color: var(--ink-sub); margin: 0 0 18px; }
.menu__price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  padding: 16px 20px;
  background: var(--bg);
  border-radius: var(--radius);
  margin-bottom: 20px;
}
.menu__yen { font-family: var(--font-head); font-weight: 900; font-size: clamp(26px, 6.4vw, 32px); color: var(--accent-deep); line-height: 1.3; }
.menu__yen small { white-space: nowrap; font-size: 15px; color: var(--ink); font-family: var(--font-body); font-weight: 700; margin-left: 4px; }
.menu__yen .pre { font-size: 16px; color: var(--ink); font-family: var(--font-body); font-weight: 700; margin: 0 4px 0 0; }
.menu__term { font-weight: 700; background: var(--surface); border-radius: 999px; padding: 4px 14px; font-size: 15px; }
.menu__inc { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.menu__inc li {
  font-size: 14px;
  font-weight: 700;
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 4px 14px;
}
.menu__sub { font-weight: 700; margin: 22px 0 10px; color: var(--ink-head); }
.pages { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.pages li { background: var(--bg); border-radius: 12px; padding: 10px 14px; font-size: 14px; line-height: 1.5; }
.pages li b { display: block; font-size: 15px; }
.set-flow {
  text-align: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink-head);
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 0 0 18px;
}
.menu__note { font-size: 14px; color: var(--ink-sub); margin-top: 16px; }
.menu__rec { margin-top: 16px; font-weight: 700; }

/* ---------- ご依頼の流れ ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: st; }
.steps li {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding-bottom: 28px;
}
.steps li::before {
  counter-increment: st;
  content: counter(st, decimal-leading-zero);
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 20px;
  position: relative;
  z-index: 1;
}
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 31px;
  top: 64px;
  bottom: 0;
  border-left: 2px dashed var(--accent);
}
.steps__box { background: var(--surface); border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow); }
.steps__name { font-family: var(--font-head); font-weight: 900; font-size: 19px; color: var(--ink-head); margin: 0 0 4px; line-height: 1.5; }

/* ---------- 最後の相談 ---------- */
.final {
  padding: 80px 0 96px;
  background:
    radial-gradient(circle at 85% 20%, #dcefd4 0, transparent 40%),
    radial-gradient(circle at 10% 90%, #e1edf6 0, transparent 40%),
    var(--bg);
}
.final__card {
  background: var(--surface);
  border-radius: 28px;
  padding: 48px 32px;
  box-shadow: var(--shadow);
  text-align: center;
}
.wishes { list-style: none; padding: 0; margin: 28px auto 28px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: 680px; }
.wishes li {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-weight: 700;
  line-height: 1.6;
  text-align: left;
}
.final__msg { font-weight: 700; font-size: 17px; }

/* ---------- フッター ---------- */
.footer { background: var(--ink-head); color: #fff; text-align: center; padding: 28px 16px 96px; font-size: 13px; }

/* ---------- スマホ用の追従ボタン ---------- */
.sticky-cta {
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 50;
  display: none;
}
.sticky-cta .btn { width: 100%; min-height: 54px; font-size: 16px; padding: 10px 20px; box-shadow: 0 4px 0 var(--accent-deep), 0 8px 24px rgba(0,0,0,.18); }
.sticky-cta.is-shown { display: block; animation: rise .3s ease; }
@keyframes rise { from { transform: translateY(20px); opacity: 0; } }

/* ---------- 公開前の注意（リンク先が未設定のときだけ出る） ---------- */
.dev-note {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: #222;
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  padding: 8px 16px;
}

/* ---------- スクロールでふわっと ---------- */
.js .fade { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .fade.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .fade { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   スマホ
   ========================================================= */
@media (max-width: 767px) {
  body { font-size: 16px; line-height: 1.85; }
  .section { padding: 56px 0; }
  .sec-head { margin-bottom: 32px; }
  .sec-head__lead { text-align: left; }

  .hero { padding: 44px 0 56px; }
  .hero__lead { text-align: left; }
  .flow3 { grid-template-columns: 1fr; gap: 6px; max-width: 360px; }
  .flow3__item { display: grid; grid-template-columns: auto 1fr; gap: 0 14px; text-align: left; padding: 16px 18px; align-items: center; }
  .flow3__num { grid-row: 1 / 3; writing-mode: vertical-rl; letter-spacing: .2em; }
  .flow3__big { font-size: 21px; margin: 0; }
  .flow3__text { grid-column: 2; }
  .flow3__who { grid-column: 2; justify-self: start; margin-top: 6px; }
  .flow3__arrow { transform: rotate(90deg); justify-self: center; width: 18px; }

  .voices { grid-template-columns: 1fr; gap: 26px; }
  .answer { padding: 30px 20px; }
  .howto { grid-template-columns: 1fr; gap: 0; max-width: 340px; }
  .howto li { display: grid; grid-template-columns: 48px 1fr; gap: 0 14px; text-align: left; padding: 0 0 18px; align-items: center; }
  .howto li::before { width: 48px; height: 48px; font-size: 16px; margin: 0; grid-row: 1 / 3; }
  .howto li:not(:last-child)::after { top: 48px; left: 23px; width: 0; height: calc(100% - 48px); border-top: 0; border-left: 2px dashed var(--accent); }
  .scale { grid-template-columns: 1fr; gap: 12px; }
  .scale__item { display: grid; grid-template-columns: 58px 1fr; gap: 0 12px; text-align: left; align-items: center; padding: 18px; }
  .scale__size { grid-row: 1 / 3; margin: 0; justify-content: flex-start; }

  .use-tabs { display: none; }
  .js .use-tabs { display: grid; grid-template-columns: 1fr; gap: 8px; }
  .use-tabs button { width: 100%; }
  .use { padding: 28px 20px; }
  .chain { justify-content: flex-start; padding: 16px 14px; }
  .chain .chip { font-size: 14px; padding: 7px 13px; }
  .roles div { grid-template-columns: 1fr; gap: 2px; padding: 10px 0; }

  .reviews { grid-template-columns: 1fr; gap: 20px; }
  .review { padding: 26px 20px 24px; }

  /* 料金表：スマホでは1行ずつのカードにして、横スクロールなしで比べられるように */
  .price-table, .price-table tbody, .price-table tr, .price-table th, .price-table td { display: block; }
  .price-table thead { display: none; }
  .price-table { background: none; box-shadow: none; border-radius: 0; overflow: visible; }
  .price-table tbody tr {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 12px;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 14px 16px;
    margin-bottom: 10px;
  }
  .price-table tbody tr + tr td, .price-table tbody tr + tr th { border-top: 0; }
  .price-table th, .price-table td { padding: 0; }
  .price-table tbody th { grid-column: 1 / -1; font-size: 15px; }
  .price-table .p { font-size: 18px; }
  .price-table .d { align-self: end; font-size: 14px; }
  .price-table .d::before { content: "納期 "; font-weight: 400; color: var(--ink-sub); }

  .menu { padding: 28px 20px; }
  .menu__price { padding: 14px 16px; }
  .pages { grid-template-columns: 1fr 1fr; }

  .steps li { grid-template-columns: 48px 1fr; gap: 14px; }
  .steps li::before { width: 48px; height: 48px; font-size: 16px; }
  .steps li:not(:last-child)::after { left: 23px; top: 48px; }
  .steps__box { padding: 16px 18px; }
  .steps__name { font-size: 17px; }

  .final { padding: 56px 0 72px; }
  .final__card { padding: 36px 20px; }
  .wishes { grid-template-columns: 1fr; }
  .btn { width: 100%; padding: 14px 20px; font-size: 17px; }
}

/* ---------- 画像枠（写真・スクリーンショットを入れる場所） ---------- */
.img-slot {
  margin: 0 0 24px;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 2px dashed #b3d2b6;
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(45deg, rgba(56,153,92,.05) 0 12px, transparent 12px 24px),
    #f1f8ef;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px;
  text-align: center;
  color: var(--ink-sub);
}
.img-slot--square { aspect-ratio: 1 / 1; max-width: 240px; margin: 24px auto; border-radius: 50%; }
.img-slot__label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .14em;
  color: #fff;
  background: #8db998;
  border-radius: 999px;
  padding: 2px 12px;
}
.img-slot__what { font-weight: 700; font-size: 14px; line-height: 1.6; color: var(--ink-head); max-width: 30em; }
.img-slot__size { font-size: 12px; }
.slot-img {   /* 差し替えた実際の画像 */
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 0 0 24px;
  box-shadow: var(--shadow);
}
.hero .img-slot, .hero .slot-img { max-width: 760px; margin: 0 auto 24px; }
.sec-head + .img-slot, .sec-head + .slot-img { max-width: 760px; margin: -8px auto 36px; }
.review .img-slot, .review .slot-img { margin-bottom: 18px; }
@media (max-width: 767px) {
  .img-slot { padding: 12px; }
  .img-slot__what { font-size: 13px; }
  .img-slot--square { max-width: 180px; }
}
.slot-img--round { width: 240px; max-width: 60%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; margin: 24px auto; }

/* ---------- お客様の声の動画（制作したページの画面録画） ---------- */
.slot-video {
  /* どの端末でも16:9を保つ（iPhoneのSafariで幅がはみ出さないよう、昔ながらの書き方にしている） */
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 0;
  padding-top: 56.25%;
  border-radius: var(--radius);
  background: #000;
  margin: 0 0 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.slot-video--yt iframe {
  position: absolute;
  top: 0; left: 0;
  width: 1px; min-width: 100%;   /* iOSでiframeが中身の幅に広がるのを防ぐ */
  height: 100%;
  border: 0;
  display: block;
}
.reviews > .review { min-width: 0; }   /* カードの中身が幅を押し広げないように */

/* ---------- 診断制作：種類の補足 ---------- */
.menu__name-sub { display: block; font-family: var(--font-body); font-weight: 700; font-size: 14px; color: var(--leaf); margin-top: 2px; }
.tbl-sub { display: block; font-size: 12px; font-weight: 400; color: var(--ink-sub); line-height: 1.5; }
.pages--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 767px) { .pages--3 { grid-template-columns: 1fr; } }

/* ---------- 追加料金の補足（ステップメール） ---------- */
.menu__extra { flex-basis: 100%; font-size: 14px; font-weight: 700; color: var(--ink); }
.menu__extra b { color: var(--accent-deep); }

/* ---------- ステップメール：作り方の3ステップ ---------- */
.mini-steps { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; counter-reset: ms; }
.mini-steps li {
  position: relative;
  background: var(--bg);
  border-radius: 12px;
  padding: 14px 14px 14px 52px;
  font-size: 14px;
  line-height: 1.6;
}
.mini-steps li::before {
  counter-increment: ms;
  content: counter(ms);
  position: absolute;
  left: 14px; top: 14px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.mini-steps b { display: block; font-size: 15px; color: var(--ink-head); }

/* ---------- 追加料金のボックス ---------- */
.extra-box {
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 0 0 20px;
  text-align: center;
}
.extra-box p { margin: 0; }
.extra-box__q { font-family: var(--font-head); font-weight: 700; color: var(--ink-head); font-size: 16px; }
.extra-box__a { font-weight: 700; font-size: 17px; margin-top: 4px !important; }
.extra-box__a strong { font-family: var(--font-head); font-weight: 900; font-size: 26px; color: var(--accent-deep); margin: 0 2px; }
.extra-box__a small { font-size: 13px; }
.extra-box__ex {
  display: inline-block;
  background: var(--surface);
  border-radius: 999px;
  padding: 4px 16px;
  font-size: 14px;
  margin-top: 10px !important;
}
.extra-box__ex b { color: var(--accent-deep); }
.extra-box__note { font-size: 14px; color: var(--ink-sub); margin-top: 10px !important; }
@media (max-width: 767px) {
  .mini-steps { grid-template-columns: 1fr; }
  .extra-box { padding: 18px 14px; }
  .extra-box__ex { border-radius: 12px; }
}

/* =========================================================
   相談・お問い合わせ（フォーム＋LINE）
   ========================================================= */
.free-badge {
  display: inline-block;
  margin: 28px 0 0;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  border-radius: 999px;
  padding: 8px 28px;
}
.free-badge b { font-size: 24px; margin: 0 2px; }
.free-chip {
  display: inline-block;
  vertical-align: 2px;
  margin-left: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-family: var(--font-body);
  border-radius: 999px;
  padding: 1px 10px;
}

.contact { margin-top: 32px; scroll-margin-top: 16px; }
.contact__title {
  text-align: center;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(22px, 5vw, 28px);
  color: var(--ink-head);
  margin: 0 0 8px;
}
.contact__lead { text-align: center; margin-bottom: 24px; }
.contact__grid { display: grid; gap: 20px; }

.cform, .cform-done, .line-box {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 32px 28px;
}
.cform fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.cform__field { display: block; margin-top: 22px; }
.cform__label { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink-head); margin-bottom: 8px; padding: 0; }
.req, .opt { font-size: 12px; font-weight: 700; border-radius: 999px; padding: 1px 10px; }
.req { background: var(--accent); color: #fff; }
.opt { background: var(--bg-alt); color: var(--ink-sub); }

.cform input[type="text"], .cform input[type="email"], .cform input[type="tel"], .cform textarea {
  width: 100%;
  font: inherit;
  font-size: 16px; /* iPhoneで拡大されないように */
  color: var(--ink);
  background: var(--bg);
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color .15s, background .15s;
}
.cform textarea { resize: vertical; min-height: 130px; line-height: 1.7; }
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.cform ::placeholder { color: #9db2a3; }

.cform__type { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cform__type legend { grid-column: 1 / -1; }
.type-opt { position: relative; cursor: pointer; }
.type-opt input { position: absolute; opacity: 0; }
.type-opt span {
  display: block;
  height: 100%;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px 14px 44px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-sub);
  position: relative;
  transition: border-color .15s, background .15s;
}
.type-opt span::before {
  content: "";
  position: absolute;
  left: 14px; top: 16px;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: #fff;
}
.type-opt b { display: block; font-size: 16px; color: var(--ink-head); margin-bottom: 2px; }
.type-opt input:checked + span { border-color: var(--accent); background: #eef8f0; }
.type-opt input:checked + span::before { border-color: var(--accent); box-shadow: inset 0 0 0 4px #fff; background: var(--accent); }
.type-opt input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }

.menu-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.menu-checks label { cursor: pointer; }
.menu-checks input { position: absolute; opacity: 0; }
.menu-checks span {
  display: inline-block;
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 700;
  background: #fff;
  transition: background .15s, border-color .15s, color .15s;
}
.menu-checks input:checked + span { background: var(--leaf); border-color: var(--leaf); color: #fff; }
.menu-checks input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform__privacy { font-size: 13px; color: var(--ink-sub); margin: 22px 0 0; line-height: 1.7; }
.cform__error {
  margin: 16px 0 0;
  background: #fde8e4;
  color: #a3301a;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 14px;
  white-space: pre-line;
}
.cform__submit { width: 100%; margin-top: 22px; border: 0; cursor: pointer; }
.cform__submit:disabled { opacity: .7; cursor: wait; }

.cform-done { text-align: center; }
.cform-done:focus { outline: none; }
.cform-done__title { font-family: var(--font-head); font-weight: 900; font-size: 22px; color: var(--ink-head); }
.cform-done__note { font-size: 13px; color: var(--ink-sub); }

.line-box { text-align: center; }
.line-box__title { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--ink-head); margin-bottom: 6px; }
.line-box__text { font-size: 14px; margin-bottom: 16px; }
.line-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 10px 32px;
  border-radius: 999px;
  background: #06c755;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  box-shadow: 0 4px 0 #05a648;
}
.line-btn svg { width: 24px; height: 24px; }
.line-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 #05a648; }

@media (max-width: 767px) {
  .cform, .cform-done, .line-box { padding: 24px 18px; }
  .cform__type { grid-template-columns: 1fr; }
  .free-badge { font-size: 16px; padding: 8px 22px; }
  .line-btn { width: 100%; }
}
.cform fieldset.cform__field { margin-top: 22px; }

/* ---------- 無料相談の希望日 ---------- */
.cform__hint { font-size: 13px; color: var(--ink-sub); margin: -2px 0 10px; line-height: 1.7; }
.date-rows { display: grid; gap: 10px; }
.date-row { display: grid; grid-template-columns: 7.5em 1fr 9em; gap: 8px; align-items: center; }
.date-row__no { font-weight: 700; font-size: 14px; color: var(--ink-head); display: flex; align-items: center; gap: 6px; }
.cform input[type="date"], .cform select {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--bg);
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  min-height: 48px;
  -webkit-appearance: none;
  appearance: none;
}
.cform select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-sub) 50%), linear-gradient(135deg, var(--ink-sub) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 30px;
}
.cform input[type="date"]:focus, .cform select:focus { outline: none; border-color: var(--accent); background-color: #fff; }
@media (max-width: 767px) {
  .date-row { grid-template-columns: 1fr 7.5em; }
  .date-row__no { grid-column: 1 / -1; }
}
.cform [hidden] { display: none !important; }

/* ---------- LINEで問い合わせる方法 ---------- */
.line-box { padding: 32px 28px; }
.line-box__title { font-size: 20px; }
.line-steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; counter-reset: ls; text-align: left; }
.line-steps li {
  position: relative;
  background: #eefaf2;
  border-radius: 12px;
  padding: 14px 14px 14px 50px;
  font-size: 13px;
  line-height: 1.6;
}
.line-steps li::before {
  counter-increment: ls;
  content: counter(ls);
  position: absolute;
  left: 13px; top: 14px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #06c755;
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.line-steps b { display: block; font-size: 15px; color: var(--ink-head); }

.line-examples { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.line-examples__label { flex-basis: 100%; margin: 0; font-weight: 700; font-size: 14px; color: var(--ink-head); }
.line-examples__label span { font-weight: 400; font-size: 12px; color: var(--ink-sub); }
.line-ex {
  appearance: none;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  background: #fff;
  border: 2px dashed #9fdcb6;
  border-radius: 14px 14px 14px 4px;
  padding: 8px 14px;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.line-ex:hover { background: #f3fbf6; }
.line-ex.is-copied { border-style: solid; border-color: #06c755; background: #eefaf2; }
.line-examples__done { flex-basis: 100%; margin: 4px 0 0; font-size: 13px; font-weight: 700; color: #058a3b; }

.line-add { margin-top: 22px; display: flex; align-items: center; justify-content: center; gap: 28px; }
.line-add__id { font-size: 12px; color: var(--ink-sub); margin: 10px 0 0; }
.line-add__id b { color: var(--ink); font-size: 14px; letter-spacing: .04em; }
.line-add__qr { margin: 0; text-align: center; }
.line-add__qr img { width: 120px; height: 120px; border-radius: 8px; border: 1px solid var(--line); margin: 0 auto 4px; }
.line-add__qr figcaption { font-size: 12px; color: var(--ink-sub); line-height: 1.5; }

@media (max-width: 767px) {
  .line-box { padding: 24px 16px; }
  .line-steps { grid-template-columns: 1fr; }
  .line-add { flex-direction: column; gap: 0; }
  .line-add__btn { width: 100%; }
  .line-add__qr { display: none; }   /* スマホはボタンから直接追加 */
}
.slot-img--round { object-position: 50% 20%; }

/* ---------- プロフィール ---------- */
.profile {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 40px 36px;
}
.profile__head { display: flex; align-items: center; gap: 28px; }
.profile__photo {
  flex: none;
  width: 160px; height: 160px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 20%;
  border: 5px solid #fff;
  box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow);
}
.profile__role { margin: 0; font-weight: 700; color: var(--accent-deep); font-size: 14px; letter-spacing: .1em; }
.profile__name { margin: 0 0 10px; font-family: var(--font-head); font-weight: 900; font-size: 34px; line-height: 1.3; color: var(--ink-head); letter-spacing: .06em; }
.profile__titles { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.profile__titles li { background: var(--leaf-soft); color: #2c5a78; font-size: 13px; font-weight: 700; border-radius: 999px; padding: 4px 12px; line-height: 1.5; }
.profile__mission {
  margin: 28px 0 24px;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-head);
  padding: 18px 16px;
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
}
.profile__msg {
  margin-top: 24px;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.profile__msg-title { font-family: var(--font-head); font-weight: 900; font-size: 17px; color: var(--ink-head); margin-bottom: 8px; }
@media (max-width: 767px) {
  .profile { padding: 28px 20px; }
  .profile__head { flex-direction: column; text-align: center; gap: 14px; }
  .profile__photo { width: 140px; height: 140px; }
  .profile__titles { justify-content: center; }
  .profile__mission { font-size: 16px; }
  .profile__msg { padding: 18px 16px; }
}

/* ---------- 無料相談：リザストの空き枠から選ぶ ---------- */
.slot-days { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.slot-day, .slot-time {
  appearance: none;
  font: inherit;
  font-weight: 700;
  color: var(--ink-head);
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.slot-day { padding: 8px 12px; font-size: 15px; line-height: 1.3; }
.slot-day small { font-size: 12px; font-weight: 700; }
.slot-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 8px; padding: 14px; background: var(--bg); border-radius: var(--radius); }
.slot-time { padding: 10px 6px; font-size: 15px; white-space: nowrap; }
.slot-day:hover, .slot-time:hover { border-color: var(--accent); }
.slot-day.is-on { background: var(--ink-head); border-color: var(--ink-head); color: #fff; }
.slot-time.is-on { background: var(--accent); border-color: var(--accent); color: #fff; }
.slot-selected { margin: 12px 0 0; font-weight: 700; color: var(--accent-deep); }
.slot-switch {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  margin-top: 12px;
  font: inherit;
  font-size: 13px;
  color: var(--ink-sub);
  text-decoration: underline;
  cursor: pointer;
}
.done-when {
  display: inline-block;
  margin: 4px 0 14px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 20px;
  border-radius: 999px;
  padding: 6px 22px;
}

/* ---------- お客様の声：成果のバッジ ---------- */
.review__result {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -4px 0 18px;
  background: var(--accent-soft);
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 700;
  color: var(--ink-head);
  line-height: 1.5;
}
.review__result-label {
  flex: none;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  border-radius: 999px;
  padding: 2px 10px;
}
.review__result b { font-family: var(--font-head); font-weight: 900; font-size: 24px; color: var(--accent-deep); margin: 0 3px; }
.hero picture { display: block; max-width: 760px; margin: 0 auto 24px; }
.hero picture .slot-img { margin: 0; }
