/* ========================================
   案01 ロイヤルネイビー — CSS
   ======================================== */

/* --- CSS Variables (章10.1) --- */
:root {
  --color-primary: #1E3D6B;
  --color-secondary: #E8ECF0;
  --color-accent: #B8963E;
  --color-text: #333333;
  --color-bg: #FFFFFF;
  --color-cta-dark: #1A3A5C;
  --color-footer: #1E2A38;

  --content-width: 1200px;

  --font-heading: 'Zen Kaku Gothic New', sans-serif;
  --font-body: 'Noto Sans JP', sans-serif;
  --font-english: 'Cormorant', serif;

  --font-size-base: 16px;
  --font-size-h1: 32px;
  --font-size-h1-en: 24px;
  --font-size-card-title: 20px;
  --font-size-small: 12px;

  --fv-font-size-keyword: clamp(40px, 3.4vw, 48px);
  --fv-font-size-heading: clamp(26px, 2.2vw, 30px);
  --fv-font-size-particle: 8px;
  --about-font-size-sub: 19px;
  --trust-number-size: 48px;
  --fv-font-size-caption: 15px;

  --line-height-heading: 1.3;
  --line-height-body: 1.8;

  --radius: 4px;
  --radius-button: 4px;
  --shadow: none;

  --section-gap: 80px;
  --card-padding: 24px 20px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height-body);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { border: none; background: none; cursor: pointer; font: inherit; }

/* ========================================
   Scroll Animations (@keyframes + animation)
   ======================================== */
@keyframes slideLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes dropIn {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes clipIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.anim-slide-left { opacity: 0; transform: translateX(-40px); }
.anim-slide-left.is-visible {
  animation: slideLeft 1.0s cubic-bezier(0.22,1,0.36,1) 0.4s both;
}

.anim-fade { opacity: 0; }
.anim-fade.is-visible {
  animation: fadeIn 1.0s cubic-bezier(0.22,1,0.36,1) 0.4s both;
}

.anim-drop { opacity: 0; transform: translateY(-20px); }
.anim-drop.is-visible {
  animation: dropIn 1.0s cubic-bezier(0.22,1,0.36,1) 0.4s both;
}

.anim-scale { opacity: 0; transform: scale(0.92); }
.anim-scale.is-visible {
  animation: scaleIn 1.0s cubic-bezier(0.22,1,0.36,1) 0.4s both;
}

.anim-clip { opacity: 0; transform: translateY(20px); }
.anim-clip.is-visible {
  animation: clipIn 1.0s cubic-bezier(0.22,1,0.36,1) 0.4s both;
}

/* ========================================
   [1] HEADER
   ======================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  border-bottom: none;
  transition: box-shadow 0.3s ease;
}
.header.is-scrolled {
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* 1段目：ロゴ＋CTA */
.header__top {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__logo {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.header__sample-badge {
  font-size: 13px;
  font-weight: 400;
  color: #999;
  margin-left: 4px;
}

/* 2段目：ナビ */
.header__nav {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.header__menu {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.header__menu > li > a {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  transition: color 0.2s;
}
.header__menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 16px; right: 16px;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.header__menu > li > a:hover,
.header__menu > li > a.is-current { color: var(--color-primary); }
.header__menu > li > a:hover::after,
.header__menu > li > a.is-current::after { transform: scaleX(1); }

/* Dropdown */
.header__dropdown { position: relative; }
.header__dropdown > a { padding-bottom: 16px; }
.header__submenu {
  display: none;
  position: absolute;
  top: 100%; left: 0;
  min-width: 220px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  padding: 8px 0;
  z-index: 1100;
}
.header__dropdown:hover .header__submenu,
.header__dropdown.is-dropdown-open .header__submenu {
  display: block;
}
.header__submenu li a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  transition: background 0.15s;
}
.header__submenu li a:hover { background: var(--color-secondary); }

/* Header CTA */
.header__cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.header__phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.header__phone-icon { font-size: 18px; }
.header__cta-btn {
  display: inline-block;
  padding: 10px 24px;
  background: var(--color-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 6px;
  transition: opacity 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.header__cta-btn:hover {
  opacity: 0.9;
  box-shadow: 0 4px 20px rgba(43,108,168,0.3);
}
.header__cta-btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Hamburger (hidden on PC) */
.header__hamburger { display: none; }

/* ========================================
   [2] FV (First View)
   ======================================== */
.fv {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--color-bg);
}
.fv::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/images/fv-bg.png') center/cover no-repeat;
  opacity: 0.25;
  z-index: 0;
  pointer-events: none;
}
.fv__panel {
  position: absolute;
  top: 0; right: 0;
  width: 28%;
  height: 100%;
  background: linear-gradient(195deg, #1a3560 0%, #1E3D6B 40%, #223f6e 70%, #1a3560 100%);
  z-index: 1;
}
.fv__panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255,255,255,0.045) 0px,
      rgba(255,255,255,0.045) 1px,
      transparent 1px,
      transparent 48px
    );
  pointer-events: none;
}
.fv__inner {
  position: relative;
  z-index: 2;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: clamp(72px, 7vw, 100px) 0 clamp(24px, 2.8vw, 40px) clamp(20px, 3.5vw, 48px);
  display: flex;
  align-items: center;
  height: 100vh;
  gap: 24px;
}
.fv__text {
  flex: 0 0 60%;
  max-width: 60%;
  padding: clamp(28px, 2.6vw, 38px) clamp(36px, 4.5vw, 64px) clamp(24px, 2.4vw, 32px);
  margin-left: 32px;
  border: 1px solid rgba(30,61,107,0.1);
  border-radius: 4px;
  background: linear-gradient(160deg, #ffffff 60%, #f7f8fa 100%);
  box-shadow: inset 0 2px 12px rgba(30,61,107,0.03), 0 4px 24px rgba(30,61,107,0.06);
  position: relative;
  z-index: 1;
  margin-right: -240px;
}
.fv__caption {
  font-family: var(--font-english);
  font-size: var(--fv-font-size-caption);
  color: var(--color-primary);
  opacity: 0.55;
  letter-spacing: 0.3em;
  font-weight: 500;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.fv__caption::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--color-accent);
  opacity: 0.7;
  flex-shrink: 0;
}
.fv__headline {
  margin-bottom: 20px;
}
.fv__line {
  display: block;
  line-height: 1.2;
  margin-bottom: 4px;
}
.fv__line--2 {
  padding-left: 0;
}
.fv__keyword {
  font-family: var(--font-heading);
  font-size: var(--fv-font-size-keyword);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.1;
}
.fv__heading {
  font-family: var(--font-heading);
  font-size: var(--fv-font-size-heading);
  font-weight: 400;
  color: #555;
  line-height: 1.2;
}
.fv__particle {
  font-family: var(--font-body);
  font-size: var(--fv-font-size-particle);
  font-weight: 400;
  color: #777;
  vertical-align: baseline;
}
.fv__badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.fv__badge {
  display: inline-block;
  padding: 7px 14px 7px 12px;
  background: linear-gradient(90deg, rgba(180,155,80,0.12) 0%, rgba(180,155,80,0) 40%, #fff 100%);
  color: var(--color-text);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid rgba(30,61,107,0.12);
  border-radius: 2px;
  white-space: nowrap;
}
.fv__cta-area {
  display: flex;
  align-items: center;
  gap: 20px;
}
.fv__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px 16px 44px;
  background: linear-gradient(180deg, #1E3D6B, #162F54);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-body);
  letter-spacing: 0.08em;
  border-radius: 6px;
  border: none;
  box-shadow: 0 4px 0 var(--color-accent);
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
  transition: box-shadow 0.2s, transform 0.15s;
}
.fv__cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  font-size: 16px;
  transition: transform 0.25s ease, background 0.25s ease;
}
.fv__cta-btn:hover {
  box-shadow: 0 4px 0 var(--color-accent), 0 6px 24px rgba(30,61,107,0.25);
  transform: translateY(-1px);
}
.fv__cta-btn:hover .fv__cta-arrow {
  transform: translateX(3px);
  background: rgba(255,255,255,0.2);
}
.fv__cta-btn:active { transform: translateY(0); }
.fv__cta-btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.fv__cta-sub {
  font-size: 14px;
  color: var(--color-text);
  opacity: 0.8;
  font-weight: 500;
  border-left: 1px solid rgba(30,61,107,0.15);
  padding-left: 12px;
}

/* FV Photo */
.fv__photo {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
  margin-right: -80px;
  overflow: hidden;
}
.fv__arch {
  position: relative;
  width: clamp(340px, 30vw, 420px);
  max-height: calc(100vh - 200px);
  overflow: hidden;
  border-radius: clamp(170px, 15vw, 210px) clamp(170px, 15vw, 210px) 0 0;
  box-shadow: 0 4px 14px rgba(0,0,0,0.14), 0 1px 3px rgba(0,0,0,0.05);
}
.fv__arch img {
  width: 100%;
  height: auto;
  max-height: 65vh;
  object-fit: cover;
}

/* ========================================
   FV Entrance Animation
   ======================================== */
@keyframes fvFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fvFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fvScaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.fv__text,
.fv__photo {
  opacity: 0;
}
.fv.is-animated .fv__text {
  animation: fvFadeIn 0.6s ease forwards;
  animation-delay: 0.2s;
}
.fv.is-animated .fv__caption {
  opacity: 0;
  animation: fvFadeUp 0.5s ease forwards;
  animation-delay: 0.4s;
}
.fv.is-animated .fv__line--1 {
  opacity: 0;
  animation: fvFadeUp 0.5s ease forwards;
  animation-delay: 0.6s;
}
.fv.is-animated .fv__line--2 {
  opacity: 0;
  animation: fvFadeUp 0.5s ease forwards;
  animation-delay: 0.8s;
}
.fv.is-animated .fv__badges {
  opacity: 0;
  animation: fvFadeUp 0.5s ease forwards;
  animation-delay: 1.1s;
}
.fv.is-animated .fv__cta-area {
  opacity: 0;
  animation: fvFadeUp 0.5s ease forwards;
  animation-delay: 1.4s;
}
.fv.is-animated .fv__photo {
  animation: fvScaleIn 0.7s ease forwards;
  animation-delay: 1.0s;
}

/* ========================================
   [3] ABOUT — 当事務所について
   ======================================== */
.about {
  position: relative;
  background: linear-gradient(180deg, #E8ECF0 0%, #E4E8ED 100%);
  padding: var(--section-gap) 0;
  overflow: hidden;
}
/* FVからの幾何学モチーフ継続 — 斜線パターン */
.about::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(30,61,107,0.03) 0px,
      rgba(30,61,107,0.03) 1px,
      transparent 1px,
      transparent 64px
    );
  pointer-events: none;
}
.about__wm {
  position: absolute;
  top: 40px;
  left: -20px;
  font-family: var(--font-english);
  font-size: 120px;
  font-weight: 400;
  color: var(--color-primary);
  opacity: 0.05;
  letter-spacing: 0.05em;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
}
.about__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: 48px;
}
.about__content {
  flex: 0 0 52%;
  max-width: 52%;
}
.about__en-sub {
  font-family: var(--font-english);
  font-size: var(--font-size-h1-en);
  font-weight: 400;
  color: var(--color-primary);
  opacity: 0.4;
  letter-spacing: 0.3em;
  margin-bottom: 12px;
}
.about__heading {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--color-text);
  line-height: var(--line-height-heading);
  margin-bottom: 32px;
  position: relative;
  padding-bottom: 20px;
}
.about__heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--color-accent);
}
.about__keyword {
  color: var(--color-primary);
  background: linear-gradient(transparent 60%, rgba(184,150,62,0.15) 60%);
}
.about__lead {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 16px;
}
.about__desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 24px;
}
.about__quote {
  position: relative;
  margin: 0;
  padding: 28px 28px 20px 40px;
  background: linear-gradient(135deg, rgba(30,61,107,0.06) 0%, rgba(30,61,107,0.02) 100%);
  border-radius: var(--radius);
}
.about__quote-mark {
  position: absolute;
  top: 8px;
  left: 10px;
  font-family: var(--font-english);
  font-size: 56px;
  font-weight: 400;
  color: var(--color-accent);
  opacity: 0.35;
  line-height: 1;
  pointer-events: none;
}
.about__quote p {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1.7;
  margin-bottom: 8px;
}
.about__quote cite {
  display: block;
  font-size: 12px;
  font-style: normal;
  color: #888;
  letter-spacing: 0.05em;
}
.about__photo {
  flex: 1;
  position: relative;
}
.about__photo::before {
  content: '';
  position: absolute;
  top: -6px;
  right: -6px;
  width: 40px;
  height: 40px;
  border-top: 2px solid var(--color-accent);
  border-right: 2px solid var(--color-accent);
  opacity: 0.4;
  pointer-events: none;
  z-index: 1;
}
.about__photo::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: -6px;
  width: 28px;
  height: 28px;
  border-bottom: 2px solid rgba(30,61,107,0.15);
  border-left: 2px solid rgba(30,61,107,0.15);
  pointer-events: none;
  z-index: 1;
}
.about__photo img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  position: relative;
  z-index: 2;
}

/* Trust Numbers Bar */
.about__trust {
  max-width: var(--content-width);
  margin: 40px auto -20px;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.about__trust-item {
  flex: 1;
  text-align: center;
  padding: 20px 12px 16px;
  background: rgba(255,255,255,0.8);
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,0.06);
  position: relative;
}
.about__trust-number {
  display: inline;
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  letter-spacing: -0.02em;
}
.about__trust-unit {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-primary);
  margin-left: 2px;
}
.about__trust-label {
  display: block;
  font-size: var(--font-size-small);
  color: #666;
  margin-top: 6px;
  line-height: 1.4;
}

/* ========================================
   [4] REASONS — 選ばれる理由
   ======================================== */
.reasons {
  position: relative;
  background: linear-gradient(195deg, #1a3560 0%, #2B6CA8 40%, #234f82 100%);
  padding: var(--section-gap) 0;
  overflow: hidden;
}
.reasons::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.025) 0px, rgba(255,255,255,0.025) 1px, transparent 1px, transparent 56px);
  pointer-events: none;
}
.reasons__wm {
  position: absolute;
  top: 40px;
  left: -20px;
  font-family: var(--font-english);
  font-size: 120px;
  font-weight: 400;
  color: #fff;
  opacity: 0.04;
  letter-spacing: 0.05em;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
}
.reasons__header {
  max-width: var(--content-width);
  margin: 0 auto 48px;
  padding: 0 20px;
  text-align: center;
}
.reasons__en-sub {
  font-family: var(--font-english);
  font-size: var(--font-size-h1-en);
  font-weight: 400;
  color: #fff;
  opacity: 0.3;
  letter-spacing: 0.3em;
  margin-bottom: 12px;
}
.reasons__heading {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  line-height: var(--line-height-heading);
  position: relative;
  padding-bottom: 20px;
}
.reasons__heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 2px;
  background: var(--color-accent);
}

/* 均等2列×2行グリッド */
.reasons__grid {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 769px) {
  .reasons__grid { grid-template-columns: 1fr 1fr; }
}

/* 全カード共通：白背景＋コーナー装飾 */
.reasons__card {
  position: relative;
  background: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 32px 28px 28px;
  min-height: 250px;
}
.reasons__card::before {
  content: '';
  position: absolute;
  top: -6px;
  right: -6px;
  width: 40px;
  height: 40px;
  border-top: 2px solid var(--color-accent);
  border-right: 2px solid var(--color-accent);
  opacity: 0.4;
  pointer-events: none;
  border-radius: 0 var(--radius) 0 0;
}
.reasons__card::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: -6px;
  width: 28px;
  height: 28px;
  border-bottom: 2px solid rgba(255,255,255,0.25);
  border-left: 2px solid rgba(255,255,255,0.25);
  pointer-events: none;
  border-radius: 0 0 0 var(--radius);
}

/* 番号（大）：右上に薄く大きい装飾番号 */
.reasons__card-num-large {
  position: absolute;
  top: -8px;
  right: 8px;
  font-family: var(--font-heading);
  font-size: 120px;
  font-weight: 700;
  line-height: 1;
  color: rgba(30,61,107,0.12);
  pointer-events: none;
  user-select: none;
}

/* テキスト */
.reasons__card-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 12px;
  color: var(--color-text);
  position: relative;
  z-index: 1;
}
.reasons__card-text {
  font-size: 13px;
  line-height: 1.7;
  color: #555;
  position: relative;
  z-index: 1;
}

/* アイコン：カード上部中央に配置、背景なし */
.reasons__card-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.reasons__card-icon img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

/* ========================================
   [5] Practice Areas — 取扱分野
   ======================================== */
.practice {
  position: relative;
  background: #eceef2;
  padding: var(--section-gap) 0;
  overflow: hidden;
}
.practice__wm {
  position: absolute;
  top: 40px;
  left: -20px;
  font-family: var(--font-english);
  font-size: 120px;
  font-weight: 400;
  color: var(--color-primary);
  opacity: 0.04;
  letter-spacing: 0.05em;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
}
.practice__header {
  max-width: var(--content-width);
  margin: 0 auto 48px;
  padding: 0 20px;
  text-align: center;
}
.practice__en-sub {
  font-family: var(--font-english);
  font-size: var(--font-size-h1-en);
  font-weight: 400;
  color: var(--color-primary);
  opacity: 0.4;
  letter-spacing: 0.3em;
  margin-bottom: 12px;
}
.practice__heading {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--color-text);
  line-height: var(--line-height-heading);
  position: relative;
  padding-bottom: 20px;
}
.practice__heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 2px;
  background: var(--color-accent);
}

/* 前面2分野：大カード */
.practice__featured {
  max-width: var(--content-width);
  margin: 0 auto 40px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.practice__card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.3s ease, transform 0.7s cubic-bezier(0.22,1,0.36,1), opacity 0.7s cubic-bezier(0.22,1,0.36,1);
}
.practice__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.practice__card--large {
  position: relative;
  background: #fff;
  border: none;
  border-radius: 10px;
  padding: 36px 28px 28px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(30,61,107,0.08);
}
.practice__card--large::before {
  content: '';
  position: absolute;
  top: -6px;
  right: -6px;
  width: 40px;
  height: 40px;
  border-top: 2px solid var(--color-accent);
  border-right: 2px solid var(--color-accent);
  opacity: 0.4;
  pointer-events: none;
  border-radius: 0 var(--radius) 0 0;
}
.practice__card--large::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: -6px;
  width: 28px;
  height: 28px;
  border-bottom: 2px solid rgba(30,61,107,0.15);
  border-left: 2px solid rgba(30,61,107,0.15);
  pointer-events: none;
  border-radius: 0 0 0 var(--radius);
}
.practice__card-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.practice__card-icon img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}
.practice__card-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}
.practice__card-en {
  font-family: var(--font-english);
  font-size: 11px;
  color: var(--color-primary);
  opacity: 0.35;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}
.practice__card-text {
  font-size: 14px;
  line-height: 1.7;
  color: #444;
}

/* 他6分野：コンパクトカード */
.practice__compact {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.practice__card--small {
  position: relative;
  background: #fff;
  border: none;
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 10px rgba(30,61,107,0.05);
}
.practice__card--small::before {
  content: '';
  position: absolute;
  top: -6px;
  right: -6px;
  width: 40px;
  height: 40px;
  border-top: 2px solid var(--color-accent);
  border-right: 2px solid var(--color-accent);
  opacity: 0.3;
  pointer-events: none;
  border-radius: 0 var(--radius) 0 0;
}
.practice__card--small::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: -6px;
  width: 28px;
  height: 28px;
  border-bottom: 2px solid rgba(30,61,107,0.15);
  border-left: 2px solid rgba(30,61,107,0.15);
  pointer-events: none;
  border-radius: 0 0 0 var(--radius);
}
.practice__card-icon-sm {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.practice__card-icon-sm img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}
.practice__card-name {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  flex: 1;
}
.practice__card-arrow {
  font-size: 18px;
  color: var(--color-primary);
  opacity: 0.4;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.practice__card--small:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30,61,107,0.1);
}
.practice__card--small:hover .practice__card-arrow {
  opacity: 1;
  transform: translateX(4px);
}

/* ========================================
   [6] Lawyers — 弁護士紹介
   ======================================== */
.lawyers {
  position: relative;
  background: #fff;
  padding: var(--section-gap) 0;
  overflow: hidden;
}
.lawyers__wm {
  position: absolute;
  top: 40px;
  left: -20px;
  font-family: var(--font-english);
  font-size: 120px;
  font-weight: 400;
  color: var(--color-primary);
  opacity: 0.04;
  letter-spacing: 0.05em;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
}
.lawyers__header {
  max-width: var(--content-width);
  margin: 0 auto 48px;
  padding: 0 20px;
  text-align: center;
}
.lawyers__en-sub {
  font-family: var(--font-english);
  font-size: var(--font-size-h1-en);
  font-weight: 400;
  color: var(--color-primary);
  opacity: 0.4;
  letter-spacing: 0.3em;
  margin-bottom: 12px;
}
.lawyers__heading {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--color-text);
  line-height: var(--line-height-heading);
  position: relative;
  padding-bottom: 20px;
}
.lawyers__heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 2px;
  background: var(--color-accent);
}

/* 2列グリッド：代表大＋副小 */
.lawyers__grid {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 32px;
  align-items: start;
}

/* カード共通 */
.lawyers__card {
  position: relative;
  border: none;
  border-radius: 10px;
  overflow: visible;
  box-shadow: 0 4px 20px rgba(30,61,107,0.08);
}
.lawyers__card::before {
  content: '';
  position: absolute;
  top: -6px;
  right: -6px;
  width: 40px;
  height: 40px;
  border-top: 2px solid var(--color-accent);
  border-right: 2px solid var(--color-accent);
  opacity: 0.4;
  pointer-events: none;
  border-radius: 0 var(--radius) 0 0;
  z-index: 2;
}
.lawyers__card::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: -6px;
  width: 28px;
  height: 28px;
  border-bottom: 2px solid rgba(30,61,107,0.15);
  border-left: 2px solid rgba(30,61,107,0.15);
  pointer-events: none;
  border-radius: 0 0 0 var(--radius);
  z-index: 2;
}

/* 両カード共通：縦積みレイアウト（写真上＋テキスト下） */
.lawyers__photo {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
}
.lawyers__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.lawyers__info {
  padding: 24px 28px 28px;
}


/* 副カード：顔位置を下寄せ */
.lawyers__card--sub .lawyers__photo img {
  object-position: center 20%;
}

/* 写真コーナー装飾 — カード全体に移動済み */

/* 肩書き */
.lawyers__role {
  font-family: var(--font-english);
  font-size: 12px;
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

/* 名前 */
.lawyers__name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

/* 資格タグ */
.lawyers__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.lawyers__tag {
  font-size: 11px;
  font-weight: 500;
  color: var(--color-primary);
  background: rgba(30,61,107,0.06);
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.05em;
}

/* 説明文 */
.lawyers__desc {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 12px;
}

/* プロフィールリンク */
.lawyers__link {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-primary);
  text-decoration: none;
  margin-top: 4px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.lawyers__link:hover {
  opacity: 0.7;
  transform: translateX(4px);
}

/* ========================================
   [7] Flow — ご相談の流れ
   ======================================== */
.flow {
  position: relative;
  background: #eceef2;
  padding: var(--section-gap) 0;
  overflow: hidden;
}
.flow__wm {
  position: absolute;
  top: 40px;
  left: -20px;
  font-family: var(--font-english);
  font-size: 120px;
  font-weight: 400;
  color: var(--color-primary);
  opacity: 0.04;
  letter-spacing: 0.05em;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
}
.flow__header {
  max-width: var(--content-width);
  margin: 0 auto 48px;
  padding: 0 20px;
  text-align: center;
}
.flow__en-sub {
  font-family: var(--font-english);
  font-size: var(--font-size-h1-en);
  font-weight: 400;
  color: var(--color-primary);
  opacity: 0.4;
  letter-spacing: 0.3em;
  margin-bottom: 12px;
}
.flow__heading {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--color-text);
  line-height: var(--line-height-heading);
  position: relative;
  padding-bottom: 20px;
}
.flow__heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 2px;
  background: var(--color-accent);
}

/* 4列均等グリッド */
.flow__grid {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.flow__card {
  position: relative;
  background: #fff;
  border: none;
  border-radius: 10px;
  padding: 48px 24px 28px;
  box-shadow: 0 6px 24px rgba(30,61,107,0.12);
  text-align: center;
}
/* カード間の矢印（最後のカード以外） */
.flow__card:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -15px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 10px solid var(--color-primary);
  opacity: 0.35;
  z-index: 3;
}
.flow__num {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #1E3D6B 0%, #2B6CA8 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(30,61,107,0.2);
}
.flow__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flow__icon img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}
.flow__card-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 14px;
}
.flow__card-sub {
  font-size: 13px;
  font-weight: 400;
  color: #555;
}
.flow__card-text {
  font-size: 13px;
  line-height: 1.7;
  color: #555;
  text-align: left;
  position: relative;
  z-index: 1;
}

/* ========================================
   [8] Fee — 料金
   ======================================== */
.fee {
  position: relative;
  background: #fff;
  padding: var(--section-gap) 0;
  overflow: hidden;
}
.fee__wm {
  position: absolute;
  top: 40px;
  left: -20px;
  font-family: var(--font-english);
  font-size: 120px;
  font-weight: 400;
  color: var(--color-primary);
  opacity: 0.04;
  letter-spacing: 0.05em;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
}
.fee__header {
  max-width: var(--content-width);
  margin: 0 auto 48px;
  padding: 0 20px;
  text-align: center;
}
.fee__en-sub {
  font-family: var(--font-english);
  font-size: var(--font-size-h1-en);
  font-weight: 400;
  color: var(--color-primary);
  opacity: 0.4;
  letter-spacing: 0.3em;
  margin-bottom: 12px;
}
.fee__heading {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--color-text);
  line-height: var(--line-height-heading);
  position: relative;
  padding-bottom: 20px;
}
.fee__heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 2px;
  background: var(--color-accent);
}

/* 3列均等グリッド */
.fee__grid {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.fee__card {
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ヒーローカード：ネイビー背景反転＋CTA内包＋白L字線 */
.fee__card--hero {
  position: relative;
  background: linear-gradient(160deg, #1a3560 0%, #2B6CA8 100%);
  border: none;
  padding: 40px 28px 36px;
  box-shadow: 0 8px 32px rgba(30,61,107,0.18);
}
.fee__card--hero::before {
  content: '';
  position: absolute;
  top: -6px;
  right: -6px;
  width: 40px;
  height: 40px;
  border-top: 2px solid rgba(255,255,255,0.25);
  border-right: 2px solid rgba(255,255,255,0.25);
  pointer-events: none;
  border-radius: 0 var(--radius) 0 0;
}
.fee__card--hero::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: -6px;
  width: 28px;
  height: 28px;
  border-bottom: 2px solid rgba(255,255,255,0.15);
  border-left: 2px solid rgba(255,255,255,0.15);
  pointer-events: none;
  border-radius: 0 0 0 var(--radius);
}
.fee__card--hero .fee__label {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.fee__card--hero .fee__price {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 8px;
}
.fee__card--hero .fee__unit {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
}
.fee__card--hero .fee__desc {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}
.fee__hero-cta {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 28px;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 0 rgba(140,110,40,0.4);
  margin-top: auto;
}
.fee__hero-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* 通常カード：白背景＋コーナーL字線 */
.fee__card--standard {
  position: relative;
  background: #fff;
  border: none;
  padding: 36px 24px 32px;
  box-shadow: 0 4px 20px rgba(30,61,107,0.08);
}
.fee__card--standard::before {
  content: '';
  position: absolute;
  top: -6px;
  right: -6px;
  width: 40px;
  height: 40px;
  border-top: 2px solid var(--color-accent);
  border-right: 2px solid var(--color-accent);
  opacity: 0.4;
  pointer-events: none;
  border-radius: 0 var(--radius) 0 0;
}
.fee__card--standard::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: -6px;
  width: 28px;
  height: 28px;
  border-bottom: 2px solid rgba(30,61,107,0.15);
  border-left: 2px solid rgba(30,61,107,0.15);
  pointer-events: none;
  border-radius: 0 0 0 var(--radius);
}
.fee__card--standard .fee__label {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: #555;
  margin-bottom: 10px;
}
.fee__card--standard .fee__price {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: 4px;
}
.fee__card--standard .fee__unit {
  font-size: 15px;
  font-weight: 500;
  color: #555;
}
.fee__tax {
  font-size: 12px;
  color: #777;
}
.fee__note {
  font-size: 12px;
  color: #777;
  margin-bottom: 16px;
}
.fee__card--standard .fee__desc {
  font-size: 13px;
  line-height: 1.7;
  color: #555;
  text-align: left;
}
.fee__more {
  max-width: var(--content-width);
  margin: 32px auto 0;
  padding: 0 20px;
  text-align: center;
}
.fee__more-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-primary);
  text-decoration: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.fee__more-link:hover {
  opacity: 0.7;
  transform: translateX(4px);
}

/* ========================================
   [9] News — お知らせ
   ======================================== */
.news {
  position: relative;
  background: #eceef2;
  padding: var(--section-gap) 0;
  overflow: hidden;
}
.news__wm {
  position: absolute;
  top: 40px;
  left: -20px;
  font-family: var(--font-english);
  font-size: 120px;
  font-weight: 400;
  color: var(--color-primary);
  opacity: 0.04;
  letter-spacing: 0.05em;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
}
.news__header {
  max-width: var(--content-width);
  margin: 0 auto 48px;
  padding: 0 20px;
  text-align: center;
}
.news__en-sub {
  font-family: var(--font-english);
  font-size: var(--font-size-h1-en);
  font-weight: 400;
  color: var(--color-primary);
  opacity: 0.4;
  letter-spacing: 0.3em;
  margin-bottom: 12px;
}
.news__heading {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--color-text);
  line-height: var(--line-height-heading);
  position: relative;
  padding-bottom: 20px;
}
.news__heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 2px;
  background: var(--color-accent);
}

/* 3列均等グリッド */
.news__grid {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news__card {
  display: flex;
  align-items: stretch;
  background: #fff;
  border: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(30,61,107,0.08);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.3s ease, transform 0.7s cubic-bezier(0.22,1,0.36,1), opacity 0.7s cubic-bezier(0.22,1,0.36,1);
}
.news__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(30,61,107,0.12);
}
.news__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  padding: 16px 12px;
  background: rgba(30,61,107,0.04);
  border-right: 1px solid rgba(0,0,0,0.06);
}
.news__date-day {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}
.news__date-year {
  font-family: var(--font-body);
  font-size: 11px;
  color: #999;
  margin-top: 2px;
}
.news__body {
  flex: 1;
  padding: 20px 24px;
}
.news__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 3px;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.news__tag--info {
  background: var(--color-primary);
  color: #fff;
}
.news__tag--seminar {
  background: var(--color-accent);
  color: #fff;
}
.news__tag--media {
  background: #555;
  color: #fff;
}
.news__title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.6;
}
.news__more {
  max-width: var(--content-width);
  margin: 32px auto 0;
  padding: 0 20px;
  text-align: center;
}
.news__more-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-primary);
  text-decoration: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.news__more-link:hover {
  opacity: 0.7;
  transform: translateX(4px);
}

/* ========================================
   [10] CTA Band
   ======================================== */
.cta-band {
  background: #1A3A5C;
  padding: 40px 20px;
  text-align: center;
}
.cta-band__inner {
  max-width: 600px;
  margin: 0 auto;
}
.cta-band__message {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 12px;
}
.cta-band__badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  padding: 5px 16px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.cta-band__btn {
  display: block;
  max-width: 280px;
  margin: 0 auto 16px;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 6px;
  text-decoration: none;
  text-align: center;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 0 rgba(140,110,40,0.4);
}
.cta-band__btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.cta-band__phone {
  color: rgba(255,255,255,0.8);
  font-size: 15px;
}
.cta-band__phone-icon {
  margin-right: 4px;
}
.cta-band__phone-number {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
}
.cta-band__phone-hours {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-left: 4px;
}

/* ========================================
   [11] Footer
   ======================================== */
.footer {
  background: #1E2A38;
  color: rgba(255,255,255,0.7);
}
.footer__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 56px 20px 40px;
  display: grid;
  grid-template-columns: 240px 1fr 240px;
  gap: 40px;
  align-items: start;
}
.footer__logo {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}
.footer__nav-group {
  display: flex;
  gap: 40px;
}
.footer__nav-title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.footer__nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer__nav-list li {
  margin-bottom: 8px;
}
.footer__nav-list a {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer__nav-list a:hover {
  color: #fff;
}
.footer__contact {
  text-align: right;
}
.footer__address {
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}
.footer__tel a {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}
.footer__hours {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}
.footer__copy {
  background: rgba(0,0,0,0.15);
  padding: 16px 20px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}
.footer__copy-link {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  margin-right: 16px;
  transition: color 0.3s ease;
}
.footer__copy-link:hover {
  color: #fff;
}

.flow__more {
  max-width: var(--content-width);
  margin: 32px auto 0;
  padding: 0 20px;
  text-align: center;
}
.flow__more-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-primary);
  text-decoration: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.flow__more-link:hover {
  opacity: 0.7;
  transform: translateX(4px);
}

/* ========================================
   Floating CTA (SP only)
   ======================================== */
.floating-cta {
  display: none;
}

/* ========================================
   RESPONSIVE — Tablet (1024px)
   ======================================== */
@media (max-width: 1280px) {
  .fv__inner { max-width: 100%; padding: 80px 0 24px 20px; gap: 20px; }
  .fv__text { flex: 0 0 55%; max-width: 55%; padding: 32px 40px 28px; margin-left: 16px; margin-right: -160px; }
  .fv__keyword { font-size: 44px; }
  .fv__heading { font-size: 28px; }
  .fv__particle { font-size: 7px; }
  .fv__arch { width: min(340px, 100%); border-radius: 170px 170px 0 0; }
  .fv__arch::after { border-radius: 156px 156px 0 0; }
  .fv__badge { font-size: 12px; padding: 6px 12px 6px 10px; }
  .fv__cta-btn { padding: 14px 32px 14px 40px; font-size: 17px; }
  .fv__photo { margin-right: -60px; }
  /* ヘッダー: 1024px以下ではナビをハンバーガー化 */
  .header__top { padding: 12px 20px; }
  .header__logo { font-size: 20px; }
  .header__cta-group { gap: 12px; }
  .header__phone { font-size: 18px; }
  .header__cta-btn { padding: 8px 16px; font-size: 13px; }
  .header__hamburger { display: flex; flex-direction: column; gap: 5px; width: 28px; height: 28px; justify-content: center; z-index: 1100; }
  .header__hamburger span { display: block; width: 100%; height: 2px; background: var(--color-text); transition: transform 0.3s, opacity 0.3s; }
  .header__nav { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,0.98); border-top: none; flex-direction: column; justify-content: center; align-items: center; gap: 0; padding: 80px 24px 40px; z-index: 1050; overflow-y: auto; }
  .header__nav.is-open { display: flex; }
  .header__menu { flex-direction: column; gap: 0; width: 100%; padding: 0; justify-content: flex-start; }
  .header__menu > li > a { font-size: 16px; padding: 16px 0; border-bottom: 1px solid rgba(0,0,0,0.06); }
  .header__submenu { display: block; position: static; box-shadow: none; background: transparent; padding: 0 0 8px 16px; }

  /* About Tablet */
  .about__inner { gap: 32px; }
  .about__content { flex: 0 0 50%; max-width: 50%; }

  /* Reasons Tablet */
  .reasons__grid { gap: 20px; }
  .reasons__card { min-height: 220px; padding: 36px 24px 24px; }
  .reasons__card-num { font-size: 90px; }
  .reasons__card-icon { width: 80px; height: 80px; }
  .reasons__card-icon img { width: 80px; height: 80px; }

  /* Practice Areas Tablet */
  .practice__featured { gap: 20px; }
  .practice__compact { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* Lawyers Tablet */
  .lawyers__grid { grid-template-columns: 1fr 1fr; gap: 24px; }

  /* Flow Tablet */
  .flow__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .flow__card:not(:last-child)::after { display: none; }

  /* Fee Tablet */
  .fee__grid { grid-template-columns: 1fr; gap: 16px; }
  .fee__card--hero .fee__price { font-size: 40px; }

  /* News Tablet */
  .news__grid { grid-template-columns: 1fr; gap: 16px; }

  /* Footer Tablet */
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__nav-group { flex-wrap: wrap; gap: 32px; }
  .footer__contact { text-align: left; }
}

/* ========================================
   RESPONSIVE — SP (768px)
   ======================================== */
@media (max-width: 768px) {
  /* Header SP */
  .header__top { padding: 10px 16px; justify-content: center; }
  .header__logo { font-size: 18px; letter-spacing: 0.1em; }
  .header__hamburger { position: absolute; right: 16px; }
  .header__cta-group { display: none; }
  .header__hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    height: 28px;
    justify-content: center;
    z-index: 1100;
  }
  .header__hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-text);
    transition: transform 0.3s, opacity 0.3s;
  }
  .header__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .header__hamburger.is-open span:nth-child(2) { opacity: 0; }
  .header__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .header__nav {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.98);
    border-top: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 80px 24px 40px;
    z-index: 1050;
    overflow-y: auto;
  }
  .header__nav.is-open { display: flex; }
  .header__menu {
    flex-direction: column;
    gap: 0;
    padding: 0;
    justify-content: flex-start;
    width: 100%;
  }
  .header__menu > li > a {
    font-size: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }
  .header__submenu {
    display: block;
    position: static;
    box-shadow: none;
    background: transparent;
    padding: 0 0 8px 16px;
  }
  .header__submenu li a { padding: 10px 0; font-size: 14px; }
  /* SP: ヘッダー上段のCTAは非表示、ハンバーガー内にCTAを別途表示するために
     nav内にCTAグループのクローンが必要な場合はHTMLに追加する。
     現状はフローティングCTAがその役割を担う */

  /* FV SP */
  .fv { min-height: auto; }
  .fv__panel { display: none; }
  .fv__inner {
    flex-direction: column;
    min-height: auto;
    padding: 44px 0 0;
    gap: 0;
  }
  /* 写真：上に移動、全幅矩形 */
  .fv__photo { flex: none; width: 100%; display: flex; justify-content: center; order: -1; }
  .fv__arch {
    width: 100%;
    max-height: 280px;
    border-radius: 0;
    box-shadow: none;
  }
  .fv__arch img {
    height: 280px;
    object-fit: cover;
    object-position: center 20%;
  }
  .fv__arch::after { display: none; }
  .fv__arch img { border-radius: 0; }
  /* テキスト：枠線なし、余白統一 */
  .fv__text {
    flex: 1;
    max-width: 100%;
    padding: 24px 20px 32px;
    margin-right: 0;
    border: none;
    border-top: none;
    box-shadow: none;
    background: transparent;
  }
  .fv__caption { font-size: 10px; margin-bottom: 12px; }
  .fv__keyword { font-size: 36px; }
  .fv__heading { font-size: 22px; }
  .fv__particle { font-size: 7px; }
  .fv__line--2 { padding-left: 0; }
  /* バッジ：均等3列grid */
  .fv__badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 20px;
  }
  .fv__badge {
    font-size: 10px;
    padding: 6px 4px;
    text-align: center;
    justify-content: center;
  }
  /* CTA */
  .fv__cta-area {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .fv__cta-btn { width: 100%; justify-content: center; font-size: 16px; padding: 14px 24px; }
  .fv__cta-sub { text-align: center; border-left: none; padding-left: 0; }

  /* SP FVアニメーション順序：写真(上)→テキスト→バッジ→CTA */
  .fv.is-animated .fv__photo { animation-delay: 0.1s; }
  .fv.is-animated .fv__text { animation-delay: 0.5s; }
  .fv.is-animated .fv__caption { animation-delay: 0.7s; }
  .fv.is-animated .fv__line--1 { animation-delay: 0.9s; }
  .fv.is-animated .fv__line--2 { animation-delay: 1.1s; }
  .fv.is-animated .fv__badges { animation-delay: 1.4s; }
  .fv.is-animated .fv__cta-area { animation-delay: 1.7s; }

  /* Floating CTA */
  .floating-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: fixed;
    bottom: 20px; right: 16px;
    z-index: 900;
  }
  .floating-cta__mail,
  .floating-cta__phone {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px; height: 52px;
    border-radius: 50%;
    color: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  }
  .floating-cta__mail { background: var(--color-primary); }
  .floating-cta__phone { background: var(--color-cta-dark); }

  /* About SP */
  .about { padding: 48px 0; }
  .about__wm { font-size: 64px; top: 20px; }
  .about__inner { flex-direction: column; gap: 24px; }
  .about__content { flex: 1; max-width: 100%; }
  .about__heading { font-size: 24px; }
  .about__lead { font-size: 14px; }
  .about__lead { font-size: 14px; }
  .about__quote { padding: 20px 20px 16px 32px; }
  .about__quote p { font-size: 14px; }
  .about__quote-mark { font-size: 40px; left: 6px; top: 4px; }
  .about__photo { width: 60%; max-width: 280px; margin: 0 auto; }
  .about__photo img { max-height: 220px; object-fit: cover; object-position: center 15%; }
  .about__photo::before { width: 32px; height: 32px; top: -5px; right: -5px; }
  .about__photo::after { width: 24px; height: 24px; bottom: -5px; left: -5px; }
  .about__trust { flex-wrap: wrap; gap: 12px; margin-top: 32px; margin-bottom: 0; }
  .about__trust-item { flex: 0 0 calc(50% - 6px); padding: 14px 10px 12px; }
  .about__trust-number { font-size: 32px; }

  /* Reasons SP */
  .reasons__wm { font-size: 64px; top: 20px; }
  .reasons { padding: 48px 0; }
  .reasons__heading { font-size: 24px; }
  .reasons__header { margin-bottom: 32px; }
  .reasons__grid { grid-template-columns: 1fr; gap: 16px; }
  .reasons__card { padding: 32px 20px 24px; min-height: auto; }
  .reasons__card::before { width: 32px; height: 32px; top: -5px; right: -5px; }
  .reasons__card::after { width: 24px; height: 24px; bottom: -5px; left: -5px; }
  .reasons__card-num { font-size: 72px; }
  .reasons__card-icon { width: 72px; height: 72px; }
  .reasons__card-icon img { width: 72px; height: 72px; }
  .reasons__card-title { font-size: 18px; }
  .reasons__card-text { font-size: 14px; }

  /* Practice Areas SP */
  .practice__wm { font-size: 64px; top: 20px; }
  .practice { padding: 48px 0; }
  .practice__heading { font-size: 24px; }
  .practice__header { margin-bottom: 32px; }
  .practice__featured { grid-template-columns: 1fr; gap: 16px; margin-bottom: 16px; }
  .practice__compact { grid-template-columns: 1fr; gap: 12px; }
  .practice__card--large { padding: 28px 20px 24px; }
  .practice__card--large::before { width: 32px; height: 32px; top: -5px; right: -5px; }
  .practice__card--large::after { width: 24px; height: 24px; bottom: -5px; left: -5px; }
  .practice__card--small::before { width: 32px; height: 32px; top: -5px; right: -5px; opacity: 0.25; }
  .practice__card--small::after { width: 24px; height: 24px; bottom: -5px; left: -5px; opacity: 0.08; }
  .practice__card-icon { width: 64px; height: 64px; }
  .practice__card-icon img { width: 64px; height: 64px; }
  .practice__card--small:hover { transform: none; box-shadow: 0 2px 10px rgba(30,61,107,0.05); }
  .practice__card-text { font-size: 14px; }

  /* Lawyers SP */
  .lawyers__wm { font-size: 64px; top: 20px; }
  .lawyers { padding: 48px 0; }
  .lawyers__heading { font-size: 24px; }
  .lawyers__header { margin-bottom: 32px; }
  .lawyers__grid { grid-template-columns: 1fr; gap: 20px; }
  .lawyers__card {
    display: grid;
    grid-template-columns: 120px 1fr;
    padding: 0;
  }
  .lawyers__photo {
    aspect-ratio: auto;
    height: 100%;
    grid-row: 1 / 3;
  }
  .lawyers__card::before { width: 32px; height: 32px; top: -5px; right: -5px; }
  .lawyers__card::after { width: 24px; height: 24px; bottom: -5px; left: -5px; }
  .lawyers__info { padding: 16px 20px; }
  .lawyers__name { font-size: 18px; }
  .lawyers__desc { font-size: 14px; }

  /* Flow SP — 横並びカード（左：番号+アイコン / 右：タイトル+説明） */
  .flow__wm { font-size: 64px; top: 20px; }
  .flow { padding: 48px 0; }
  .flow__heading { font-size: 24px; }
  .flow__header { margin-bottom: 32px; }
  .flow__grid { grid-template-columns: 1fr; gap: 20px; }
  .flow__card {
    display: grid;
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto auto;
    column-gap: 16px;
    row-gap: 4px;
    padding: 20px;
    text-align: left;
  }
  .flow__num {
    position: static;
    transform: none;
    width: 40px;
    height: 40px;
    font-size: 16px;
    grid-column: 1;
    grid-row: 1;
    margin: 0 auto;
  }
  .flow__icon {
    width: 48px;
    height: 48px;
    margin: 8px auto 0;
    grid-column: 1;
    grid-row: 2;
  }
  .flow__icon img { width: 48px; height: 48px; }
  .flow__card-title {
    font-size: 18px;
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    margin-bottom: 0;
  }
  .flow__card-text {
    font-size: 14px;
    grid-column: 2;
    grid-row: 2;
    align-self: start;
  }
  /* カード間の下向き矢印 */
  .flow__card:not(:last-child)::after {
    display: block;
    top: auto;
    bottom: -14px;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid var(--color-primary);
    border-bottom: none;
    opacity: 0.35;
  }

  /* Fee SP */
  .fee__wm { font-size: 64px; top: 20px; }
  .fee { padding: 48px 0; }
  .fee__heading { font-size: 24px; }
  .fee__header { margin-bottom: 32px; }
  .fee__grid { grid-template-columns: 1fr; gap: 16px; }
  /* ヒーローカード：中央揃え維持、パディング圧縮 */
  .fee__card--hero::before { width: 32px; height: 32px; top: -5px; right: -5px; }
  .fee__card--hero::after { width: 24px; height: 24px; bottom: -5px; left: -5px; }
  .fee__card--standard::before { width: 32px; height: 32px; top: -5px; right: -5px; }
  .fee__card--standard::after { width: 24px; height: 24px; bottom: -5px; left: -5px; }
  .fee__card--hero { padding: 28px 24px 24px; }
  .fee__card--hero .fee__price { font-size: 36px; }
  .fee__hero-cta { max-width: 100%; }
  .fee__card--hero .fee__desc { font-size: 14px; }
  /* 通常カード：横並び（左：金額 / 右：ラベル+説明） */
  .fee__card--standard {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 20px;
    row-gap: 0;
    padding: 20px;
    text-align: left;
    align-items: center;
    border-top: none;
  }
  .fee__card--standard .fee__label {
    grid-column: 2;
    grid-row: 1;
    margin-bottom: 4px;
    font-size: 15px;
    font-weight: 700;
    align-self: end;
  }
  .fee__card--standard .fee__price {
    font-size: 22px;
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    text-align: center;
    margin-bottom: 0;
    white-space: nowrap;
    line-height: 1.2;
  }
  .fee__card--standard .fee__unit { font-size: 13px; }
  .fee__card--standard .fee__tax { font-size: 11px; }
  .fee__card--standard .fee__note {
    grid-column: 1;
    grid-row: 2;
    text-align: center;
    font-size: 11px;
    color: #777;
    margin-bottom: 0;
    align-self: start;
  }
  .fee__card--standard .fee__desc {
    grid-column: 2;
    grid-row: 2;
    font-size: 13px;
    text-align: left;
    align-self: start;
  }

  /* News SP */
  .news__wm { font-size: 64px; top: 20px; }
  .news { padding: 48px 0; }
  .news__heading { font-size: 24px; }
  .news__header { margin-bottom: 32px; }
  .news__grid { grid-template-columns: 1fr; gap: 12px; }
  .news__date { min-width: 64px; padding: 12px 8px; }
  .news__date-day { font-size: 18px; }
  .news__body { padding: 16px 20px; }

  /* CTA Band SP */
  .cta-band { padding: 36px 20px; }
  .cta-band__message { font-size: 18px; }
  .cta-band__btn { font-size: 16px; padding: 14px 24px; max-width: 100%; }
  .cta-band__phone-number { font-size: 20px; }
  .cta-band__phone-hours { display: block; margin-left: 0; margin-top: 4px; }

  /* Footer SP */
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 20px 32px;
  }
  .footer__nav-group {
    flex-direction: column;
    gap: 24px;
  }
  .footer__contact {
    text-align: left;
  }

  /* Scroll Animations SP — 移動量を12px以下に縮小 */
  @keyframes slideLeftSp {
    from { opacity: 0; transform: translateX(-12px); }
    to   { opacity: 1; transform: translateX(0); }
  }
  @keyframes dropInSp {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes clipInSp {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .anim-slide-left { transform: translateX(-12px); }
  .anim-slide-left.is-visible { animation-name: slideLeftSp; }
  .anim-drop { transform: translateY(-10px); }
  .anim-drop.is-visible { animation-name: dropInSp; }
  .anim-clip { transform: translateY(10px); }
  .anim-clip.is-visible { animation-name: clipInSp; }
}

/* ========================================
   REDUCED MOTION（全ページ共通）
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  .anim-slide-left,
  .anim-fade,
  .anim-drop,
  .anim-scale,
  .anim-clip {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}
