:root {
  --navy: #353932;
  --navy-strong: #353932;
  --teal: #354952;
  --gold: #cdb287;
  --gold-soft: #d7cebc;
  --ink: #353932;
  --muted: #354952;
  --line: rgba(53, 57, 50, 0.16);
  --paper: #f7f2e7;
  --mist: #eee6d6;
  --mint: #d7cebc;
  --rose: #f3e6df;
  --danger: #8c8c8c;
  --success: #354952;
  --shadow: 0 18px 42px rgba(53, 57, 50, 0.14);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans JP", "Noto Sans KR", "Hiragino Sans", "Yu Gothic", "Malgun Gothic", system-ui, sans-serif;
  line-height: 1.65;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 242, 231, 0.96);
  border-bottom: 1px solid rgba(215, 206, 188, 0.92);
  backdrop-filter: blur(18px);
}

.header-inner,
.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  font-family: "Avenir Next", "Helvetica Neue", Arial, "Noto Sans JP", sans-serif;
  color: var(--navy);
  font-size: clamp(1.08rem, 1.25vw, 1.32rem);
  font-weight: 700;
  line-height: 1;
}

.brand-symbol {
  width: 48px;
  height: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #000;
  border: 2px solid var(--navy);
  border-radius: 2px;
  font-family: "Arial Black", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: 0;
  box-shadow: none;
}

.brand-symbol span {
  display: block;
  margin: 1px 0;
  transform: scaleX(1.12);
  transform-origin: center;
}

.brand-text {
  display: grid;
  justify-items: start;
  min-width: 0;
}

.brand-mark {
  display: none;
}

.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-family: "Arial Black", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.17em;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: scaleX(1.02);
  transform-origin: left center;
}

.brand-word-zero {
  color: var(--navy);
}

.brand-word-medical {
  color: #8c8c8c;
}

.brand-word-jp {
  align-self: flex-start;
  margin-left: 0.08em;
  color: #d92121;
  font-family: inherit;
  font-size: 0.46em;
  font-weight: inherit;
  line-height: 1;
  letter-spacing: 0;
  transform: translateY(-0.12em) rotate(-4deg);
  transform-origin: left top;
}

.brand-kana {
  display: block;
  justify-self: stretch;
  width: 100%;
  margin-top: 5px;
  color: #000;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  white-space: nowrap;
  text-align: justify;
  text-align-last: justify;
  transform: scaleX(1);
  transform-origin: left center;
}

.brand.logo-soft .brand-symbol {
  font-family: "Arial Black", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand.logo-soft .brand-symbol span {
  transform: scaleX(1.12);
}

.brand.logo-soft .brand-wordmark {
  font-family: "Century Gothic", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.28em;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: scaleX(1);
}

.brand.logo-soft .brand-kana {
  letter-spacing: 0.045em;
}

.brand.logo-tech .brand-symbol {
  font-family: "Bahnschrift", "Arial Narrow", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.22rem;
  font-weight: 300;
  line-height: 0.86;
  letter-spacing: 0.08em;
}

.brand.logo-tech .brand-symbol span {
  transform: scaleX(1.18);
}

.brand.logo-tech .brand-wordmark {
  font-family: "Bahnschrift", "Arial Narrow", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.36em;
  font-weight: 300;
  letter-spacing: 0.14em;
  transform: scaleX(1.04);
}

.brand.logo-bold .brand-wordmark {
  font-family: "Arial Black", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.17em;
  font-weight: 900;
  letter-spacing: 0.035em;
  transform: scaleX(1.02);
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav::-webkit-scrollbar {
  display: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(53, 57, 50, 0.18);
  border-radius: var(--radius);
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav a,
.language-links a,
.button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius);
  white-space: nowrap;
}

.nav a {
  padding: 0 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.nav a.active,
.nav a:hover {
  color: var(--navy);
  background: rgba(205, 178, 135, 0.24);
}

.language-links {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 6px;
}

.language-links a {
  width: 44px;
  border: 1px solid var(--line);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 700;
}

.language-links a.active,
.language-links a:hover {
  color: var(--paper);
  background: var(--navy);
  border-color: var(--navy);
}

main {
  flex: 1;
}

.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(247, 242, 231, 0.95), rgba(215, 206, 188, 0.78) 48%, rgba(247, 242, 231, 0.34)),
    url("/assets/hero-clinic.png") center / cover no-repeat;
  overflow: hidden;
}

.hero.compact {
  min-height: 430px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 140px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--paper));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  padding: 50px 0 70px;
}

.hero.compact .hero-content {
  padding: 60px 0 82px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--gold);
}

h1,
h2,
h3 {
  margin: 0;
  color: inherit;
  line-height: 1.18;
  letter-spacing: 0;
}

h1 {
  max-width: 1080px;
  font-family: "Playfair Display", "Noto Sans JP", "Noto Sans KR", serif;
  font-size: clamp(2.3rem, 4.8vw, 4.65rem);
  font-weight: 700;
  word-break: keep-all;
  overflow-wrap: normal;
  line-break: strict;
}

.hero.compact h1 {
  font-size: clamp(2.05rem, 4.7vw, 4.2rem);
}

.jp-title-line {
  display: inline-flex;
  flex-wrap: wrap;
  column-gap: 0.12em;
  row-gap: 0;
  align-items: baseline;
}

.jp-title-line > span {
  white-space: nowrap;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(53, 57, 50, 0.76);
  font-size: clamp(1rem, 1.8vw, 1.28rem);
}

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

.button {
  border: 1px solid transparent;
  padding: 0 18px;
  color: var(--navy);
  background: var(--paper);
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--teal);
  border-color: var(--teal);
}

.button.primary:hover {
  background: var(--navy);
  border-color: var(--navy);
}

.button.secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(53, 73, 82, 0.42);
}

.button.secondary:hover {
  background: rgba(215, 206, 188, 0.38);
  border-color: var(--teal);
}

.button.dark {
  color: var(--paper);
  background: var(--navy);
}

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

.section {
  padding: 84px 0;
}

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

.section.soft {
  background: linear-gradient(90deg, var(--mist), #d7cebc);
}

.section-header {
  max-width: 100%;
  margin: 0 0 30px;
}

.section-header.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
}

.section h2 {
  color: var(--navy);
  font-size: 2.2rem;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
  line-break: strict;
}

.section-lead {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.branch-grid,
.cards-grid,
.reason-grid,
.contact-grid,
.split-grid {
  display: grid;
  gap: 20px;
}

.branch-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: -58px;
  position: relative;
  z-index: 2;
}

.branch-card,
.card,
.notice,
.form-panel,
.contact-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.branch-card {
  min-height: 360px;
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.branch-card:nth-child(2) {
  background: linear-gradient(180deg, var(--paper), var(--mist));
}

.branch-code,
.card-index,
.route-chip {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
}

.branch-card h2 {
  color: var(--navy);
  font-size: clamp(1.7rem, 3vw, 2.7rem);
}

.branch-card p {
  margin: 18px 0 26px;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.cards-grid.five {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.card {
  min-height: 210px;
  padding: 24px;
}

.card h3 {
  margin-top: 12px;
  color: var(--navy);
  font-size: 1.22rem;
}

.card p {
  margin: 12px 0 0;
  color: var(--muted);
}

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

.media-card {
  min-width: 0;
}

.image-slot {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 220px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(53, 57, 50, 0.92), rgba(53, 73, 82, 0.9)),
    var(--teal);
  border: 1px solid rgba(53, 57, 50, 0.14);
  border-radius: var(--radius);
}

.image-slot.card {
  min-height: 132px;
  aspect-ratio: 4 / 3;
  margin: -6px -6px 18px;
  padding: 14px;
}

.image-slot.tile {
  min-height: 190px;
  aspect-ratio: 4 / 3;
  margin: 0 0 18px;
}

.image-slot.qr {
  min-height: 220px;
  aspect-ratio: 1 / 1;
  margin-top: 18px;
}

.image-slot::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.55;
}

.image-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-slot:has(img)::before {
  background:
    linear-gradient(180deg, rgba(53, 57, 50, 0.02), rgba(53, 57, 50, 0.28));
  opacity: 1;
  z-index: 1;
}

.image-slot-art {
  position: absolute;
  inset: 18px;
  opacity: 0.72;
}

.image-slot-art span {
  position: absolute;
  display: block;
  background: rgba(247, 242, 231, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.image-slot-art span:nth-child(1) {
  left: 6%;
  top: 12%;
  width: 44%;
  height: 58%;
}

.image-slot-art span:nth-child(2) {
  right: 8%;
  top: 20%;
  width: 30%;
  height: 28%;
  background: rgba(205, 178, 135, 0.78);
}

.image-slot-art span:nth-child(3) {
  right: 12%;
  bottom: 12%;
  width: 56%;
  height: 14%;
  background: rgba(53, 73, 82, 0.58);
}

.image-slot.product,
.image-slot.equipment {
  background:
    linear-gradient(135deg, rgba(215, 206, 188, 0.92), rgba(205, 178, 135, 0.86)),
    var(--gold);
  color: var(--navy);
}

.image-slot.product .image-slot-art span,
.image-slot.equipment .image-slot-art span {
  background: rgba(255, 255, 255, 0.66);
  border-color: rgba(53, 57, 50, 0.14);
}

.image-slot.product .image-slot-art span:nth-child(3),
.image-slot.equipment .image-slot-art span:nth-child(3) {
  background: rgba(53, 73, 82, 0.62);
}

.image-slot.model,
.image-slot.trust {
  background:
    linear-gradient(135deg, rgba(247, 242, 231, 0.96), rgba(215, 206, 188, 0.84)),
    var(--paper);
  color: var(--navy);
}

.image-slot.model .image-slot-art span:nth-child(1),
.image-slot.trust .image-slot-art span:nth-child(1) {
  width: 34%;
  border-radius: 999px 999px 10px 10px;
  background: rgba(53, 73, 82, 0.54);
}

.image-slot.venue,
.image-slot.clinic {
  background:
    linear-gradient(135deg, rgba(53, 73, 82, 0.94), rgba(53, 57, 50, 0.86)),
    var(--teal);
}

.image-slot.marketing {
  background:
    linear-gradient(135deg, rgba(53, 73, 82, 0.92), rgba(53, 57, 50, 0.72)),
    var(--teal);
}

.image-slot.qr {
  justify-content: center;
  align-items: center;
  color: var(--navy);
  background: var(--paper);
}

.image-slot.qr .image-slot-art {
  inset: 34px;
}

.image-slot.qr .image-slot-art span {
  width: 32%;
  height: 32%;
  background: var(--navy);
  border: 0;
}

.image-slot.qr .image-slot-art span:nth-child(1) {
  left: 0;
  top: 0;
}

.image-slot.qr .image-slot-art span:nth-child(2) {
  right: 0;
  top: 0;
}

.image-slot.qr .image-slot-art span:nth-child(3) {
  left: 34%;
  right: auto;
  bottom: 0;
}

.image-slot-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 5px;
  width: 100%;
  padding: 12px;
  background: rgba(53, 57, 50, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: calc(var(--radius) - 2px);
  backdrop-filter: blur(10px);
}

.image-slot.model .image-slot-copy,
.image-slot.product .image-slot-copy,
.image-slot.equipment .image-slot-copy,
.image-slot.trust .image-slot-copy,
.image-slot.qr .image-slot-copy {
  color: var(--navy);
  background: rgba(247, 242, 231, 0.78);
  border-color: rgba(53, 57, 50, 0.12);
}

.image-slot-copy strong {
  font-size: 0.92rem;
  line-height: 1.35;
}

.image-slot-copy small {
  color: inherit;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.45;
  opacity: 0.86;
}

.card-link {
  display: inline-flex;
  margin-top: 20px;
  color: var(--navy);
  font-weight: 800;
}

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

.reason-item {
  padding: 0 20px 0 18px;
  border-left: 3px solid var(--gold);
}

.reason-item h3 {
  color: var(--navy);
  font-size: 1.08rem;
}

.reason-item p {
  margin: 8px 0 0;
  color: var(--muted);
}

.cta-band {
  color: var(--paper);
  background: linear-gradient(135deg, var(--navy), var(--teal));
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
  align-items: start;
  gap: clamp(24px, 4vw, 42px);
}

.cta-band > div {
  min-width: 0;
}

.cta-band h2 {
  color: var(--paper);
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.22;
}

.cta-band p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  padding: 10px 12px;
  color: var(--navy);
  background: rgba(205, 178, 135, 0.28);
  border-radius: var(--radius);
  font-weight: 800;
}

.cta-band .contact-list {
  display: grid;
  grid-template-columns: 1fr;
  justify-self: stretch;
  width: 100%;
  max-width: 560px;
  gap: 12px;
}

.cta-band .contact-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  min-height: 54px;
  padding: 13px 16px;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: none;
  overflow-wrap: anywhere;
}

.cta-band .contact-list .placeholder,
.cta-band .contact-list a {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  text-decoration: none;
}

.split-grid {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: start;
}

.notice {
  padding: 22px;
  box-shadow: none;
  background: rgba(53, 57, 50, 0.08);
  border-color: rgba(53, 57, 50, 0.18);
  color: var(--navy);
}

.korean-note,
.korean-contact-help {
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.korean-note h3,
.korean-contact-help h3 {
  color: var(--navy);
  font-size: 1.18rem;
}

.korean-note p,
.korean-contact-help p {
  margin: 10px 0 0;
  color: var(--muted);
}

.korean-note .button {
  margin-top: 18px;
}

.korean-contact-help {
  margin-top: 18px;
  box-shadow: none;
}

.list-panel {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.list-panel li {
  position: relative;
  padding: 14px 14px 14px 42px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.list-panel li::before {
  position: absolute;
  left: 15px;
  top: 13px;
  font-weight: 900;
}

.list-panel.negative li::before {
  content: "×";
  color: var(--danger);
}

.list-panel.positive li::before {
  content: "✓";
  color: var(--success);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

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

td:first-child,
th:first-child {
  white-space: nowrap;
}

th {
  color: var(--navy);
  background: rgba(205, 178, 135, 0.24);
  font-size: 0.9rem;
}

tr:last-child td {
  border-bottom: 0;
}

.flow {
  display: grid;
  gap: 12px;
  counter-reset: flow;
}

.flow-step {
  position: relative;
  padding: 18px 18px 18px 62px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.flow-step::before {
  counter-increment: flow;
  content: counter(flow, decimal-leading-zero);
  position: absolute;
  left: 16px;
  top: 18px;
  color: var(--gold);
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 800;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

.product-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.product-item {
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.product-item h3 {
  color: var(--navy);
  font-size: 1.13rem;
}

.product-item p {
  margin: 10px 0 0;
  color: var(--muted);
}

.contact-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.65fr);
}

.form-panel,
.contact-panel {
  min-width: 0;
  padding: clamp(22px, 4vw, 34px);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label,
.checkbox-field {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--ink);
  background: var(--paper);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.checkbox-field {
  grid-template-columns: auto 1fr;
  align-items: start;
  color: var(--ink);
  font-weight: 600;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
}

.form-status {
  min-height: 28px;
  margin: 14px 0 0;
  color: var(--muted);
}

.placeholder {
  display: inline-block;
  max-width: 100%;
  padding: 2px 8px;
  color: var(--danger);
  background: rgba(53, 57, 50, 0.07);
  border: 1px solid rgba(53, 57, 50, 0.16);
  border-radius: 4px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.site-footer {
  padding: 44px 0;
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy);
}

.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  margin-bottom: 18px;
}

.footer-brand .brand-symbol {
  border-color: rgba(255, 255, 255, 0.72);
}

.footer-brand .brand-word-zero {
  color: var(--paper);
}

.footer-brand .brand-word-medical {
  color: rgba(255, 255, 255, 0.62);
}

.footer-brand .brand-word-jp {
  color: #ff4b4b;
}

.footer-brand .brand-kana {
  color: rgba(255, 255, 255, 0.78);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
}

.not-found {
  min-height: 62vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 72px 0;
}

@media (max-width: 1060px) {
  .header-inner {
    align-items: center;
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .nav {
    order: 3;
    width: 100%;
    margin-left: 0;
  }

  .cards-grid.five,
  .media-grid,
  .reason-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .cta-band {
    grid-template-columns: 1fr;
  }

  .cta-band .contact-list {
    max-width: none;
  }

  .section h2 {
    font-size: 1.7rem;
  }
}

@media (max-width: 760px) {
  .header-inner,
  .container,
  .footer-inner {
    width: min(100% - 28px, var(--max));
  }

  .header-inner {
    column-gap: 10px;
    row-gap: 0;
  }

  .brand {
    flex: 1 1 0;
    min-width: 0;
    max-width: calc(100% - 54px);
    width: auto;
  }

  .brand-symbol {
    width: 42px;
    height: 42px;
    font-size: 0.98rem;
  }

  .brand-wordmark {
    font-size: 1.02rem;
  }

  .brand-kana {
    font-size: 0.48rem;
  }

  .menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .nav {
    display: none;
    order: 3;
    flex: 0 0 100%;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-left: 0;
    padding: 12px 0 2px;
    overflow: visible;
  }

  .nav.open {
    display: grid;
  }

  .nav a {
    min-width: 0;
    min-height: 38px;
    padding: 0 8px;
    white-space: normal;
    text-align: center;
    line-height: 1.2;
  }

  .hero,
  .hero.compact {
    min-height: 520px;
  }

  .hero-content {
    padding: 50px 0 76px;
  }

  .hero.compact {
    min-height: 430px;
  }

  .hero.compact .hero-content {
    padding: 48px 0 70px;
  }

  .branch-grid,
  .cards-grid,
  .cards-grid.five,
  .media-grid,
  .reason-grid,
  .split-grid,
  .product-list,
  .contact-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid > *,
  .form-grid > * {
    min-width: 0;
  }

  .branch-grid {
    margin-top: -34px;
  }

  .branch-card {
    min-height: 300px;
  }

  .section {
    padding: 58px 0;
  }

  .section h2 {
    font-size: clamp(1.08rem, 4.2vw, 1.52rem);
    white-space: normal;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  h1,
  .hero.compact h1 {
    font-size: clamp(2rem, 8.4vw, 2.45rem);
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .image-slot.wide {
    min-height: 190px;
  }

  .image-slot.tile {
    min-height: 170px;
  }

  .table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  table {
    width: 100%;
    min-width: 0;
    display: block;
  }

  thead {
    display: none;
  }

  tbody {
    width: 100%;
    display: grid;
    gap: 12px;
  }

  tr {
    width: 100%;
    display: grid;
    overflow: hidden;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
  }

  td {
    display: grid;
    grid-template-columns: minmax(88px, 0.38fr) minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
  }

  td::before {
    content: attr(data-label);
    color: var(--teal);
    font-weight: 900;
  }

  tr:last-child td {
    border-bottom: 1px solid var(--line);
  }

  td:last-child {
    border-bottom: 0;
  }

  td:first-child,
  th:first-child {
    white-space: normal;
  }

  .cta-band {
    grid-template-columns: 1fr;
  }

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

}

@media (max-width: 520px) {
  .language-links {
    margin-left: auto;
  }

  .brand {
    gap: 9px;
    max-width: calc(100% - 50px);
  }

  .brand-symbol {
    width: 40px;
    height: 40px;
    font-size: 0.92rem;
  }

  .brand.logo-soft .brand-wordmark {
    font-size: 1.05em;
    letter-spacing: 0.13em;
  }

  .brand-kana,
  .brand.logo-soft .brand-kana {
    font-size: 0.43rem;
    letter-spacing: 0.025em;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .nav a {
    padding: 0 8px;
    font-size: 0.78rem;
  }

  .section h2 {
    font-size: clamp(1rem, 4.2vw, 1.18rem);
  }

  .hero-actions .button {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .brand {
    gap: 8px;
    max-width: calc(100% - 48px);
  }

  .brand-symbol {
    width: 38px;
    height: 38px;
    font-size: 0.88rem;
  }

  .brand.logo-soft .brand-wordmark {
    font-size: 0.96em;
    letter-spacing: 0.105em;
  }

  .brand-kana,
  .brand.logo-soft .brand-kana {
    font-size: 0.39rem;
  }

  h1 {
    font-size: 2.05rem;
  }

  .hero.compact h1 {
    font-size: 1.82rem;
  }

  .section h2 {
    font-size: 0.95rem;
  }
}

@media (max-width: 340px) {
  .section h2 {
    font-size: 0.84rem;
  }
}

