/* ========================================
   Variables & Reset
   ======================================== */
:root {
  --navy: #141e30;
  --navy-mid: #1c2a42;
  --navy-light: #243352;
  --blue: #1e50a0;
  --blue-light: #2a6bc7;
  --text: #1a1a2e;
  --text-mid: #3d4556;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-warm: #f6f7f9;
  --bg-dark: #f0f2f5;
  --border: #d8dce5;
  --border-light: #e8ecf1;
  --max-w: 1100px;
  --header-h: 72px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.85;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }
.sp-hide { display: inline; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
body.menu-open { overflow: hidden; }

/* ========================================
   Section Header (reusable)
   ======================================== */
.section-header { margin-bottom: 56px; }

.section-header__title {
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: 0.01em;
  line-height: 1.4;
  margin-bottom: 16px;
}

.section-header__lead {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.85;
}

/* ========================================
   Header
   ======================================== */
.header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  transition: background 0.35s, box-shadow 0.35s;
}

.header--scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 6px rgba(0,0,0,0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 20px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header__logo img { height: 44px; width: auto; }

.header__service-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.02em;
  white-space: nowrap;
  border-left: 2px solid var(--border);
  padding-left: 14px;
  line-height: 1.3;
}

.header__nav { flex: 1; display: flex; justify-content: flex-end; }

.header__nav-list { display: flex; align-items: center; gap: 28px; }

.header__nav-link {
  color: var(--text-mid);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.25s;
}

.header__nav-link:hover { color: var(--navy); }

.header__cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 8px 22px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  background: var(--blue);
  border-radius: 4px;
  transition: background 0.25s;
}

.header__cta:hover { background: var(--blue-light); }

.header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none; border: none;
  cursor: pointer;
  z-index: 1010;
}

.header__hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.header__hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__hamburger.is-active span:nth-child(2) { opacity: 0; }
.header__hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.header__overlay {
  display: none;
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.45);
  z-index: 999;
}

.header__overlay.is-active { display: block; }

/* ========================================
   Hero
   ======================================== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  padding: 0 0 72px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(14, 22, 38, 0.75) 0%,
    rgba(14, 22, 38, 0.82) 50%,
    rgba(14, 22, 38, 0.92) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero__service-name {
  font-size: 1.35rem;
  font-weight: 900;
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.06em;
  margin-bottom: 24px;
  border-bottom: 2px solid rgba(255,255,255,0.25);
  padding-bottom: 12px;
  display: inline-block;
}

.hero__title {
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.45;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.hero__lead {
  font-size: 0.98rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.9;
  margin-bottom: 16px;
}

.hero__credential {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 36px;
}

.hero__cta-wrap {
  text-align: center;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  padding: 15px 40px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  background: #c41e2a;
  border-radius: 4px;
  transition: background 0.25s;
}

.hero__cta:hover { background: #d6323e; }

/* ========================================
   Trust Bar
   ======================================== */
.trust {
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.trust__inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 20px;
  padding: 48px 28px;
}

.trust__item {
  flex: 1;
  text-align: center;
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.trust__number {
  display: block;
  font-size: 1.45rem;
  white-space: nowrap;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 1.3;
  margin-bottom: 8px;
}

.trust__number small {
  font-size: 0.75em;
  font-weight: 700;
}

.trust__label {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

.trust__divider {
  display: none;
}

/* ========================================
   Services
   ======================================== */
.services {
  padding: 100px 0 80px;
  background: var(--bg);
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 72px;
}

.service-row:last-of-type { margin-bottom: 0; }

.service-row--reverse .service-row__image { order: 2; }
.service-row--reverse .service-row__body { order: 1; }

.service-row__image {
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-warm);
}

.service-row__image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.service-row__title {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.45;
}

.service-row__text {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 20px;
}

.service-row__details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-row__details li {
  font-size: 0.88rem;
  color: var(--text-light);
  padding-left: 18px;
  position: relative;
  line-height: 1.65;
}

.service-row__details li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--border);
}

/* Services: More */
.services__more {
  margin-top: 72px;
  padding-top: 56px;
  border-top: 1px solid var(--border-light);
}

.services__more-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-mid);
  margin-bottom: 24px;
}

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

.services__more-item strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.services__more-item p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ========================================
   Preparation
   ======================================== */
.preparation {
  padding: 100px 0;
  background: var(--bg-warm);
}

.preparation__content {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.preparation__concerns {
  background: #fff;
  border-radius: 6px;
  padding: 36px 32px;
  border-left: 3px solid var(--border);
}

.preparation__concerns-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.preparation__concerns-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.preparation__concerns-list li {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.6;
  font-style: italic;
}

.preparation__solutions-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}

.preparation__solutions-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.preparation__solutions-list dt {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}

.preparation__solutions-list dd {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.75;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.preparation__solutions-list dd:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

/* ========================================
   Self-Sufficiency Support
   ======================================== */
.selfsupport {
  padding: 88px 0;
  background: var(--bg);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.selfsupport__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: center;
}

.selfsupport__label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.selfsupport__title {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 20px;
}

.selfsupport__text {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 24px;
}

.selfsupport__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.selfsupport__list li {
  font-size: 0.9rem;
  color: var(--text-mid);
  padding-left: 18px;
  position: relative;
  line-height: 1.65;
}

.selfsupport__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--border);
}

.selfsupport__image {
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-warm);
}

.selfsupport__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ========================================
   Flow
   ======================================== */
.flow {
  padding: 88px 0;
  background: var(--bg-warm);
}

.flow__list {
  list-style: none;
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.flow__item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-light);
}

.flow__item:last-child { border-bottom: none; }

.flow__num {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}

.flow__item-body strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}

.flow__item-body p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ========================================
   Scope
   ======================================== */
.scope {
  padding: 80px 0;
  background: var(--bg);
}

.scope__title {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 32px;
  line-height: 1.45;
}

.scope__content { max-width: 780px; }

.scope__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.scope__list li {
  font-size: 0.92rem;
  color: var(--text-mid);
  padding-left: 20px;
  position: relative;
  line-height: 1.75;
}

.scope__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--border);
}

.scope__note {
  font-size: 0.88rem;
  color: var(--text-light);
}

/* ========================================
   CTA
   ======================================== */
.cta {
  padding: 88px 0;
  background: var(--navy);
}

.cta__inner { text-align: center; }

.cta__title {
  font-size: 1.55rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.45;
}

.cta__lead {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.85;
  margin-bottom: 40px;
}

.cta__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.cta__btn {
  display: inline-flex;
  align-items: center;
  padding: 16px 48px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: #c41e2a;
  border-radius: 4px;
  transition: background 0.25s;
}

.cta__btn:hover { background: #d6323e; }

.cta__phone { text-align: center; }

.cta__phone a {
  display: block;
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.cta__phone span {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--bg-warm);
  padding: 44px 0 28px;
  color: var(--text-light);
  font-size: 0.84rem;
  border-top: 1px solid var(--border-light);
}

.footer__inner { }

.footer__main {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

.footer__logo { opacity: 1; }
.footer__logo img { height: 28px; width: auto; }

.footer__info { display: flex; flex-direction: column; gap: 2px; }
.footer__info p:first-child { color: var(--text); font-weight: 700; }
.footer__info a { color: var(--text-light); transition: color 0.2s; }
.footer__info a:hover { color: var(--navy); }

.footer__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
}

.footer__nav-list {
  display: flex;
  gap: 28px;
  list-style: none;
}

.footer__nav-list a {
  color: var(--text-mid);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s;
}

.footer__nav-list a:hover { color: var(--navy); }

.footer__copyright {
  color: var(--text-light);
  font-size: 0.82rem;
  white-space: nowrap;
}

/* ========================================
   Scroll Animation
   ======================================== */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   Responsive — Tablet
   ======================================== */
@media (max-width: 1023px) {
  .hero__title { font-size: 2rem; }

  .service-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .service-row--reverse .service-row__image { order: 0; }
  .service-row--reverse .service-row__body { order: 0; }

  .service-row__image img { height: 220px; }

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

  .preparation__content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .selfsupport__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .selfsupport__image { order: -1; }

  .trust__inner { flex-wrap: wrap; gap: 16px; }
  .trust__item { flex: 0 0 calc(50% - 8px); }
}

/* ========================================
   Responsive — Mobile
   ======================================== */
@media (max-width: 767px) {
  .container { padding: 0 20px; }
  .sp-hide { display: none; }

  /* Header */
  .header__service-name { display: none; }

  .header__nav {
    position: fixed;
    top: 0; right: -280px;
    width: 260px; height: 100vh;
    background: var(--navy);
    flex-direction: column;
    padding: 88px 28px 40px;
    transition: right 0.3s;
    z-index: 1005;
    overflow-y: auto;
  }

  .header__nav.is-active { right: 0; }

  .header__nav-list {
    flex-direction: column;
    gap: 0;
  }

  .header__nav-link {
    display: block;
    padding: 14px 0;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .header__cta { display: none; }
  .header__hamburger { display: flex; }

  /* Hero */
  .hero { min-height: 72vh; padding-bottom: 48px; }
  .hero__service-name { font-size: 1.1rem; }
  .hero__title { font-size: 1.65rem; }
  .hero__lead { font-size: 0.9rem; }
  .hero__cta { padding: 14px 32px; font-size: 0.9rem; }

  /* Trust */
  .trust__inner { padding: 32px 16px; gap: 12px; }
  .trust__item { flex: 0 0 calc(50% - 6px); padding: 20px 12px; }
  .trust__number { font-size: 1.1rem; }
  .trust__label { font-size: 0.78rem; }

  /* Section Header */
  .section-header__title { font-size: 1.35rem; }
  .section-header { margin-bottom: 40px; }

  /* Services */
  .services { padding: 72px 0 56px; }
  .service-row { gap: 20px; margin-bottom: 56px; }
  .service-row__image img { height: 180px; }
  .service-row__title { font-size: 1.1rem; }
  .services__more-grid { grid-template-columns: 1fr; gap: 20px; }
  .services__more { margin-top: 56px; padding-top: 40px; }

  /* Preparation */
  .preparation { padding: 72px 0; }

  /* Self Support */
  .selfsupport { padding: 64px 0; }
  .selfsupport__title { font-size: 1.3rem; }

  /* Flow */
  .flow { padding: 64px 0; }

  /* Scope */
  .scope { padding: 56px 0; }
  .scope__title { font-size: 1.15rem; }

  /* CTA */
  .cta { padding: 64px 0; }
  .cta__title { font-size: 1.3rem; }
  .cta__btn { padding: 14px 36px; font-size: 0.92rem; }
  .cta__phone a { font-size: 1.25rem; }

  /* Footer */
  .footer__main { flex-direction: column; gap: 16px; }
  .footer__nav { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer__nav-list { flex-wrap: wrap; gap: 16px 24px; }
  .footer__copyright { align-self: center; }
}
