:root {
  --navy: #17345f;
  --blue: #7fb2df;
  --blue-soft: #e9f4fb;
  --pink: #ef8aaa;
  --pink-soft: #fde8ef;
  --line: #d8e6f1;
  --text: #273f62;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: #f6f9fc;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.8;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, .brand-name, .global-nav, .number, .contact-method strong {
  font-family: "Noto Serif JP", serif;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 1440px);
  height: 104px;
  margin: 0 auto;
  padding: 0 clamp(28px, 4vw, 54px);
  background: #fff;
  backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand-mark {
  position: relative;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
}
.brand-mark::before,
.brand-mark::after {
  position: absolute;
  top: 4px;
  width: 16px;
  height: 30px;
  border: 6px solid currentColor;
  border-top: 0;
  border-radius: 0 0 22px 22px;
  content: "";
}
.brand-mark::before { left: 4px; color: #78a6ca; transform: rotate(38deg); }
.brand-mark::after { right: 4px; color: #e7a9bd; transform: rotate(-38deg); }
.brand-mark span {
  position: absolute;
  left: 18px;
  bottom: 7px;
  width: 13px;
  height: 13px;
  transform: rotate(45deg);
  border-right: 3px solid #d58ca5;
  border-bottom: 3px solid #d58ca5;
}
.brand-name {
  color: var(--navy);
  font-size: clamp(19px, 1.8vw, 27px);
  font-weight: 500;
  letter-spacing: 0.07em;
  white-space: nowrap;
}
.global-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3.2vw, 58px);
  flex: 0 0 auto;
  color: var(--navy);
  font-size: 17px;
  letter-spacing: 0.06em;
}
.global-nav a { position: relative; padding: 8px 0 10px; }
.global-nav a::after {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 3px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: var(--pink);
  content: "";
  transition: width 180ms ease;
}
.global-nav a:hover::after, .global-nav .is-current::after { width: 70px; }

.page-title {
  width: min(100%, 1440px);
  min-height: clamp(360px, 39vw, 520px);
  margin: 0 auto;
  background:
    linear-gradient(90deg, rgba(237, 247, 255, 0.84), rgba(255,255,255,0.44)),
    url("assets/title-bg.png") center / cover no-repeat;
}
.page-title__inner {
  display: flex;
  align-items: center;
  min-height: clamp(360px, 39vw, 520px);
  padding: 0 clamp(46px, 6vw, 86px);
}
h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(46px, 5vw, 74px);
  font-weight: 500;
  letter-spacing: 0.08em;
}

section {
  width: min(100%, 1440px);
  margin: 0 auto;
  background: #fff;
}
.section-heading {
  display: grid;
  justify-items: center;
  gap: 18px;
  margin-bottom: 42px;
  text-align: center;
}
h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 500;
  letter-spacing: 0.08em;
}
.section-heading p {
  margin: 0;
  color: var(--navy);
  font-family: "Noto Serif JP", serif;
  font-size: 19px;
  letter-spacing: 0.05em;
}

.cancer-care {
  padding: 78px clamp(42px, 7vw, 112px) 92px;
  text-align: center;
  background:
    radial-gradient(circle at 12% 12%, rgba(127,178,223,.13), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(239,138,170,.12), transparent 26%),
    #fff;
}
.special-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #f3adc2;
  border-radius: 999px;
  padding: 10px 28px;
  color: #e77296;
  background: #fff;
  font-weight: 700;
  letter-spacing: .08em;
}
.special-badge svg { width: 22px; height: 22px; }
.feature-photo {
  display: block;
  width: min(100%, 1040px);
  aspect-ratio: 16 / 7;
  object-fit: cover;
  margin: 0 auto 42px;
  border-radius: 26px;
  box-shadow: 0 18px 44px rgba(49,86,118,.14);
}
.center-copy { max-width: 820px; margin: 0 auto; }
.center-copy h3,
.care-text h3 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: clamp(28px, 3vw, 43px);
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.55;
}
.center-copy p,
.care-text p {
  margin: 0;
  color: var(--navy);
  font-size: 17px;
  letter-spacing: .05em;
}
.support-labels {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px 34px;
  margin-top: 38px;
}
.support-labels span {
  min-width: 140px;
  border-left: 1px solid #f1b5c6;
  border-right: 1px solid #d4e5f2;
  padding: 8px 18px;
  color: var(--navy);
  font-family: "Noto Serif JP", serif;
  font-size: 19px;
}

.care-section {
  padding: 82px clamp(42px, 7vw, 112px);
}
.care-block {
  display: grid;
  grid-template-columns: minmax(300px, .85fr) minmax(440px, 1.15fr);
  align-items: center;
  gap: clamp(48px, 7vw, 92px);
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}
.care-block--reverse { grid-template-columns: minmax(440px, 1.15fr) minmax(300px, .85fr); }
.care-block--reverse .care-text { order: 2; }
.care-block img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0 30px 30px 30px;
}
.care-block--reverse img { border-radius: 30px 0 30px 30px; }
.number {
  display: block;
  margin-bottom: 18px;
  color: #8fbce3;
  font-size: 58px;
  line-height: 1;
  letter-spacing: .04em;
}
.number::after {
  display: block;
  width: 74px;
  height: 3px;
  margin-top: 10px;
  background: linear-gradient(90deg, var(--blue), var(--pink));
  content: "";
}

.medical-section {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 42px;
  padding: 84px clamp(42px, 7vw, 112px);
  background: linear-gradient(90deg, #f4f9fd, #fff 34%);
}
.eyebrow {
  margin: 0 0 14px;
  color: #4d9bd7;
  font-family: "Noto Serif JP", serif;
  letter-spacing: .16em;
}
.medical-lead h2 { font-size: clamp(34px, 3.7vw, 50px); line-height: 1.35; }
.medical-lead p:not(.eyebrow) { color: var(--navy); font-size: 17px; }
.medical-table {
  border-top: 1px solid #9fbfe0;
  border-bottom: 1px solid #9fbfe0;
  background: #fff;
}
.medical-category {
  display: grid;
  grid-template-columns: 250px 1fr;
  border-bottom: 1px solid var(--line);
}
.medical-category:last-child { border-bottom: 0; }
.medical-category h3 {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  margin: 0;
  padding: 32px 22px;
  color: var(--navy);
  background: rgba(232,244,252,.68);
  font-size: 24px;
  font-weight: 500;
  text-align: center;
}
.medical-category h3 svg { width: 34px; height: 34px; color: #6aa6d8; }
.medical-category ul { margin: 0; padding: 18px 34px; list-style: none; }
.medical-category li {
  display: flex;
  align-items: center;
  min-height: 44px;
  border-bottom: 1px solid #e8f0f6;
  color: var(--navy);
  font-size: 17px;
}
.medical-category li:last-child { border-bottom: 0; }
.medical-category li::before {
  width: 8px;
  height: 8px;
  margin-right: 16px;
  border-radius: 50%;
  background: #83b9e5;
  content: "";
}
.medical-note {
  grid-column: 2;
  margin: 20px 0 0;
  border-radius: 12px;
  padding: 18px 24px;
  color: var(--navy);
  background: #eaf4fc;
  text-align: center;
}

.flow-section {
  padding: 82px clamp(42px, 7vw, 112px) 92px;
  background:
    radial-gradient(circle at 18% 18%, rgba(127,178,223,.13), transparent 24%),
    #fff;
}
.flow-list {
  position: relative;
  display: grid;
  width: 100%;
  max-width: 976px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.flow-list::before {
  position: absolute;
  top: 38px;
  bottom: 38px;
  left: calc(50% - 243px);
  width: 2px;
  transform: translateX(-50%);
  background: #bdd7ee;
  content: "";
}
.flow-list li {
  position: relative;
  display: grid;
  grid-template-columns: 74px 82px minmax(0, 560px);
  justify-content: center;
  gap: 16px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px dashed var(--line);
}
.flow-list span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid #a9cbe8;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  font-family: "Noto Serif JP", serif;
  font-size: 23px;
}
.flow-list i, .flow-list svg {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  justify-self: center;
  border-radius: 50%;
  padding: 15px;
  color: #4c8fc7;
  background: #edf5fb;
}
.flow-list strong {
  display: block;
  color: var(--navy);
  font-family: "Noto Serif JP", serif;
  font-size: 24px;
  letter-spacing: .06em;
}
.flow-list p { grid-column: 3; margin: -18px 0 0; color: var(--navy); }

.contact-cta {
  padding: 80px 64px 78px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.36), rgba(255,255,255,.74)),
    url("assets/cta-bg.png") center / cover no-repeat;
}
.contact-cta__content { max-width: 1060px; margin: 0 auto; text-align: center; }
.cta-brand { margin: 0 0 18px; color: var(--navy); font-family: "Noto Serif JP", serif; font-size: 22px; letter-spacing: .08em; }
.cta-lead { max-width: 780px; margin: 22px auto 36px; color: var(--navy); font-family: "Noto Serif JP", serif; font-size: 20px; letter-spacing: .06em; }
.contact-methods { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 26px; margin-bottom: 36px; }
.contact-method {
  display: grid;
  grid-template-columns: 62px 1fr;
  align-items: center;
  min-height: 110px;
  border: 1px solid #dce8f2;
  border-radius: 16px;
  padding: 20px 26px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(46,77,104,.08);
  text-align: left;
}
.contact-method span { grid-row: 1 / span 2; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #edf5fb; }
.contact-method strong { color: var(--navy); font-size: clamp(22px, 2vw, 32px); font-weight: 500; letter-spacing: .05em; overflow-wrap: anywhere; }
.contact-method[href^="mailto"] strong { font-size: clamp(20px, 1.7vw, 26px); }
.contact-method small { color: var(--navy); }
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-width: min(100%, 460px);
  min-height: 70px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #f88aae, #ed5e8b);
  box-shadow: 0 16px 34px rgba(227,91,132,.28);
  font-family: "Noto Serif JP", serif;
  font-size: 24px;
  letter-spacing: .08em;
}

@media (max-width: 1180px) {
  .site-header { height: 88px; padding: 0 24px; }
  .brand-name { max-width: 300px; font-size: 18px; letter-spacing: .04em; }
  .global-nav { gap: 18px; font-size: 14px; letter-spacing: .04em; }
  .page-title, .page-title__inner { min-height: 360px; }
  .medical-section { grid-template-columns: 1fr; }
  .medical-note { grid-column: 1; }
  .contact-method { padding: 18px; }
}

@media (max-width: 900px) {
  .site-header { height: auto; flex-direction: column; align-items: flex-start; gap: 16px; padding: 22px 24px; }
  .global-nav { width: 100%; overflow-x: auto; padding-bottom: 4px; }
  .care-block, .care-block--reverse { grid-template-columns: 1fr; gap: 28px; }
  .care-block--reverse .care-text { order: 0; }
  .medical-category { grid-template-columns: 1fr; }
  .flow-list li { grid-template-columns: 58px 66px 1fr; }
  .flow-list::before { left: 91px; }
  .contact-methods { grid-template-columns: 1fr; }
}

/* Width and type refinement */
.site-header,
.page-title,
section,
.contact-cta {
  width: 100%;
  max-width: none;
}
.site-header {
  padding-inline: max(28px, calc((100vw - 976px) / 2));
}
.brand-name {
  max-width: 330px;
  font-size: 20px;
  letter-spacing: .04em;
}
.global-nav {
  gap: 24px;
  font-size: 15px;
  letter-spacing: .04em;
}
.page-title__inner,
.cancer-care,
.care-section,
.medical-section,
.flow-section,
.contact-cta {
  padding-inline: max(32px, calc((100vw - 976px) / 2));
}
.page-title__inner {
  padding-left: clamp(56px, 8vw, 154px);
  padding-right: clamp(32px, 5vw, 96px);
}
.section-heading,
.feature-photo,
.center-copy,
.support-labels,
.care-block,
.medical-lead,
.medical-table,
.medical-note,
.flow-list,
.contact-cta__content {
  max-width: 976px;
  margin-inline: auto;
}
.page-title__inner {
  max-width: none;
  margin-inline: 0;
}
.medical-section {
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: start;
}
.medical-lead {
  text-align: left;
}
.page-title h1 {
  font-size: clamp(38px, 4vw, 58px);
}
.section-heading h2 {
  font-size: clamp(30px, 2.6vw, 42px);
}
.center-copy h3,
.care-text h3 {
  font-size: clamp(25px, 2.4vw, 34px);
}
.section-heading p,
.center-copy p,
.care-text p,
.medical-lead p:not(.eyebrow),
.medical-category li,
.flow-list p,
.cta-lead {
  font-size: 16px;
}
.number {
  font-size: 46px;
}
.medical-category h3,
.flow-list h3 {
  font-size: 21px;
}
.primary-button {
  font-size: 20px;
}
.contact-method strong {
  font-size: clamp(20px, 1.7vw, 26px);
}

@media (max-width: 1180px) {
  .site-header,
  .page-title__inner,
  .cancer-care,
  .care-section,
.medical-section,
.flow-section,
.contact-cta {
    padding-inline: 32px;
  }
}

/* Medical section heading refinement */
.medical-section .medical-lead {
  margin-inline: 0;
}
.medical-section .eyebrow {
  font-size: 13px;
}
.medical-section .medical-lead h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 2.1vw, 32px);
  line-height: 1.45;
  text-align: left;
}
.medical-section .medical-lead p:not(.eyebrow) {
  font-size: 15px;
  line-height: 1.9;
  text-align: left;
}

@media (max-width: 1180px) {
  .medical-section {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 34px;
  }
}

@media (max-width: 900px) {
  .medical-section {
    grid-template-columns: 1fr;
  }
}

/* CTA: phone and form button only */
.contact-cta .contact-methods {
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 18px;
  margin-bottom: 24px;
}
.contact-cta .contact-method {
  width: min(100%, 460px);
}
.contact-cta .primary-button {
  width: min(100%, 460px);
  margin-inline: auto;
}

/* Header can use the full layout width */
.site-header {
  width: min(100%, 1440px);
  max-width: 1440px;
  padding-inline: clamp(28px, 4vw, 54px);
}
.brand-name {
  max-width: none;
  font-size: clamp(19px, 1.8vw, 27px);
  letter-spacing: 0.07em;
}
.global-nav {
  gap: clamp(22px, 3.2vw, 58px);
  font-size: 17px;
  letter-spacing: 0.06em;
}
.global-nav .nav-contact {
  min-height: 44px;
  border-radius: 999px;
  padding: 9px 22px 10px;
  color: #fff;
  background: linear-gradient(135deg, #f58aae, #ed6b98);
  box-shadow: 0 10px 22px rgba(227, 91, 132, .22);
}
.global-nav .nav-contact::after {
  display: none;
}

/* Compact lower-page hero */
.page-title,
.page-title__inner {
  min-height: clamp(260px, 24vw, 340px);
}

@media (max-width: 1180px) {
  .page-title,
  .page-title__inner {
    min-height: 280px;
  }
}

/* Unified header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 1440px);
  max-width: 1440px;
  height: 104px;
  margin: 0 auto;
  padding: 0 clamp(28px, 4vw, 54px);
  background: #fff;
  backdrop-filter: blur(14px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.brand-mark {
  position: relative;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
}
.brand-mark::before,
.brand-mark::after {
  position: absolute;
  top: 4px;
  width: 16px;
  height: 30px;
  border: 6px solid currentColor;
  border-top: 0;
  border-radius: 0 0 22px 22px;
  content: "";
}
.brand-mark::before { left: 4px; color: #78a6ca; transform: rotate(38deg); }
.brand-mark::after { right: 4px; color: #e7a9bd; transform: rotate(-38deg); }
.brand-mark span {
  position: absolute;
  left: 18px;
  bottom: 7px;
  width: 13px;
  height: 13px;
  transform: rotate(45deg);
  border-right: 3px solid #d58ca5;
  border-bottom: 3px solid #d58ca5;
}
.brand-name {
  max-width: none;
  color: var(--navy);
  font-size: clamp(19px, 1.8vw, 27px);
  font-weight: 500;
  letter-spacing: 0.07em;
  white-space: nowrap;
}
.global-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3.2vw, 58px);
  flex: 0 0 auto;
  color: var(--navy);
  font-family: "Noto Serif JP", serif;
  font-size: 17px;
  letter-spacing: 0.06em;
}
.global-nav a {
  position: relative;
  padding: 8px 0 10px;
}
.global-nav a::after {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 3px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: var(--pink);
  content: "";
  transition: width 180ms ease;
}
.global-nav a:hover::after,
.global-nav .is-current::after {
  width: 70px;
}
.global-nav .nav-contact {
  min-height: 44px;
  border-radius: 999px;
  padding: 9px 22px 10px;
  color: #fff;
  background: linear-gradient(135deg, #f58aae, #ed6b98);
  box-shadow: 0 10px 22px rgba(227, 91, 132, .22);
}
.global-nav .nav-contact::after {
  display: none;
}

/* Header component: based on recruit page */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 1440px);
  max-width: 1440px;
  height: 104px;
  margin: 0 auto;
  padding: 0 clamp(28px, 4vw, 54px);
  background: #fff;
  backdrop-filter: blur(14px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.brand-mark {
  position: relative;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
}
.brand-mark::before,
.brand-mark::after {
  position: absolute;
  top: 4px;
  width: 16px;
  height: 30px;
  border: 6px solid currentColor;
  border-top: 0;
  border-radius: 0 0 22px 22px;
  content: "";
}
.brand-mark::before { left: 4px; color: #78a6ca; transform: rotate(38deg); }
.brand-mark::after { right: 4px; color: #e7a9bd; transform: rotate(-38deg); }
.brand-mark span {
  position: absolute;
  left: 18px;
  bottom: 7px;
  width: 13px;
  height: 13px;
  transform: rotate(45deg);
  border-right: 3px solid #d58ca5;
  border-bottom: 3px solid #d58ca5;
}
.brand-name {
  max-width: none;
  color: var(--navy);
  font-family: "Noto Serif JP", serif;
  font-size: clamp(19px, 1.8vw, 27px);
  font-weight: 500;
  letter-spacing: 0.07em;
  white-space: nowrap;
}
.global-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3.2vw, 58px);
  flex: 0 0 auto;
  color: var(--navy);
  font-family: "Noto Serif JP", serif;
  font-size: 17px;
  letter-spacing: 0.06em;
}
.global-nav a {
  position: relative;
  padding: 8px 0 10px;
}
.global-nav a::after {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 3px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: var(--pink);
  content: "";
  transition: width 180ms ease;
}
.global-nav a:hover::after,
.global-nav .is-current::after {
  width: 70px;
}
.global-nav .nav-contact {
  min-height: 44px;
  border-radius: 999px;
  padding: 9px 22px 10px;
  color: #fff;
  background: linear-gradient(135deg, #f58aae, #ed6b98);
  box-shadow: 0 10px 22px rgba(227, 91, 132, .22);
}
.global-nav .nav-contact::after {
  display: none;
}
@media (max-width: 1180px) {
  .site-header {
    height: 88px;
    padding: 0 24px;
  }
  .brand-name {
    font-size: 18px;
    letter-spacing: .04em;
  }
  .global-nav {
    gap: 18px;
    font-size: 14px;
    letter-spacing: .04em;
  }
}
@media (max-width: 900px) {
  .site-header {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 24px;
  }
  .global-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }
}

/* Font system */
body {
  font-family: "Zen Kaku Gothic New", -apple-system, BlinkMacSystemFont, sans-serif;
}
h1,
h2,
h3,
h4,
.brand-name,
.global-nav,
.section-heading h2,
.hero h1,
.page-title h1,
.news-title,
.news-row time,
.contact-method strong,
.primary-button,
.secondary-button,
.primary-outline,
.text-link,
.signature strong {
  font-family: "Shippori Mincho", serif;
}
.hero__copy p,
.section-heading p,
.section-heading + p,
.care-text p,
.center-copy p,
.medical-lead p:not(.eyebrow),
.cta-lead,
.philosophy p:not(.section-heading p),
.recruit-entry p,
.message-card p,
.contact-inner > p,
.office-disclosure p,
.value-grid p,
.environment__copy > p,
.requirements-note {
  font-family: "Zen Kaku Gothic New", -apple-system, BlinkMacSystemFont, sans-serif;
}
