:root {
  --navy: #17345f;
  --blue: #7fb2df;
  --blue-soft: #e7f2fb;
  --pink: #ef8aaa;
  --pink-soft: #fde8ef;
  --line: #d6e4ef;
  --text: #273f62;
  --muted: #6f829c;
  --white: #fff;
  --shadow: 0 18px 48px rgba(49, 86, 118, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #f6f9fc;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.8;
  overflow-x: hidden;
}

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

.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: inline-flex;
  align-items: center;
  gap: 18px;
  flex: 0 1 auto;
  min-width: 0;
}

.brand-mark {
  position: relative;
  display: block;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
}

.mark-person {
  position: absolute;
  top: 1px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.mark-person::after {
  position: absolute;
  top: 14px;
  width: 22px;
  height: 25px;
  border: 6px solid currentColor;
  border-top: 0;
  border-radius: 0 0 30px 30px;
  content: "";
}

.mark-person-blue {
  left: 8px;
  color: #78a6ca;
  background: currentColor;
}

.mark-person-blue::after {
  left: -6px;
  transform: rotate(38deg);
}

.mark-person-pink {
  right: 8px;
  color: #e7a9bd;
  background: currentColor;
}

.mark-person-pink::after {
  right: -6px;
  transform: rotate(-38deg);
}

.mark-heart {
  position: absolute;
  left: 18px;
  bottom: 6px;
  width: 14px;
  height: 14px;
  transform: rotate(45deg);
  border-right: 3px solid #d58ca5;
  border-bottom: 3px solid #d58ca5;
  border-radius: 2px;
}

.brand-name,
h1,
h2,
.news-row time,
.news-title,
.contact-method strong {
  font-family: "Noto Serif JP", serif;
}

.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-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: 54px;
}

.page-title {
  width: min(100%, 1440px);
  min-height: clamp(360px, 39vw, 520px);
  margin: 0 auto;
  background:
    linear-gradient(90deg, rgba(237, 247, 255, 0.82), rgba(255, 255, 255, 0.48)),
    url("assets/news-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, 78px);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.news-section {
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: clamp(64px, 6vw, 78px) clamp(42px, 6vw, 86px) 88px;
  background:
    radial-gradient(circle at 15% 8%, rgba(126, 178, 223, 0.12), transparent 28%),
    #fff;
}

.section-heading {
  display: grid;
  justify-items: center;
  gap: 20px;
  margin-bottom: 36px;
  text-align: center;
}

h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.heading-ornament {
  position: relative;
  display: block;
  width: 152px;
  height: 12px;
}

.heading-ornament::before,
.heading-ornament::after {
  position: absolute;
  top: 5px;
  width: 58px;
  height: 2px;
  background: var(--blue);
  content: "";
}

.heading-ornament::before {
  left: 0;
}

.heading-ornament::after {
  right: 0;
  background: var(--pink);
}

.heading-ornament {
  background: radial-gradient(circle at 50% 50%, var(--pink) 0 4px, transparent 5px);
}

.news-tabs {
  display: flex;
  justify-content: center;
  gap: clamp(32px, 6vw, 82px);
  margin-bottom: 46px;
}

.news-tab {
  position: relative;
  min-width: 88px;
  border: 0;
  padding: 10px 8px 14px;
  color: var(--navy);
  background: transparent;
  font-family: "Noto Serif JP", serif;
  font-size: 21px;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.news-tab::after {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 4px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: var(--pink);
  content: "";
  transition: width 180ms ease;
}

.news-tab:hover::after,
.news-tab.is-active::after {
  width: 78px;
}

.news-list {
  max-width: 1120px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.news-row {
  display: grid;
  grid-template-columns: 160px 130px 1fr 36px;
  align-items: center;
  min-height: 98px;
  gap: 28px;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  transition:
    background 180ms ease,
    padding 180ms ease;
}

.news-row:hover {
  padding-left: 18px;
  background: rgba(231, 242, 251, 0.48);
}

.news-row time {
  font-size: 22px;
  letter-spacing: 0.08em;
}

.category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 112px;
  min-height: 34px;
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.category-pink {
  color: #e36f91;
  background: var(--pink-soft);
}

.category-blue {
  color: #397fb6;
  background: var(--blue-soft);
}

.news-title {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.news-row svg {
  width: 26px;
  height: 26px;
  justify-self: end;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 48px;
}

.page-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid #9cbfe0;
  border-radius: 50%;
  color: var(--navy);
  background: #fff;
  font-family: "Noto Serif JP", serif;
  font-size: 19px;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

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

.page-number.is-active {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, #f3a6bc, #e97798);
}

.page-next svg {
  width: 22px;
  height: 22px;
}

.contact-cta {
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 80px 64px 78px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.72)),
    url("assets/news-cta-bg.png") center / cover no-repeat;
}

.contact-cta__content {
  max-width: 1060px;
  margin: 0 auto;
  text-align: center;
}

.cta-brand {
  margin: 0 0 20px;
  color: var(--navy);
  font-family: "Noto Serif JP", serif;
  font-size: 25px;
  letter-spacing: 0.08em;
}

.cta-lead {
  margin: 22px 0 36px;
  color: var(--navy);
  font-family: "Noto Serif JP", serif;
  font-size: 22px;
  line-height: 2;
  letter-spacing: 0.07em;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  margin-bottom: 36px;
}

.contact-method {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 118px;
  border: 1px solid #dce8f2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(46, 77, 104, 0.08);
  text-align: left;
}

.method-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  color: var(--navy);
  background: #edf5fb;
}

.method-icon svg {
  width: 34px;
  height: 34px;
}

.contact-method strong {
  display: block;
  color: var(--navy);
  font-size: clamp(21px, 2.2vw, 35px);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.contact-method[href^="mailto"] strong {
  font-size: clamp(20px, 1.7vw, 26px);
  letter-spacing: 0.04em;
}

.contact-method small {
  display: block;
  margin-top: 4px;
  color: var(--navy);
  font-size: 15px;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-width: min(100%, 470px);
  min-height: 72px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #f88aae, #ed5e8b);
  box-shadow: 0 16px 34px rgba(227, 91, 132, 0.28);
  font-family: "Noto Serif JP", serif;
  font-size: 25px;
  letter-spacing: 0.08em;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(227, 91, 132, 0.34);
}

.primary-button svg {
  width: 28px;
  height: 28px;
}

@media (max-width: 1180px) {
  .site-header {
    height: 88px;
    padding: 0 24px;
  }

  .brand {
    gap: 12px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    transform: scale(0.88);
    transform-origin: left top;
  }

  .brand-name {
    max-width: 300px;
    font-size: 18px;
    letter-spacing: 0.04em;
  }

  .global-nav {
    gap: 18px;
    font-size: 14px;
    letter-spacing: 0.04em;
  }

  .page-title,
  .page-title__inner {
    min-height: 360px;
  }

  .news-section {
    padding: 64px 42px 76px;
  }

  .news-row {
    grid-template-columns: 140px 112px 1fr 28px;
    gap: 18px;
  }

  .news-row time,
  .news-title {
    font-size: 19px;
  }

  .contact-cta {
    padding-inline: 42px;
  }

  .contact-method {
    gap: 16px;
    padding: 18px;
  }

  .method-icon {
    width: 58px;
    height: 58px;
  }

  .method-icon svg {
    width: 28px;
    height: 28px;
  }

  .contact-method strong {
    font-size: 22px;
    letter-spacing: 0.04em;
  }
}

@media (max-width: 900px) {
  .site-header {
    height: auto;
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding: 22px 24px;
  }

  .global-nav {
    width: 100%;
    gap: 22px;
    overflow-x: auto;
    padding-bottom: 4px;
    font-size: 15px;
  }
}

@media (max-width: 760px) {
  .brand-name {
    white-space: normal;
  }

  .page-title__inner {
    padding: 0 28px;
  }

  .news-tabs {
    flex-wrap: wrap;
    gap: 14px 24px;
  }

  .news-row {
    grid-template-columns: 1fr 28px;
    gap: 8px 14px;
    padding: 20px 0;
  }

  .news-row:hover {
    padding-left: 0;
  }

  .news-row time,
  .category,
  .news-title {
    grid-column: 1;
  }

  .news-row svg {
    grid-column: 2;
    grid-row: 1 / span 3;
  }

  .news-title {
    font-size: 18px;
  }

  .contact-cta {
    padding: 64px 22px;
  }

  .contact-methods {
    grid-template-columns: 1fr;
  }

  .contact-method {
    justify-content: flex-start;
    padding: 22px;
  }

  .cta-lead br {
    display: none;
  }
}

/* Width and type refinement */
.site-header,
.page-title,
.news-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,
.news-section,
.contact-cta {
  padding-inline: max(32px, calc((100vw - 976px) / 2));
}
.news-section > *,
.contact-cta__content {
  max-width: 976px;
  margin-inline: auto;
}
.page-title__inner {
  max-width: none;
  margin-inline: 0;
  padding-left: clamp(56px, 8vw, 154px);
  padding-right: clamp(32px, 5vw, 96px);
}
.page-title h1 {
  font-size: clamp(38px, 4vw, 58px);
}
.section-heading h2 {
  font-size: clamp(30px, 2.6vw, 42px);
}
.news-title {
  font-size: 18px;
}
.news-tab,
.pagination a,
.pagination span,
.cta-lead,
.contact-method small {
  font-size: 15px;
}
.contact-method strong {
  font-size: clamp(20px, 1.7vw, 26px);
}
.primary-button {
  font-size: 20px;
}

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

/* 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;
  }
}

/* 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;
}

/* 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;
}
