@charset "UTF-8";

/* =========================================================
   自社サイト — 農家・町工場向け ホームページ改良サービス
   方針：訪問者は50〜70代の経営者。
        「文字が大きい・電話が押しやすい・専門用語なし」を
        サイト自身が実演することが、そのまま営業材料になる。
   ========================================================= */

/* ---------- トークン ---------- */
:root {
  --indigo-900: #14263c;
  --indigo-800: #1c3350;
  --indigo-700: #274866;
  --indigo-100: #e4ecf4;
  --accent-600: #d4761a;   /* 山吹寄りの橙：CTA専用 */
  --accent-500: #e8912f;
  --accent-100: #fdf0dc;
  --paper-50:  #fcfbf8;
  --paper-100: #f6f2ea;
  --paper-200: #ece5d8;
  --line:      #ddd4c4;
  --ink-900:   #1e2229;
  --ink-700:   #4b525d;
  --ink-500:   #78808d;
  --ok:        #2f7a4f;
  --warn:      #b3341f;   /* 注意喚起の赤：見出し1か所だけに使う。CTAの橙と競合させない */
  --white:     #fff;

  --font-serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  --font-sans:  "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", "Meiryo", sans-serif;

  --radius: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(30, 34, 41, .07);
  --shadow-md: 0 12px 30px rgba(30, 34, 41, .12);
  --shadow-lg: 0 28px 70px rgba(20, 38, 60, .20);
  --container: 1140px;
  --header-h: 68px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 14px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;             /* 高齢の読み手を想定して大きめ */
  line-height: 1.95;
  color: var(--ink-900);
  background: var(--paper-50);
  letter-spacing: .02em;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--indigo-700); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.5; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--accent-600); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  background: var(--indigo-900); color: #fff; padding: 10px 18px;
  border-radius: 0 0 10px 10px; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ---------- レイアウト ---------- */
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 40px, 860px); margin-inline: auto; }

.section { padding-block: clamp(56px, 8vw, 104px); }
.section--paper { background: var(--paper-100); }
.section--white { background: var(--white); }
.section--dark  { background: var(--indigo-900); color: rgba(255,255,255,.88); }

.section-head { margin-bottom: clamp(30px, 5vw, 52px); text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; letter-spacing: .22em; font-weight: 700;
  color: var(--accent-600); margin-bottom: 10px;
}
.eyebrow::before, .eyebrow::after {
  content: ""; width: 22px; height: 2px; background: var(--accent-500); opacity: .6;
}
.section--dark .eyebrow { color: var(--accent-500); }

.section-title {
  font-size: clamp(25px, 4.2vw, 39px);
  color: var(--indigo-900); letter-spacing: .04em;
}
.section--dark .section-title { color: #fff; }
.section-lead { margin-top: 16px; color: var(--ink-700); }
.section--dark .section-lead { color: rgba(255,255,255,.82); }
.section-head .section-lead { max-width: 44em; margin-inline: auto; }

/* ---------- ヘッダー ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(252, 251, 248, .95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  width: min(100% - 32px, var(--container)); margin-inline: auto;
  min-height: var(--header-h); display: flex; align-items: center; gap: 14px;
}

.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; color: inherit; margin-right: auto; }
.logo__mark {
  width: 42px; height: 42px; flex: none; border-radius: 11px;
  background: linear-gradient(145deg, var(--indigo-700), var(--indigo-900));
  display: grid; place-items: center; color: #fff;
  box-shadow: var(--shadow-sm);
}
.logo__mark svg { width: 22px; height: 22px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.28; white-space: nowrap; }
.logo__name { font-family: var(--font-serif); font-size: 20px; color: var(--indigo-900); letter-spacing: .06em; }
.logo__sub  { font-size: 10.5px; letter-spacing: .1em; color: var(--ink-500); }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  padding: 9px 13px; white-space: nowrap;
  font-size: 15px; font-weight: 500; color: var(--ink-700);
  text-decoration: none; border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--indigo-900); background: var(--paper-100); }
.nav .nav__only-sp { display: none; }

.header__mail {
  display: flex; flex-direction: column; align-items: flex-end;
  padding-left: 16px; margin-left: 6px;
  border-left: 1px solid var(--line); text-decoration: none;
}
.header__mail-label { font-size: 10px; letter-spacing: .1em; color: var(--ink-500); }
.header__mail-addr {
  font-size: 15.5px; font-weight: 700; letter-spacing: 0;
  color: var(--indigo-900); line-height: 1.35;
}

.header__cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-600); color: #fff;
  padding: 12px 20px; border-radius: 999px;
  font-size: 14.5px; font-weight: 700; text-decoration: none;
  box-shadow: 0 4px 14px rgba(212, 118, 26, .32);
  transition: background .2s, transform .2s;
}
.header__cta:hover { background: #b4620f; transform: translateY(-1px); }

.hamburger {
  display: none; width: 46px; height: 46px; flex: none; padding: 0;
  border: 1px solid var(--line); background: var(--white);
  border-radius: 10px; cursor: pointer;
}
.hamburger span {
  display: block; width: 21px; height: 2px; margin: 4px auto;
  background: var(--indigo-900); border-radius: 2px; transition: transform .25s, opacity .25s;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 18px 34px; font-family: var(--font-sans);
  font-size: 17px; font-weight: 700; text-align: center;
  text-decoration: none; border: 2px solid transparent; border-radius: 999px;
  cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--accent-600); color: #fff; box-shadow: 0 10px 26px rgba(212, 118, 26, .34); }
.btn--primary:hover { background: #b4620f; }
.btn--indigo { background: var(--indigo-800); color: #fff; box-shadow: 0 10px 26px rgba(28, 51, 80, .28); }
.btn--indigo:hover { background: var(--indigo-900); }
.btn--outline { background: transparent; color: var(--indigo-900); border-color: var(--indigo-700); }
.btn--outline:hover { background: var(--indigo-800); color: #fff; }
.btn--light { background: rgba(255,255,255,.97); color: var(--indigo-900); box-shadow: var(--shadow-md); }
.btn--light:hover { background: #fff; }
.btn--lg { padding: 21px 46px; font-size: 18px; }
.btn--wide { width: 100%; }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative; overflow: hidden;
  /* 重ねる順は上から手前。1枚目が斜めの線、2枚目が右上の光、3枚目が地の色 */
  background-image:
    repeating-linear-gradient(114deg,
      rgba(39, 72, 102, .05) 0 2px, rgba(39, 72, 102, 0) 2px 34px),
    radial-gradient(90% 70% at 88% 6%, rgba(232, 145, 47, .16) 0%, rgba(232, 145, 47, 0) 60%),
    linear-gradient(168deg, var(--paper-50) 0%, var(--paper-100) 55%, var(--indigo-100) 100%);
  padding-block: clamp(52px, 8vw, 96px);
}
/* 屋号を巨大に、左端から見切れさせる。
   不透明度は7.5%。これ以上濃くすると本文の邪魔になります。
   狭い画面では本文に重なるので消します。 */
.hero::before {
  content: "イチのHP"; position: absolute; z-index: 1; pointer-events: none;
  left: -1.2vw; top: -6%;
  writing-mode: vertical-rl; text-orientation: upright;
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: min(17vw, 215px); font-weight: 900; letter-spacing: -.06em; line-height: 1;
  color: rgba(39, 72, 102, .075); white-space: nowrap;
}
@media (max-width: 900px) { .hero::before { display: none; } }

/* 右上のやわらかい橙のかたまり。真円にせず崩すことで手描きの感じを出しています */
.hero__inner::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  right: -8%; top: -14%;
  width: 52vw; height: 52vw; max-width: 620px; max-height: 620px;
  border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%;
  background: radial-gradient(circle at 34% 34%, rgba(232, 145, 47, .22), rgba(232, 145, 47, 0) 68%);
}


.hero::after {
  content: ""; position: absolute; inset: auto -60px -120px auto;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(39, 72, 102, .10), transparent 66%);
  pointer-events: none;
}
.hero__inner {
  position: relative; z-index: 2;
  width: min(100% - 40px, var(--container)); margin-inline: auto;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em;
  background: var(--white); border: 1px solid var(--line);
  color: var(--indigo-800); padding: 8px 18px; border-radius: 999px;
  margin-bottom: 22px; box-shadow: var(--shadow-sm);
}
.hero__badge::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--ok); box-shadow: 0 0 0 4px rgba(47, 122, 79, .16);
}
/* 2行で収まるサイズ。列幅より1行が長くならないよう vw で追従させる */
.hero__title {
  font-size: clamp(30px, 3.9vw, 44px); line-height: 1.55;
  color: var(--indigo-900); letter-spacing: .03em;
}
.hero__line { display: block; }
.hero__title .marker {
  background: linear-gradient(transparent 62%, rgba(232, 145, 47, .38) 62%);
}
.hero__text { margin-top: 24px; font-size: 17.5px; color: var(--ink-700); }
.hero__price {
  margin-top: 26px; display: inline-flex; align-items: baseline; gap: 10px;
  background: var(--white); border: 2px solid var(--indigo-100);
  border-radius: var(--radius); padding: 14px 24px; box-shadow: var(--shadow-sm);
}
.hero__price-label { font-size: 14px; color: var(--ink-500); }
.hero__price-num {
  font-family: var(--font-serif); font-size: 34px; font-weight: 700; color: var(--indigo-900);
}
.hero__price-unit { font-size: 15px; color: var(--ink-700); }
/* 金額に幅がある理由。「〜から」より正直に見せるための一文 */
.hero__price-why {
  margin-top: 12px; font-size: 14.5px; line-height: 1.8; color: var(--ink-700);
  max-width: 34em;
}
.hero__price-why strong { color: var(--indigo-900); }
.hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__note { margin-top: 18px; font-size: 14.5px; color: var(--ink-500); }

/* ヒーロー右：チェックリストカード */
.hero__card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(26px, 3.4vw, 38px);
  box-shadow: var(--shadow-lg);
}
.hero__card-title {
  font-size: 19px; color: var(--indigo-900); text-align: center;
  padding-bottom: 18px; border-bottom: 2px dashed var(--paper-200);
}
.checklist { margin-top: 20px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.checklist svg { width: 24px; height: 24px; flex: none; color: var(--ok); margin-top: 4px; }
.hero__card-foot {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--paper-200);
  font-size: 14px; color: var(--ink-500); text-align: center;
}

/* ---------- お悩み ---------- */
.worries { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.worry {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow-sm);
}
.worry__check {
  width: 30px; height: 30px; flex: none; border-radius: 8px;
  border: 2px solid var(--accent-500); color: var(--accent-600);
  display: grid; place-items: center; font-weight: 700; margin-top: 3px;
}
.worry__check svg { width: 18px; height: 18px; }
.worry p { font-size: 16.5px; }
.worry-answer {
  margin-top: 40px; text-align: center;
  font-family: var(--font-serif); font-size: clamp(19px, 3vw, 27px);
  color: var(--indigo-900); line-height: 1.8;
}
.worry-answer .marker {
  background: linear-gradient(transparent 62%, rgba(232, 145, 47, .38) 62%);
}

/* ---------- Before / After ---------- */
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; }

.mock { position: relative; }
.mock__label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em;
  padding: 6px 16px; border-radius: 999px; margin-bottom: 14px;
}
.mock--before .mock__label { background: #efe9e2; color: #7a6a58; }
.mock--after  .mock__label { background: var(--accent-100); color: var(--accent-600); }

.window {
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line); background: var(--white);
  box-shadow: var(--shadow-md);
}
.window__bar {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 12px; background: #e9e6e0; border-bottom: 1px solid var(--line);
}
.window__dot { width: 9px; height: 9px; border-radius: 50%; background: #c3bdb4; }
.window__url {
  margin-left: 8px; flex: 1; height: 17px; border-radius: 999px;
  background: #fff; font-size: 9px; color: #9d968c;
  display: flex; align-items: center; padding: 0 9px; letter-spacing: .04em;
}
.window__body { height: 268px; overflow: hidden; position: relative; }

/* --- Before の中身：昔ながらの詰まったページ --- */
.old {
  padding: 10px; font-family: "MS PGothic", var(--font-sans);
  font-size: 9.5px; line-height: 1.35; color: #000; background: #fff;
}
.old__head {
  background: #003399; color: #fff; text-align: center;
  padding: 6px; font-size: 11px; font-weight: 700; letter-spacing: .04em;
}
.old__marquee {
  background: #ffff99; border: 1px solid #cc0000; color: #cc0000;
  font-size: 9px; padding: 3px 6px; margin-top: 5px; text-align: center;
}
.old__cols { display: flex; gap: 6px; margin-top: 6px; }
.old__side { width: 74px; flex: none; border: 1px solid #999; padding: 4px; }
.old__side b { display: block; background: #ddd; padding: 2px; font-size: 8.5px; margin-bottom: 3px; }
.old__side a { display: block; color: #0000ee; text-decoration: underline; font-size: 8.5px; margin-bottom: 3px; }
.old__main { flex: 1; }
.old__table { width: 100%; border-collapse: collapse; font-size: 8.5px; }
.old__table td { border: 1px solid #999; padding: 3px; }
.old__row { display: flex; gap: 4px; margin-top: 5px; }
.old__img {
  width: 44px; height: 34px; flex: none;
  background: repeating-linear-gradient(45deg, #cfd6dd 0 5px, #dde3e9 5px 10px);
  border: 1px solid #999;
}
.old__txt { font-size: 8.5px; color: #222; }
.old__foot {
  margin-top: 6px; border-top: 1px solid #999; padding-top: 4px;
  font-size: 8px; color: #555; text-align: center;
}
.old__counter {
  display: inline-block; background: #000; color: #0f0;
  font-family: monospace; font-size: 8px; padding: 1px 5px; letter-spacing: .18em;
}

/* --- After の中身：今のつくり --- */
.new { background: var(--paper-50); height: 100%; }
.new__nav {
  display: flex; align-items: center; gap: 7px;
  padding: 9px 12px; background: #fff; border-bottom: 1px solid var(--line);
}
.new__logo { width: 17px; height: 17px; border-radius: 5px; background: var(--indigo-800); }
.new__logo-txt { width: 46px; height: 7px; border-radius: 3px; background: var(--indigo-900); }
.new__nav-items { margin-left: auto; display: flex; gap: 7px; }
.new__nav-items i { display: block; width: 24px; height: 5px; border-radius: 3px; background: #cdd5de; }
.new__nav-cta { width: 40px; height: 15px; border-radius: 999px; background: var(--accent-600); }
.new__hero {
  height: 108px; padding: 16px 14px;
  background: linear-gradient(120deg, rgba(20,38,60,.80), rgba(20,38,60,.35)),
              repeating-linear-gradient(115deg, #7fa15f 0 16px, #6d9051 16px 32px);
  display: flex; flex-direction: column; justify-content: center; gap: 7px;
}
.new__h1 { width: 74%; height: 13px; border-radius: 4px; background: rgba(255,255,255,.95); }
.new__h1--2 { width: 52%; height: 13px; border-radius: 4px; background: rgba(255,255,255,.95); }
.new__btn { margin-top: 4px; width: 74px; height: 18px; border-radius: 999px; background: var(--accent-500); }
.new__cards { display: flex; gap: 8px; padding: 12px; }
.new__card { flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 7px; padding: 7px; }
.new__thumb { height: 30px; border-radius: 4px; background: linear-gradient(140deg, #e6a860, #cf7a2c); }
.new__line { height: 5px; border-radius: 3px; background: #d8dde3; margin-top: 6px; }
.new__line--short { width: 60%; }

/* 中央の矢印 */
.compare__arrow {
  width: 62px; height: 62px; flex: none; border-radius: 50%;
  background: var(--accent-600); color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 24px rgba(212,118,26,.35);
}
.compare__arrow svg { width: 28px; height: 28px; }

.mock__points { margin-top: 16px; display: grid; gap: 8px; font-size: 14.5px; }
.mock__points li { display: flex; gap: 9px; align-items: flex-start; }
.mock__points li::before { content: "・"; color: var(--ink-500); }
.mock--after .mock__points li::before { content: "✓"; color: var(--ok); font-weight: 700; }

.compare-note {
  margin-top: 34px; text-align: center; font-size: 14.5px; color: var(--ink-500);
}

/* 実物のBefore/Afterを開かせる箱 */
.compare-live {
  margin-top: 42px; text-align: center;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 40px);
  box-shadow: var(--shadow-sm);
}
.compare-live__lead { font-size: 17.5px; color: var(--ink-900); }
.compare-live__actions {
  margin-top: 24px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
}
.compare-live__note { margin-top: 20px; font-size: 14.5px; color: var(--ink-500); }

@media (max-width: 560px) {
  .compare-live__actions .btn { width: 100%; }
}

/* ---------- デザインの雰囲気（縮小プレビュー） ---------- */
.styles { margin-top: clamp(52px, 8vw, 84px); }
.styles__head { text-align: center; margin-bottom: clamp(26px, 4vw, 42px); }
.styles__title { font-size: clamp(21px, 3.2vw, 30px); color: var(--indigo-900); letter-spacing: .04em; }
.styles__lead { margin-top: 14px; color: var(--ink-700); max-width: 42em; margin-inline: auto; }

.styles__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 28px); }

.style-card {
  margin: 0; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
}
.style-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* iframe を縮小して「画面写真」のように見せる箱 */
.style-preview {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  border-bottom: 1px solid var(--line);
}
/* iframe が表示できない環境でも、色だけで雰囲気が伝わるようにしておく */
.style-preview--standard { background: linear-gradient(160deg, #f4a03a, #2d613c); }
.style-preview--soft     { background: linear-gradient(160deg, #cfeaf5, #ffcf68); }
.style-preview--luxury   { background: linear-gradient(160deg, #2a2620, #a98a4e); }

.style-preview iframe {
  position: absolute; top: 0; left: 0;
  width: 1280px; height: 960px; border: 0;
  transform-origin: 0 0; transform: scale(.28);
  pointer-events: none;   /* クリックで飛ばない。あくまで見本 */
  background: #fff;
}

.style-card figcaption { padding: 20px 22px 24px; }
.style-card h4 { font-size: 19px; color: var(--indigo-900); }
.style-card p { margin-top: 10px; font-size: 15px; color: var(--ink-700); }

.styles__note {
  margin-top: 28px; text-align: center; font-size: 15px; color: var(--ink-700);
  background: var(--paper-100); border-radius: var(--radius); padding: 20px 24px;
}

@media (max-width: 900px) {
  .styles__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .styles__grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
}

/* ---------- サービス ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service__icon {
  width: 58px; height: 58px; border-radius: 15px; margin-bottom: 18px;
  background: var(--indigo-100); color: var(--indigo-800);
  display: grid; place-items: center;
}
.service__icon svg { width: 28px; height: 28px; }
.service__title { font-size: 20px; color: var(--indigo-900); }
.service__text { margin-top: 12px; font-size: 15.5px; color: var(--ink-700); }

/* ---------- 料金 ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.plan {
  position: relative; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 28px; box-shadow: var(--shadow-sm);
}
.plan--pick {
  border: 2px solid var(--accent-600); box-shadow: var(--shadow-md);
  transform: translateY(-8px);
}
.plan__ribbon {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  background: var(--accent-600); color: #fff;
  font-size: 13px; font-weight: 700; letter-spacing: .08em;
  padding: 6px 20px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 4px 12px rgba(212,118,26,.34);
}
.plan__name { font-size: 21px; color: var(--indigo-900); text-align: center; }
.plan__for { margin-top: 6px; font-size: 13.5px; color: var(--ink-500); text-align: center; }
.plan__price {
  margin-top: 18px; padding-block: 16px; text-align: center;
  border-top: 1px solid var(--paper-200); border-bottom: 1px solid var(--paper-200);
}
.plan__price b {
  font-family: var(--font-serif); font-size: 40px; color: var(--indigo-900); font-weight: 700;
}
.plan__price span { font-size: 15px; color: var(--ink-700); }
.plan__price small { display: block; font-size: 12.5px; color: var(--ink-500); margin-top: 2px; }
.plan__list { margin-top: 20px; display: grid; gap: 11px; font-size: 15.5px; }
.plan__list li { display: flex; gap: 10px; align-items: flex-start; }
.plan__list svg { width: 20px; height: 20px; flex: none; color: var(--ok); margin-top: 5px; }

.price-common {
  margin-top: 34px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 30px; box-shadow: var(--shadow-sm);
}
.price-common h3 { font-size: 18px; color: var(--indigo-900); margin-bottom: 14px; }
.price-common__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 26px; font-size: 15.5px; }
.price-common__grid li { display: flex; gap: 9px; }
.price-common__grid li::before { content: "✓"; color: var(--ok); font-weight: 700; flex: none; }
.price-option {
  margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--paper-200);
  font-size: 15px; color: var(--ink-700);
}


/* ---------- ① 相場マップ ----------
   3本の帯は 0〜150万円 という同じ物差しの上に置いています。
   帯の左端＝下限額、右端＝上限額。長さがそのまま価格幅です。
   イチのHPだけ緑にして、ほかは灰色に落としています。 */
.market {
  margin-top: 34px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; box-shadow: var(--shadow-sm);
}
.market__t { font-size: 19px; color: var(--indigo-900); }
.market__lead { margin-top: 8px; font-size: 15.5px; color: var(--ink-700); }

.mm { margin-top: 22px; }
.mm__row {
  display: grid; grid-template-columns: 132px 1fr; gap: 4px 18px;
  align-items: center;
  padding: 12px 0; border-top: 1px solid var(--paper-200);
}
.mm__row:first-child { border-top: 0; }
.mm__name { font-size: 15.5px; font-weight: 700; color: var(--ink-700); grid-row: 1 / 3; }
.mm__row--me .mm__name { color: var(--ok); }

.mm__track {
  position: relative; height: 22px; border-radius: 11px;
  background: var(--paper-100); box-shadow: inset 0 0 0 1px var(--paper-200);
}
.mm__bar {
  position: absolute; top: 0; height: 22px; border-radius: 11px;
  background: #b8bec7;
}
.mm__bar--me { background: var(--ok); }
.mm__badge {
  position: absolute; top: 50%; left: 22%; transform: translateY(-50%);
  margin-left: 10px; white-space: nowrap;
  background: var(--ok); color: #fff; font-size: 12px; font-weight: 700;
  padding: 3px 10px; border-radius: 999px;
}

.mm__val { grid-column: 2; font-size: 15px; color: var(--ink-900); }
.mm__val span { color: var(--ink-500); font-size: 14px; margin-left: 6px; }
.mm__row--me .mm__val { font-weight: 700; }
.mm__memo { grid-column: 2; font-size: 13.5px; color: var(--ink-500); }
.mm__scale {
  display: flex; justify-content: space-between;
  margin-left: 150px; margin-top: 6px;
  font-size: 12.5px; color: var(--ink-500);
}

.market__why {
  margin-top: 20px; padding: 16px 18px;
  background: #eef5f0; border-left: 5px solid var(--ok); border-radius: 0 8px 8px 0;
  font-size: 15.5px; line-height: 1.85;
}
.market__why b { color: var(--ok); }
.market__why p + p { margin-top: 6px; }
.market__note { margin-top: 12px; font-size: 13.5px; color: var(--ink-500); }

/* ---------- ② よくある料金方式との違い ---------- */
.vs {
  margin-top: 22px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; box-shadow: var(--shadow-sm);
}
.vs__t { font-size: 19px; color: var(--warn); }
.vs__lead { margin-top: 8px; font-size: 15.5px; color: var(--ink-700); }

.vs__tbl { width: 100%; margin-top: 20px; border-collapse: collapse; font-size: 15px; }
.vs__tbl th, .vs__tbl td {
  padding: 12px 14px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--paper-200);
}
.vs__tbl thead th {
  font-size: 14.5px; color: var(--ink-700);
  border-bottom: 2px solid var(--line); background: var(--paper-50);
}
.vs__tbl tbody th { font-weight: 700; color: var(--ink-900); width: 30%; }
.vs__tbl td { color: var(--ink-700); }
/* イチのHPの列だけ薄い緑にして目を留めます */
.vs__tbl .vs__me { background: #eef5f0; }
.vs__tbl thead .vs__me { color: var(--ok); font-weight: 700; }
.vs__tbl tbody .vs__me { color: var(--ink-900); }
.vs__tbl tbody .vs__me b { color: var(--ok); }
/* 表の結論行。同じ言葉を締めでも使うので、ここでも一段強くします */
.vs__tbl tr:last-child .vs__me b { font-size: 16px; }

/* 締めの一文。表の結論なので、ここだけ文字を大きくして視線を止めます */
.vs__close {
  margin-top: 20px; padding: 20px 22px;
  background: #eef5f0; border-left: 6px solid var(--ok); border-radius: 0 10px 10px 0;
}
.vs__close-big {
  font-family: var(--font-serif);
  font-size: clamp(21px, 3.4vw, 27px); font-weight: 700; line-height: 1.5;
  color: var(--ok); letter-spacing: .01em;
}
.vs__close-sub {
  margin-top: 10px; font-size: 15px; color: var(--ink-700); line-height: 1.85;
}
.vs__br { display: none; }
.vs__note { margin-top: 12px; font-size: 13.5px; color: var(--ink-500); line-height: 1.8; }

/* ---------- スマホ ---------- */
@media (max-width: 760px) {
  .market, .vs { padding: 20px 18px; }

  /* 名前を帯の上に置いて、1件ずつ縦に積みます */
  .mm__row { grid-template-columns: 1fr; gap: 6px; }
  .mm__name { grid-row: auto; }
  .mm__val, .mm__memo { grid-column: 1; }
  .mm__scale { margin-left: 0; }

  /* 表は横スクロールさせず、1行を1枚のカードにします */
  .vs__tbl, .vs__tbl tbody, .vs__tbl tr, .vs__tbl th, .vs__tbl td { display: block; width: auto; }
  .vs__tbl thead { display: none; }
  .vs__tbl tr {
    border: 1px solid var(--line); border-radius: 10px;
    margin-bottom: 12px; overflow: hidden;
  }
  .vs__tbl tbody th {
    width: auto; background: var(--paper-100); border-bottom: 1px solid var(--line);
    font-size: 15.5px;
  }
  .vs__tbl td { border-bottom: 1px solid var(--paper-200); padding: 10px 14px 12px; }
  .vs__tbl tr td:last-child { border-bottom: 0; }
  .vs__tbl td::before {
    content: attr(data-l); display: block;
    font-size: 12.5px; color: var(--ink-500); margin-bottom: 2px;
  }
  .vs__tbl td.vs__me::before { color: var(--ok); font-weight: 700; }
  .vs__close { padding: 18px; }
  .vs__br { display: inline; }
}
/* ---------- 公開後のサポート（任意） ----------
   3つのプランより下の階層に見せるための作りです。
   影を付けず、余白と文字を一段小さくして、地の紙に近い色にしています。
   ここが目立つと「押し売り」に見えるため、意図的に控えめにしています。 */
.support {
  margin-top: 22px; background: var(--paper-50);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 26px;
}
.support__head {
  display: flex; flex-wrap: wrap; align-items: baseline;
  justify-content: space-between; gap: 6px 18px;
  padding-bottom: 12px; border-bottom: 1px dashed var(--paper-200);
}
.support__title { font-size: 17px; color: var(--indigo-900); }
.support__opt { font-size: 14px; font-weight: 400; color: var(--ink-500); }
.support__price { color: var(--ink-900); white-space: nowrap; }
.support__price b { font-size: 24px; letter-spacing: .01em; }
.support__price span { font-size: 15px; }
.support__price small { font-size: 13px; color: var(--ink-500); margin-left: 6px; }

.support__list {
  margin-top: 14px; display: grid; gap: 8px 24px;
  grid-template-columns: repeat(3, 1fr); font-size: 15.5px; color: var(--ink-700);
}
.support__list li { display: flex; gap: 8px; }
.support__list li::before { content: "・"; flex: none; color: var(--ink-500); }

.support__unlimited {
  margin-top: 12px; font-size: 15.5px; color: var(--ink-700);
}
.support__unlimited b { color: var(--accent-600); font-weight: 700; }
.support__quit { margin-top: 16px; font-size: 15.5px; }
.support__quit b { color: var(--indigo-900); }
.support__note { margin-top: 8px; font-size: 15px; color: var(--ink-700); }

@media (max-width: 720px) {
  .support { padding: 20px 18px; }
  .support__list { grid-template-columns: 1fr; gap: 8px; }
}

/* ---------- 進め方 ---------- */
/* 進め方の全体像を先に見せる動画。下の5ステップと同じ内容なので、
   動画が再生できない環境でも情報は欠けない（＝補助的な要素）。 */
.flow-video {
  max-width: 820px; margin: 0 auto clamp(32px, 5vw, 52px);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--paper-50); line-height: 0;
}
.flow-video video { display: block; width: 100%; height: auto; }
.flow-video__cap {
  line-height: 1.6; padding: 12px 18px; text-align: center;
  font-size: 14px; color: var(--ink-500);
  border-top: 1px solid var(--line); background: var(--white);
}
@media (max-width: 640px) { .flow-video { border-radius: var(--radius); } }

.flow { display: grid; gap: 0; counter-reset: step; max-width: 820px; margin-inline: auto; }
.step {
  position: relative; counter-increment: step;
  display: grid; grid-template-columns: 74px 1fr; gap: 24px;
  padding-bottom: 34px;
}
.step:last-child { padding-bottom: 0; }
.step::before {
  content: counter(step);
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--indigo-800); color: #fff;
  font-family: var(--font-serif); font-size: 25px;
  display: grid; place-items: center; z-index: 1;
}
.step::after {
  content: ""; position: absolute; left: 28px; top: 58px; bottom: -4px;
  width: 2px; background: var(--indigo-100);
}
.step:last-child::after { display: none; }
.step__title {
  font-size: 21px; color: var(--indigo-900);
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px;
}
.step__when {
  font-family: var(--font-sans); font-size: 12.5px; font-weight: 700;
  background: var(--paper-100); color: var(--ink-700);
  padding: 4px 12px; border-radius: 999px; letter-spacing: .04em;
}
.step__text { margin-top: 10px; color: var(--ink-700); font-size: 16px; }
.step__who {
  margin-top: 10px; display: inline-block; font-size: 13.5px;
  color: var(--ok); background: #eaf4ee; padding: 4px 14px; border-radius: 999px;
}

/* ---------- 安心 ---------- */
.safe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.safe__item {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius); padding: 30px 26px;
}
.safe__num {
  font-family: var(--font-serif); font-size: 15px; color: var(--accent-500);
  letter-spacing: .2em; margin-bottom: 10px;
}
.safe__title { font-size: 20px; color: #fff; }
.safe__text { margin-top: 12px; font-size: 15.5px; color: rgba(255,255,255,.8); }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; margin-inline: auto; }
.faq-item {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq-item + .faq-item { margin-top: 14px; }
.faq-item > summary {
  cursor: pointer; list-style: none;
  padding: 22px 26px; font-size: 17.5px; font-weight: 700; color: var(--indigo-900);
  display: flex; align-items: flex-start; gap: 14px; transition: background .2s;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary:hover { background: var(--paper-100); }
.faq-item > summary::before {
  content: "Q"; flex: none;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--indigo-800); color: #fff;
  font-family: var(--font-serif); font-size: 16px;
  display: grid; place-items: center;
}
.faq-item > summary::after {
  content: ""; margin-left: auto; flex: none; margin-top: 8px;
  width: 11px; height: 11px;
  border-right: 2px solid var(--accent-600); border-bottom: 2px solid var(--accent-600);
  transform: rotate(45deg); transition: transform .25s;
}
.faq-item[open] > summary::after { transform: rotate(-135deg); }
.faq-item[open] > summary { background: var(--paper-100); }
.faq__body {
  padding: 4px 26px 26px 70px; font-size: 16px; color: var(--ink-700);
}
.faq__body p + p { margin-top: 12px; }

/* ---------- お問い合わせ ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 50px); align-items: start; }

.contact-card {
  background: var(--white); border: 2px solid var(--indigo-800);
  border-radius: var(--radius-lg); padding: 34px 30px; text-align: center;
  box-shadow: var(--shadow-md);
}
.contact-card__label { font-size: 15px; color: var(--ink-700); }
.contact-card__value {
  margin-top: 12px; display: inline-flex; align-items: center; gap: 12px;
  font-size: clamp(19px, 2.8vw, 26px); font-weight: 700; letter-spacing: 0;
  color: var(--indigo-900); text-decoration: none; word-break: break-all;
}
.contact-card__value svg { width: 28px; height: 28px; flex: none; color: var(--accent-600); }
.contact-card__note { margin-top: 10px; font-size: 14.5px; color: var(--ink-500); }
.contact-card__push {
  margin-top: 20px; padding: 16px; border-radius: var(--radius);
  background: var(--paper-100); font-size: 15px; color: var(--ink-700); text-align: left;
}
/* LINEのご相談導線。緑はLINEのブランド色なので、サイトのCTA色（橙）とは
   別扱いにしている。「LINEのボタンだ」と一目で分かることを優先。 */
.contact-card__line { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.contact-card__line-label { font-size: 15px; color: var(--ink-700); }
.btn-line {
  margin-top: 12px; width: 100%;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 24px; border-radius: 100px;
  background: #06c755; color: #fff;
  font-size: clamp(17px, 2.2vw, 19px); font-weight: 700; text-decoration: none;
  transition: filter .2s ease;
}
.btn-line svg { width: 26px; height: 26px; flex: none; }
.btn-line:hover, .btn-line:focus-visible { filter: brightness(.92); }
.contact-card__line-note { margin-top: 10px; font-size: 14.5px; color: var(--ink-500); }

.form { display: grid; gap: 20px; }
.form__row { display: grid; gap: 8px; }
.form__label { font-size: 15.5px; font-weight: 700; color: var(--indigo-900); display: flex; align-items: center; gap: 10px; }
.form__req { font-size: 11px; font-weight: 700; background: var(--accent-600); color: #fff; padding: 3px 9px; border-radius: 4px; }
.form__opt { font-size: 11px; font-weight: 700; background: var(--paper-200); color: var(--ink-700); padding: 3px 9px; border-radius: 4px; }
.form input, .form select, .form textarea {
  width: 100%; font-family: inherit; font-size: 16px; color: var(--ink-900);
  padding: 15px 16px; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--white); transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--indigo-700);
  box-shadow: 0 0 0 4px rgba(39, 72, 102, .14);
}
.form textarea { min-height: 140px; resize: vertical; line-height: 1.8; }
.form__hint { font-size: 13.5px; color: var(--ink-500); }
.form__error { font-size: 14px; color: #b3341f; font-weight: 700; display: none; }
.form__row.is-error input, .form__row.is-error textarea { border-color: #b3341f; }
.form__row.is-error .form__error { display: block; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; }
.form__privacy { background: var(--paper-100); border-radius: var(--radius); padding: 16px 18px; font-size: 14px; color: var(--ink-700); }

/* ---------- フッター ---------- */
.footer { background: var(--indigo-900); color: rgba(255,255,255,.75); padding-top: clamp(44px, 6vw, 66px); font-size: 15px; }
.footer a { color: rgba(255,255,255,.75); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; padding-bottom: 36px; }
.footer__name { font-family: var(--font-serif); font-size: 22px; color: #fff; letter-spacing: .06em; }
.footer__desc { margin-top: 14px; line-height: 1.9; font-size: 14.5px; }
.footer__heading { font-family: var(--font-sans); font-size: 12px; font-weight: 700; letter-spacing: .18em; color: var(--accent-500); margin-bottom: 14px; }
.footer__list { display: grid; gap: 10px; font-size: 14.5px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.14); padding-block: 20px;
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
  font-size: 12.5px; color: rgba(255,255,255,.55);
}

/* ---------- スマホ固定バー ---------- */
.mobile-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: rgba(252, 251, 248, .97); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(30,34,41,.12);
  padding: 9px 10px calc(9px + env(safe-area-inset-bottom)); gap: 9px;
}
.mobile-bar a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 15px 6px; border-radius: 12px;
  font-size: 14px; font-weight: 700; white-space: nowrap; text-decoration: none;
}
.mobile-bar svg { width: 17px; height: 17px; flex: none; }
.mobile-bar__mail { background: var(--indigo-800); color: #fff; }
.mobile-bar__cta { background: var(--accent-600); color: #fff; }

/* ---------- スクロール表示 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 1080px) {
  .nav a { padding: 8px 10px; font-size: 14px; }
  .header__cta { padding: 11px 16px; font-size: 13.5px; }
  .header__mail-addr { font-size: 14px; }
  .services, .plans, .safe { grid-template-columns: 1fr; }
  .plan--pick { transform: none; }
  .plans { max-width: 620px; margin-inline: auto; }
  .safe { max-width: 620px; margin-inline: auto; }
  .services { max-width: 620px; margin-inline: auto; }
}

@media (max-width: 940px) {
  .hero__inner { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; gap: 30px; }
  .compare__arrow { transform: rotate(90deg); margin-inline: auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }

  .hamburger { display: block; }
  .header__cta, .header__mail { display: none; }

  /* スマホは1カラムなので、行が長くなりすぎないよう別サイズにする */
  .hero__title { font-size: clamp(25px, 6.4vw, 44px); }

  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper-50); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md); padding: 6px 16px 20px;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .22s, transform .22s, visibility .22s;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 16px 12px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .nav__only-sp { display: block; }

  .mobile-bar { display: flex; }
  body { padding-bottom: 80px; }
}

@media (max-width: 720px) {
  .worries { grid-template-columns: 1fr; }
  .price-common__grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container, .container--narrow { width: min(100% - 32px, var(--container)); }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .hero__actions .btn { width: 100%; }
  .step { grid-template-columns: 48px 1fr; gap: 16px; }
  .step::before { width: 44px; height: 44px; font-size: 20px; }
  .step::after { left: 21px; top: 44px; }
  .faq__body { padding-left: 26px; }
  .faq-item > summary { padding: 18px 20px; font-size: 16.5px; }
  .window__body { height: 220px; }
}

@media print {
  .header, .mobile-bar, .hero::before, .hero::after, .hero__inner::before { display: none !important; }
  body { background: #fff; padding: 0; }
  .faq__body { display: block !important; }
}
