@charset "UTF-8";

/* ==========================================================================
   木名瀬総合法律事務所 — 共通スタイルシート
   カラー・フォント等の基本設定は :root にまとめています。
   色を変えたい場合は :root の値だけを書き換えれば全ページに反映されます。
   ========================================================================== */

:root {
  /* --- カラー --- */
  --accent:        #3FA9A0; /* ターコイズ（メインカラー） */
  --accent-dark:   #318079; /* ターコイズ濃（グラデーション用） */
  --accent-tint:   #F2FAF9; /* ターコイズ極薄（背景用） */
  --accent-border: rgba(63, 169, 160, 0.22);
  --gold:          #C9932E; /* ゴールド（差し色・CTA） */
  --gold-soft:     rgba(201, 147, 46, 0.45);

  --ink:           #2B2721; /* 本文 */
  --ink-2:         #2E2A24;
  --sub:           #4A453E; /* サブテキスト・ロゴ */
  --gray:          #6B655C; /* 補助テキスト */
  --gray-light:    #8A8378; /* 注記 */
  --gray-lighter:  #9C9585; /* 英字ラベル */

  --line:          #DBD5C8; /* 罫線 */
  --line-soft:     #E5E0D5; /* 罫線（薄） */
  --line-header:   #DDD7CD;
  --ivory:         #FBF9F4; /* カード背景 */
  --white:         #FFFFFF;

  /* --- レイアウト --- */
  --container:     1440px;
  --pad-x:         64px;
  --pad-x-sp:      18px;

  /* --- フォント --- */
  --serif: "Zen Old Mincho", "Noto Serif JP", serif;
  --kaku:  "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --sans:  "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  line-height: 1.8;
  letter-spacing: 0.01em;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }

.serif { font-family: var(--serif); }
.kaku  { font-family: var(--kaku); }

/* 画面には出さず、スクリーンリーダーにだけ読ませるテキスト */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   共通パーツ
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* 英字ラベル（ABOUT / FEES など） */
.eyebrow {
  font-size: 11.5px;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 22px;
}

/* ページ見出し */
.page-head { padding: 96px 0 0; }
.page-head h1 {
  font-family: var(--kaku);
  font-size: 36px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.page-head .lead {
  font-size: 14.5px;
  color: var(--sub);
  max-width: 620px;
  margin-top: 26px;
}

/* セクション見出し */
.section-title {
  font-family: var(--kaku);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  margin-bottom: 28px;
}
.section-rule {
  height: 1px;
  background: var(--accent-border);
  margin-bottom: 40px;
}

/* CTAボタン（お電話でご相談予約） */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.14em;
  padding: 17px 38px;
  transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s ease;
}
.cta-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(23,20,15,.2); }
.cta-section { padding: 0 0 104px; }

/* スクロールで浮かび上がる演出 */
@keyframes revealUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { animation: revealUp .9s cubic-bezier(.16,1,.3,1) both; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .hero-slide { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   ヘッダー
   -------------------------------------------------------------------------- */
.site-header {
  border-bottom: 1px solid var(--line-header);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  padding-bottom: 30px;
}
.brand-name {
  font-family: var(--kaku);
  font-size: 31px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--sub);
}
.brand-en {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gray-lighter);
  margin-top: 8px;
}
.header-contact { text-align: right; }
.header-contact .label {
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 7px;
}
.tel-link {
  display: flex;
  align-items: center;
  gap: 9px;
  justify-content: flex-end;
}
.tel-number {
  font-family: var(--kaku);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.header-contact .hours {
  font-size: 11px;
  color: var(--gray-light);
  letter-spacing: 0.02em;
  margin-top: 4px;
}

/* ハンバーガーボタン（スマホのみ表示） */
.nav-toggle {
  display: none;
  width: 40px; height: 34px;
  padding: 0; border: 0; background: transparent;
  position: relative; cursor: pointer;
}
.nav-toggle span {
  position: absolute; left: 8px; right: 8px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease;
}
.nav-toggle span:nth-child(1) { top: 10px; }
.nav-toggle span:nth-child(2) { top: 16px; }
.nav-toggle span:nth-child(3) { top: 22px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   グローバルナビゲーション
   -------------------------------------------------------------------------- */
.site-nav {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%);
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-list {
  display: flex;
  gap: 34px;
  font-size: 15px;
  letter-spacing: 0.02em;
}
.nav-list a {
  display: inline-block;
  padding: 17px 0;
  color: var(--white);
  position: relative;
  opacity: .85;
  transition: opacity .25s ease;
}
.nav-list a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: -1px;
  height: 1.5px; background: var(--gold);
  transition: right .35s cubic-bezier(.16,1,.3,1);
}
.nav-list a:hover { opacity: 1; }
.nav-list a:hover::after { right: 0; }
/* 現在のページ */
.nav-list a[aria-current="page"] {
  opacity: 1;
  font-weight: 600;
  border-bottom: 1.5px solid var(--white);
}
.nav-list a[aria-current="page"]::after { content: none; }

/* --------------------------------------------------------------------------
   ヒーロー（トップページ）
   -------------------------------------------------------------------------- */
.hero { position: relative; height: 500px; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 2.2s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  animation: kenburns 22s ease-in-out infinite alternate;
}
@keyframes kenburns {
  0%   { transform: scale(1); }
  100% { transform: scale(1.07); }
}
.hero-slide .tint { position: absolute; inset: 0; }
.tint-1 { background: linear-gradient(155deg, rgba(28,58,71,.32) 0%, rgba(58,101,119,.14) 55%, rgba(58,101,119,.02) 100%); }
.tint-2 { background: linear-gradient(155deg, rgba(29,66,52,.30) 0%, rgba(60,112,87,.12) 55%, rgba(60,112,87,.02) 100%); }
.tint-3 { background: linear-gradient(155deg, rgba(58,38,14,.28) 0%, rgba(120,80,30,.12) 55%, rgba(120,80,30,.02) 100%); }
.tint-4 { background: linear-gradient(155deg, rgba(14,22,55,.30) 0%, rgba(30,50,100,.12) 55%, rgba(30,50,100,.02) 100%); }

.hero-copy {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 52px 0;
  background: linear-gradient(0deg, rgba(10,18,14,.72) 0%, rgba(10,18,14,0) 100%);
  z-index: 2;
}
.hero-region {
  font-size: 11.5px;
  letter-spacing: 0.22em;
  color: #D9A544;
  margin-bottom: 18px;
}
.hero-copy h1 {
  font-family: var(--kaku);
  font-size: clamp(24px, 3.2vw, 40px);
  font-weight: 600;
  line-height: 1.65;
  letter-spacing: 0.02em;
  color: #F8F5EC;
}
.hero-dots {
  position: absolute; right: var(--pad-x); bottom: 30px;
  z-index: 3; display: flex; gap: 10px;
}
.hero-dots button {
  width: 9px; height: 9px; padding: 0;
  border: 0; border-radius: 50%;
  background: rgba(245,241,229,.4);
  cursor: pointer;
  transition: background .3s;
}
.hero-dots button.is-active { background: rgba(245,241,229,.95); }

/* --------------------------------------------------------------------------
   トップページ：ご挨拶＋主な取扱業務
   -------------------------------------------------------------------------- */
.intro-row {
  display: flex;
  align-items: stretch;
  gap: 40px;
  padding: 60px 0 64px;
}
.greeting {
  flex: 0 0 480px;
  background: linear-gradient(160deg, var(--white) 0%, var(--accent-tint) 100%);
  border-left: 6px solid var(--accent);
  border-radius: 0 10px 10px 0;
  padding: 56px 40px 32px;
  box-shadow: 0 14px 32px rgba(23,20,15,.06);
  display: flex;
  flex-direction: column;
}
.greeting h2 {
  font-family: var(--kaku);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.03em;
  color: var(--accent);
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--accent-border);
}
.greeting p {
  font-size: 16.5px;
  color: var(--sub);
  line-height: 1.9;
}
.greeting .sign {
  margin-top: auto;
  padding-top: 28px;
  text-align: right;
}
.greeting .sign .role {
  font-size: 12px; color: var(--gray-light);
  letter-spacing: 0.06em; margin-right: 10px;
}
.greeting .sign .name {
  font-family: var(--serif);
  font-size: 18px; font-weight: 600;
  color: var(--ink); letter-spacing: 0.08em;
}

.services { flex: 1 1 auto; min-width: 0; }
.services .eyebrow { font-size: 11px; letter-spacing: 0.18em; margin-bottom: 14px; }
.services h2 {
  font-family: var(--kaku);
  font-size: 24px; font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}
.service-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line-soft);
  transition: background .3s ease, padding-left .3s ease;
}
.service-row:hover { background: rgba(201,147,46,.05); padding-left: 8px; }
.icon-badge {
  flex: 0 0 auto;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--accent-tint);
  border: 1px solid var(--gold-soft);
  display: flex; align-items: center; justify-content: center;
  transition: transform .4s cubic-bezier(.16,1,.3,1), border-color .4s ease;
}
.service-row:hover .icon-badge,
.practice-card:hover .icon-badge { transform: scale(1.09); border-color: var(--gold); }
.service-text {
  flex: 1 1 auto;
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.service-text .name {
  flex: 0 0 240px;
  font-size: 18.5px; font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.service-text .detail { font-size: 17px; color: var(--gray); }

/* --------------------------------------------------------------------------
   お知らせバナー
   -------------------------------------------------------------------------- */
.notice-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.notice-bar .container {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding-top: 20px; padding-bottom: 20px;
}
.notice-tag {
  font-size: 10.5px; color: var(--gray-light);
  letter-spacing: 0.06em;
  border: 1px solid #C9C2B6;
  padding: 3px 10px;
}
.notice-date { font-size: 12px; color: var(--gray-light); letter-spacing: 0.03em; }
.notice-body { font-size: 13px; color: var(--ink-2); }

/* --------------------------------------------------------------------------
   事務所の特徴
   -------------------------------------------------------------------------- */
.features { background: var(--accent-tint); padding: 64px 0 96px; }
.features h2 {
  font-family: var(--kaku);
  font-size: 27px; font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 56px;
}
.features h2 span {
  display: inline-block;
  background: var(--white);
  color: var(--accent);
  padding: 9px 30px;
  border: 1.5px solid var(--accent);
  border-radius: 999px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.feature-card {
  position: relative;
  background: var(--white);
  border-top: 4px solid var(--accent);
  border-radius: 6px;
  padding: 40px 34px;
  box-shadow: 0 18px 40px rgba(23,20,15,.06);
  transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 26px 48px rgba(23,20,15,.1); }
.feature-card .num {
  position: absolute; top: 24px; right: 26px;
  font-size: 11px; letter-spacing: 0.05em;
  color: rgba(201,147,46,.5);
}
.feature-card .icon-badge { margin-bottom: 22px; width: 60px; height: 60px; }
.feature-card .icon-badge.lg { width: 74px; height: 74px; }
.feature-card h3 {
  font-size: 15.5px; font-weight: 500;
  color: var(--ink); margin-bottom: 14px;
}
.feature-card p { font-size: 13.5px; color: var(--gray); line-height: 1.9; }

/* --------------------------------------------------------------------------
   事務所のご案内
   -------------------------------------------------------------------------- */
.profile-row {
  display: flex;
  gap: 72px;
  align-items: stretch;
  padding: 72px 0 104px;
}
.profile-photo { flex: 0 0 296px; }
.profile-photo img {
  width: 296px; height: 100%;
  object-fit: cover; object-position: top;
  border: 1px solid #D6D0C2;
  border-radius: 10px;
}
.profile-body {
  flex: 1 1 auto;
  background: linear-gradient(160deg, var(--white) 0%, var(--accent-tint) 100%);
  border: 1px solid var(--accent-border);
  border-radius: 10px;
  padding: 40px 48px;
}
.profile-body h2 {
  font-family: var(--kaku);
  font-size: 25px; font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.profile-body .belong {
  font-size: 12.5px; color: var(--gray-light);
  letter-spacing: 0.03em; margin-bottom: 32px;
}
.profile-body p {
  font-size: 14.5px; color: var(--ink-2);
  max-width: 640px; text-indent: 1em;
}
.profile-body p + p { margin-top: 20px; }

.office-section { padding: 96px 0 104px; }
.office-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.office-grid figure { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; }
.office-grid img { width: 100%; height: 100%; object-fit: cover; }

.access-row { display: flex; gap: 72px; padding: 104px 0; }
.access-info { flex: 1 1 420px; }
.access-info h2 {
  font-family: var(--kaku);
  font-size: 25px; font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  margin-bottom: 32px;
}
.access-box {
  border: 3px double rgba(63,169,160,.55);
  border-radius: 6px;
  background: var(--accent-tint);
  padding: 28px 32px;
  margin-bottom: 36px;
}
.access-box .office-name { font-size: 14px; color: var(--ink-2); margin-bottom: 12px; }
.access-box dl { margin: 0; font-size: 13.5px; color: var(--gray); }
.access-box dl > div { display: flex; gap: 12px; }
.access-box dl > div + div { margin-top: 7px; }
.access-box dt { flex: 0 0 auto; }
.access-box dd { margin: 0; }
.media-note { margin-top: 28px; font-size: 11.5px; color: var(--gray-lighter); }
.media-note a { color: var(--gray-light); text-decoration: underline; }

.access-map {
  flex: 1 1 480px;
  min-height: 380px;
  background: #F3F0EA;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.access-map iframe {
  width: 100%; height: 100%;
  min-height: 380px;
  border: 0; display: block;
}

/* --------------------------------------------------------------------------
   取扱業務
   -------------------------------------------------------------------------- */
.practice-list { padding: 0 0 104px; }
.practice-card {
  display: flex;
  gap: 44px;
  padding: 40px 44px 40px 40px;
  border-radius: 16px;
  background: var(--ivory);
  border-left: 4px solid var(--accent);
  margin-bottom: 28px;
}
.practice-card:last-child { margin-bottom: 0; }
.practice-head { flex: 0 0 200px; }
.practice-head .icon-badge { width: 60px; height: 60px; margin-bottom: 18px; }
.practice-head h2 {
  font-family: var(--kaku);
  font-size: 22px; font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.4;
  color: var(--accent);
}
.practice-body { flex: 1; max-width: 760px; }
.practice-body .summary {
  font-size: 16px; color: var(--sub);
  line-height: 1.9; margin-bottom: 20px;
}
.sub-label {
  font-size: 13px; letter-spacing: 0.1em;
  color: var(--gold); font-weight: 600;
  margin-bottom: 10px;
}
.worry-list { margin-bottom: 22px; padding-left: 18px; font-size: 15px; color: var(--gray); line-height: 1.95; }
.worry-list li { list-style: disc; }
.practice-body .detail { font-size: 15px; color: var(--sub); line-height: 1.95; }
.ext-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--gray);
  background: #F3F0EA;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 8px 16px;
  margin-top: 18px;
}

/* --------------------------------------------------------------------------
   弁護士費用
   -------------------------------------------------------------------------- */
.fee-block { padding: 0 0 64px; }
.fee-inner {
  border-top: 1px solid var(--line-header);
  padding-top: 40px;
  display: flex;
  gap: 64px;
}
.fee-head { flex: 0 0 220px; }
.fee-head h2 {
  font-family: var(--kaku);
  font-size: 19px; font-weight: 600;
  line-height: 1.5;
  color: var(--accent);
}
.fee-head .note { font-size: 12.5px; color: var(--gray-light); line-height: 1.8; margin-top: 8px; }
.fee-body { flex: 1 1 auto; max-width: 760px; }

.fee-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.fee-table th, .fee-table td {
  text-align: left;
  padding: 14px 0;
  border-bottom: 1px solid #EAE5DC;
  font-weight: 400;
  vertical-align: top;
}
.fee-table th { color: var(--sub); width: 42%; }
.fee-table td { color: var(--ink); font-weight: 500; }
.fee-table tr { transition: background .3s ease; }
.fee-table tbody tr:hover { background: rgba(201,147,46,.05); }

/* 民事事件の3列表 */
.fee-table.cols-3 thead th {
  font-size: 13px; color: var(--gray);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 12px;
  width: auto;
}
.fee-table.cols-3 thead th:first-child { width: 38%; }
.fee-table.cols-3 tbody td { font-size: 13.5px; color: var(--sub); font-weight: 400; }
.fee-table.cols-3 tbody td:first-child { color: var(--ink); }

.fee-note { font-size: 12px; color: var(--gray-light); line-height: 1.9; margin-top: 14px; }

.fee-caution { padding: 0 0 64px; }
.fee-caution .inner {
  border-left: 2px solid var(--accent);
  padding: 4px 0 4px 24px;
  max-width: 820px;
  font-size: 12.5px;
  color: var(--gray);
  line-height: 2;
}
.houterasu-link { font-size: 13px; color: var(--accent); text-decoration: underline; }

/* --------------------------------------------------------------------------
   はじめての方へ
   -------------------------------------------------------------------------- */
.steps { padding: 0 0 56px; }
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.step { padding: 0 40px; border-right: 1px solid var(--line); }
.step:first-child { padding-left: 0; }
.step:last-child { padding-right: 0; border-right: 0; }
.step .num {
  font-family: var(--kaku);
  font-size: 32px; font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}
.step h2 {
  font-size: 15px; font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--accent);
  margin-bottom: 12px;
}
.step p { font-size: 12.5px; color: var(--gray); line-height: 1.9; }
.steps-footnote {
  font-size: 12.5px; color: var(--gray-light);
  line-height: 1.9;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.steps-footnote a { color: var(--accent); text-decoration: underline; }

/* --------------------------------------------------------------------------
   フッター
   -------------------------------------------------------------------------- */
.site-footer {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%);
  border-top: 3px solid var(--gold);
  color: rgba(245,241,229,.85);
  padding: 56px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand {
  font-family: var(--kaku);
  font-size: 17px; letter-spacing: 0.03em;
  color: #F5F1E5; margin-bottom: 12px;
}
.footer-address {
  font-size: 12px;
  color: rgba(245,241,229,.65);
  letter-spacing: 0.02em;
  line-height: 1.9;
}
.footer-tel { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.footer-tel span {
  font-family: var(--kaku);
  font-size: 19px; font-weight: 600;
  letter-spacing: 0.02em; color: #F5F1E5;
}
.footer-hours { font-size: 12px; color: rgba(245,241,229,.65); letter-spacing: 0.02em; }
.footer-map {
  width: 100%; height: 150px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.22);
  margin-bottom: 10px;
  overflow: hidden;
}
.footer-map iframe {
  width: 100%; height: 100%;
  border: 0; display: block;
}
.footer-map-link { font-size: 11.5px; color: var(--white); letter-spacing: 0.04em; }
.footer-nav {
  border-top: 1px solid rgba(255,255,255,.18);
  padding-top: 24px;
  display: flex;
  justify-content: flex-end;
  gap: 32px;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: rgba(245,241,229,.7);
}

/* ==========================================================================
   タブレット（〜1080px）
   ========================================================================== */
@media (max-width: 1080px) {
  .intro-row { flex-direction: column; }
  .greeting { flex: 1 1 auto; border-radius: 0 10px 10px 0; }
  .service-text .name { flex: 0 0 170px; }
  .profile-row { gap: 40px; }
  .access-row { gap: 40px; flex-wrap: wrap; }
  .fee-inner { gap: 32px; }
  .fee-head { flex: 0 0 180px; }
}

/* ==========================================================================
   スマートフォン（〜768px）
   ========================================================================== */
@media (max-width: 768px) {
  :root { --pad-x: var(--pad-x-sp); }

  body { line-height: 1.75; }

  /* --- ヘッダー --- */
  .site-header .container {
    padding-top: 14px;
    padding-bottom: 14px;
    align-items: flex-start;
    gap: 10px;
  }
  .brand-name { font-size: 15.5px; letter-spacing: 0; white-space: nowrap; }
  .brand-en { font-size: 7.5px; letter-spacing: 0.14em; margin-top: 3px; }
  .header-contact { flex: 0 0 auto; }
  .header-contact .label { display: none; }
  .tel-link { gap: 5px; }
  .tel-link svg { width: 14px; height: 14px; }
  .tel-number { font-size: 15.5px; white-space: nowrap; }
  .header-contact .hours {
    font-size: 8.5px;
    letter-spacing: 0;
    white-space: nowrap;
    margin-top: 2px;
  }

  /* --- ナビ（ハンバーガー） --- */
  .site-nav .container {
    justify-content: flex-end;
    padding-top: 0;
    padding-bottom: 0;
    position: relative;
  }
  .nav-toggle { display: block; margin: 9px 0; }
  .nav-list {
    position: absolute;
    top: 100%; left: calc(var(--pad-x) * -1); right: calc(var(--pad-x) * -1);
    flex-direction: column;
    gap: 0;
    background: var(--accent-dark);
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s cubic-bezier(.16,1,.3,1);
    z-index: 20;
  }
  .nav-list.is-open { max-height: 420px; }
  .nav-list li { border-bottom: 1px solid rgba(255,255,255,.15); }
  .nav-list a {
    display: block;
    /* メニューは画面幅いっぱいに開くため、本文の左端に揃うよう余白を2倍にする */
    padding: 15px calc(var(--pad-x) * 2);
    font-size: 14px;
    opacity: 1;
  }
  .nav-list a::after { content: none; }
  .nav-list a[aria-current="page"] { border-bottom: 0; background: rgba(255,255,255,.08); }

  /* --- ヒーロー --- */
  .hero { height: 280px; }
  .hero-copy { padding: 28px 0 24px; }
  .hero-region { font-size: 9.5px; letter-spacing: 0.2em; margin-bottom: 10px; }
  .hero-copy h1 { font-size: 20px; line-height: 1.6; }
  .hero-dots { right: var(--pad-x-sp); bottom: 14px; }
  .hero-dots button { width: 7px; height: 7px; }

  /* --- ページ見出し --- */
  .page-head { padding-top: 44px; }
  .page-head h1 { font-size: 24px; }
  .page-head .lead { font-size: 13px; margin-top: 18px; }
  .eyebrow { font-size: 9.5px; letter-spacing: 0.2em; margin-bottom: 12px; }
  .section-title { font-size: 20px; margin-bottom: 18px; }
  .section-rule { margin-bottom: 24px; }

  /* --- ご挨拶（スマホでは非表示） --- */
  .greeting { display: none; }
  .intro-row { padding: 32px 0 28px; gap: 0; }

  /* --- 主な取扱業務 --- */
  .services h2 { font-size: 19px; margin-bottom: 14px; }
  .service-row { gap: 14px; padding: 16px 2px; }
  .service-row:hover { padding-left: 2px; }
  .icon-badge { width: 42px; height: 42px; }
  .icon-badge svg { width: 21px; height: 21px; }
  /* 業務名を上、説明を下に積む（スマホ版モックアップと同じ形） */
  .service-text { display: block; }
  .service-text .name {
    display: block;
    flex: none;
    font-size: 15px;
    white-space: normal;
    margin-bottom: 1px;
  }
  .service-text .detail { display: block; font-size: 12.5px; line-height: 1.6; }

  /* --- お知らせ --- */
  .notice-bar .container { gap: 10px; padding-top: 14px; padding-bottom: 14px; }
  .notice-body { font-size: 12px; width: 100%; }

  /* --- 事務所の特徴 --- */
  .features { padding: 36px 0 44px; }
  .features h2 { font-size: 19px; margin-bottom: 24px; }
  .features h2 span { padding: 7px 20px; }
  .feature-grid { grid-template-columns: 1fr; gap: 16px; }
  .feature-card { padding: 26px 22px; }
  .feature-card .icon-badge,
  .feature-card .icon-badge.lg { width: 52px; height: 52px; margin-bottom: 16px; }
  .feature-card h3 { font-size: 14.5px; margin-bottom: 10px; }
  .feature-card p { font-size: 12.5px; }

  /* --- 事務所のご案内 --- */
  .profile-row { flex-direction: column; gap: 22px; padding: 32px 0 44px; }
  .profile-photo { flex: 1 1 auto; }
  .profile-photo img { width: 100%; height: 280px; }
  .profile-body { padding: 24px 22px; }
  .profile-body h2 { font-size: 19px; }
  .profile-body .belong { font-size: 11.5px; margin-bottom: 20px; }
  .profile-body p { font-size: 13px; }
  .office-section { padding: 36px 0 44px; }
  .office-grid { grid-template-columns: 1fr; gap: 14px; }
  .access-row { flex-direction: column; gap: 24px; padding: 36px 0 44px; }
  .access-info h2 { font-size: 19px; margin-bottom: 20px; }
  .access-box { padding: 20px 18px; margin-bottom: 24px; }
  .access-box dl { font-size: 12.5px; }
  .access-box dl > div { flex-direction: column; gap: 2px; }
  .access-map { flex: 1 1 auto; min-height: 260px; }
  .access-map iframe { min-height: 260px; }
  .footer-map { height: 180px; }

  /* --- 取扱業務 --- */
  .practice-list { padding-bottom: 44px; }
  .practice-card { flex-direction: column; gap: 0; padding: 24px 20px; border-radius: 10px; margin-bottom: 16px; }
  .practice-head { flex: 1 1 auto; display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
  .practice-head .icon-badge { width: 46px; height: 46px; margin-bottom: 0; }
  .practice-head .icon-badge svg { width: 24px; height: 24px; }
  .practice-head h2 { font-size: 17px; }
  .practice-head h2 br { display: none; }
  .practice-body .summary { font-size: 13.5px; margin-bottom: 16px; }
  .sub-label { font-size: 11px; margin-bottom: 8px; }
  .worry-list { font-size: 12.5px; margin-bottom: 16px; }
  .practice-body .detail { font-size: 12.5px; }
  .ext-link { font-size: 11px; padding: 8px 12px; }

  /* --- 弁護士費用 --- */
  .fee-block { padding-bottom: 32px; }
  .fee-inner { flex-direction: column; gap: 16px; padding-top: 24px; }
  .fee-head { flex: 1 1 auto; }
  .fee-head h2 { font-size: 17px; }
  /* 表を縦積みに */
  .fee-table, .fee-table tbody, .fee-table tr, .fee-table th, .fee-table td { display: block; width: auto; }
  .fee-table thead { display: none; }
  .fee-table tr { padding: 12px 0; border-bottom: 1px solid #EAE5DC; }
  .fee-table th, .fee-table td { border: 0; padding: 0; }
  .fee-table th { font-size: 12.5px; color: var(--gray); margin-bottom: 4px; }
  .fee-table td { font-size: 13.5px; }
  /* 民事事件の3列表は「経済的利益／着手金／報酬金」をラベル付きで縦積み */
  .fee-table.cols-3 tbody td::before {
    content: attr(data-label) "　";
    color: var(--gray); font-size: 12px;
  }
  .fee-table.cols-3 tbody td:first-child::before { content: none; }
  .fee-table.cols-3 tbody td:first-child {
    font-weight: 600; color: var(--ink);
    margin-bottom: 6px; font-size: 13px;
  }
  .fee-table.cols-3 tbody td { font-size: 12.5px; margin-top: 2px; }
  .fee-caution { padding-bottom: 32px; }
  .fee-caution .inner { font-size: 11.5px; padding-left: 16px; }

  /* --- はじめての方へ --- */
  .step-grid { grid-template-columns: 1fr; }
  .step {
    padding: 0 0 22px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    margin-bottom: 22px;
  }
  .step:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
  .step .num { font-size: 26px; margin-bottom: 12px; }
  .steps-footnote { margin-top: 28px; padding-top: 22px; font-size: 11.5px; }

  /* --- CTA --- */
  .cta-btn { padding: 15px 26px; font-size: 11px; }
  .cta-section { padding-bottom: 44px; }

  /* --- フッター --- */
  .site-footer { padding: 32px 0 24px; }
  .footer-address, .footer-hours { word-break: normal; overflow-wrap: anywhere; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; margin-bottom: 24px; }
  .footer-brand { font-size: 15px; }
  .footer-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 14px 20px;
    font-size: 11.5px;
    padding-top: 18px;
  }
}

/* ==========================================================================
   小型スマートフォン（〜380px）
   事務所名と電話番号が横に並びきらないため、ヘッダーを縦積みにする
   ========================================================================== */
@media (max-width: 380px) {
  .site-header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .header-contact { text-align: left; }
  .tel-link { justify-content: flex-start; }
  .brand-name { font-size: 17px; }
  .tel-number { font-size: 18px; }
  .header-contact .hours { font-size: 9.5px; }
  .hero-copy h1 { font-size: 18px; }
}
