/*
Theme Name: 行政書士吉田哲朗事務所 v117 お客様の声3画像修正版
Author: 行政書士吉田哲朗事務所
Description: 行政書士吉田哲朗事務所の総合ホームページ用テーマ
Version: 1.17
Text Domain: yoshida-office-20260625-final
*/

:root {
  --navy: #10233f;
  --navy-deep: #09182d;
  --heading: #0057a8;
  --subheading: #006b66;
  --gold: #b08a3c;
  --gold-soft: #d7c08a;
  --white: #ffffff;
  --gray-50: #f7f8fa;
  --gray-100: #eef1f4;
  --gray-200: #dce2e8;
  --text: #17202a;
  --muted: #303b46;
  --shadow: 0 18px 45px rgba(16, 35, 63, 0.12);
  --radius: 8px;
}

/* 見守り・終活支援：タイトル上、画像2枚、専門性カードの順に再配置 */
.life-watch-feature {
  display: block;
  padding: 34px 36px 40px;
  background: linear-gradient(180deg, #fbfff8 0%, #ffffff 100%);
}

.life-watch-heading {
  max-width: none;
  margin: 0 auto 26px;
  text-align: center;
}

.life-watch-heading h3 {
  margin: 16px 0 14px;
  color: #0b2340;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.35;
}

.life-watch-heading p {
  margin: 0;
  color: #14304e;
  font-weight: 700;
  line-height: 1.95;
}

.life-watch-feature strong {
  color: #7a4f12;
  background: linear-gradient(transparent 58%, #ffe3a3 58%);
  border-radius: 4px;
  font-weight: 900;
  padding: 0 .12em;
}

.life-watch-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 auto;
  padding: 10px 18px;
  border-radius: 999px;
  background: #2f6f3d;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(47, 111, 61, .22);
}

.life-watch-visuals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
  margin: 0 0 28px;
}

.life-watch-visuals figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid #d7e6cf;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(22, 52, 35, .10);
}

.life-watch-feature .life-watch-visuals img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

.life-watch-copy {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.life-watch-role {
  min-height: 0;
  margin: 0;
  padding: 22px 22px 24px;
  border: 1px solid #dfe8d8;
  border-left: 6px solid #7a9b54;
  border-radius: 10px;
  background: #fff;
}

.life-watch-role span {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 16px;
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
}

.life-watch-role p {
  margin: 0;
  color: #0f2439;
  font-weight: 700;
  line-height: 1.9;
}

.life-watch-role.role-legal {
  border-left-color: #7a9b54;
  background: #fbfff8;
}

.life-watch-role.role-legal span {
  background: #4f7d38;
}

.life-watch-role.role-welfare {
  border-left-color: #2f6f3d;
  background: #f5fbf2;
}

.life-watch-role.role-welfare span {
  background: #5b8a42;
}

.life-watch-role.role-estate {
  border-left-color: #a77a2b;
  background: #fffaf0;
}

.life-watch-role.role-estate span {
  background: #a77a2b;
}

.life-watch-summary {
  grid-column: 1 / -1;
  margin: 4px 0 0 !important;
  padding: 20px 24px;
  border: 1px solid #dfc992;
  border-radius: 10px;
  background: #f6f1e5;
  color: #17324f;
  font-weight: 800;
  line-height: 1.9;
}

@media (max-width: 900px) {
  .life-watch-feature {
    padding: 24px 18px 28px;
  }

  .life-watch-heading {
    text-align: left;
  }

  .life-watch-kicker {
    margin: 0;
  }

  .life-watch-visuals,
  .life-watch-copy {
    grid-template-columns: 1fr;
  }

  .life-watch-heading h3 {
    font-size: 1.45rem;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Yu Gothic UI", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  font-weight: 600;
  line-height: 1.8;
  background: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.container.narrow {
  max-width: 920px;
}

.section {
  padding: 92px 0;
}

.section-muted {
  background: var(--gray-50);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--gray-200);
  backdrop-filter: blur(12px);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  color: var(--navy);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.global-nav ul {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.global-nav a {
  font-size: 14px;
  font-weight: 700;
}

.global-nav a:hover {
  color: var(--gold);
}

.header-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  color: var(--white);
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: var(--radius);
}

.header-contact:hover {
  color: var(--white);
  background: var(--navy-deep);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
}

.hero {
  padding: 72px 0 96px;
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 28px;
  color: var(--heading);
  font-size: clamp(40px, 4vw, 58px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
}

.hero-text {
  max-width: 620px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 600;
  line-height: 2.05;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button-row.center {
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: var(--radius);
  font-weight: 700;
  transition: 0.2s ease;
}

.button-primary {
  color: var(--white);
  background: var(--navy);
  border: 1px solid var(--navy);
}

.button-primary:hover {
  background: var(--navy-deep);
}

.button-secondary {
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--gray-200);
}

.button-secondary:hover {
  border-color: var(--gold);
}

.button-secondary.light {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.42);
}

.button-secondary.light:hover {
  border-color: var(--gold-soft);
}

.contact-method-button {
  flex-direction: column;
  min-height: 64px;
  line-height: 1.35;
}

.contact-method-button strong {
  margin-top: 3px;
  font-size: 15px;
}

.hero-image-wrap {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--gray-100);
}

.hero-image {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

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

.section-heading.align-left {
  margin-left: 0;
  text-align: left;
}

.section-heading h2 {
  position: relative;
  margin-bottom: 14px;
  padding-bottom: 16px;
  color: var(--heading);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
}

.section-heading h2::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 48px;
  height: 3px;
  content: "";
  background: var(--gold);
  transform: translateX(-50%);
}

.section-heading.align-left h2::after {
  left: 0;
  transform: none;
}

.section-heading p {
  color: var(--muted);
  font-size: 17px;
  font-weight: 600;
}

.news-section {
  background:
    linear-gradient(180deg, #f4f8fb 0%, #ffffff 100%);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

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

.news-home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
}

.news-feature {
  max-width: 940px;
  margin: 0;
  display: grid;
  gap: 26px;
}

.news-card,
.news-empty {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(16, 35, 63, 0.06);
}

.news-card {
  overflow: hidden;
  border-top: 0;
}

.news-card-feature {
  padding: 0;
  border-color: #c9d8e7;
  box-shadow: 0 18px 42px rgba(16, 35, 63, 0.11);
}

.news-card-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 26px 16px;
  background: linear-gradient(90deg, #0059a8 0%, #007c89 100%);
  overflow: visible;
}

.news-label {
  position: relative;
  top: -5px;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 15px;
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 999px;
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.news-label::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  background: var(--white);
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.18);
}

.news-card-body {
  padding: 30px 34px 34px;
}

.news-card time {
  display: block;
  margin-bottom: 0;
  color: var(--gold-dark);
  font-size: 14px;
  font-weight: 700;
}

.news-card-head time {
  color: var(--white);
}

.news-card h3 {
  margin-bottom: 18px;
  color: #0057a8 !important;
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  font-size: 23px;
  font-weight: 900;
  line-height: 1.55;
}

.news-card h3 a,
.news-card h3 a:visited {
  color: #0057a8 !important;
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  font-weight: 900;
  text-decoration: none !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

.news-card h3 a:hover {
  color: #0057a8 !important;
  text-decoration: none !important;
}

.news-card p,
.news-empty p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.8;
}

.news-card p:last-of-type {
  margin-bottom: 0;
}

.news-highlight {
  display: inline;
  padding: 0.08em 0.28em;
  color: #8a1748;
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  font-weight: 900;
  background: linear-gradient(transparent 46%, #ffd6e6 46%);
  border-radius: 3px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.news-highlight-blue {
  color: #0057a8;
  background: linear-gradient(transparent 46%, #cfe5ff 46%);
}

.news-highlight-construction {
  color: #0057a8;
  background: linear-gradient(transparent 46%, #cfe5ff 46%);
}

.news-highlight-traffic {
  color: #00695c;
  background: linear-gradient(transparent 46%, #c9f3e8 46%);
}

.news-card-green h3 a,
.news-card-green h3 a:visited {
  color: #00695c;
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  font-weight: 900;
}

.news-list-items {
  margin: 8px 0 18px;
  padding: 14px 18px 14px 38px;
  color: var(--navy-deep);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
  background: #f4fbfb;
  border-left: 4px solid #007c89;
  border-radius: 6px;
}

.news-list-items li + li {
  margin-top: 2px;
}

.news-customer-voice {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 26px;
  margin-top: 24px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #d7e3ee;
  border-left: 5px solid #0059a8;
  border-radius: 8px;
}

.news-customer-voice-construction {
  border-left-color: #0059a8;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.news-customer-side {
  display: grid;
  align-content: start;
  gap: 14px;
}

.news-customer-site-image {
  margin: 0;
}

.news-customer-site-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
  border: 1px solid #c9d8e7;
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(0, 89, 168, 0.14);
}

.news-customer-site-image-full img {
  object-fit: contain;
  background: #f8fbff;
}

.news-customer-site-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.news-customer-site-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 14px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(16, 35, 63, 0.15);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  will-change: transform;
}

.news-customer-site-link::after {
  margin-left: 8px;
  content: "→";
  color: #ffffff;
}

.news-customer-site-link:visited,
.news-customer-site-link:hover {
  color: #ffffff;
}

.news-customer-site-link:hover,
.news-customer-site-link:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 18px 32px rgba(16, 35, 63, 0.24);
  filter: brightness(1.04);
}

.news-customer-site-link-construction {
  background: linear-gradient(180deg, #0067bd 0%, #004384 100%);
  border: 1px solid #003f7d;
  border-bottom: 3px solid #082a55;
}

.news-customer-site-link-sanpai {
  background: linear-gradient(180deg, #007c89 0%, #005e67 100%);
  border: 1px solid #005e67;
  border-bottom: 3px solid #00434a;
}

.news-customer-meta {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 16px;
  text-align: center;
  background: #eef6ff;
  border: 1px solid #cfe5ff;
  border-radius: 8px;
}

.news-customer-meta span,
.news-customer-meta strong {
  color: var(--navy-deep);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.6;
}

.news-customer-comment p {
  color: var(--navy-deep);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.9;
}

.news-customer-comment .news-customer-license {
  margin-top: 18px;
  color: #0057a8;
  font-weight: 900;
}

.news-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.news-photo-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--gray-200);
}

.news-more {
  display: inline-flex;
  margin-top: 20px;
  padding: 9px 14px;
  color: #006f78;
  font-size: 15px;
  font-weight: 700;
  background: #edf8f7;
  border-radius: 4px;
}

.news-more::after {
  margin-left: 7px;
  content: "→";
  color: var(--gold);
}

.news-more:hover {
  color: var(--gold);
}

.news-archive-panel {
  position: sticky;
  top: 98px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #c9d8e7;
  border-top: 5px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(16, 35, 63, 0.11);
}

.news-archive-panel-kicker {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 7px 12px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  background: linear-gradient(90deg, #0059a8 0%, #007c89 100%);
  border-radius: 999px;
}

.news-archive-panel h3 {
  margin: 0 0 18px;
  color: #0057a8;
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.45;
}

.news-archive-item {
  display: block;
  padding: 16px;
  color: var(--navy-deep);
  text-decoration: none;
  background: #f5f9fc;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
}

.news-archive-item time {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-dark);
  font-size: 14px;
  font-weight: 900;
}

.news-archive-item span {
  display: block;
  color: #0057a8 !important;
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.65;
}

.news-archive-item:visited span {
  color: #0057a8 !important;
}

.news-archive-item:hover {
  border-color: var(--gold);
  box-shadow: 0 12px 24px rgba(16, 35, 63, 0.1);
}

.news-archive-panel-text {
  margin: 16px 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}

.news-archive-link {
  max-width: 760px;
  margin: 38px auto 0;
  padding: 28px;
  text-align: center;
  background: linear-gradient(180deg, #f5f9fc 0%, #ffffff 100%);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(16, 35, 63, 0.1);
}

.news-archive-note {
  margin: 0 0 16px;
  color: var(--navy-deep);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.7;
}

.news-archive-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 340px;
  min-height: 64px;
  padding: 16px 30px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
  text-decoration: none;
  background: linear-gradient(180deg, #0067bd 0%, #004384 100%);
  border: 1px solid #003f7d;
  border-bottom: 4px solid #082a55;
  border-radius: 8px;
  box-shadow: 0 18px 34px rgba(0, 82, 160, 0.3);
}

.news-archive-button::after {
  margin-left: 10px;
  content: "→";
  color: #ffffff;
}

.news-archive-button:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(0, 82, 160, 0.36);
}

.news-archive-button-secondary {
  background: linear-gradient(180deg, #10233f 0%, #07182d 100%);
  border-color: #07182d;
  border-bottom-color: #000b18;
  box-shadow: 0 18px 34px rgba(16, 35, 63, 0.28);
}

@media (max-width: 980px) {
  .news-home-layout {
    grid-template-columns: 1fr;
  }

  .news-feature {
    max-width: none;
  }

  .news-archive-panel {
    position: static;
  }
}

@media (max-width: 640px) {
  .news-home-layout {
    grid-template-columns: 1fr;
  }

  .news-archive-panel {
    position: static;
  }

  .news-archive-link {
    padding: 22px 18px;
  }

  .news-archive-button {
    width: 100%;
    min-width: 0;
    min-height: 58px;
    font-size: 16px;
  }
}

.news-empty {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.results-section {
  padding: 64px 0 72px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f8fa 100%);
}

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

.result-card {
  min-height: 188px;
  padding: 32px 28px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: 4px solid #c62828;
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(16, 35, 63, 0.08);
}

.result-number {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  color: #c62828;
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
}

.result-number span {
  color: var(--navy);
  font-size: 18px;
  font-weight: 800;
}

.result-card p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 19px;
  font-weight: 700;
}

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

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

.service-card,
.strength-card,
.flow-card {
  min-height: 100%;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(16, 35, 63, 0.06);
}

.service-card {
  border-top: 4px solid #0b63b6;
}

.service-card h3,
.strength-card h3,
.flow-card h3 {
  margin-bottom: 18px;
  color: var(--subheading);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
}

.service-card p,
.strength-card p,
.flow-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.85;
}

.service-contact-button {
  margin-top: 22px;
  box-shadow: 0 14px 28px rgba(5, 52, 99, 0.24);
  transform: translateY(-2px);
}

.service-contact-button:hover {
  box-shadow: 0 18px 34px rgba(5, 52, 99, 0.3);
  transform: translateY(-5px);
}

.text-link {
  display: inline-flex;
  margin-top: 26px;
  padding-bottom: 3px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  border-bottom: 2px solid var(--gold);
}

.text-link::after {
  margin-left: 8px;
  content: "→";
  color: var(--gold);
}

.specialty-site-link {
  align-items: center;
  justify-content: center;
  margin-top: 26px;
  padding: 12px 18px;
  color: var(--navy-deep);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
  background: linear-gradient(180deg, #fff6dc 0%, #e7c774 100%);
  border: 1px solid #c49a35;
  border-bottom: 3px solid #9f7620;
  border-radius: 6px;
  box-shadow: 0 12px 22px rgba(159, 118, 32, 0.2);
}

.specialty-site-link::after {
  color: var(--navy-deep);
  font-weight: 900;
}

.specialty-site-link:hover {
  color: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(159, 118, 32, 0.28);
}

.blog-link {
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  padding: 10px 14px 10px 16px;
  color: #064f9e;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
  background: #eef6ff;
  border-left: 4px solid #2f80d8;
  border-radius: 6px;
  box-shadow: 0 8px 18px rgba(47, 128, 216, 0.1);
}

.blog-link::after {
  margin-left: 7px;
  content: "→";
  color: #2f80d8;
}

.blog-link:hover {
  color: #003f82;
  background: #e3f0ff;
  transform: translateY(-1px);
}

.construction-point-section {
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.construction-point-visual {
  max-width: 820px;
  margin: 0 auto 28px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(16, 35, 63, 0.12);
  overflow: hidden;
}

.construction-point-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.construction-point-card {
  max-width: 980px;
  margin: 0 auto;
  padding: 30px 34px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(16, 35, 63, 0.07);
}

.construction-point-card p {
  color: var(--muted);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.9;
}

.construction-point-card p + p {
  margin-top: 12px;
}

.construction-point-actions {
  margin-top: 28px;
}

.sanpai-point-section {
  background: linear-gradient(180deg, #f2f8ff 0%, var(--white) 100%);
}

.sanpai-point-card {
  border-top-color: #0b63b6;
}

.subsidy-point-section {
  background: linear-gradient(180deg, #fbf7ff 0%, var(--white) 100%);
}

.subsidy-point-card {
  border-top-color: #7c3aed;
}

.sanpai-point-title {
  white-space: nowrap;
}

.point-highlight {
  display: inline;
  padding: 2px 7px 4px;
  border-radius: 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  font-weight: 800;
}

.point-highlight-blue {
  color: #073b73;
  background: linear-gradient(transparent 45%, #cfe3ff 45%);
}

.point-highlight-gold {
  color: #5d4308;
  background: linear-gradient(transparent 45%, #ffe29a 45%);
}

.point-highlight-purple {
  color: #6d28d9;
  background: linear-gradient(transparent 45%, #eadcff 45%);
}

.point-highlight-green {
  color: #00695c;
  background: linear-gradient(transparent 45%, #c9f3e8 45%);
}

.point-highlight-red {
  color: #8a1748;
  background: linear-gradient(transparent 45%, #ffd6e6 45%);
}

.traffic-claim-section {
  background: linear-gradient(180deg, #f3fbf8 0%, var(--white) 100%);
}

.traffic-claim-visual {
  max-width: 980px;
  margin: 0 auto 34px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(16, 35, 63, 0.12);
  overflow: hidden;
}

.traffic-claim-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.traffic-claim-support {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.traffic-support-card {
  position: relative;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: 5px solid #00856f;
  border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(16, 35, 63, 0.06);
  overflow: hidden;
}

.traffic-support-card::before {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
}

.traffic-support-card-victim {
  background: linear-gradient(180deg, #f3fbf8 0%, var(--white) 55%);
  border-top-color: #00856f;
}

.traffic-support-card-victim::before {
  content: "1";
  background: #00856f;
}

.traffic-support-card-clinic {
  background: linear-gradient(180deg, #f1fbf6 0%, var(--white) 55%);
  border-top-color: #2f8f62;
}

.traffic-support-card-clinic::before {
  content: "2";
  background: #2f8f62;
}

.traffic-support-card h3 {
  padding-right: 54px;
  margin-bottom: 12px;
  color: var(--navy-deep);
  font-size: 23px;
  line-height: 1.5;
}

.traffic-support-card-victim h3 {
  color: #00695c;
}

.traffic-support-card-clinic h3 {
  color: #2f6f4f;
}

.traffic-support-card p,
.traffic-note {
  color: var(--muted);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.85;
}

.traffic-support-card p + p {
  margin-top: 12px;
}

.traffic-note {
  max-width: 980px;
  margin: 0 auto 24px;
  padding: 16px 18px;
  background: var(--gray-100);
  border-left: 4px solid #00856f;
  border-radius: 4px;
}

.future-support-section {
  background: linear-gradient(180deg, #fff7f9 0%, var(--white) 100%);
}

.future-support-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  align-items: start;
  margin-bottom: 34px;
}

.future-support-visual {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(16, 35, 63, 0.12);
  overflow: hidden;
}

.future-support-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.life-watch-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 30px;
  align-items: start;
  margin: 34px 0 36px;
  padding: 30px;
  background: linear-gradient(135deg, #f8fbf4 0%, #ffffff 56%, #f3f8ef 100%);
  border: 1px solid #d8e5ce;
  border-top: 4px solid #6f8f42;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.life-watch-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  padding: 8px 14px;
  color: var(--white);
  background: #36633e;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.life-watch-copy h3 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: 28px;
  line-height: 1.45;
}

.life-watch-copy p {
  margin: 0 0 16px;
  color: var(--text);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.9;
}

.life-watch-copy strong {
  color: #075a9c;
  font-weight: 900;
  background: #e8f3ff;
  padding: 0 0.18em;
  border-radius: 4px;
}

.life-watch-role {
  margin: 16px 0;
  padding: 18px 18px 18px 20px;
  background: var(--white);
  border: 1px solid #dfe7d3;
  border-left: 6px solid var(--role-color);
  border-radius: 8px;
}

.life-watch-role span {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 5px 12px;
  color: var(--white);
  background: var(--role-color);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.life-watch-role p {
  margin: 0;
}

.life-watch-role.role-legal {
  --role-color: #0b5fa5;
}

.life-watch-role.role-welfare {
  --role-color: #5f8f3d;
}

.life-watch-role.role-estate {
  --role-color: #9a7436;
}

.life-watch-summary {
  margin-top: 18px !important;
  padding: 16px 18px;
  background: #fff8e5;
  border: 1px solid #e8d6a3;
  border-radius: 8px;
}

.life-watch-visuals {
  display: grid;
  gap: 18px;
}

.life-watch-visuals figure {
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid #dbe5dc;
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(16, 35, 63, 0.12);
}

.life-watch-visuals img {
  display: block;
  width: 100%;
  height: auto;
}

.future-support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 24px;
}

.future-support-card {
  padding: 26px;
  background: #fff8fa;
  border: 1px solid #f0ccd7;
  border-top: 4px solid #c43d63;
  border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(16, 35, 63, 0.05);
}

.future-support-card h3 {
  margin-bottom: 12px;
  color: #8a1748;
  font-size: 22px;
  line-height: 1.5;
}

.future-support-card p,
.future-support-note {
  color: var(--muted);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.85;
}

.future-support-note {
  max-width: 980px;
  margin: 0 auto 24px;
  padding: 16px 18px;
  background: #f2f6ea;
  border-left: 4px solid #6f8f42;
  border-radius: 4px;
}

.partner-experts {
  margin: 32px 0 26px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(16, 35, 63, 0.07);
}

.partner-experts-heading {
  margin-bottom: 20px;
  text-align: center;
}

.partner-experts-heading h3 {
  margin-bottom: 8px;
  color: var(--navy-deep);
  font-size: 26px;
}

.partner-experts-heading p {
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
}

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

.partner-expert-card {
  display: block;
  padding: 24px;
  color: var(--text);
  text-decoration: none;
  background: #fbfcf7;
  border: 1px solid #dfe7d3;
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.partner-expert-card:hover {
  color: var(--text);
  border-color: #9fb879;
  box-shadow: 0 12px 26px rgba(16, 35, 63, 0.12);
  transform: translateY(-2px);
}

.partner-photo {
  display: block;
  width: 150px;
  height: 150px;
  margin: 0 auto 18px;
  background: var(--gray-100);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(16, 35, 63, 0.14);
  overflow: hidden;
}

.partner-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.partner-expert-card.welfare .partner-photo img {
  object-position: center top;
}

.partner-expert-card.real-estate .partner-photo img {
  object-position: center top;
}

.partner-expert-card.legal .partner-field {
  background: var(--gold);
}

.partner-field {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 10px;
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  background: #6f8f42;
  border-radius: 4px;
}

.partner-expert-card.real-estate .partner-field {
  background: var(--heading);
}

.partner-expert-card h4 {
  margin-bottom: 8px;
  color: var(--navy-deep);
  font-size: 28px;
  line-height: 1.35;
}

.partner-expert-card p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

.partner-expert-card strong {
  display: block;
  margin-bottom: 16px;
  color: var(--subheading);
  font-size: 17px;
}

.partner-link {
  display: inline-flex;
  padding-bottom: 3px;
  color: var(--navy);
  font-weight: 800;
  border-bottom: 2px solid var(--gold);
}

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

.blog-container {
  max-width: 980px;
}

.blog-header {
  margin-bottom: 42px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--gray-200);
}

.blog-header h1 {
  margin: 10px 0 18px;
  color: var(--navy-deep);
  font-size: clamp(34px, 4.2vw, 46px);
  line-height: 1.25;
}

.blog-date {
  margin: 0;
  color: var(--gold);
  font-weight: 700;
}

.blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.blog-categories a {
  display: inline-flex;
  padding: 6px 12px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  background: var(--gray-100);
  border-radius: 4px;
}

.blog-content {
  color: var(--text);
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  font-size: 19px;
  line-height: 2.05;
  font-weight: 400;
}

.blog-content p {
  margin: 0 0 26px;
}

.blog-content h2 {
  margin: 40px 0 22px;
  padding: 12px 16px;
  color: var(--navy-deep);
  font-size: clamp(24px, 2.7vw, 30px);
  line-height: 1.45;
  background: var(--gray-100);
  border-left: 0;
  border-radius: 4px;
}

.blog-content p.blog-auto-heading {
  margin: 40px 0 22px;
  padding: 12px 16px;
  color: var(--navy-deep);
  font-size: clamp(24px, 2.7vw, 30px);
  font-weight: 800;
  line-height: 1.45;
  background: var(--gray-100);
  border-radius: 4px;
}

.blog-content h3 {
  margin: 38px 0 18px;
  padding-bottom: 8px;
  color: var(--subheading);
  font-size: clamp(21px, 2.5vw, 28px);
  line-height: 1.45;
  border-bottom: 2px solid var(--gold-soft);
}

.blog-content strong {
  color: var(--navy-deep);
  font-weight: 700;
}

.blog-content ul,
.blog-content ol {
  margin: 0 0 28px 1.4em;
  padding: 0;
}

.blog-content li {
  margin-bottom: 10px;
}

.blog-content blockquote {
  margin: 34px 0;
  padding: 22px 26px;
  color: var(--navy);
  background: var(--gray-50);
  border-left: 5px solid var(--gold);
}

.blog-content a {
  color: var(--heading);
  font-weight: 700;
}

.blog-featured-image img,
.blog-content img,
.blog-content figure img,
.wp-block-image img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.blog-content figure,
.wp-block-image {
  max-width: 100%;
  overflow: hidden;
}

.blog-back {
  margin-top: 46px;
  padding-top: 28px;
  border-top: 1px solid var(--gray-200);
}

.column-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.column-card h2 {
  margin-bottom: 14px;
  font-size: 24px;
}

.column-card h2 a {
  color: var(--navy-deep);
  text-decoration: none;
}

.column-date {
  margin: 0 0 8px;
  color: var(--gold);
  font-weight: 700;
}

.column-list {
  display: grid;
  gap: 22px;
}

.column-card h2 {
  margin-bottom: 14px;
  color: var(--heading);
  font-size: 24px;
  line-height: 1.5;
}

.column-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 28px;
  align-items: stretch;
}

.column-card.no-column-image {
  grid-template-columns: 1fr;
}

.column-card-content {
  min-width: 0;
}

.column-card-image {
  display: block;
  min-height: 180px;
  border-radius: 8px;
  overflow: hidden;
  background: #f7f9fb;
  align-self: stretch;
}

.column-card-image img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: contain;
  display: block;
  transition: transform 0.25s ease;
}

.column-card-image:hover img {
  transform: scale(1.03);
}

.column-date {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
}

.number {
  display: block;
  margin-bottom: 14px;
  color: var(--gold);
  font-weight: 700;
}

.representative-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 60px;
  align-items: center;
}

.representative-name {
  color: var(--subheading);
  font-size: 24px;
  font-weight: 700;
}

.representative-content p:not(.representative-name) {
  color: var(--muted);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.9;
}

.representative-image-card {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.representative-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 6px;
}

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

.flow-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  color: var(--white);
  background: var(--navy);
  border-radius: 50%;
  font-weight: 700;
}

.table-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 20px 22px;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
  vertical-align: top;
}

tr:last-child th,
tr:last-child td {
  border-bottom: 0;
}

th {
  width: 34%;
  color: var(--navy);
  background: var(--gray-50);
  font-weight: 700;
}

td {
  color: var(--muted);
  font-weight: 600;
}

td a {
  color: var(--navy);
  font-weight: 700;
}

#fees table {
  min-width: 860px;
}

#fees thead th {
  color: var(--white);
  background: var(--navy);
  border-bottom: 0;
}

#fees th {
  width: auto;
}

#fees thead th:nth-child(1),
#fees tbody th {
  width: 42%;
}

#fees thead th:nth-child(2),
#fees tbody td:nth-child(2) {
  width: 20%;
  white-space: nowrap;
}

#fees thead th:nth-child(3),
#fees tbody td:nth-child(3) {
  width: 38%;
}

#fees tbody tr:nth-child(-n + 5) th {
  color: #174f84;
  background: #edf5fc;
  border-left: 5px solid #397eb8;
  border-right: 1px solid #bdd3e7;
}

#fees tbody tr:nth-child(-n + 5) td {
  background: #edf5fc;
  border-right: 1px solid #bdd3e7;
}

#fees tbody tr:nth-child(-n + 5) td:last-child {
  border-right: 5px solid #397eb8;
}

#fees tbody tr:nth-child(n + 6):nth-child(-n + 9) th {
  color: #176556;
  background: #edf8f4;
  border-left: 5px solid #399b83;
  border-right: 1px solid #bddfd6;
}

#fees tbody tr:nth-child(n + 6):nth-child(-n + 9) td {
  background: #edf8f4;
  border-right: 1px solid #bddfd6;
}

#fees tbody tr:nth-child(n + 6):nth-child(-n + 9) td:last-child {
  border-right: 5px solid #399b83;
}

#fees tbody tr:nth-child(10) th {
  color: #765b16;
  background: #fff8e5;
  border-left: 5px solid #c39a31;
  border-right: 1px solid #e2cf91;
}

#fees tbody tr:nth-child(10) td {
  background: #fff8e5;
  border-right: 1px solid #e2cf91;
}

#fees tbody tr:nth-child(10) td:last-child {
  border-right: 5px solid #c39a31;
}

#fees tbody tr:nth-child(11) th {
  color: #8a3d32;
  background: #fff1ef;
  border-left: 5px solid #c96a5c;
  border-right: 1px solid #e7beb8;
}

#fees tbody tr:nth-child(11) td {
  background: #fff1ef;
  border-right: 1px solid #e7beb8;
}

#fees tbody tr:nth-child(11) td:last-child {
  border-right: 5px solid #c96a5c;
}

#fees tbody tr:nth-child(n + 12):nth-child(-n + 13) th {
  color: #684878;
  background: #f7f0fa;
  border-left: 5px solid #9a70ad;
  border-right: 1px solid #d7c1df;
}

#fees tbody tr:nth-child(n + 12):nth-child(-n + 13) td {
  background: #f7f0fa;
  border-right: 1px solid #d7c1df;
}

#fees tbody tr:nth-child(n + 12):nth-child(-n + 13) td:last-child {
  border-right: 5px solid #9a70ad;
}

#fees tbody tr:nth-child(n + 14) th {
  color: #5d5530;
  background: #f6f4e9;
  border-left: 5px solid #9c8f4b;
  border-right: 1px solid #d5cfaa;
}

#fees tbody tr:nth-child(n + 14) td {
  background: #f6f4e9;
  border-right: 1px solid #d5cfaa;
}

#fees tbody tr:nth-child(n + 14) td:last-child {
  border-right: 5px solid #9c8f4b;
}

.note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.fee-notes p + p {
  margin-top: 6px;
}

.office-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
  gap: 36px;
  align-items: start;
}

.visit-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.social-outreach {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: 36px;
  align-items: center;
  margin-top: 46px;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 5px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(16, 35, 63, 0.06);
}

.social-count {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 15px;
  font-weight: 700;
}

.social-outreach-intro h3 {
  margin-bottom: 12px;
  color: var(--heading);
  font-size: 23px;
  line-height: 1.55;
}

.social-outreach-intro p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

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

.social-media-link {
  position: relative;
  display: grid;
  gap: 2px;
  min-height: 78px;
  padding: 14px 34px 14px 16px;
  color: var(--text);
  background: var(--gray-50);
  border-left: 4px solid currentColor;
  border-radius: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-media-link::after {
  position: absolute;
  top: 50%;
  right: 14px;
  content: "→";
  transform: translateY(-50%);
}

.social-media-link strong {
  font-size: 16px;
}

.social-media-link:hover {
  color: inherit;
  transform: translateY(-2px);
  box-shadow: 0 7px 18px rgba(16, 35, 63, 0.11);
}

.social-media-link.facebook {
  color: #1265b0;
}

.social-media-link.instagram {
  color: #c13584;
}

.social-media-link.x-network,
.social-media-link.threads {
  color: #17202a;
}

.social-media-link.note {
  color: #16866c;
}

.social-media-link.youtube {
  color: #c62828;
}

.office-map {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(16, 35, 63, 0.08);
}

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

.google-business-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 18px 20px;
  color: var(--text);
  background: #ffffff;
  border-bottom: 1px solid var(--gray-200);
}

.google-business-card:hover {
  background: #f8fbff;
}

.google-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #4285f4;
  font-size: 25px;
  font-weight: 700;
  border: 2px solid #4285f4;
  border-radius: 50%;
}

.google-business-card strong,
.google-business-card small {
  display: block;
}

.google-business-card strong {
  color: var(--heading);
  font-size: 16px;
}

.google-business-card small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.google-card-arrow {
  color: #4285f4;
  font-size: 20px;
  font-weight: 700;
}

.map-link {
  display: block;
  padding: 16px 20px;
  color: var(--heading);
  font-weight: 700;
  text-align: center;
  background: var(--white);
}

.map-link:hover {
  color: var(--gold);
}

.google-business-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--gray-200);
}

.google-business-links .map-link {
  border-right: 1px solid var(--gray-200);
}

.business-profile-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  color: #176742;
  font-weight: 700;
  text-align: center;
  background: var(--white);
}

.business-profile-link:hover {
  color: var(--gold);
}

.contact-section {
  color: var(--white);
  background: var(--navy);
}

.contact-box {
  max-width: 860px;
  text-align: center;
}

.contact-box h2 {
  margin-bottom: 18px;
  font-size: 34px;
  line-height: 1.45;
}

.contact-box p {
  margin: 0 auto;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.82);
}

.contact-form {
  margin-top: 38px;
  padding: 32px;
  color: var(--text);
  text-align: left;
  background: var(--white);
  border-radius: var(--radius);
}

.contact-success-panel {
  margin-top: 32px;
  padding: 24px;
  color: #145b3a;
  text-align: center;
  background: #eaf8f0;
  border: 2px solid #39a36b;
  border-radius: var(--radius);
}

.contact-success-panel strong {
  display: block;
  margin-bottom: 6px;
  font-size: 22px;
}

.contact-success-panel span {
  display: block;
  font-size: 15px;
  font-weight: 600;
}

.contact-success-panel .button {
  margin-top: 18px;
}

.contact-success-panel small {
  display: block;
  margin-top: 10px;
}

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

.form-field {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 700;
}

.form-field-wide {
  grid-column: 1 / -1;
}

.form-field strong {
  margin-left: 6px;
  color: #b13b3b;
  font-size: 12px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  color: var(--text);
  font: inherit;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
}

.form-field textarea {
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  outline: 2px solid rgba(176, 138, 60, 0.2);
}

.privacy-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
}

.privacy-check input {
  margin-top: 6px;
}

.form-submit {
  width: 100%;
  margin-top: 24px;
  color: var(--white);
  background: var(--gold);
  border: 1px solid var(--gold);
  cursor: pointer;
}

.form-submit:hover {
  background: #98752f;
}

.contact-box .form-status {
  max-width: none;
  margin-top: 14px;
  color: #8b2f2f;
  font-size: 14px;
  text-align: center;
}

.contact-box .form-status.form-success {
  color: #176742;
}

.site-footer {
  padding: 44px 0;
  color: var(--white);
  background: var(--navy-deep);
}

.footer-inner {
  display: grid;
  gap: 18px;
}

.footer-logo {
  margin-bottom: 0;
  font-size: 20px;
  font-weight: 700;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
}

.footer-links a:hover {
  color: var(--gold-soft);
}

.copyright {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
}

@media (max-width: 1040px) {
  .global-nav ul {
    gap: 12px;
  }

  .global-nav a {
    font-size: 13px;
  }

  .hero-grid {
    grid-template-columns: 1fr 46%;
    gap: 34px;
  }

  .hero-image {
    height: 500px;
  }

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

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .global-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    padding: 22px 20px 26px;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 16px 28px rgba(16, 35, 63, 0.08);
  }

  .global-nav.is-open {
    display: grid;
    gap: 18px;
  }

  .global-nav ul {
    display: grid;
    gap: 12px;
  }

  .header-contact {
    width: 100%;
  }

  .hero-grid,
  .representative-grid,
  .office-grid,
  .social-outreach {
    grid-template-columns: 1fr;
  }

  .representative-image-card {
    order: -1;
    max-width: 480px;
    margin: 0 auto;
  }

  .service-grid,
  .results-grid,
  .news-list,
  .strength-grid,
  .traffic-claim-support,
  .future-support-images,
  .future-support-grid,
  .partner-expert-grid,
  .flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .section {
    padding: 64px 0;
  }

  .header-inner {
    width: min(100% - 28px, 1180px);
    min-height: 68px;
  }

  .site-logo {
    font-size: 16px;
  }

  .global-nav {
    top: 68px;
  }

  .hero {
    padding: 52px 0 68px;
  }

  h1 {
    font-size: 40px;
  }

  .hero-text {
    font-size: 17px;
  }

  .button-row,
  .button-row.center {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .hero-image {
    height: 360px;
  }

  .section-heading {
    margin-bottom: 30px;
    text-align: left;
  }

  .section-heading h2 {
    font-size: 28px;
  }

  .sanpai-point-title {
    white-space: normal;
  }

  .section-heading h2::after {
    left: 0;
    transform: none;
  }

  .service-grid,
  .results-grid,
  .news-list,
  .strength-grid,
  .traffic-claim-support,
  .future-support-images,
  .future-support-grid,
  .partner-expert-grid,
  .flow-grid {
    grid-template-columns: 1fr;
  }

  .traffic-support-card,
  .future-support-card,
  .partner-experts,
  .partner-expert-card {
    padding: 20px;
  }

  .traffic-support-card::before {
    top: 18px;
    right: 18px;
    width: 34px;
    height: 34px;
    font-size: 17px;
  }

  .traffic-support-card h3 {
    padding-right: 44px;
  }

  .service-card,
  .result-card,
  .news-card,
  .news-empty,
  .strength-card,
  .flow-card {
    padding: 24px;
  }

  .result-card {
    min-height: 156px;
  }

  .result-number {
    font-size: 46px;
  }

  .news-card-feature {
    padding: 0;
  }

  .news-card-head {
    display: grid;
    justify-content: start;
    gap: 8px;
    padding: 14px 18px;
  }

  .news-card-body {
    padding: 22px 20px 24px;
  }

  .news-card h3 {
    font-size: 20px;
  }

  .news-customer-voice {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px;
  }

  .news-customer-site-links {
    grid-template-columns: 1fr;
  }

  .news-customer-meta {
    padding: 14px;
  }

  .news-customer-comment p {
    font-size: 16px;
  }

  .news-photo-grid {
    grid-template-columns: 1fr;
  }

  .news-photo-grid img {
    aspect-ratio: auto;
    object-fit: contain;
  }

  .construction-point-card {
    padding: 22px;
  }

  .construction-point-card p {
    font-size: 16px;
  }

  .column-card {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .column-card-image {
    order: -1;
    min-height: auto;
    aspect-ratio: auto;
    background: #fff;
  }

  .column-card-image img {
    width: 100%;
    height: auto;
    min-height: 0;
    object-fit: contain;
    background: #fff;
  }

  th,
  td {
    display: block;
    width: 100%;
    padding: 14px 16px;
  }

  th {
    border-bottom: 0;
    border-right: 0;
  }

  td {
    border-bottom: 1px solid var(--gray-200);
    border-right: 0;
  }

  .contact-box {
    text-align: left;
  }

  .contact-box h2 {
    font-size: 28px;
  }

  .contact-form {
    padding: 22px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-field-wide {
    grid-column: auto;
  }

  .office-map iframe {
    height: 340px;
  }

  .google-business-links {
    grid-template-columns: 1fr;
  }

  .google-business-links .map-link {
    border-right: 0;
    border-bottom: 1px solid var(--gray-200);
  }

  .social-outreach {
    padding: 22px;
  }

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

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

@media (max-width: 900px) {
  .life-watch-feature {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .life-watch-copy h3 {
    font-size: 24px;
  }
}

@media (max-width: 560px) {
  .life-watch-feature {
    padding: 18px;
  }

  .life-watch-role {
    padding: 16px;
  }

  .life-watch-copy p {
    font-size: 16px;
  }
}

/* Life-watch section: keep it separate from permit-blue highlights. */
.life-watch-feature {
  display: block;
  max-width: 1280px;
  margin: 56px auto 0;
  padding: 40px;
  box-sizing: border-box;
  border-top: 6px solid #4f7d38;
  border-radius: 10px;
  background: linear-gradient(180deg, #fbfff8 0%, #ffffff 100%);
  box-shadow: 0 22px 50px rgba(12, 28, 44, 0.08);
}

.life-watch-heading {
  max-width: 980px;
  margin: 0 auto 28px;
  text-align: center;
}

.life-watch-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  background: #2f6f3d;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 10px 18px rgba(47, 111, 61, 0.18);
}

.life-watch-heading h3,
.life-watch-copy h3 {
  margin: 18px 0 0;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  line-height: 1.45;
  color: #0f243d;
}

.life-watch-heading h3 {
  white-space: nowrap;
}

.life-watch-heading p,
.life-watch-copy p {
  max-width: 900px;
  margin: 16px auto 0;
  font-size: 1.05rem;
  line-height: 1.95;
  color: #10233f;
  font-weight: 700;
}

.life-watch-feature strong {
  color: #6f4b10;
  background: linear-gradient(transparent 58%, #ffe4a8 58%);
  padding: 0 0.12em;
  border-radius: 2px;
}

.life-watch-visuals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 0 0 24px;
  align-items: start;
}

.life-watch-visuals figure {
  margin: 0;
  padding: 10px;
  border: 1px solid #dce8d6;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(17, 39, 28, 0.1);
}

.life-watch-feature .life-watch-visuals img,
.life-watch-visuals img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 720px;
  object-fit: contain;
  border-radius: 8px;
}

.life-watch-copy {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  margin-top: 4px;
}

.life-watch-role {
  padding: 22px 24px;
  border: 1px solid #dfe8d7;
  border-left: 6px solid #6e8f43;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(12, 28, 44, 0.06);
}

.life-watch-role span {
  display: inline-flex;
  padding: 8px 16px;
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
  margin-bottom: 14px;
}

.life-watch-role p {
  margin: 0;
  max-width: none;
  line-height: 1.9;
  font-weight: 700;
  color: #10233f;
}

.life-watch-role.role-legal {
  border-left-color: #2f6f3d;
  background: #fbfff8;
}

.life-watch-role.role-legal span {
  background: #2f6f3d;
}

.life-watch-role.role-welfare {
  border-left-color: #5d8b3f;
  background: #f7fbf1;
}

.life-watch-role.role-welfare span {
  background: #5d8b3f;
}

.life-watch-role.role-estate {
  border-left-color: #a77a2b;
  background: #fffaf0;
}

.life-watch-role.role-estate span {
  background: #a77a2b;
}

.life-watch-summary {
  grid-column: 1 / -1;
  margin: 0;
  padding: 20px 24px;
  border: 1px solid #dfc99a;
  border-radius: 10px;
  background: #f6efe2;
  color: #17314f;
  font-weight: 800;
  line-height: 1.9;
}

.life-watch-summary strong {
  color: #7a4f12;
  background: linear-gradient(transparent 58%, #ffd98a 58%);
}

@media (max-width: 900px) {
  .life-watch-feature {
    padding: 28px 18px;
    margin-top: 40px;
  }

  .life-watch-heading {
    text-align: left;
    margin-bottom: 22px;
  }

  .life-watch-heading h3,
  .life-watch-copy h3 {
    font-size: 1.55rem;
  }

  .life-watch-heading h3 {
    white-space: normal;
  }

  .life-watch-visuals {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .life-watch-feature .life-watch-visuals img,
  .life-watch-visuals img {
    max-height: none;
  }

  .life-watch-copy {
    grid-template-columns: 1fr;
  }
}

/* customer-voice-photo-20260721 */
.customer-voice-photo-20260721 { width: 100%; height: 100%; min-height: 180px; object-fit: cover; display: block; border-radius: 8px; }
.customer-voice-photo-frame-20260721 { overflow: hidden; }

