:root {
  /* 藏青 × 金 × 白 — luxury medical palette */
  --navy: #0f1c3f;
  --navy-2: #16264f;
  --navy-3: #1f335f;
  --navy-deep: #0a1430;
  --ink: #1a2540;
  --ink-soft: #566186;
  --gold: #c8a24a;
  --gold-2: #d8b968;
  --gold-soft: #e6cf97;
  --gold-line: rgba(200, 162, 74, 0.4);
  --paper: #ffffff;
  --paper-2: #f7f8fb;
  --paper-3: #eef1f7;
  --line: rgba(15, 28, 63, 0.12);
  --line-soft: rgba(15, 28, 63, 0.07);
  --shadow: 0 30px 70px -34px rgba(10, 20, 48, 0.5);
  --shadow-gold: 0 20px 46px -22px rgba(200, 162, 74, 0.5);
  --display: "Cormorant Garamond", "Noto Serif JP", "Noto Serif SC", serif;
  --body: "Noto Sans JP", "Noto Sans SC", "Noto Sans KR", "Noto Sans Thai", sans-serif;
  --maxw: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.85;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-weight: 500; line-height: 1.3; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.2rem, 4vw, 2.5rem); }
.eyebrow {
  font-family: var(--display);
  font-size: 1.05rem; letter-spacing: .34em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 1rem;
  display: inline-flex; align-items: center; gap: .7rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.eyebrow.light { color: var(--gold-2); }

/* header */
.hdr {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: .9rem clamp(1.2rem, 4vw, 2.5rem);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-soft);
}
.brand { display: flex; flex-direction: column; line-height: 1; text-decoration: none; }
.brand-mark {
  font-family: var(--display); font-weight: 700; font-size: 1.75rem;
  letter-spacing: .2em; color: var(--navy);
}
.brand-sub { font-size: .6rem; letter-spacing: .16em; color: var(--ink-soft); margin-top: 6px; }
.nav { display: flex; gap: 1.7rem; }
.nav a {
  text-decoration: none; color: var(--ink-soft); font-size: .9rem; position: relative;
  transition: color .25s; white-space: nowrap; font-weight: 400;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -5px; width: 0; height: 1.5px;
  background: var(--gold); transition: width .3s;
}
.nav a:hover { color: var(--navy); }
.nav a:hover::after { width: 100%; }
.hdr-right { display: flex; align-items: center; gap: .9rem; }
.lang {
  font-family: var(--body); font-size: .82rem; color: var(--ink);
  padding: .45rem .8rem; border: 1px solid var(--line); border-radius: 999px;
  background: var(--white); cursor: pointer;
}

/* buttons */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer; border: 0;
  font-family: var(--body); font-size: .92rem; font-weight: 500; letter-spacing: .04em;
  padding: .85rem 1.9rem; border-radius: 999px;
  background: var(--navy); color: #fff; transition: .3s;
}
.btn:hover { background: var(--navy-3); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-sm { padding: .55rem 1.3rem; font-size: .84rem; }
.btn-lg {
  padding: 1rem 2.6rem; font-size: 1rem;
  background: linear-gradient(120deg, var(--navy-2), var(--navy));
  border: 1px solid var(--gold-line);
}
.btn-lg:hover { background: var(--navy-deep); box-shadow: var(--shadow-gold); }
.btn-block { width: 100%; }

/* hero */
.hero {
  position: relative; overflow: hidden;
  min-height: 92vh; display: flex; flex-direction: column; justify-content: center;
  padding: 6rem clamp(1.2rem, 4vw, 2.5rem) 4rem;
  background:
    radial-gradient(60% 55% at 82% 12%, rgba(200, 162, 74, .16), transparent 60%),
    radial-gradient(60% 60% at 10% 92%, rgba(31, 51, 95, .5), transparent 62%),
    linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 46%, var(--navy-2) 100%);
  color: #fff;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.cell {
  position: absolute; border-radius: 50%; filter: blur(.5px);
  background: radial-gradient(circle at 35% 30%, rgba(230,207,151,.5), rgba(200,162,74,.16) 55%, rgba(200,162,74,.04) 100%);
  border: 1px solid rgba(200,162,74,.22);
  animation: float 16s ease-in-out infinite;
}
.cell.c1 { width: 340px; height: 340px; top: 8%; right: 6%; }
.cell.c2 { width: 190px; height: 190px; top: 52%; right: 24%; animation-delay: -4s; }
.cell.c3 { width: 250px; height: 250px; bottom: 6%; left: 8%; animation-delay: -8s; }
.cell.c4 { width: 130px; height: 130px; top: 22%; left: 26%; animation-delay: -11s; }
@keyframes float { 0%,100% { transform: translateY(0) translateX(0); } 50% { transform: translateY(-28px) translateX(14px); } }
.hero-inner { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; width: 100%; }
.hero-tag {
  font-family: var(--display); font-size: clamp(1rem, 1.8vw, 1.3rem);
  letter-spacing: .16em; color: var(--gold-2); font-weight: 500; font-style: italic;
  margin-bottom: 1.8rem;
}
.hero h1 { font-family: var(--display); font-weight: 600; font-size: clamp(2.3rem, 5.6vw, 4.4rem); letter-spacing: .01em; }
.hero h1 span { display: block; }
.hero h1 .accent {
  background: linear-gradient(100deg, var(--gold) 0%, var(--gold-soft) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  margin-top: .4rem;
}
.hero .btn { margin-top: 2.8rem; }
.hero-scroll {
  position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%);
  font-family: var(--display); font-size: .8rem; letter-spacing: .3em; color: rgba(230,207,151,.7);
  writing-mode: vertical-rl; z-index: 1;
}

/* sections */
.section { padding: clamp(4.5rem, 10vh, 8rem) 0; position: relative; }
.section-tint { background: var(--paper-2); }

/* #about — richer, warmer field so it isn't flat white */
#about {
  position: relative;
  background:
    radial-gradient(62% 55% at 88% 6%, rgba(200,162,74,.20), transparent 60%),
    radial-gradient(60% 55% at 4% 96%, rgba(31,51,95,.16), transparent 64%),
    linear-gradient(180deg, #f3eee0, #eae3d1);
}
#about::before {
  content: ""; position: absolute; inset: 0;
  background: url("/static/img/img_20260709_072345_d6db.png") center/cover no-repeat;
  opacity: .32; pointer-events: none; z-index: 0;
}
#about > .wrap { position: relative; z-index: 1; }

/* advantages — deeper cell watermark + gold field for weight */
#advantages { position: relative; overflow: hidden; background: linear-gradient(180deg, #efe8d8, #f4efe2); }
#advantages::before {
  content: ""; position: absolute; inset: 0;
  background: url("/static/img/img_20260709_072345_d6db.png") center/cover no-repeat;
  opacity: .36; pointer-events: none; z-index: 0;
}
#advantages::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(52% 60% at 12% 18%, rgba(200,162,74,.22), transparent 60%),
    radial-gradient(46% 55% at 90% 88%, rgba(31,51,95,.14), transparent 62%);
}
#advantages > .wrap { position: relative; z-index: 1; }

/* business — warm field with a stronger gold cell glow */
#business { position: relative; overflow: hidden; background: linear-gradient(180deg, #eae3d1, #f2ecdd); }
#business::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url("/static/img/img_20260709_072345_d6db.png") right center/cover no-repeat;
  opacity: .34;
}
#business::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(48% 55% at 86% 90%, rgba(200,162,74,.24), transparent 60%),
    radial-gradient(44% 52% at 8% 10%, rgba(31,51,95,.14), transparent 62%);
}
#business > .wrap { position: relative; z-index: 1; }

.section-dark {
  background:
    radial-gradient(70% 90% at 82% 0%, rgba(200,162,74,.14), transparent 58%),
    linear-gradient(160deg, var(--navy-2), var(--navy-deep));
  color: #eef1f7;
}
.section-head { max-width: 800px; margin: 0 auto 3.4rem; text-align: center; }
.section-head h2 {
  font-family: var(--display); font-size: clamp(2rem, 4.4vw, 3.2rem);
  color: var(--navy); font-weight: 600; letter-spacing: .01em;
}
.section-dark .section-head h2 { color: #fff; }
.section-head h2::after {
  content: ""; display: block; width: 54px; height: 2px; background: var(--gold);
  margin: 1.1rem auto 0;
}
.sub-title {
  font-family: var(--display); font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--navy); text-align: center; margin: 3.4rem 0 2rem; font-weight: 600;
}
.section-dark .sub-title { color: var(--gold-2); }
.lead { font-size: clamp(1.02rem, 1.3vw, 1.16rem); color: var(--ink-soft); }
.lead.light { color: rgba(238,241,247,.82); }
.about-body { max-width: 900px; margin: 0 auto; display: grid; gap: 1.3rem; }
.about-body p { color: var(--ink-soft); }

/* grids */
.grid { display: grid; gap: 1.5rem; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g5 { grid-template-columns: repeat(5, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: 4px;
  padding: 2rem 1.7rem; transition: .35s; position: relative;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 0;
  background: var(--gold); transition: height .4s;
}
.card h4 { font-family: var(--display); color: var(--navy); font-size: 1.3rem; margin-bottom: .8rem; font-weight: 600; }
.card p { font-size: .9rem; color: var(--ink-soft); }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--gold-line); }
.card:hover::before { height: 100%; }

/* social-issue cards — deep navy cell backdrop + gold glow + large index number */
.issues-grid { position: relative; }
.issue-card {
  background:
    linear-gradient(155deg, rgba(15,28,63,.86), rgba(10,20,48,.92)),
    url("/static/img/img_20260709_072353_18bf.png") center/cover no-repeat;
  border: 1px solid var(--gold-line);
  border-radius: 8px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(10,20,48,.28);
}
.issue-card::after {
  content: attr(data-no);
  position: absolute; right: .5rem; bottom: -1rem;
  font-family: var(--display); font-weight: 700;
  font-size: 6.2rem; line-height: 1;
  color: transparent;
  background: linear-gradient(160deg, var(--gold-soft), rgba(200,162,74,.25));
  -webkit-background-clip: text; background-clip: text;
  opacity: .32; pointer-events: none; z-index: 1;
  transition: transform .5s ease, opacity .5s ease;
}
.issue-card h4 { position: relative; z-index: 1; color: var(--gold-2); }
.issue-card p { position: relative; z-index: 1; color: rgba(238,241,247,.82); }
.issue-card h4::after {
  content: ""; display: block; width: 30px; height: 2px;
  margin-top: .7rem;
  background: linear-gradient(90deg, var(--gold), transparent);
  transition: width .45s ease;
}
.issue-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 22px 48px rgba(10,20,48,.4);
}
.issue-card:hover::after { transform: translateY(-.4rem) scale(1.06); opacity: .42; }
.issue-card:hover h4::after { width: 64px; }
.issue-card .glow {
  content: ""; position: absolute; width: 220px; height: 220px;
  top: -80px; left: -60px; border-radius: 50%;
  background: radial-gradient(circle, rgba(216,185,104,.35), transparent 70%);
  opacity: 0; transition: opacity .5s ease; pointer-events: none;
}
.issue-card:hover .glow { opacity: 1; }

.adv {
  padding: 2rem 1.4rem; border-top: 3px solid var(--gold);
  position: relative; overflow: hidden; border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.97), rgba(250,247,240,.94));
  border-left: 1px solid var(--gold-line);
  border-right: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
  box-shadow: 0 14px 34px rgba(15,28,63,.12);
  transition: .35s;
}
.adv::after {
  content: ""; position: absolute; right: -40px; top: -40px;
  width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,162,74,.18), transparent 70%);
  pointer-events: none; transition: opacity .5s ease; opacity: .6;
}
.adv:hover { transform: translateY(-6px); border-top-color: var(--gold); box-shadow: 0 18px 40px rgba(15,28,63,.14); }
.adv:hover::after { opacity: 1; }
.adv-no { font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: var(--gold); }
.adv h4 { font-family: var(--display); font-size: 1.45rem; color: var(--navy); margin: .6rem 0 .8rem; font-weight: 600; }
.adv p { color: var(--ink-soft); font-size: .95rem; }

.biz-grid { grid-auto-flow: dense; }
.biz {
  background:
    linear-gradient(155deg, rgba(255,255,255,.98), rgba(250,247,240,.96)),
    url("/static/img/img_20260709_072345_d6db.png") right bottom/160% no-repeat;
  border: 1px solid var(--gold-line); border-radius: 8px;
  padding: 2.2rem 1.9rem; position: relative; overflow: hidden; transition: .35s;
  box-shadow: 0 14px 34px rgba(15,28,63,.12);
}
.biz::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); transition: width .4s; z-index: 2; }
.biz::after {
  content: ""; position: absolute; right: -50px; bottom: -50px;
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,162,74,.16), transparent 70%);
  pointer-events: none; opacity: 0; transition: opacity .5s ease;
}
.biz:hover { transform: translateY(-6px); box-shadow: 0 18px 42px rgba(15,28,63,.15); border-color: var(--gold); }
.biz:hover::before { width: 100%; }
.biz:hover::after { opacity: 1; }
.biz > * { position: relative; z-index: 1; }
.biz-num { font-family: var(--display); font-weight: 700; color: rgba(200,162,74,.32); font-size: 2.6rem; }
.biz-en { font-family: var(--display); font-size: .9rem; letter-spacing: .1em; color: var(--gold); text-transform: uppercase; margin-top: .3rem; font-weight: 600; font-style: italic; }
.biz h4 { font-family: var(--display); font-size: 1.4rem; color: var(--navy); margin: .4rem 0 .9rem; font-weight: 600; }
.biz p { font-size: .9rem; color: var(--ink-soft); }
.biz-wide { grid-column: span 2; }

.aicard {
  background: rgba(255,255,255,.05); border: 1px solid rgba(200,162,74,.24);
  border-radius: 4px; padding: 1.9rem 1.6rem; transition: .35s;
}
.aicard h4 { font-family: var(--display); color: var(--gold-2); font-size: 1.28rem; margin-bottom: .7rem; font-weight: 600; }
.aicard p { color: rgba(238,241,247,.76); font-size: .9rem; }
.aicard:hover { background: rgba(255,255,255,.09); transform: translateY(-4px); border-color: var(--gold); }

/* innovation */
.inno-title { font-family: var(--display); font-size: clamp(1.5rem, 2.8vw, 2.2rem) !important; line-height: 1.45; color: var(--navy); }
.inno-bg {
  max-width: 840px; margin: 0 auto; text-align: center; background: var(--white);
  border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 4px;
  padding: 2.2rem; box-shadow: var(--shadow);
}
.inno-bg h3 { font-family: var(--display); color: var(--navy); margin-bottom: .8rem; font-size: 1.4rem; font-weight: 600; }
.inno-bg p { color: var(--ink-soft); }
.flow-lead { text-align: center; color: var(--ink-soft); margin-bottom: 1.8rem; }
.flow { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .6rem; max-width: 1000px; margin: 0 auto; }
.flow-step {
  font-family: var(--body); font-size: .92rem; font-weight: 500; color: var(--navy);
  background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .58rem 1.15rem;
  position: relative;
}
.flow-step:not(:last-child)::after { content: "→"; margin-left: .6rem; color: var(--gold); font-weight: 700; }
.flow-step.accent-step { background: linear-gradient(100deg, var(--gold), var(--gold-2)); color: var(--navy-deep); border-color: transparent; font-weight: 600; }
.point { text-align: center; padding: 1.6rem .6rem; }
.point-no {
  display: inline-flex; align-items: center; justify-content: center; width: 2.9rem; height: 2.9rem;
  border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold);
  font-family: var(--display); font-weight: 700; font-size: 1.2rem; margin-bottom: 1rem;
}
.point h4 { color: var(--navy); font-size: 1.05rem; margin-bottom: .5rem; font-weight: 500; }
.point p { font-size: .85rem; color: var(--ink-soft); }

/* company */
.company { max-width: 840px; margin: 0 auto; }
.company dl { display: grid; grid-template-columns: 190px 1fr; gap: 0; }
.company dt { font-family: var(--display); font-weight: 600; font-size: 1.1rem; color: var(--navy); padding: 1.2rem 0; border-top: 1px solid var(--line); }
.company dd { color: var(--ink-soft); padding: 1.2rem 0; border-top: 1px solid var(--line); }
.company dd a { color: var(--navy); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--gold-line); }
.areas { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.areas li { background: var(--paper-3); color: var(--navy); border: 1px solid var(--gold-line); border-radius: 999px; padding: .38rem 1.05rem; font-size: .85rem; }

/* contact */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3.4rem; align-items: start; }
.contact-text h2 { font-family: var(--display); font-size: clamp(2rem,3.8vw,3rem); }
.contact-text h2::after { margin-left: 0; }
.contact-mail { margin-top: 1.5rem; color: rgba(238,241,247,.82); }
.contact-mail a { color: var(--gold-2); font-weight: 500; }
.form { background: rgba(255,255,255,.05); border: 1px solid rgba(200,162,74,.2); border-radius: 6px; padding: 2.2rem; display: grid; gap: 1.15rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.form label { display: flex; flex-direction: column; gap: .45rem; font-size: .85rem; color: rgba(238,241,247,.82); }
.form input, .form textarea {
  font-family: var(--body); font-size: .95rem; padding: .82rem .95rem; border-radius: 4px;
  border: 1px solid rgba(200,162,74,.26); background: rgba(10,20,48,.5); color: #fff; transition: border-color .25s;
}
.form input:focus, .form textarea:focus { outline: 0; border-color: var(--gold); }
.form .btn { background: linear-gradient(120deg, var(--gold), var(--gold-2)); color: var(--navy-deep); margin-top: .3rem; font-weight: 600; }
.form .btn:hover { background: var(--gold-soft); }
.form-note { min-height: 1.2rem; text-align: center; font-size: .9rem; color: var(--gold-2); }
.form-note.error { color: #ffb4b4; }

/* footer */
.ftr { background: var(--navy-deep); color: rgba(238,241,247,.7); text-align: center; padding: 3.4rem 1.5rem; }
.ftr .brand-mark { color: #fff; }
.ftr-tag { font-family: var(--display); font-style: italic; font-size: 1.05rem; color: var(--gold-2); margin: .7rem 0 1.1rem; }
.ftr-copy { font-size: .78rem; color: rgba(238,241,247,.5); }

/* reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.issues-grid .issue-card.reveal { transition-duration: .9s; }
.issues-grid .issue-card:nth-child(1) { transition-delay: .05s; }
.issues-grid .issue-card:nth-child(2) { transition-delay: .18s; }
.issues-grid .issue-card:nth-child(3) { transition-delay: .31s; }
.issues-grid .issue-card:nth-child(4) { transition-delay: .44s; }

/* responsive */
@media (max-width: 1000px) {
  .nav { display: none; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g5 { grid-template-columns: repeat(3, 1fr); }
  .biz-wide { grid-column: span 1; }
  .contact-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .g3, .g4, .g5 { grid-template-columns: 1fr; }
  .company dl { grid-template-columns: 1fr; }
  .company dt { border-top: 1px solid var(--line); padding-bottom: 0; }
  .company dd { padding-top: .4rem; border-top: 0; }
  .form .row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .cell { animation: none; }
  html { scroll-behavior: auto; }
}
