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

img[src*="deco-"] { mix-blend-mode: multiply; }

:root {
  --background: #fdfcf8;
  --surface: #ffffff;
  --main: #123c52;
  --main-deep: #0b3144;
  --accent: rgb(67, 223, 184);
  --accent-dark: #0c5a4b;
  --mint-soft: #e0f6ef;
  --warm-soft: #faf6ed;
  --line: #c9d9de;
  --text: #173f4b;
  --container: 1080px;
  --section-space: 112px;
  --font-heading: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--background);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

a:focus-visible,
button:focus-visible {
  outline: 3px solid #15745f;
  outline-offset: 4px;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.bleed-left { margin-left: calc(50% - 50vw); }
.bleed-right { margin-right: calc(50% - 50vw); }
.bleed-full { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }

.site-header {
  position: relative;
  z-index: 100;
  height: 92px;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(18, 60, 82, 0.06);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.brand {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
  color: var(--main-deep);
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 42px;
  font-size: 0.93rem;
  font-weight: 600;
}

.global-nav a:not(.nav-contact) {
  position: relative;
  padding-block: 8px;
}

.global-nav a:not(.nav-contact)::after {
  content: "";
  position: absolute;
  inset: auto 0 2px;
  height: 1px;
  background: var(--main);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.global-nav a:not(.nav-contact):hover::after,
.global-nav a:not(.nav-contact):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-contact {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 7px 23px;
  border: 1px solid var(--main);
  background: #fff;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.nav-contact:hover {
  background: var(--main);
  color: #fff;
  transform: translateY(-2px);
}

.menu-button { display: none; }

.hero {
  position: relative;
  min-height: 790px;
  background: var(--background);
}

.hero-inner {
  position: relative;
  min-height: 790px;
  display: grid;
  grid-template-columns: 46% 54%;
}

.hero-photo {
  grid-column: 2;
  width: calc(100% + max(0px, (100vw - var(--container)) / 2));
  height: 790px;
  position: relative;
  z-index: 1;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% center;
  display: block;
}

.hero-panel {
  position: absolute;
  z-index: 2;
  inset: 0 auto 0 0;
  width: 61%;
  background: linear-gradient(110deg, #fffefb 0%, #fbfaf5 86%, #f8f6ef 100%);
  clip-path: polygon(0 0, 78% 0, 100% 100%, 0 100%);
}

.hero-copy {
  width: 78%;
  padding: 70px 0 0 34px;
  position: relative;
  z-index: 3;
}

.hero-eyebrow {
  margin: 0 0 22px;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.65;
  letter-spacing: 0.08em;
}

.hero h1 {
  margin: 0;
  color: var(--main-deep);
  font-family: var(--font-heading);
  font-size: clamp(4.7rem, 6.3vw, 6rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0.01em;
}

.hero h1 span { display: block; white-space: nowrap; }

.hero-lead {
  margin: 28px 0 25px;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.75;
  letter-spacing: 0.03em;
}

.button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 14px 30px;
  border: 1px solid transparent;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.button-primary {
  color: #0a3b33;
  background: var(--accent);
  box-shadow: 0 8px 24px rgba(25, 114, 94, 0.12);
}

.button-primary:hover {
  background: #58e6c2;
  box-shadow: 0 12px 30px rgba(25, 114, 94, 0.2);
  transform: translateY(-3px);
}

.button-arrow,
.external-arrow {
  width: 16px;
  height: 10px;
  position: relative;
  display: inline-block;
}

.button-arrow::before,
.external-arrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 14px;
  border-top: 1.5px solid currentColor;
}

.button-arrow::after,
.external-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: calc(50% - 3px);
  width: 6px;
  height: 6px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.hero-deco {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.hero-deco-large { width: 78px; left: 6px; top: 38px; }
.hero-deco-small { width: 43px; left: 59px; top: 8px; }

.hero-edge-deco {
  position: absolute;
  z-index: 3;
  width: 78px;
  left: 0;
  bottom: 38px;
  pointer-events: none;
}

.section {
  position: relative;
  padding-block: var(--section-space);
  background: var(--background);
}

.section + .section { padding-top: calc(var(--section-space) + 14px); }

.section-inner { position: relative; }

.section-title-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 58px;
}

.section-title-row > img {
  flex: 0 0 auto;
  width: 43px;
  height: 43px;
  object-fit: contain;
}

.section-title {
  margin: 0;
  color: var(--main-deep);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.1vw, 2.75rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.section-note {
  margin: 42px 0 0;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.problem-list {
  display: grid;
  grid-template-columns: 1fr 28px 1fr 28px 1fr;
  align-items: center;
  gap: 18px;
}

.problem-item {
  min-width: 0;
  text-align: center;
}

.problem-icon {
  display: block;
  width: 78px;
  height: 78px;
  object-fit: contain;
  margin: 0 auto 20px;
}

.problem-item p {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.8;
}

.problem-divider {
  display: block;
  width: 8px;
  height: 96px;
  object-fit: contain;
  margin-inline: auto;
}

.edge-deco {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.edge-deco-problem-top { width: 54px; right: 0; top: 18px; }
.edge-deco-problem-bottom { width: 58px; right: 0; bottom: 4px; }

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

.service-card { margin: 0; text-align: center; }

.service-card img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.service-card h3 {
  margin: 15px 0 0;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.6;
  white-space: nowrap;
}

.specialist-layout {
  display: grid;
  grid-template-columns: minmax(0, 48%) minmax(0, 1fr);
  align-items: center;
  gap: 58px;
}

.specialist-photo {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
}

.specialist-copy {
  font-size: 1.18rem;
  font-weight: 500;
  line-height: 2;
}

.specialist-copy p { margin: 0 0 20px; }
.specialist-copy p:last-child { margin-bottom: 0; }
.specialist-square-large { width: 110px; right: 0; top: 46%; }
.specialist-square-small { width: 57px; right: 0; top: calc(46% + 72px); }

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

.flow-list li {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.flow-list li:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 34px;
  right: -30px;
  width: 18px;
  border-top: 1.5px solid var(--main);
}

.flow-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 30px;
  right: -29px;
  width: 8px;
  height: 8px;
  border-top: 1.5px solid var(--main);
  border-right: 1.5px solid var(--main);
  transform: rotate(45deg);
}

.flow-number {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  margin-bottom: 23px;
  border-radius: 50%;
  background: var(--mint-soft);
  color: var(--main);
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
}

.flow-list strong {
  font-size: 1.02rem;
  line-height: 1.6;
  white-space: nowrap;
}

.community-layout {
  display: grid;
  grid-template-columns: 44% minmax(0, 1fr);
  align-items: center;
  gap: 62px;
}

.community-copy {
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 2;
}

.community-copy p { margin: 0 0 20px; }
.community-copy p:last-child { margin-bottom: 0; }

.community-photo {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
}

.community-square-large { width: 112px; right: 0; top: -28px; }
.community-square-small { width: 57px; right: 0; top: -54px; }
.community-square-left { width: 84px; left: 0; bottom: -34px; }

.faq-list { display: grid; }

.faq-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr);
  align-items: center;
  column-gap: 28px;
  min-height: 100px;
}

.faq-question,
.faq-answer {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: start;
  gap: 12px;
}

.faq-question span,
.faq-answer span {
  color: var(--main-deep);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.45;
}

.faq-item p { margin: 0; font-size: 1rem; font-weight: 500; line-height: 1.8; }

.faq-vertical {
  width: 8px;
  height: 70px;
  object-fit: contain;
  justify-self: center;
}

.faq-horizontal {
  display: block;
  width: 100%;
  height: 8px;
  object-fit: fill;
}

.faq-square { width: 57px; right: 0; bottom: -30px; }

.final-cta {
  position: relative;
  padding: 150px 0 160px;
  margin-top: 82px;
  background: var(--warm-soft);
  text-align: center;
}

.final-cta h2 {
  margin: 0;
  color: var(--main-deep);
  font-family: var(--font-heading);
  font-size: clamp(2.15rem, 3.4vw, 3rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.final-cta p {
  margin: 22px 0 42px;
  font-size: 1.05rem;
  font-weight: 500;
}

.button-large { min-width: 460px; min-height: 66px; font-size: 1.16rem; }

.site-footer {
  padding: 82px 0 94px;
  background: #fff;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer-brand {
  margin: 0;
  color: var(--main-deep);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.footer-area { margin: 6px 0 0; font-size: 0.86rem; font-weight: 600; }

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 40px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 0.94rem;
  font-weight: 600;
}

.footer-links a:hover { color: #0b725e; }
.external-arrow { width: 13px; transform: rotate(-45deg); }
.footer-links small { font-size: 0.74rem; }

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.42s ease, transform 0.42s ease;
}

@media (max-width: 980px) {
  :root { --section-space: 82px; }
  .container { width: min(100% - 40px, 760px); }
  .site-header { height: 78px; }
  .menu-button {
    position: relative;
    z-index: 102;
    width: 48px;
    height: 48px;
    display: grid;
    place-content: center;
    gap: 6px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  .menu-button span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--main-deep);
    transition: transform 0.25s ease, opacity 0.2s ease;
  }
  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .global-nav {
    position: fixed;
    z-index: 101;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 90px 24px 40px;
    background: rgba(253, 252, 248, 0.98);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }
  .global-nav.is-open { visibility: visible; opacity: 1; pointer-events: auto; }
  .global-nav a { font-size: 1.1rem; }
  .nav-contact { width: min(100%, 320px); justify-content: center; }

  .hero,
  .hero-inner { min-height: 860px; }
  .hero-inner { display: block; width: 100%; }
  .hero-panel {
    position: relative;
    width: 100%;
    height: 510px;
    clip-path: none;
  }
  .hero-copy {
    width: min(100% - 40px, 760px);
    margin-inline: auto;
    padding: 54px 0 0;
  }
  .hero h1 { font-size: clamp(3rem, 10vw, 5rem); }
  .hero-photo {
    position: absolute;
    z-index: 1;
    top: 510px;
    left: 0;
    width: 100%;
    height: 350px;
    margin: 0;
  }
  .hero-photo img { object-position: center 58%; }
  .hero-deco-large { left: 6px; }
  .hero-deco-small { left: 58px; }
  .hero-edge-deco { bottom: 18px; }

  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:last-child { grid-column: 1 / -1; width: calc(50% - 16px); justify-self: center; }
  .specialist-layout,
  .community-layout { grid-template-columns: 1fr; gap: 34px; }
  .specialist-copy { order: -1; }
  .community-photo { margin-top: 4px; }
  .flow-list { grid-template-columns: repeat(2, 1fr); gap: 54px 40px; }
  .flow-list li:nth-child(2)::before,
  .flow-list li:nth-child(2)::after { display: none; }
  .faq-item { grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr); gap: 18px; }
}

@media (max-width: 640px) {
  :root { --section-space: 66px; }
  .container { width: calc(100% - 36px); }
  .brand { max-width: 230px; font-size: 1rem; white-space: normal; line-height: 1.45; }
  .hero,
  .hero-inner { min-height: 810px; }
  .hero-panel { height: 520px; }
  .hero-copy { width: calc(100% - 40px); padding-top: 52px; }
  .hero-eyebrow { margin-bottom: 16px; font-size: 1.05rem; }
  .hero h1 { font-size: clamp(3rem, 13vw, 3.5rem); }
  .hero-lead { margin: 22px 0 20px; font-size: 1rem; }
  .hero-photo { top: 520px; height: 290px; }
  .button { width: 100%; max-width: 360px; min-height: 56px; padding-inline: 18px; }
  .hero-deco-large { width: 58px; top: 28px; }
  .hero-deco-small { width: 34px; left: 44px; }
  .hero-edge-deco { width: 48px; }

  .section-title-row { gap: 12px; margin-bottom: 42px; }
  .section-title-row > img { width: 30px; height: 30px; }
  .section-title { font-size: clamp(1.25rem, 5vw, 1.5rem); letter-spacing: 0; }
  .section-note { margin-top: 32px; font-size: 1rem; }
  .problem-list { grid-template-columns: 1fr; gap: 28px; }
  .problem-divider { display: none; }
  .problem-icon { width: 66px; height: 66px; margin-bottom: 12px; }
  .service-grid { grid-template-columns: 1fr; gap: 34px; }
  .service-card:last-child { grid-column: auto; width: 100%; }
  .service-card h3 { font-size: 1rem; }
  .specialist-copy,
  .community-copy { font-size: 1rem; line-height: 1.9; }
  .specialist-copy br,
  .community-copy br { display: none; }
  .flow-list { grid-template-columns: 1fr; gap: 42px; }
  .flow-list li::before,
  .flow-list li::after { display: none !important; }
  .flow-number { width: 62px; height: 62px; margin-bottom: 14px; }
  .faq-list { gap: 0; }
  .faq-item { grid-template-columns: 1fr; gap: 12px; padding-block: 18px; }
  .faq-question,
  .faq-answer { grid-template-columns: 30px 1fr; gap: 8px; }
  .faq-vertical { display: none; }
  .faq-horizontal { height: 6px; }
  .faq-answer p br { display: none; }
  .edge-deco { transform: scale(0.72); }

  .final-cta { margin-top: 54px; padding: 105px 0 118px; }
  .final-cta h2 { font-size: clamp(1.12rem, 4.8vw, 1.55rem); letter-spacing: 0; }
  .final-cta p { margin: 18px 0 34px; font-size: 1rem; }
  .button-large { min-width: 0; }
  .site-footer { padding: 68px 0 74px; }
  .footer-inner { flex-direction: column; }
  .footer-links { width: 100%; align-items: flex-start; gap: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Desktop proportions aligned with the supplied landing-page design. */
@media (min-width: 981px) {
  :root {
    --background: #fff;
    --container: 1320px;
    --section-space: 60px;
  }

  .site-header { height: 88px; }
  .header-inner { gap: 32px; }
  .brand { font-size: 1.3rem; }
  .global-nav { gap: 30px; font-size: .82rem; }
  .nav-contact { min-height: 48px; padding-inline: 26px; }

  .hero, .hero-inner { min-height: 790px; }
  .hero-photo { height: 790px; }
  .hero-panel {
    width: 52%;
    clip-path: polygon(0 0, 73% 0, 100% 100%, 0 100%);
  }
  .hero-copy { width: 86%; padding: 70px 0 0 76px; }
  .hero-eyebrow { margin-bottom: 16px; font-size: 1.55rem; }
  .hero h1 { font-size: clamp(5.3rem, 6.25vw, 5.7rem); line-height: 1.12; }
  .hero-lead { margin: 21px 0 24px; font-size: 1.13rem; }
  .hero .button { min-width: 470px; }

  .section + .section { padding-top: 74px; }
  .section-title-row { gap: 22px; margin-bottom: 28px; }
  .section-title-row > img { width: 43px; height: 43px; }
  .section-title { font-size: 2.65rem; }
  .section-note { margin-top: 22px; font-size: 1.02rem; }
  .problem-icon { width: 70px; height: 70px; margin-bottom: 12px; }
  .problem-item p { font-size: 1.08rem; }
  .problem-divider { height: 84px; }
  .service-grid { gap: 36px; }
  .service-card img { aspect-ratio: 1.82; }
  .service-card h3 { margin-top: 12px; }
  .specialist-layout { grid-template-columns: 48% 1fr; gap: 42px; }
  .specialist-photo { aspect-ratio: 1.93; }
  .specialist-copy { font-size: 1.15rem; }
  .flow-list { gap: 35px; }
  .flow-number { width: 88px; height: 88px; margin-bottom: 12px; }
  .flow-list li:not(:last-child)::before { top: 43px; right: -25px; }
  .flow-list li:not(:last-child)::after { top: 39px; right: -24px; }
  .community-layout { grid-template-columns: 48% 1fr; gap: 28px; }
  .community-photo { aspect-ratio: 1.92; }
  .faq-item { min-height: 90px; }
  .faq-vertical { height: 64px; }
  .final-cta { margin-top: 0; padding: 65px 0 70px; }
  .final-cta h2 { font-size: 2.75rem; }
  .final-cta p { margin: 14px 0 32px; }
  .button-large { min-width: 590px; min-height: 82px; }
  .site-footer { padding: 50px 0 54px; }
  .footer-links { gap: 32px; }
}
