:root {
  --teal: #008080;
  --teal-dark: #006666;
  --mist: #dfe6e9;
  --ink: #2d3748;
  --muted: #667085;
  --line: #cbd5df;
  --bg: #f7fafc;
  --white: #ffffff;
  --warn: #b45309;
  --danger: #b42318;
  --shadow: 0 10px 28px rgba(45, 55, 72, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Noto Sans JP", "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.7;
}

a {
  color: var(--teal);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner,
.section,
.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.brand {
  display: flex;
  flex-direction: column;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.3;
}

.brand span {
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 600;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav a {
  color: var(--ink);
}

.breadcrumb {
  width: min(1120px, calc(100% - 32px));
  margin: 18px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--muted);
}

.hero {
  background:
    radial-gradient(circle at 78% 18%, rgba(0, 128, 128, 0.22), transparent 28%),
    linear-gradient(115deg, rgba(45, 55, 72, 0.9), rgba(45, 55, 72, 0.66) 54%, rgba(0, 128, 128, 0.62)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='560' viewBox='0 0 1200 560'%3E%3Crect width='1200' height='560' fill='%23dfe6e9'/%3E%3Cpath d='M0 410h1200v150H0z' fill='%23c7d2d8'/%3E%3Cpath d='M110 338l130-112 130 112v132H110z' fill='%23ffffff'/%3E%3Cpath d='M80 338l160-138 160 138' fill='none' stroke='%23008080' stroke-width='24'/%3E%3Cpath d='M570 294l118-94 118 94v176H570z' fill='%23ffffff'/%3E%3Cpath d='M540 294l148-118 148 118' fill='none' stroke='%232d3748' stroke-width='22'/%3E%3Cpath d='M900 330l90-78 90 78v140H900z' fill='%23ffffff'/%3E%3Cpath d='M880 330l110-96 110 96' fill='none' stroke='%23008080' stroke-width='18'/%3E%3Crect x='165' y='374' width='52' height='96' fill='%23dfe6e9'/%3E%3Crect x='260' y='374' width='58' height='58' fill='%23dfe6e9'/%3E%3Crect x='625' y='350' width='64' height='120' fill='%23dfe6e9'/%3E%3Crect x='720' y='344' width='50' height='50' fill='%23dfe6e9'/%3E%3Crect x='948' y='375' width='44' height='95' fill='%23dfe6e9'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.hero .section {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  align-items: center;
  gap: 34px;
  padding: 70px 0 58px;
}

.hero h1 {
  max-width: 780px;
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.18;
  letter-spacing: 0;
}

.hero p {
  max-width: 760px;
  margin: 0 0 26px;
  font-size: 1.08rem;
}

.eyebrow {
  color: #b7eeee;
  font-weight: 700;
  margin-bottom: 10px;
}

.eyebrow.dark {
  color: var(--teal);
}

.problem-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 820px;
  margin: 0 0 22px;
}

.problem-list span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-weight: 700;
}

.notice {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #7c2d12;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 600;
}

.hero .notice {
  max-width: 760px;
}

.hero-visual {
  min-height: 330px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px 16px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  position: relative;
}

.visual-skyline,
.home-illustration {
  position: relative;
  width: 100%;
  height: 100%;
}

.visual-skyline {
  min-height: 330px;
}

.sun {
  position: absolute;
  top: 34px;
  right: 42px;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #f6d365;
  box-shadow: 0 0 36px rgba(246, 211, 101, 0.38);
}

.tower {
  position: absolute;
  left: 48px;
  bottom: 66px;
  width: 24px;
  height: 166px;
  background: rgba(255, 255, 255, 0.82);
}

.tower::before,
.tower::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.tower::before {
  top: -42px;
  width: 70px;
  height: 70px;
  border: 9px solid rgba(255, 255, 255, 0.74);
  border-radius: 50%;
}

.tower::after {
  bottom: -54px;
  width: 150px;
  height: 54px;
  background: rgba(0, 128, 128, 0.62);
  clip-path: polygon(0 100%, 45% 0, 100% 100%);
}

.slope {
  position: absolute;
  right: -30px;
  bottom: 58px;
  width: 270px;
  height: 145px;
  background: rgba(223, 230, 233, 0.78);
  clip-path: polygon(0 100%, 100% 14%, 100% 100%);
}

.house {
  position: absolute;
  bottom: 62px;
  width: 98px;
  height: 78px;
  background: #fff;
}

.house::before {
  content: "";
  position: absolute;
  left: -12px;
  top: -42px;
  border-left: 61px solid transparent;
  border-right: 61px solid transparent;
  border-bottom: 44px solid var(--teal);
}

.house::after {
  content: "";
  position: absolute;
  left: 36px;
  bottom: 0;
  width: 24px;
  height: 42px;
  background: var(--mist);
}

.house-one {
  left: 128px;
}

.house-two {
  right: 72px;
  transform: scale(0.78);
  transform-origin: bottom right;
}

.section {
  padding: 46px 0;
}

.section h2,
.section h1 {
  margin: 0 0 16px;
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
  line-height: 1.3;
}

.lead {
  max-width: 820px;
  color: var(--muted);
  margin: 0 0 26px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--teal);
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
}

.button-cta {
  min-height: 54px;
  padding: 14px 24px;
  border-color: #00a3a3;
  background: #009393;
  box-shadow: 0 10px 24px rgba(0, 128, 128, 0.28);
  font-size: 1rem;
}

.button.secondary {
  background: var(--white);
  color: var(--teal);
}

.button:hover {
  background: var(--teal-dark);
  color: var(--white);
  text-decoration: none;
}

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

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.concern-grid,
.step-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.step-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.concern-card,
.step-card {
  min-height: 168px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 20px;
  box-shadow: var(--shadow);
}

.concern-card span,
.step-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 32px;
  margin-bottom: 12px;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(0, 128, 128, 0.1);
  color: var(--teal);
  font-weight: 800;
}

.concern-card h3,
.step-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.concern-card p,
.step-card p {
  margin: 0;
  color: var(--muted);
}

.visual-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 34px;
}

.home-illustration {
  min-height: 310px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, #fafdff 0%, #e7f3f3 62%, #dfe6e9 62% 100%);
  box-shadow: var(--shadow);
}

.port-line,
.hill-line {
  position: absolute;
  left: 0;
  right: 0;
}

.port-line {
  bottom: 74px;
  height: 48px;
  background:
    linear-gradient(90deg, transparent 0 7%, rgba(0, 128, 128, 0.2) 7% 9%, transparent 9% 20%, rgba(0, 128, 128, 0.28) 20% 23%, transparent 23% 100%),
    linear-gradient(180deg, transparent 0 48%, rgba(0, 128, 128, 0.42) 48% 58%, transparent 58%);
}

.hill-line {
  bottom: 48px;
  height: 120px;
  background: rgba(45, 55, 72, 0.12);
  clip-path: polygon(0 78%, 24% 38%, 42% 66%, 62% 22%, 100% 70%, 100% 100%, 0 100%);
}

.wide-house {
  position: absolute;
  left: 50%;
  bottom: 48px;
  width: 250px;
  height: 155px;
  transform: translateX(-50%);
}

.wide-house .roof,
.wide-house .wall,
.wide-house .door,
.wide-house .window {
  position: absolute;
  display: block;
}

.wide-house .roof {
  left: 14px;
  top: 0;
  width: 222px;
  height: 74px;
  background: var(--teal);
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
}

.wide-house .wall {
  left: 36px;
  top: 70px;
  width: 178px;
  height: 85px;
  background: var(--white);
  border: 1px solid var(--line);
}

.wide-house .door {
  left: 112px;
  bottom: 0;
  width: 30px;
  height: 58px;
  background: var(--mist);
  z-index: 1;
}

.wide-house .window {
  top: 92px;
  width: 34px;
  height: 30px;
  background: #dff7f7;
  border: 2px solid var(--teal);
  z-index: 1;
}

.wide-house .window.left {
  left: 62px;
}

.wide-house .window.right {
  right: 62px;
}

/*
必要画像:
- hero-vacant-house.jpg: 横浜の古い戸建て・空き家外観
- yokohama-residential-street.jpg: 横浜の住宅街・坂道
- consultation-table.jpg: 相談風景・書類を見る手元
- old-house-gate.jpg: 古い門扉・玄関
- documents-hands.jpg: 相続や不動産書類の手元
- slope-neighborhood.jpg: 横浜らしい坂の住宅街
*/
.hero {
  background:
    radial-gradient(circle at 84% 12%, rgba(0, 128, 128, 0.12), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
  color: var(--ink);
  overflow: hidden;
}

.hero .section {
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  min-height: 620px;
  padding: 78px 0 70px;
}

.hero-copy {
  max-width: 650px;
}

.hero h1 {
  max-width: 660px;
  margin-bottom: 20px;
  color: #1f2937;
  font-size: clamp(2.25rem, 4.8vw, 4.1rem);
}

.hero p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero .eyebrow {
  color: var(--teal);
}

.photo-card {
  position: relative;
  background-color: #eaf2f2;
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(0, 128, 128, 0.12)),
    linear-gradient(135deg, #dfe8e8, #f7fafc);
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(203, 213, 223, 0.75);
  border-radius: 22px;
  box-shadow: 0 22px 48px rgba(45, 55, 72, 0.14);
  overflow: hidden;
}

.photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(1.08) saturate(1.03);
}

.photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06) 54%, rgba(255, 255, 255, 0.18)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 48%);
  pointer-events: none;
}

.hero-photo-stack {
  position: relative;
  min-height: 470px;
}

.hero-photo {
  position: absolute;
}

.hero-photo-main {
  inset: 0 56px 42px 24px;
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(0, 128, 128, 0.12)),
    url("images/hero-vacant-house.jpg"),
    linear-gradient(135deg, #dfe8e8, #f7fafc);
}

.hero-photo-main img {
  object-position: center 48%;
}

.hero-photo-consult {
  right: 0;
  bottom: 8px;
  width: 48%;
  height: 190px;
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(0, 128, 128, 0.12)),
    url("images/consultation-table.jpg"),
    linear-gradient(135deg, #e7eeee, #ffffff);
}

.hero-photo-consult img {
  object-position: 52% 58%;
}

.hero-photo-street {
  left: 0;
  bottom: 0;
  width: 39%;
  height: 160px;
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(0, 128, 128, 0.1)),
    url("images/yokohama-residential-street.jpg"),
    linear-gradient(135deg, #dfe8e8, #ffffff);
}

.hero-photo-street img {
  object-position: 58% 52%;
  filter: brightness(1.16) saturate(1.04);
}

.concern-section {
  padding-top: 58px;
}

.concern-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.concern-card,
.step-card {
  border-radius: 18px;
  border-color: rgba(203, 213, 223, 0.78);
  box-shadow: 0 16px 34px rgba(45, 55, 72, 0.09);
}

.concern-card {
  position: relative;
  min-height: 214px;
  padding: 24px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.78)),
    var(--white);
}

.concern-card::before {
  content: "";
  position: absolute;
  inset: auto 18px 18px auto;
  width: 104px;
  height: 84px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(0, 128, 128, 0.18)),
    linear-gradient(135deg, #dfe8e8, #f7fafc);
  background-size: cover;
  background-position: center;
  opacity: 0.9;
  z-index: 0;
}

.concern-card > * {
  position: relative;
  z-index: 1;
}

.concern-inheritance::before,
.concern-belongings::before,
.documents-photo {
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(0, 128, 128, 0.12)),
    url("images/documents-hands.jpg"),
    linear-gradient(135deg, #dfe8e8, #f7fafc);
}

.concern-distance::before,
.message-photo {
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(0, 128, 128, 0.1)),
    url("images/slope-neighborhood.jpg"),
    linear-gradient(135deg, #dfe8e8, #f7fafc);
}

.message-photo img {
  object-position: 48% 52%;
}

.concern-shared::before {
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(0, 128, 128, 0.12)),
    url("images/consultation-table.jpg"),
    linear-gradient(135deg, #dfe8e8, #ffffff);
}

.concern-aging::before,
.gate-photo {
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(0, 128, 128, 0.1)),
    url("images/old-house-gate.jpg"),
    linear-gradient(135deg, #dfe8e8, #f7fafc);
}

.gate-photo img {
  object-position: 50% 50%;
  filter: brightness(1.22) saturate(1.04);
}

.concern-rebuild::before {
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(0, 128, 128, 0.1)),
    url("images/yokohama-residential-street.jpg"),
    linear-gradient(135deg, #dfe8e8, #ffffff);
}

.concern-card span,
.step-card span {
  min-height: 34px;
  border-radius: 999px;
  background: rgba(0, 128, 128, 0.12);
}

.photo-message-section {
  padding: 62px 0;
}

.message-photo {
  min-height: 380px;
}

.steps-section {
  background: #ffffff;
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100% - 1120px) / 2));
  padding-right: max(16px, calc((100% - 1120px) / 2));
}

.step-card {
  min-height: 190px;
  padding: 26px;
}

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

.guide-card {
  display: grid;
  grid-template-columns: 42% minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  min-height: 270px;
  padding: 18px;
  border: 1px solid rgba(203, 213, 223, 0.78);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 16px 34px rgba(45, 55, 72, 0.09);
}

.guide-photo {
  min-height: 230px;
  border-radius: 18px;
}

.guide-card h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  line-height: 1.35;
}

.guide-card p {
  color: var(--muted);
  margin: 0 0 16px;
}

.guide-section {
  padding-bottom: 64px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
}

.card h2 a {
  color: var(--ink);
}

.card p,
.card ul {
  margin: 0;
  color: var(--muted);
}

.check-list {
  padding-left: 1.2em;
}

.check-list li {
  margin: 6px 0;
}

.band {
  background: var(--mist);
}

.district-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.district-list a {
  display: block;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  text-align: center;
}

.form {
  display: grid;
  gap: 18px;
}

.diagnosis-layout {
  align-items: start;
}

.field {
  display: grid;
  gap: 7px;
}

label,
legend {
  font-weight: 700;
}

select,
input,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  font: inherit;
  background: var(--white);
  color: var(--ink);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

fieldset {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.radio-row label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 600;
}

.radio-row input {
  width: auto;
  min-height: auto;
}

.result-box {
  display: none;
  border-left: 6px solid var(--teal);
  background: var(--white);
  border-radius: 8px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.result-box.is-visible {
  display: block;
}

.result-box h2 {
  margin-bottom: 8px;
}

.result-cta {
  margin: 18px 0;
}

.score-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  font-size: 0.95rem;
}

.score-table th,
.score-table td {
  border-bottom: 1px solid var(--line);
  padding: 9px;
  text-align: left;
}

.disclaimer {
  font-size: 0.92rem;
  color: var(--muted);
}

.article-page {
  max-width: 920px;
}

.article-section {
  margin: 18px 0;
}

.cta-band {
  margin-top: 24px;
  padding: 24px;
  border-radius: 8px;
  background: var(--mist);
  border: 1px solid var(--line);
}

.contact-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
  background:
    linear-gradient(135deg, rgba(0, 128, 128, 0.1), rgba(255, 255, 255, 0.96)),
    var(--white);
}

.contact-cta h2 {
  margin: 0 0 8px;
}

.contact-cta p {
  margin: 0;
}

.soft-form {
  box-shadow: none;
}

.cta-band h2 {
  margin-top: 0;
}

.text-link {
  font-weight: 700;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 600;
}

.consent input {
  width: auto;
  min-height: auto;
  margin-top: 7px;
}

.site-footer {
  background: var(--ink);
  color: var(--white);
  margin-top: 32px;
}

.footer-inner {
  padding: 30px 0;
}

.footer-inner a {
  color: #b7eeee;
}

.articles-index {
  padding-top: 34px;
}

.articles-header {
  max-width: 820px;
  margin-bottom: 26px;
}

.articles-header h1 {
  margin-bottom: 10px;
  font-size: clamp(1.85rem, 3vw, 2.6rem);
}

.article-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.article-filter a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 13px;
  border: 1px solid rgba(203, 213, 223, 0.95);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
}

.article-filter a.is-active,
.article-filter a:hover {
  border-color: var(--teal);
  background: rgba(0, 128, 128, 0.08);
  color: var(--teal);
  text-decoration: none;
}

.articles-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 34px;
  align-items: start;
}

.articles-main {
  min-width: 0;
}

.featured-articles,
.article-list,
.articles-sidebar {
  display: grid;
  gap: 14px;
}

.featured-articles {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.section-label {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0;
}

.featured-articles .section-label {
  grid-column: 1 / -1;
}

.featured-card,
.article-row,
.sidebar-box {
  border: 1px solid rgba(203, 213, 223, 0.9);
  border-radius: 8px;
  background: var(--white);
}

.featured-card {
  display: grid;
  gap: 14px;
  align-content: space-between;
  min-height: 314px;
  padding: 18px 20px;
  background:
    linear-gradient(135deg, rgba(0, 128, 128, 0.08), rgba(255, 255, 255, 0.96) 48%),
    var(--white);
}

.article-thumb {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(203, 213, 223, 0.82);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(0, 128, 128, 0.14), rgba(223, 230, 233, 0.58)),
    var(--mist);
  color: var(--teal-dark);
  font-weight: 800;
}

.article-thumb span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(0, 128, 128, 0.18);
  font-size: 0.9rem;
}

.article-thumb img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(0.98) brightness(1.02);
}

.featured-card h2,
.article-row h2 {
  margin: 7px 0 6px;
  line-height: 1.45;
  letter-spacing: 0;
}

.featured-card h2 {
  font-size: 1.28rem;
}

.article-row h2 {
  font-size: 1.12rem;
}

.featured-card h2 a,
.article-row h2 a {
  color: var(--ink);
}

.featured-card p,
.article-row p,
.sidebar-box p {
  margin: 0;
  color: var(--muted);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.category-label {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(0, 128, 128, 0.1);
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 800;
}

.article-list {
  margin-top: 22px;
}

.article-row {
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 148px;
  padding: 17px 20px;
}

.row-link,
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  color: var(--teal);
  font-weight: 800;
}

.read-more {
  min-height: 40px;
}

.articles-sidebar {
  position: sticky;
  top: 96px;
}

.sidebar-box {
  padding: 18px;
}

.sidebar-box h2 {
  margin: 0 0 10px;
  font-size: 1rem;
  line-height: 1.4;
}

.sidebar-link-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar-link-list a {
  color: var(--ink);
  font-weight: 700;
}

.sidebar-cta {
  border-color: rgba(0, 128, 128, 0.28);
  background: linear-gradient(180deg, rgba(0, 128, 128, 0.08), #ffffff 58%);
}

.sidebar-cta .button {
  width: 100%;
  min-height: 46px;
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 8px;
  box-shadow: none;
}

@media (max-width: 840px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .site-header {
    position: static;
  }

  .grid,
  .grid.two,
  .concern-grid,
  .guide-grid,
  .guide-card,
  .step-grid,
  .featured-articles,
  .visual-section,
  .hero .section,
  .articles-layout {
    grid-template-columns: 1fr;
  }

  .articles-sidebar {
    position: static;
  }

  .hero .section {
    min-height: auto;
    padding: 58px 0 50px;
  }

  .hero-photo-stack {
    min-height: 520px;
    margin-top: 10px;
  }

  .hero-photo-main {
    inset: 0 0 120px 0;
  }

  .hero-photo-consult {
    width: 52%;
    height: 190px;
  }

  .hero-photo-street {
    width: 43%;
    height: 170px;
  }

  .message-photo,
  .guide-photo {
    min-height: 280px;
  }

  .contact-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .district-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .header-inner,
  .section,
  .footer-inner {
    width: min(100% - 22px, 1120px);
  }

  .hero .section {
    padding: 52px 0 44px;
  }

  .breadcrumb {
    width: min(100% - 22px, 1120px);
    margin-top: 12px;
  }

  .problem-list {
    display: grid;
  }

  .hero-photo-stack {
    display: grid;
    gap: 14px;
    min-height: auto;
  }

  .hero-photo {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .hero-photo-main {
    height: 260px;
  }

  .hero-photo-consult {
    width: 100%;
    height: 170px;
  }

  .hero-photo-street {
    width: 100%;
    height: 170px;
  }

  .hero-photo-street img {
    object-position: 56% 55%;
  }

  .concern-card {
    min-height: 190px;
  }

  .guide-card {
    padding: 14px;
  }

  .guide-card h3 {
    font-size: 1.18rem;
  }

  .button,
  .button-cta {
    width: 100%;
  }

  .articles-index {
    padding-top: 26px;
  }

  .article-filter {
    gap: 8px;
  }

  .article-filter a {
    min-height: 36px;
    padding: 6px 11px;
    font-size: 0.88rem;
  }

  .featured-card,
  .article-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: auto;
    padding: 17px;
  }

  .article-row .article-thumb {
    max-width: none;
  }

  .featured-card h2,
  .article-row h2 {
    font-size: 1.08rem;
  }

  .row-link,
  .read-more {
    justify-content: flex-start;
    white-space: normal;
  }

  .form {
    gap: 22px;
  }

  select,
  input,
  textarea {
    min-height: 48px;
    padding: 12px 13px;
  }

  fieldset {
    padding: 16px 12px;
  }

  .district-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .radio-row {
    display: grid;
  }
}
