@import url("https://fonts.googleapis.com/css2?family=BIZ+UDPGothic:wght@400;700&family=Noto+Sans+JP:wght@400;500;700;800&display=swap");

:root {
  --rns-green: #1F6B3A;
  --rns-green-dark: #0F4F2A;
  --rns-green-light: #EEF7F0;
  --rns-beige: #F7F1E7;
  --rns-gold: #D8B96A;
  --rns-text: #2B2B2B;
  --rns-muted: #666666;
  --rns-border: #E4E7E2;
  --rns-white: #FFFFFF;
  --rns-radius-sm: 10px;
  --rns-radius-md: 16px;
  --rns-radius-lg: 24px;
  --rns-shadow-card: 0 8px 24px rgba(31, 107, 58, .08);
  --rns-shadow-button: 0 8px 20px rgba(31, 107, 58, .18);
  --rns-font: "Noto Sans JP", "BIZ UDPGothic", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  --green: var(--rns-green);
  --green-deep: var(--rns-green-dark);
  --green-soft: var(--rns-green-light);
  --gold: var(--rns-gold);
  --ink: var(--rns-text);
  --muted: var(--rns-muted);
  --line: var(--rns-border);
  --bg: var(--rns-white);
  --white: var(--rns-white);
  --shadow: var(--rns-shadow-card);
}

/* 2026-07-16 弁護士紹介：プロフィールカード再調整 */
.member-page .lawyer-card {
  grid-template-columns: minmax(360px, 420px) minmax(0, 1fr) !important;
  gap: 40px !important;
  align-items: start !important;
  padding: 34px !important;
}

.member-page .lawyer-photo {
  width: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  background: #f5f7f5 !important;
}

.member-page .lawyer-photo img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: center top !important;
}

.member-page .lawyer-info h3 {
  margin-bottom: 14px;
  font-size: clamp(30px, 2.4vw, 40px);
}

.member-page .lawyer-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px 28px !important;
}

.member-page .lawyer-columns h4 {
  margin: 0 0 12px;
  padding: 11px 14px;
  border-radius: 8px;
  background: #f1f3f1;
  font-size: 17px;
}

.member-page .lawyer-columns ul {
  margin: 0;
  padding-left: 1.15em;
  font-size: 15px;
  line-height: 1.65;
}

.member-page .lawyer-columns li {
  margin: 0 0 8px;
  line-break: strict;
  word-break: auto-phrase;
}

.member-page .lawyer-columns > div:nth-child(3) {
  grid-column: 1 / -1 !important;
  margin-top: 2px;
}

.member-page .lawyer-columns > div:nth-child(3) ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 9px 12px;
  padding: 0;
  list-style: none;
}

.member-page .lawyer-columns > div:nth-child(3) li {
  margin: 0;
  padding: 9px 12px;
  border-left: 3px solid #1f7a3a;
  border-radius: 7px;
  background: #f6f8f6;
  line-height: 1.5;
}

.member-page .lawyer-message {
  margin-bottom: 16px;
  padding: 18px 20px;
}

.member-page .lawyer-info > h4 {
  margin-top: 14px;
}

.member-page .lawyer-info > ul {
  font-size: 15px;
  line-height: 1.7;
}

@media (max-width: 1200px) {
  .member-page .lawyer-card {
    grid-template-columns: minmax(300px, 340px) minmax(0, 1fr) !important;
    gap: 30px !important;
  }
}

@media (max-width: 900px) {
  .member-page .lawyer-card {
    grid-template-columns: 1fr !important;
  }

  .member-page .lawyer-photo {
    width: min(100%, 520px) !important;
    margin-inline: auto !important;
  }

  .member-page .lawyer-columns {
    grid-template-columns: 1fr !important;
  }

  .member-page .lawyer-columns > div:nth-child(3) {
    grid-column: auto !important;
  }
}

@media (max-width: 600px) {
  .member-page .lawyer-card {
    padding: 22px !important;
  }

  .member-page .lawyer-columns > div:nth-child(3) ul {
    grid-template-columns: 1fr !important;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--rns-font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 82px;
  padding: 12px 28px;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 270px;
}

.brand-logo {
  width: clamp(240px, 20vw, 310px);
  height: auto;
}

.brand-mark {
  width: 46px;
  height: 46px;
  color: var(--green);
}

.brand-mark svg { fill: currentColor; }
.brand strong { display: block; font-size: 18px; letter-spacing: .02em; }
.brand small { display: block; color: var(--muted); font-size: 13px; }

.nav {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex: 0 1 auto;
  padding: 0;
  background: transparent;
  border: 0;
  font-size: 13px;
  font-weight: 700;
  scrollbar-width: none;
}

.nav::-webkit-scrollbar { display: none; }

.nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(31,107,58,.12);
  border-radius: 999px;
  box-shadow: 0 5px 14px rgba(15,79,42,.06);
  white-space: nowrap;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.nav a::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  background: var(--green);
  border-radius: 50%;
}

.nav a:hover {
  color: var(--green-deep);
  background: #f2f8f3;
  border-color: rgba(31,107,58,.32);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.office-phones {
  display: grid;
  grid-template-columns: repeat(2, minmax(145px, 1fr));
  gap: 8px;
}

.office-phone {
  display: grid;
  min-height: 54px;
  padding: 7px 12px;
  color: var(--green-deep);
  background: linear-gradient(135deg, #f7fbf8, #eef6f0);
  border: 1px solid rgba(31, 107, 58, .16);
  border-radius: 12px;
  line-height: 1.2;
}

.office-phone small {
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.office-phone strong {
  align-self: end;
  font-size: 17px;
  letter-spacing: .02em;
}

.header-consult {
  min-height: 54px;
  padding-inline: 18px;
  white-space: nowrap;
}

.phone {
  display: grid;
  color: var(--green);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.2;
}

.phone small {
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--green);
  font-weight: 800;
  line-height: 1.2;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover { transform: translateY(-1px); box-shadow: var(--rns-shadow-button); }
.btn-primary { color: #fff; background: var(--green); }
.btn-outline { color: var(--green); background: #fff; }
.btn-light { color: var(--green); background: #fff; border-color: #fff; }
.btn-large { min-width: 230px; min-height: 60px; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(32px, 1fr) minmax(360px, 680px) minmax(440px, 760px) minmax(32px, 1fr);
  align-items: stretch;
  min-height: 520px;
  overflow: hidden;
  background:
    radial-gradient(circle at 0 16%, rgba(198, 161, 91, .14), transparent 32%),
    linear-gradient(90deg, #fff 0%, #fff 57%, #f2f7ef 100%);
}

.hero::before {
  content: "";
  position: absolute;
  left: -36px;
  top: 62px;
  width: 220px;
  height: 420px;
  opacity: .22;
  background:
    radial-gradient(circle at 40px 30px, var(--green) 0 7px, transparent 8px),
    radial-gradient(circle at 85px 74px, var(--green) 0 7px, transparent 8px),
    radial-gradient(circle at 58px 128px, var(--green) 0 7px, transparent 8px);
}

.hero-copy {
  grid-column: 2;
  align-self: center;
  position: relative;
  z-index: 3;
  padding: 56px 0;
}

.eyebrow {
  color: var(--green);
  font-weight: 800;
  letter-spacing: .08em;
}

h1 {
  margin: 12px 0 18px;
  color: #0e3f20;
  font-family: var(--rns-font);
  font-size: clamp(42px, 3.6vw, 48px);
  line-height: 1.35;
  letter-spacing: 0;
}

.h1-line {
  display: inline-block;
  font-size: .86em;
  white-space: nowrap;
}

.keep {
  display: inline-block;
  white-space: nowrap;
}

.lead {
  max-width: 620px;
  margin: 0 0 30px;
  font-size: 18px;
  color: #37443b;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 24px; }

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: #365241;
  font-weight: 800;
}

.trust-list li::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-right: 7px;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  font-size: 12px;
}

.hero-visual {
  grid-column: 3 / 5;
  position: relative;
  z-index: 1;
  min-height: 520px;
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.8) 16%, rgba(255,255,255,.1) 40%, rgba(255,255,255,0) 100%);
}

.section { padding: 72px 24px; background: #fff; }
.section.soft { background: linear-gradient(180deg, var(--rns-green-light), var(--rns-white)); }
.container { width: min(1180px, 100%); margin: 0 auto; }

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 0 32px;
  color: var(--green-deep);
  font-family: var(--rns-font);
  font-size: 30px;
  line-height: 1.4;
}

.section-title::before,
.section-title::after {
  content: "";
  width: min(160px, 18vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
}

.section-title.left { justify-content: flex-start; }
.section-title.left::before { display: none; }

.worry-grid,
.service-grid,
.case-grid,
.voice-grid,
.reason-grid {
  display: grid;
  gap: 16px;
}

.worry-grid { grid-template-columns: repeat(6, 1fr); }
.service-grid { grid-template-columns: repeat(4, 1fr); }
.case-grid, .voice-grid { grid-template-columns: repeat(3, 1fr); }
.reason-grid { grid-template-columns: repeat(4, 1fr); }

.mini-card,
.service-card,
.case-card,
.voice-card,
.license,
.fee-list,
.faq-list {
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  border-radius: var(--rns-radius-md);
  box-shadow: var(--rns-shadow-card);
}

.mini-card {
  min-height: 160px;
  display: grid;
  justify-items: center;
  align-content: center;
  padding: 22px 14px;
  text-align: center;
  font-weight: 800;
}

.icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 12px;
  color: var(--green);
  background: var(--green-soft);
  border-radius: 50%;
  font-weight: 900;
  font-size: 24px;
}

.service-card {
  min-height: 225px;
  padding: 28px 20px;
  text-align: center;
}

.line-icon {
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 62px;
  color: var(--green);
  margin-bottom: 16px;
  background: var(--green-soft);
  border-radius: 50%;
}

.line-icon svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3,
.case-card h3 {
  margin: 0 0 10px;
  color: var(--green-deep);
  font-size: 19px;
  line-height: 1.45;
}

.service-card p,
.case-card p,
.reason-grid p,
.voice-card p { margin: 0; color: #425047; }

.reason-band {
  background: linear-gradient(90deg, var(--rns-beige), var(--rns-green-light));
}

.reason-grid article {
  padding: 8px 22px;
  border-left: 1px solid rgba(22, 100, 43, .18);
}

.reason-grid article:first-child { border-left: 0; }
.reason-grid strong { display: block; margin-bottom: 8px; color: var(--green); font-size: 18px; }

.case-card {
  padding: 26px;
}

.case-card span {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 10px;
  color: #fff;
  background: #5a9a61;
  border-radius: var(--rns-radius-sm);
  font-size: 12px;
  font-weight: 800;
}

.case-card a {
  display: inline-block;
  margin-top: 14px;
  color: var(--green);
  font-weight: 800;
}

.profile { background: linear-gradient(180deg, var(--rns-white), var(--rns-green-light)); }
.profile-wrap {
  display: grid;
  grid-template-columns: 310px 1fr 260px;
  gap: 34px;
  align-items: center;
}

.profile img {
  height: 190px;
  width: 100%;
  object-fit: cover;
  object-position: 60% 34%;
  border-radius: var(--rns-radius-md);
}

.profile h2 {
  margin: 0 0 8px;
  color: var(--green-deep);
  font-family: var(--rns-font);
  font-size: 30px;
}

.profile-name { margin: 0 0 12px; font-size: 20px; font-weight: 800; }
.license { padding: 22px; }
.license ul { padding-left: 1.2em; margin: 8px 0 0; }

.voice-card {
  padding: 26px;
  text-align: center;
}

.voice-card span { display: block; margin-top: 14px; color: var(--green); font-weight: 800; }

.two-column {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 34px;
  align-items: start;
}

.fee-list p {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.fee-list p:last-child { border-bottom: 0; }
.fee-list span { font-weight: 800; }
.fee-list strong { font-size: 22px; white-space: nowrap; }

.faq-list { overflow: hidden; }
.faq-item {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 20px 24px;
  color: var(--ink);
  background: #fff;
  border: 0;
  border-bottom: 1px solid var(--line);
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.faq-item:last-child { border-bottom: 0; }
.faq-item::after { content: "⌄"; color: var(--green); font-size: 20px; }

.flow { background: linear-gradient(180deg, #fffaf0, #fff3cf); }
.flow-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.flow-list li {
  position: relative;
  min-height: 230px;
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
  gap: 14px;
  padding: 38px 20px 24px;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(31, 122, 58, .12);
  border-radius: var(--rns-radius-md);
  box-shadow: 0 12px 28px rgba(77, 68, 34, .08);
}

.flow-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -24px;
  width: 0;
  height: 0;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 14px solid var(--rns-gold);
  transform: translateY(-50%);
}

.flow-list .flow-step {
  position: absolute;
  top: -15px;
  left: 50%;
  width: min(170px, 78%);
  padding: 7px 12px;
  color: #fff;
  background: var(--rns-green-dark);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.2;
  transform: translateX(-50%);
}

.flow-icon {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  color: var(--rns-green);
  background: var(--rns-green-light);
  border-radius: 50%;
}

.flow-icon svg {
  width: 58px;
  height: 58px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flow-list strong {
  color: var(--rns-text);
  font-size: 17px;
  line-height: 1.55;
}

.flow-list strong small {
  font-size: .88em;
  font-weight: 700;
}

.access {
  background: linear-gradient(180deg, var(--rns-white), var(--rns-beige));
}

.access-grid {
  display: grid;
  grid-template-columns: minmax(280px, .75fr) minmax(520px, 1.65fr);
  gap: 42px;
  align-items: center;
}

.access h2 {
  margin: 0 0 18px;
  color: var(--green-deep);
  font-family: var(--rns-font);
}

.access-note {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0 0;
  padding: 12px 16px;
  color: var(--rns-green-dark);
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(31, 122, 58, .18);
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(34, 65, 45, .07);
}

.access-note-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--rns-green);
  background: var(--rns-green-light);
  border-radius: 50%;
}

.access-note-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.access-note strong,
.access-note small {
  display: block;
}

.access-note strong {
  font-size: 17px;
  line-height: 1.35;
}

.access-note small {
  margin-top: 2px;
  color: var(--rns-muted);
  font-size: 12px;
}

.map-card {
  height: 420px;
  border-radius: var(--rns-radius-md);
  border: 1px solid #d8dfdc;
  overflow: hidden;
  background: #f6f3ed;
  box-shadow: var(--shadow);
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-band {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 22px;
  align-items: center;
  margin: 0 auto 28px;
  width: min(1200px, calc(100% - 48px));
  padding: 26px 36px;
  color: #fff;
  background: linear-gradient(135deg, var(--green-deep), var(--green));
  border-radius: var(--rns-radius-md);
  box-shadow: var(--shadow);
}

.contact-band p {
  margin: 0;
  font-size: 24px;
  font-family: var(--rns-font);
}

.contact-phone {
  display: grid;
  min-width: 230px;
  padding: 12px 20px;
  color: var(--green);
  background: #fff;
  border-radius: var(--rns-radius-md);
  text-align: center;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.2;
}

.contact-phone span { font-size: 13px; color: var(--ink); }

.content-site {
  background: var(--rns-white);
}

.content-hero .hero-copy {
  align-self: start;
  padding-top: 64px;
}

.content-hero h1 {
  margin-top: 24px;
}

.content-hero .lead {
  max-width: 680px;
}

.hero-cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 720px;
  margin: 10px 0 30px;
}

.hero-cta {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 118px;
  padding: 24px 58px 22px 24px;
  overflow: hidden;
  border: 3px solid var(--green);
  border-radius: 20px;
  box-shadow: 0 18px 38px rgba(15, 79, 42, .2);
  isolation: isolate;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.hero-cta::after {
  content: "→";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  font-weight: 900;
}

.hero-cta:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(15, 79, 42, .27);
  filter: saturate(1.08);
}

.hero-cta strong {
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: -.035em;
  white-space: nowrap;
}

.hero-cta span {
  margin-top: 7px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.025em;
  white-space: nowrap;
}

.hero-cta-primary {
  color: #fff !important;
  background: linear-gradient(135deg, #0b4f2a 0%, #176f3c 58%, #249454 100%);
  border-color: #2d9d5d;
  box-shadow: 0 18px 40px rgba(10, 86, 44, .3), inset 0 1px 0 rgba(255,255,255,.18);
}

.hero-cta-primary strong,
.hero-cta-primary span,
.hero-cta-primary::after {
  color: #fff !important;
  text-shadow: 0 1px 2px rgba(0,0,0,.22);
}

.hero-cta-secondary {
  color: var(--green-deep) !important;
  background: linear-gradient(135deg, #fffdf8 0%, #fff4ce 100%);
  border-color: #d4aa3f;
  box-shadow: 0 18px 40px rgba(121, 91, 20, .18), inset 0 1px 0 #fff;
}

.hero-cta-secondary strong,
.hero-cta-secondary span,
.hero-cta-secondary::after {
  color: var(--green-deep) !important;
}

.answer-search {
  max-width: 540px;
  margin: 0 0 24px;
  padding: 18px;
  background: rgba(255,255,255,.88);
  border: 1px solid var(--line);
  border-radius: var(--rns-radius-md);
  box-shadow: var(--rns-shadow-card);
}

.answer-search label {
  display: block;
  margin-bottom: 8px;
  color: var(--green-deep);
  font-weight: 800;
}

.answer-search select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--rns-radius-sm);
  font: inherit;
  font-weight: 700;
}

.answer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.answer-card,
.article-block,
.toc,
.video-card,
.video-summary {
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  border-radius: var(--rns-radius-md);
  box-shadow: var(--rns-shadow-card);
}

.answer-card {
  padding: 24px;
}

.section-intro {
  max-width: 760px;
  margin: -18px auto 30px;
  color: #526058;
  text-align: center;
}

.answer-card.is-linked {
  padding: 0;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.answer-card.is-linked:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(13, 72, 39, .14);
}

.answer-card-link {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px;
  color: inherit;
}

.answer-card-link h3 {
  display: -webkit-box;
  min-height: 4.35em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.answer-excerpt {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.answer-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.answer-read-more::after {
  content: "→";
  transition: transform .2s ease;
}

.answer-card-link:hover .answer-read-more::after {
  transform: translateX(4px);
}

.label {
  display: inline-block;
  margin: 0 0 10px;
  padding: 3px 10px;
  color: #fff;
  background: #5a9a61;
  border-radius: var(--rns-radius-sm);
  font-size: 12px;
  font-weight: 800;
}

.answer-category-8 {
  background: linear-gradient(180deg, rgba(233, 246, 236, .72), rgba(255,255,255,.95) 34%);
}

.answer-category-8 .label {
  background: #1f7a3a;
}

.answer-category-8 h3 {
  color: #0f5426;
}

.answer-category-9 {
  background: linear-gradient(180deg, rgba(234, 240, 253, .82), rgba(255,255,255,.95) 34%);
}

.answer-category-9 .label {
  background: #315fba;
}

.answer-category-9 h3 {
  color: #193f8e;
}

.answer-category-10 {
  background: linear-gradient(180deg, rgba(255, 247, 229, .9), rgba(255,255,255,.95) 34%);
}

.answer-category-10 .label {
  background: #b98624;
}

.answer-category-10 h3 {
  color: #745112;
}

.answer-card h3,
.video-card h3,
.video-summary h3,
.article-block h2 {
  margin: 0 0 10px;
  color: var(--green-deep);
  line-height: 1.45;
}

.answer-card h3 a {
  color: inherit;
}

.answer-card p:last-child,
.video-card p,
.video-summary p,
.article-block p {
  margin-bottom: 0;
  color: #425047;
}

.more-link-wrap {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.section-heading-text {
  max-width: 860px;
  margin: 0 auto 32px;
  text-align: center;
}

.section-heading-text p {
  margin: -16px 0 0;
  color: #425047;
}

.featured-video {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 24px;
}

.video-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--rns-radius-md);
  background: #0f1912;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
}

.video-summary .btn {
  align-self: flex-start;
  margin-top: 20px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.video-card {
  padding: 14px;
}

.video-card .video-frame {
  margin-bottom: 14px;
  box-shadow: none;
}

.video-card h3 {
  font-size: 17px;
}

.video-card p {
  font-size: 14px;
  line-height: 1.65;
}

.content-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 104px;
  padding: 22px;
}

.toc strong {
  display: block;
  margin-bottom: 12px;
  color: var(--green-deep);
  font-size: 18px;
}

.toc a {
  display: block;
  padding: 10px 0;
  color: #425047;
  border-top: 1px solid var(--line);
  font-weight: 700;
}

.toc a:hover {
  color: var(--green);
}

.article-stack {
  display: grid;
  gap: 18px;
}

.article-block {
  padding: 30px;
}

.article-block h2 {
  font-family: var(--rns-font);
  font-size: 28px;
}

.strength-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 12%, rgba(216, 185, 106, .14), transparent 24%),
    linear-gradient(135deg, #f8faf8 0%, #eef4ef 100%);
  color: var(--rns-text);
  border-top: 1px solid rgba(31, 122, 58, .12);
  border-bottom: 1px solid rgba(31, 122, 58, .12);
}

.strength-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(220px, 28vw);
  height: 4px;
  background: linear-gradient(90deg, var(--rns-green), var(--rns-gold));
  border-radius: 0 0 999px 999px;
  transform: translateX(-50%);
}

.strength-section::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(31, 122, 58, .08);
  border-radius: 50%;
}

.strength-lead {
  position: relative;
  z-index: 1;
  max-width: none;
  margin: 0 0 34px;
  text-align: center;
}

.strength-lead .eyebrow {
  margin: 0 0 10px;
  color: var(--rns-green);
  font-size: 14px;
  letter-spacing: .16em;
}

.strength-lead h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 0 18px;
  color: var(--green-deep);
  font-family: var(--rns-font);
  font-size: 30px;
  line-height: 1.4;
}

.strength-lead h2::before,
.strength-lead h2::after {
  content: "";
  width: min(160px, 18vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
}

.strength-lead p:last-child {
  max-width: 840px;
  margin: 0 auto;
  color: #53625a;
  font-size: 17px;
}

.strength-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.strength-card {
  min-height: 310px;
  padding: 28px;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(31, 122, 58, .14);
  border-radius: var(--rns-radius-lg);
  box-shadow: 0 14px 34px rgba(34, 65, 45, .09);
  color: var(--rns-text);
}

.strength-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: var(--rns-green-dark);
  background: var(--rns-gold);
  border-radius: 999px;
  font-weight: 800;
}

.strength-card h3 {
  margin: 0 0 14px;
  color: var(--rns-green-dark);
  font-size: 20px;
  line-height: 1.45;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.strength-card p {
  margin: 0;
  color: var(--rns-muted);
}

.souzoku-video-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px !important;
  align-items: stretch;
}

.souzoku-video-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 16px;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  border-radius: var(--rns-radius-md);
  box-shadow: 0 8px 22px rgba(44, 75, 54, .06);
}

.souzoku-video-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 14px;
  background: #0f1912;
  border-radius: var(--rns-radius-md);
}

.souzoku-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}

.souzoku-video-card h3 {
  min-height: 3em;
  margin: 0 0 8px;
  color: var(--green-deep);
  font-size: 18px;
  line-height: 1.45;
}

.souzoku-video-card p {
  flex: 1;
  margin: 0 0 14px;
  color: #425047;
  font-size: 14px;
  line-height: 1.65;
}

.souzoku-video-card a {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  color: var(--green);
  background: #fff;
  border: 1px solid var(--green);
  border-radius: 999px;
  font-weight: 800;
}

.member-page {
  background: var(--rns-white);
}

.member-hero {
  padding: 88px 24px;
  background:
    radial-gradient(circle at 12% 18%, rgba(216, 185, 106, .18), transparent 28%),
    linear-gradient(135deg, var(--rns-green-light) 0%, #fff 52%, var(--rns-beige) 100%);
  border-bottom: 1px solid var(--line);
}

.member-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 40px;
  align-items: center;
}

.member-hero h1 {
  margin: 8px 0 18px;
  color: var(--green-deep);
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.12;
  letter-spacing: 0;
}

.member-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--rns-text);
  font-size: 18px;
  line-height: 1.9;
}

.member-hero-panel {
  padding: 34px;
  background: rgba(255, 255, 255, .86);
  border: 1px solid var(--line);
  border-radius: var(--rns-radius-lg);
  box-shadow: var(--shadow);
}

.member-hero-panel strong {
  display: block;
  margin-bottom: 12px;
  color: var(--green-deep);
  font-size: 25px;
  line-height: 1.5;
}

.member-hero-panel p {
  font-size: 15px;
}

.member-message {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.member-section-label {
  position: sticky;
  top: 108px;
  padding: 18px 16px;
  color: var(--green);
  background: var(--rns-green-light);
  border-left: 0;
  border-radius: var(--rns-radius-md);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.member-message h2 {
  margin: 0 0 20px;
  color: var(--green-deep);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.35;
}

.member-message p {
  margin: 0 0 18px;
  color: var(--rns-text);
  font-size: 17px;
  line-height: 2;
}

.member-mission,
.member-principles {
  margin: 30px 0;
  padding: 26px 30px;
  border: 1px solid rgba(15, 84, 38, .14);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(239, 248, 242, .92), rgba(255, 255, 255, .98));
}

.member-mission h3,
.member-principles h3 {
  margin: 0 0 14px;
  color: var(--green-deep);
}

.member-mission p {
  margin: 0;
}

.member-principles ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.member-principles li {
  position: relative;
  padding-left: 28px;
  font-weight: 700;
}

.member-principles li::before {
  content: "";
  position: absolute;
  top: .55em;
  left: 2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(31, 122, 58, .12);
}

.lawyer-grid {
  display: grid;
  gap: 28px;
}

.lawyer-card {
  display: grid;
  grid-template-columns: minmax(210px, 240px) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  padding: 30px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid var(--line);
  border-radius: var(--rns-radius-lg);
  box-shadow: var(--shadow);
}

.lawyer-card.featured {
  background:
    linear-gradient(135deg, rgba(238, 247, 240, .94), rgba(255, 255, 255, .98) 42%),
    #fff;
}

.lawyer-photo {
  min-height: 0;
  overflow: hidden;
  background: var(--rns-green-light);
  border-radius: var(--rns-radius-md);
}

.lawyer-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
}

.lawyer-avatar {
  align-self: start;
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  margin: 8px auto 0;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  border-radius: 50%;
  box-shadow: 0 18px 40px rgba(31, 107, 58, .22);
  font-size: 58px;
  font-weight: 900;
}

.lawyer-info {
  min-width: 0;
}

.lawyer-info .label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0 0 12px;
  padding: 6px 12px;
  color: #fff;
  background: var(--green);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
}

.lawyer-info .label.gold {
  color: var(--green-deep);
  background: rgba(216, 185, 106, .42);
}

.lawyer-info h3 {
  margin: 0 0 18px;
  color: var(--green-deep);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.28;
}

.lawyer-info h3 span {
  display: inline-block;
  margin-left: 10px;
  color: var(--rns-muted);
  font-size: 16px;
  font-weight: 700;
}

.lawyer-info h4 {
  margin: 18px 0 10px;
  color: var(--green-deep);
  font-size: 18px;
}

.lawyer-info p {
  margin: 0 0 18px;
  color: var(--rns-text);
  font-size: 16px;
  line-height: 1.9;
}

.lawyer-message {
  margin: 0 0 20px;
  padding: 20px;
  background: var(--rns-green-light);
  border-left: 4px solid var(--rns-gold);
  border-radius: var(--rns-radius-md);
}

.lawyer-message p:last-child {
  margin-bottom: 0;
}

.lawyer-info ul {
  margin: 0;
  padding-left: 1.2em;
  color: var(--rns-text);
  line-height: 1.9;
  font-size: 14.5px;
}

.lawyer-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 20px 32px;
}

.lawyer-columns > div:nth-child(3) {
  grid-column: 1 / -1;
}

.lawyer-columns > div:nth-child(3) ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px 24px;
}

.lawyer-columns li {
  line-break: strict;
  word-break: auto-phrase;
}

@media (max-width: 1120px) {
  .site-header { flex-wrap: wrap; gap: 12px 20px; }
  .nav { order: 3; width: 100%; overflow-x: auto; justify-content: flex-start; }
  .access-grid { grid-template-columns: minmax(240px, .75fr) minmax(420px, 1.65fr); gap: 28px; }
  .worry-grid { grid-template-columns: repeat(3, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .reason-grid { grid-template-columns: repeat(2, 1fr); }
  .reason-grid article:nth-child(odd) { border-left: 0; }
  .flow-list { grid-template-columns: repeat(2, 1fr); }
  .flow-list li::after { display: none; }
  .answer-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .souzoku-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .strength-grid {
    grid-template-columns: 1fr;
  }
  .member-hero-grid,
  .lawyer-card {
    grid-template-columns: 1fr;
  }
  .lawyer-photo {
    min-height: 320px;
  }
  .hero {
    grid-template-columns: minmax(24px, 1fr) minmax(320px, 560px) minmax(360px, 1fr) minmax(24px, 1fr);
    min-height: 500px;
  }
  .hero-visual {
    grid-column: 3 / 5;
    min-height: 500px;
  }
  .hero-visual img {
    object-position: right center;
  }
}

@media (max-width: 840px) {
  .site-header { position: static; padding: 12px 18px; }
  .brand { min-width: 0; }
  .header-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    width: 100%;
  }
  .office-phones { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .hero-copy { padding: 46px 24px 28px; }
  .content-hero .hero-copy { padding-top: 28px; }
  .content-hero h1 { margin-top: 12px; }
  .hero-visual {
    position: relative;
    inset: auto;
    width: 100%;
    height: 360px;
    min-height: 360px;
  }
  .hero-visual img { object-position: center bottom; }
  .hero-visual::after { background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0) 28%); }
  .section { padding: 52px 18px; }
  .worry-grid,
  .service-grid,
  .case-grid,
  .voice-grid,
  .reason-grid,
  .profile-wrap,
  .two-column,
  .access-grid {
    grid-template-columns: 1fr;
  }
  .reason-grid article { border-left: 0; border-top: 1px solid rgba(22, 100, 43, .18); padding-top: 18px; }
  .reason-grid article:first-child { border-top: 0; }
  .flow-list { grid-template-columns: repeat(2, 1fr); }
  .contact-band { grid-template-columns: 1fr; padding: 24px; }
  .map-card { height: 340px; }
  .answer-grid,
  .featured-video,
  .content-layout {
    grid-template-columns: 1fr;
  }
  .toc {
    position: static;
  }
  .member-hero {
    padding: 58px 20px;
  }
  .member-message {
    grid-template-columns: 1fr;
  }
  .member-section-label {
    position: static;
    width: fit-content;
  }
  .lawyer-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .menu-toggle {
    order: 2;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 9px 14px;
    color: var(--green-deep);
    background: #f2f8f3;
    border: 1px solid rgba(31,107,58,.2);
    border-radius: 999px;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
  }

  .menu-toggle > span[aria-hidden="true"],
  .menu-toggle > span[aria-hidden="true"]::before,
  .menu-toggle > span[aria-hidden="true"]::after {
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
  }

  .menu-toggle > span[aria-hidden="true"] {
    position: relative;
    display: block;
  }

  .menu-toggle > span[aria-hidden="true"]::before,
  .menu-toggle > span[aria-hidden="true"]::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .menu-toggle > span[aria-hidden="true"]::before { top: -6px; }
  .menu-toggle > span[aria-hidden="true"]::after { top: 6px; }

  .site-header .nav {
    order: 3;
    display: none;
    width: 100%;
    padding: 10px;
    background: #fff;
    border: 1px solid rgba(31,107,58,.14);
    border-radius: 16px;
    box-shadow: 0 18px 42px rgba(15,79,42,.14);
  }

  .site-header.menu-open .nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .site-header .nav a {
    justify-content: flex-start;
  }

  .brand-logo { width: 220px; }
  .nav { gap: 16px; font-size: 13px; }
  .phone { font-size: 18px; }
  .header-actions { grid-template-columns: 1fr; }
  .header-actions .btn { width: 100%; padding-inline: 12px; font-size: 13px; }
  .office-phone { min-width: 0; padding-inline: 8px; }
  .office-phone small { font-size: 9px; white-space: normal; }
  .office-phone strong { font-size: 15px; }
  h1 { font-size: 42px; }
  .h1-line { white-space: normal; }
  .lead { font-size: 16px; }
  .btn-large { width: 100%; }
  .trust-list { gap: 12px; font-size: 14px; }
  .section-title { font-size: 25px; }
  .section-title::before,
  .section-title::after { width: 42px; }
  .worry-grid { grid-template-columns: repeat(2, 1fr); }
  .mini-card { min-height: 140px; padding: 18px 10px; font-size: 14px; }
  .service-grid,
  .case-grid,
  .voice-grid { grid-template-columns: 1fr; }
  .fee-list p { display: block; }
  .flow-list { grid-template-columns: 1fr; }
  .contact-band p { font-size: 20px; }
  .answer-grid,
  .video-grid { grid-template-columns: 1fr; }
  .souzoku-video-grid {
    grid-template-columns: 1fr !important;
  }
  .answer-search { padding: 14px; }
  .hero-cta-grid { grid-template-columns: 1fr; }
  .hero-cta { min-height: 100px; padding: 20px 56px 18px 20px; }
  .hero-cta strong { font-size: 19px; }
  .hero-cta span { font-size: 13px; }
  .article-block { padding: 22px; }
  .article-block h2 { font-size: 24px; }
  .strength-card {
    min-height: 0;
    padding: 22px;
  }
  .strength-card h3 {
    font-size: 19px;
    white-space: normal;
  }
  .member-hero h1 {
    font-size: 38px;
  }
  .member-hero-panel,
  .lawyer-card {
    padding: 22px;
  }
  .lawyer-photo {
    min-height: 260px;
  }
  .lawyer-info h3 span {
    display: block;
    margin: 6px 0 0;
  }
}

/* 2026-07-16 弁護士紹介：取扱分野をシンプル化 */
.member-page .lawyer-message {
  border-left: 0 !important;
  background: #f6f8f6;
}

.member-page .lawyer-columns > div:nth-child(3) h4 {
  margin: 4px 0 6px;
  padding: 0 0 10px;
  border-bottom: 1px solid #dce3dd;
  border-radius: 0;
  background: transparent;
}

.member-page .lawyer-columns > div:nth-child(3) ul {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0 28px;
}

.member-page .lawyer-columns > div:nth-child(3) li {
  min-height: 0;
  margin: 0;
  padding: 10px 2px;
  border: 0;
  border-bottom: 1px solid #edf0ed;
  border-radius: 0;
  background: transparent;
  line-height: 1.45;
  word-break: keep-all;
}

@media (max-width: 600px) {
  .member-page .lawyer-columns > div:nth-child(3) ul {
    grid-template-columns: 1fr !important;
  }
}

/* 2026-07-16 長宏一弁護士：弁護士ドットコムへのリンク */
.member-page .member-bengo-link {
  display: inline-grid;
  grid-template-columns: auto auto;
  grid-template-areas: "title arrow";
  align-items: center;
  gap: 16px;
  margin: 4px 0 22px;
  padding: 12px 16px;
  border: 1px solid #dde3df;
  border-radius: 10px;
  background: #fff;
  color: #173c2a !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(18, 59, 39, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.member-page .member-bengo-link::before {
  content: "";
  display: none;
}

.member-page .member-bengo-link strong {
  grid-area: title;
  color: #e85d32;
  font-size: 15px;
  line-height: 1.4;
}

.member-page .member-bengo-link__arrow {
  grid-area: arrow;
  color: #e85d32;
  font-size: 20px;
}

.member-page .member-bengo-link:hover,
.member-page .member-bengo-link:focus-visible {
  border-color: #e85d32;
  box-shadow: 0 7px 20px rgba(18, 59, 39, 0.1);
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  .member-page .member-bengo-link {
    display: grid;
    width: 100%;
  }
}
