/* かもめ税理士事務所（制作例）。demo_src/base.css と demo_src/themes/kamome.css から書き出し */
/* ===== 全デモ共通の部品（デモ9以降）。色や形は各デモの themes/○○.css の :root で決める ===== */
:root {
  --main: #333; --main-dark: #222; --on-main: #fff;
  --accent: #888; --accent-dark: #666; --on-accent: #fff;
  --pale: #f6f6f6; --pale2: #fbfbfb;
  --bg: #fff; --paper: #fff; --ink: #2a2a2a; --muted: #666; --line: #e3e3e3;
  --radius: 14px; --btn-radius: 999px;
  --head: "Noto Sans JP", sans-serif; --head-weight: 700;
  --sans: "Noto Sans JP", "Yu Gothic", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.9; letter-spacing: .03em; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: var(--head-weight); line-height: 1.5; margin: 0; letter-spacing: .05em; }
p { margin: 0 0 1em; }
figure { margin: 0; }
.nw { white-space: nowrap; display: inline-block; }
@media (min-width: 820px) { .sp, .sp-only { display: none !important; } }
.kakuu { display: inline-block; font-size: 11px; color: var(--muted); border: 1px dashed currentColor; border-radius: 6px; padding: 0 6px; margin-left: 4px; vertical-align: 2px; font-weight: 400; letter-spacing: 0; }

/* 制作例の帯 */
.demo-band { background: #2a2a2a; color: #fff; font-size: 12px; line-height: 1.6; letter-spacing: .02em; text-align: center; padding: 8px 16px; }
.demo-band a { color: #F3DDA8; margin-left: .5em; white-space: nowrap; }

/* ヘッダー */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; max-width: 1180px; margin: 0 auto; padding: 10px 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.logo__mark { flex: none; }
.logo__text { font-family: var(--head); font-weight: var(--head-weight); font-size: 18px; line-height: 1.25; white-space: nowrap; }
.logo__text small { display: block; font-family: var(--sans); font-weight: 400; font-size: 10px; letter-spacing: .08em; color: var(--muted); }
@media (max-width: 420px) { .logo__text { font-size: 16px; letter-spacing: .02em; } }
.nav-toggle { border: 1px solid var(--main); background: #fff; color: var(--main); white-space: nowrap; flex: none; font: inherit; font-size: 13px; padding: 5px 12px; border-radius: var(--btn-radius); cursor: pointer; }
.site-nav { display: none; }
.site-nav.is-open { display: block; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); max-height: calc(100svh - 120px); overflow-y: auto; box-shadow: 0 14px 20px -16px rgba(0, 0, 0, .3); }
.site-nav ul { list-style: none; margin: 0; padding: 4px 16px 14px; }
.site-nav a { display: block; padding: 12px 4px; text-decoration: none; border-bottom: 1px solid var(--line); font-weight: 500; }
.site-nav a[aria-current="page"], .site-nav a.is-parent { color: var(--main); }
.nav-cta { display: none; }
@media (min-width: 1040px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.is-open { display: block; position: static; background: none; border: 0; max-height: none; box-shadow: none; }
  .site-nav ul { display: flex; gap: 22px; padding: 0; }
  .site-nav a { border: 0; padding: 4px 0; font-size: 14px; }
  .site-nav a[aria-current="page"], .site-nav a.is-parent, .site-nav a:hover { color: var(--main); box-shadow: 0 2px 0 var(--main); }
  .site-nav .nav-hide-pc { display: none; }
  .nav-cta { display: inline-flex; align-items: center; padding: 9px 20px; border-radius: var(--btn-radius); background: var(--accent); color: var(--on-accent); text-decoration: none; font-weight: 700; font-size: 14px; white-space: nowrap; }
  .nav-cta:hover { background: var(--accent-dark); }
}

/* ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 12px 28px; white-space: nowrap; border-radius: var(--btn-radius); border: 2px solid var(--main); background: var(--main); color: var(--on-main); font: inherit; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--main-dark); border-color: var(--main-dark); }
.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn--accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn--line { background: #fff; color: var(--main); }
.btn--line:hover { background: var(--pale); color: var(--main-dark); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-row--center { justify-content: center; }
.btn-row .btn { flex: 1 1 200px; }
@media (min-width: 820px) { .btn-row .btn { flex: 0 0 auto; } }

/* 共通のかたまり */
.section { padding: 72px 16px; }
.section--pale { background: var(--pale); }
.section--main { background: var(--main); color: var(--on-main); }
@media (min-width: 820px) { .section { padding: 100px 24px; } }
.container { max-width: 1060px; margin: 0 auto; }
.container--narrow { max-width: 780px; margin: 0 auto; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title span { display: block; font-size: 13px; font-weight: 700; letter-spacing: .15em; color: var(--accent-dark); margin-bottom: 6px; }
.section-title h2 { font-size: 25px; }
@media (min-width: 820px) { .section-title h2 { font-size: 30px; } }
@media (max-width: 819px) { .section-title h2, .page-head h1 { letter-spacing: .02em; } }
.section-title p { color: var(--muted); margin: 12px auto 0; max-width: 600px; }
.section--main .section-title span { color: var(--on-main); opacity: .8; }
.section--main .section-title p { color: var(--on-main); opacity: .85; }
.note { font-size: 13px; color: var(--muted); }
.lead { max-width: 660px; margin: 0 auto; text-align: center; }
.lead p { line-height: 2.2; }
@media (max-width: 819px) { .lead { text-align: left; } .lead p br { display: none; } }

/* カードの並び */
.cards { display: grid; gap: 18px; }
@media (min-width: 820px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 22px; } .cards--2 { grid-template-columns: repeat(2, 1fr); } .cards--4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
.card__num { display: inline-grid; place-items: center; min-width: 46px; height: 46px; padding: 0 10px; border-radius: 999px; background: var(--main); color: var(--on-main); font-family: var(--head); font-weight: 700; font-size: 16px; margin-bottom: 12px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { margin: 0; font-size: 15px; }
.card__label { display: inline-block; font-size: 12px; font-weight: 700; color: var(--main-dark); background: var(--pale); border-radius: 999px; padding: 1px 12px; margin-bottom: 6px; }
.card__img { margin: -24px -22px 16px; }
.card__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
a.card { display: block; text-decoration: none; transition: transform .2s, box-shadow .2s; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 16px 28px -22px rgba(0, 0, 0, .5); }
.card__more { display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--main); }
.card__more::after { content: " →"; }

/* 写真と文 */
.media { display: grid; gap: 26px; align-items: center; }
@media (min-width: 820px) { .media { grid-template-columns: 1fr 1fr; gap: 54px; } .media--reverse .media__img { order: 2; } }
.media__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.media__label { display: block; font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--accent-dark); margin-bottom: 4px; }
.media h2 { font-size: 23px; margin-bottom: 14px; }
.checks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.checks li { position: relative; padding: 10px 14px 10px 42px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; }
.checks li::before { content: ""; position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: var(--main); }
.checks li::after { content: ""; position: absolute; left: 19px; top: 50%; width: 8px; height: 4px; margin-top: -4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }

/* 料金表 */
.price-table { width: 100%; border-collapse: collapse; background: var(--paper); font-size: 15px; border-radius: var(--radius); overflow: hidden; }
.price-table th, .price-table td { padding: 15px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.price-table thead th { background: var(--main); color: var(--on-main); font-size: 14px; }
.price-table tbody th { white-space: nowrap; }
.price-table td.yen { font-family: var(--head); font-weight: 700; white-space: nowrap; text-align: right; }
.price-table small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
@media (max-width: 819px) {
  .price-table thead { display: none; }
  .price-table tr { display: grid; grid-template-columns: 1fr auto; padding: 14px 12px; border-bottom: 1px solid var(--line); }
  .price-table th, .price-table td { padding: 2px 0; border: 0; }
  .price-table td.yen { grid-row: 1; grid-column: 2; }
  .price-table td.sub { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
}

/* 数字で見る */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 820px) { .stats { grid-template-columns: repeat(3, 1fr); gap: 18px; } .stats--4 { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 12px 16px; text-align: center; }
.stat__label { font-size: 13px; font-weight: 700; color: var(--muted); margin: 0; }
.stat__num { font-family: var(--head); font-weight: 800; font-size: 38px; line-height: 1.2; color: var(--main); margin: 4px 0; }
.stat__num small { font-size: 15px; margin-left: 2px; }
.stat p { font-size: 12px; color: var(--muted); margin: 0; }

/* 流れ */
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: f; }
@media (min-width: 900px) { .flow { grid-template-columns: repeat(var(--flow-cols, 4), 1fr); gap: 16px; } }
.flow li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px; }
.flow li::before { counter-increment: f; content: counter(f); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 700; margin-bottom: 8px; }
.flow h3 { font-size: 17px; margin-bottom: 4px; }
.flow p { margin: 0; font-size: 14px; color: var(--muted); }

/* 年表・1日の流れ */
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; }
.timeline li { display: grid; grid-template-columns: 82px 1fr; gap: 0 20px; padding: 0 0 22px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 92px; top: 12px; bottom: -4px; border-left: 2px solid var(--line); }
.timeline li:last-child::before { display: none; }
.timeline time { font-family: var(--head); font-weight: 700; color: var(--main); text-align: right; }
.timeline div { position: relative; padding-left: 14px; }
.timeline div::before { content: ""; position: absolute; left: -15px; top: 10px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.timeline h3 { font-size: 17px; margin-bottom: 2px; }
.timeline p { margin: 0; font-size: 14px; color: var(--muted); }

/* 人の紹介・社員の声 */
.people { display: grid; gap: 18px; }
@media (min-width: 820px) { .people { grid-template-columns: repeat(var(--people-cols, 3), 1fr); gap: 22px; } }
.person { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; border-top: 4px solid var(--main); }
.person__role { display: inline-block; font-size: 12px; font-weight: 700; color: var(--main-dark); background: var(--pale); border-radius: 999px; padding: 1px 12px; margin-bottom: 6px; }
.person h3 { font-size: 18px; }
.person__meta { font-size: 13px; color: var(--muted); margin: 0 0 10px; }
.person p { margin: 0; font-size: 15px; }
.quote-mark { font-family: var(--head); font-size: 34px; line-height: 1; color: var(--accent); display: block; }

/* 表 */
.info-table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--paper); }
.info-table th, .info-table td { padding: 13px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.info-table th { width: 7.5em; font-weight: 700; white-space: nowrap; font-size: 14px; color: var(--main-dark); }
.info-table td .note { display: block; }
@media (max-width: 819px) { .info-table { font-size: 14px; } .info-table th { width: 5.6em; white-space: normal; } }
.two { display: grid; gap: 28px; align-items: start; }
@media (min-width: 820px) { .two { grid-template-columns: 1fr 1fr; gap: 48px; } }
.map-box { display: grid; place-items: center; aspect-ratio: 4 / 3; width: 100%; border-radius: var(--radius); border: 1px dashed #b9b9b9; background: repeating-linear-gradient(45deg, #f6f6f3, #f6f6f3 12px, #eeeeea 12px, #eeeeea 24px); color: var(--muted); text-align: center; padding: 16px; }
.photo-under img { margin-top: 16px; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.legal { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px; font-size: 14px; }
.legal h3 { font-size: 16px; margin-bottom: 8px; }
.legal dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; }
.legal dt { font-weight: 700; color: var(--main-dark); }
.legal dd { margin: 0; }

/* よくある質問 */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 16px 46px 16px 54px; position: relative; font-weight: 700; font-family: var(--head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "問"; position: absolute; left: 14px; top: 14px; width: 28px; height: 28px; border-radius: 50%; background: var(--main); color: var(--on-main); display: grid; place-items: center; font-size: 13px; }
.faq summary::after { content: "＋"; position: absolute; right: 18px; top: 15px; color: var(--main); }
.faq details[open] summary::after { content: "−"; }
.faq__a { padding: 0 20px 18px 54px; }

/* フォーム（送信されない見本） */
.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 18px; max-width: 780px; margin: 0 auto; }
@media (min-width: 820px) { .form { padding: 40px 44px; } }
.form h3 { font-size: 20px; margin-bottom: 14px; }
.form__row { margin-bottom: 18px; }
.form__row label, .form legend { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.form__req { font-size: 11px; color: #fff; background: var(--accent-dark); border-radius: 4px; padding: 1px 6px; margin-left: 6px; vertical-align: 2px; }
.form input[type="text"], .form input[type="tel"], .form input[type="email"], .form select, .form textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #cfcfcf; border-radius: 10px; background: #fcfcfc; }
.form textarea { min-height: 110px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--main); outline-offset: 1px; background: #fff; }
.form fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.form__checks { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.form__check { display: flex; gap: 8px; align-items: center; font-weight: 500; font-size: 15px; }
.form__check input { width: 20px; height: 20px; accent-color: var(--main); }
.form__note { font-size: 13px; color: var(--muted); margin-top: 10px; text-align: center; }
.forms { display: grid; gap: 24px; }
@media (min-width: 960px) { .forms { grid-template-columns: 1fr 1fr; } .forms .form { margin: 0; } }

/* 予約・問い合わせの帯 */
.cta { text-align: center; background: var(--main); color: var(--on-main); border-radius: calc(var(--radius) + 8px); padding: 40px 20px; }
.cta h2 { font-size: 24px; margin-bottom: 8px; }
@media (max-width: 819px) { .cta h2 { font-size: 21px; letter-spacing: .02em; } }
.cta p { opacity: .9; margin-bottom: 18px; }
.cta__tel { font-family: var(--head); font-weight: 700; font-size: 26px; opacity: 1 !important; margin-bottom: 4px !important; letter-spacing: .06em; }
.cta__btns { display: grid; gap: 12px; max-width: 760px; margin: 0 auto; }
@media (min-width: 720px) { .cta__btns { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.cta .btn--line { border-color: #fff; }
.cta .btn span { line-height: 1.35; }
.cta .btn small { display: block; font-size: 11px; font-weight: 500; opacity: .85; }

/* 下層ページの見出し */
.page-head { background: var(--pale); padding: 18px 16px 46px; }
.page-head__inner { max-width: 1060px; margin: 0 auto; }
.crumb { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 22px; font-size: 12px; color: var(--muted); }
.crumb li + li::before { content: "›"; margin-right: 6px; }
.crumb a { color: var(--main); }
.page-head span { display: block; font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--accent-dark); }
.page-head h1 { font-size: 26px; }
.page-head p { color: var(--muted); margin: 8px 0 0; max-width: 36em; }
@media (min-width: 820px) { .page-head { padding: 22px 24px 66px; } .page-head h1 { font-size: 34px; } }

/* 口コミの入口（エンレビューの見本） */
.review__inner { display: grid; gap: 44px; max-width: 920px; margin: 0 auto; align-items: center; }
@media (min-width: 820px) { .review__inner { grid-template-columns: 290px 1fr; gap: 64px; } }
.pop-stand { margin: 0 auto; width: 100%; max-width: 250px; text-align: center; }
.pop { background: #fff; border-radius: var(--radius); overflow: hidden; text-align: center; box-shadow: 0 20px 32px -22px rgba(0, 0, 0, .55), 0 0 0 1px var(--line); }
.pop__head { background: var(--main); color: var(--on-main); padding: 14px 14px 12px; font-family: var(--head); font-weight: 700; }
.pop__head small { display: block; font-size: 11px; font-weight: 500; letter-spacing: .1em; opacity: .9; }
.pop__head p { margin: 2px 0 0; font-size: 16px; line-height: 1.5; }
.pop__body { padding: 16px 14px; }
.pop__qr { display: block; width: 132px; height: 132px; margin: 0 auto 10px; }
.pop__small { font-size: 12px; line-height: 1.7; color: var(--muted); margin: 0; }
.pop-stand__base { height: 10px; width: 64%; margin: 0 auto; border-radius: 0 0 8px 8px; background: var(--line); }
.pop-stand figcaption { font-size: 12px; color: var(--muted); margin-top: 16px; }
.review__text > p { margin-bottom: 22px; }
.steps { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; }
.steps li { display: flex; gap: 14px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.steps__num { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--pale); color: var(--main-dark); display: grid; place-items: center; font-weight: 700; }
.steps b { display: block; font-family: var(--head); font-size: 16px; line-height: 1.5; }
.steps small { display: block; font-size: 13px; color: var(--muted); line-height: 1.5; }
.btn--review { width: 100%; max-width: 360px; }
.demo-note { font-size: 12px; color: var(--muted); border-left: 3px solid var(--accent); padding: 4px 0 4px 10px; margin-top: 16px; }
.rv-dialog { width: min(540px, calc(100% - 24px)); max-height: calc(100svh - 24px); border: 0; padding: 0; border-radius: var(--radius); background: #fff; color: var(--ink); }
.rv-dialog::backdrop { background: rgba(20, 20, 20, .55); }
.rv-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; background: var(--main); color: var(--on-main); position: sticky; top: 0; }
.rv-head strong { font-family: var(--head); }
.rv-close { border: 0; background: none; font-size: 24px; line-height: 1; cursor: pointer; color: inherit; padding: 4px 8px; }
.rv-body { padding: 20px 18px 24px; }
.rv-progress { font-size: 12px; font-weight: 700; color: var(--main); margin-bottom: 6px; }
.rv-bar { height: 6px; background: var(--pale); border-radius: 6px; margin-bottom: 18px; overflow: hidden; }
.rv-bar span { display: block; height: 100%; background: var(--main); transition: width .2s; }
.rv-q { font-family: var(--head); font-weight: 700; font-size: 19px; margin-bottom: 16px; }
.rv-choices { display: grid; gap: 10px; }
.rv-choice { min-height: 52px; padding: 10px 16px; text-align: left; border: 1px solid #cfcfcf; background: #fff; border-radius: 12px; font: inherit; font-size: 15px; cursor: pointer; color: var(--ink); }
.rv-choice:hover, .rv-choice:focus-visible { border-color: var(--main); background: var(--pale); }
.rv-text { width: 100%; min-height: 110px; padding: 10px 12px; font: inherit; font-size: 16px; border: 1px solid #cfcfcf; border-radius: 12px; }
.rv-nav { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 18px; }
.rv-back { border: 0; background: none; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; text-decoration: underline; }
.rv-draft-label { display: inline-block; background: var(--accent-dark); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; margin-bottom: 8px; }
.rv-draft { width: 100%; min-height: 170px; padding: 12px; font: inherit; font-size: 15px; line-height: 1.8; border: 2px solid var(--main); border-radius: 12px; }

/* フッター */
.site-footer { background: var(--main-dark); color: rgba(255, 255, 255, .88); padding: 56px 16px 28px; font-size: 14px; }
.site-footer__inner { max-width: 1060px; margin: 0 auto; display: grid; gap: 30px; }
@media (min-width: 820px) { .site-footer__inner { grid-template-columns: 1.2fr 1fr; } }
.site-footer .logo__text { color: #fff; }
.site-footer .logo__text small { color: rgba(255, 255, 255, .7); }
.site-footer__info { margin-top: 16px; line-height: 2; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.site-footer ul a { text-decoration: none; }
.site-footer ul a:hover { text-decoration: underline; }
.site-footer a { color: rgba(255, 255, 255, .9); }
.footer-tel { display: inline-block; margin-top: 6px; color: #fff !important; font-family: var(--head); font-weight: 700; font-size: 21px; text-decoration: none; }
.copyright { text-align: center; font-size: 12px; color: rgba(255, 255, 255, .6); margin: 40px 0 0; }

/* スマホの下に固定するボタン */
.bottom-bar { display: none; }
@media (max-width: 819px) {
  body { padding-bottom: 64px; }
  .bottom-bar { display: grid; grid-template-columns: 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 16px -12px rgba(0, 0, 0, .3); }
  .bottom-bar--3 { grid-template-columns: repeat(3, 1fr); }
  .bottom-bar a { display: grid; place-items: center; height: 60px; text-decoration: none; font-weight: 700; font-size: 14px; color: var(--main-dark); line-height: 1.3; text-align: center; }
  .bottom-bar a + a { border-left: 1px solid var(--line); }
  .bottom-bar a:last-child { background: var(--accent); color: var(--on-accent); border-left: 0; }
  .bottom-bar small { display: block; font-size: 10px; font-weight: 500; opacity: .85; }
}

/* 上に戻るボタン */
.to-top { position: fixed; right: 16px; bottom: 24px; z-index: 40; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; align-content: center; background: var(--main); color: var(--on-main); border: 0; cursor: pointer; line-height: 1; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .45); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s, visibility .25s, background .2s; }
.to-top span { font-size: 18px; font-weight: 700; }
.to-top small { font-size: 9px; font-weight: 700; margin-top: 2px; }
.to-top:hover { background: var(--main-dark); }
.to-top.is-show { opacity: 1; visibility: visible; transform: none; }
@media (max-width: 819px) { .to-top { bottom: 76px; right: 12px; width: 46px; height: 46px; } }

/* お知らせ（制作例のため〜） */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 100; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: #2a2a2a; color: #fff; font-size: 14px; padding: 12px 18px; border-radius: 12px; width: max-content; max-width: calc(100% - 32px); text-align: center; transition: opacity .2s, transform .2s; }
@media (max-width: 819px) { .toast { bottom: 80px; } }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

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

/* ===== ここから下は、各デモらしさ（themes/○○.css） ===== */

/* かもめ税理士事務所：落ち着いた水色と墨色。文字を主役、写真は小さく */
:root {
  --main: #4A7FA7; --main-dark: #2F5F84; --on-main: #FFFFFF;
  --accent: #2F2F2F; --accent-dark: #1E1E1E; --on-accent: #FFFFFF;
  --pale: #EEF4F8; --pale2: #F6F9FB;
  --bg: #FFFFFF; --paper: #FFFFFF; --ink: #2A2D30; --muted: #5F666C; --line: #DFE6EC;
  --radius: 6px; --btn-radius: 4px;
  --head: "Noto Sans JP", "Yu Gothic", sans-serif; --head-weight: 700;
}
.logo__mark { width: 36px; height: 20px; position: relative; }
.logo__mark::before, .logo__mark::after { content: ""; position: absolute; top: 4px; width: 18px; height: 12px; border-top: 3px solid var(--main); border-radius: 50% 50% 0 0; }
.logo__mark::before { left: 0; }
.logo__mark::after { left: 16px; }
.section-title { text-align: left; }
.section-title span { color: var(--main); letter-spacing: .15em; }
.section-title h2 { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.section-title p { margin-left: 0; }
.card { border-top: 3px solid var(--main); }
.card__num { background: transparent; color: var(--main); border: 2px solid var(--main); }

/* ファーストビュー：文字を主役、写真は小さく */
.fv { padding: 40px 18px 50px; border-bottom: 1px solid var(--line); }
.fv__inner { max-width: 1060px; margin: 0 auto; display: grid; gap: 26px; align-items: center; }
.fv__small { font-size: 13px; font-weight: 700; color: var(--main); letter-spacing: .12em; margin-bottom: 10px; }
.fv h1 { font-size: clamp(34px, 10vw, 68px); line-height: 1.3; letter-spacing: .02em; margin-bottom: 18px; }
.fv h1 em { font-style: normal; color: var(--main); }
.fv__lead { font-size: 16px; color: var(--muted); margin-bottom: 22px; }
.fv__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.fv__btns .btn { flex: 1 1 180px; }
.fv__photo { width: 160px; justify-self: end; }
.fv__photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; }
.fv__photo figcaption { font-size: 12px; color: var(--muted); margin-top: 6px; text-align: right; }
@media (min-width: 820px) { .fv { padding: 80px 24px 90px; } .fv__inner { grid-template-columns: 1fr 240px; gap: 60px; } .fv__photo { width: 240px; } }

/* 下層ページの見出し */
.page-head { background: var(--bg); border-bottom: 1px solid var(--line); }
.page-head h1 { color: var(--ink); }
.page-head span { color: var(--main); }

.cta { background: var(--pale); color: var(--ink); border: 1px solid var(--line); }
.cta p { color: var(--muted); }
.cta__tel { color: var(--main-dark) !important; }
.cta .btn--line { border-color: var(--main); }
.site-footer { background: #2A3640; }
.pop__head, .rv-head { background: var(--main); }
.to-top { background: var(--main); }
.bottom-bar a:last-child { background: var(--main); color: #fff; }

/* ===== 2026-10-19 作り直しで足した区切り ===== */
[id] { scroll-margin-top: 84px; }

/* 最初の画面：小さな札3つ */
.fv__tags { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fv__tags li { font-size: 13px; font-weight: 700; color: var(--main-dark); border: 1px solid var(--main); border-radius: 3px; padding: 3px 10px; background: var(--pale2); }

/* 札（個人・法人） */
.tag { display: inline-block; font-size: 11px; font-weight: 700; line-height: 1.6; color: var(--main-dark); background: var(--pale); border: 1px solid var(--main); border-radius: 3px; padding: 0 7px; margin-right: 8px; vertical-align: 2px; white-space: nowrap; }
.tag--corp { background: var(--accent); border-color: var(--accent); color: #fff; }
.tag--both { background: #fff; border-color: var(--line); color: var(--muted); }
.card .tag { margin-bottom: 8px; }
@media (max-width: 819px) { .price-table tbody th { white-space: normal; } }

/* こんなときに、ご相談ください（自分がどれか選ぶ入口） */
.who { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--ink); }
@media (min-width: 820px) { .who { grid-template-columns: 1fr 1fr; } .who li:nth-child(odd) { border-right: 1px solid var(--line); } }
.who li { border-bottom: 1px solid var(--line); }
.who a { display: block; position: relative; padding: 20px 46px 20px 4px; text-decoration: none; transition: background .2s; }
@media (min-width: 820px) { .who a { padding: 24px 52px 24px 20px; } }
.who a:hover { background: var(--pale2); }
.who a::after { content: "→"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--main); font-size: 20px; font-weight: 700; }
.who small { display: block; font-size: 12px; font-weight: 700; color: var(--main); letter-spacing: .12em; }
.who b { display: block; font-size: 19px; line-height: 1.5; margin: 2px 0; }
.who span { display: block; font-size: 14px; color: var(--muted); }

/* 途中の相談の帯（水色の細い帯） */
.ask-line { background: var(--main); color: #fff; padding: 20px 16px; }
.ask-line__inner { max-width: 1060px; margin: 0 auto; display: grid; gap: 12px; align-items: center; }
.ask-line p { margin: 0; font-weight: 700; font-size: 17px; text-align: center; }
.ask-line .btn { background: #fff; border-color: #fff; color: var(--main-dark); }
.ask-line .btn:hover { background: var(--pale); border-color: var(--pale); }
@media (min-width: 820px) { .ask-line__inner { grid-template-columns: 1fr auto; } .ask-line p { text-align: left; } }

/* 初回の60分で、うかがうこと */
.first60 { display: grid; gap: 28px; align-items: start; }
@media (min-width: 820px) { .first60 { grid-template-columns: 1fr 300px; gap: 56px; } }
.first60__steps { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.first60__steps li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.first60__steps li:first-child { border-top: 1px solid var(--ink); }
.first60__steps span { font-size: 30px; font-weight: 700; line-height: 1.1; color: var(--main); }
.first60__steps h3 { font-size: 18px; margin-bottom: 4px; }
.first60__steps p { margin: 0; font-size: 15px; color: var(--muted); }
.first60__last { background: var(--pale); border-bottom: 0 !important; padding: 22px 18px !important; margin-top: 6px; }
.first60__last h3 { font-size: 22px; color: var(--main-dark); }
.first60__last span { color: var(--main-dark); }
.first60__photo { max-width: 320px; }
.first60__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.first60__photo figcaption { font-size: 12px; color: var(--muted); margin-top: 6px; }

/* 写真だけの帯（細め） */
.photo-band { margin: 0; }
.photo-band img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
@media (min-width: 820px) { .photo-band img { aspect-ratio: 3 / 1; } }

/* 言いにくいことも、先にどうぞ */
.hard { display: grid; gap: 28px; align-items: start; }
@media (min-width: 820px) { .hard { grid-template-columns: 1fr 260px; gap: 48px; } }
.hard__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
@media (min-width: 640px) { .hard__list { grid-template-columns: 1fr 1fr; } }
.hard__q { position: relative; margin: 0 0 14px; background: var(--pale); border-radius: 14px 14px 14px 0; padding: 14px 16px; font-weight: 700; font-size: 16px; line-height: 1.6; }
.hard__q::after { content: ""; position: absolute; left: 0; bottom: -10px; border-top: 10px solid var(--pale); border-right: 14px solid transparent; }
.hard__a { margin: 0; padding-left: 14px; border-left: 3px solid var(--main); font-size: 14px; color: var(--ink); line-height: 1.8; }
.hard__photo { max-width: 280px; }
.hard__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }

/* 4つのお約束（白い背景に濃い灰色の太い番号） */
.promise { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 820px) { .promise { grid-template-columns: repeat(4, 1fr); } }
.promise li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px 22px; }
.promise span { display: block; font-size: 52px; font-weight: 700; line-height: 1; color: var(--accent); margin-bottom: 12px; }
.promise h3 { font-size: 17px; margin-bottom: 6px; padding-bottom: 8px; border-bottom: 2px solid var(--main); }
.promise p { margin: 0; font-size: 14px; color: var(--muted); }

/* 面談は、3つの方法から */
.methods { list-style: none; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (min-width: 820px) { .methods { gap: 22px; } }
.methods img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.methods h3 { font-size: 15px; margin: 8px 0 0; }
.methods p { font-size: 12px; color: var(--muted); margin: 0; line-height: 1.6; }
@media (min-width: 820px) { .methods h3 { font-size: 18px; } .methods p { font-size: 14px; } }

/* 受付の見本（週の表） */
.week { max-width: 760px; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 14px 12px; position: relative; background: #fff; }
.week__sample { position: absolute; top: -12px; left: 14px; margin: 0; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; padding: 0 10px; border-radius: 3px; }
.week__scroll { overflow-x: auto; }
.week__table { width: 100%; min-width: 360px; border-collapse: collapse; text-align: center; font-size: 15px; }
.week__table th, .week__table td { padding: 10px 4px; border-bottom: 1px solid var(--line); }
.week__table thead th { font-size: 14px; color: var(--muted); border-bottom: 1px solid var(--ink); }
.week__table tbody th { font-size: 13px; text-align: left; white-space: nowrap; color: var(--ink); }
.week__table td { color: var(--main-dark); font-weight: 700; }
.week__table .is-yoyaku { font-size: 12px; color: var(--muted); font-weight: 700; }
.week__legend { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.week__legend b { color: var(--muted); }

/* 所長のあいさつ・大きな数字 */
.text-link { display: inline-block; color: var(--main-dark); font-weight: 700; text-underline-offset: 4px; }
.text-link::after { content: " →"; }
.numbers { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.numbers li { padding: 16px 4px 14px 12px; }
.numbers li + li { border-left: 1px solid var(--line); }
.numbers small { display: block; font-size: 12px; color: var(--muted); }
.numbers b { font-size: 34px; font-weight: 700; line-height: 1.25; color: var(--ink); letter-spacing: 0; }
.numbers span { font-size: 14px; font-weight: 700; margin-left: 3px; }
@media (min-width: 820px) { .numbers b { font-size: 48px; } .numbers li { padding-left: 24px; } }
.numbers__note { margin: 8px 0 0; }

/* 初回相談の申し込み（最後の欄） */
.apply { display: grid; gap: 0; border: 1px solid var(--line); border-top: 3px solid var(--main); border-radius: var(--radius); overflow: hidden; background: var(--pale2); }
@media (min-width: 820px) { .apply { grid-template-columns: 300px 1fr; } }
.apply__photo img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (min-width: 820px) { .apply__photo img { aspect-ratio: auto; } }
.apply__body { padding: 26px 20px 28px; }
@media (min-width: 820px) { .apply__body { padding: 36px 40px; } }
.apply__label { font-size: 13px; font-weight: 700; color: var(--main); letter-spacing: .12em; margin: 0 0 4px; }
.apply h2 { font-size: 24px; margin-bottom: 10px; }
.apply__tel { font-size: 26px; font-weight: 700; color: var(--main-dark); letter-spacing: .05em; margin: 0 0 12px; }
.apply__tel small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.apply__btns { display: grid; gap: 10px; }
@media (min-width: 560px) { .apply__btns { grid-template-columns: 1fr 1fr; } }

/* クラウド会計の導入 */
.cloud { display: grid; gap: 26px; align-items: start; }
@media (min-width: 820px) { .cloud { grid-template-columns: 300px 1fr; gap: 56px; } }
.cloud__photo { max-width: 320px; }
.cloud__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }

/* 事務所名の由来 */
.name-origin { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--main); border-radius: var(--radius); padding: 20px 22px; }
.name-origin__label { font-weight: 700; color: var(--main-dark); margin-bottom: 6px; }
.name-origin p:last-child { margin: 0; }

/* ===== 2026-10-20 そらいろの雰囲気で見直し（箱を減らす・見出しを細く・余白を広く・写真を大きく・区切りにリズム）
   かもめらしさ（白と水色・文字が主役・左揃えの見出し）は残す ===== */
@media (min-width: 820px) { body { line-height: 2.1; } }
.pc-only { display: none; }
@media (min-width: 820px) { .pc-only { display: inline; } }

/* 最初の画面：文字が主役のまま、見出しを細く。事務所名と受付時間を最初の1画面に */
.fv.fv2 { padding: 26px 20px 34px; border-bottom: 0; }
.fv2 h1 { font-weight: 500; font-size: clamp(26px, calc((100vw - 44px) / 8.6), 40px); line-height: 1.5; letter-spacing: .06em; margin-bottom: 14px; }
.fv2__line { display: block; white-space: nowrap; }
.fv2 .fv__small { font-weight: 500; font-size: 12px; letter-spacing: .2em; margin-bottom: 12px; }
.fv2__name { font-size: 15px; font-weight: 500; letter-spacing: .25em; margin: 0 0 2px; }
.fv2__hours { font-size: 12px; color: var(--muted); line-height: 1.8; margin: 0 0 16px; }
.fv2 .fv__lead { font-size: 14px; line-height: 2; margin-bottom: 18px; }
.fv2 .fv__btns .btn { font-weight: 500; }
.fv2 .fv__tags li { border: 0; background: var(--pale); font-weight: 500; font-size: 12px; padding: 3px 12px; border-radius: 999px; }
.fv2 .fv__photo { width: 100%; justify-self: stretch; }
.fv2 .fv__photo img { aspect-ratio: 16 / 10; border-radius: 0 0 0 60px; }
@media (min-width: 820px) {
  .fv.fv2 { padding: 70px 28px 90px; }
  .fv2 .fv__inner { max-width: 1180px; grid-template-columns: 1fr 440px; gap: 80px; }
  .fv2 h1 { font-size: clamp(40px, 4.4vw, 60px); line-height: 1.45; letter-spacing: .08em; margin-bottom: 24px; }
  .fv2 .fv__small { font-size: 13px; margin-bottom: 20px; }
  .fv2__name { font-size: 17px; }
  .fv2__hours { font-size: 13px; margin-bottom: 26px; }
  .fv2 .fv__lead { font-size: 15px; }
  .fv2 .fv__photo { width: 440px; }
  .fv2 .fv__photo img { aspect-ratio: 4 / 5; border-radius: 0 0 0 140px; }
}

/* 最初の画面の下：お知らせ1行 */
.news-line { display: flex; gap: 14px; align-items: baseline; max-width: 1180px; margin: 0 auto; padding: 16px 20px; text-decoration: none; font-size: 13px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.news-line__label { color: var(--main-dark); font-weight: 500; letter-spacing: .2em; white-space: nowrap; }
.news-line time { color: var(--muted); letter-spacing: .05em; white-space: nowrap; }
.news-line span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-line::after { content: "→"; margin-left: auto; color: var(--main); }

/* 区切り（余白を広く） */
.section2 { padding: 96px 20px; background: var(--bg); }
.section2--white { background: #fff; }
.section2--pale { background: var(--pale2); }
/* 業種の地：帳簿の方眼のような、うすい水色の線 */
.section2--grid { background-color: var(--pale); background-image:
  linear-gradient(rgba(74, 127, 167, .10) 1px, transparent 1px),
  linear-gradient(90deg, rgba(74, 127, 167, .10) 1px, transparent 1px);
  background-size: 28px 28px; }
@media (min-width: 820px) { .section2 { padding: 146px 28px; } }

/* 見出し：細く、上に小さな日本語のひとことと短い線。かもめは左揃えが基本 */
.title2 { margin-bottom: 48px; }
.title2 span { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 500; letter-spacing: .3em; color: var(--main); margin-bottom: 10px; }
.title2 span::before { content: ""; width: 24px; border-top: 1px solid var(--main); }
.title2 h2 { font-weight: 500; font-size: 25px; line-height: 1.7; letter-spacing: .1em; }
.title2 p { color: var(--muted); margin: 18px 0 0; max-width: 640px; }
.title2--center { text-align: center; }
.title2--center p { margin-left: auto; margin-right: auto; }
@media (min-width: 820px) { .title2 h2 { font-size: 33px; } .title2 { margin-bottom: 64px; } }
@media (max-width: 819px) { .title2 h2 { letter-spacing: .06em; } }

/* ごあいさつ */
.lead2 { max-width: 760px; margin: 0 auto; text-align: center; }
.lead2__big { font-size: 20px; font-weight: 500; line-height: 2; letter-spacing: .1em; margin-bottom: 22px; }
.lead2 p:not(.lead2__big) { color: var(--muted); }
@media (min-width: 820px) { .lead2__big { font-size: 26px; } }
@media (max-width: 819px) { .lead2 { text-align: left; } .lead2 p br { display: none; } }

/* こんなときに：細い線だけ（今の形を細く） */
.section2 .who { border-top-color: var(--ink); }
.section2 .who b { font-weight: 500; font-size: 20px; letter-spacing: .06em; }
.section2 .who a { padding-top: 28px; padding-bottom: 28px; }
.section2 .who a:hover { background: rgba(255, 255, 255, .7); }

/* 料金の表：色のついた見出しの帯をやめて、線だけに */
.section2 .price-table { background: transparent; border-radius: 0; font-size: 15px; }
.section2 .price-table thead th { background: transparent; color: var(--muted); font-weight: 500; font-size: 13px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.section2 .price-table th, .section2 .price-table td { padding: 22px 12px; }
.section2 .price-table tbody th { font-weight: 500; }
.section2 .price-table td.yen { font-weight: 500; font-size: 17px; color: var(--main-dark); }
.section2 .tag { border: 0; font-weight: 500; border-radius: 999px; padding: 0 9px; }
.section2 .tag--both { background: var(--pale); color: var(--muted); }
@media (max-width: 819px) { .section2 .price-table { border-top: 1px solid var(--ink); } .section2 .price-table tr { padding: 18px 2px; } .section2 .price-table th, .section2 .price-table td { padding: 2px 0; } }
.section2 .btn--line { font-weight: 500; }

/* 写真を暗く敷いた帯 */
.dark-band { position: relative; display: grid; place-items: center; min-height: 440px; padding: 80px 22px; color: #fff; overflow: hidden; }
.dark-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dark-band::before { content: ""; position: absolute; inset: 0; background: rgba(22, 40, 56, .62); z-index: 1; }
.dark-band__inner { position: relative; z-index: 2; text-align: center; max-width: 720px; }
.dark-band__big { font-size: 24px; font-weight: 500; line-height: 1.9; letter-spacing: .12em; margin-bottom: 16px; }
.dark-band__inner p:not(.dark-band__big) { opacity: .9; margin-bottom: 28px; }
.btn--light { background: #fff; border-color: #fff; color: var(--main-dark); font-weight: 500; min-width: 260px; }
.btn--light:hover { background: var(--pale); border-color: var(--pale); color: var(--main-dark); }
@media (min-width: 820px) { .dark-band { min-height: 560px; } .dark-band__big { font-size: 34px; } }

/* 初回の60分：写真を大きく左に、右に4つの段階を線で */
.first2 { display: grid; gap: 44px; }
.first2__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 0 70px 0 0; }
.first2__steps { list-style: none; margin: 0; padding: 0; }
.first2__steps li { display: grid; grid-template-columns: 54px 1fr; gap: 0 14px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.first2__steps li:first-child { border-top: 1px solid var(--ink); }
.first2__steps span { font-size: 30px; font-weight: 400; line-height: 1.1; color: var(--main); letter-spacing: .02em; }
.first2__steps h3 { font-weight: 500; font-size: 18px; letter-spacing: .06em; margin-bottom: 4px; }
.first2__steps p { margin: 0; font-size: 15px; color: var(--muted); }
.first2__steps li:last-child h3 { color: var(--main-dark); }
@media (min-width: 820px) {
  .first2 { grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: start; }
  .first2__photo { position: sticky; top: 120px; }
  .first2__photo img { aspect-ratio: 4 / 5; border-radius: 0 140px 0 0; }
  .first2__steps span { font-size: 40px; }
  .first2__steps h3 { font-size: 20px; }
}

/* 言いにくいご相談：吹き出しをやめて、写真を止めて右に言葉を並べる */
.split { display: grid; gap: 44px; }
.split__photo img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: 70px 0 0 0; }
@media (min-width: 820px) {
  .split { grid-template-columns: 1fr 1.1fr; gap: 88px; align-items: start; }
  .split__photo { position: sticky; top: 120px; }
  .split__photo img { aspect-ratio: 4 / 5; border-radius: 140px 0 0 0; }
}
.hard2 { list-style: none; margin: 0; padding: 0; }
.hard2 li { padding: 26px 0; border-bottom: 1px solid var(--line); }
.hard2 li:first-child { border-top: 1px solid var(--ink); }
.hard2__q { font-size: 19px; font-weight: 500; letter-spacing: .08em; line-height: 1.7; margin: 0 0 6px; }
.hard2__q::before { content: "「"; }
.hard2__q::after { content: "」"; }
.hard2__a { margin: 0; color: var(--muted); font-size: 15px; }
@media (min-width: 820px) { .hard2__q { font-size: 21px; } }

/* 4つのお約束：箱をやめて、方眼の地に細い線で */
.promise2 { list-style: none; margin: 0 auto; padding: 0; max-width: 1000px; display: grid; border-top: 1px solid var(--ink); }
.promise2 li { padding: 28px 4px; border-bottom: 1px solid rgba(74, 127, 167, .3); display: grid; grid-template-columns: 54px 1fr; gap: 0 14px; }
.promise2 span { grid-row: 1 / span 2; font-size: 30px; font-weight: 400; line-height: 1.1; color: var(--main); }
.promise2 h3 { font-weight: 500; font-size: 19px; letter-spacing: .06em; margin-bottom: 4px; }
.promise2 p { margin: 0; color: var(--muted); font-size: 15px; }
@media (min-width: 820px) {
  .promise2 { grid-template-columns: 1fr 1fr; }
  .promise2 li { padding: 36px 28px 36px 4px; }
  .promise2 li:nth-child(even) { padding-left: 32px; border-left: 1px solid rgba(74, 127, 167, .3); }
  .promise2 span { font-size: 40px; }
  .promise2 h3 { font-size: 21px; }
}

/* 面談の3つの方法：写真を大きく、箱なし */
.methods2 { list-style: none; margin: 0; padding: 0; display: grid; gap: 52px; }
.methods2 img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.methods2 li:nth-child(1) img { border-radius: 60px 0 0 0; }
.methods2 li:nth-child(3) img { border-radius: 0 60px 0 0; }
.methods2 div { padding-top: 18px; }
.methods2 span { display: block; font-size: 13px; letter-spacing: .15em; color: var(--main); }
.methods2 h3 { font-weight: 500; font-size: 20px; letter-spacing: .1em; margin: 2px 0 4px; }
.methods2 p { margin: 0; color: var(--muted); font-size: 15px; }
@media (min-width: 820px) { .methods2 { grid-template-columns: repeat(3, 1fr); gap: 36px; } .methods2 li:nth-child(2) { margin-top: 60px; } }

/* クラウド会計：文を左、写真を右に大きく */
.cloud2 { display: grid; gap: 48px; align-items: center; }
.cloud2__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 0 0 70px 0; }
.cloud2__steps { list-style: none; margin: 0 0 26px; padding: 0; border-top: 1px solid var(--ink); }
.cloud2__steps li { display: grid; grid-template-columns: 48px 1fr; gap: 0 12px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cloud2__steps span { font-size: 22px; color: var(--main); line-height: 1.3; }
.cloud2__steps h3 { font-weight: 500; font-size: 17px; letter-spacing: .05em; }
.cloud2__steps p { margin: 0; color: var(--muted); font-size: 14px; }
.cloud2 .title2 { margin-bottom: 36px; }
@media (min-width: 820px) { .cloud2 { grid-template-columns: 1fr 1.15fr; gap: 80px; } .cloud2__photo img { aspect-ratio: 5 / 4; border-radius: 0 0 140px 0; } }

/* 所長：写真を大小ずらして重ねる */
.owner2 { display: grid; gap: 70px; align-items: center; }
.owner2__photos { position: relative; padding-bottom: 50px; }
.owner2__big { width: 86%; aspect-ratio: 4 / 3; object-fit: cover; }
.owner2__small { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 4 / 3; object-fit: cover; border: 8px solid #fff; }
.owner2__name { border-left: 2px solid var(--main); padding-left: 14px; font-size: 14px; margin-top: 24px; }
.owner2__name small { display: block; font-size: 11px; letter-spacing: .25em; color: var(--main-dark); }
.owner2__meta { font-size: 13px; color: var(--muted); }
@media (min-width: 820px) { .owner2 { grid-template-columns: 1.05fr 1fr; gap: 90px; } .owner2__photos { padding-bottom: 70px; } }

/* 大きな数字：細い縦線で区切る */
.numbers2 { list-style: none; margin: 100px auto 0; padding: 0; max-width: 860px; display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.numbers2 li + li { border-left: 1px solid var(--line); }
.numbers2 b { display: block; font-weight: 300; font-size: 40px; line-height: 1.2; color: var(--main-dark); letter-spacing: .02em; }
.numbers2 span { display: block; font-size: 12px; color: var(--muted); letter-spacing: .04em; line-height: 1.6; padding: 0 6px; }
.numbers2__note { text-align: center; font-size: 11px; color: var(--muted); margin: 18px 0 0; }
@media (min-width: 820px) { .numbers2 b { font-size: 64px; } .numbers2 span { font-size: 13px; } }

/* お知らせと受付時間 */
.info2 { display: grid; gap: 80px; }
@media (min-width: 820px) { .info2 { grid-template-columns: 1.25fr 1fr; gap: 90px; } }
.news { list-style: none; margin: 0; padding: 0; }
.news li { display: grid; grid-template-columns: auto auto 1fr; gap: 6px 16px; align-items: baseline; padding: 20px 2px; border-bottom: 1px solid var(--line); }
.news li:first-child { border-top: 1px solid var(--ink); }
.news time { font-size: 13px; color: var(--muted); letter-spacing: .05em; }
.news__cat { font-size: 11px; letter-spacing: .1em; color: var(--main-dark); background: var(--pale); padding: 1px 10px; border-radius: 999px; white-space: nowrap; }
.news p { margin: 0; font-weight: 500; letter-spacing: .05em; }
@media (max-width: 819px) { .news li { grid-template-columns: auto 1fr; } .news p { grid-column: 1 / -1; } }
.news__note { font-size: 11px; color: var(--muted); margin: 12px 0 0; }
.hours { width: 100%; border-collapse: collapse; text-align: center; font-size: 14px; }
.hours th, .hours td { padding: 14px 2px; border-bottom: 1px solid var(--line); }
.hours thead th { font-weight: 500; color: var(--muted); border-top: 1px solid var(--ink); }
.hours tbody th { font-weight: 400; font-size: 12px; white-space: nowrap; text-align: left; padding-right: 8px; }
.hours td { color: var(--main-dark); }
.hours td.yoyaku { color: var(--muted); font-size: 11px; letter-spacing: 0; }
.hours__note { font-size: 12px; color: var(--muted); margin: 12px 0 0; }
.hours-wrap { max-width: 760px; }

/* 初回相談の申し込みと地図 */
.reserve2 { display: grid; gap: 56px; }
@media (min-width: 820px) { .reserve2 { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; } }
.reserve2 .info-table { background: transparent; }
.reserve2 .info-table th { font-weight: 500; }
.reserve2 .info-table tr:first-child th, .reserve2 .info-table tr:first-child td { border-top: 1px solid var(--ink); }
.reserve2 .cta__tel { font-weight: 500; color: var(--main-dark); margin: 30px 0 4px; }
.btn-hint { display: inline-block; position: relative; margin: 6px 0 14px; padding: 3px 14px; border-radius: 999px; background: var(--pale); color: var(--main-dark); font-size: 12px; letter-spacing: .08em; }
.btn-hint::after { content: ""; position: absolute; left: 22px; bottom: -6px; border: 6px solid transparent; border-bottom: 0; border-top-color: var(--pale); }
.reserve__btns { display: grid; gap: 10px; }
.reserve__btns .btn { font-weight: 500; }
.reserve__btns .btn span { line-height: 1.35; text-align: center; }
.reserve__btns .btn small { display: block; font-size: 11px; font-weight: 400; opacity: .85; }
.map-embed { aspect-ratio: 4 / 3; width: 100%; background: #EEE; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.75); }
.map-note { font-size: 12px; color: var(--muted); margin: 10px 0 0; }

/* ページの最後の大きな写真 */
.last-photo { margin: 0; }
.last-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 820px) { .last-photo img { aspect-ratio: 16 / 6; } }

/* スマホ：ごあいさつの大きな文は改行を残す／料金の表はプラン名・料金・中身の順に縦に */
@media (max-width: 819px) {
  .lead2 .lead2__big br { display: inline; }
  .section2 .price-table tr { grid-template-columns: 1fr; }
  .section2 .price-table tbody th { order: 1; }
  .section2 .price-table td.yen { order: 2; grid-row: auto; grid-column: 1; text-align: left; margin-top: 4px; }
  .section2 .price-table td.sub { order: 3; }
}
@media (max-width: 819px) { .first2__steps h3 { font-size: 16px; letter-spacing: .03em; } .promise2 h3 { font-size: 17px; letter-spacing: .03em; } }
