:root {
  --theme: #fd295a;
  --theme-dark: #b60935;
  --theme-deep: #650018;
  --theme-light: #fff4f7;
  --theme-soft: #ffe1e9;
  --theme-accent: #ff7a98;
  --theme-hover: #e21548;
  --theme-border: rgba(253, 41, 90, 0.24);
  --header-bg: #8f082b;
  --header-bg-2: #c71444;
  --text-main: #24131a;
  --text-muted: #66535a;
  --on-theme: #ffffff;
  --on-header: #ffffff;
  --on-dark: #fff7fa;
  --white: #ffffff;
  --shadow-soft: 0 18px 42px rgba(253, 41, 90, 0.18);
}
html, body { margin: 0; min-height: 100%; overflow-x: hidden; overflow-y: auto; }
* { box-sizing: border-box; }
body { background: var(--theme-light); color: var(--text-main); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; }
.container, .section-inner, .header-inner, .footer-inner, .hero-inner {
  width: min(1280px, calc(100% - 80px));
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 1440px) {
  .container, .section-inner, .header-inner, .footer-inner, .hero-inner {
    width: min(1360px, calc(100% - 120px));
  }
}
@media (max-width: 767px) {
  .container, .section-inner, .header-inner, .footer-inner, .hero-inner {
    width: min(100% - 32px, 1280px);
  }
}
.site-header {
  position: sticky; top: 0; width: 100%; z-index: 9999;
  background: linear-gradient(180deg, var(--header-bg) 0%, var(--header-bg-2) 100%);
  color: var(--on-header); box-shadow: var(--shadow-soft); overflow: visible;
}
.header-inner {
  min-height: 82px; display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 24px; overflow: visible;
}
.site-logo { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; overflow: visible; }
.site-logo img { display: block; width: auto; height: auto; max-width: 190px; max-height: 72px; object-fit: contain; }
.main-nav { display: flex; justify-content: center; align-items: center; gap: 18px; }
.main-nav a { color: var(--on-header); text-decoration: none; white-space: nowrap; font-weight: 700; padding: 12px 0; }
.main-nav a.active, .main-nav a:hover { color: #ffe6ed; border-bottom: 2px solid var(--theme-accent); }
.header-actions { justify-self: end; }
.main-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(180deg, var(--theme-accent) 0%, var(--theme) 48%, var(--theme-dark) 100%);
  color: var(--on-theme); border-radius: 999px; box-shadow: var(--shadow-soft);
  text-decoration: none; white-space: nowrap; padding: 13px 22px; font-weight: 800;
}
.mobile-menu-toggle { display: none; border: 0; background: rgba(255,255,255,.16); border-radius: 14px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.mobile-menu-toggle span { width: 22px; height: 2px; background: var(--on-header); display: block; }
.section { padding: 58px 0; }
.hero-section { padding: 72px 0 48px; background: linear-gradient(180deg, var(--theme-light) 0%, var(--theme-soft) 100%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr); align-items: center; gap: 64px; }
.hero-content h1 { font-size: clamp(56px, 5vw, 76px); line-height: 1.05; margin: 0 0 24px; color: var(--theme-dark); letter-spacing: -1.6px; }
.hero-content p { font-size: 19px; line-height: 1.8; color: var(--text-main); margin: 0 0 28px; }
.hero-badge, .hero-tags span, .badge {
  display: inline-flex; align-items: center; border-radius: 999px; padding: 10px 16px;
  background: var(--white); color: var(--theme-dark); border: 1px solid var(--theme-border); font-weight: 800;
}
.hero-badge { margin-bottom: 18px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual, .media-box, .app-visual, .card-media { display: flex; align-items: center; justify-content: center; overflow: visible; }
.hero-media-box {
  width: 100%; max-width: 560px; min-height: 380px; border-radius: 32px;
  background: radial-gradient(circle at 50% 20%, var(--theme-soft), var(--white) 62%);
  border: 1px solid var(--theme-border); box-shadow: var(--shadow-soft);
  display: flex; align-items: center; justify-content: center; overflow: visible; padding: 36px;
}
.hero-media-box img, .media-box img, .app-visual img, .card-media img {
  display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain;
}
.hero-media-box img { max-height: 340px; }
.info-section { padding: 32px 0 48px; }
.info-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.card, .zone-card, .info-card, .feature-card, .category-card, .faq-item, .notice, .visual-card, .intro-card {
  background: var(--white); color: var(--text-main); border: 1px solid var(--theme-border);
  box-shadow: var(--shadow-soft); border-radius: 24px; min-height: auto; height: auto; padding: 28px;
}
.info-card span { color: var(--theme); font-weight: 900; font-size: 22px; }
.info-card h2, .card h3, .zone-card h3, .feature-card h3, .category-card h3, .faq-item h3 { color: var(--theme-dark); margin: 12px 0; }
.info-card p, .card p, .zone-card p, .feature-card p, .category-card p, .faq-item p, .notice p { color: var(--text-muted); line-height: 1.75; }
.category-section { padding-top: 8px; }
.category-pills { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.category-pills a, .category-pill, .tag {
  border-radius: 999px; padding: 10px 16px; display: inline-flex; width: auto; max-width: max-content;
  text-decoration: none; background: var(--white); color: var(--theme-dark); border: 1px solid var(--theme-border); font-weight: 800;
}
.section-heading { max-width: 820px; margin: 0 auto 28px; text-align: center; }
.section-heading h2, .page-hero h1 { color: var(--theme-dark); font-size: clamp(34px, 4vw, 52px); margin: 16px 0; line-height: 1.12; }
.section-heading p, .page-hero p { color: var(--text-muted); line-height: 1.8; font-size: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr); gap: 34px; align-items: center; }
.split.reverse { grid-template-columns: minmax(360px, .82fr) minmax(0, 1fr); }
.visual-card .card-media, .page-media { min-height: 260px; }
.visual-card img, .page-media img { max-height: 320px; }
.link-more { color: var(--theme-dark); font-weight: 900; text-decoration: none; }
.notice { background: linear-gradient(180deg, var(--white), var(--theme-soft)); }
.page-hero { padding: 62px 0 28px; background: linear-gradient(180deg, var(--theme-light), var(--theme-soft)); }
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .7fr); gap: 32px; align-items: start; }
.prose p, .prose li { line-height: 1.82; color: var(--text-main); font-size: 17px; }
.prose h2, .prose h3 { color: var(--theme-dark); }
.check-list { display: grid; gap: 14px; padding: 0; list-style: none; }
.check-list li { background: var(--theme-soft); border: 1px solid var(--theme-border); border-radius: 18px; padding: 16px; }
.footer { background: var(--theme-deep); color: var(--on-dark); padding: 52px 0 22px; margin-top: 48px; }
.footer a { color: var(--on-dark); display: block; text-decoration: none; margin: 10px 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 30px; }
.footer-brand img, .drawer-logo img { max-width: 170px; max-height: 68px; width: auto; height: auto; object-fit: contain; }
.footer p { line-height: 1.75; color: var(--on-dark); }
.footer-bottom { width: min(1280px, calc(100% - 80px)); margin: 28px auto 0; border-top: 1px solid rgba(255,255,255,.18); padding-top: 18px; color: var(--on-dark); }
.mobile-drawer {
  position: fixed; top: 0; left: 0; width: 82%; max-width: 320px; height: 100vh;
  transform: translateX(-100%); transition: transform .28s ease; z-index: 10001;
  background: var(--header-bg); color: var(--on-header); padding: 20px; box-shadow: var(--shadow-soft);
}
.mobile-drawer.is-open { transform: translateX(0); }
.drawer-overlay {
  position: fixed; inset: 0; opacity: 0; visibility: hidden; z-index: 10000;
  background: rgba(36, 19, 26, .48); transition: opacity .2s ease, visibility .2s ease;
}
.drawer-overlay.is-open { opacity: 1; visibility: visible; }
body.menu-open { overflow: hidden; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }
.drawer-close { border: 0; background: rgba(255,255,255,.18); color: var(--on-header); font-size: 30px; border-radius: 14px; width: 44px; height: 44px; }
.drawer-nav { display: grid; gap: 12px; }
.drawer-nav a { color: var(--on-header); text-decoration: none; font-weight: 800; padding: 12px 10px; border-bottom: 1px solid rgba(255,255,255,.18); }
.drawer-note { margin-top: 24px; line-height: 1.7; color: var(--on-header); }
@media (max-width: 1180px) {
  .main-nav { gap: 10px; }
  .main-nav a { font-size: 14px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .header-inner { width: min(100% - 28px, 1280px); min-height: 68px; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 10px; }
  .mobile-menu-toggle { display: inline-flex; width: 44px; height: 44px; }
  .main-nav { display: none; }
  .site-logo { justify-self: center; }
  .site-logo img { max-width: min(150px, 42vw); max-height: 56px; }
  .header-actions { justify-self: end; }
  .header-actions .main-btn { white-space: nowrap; padding: 10px 16px; }
  .hero-section { padding: 48px 0 36px; }
  .hero-inner, .split, .split.reverse, .page-layout { grid-template-columns: 1fr; gap: 32px; }
  .hero-content h1 { font-size: clamp(36px, 9vw, 52px); }
  .hero-media-box { max-width: 100%; min-height: auto; padding: 24px; }
  .hero-media-box img { max-height: 300px; }
  .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .section { padding: 40px 0; }
  .info-grid, .grid-4, .footer-grid { grid-template-columns: 1fr; }
  .card, .zone-card, .info-card, .feature-card, .category-card, .faq-item, .notice, .visual-card, .intro-card { padding: 22px; }
  .footer-bottom { width: min(100% - 32px, 1280px); }
}
@media (max-width: 390px) {
  .header-inner { width: min(100% - 20px, 1280px); grid-template-columns: 44px minmax(0, 1fr) auto; gap: 8px; }
  .site-logo img { max-width: min(120px, 36vw); max-height: 48px; }
  .header-actions .main-btn { padding: 8px 12px; font-size: 13px; }
}
