@charset "utf-8";
/* ==========================================================================
   濱直樹公認会計士税理士事務所 — サイト共通スタイル
   Naoki Hama Accounting & Tax office
   --------------------------------------------------------------------------
   目次
     01. 変数（色・フォント）
     02. リセット / ベース
     03. アニメーション
     04. レイアウト（コンテナ・セクション）
     05. 装飾パーツ（グロー・リング・巨大数字・樹木モチーフ）
     06. 見出し・テキスト共通
     07. ボタン
     08. ヘッダー / ナビゲーション / ドロワー
     09. フッター
     10. 共通CTA帯
     11. トップページ
     12. 代表からのご挨拶
     13. 代表者経歴等
     14. サービス・業務内容
     15. ニュース
     16. 事務所概要
     17. お問い合わせ
     18. プライバシーポリシー
     19. 印刷用
   ========================================================================== */

/* ==========================================================================
   01. 変数
   ========================================================================== */
:root {
  /* 名刺由来のブランドカラー */
  --c-navy-deep: #08081A;   /* 名刺下部の左端 */
  --c-navy:      #12123A;
  --c-indigo:    #2F2FC4;   /* 名刺下部の右端 */
  --c-indigo-br: #3A3AD5;
  --c-green:     #1F7233;   /* ロゴの濃い緑 */
  --c-sage:      #4E8C5C;   /* ロゴの淡い緑 */

  /* ニュートラル */
  --c-ink:   #171924;
  --c-grey:  #5A5F6E;
  --c-bg:    #F4F5F8;
  --c-white: #FFFFFF;

  /* 罫線 */
  --line:        rgba(18, 18, 58, 0.12);
  --line-soft:   rgba(18, 18, 58, 0.08);
  --line-strong: rgba(18, 18, 58, 0.18);

  /* グラデーション */
  --grad-brand: linear-gradient(90deg, #08081A 0%, #12123A 46%, #2F2FC4 100%);
  --grad-hero:  linear-gradient(90deg, #08081A 0%, #0E0E2C 38%, #1E1E86 78%, #3A3AD5 100%);
  --grad-foot:  linear-gradient(90deg, #08081A 0%, #0F0F30 50%, #22228F 100%);

  /* フォント */
  --font-base: 'IBM Plex Sans JP', 'Noto Sans JP', 'Yu Gothic', YuGothic, 'Hiragino Sans', Meiryo, sans-serif;
  --font-disp: 'Space Grotesk', 'IBM Plex Sans JP', sans-serif;

  /* ヘッダー高さ（JSと連動） */
  --header-h: 116px;
}

/* ==========================================================================
   02. リセット / ベース
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--c-white);
  color: var(--c-ink);
  font-family: var(--font-base);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
/* body に overflow-x:hidden を付けてはいけない。
   付けると body がスクロール領域とみなされ、プライバシーポリシーの
   追従目次（position:sticky）が動作しなくなる。
   横方向のはみ出しは、装飾を持つ各セクション側（.sec--rel 等）で
   個別に抑えている。 */

img { max-width: 100%; border: 0; }
iframe { border: 0; }

a { color: var(--c-indigo); text-decoration: none; }
a:hover { color: var(--c-indigo-br); }

h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.4; letter-spacing: .05em; }
p { margin: 0; }
ul, ol { margin: 0; }
dl, dd { margin: 0; }

button { font-family: inherit; }

/* キーボード操作時のフォーカス表示 */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--c-indigo-br);
  outline-offset: 2px;
}

/* 画面には出さず読み上げのみ */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* 本文へスキップ */
.skip-link {
  position: absolute; top: -60px; left: 12px; z-index: 200;
  padding: 10px 18px; border-radius: 5px;
  background: var(--c-white); color: var(--c-navy);
  transition: top .2s ease-out;
}
.skip-link:focus { top: 12px; }

/* ==========================================================================
   03. アニメーション
   ========================================================================== */
@keyframes nhFade { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes nhGlow { 0%, 100% { opacity: .5; } 50% { opacity: .85; } }
@keyframes nhFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes nhLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes nhTri { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-10px) rotate(3deg); } }

/* スクロール連動フェードイン。
   ・JSが無効な場合は .js が付かないため、内容は最初から表示される。
   ・animation ではなく transition を使うことで、万一アニメーションが
     再生されない環境でも「表示された状態」で確定し、内容が読めなくなることがない。 */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: opacity .74s ease-out, transform .74s ease-out;
  transition-delay: var(--reveal-delay, 0ms);
}

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

/* ==========================================================================
   04. レイアウト
   ========================================================================== */
.container { max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }
.container--1160 { max-width: 1160px; }
.container--1080 { max-width: 1080px; }
.container--1000 { max-width: 1000px; }
.container--960  { max-width: 960px; }
.container--900  { max-width: 900px; }

.site-main { padding-top: var(--header-h); }

.sec        { padding: clamp(64px, 8vw, 110px) 0; }
.sec--mid   { padding: clamp(56px, 7vw, 100px) 0; }
.sec--svc   { padding: clamp(56px, 7vw, 104px) 0; }
.sec--tight { padding: clamp(48px, 6vw, 88px) 0; }
.sec--rel   { position: relative; overflow: hidden; }
.sec--white { background: var(--c-white); position: relative; }
.sec--bg    { background: var(--c-bg); }
.sec--fade  { background: linear-gradient(180deg, #F4F5F8, #FFFFFF); }

/* セクション内の相対配置ブロック（装飾より前面に出す） */
.inner { position: relative; }

/* --------------------------------------------------------------------------
   ページ上部の背景ロゴ
   --------------------------------------------------------------------------
   各ページ最上部の帯（トップページはメインビジュアル、
   下層ページは見出し帯）の右側に、ロゴをそのままの色で大きく配置する。

   ■ 本文と重ならないための仕組み
     ロゴを置く幅のぶんだけ、帯の中の本文枠に右余白を設けている。
     本文はその内側にしか広がらないため、構造的に重ならない。
     ロゴを大きくすれば本文枠の右余白も自動で広がる。

   ■ 画面が狭いとき
     幅768px未満では本文に割ける幅が足りなくなるため、ロゴは非表示になる。

   ■ 調整するとき
     --head-logo    下層ページの見出し帯のロゴの大きさ
     --hero-logo    トップページのメインビジュアルのロゴの大きさ
     --logo-gap     ロゴと本文の最小間隔
     --logo-opacity 1 = そのままの色 ／ 0 = 非表示
   -------------------------------------------------------------------------- */
:root {
  --head-logo: clamp(96px, 14vw, 260px);
  --hero-logo: clamp(160px, 20vw, 340px);
  --logo-gap: 40px;
  --logo-opacity: 1;
  --logo-inset: clamp(20px, 5vw, 48px);   /* コンテンツ枠の左右余白に合わせる */
}

.page-head, .hero { position: relative; overflow: hidden; }

.page-head::after,
.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 50%;
  transform: translateY(-50%);
  right: var(--logo-inset);
  background: url("../img/logo.png") no-repeat center center;
  background-size: contain;
  opacity: var(--logo-opacity);
  pointer-events: none;
  display: none;                 /* 既定は非表示。下のメディアクエリで表示する */
}

.page-head::after { width: var(--head-logo); height: var(--head-logo); }
.hero::after      { width: var(--hero-logo); height: var(--hero-logo); }

/* 本文は必ずロゴより前面に置く */
.page-head > .container,
.hero > .container { position: relative; z-index: 1; }

@media (min-width: 768px) {
  .page-head::after, .hero::after { display: block; }

  /* ロゴの幅ぶん、本文の右側を空ける（重なり防止の要） */
  .page-head > .container {
    padding-right: calc(var(--logo-inset) + var(--head-logo) + var(--logo-gap));
  }
  .hero > .container {
    padding-right: calc(var(--logo-inset) + var(--hero-logo) + var(--logo-gap));
  }

  /* 帯の高さがロゴより低くならないようにする */
  .page-head { min-height: calc(var(--head-logo) + 2 * var(--logo-inset)); }
}

/* アンカー移動時にヘッダーへ潜り込まないように */
[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

/* ==========================================================================
   05. 装飾パーツ
   ========================================================================== */
.deco { position: absolute; pointer-events: none; user-select: none; }

/* ぼんやり光る円 */
.glow { border-radius: 50%; animation: nhGlow 17s ease-in-out infinite; }

/* 細い輪郭の円 */
.ring { border-radius: 50%; }

/* 背景に薄く敷く巨大な数字・英字 */
.bignum {
  font-family: var(--font-disp);
  font-weight: 700;
  line-height: .8;
  letter-spacing: -.03em;
  color: rgba(18, 18, 58, 0.055);
}

/* セクション左端の縦グラデーション帯 */
.railbar {
  top: clamp(30px, 5vw, 80px); left: 0;
  width: 7px; height: clamp(140px, 18vw, 280px);
  background: linear-gradient(180deg, var(--c-indigo), rgba(47, 47, 196, 0));
}

/* ロゴ由来の樹木モチーフ（三角形3枚）
   --s = 高さ、--c = 色 */
.tree { display: inline-flex; flex-direction: column; align-items: center; line-height: 0; }
.tree i {
  display: block; width: 0; height: 0;
  border-style: solid;
  border-color: transparent;
  border-bottom-color: var(--c, var(--c-sage));
  border-bottom-width: var(--s, 10px);
}
.tree i:nth-child(1) { border-left-width: calc(var(--s, 10px) * .87); border-right-width: calc(var(--s, 10px) * .87); }
.tree i:nth-child(2) { margin-top: calc(var(--s, 10px) * -.319); border-left-width: calc(var(--s, 10px) * 1.19); border-right-width: calc(var(--s, 10px) * 1.19); }
.tree i:nth-child(3) { margin-top: calc(var(--s, 10px) * -.319); border-left-width: calc(var(--s, 10px) * 1.50); border-right-width: calc(var(--s, 10px) * 1.50); }
.tree--float { animation: nhTri 26s ease-in-out infinite; }

/* ==========================================================================
   06. 見出し・テキスト共通
   ========================================================================== */
.eyebrow {
  display: block;
  font-family: var(--font-disp);
  font-size: 12.5px; letter-spacing: .3em;
  color: var(--c-indigo);
}
.eyebrow--green { color: var(--c-green); }
.eyebrow--light { color: rgba(255, 255, 255, .66); }

.h2 { margin-top: 14px; font-size: clamp(24.5px, 2.8vw, 38px); color: var(--c-navy); }
.h3 { font-size: 19px; color: var(--c-navy); }

.rule { margin-top: 18px; width: 88px; height: 4px; background: linear-gradient(90deg, var(--c-indigo), var(--c-sage)); }
.rule--indigo { background: linear-gradient(90deg, var(--c-indigo), rgba(47, 47, 196, 0)); }
.rule--green  { background: linear-gradient(90deg, var(--c-green), rgba(31, 114, 51, 0)); }

.lead {
  margin-top: clamp(22px, 2.4vw, 32px);
  max-width: 860px;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.95;
  color: var(--c-ink);
  text-wrap: pretty;
}

.link-arrow {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 15px; letter-spacing: .08em;
}
.link-arrow--ul { border-bottom: 1px solid rgba(47, 47, 196, .4); }

/* 改行を活かすテキスト */
.pre-line { white-space: pre-line; }

/* ==========================================================================
   07. ボタン
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 34px;
  border: 0; border-radius: 5px;
  font-size: 16px; letter-spacing: .1em; font-weight: 500;
  cursor: pointer;
  transition: transform .5s ease-out, box-shadow .5s ease-out, background .5s ease-out, border-color .5s ease-out, color .5s ease-out;
}
.btn--white { background: var(--c-white); color: var(--c-navy); }
.btn--white:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(0, 0, 0, .34); background: var(--c-green); color: var(--c-white); }

.btn--outline { border: 1px solid rgba(255, 255, 255, .4); color: var(--c-white); background: transparent; }
.btn--outline:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(0, 0, 0, .3); border-color: var(--c-sage); color: var(--c-white); }

.btn--tel { padding: 0 28px; font-family: var(--font-disp); font-size: 17px; }

/* サービスページ上部のセクション内リンク */
.chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, .28); border-radius: 5px;
  background: rgba(255, 255, 255, .07); color: var(--c-white);
  font-size: 15px; letter-spacing: .06em; cursor: pointer;
  transition: transform .5s ease-out, background .5s ease-out, border-color .5s ease-out;
}
.chip:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .14); border-color: var(--c-sage); color: var(--c-white); }

/* ==========================================================================
   08. ヘッダー / ナビゲーション
   ========================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  background: rgba(8, 8, 26, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  transition: background .5s ease-out;
}
.site-header__inner {
  max-width: 1600px; margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 40px);
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(14px, 2vw, 32px);
  height: 116px;
  transition: height .5s ease-out;
}
.site-header.is-scrolled .site-header__inner { height: 84px; }

.brand {
  display: flex; align-items: center; gap: clamp(10px, 1.2vw, 18px);
  padding: 6px 10px 6px 0; min-height: 44px; min-width: 0; flex: 1 1 auto;
}
.brand__mark {
  flex: none; display: flex; align-items: center; justify-content: center;
  width: 96px; height: 96px;
  background: rgba(255, 255, 255, .96); border-radius: 6px;
  transition: width .5s ease-out, height .5s ease-out;
}
.site-header.is-scrolled .brand__mark { width: 72px; height: 72px; }
.brand__mark img { width: 82%; height: 82%; object-fit: contain; display: block; }

.brand__text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }

/* 主表記（ページの言語に合わせて日本語／英語が入る） */
.brand__primary {
  font-size: clamp(14.5px, 1.15vw, 21px); letter-spacing: .08em;
  color: var(--c-white); font-weight: 600; line-height: 1.4; white-space: nowrap;
}
/* 副表記（もう一方の言語）。狭い画面では非表示 */
.brand__secondary {
  font-family: var(--font-disp);
  font-size: clamp(10.5px, .72vw, 13.5px); letter-spacing: .1em;
  line-height: 1.4; color: rgba(255, 255, 255, .68); white-space: nowrap;
}
/* 英語ページでは主表記が英語、副表記が日本語になるため字体を入れ替える */
html[lang="en"] .brand__primary { font-family: var(--font-disp); letter-spacing: .05em; }
html[lang="en"] .brand__secondary { font-family: var(--font-base); letter-spacing: .06em; }

.gnav { flex: none; display: none; align-items: center; gap: clamp(9px, .9vw, 15px); }
.gnav__link {
  display: flex; align-items: center; min-height: 48px;
  font-size: 18px; letter-spacing: .01em;
  color: rgba(255, 255, 255, .78); white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: color .4s ease-out, border-color .4s ease-out;
}
.gnav__link:hover,
.gnav__link[aria-current="page"] { color: var(--c-white); border-bottom-color: var(--c-sage); }

.lang-toggle {
  display: flex; align-items: center; min-height: 44px; padding: 0 11px;
  background: transparent; border: 1px solid rgba(255, 255, 255, .28); border-radius: 5px;
  color: rgba(255, 255, 255, .82);
  font-family: var(--font-disp); font-size: 14px; letter-spacing: .14em; cursor: pointer;
  transition: color .4s ease-out, border-color .4s ease-out;
}
.lang-toggle:hover { color: var(--c-white); border-color: var(--c-sage); }

.gnav__cta {
  display: flex; align-items: center; min-height: 54px; padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .38); border-radius: 5px;
  background: linear-gradient(90deg, rgba(47, 47, 196, .35), rgba(58, 58, 213, .55));
  color: var(--c-white); font-size: 18px; letter-spacing: .02em; white-space: nowrap;
  transition: transform .5s ease-out, box-shadow .5s ease-out, border-color .5s ease-out;
}
.gnav__cta:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(47, 47, 196, .4); border-color: var(--c-sage); color: var(--c-white); }

/* ハンバーガー */
.burger {
  flex: none; width: 60px; height: 60px;
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: 0 10px; background: transparent;
  border: 1px solid rgba(255, 255, 255, .22); border-radius: 5px; cursor: pointer;
}
.burger span { display: block; height: 1px; background: var(--c-white); }

/* ドロワー */
.drawer {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(8, 8, 26, .96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: none; flex-direction: column; justify-content: center;
  padding: 96px clamp(24px, 7vw, 64px) 48px;
  gap: 6px;
  overflow-y: auto;
}
.drawer.is-open { display: flex; animation: nhFade .5s ease-out; }
.drawer__link {
  display: flex; align-items: center; min-height: 64px;
  font-size: 27px; letter-spacing: .06em; color: var(--c-white);
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}
.drawer__privacy {
  display: flex; align-items: center; min-height: 52px;
  font-size: 15px; letter-spacing: .06em; color: rgba(255, 255, 255, .6);
}
.drawer__lang {
  align-self: flex-start; margin-top: 14px;
  display: flex; align-items: center; min-height: 48px; padding: 0 18px;
  background: transparent; border: 1px solid rgba(255, 255, 255, .3); border-radius: 5px;
  color: var(--c-white); font-family: var(--font-disp); font-size: 16px; letter-spacing: .14em; cursor: pointer;
}
.drawer__cta {
  margin-top: 22px; display: flex; align-items: center; justify-content: center;
  min-height: 52px; border-radius: 5px;
  background: linear-gradient(90deg, #12123A, #3A3AD5);
  color: var(--c-white); font-size: 17px; letter-spacing: .1em;
}

/* --------------------------------------------------------------------------
   スマートフォン（幅767px以下）のヘッダー
   --------------------------------------------------------------------------
   事務所名は14文字あり、ロゴ枠96px＋メニューボタン60px と並べると
   横幅に収まらない。狭い画面では次のように詰める。
     ・ロゴ枠とメニューボタンを小さくする
     ・副表記（もう一方の言語）を隠す
     ・主表記を2行に折り返す（日本語は「濱直樹／公認会計士税理士事務所」で改行）
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  :root { --header-h: 88px; }

  .site-header__inner { height: 88px; padding: 0 14px; gap: 12px; }
  .site-header.is-scrolled .site-header__inner { height: 74px; }

  .brand { gap: 10px; padding-right: 8px; }
  .brand__mark { width: 52px; height: 52px; }
  .site-header.is-scrolled .brand__mark { width: 44px; height: 44px; }

  .brand__secondary { display: none; }

  .brand__primary {
    white-space: normal;               /* 2行に折り返す */
    font-size: clamp(12.5px, 3.6vw, 15px);
    letter-spacing: .04em;
    overflow-wrap: anywhere;           /* 万一長すぎても枠外に出さない */
  }
  /* 日本語は意図した位置で改行させる */
  html[lang="ja"] .brand__primary > span { display: block; }

  .burger { width: 52px; height: 52px; }

  /* メニュー（ドロワー）
     中央寄せのままだと、項目が画面の高さを超えたときに上部が
     スクロールで辿り着けなくなるため、上寄せにする。 */
  .drawer {
    justify-content: flex-start;
    padding: 100px clamp(20px, 6vw, 48px) 28px;
  }
  .drawer__link { min-height: 52px; font-size: 20px; }
  .drawer__privacy { min-height: 44px; font-size: 14px; }
  .drawer__lang { min-height: 44px; margin-top: 10px; font-size: 15px; }
  .drawer__cta { min-height: 50px; margin-top: 16px; font-size: 16px; }
}


/* 1540px 以上でグローバルナビを表示（日本語のメニュー名が長いため） */
@media (min-width: 1540px) {
  .gnav { display: flex; }
  .burger { display: none; }
  .drawer, .drawer.is-open { display: none; }
}

/* 本文スクロールの固定（ドロワー表示中） */
body.is-locked { overflow: hidden; }

/* ==========================================================================
   09. フッター
   ========================================================================== */
.site-footer {
  background: var(--grad-foot);
  color: rgba(255, 255, 255, .78);
  padding: clamp(48px, 6vw, 80px) 0 32px;
}
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(28px, 4vw, 56px); }
.footer__brand { display: flex; align-items: center; gap: 16px; }
.footer__mark {
  flex: none; display: flex; align-items: center; justify-content: center;
  width: 128px; height: 128px; background: var(--c-white); border-radius: 6px;
}
.footer__mark img { width: 80%; height: 80%; object-fit: contain; display: block; }
.footer__name { font-size: 18px; font-weight: 600; letter-spacing: .08em; color: var(--c-white); }
.footer__en { margin-top: 6px; font-family: var(--font-disp); font-size: 13px; letter-spacing: .12em; color: rgba(255, 255, 255, .7); }
.footer__addr { margin-top: 22px; font-size: 15px; line-height: 1.95; }
.footer__contact { margin-top: 12px; font-size: 15px; line-height: 1.95; }
.footer__contact a { color: var(--c-white); font-family: var(--font-disp); letter-spacing: .06em; }
.footer__contact a.is-mail { letter-spacing: .02em; word-break: break-all; }
.footer__label { font-family: var(--font-disp); font-size: 12.5px; letter-spacing: .24em; color: rgba(255, 255, 255, .55); }
.footer__list { margin-top: 16px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 2px; }
.footer__list a {
  display: flex; align-items: center; min-height: 44px;
  font-size: 15px; letter-spacing: .06em; color: rgba(255, 255, 255, .78);
}
.footer__list a:hover { color: var(--c-white); }
.footer__hours { margin-top: 18px; font-size: 14px; line-height: 1.9; color: rgba(255, 255, 255, .6); }
.footer__bottom {
  margin-top: clamp(34px, 4vw, 56px); padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
}
.footer__copy { font-family: var(--font-disp); font-size: 13px; letter-spacing: .12em; color: rgba(255, 255, 255, .6); }
/* 不透明度は .58 以上を保つこと（下回るとコントラスト比が AA を割り込む） */
.footer__meta { font-family: var(--font-disp); font-size: 12.5px; letter-spacing: .2em; color: rgba(255, 255, 255, .58); }

/* ==========================================================================
   10. 共通CTA帯
   ========================================================================== */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(90deg, #08081A 0%, #12123A 42%, #2F2FC4 100%);
  color: var(--c-white);
  padding: clamp(56px, 7vw, 96px) 0;
}
.cta-band__inner { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.cta-band__title { font-size: clamp(24.5px, 3vw, 40.5px); }
.cta-band__body { margin-top: 16px; font-size: 16px; line-height: 1.9; color: rgba(255, 255, 255, .8); max-width: 620px; text-wrap: pretty; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ==========================================================================
   11. トップページ
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  background: var(--grad-hero); color: var(--c-white);
  padding: clamp(72px, 11vw, 140px) 0 clamp(80px, 10vw, 130px);
}
.hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 88px 88px;
}
.hero__eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(22px, 3vw, 34px); animation: nhFade .9s ease-out; }
.hero__eyebrow span:first-child { width: 46px; height: 1px; background: var(--c-sage); }
.hero__eyebrow span:last-child { font-family: var(--font-disp); font-size: 13px; letter-spacing: .34em; color: rgba(255, 255, 255, .72); }
.hero__title { font-size: clamp(33.5px, 5.6vw, 69.5px); letter-spacing: .06em; line-height: 1.32; animation: nhFade 1.4s ease-out; text-wrap: pretty; }
.hero__sub { max-width: 760px; margin-top: clamp(26px, 3.4vw, 38px); font-size: clamp(15.5px, 1.1vw, 17.5px); line-height: 1.95; color: rgba(255, 255, 255, .82); animation: nhFade 1.9s ease-out; text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: clamp(34px, 4vw, 48px); animation: nhFade 2.3s ease-out; }

/* 選ばれる理由 */
.pillars { margin-top: clamp(34px, 4vw, 54px); display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(18px, 2vw, 26px); }
.pillar {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 16px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .86), rgba(244, 245, 248, .94));
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(18, 18, 58, .1); border-radius: 6px;
  padding: clamp(30px, 2.8vw, 42px);
  transition: transform .6s ease-out, box-shadow .6s ease-out, border-color .6s ease-out;
}
.pillar:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(18, 18, 58, .16); border-color: rgba(47, 47, 196, .32); }
.pillar__bar {
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  transform-origin: left;
  background: linear-gradient(90deg, var(--tone, var(--c-indigo)), rgba(47, 47, 196, 0));
  animation: nhLine 1.1s ease-out;
}
.pillar__ghost {
  position: absolute; top: 4px; right: clamp(14px, 2vw, 26px);
  font-family: var(--font-disp); font-size: clamp(72px, 6.4vw, 104px); font-weight: 700;
  letter-spacing: .02em; line-height: 1; color: rgba(18, 18, 58, .055); pointer-events: none;
}
.pillar__tree { position: absolute; bottom: -24px; right: -6px; opacity: .08; animation: nhTri 24s ease-in-out infinite; pointer-events: none; }
.pillar__meta { position: relative; display: flex; align-items: center; gap: 12px; }
.pillar__meta .tree { filter: drop-shadow(0 0 10px rgba(47, 47, 196, .28)); }
.pillar__no { font-family: var(--font-disp); font-size: 13.5px; letter-spacing: .24em; color: var(--c-grey); }
.pillar__title { font-size: clamp(21px, 1.6vw, 25px); color: var(--c-navy); line-height: 1.55; }
.pillar__body { font-size: 15.5px; line-height: 1.9; color: var(--c-grey); text-wrap: pretty; }
.pillar__link { margin-top: auto; font-size: 14.5px; letter-spacing: .08em; color: var(--c-indigo); }

/* 代表挨拶（抜粋）＋事務所概要（簡易） */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(28px, 4vw, 64px); align-items: start; }
.split--msg { align-items: start; }

.portrait {
  position: relative; aspect-ratio: 4 / 5;
  border: 1px solid rgba(18, 18, 58, .14); border-radius: 6px; overflow: hidden;
  background-image: repeating-linear-gradient(135deg, rgba(18, 18, 58, .05) 0 10px, transparent 10px 20px);
  display: flex; align-items: flex-end; padding: 20px;
}
.portrait__img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.portrait__label { position: relative; font-family: var(--font-disp); font-size: 12.5px; letter-spacing: .16em; color: var(--c-grey); }
.portrait__caption { margin-top: 16px; font-size: 14.5px; color: var(--c-grey); letter-spacing: .06em; }

.msg__quote { margin-top: 26px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.95; color: var(--c-ink); font-weight: 500; text-wrap: pretty; }
.msg__body { margin-top: 20px; font-size: 16px; line-height: 1.95; color: var(--c-grey); text-wrap: pretty; }

.rep { margin-top: clamp(30px, 3vw, 42px); padding-top: 26px; border-top: 1px solid var(--line); }
.rep__label { font-family: var(--font-disp); font-size: 12.5px; letter-spacing: .28em; color: var(--c-grey); }
.rep__name { margin-top: 10px; font-size: 22.5px; font-weight: 700; letter-spacing: .08em; color: var(--c-navy); }
.rep__kana { font-size: 14.5px; font-weight: 300; color: var(--c-grey); letter-spacing: .06em; }
.rep__role { margin-top: 6px; font-size: 15px; color: var(--c-grey); letter-spacing: .06em; }

/* 事務所概要（簡易） */
.dl-brief { display: flex; flex-direction: column; }
.dl-brief__row { display: grid; grid-template-columns: minmax(96px, 150px) 1fr; gap: 8px 20px; padding: 16px 0; border-bottom: 1px solid rgba(18, 18, 58, .1); }
.dl-brief dt { font-size: 14.5px; letter-spacing: .08em; color: var(--c-grey); }
.dl-brief dd { font-size: 16px; line-height: 1.8; color: var(--c-ink); }

.map-box { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.map-box iframe { width: 100%; height: 360px; display: block; }
.map-box__note { padding: 14px 18px; font-size: 14.5px; color: var(--c-grey); letter-spacing: .04em; background: var(--c-bg); }

/* ==========================================================================
   12. 代表からのご挨拶
   ========================================================================== */
.page-head { background: var(--grad-brand); color: var(--c-white); padding: clamp(52px, 7vw, 92px) 0; }
.page-head__title { margin-top: 14px; font-size: clamp(29px, 4vw, 49.5px); }
.page-head__title--sm { font-size: clamp(26px, 4vw, 44px); }
.page-head__lead { margin-top: 18px; font-size: 16px; line-height: 1.9; color: rgba(255, 255, 255, .82); max-width: 760px; text-wrap: pretty; }
.page-head__note { margin-top: 18px; font-size: 15px; letter-spacing: .06em; color: rgba(255, 255, 255, .72); }
.page-head__meta { margin-top: 18px; font-size: 16px; color: rgba(255, 255, 255, .8); letter-spacing: .06em; }

.greet-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(30px, 4vw, 64px); align-items: start; }
.greet-body { max-width: 760px; }

.quote-block { position: relative; padding-left: clamp(18px, 2vw, 30px); border-left: 2px solid var(--c-indigo); }
.quote-block::before {
  content: "\201C";
  position: absolute; top: -14px; left: clamp(14px, 2vw, 26px);
  font-family: var(--font-disp); font-size: 62.5px; line-height: 1; color: rgba(47, 47, 196, .16);
}
.quote-block p { font-size: clamp(19px, 2vw, 27px); line-height: 1.85; font-weight: 500; color: #12193A; text-wrap: pretty; }

.greet-p { margin-top: 22px; font-size: 17px; line-height: 1.95; color: var(--c-grey); text-wrap: pretty; }
.greet-p--first { margin-top: 34px; color: var(--c-ink); }

.sign-row { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 16px; }
.sign-row p { font-size: 17px; letter-spacing: .08em; color: var(--c-navy); }
.sign-row strong { font-size: 21.5px; font-weight: 700; }

/* ==========================================================================
   13. 代表者経歴等
   ========================================================================== */
.sec-h2 { font-size: clamp(22.5px, 2.4vw, 31.5px); color: var(--c-navy); }

.timeline { margin-top: clamp(28px, 3.4vw, 44px); position: relative; padding-left: clamp(22px, 3vw, 40px); border-left: 1px solid rgba(18, 18, 58, .14); }
.timeline__item { position: relative; padding: 0 0 clamp(30px, 3.4vw, 44px); }
.timeline__dot {
  position: absolute; left: calc(clamp(22px, 3vw, 40px) * -1 - 4px); top: 9px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--c-indigo); box-shadow: 0 0 0 5px rgba(47, 47, 196, .13);
}
.timeline__year { font-family: var(--font-disp); font-size: clamp(17px, 1.6vw, 21.5px); letter-spacing: .14em; color: var(--c-indigo); font-weight: 500; }
.timeline__body { margin-top: 10px; font-size: 16px; line-height: 1.9; color: var(--c-ink); text-wrap: pretty; }

.cred-grid { margin-top: clamp(24px, 3vw, 38px); display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.cred-card { background: var(--c-white); border: 1px solid var(--line-soft); border-radius: 6px; padding: 22px 24px; }
.cred-card__year { font-family: var(--font-disp); font-size: 15.5px; letter-spacing: .16em; color: var(--c-grey); }
.cred-card__body { margin-top: 8px; font-size: 16px; line-height: 1.8; color: var(--c-navy); white-space: pre-line; }

.hobby-head { display: flex; align-items: center; gap: 14px; }
.hobby-head h2 { font-size: clamp(22.5px, 2.4vw, 31.5px); color: var(--c-navy); font-weight: 500; }
.hobby-grid { margin-top: clamp(24px, 3vw, 38px); display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(16px, 2vw, 24px); }
.hobby-card { border: 1px solid rgba(31, 114, 51, .18); border-radius: 6px; padding: clamp(22px, 2.4vw, 30px); background: linear-gradient(180deg, rgba(78, 140, 92, .05), rgba(78, 140, 92, 0)); }
.hobby-card__year { font-family: var(--font-disp); font-size: 14.5px; letter-spacing: .16em; color: var(--c-green); }
.hobby-card__body { margin-top: 12px; font-size: 16px; line-height: 1.95; color: var(--c-ink); text-wrap: pretty; white-space: pre-line; }

/* ==========================================================================
   14. サービス・業務内容
   ========================================================================== */
.svc-chips { margin-top: clamp(26px, 3vw, 38px); display: flex; flex-wrap: wrap; gap: 12px; }

.svc__no { font-family: var(--font-disp); font-size: 13.5px; letter-spacing: .24em; color: var(--c-indigo); }
.svc__no--green { color: var(--c-green); }
.svc__title { margin-top: 12px; font-size: clamp(24.5px, 2.8vw, 38px); color: var(--c-navy); }
.svc__rule { margin-top: 16px; width: 88px; height: 4px; }
.svc__intro { margin-top: 26px; font-size: 17px; line-height: 1.95; color: var(--c-ink); max-width: 860px; text-wrap: pretty; }
.svc__close { margin-top: clamp(34px, 4vw, 52px); font-size: 17px; line-height: 1.95; color: var(--c-ink); text-wrap: pretty; }

/* 巨大な番号（01 / 02 / 03） */
.svc-ghost {
  top: clamp(18px, 3vw, 44px); right: clamp(16px, 4vw, 64px);
  font-family: var(--font-disp); font-weight: 700;
  font-size: clamp(180px, 24vw, 380px); line-height: .8; letter-spacing: -.03em;
  color: rgba(47, 47, 196, .1);
}
.svc-ghost--green { color: rgba(31, 114, 51, .11); }
.svc-ghost--soft { color: rgba(47, 47, 196, .095); }

.svc-rail { top: clamp(40px, 6vw, 90px); left: 0; width: 7px; height: clamp(140px, 18vw, 280px); background: linear-gradient(180deg, rgba(47, 47, 196, .6), transparent); }
.svc-rail--green { background: linear-gradient(180deg, rgba(31, 114, 51, .62), transparent); }
.svc-rail--soft { background: linear-gradient(180deg, rgba(47, 47, 196, .55), transparent); }

/* チェックリスト */
.check-box { margin-top: clamp(34px, 4vw, 52px); background: var(--c-bg); border: 1px solid var(--line-soft); border-radius: 6px; padding: clamp(26px, 3vw, 40px); }
.check-list { margin-top: 20px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.check-list li { display: flex; align-items: flex-start; gap: 14px; }
.check-list li > span:last-child { font-size: 16px; line-height: 1.85; color: var(--c-ink); }
.check-mark {
  flex: none; margin-top: 5px; width: 16px; height: 16px;
  border: 1px solid var(--c-indigo); border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
}
.check-mark::before { content: ""; width: 6px; height: 6px; background: var(--c-indigo); border-radius: 1px; }

/* 効果カード */
.effect-grid { margin-top: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 16px; }
.effect-card {
  display: flex; align-items: center; min-height: 96px;
  border: 1px solid rgba(18, 18, 58, .1); border-radius: 6px; padding: 22px 26px;
  font-size: clamp(17px, 1.5vw, 21px); font-weight: 500; letter-spacing: .03em; line-height: 1.6; color: var(--c-ink);
  transition: transform .5s ease-out, box-shadow .5s ease-out;
}
.effect-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(18, 18, 58, .1); }

/* アコーディオン */
.acc { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.acc__item { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--c-white); }
.acc__btn {
  width: 100%; min-height: 64px; display: flex; align-items: center; gap: 16px;
  padding: 16px clamp(18px, 2vw, 26px);
  background: transparent; border: 0; cursor: pointer; text-align: left;
  transition: background .4s ease-out;
}
.acc__btn:hover { background: var(--c-bg); }
.acc__no { font-family: var(--font-disp); font-size: 14.5px; letter-spacing: .18em; color: var(--c-indigo); }
.acc__title { flex: 1; font-size: clamp(17px, 1.5vw, 21px); font-weight: 500; letter-spacing: .03em; color: var(--c-navy); line-height: 1.6; }
.acc__sign { flex: none; font-family: var(--font-disp); font-size: 22px; color: var(--c-grey); }
.acc__panel { padding: 0 clamp(18px, 2vw, 26px) 24px; animation: nhFade .6s ease-out; }
.acc__panel[hidden] { display: none; }
.acc__panel p { font-size: 16px; line-height: 1.95; color: var(--c-grey); text-wrap: pretty; }

/* 脱炭素・サステナブル */
.gx-cards { margin-top: clamp(32px, 3.6vw, 48px); display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(16px, 2vw, 24px); }
.gx-card { background: var(--c-white); border: 1px solid rgba(31, 114, 51, .2); border-radius: 6px; padding: clamp(24px, 2.6vw, 32px); }
.gx-card h3 { font-size: clamp(19px, 1.6vw, 24px); letter-spacing: .04em; color: var(--c-green); }
.gx-card p { margin-top: 14px; font-size: 16px; line-height: 1.95; color: var(--c-grey); text-wrap: pretty; }

.esg-grid { margin-top: clamp(28px, 3vw, 40px); display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.esg-card { position: relative; border: 1px solid rgba(31, 114, 51, .24); border-radius: 6px; padding: clamp(24px, 2.6vw, 32px); background: linear-gradient(180deg, rgba(78, 140, 92, .07), rgba(78, 140, 92, 0)); }
.esg__letter { font-family: var(--font-disp); font-size: clamp(33.5px, 3.6vw, 51.5px); line-height: 1; letter-spacing: .06em; color: var(--c-green); font-weight: 600; }
.esg__en { margin-top: 14px; font-family: var(--font-disp); font-size: 13.5px; letter-spacing: .2em; color: var(--c-sage); }
.esg__ja { margin-top: 6px; font-size: 17px; font-weight: 500; color: var(--c-navy); letter-spacing: .06em; }
.esg__body { margin-top: 12px; font-size: 15px; line-height: 1.85; color: var(--c-grey); }

.two-col { margin-top: clamp(32px, 3.6vw, 48px); display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.two-col h3 { font-size: 18.5px; color: var(--c-navy); }

.merit-list { margin-top: 18px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.merit-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; line-height: 1.85; color: var(--c-ink); }
.merit-list .tree { flex: none; margin-top: 7px; }

.voice-list { margin-top: 18px; display: flex; flex-direction: column; gap: 14px; }
.voice { position: relative; background: var(--c-white); border: 1px solid rgba(18, 18, 58, .1); border-radius: 6px; padding: 16px 20px; font-size: 15.5px; line-height: 1.8; color: var(--c-ink); box-shadow: 0 6px 18px rgba(18, 18, 58, .05); }

.support-block { margin-top: clamp(32px, 3.6vw, 48px); }
.support-block h3 { font-size: clamp(19px, 1.6vw, 24px); letter-spacing: .04em; color: var(--c-navy); }
.support-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 16px; }
.support-card {
  display: flex; align-items: center; min-height: 118px;
  border: 1px solid rgba(18, 18, 58, .1); border-radius: 6px; padding: 24px 26px;
  background: var(--c-white); font-size: clamp(16px, 1.35vw, 19px); line-height: 1.75; color: var(--c-ink);
  transition: transform .5s ease-out, box-shadow .5s ease-out;
}
.support-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(31, 114, 51, .12); }
.note-small { margin-top: 20px; font-size: 13.5px; line-height: 1.8; color: var(--c-grey); }

/* 記帳代行 */
.bk-grid { margin-top: clamp(28px, 3.2vw, 42px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 16px; }
.bk-card {
  display: flex; align-items: center; min-height: 110px;
  border: 1px solid rgba(18, 18, 58, .1); border-radius: 6px; padding: 24px 26px;
  background: var(--c-bg); font-size: clamp(16px, 1.35vw, 19px); line-height: 1.75; color: var(--c-ink);
  transition: transform .5s ease-out, box-shadow .5s ease-out;
}
.bk-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(18, 18, 58, .1); }

/* 記帳・確定申告の参考価格表 */
.fee { margin-top: clamp(34px, 4vw, 52px); }
.fee__title { font-size: clamp(19px, 1.6vw, 24px); letter-spacing: .04em; color: var(--c-navy); }
.fee__scroll { margin-top: 18px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.fee__table {
  width: 100%; border-collapse: collapse; background: var(--c-white);
  font-size: 15.5px; line-height: 1.7;
}
.fee__table th,
.fee__table td {
  border: 1px solid var(--line);
  padding: 14px 16px; text-align: center; vertical-align: middle;
}
.fee__table thead th {
  background: rgba(47, 47, 196, .07);
  color: var(--c-navy); font-weight: 600; letter-spacing: .04em;
}
.fee__table tbody th { font-weight: 400; color: var(--c-ink); }
.fee__pair { display: flex; justify-content: center; gap: 12px; white-space: nowrap; }
.fee__k { color: var(--c-grey); }
.fee__v { font-family: var(--font-disp); font-weight: 600; color: var(--c-navy); letter-spacing: .02em; }
.fee__consult { font-weight: 600; color: var(--c-navy); letter-spacing: .06em; }

/* 狭い画面では、横スクロールさせずに年商ごとのカードに積み替える */
@media (max-width: 767px) {
  .fee__scroll { overflow-x: visible; }
  .fee__table, .fee__table tbody, .fee__table tr, .fee__table th, .fee__table td { display: block; }
  .fee__table thead { display: none; }
  .fee__table tr {
    border: 1px solid var(--line); border-radius: 6px;
    overflow: hidden; margin-bottom: 12px;
  }
  .fee__table th, .fee__table td { border: 0; text-align: left; }
  .fee__table tbody th {
    background: rgba(47, 47, 196, .07);
    padding: 12px 14px; font-weight: 600; color: var(--c-navy);
  }
  .fee__table td { padding: 12px 14px; border-top: 1px solid var(--line); }
  .fee__table td::before {
    content: attr(data-label);
    display: block; margin-bottom: 6px;
    font-size: 12.5px; letter-spacing: .06em; color: var(--c-grey);
  }
  .fee__pair { justify-content: space-between; }
}

/* 03セクションの装飾ライン */
.bk-lines { top: 16%; right: 6%; display: flex; flex-direction: column; gap: 14px; }
.bk-lines span { display: block; height: 2px; }

/* ==========================================================================
   15. ニュース
   ========================================================================== */
.news-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; align-items: end; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label { font-family: var(--font-disp); font-size: 12px; letter-spacing: .22em; color: var(--c-grey); }
.field input, .field select {
  min-height: 48px; padding: 0 14px;
  border: 1px solid var(--line-strong); border-radius: 5px;
  background: var(--c-white); font-family: inherit; font-size: 16px; color: var(--c-ink);
}
.news-meta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.news-count { font-size: 14.5px; color: var(--c-grey); letter-spacing: .04em; }
.btn-reset {
  display: flex; align-items: center; min-height: 44px; padding: 0 16px;
  background: transparent; border: 1px solid var(--line-strong); border-radius: 5px;
  font-size: 14.5px; letter-spacing: .04em; color: var(--c-indigo); cursor: pointer;
  transition: border-color .4s ease-out, transform .4s ease-out;
}
.btn-reset:hover { border-color: var(--c-indigo); transform: translateY(-2px); }

.news-list { margin-top: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 12px; }
.news-card {
  border: 1px solid var(--line); border-radius: 6px;
  padding: clamp(22px, 2.4vw, 30px); background: var(--c-white);
  transition: transform .5s ease-out, box-shadow .5s ease-out, border-color .5s ease-out;
}
.news-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(18, 18, 58, .12); border-color: rgba(47, 47, 196, .3); }
.news-card__head { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.news-card__date { font-family: var(--font-disp); font-size: 15.5px; letter-spacing: .14em; color: var(--c-indigo); }
.news-card__tag {
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px;
  border: 1px solid var(--tag-border, rgba(47, 47, 196, .3)); border-radius: 4px;
  font-size: 13px; letter-spacing: .06em; color: var(--tag-color, var(--c-indigo));
}
.news-card__title { margin-top: 14px; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.6; color: var(--c-navy); }
.news-card__body { margin-top: 12px; font-size: 16px; line-height: 1.9; color: var(--c-grey); text-wrap: pretty; }
.news-empty { margin-top: clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-radius: 6px; padding: clamp(30px, 4vw, 56px); background: var(--c-bg); text-align: center; }
.news-empty p { font-size: 16px; line-height: 1.9; color: var(--c-grey); }
.news-empty[hidden] { display: none; }
.news-card[hidden] { display: none; }

/* ==========================================================================
   16. 事務所概要
   ========================================================================== */
.dl-full { display: flex; flex-direction: column; }
.dl-full__row { display: grid; grid-template-columns: 200px 1fr; gap: 6px 28px; padding: 18px 0; border-bottom: 1px solid rgba(18, 18, 58, .1); }
.dl-full dt { font-size: 14.5px; letter-spacing: .1em; color: var(--c-grey); }
.dl-full dd { font-size: 17px; line-height: 1.85; color: var(--c-ink); text-wrap: pretty; }
@media (max-width: 640px) {
  .dl-full__row { grid-template-columns: 1fr; gap: 4px; }
}
.about-map { margin-top: clamp(34px, 4vw, 52px); }
.access-note { margin-top: 16px; font-size: 15.5px; color: var(--c-grey); letter-spacing: .04em; }

/* ==========================================================================
   17. お問い合わせ
   ========================================================================== */
.notice {
  border: 1px solid rgba(31, 114, 51, .35); border-left: 3px solid var(--c-green);
  border-radius: 6px; background: rgba(78, 140, 92, .06);
  padding: clamp(20px, 2.4vw, 28px);
}
.notice__main { font-size: 16px; line-height: 1.9; color: var(--c-navy); font-weight: 500; text-wrap: pretty; }
.notice__sub { margin-top: 12px; font-size: 15px; line-height: 1.85; color: var(--c-grey); }

.form-shell { margin-top: clamp(26px, 3vw, 38px); border: 1px solid rgba(18, 18, 58, .14); border-radius: 6px; overflow: hidden; background: var(--c-bg); }
/* 高さは config.js の googleFormHeight / googleFormHeightMobile で調整します。
   （値は site.js が --form-h / --form-h-sm として流し込みます） */
.form-shell iframe {
  width: 100%;
  display: block;
  height: var(--form-h, 1820px);
}
/* 画面が狭いほどフォーム内の文字が折り返されて縦に伸びる。
   config.js の2つの値を上限・下限として、その間をなめらかに変化させる。
   （固定値で切り替えると、中間の画面幅で大きな余白が出るため） */
@media (max-width: 767px) {
  .form-shell iframe {
    height: clamp(
      var(--form-h, 1820px),
      calc(2420px - 79vw),
      var(--form-h-sm, 2150px)
    );
  }
}
.form-ph {
  min-height: 640px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: 48px 24px;
  background-image: repeating-linear-gradient(135deg, rgba(18, 18, 58, .035) 0 10px, transparent 10px 20px);
}
.form-ph__label { font-family: var(--font-disp); font-size: 14px; letter-spacing: .2em; color: var(--c-grey); }
.form-ph__note { font-size: 15px; color: var(--c-grey); text-align: center; line-height: 1.9; }

.contact-other { margin-top: clamp(30px, 3.4vw, 46px); }
.contact-methods { margin-top: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.method {
  display: flex; flex-direction: column; gap: 8px; min-height: 44px;
  border: 1px solid var(--line); border-radius: 6px; padding: 22px 24px;
  transition: transform .5s ease-out, box-shadow .5s ease-out;
}
.method:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(18, 18, 58, .1); }
.method__label { font-family: var(--font-disp); font-size: 12.5px; letter-spacing: .22em; color: var(--c-grey); }
.method__value { font-family: var(--font-disp); font-weight: 700; font-size: clamp(22.5px, 2.4vw, 29px); letter-spacing: .08em; color: var(--c-indigo); }
.method__value--mail { font-size: clamp(15.5px, 1.5vw, 19px); letter-spacing: .04em; word-break: break-all; }
.method__note { font-size: 14px; color: var(--c-grey); letter-spacing: .04em; }

/* ==========================================================================
   18. プライバシーポリシー
   ========================================================================== */
.policy-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) {
  .policy-layout { grid-template-columns: 1fr; }
  .policy-toc { position: static !important; }
}
.policy-toc { position: sticky; top: calc(var(--header-h) + 12px); }
.policy-toc__label { font-family: var(--font-disp); font-size: 12.5px; letter-spacing: .24em; color: var(--c-grey); }
.policy-toc__list { margin-top: 16px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 2px; }
.policy-toc__link {
  width: 100%; min-height: 44px; display: flex; align-items: center; gap: 12px;
  padding: 8px 6px; border-left: 1px solid var(--line);
  font-size: 14.5px; line-height: 1.6; color: var(--c-grey);
  transition: color .4s ease-out, border-color .4s ease-out;
}
.policy-toc__link:hover { color: var(--c-indigo); border-left-color: var(--c-indigo); }
.policy-toc__no { font-family: var(--font-disp); letter-spacing: .1em; color: var(--c-indigo); }

/* 英語版の冒頭に出す注意書き（正式版は日本語版である旨） */
.policy-notice {
  margin-bottom: clamp(26px, 3vw, 40px);
  border: 1px solid rgba(47, 47, 196, .28);
  border-left: 3px solid var(--c-indigo);
  border-radius: 6px;
  background: rgba(47, 47, 196, .05);
  padding: clamp(20px, 2.4vw, 28px);
}
.policy-notice p { font-size: 15.5px; line-height: 1.9; color: var(--c-navy); font-weight: 500; text-wrap: pretty; }
.policy-notice a { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; font-size: 15px; letter-spacing: .02em; }

.policy-sec { padding: 0 0 clamp(34px, 3.6vw, 48px); }
.policy-sec__h { display: flex; align-items: baseline; gap: 14px; font-size: clamp(19px, 1.9vw, 23.5px); color: var(--c-navy); }
.policy-sec__no { font-family: var(--font-disp); font-size: 15.5px; letter-spacing: .12em; color: var(--c-indigo); }
.policy-sec__body { margin-top: 16px; font-size: 16px; line-height: 2; color: var(--c-grey); text-wrap: pretty; white-space: pre-line; }
.policy-subs { margin-top: 16px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.policy-sub { border-left: 1px solid rgba(18, 18, 58, .14); padding: 2px 0 2px 18px; }
.policy-sub__t { font-size: 16px; font-weight: 500; color: var(--c-navy); letter-spacing: .04em; }
.policy-sub__b { margin-top: 6px; font-size: 15.5px; line-height: 2; color: var(--c-grey); white-space: pre-line; word-break: break-word; }
.policy-sub__b a { word-break: break-all; }

/* --------------------------------------------------------------------------
   スマートフォン（幅767px以下）の文字サイズ
   --------------------------------------------------------------------------
   狭い画面では、既定の文字サイズのままだと1行あたりの文字数が少なくなり、
   見出しの折り返しも増えて読みづらい。全体を1割強ほど小さくする。
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  body { font-size: 15.5px; line-height: 1.8; }

  /* 見出し */
  .hero__title       { font-size: 28px; line-height: 1.38; }
  .hero__sub         { font-size: 14.5px; }
  .hero__eyebrow span:last-child { font-size: 11px; letter-spacing: .22em; }
  .page-head__title  { font-size: 25px; }
  .page-head__title--sm { font-size: 23px; }
  .page-head__lead   { font-size: 14.5px; }
  .page-head__meta,
  .page-head__note   { font-size: 13.5px; }
  .h2                { font-size: 21px; }
  .h3                { font-size: 16.5px; }
  .sec-h2            { font-size: 20px; }
  .hobby-head h2     { font-size: 20px; }
  .eyebrow           { font-size: 11px; letter-spacing: .24em; }

  /* 本文・リード */
  .lead              { font-size: 15px; }
  .msg__quote        { font-size: 16px; }
  .msg__body         { font-size: 14.5px; }
  .quote-block p     { font-size: 17.5px; }
  .greet-p           { font-size: 15px; }
  .sign-row p        { font-size: 15px; }
  .sign-row strong   { font-size: 18px; }

  /* トップページのカード */
  .pillar__title     { font-size: 18px; }
  .pillar__body      { font-size: 14.5px; }
  .rep__name         { font-size: 19.5px; }

  /* 経歴 */
  .timeline__year    { font-size: 16px; }
  .timeline__body    { font-size: 14.5px; }
  .cred-card__body,
  .hobby-card__body  { font-size: 14.5px; }

  /* サービス */
  .svc__title        { font-size: 21px; }
  .svc__intro,
  .svc__close        { font-size: 15px; }
  .check-list li > span:last-child { font-size: 14.5px; }
  .effect-card,
  .support-card,
  .bk-card           { font-size: 15px; }
  .acc__title        { font-size: 16px; }
  .acc__panel p      { font-size: 14.5px; }
  .gx-card h3        { font-size: 17.5px; }
  .gx-card p         { font-size: 14.5px; }
  .esg__ja           { font-size: 15.5px; }
  .esg__body         { font-size: 14px; }
  .two-col h3        { font-size: 16.5px; }
  .merit-list li,
  .voice             { font-size: 14.5px; }
  .support-block h3  { font-size: 17.5px; }

  /* ニュース */
  .news-card__title  { font-size: 17px; }
  .news-card__body   { font-size: 14.5px; }

  /* 事務所概要 */
  .dl-full dd        { font-size: 15px; }
  .dl-brief dd       { font-size: 15px; }

  /* お問い合わせ */
  .notice__main      { font-size: 15px; }
  .notice__sub       { font-size: 14px; }
  .method__value     { font-size: 21px; }

  /* プライバシーポリシー */
  .policy-notice p   { font-size: 14.5px; }
  .policy-notice a   { font-size: 14px; }
  .policy-sec__h     { font-size: 17.5px; }
  .policy-sec__body  { font-size: 14.5px; }
  .policy-sub__t     { font-size: 15px; }
  .policy-sub__b     { font-size: 14px; }

  /* CTA・フッター */
  .cta-band__title   { font-size: 22px; }
  .cta-band__body    { font-size: 14.5px; }
  .btn               { font-size: 15px; }
  .footer__name      { font-size: 16px; }
  .footer__addr,
  .footer__contact,
  .footer__list a    { font-size: 14px; }
}


/* ==========================================================================
   19. 印刷用
   ========================================================================== */
@media print {
  .site-header, .drawer, .cta-band, .site-footer, .skip-link, .policy-toc, .deco { display: none !important; }
  .page-head::after, .hero::after { display: none !important; }   /* 背景ロゴは印刷しない */
  .site-main { padding-top: 0; }
  body { font-size: 11pt; color: #000; }
  .page-head { background: none !important; color: #000 !important; }
  .page-head .eyebrow, .page-head__title, .page-head__lead, .page-head__note { color: #000 !important; }
  a { color: #000; text-decoration: underline; }
  .policy-layout { display: block; }
}
