:root {
  --ink: #102827;
  --ink-soft: #435b59;
  --green: #073f3b;
  --green-bright: #0d655e;
  --cyan: #26a9a2;
  --gold: #d7a945;
  --white: #ffffff;
  --mist: #f2f7f6;
  --line: #dce7e5;
  --header-height: 84px;
  --content: 1180px;
  --shadow: 0 18px 50px rgba(16, 40, 39, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 8px 14px;
  color: var(--white);
  background: var(--green);
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid rgba(7, 63, 59, 0.12);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(calc(100% - 48px), var(--content));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 218px;
}

.brand img {
  width: 46px;
  height: 46px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 10px;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  position: relative;
  padding: 28px 0 25px;
  color: #294441;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-left: 22px;
  border-left: 1px solid var(--line);
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  white-space: nowrap;
}

.phone-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  color: var(--green);
  background: transparent;
  cursor: pointer;
}

.menu-button span,
.menu-button::before,
.menu-button::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-button[aria-expanded="true"] span {
  opacity: 0;
}

.menu-button[aria-expanded="true"]::before {
  transform: translateY(7px) rotate(45deg);
}

.menu-button[aria-expanded="true"]::after {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: min(780px, calc(100vh - var(--header-height)));
  display: grid;
  align-items: center;
  overflow: hidden;
  background-color: #eef7f8;
  background-image: url("assets/hero-medical-one.jpg");
  background-position: center center;
  background-size: cover;
}

.hero-inner {
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto;
  padding: 92px 0 126px;
}

.hero-copy {
  width: min(610px, 52%);
}

.hero h1 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(42px, 4vw, 58px);
  font-weight: 500;
  line-height: 1.38;
  letter-spacing: 0;
  white-space: nowrap;
}

.hero p {
  max-width: 490px;
  margin: 28px 0 0;
  color: #294441;
  font-size: 17px;
  line-height: 2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 24px;
  border: 1px solid var(--green);
  border-radius: 4px;
  color: var(--white);
  background: var(--green);
  font-size: 14px;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.button:hover {
  color: var(--green);
  background: var(--white);
  transform: translateY(-2px);
}

.button-secondary {
  color: var(--green);
  background: rgba(255, 255, 255, 0.86);
}

.button-secondary:hover {
  color: var(--white);
  background: var(--green);
}

.arrow {
  font-size: 18px;
  line-height: 1;
}

.hero-note {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  border-top: 1px solid rgba(7, 63, 59, 0.16);
  background: rgba(255, 255, 255, 0.9);
}

.hero-note-inner {
  width: min(calc(100% - 48px), var(--content));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--ink-soft);
  font-size: 13px;
}

.hero-note strong {
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.section {
  padding: 112px 0;
}

.section-muted {
  background: var(--mist);
}

.section-dark {
  color: var(--white);
  background: var(--green);
}

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

.section-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
  gap: 70px;
  margin-bottom: 68px;
  align-items: start;
}

.section-heading h2,
.page-heading h1,
.content-title {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0;
}

.section-heading h2 {
  font-size: clamp(34px, 4vw, 50px);
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
}

.section-dark .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.business-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.business-item {
  min-height: 300px;
  padding: 38px 34px 42px;
  border-right: 1px solid var(--line);
}

.business-item:last-child {
  border-right: 0;
}

.business-number {
  color: var(--cyan);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
}

.business-item h3 {
  min-height: 66px;
  margin: 48px 0 16px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 23px;
  font-weight: 500;
  line-height: 1.5;
}

.business-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.business-item a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--green-bright);
  font-size: 13px;
  font-weight: 700;
}

.business-list-five {
  grid-template-columns: repeat(6, 1fr);
}

.business-list-five .business-item {
  grid-column: span 2;
}

.business-list-five .business-item:nth-child(3) {
  border-right: 0;
}

.business-list-five .business-item:nth-child(n + 4) {
  grid-column: span 3;
  border-top: 1px solid var(--line);
}

.philosophy-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 94px;
  align-items: center;
}

.philosophy-mark {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #e5f2f0;
}

.philosophy-mark::before,
.philosophy-mark::after {
  content: "";
  position: absolute;
  background: rgba(7, 63, 59, 0.1);
}

.philosophy-mark::before {
  width: 1px;
  height: 100%;
}

.philosophy-mark::after {
  width: 100%;
  height: 1px;
}

.philosophy-mark img {
  position: relative;
  z-index: 1;
  width: 36%;
  filter: drop-shadow(0 20px 28px rgba(7, 63, 59, 0.18));
}

.philosophy-copy h2 {
  margin: 0 0 28px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.55;
}

.philosophy-copy p {
  margin: 0;
  color: var(--ink-soft);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  color: var(--green-bright);
  font-size: 13px;
  font-weight: 700;
}

.compliance-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}

.compliance-strip h2 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.55;
}

.compliance-strip p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.compliance-strip .text-link {
  color: var(--white);
}

.company-summary {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 80px;
}

.company-summary h2 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 500;
}

.definition-list {
  margin: 0;
  border-top: 1px solid var(--line);
}

.definition-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.definition-row dt {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
}

.definition-row dd {
  margin: 0;
}

.contact-band {
  padding: 74px 0;
  color: var(--ink);
  background: #dff3f1;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}

.contact-layout h2 {
  margin: 0 0 12px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 500;
}

.contact-layout p {
  margin: 0;
  color: var(--ink-soft);
}

.contact-phone {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 46px);
  white-space: nowrap;
}

.contact-phone .phone-icon {
  width: 30px;
  height: 30px;
}

.site-footer {
  padding: 64px 0 30px;
  color: rgba(255, 255, 255, 0.76);
  background: #0a2927;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-brand .brand-copy strong,
.footer-brand .brand-copy small {
  color: var(--white);
}

.footer-address {
  margin: 22px 0 0;
  font-size: 13px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 10px 36px;
  align-content: start;
}

.footer-nav a {
  padding: 7px 0;
  font-size: 13px;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 11px;
}

.page-hero {
  padding: 96px 0 76px;
  border-bottom: 1px solid var(--line);
  background: var(--mist);
}

.page-heading {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: end;
}

.page-heading h1 {
  font-size: clamp(44px, 6vw, 70px);
}

.page-heading p {
  max-width: 580px;
  margin: 0;
  color: var(--ink-soft);
}

.page-index {
  color: var(--cyan);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  letter-spacing: 0.14em;
}

.lead-copy {
  max-width: 900px;
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.7;
}

.content-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 90px;
}

.content-title {
  font-size: 34px;
}

.content-copy p:first-child {
  margin-top: 0;
}

.content-copy p {
  color: var(--ink-soft);
}

.principle-list,
.service-detail-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.principle-list li,
.service-detail {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 32px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.principle-list strong,
.service-detail > strong {
  color: var(--cyan);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-weight: 500;
}

.principle-list h3,
.service-detail h2 {
  margin: 0 0 12px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 27px;
  font-weight: 500;
}

.principle-list p,
.service-detail p {
  margin: 0;
  color: var(--ink-soft);
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.quality-item {
  padding: 38px 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quality-item:nth-child(3n) {
  border-right: 0;
}

.quality-item h2 {
  margin: 0 0 18px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 23px;
  font-weight: 500;
}

.quality-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.notice {
  margin-top: 54px;
  padding: 24px 28px;
  border-left: 3px solid var(--gold);
  background: #faf8f1;
  color: #5a5137;
  font-size: 13px;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table th,
.company-table td {
  padding: 22px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.company-table th {
  width: 220px;
  color: var(--ink-soft);
  font-size: 13px;
}

.company-table td ul {
  margin: 0;
  padding-left: 1.3em;
}

.map-link {
  color: var(--green-bright);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.privacy-copy {
  max-width: 880px;
}

.privacy-copy h2 {
  margin: 54px 0 14px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 25px;
  font-weight: 500;
}

.privacy-copy h2:first-child {
  margin-top: 0;
}

.privacy-copy p,
.privacy-copy li {
  color: var(--ink-soft);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 72px;
  }

  .header-inner {
    width: min(calc(100% - 32px), var(--content));
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand-copy strong {
    font-size: 17px;
  }

  .menu-button {
    display: block;
  }

  .nav-wrap {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 90;
    width: 100%;
    height: calc(100dvh - var(--header-height));
    padding: 42px 24px;
    display: block;
    overflow-y: auto;
    background: var(--white);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .nav-wrap.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav {
    display: block;
  }

  .site-nav a {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 17px;
  }

  .site-nav a::after {
    display: none;
  }

  .header-phone {
    margin-top: 32px;
    padding: 0;
    border-left: 0;
    font-size: 28px;
  }

  .hero {
    min-height: 700px;
    background-position: 58% center;
  }

  .hero-inner,
  .hero-note-inner,
  .container {
    width: min(calc(100% - 32px), var(--content));
  }

  .hero-copy {
    width: min(580px, 55%);
  }

  .section-heading,
  .philosophy-layout,
  .compliance-strip,
  .company-summary,
  .page-heading,
  .content-grid {
    gap: 50px;
  }

  .business-item {
    padding: 32px 22px 36px;
  }

  .business-list-five {
    grid-template-columns: repeat(2, 1fr);
  }

  .business-list-five .business-item,
  .business-list-five .business-item:nth-child(n + 4) {
    grid-column: span 1;
  }

  .business-list-five .business-item:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .business-list-five .business-item:nth-child(even) {
    border-right: 0;
  }

  .business-list-five .business-item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .business-list-five .business-item:last-child {
    grid-column: 1 / -1;
    border-right: 0;
  }

  .quality-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quality-item:nth-child(3n) {
    border-right: 1px solid var(--line);
  }

  .quality-item:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 700px) {
  .section {
    padding: 78px 0;
  }

  .brand-copy small {
    display: none;
  }

  .hero {
    min-height: 760px;
    align-items: start;
    background-color: var(--white);
    background-position: center calc(100% - 70px);
    background-repeat: no-repeat;
    background-size: 100% auto;
  }

  .hero-inner {
    padding: 46px 0 370px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero h1 {
    font-size: 31px;
    line-height: 1.45;
  }

  .hero p {
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.9;
  }

  .hero-actions {
    margin-top: 28px;
  }

  .button {
    min-height: 48px;
    padding: 10px 17px;
  }

  .hero-note-inner {
    min-height: 70px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    font-size: 11px;
    line-height: 1.5;
  }

  .hero-note strong {
    font-size: 13px;
  }

  .section-heading,
  .philosophy-layout,
  .compliance-strip,
  .company-summary,
  .contact-layout,
  .footer-top,
  .page-heading,
  .content-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .business-list {
    grid-template-columns: 1fr;
  }

  .business-list-five .business-item,
  .business-list-five .business-item:nth-child(n + 4),
  .business-list-five .business-item:last-child {
    grid-column: 1;
    border-top: 0;
    border-right: 0;
  }

  .business-item {
    min-height: 0;
    padding: 32px 8px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .business-item:last-child {
    border-bottom: 0;
  }

  .business-item h3 {
    min-height: 0;
    margin: 18px 0 12px;
  }

  .philosophy-layout {
    gap: 44px;
  }

  .philosophy-mark {
    aspect-ratio: 1.25;
  }

  .compliance-strip {
    align-items: start;
  }

  .definition-row {
    grid-template-columns: 105px 1fr;
    gap: 16px;
  }

  .contact-phone {
    font-size: 31px;
  }

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

  .footer-bottom {
    flex-direction: column;
  }

  .page-hero {
    padding: 68px 0 52px;
  }

  .page-heading {
    align-items: start;
  }

  .page-heading h1 {
    font-size: 43px;
  }

  .principle-list li,
  .service-detail {
    grid-template-columns: 52px 1fr;
    gap: 18px;
  }

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

  .quality-item,
  .quality-item:nth-child(3n) {
    padding: 30px 6px;
    border-right: 0;
  }

  .company-table,
  .company-table tbody,
  .company-table tr,
  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
  }

  .company-table th {
    padding-bottom: 4px;
    border-bottom: 0;
  }

  .company-table td {
    padding-top: 4px;
  }
}

@media (max-width: 430px) {
  .brand-copy strong {
    font-size: 15px;
  }

  .hero {
    min-height: 738px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero-actions {
    display: grid;
    width: min(240px, 100%);
  }

  .hero-note span {
    max-width: 210px;
  }

  .contact-phone {
    font-size: 28px;
  }
}
