/* ==========================================================================
   青山アール矯正歯科 大阪院 - Master Stylesheet
   Luxury & Clean Medical Web Design: White Base + Lime Green (#76B82A) + Vibrant Orange (#FF7A00)
   WCAG 2.1 AA Compliant, Responsive (Mobile 375px-430px & Desktop 1024px-1920px+)
   ========================================================================== */

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

:root {
  /* Brand Colors: White, Fresh Lime Green, Vibrant Orange */
  --primary: #76b82a;          /* ブランド爽やか黄緑（装飾・アクセント・境界線用） */
  --primary-light: #92d440;
  --primary-dark: #376810;     /* WCAG AA準拠・白背景でコントラスト比5.6:1を達成する視認用ダークグリーン */
  --primary-text: #2d580b;     /* テキスト・リンク用ハイコントラストグリーン（比率6.3:1） */
  --primary-gradient: linear-gradient(135deg, #7bc22a 0%, #468c0e 100%); /* 白文字がくっきり読めるボタン用グラデーション */
  
  --accent: #ff7a00;           /* 温かみのあるオレンジ（予約・注目CTA） */
  --accent-light: #ff9838;
  --accent-dark: #c24d00;      /* WCAG AA準拠・白背景でコントラスト比4.9:1を達成する視認用ダークオレンジ */
  --accent-text: #b84500;      /* テキスト用ハイコントラストオレンジ（比率5.3:1） */
  --accent-gradient: linear-gradient(135deg, #ff8214 0%, #d85400 100%); /* 白文字がくっきり読めるCTAグラデーション */
  
  --gold: #76b82a;             /* 既存クラス互換用 */
  --gold-dark: #376810;
  --gold-light: #ebf7d9;
  --gold-gradient: linear-gradient(135deg, #ff8214 0%, #d85400 100%); /* ボタンはオレンジ */

  --text-main: #111827;        /* 超高視認性ダークチャコール（コントラスト比16.1:1 - AAA適合） */
  --text-sub: #374151;         /* 高視認性サブテキスト（コントラスト比9.3:1 - AAA適合） */
  --text-muted: #4b5563;       /* 注記・メタ情報用（コントラスト比7.0:1 - AAA適合） */
  
  --bg-main: #ffffff;          /* 完全な清潔白地 */
  --bg-soft: #f8faf5;          /* ほんのり清潔なオフホワイト/ミントホワイト */
  --bg-card: #ffffff;
  --bg-alt: #f1f7ea;
  --bg-orange-soft: #fff8f2;
  
  --border-color: #e2ebd5;
  --border-orange: #fed7aa;
  
  --shadow-sm: 0 2px 10px rgba(118, 184, 42, 0.08);
  --shadow-md: 0 8px 24px rgba(118, 184, 42, 0.12);
  --shadow-lg: 0 16px 36px rgba(45, 55, 72, 0.10);
  --shadow-orange: 0 8px 24px rgba(216, 84, 0, 0.35);
  
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --font-base: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Noto Serif JP', serif;
  --font-en: 'League Spartan', sans-serif;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --max-w: 1200px;
}

*, *::before, *::after {
  box-sizing: border-box !important;
  margin: 0;
  padding: 0;
  max-width: 100%;
}

html, body {
  width: 100% !important;
  max-width: 100vw !important;
  overflow-x: hidden !important;
  position: relative;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-base);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.85;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  position: relative;
  word-break: normal;
  overflow-wrap: anywhere;
  word-break: auto-phrase; /* 日本語の文節（単語の区切り）で自動改行 */
  text-wrap: pretty;       /* 末尾の1文字落ちを自動防止 */
  padding-top: 88px;       /* 固定ヘッダー分の余白 */
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;      /* 見出しの折り返し行長を左右均等に美しく整列 */
  word-break: auto-phrase;
  overflow-wrap: anywhere;
  line-height: 1.45;
}

p, li, td, th, label, div, span, a, button, input, select, textarea {
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}

/* ==========================================================================
   Responsive Break Utilities (PC・スマホ別レスポンシブ改行)
   ========================================================================== */
.pc-only {
  display: inline;
}
.sp-only {
  display: none;
}
.inline-block, .nowrap-unit {
  display: inline-block;
  white-space: nowrap;
}
.keep-all {
  word-break: keep-all;
}

@media (max-width: 768px) {
  .pc-only {
    display: none !important;
  }
  .sp-only {
    display: inline !important;
  }
}

img, video, iframe, canvas, svg {
  max-width: 100% !important;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

/* ==========================================================================
   Typography & Color Utilities (WCAG AA Compliant)
   ========================================================================== */

.container {
  width: 100% !important;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
  box-sizing: border-box !important;
}

.text-gold, .text-green { color: var(--primary-text); }
.text-green-brand { color: var(--primary); }
.text-orange { color: var(--accent-text); }
.text-orange-brand { color: var(--accent); }
.text-navy { color: var(--text-main); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.font-serif { font-family: var(--font-serif); }
.font-en { font-family: var(--font-en); }

.bg-soft { background-color: var(--bg-soft); }
.bg-white { background-color: #ffffff; }
.bg-orange-soft { background-color: var(--bg-orange-soft); }

.gold-gradient-text, .orange-gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.green-gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-head {
  text-align: left;
  margin-bottom: 3rem;
}

.section-en-title {
  font-family: var(--font-en);
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  color: var(--primary-dark);
  font-weight: 800;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 0.5rem;
  background: rgba(118, 184, 42, 0.14);
  padding: 0.3rem 1.1rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(118, 184, 42, 0.25);
}

.section-title {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 1rem;
  font-family: var(--font-serif);
}

.section-desc {
  font-size: 1.02rem;
  color: var(--text-sub);
  max-width: 780px;
  margin: 0;
  text-align: left;
  line-height: 1.8;
}

.section-padding {
  padding: 5rem 0;
}

@media (min-width: 768px) {
  .section-padding { padding: 6.5rem 0; }
  .section-title { font-size: 2.4rem; }
}

/* ==========================================================================
   Buttons & CTAs (High-Contrast & WCAG AA Compliant)
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.85rem;
  font-size: 0.96rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
  white-space: nowrap;
  min-height: 46px; /* タップ領域の最低基準 */
}

/* Orange Main CTA Button */
.btn-gold, .btn-orange {
  background: var(--accent-gradient);
  color: #ffffff !important;
  box-shadow: var(--shadow-orange);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.btn-gold:hover, .btn-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(216, 84, 0, 0.45);
  filter: brightness(1.05);
  color: #ffffff !important;
}

/* Lime Green Sub Button */
.btn-navy, .btn-green {
  background: var(--primary-gradient);
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(70, 140, 14, 0.28);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.20);
}

.btn-navy:hover, .btn-green:hover {
  background: var(--primary-gradient);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(70, 140, 14, 0.40);
  filter: brightness(1.06);
  color: #ffffff !important;
}

.btn-outline-gold, .btn-outline-green {
  background: #ffffff;
  border: 2px solid var(--primary-dark);
  color: var(--primary-dark) !important;
}

.btn-outline-gold:hover, .btn-outline-green:hover {
  background: var(--primary-gradient);
  color: #ffffff !important;
  border-color: transparent;
}

.btn-outline-white {
  background: transparent;
  border: 2px solid #ffffff;
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-outline-white:hover {
  background: #ffffff;
  color: var(--primary-dark) !important;
  text-shadow: none;
}

.btn-lg {
  padding: 1.15rem 2.4rem;
  font-size: 1.1rem;
  min-height: 52px;
}

.btn-pulse {
  animation: pulse-orange 2.5s infinite;
}

@keyframes pulse-orange {
  0% { box-shadow: 0 0 0 0 rgba(232, 94, 0, 0.65); }
  70% { box-shadow: 0 0 0 16px rgba(232, 94, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 94, 0, 0); }
}

/* ==========================================================================
   PERFECT HEADER & NAVIGATION (72PX LOGO & ZERO OVERFLOW 1-LINE SYSTEM)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 88px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid var(--border-color);
  transition: height 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1420px !important;
  width: 100% !important;
  height: 88px;
  padding: 0 1.25rem !important;
  box-sizing: border-box !important;
  gap: 0.75rem;
}

/* Site Logo - Prominent 72px Size on Desktop */
.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.site-logo img {
  height: 72px !important;
  max-height: 72px !important;
  width: auto !important;
  display: block;
  object-fit: contain;
  transition: var(--transition);
}

/* Desktop Navigation (8 Items Fitted Perfectly in 1 Line) */
.site-nav-desktop {
  display: none;
  align-items: center;
  flex-shrink: 1;
  white-space: nowrap;
  flex-wrap: nowrap;
}

@media (min-width: 1024px) {
  .site-nav-desktop {
    display: flex;
    gap: 0.55rem;
  }
}

@media (min-width: 1200px) {
  .site-nav-desktop {
    gap: 0.85rem;
  }
}

@media (min-width: 1340px) {
  .site-nav-desktop {
    gap: 1.25rem;
  }
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  position: relative;
  padding: 0.45rem 0.2rem;
  white-space: nowrap;
  letter-spacing: -0.01em;
  transition: var(--transition);
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .site-logo img {
    height: 64px !important;
    max-height: 64px !important;
  }
  .nav-link {
    font-size: 0.82rem;
    padding: 0.4rem 0.1rem;
    letter-spacing: -0.025em;
  }
}

@media (min-width: 1280px) {
  .nav-link {
    font-size: 0.93rem;
  }
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--primary-dark);
}

.nav-link.active {
  color: var(--primary-dark);
  font-weight: 800;
}

.header-cta-group {
  display: none;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .header-cta-group {
    display: flex !important;
  }
}

.header-phone-info {
  text-align: right;
  line-height: 1.15;
  margin-right: 0.2rem;
}

.header-phone-num {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: 0.02em;
}

.header-phone-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.02em;
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .header-phone-label {
    display: none;
  }
  .header-phone-num {
    font-size: 0.95rem;
  }
  .header-cta-group .btn {
    padding: 0.5rem 0.85rem !important;
    font-size: 0.84rem !important;
  }
}

.header-cta-group .btn {
  padding: 0.6rem 1.15rem !important;
  font-size: 0.88rem !important;
  border-radius: var(--radius-full) !important;
  white-space: nowrap !important;
  width: auto !important;
  display: inline-flex !important;
  min-height: 40px;
}

/* Instagram Header & Nav Button */
.header-insta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff !important;
  font-size: 1.25rem;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(220, 39, 67, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  flex-shrink: 0;
}
.header-insta-btn:hover {
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 6px 16px rgba(220, 39, 67, 0.4);
  color: #ffffff !important;
  filter: brightness(1.1);
}

.btn-insta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border-radius: var(--radius-full) !important;
  padding: 0.65rem 1.25rem !important;
  box-shadow: 0 4px 12px rgba(220,39,67,0.25) !important;
  text-decoration: none !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}
.btn-insta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(220,39,67,0.4) !important;
}

/* Header Sub-bar */
.header-subbar {
  background: #ffffff;
  border-bottom: 2px solid #e2ebd5;
  padding: 0.55rem 0;
  font-size: 0.88rem;
  color: #1e293b;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.header-subbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
}

.header-subbar-name {
  font-weight: 800;
  color: #1e293b;
  letter-spacing: 0.05em;
  font-size: 0.95rem;
}

.header-subbar-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.2rem;
  font-size: 0.88rem;
  color: #334155;
  font-weight: 600;
}

@media (max-width: 768px) {
  .header-subbar {
    padding: 0.45rem 0;
  }
  .header-subbar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
  .header-subbar-name {
    font-size: 0.88rem;
  }
  .header-subbar-info {
    gap: 0.35rem 0.75rem;
    font-size: 0.8rem;
  }
}

@media (min-width: 769px) and (max-width: 1023px) {
  .header-subbar-inner {
    gap: 0.4rem 0.8rem;
  }
  .header-subbar-info {
    gap: 0.4rem 0.9rem;
    font-size: 0.82rem;
  }
}

/* Hamburger Button */
.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .hamburger-btn {
    display: none !important;
  }
}

.hamburger-btn span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--primary-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger-btn.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}
.hamburger-btn.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 88%;
  max-width: 390px;
  height: 100vh;
  background: #ffffff;
  z-index: 999;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 4.5rem 1.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer.open {
  right: 0;
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(17, 24, 39, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.mobile-nav-link {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  padding: 0.85rem 0.25rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
}

.mobile-nav-link i {
  color: var(--primary-dark);
}

.mobile-drawer-cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* ==========================================================================
   Page Banner / Hero Styles (White & Light Green Gradient)
   ========================================================================== */

.page-hero {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f7fbf0 60%, #eef8df 100%);
  color: #0f172a;
  padding: 4.5rem 0 3.5rem;
  text-align: left;
  border-bottom: 2px solid #dbe8cb;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(255, 122, 0, 0.07) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero-en {
  font-family: var(--font-en);
  color: #275a0e;
  letter-spacing: 0.15em;
  font-size: 0.92rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  display: inline-block;
  background: rgba(118, 184, 42, 0.15);
  padding: 0.25rem 0.9rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(118, 184, 42, 0.35);
}

.page-hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  font-family: var(--font-serif);
  line-height: 1.35;
  margin-bottom: 1.1rem;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.page-hero-desc {
  font-size: 1.05rem;
  color: #1e293b;
  max-width: 820px;
  margin: 0;
  text-align: left;
  line-height: 1.85;
  font-weight: 500;
}

.breadcrumb {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  color: #475569;
  margin-top: 1.5rem;
  font-weight: 600;
}

.breadcrumb a {
  color: #275a0e;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumb a:hover {
  color: #ea580c;
}

/* ==========================================================================
   Badges & Stat Boxes (WCAG AA Compliant)
   ========================================================================== */

.badge-gold, .badge-green {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(118, 184, 42, 0.14);
  color: var(--primary-dark);
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  border: 1px solid rgba(118, 184, 42, 0.35);
}

.badge-orange {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 122, 0, 0.14);
  color: var(--accent-dark);
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  border: 1px solid rgba(255, 122, 0, 0.35);
}

.badge-navy {
  display: inline-flex;
  align-items: center;
  background: var(--primary-dark);
  color: #ffffff;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
}

/* ==========================================================================
   Feature / Card Grids
   ========================================================================== */

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.card-body {
  padding: 2.2rem 1.8rem;
}

.card-icon {
  width: 58px;
  height: 58px;
  background: rgba(118, 184, 42, 0.14);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--primary-dark);
  margin-bottom: 1.25rem;
}

.card-title {
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  font-family: var(--font-serif);
}

.card-text {
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.75;
}

/* ==========================================================================
   Comparison Table & Data Presentations
   ========================================================================== */

.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--border-color);
  background: #ffffff;
  -webkit-overflow-scrolling: touch;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  min-width: 620px;
}

.comparison-table th,
.comparison-table td {
  padding: 1.25rem 1rem;
  border: 1px solid var(--border-color);
  font-size: 0.95rem;
}

.comparison-table th {
  background: var(--bg-soft);
  font-weight: 700;
  color: var(--text-main);
}

.comparison-table th.highlight,
.comparison-table td.highlight {
  background: #f7fcf0;
  border-color: #cbe6a8;
}

.comparison-table td.highlight {
  color: var(--primary-text);
  font-weight: 700;
}

.badge-check {
  display: inline-block;
  color: var(--primary-dark);
  font-weight: 900;
  font-size: 1.25rem;
}

.badge-cross {
  display: inline-block;
  color: #ef4444;
  font-weight: 700;
  font-size: 1.1rem;
}

.badge-triangle {
  display: inline-block;
  color: #f59e0b;
  font-weight: 700;
  font-size: 1.1rem;
}

/* ==========================================================================
   Accordion (FAQ)
   ========================================================================== */

.accordion-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.accordion-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.accordion-header {
  padding: 1.25rem 1.5rem;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  min-height: 48px;
}

.accordion-header .q-icon {
  width: 30px;
  height: 30px;
  background: var(--primary-gradient);
  color: #ffffff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  flex-shrink: 0;
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.accordion-arrow {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--text-muted);
}

.accordion-item.active .accordion-arrow {
  transform: rotate(180deg);
  color: var(--primary-dark);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  background: var(--bg-soft);
}

.accordion-body-inner {
  padding: 1.25rem 1.5rem 1.5rem 3.5rem;
  color: var(--text-sub);
  font-size: 0.96rem;
  line-height: 1.85;
  position: relative;
}

.accordion-body-inner::before {
  content: 'A';
  position: absolute;
  left: 1.5rem;
  top: 1.25rem;
  width: 30px;
  height: 30px;
  background: var(--accent-gradient);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   Pricing Table & Calculator (Refined Visual Hierarchy)
   ========================================================================== */

.price-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.8rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.price-card.featured {
  border: 2px solid var(--primary-dark);
  box-shadow: 0 12px 32px rgba(118, 184, 42, 0.16);
  background: #ffffff;
}

.price-card-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-gradient);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 800;
  padding: 0.4rem 1.4rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(70, 140, 14, 0.35);
  white-space: nowrap;
}

.price-plan-name {
  font-size: 1.38rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  font-family: var(--font-serif);
}

.price-target {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.price-amount {
  font-size: 2.7rem;
  font-weight: 800;
  color: var(--text-main);
  font-family: var(--font-en);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.price-amount span {
  font-size: 1rem;
  font-family: var(--font-base);
  color: var(--text-sub);
  font-weight: 500;
}

.price-monthly {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--accent-text);
  margin-bottom: 1.5rem;
}

.price-features {
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  font-size: 0.94rem;
  color: var(--text-sub);
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.price-features li::before {
  content: '✓';
  color: var(--primary-dark);
  font-weight: 900;
  font-size: 1.1rem;
  line-height: 1.4;
  flex-shrink: 0;
}

/* ==========================================================================
   DR. TOKUHISA ACADEMIC BACKGROUND TABBED UI (#doctor-academic-tabs)
   ========================================================================== */
.doctor-tabs-container {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.doctor-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 1.25rem;
  margin-bottom: 2rem;
}

.doctor-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  background: var(--bg-soft);
  border: 1px solid var(--border-color);
  color: var(--text-sub);
  cursor: pointer;
  transition: var(--transition);
  min-height: 46px;
}

.doctor-tab-btn:hover {
  background: #f1f7ea;
  color: var(--primary-dark);
  border-color: var(--primary);
}

.doctor-tab-btn.active {
  background: var(--primary-gradient);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(70, 140, 14, 0.35);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.doctor-tab-btn.active i {
  color: #ffffff;
}

.doctor-tab-pane {
  display: none;
  animation: fadeInPane 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.doctor-tab-pane.active {
  display: block;
}

@keyframes fadeInPane {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Timeline Cards in Doctor Profile */
.timeline-card-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.timeline-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-soft);
  transition: var(--transition);
  align-items: flex-start;
}

.timeline-item:hover {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.timeline-item.highlight-award {
  background: #fff9f2;
  border: 2px solid var(--accent);
  box-shadow: 0 4px 16px rgba(255, 122, 0, 0.15);
}

.timeline-year {
  font-family: var(--font-en);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-dark);
  min-width: 90px;
  flex-shrink: 0;
}

.timeline-item.highlight-award .timeline-year {
  color: var(--accent-text);
}

.timeline-body {
  flex: 1;
  font-size: 0.96rem;
  color: var(--text-main);
  line-height: 1.7;
}

/* Lecture / Seminar Cards */
.lecture-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lecture-card {
  padding: 1.2rem 1.5rem;
  background: var(--bg-soft);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--primary-dark);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  transition: var(--transition);
}

.lecture-card:hover {
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  border-left-color: var(--accent);
}

.lecture-date {
  font-weight: 800;
  color: var(--primary-dark);
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.lecture-title {
  font-weight: 700;
  color: var(--text-main);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* Society / Paper Cards */
.society-card-group {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.society-card {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.society-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.paper-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-left: 1.25rem;
}

.paper-list li {
  list-style: disc;
  font-size: 0.94rem;
  color: var(--text-sub);
  line-height: 1.65;
}

/* ==========================================================================
   Case Before / After Photo Presentation (Side-by-Side PC / Stacked Mobile)
   ========================================================================== */
.case-before-after-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: stretch;
}

.case-photo-box {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: #f8fafc;
}

.case-photo-box img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.case-photo-box:hover img {
  transform: scale(1.03);
}

.case-photo-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.case-photo-tag.before {
  background: rgba(75, 85, 99, 0.9);
}

.case-photo-tag.after {
  background: var(--accent-gradient);
}

/* ==========================================================================
   Footer (White with Fresh Green accents)
   ========================================================================== */

.site-footer {
  background: #ffffff;
  color: var(--text-main);
  padding: 5rem 0 7rem;
  border-top: 3px solid var(--primary);
}

@media (min-width: 768px) {
  .site-footer { padding-bottom: 4rem; }
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 900px) {
  .footer-top {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

.footer-brand h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.6rem;
}

.footer-brand p {
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.footer-heading {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav a {
  font-size: 0.95rem;
  color: var(--text-sub);
  min-height: 24px;
  display: inline-flex;
  align-items: center;
}

.footer-nav a:hover {
  color: var(--primary-dark);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  font-size: 0.92rem;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ==========================================================================
   Floating CTA Bar (Mobile Touch Optimization)
   ========================================================================== */

.floating-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-color);
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  display: flex;
  gap: 0.75rem;
  z-index: 990;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
}

@media (min-width: 820px) {
  .floating-cta-bar {
    display: none;
  }
}

.floating-cta-btn {
  flex: 1;
  padding: 0.85rem 0.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-align: center;
  min-height: 48px; /* タップ目標 48px */
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.form-label .badge-req {
  background: var(--accent);
  color: #ffffff;
  font-size: 0.72rem;
  padding: 0.2rem 0.45rem;
  border-radius: 3px;
  margin-left: 0.4rem;
  font-weight: 700;
}

.form-label .badge-opt {
  background: #94a3b8;
  color: #ffffff;
  font-size: 0.72rem;
  padding: 0.2rem 0.45rem;
  border-radius: 3px;
  margin-left: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.98rem;
  font-family: inherit;
  transition: var(--transition);
  background: #ffffff;
  min-height: 46px;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(118, 184, 42, 0.20);
}

/* ==========================================================================
   Blog & Staff Articles Styles (医院メンバーブログ)
   ========================================================================== */

.blog-cat-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.5rem;
  margin-bottom: 2.5rem;
  white-space: nowrap;
}
.blog-cat-tabs::-webkit-scrollbar {
  height: 4px;
}
.blog-cat-tabs::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}
.blog-cat-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-sub);
  transition: var(--transition);
  cursor: pointer;
  min-height: 44px;
}
.blog-cat-tab:hover, .blog-cat-tab.active {
  background: var(--primary-gradient);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(70, 140, 14, 0.28);
}

.blog-featured-card {
  display: grid;
  grid-template-columns: 1fr;
  background: #ffffff;
  border: 2px solid var(--primary-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 3.5rem;
  transition: var(--transition);
}
@media (min-width: 860px) {
  .blog-featured-card {
    grid-template-columns: 1.2fr 1fr;
  }
}
.blog-featured-img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 380px;
  object-fit: cover;
  display: block;
}
.blog-featured-body {
  padding: 2.2rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 640px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}
.blog-card-thumb {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #f1f5f9;
}
.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-thumb img {
  transform: scale(1.05);
}
.blog-card-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent-gradient);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.blog-author-mini {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.blog-author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-color);
}
.blog-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  font-family: var(--font-serif);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-desc {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.blog-card-more {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
}

/* ==========================================================================
   Single Article Content Styles (記事詳細)
   ========================================================================== */
.article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 960px) {
  .article-layout {
    grid-template-columns: 1fr 320px;
  }
}

.article-main {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.8rem 2.2rem;
  box-shadow: var(--shadow-sm);
}

.article-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}
.article-title {
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 1.25rem;
  font-family: var(--font-serif);
  color: var(--text-main);
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.article-author-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.article-author-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-light);
}
.article-author-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}
.article-author-role {
  font-size: 0.8rem;
  color: var(--primary-dark);
  font-weight: 700;
}

.article-eyecatch {
  width: 100%;
  border-radius: var(--radius-md);
  margin-bottom: 2.5rem;
  overflow: hidden;
  border: 1px solid var(--border-color);
}
.article-eyecatch img {
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: cover;
}

.article-body {
  font-size: 1.02rem;
  line-height: 2;
  color: #1f2937;
}
.article-body p {
  margin-bottom: 1.75rem;
}
.article-body h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 3rem 0 1.5rem;
  padding: 0.75rem 1rem 0.75rem 1.25rem;
  background: linear-gradient(to right, #f4faec, #ffffff);
  border-left: 6px solid var(--primary);
  border-radius: 0 8px 8px 0;
  font-family: var(--font-serif);
}
.article-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 2.25rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-color);
}
.article-body ul, .article-body ol {
  margin: 1.25rem 0 2rem 1.5rem;
  line-height: 1.85;
}
.article-body ul li {
  list-style: disc;
  margin-bottom: 0.5rem;
}
.article-body ol li {
  list-style: decimal;
  margin-bottom: 0.5rem;
}

.toc-box {
  background: var(--bg-soft);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 2rem 0 2.5rem;
}
.toc-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.toc-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.94rem;
}
.toc-list a {
  color: var(--text-sub);
  text-decoration: underline;
}
.toc-list a:hover {
  color: var(--primary-dark);
}

.point-box {
  background: #f7fcf0;
  border: 2px solid #cbe6a8;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 2rem 0;
}
.point-box-title {
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.caution-box {
  background: #fff8f2;
  border: 2px solid #fed7aa;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 2rem 0;
}
.caution-box-title {
  font-weight: 700;
  color: var(--accent-dark);
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==========================================================================
   ULTIMATE MOBILE RESPONSIVE OPTIMIZATIONS (375px〜430px)
   ========================================================================== */
@media (max-width: 768px) {
  body {
    padding-top: 76px !important;
    padding-bottom: calc(76px + env(safe-area-inset-bottom)) !important;
  }

  .site-header {
    height: 76px !important;
  }

  .header-inner {
    height: 76px !important;
    padding: 0 1rem !important;
  }

  .site-logo img {
    height: 48px !important;
    max-height: 50px !important;
    max-width: 220px !important;
    width: auto !important;
  }

  .container {
    padding: 0 1rem !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  .section-padding {
    padding: 3.5rem 0 !important;
  }

  .section-title {
    font-size: 1.55rem !important;
    line-height: 1.4 !important;
  }

  .section-desc {
    font-size: 0.94rem !important;
    line-height: 1.75 !important;
  }

  .section-head {
    margin-bottom: 2.2rem !important;
  }

  .page-hero {
    padding: 2.8rem 0 2.2rem !important;
  }

  .page-hero-title {
    font-size: 1.55rem !important;
    line-height: 1.4 !important;
  }

  .page-hero-desc {
    font-size: 0.94rem !important;
    line-height: 1.75 !important;
  }

  /* Buttons on Mobile */
  .btn, .btn-lg {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 0.95rem !important;
    padding: 0.85rem 1rem !important;
    min-height: 48px !important;
  }

  .card-body {
    padding: 1.5rem 1.15rem !important;
  }

  .price-card {
    padding: 2.2rem 1.25rem !important;
    transform: none !important;
    margin-bottom: 1.5rem !important;
  }

  .price-amount {
    font-size: 2.2rem !important;
  }

  /* Doctor Tabbed UI Mobile */
  .doctor-tabs-container {
    padding: 1.5rem 1rem !important;
  }

  .doctor-tabs-nav {
    flex-direction: column !important;
    gap: 0.5rem !important;
  }

  .doctor-tab-btn {
    width: 100% !important;
    justify-content: flex-start !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.92rem !important;
  }

  .timeline-item {
    flex-direction: column !important;
    gap: 0.4rem !important;
    padding: 1rem !important;
  }

  .timeline-year {
    min-width: auto !important;
    font-size: 1rem !important;
  }

  /* Case Before / After Stack on Mobile */
  .case-before-after-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  .case-photo-box img {
    height: 220px !important;
  }

  /* Multi-column grids stack on mobile */
  .grid-2, .grid-3, .grid-4, .hero-grid-layout, .doctor-highlight-grid, .access-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    width: 100% !important;
  }
}



/* ==========================================================================
   Frameless 3D Floating & Rotating Aligner Cinema Stage (World-Class)
   ========================================================================== */

.aligner-cinema-stage {
  position: relative;
  width: 100%;
  max-width: 520px;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
}

/* Ambient Radial Light Beam Aura */
.aligner-ambient-glow {
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(118, 184, 42, 0.22) 0%, rgba(2, 132, 199, 0.15) 40%, rgba(255, 122, 0, 0.08) 65%, transparent 75%);
  border-radius: 50%;
  filter: blur(40px);
  animation: glowBreathe 7s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 1;
}

@keyframes glowBreathe {
  0% { transform: translate(-50%, -50%) scale(0.85); opacity: 0.5; }
  100% { transform: translate(-50%, -50%) scale(1.18); opacity: 0.95; }
}

/* Top Floating Official Brand Header */
.aligner-brand-float {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.55rem 1.4rem;
  border-radius: 9999px;
  box-shadow: 0 8px 24px rgba(0, 45, 98, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.95);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 10;
  animation: badgeHover 6s ease-in-out infinite alternate;
}

@keyframes badgeHover {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-6px); }
}

.aligner-brand-logo {
  height: 32px;
  width: auto;
}

.aligner-brand-tag {
  font-size: 0.78rem;
  font-weight: 800;
  color: #002d62;
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  padding: 0.25rem 0.7rem;
  border-radius: 9999px;
  letter-spacing: 0.02em;
}

/* 3D Floating Pure Aligner Container (NO FRAME / NO BOX) */
.aligner-3d-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 320px;
  transform-style: preserve-3d;
  animation: pureAlignerFloat 8s ease-in-out infinite;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
}

/* Multi-axis Continuous 3D Floating & Rotating Motion */
@keyframes pureAlignerFloat {
  0% {
    transform: translateY(0px) rotateX(12deg) rotateY(-18deg) rotateZ(-3deg) scale(1);
  }
  25% {
    transform: translateY(-18px) rotateX(-8deg) rotateY(14deg) rotateZ(4deg) scale(1.03);
  }
  50% {
    transform: translateY(-30px) rotateX(-14deg) rotateY(26deg) rotateZ(-2deg) scale(1.06);
  }
  75% {
    transform: translateY(-14px) rotateX(8deg) rotateY(-8deg) rotateZ(3deg) scale(1.02);
  }
  100% {
    transform: translateY(0px) rotateX(12deg) rotateY(-18deg) rotateZ(-3deg) scale(1);
  }
}

/* Frameless Aligner Vector Graphic */
.aligner-isolated-graphic {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0, 45, 98, 0.18)) drop-shadow(0 8px 16px rgba(118, 184, 42, 0.2));
  transition: filter 0.3s ease;
  animation: alignerGleam 6s ease-in-out infinite alternate;
}

@keyframes alignerGleam {
  0% { filter: drop-shadow(0 20px 30px rgba(0, 45, 98, 0.16)) drop-shadow(0 8px 16px rgba(118, 184, 42, 0.18)) brightness(1); }
  50% { filter: drop-shadow(0 28px 40px rgba(2, 132, 199, 0.28)) drop-shadow(0 12px 24px rgba(118, 184, 42, 0.3)) brightness(1.08); }
  100% { filter: drop-shadow(0 20px 30px rgba(0, 45, 98, 0.16)) drop-shadow(0 8px 16px rgba(118, 184, 42, 0.18)) brightness(1); }
}

/* Shimmer Sparkles floating around the aligner */
.aligner-sparkle {
  position: absolute;
  color: #38bdf8;
  font-size: 1.1rem;
  pointer-events: none;
  animation: sparkleTwinkle 3s ease-in-out infinite alternate;
}

.sparkle-1 { top: 18%; left: 8%; animation-delay: 0s; font-size: 1.4rem; color: #76B82A; }
.sparkle-2 { top: 12%; right: 12%; animation-delay: 1.2s; font-size: 1.2rem; color: #ea580c; }
.sparkle-3 { bottom: 22%; left: 14%; animation-delay: 2.1s; font-size: 1rem; color: #0284c7; }
.sparkle-4 { bottom: 16%; right: 10%; animation-delay: 0.7s; font-size: 1.3rem; color: #38bdf8; }

@keyframes sparkleTwinkle {
  0% { transform: scale(0.4) rotate(0deg); opacity: 0.2; }
  50% { transform: scale(1.2) rotate(180deg); opacity: 1; filter: drop-shadow(0 0 8px currentColor); }
  100% { transform: scale(0.6) rotate(360deg); opacity: 0.4; }
}

/* Floating Glass Feature Badges (Tethered in 3D Space) */
.aligner-3d-tag {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #0f172a;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0,0,0,0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  z-index: 8;
  white-space: nowrap;
}

.aligner-tag-left {
  top: 65%;
  left: -10px;
  animation: tagBob1 5.5s ease-in-out infinite alternate;
}

.aligner-tag-right {
  top: 15%;
  right: -15px;
  background: rgba(15, 23, 42, 0.9);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  animation: tagBob2 6s ease-in-out infinite alternate;
}

@keyframes tagBob1 {
  0% { transform: translateY(0px) rotate(-2deg); }
  100% { transform: translateY(-10px) rotate(2deg); }
}

@keyframes tagBob2 {
  0% { transform: translateY(0px) rotate(2deg); }
  100% { transform: translateY(12px) rotate(-2deg); }
}

/* Dynamic Ground Shadow (Synchronized with 3D Float) */
.aligner-ground-shadow {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 65%;
  height: 22px;
  background: radial-gradient(ellipse at center, rgba(0, 45, 98, 0.28) 0%, rgba(15, 23, 42, 0) 72%);
  border-radius: 50%;
  animation: alignerShadowPulse 8s ease-in-out infinite;
  z-index: 2;
}

@keyframes alignerShadowPulse {
  0% { transform: translateX(-50%) scale(1); opacity: 0.65; }
  50% { transform: translateX(-50%) scale(0.68); opacity: 0.25; filter: blur(4px); }
  100% { transform: translateX(-50%) scale(1); opacity: 0.65; }
}

/* Responsive Scaling for Mobile Screens */
@media (max-width: 768px) {
  .aligner-cinema-stage { min-height: 380px; margin-top: 1.5rem; }
  .aligner-3d-wrapper { height: 260px; max-width: 340px; }
  .aligner-tag-left { left: 0; top: 75%; }
  .aligner-tag-right { right: 0; top: 5%; }
}

