@charset "UTF-8";
/* ============================================================
   store-office.css — 事務所・専門サービステーマ(税理士・弁護士・コンサル・設計事務所など)
   方向: 上質な紙と墨のエディトリアル。報告書・名刺・パンフレットの品の良さ
   - 生成りの紙(#f4f1ea)に墨(#1b1f26)、主色は藍墨の紺(#1f3354)。角丸なし・影なし・細い罫
   - シグネチャー: 左に「番号 / 小見出し / 明朝の見出し」、右に本文の二段組み(報告書の章立て)
   - 数字は Inter(等幅数字)で大きく組む。朱の小さな印を名前の前に一つだけ置く
   ============================================================ */
:root {
  --st-bg: #f4f1ea;
  --st-surface: #fbfaf6;
  --st-ink: #1b1f26;
  --st-muted: #555a61;
  --st-line: #d6d0c2;
  --st-accent: #1f3354;
  --st-accent-ink: #ffffff;
  --st-font-display: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --st-font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --st-radius: 0px;
  --num: "Inter", "Noto Sans JP", sans-serif;
  --seal: #a8432a;
  --rule: #1b1f26;
  --wrap: min(1160px, 100% - 40px);
}
.p-office { font-feature-settings: "palt" 0; }
.p-office h1, .p-office h2, .p-office h3 { font-family: var(--st-font-display); font-weight: 700; letter-spacing: 0.04em; line-height: 1.5; word-break: auto-phrase; text-wrap: pretty; }
.o-num { font-family: var(--num); font-feature-settings: "tnum" 1, "lnum" 1; letter-spacing: 0.01em; }
.o-wrap { width: var(--wrap); margin-inline: auto; }

/* ---- ボタン(長方形。塗りは紺、線は墨) ---- */
.o-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 12px 26px;
  background: var(--st-accent); color: #fff; border: 1px solid var(--st-accent);
  font-weight: 700; font-size: 15px; letter-spacing: 0.06em; text-decoration: none; white-space: nowrap;
  transition: background 0.25s var(--st-ease), color 0.25s var(--st-ease);
}
.o-btn:hover { background: #15243d; }
.o-btn svg { width: 18px; height: 18px; flex: none; }
.o-btn span[aria-hidden] { font-family: var(--num); font-weight: 500; transition: transform 0.25s var(--st-ease); }
.o-btn:hover span[aria-hidden] { transform: translateX(3px); }
.o-btn--line { background: transparent; color: var(--st-ink); border-color: var(--st-ink); }
.o-btn--line:hover { background: var(--st-ink); color: var(--st-bg); }
.o-btn--line .o-num { font-size: 18px; font-weight: 600; }
.o-btn--sm { min-height: 40px; padding: 6px 18px; font-size: 14px; }
.o-btn--light { background: var(--st-bg); color: var(--st-accent); border-color: var(--st-bg); }
.o-btn--light:hover { background: #fff; }
.o-btn--light .o-num { font-size: 19px; font-weight: 600; }
.o-btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.o-btn--ghost:hover { background: rgba(255, 255, 255, 0.08); }
.o-btn--ghost .o-num { font-size: 18px; font-weight: 600; }

/* ---- ヘッダー: 名前(朱の印つき)・目次・電話 ---- */
.o-header { position: sticky; top: 0; z-index: var(--z-header); background: color-mix(in srgb, var(--st-bg) 94%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--st-line); }
.o-header__inner { width: var(--wrap); margin-inline: auto; min-height: 68px; display: flex; align-items: center; gap: 24px; }
.o-logo { display: flex; align-items: center; gap: 12px; min-width: 0; text-decoration: none; }
.o-logo__seal { flex: none; width: 12px; height: 12px; background: var(--seal); }
.o-logo__name { font-family: var(--st-font-display); font-weight: 700; font-size: 18px; letter-spacing: 0.08em; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.o-header__nav { margin-left: auto; display: flex; gap: 26px; font-size: 14px; letter-spacing: 0.06em; }
.o-header__nav a { text-decoration: none; padding-block: 4px; background: linear-gradient(var(--st-ink), var(--st-ink)) 0 100% / 0 1px no-repeat; transition: background-size 0.3s var(--st-ease); }
.o-header__nav a:hover { background-size: 100% 1px; }
.o-header__tel { text-decoration: none; }
.o-header__tel .tel-pc { font-size: 19px; font-weight: 600; }
.o-header__inner > .o-header__nav:last-child { margin-left: auto; }

/* ---- お知らせ ---- */
.o-notice { background: var(--st-surface); border-bottom: 1px solid var(--st-line); }
.o-notice p { display: flex; gap: 14px; align-items: baseline; padding-block: 12px; font-size: 15px; }
.o-notice__label { flex: none; padding: 1px 10px; border: 1px solid var(--seal); color: var(--seal); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; }

/* ---- ヒーロー: 左に名前と言葉、右に写真(細い額縁) ---- */
.o-hero { padding: clamp(40px, 6vw, 88px) 0 clamp(8px, 2vw, 24px); }
.o-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.o-hero__place { display: flex; align-items: center; gap: 14px; font-size: 13px; letter-spacing: 0.1em; color: var(--st-muted); }
.o-hero__place::before { content: ""; width: 32px; height: 1px; background: var(--st-ink); flex: none; }
.p-full .o-hero__en { margin-top: 28px; font-family: var(--num); font-size: 12px; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; color: var(--st-accent); }
.o-hero__name { margin-top: 10px; font-size: clamp(36px, 5.2vw, 64px); line-height: 1.25; letter-spacing: 0.06em; }
.o-hero__place + .o-hero__name { margin-top: 28px; }
.o-hero__name.o-name--m { font-size: clamp(30px, 4.2vw, 50px); }
.o-hero__name.o-name--l { font-size: clamp(25px, 3.2vw, 38px); }
.o-hero__catch { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--st-line); font-family: var(--st-font-display); font-weight: 600; font-size: clamp(19px, 2vw, 24px); line-height: 1.75; letter-spacing: 0.06em; }
.p-full .o-hero__lead { margin-top: 14px; font-size: 16px; color: #33383f; max-width: 34em; }
.p-full .o-tags { margin-top: 22px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.p-full .o-tags li { padding: 4px 12px; border: 1px solid var(--st-ink); font-size: 13px; font-weight: 500; letter-spacing: 0.06em; line-height: 1.6; }
.o-hero__actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.o-hero__hours { margin-top: 16px; color: var(--st-muted); }
.o-hero__photo { position: relative; margin: 0; }
.o-hero__photo::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--st-line); pointer-events: none; }
.o-hero__photo img { position: relative; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* 数字: 大きな Inter と、上下の墨の罫 */
.p-full .o-stats { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--st-line); }
.p-full .o-stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 22px clamp(14px, 2vw, 28px) 24px; }
.p-full .o-stats > div + div { border-left: 1px solid var(--st-line); }
.p-full .o-stats dd { display: flex; align-items: baseline; gap: 4px; line-height: 1; }
.p-full .o-stats dd .o-num { font-size: clamp(36px, 4.4vw, 56px); font-weight: 500; letter-spacing: -0.02em; color: var(--st-accent); }
.p-full .o-stats dd small { font-size: 14px; font-weight: 700; }
.p-full .o-stats dt { font-size: 13px; color: var(--st-muted); letter-spacing: 0.04em; line-height: 1.6; }

/* ---- 番号つきの欄(報告書の章) ---- */
.o-sec { padding-block: clamp(64px, 8vw, 104px); }
.o-sec:not(.o-sec--paper) + .o-sec:not(.o-sec--paper) { padding-top: 0; }
.o-sec--paper { background: var(--st-surface); border-block: 1px solid var(--st-line); }
.o-sec + .o-sec--paper, .o-sec--paper + .o-sec { border-top-color: var(--st-line); }
.o-sec__grid { display: grid; grid-template-columns: minmax(240px, 0.4fr) minmax(0, 1fr); gap: 32px clamp(40px, 6vw, 96px); align-items: start; }
.o-sec__head { position: sticky; top: 100px; }
.o-sec__index { display: flex; align-items: center; gap: 14px; padding-top: 14px; border-top: 1px solid var(--rule); font-size: 13px; letter-spacing: 0.1em; }
.o-sec__no { font-family: var(--num); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; color: var(--st-accent); }
.o-sec__no::after { content: ""; display: inline-block; width: 18px; height: 1px; margin-left: 14px; vertical-align: middle; background: var(--st-muted); }
.o-sec__label { color: var(--st-muted); }
.o-sec__title { margin-top: 18px; font-size: clamp(23px, 2.3vw, 29px); line-height: 1.65; }
.o-sec__lead { margin-top: 16px; font-size: 15px; color: var(--st-muted); }
.o-sec__body { min-width: 0; }
.o-note { margin-top: 20px; font-size: 14px; color: var(--st-muted); line-height: 1.8; }

/* 事務所のこと(受け取り前) */
.o-about { font-size: 16px; line-height: 2; max-width: 38em; }
.o-facts { margin-top: 32px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--st-line); }
.o-facts > div { padding: 16px 16px 0 0; }
.o-facts > div + div { padding-left: 16px; border-left: 1px solid var(--st-line); }
.o-facts dt { font-size: 12px; color: var(--st-muted); letter-spacing: 0.06em; }
.o-facts dd { margin-top: 4px; font-family: var(--st-font-display); font-weight: 700; font-size: 20px; line-height: 1.4; }
.o-facts dd .o-num { font-size: 28px; font-weight: 500; }
.o-facts small { margin-left: 2px; font-family: var(--st-font-body); font-size: 13px; }

/* 業務内容: 目次のような番号つきの行 */
.p-full .o-services { list-style: none; padding: 0; border-top: 1px solid var(--rule); }
.p-full .o-service { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 6px 20px; padding: 26px 0; border-bottom: 1px solid var(--st-line); }
.o-service__no { font-size: 15px; font-weight: 600; color: var(--st-accent); padding-top: 4px; }
.p-full .o-service h3 { font-size: clamp(19px, 1.8vw, 22px); }
.o-service__main > p { margin-top: 8px; font-size: 15.5px; line-height: 1.9; color: #33383f; }
.o-service__who { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 14px !important; color: var(--st-muted) !important; }
.o-service__who span { font-size: 12px; padding: 0 8px; border: 1px solid var(--st-line); background: var(--st-surface); line-height: 1.9; }
.o-service__fee { padding-top: 4px; font-size: 15px; font-weight: 700; white-space: nowrap; text-align: right; }
.p-full .o-targets { margin-top: 40px; padding: 24px clamp(18px, 3vw, 32px); background: var(--st-surface); border: 1px solid var(--st-line); }
.p-full .o-targets h3 { font-size: 16px; }
.p-full .o-targets ul { margin-top: 10px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 15px; }
.p-full .o-targets li:not(:last-child)::after { content: "/"; margin: 0 12px; color: var(--st-line); }

/* 料金: 初回相談の札(二重罫)と、報酬表 */
.p-full .o-consult { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 24px; align-items: center; padding: 22px clamp(18px, 3vw, 30px); border: 3px double var(--st-accent); background: var(--st-bg); }
.o-consult__name { font-family: var(--st-font-display); font-weight: 700; font-size: 19px; letter-spacing: 0.06em; }
.o-consult__price { grid-row: span 2; font-family: var(--st-font-display); font-weight: 700; font-size: clamp(30px, 3.4vw, 42px); color: var(--st-accent); line-height: 1.1; white-space: nowrap; }
.o-consult__text { font-size: 14.5px; color: var(--st-muted); }
.p-full .o-fees { margin-top: 32px; width: 100%; border-collapse: collapse; font-size: 15px; }
.p-full .o-fees thead th { padding: 0 12px 10px 0; font-size: 12px; font-weight: 500; color: var(--st-muted); letter-spacing: 0.08em; text-align: left; border-bottom: 1px solid var(--rule); }
.p-full .o-fees thead th:last-child { text-align: right; padding-right: 0; }
.p-full .o-fees tbody th, .p-full .o-fees td { padding: 18px 12px 18px 0; border-bottom: 1px solid var(--st-line); vertical-align: top; text-align: left; }
.p-full .o-fees tbody th { font-family: var(--st-font-display); font-weight: 700; font-size: 16.5px; width: 30%; }
.o-fees__detail { color: #3d4249; font-size: 14.5px; }
.o-fees__price { padding-right: 0 !important; text-align: right !important; font-weight: 700; white-space: nowrap; }

/* 代表: 写真と名刺の札、経歴は年表 */
.p-full .o-person { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.o-person--text { grid-template-columns: 1fr; }
.o-person__photo { margin: 0; }
.o-person__photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.p-full .o-card { position: relative; padding: 22px 24px 20px; background: var(--st-surface); border: 1px solid var(--st-line); box-shadow: 6px 6px 0 -1px var(--st-bg), 6px 6px 0 0 var(--st-line); }
.p-full .o-card::before { content: ""; position: absolute; top: 22px; right: 22px; width: 10px; height: 10px; background: var(--seal); }
.o-card__role { font-size: 13px; color: var(--st-muted); letter-spacing: 0.06em; }
.o-card__name { margin-top: 6px; font-family: var(--st-font-display); font-weight: 700; font-size: clamp(26px, 2.8vw, 32px); letter-spacing: 0.16em; line-height: 1.3; }
.o-card__kana { font-size: 12px; color: var(--st-muted); letter-spacing: 0.18em; }
.o-card__quals { margin-top: 14px; padding: 12px 0 0; list-style: none; border-top: 1px solid var(--st-line); display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; font-weight: 500; }
.o-card__quals li::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 8px; vertical-align: 3px; background: var(--st-accent); }
.o-person__text { margin-top: 26px; }
.o-person__text p { font-size: 16px; line-height: 2.05; }
.o-person__text p + p { margin-top: 1em; }
.p-full .o-career { margin-top: 40px; border-top: 1px solid var(--rule); }
.p-full .o-career > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--st-line); font-size: 15px; }
.p-full .o-career dt { font-weight: 600; color: var(--st-accent); }

/* 事例: 報告書の1ページのような札 */
.p-full .o-cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.p-full .o-case { display: flex; flex-direction: column; padding: 24px clamp(18px, 2.4vw, 28px); background: var(--st-surface); border: 1px solid var(--st-line); border-top: 2px solid var(--st-accent); }
.o-case__head { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; font-size: 13px; color: var(--st-muted); }
.o-case__head .o-num { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; color: var(--st-accent); }
.p-full .o-case h3 { margin-top: 10px; font-size: 19px; line-height: 1.6; }
.o-case__text { margin-top: 10px; font-size: 15px; line-height: 1.9; color: #33383f; }
.o-case__result { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--st-line); font-size: 15px; font-weight: 500; }
.o-case__text + .o-case__result { margin-top: 18px; }
.o-case__result b { display: inline-block; margin-right: 10px; padding: 0 8px; font-size: 12px; background: var(--st-accent); color: #fff; letter-spacing: 0.08em; }

/* 相談の流れ: 番号と墨の罫で横に並べる */
.p-full .o-flow { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0; border-top: 1px solid var(--rule); }
.p-full .o-flow li { position: relative; padding: 22px 20px 24px 0; }
.p-full .o-flow li + li { padding-left: 20px; border-left: 1px solid var(--st-line); }
.o-flow__no { display: block; font-size: 30px; font-weight: 300; color: var(--st-accent); line-height: 1; }
.p-full .o-flow h3 { margin-top: 14px; font-size: 17px; line-height: 1.55; }
.p-full .o-flow p { margin-top: 8px; font-size: 14.5px; line-height: 1.85; color: #3d4249; }
.o-flow__time { display: inline-block; margin-top: 10px; font-size: 12px; padding: 0 8px; border: 1px solid var(--st-line); color: var(--st-muted); }

/* 対応エリア */
.o-area__list { padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.o-area__list li { padding: 6px 14px; background: var(--st-surface); border: 1px solid var(--st-line); font-family: var(--st-font-display); font-weight: 600; font-size: 16px; }
.o-area__text { margin-top: 20px; font-size: 16px; }
.p-full .o-ways { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-top: 1px solid var(--rule); }
.p-full .o-ways > div { padding: 16px 18px 16px 0; border-bottom: 1px solid var(--st-line); }
.p-full .o-ways dt { font-family: var(--st-font-display); font-weight: 700; font-size: 17px; }
.p-full .o-ways dd { margin-top: 4px; font-size: 14.5px; color: var(--st-muted); }

/* お客さまの声: 明朝の引用と細い縦罫 */
.p-full .o-voices { display: grid; gap: 28px; }
.p-full .o-voice { margin: 0; padding-left: 24px; border-left: 1px solid var(--st-accent); }
.p-full .o-voice blockquote { margin: 0; }
.o-voice__head { font-family: var(--st-font-display); font-weight: 700; font-size: 19px; line-height: 1.6; }
.o-voice__head::before { content: "「"; }
.o-voice__head::after { content: "」"; }
.p-full .o-voice blockquote p + p { margin-top: 8px; font-size: 15px; color: #33383f; }
.p-full .o-voice figcaption { margin-top: 10px; font-size: 13px; color: var(--st-muted); }

/* よくある質問 */
.o-faq { border-top: 1px solid var(--rule); }
.o-faq details { border-bottom: 1px solid var(--st-line); }
.o-faq summary { position: relative; display: flex; gap: 16px; padding: 20px 40px 20px 0; font-weight: 700; font-size: 16px; line-height: 1.7; }
.o-faq summary::before { content: "Q"; flex: none; font-family: var(--num); font-weight: 500; color: var(--st-accent); }
.o-faq summary::after { content: ""; position: absolute; right: 6px; top: 28px; width: 10px; height: 10px; border-right: 1px solid var(--st-ink); border-bottom: 1px solid var(--st-ink); transform: rotate(45deg); transition: transform 0.3s var(--st-ease); }
.o-faq details[open] summary::after { transform: translateY(4px) rotate(225deg); }
.o-faq details p { padding: 0 0 22px 28px; font-size: 15.5px; line-height: 1.95; color: #33383f; }

/* 呼びかけの帯(紺) */
.o-cta { background: var(--st-accent); color: #fff; padding-block: clamp(48px, 7vw, 88px); }
.o-cta__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; }
.o-cta h2 { font-family: var(--st-font-display); font-size: clamp(22px, 2.6vw, 32px); line-height: 1.6; letter-spacing: 0.06em; }
.o-cta p { margin-top: 12px; font-size: 15px; color: rgba(255, 255, 255, 0.82); }
.o-cta__actions { display: flex; flex-direction: column; gap: 10px; }

/* 問い合わせフォーム */
.p-full .o-form-sec .st-form { max-width: none; margin: 0; background: var(--st-surface); border-color: var(--st-line); }
.p-full .o-form-sec .st-form__submit { border-radius: 0; }
.p-full .o-form-sec .st-form input:not([type="radio"]):not([type="checkbox"]), .p-full .o-form-sec .st-form textarea { border-radius: 0; background: #fff; }
.o-form-sec__tel { margin-top: 22px; display: grid; gap: 2px; font-size: 13px; color: var(--st-muted); }
.o-form-sec__tel a { font-size: 24px; font-weight: 600; color: var(--st-ink); text-decoration: none; }
.o-form-sec__tel small { font-size: 12px; }

/* 所在地・受付時間 */
.o-access { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(24px, 4vw, 48px); align-items: start; }
.o-dl { border-top: 1px solid var(--rule); }
.p-full .o-dl > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--st-line); font-size: 15px; }
.o-dl dt { color: var(--st-muted); font-size: 13px; padding-top: 2px; }
.o-dl small { color: var(--st-muted); font-size: 12px; }
.o-dl a { color: var(--st-accent); }
.o-dl--flat { display: grid; grid-template-columns: 96px minmax(0, 1fr); }
.o-dl--flat dt, .o-dl--flat dd { padding: 12px 0; border-bottom: 1px solid var(--st-line); font-size: 15px; }
.o-dl--flat dt { font-size: 13px; padding-top: 14px; }
.o-access__sub { margin-top: 32px; font-size: 16px; }
.p-full .o-hours { margin-top: 10px; width: 100%; border-collapse: collapse; font-size: 15px; }
.p-full .o-hours th, .p-full .o-hours td { padding: 8px 0; border-bottom: 1px solid var(--st-line); text-align: left; font-weight: 400; }
.p-full .o-hours th { width: 108px; color: var(--st-muted); font-size: 14px; }
.p-full .o-hours td { font-family: var(--num); font-feature-settings: "tnum" 1; }
.p-full .o-hours tr.is-off td { color: var(--seal); font-family: var(--st-font-body); font-size: 14px; }
.o-access__map .st-map { aspect-ratio: 1 / 1; border: 1px solid var(--st-line); }

/* 受け取り前: 「受け取ると載ります」の枠 */
.p-office .ph { margin-top: 0; border-radius: 0; border-color: #b9b19f; background: var(--st-bg); }
.p-office .ph__slot { border-radius: 0; background: var(--st-surface); }
.p-office .ph__slot b { font-size: 16px; }
.p-office .om__cat { border-bottom-color: var(--rule); }

/* 口コミ・近くのお店 */
.p-office .st-reviews { border-top: 1px solid var(--st-line); }
.p-office .st-reviews .o-sec__head { position: static; max-width: 420px; }
.p-office .nr { background: var(--st-bg); }
.p-office .nr__img { border-radius: 0; }

/* フッター(墨) */
.o-footer { background: var(--st-ink); color: rgba(244, 241, 234, 0.78); padding-block: 40px; font-size: 14px; line-height: 1.9; }
.o-footer__grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 40px; }
.o-footer__name { font-family: var(--st-font-display); font-weight: 700; font-size: 20px; letter-spacing: 0.08em; color: #f4f1ea; }
.p-full .o-footer__en { margin-top: 4px; font-family: var(--num); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; }

/* 下の電話バー */
.p-office .call-bar a { background: var(--st-accent); color: #fff; border-radius: 0; }
.p-office .call-bar a + a { background: var(--st-surface); color: var(--st-ink); border: 1px solid var(--st-ink); }

/* ---- タブレット ---- */
@media (max-width: 1023px) {
  .o-header__nav { display: none; }
  .o-header__tel { margin-left: auto; }
  .o-hero__grid { grid-template-columns: 1fr; }
  .o-hero__photo { margin-right: 14px; }
  .o-sec__grid { grid-template-columns: 1fr; }
  .o-sec__head { position: static; }
  .o-access { grid-template-columns: 1fr; }
  .o-access__map .st-map { aspect-ratio: 4 / 3; }
}

/* ---- スマホ ---- */
@media (max-width: 767px) {
  :root { --wrap: calc(100% - 40px); }
  .o-header__inner { min-height: 58px; gap: 12px; }
  .o-logo__name { font-size: 16px; }
  .o-header__tel .tel-sp { min-height: 38px; padding: 0 12px; border: 1px solid var(--st-ink); font-size: 13px; font-weight: 700; }
  .o-btn--sm { min-height: 38px; padding: 4px 12px; font-size: 13px; }
  .o-hero { padding-top: 32px; }
  .p-full .o-hero__en { margin-top: 22px; font-size: 11px; letter-spacing: 0.22em; }
  .o-hero__catch { font-size: 19px; }
  .o-hero__actions { flex-direction: column; }
  .o-hero__actions .o-btn { width: 100%; }
  .o-hero__photo { margin-top: 8px; }
  .o-hero__photo::before { inset: 10px -10px -10px 10px; }
  .p-full .o-stats { grid-template-columns: repeat(2, 1fr); }
  .p-full .o-stats > div:nth-child(3) { border-left: 0; }
  .p-full .o-stats > div:nth-child(n + 3) { border-top: 1px solid var(--st-line); }
  .p-full .o-stats > div { padding: 18px 12px 18px 0; }
  .p-full .o-stats > div + div { padding-left: 14px; }
  .p-full .o-stats > div:nth-child(3) { padding-left: 0; }
  .o-sec { padding-block: 64px; }
  .o-sec__title { font-size: 24px; }
  .o-facts { grid-template-columns: repeat(2, 1fr); }
  .o-facts > div { padding: 14px 12px 14px 0; }
  .o-facts dd { font-size: 17px; }
  .o-facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .o-facts > div:nth-child(n + 3) { border-top: 1px solid var(--st-line); }
  .p-full .o-service { grid-template-columns: 36px minmax(0, 1fr); padding: 22px 0; }
  .o-service__fee { grid-column: 2; text-align: left; padding-top: 6px; color: var(--st-accent); }
  .p-full .o-consult { grid-template-columns: 1fr; }
  .o-consult__price { grid-row: auto; }
  .p-full .o-fees thead { display: none; }
  .p-full .o-fees, .p-full .o-fees tbody, .p-full .o-fees tr, .p-full .o-fees th, .p-full .o-fees td { display: block; width: 100% !important; }
  .p-full .o-fees { border-top: 1px solid var(--rule); }
  .p-full .o-fees tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 16px 0; border-bottom: 1px solid var(--st-line); }
  .p-full .o-fees tbody th, .p-full .o-fees td { padding: 0; border: 0; }
  .o-fees__detail { grid-column: 1 / -1; grid-row: 2; }
  .o-fees__price { grid-column: 2; grid-row: 1; }
  .p-full .o-person { grid-template-columns: 1fr; }
  .o-person__photo { max-width: 300px; }
  .p-full .o-career > div { grid-template-columns: 84px minmax(0, 1fr); gap: 10px; font-size: 14.5px; }
  .p-full .o-cases { grid-template-columns: 1fr; }
  .p-full .o-flow { grid-template-columns: 1fr; border-top: 0; }
  .p-full .o-flow li, .p-full .o-flow li + li { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 8px; padding: 18px 0; border-left: 0; border-top: 1px solid var(--st-line); }
  .p-full .o-flow li:first-child { border-top-color: var(--rule); }
  .o-flow__no { grid-row: span 3; font-size: 24px; }
  .p-full .o-flow h3 { margin-top: 0; }
  .p-full .o-flow p, .o-flow__time { grid-column: 2; justify-self: start; }
  .o-cta__inner { grid-template-columns: 1fr; }
  .o-cta__actions .o-btn { width: 100%; }
  .p-full .o-dl > div, .o-dl--flat { grid-template-columns: 84px minmax(0, 1fr); }
  .p-full .o-hours th { width: 94px; }
}

/* 横長の写真(業務内容の下・相談の流れの上) */
.p-full .o-band, .o-flow__photo { margin: 36px 0 0; }
.o-flow__photo { margin: 0 0 32px; }
.p-full .o-band img, .o-flow__photo img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
@media (max-width: 767px) { .o-band img, .o-flow__photo img { aspect-ratio: 16 / 9; } }
