:root {
  --ink: #18313b;
  --ink-soft: #4f6268;
  --cream: #fffdf9;
  --cream-deep: #f7f0e7;
  --apricot: #e89673;
  --apricot-deep: #d97954;
  --yellow: #f2cf66;
  --sand: #d9c8b2;
  --mint: #dce8e0;
  --line: rgba(24, 49, 59, 0.14);
  --white: #ffffff;
  --shadow: 0 24px 64px rgba(24, 49, 59, 0.1);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", "Yu Gothic", YuGothic, "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.025em;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(255, 253, 249, 0.9);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  border-color: var(--line);
}

.header-inner,
.section-inner,
.footer-inner,
.hero-inner {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: block;
  text-decoration: none;
}

.brand-logo {
  width: 62px;
  height: auto;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 600;
}

.global-nav a {
  text-decoration: none;
}

.global-nav a:hover,
.global-nav a:focus-visible {
  color: var(--apricot-deep);
}

.global-nav .nav-contact {
  padding: 11px 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 82px);
  min-height: calc(100svh - 82px);
  padding: 80px 0 42px;
}

.hero::before {
  position: absolute;
  top: 18%;
  right: -80px;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: rgba(232, 150, 115, 0.08);
  content: "";
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  align-items: center;
  gap: 72px;
}

.eyebrow,
.section-label {
  margin: 0 0 18px;
  color: var(--apricot-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(50px, 6.5vw, 88px);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.055em;
}

.hero h1 span {
  color: var(--apricot-deep);
}

.hero-lead {
  max-width: 680px;
  margin: 34px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 2;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

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

.button-primary:hover {
  background: #254955;
}

.text-link {
  font-weight: 700;
  text-underline-offset: 6px;
}

.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
}

.hero-circle {
  position: absolute;
  border-radius: 50%;
}

.hero-circle-large {
  inset: 7% 2% 1% 7%;
  background: var(--mint);
}

.hero-circle-small {
  top: 0;
  right: 1%;
  width: 30%;
  aspect-ratio: 1;
  background: var(--yellow);
}

.hero-message {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 78%;
  padding: 38px 26px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.42);
  box-shadow: var(--shadow);
  text-align: center;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(8px);
}

.hero-message span,
.hero-message strong {
  display: block;
}

.hero-message span {
  margin-bottom: 5px;
  font-size: 15px;
}

.hero-message strong {
  font-family: Georgia, "Yu Mincho", serif;
  font-size: clamp(27px, 3.2vw, 43px);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.hero-note {
  display: flex;
  width: min(calc(100% - 48px), var(--max-width));
  align-items: center;
  gap: 15px;
  margin: 64px auto 0;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.hero-note i {
  width: 28px;
  height: 1px;
  background: var(--line);
}

.section {
  padding: 128px 0;
}

.section h2 {
  margin: 0;
  font-size: clamp(34px, 4.5vw, 58px);
  font-weight: 600;
  line-height: 1.42;
  letter-spacing: -0.045em;
}

.about-section {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.7fr);
  justify-content: space-between;
  gap: 100px;
}

.about-copy {
  padding-top: 37px;
  color: var(--ink-soft);
  font-size: 17px;
}

.about-copy p {
  margin: 0 0 22px;
}

.services-section {
  background: #f5f0e9;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 0.65fr;
  align-items: end;
  gap: 80px;
  margin-bottom: 64px;
}

.section-heading > p {
  margin: 0 0 10px;
  color: var(--ink-soft);
}

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

.service-card {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  padding: 38px 34px;
  border: 1px solid rgba(24, 49, 59, 0.08);
  background: var(--white);
}

.service-card-yellow {
  background: #f7dd8c;
}

.service-card-sand {
  background: #e5d9c9;
}

.service-number {
  margin: 0 0 80px;
  font-family: Georgia, serif;
  font-size: 14px;
}

.service-card h3 {
  margin: 0 0 18px;
  font-size: 24px;
  line-height: 1.55;
}

.service-card > p:not(.service-number) {
  margin: 0 0 28px;
  color: #3f555d;
  line-height: 1.9;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 5px 11px;
  border: 1px solid rgba(24, 49, 59, 0.18);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.medical-note {
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.message-section {
  background: var(--white);
}

.message-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: 96px;
}

.profile-photo-wrap {
  position: relative;
  padding: 0 34px 38px 0;
}

.profile-photo-wrap::after {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 0;
  width: 72%;
  height: 64%;
  background: var(--cream-deep);
  content: "";
}

.profile-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1.04 / 1;
  object-fit: cover;
  object-position: center;
}

.photo-caption {
  position: absolute;
  right: -37px;
  bottom: 91px;
  z-index: 2;
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  transform: rotate(90deg);
}

.message-copy > p:not(.section-label) {
  margin: 25px 0 0;
  color: var(--ink-soft);
}

.profile-name {
  margin-top: 38px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.profile-name span,
.profile-name strong {
  display: block;
}

.profile-name span {
  color: var(--ink-soft);
  font-size: 12px;
}

.profile-name strong {
  margin-top: 5px;
  font-family: "Yu Mincho", YuMincho, serif;
  font-size: 27px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.profile-name dl {
  margin: 22px 0 0;
  font-size: 13px;
}

.profile-name dl div {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  padding: 6px 0;
}

.profile-name dt {
  color: var(--apricot-deep);
  font-weight: 700;
}

.profile-name dd {
  margin: 0;
}

.contact-section {
  padding-top: 0;
  background: var(--white);
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 90px;
  padding: 72px 76px;
  color: var(--white);
  background: var(--ink);
}

.contact-panel .section-label {
  color: #f1b095;
}

.contact-copy p {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.76);
}

.button-light {
  color: var(--ink);
  background: var(--white);
}

.contact-copy .contact-note {
  margin: 14px 0 0;
  font-size: 11px;
}

.site-footer {
  padding: 72px 0 32px;
  background: var(--cream);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 42px;
}

.footer-brand {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.footer-brand + p {
  margin: 2px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.site-footer nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 12px;
  font-weight: 700;
}

.site-footer nav a {
  text-decoration: none;
}

.copyright {
  grid-column: 1 / -1;
  margin: 22px 0 0;
  padding-top: 25px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 11px;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
  }

  .hero-inner,
  .about-grid,
  .section-heading,
  .message-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: 48px;
  }

  .hero-visual {
    width: min(100%, 520px);
    margin: 0 auto;
  }

  .about-grid,
  .section-heading,
  .message-grid,
  .contact-panel {
    gap: 42px;
  }

  .about-copy {
    max-width: 680px;
    padding-top: 0;
  }

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

  .service-card:last-child {
    grid-column: 1 / -1;
    min-height: 340px;
  }

  .message-grid {
    max-width: 760px;
  }

  .profile-photo-wrap {
    width: min(86%, 560px);
  }
}

@media (max-width: 720px) {
  .header-inner,
  .section-inner,
  .footer-inner,
  .hero-inner,
  .hero-note {
    width: min(calc(100% - 36px), var(--max-width));
  }

  .header-inner {
    min-height: 70px;
  }

  .brand-logo {
    width: 54px;
  }

  .menu-button {
    position: relative;
    z-index: 52;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border: 0;
    color: var(--ink);
    background: transparent;
    font: inherit;
  }

  .menu-button-label {
    font-size: 12px;
    font-weight: 700;
  }

  .menu-icon,
  .menu-icon::before,
  .menu-icon::after {
    display: block;
    width: 23px;
    height: 2px;
    background: var(--ink);
    transition: transform 160ms ease;
  }

  .menu-icon {
    position: relative;
  }

  .menu-icon::before,
  .menu-icon::after {
    position: absolute;
    left: 0;
    content: "";
  }

  .menu-icon::before {
    top: -7px;
  }

  .menu-icon::after {
    top: 7px;
  }

  .menu-button[aria-expanded="true"] .menu-icon {
    background: transparent;
  }

  .menu-button[aria-expanded="true"] .menu-icon::before {
    top: 0;
    transform: rotate(45deg);
  }

  .menu-button[aria-expanded="true"] .menu-icon::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .global-nav {
    position: fixed;
    inset: 0;
    z-index: 51;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 25px;
    padding: 90px 34px;
    background: var(--cream);
    font-size: 22px;
  }

  .global-nav.is-open {
    display: flex;
  }

  .global-nav .nav-contact {
    margin-top: 15px;
    padding: 12px 22px;
    font-size: 16px;
  }

  .hero {
    padding: 54px 0 26px;
  }

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

  .hero-lead {
    margin-top: 26px;
    font-size: 16px;
  }

  .desktop-only {
    display: none;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
    margin-top: 32px;
  }

  .hero-visual {
    width: 94%;
  }

  .hero-note {
    margin-top: 35px;
  }

  .section {
    padding: 88px 0;
  }

  .section h2 {
    font-size: clamp(32px, 9vw, 44px);
  }

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

  .service-card,
  .service-card:last-child {
    grid-column: auto;
    min-height: 370px;
    padding: 32px 28px;
  }

  .service-number {
    margin-bottom: 58px;
  }

  .profile-photo-wrap {
    width: calc(100% - 20px);
    padding: 0 24px 25px 0;
  }

  .photo-caption {
    right: -43px;
  }

  .contact-panel {
    width: 100%;
    padding: 62px 28px;
  }

  .site-footer {
    padding-top: 56px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .copyright {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
