/* =========================================================
   税理士法人 しんかわ会計 — コーポレートサイト
   方針：余白を生かした清潔感・信頼感。装飾は最小限、写真を主役に。
   デザイントークンは :root に集約。
   ========================================================= */
:root {
  /* 配色 */
  --bg:        #ffffff;
  --bg-soft:   #f5f8fb;   /* セクション交互の薄い背景 */
  --bg-warm:   #eef3f8;   /* テーブル見出し等 */
  --ink:       #243039;   /* 本文 */
  --ink-soft:  #5a6873;   /* 補足テキスト */
  --line:      #e6ecf2;   /* 罫線 */

  --navy:      #143a5c;   /* メイン：信頼の濃紺 */
  --navy-deep: #0e2a44;
  --teal:      #1c87a6;   /* アクセント */
  --teal-soft: #e7f1f5;
  --cta:       #e8801f;   /* CTA：暖色 */

  /* タイポ */
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans:  "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;

  /* レイアウト */
  --maxw: 1140px;
  --radius: 16px;
  --shadow: 0 14px 40px rgba(20, 58, 92, .08);
  --shadow-lg: 0 26px 60px rgba(20, 58, 92, .14);
  --header-h: 80px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- リセット ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.9;
  font-size: 16px;
  letter-spacing: .02em;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; color: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1,h2,h3,h4 { margin: 0; line-height: 1.5; font-weight: 700; }
p { margin: 0 0 1em; }
strong { color: var(--navy); }

/* ---------- ユーティリティ ---------- */
.sp-only { display: none; }
.container { width: min(90%, var(--maxw)); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 132px) 0; }
.section--soft { background: var(--bg-soft); }
.text-center { text-align: center; }
.lead { color: var(--ink-soft); font-size: 1.05rem; line-height: 2; }

/* 共通：小見出しラベル（英字をトラッキングした上品なサンセリフ） */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .76rem; font-weight: 700; letter-spacing: .26em;
  text-transform: uppercase; color: var(--teal);
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; flex: none; }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; width: 28px; height: 1.5px; background: currentColor; flex: none; }

/* セクション見出し */
.sec-head { text-align: center; margin-bottom: clamp(48px, 6vw, 72px); }
.sec-head .eyebrow { margin-bottom: 18px; }
.sec-head h2 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.8vw, 2.5rem);
  color: var(--navy); letter-spacing: .04em; line-height: 1.4;
}
.sec-head .desc { margin-top: 22px; color: var(--ink-soft); }
.sec-head--left { text-align: left; }
.sec-head--left .eyebrow { justify-content: flex-start; }

/* 数字（信頼の数字・料金・年号など）：太いサンセリフ＋等幅数字 */
.num { font-family: var(--sans); font-weight: 700; font-feature-settings: "tnum"; letter-spacing: 0; }

/* ---------- ボタン（並べたとき必ず同サイズになるよう設計） ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 58px; padding: 0 32px;
  border-radius: 999px;
  font-weight: 700; font-size: 1rem; letter-spacing: .04em;
  border: 2px solid transparent;   /* 全ボタン共通でborder分を確保し高さを揃える */
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--cta { background: var(--cta); border-color: var(--cta); color: #fff; box-shadow: 0 10px 24px rgba(232,128,31,.32); }
.btn--cta:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(232,128,31,.42); }
.btn--navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn--navy:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn--ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); transform: translateY(-3px); }
.btn--ghost-navy { border-color: var(--navy); color: var(--navy); }
.btn--ghost-navy:hover { background: var(--navy); color: #fff; transform: translateY(-3px); }
.btn--block { width: 100%; }
/* 横並びボタン群：同じ幅・高さに揃える */
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-row .btn { flex: 1 1 0; min-width: 220px; }

/* =========================================================
   ヘッダー
   ========================================================= */
.header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 100;
  display: flex; align-items: center; transition: background .35s, box-shadow .35s, height .35s;
}
.header__inner { width: min(94%, 1240px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand__mark { width: 44px; height: 44px; flex: none; }
.brand__text { line-height: 1.3; }
.brand__name { font-family: var(--serif); font-weight: 700; font-size: 1.2rem; color: #fff; letter-spacing: .06em; transition: color .35s; }
.brand__sub { font-size: .62rem; font-weight: 500; letter-spacing: .2em; color: rgba(255,255,255,.72); transition: color .35s; }

/* 注意：ヘッダーに backdrop-filter を付けると、その中の固定ドロワー（gnav）が
   ヘッダーの矩形に閉じ込められ「上だけ・背景なし」で出る不具合になる。
   そのため blur は使わず、不透明に近い背景色のみで表現する。 */
.header.scrolled { background: rgba(255,255,255,.98); box-shadow: 0 6px 24px rgba(20,58,92,.07); height: 68px; }
.header.scrolled .brand__name { color: var(--navy); }
.header.scrolled .brand__sub { color: var(--teal); }
.header.scrolled .gnav a:not(.nav-cta) { color: var(--ink); }

/* 透明ヘッダーがライト背景に重なるページ用（下層ページ・ライトヒーロー） */
.header--solid { background: rgba(255,255,255,.97); box-shadow: 0 6px 24px rgba(20,58,92,.07); }
.header--solid .brand__name { color: var(--navy); }
.header--solid .brand__sub { color: var(--teal); }
.header--solid .gnav a:not(.nav-cta) { color: var(--ink); }
.header--solid .burger span { background: var(--navy); }

.gnav ul { display: flex; align-items: center; gap: 22px; }
.gnav a { position: relative; color: #fff; font-weight: 500; font-size: .92rem; letter-spacing: .02em; padding: 6px 0; transition: color .25s; white-space: nowrap; }
.gnav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--cta); transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease); }
.gnav a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: left; }
.gnav a.nav-cta { background: var(--cta); color: #fff !important; padding: 11px 26px; border-radius: 999px; box-shadow: 0 6px 16px rgba(232,128,31,.32); }
.gnav a.nav-cta:hover { transform: translateY(-2px); }

.burger { display: none; width: 46px; height: 46px; position: relative; z-index: 110; }
.burger span { position: absolute; left: 11px; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .2s, background .35s; }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.header.scrolled .burger span, .menu-open .burger span { background: var(--navy); }
.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =========================================================
   ヒーロー（全面背景写真＋白パネルで視認性を確保）
   背景画像にはフィルターをかけず、文字は白パネル上に置く
   ========================================================= */
.hero { position: relative; min-height: clamp(560px, 88vh, 800px); display: flex; align-items: center; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__inner {
  position: relative; z-index: 1;
  width: min(92%, var(--maxw)); margin-inline: auto;
  padding: calc(var(--header-h) + clamp(36px, 5vw, 64px)) 0 clamp(40px, 5vw, 64px);
}
.hero__panel {
  position: relative;
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: blur(20px) saturate(1.25); backdrop-filter: blur(20px) saturate(1.25);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 20px; box-shadow: 0 26px 64px rgba(14,42,68,.30);
  padding: clamp(32px, 4vw, 52px) clamp(28px, 3.5vw, 48px); max-width: 560px;
  overflow: hidden;
}
.hero__cta { margin-top: 4px; }
.hero__panel .eyebrow { margin-bottom: 22px; color: var(--teal); }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.45; letter-spacing: .04em;
  color: var(--navy); margin-bottom: 22px;
}
.hero h1 .accent { color: var(--cta); }
.hero__sub { font-size: clamp(.98rem, 1.3vw, 1.08rem); color: var(--ink-soft); margin-bottom: 30px; }
.hero__panel .btn-row { max-width: 100%; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 26px;
  padding: 12px 18px; background: var(--teal-soft); border-radius: 12px;
}
.hero__badge .icon { width: 34px; height: 34px; border-radius: 8px; background: var(--teal); color: #fff; display: grid; place-items: center; flex: none; }
.hero__badge .icon svg { width: 20px; height: 20px; }
.hero__badge .num { font-size: 1.05rem; color: var(--navy); line-height: 1.2; }
.hero__badge .label { font-size: .76rem; color: var(--ink-soft); }

/* 信頼の数字バー */
.stats { background: var(--navy); }
.stats__inner { display: grid; grid-template-columns: repeat(4,1fr); }
.stat { padding: clamp(28px, 4vw, 44px) 16px; text-align: center; color: #fff; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 24%; height: 52%; width: 1px; background: rgba(255,255,255,.16); }
.stat .num { font-size: clamp(2.2rem, 4.2vw, 3.1rem); line-height: 1; color: #fff; }
.stat .num .unit { font-size: .38em; margin-left: 4px; font-weight: 700; }
.stat .label { font-size: .82rem; color: rgba(255,255,255,.78); letter-spacing: .08em; margin-top: 12px; }

/* =========================================================
   下層ページ共通ヘッダー（写真＋濃紺オーバーレイ）
   ========================================================= */
.page-hero { position: relative; padding: calc(var(--header-h) + 76px) 0 70px; color: #fff; text-align: center; overflow: hidden; }
.page-hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(120deg, rgba(14,42,68,.92), rgba(20,58,92,.82) 55%, rgba(28,135,166,.66)),
    url("../images/cityscape.jpg") center/cover no-repeat,
    var(--navy);
}
.page-hero .eyebrow { color: #ffd9b0; justify-content: center; margin-bottom: 14px; }
.page-hero h1 { font-family: var(--serif); font-size: clamp(1.9rem, 5vw, 2.7rem); letter-spacing: .06em; }
.breadcrumb { margin-top: 16px; font-size: .82rem; color: rgba(255,255,255,.82); }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }

/* =========================================================
   選ばれる理由（画像＋文章の交互2列）
   ========================================================= */
.reasons { display: flex; flex-direction: column; gap: clamp(48px, 7vw, 96px); }
.reason { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.reason:nth-child(even) .reason__media { order: 2; }
.reason__media { position: relative; }
.reason__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }
.reason__media .no {
  position: absolute; top: -20px; left: -20px;
  width: 76px; height: 76px; border-radius: 18px; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-family: var(--serif); font-size: 1.7rem; box-shadow: var(--shadow);
}
.reason:nth-child(even) .reason__media .no { left: auto; right: -20px; }
.reason__body .eyebrow { margin-bottom: 16px; }
.reason__body h3 { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 1.9rem); color: var(--navy); margin-bottom: 18px; line-height: 1.5; }
.reason__body p { color: var(--ink-soft); margin: 0; }

/* =========================================================
   サービスカード（トップの抜粋）
   ========================================================= */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.svc-card {
  position: relative; display: flex; gap: 22px; padding: 34px;
  background: var(--bg); border-radius: var(--radius); border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-card__icon { flex: none; width: 58px; height: 58px; border-radius: 14px; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; transition: background .35s, color .35s; }
.svc-card:hover .svc-card__icon { background: var(--navy); color: #fff; }
.svc-card__icon svg { width: 28px; height: 28px; }
.svc-card h3 { font-family: var(--serif); font-size: 1.25rem; color: var(--navy); margin-bottom: 10px; }
.svc-card p { color: var(--ink-soft); font-size: .92rem; margin-bottom: 14px; }
.svc-card .more { color: var(--teal); font-weight: 700; font-size: .88rem; display: inline-flex; align-items: center; gap: 6px; }
.svc-card .more svg { width: 15px; height: 15px; transition: transform .25s; }
.svc-card:hover .more svg { transform: translateX(4px); }

/* =========================================================
   サービス詳細ページ（画像＋文章の交互）
   ========================================================= */
.svc-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 64px); align-items: center; padding: clamp(44px, 6vw, 76px) 0; }
.svc-detail + .svc-detail { border-top: 1px solid var(--line); }
.svc-detail:nth-child(even) .svc-detail__media { order: 2; }
.svc-detail__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }
.svc-detail__no { display: inline-block; font-family: var(--serif); font-size: 1.1rem; color: var(--cta); letter-spacing: .1em; margin-bottom: 6px; }
.svc-detail h2 { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2rem); color: var(--navy); margin-bottom: 18px; line-height: 1.45; }
.svc-detail h2 .tag { display: inline-block; font-family: var(--sans); font-size: .72rem; font-weight: 700; background: var(--teal-soft); color: var(--teal); padding: 5px 13px; border-radius: 999px; margin-left: 10px; vertical-align: middle; letter-spacing: .04em; }
.svc-detail__list { margin: 22px 0; }
.svc-detail__list li { position: relative; padding: 10px 0 10px 32px; border-bottom: 1px dashed var(--line); font-size: .96rem; }
.svc-detail__list li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 17px; height: 17px; background: var(--teal); -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 6L9 17l-5-5"/></svg>') center/contain no-repeat; mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 6L9 17l-5-5"/></svg>') center/contain no-repeat; }
.price-box { display: inline-flex; flex-direction: column; gap: 2px; background: var(--bg-soft); border-radius: 12px; padding: 16px 24px; margin-top: 8px; }
.price-box .label { font-size: .78rem; color: var(--ink-soft); letter-spacing: .08em; }
.price-box .price { font-family: var(--serif); font-size: 1.5rem; color: var(--navy); }
.price-box .price small { font-size: .58em; color: var(--ink-soft); }

/* =========================================================
   料金プラン
   ========================================================= */
.pricing { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; align-items: stretch; }
.plan { display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 30px; text-align: center; position: relative; transition: transform .35s var(--ease), box-shadow .35s; }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan--featured { border: 2px solid var(--cta); box-shadow: var(--shadow); }
.plan--featured::before { content: "おすすめ"; position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--cta); color: #fff; font-size: .76rem; font-weight: 700; padding: 6px 20px; border-radius: 999px; letter-spacing: .06em; }
.plan h3 { font-family: var(--serif); color: var(--navy); font-size: 1.35rem; }
.plan .target { font-size: .82rem; color: var(--ink-soft); margin: 8px 0 22px; }
.plan .amount { font-family: var(--sans); font-weight: 700; font-size: 2.7rem; color: var(--navy); line-height: 1; font-feature-settings: "tnum"; }
.plan .amount small { font-size: .34em; color: var(--ink-soft); font-weight: 700; }
.plan .unit { font-size: .8rem; color: var(--ink-soft); margin-bottom: 24px; }
.plan ul { text-align: left; margin: 0 0 28px; flex: 1; }
.plan ul li { padding: 9px 0 9px 28px; position: relative; font-size: .92rem; border-bottom: 1px dashed var(--line); }
.plan ul li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 16px; height: 16px; background: var(--teal); -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 6L9 17l-5-5"/></svg>') center/contain no-repeat; mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 6L9 17l-5-5"/></svg>') center/contain no-repeat; }

/* =========================================================
   ご相談の流れ
   ========================================================= */
.steps { counter-reset: step; display: grid; gap: 0; max-width: 760px; margin-inline: auto; }
.step { position: relative; display: flex; gap: 26px; padding: 0 0 42px 0; }
.step:last-child { padding-bottom: 0; }
.step::before { counter-increment: step; content: counter(step); flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: 1.35rem; display: grid; place-items: center; z-index: 1; }
.step:not(:last-child)::after { content: ""; position: absolute; left: 27px; top: 56px; bottom: 6px; width: 2px; background: var(--line); }
.step__body { padding-top: 8px; }
.step__body h3 { font-family: var(--serif); color: var(--navy); font-size: 1.2rem; margin-bottom: 6px; }
.step__body p { color: var(--ink-soft); font-size: .94rem; margin: 0; }

/* =========================================================
   お知らせ / ブログ
   カテゴリのバッジは統一トーン（多色にしない）
   ========================================================= */
.news-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.news-row { display: grid; grid-template-columns: 120px 96px 1fr auto; gap: 22px; align-items: center; padding: 24px 12px; border-bottom: 1px solid var(--line); transition: background .25s; }
.news-row:hover { background: var(--bg-soft); }
.news-row__date { font-family: var(--sans); font-weight: 700; font-feature-settings: "tnum"; color: var(--ink-soft); font-size: .96rem; letter-spacing: .02em; }
.cat-badge { justify-self: start; font-size: .74rem; font-weight: 700; padding: 5px 14px; border-radius: 6px; white-space: nowrap; letter-spacing: .04em; background: var(--bg-warm); color: var(--navy); border: 1px solid var(--line); }
/* 「重要」だけ控えめに強調（それ以外は統一トーン） */
.cat-重要 { background: #fbeee4; color: #c2641a; border-color: #f3d9c3; }
.news-row__title { color: var(--ink); font-weight: 500; }
.news-row:hover .news-row__title { color: var(--navy); }
.news-row__arrow { color: var(--teal); display: flex; }
.news-row__arrow svg { width: 18px; height: 18px; transition: transform .25s; }
.news-row:hover .news-row__arrow svg { transform: translateX(4px); }

/* ブログカード */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.blog-card { display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-card__thumb { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--navy), var(--teal)); display: grid; place-items: center; color: rgba(255,255,255,.85); }
.blog-card__thumb svg { width: 26%; height: 26%; opacity: .85; }
.blog-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.blog-card__meta { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.blog-card__date { font-family: var(--sans); font-weight: 700; font-feature-settings: "tnum"; color: var(--ink-soft); font-size: .88rem; }
.blog-card h3 { font-size: 1.1rem; color: var(--navy); line-height: 1.6; margin-bottom: 10px; }
.blog-card p { color: var(--ink-soft); font-size: .88rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 絞り込み */
.filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 48px; }
.filter button { padding: 10px 24px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .88rem; font-weight: 500; color: var(--ink-soft); transition: all .25s; }
.filter button:hover { border-color: var(--teal); color: var(--teal); }
.filter button.active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* 記事詳細 */
.article { max-width: 760px; margin-inline: auto; }
.article__meta { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.article__date { font-family: var(--sans); font-weight: 700; font-feature-settings: "tnum"; color: var(--ink-soft); }
.article h1 { font-family: var(--serif); font-size: clamp(1.5rem, 3.5vw, 2.1rem); color: var(--navy); line-height: 1.55; margin-bottom: 30px; padding-bottom: 26px; border-bottom: 2px solid var(--line); }
.article__body { font-size: 1.04rem; }
.article__body h2 { font-family: var(--serif); color: var(--navy); font-size: 1.4rem; margin: 44px 0 16px; padding-left: 16px; border-left: 4px solid var(--cta); }
.article__body h3 { color: var(--navy); font-size: 1.16rem; margin: 30px 0 10px; }
.article__body p { margin-bottom: 1.5em; }
.article__body ul { margin: 0 0 1.5em; }
.article__body ul li { position: relative; padding: 7px 0 7px 26px; }
.article__body ul li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.article__body blockquote { margin: 26px 0; padding: 20px 26px; background: var(--bg-soft); border-left: 4px solid var(--teal); border-radius: 0 10px 10px 0; color: var(--ink-soft); }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 46px; color: var(--teal); font-weight: 700; }
.back-link svg { width: 18px; height: 18px; }

/* =========================================================
   会社情報
   ========================================================= */
.message-block { display: grid; grid-template-columns: 420px 1fr; gap: clamp(36px, 5vw, 64px); align-items: center; }
.message-block__photo { position: relative; }
.message-block__photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }
.message-block__photo .cap { position: absolute; left: 20px; bottom: 20px; background: rgba(14,42,68,.86); color: #fff; padding: 12px 20px; border-radius: 12px; backdrop-filter: blur(4px); }
.message-block__photo .cap .role { font-size: .74rem; opacity: .85; }
.message-block__photo .cap .name { font-family: var(--serif); font-size: 1.2rem; }
.message-block h2 { font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2rem); color: var(--navy); margin-bottom: 22px; line-height: 1.6; }
.message-block p { color: var(--ink-soft); }
.message-block .sign { margin-top: 22px; font-family: var(--serif); color: var(--navy); }
.message-block .sign b { font-size: 1.35rem; margin-left: 8px; }

.info-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line); }
.info-table th, .info-table td { padding: 20px 22px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .96rem; }
.info-table th { width: 210px; background: var(--bg-warm); color: var(--navy); font-weight: 700; }
.info-table td { color: var(--ink-soft); }

.access { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.access__map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 340px; }
.access__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.access__info { display: flex; flex-direction: column; justify-content: center; }
.access__info h3 { font-family: var(--serif); color: var(--navy); font-size: 1.35rem; margin-bottom: 14px; }

/* 沿革 */
.timeline { max-width: 720px; margin-inline: auto; position: relative; }
.timeline::before { content: ""; position: absolute; left: 96px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.tl-row { display: grid; grid-template-columns: 96px 1fr; gap: 0; padding-bottom: 32px; position: relative; }
.tl-row:last-child { padding-bottom: 0; }
.tl-row__year { font-family: var(--sans); font-weight: 700; font-feature-settings: "tnum"; font-size: 1.25rem; color: var(--navy); text-align: right; padding-right: 26px; line-height: 1.3; }
.tl-row__body { position: relative; padding-left: 40px; }
.tl-row__body::before { content: ""; position: absolute; left: -6px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--teal); border: 3px solid var(--bg); box-shadow: 0 0 0 2px var(--teal); }
.tl-row__body p { margin: 0; color: var(--ink-soft); font-size: .94rem; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { max-width: 800px; margin-inline: auto; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 14px; overflow: hidden; background: var(--bg); transition: box-shadow .25s; }
.faq-item.open { box-shadow: var(--shadow); }
.faq-q { display: flex; align-items: center; gap: 16px; width: 100%; padding: 24px; text-align: left; font-weight: 700; color: var(--navy); font-size: 1rem; }
.faq-q .q { flex: none; width: 30px; height: 30px; border-radius: 8px; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; }
.faq-q .ic { margin-left: auto; flex: none; width: 22px; height: 22px; position: relative; }
.faq-q .ic::before, .faq-q .ic::after { content: ""; position: absolute; background: var(--teal); border-radius: 2px; transition: transform .3s; }
.faq-q .ic::before { left: 0; top: 10px; width: 22px; height: 2px; }
.faq-q .ic::after { left: 10px; top: 0; width: 2px; height: 22px; }
.faq-item.open .faq-q .ic::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a__inner { padding: 0 24px 26px 70px; color: var(--ink-soft); font-size: .95rem; }

/* =========================================================
   CTA帯（ビル写真背景）
   ========================================================= */
.cta-band { position: relative; color: #fff; text-align: center; padding: clamp(72px, 9vw, 116px) 0; overflow: hidden; }
.cta-band__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(120deg, rgba(14,42,68,.93), rgba(20,58,92,.82) 55%, rgba(28,135,166,.72)),
    url("../images/cta-building.jpg") center 30%/cover no-repeat,
    var(--navy);
}
.cta-band .eyebrow { color: #ffd9b0; justify-content: center; margin-bottom: 16px; }
.cta-band h2 { font-family: var(--serif); font-size: clamp(1.7rem, 4vw, 2.7rem); letter-spacing: .05em; margin-bottom: 16px; line-height: 1.45; }
.cta-band p { color: rgba(255,255,255,.92); margin-bottom: 36px; }
.cta-band__btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-band__btns .btn { min-width: 240px; }
.cta-band__phone { margin-top: 30px; font-size: .86rem; color: rgba(255,255,255,.82); display: flex; flex-direction: column; align-items: center; gap: 4px; letter-spacing: .08em; }
.cta-band__phone a { font-family: var(--sans); font-weight: 700; font-feature-settings: "tnum"; font-size: 1.9rem; color: #fff; letter-spacing: .03em; line-height: 1.1; }

/* =========================================================
   お問い合わせフォーム
   ========================================================= */
.contact-wrap { display: grid; grid-template-columns: 1fr 360px; gap: 50px; align-items: start; }
.form { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 46px); box-shadow: var(--shadow); }
.form__row { margin-bottom: 22px; }
.form__row label { display: block; font-weight: 700; color: var(--navy); font-size: .92rem; margin-bottom: 8px; }
.form__row label .req { color: #fff; background: var(--cta); font-size: .68rem; padding: 2px 9px; border-radius: 4px; margin-left: 8px; vertical-align: middle; }
.form__row label .opt { color: var(--ink-soft); background: var(--bg-warm); font-size: .68rem; padding: 2px 9px; border-radius: 4px; margin-left: 8px; vertical-align: middle; }
.form input, .form select, .form textarea { width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 10px; font-family: inherit; font-size: .96rem; color: var(--ink); background: var(--bg-soft); transition: border-color .2s, background .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--teal); background: #fff; }
.form textarea { resize: vertical; min-height: 130px; }
.form__note { font-size: .82rem; color: var(--ink-soft); margin: 4px 0 20px; }
.form__submit { width: 100%; height: 60px; font-size: 1.05rem; }
.form-aside { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 38px 32px; }
.form-aside h3 { font-family: var(--serif); font-size: 1.35rem; margin-bottom: 8px; }
.form-aside p { color: rgba(255,255,255,.85); font-size: .9rem; }
.form-aside .tel { font-family: var(--sans); font-weight: 700; font-feature-settings: "tnum"; font-size: 2rem; margin: 10px 0 2px; letter-spacing: .02em; }
.form-aside .hours { font-size: .82rem; color: rgba(255,255,255,.75); }
.form-aside hr { border: none; border-top: 1px solid rgba(255,255,255,.18); margin: 28px 0; }
.form-aside ul li { padding: 8px 0 8px 28px; position: relative; font-size: .9rem; color: rgba(255,255,255,.9); }
.form-aside ul li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 15px; height: 15px; background: var(--cta); -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 6L9 17l-5-5"/></svg>') center/contain no-repeat; mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 6L9 17l-5-5"/></svg>') center/contain no-repeat; }
.form-success { display: none; text-align: center; padding: 44px 20px; }
.form-success.show { display: block; }
.form-success svg { width: 64px; height: 64px; color: var(--teal); margin: 0 auto 16px; }
.form-success h3 { font-family: var(--serif); color: var(--navy); font-size: 1.4rem; margin-bottom: 10px; }

/* =========================================================
   フッター
   ========================================================= */
.footer { background: var(--navy-deep); color: rgba(255,255,255,.78); padding: 72px 0 0; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__sub { color: var(--teal); }
.footer__brand p { font-size: .88rem; margin-top: 20px; max-width: 30ch; }
.footer__col h4 { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: #fff; margin-bottom: 18px; font-weight: 700; }
.footer__col ul li { margin-bottom: 11px; }
.footer__col a { font-size: .9rem; transition: color .2s, padding .2s; }
.footer__col a:hover { color: #fff; padding-left: 4px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; font-size: .8rem; flex-wrap: wrap; gap: 10px; }
.footer__note { font-size: .76rem; color: rgba(255,255,255,.5); padding-bottom: 26px; line-height: 1.7; }

/* =========================================================
   追従CTA
   ========================================================= */
.float-cta { position: fixed; right: 26px; bottom: 26px; z-index: 90; opacity: 0; visibility: hidden; transform: translateY(20px); transition: all .4s var(--ease); }
.float-cta.show { opacity: 1; visibility: visible; transform: translateY(0); }
.float-cta a { display: inline-flex; align-items: center; gap: 10px; background: var(--cta); color: #fff; padding: 16px 26px; border-radius: 999px; font-weight: 700; box-shadow: 0 10px 30px rgba(232,128,31,.42); animation: pulse 2.4s infinite; }
.float-cta svg { width: 20px; height: 20px; }
@keyframes pulse { 0%{box-shadow:0 10px 30px rgba(232,128,31,.42),0 0 0 0 rgba(232,128,31,.4)} 70%{box-shadow:0 10px 30px rgba(232,128,31,.42),0 0 0 16px rgba(232,128,31,0)} 100%{box-shadow:0 10px 30px rgba(232,128,31,.42),0 0 0 0 rgba(232,128,31,0)} }
.sp-bar { display: none; }

/* =========================================================
   スクロールリビール
   ========================================================= */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 980px) {
  .hero__bg img { object-position: 68% center; }
  .stats__inner { grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(3)::before { display: none; }
  .svc-grid { grid-template-columns: 1fr; }
  .pricing, .blog-grid { grid-template-columns: repeat(2,1fr); }
  .message-block { grid-template-columns: 1fr; }
  .message-block__photo { max-width: 460px; }
  .contact-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .sp-only { display: revert; }
  .sp-hide { display: none; }

  .burger { display: block; }
  .gnav { position: fixed; inset: 0; background: #ffffff; transform: translateX(100%); transition: transform .4s var(--ease); display: flex; align-items: center; justify-content: center; }
  .menu-open .gnav { transform: translateX(0); }
  .gnav ul { flex-direction: column; gap: 26px; text-align: center; }
  .gnav a { color: var(--navy) !important; font-size: 1.2rem; font-family: var(--serif); }
  .gnav a.nav-cta { color: #fff !important; font-family: var(--sans); }

  .hero { min-height: 0; padding: calc(var(--header-h) + 36px) 0 44px; }
  .hero__bg img { object-position: 65% center; }
  .hero__panel { background: rgba(255,255,255,.95); max-width: 100%; }

  .stats__inner { grid-template-columns: 1fr 1fr; }

  .pricing, .blog-grid { grid-template-columns: 1fr; }

  /* 選ばれる理由：縦積み（画像→文章） */
  .reason { grid-template-columns: 1fr; gap: 24px; }
  .reason:nth-child(even) .reason__media { order: 0; }
  .reason__media .no { width: 60px; height: 60px; font-size: 1.4rem; top: -16px; left: -12px; }
  .reason:nth-child(even) .reason__media .no { right: auto; left: -12px; }

  .svc-detail { grid-template-columns: 1fr; gap: 26px; }
  .svc-detail:nth-child(even) .svc-detail__media { order: 0; }

  .access { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer__brand { grid-column: 1 / -1; }

  /* お知らせ：縦積み */
  .news-row { grid-template-columns: 1fr; gap: 10px; padding: 20px 8px; }
  .news-row__meta { display: flex; align-items: center; gap: 12px; }
  .news-row__arrow { display: none; }

  /* 会社概要テーブル：定義リスト化 */
  .info-table, .info-table tbody, .info-table tr, .info-table th, .info-table td { display: block; width: 100%; }
  .info-table tr { border-bottom: 1px solid var(--line); padding: 6px 0; }
  .info-table th { background: transparent; color: var(--teal); padding: 12px 4px 2px; font-size: .82rem; }
  .info-table td { padding: 0 4px 12px; border: none; }

  .timeline::before { left: 70px; }
  .tl-row { grid-template-columns: 70px 1fr; gap: 0; }
  .tl-row__year { padding-right: 18px; font-size: 1.1rem; }
  .tl-row__body { padding-left: 30px; }

  /* SP下部固定バー */
  .float-cta { display: none; }
  .sp-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; transform: translateY(100%); transition: transform .4s var(--ease); box-shadow: 0 -4px 20px rgba(0,0,0,.12); }
  .sp-bar.show { transform: translateY(0); }
  .sp-bar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 8px; font-weight: 700; font-size: .92rem; color: #fff; }
  .sp-bar a svg { width: 18px; height: 18px; }
  .sp-bar .tel { background: var(--navy); }
  .sp-bar .form { background: var(--cta); border: none; border-radius: 0; padding: 16px 8px; box-shadow: none; }
}

@media (max-width: 420px) {
  .btn-row .btn { min-width: 100%; }
  .stat .num { font-size: 2rem; }
}

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

/* =========================================================
   ブログ アイキャッチ / 記事ヒーロー画像
   ========================================================= */
.blog-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.article__hero { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 16px; margin: 0 0 32px; box-shadow: var(--shadow); }

/* =========================================================
   拠点一覧
   ========================================================= */
.offices-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.office-card { display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.office-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.office-card__thumb { aspect-ratio: 16/10; overflow: hidden; }
.office-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.office-card:hover .office-card__thumb img { transform: scale(1.05); }
.office-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.office-card__en { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); }
.office-card h3 { font-family: var(--serif); color: var(--navy); font-size: 1.35rem; margin: 6px 0 12px; }
.office-card__addr { color: var(--ink-soft); font-size: .9rem; margin-bottom: 16px; flex: 1; }
.office-card .more { color: var(--teal); font-weight: 700; font-size: .88rem; display: inline-flex; align-items: center; gap: 6px; }
.office-card .more svg { width: 15px; height: 15px; transition: transform .25s; }
.office-card:hover .more svg { transform: translateX(4px); }

/* =========================================================
   拠点詳細
   ========================================================= */
.office-hero img { width: 100%; aspect-ratio: 21/9; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }
.office-lead { max-width: 820px; margin: 36px 0 8px; font-size: 1.08rem; }
.office-cols { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start; margin-top: 24px; }
.office-h2 { font-family: var(--serif); font-size: 1.5rem; color: var(--navy); margin: 44px 0 20px; padding-left: 16px; border-left: 4px solid var(--cta); }
.office-main .office-h2:first-child { margin-top: 0; }
.office-strengths { display: grid; gap: 18px; }
.office-strength { display: flex; gap: 18px; background: var(--bg-soft); border-radius: 14px; padding: 22px 24px; }
.office-strength__no { flex: none; font-family: var(--serif); font-size: 1.3rem; color: var(--cta); }
.office-strength h3 { font-family: var(--serif); color: var(--navy); font-size: 1.12rem; margin-bottom: 6px; }
.office-strength p { color: var(--ink-soft); font-size: .94rem; margin: 0; }
.office-services { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.office-services li { position: relative; padding: 8px 0 8px 28px; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.office-services li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 16px; height: 16px; background: var(--teal); -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 6L9 17l-5-5"/></svg>') center/contain no-repeat; mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 6L9 17l-5-5"/></svg>') center/contain no-repeat; }
.office-map { height: 380px; }
.office-map iframe { display: block; width: 100%; height: 100%; }
.office-aside { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: sticky; top: 96px; }
.office-aside h3 { font-family: var(--serif); color: var(--navy); font-size: 1.2rem; margin-bottom: 12px; }

@media (max-width: 900px) {
  .offices-grid { grid-template-columns: repeat(2,1fr); }
  .office-cols { grid-template-columns: 1fr; gap: 32px; }
  .office-aside { position: static; }
  .office-services { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .offices-grid { grid-template-columns: 1fr; }
  .office-hero img { aspect-ratio: 16/10; }
}

/* =========================================================
   経営理念
   ========================================================= */
.philosophy__lead { text-align: center; font-family: var(--serif); color: var(--navy); font-size: clamp(1.6rem, 4vw, 2.6rem); line-height: 1.6; letter-spacing: .04em; margin-bottom: 28px; }
.philosophy__lead .accent { color: var(--cta); }
.values { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 52px; }
.value { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px; text-align: center; transition: transform .35s var(--ease), box-shadow .35s; }
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.value__icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; }
.value__icon svg { width: 30px; height: 30px; }
.value h3 { font-family: var(--serif); color: var(--navy); font-size: 1.2rem; margin-bottom: 10px; }
.value p { color: var(--ink-soft); font-size: .92rem; margin: 0; }
@media (max-width: 768px){ .values { grid-template-columns: 1fr; } }

/* =========================================================
   料金表
   ========================================================= */
.price-section { max-width: 920px; margin-inline: auto; }
.price-section + .price-section { margin-top: 64px; }
.price-section__head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.price-section__head .ic { width: 44px; height: 44px; border-radius: 10px; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; flex: none; }
.price-section__head .ic svg { width: 24px; height: 24px; }
.price-section__head h3 { font-family: var(--serif); color: var(--navy); font-size: 1.4rem; }
.price-table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: 12px; box-shadow: var(--shadow); }
.price-table th, .price-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: .95rem; }
.price-table thead th { background: var(--navy); color: #fff; font-weight: 700; letter-spacing: .04em; }
.price-table tbody th { background: var(--bg-warm); color: var(--navy); font-weight: 700; width: 42%; }
.price-table td { color: var(--ink); background: #fff; }
.price-table .yen { font-family: var(--sans); font-weight: 700; font-feature-settings: "tnum"; color: var(--navy); white-space: nowrap; }
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: none; }
.price-note { font-size: .86rem; color: var(--ink-soft); margin-top: 16px; }
@media (max-width: 600px){
  .price-table th, .price-table td { padding: 12px 12px; font-size: .88rem; }
  .price-table tbody th { width: 46%; }
}

/* =========================================================
   採用案内
   ========================================================= */
.recruit-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,60px); align-items: center; }
.recruit-hero img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }
.recruit-hero h2 { font-family: var(--serif); color: var(--navy); font-size: clamp(1.5rem,3vw,2rem); line-height: 1.5; margin-bottom: 18px; }
.recruit-hero p { color: var(--ink-soft); }
.jobs { display: grid; gap: 20px; max-width: 880px; margin-inline: auto; }
.job { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 32px; background: #fff; transition: box-shadow .25s; }
.job:hover { box-shadow: var(--shadow); }
.job__head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.job__head h3 { font-family: var(--serif); color: var(--navy); font-size: 1.3rem; }
.job__tag { font-size: .74rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: var(--teal-soft); color: var(--teal); }
.job__grid { display: grid; grid-template-columns: 140px 1fr; gap: 4px 18px; font-size: .94rem; }
.job__grid dt { color: var(--navy); font-weight: 700; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.job__grid dd { margin: 0; color: var(--ink-soft); padding: 8px 0; border-bottom: 1px dashed var(--line); }
@media (max-width: 600px){ .recruit-hero { grid-template-columns: 1fr; } .job__grid { grid-template-columns: 1fr; gap: 0; } .job__grid dt { border-bottom: none; padding-bottom: 0; } }

/* =========================================================
   追加調整（拠点詳細サイド表 / 採用見出し / 改行）
   ========================================================= */
/* 拠点詳細の右サイド「拠点情報」表は縦積みのコンパクト表示にする */
.office-aside .info-table { border-top: none; }
.office-aside .info-table tr { display: block; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.office-aside .info-table tr:last-child { border-bottom: none; }
.office-aside .info-table th { display: block; width: auto; background: transparent; color: var(--teal); font-size: .78rem; letter-spacing: .04em; margin: 0; padding: 16px 0; line-height: 1.35; }
.office-aside .info-table td { display: block; margin: 0; padding: 16px 0; font-size: .92rem; line-height: 1.6; }

/* 採用ヒーロー見出し：はみ出し・1文字残りを防ぐサイズ調整 */
.recruit-hero h2 { font-size: clamp(1.35rem, 2.3vw, 1.75rem); line-height: 1.7; }

/* =========================================================
   スマートフォン最適化（追加の上書き）
   ========================================================= */
@media (max-width: 768px) {
  /* ロゴ：日本語と英語を縦積みにする */
  .brand { gap: 10px; }
  .brand__name, .brand__sub { display: block; }
  .brand__name { font-size: 1.1rem; }
  .brand__sub { letter-spacing: .1em; font-size: .56rem; }

  /* ヒーロー：スマホ */
  .hero { min-height: 90vh; align-items: flex-end; }
  .hero__inner { padding: 0 0 22px; }
  .hero__panel { background: rgba(255,255,255,.93); padding: 26px 22px; max-width: 100%; }
  .hero h1 { font-size: clamp(1.55rem, 5.6vw, 1.95rem); margin-bottom: 16px; }
  .hero__sub { margin-bottom: 22px; }

  /* 料金表：縦積みカード化（横スクロールせず読める） */
  .price-table thead { display: none; }
  .price-table, .price-table tbody, .price-table tr, .price-table th, .price-table td { display: block; width: 100%; }
  .price-table { box-shadow: none; }
  .price-table tr { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-bottom: 14px; box-shadow: var(--shadow); }
  .price-table tbody th { background: var(--navy); color: #fff; width: auto; padding: 13px 16px; font-size: .95rem; }
  .price-table td { display: block; padding: 11px 16px; border-bottom: 1px solid var(--line); background: #fff; }
  .price-table tr td:last-child { border-bottom: none; }
  .price-table td::before { content: attr(data-label); display: block; font-weight: 700; color: var(--ink-soft); font-size: .76rem; letter-spacing: .04em; margin-bottom: 3px; }
  .price-table .yen { color: var(--navy); }

  /* 概要・アクセス等の表：TR=余白ゼロ／TH・TDそれぞれに上下16pxのpadding
     （スマホの縦積みテーブルは必ずこの方式で余白を作る） */
  .info-table { border-top: 1px solid var(--line); }
  .info-table tr { padding: 0; margin: 0; border-bottom: 1px solid var(--line); }
  .info-table th { display: block; margin: 0; padding: 16px 0; font-size: .8rem; line-height: 1.35; }
  .info-table td { display: block; margin: 0; padding: 16px 0; line-height: 1.6; }

  /* 拠点詳細：上の画像下・地図下の余白を適正化 */
  .office-lead { margin-top: 22px; }
  .office-cols { gap: 24px; }

  /* フッター：説明文は幅いっぱいに */
  .footer__brand p { max-width: 100%; }

  /* セクション見出し下の説明文は左揃え（中央揃えの長文崩れを防ぐ） */
  .sec-head .desc { text-align: left; }

  /* 事業内容の料金表示：左の余白（カードのインデント）をなくして左端に揃える */
  .price-box { display: block; background: transparent; padding: 0; margin-top: 14px; }
  .price-box .label { color: var(--teal); font-weight: 700; }
}
