:root {
  --ink: #102033;
  --muted: #627184;
  --blue: #1769aa;
  --blue-dark: #0b3f73;
  --green: #3f7f64;
  --line: #d8e2ec;
  --soft-blue: #eef6fc;
  --soft-green: #edf7f2;
  --paper: #ffffff;
  --page: #f7fafc;
  --shadow: 0 18px 44px rgba(16, 32, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(20px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(216, 226, 236, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: #fff;
  font-weight: 800;
  font-size: 20px;
}

.brand strong {
  display: block;
  font-size: 15px;
  line-height: 1.3;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 2vw, 26px);
  color: #24374b;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a {
  padding: 8px 0;
}

.site-nav a:hover {
  color: var(--blue);
}

.nav-cta {
  padding: 9px 14px !important;
  border-radius: 8px;
  background: var(--blue-dark);
  color: #fff !important;
}

.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: #dbe8f2;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.88) 38%, rgba(255, 255, 255, 0.2) 68%),
    linear-gradient(180deg, rgba(11, 63, 115, 0.08), rgba(63, 127, 100, 0.1));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(760px, calc(100% - 40px));
  min-height: 680px;
  margin-left: clamp(20px, 7vw, 96px);
  padding: 84px 0 72px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  color: #0a2744;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.14;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: #24374b;
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 650;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.2;
}

.button.primary {
  background: var(--blue-dark);
  color: #fff;
  box-shadow: 0 12px 24px rgba(11, 63, 115, 0.22);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(23, 105, 170, 0.35);
  color: var(--blue-dark);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 1180px;
  margin: -44px auto 0;
  padding: 0 clamp(20px, 4vw, 32px);
  position: relative;
  z-index: 2;
}

.trust-strip div {
  min-height: 112px;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  color: var(--blue-dark);
  font-size: 17px;
}

.trust-strip span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 88px clamp(20px, 4vw, 32px);
}

.section.band {
  max-width: none;
  margin: 0;
  background: #fff;
}

.section.band > * {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section h2,
.contact-section h2 {
  margin: 0;
  color: #0a2744;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.2;
  letter-spacing: 0;
}

.section h3 {
  margin: 0 0 8px;
  color: #143456;
  font-size: 18px;
  line-height: 1.4;
}

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

.problem-grid article,
.reason-panel,
.office-message,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(16, 32, 51, 0.06);
}

.problem-grid article {
  min-height: 176px;
  padding: 22px;
}

.problem-grid p,
.reason-panel p,
.office-message p {
  margin: 0;
  color: var(--muted);
}

.service-list {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
}

.service-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 22px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.service-row:last-child {
  border-bottom: 0;
}

.service-row strong {
  color: var(--blue-dark);
}

.service-row span {
  color: #2d4258;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: 34px;
  align-items: start;
}

.two-column p {
  color: #2d4258;
}

.note {
  margin-top: 22px;
  padding: 18px 20px;
  border-left: 4px solid var(--green);
  background: var(--soft-green);
  color: #214839 !important;
  font-weight: 700;
}

.reason-panel {
  padding: 26px;
  background: linear-gradient(180deg, #fff, #f7fbff);
}

.reason-panel ul {
  margin: 14px 0 0;
  padding-left: 20px;
  color: #2d4258;
}

.reason-panel li + li {
  margin-top: 10px;
}

.fee-table {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.fee-row {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(210px, 0.72fr) minmax(220px, 1fr);
  border-bottom: 1px solid var(--line);
}

.fee-row:last-child {
  border-bottom: 0;
}

.fee-row span,
.fee-row strong {
  padding: 15px 16px;
  border-right: 1px solid var(--line);
}

.fee-row span:last-child,
.fee-row strong:last-child {
  border-right: 0;
}

.fee-head {
  background: var(--soft-blue);
  color: var(--blue-dark);
  font-weight: 800;
}

.fee-row strong {
  color: #0f3d6c;
}

.fee-note {
  margin: 18px 0 0;
  padding: 16px 18px;
  border-radius: 8px;
  background: var(--soft-blue);
  color: #254158;
  font-weight: 650;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  counter-reset: step;
  list-style: none;
}

.timeline li {
  position: relative;
  min-height: 170px;
  padding: 24px 20px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.timeline li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--blue-dark);
  color: #fff;
  font-weight: 800;
}

.timeline strong,
.timeline span {
  display: block;
}

.timeline span {
  margin-top: 8px;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  color: #143456;
  font-weight: 800;
}

details p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
}

.office-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  gap: 24px;
}

.office-info {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.office-info dl {
  margin: 0;
}

.office-info div {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-bottom: 1px solid var(--line);
}

.office-info div:last-child {
  border-bottom: 0;
}

.office-info dt,
.office-info dd {
  margin: 0;
  padding: 15px 18px;
}

.office-info dt {
  background: var(--soft-blue);
  color: var(--blue-dark);
  font-weight: 800;
}

.office-info dd {
  color: #2d4258;
}

.office-message {
  padding: 28px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.76fr);
  gap: 36px;
  max-width: 1180px;
  margin: 0 auto 72px;
  padding: 64px clamp(20px, 4vw, 32px);
  border-radius: 8px;
  background: linear-gradient(135deg, #0b3f73, #26735b);
  color: #fff;
}

.contact-section .eyebrow,
.contact-section h2 {
  color: #fff;
}

.contact-section p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.contact-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: none;
}

.contact-line {
  display: grid;
  gap: 2px;
  min-height: 72px;
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
}

.contact-line span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.contact-line strong {
  font-size: 17px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 26px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .hero-content {
    min-height: 640px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.86) 62%, rgba(255, 255, 255, 0.36) 100%),
      linear-gradient(180deg, rgba(11, 63, 115, 0.08), rgba(63, 127, 100, 0.1));
  }

  .trust-strip,
  .problem-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-column,
  .office-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .fee-row {
    grid-template-columns: 1fr;
  }

  .fee-row span,
  .fee-row strong {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .fee-row span:last-child,
  .fee-row strong:last-child {
    border-bottom: 0;
  }

  .fee-head {
    display: none;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 15px;
  }

  .site-header {
    min-height: 0;
    padding: 12px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 14px;
  }

  .site-nav {
    gap: 14px;
    font-size: 13px;
  }

  .hero {
    min-height: 620px;
  }

  .hero img {
    object-position: 58% center;
  }

  .hero-content {
    width: calc(100% - 32px);
    min-height: 620px;
    margin-left: 16px;
    padding-top: 52px;
  }

  .hero h1 {
    font-size: clamp(30px, 11vw, 44px);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    margin-top: 0;
    padding: 0;
  }

  .trust-strip div {
    min-height: 0;
    box-shadow: none;
  }

  .section {
    padding: 64px 16px;
  }

  .problem-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .service-row,
  .office-info div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .office-info dt,
  .office-info dd {
    padding: 12px 14px;
  }

  .contact-section {
    margin-bottom: 0;
    border-radius: 0;
    padding: 56px 16px;
  }
}
