/* ============================================
   dialog HP renewal — global stylesheet
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;500;700&display=swap');

:root {
  /* dialog brand colors — marine blue (C83 M29 Y0 K0) */
  --blue: #0080C8;          /* Marine Blue — primary */
  --blue-dark: #1B3C7A;     /* Deep navy — for logo dark end */
  --blue-deep: #0A2456;     /* Deepest — for dark sections */
  --blue-light: #5FB3E6;    /* Light accent */
  --blue-soft: #E6F2FA;     /* Soft bg tint */
  --gold: #C89A5B;          /* Warm gold — accent for CTA & key numbers */
  --gold-dark: #9A6F33;     /* Richer bronze — gold text on white (AA) */
  --bg: #FFFFFF;
  --bg-warm: #F7FAFC;       /* Cool white instead of warm */
  --bg-cool: #F0F6FB;
  --ink: #0A2456;
  --ink-sub: #5A6B82;
  --line: rgba(10, 36, 86, 0.12);
  --line-soft: rgba(10, 36, 86, 0.06);
  --max: 1200px;
  --pad: clamp(20px, 5vw, 64px);
  --section-y: clamp(64px, 10vw, 120px);
  --radius: 2px;
  --serif: "Noto Serif JP", serif;
  --sans: "Noto Serif JP", serif;
  --jp: "Noto Serif JP", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--jp);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt";
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.4; letter-spacing: 0.01em; }
p { margin: 0; }

.skip { position: absolute; left: -9999px; }
.pc { display: inline; }
@media (max-width: 768px) { .pc { display: none; } }

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid var(--line-soft);
  height: 72px;
  display: flex;
  align-items: center;
}
.header-inner {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.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; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); }
.brand-mark { display: inline-flex; align-items: center; color: var(--blue); }
.brand-mark img { height: 60px; width: auto; display: block; }
.footer-brand .brand-mark img { height: 48px; }
.brand-word {
  font-family: var(--sans);
  font-weight: 600; font-size: 22px; letter-spacing: -0.01em;
  color: var(--blue);
}
.site-nav { flex: 0 1 auto; margin-left: auto; }
.site-nav ul { display: flex; gap: 36px; }
.site-nav a {
  font-size: 14px; font-weight: 500; color: var(--ink);
  letter-spacing: 0.05em;
  position: relative; padding: 4px 0;
  transition: color 0.2s;
}
.site-nav a:hover { color: var(--blue); }
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1px;
  background: var(--blue); transition: right 0.3s ease;
}
.site-nav a:hover::after { right: 0; }
.header-cta { display: flex; gap: 8px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 28px;
  font-family: var(--jp); font-weight: 500; font-size: 15px;
  border-radius: var(--radius);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  cursor: pointer; border: 1px solid transparent;
  white-space: nowrap;
}
.btn-arrow { transition: transform 0.2s ease; }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn-primary { background: var(--gold); color: var(--blue-deep); font-weight: 700; }
.btn-primary:hover { background: var(--gold-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-primary-sm, .btn-ghost-sm {
  padding: 10px 16px; font-size: 13px; border-radius: var(--radius);
  font-weight: 500;
}
.btn-primary-sm { background: var(--gold); color: var(--blue-deep); font-weight: 700; }
.btn-primary-sm:hover { background: var(--gold-dark); color: #fff; }
.btn-ghost-sm { background: transparent; color: var(--blue); border: 1px solid var(--line); }
.btn-ghost-sm:hover { border-color: var(--blue); }
.btn-primary-on-dark { background: var(--gold); color: var(--blue-deep); font-weight: 700; }
.btn-primary-on-dark:hover { background: #fff; color: var(--blue-deep); }
.btn-outline-on-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-outline-on-dark:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* ============================================
   SECTION HEADS
   ============================================ */
.section-head {
  max-width: var(--max); margin: 0 auto;
  padding: 0 var(--pad) 48px;
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 32px;
}
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head.light .section-eyebrow,
.section-head.light .section-title { color: #fff; }
.section-eyebrow {
  font-family: var(--sans); font-weight: 600; font-size: 12px; letter-spacing: 0.2em;
  color: var(--blue);
}
.section-eyebrow.light { color: var(--blue-light); }
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.45; letter-spacing: 0.01em;
  color: var(--blue-dark);
  flex: 1;
}
.section-desc { color: var(--ink-sub); max-width: 640px; }
.section-more {
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  color: var(--blue); border-bottom: 1px solid var(--blue);
  padding-bottom: 2px; margin-left: auto;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  background: linear-gradient(180deg, #F7FAFC 0%, #E6F2FA 100%);
  padding: clamp(48px, 8vw, 96px) var(--pad) clamp(48px, 6vw, 80px);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; top: -200px; right: -200px; width: 700px; height: 700px;
  background: radial-gradient(circle at center, rgba(95,179,230,0.18), transparent 65%);
  pointer-events: none;
}
.hero-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px;
  align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.22em;
  color: var(--gold-dark);
  margin-bottom: 32px;
}
.eyebrow-line { width: 32px; height: 1px; background: var(--gold); display: inline-block; }
.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.25; letter-spacing: 0.02em;
  color: var(--blue-dark);
  margin-bottom: 32px;
}
.hero-title em {
  font-style: normal;
  font-family: var(--serif);
  background: linear-gradient(90deg, var(--blue-dark), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 400;
  padding: 0 6px;
}
.hero-lede {
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--ink); line-height: 2.0;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-badges {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--line); padding-top: 24px;
}
.hero-badges li {
  display: flex; flex-direction: column; gap: 4px;
  padding-right: 16px;
  border-right: 1px solid var(--line-soft);
}
.hero-badges li:last-child { border-right: 0; }
.hero-badges strong {
  font-size: 11px; font-weight: 500; color: var(--ink-sub); letter-spacing: 0.08em;
}
.hero-badges span {
  font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px);
  color: var(--blue-dark); letter-spacing: 0.02em;
}

.hero-visual { position: relative; min-height: 480px; }
.hero-placeholder {
  width: 100%; aspect-ratio: 4/5;
  background:
    linear-gradient(135deg, rgba(27,60,122,0.06), rgba(0,128,200,0.04)),
    repeating-linear-gradient(45deg, rgba(27,60,122,0.08) 0 10px, rgba(95,179,230,0.08) 10px 20px);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.hero-placeholder span {
  font-family: ui-monospace, Menlo, monospace; font-size: 12px; color: var(--ink-sub);
  background: rgba(255,255,255,0.8); padding: 6px 10px;
}
.hero-float {
  position: absolute; background: #fff;
  border: 1px solid var(--line);
  padding: 14px 18px; max-width: 240px;
  box-shadow: 0 12px 32px rgba(15,35,65,0.08);
  animation: floaty 6s ease-in-out infinite;
}
.hero-float .hf-label {
  font-family: var(--sans); font-size: 10px; font-weight: 600;
  color: var(--gold-dark); letter-spacing: 0.15em; display: block; margin-bottom: 4px;
}
.hero-float .hf-text {
  font-size: 14px; font-weight: 500; color: var(--blue-dark); display: block;
}
.hf-1 { top: 8%; left: -8%; animation-delay: 0s; }
.hf-2 { top: 42%; right: -6%; animation-delay: -2s; }
.hf-3 { bottom: 8%; left: 4%; animation-delay: -4s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.trust-bar {
  max-width: var(--max); margin: clamp(40px, 6vw, 64px) auto 0;
  display: flex; align-items: center; gap: 32px;
  padding-top: 32px; border-top: 1px solid var(--line);
}
.trust-label {
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  color: var(--ink-sub); letter-spacing: 0.18em; white-space: nowrap;
}
.trust-logos {
  display: flex; gap: 40px; flex-wrap: wrap; flex: 1;
}
.logo-placeholder {
  display: inline-flex; align-items: center; justify-content: center;
  width: 96px; height: 36px;
  border: 1px dashed var(--line);
  font-family: ui-monospace, Menlo, monospace; font-size: 10px; color: var(--ink-sub);
  letter-spacing: 0.15em;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 360px; }
  .hero-badges { grid-template-columns: repeat(2, 1fr); gap: 16px 0; }
  .site-nav { display: none; }
}

/* ============================================
   PROBLEMS
   ============================================ */
.problems {
  padding: var(--section-y) var(--pad);
  max-width: var(--max); margin: 0 auto;
}
.problems .section-head { padding-left: 0; padding-right: 0; }
.problem-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.problem-grid li {
  padding: 32px 24px;
  background: var(--bg-warm);
  border-top: 2px solid var(--blue);
  position: relative;
}
.problem-num {
  font-family: var(--serif); font-size: 36px; color: var(--gold);
  display: block; margin-bottom: 16px; line-height: 1;
}
.problem-grid h3 {
  font-size: 17px; color: var(--blue-dark); margin-bottom: 12px;
}
.problem-grid p { font-size: 13px; color: var(--ink-sub); line-height: 1.8; }
.problem-bridge {
  text-align: center;
  margin-top: 48px;
  font-size: 18px; font-weight: 500; color: var(--blue-dark);
}

@media (max-width: 900px) {
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  background: var(--bg-warm);
  padding: var(--section-y) 0;
}
.service-list {
  max-width: var(--max); margin: 0 auto;
  padding: 0 var(--pad);
  display: flex; flex-direction: column; gap: 80px;
}
.service-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.service-card-reverse { direction: rtl; }
.service-card-reverse > * { direction: ltr; }

.service-media {
  position: relative;
}
.media-placeholder {
  width: 100%; aspect-ratio: 4/3;
  background:
    repeating-linear-gradient(45deg, rgba(27,60,122,0.06) 0 10px, rgba(95,179,230,0.06) 10px 20px);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.media-placeholder.tall { aspect-ratio: 3/4; }
.media-placeholder span {
  font-family: ui-monospace, Menlo, monospace; font-size: 11px; color: var(--ink-sub);
  background: rgba(255,255,255,0.85); padding: 4px 10px;
}
.service-tag {
  position: absolute; top: 16px; left: 16px;
  background: var(--blue-dark); color: #fff;
  padding: 6px 12px; font-family: var(--sans); font-size: 11px; letter-spacing: 0.15em; font-weight: 600;
}
.service-label {
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  color: var(--gold-dark); letter-spacing: 0.15em;
  margin-bottom: 12px;
}
.service-name {
  font-family: var(--sans); font-weight: 600;
  font-size: clamp(32px, 3.5vw, 44px);
  color: var(--blue-dark); letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.service-lead {
  font-size: 16px; color: var(--ink); line-height: 1.9;
  margin-bottom: 24px;
}
.service-points {
  border-top: 1px solid var(--line); padding-top: 20px; margin-bottom: 28px;
}
.service-points li {
  padding: 10px 0 10px 24px; position: relative;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px; color: var(--ink);
}
.service-points li::before {
  content: ""; position: absolute; left: 0; top: 20px;
  width: 12px; height: 1px; background: var(--gold);
}
.service-more {
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  color: var(--blue); border-bottom: 1px solid var(--blue);
  padding-bottom: 2px;
  display: inline-block;
}

@media (max-width: 900px) {
  .service-card { grid-template-columns: 1fr; gap: 32px; }
  .service-card-reverse { direction: ltr; }
}

/* ============================================
   STRENGTHS
   ============================================ */
.strengths {
  background: linear-gradient(180deg, var(--blue-deep) 0%, var(--blue-dark) 100%);
  padding: var(--section-y) var(--pad);
  position: relative;
}
.strengths::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(95,179,230,0.18), transparent 50%);
  pointer-events: none;
}
.strengths .section-head { max-width: var(--max); margin: 0 auto; padding-left: 0; padding-right: 0; position: relative; }
.strength-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: rgba(255,255,255,0.1);
  position: relative;
}
.strength-item {
  background: var(--blue-deep);
  padding: 40px 32px;
  color: #fff;
}
.strength-num {
  font-family: var(--serif); font-size: 32px;
  color: var(--gold); display: block; margin-bottom: 20px; line-height: 1;
}
.strength-item h3 {
  font-size: 18px; color: #fff; margin-bottom: 12px;
}
.strength-item p {
  font-size: 13px; color: rgba(255,255,255,0.75); line-height: 1.9;
}

@media (max-width: 900px) {
  .strength-grid { grid-template-columns: 1fr; }
}

/* ============================================
   STATS
   ============================================ */
.stats { padding: var(--section-y) var(--pad); }
.stats .section-head { padding-left: 0; padding-right: 0; }
.stat-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.stat-card {
  padding: 40px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat-label {
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  color: var(--gold-dark); letter-spacing: 0.12em; margin-bottom: 16px;
}
.stat-value {
  font-family: var(--serif); font-size: clamp(56px, 6vw, 80px);
  color: var(--gold-dark); line-height: 1; margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.stat-value span {
  font-family: var(--jp); font-size: 20px; font-weight: 500;
  color: var(--ink-sub); margin-left: 6px;
}
.stat-note { font-size: 12px; color: var(--ink-sub); }

@media (max-width: 900px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   CASES
   ============================================ */
.cases {
  background: var(--bg-warm);
  padding: var(--section-y) var(--pad);
}
.cases .section-head {
  max-width: var(--max); margin: 0 auto 48px;
  padding-left: 0; padding-right: 0;
}
.case-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.case-card {
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15,35,65,0.08);
}
.case-media { position: relative; }
.case-media .media-placeholder { aspect-ratio: 3/2; }
.case-industry {
  position: absolute; top: 12px; left: 12px;
  background: var(--blue-dark); color: #fff;
  padding: 4px 10px; font-family: var(--sans); font-size: 10px; letter-spacing: 0.12em; font-weight: 600;
}
.case-body { padding: 28px 24px; }
.case-result {
  font-family: var(--sans); font-size: 13px; color: var(--ink-sub);
  margin-bottom: 12px;
}
.case-result strong {
  font-family: var(--serif); font-size: 28px; color: var(--gold-dark);
  font-weight: 400;
}
.case-card h3 {
  font-size: 17px; color: var(--blue-dark); line-height: 1.6;
  margin-bottom: 12px;
}
.case-summary {
  font-size: 13px; color: var(--ink-sub); line-height: 1.8;
  margin-bottom: 16px;
}
.case-meta {
  display: flex; gap: 16px; padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--sans); font-size: 11px; color: var(--ink-sub);
}

@media (max-width: 900px) {
  .case-grid { grid-template-columns: 1fr; }
}

/* ============================================
   MESSAGE
   ============================================ */
.message {
  padding: var(--section-y) var(--pad);
}
.message-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 0.8fr 1fr; gap: 80px;
  align-items: center;
}
.message-body p {
  margin-bottom: 20px; font-size: 15px; color: var(--ink); line-height: 2.1;
}
.signature {
  font-size: 15px !important; color: var(--blue-dark) !important;
  font-weight: 500; margin-top: 32px !important;
  padding-left: 12px; border-left: 2px solid var(--gold);
}

@media (max-width: 900px) {
  .message-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================
   COLUMN PREVIEW
   ============================================ */
.column-preview {
  background: var(--bg-cool);
  padding: var(--section-y) var(--pad);
}
.column-preview .section-head {
  max-width: var(--max); margin: 0 auto 48px;
  padding-left: 0; padding-right: 0;
}
.column-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.column-grid li {
  cursor: pointer;
}
.column-thumb { aspect-ratio: 3/2 !important; margin-bottom: 16px; }
.column-cat {
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  color: var(--gold-dark); letter-spacing: 0.12em; margin-bottom: 8px;
}
.column-grid h3 {
  font-size: 15px; color: var(--blue-dark); line-height: 1.6;
  margin-bottom: 10px;
}
.column-grid time {
  font-family: var(--sans); font-size: 11px; color: var(--ink-sub);
}

@media (max-width: 900px) {
  .column-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   FAQ
   ============================================ */
.faq {
  padding: var(--section-y) var(--pad);
}
.faq .section-head {
  max-width: 800px; margin: 0 auto 40px;
  padding-left: 0; padding-right: 0;
}
.faq-list {
  max-width: 800px; margin: 0 auto;
}
.faq-list li {
  border-bottom: 1px solid var(--line);
}
.faq-list details { padding: 20px 0; }
.faq-list summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: flex-start; gap: 16px;
  font-size: 16px; font-weight: 500; color: var(--blue-dark);
  position: relative; padding-right: 32px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 0; top: 0;
  font-family: var(--serif); font-size: 24px; color: var(--gold);
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-q {
  font-family: var(--serif); color: var(--gold); font-size: 22px; line-height: 1;
}
.faq-list details p {
  margin-top: 16px; padding-left: 32px;
  font-size: 14px; color: var(--ink-sub); line-height: 1.9;
}

/* ============================================
   CTA
   ============================================ */
.cta {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-dark) 55%, var(--blue) 110%);
  padding: var(--section-y) var(--pad);
  color: #fff; position: relative; overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; top: -200px; right: -200px; width: 600px; height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(95,179,230,0.25);
}
.cta::after {
  content: ""; position: absolute; bottom: -300px; left: -100px; width: 500px; height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
}
.cta-inner {
  max-width: 800px; margin: 0 auto; text-align: center; position: relative;
}
.cta h2 {
  font-size: clamp(28px, 4vw, 44px);
  color: #fff; line-height: 1.4; margin: 16px 0 24px;
}
.cta-lede {
  font-size: 15px; color: rgba(255,255,255,0.8); margin-bottom: 40px; line-height: 2;
}
.cta-actions {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 40px;
}
.cta-meta {
  display: flex; gap: 32px; justify-content: center; flex-wrap: wrap;
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.12);
}
.cta-meta li {
  font-family: var(--sans); font-size: 13px; color: rgba(255,255,255,0.7);
  padding-left: 20px; position: relative;
}
.cta-meta li::before {
  content: "✓"; position: absolute; left: 0; color: var(--blue-light);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #ffffff;
  color: #34465F;
  padding: 80px var(--pad) 32px;
  border-top: 1px solid var(--line);
}
.footer-top {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 2fr; gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.footer-brand .brand { color: var(--ink); margin-bottom: 20px; }
.footer-brand .brand-word { color: var(--ink); }
.footer-tag {
  font-family: var(--sans); font-size: 13px; font-style: italic;
  color: var(--blue-dark); margin-bottom: 24px; line-height: 1.6;
}
.site-footer address {
  font-style: normal; font-size: 13px; line-height: 1.9;
}
.footer-links {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.footer-links h4 {
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.15em;
  color: var(--ink); margin-bottom: 20px; font-weight: 600;
}
.footer-links ul li { margin-bottom: 12px; }
.footer-links a {
  font-size: 13px; color: #34465F;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--blue); }
.footer-bottom {
  max-width: var(--max); margin: 0 auto;
  padding-top: 32px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 12px; color: #5A6B82;
}

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   UNIFIED FOOTER (matches top page)
   ============================================ */
.footer {
  background: #ffffff;
  padding: 80px 48px 40px;
  color: #34465F;
  border-top: 1px solid var(--line);
}
.footer__inner { max-width: 1400px; margin: 0 auto; }
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer__logo { margin-bottom: 20px; }
.footer__address { font-size: 13px; line-height: 1.9; color: #34465F; }
.footer__col h5 {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 20px;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { margin-bottom: 10px; font-size: 13px; }
.footer__col a {
  color: #34465F;
  text-decoration: none;
  transition: color 0.3s;
}
.footer__col a:hover { color: var(--blue); }
.footer__bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: #5A6B82;
}
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
}
@media (max-width: 680px) {
  .footer { padding: 64px 24px 32px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
