@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500&display=swap');

:root {
  --bg:      #FFFFFF;
  --bg-2:    #F0F7FF;
  --bg-3:    #E0EFF9;
  --blue:    #2E8AC4;
  --blue-lt: #5AABD8;
  --blue-pale:#D6EEFA;
  --mint:    #E8F7F5;
  --dark:    #0E2340;
  --text:    #1A3050;
  --muted:   rgba(26,48,80,0.5);
  --border:  rgba(26,48,80,0.1);
  --ff-en:   'Inter', sans-serif;
  --ff-jp:   'Noto Sans JP', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; font-size: 16px; }
body { background: var(--bg); color: var(--text); font-family: var(--ff-jp); overflow-x: hidden; padding-top: 36px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ─── DEMO BAR ─── */
#demo-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 9999; background: rgba(14,35,64,0.97); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(46,138,196,0.2); padding: 7px 0; }
.demo-bar-inner { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: .7rem; color: rgba(255,255,255,.4); }
.demo-badge { font-size: .54rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; background: rgba(46,138,196,0.2); color: var(--blue-lt); padding: 3px 10px; }
.demo-link { color: var(--blue-lt); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.demo-copy { color: rgba(255,255,255,.18); font-size: .62rem; margin-left: 4px; }
@media(max-width:640px){ .demo-copy { display: none; } }

/* ─── HEADER ─── */
.site-header { position: fixed; top: 36px; left: 0; right: 0; z-index: 500; padding: 0 5vw; height: 68px; display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,0.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 2px 20px rgba(14,35,64,.06); }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 36px; height: 36px; background: var(--blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.logo-mark svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; }
.logo-text { font-family: var(--ff-en); font-weight: 700; font-size: 1rem; letter-spacing: -.01em; color: var(--dark); line-height: 1; }
.logo-text-sub { display: block; font-size: .52rem; font-weight: 400; letter-spacing: .18em; color: var(--muted); text-transform: uppercase; margin-top: 1px; }
.header-nav { display: flex; align-items: center; gap: 1.8rem; }
.header-nav a { font-family: var(--ff-en); font-size: .7rem; font-weight: 500; letter-spacing: .04em; color: var(--muted); transition: color .2s; }
.header-nav a:hover { color: var(--blue); }
.btn-cta { font-family: var(--ff-en); font-size: .65rem; font-weight: 600; letter-spacing: .06em; padding: 9px 20px; background: var(--blue); color: #fff; border-radius: 4px; transition: background .25s; }
.btn-cta:hover { background: var(--dark); }
.hamburger { display: none; flex-direction: column; gap: 5px; width: 38px; height: 38px; justify-content: center; cursor: pointer; background: none; border: none; padding: 0; }
.hamburger span { display: block; height: 1.5px; background: var(--dark); border-radius: 2px; transition: transform .35s, opacity .25s; }
.hamburger span:nth-child(1) { width: 22px; }
.hamburger span:nth-child(2) { width: 16px; }
.hamburger span:nth-child(3) { width: 22px; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px,4.5px); width: 22px; }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px,-4.5px); }

/* ─── HERO ─── */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 36px); background: var(--bg); }
.hero-left { display: flex; flex-direction: column; justify-content: center; padding: 80px 5vw 80px max(4vw,40px); }
.hero-tag { display: inline-flex; align-items: center; gap: 8px; background: var(--blue-pale); color: var(--blue); font-family: var(--ff-en); font-size: .62rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; padding: 5px 14px; border-radius: 99px; margin-bottom: 1.8rem; }
.hero-tag::before { content: ''; width: 6px; height: 6px; background: var(--blue); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.3)} }
.hero-title { font-family: var(--ff-en); font-weight: 700; font-size: clamp(2rem,3.2vw,3.4rem); line-height: 1.15; color: var(--dark); margin-bottom: 1rem; letter-spacing: -.02em; }
.hero-title span { color: var(--blue); }
.hero-title-jp { font-family: var(--ff-jp); font-weight: 300; font-size: .88rem; letter-spacing: .18em; color: var(--muted); margin-bottom: 1.8rem; }
.hero-desc { font-size: .88rem; line-height: 2; color: var(--muted); max-width: 360px; margin-bottom: 2.5rem; font-weight: 300; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary { font-family: var(--ff-en); font-size: .7rem; font-weight: 600; letter-spacing: .08em; padding: 13px 28px; background: var(--blue); color: #fff; border-radius: 4px; transition: background .25s; }
.btn-primary:hover { background: var(--dark); }
.btn-line { font-family: var(--ff-en); font-size: .7rem; font-weight: 500; letter-spacing: .08em; padding: 13px 28px; background: transparent; color: var(--blue); border: 1.5px solid var(--blue); border-radius: 4px; transition: background .25s, color .25s; }
.btn-line:hover { background: var(--blue); color: #fff; }
.hero-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 2.5rem; }
.hero-badge-item { display: flex; align-items: center; gap: 6px; font-family: var(--ff-en); font-size: .62rem; font-weight: 500; color: var(--muted); }
.hero-badge-item svg { width: 14px; height: 14px; color: var(--blue); }
.hero-right { position: relative; overflow: hidden; background: var(--bg-2); }
.hero-right img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-right::before { content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 4px; background: linear-gradient(to bottom, var(--blue), var(--blue-lt)); z-index: 2; }

/* ─── NEWS ─── */
.news-section { background: var(--bg-2); padding: clamp(32px,4vw,56px) 5vw; }
.news-inner { max-width: 1140px; margin: 0 auto; display: flex; align-items: center; gap: 2rem; }
.news-label { font-family: var(--ff-en); font-size: .6rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: #fff; background: var(--blue); padding: 10px 18px; flex-shrink: 0; border-radius: 3px; }
.news-list { flex: 1; display: flex; flex-direction: column; gap: 0; }
.news-item { display: flex; align-items: center; gap: 1.2rem; padding: 10px 0; border-bottom: 1px solid var(--border); transition: opacity .2s; }
.news-item:first-child { border-top: 1px solid var(--border); }
.news-item:hover { opacity: .7; }
.news-date { font-family: var(--ff-en); font-size: .72rem; font-weight: 500; color: var(--muted); flex-shrink: 0; min-width: 90px; }
.news-cat { font-size: .58rem; letter-spacing: .12em; padding: 2px 8px; background: var(--blue-pale); color: var(--blue); border-radius: 3px; flex-shrink: 0; }
.news-title { font-size: .85rem; font-weight: 400; }

/* ─── SECTION ─── */
section { padding: clamp(60px,7vw,100px) 5vw; }
.wrap { max-width: 1140px; margin: 0 auto; }
.section-eyebrow { font-family: var(--ff-en); font-size: .62rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--blue); margin-bottom: .8rem; display: flex; align-items: center; gap: 10px; }
.section-eyebrow::before { content: ''; width: 24px; height: 2px; background: var(--blue); border-radius: 2px; }
.section-title { font-family: var(--ff-en); font-weight: 700; font-size: clamp(1.6rem,2.4vw,2.6rem); color: var(--dark); line-height: 1.15; margin-bottom: .4rem; letter-spacing: -.02em; }
.section-title-jp { font-family: var(--ff-jp); font-weight: 300; font-size: .8rem; letter-spacing: .18em; color: var(--muted); margin-bottom: 3rem; }

/* ─── FEATURES ─── */
.features-section { background: var(--bg); }
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.feature-card { padding: 2rem; background: var(--bg-2); border-radius: 8px; border: 1px solid var(--border); transition: transform .3s, box-shadow .3s; }
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(14,35,64,.08); }
.feature-icon { width: 48px; height: 48px; background: var(--blue-pale); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; }
.feature-icon svg { width: 24px; height: 24px; color: var(--blue); }
.feature-title { font-family: var(--ff-en); font-weight: 700; font-size: .95rem; color: var(--dark); margin-bottom: .5rem; }
.feature-body { font-size: .82rem; font-weight: 300; line-height: 1.9; color: var(--muted); }

/* ─── TREATMENT ─── */
.treatment-section { background: var(--bg-2); }
.treatment-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5px; background: var(--border); border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.treatment-card { background: var(--bg); padding: 2rem; display: flex; gap: 1.2rem; align-items: flex-start; transition: background .25s; }
.treatment-card:hover { background: var(--bg-2); }
.treatment-num { font-family: var(--ff-en); font-size: .6rem; font-weight: 700; color: var(--blue); letter-spacing: .1em; flex-shrink: 0; margin-top: 2px; }
.treatment-name { font-family: var(--ff-en); font-weight: 600; font-size: .9rem; color: var(--dark); margin-bottom: .4rem; }
.treatment-jp { font-size: .78rem; color: var(--muted); margin-bottom: .6rem; }
.treatment-body { font-size: .8rem; font-weight: 300; line-height: 1.8; color: var(--muted); }

/* ─── DOCTOR ─── */
.doctor-section { background: var(--bg); }
.doctor-inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 6vw; align-items: center; }
.doctor-img img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top; border-radius: 4px; }
.doctor-text h3 { font-family: var(--ff-en); font-weight: 700; font-size: 1.3rem; color: var(--dark); margin-bottom: .4rem; }
.doctor-role { font-size: .75rem; letter-spacing: .12em; color: var(--blue); font-family: var(--ff-en); margin-bottom: 1.2rem; }
.doctor-body { font-size: .88rem; font-weight: 300; line-height: 2.1; color: var(--muted); margin-bottom: 1.5rem; }
.doctor-credentials { display: flex; flex-direction: column; gap: .4rem; }
.doctor-cred { font-size: .78rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.doctor-cred::before { content: ''; width: 4px; height: 4px; background: var(--blue); border-radius: 50%; flex-shrink: 0; }

/* ─── CLINIC ─── */
.clinic-section { background: var(--bg-2); }
.clinic-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 6vw; align-items: start; }
.clinic-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; }
.info-table { width: 100%; border-collapse: collapse; }
.info-table tr { border-bottom: 1px solid var(--border); }
.info-table th { font-family: var(--ff-en); font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 13px 0; text-align: left; width: 7rem; }
.info-table td { font-size: .85rem; font-weight: 300; padding: 13px 0; line-height: 1.7; }

/* ─── FOOTER ─── */
.site-footer { background: var(--dark); padding: 56px 5vw 36px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 4rem; margin-bottom: 40px; }
.footer-logo-wrap { display: flex; align-items: center; gap: 10px; margin-bottom: 1rem; }
.footer-logo-mark { width: 32px; height: 32px; background: var(--blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.footer-logo-mark svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.5; }
.footer-logo-text { font-family: var(--ff-en); font-weight: 700; font-size: .9rem; color: #fff; }
.footer-desc { font-size: .78rem; font-weight: 300; line-height: 1.9; color: rgba(255,255,255,.4); margin-bottom: 1rem; }
.footer-nav-title { font-family: var(--ff-en); font-size: .6rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--blue-lt); margin-bottom: 1rem; }
.footer-nav { display: flex; flex-direction: column; gap: .5rem; }
.footer-nav a { font-size: .8rem; font-weight: 300; color: rgba(255,255,255,.45); transition: color .2s; }
.footer-nav a:hover { color: var(--blue-lt); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: .7rem; color: rgba(255,255,255,.3); }
.footer-link { font-size: .7rem; color: rgba(255,255,255,.3); transition: color .2s; }
.footer-link:hover { color: rgba(255,255,255,.6); }

/* ─── MOBILE ─── */
@media(max-width:860px){
  .header-nav, .btn-cta { display: none; }
  .hamburger { display: flex; z-index: 1100; position: relative; }
  .mobile-nav {
    position: fixed; inset: 0; background: var(--bg); z-index: 1000; pointer-events: none;
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
    padding: 0 8vw;
    clip-path: inset(0 0 100% 0);
    transition: clip-path .55s cubic-bezier(.77,0,.175,1);
  }
  .mobile-nav.nav-open { pointer-events: all; clip-path: inset(0 0 0% 0); }
  .mobile-nav a {
    font-family: var(--ff-en); font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em;
    color: var(--dark); padding: 16px 0; width: 100%; border-bottom: 1px solid var(--border);
    opacity: 0; transform: translateY(-8px);
    transition: color .2s, opacity .4s ease, transform .4s ease;
  }
  .mobile-nav a:last-child { border-bottom: none; }
  .mobile-nav a:hover { color: var(--blue); }
  .mobile-nav.nav-open a { opacity: 1; transform: translateY(0); }
  .mobile-nav.nav-open a:nth-child(1) { transition-delay: .18s; }
  .mobile-nav.nav-open a:nth-child(2) { transition-delay: .25s; }
  .mobile-nav.nav-open a:nth-child(3) { transition-delay: .32s; }
  .mobile-nav.nav-open a:nth-child(4) { transition-delay: .39s; }
  .mobile-nav.nav-open a:nth-child(5) { transition-delay: .46s; }
  .mobile-nav.nav-open a:nth-child(6) { transition-delay: .53s; }
  .site-header.menu-active { background: var(--bg) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-right { aspect-ratio: 4/3; }
  .hero-left { padding: 48px 6vw; }
  .features-grid { grid-template-columns: 1fr; gap: 1rem; }
  .treatment-grid { grid-template-columns: 1fr; }
  .doctor-inner, .clinic-inner { grid-template-columns: 1fr; }
  .news-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}
