:root {
  --ink: #102538;
  --muted: #53697c;
  --paper: #f3f9fc;
  --surface: #ffffff;
  --line: #d4e6ef;
  --green: #1f78a8;
  --green-dark: #123f5c;
  --gold: #2aa7c4;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(16, 37, 56, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

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

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(20px, 5vw, 64px);
  background: rgba(243, 249, 252, 0.92);
  border-bottom: 1px solid rgba(212, 230, 239, 0.9);
  backdrop-filter: blur(14px);
}

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

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
  line-height: 1.35;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  padding: 9px 12px;
  border-radius: 8px;
}

.nav a:hover {
  background: rgba(31, 120, 168, 0.12);
}

.nav-cta {
  color: var(--white);
  background: var(--green-dark);
}

.nav .nav-cta:hover {
  background: var(--green);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding: 118px clamp(20px, 6vw, 80px) 64px;
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(243, 249, 252, 0.97) 0%, rgba(230, 244, 250, 0.85) 42%, rgba(205, 235, 246, 0.34) 72%),
    linear-gradient(0deg, rgba(16, 37, 56, 0.28), rgba(16, 37, 56, 0.03) 48%);
}

.hero-content {
  position: relative;
  min-width: 0;
  max-width: 780px;
}

.opening,
.eyebrow {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.opening {
  display: inline-flex;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(42, 167, 196, 0.45);
  border-radius: 999px;
}

h1,
h2,
h3,
p {
  max-width: 100%;
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(38px, 7vw, 76px);
  line-height: 1.14;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4.2vw, 46px);
  line-height: 1.35;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.45;
  letter-spacing: 0;
}

.lead {
  max-width: 660px;
  margin: 24px 0 0;
  color: #28445a;
  font-size: clamp(16px, 2vw, 20px);
}

.hero-actions,
.contact-actions,
.section-actions,
.article-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 20px;
  border: 1px solid var(--green-dark);
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.35;
}

.button.primary {
  color: var(--white);
  background: var(--green-dark);
}

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

.button.secondary {
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.86);
}

.button.secondary:hover {
  background: var(--surface);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.hero-points li {
  padding: 8px 12px;
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(42, 167, 196, 0.46);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.hero-support {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 720px;
  margin-top: 18px;
}

.hero-support span {
  padding: 12px 14px;
  color: #28445a;
  background: rgba(255, 255, 255, 0.74);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.mobile-only {
  display: none;
}

.intro,
.section,
.contact-inner,
.footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 42px;
  padding: 74px 0;
}

.intro p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.profile {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 42px;
  align-items: center;
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.profile-photo-wrap {
  overflow: hidden;
  border-radius: 8px;
  background: #e4f2f8;
  aspect-ratio: 4 / 5;
}

.profile-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.profile-copy p:last-child {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.profile-facts {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
}

.profile-facts div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.profile-facts dt {
  color: var(--green-dark);
  font-weight: 800;
}

.profile-facts dd {
  margin: 0;
  color: var(--muted);
}

.focus-section {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 34px;
  align-items: start;
}

.focus-copy p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.focus-panel {
  padding: 28px;
  background: var(--green-dark);
  border-radius: 8px;
  color: var(--white);
  box-shadow: var(--shadow);
}

.focus-panel h3 {
  color: var(--white);
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: rgba(255, 255, 255, 0.86);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 999px;
}

.section {
  padding: 84px 0;
}

.band {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100vw - 1120px) / 2));
  background: var(--surface);
  border-block: 1px solid var(--line);
}

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

.section-heading p:last-child {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
}

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

.service-card,
.case-list article,
.flow li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.service-card {
  padding: 24px;
}

.featured-service {
  border-color: rgba(42, 167, 196, 0.58);
  background: linear-gradient(180deg, #ffffff 0%, #eaf7fb 100%);
}

.service-card p,
.case-list p,
.flow p,
.contact p {
  margin: 0;
  color: var(--muted);
}

.icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: var(--green-dark);
  background: rgba(42, 167, 196, 0.16);
  border-radius: 8px;
  font-weight: 800;
}

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

.case-list article {
  padding: 26px;
  box-shadow: none;
}

.reason-section {
  padding-top: 36px;
}

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

.reason-grid article {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.reason-grid span {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.reason-grid p {
  margin: 0;
  color: var(--muted);
}

.prepare-section {
  padding-top: 30px;
}

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

.prepare-grid article {
  padding: 26px;
  background: #eaf7fb;
  border: 1px solid rgba(42, 167, 196, 0.38);
  border-radius: 8px;
}

.prepare-grid h3 {
  color: var(--green-dark);
}

.prepare-grid p {
  margin: 0;
  color: var(--muted);
}

.flow-section {
  padding-bottom: 42px;
}

.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.flow li {
  padding: 24px;
}

.flow span {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.faq-section {
  padding-top: 42px;
}

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

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 24px;
  color: var(--green-dark);
  font-weight: 900;
  line-height: 1.55;
}

.faq-list summary::marker {
  color: var(--gold);
}

.faq-list p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--muted);
}

.blog-preview-section {
  padding-top: 42px;
}

.blog-preview,
.blog-index {
  display: grid;
  gap: 16px;
}

.blog-card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.blog-card h2,
.blog-card h3 {
  margin-bottom: 10px;
}

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

.blog-meta {
  margin: 0 0 10px !important;
  color: var(--green-dark) !important;
  font-size: 13px;
  font-weight: 900;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--green-dark);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.sub-page {
  padding-top: 76px;
}

.sub-hero {
  padding-bottom: 48px;
}

.sub-hero p:last-child {
  max-width: 780px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.blog-index-section {
  padding-top: 0;
}

.article {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 140px 0 86px;
}

.article h1 {
  font-size: clamp(34px, 5vw, 54px);
}

.article h2 {
  margin-top: 42px;
  font-size: clamp(24px, 3vw, 32px);
}

.article p,
.article li {
  color: var(--muted);
  font-size: 17px;
}

.article-lead {
  margin-top: 24px;
  color: #28445a !important;
  font-size: 19px !important;
}

.article ul {
  display: grid;
  gap: 8px;
  padding-left: 1.4em;
}

.contact {
  padding: 86px 0;
  color: var(--white);
  background: var(--green-dark);
}

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

.contact .eyebrow,
.contact p {
  color: rgba(255, 255, 255, 0.78);
}

.contact h2 {
  color: var(--white);
}

.contact .button.primary {
  color: var(--green-dark);
  background: var(--white);
  border-color: var(--white);
}

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

.form-embed {
  width: 100%;
  margin-top: 28px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
}

.form-embed iframe {
  display: block;
  width: 100%;
  height: 1120px;
  border: 0;
  background: var(--white);
}

.contact-details {
  display: grid;
  gap: 6px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.86);
  font-style: normal;
}

.contact-details span {
  display: block;
}

.access-map {
  margin-top: 30px;
}

.access-map h3 {
  color: var(--white);
}

.access-map p {
  margin: 0 0 14px;
}

.map-embed {
  width: 100%;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
}

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

.note {
  margin-top: 18px;
  font-size: 13px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0;
  color: var(--muted);
  font-size: 13px;
}

.footer p {
  margin: 0;
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 12px;
  }

  .site-header {
    position: sticky;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .brand {
    min-width: 0;
  }

  .nav {
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav a {
    white-space: nowrap;
  }

  .hero {
    min-height: auto;
    padding-top: 88px;
    padding-bottom: 72px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(243, 249, 252, 0.98), rgba(221, 242, 250, 0.78));
  }

  .intro,
  .profile,
  .focus-section,
  .case-list,
  .reason-grid,
  .prepare-grid,
  .flow {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-support {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .section,
  .intro,
  .profile {
    padding-block: 58px;
  }

  .profile {
    gap: 26px;
    padding-inline: 24px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 0;
    padding-inline: 16px;
  }

  .brand small {
    font-size: 11px;
  }

  .hero {
    padding-inline: 18px;
  }

  .mobile-only {
    display: inline;
  }

  .hero-content {
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
  }

  h1 {
    font-size: 34px;
  }

  h1,
  h2,
  h3,
  p,
  a {
    line-break: anywhere;
    word-break: break-all !important;
    overflow-wrap: anywhere !important;
    word-wrap: break-word;
  }

  h2 {
    font-size: 28px;
  }

  .button,
  .hero-actions,
  .contact-actions,
  .section-actions,
  .article-actions {
    max-width: 100%;
    width: 100%;
  }

  .intro,
  .profile,
  .service-grid,
  .section,
  .contact-inner,
  .footer,
  .article {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
  }

  .sub-page {
    padding-top: 0;
  }

  .article {
    padding-top: 58px;
  }

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

  .hero-points {
    gap: 8px;
  }

  .hero-points li {
    font-size: 12px;
  }

  .focus-panel,
  .reason-grid article {
    padding: 22px;
  }

  .form-embed iframe {
    height: 1220px;
  }

  .map-embed iframe {
    height: 300px;
  }

  .profile {
    padding: 20px;
  }

  .service-card,
  .case-list article,
  .prepare-grid article,
  .flow li {
    padding: 22px;
  }

  .profile-facts div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
