﻿@charset "UTF-8";

:root {
  --bg: #f4efe7;
  --bg-soft: #fbf8f3;
  --surface: #ffffff;
  --surface-alt: #f8f5ef;
  --ink: #1a1b1f;
  --muted: #5f6470;
  --line: rgba(26, 27, 31, 0.12);
  --gold: #b08a53;
  --gold-soft: #d4b27a;
  --navy: #101521;
  --shadow: 0 24px 80px rgba(15, 19, 28, 0.16);
  --shadow-soft: 0 12px 40px rgba(15, 19, 28, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(176, 138, 83, 0.10), transparent 32%),
    radial-gradient(circle at 85% 18%, rgba(16, 21, 33, 0.08), transparent 24%),
    linear-gradient(180deg, #fcfaf6 0%, var(--bg) 42%, #efe8dd 100%);
  font: 16px/1.9 "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.25) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.12;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 82%);
}
h1, h2, h3, h4, h5, p, ul, ol, li, dl, dt, dd, form { margin: 0; padding: 0; }
img { display: block; max-width: 100%; height: auto; border: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold); }
r { color: var(--gold); font-style: normal; }
.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto 32px;
  padding-bottom: 24px;
}
.site-header {
  padding: 8px 22px 0;
  border: 1px solid rgba(16, 21, 33, 0.08);
  border-radius: 28px 28px 0 0;
  background: linear-gradient(180deg, rgba(250, 246, 239, 0.98), rgba(245, 239, 229, 0.96));
  color: var(--ink);
  box-shadow: var(--shadow);
}
.header-topline {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(26, 27, 31, 0.62);
  margin-bottom: 0;
}
.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 2px 0 0;
}
.site-brand { flex: 0 0 auto; }
.site-brand a,
.header-contact-tel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.site-brand img {
  max-width: min(520px, 42vw);
  max-height: 74px;
}
.header-contact { display: grid; justify-items: end; gap: 0; }
.header-contact-tel img { max-width: min(284px, 18.5vw); }
.site-nav {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin: 0 auto;
  gap: 20px;
  flex-wrap: wrap;
  padding: 4px 4px 8px;
  border-top: 1px solid rgba(16, 21, 33, 0.10);
}
.site-nav a {
  flex: 1 1 0;
  text-align: center;
  padding: 6px 0;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  color: rgba(26, 27, 31, 0.72);
  background: transparent;
  transition: color 180ms ease, border-color 180ms ease;
}
.site-nav a:hover,
.site-nav a.is-current {
  transform: none;
  border-color: rgba(176, 138, 83, 0.82);
  background: transparent;
  color: var(--ink);
}
main {
  background: rgba(252, 250, 246, 0.85);
  border: 1px solid rgba(16, 21, 33, 0.08);
  border-top: 0;
  border-radius: 0 0 28px 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(280px, 0.68fr);
  gap: 22px;
  align-items: start;
  min-height: 468px;
  padding: 30px 38px 28px;
  background:
    linear-gradient(112deg, rgba(8, 10, 14, 0.92) 4%, rgba(12, 15, 22, 0.84) 35%, rgba(12, 15, 22, 0.30) 74%, rgba(12, 15, 22, 0.18) 100%),
    url("../images/hero-law-firm.png") center center / cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), transparent 40%, rgba(0, 0, 0, 0.18));
  pointer-events: none;
}
.hero-copy,
.hero-card { position: relative; z-index: 1; }
.hero-copy { max-width: 620px; color: #f8f5ef; }
.hero-kicker,
.section-eyebrow {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.hero h1,
.section-heading h2,
.panel h2,
.hero-card h2,
.contact-banner h2 {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: 0.02em;
}
.hero h1 {
  margin-top: 12px;
  font-size: clamp(2.2rem, 4vw, 3.7rem);
  max-width: 11ch;
}
.hero-lead {
  margin-top: 16px;
  max-width: 38rem;
  font-size: 1rem;
  color: rgba(248, 245, 239, 0.88);
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #1b1510;
  box-shadow: 0 18px 32px rgba(176, 138, 83, 0.24);
}
.button-secondary {
  border-color: rgba(248, 245, 239, 0.28);
  color: #f8f5ef;
  background: rgba(255, 255, 255, 0.05);
}
.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}
.hero-points div {
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(14, 18, 25, 0.42);
  backdrop-filter: blur(10px);
}
.hero-points strong {
  display: block;
  color: #fff;
  font-size: 0.98rem;
  letter-spacing: 0.06em;
}
.hero-points span,
.hero-card p,
.panel p,
.feature-card p,
.contact-banner p,
.news-list dd,
.news-list dt,
.check-list li,
.tag-list span {
  color: var(--muted);
}
.hero-card {
  align-self: start;
  max-width: 360px;
  margin-left: auto;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(12, 16, 22, 0.48);
  color: #f8f5ef;
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}
.hero-card-label {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(212, 178, 122, 0.95);
  margin-bottom: 12px;
}
.hero-card h2 {
  font-size: clamp(1.3rem, 1.8vw, 1.75rem);
  color: #fff;
}
.hero-card p { margin-top: 12px; color: rgba(248, 245, 239, 0.84); }
.hero-card-note {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: rgba(248, 245, 239, 0.74);
}
.section-grid,
.section-block,
.contact-banner { padding: 32px 36px; }
.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: start;
  gap: 18px;
}
.panel-stack {
  display: grid;
  gap: 18px;
}
.panel,
.feature-card,
.news-panel,
.contact-banner {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}
.panel { padding: 24px; }
.panel-compact { min-height: 0; }
.panel-dark {
  background: linear-gradient(180deg, #101521, #191f2f);
  color: #f8f5ef;
}
.panel-dark .section-eyebrow,
.panel-dark p,
.panel-dark .check-list li { color: #f8f5ef; }
.panel-tall { min-height: 100%; }
.panel h2,
.feature-card h3,
.contact-banner h2 {
  font-size: clamp(1.35rem, 1.9vw, 1.9rem);
  margin-top: 10px;
  color: var(--ink);
}
.panel-dark h2 {
  color: #f8f5ef;
}
.section-heading { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.section-heading.compact { margin-bottom: 14px; }
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}
.personal-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
.service-card {
  grid-column: span 4;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}
.service-card.is-wide { grid-column: span 6; }
.service-card figure {
  margin: 0;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
}
.service-card figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(10, 14, 22, 0.46));
  pointer-events: none;
}
.service-card .service-card-body {
  padding: 22px;
}
.service-card .service-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 10px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(176, 138, 83, 0.12);
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.service-card p { color: var(--muted); }
.personal-grid .service-card {
  grid-column: auto;
}
.personal-grid .service-card figure {
  aspect-ratio: 4 / 3;
}
.feature-card { padding: 24px; }
.feature-card h3 { font-size: 1.12rem; margin-bottom: 12px; }
.feature-card-wide { grid-column: span 2; }
.profile-detail-grid { align-items: stretch; }
.detail-list {
  margin: 0;
  padding-left: 1.1em;
  color: var(--muted);
  line-height: 2;
  font-size: 0.95rem;
}
.detail-list li { margin: 0; }
.numbered-list { padding-left: 1.25em; }
.detail-dl {
  display: grid;
  gap: 4px 12px;
  padding-left: 0;
}
.detail-dl dt {
  margin-top: 6px;
  color: var(--ink);
  font-weight: 700;
}
.detail-dl dt:first-child { margin-top: 0; }
.detail-dl dd { margin: 0; }
.split-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: start;
  gap: 18px;
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(16, 21, 33, 0.10);
  background: linear-gradient(180deg, #fff, #faf7f1);
  color: var(--ink);
  font-weight: 600;
}
.check-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.check-list li {
  padding-left: 26px;
  position: relative;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: linear-gradient(180deg, rgba(212, 178, 122, 0.26), rgba(212, 178, 122, 0.08));
}
.news-panel {
  padding: 14px 20px;
  max-height: 220px;
  overflow: auto;
}
.news-list {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 8px 14px;
}
.news-list dt { font-weight: 700; color: var(--ink); }
.news-list dd {
  font-size: 0.95rem;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(16, 21, 33, 0.08);
}
.panel-dark {
  min-height: 0;
}
.panel-dark p {
  max-width: 34ch;
}
.news-list dd:last-child,
.news-list dt:last-of-type { border-bottom: 0; }
.contact-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 36px 36px;
  background: linear-gradient(135deg, rgba(16, 21, 33, 0.98), rgba(26, 33, 48, 0.96));
  color: #f8f5ef;
}
.contact-banner h2,
.contact-banner p { color: #f8f5ef; }
.location-note {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(16, 21, 33, 0.10);
  border-radius: 20px;
  background: linear-gradient(180deg, #f7f3ec, #ffffff);
}
.location-note h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}
.location-note p {
  color: var(--muted);
  max-width: none;
}
.office-gallery {
  margin-top: 18px;
}
.office-profile {
  display: flex;
  flex-direction: column;
}
.office-profile figure {
  aspect-ratio: 4 / 5;
}
.office-profile img {
  object-position: center top;
}
.office-profile .service-card-body {
  padding-top: 18px;
}
.office-profile-small figure {
  aspect-ratio: auto;
  min-height: 240px;
  display: grid;
  place-items: center;
  padding: 28px;
  background: linear-gradient(180deg, #f8f5ef, #ffffff);
}
.office-profile-small figure::after {
  display: none;
}
.office-profile-small img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  transform: none;
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(16, 21, 33, 0.18);
}
.office-team figure {
  aspect-ratio: 16 / 10;
}
.form-shell {
  display: grid;
  gap: 18px;
}
.form-grid {
  display: grid;
  gap: 16px;
}
.form-row {
  display: grid;
  gap: 8px;
}
.form-row label {
  font-weight: 700;
  color: var(--ink);
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  border: 1px solid rgba(16, 21, 33, 0.12);
  border-radius: 16px;
  background: #fff;
  padding: 14px 16px;
  font: inherit;
  color: var(--ink);
}
.form-row textarea {
  min-height: 180px;
  resize: vertical;
}
.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.form-note {
  font-size: 0.92rem;
  color: var(--muted);
}
.site-footer {
  padding: 18px 24px 0;
  text-align: center;
  color: rgba(26, 27, 31, 0.70);
  font-size: 0.92rem;
}
.look { background-color: #e9e4db; }
.mb1em { margin-bottom: 1em; }
.clear { clear: both; }
.color1 { color: var(--gold); }
.box1 {
  border: 1px solid rgba(16, 21, 33, 0.12);
  margin-bottom: 1em;
  background: var(--surface);
  border-radius: 18px;
  overflow: hidden;
}
.pr { font-size: 10px; }
.btn { font-size: 13px; }
.wl { width: 96%; }
.ws { width: 50%; }
.c { text-align: center; }
table {
  border-collapse: collapse;
  font-size: 100%;
  border-spacing: 0;
}
.ta1 { width: 100%; }
.ta1, .ta1 td, .ta1 th {
  border: 1px solid rgba(16, 21, 33, 0.12);
  line-height: 1.9;
}
.ta1 td { padding: 12px; vertical-align: top; }
.ta1 th {
  width: 200px;
  padding: 12px;
  text-align: center;
  background: #f0ede7;
}
.ta1 h3 {
  font-size: 100%;
  border-bottom: 1px solid rgba(16, 21, 33, 0.18);
  margin-bottom: 0.5em;
}
.ta1 th.tamidashi {
  width: auto;
  text-align: left;
  background: linear-gradient(180deg, #2a3344, #101521);
  color: #fff;
}
.submenu { margin-bottom: 1em; }
.submenu li a {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(16, 21, 33, 0.10);
  background: linear-gradient(180deg, #fff, #f6f2ec);
  border-radius: 14px;
  margin-bottom: 8px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.submenu li a:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
  color: var(--ink);
}
.new {
  overflow: auto;
  max-height: 220px;
}
.new dl {
  clear: left;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0 18px;
  width: 100%;
  border-bottom: 1px solid rgba(16, 21, 33, 0.08);
  padding: 8px 0;
}
.new dt { font-weight: 700; }
.new dd img { vertical-align: middle; }
@media (max-width: 1040px) {
  .site-shell { width: min(100% - 18px, 1180px); margin-top: 12px; }
  .hero,
  .section-grid,
  .split-layout,
  .cards-3,
  .service-grid,
  .contact-banner { grid-template-columns: 1fr; }
  .feature-card-wide { grid-column: auto; }
  .hero {
    min-height: auto;
    padding: 28px;
  }
  .hero-points { grid-template-columns: 1fr; }
  .header-main {
    flex-direction: column;
    align-items: flex-start;
  }
  .header-contact { justify-items: start; }
  .site-brand img { max-width: min(420px, 76vw); }
  .header-contact-tel img { max-width: min(300px, 62vw); }
  .section-grid,
  .section-block,
  .contact-banner { padding: 24px; }
  .contact-banner { margin: 0 24px 24px; }
  .service-card,
  .service-card.is-wide { grid-column: auto; }
  .personal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  body { font-size: 15px; }
  .site-shell {
    width: min(100% - 16px, 1180px);
    overflow: hidden;
  }
  .site-header {
    padding-inline: 16px;
    border-radius: 22px 22px 0 0;
  }
  .header-topline {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .header-main {
    width: 100%;
    align-items: stretch;
  }
  .site-brand,
  .site-brand a,
  .header-contact,
  .header-contact-tel {
    width: 100%;
    max-width: 100%;
  }
  .site-brand img {
    width: min(100%, 360px);
    max-width: 100%;
    height: auto;
  }
  .header-contact-tel img {
    width: min(100%, 280px);
    max-width: 100%;
    height: auto;
  }
  .hero {
    padding: 20px;
    overflow: hidden;
  }
  .hero-copy,
  .hero-card {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
  }
  .site-nav {
    gap: 10px;
    padding-inline: 0;
    flex-wrap: wrap;
  }
  .site-nav a {
    flex: 1 1 calc(50% - 10px);
    padding: 6px 0;
  }
  .hero h1 { max-width: none; }
  .news-list,
  .new dl { grid-template-columns: 1fr; }
  .hero-points,
  .cards-3,
  .service-grid,
  .personal-grid,
  .section-grid,
  .split-layout { gap: 14px; }
  .contact-banner { margin: 0 16px 16px; }
  .button { width: 100%; }
}
