/* ===== GOOGLE FONTS: loaded via <link> in HTML ===== */

/* ===== VARIABLES ===== */
:root {
  --clr-primary: #3A8FB7;
  --clr-primary-dark: #2a7a9f;
  --clr-primary-pale: #E8F4FA;
  --clr-primary-light: #c5e3f2;
  --clr-orange: #F08A4B;
  --clr-orange-dark: #d97535;
  --clr-line: #06c755;
  --clr-line-dark: #05a847;
  --clr-bg: #ffffff;
  --clr-bg-alt: #F2F8FB;
  --clr-text: #333333;
  --clr-text-mid: #555555;
  --clr-text-light: #777777;
  --clr-border: #C8E0EE;
  --clr-border-light: #E4EFF6;

  --font-heading: 'Zen Maru Gothic', sans-serif;
  --font-body: 'Noto Sans JP', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 6px 24px rgba(58, 143, 183, 0.14);
  --max-w: 1080px;
}

/* ===== RESET ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 19px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--clr-text);
  background: var(--clr-bg);
  line-height: 1.9;
}

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

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
svg { flex-shrink: 0; }

/* ===== LAYOUT ===== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section--alt {
  background: var(--clr-bg-alt);
}

/* Section header - standard centered */
.section__header {
  text-align: center;
  margin-bottom: 3rem;
}

/* Section header - with side illustration */
.section__header--sided {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.section__header--sided .section__header-text {
  text-align: center;
  flex: 1;
  min-width: 220px;
}

.section__side-illust {
  max-width: 130px;
  height: auto;
  flex-shrink: 0;
}

.section__label {
  display: inline-block;
  background: var(--clr-primary-pale);
  color: var(--clr-primary);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.3rem 1.1rem;
  border-radius: 100px;
  margin-bottom: 0.8rem;
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3.5vw, 1.9rem);
  color: var(--clr-text);
  line-height: 1.4;
  font-weight: 700;
}

.section__lead {
  margin-top: 0.9rem;
  color: var(--clr-text-mid);
  font-size: 0.9rem;
  line-height: 1.9;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 60px;
  padding: 0 2.25rem;
  border-radius: 100px;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: var(--font-body);
  letter-spacing: 0.03em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, opacity 0.15s;
  text-align: center;
  line-height: 1.3;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--orange {
  background: var(--clr-orange);
  color: #fff;
  border-color: var(--clr-orange);
  box-shadow: 0 4px 18px rgba(240, 138, 75, 0.38);
}
.btn--orange:hover {
  background: var(--clr-orange-dark);
  border-color: var(--clr-orange-dark);
  box-shadow: 0 6px 22px rgba(240, 138, 75, 0.45);
}

.btn--line {
  background: var(--clr-line);
  color: #fff;
  border-color: var(--clr-line);
  box-shadow: 0 4px 18px rgba(6, 199, 85, 0.3);
}
.btn--line:hover {
  background: var(--clr-line-dark);
  border-color: var(--clr-line-dark);
}

.btn--outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}
.btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.btn--lg {
  min-height: 68px;
  padding: 0 2.75rem;
  font-size: 1.1rem;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--clr-border-light);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-logo {
  font-family: var(--font-heading);
  font-size: clamp(0.82rem, 2vw, 0.95rem);
  font-weight: 700;
  color: var(--clr-primary);
  line-height: 1.3;
  flex-shrink: 0;
}

.site-logo small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.58rem;
  color: var(--clr-text-light);
  letter-spacing: 0.04em;
  font-weight: 400;
  margin-top: 0.1rem;
}

.site-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
}

.site-nav a {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--clr-text-mid);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.site-nav a:hover {
  color: var(--clr-primary);
  background: var(--clr-primary-pale);
}

.header-cta { flex-shrink: 0; }

.header-cta .btn {
  min-height: 44px;
  padding: 0 1.25rem;
  font-size: 0.85rem;
}

/* ===== HERO ===== */
/* Desktop: full-bleed background photo, text overlay left side */
.hero {
  position: relative;
  height: 650px;
  max-height: 680px;
  background: url('../images/hero.webp') 65% top / cover no-repeat;
  display: flex;
  align-items: center;
}

/* White gradient left-side for text readability */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.85) 28%,
    rgba(255, 255, 255, 0.40) 50%,
    rgba(255, 255, 255, 0.00) 68%
  );
}

/* Mobile photo strip — hidden on desktop */
.hero__mobile-photo { display: none; }

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem 1.5rem;
  width: 100%;
}

.hero__content { max-width: 520px; }

.hero__catch {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.4vw, 2.75rem);
  line-height: 1.5;
  color: var(--clr-text);
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.hero__catch em {
  font-style: normal;
  color: var(--clr-primary);
  position: relative;
  display: inline-block;
}

.hero__catch em::after {
  content: '';
  position: absolute;
  bottom: 0.08em;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--clr-orange);
  border-radius: 2px;
}

.hero__sub {
  font-size: 0.9rem;
  color: var(--clr-text-mid);
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

.hero__btns {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

/* trust-wrap: passthrough on desktop; flex row with illustration on mobile */
.hero__trust-wrap { display: contents; } /* transparent wrapper on desktop */

/* illustration beside trust badges — hidden on desktop, shown on mobile */
.hero__trust-illust { display: none; }

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--clr-text-mid);
  font-weight: 500;
}

.trust-badge__check {
  width: 22px;
  height: 22px;
  background: var(--clr-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== TROUBLES ===== */
.troubles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1rem;
}

.trouble-card {
  background: #fff;
  border: 1px solid var(--clr-border-light);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}
.trouble-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.trouble-card__icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 50%;
  background: var(--clr-primary-pale);
  color: var(--clr-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trouble-card__text {
  font-size: 0.9rem;
  line-height: 1.65;
  font-weight: 500;
  color: var(--clr-text);
  padding-top: 0.15rem;
}

.troubles-note {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.88rem;
  color: var(--clr-text-mid);
}

/* ===== OPTIONS ===== */
.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.25rem;
}

.option-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--clr-border-light);
}

.option-card__head {
  background: var(--clr-primary);
  color: #fff;
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.option-card__icon-wrap {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}

.option-card__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
}

.option-card__body {
  padding: 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.option-list__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  display: block;
}
.option-list__label--merit   { color: var(--clr-primary); }
.option-list__label--caution { color: #d0784a; }

.option-list li {
  font-size: 0.84rem;
  line-height: 1.65;
  padding-left: 1.25em;
  position: relative;
  color: var(--clr-text-mid);
}
.option-list--merit li::before {
  content: '◎';
  position: absolute;
  left: 0;
  color: var(--clr-primary);
  font-size: 0.65rem;
  top: 0.3em;
}
.option-list--caution li::before {
  content: '△';
  position: absolute;
  left: 0;
  color: #d0784a;
  font-size: 0.65rem;
  top: 0.3em;
}

.options-note {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.88rem;
  color: var(--clr-text-mid);
  line-height: 1.8;
}

/* ===== ABOUT ===== */
.about-diagram {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.about-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.about-node {
  background: #fff;
  border: 2px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  text-align: center;
  min-width: 140px;
}

.about-node--window {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
  color: #fff;
  min-width: 190px;
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-md);
}

.about-node__icon {
  display: flex;
  justify-content: center;
  margin-bottom: 0.5rem;
  color: var(--clr-primary);
}
.about-node--window .about-node__icon { color: rgba(255, 255, 255, 0.85); }

.about-node__label {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
}

.about-node__sub {
  font-size: 0.72rem;
  color: var(--clr-text-light);
  margin-top: 0.25rem;
}
.about-node--window .about-node__sub { color: rgba(255, 255, 255, 0.72); }

.about-arrow {
  font-size: 2rem;
  color: var(--clr-primary);
  flex-shrink: 0;
  line-height: 1;
  display: flex;
  align-items: center;
}

.experts-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}

.expert-tag {
  background: var(--clr-primary-pale);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.75rem;
  text-align: center;
  font-size: 0.88rem;
  color: var(--clr-primary);
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.about-desc {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--clr-text-mid);
  line-height: 1.9;
}

/* Staff pair illustration below the diagram */
.about-staff-illust {
  max-width: 220px;
  margin: 2rem auto 0;
}

/* ===== FLOW ===== */
.flow-steps {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

/* Connector line at illustration midpoint (~45px from top) */
.flow-steps::before {
  content: '';
  position: absolute;
  top: 45px;
  left: 4rem;
  right: 4rem;
  height: 2px;
  background: var(--clr-border);
  z-index: 0;
}

.flow-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 0.5rem;
}

.flow-step__illust {
  width: 90px;
  height: auto;
  margin: 0 auto 0.4rem;
  position: relative;
  z-index: 1;
}

.flow-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--clr-orange);
  color: #fff;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
  margin: 0 auto 0.5rem;
}

.flow-step__content { /* wraps num+title+desc for mobile */ }

.flow-step__title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 0.4rem;
}

.flow-step__desc {
  font-size: 0.78rem;
  color: var(--clr-text-mid);
  line-height: 1.65;
}

/* ===== AREAS ===== */
.areas-primary { margin-bottom: 2.5rem; }

.areas-heading {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-primary);
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.areas-heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--clr-border);
}

.wards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 0.6rem;
}

.ward-link {
  display: block;
  background: #fff;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.5rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--clr-text);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.ward-link:hover {
  background: var(--clr-primary-pale);
  border-color: var(--clr-primary);
  color: var(--clr-primary);
}

.areas-other {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.area-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #fff;
  border: 1px solid var(--clr-border-light);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  color: var(--clr-text-mid);
}
.area-tag__badge {
  font-size: 0.62rem;
  background: var(--clr-bg-alt);
  color: var(--clr-text-light);
  padding: 0.1rem 0.5rem;
  border-radius: 100px;
  font-weight: 600;
}

/* ===== ARTICLES ===== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
}

.article-card {
  background: #fff;
  border: 1px solid var(--clr-border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.article-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.article-card__img {
  background: var(--clr-primary-pale);
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-text-light);
  font-size: 0.82rem;
}

.article-card__body {
  padding: 1.1rem 1.25rem 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.article-card__cat {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--clr-primary);
  text-transform: uppercase;
}

.article-card__title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--clr-text);
  line-height: 1.6;
  font-weight: 700;
}

.article-card__date {
  font-size: 0.72rem;
  color: var(--clr-text-light);
  margin-top: auto;
  padding-top: 0.6rem;
}

/* ===== FAQ ===== */
/* Layout: FAQ list + side illustration */
.faq-layout {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
}

.faq-layout .faq-list { flex: 1; }

.faq-illust {
  flex-shrink: 0;
  width: 150px;
  padding-top: 1rem;
}
.faq-illust img { width: 100%; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--clr-border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-item__q {
  padding: 1.3rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.faq-mark {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
}
.faq-mark--q { background: var(--clr-orange);  color: #fff; }
.faq-mark--a { background: var(--clr-primary); color: #fff; }

.faq-item__q-text {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--clr-text);
  padding-top: 0.1rem;
  line-height: 1.6;
}

.faq-item__a {
  padding: 1rem 1.5rem 1.3rem;
  font-size: 0.88rem;
  color: var(--clr-text-mid);
  line-height: 1.85;
  border-top: 1px solid var(--clr-border-light);
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: var(--clr-bg-alt);
}
.faq-item__a-text { padding-top: 0.1rem; }

/* ===== TEAM ===== */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.team-card {
  background: #fff;
  border: 1px solid var(--clr-border-light);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem;
  text-align: center;
  flex: 1;
  min-width: 200px;
  max-width: 260px;
  box-shadow: var(--shadow-sm);
}

.team-card__photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--clr-primary-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.1rem;
  color: var(--clr-text-light);
  font-size: 0.7rem;
  line-height: 1.6;
  border: 3px solid var(--clr-border);
  text-align: center;
}

.team-card__role {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--clr-primary);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.team-card__name {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--clr-text);
  margin-bottom: 0.6rem;
  font-weight: 700;
}

.team-card__license {
  font-size: 0.8rem;
  color: var(--clr-text-mid);
  line-height: 1.65;
}

/* ===== CTA FINAL ===== */
.cta-final {
  background: var(--clr-primary);
  color: #fff;
  padding: 5rem 1.5rem;
  text-align: center;
}

.cta-final__title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3.5vw, 1.9rem);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.cta-final__sub {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
  line-height: 1.9;
}

/* Illustration row above CTA blocks */
.cta-illust-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.cta-illust-row img {
  max-width: 130px;
  height: auto;
}

.cta-blocks {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  max-width: 860px;
  margin: 0 auto;
}

.cta-block {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem 2rem;
  flex: 1;
  min-width: 210px;
  max-width: 255px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.cta-block__icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.cta-block__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
}

.cta-block__desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
  flex: 1;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #1b3244;
  color: rgba(255, 255, 255, 0.65);
  padding: 3.5rem 1.5rem 2rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.footer-brand { flex: 1; min-width: 220px; }

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: #fff;
  margin-bottom: 0.6rem;
  font-weight: 700;
}

.footer-address {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.9;
  font-style: normal;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-nav a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
  transition: color 0.15s;
}
.footer-nav a:hover { color: #fff; }

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ===== PRIVACY PAGE ===== */
.page-hero {
  background: var(--clr-bg-alt);
  padding: 4rem 1.5rem;
  text-align: center;
}
.page-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3.5vw, 1.9rem);
  color: var(--clr-text);
  font-weight: 700;
}

.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5rem;
  font-size: 0.9rem;
  color: var(--clr-text-mid);
  line-height: 1.9;
}
.prose h2 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--clr-text);
  margin: 2.25rem 0 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--clr-primary-pale);
  font-weight: 700;
}
.prose p { margin-bottom: 1rem; }
.prose ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.prose ul li { margin-bottom: 0.4rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .site-nav { display: none; }

  /* Hero: switch to stacked layout — remove fixed height so content can expand */
  .hero {
    height: auto;
    max-height: none;
    min-height: 0;
    background: none;
    display: block;
  }
  .hero__overlay { display: none; }
  .hero__mobile-photo {
    display: block;
    height: 260px;
    background: url('../images/hero.webp') 68% top / cover no-repeat;
  }
  .hero__inner {
    padding: 2rem 1.25rem 2.5rem;
    background: white;
  }
  .hero__content { max-width: 100%; }
  .hero__btns { justify-content: center; }
  .hero__trust { justify-content: center; }
  .hero__catch { text-align: center; }
  .hero__sub { text-align: center; }

  /* About */
  .about-flow { flex-direction: column; }
  .about-arrow { transform: rotate(90deg); }

  /* Flow: vertical list with illustrations */
  .flow-steps {
    flex-direction: column;
    align-items: stretch;
    max-width: 480px;
  }
  .flow-steps::before { display: none; }
  .flow-step {
    display: flex;
    align-items: flex-start;
    text-align: left;
    gap: 1rem;
    padding: 0;
  }
  .flow-step__illust {
    width: 72px;
    margin: 0;
    flex-shrink: 0;
  }
  .flow-step__content { flex: 1; padding-top: 0.1rem; }
  .flow-step__num { margin: 0 0 0.3rem 0; }

  /* FAQ: hide side illustration */
  .faq-layout { flex-direction: column; }
  .faq-illust { display: none; }

  /* CTA */
  .cta-blocks { flex-direction: column; align-items: center; }
  .cta-block  { max-width: 100%; width: 100%; }

  /* Section header sided */
  .section__header--sided { flex-direction: column; }
  .section__side-illust { max-width: 100px; }

  /* CTA illustrations */
  .cta-illust-row img { max-width: 100px; }
}

/* ===== HERO: スマホ（≤768px）写真と文字の一体化 ===== */
@media (max-width: 768px) {
  /* 写真: 300px・右寄せ・顔が見える位置 */
  .hero__mobile-photo {
    height: 300px;
    background-position: 80% top;
    position: relative;
  }
  /* 写真下部を白へフェード（強め・早めに開始） */
  .hero__mobile-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0) 20%,
      rgba(255, 255, 255, 1) 92%
    );
    pointer-events: none;
  }
  /* テキストエリア: 写真の下に続く（マイナスmarginなし） */
  .hero__inner {
    background: white;
    padding-bottom: 1.5rem;
  }

  /* セクション間の余白を64〜80px程度に（641〜768px） */
  .section { padding: 2.5rem 0; }

  /* 説明文・見出しの文節単位折り返し */
  .section__lead,
  .section__title {
    word-break: keep-all;
    overflow-wrap: anywhere;
    text-wrap: pretty;
  }
  /* 説明文の <br> のみ無効化（キャッチは3行をそのまま維持） */
  .hero__sub br { display: none; }
  /* キャッチ: 左揃え・約30px・文節単位折り返し */
  .hero__catch {
    text-align: left;
    font-size: 1.58rem;
    word-break: keep-all;
    overflow-wrap: anywhere;
    text-wrap: pretty;
  }
  /* 「自分で決める前」に、 をひとかたまりにする */
  .catch-chunk { display: inline-block; }
  /* 説明文: 左揃え・1rem（18px以上）・文節単位折り返し */
  .hero__sub {
    text-align: left;
    font-size: 1rem;
    word-break: keep-all;
    overflow-wrap: anywhere;
    text-wrap: pretty;
  }
  .hero__btns { justify-content: center; }
  /* 信頼の目印ラッパー: 左に目印3行、右にイラスト */
  .hero__trust-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }
  /* 信頼の目印: 縦1列・左揃え */
  .hero__trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    flex-shrink: 0;
  }
  /* シニアイラスト: 右側に表示 */
  .hero__trust-illust {
    display: block;
    width: 125px;
    height: auto;
    flex-shrink: 0;
  }

  /* セクションのイラスト（options等）: 140px */
  .section__side-illust { max-width: 140px; }
}

/* 360px未満: イラストを小さくして重なりを防ぐ */
@media (max-width: 359px) {
  .hero__trust-illust { width: 90px; }
}

@media (max-width: 640px) {
  html { font-size: 18px; }

  /* セクション間の余白を64〜80px程度に（≤640px） */
  .section { padding: 2rem 0; }

  .header-cta .btn {
    min-height: 40px;
    padding: 0 1rem;
    font-size: 0.82rem;
  }

  .hero__btns {
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
  }
  .hero__btns .btn {
    width: 100%;
    max-width: 320px;
  }

  .team-card { max-width: 100%; }

  .wards-grid {
    grid-template-columns: repeat(auto-fill, minmax(85px, 1fr));
  }
}
