: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: #f4f8fb;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.8;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, .brand-name, .global-nav, .text-link, .primary-outline, .signature {
  font-family: "Noto Serif JP", serif;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  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; }

main, section {
  width: min(100%, 1440px);
  margin: 0 auto;
}
section { background: #fff; }

.hero {
  position: relative;
  min-height: clamp(680px, 58vw, 860px);
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 92px clamp(50px, 6.8vw, 108px) 96px;
  background: #fff;
}
.hero::after {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(255,255,255,.98) 0 38%, rgba(255,255,255,.78) 51%, rgba(255,255,255,.1) 70%);
  content: "";
}
.hero__photo {
  position: absolute;
  inset: 0 0 0 auto;
  width: 73%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}
.hero__area-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 10px 18px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  background: #fff;
  color: #348bd0;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}
.hero__area-badge svg { width: 20px; height: 20px; flex-shrink: 0; }
.hero__area-badge svg path { fill: currentColor; }
.hero__area-badge svg circle { fill: #fff; stroke: #fff; }

.hero__name {
  position: absolute;
  z-index: 3;
  top: 32px;
  left: 4%;
  display: grid;
  gap: 6px;
  color: var(--pink);
  font-family: "Zen Kaku Gothic New", sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}
.hero__name span { font-size: 18px; font-weight: 500; }
.hero__name strong { font-size: 32px; font-weight: 700; }

.hero__copy {
  position: relative;
  z-index: 2;
  max-width: 790px;
}
.hero h1 {
  margin: 0 0 34px;
  color: var(--navy);
  font-size: clamp(56px, 5.7vw, 82px);
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.52;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.hero-badges span {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  column-gap: 12px;
  min-width: 236px;
  min-height: 76px;
  border: 1px solid rgba(117, 174, 222, .34);
  border-radius: 12px;
  padding: 13px 18px;
  color: #2b7fb8;
  background: #fff;
  box-shadow: 0 12px 26px rgba(49, 86, 118, .09);
  font-weight: 700;
  letter-spacing: .04em;
  backdrop-filter: blur(10px);
}
.hero-badges span + span {
  color: #de6f96;
  border-color: rgba(239, 138, 170, .34);
  background: #fff;
}
.hero-badges i,
.hero-badges svg {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #5c99cc;
  background: var(--blue-soft);
}
.hero-badges span + span i,
.hero-badges span + span svg {
  color: #de6f96;
  background: var(--pink-soft);
}
.hero-badges svg {
  padding: 8px;
}
.hero-badges b {
  grid-column: 2;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.35;
}
.hero-badges small {
  grid-column: 2;
  color: #607a98;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .04em;
}

.section-heading {
  text-align: center;
  margin-bottom: 34px;
}
.section-heading p {
  margin: 0 0 8px;
  color: var(--blue);
  font-family: "Noto Serif JP", serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .22em;
}
.section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(34px, 3vw, 48px);
  font-weight: 500;
  letter-spacing: .08em;
}
.section-heading--left { text-align: left; }

.news-section {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  padding: 66px clamp(42px, 7vw, 112px);
  background: #fbfdff;
}
.news-section .section-heading { margin: 0; text-align: left; }
.news-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.news-list a {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 22px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  color: var(--navy);
}
.news-list time {
  color: #6b8dae;
  font-weight: 700;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid var(--navy);
  padding-bottom: 8px;
  color: var(--navy);
  white-space: nowrap;
  letter-spacing: .06em;
}
.text-link svg { width: 18px; height: 18px; }

.philosophy {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  padding: 90px clamp(50px, 9vw, 150px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,255,255,.98), rgba(255,255,255,.82), rgba(255,255,255,.15)),
    url("assets/contact-bg.png") center right / cover no-repeat;
  background-attachment: fixed, fixed;
}
.philosophy__inner { max-width: 850px; }
.philosophy h3,
.service-section > h3,
.recruit-entry h3,
.message-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(40px, 4.3vw, 64px);
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.58;
}
.philosophy p:not(.section-heading p),
.recruit-entry p,
.message-card p,
.contact-inner > p {
  color: var(--navy);
  font-family: "Noto Serif JP", serif;
  font-size: 20px;
  letter-spacing: .06em;
  line-height: 2.1;
}

.service-section {
  padding: 84px clamp(42px, 7vw, 112px) 92px;
  text-align: center;
  background: linear-gradient(180deg, #fbfdff, #fff);
}
.service-section > h3 { margin-bottom: 54px; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.service-grid article {
  min-height: 210px;
  border: 1px solid var(--line);
  border-top: 14px solid #d2e7f8;
  border-radius: 10px;
  display: grid;
  place-items: center;
  padding: 26px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(48,78,105,.08);
}
.service-grid article:nth-child(even) { border-top-color: #f7c2d4; }
.service-grid article:not(.service-feature) {
  grid-row: 2;
}
.service-grid svg {
  width: 52px;
  height: 52px;
  color: #75aede;
}
.service-grid h4 {
  margin: 12px 0 0;
  color: var(--navy);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: .08em;
}
.service-feature {
  grid-column: 1 / -1;
  grid-row: 1;
  grid-template-columns: minmax(320px, .82fr) minmax(0, 1.18fr);
  place-items: stretch;
  align-items: center;
  min-height: 310px;
  overflow: hidden;
  text-align: left;
}
.service-feature img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  border-radius: 6px;
}
.service-feature div { padding: 20px 28px; }
.service-feature p {
  margin: 0 0 10px;
  color: var(--pink);
  font-weight: 700;
  letter-spacing: .12em;
}
.service-feature span {
  display: block;
  margin-top: 12px;
  color: var(--navy);
}
.primary-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 330px;
  min-height: 68px;
  margin-top: 50px;
  border: 2px solid #348bd0;
  border-radius: 999px;
  color: var(--navy);
  background: #fff;
  font-size: 19px;
  letter-spacing: .08em;
}
.primary-outline svg { width: 20px; height: 20px; }

.recruit-entry {
  position: relative;
  display: grid;
  grid-template-columns: minmax(420px, .95fr) minmax(520px, 1.05fr);
  align-items: center;
  min-height: 610px;
  padding: 86px clamp(42px, 7vw, 112px);
  overflow: hidden;
  background: #fff;
}
.recruit-entry::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.98) 0 42%, rgba(255,255,255,.68) 58%, rgba(255,255,255,0) 78%);
  content: "";
}
.recruit-entry__copy {
  position: relative;
  z-index: 2;
}
.recruit-entry img {
  position: absolute;
  inset: 0 0 0 auto;
  width: 62%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.message-section {
  display: grid;
  grid-template-columns: minmax(0, 390px) minmax(0, 500px);
  justify-content: center;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
  padding: 86px clamp(42px, 7vw, 112px);
  background: #f8fbfe;
}
.message-section > img {
  width: 100%;
  aspect-ratio: 1 / 1.12;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(47,79,105,.12);
}
.message-card {
  border: 1px solid var(--line);
  border-top: 14px solid #f7c2d4;
  border-radius: 10px;
  padding: clamp(36px, 5vw, 64px);
  background: #fff;
}
.signature {
  margin-top: 32px;
  border-top: 3px solid #f3b7ca;
  padding-top: 24px;
}
.signature strong {
  display: inline-block;
  margin-top: 8px;
  font-size: 32px;
  font-weight: 500;
}

.office-section {
  position: relative;
  min-height: 720px;
  display: grid;
  place-items: center;
  padding: 96px clamp(42px, 7vw, 112px);
  overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,.34), rgba(255,255,255,.34)),
    url("assets/contact-bg.png") center / cover no-repeat;
  background-attachment: fixed, fixed;
}
.office-bg {
  display: none;
}
.office-table-card {
  position: relative;
  width: min(100%, 920px);
  border: 1px solid var(--line);
  border-top: 14px solid #d2e7f8;
  border-radius: 10px;
  padding: 54px clamp(34px, 5vw, 64px);
  background: #fff;
  box-shadow: 0 22px 54px rgba(49,80,105,.12);
}
.office-table {
  margin: 0;
  border-top: 1px solid var(--line);
}
.office-table div {
  display: grid;
  grid-template-columns: 190px 1fr;
  border-bottom: 1px solid var(--line);
}
.office-table dt,
.office-table dd {
  margin: 0;
  padding: 20px 24px;
}
.office-table dt {
  color: var(--navy);
  background: var(--blue-soft);
  font-weight: 700;
}
.office-table dd { color: var(--navy); }
.office-disclosure {
  margin-top: 34px;
  border-top: 1px solid var(--line);
  padding-top: 30px;
  text-align: center;
}
.office-disclosure h3 {
  margin: 0;
  color: var(--navy);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: .08em;
}
.office-disclosure p {
  margin: 12px auto 22px;
  color: var(--navy);
  font-size: 14px;
  line-height: 1.8;
}
.office-pdf-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.office-pdf-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  border: 1px solid #b9d5ec;
  border-radius: 999px;
  padding: 12px 18px;
  color: var(--navy);
  background: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
}
.office-pdf-list svg {
  width: 18px;
  height: 18px;
  color: #4c8fc7;
}

.contact-section {
  position: relative;
  min-height: 780px;
  display: grid;
  place-items: center;
  padding: 96px clamp(42px, 7vw, 112px);
  overflow: hidden;
}
.contact-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.72), rgba(255,255,255,.86)),
    url("assets/contact-bg.png") center / cover no-repeat;
}
.contact-inner {
  position: relative;
  width: min(100%, 980px);
  text-align: center;
}
.contact-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 36px;
  text-align: left;
}
.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 700;
}
.contact-form .full,
.contact-form button { grid-column: 1; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfe0ec;
  border-radius: 10px;
  padding: 15px 16px;
  background: #fff;
  color: var(--navy);
  font: inherit;
}
.contact-form button {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-width: min(100%, 390px);
  min-height: 66px;
  margin-top: 16px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #f88aae, #ed5e8b);
  box-shadow: 0 16px 34px rgba(227,91,132,.26);
  font-family: "Noto Serif JP", serif;
  font-size: 20px;
  letter-spacing: .08em;
  cursor: pointer;
}

@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; }
  .hero { min-height: 660px; padding: 78px 52px; }
  .hero h1 { font-size: 58px; }
  .hero__photo { width: 72%; opacity: .84; }
  .hero::after { background: linear-gradient(100deg, rgba(255,255,255,.99) 0 43%, rgba(255,255,255,.8) 58%, rgba(255,255,255,.12) 75%); }
  .news-section { grid-template-columns: 1fr; gap: 20px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-feature { grid-column: 1 / -1; }
  .service-grid article:not(.service-feature) { grid-row: auto; }
  .recruit-entry { grid-template-columns: 1fr; }
  .recruit-entry img { width: 58%; opacity: .72; }
  .message-section { grid-template-columns: 1fr; }
}

@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; }
  .hero { min-height: 720px; padding: 56px 28px; align-items: start; }
  .hero h1 { font-size: 44px; }
  .hero__photo { position: absolute; width: 100%; opacity: .45; }
  .hero::after { background: linear-gradient(180deg, rgba(255,255,255,.98) 0 54%, rgba(255,255,255,.56)); }
  .service-grid, .contact-form { grid-template-columns: 1fr; }
  .service-feature { grid-template-columns: 1fr; }
  .recruit-entry { padding: 64px 28px; }
  .recruit-entry img { width: 100%; opacity: .22; }
  .office-table div { grid-template-columns: 1fr; }
  .office-table dt, .office-table dd { padding: 16px 18px; }
}

/* Width and type refinement */
main,
section {
  width: 100%;
  max-width: none;
}
.site-header {
  width: 100%;
  max-width: none;
  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;
}
.hero,
.news-section .news-box {
  grid-template-columns: max-content minmax(0, 1fr) 54px;
}

.news-section .news-box > .section-heading {
  display: block;
  align-self: start;
  margin: 0;
  padding-top: 16px;
  text-align: left;
}

.news-section .section-heading h2 {
  margin: 0;
  color: #348bd0;
  font-size: 18px;
  line-height: 1.8;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .news-section .news-box { column-gap: 16px; }
  .news-section .news-list a { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .news-section .section-heading h2 { font-size: 16px; }
}

.news-section,
.philosophy,
.service-section,
.recruit-entry,
.message-section,
.office-section,
.contact-section {
  padding-inline: max(32px, calc((100vw - 976px) / 2));
}
.philosophy__inner,
.recruit-entry__copy,
.contact-inner {
  max-width: 976px;
}
.hero {
  padding-left: clamp(56px, 8vw, 154px);
  padding-right: clamp(32px, 5vw, 96px);
}
.hero__copy {
  max-width: min(58vw, 820px);
}
.news-section {
  grid-template-columns: 190px minmax(0, 1fr) auto;
}
.service-section > .section-heading,
.service-section > h3,
.service-grid,
.office-table-card,
.contact-inner {
  max-width: 976px;
}
.service-grid,
.message-section > img,
.message-card {
  margin-inline: auto;
}
.office-table-card,
.contact-inner {
  width: 100%;
}
.section-heading h2 {
  font-size: clamp(30px, 2.35vw, 40px);
}
.hero h1 {
  font-size: clamp(52px, 4.7vw, 72px);
}
.philosophy h3,
.service-section > h3,
.recruit-entry h3,
.message-card h3 {
  font-size: clamp(34px, 3.4vw, 48px);
}
.philosophy p:not(.section-heading p),
.recruit-entry p,
.message-card p,
.contact-inner > p {
  font-size: 17px;
}
.service-grid h4 {
  font-size: 20px;
}
.signature strong {
  font-size: 28px;
}

@media (max-width: 1180px) {
  .site-header,
  .hero,
  .news-section,
  .philosophy,
  .service-section,
  .recruit-entry,
  .message-section,
  .office-section,
  .contact-section {
    padding-inline: 32px;
  }
  .hero h1 {
    font-size: 50px;
  }
}

/* Top news section layout */
.news-section {
  display: block;
  padding-block: clamp(64px, 6vw, 78px) 88px;
  background:
    radial-gradient(circle at 15% 8%, rgba(126, 178, 223, 0.12), transparent 28%),
    #fff;
  text-align: center;
}
.news-box {
  width: min(100%, 976px);
  margin-inline: auto;
  border: 1px solid rgba(207, 221, 235, .9);
  border-radius: 18px;
  padding: 48px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(48, 82, 112, .08);
}
.news-section .section-heading {
  display: grid;
  justify-items: center;
  gap: 20px;
  margin: 0 0 36px;
}
.news-section .section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(30px, 2.6vw, 42px);
  font-weight: 500;
  letter-spacing: 0.08em;
}
.heading-ornament {
  position: relative;
  display: block;
  width: 152px;
  height: 12px;
  background: radial-gradient(circle at 50% 50%, var(--pink) 0 4px, transparent 5px);
}
.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);
}
.news-section .news-list {
  width: 100%;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.news-section .news-list a {
  display: grid;
  grid-template-columns: 135px 112px minmax(0, 1fr) 28px;
  align-items: center;
  min-height: 82px;
  gap: 22px;
  border-bottom: 1px solid var(--line);
  padding: 0;
  color: var(--navy);
  text-align: left;
  transition:
    background 180ms ease,
    padding 180ms ease;
}
.news-row:hover {
  padding-left: 14px;
  background: rgba(231, 242, 251, 0.48);
}
.news-row time {
  color: var(--navy);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
}
.category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 112px;
  min-height: 34px;
  border-radius: 0;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
}
.category-pink {
  color: #e36f91;
  background: var(--pink-soft);
}
.category-blue {
  color: #397fb6;
  background: var(--blue-soft);
}
.news-title {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.news-row svg {
  width: 22px;
  height: 22px;
  justify-self: end;
  color: var(--navy);
}
.news-section .text-link {
  margin-top: 34px;
}

@media (max-width: 760px) {
  .news-box {
    padding: 32px 22px;
  }
  .news-section .news-list a {
    grid-template-columns: 1fr 28px;
    gap: 4px;
    text-align: left;
  }
  .news-row time,
  .category,
  .news-title {
    grid-column: 1;
  }
  .news-row svg {
    grid-column: 2;
    grid-row: 1 / span 3;
  }
}

/* Overall type scale down */
.brand-name {
  font-size: 18px;
}
.global-nav {
  font-size: 14px;
}
.hero h1 {
  font-size: clamp(38px, 3.6vw, 54px);
  line-height: 1.48;
}
.hero-badges span {
  min-height: 72px;
  padding: 12px 16px;
}
.section-heading p,
.news-section .section-heading p {
  font-size: 15px;
}
.section-heading h2,
.news-section .section-heading h2 {
  font-size: clamp(26px, 2.2vw, 34px);
}
.philosophy h3,
.service-section > h3,
.recruit-entry h3,
.message-card h3 {
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 1.62;
}
.philosophy p:not(.section-heading p),
.recruit-entry p,
.message-card p,
.contact-inner > p,
.office-table dt,
.office-table dd,
.service-feature span {
  font-size: 15px;
}
.service-grid h4 {
  font-size: 17px;
}
.service-feature h4 {
  font-size: 19px;
}
.service-feature p,
.news-title,
.news-row time {
  font-size: 17px;
}
.category {
  font-size: 13px;
}
.primary-outline,
.text-link,
.contact-form button {
  font-size: 16px;
}
.signature strong {
  font-size: 24px;
}

@media (max-width: 1180px) {
  .hero h1 {
    font-size: 38px;
  }
}

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

/* Contact form: force single column */
.contact-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.contact-form > * {
  grid-column: 1 / -1;
  width: 100%;
}

/* Humanized visual pass: keep the tone, loosen the AI-perfect grid. */
body {
  background:
    linear-gradient(90deg, rgba(126, 178, 223, .045) 1px, transparent 1px),
    linear-gradient(#f7fafc, #f2f7fb);
  background-size: 52px 52px, auto;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
}

h1, h2, h3, h4, .brand-name, .signature {
  font-family: "Shippori Mincho", "Noto Serif JP", serif;
}

.global-nav, .text-link, .primary-outline {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
}

.site-header {
  height: 92px;
  border-bottom: 1px solid rgba(216, 230, 241, .65);
}

.brand-name {
  font-size: clamp(18px, 1.45vw, 23px);
  letter-spacing: .045em;
}

.global-nav {
  font-size: 14px;
  letter-spacing: .035em;
}

.hero {
  min-height: clamp(650px, 56vw, 790px);
  padding-top: 74px;
  background:
    linear-gradient(180deg, #fff 0%, #fbfdff 100%);
}

.hero::before {
  position: absolute;
  right: clamp(18px, 4vw, 62px);
  bottom: 44px;
  z-index: 1;
  width: min(40vw, 470px);
  height: min(18vw, 210px);
  border: 1px solid rgba(127, 178, 223, .28);
  content: "";
}

.hero::after {
  background:
    linear-gradient(98deg, rgba(255,255,255,.99) 0 35%, rgba(255,255,255,.78) 52%, rgba(255,255,255,.24) 68%, rgba(255,255,255,0) 100%);
}

.hero__photo {
  top: 40px;
  right: clamp(0px, 4vw, 54px);
  width: min(66%, 920px);
  height: calc(100% - 82px);
  border-radius: 0 0 0 54px;
  object-position: 63% center;
  box-shadow: -24px 24px 0 rgba(233, 244, 251, .82);
}

.hero h1 {
  max-width: 690px;
  margin-bottom: 30px;
  font-size: clamp(40px, 3.4vw, 58px);
  letter-spacing: .06em;
  line-height: 1.68;
}

.hero-badges {
  gap: 10px;
  transform: translateX(16px);
}

.hero-badges span {
  min-width: 218px;
  border-radius: 4px 16px 16px 4px;
  box-shadow: 8px 12px 0 rgba(216, 230, 241, .32);
}

.news-section {
  padding-top: 74px;
  background:
    linear-gradient(180deg, #f7fbfe 0%, #fff 58%),
    radial-gradient(circle at 18% 10%, rgba(239, 138, 170, .08), transparent 30%);
}

.news-box {
  position: relative;
  border-radius: 6px;
  padding: 44px clamp(30px, 5vw, 58px);
  box-shadow: 0 16px 0 rgba(233, 244, 251, .76);
}

.news-box::before {
  position: absolute;
  top: -18px;
  left: clamp(22px, 6vw, 74px);
  width: 116px;
  height: 5px;
  background: var(--pink);
  content: "";
}

.news-section .section-heading {
  justify-items: start;
  text-align: left;
}

.heading-ornament {
  width: 108px;
}

.news-section .news-list a {
  grid-template-columns: 125px 104px minmax(0, 1fr) 24px;
  min-height: 76px;
}

.category {
  border-radius: 3px;
}

.philosophy {
  min-height: 580px;
  align-items: end;
  padding-bottom: 118px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.98), rgba(255,255,255,.78) 54%, rgba(255,255,255,.18)),
    url("assets/contact-bg.png") 78% center / cover no-repeat;
  background-attachment: fixed, fixed;
}

.philosophy__inner {
  max-width: 720px;
  padding-left: clamp(0px, 3vw, 42px);
}

.philosophy h3,
.service-section > h3,
.recruit-entry h3,
.message-card h3 {
  letter-spacing: .055em;
  line-height: 1.76;
}

.service-section {
  padding-top: 92px;
  background:
    linear-gradient(180deg, #fff, #f9fcfe 50%, #fff);
}

.service-section > .section-heading {
  text-align: left;
}

.service-section > h3 {
  max-width: 976px;
  margin-inline: auto;
  text-align: left;
}

.service-grid {
  grid-template-columns: 1.08fr .92fr .92fr 1.08fr;
  gap: 14px;
}

.service-grid article {
  min-height: 184px;
  border-top-width: 8px;
  border-radius: 5px;
  box-shadow: 8px 12px 0 rgba(216, 230, 241, .48);
}

.service-grid article:nth-child(2),
.service-grid article:nth-child(5) {
  transform: translateY(14px);
}

.service-grid article:nth-child(3) {
  transform: translateY(-4px);
}

.service-feature {
  grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr);
  min-height: 286px;
}

.service-feature img {
  border-radius: 0;
  object-position: 42% center;
}

.service-feature div {
  padding: 24px 38px;
}

.primary-outline {
  min-width: 276px;
  min-height: 58px;
  border-width: 1px;
  border-radius: 4px 999px 999px 4px;
  font-weight: 700;
}

.recruit-entry {
  min-height: 590px;
  padding-block: 74px 92px;
}

.recruit-entry::after {
  background: linear-gradient(90deg, rgba(255,255,255,.99) 0 37%, rgba(255,255,255,.76) 55%, rgba(255,255,255,.12) 76%);
}

.recruit-entry img {
  right: clamp(0px, 5vw, 72px);
  width: min(56%, 780px);
  height: calc(100% - 80px);
  top: 40px;
  border-radius: 44px 0 0 0;
  object-position: 58% center;
}

.message-section {
  grid-template-columns: minmax(0, 410px) minmax(0, 470px);
  align-items: end;
  background:
    linear-gradient(90deg, #f6fbfe 0 50%, #fff 50% 100%);
}

.message-section > img {
  aspect-ratio: 1 / 1.18;
  border-radius: 4px;
  transform: translateY(-28px);
  box-shadow: 14px 18px 0 rgba(216, 230, 241, .7);
}

.message-card,
.office-table-card {
  border-radius: 5px;
  border-top-width: 8px;
  box-shadow: 12px 16px 0 rgba(216, 230, 241, .62);
}

.message-card {
  transform: translateY(30px);
}

.office-section {
  background:
    linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,.78)),
    url("assets/contact-bg.png") 58% center / cover no-repeat;
  background-attachment: fixed, fixed;
}

.office-table-card {
  width: min(100%, 880px);
  margin-left: clamp(0px, 7vw, 108px);
}

.office-pdf-list a,
.contact-form input,
.contact-form textarea {
  border-radius: 4px;
}

.contact-inner {
  width: min(100%, 860px);
  margin-inline: auto;
}

.contact-form button {
  border-radius: 4px 999px 999px 4px;
  background: #ed6b98;
  box-shadow: 8px 12px 0 rgba(247, 194, 212, .55);
}

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

  .hero {
    min-height: 690px;
    padding: 48px 24px 56px;
  }

  .hero::before {
    display: none;
  }

  .hero__photo {
    top: auto;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 58%;
    border-radius: 30px 0 0 0;
    opacity: .5;
    box-shadow: none;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(255,255,255,.98) 0 48%, rgba(255,255,255,.72) 67%, rgba(255,255,255,.34));
  }

  .hero-badges {
    transform: none;
  }

  .news-section .section-heading,
  .service-section > .section-heading,
  .service-section > h3 {
    text-align: left;
  }

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

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

  .service-grid article:nth-child(n) {
    transform: none;
  }

  .recruit-entry img {
    top: auto;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 58%;
    opacity: .28;
    border-radius: 30px 0 0 0;
  }

  .message-section {
    grid-template-columns: minmax(0, 1fr);
    background: #f6fbfe;
  }

  .message-section > img,
  .message-card,
  .office-table-card,
  .contact-inner {
    margin-inline: 0;
    transform: none;
  }
}

@media (max-width: 760px) {
  .site-header,
  .hero,
  .news-section,
  .philosophy,
  .service-section,
  .recruit-entry,
  .message-section,
  .office-section,
  .contact-section {
    padding-inline: 22px;
  }

  .brand-name {
    font-size: 13px;
    letter-spacing: .025em;
  }

  .global-nav {
    gap: 18px;
    font-size: 12px;
  }

  .global-nav .nav-contact {
    min-height: 36px;
    padding: 7px 14px 8px;
  }

  .hero h1 {
    font-size: 34px;
    line-height: 1.62;
  }

  .hero__copy {
    max-width: 100%;
  }

  .hero-badges span {
    width: min(100%, 270px);
    min-width: 0;
  }

  .news-box {
    padding: 30px 22px;
  }

  .philosophy h3,
  .service-section > h3,
  .recruit-entry h3,
  .message-card h3 {
    font-size: 25px;
    line-height: 1.72;
  }

  .service-feature div {
    padding: 24px 20px 28px;
  }

  .service-grid article {
    min-height: 150px;
  }

  .message-card {
    padding: 34px 26px;
  }

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

  .primary-outline {
    min-width: min(100%, 260px);
  }
}

/* DESIGN.md JP reference pass:
   Ubie: rounded medical gothic, wide line-height, flat healthcare surfaces.
   Digital Agency: readable type, 44px+ tap targets, restrained focusable UI.
   cotogoto: quiet editorial spacing, weak shadows, low-radius paper surfaces. */
body {
  color: #2f4968;
  background:
    linear-gradient(#fbfdff, #f5f9fc);
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 16px;
  letter-spacing: .035em;
  line-height: 1.82;
  line-break: strict;
  word-break: normal;
  overflow-wrap: anywhere;
}

h1,
.philosophy h3,
.service-section > h3,
.recruit-entry h3,
.message-card h3 {
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  font-weight: 500;
}

h2,
h4,
.brand-name,
.signature {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
}

.section-heading p,
.recruit-entry .section-heading p,
.message-section .section-heading p {
  color: var(--pink);
  font-family: "Open Sans", "Zen Kaku Gothic New", sans-serif;
  font-size: 14px;
  letter-spacing: .14em;
}

.section-heading h2 {
  font-weight: 700;
  letter-spacing: .04em;
}

.site-header {
  height: 86px;
  box-shadow: 0 2px 10px rgba(23, 52, 95, .08);
}

.hero {
  min-height: clamp(640px, 54vw, 760px);
  padding-top: 68px;
}

.hero__copy {
  max-width: min(56vw, 700px);
}

.hero h1 {
  max-width: 620px;
  font-size: clamp(38px, 3.1vw, 52px);
  letter-spacing: .05em;
  line-height: 1.62;
}

.hero__photo {
  top: 54px;
  right: max(18px, calc((100vw - 1180px) / 2));
  width: min(61vw, 780px);
  height: calc(100% - 118px);
  border-radius: 8px;
  box-shadow: none;
}

.hero::before {
  right: max(38px, calc((100vw - 1030px) / 2));
  bottom: 70px;
  width: min(35vw, 420px);
  height: 180px;
  border-color: rgba(239, 138, 170, .25);
  transform: translate(22px, 22px);
}

.hero-badges {
  gap: 12px;
  transform: translateX(10px);
}

.hero-badges span {
  min-height: 72px;
  border-radius: 8px;
  box-shadow: none;
}

.hero-badges b,
.hero-badges small {
  letter-spacing: .035em;
}

.news-box,
.service-grid article,
.message-card,
.office-table-card {
  border-radius: 8px;
  box-shadow: none;
}

.news-box {
  max-width: 900px;
  border-color: rgba(156, 160, 168, .32);
  transform: translateX(-28px);
}

.news-section .news-list a {
  min-height: 72px;
}

.news-row:hover {
  padding-left: 10px;
}

.category {
  min-height: 30px;
  border-radius: 16px;
  font-size: 13px;
}

.philosophy {
  height: auto;
  min-height: 0;
  padding-top: 120px;
  padding-bottom: 120px;
  background: url("assets/philosophy-seaside.png") center bottom / cover no-repeat;
  background-attachment: fixed;
}

.philosophy__inner {
  max-width: 650px;
  transform: translateX(24px);
}

.philosophy h3,
.service-section > h3,
.recruit-entry h3,
.message-card h3 {
  font-size: clamp(28px, 2.55vw, 38px);
  letter-spacing: .045em;
  line-height: 1.74;
}

.philosophy p:not(.section-heading p),
.recruit-entry p,
.message-card p,
.contact-inner > p,
.service-feature span,
.office-table dd {
  color: #3d5573;
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: .035em;
}

.service-section {
  padding-top: 82px;
}

.service-section > .section-heading,
.service-section > h3 {
  width: min(100%, 900px);
}

.service-grid {
  width: min(100%, 900px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-feature {
  grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
  min-height: 270px;
  border-top-width: 6px;
  transform: translateX(28px);
}

.service-feature img {
  min-height: 230px;
  object-position: 38% center;
}

.service-grid article:not(.service-feature) {
  min-height: 158px;
  border-top-width: 6px;
  padding: 22px 18px;
}

.service-grid article:nth-child(2),
.service-grid article:nth-child(5) {
  transform: translateY(12px);
}

.service-grid article:nth-child(4) {
  transform: translateY(-8px);
}

.service-grid svg {
  width: 42px;
  height: 42px;
}

.service-grid h4 {
  font-size: 16px;
  font-weight: 700;
}

.primary-outline {
  min-height: 52px;
  border-color: #6fa9d8;
  border-radius: 12px;
  box-shadow: none;
}

.recruit-entry {
  min-height: 560px;
}

.recruit-entry__copy {
  max-width: 500px;
  transform: translateX(18px);
}

.recruit-entry img {
  top: 54px;
  right: max(20px, calc((100vw - 1110px) / 2));
  width: min(52vw, 660px);
  height: calc(100% - 108px);
  border-radius: 8px;
}

.message-section {
  grid-template-columns: minmax(0, 360px) minmax(0, 480px);
  gap: clamp(46px, 7vw, 92px);
}

.message-section > img {
  border-radius: 8px;
  box-shadow: none;
  transform: translateY(-18px) translateX(-18px);
}

.message-card {
  padding: clamp(34px, 4.2vw, 56px);
  transform: translateY(34px);
}

.signature {
  border-top-width: 1px;
}

.office-table-card {
  border-top-width: 6px;
}

.office-table dt {
  color: #17345f;
}

.office-pdf-list a,
.contact-form input,
.contact-form textarea {
  min-height: 44px;
  border-radius: 8px;
}

.contact-form button {
  min-height: 56px;
  border-radius: 8px;
  box-shadow: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #17345f;
  outline-offset: 3px;
  box-shadow: 0 0 0 2px #ffd43d;
}

@media (max-width: 900px) {
  .hero__copy,
  .service-section > .section-heading,
  .service-section > h3,
  .service-grid,
  .philosophy__inner,
  .recruit-entry__copy {
    max-width: 100%;
    width: 100%;
    transform: none;
  }

  .news-box,
  .service-feature {
    transform: none;
  }

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

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

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

@media (max-width: 760px) {
  body {
    font-size: 15px;
  }

  .site-header {
    height: auto;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .hero {
    min-height: 650px;
  }

  .hero h1 {
    font-size: 32px;
    line-height: 1.62;
  }

  .philosophy h3,
  .service-section > h3,
  .recruit-entry h3,
  .message-card h3 {
    font-size: 24px;
    line-height: 1.7;
  }

  .philosophy p:not(.section-heading p),
  .recruit-entry p,
  .message-card p,
  .contact-inner > p,
  .service-feature span,
  .office-table dd {
    font-size: 15px;
    line-height: 1.85;
  }

  .news-section .news-list a {
    min-height: 86px;
  }

  .message-section > img {
    transform: none;
  }

  .message-card {
    transform: none;
  }
}
.contact-form label {
  display: grid;
  grid-column: 1 / -1;
  width: 100%;
  max-width: none;
}

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

/* Top page typography and section refinements */
.section-heading h2 {
  font-family: "Zen Kaku Gothic New", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 500;
  font-size: clamp(24px, 2vw, 30px);
}
.philosophy h3,
.service-section > h3,
.recruit-entry h3,
.message-card h3 {
  font-family: "Shippori Mincho", serif;
  font-weight: 500;
}
.news-section .heading-ornament {
  display: none;
}
.news-box::before {
  display: none;
}
.news-section .text-link {
  border-bottom: 0;
  padding-bottom: 0;
}
.recruit-entry {
  background:
    url("assets/recruit-visit-photo.png") center right / cover no-repeat;
}
.recruit-entry::after {
  background: rgba(255, 255, 255, .3);
  pointer-events: none;
}
.recruit-entry img {
  display: none;
}
.global-nav {
  font-family: "Zen Kaku Gothic New", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 500;
}

/* Top hero: image-right layout with overlapping news */
.hero {
  position: relative;
  display: block;
  height: 85svh;
  min-height: 0;
  padding: 0;
  overflow: visible;
  background: #fff;
}

.hero::before {
  display: none;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,.98) 0 20%, rgba(255,255,255,.68) 34%, rgba(255,255,255,.08) 58%, rgba(255,255,255,0) 100%);
}

.hero__photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: auto;
  left: auto;
  width: 75%;
  height: calc(100% - 74px);
  object-fit: cover;
  object-position: center 40%;
  opacity: 1;
  border-radius: 0 0 0 8px;
  box-shadow: none;
}

.hero__copy {
  position: absolute;
  z-index: 2;
  left: clamp(48px, 7vw, 132px);
  bottom: clamp(124px, 13vw, 178px);
  width: min(760px, 58vw);
  max-width: none;
}

.hero h1 {
  display: grid;
  gap: 10px;
  max-width: none;
  margin: 0;
  color: var(--navy);
  font-family: "Shippori Mincho", serif;
  font-size: clamp(34px, 3.45vw, 54px);
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: .07em;
}

.hero h1 span {
  display: block;
  width: max-content;
  max-width: 100%;
  padding: .04em .26em .12em;
  background: #fff;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hero-badges {
  margin-top: 22px;
  gap: 10px;
  transform: none;
}

.hero-badges span {
  min-width: 196px;
  min-height: 58px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(46, 79, 108, .08);
}

.hero-badges small {
  display: none;
}

.news-section {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: none;
  margin: -112px 0 0;
  padding: 0 0 72px clamp(28px, 5vw, 72px);
  background: transparent;
  isolation: isolate;
}

.news-section::before {
  content: "";
  position: absolute;
  inset: 38px 0 0;
  z-index: -1;
  pointer-events: none;
  background: url("assets/philosophy-seaside.png") center bottom / cover no-repeat fixed;
}

@media (max-width: 1180px) {
  .news-section::before { top: 30px; }
}

.news-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px;
  align-items: center;
  column-gap: 30px;
  width: 85vw;
  max-width: none;
  margin: 0 0 0 auto;
  padding: 36px clamp(34px, 4vw, 56px);
  border: 1px solid rgba(190, 215, 235, .68);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(48, 82, 112, .12);
  transform: none;
}

.news-box .section-heading {
  display: none;
}

.news-section .news-list {
  margin: 0;
  border-top: 0;
}

.news-section .news-list a {
  grid-template-columns: 112px 88px minmax(0, 1fr) 24px;
  min-height: 62px;
  gap: 14px;
  padding: 16px 0;
}

.news-section .text-link {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  justify-content: flex-end;
  margin: 0;
  border: 1px solid var(--blue);
  border-radius: 999px;
  color: var(--blue);
  background: #fff;
  font-size: 0;
}

.news-section .text-link svg {
  width: 21px;
  height: 21px;
  stroke-width: 1.8;
}

.news-section .text-link:hover {
  color: #fff;
  background: var(--blue);
  transform: translateX(2px);
}

@media (max-width: 1180px) {
  .hero {
  height: 85svh;
    min-height: 0;
  }

  .hero__photo {
    width: 75%;
    height: calc(100% - 74px);
  }

  .hero__copy {
    left: 48px;
    bottom: 142px;
    width: 62vw;
  }

  .hero h1 {
    font-size: clamp(32px, 4vw, 42px);
  }

  .news-box {
    width: 85vw;
    padding: 30px 34px;
    column-gap: 22px;
  }

  .news-section {
    margin-top: -104px;
  }

  .news-section .news-list a {
    grid-template-columns: 104px 82px minmax(0, 1fr) 22px;
  }
}

/* Top news final layout */
.news-section .news-box {
  border-radius: 0 !important;
  border: 0;
}

.news-section .news-list a {
  grid-template-columns: 142px minmax(0, 1fr);
}

.news-section .news-row svg {
  display: none;
}

.news-section .news-arrow-link,
.news-section .news-arrow-link:visited {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  width: 54px;
  min-width: 54px;
  height: 54px;
  min-height: 54px;
  padding: 0;
  line-height: 1;
  border: 1px solid var(--blue);
  border-radius: 50%;
}

.news-section .news-arrow-link svg {
  display: block;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin: 0;
}

@media (max-width: 1180px) {
  .news-section .news-list a {
    grid-template-columns: 126px minmax(0, 1fr);
  }
}

.news-section,
.news-section .news-title,
.news-section time {
  font-family: "Zen Kaku Gothic New", -apple-system, BlinkMacSystemFont, sans-serif;
}

.philosophy .philosophy__inner {
  width: 100%;
  max-width: 976px;
  margin-inline: auto;
  padding-inline: 0;
  transform: none;
  text-align: center;
}

.philosophy .philosophy__inner h3,
.philosophy .philosophy__inner > p:not(.section-heading p) {
  color: #fff;
  text-shadow: 0 2px 6px rgba(15, 40, 58, .55), 0 4px 16px rgba(15, 40, 58, .3);
}

.news-section .news-box .section-heading h2 {
  font-size: 16px;
  color: var(--blue);
}

.recruit-entry .section-heading > p {
  color: var(--blue);
}

.recruit-entry .primary-outline {
  border-color: var(--pink);
  color: var(--pink);
}

main section .section-heading > p {
  color: var(--blue);
}

main section .primary-outline,
main .news-section .news-arrow-link,
main .news-section .news-arrow-link:visited,
main .office-pdf-list a,
main .contact-form button,
.site-header .global-nav .nav-contact {
  color: var(--pink);
  border: 1px solid var(--pink);
  background: #fff;
}

main section .primary-outline:hover,
main .news-section .news-arrow-link:hover,
main .office-pdf-list a:hover,
main .contact-form button:hover,
.site-header .global-nav .nav-contact:hover {
  color: var(--pink);
  background: var(--pink-soft);
}

main .office-pdf-list a svg,
main .contact-form button svg,
main section .primary-outline svg {
  color: inherit;
}

main > .office-section {
  background: #fff;
  isolation: isolate;
  padding-inline: max(24px, calc((100% - 976px) / 2));
  grid-template-columns: minmax(0, 1fr);
}

.office-section > .office-bg {
  display: block;
  position: absolute;
  inset: -8px;
  z-index: -1;
  background: url("assets/office-building.png") center / cover no-repeat fixed;
  filter: blur(3px);
  pointer-events: none;
}

.office-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(102, 102, 102, .2);
  pointer-events: none;
  z-index: 0;
}

.office-section > .office-table-card {
  z-index: 1;
  width: 100%;
  max-width: 976px;
  margin: 0 auto;
  transform: none;
  border-top: 0;
  justify-self: center;
}

main .contact-form button,
main .contact-form button:hover {
  background: var(--pink);
  border-color: var(--pink);
  color: #fff;
}
