:root {
  --theme: #ff5662;
  --theme-dark: #c13a45;
  --theme-deep: #711822;
  --theme-light: #fff4f5;
  --theme-soft: #ffe3e6;
  --theme-accent: #ff7b85;
  --theme-hover: #e44753;
  --theme-border: rgba(255, 86, 98, .24);
  --header-bg: #8a1f2a;
  --header-bg-2: #a62935;
  --text-main: #321b1e;
  --text-muted: #76575b;
  --on-theme: #ffffff;
  --on-header: #ffffff;
  --on-dark: #fff7f8;
  --white: #ffffff;
  --shadow-soft: 0 18px 42px rgba(164, 42, 52, .16);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; overflow-x: hidden; overflow-y: auto; }
body { background: var(--theme-light); color: var(--text-main); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.75; }
a { color: var(--theme-dark); }
img { max-width: 100%; }
button, input, textarea { font: inherit; }
.container, .section-inner, .header-inner, .footer-inner { width: min(1280px, calc(100% - 80px)); margin-left: auto; margin-right: auto; }
.section { padding: 66px 0; }
.section-soft { background: linear-gradient(180deg, var(--theme-soft) 0%, var(--theme-light) 100%); }
.section-white { background: var(--white); }
.eyebrow, .badge, .tag { display: inline-flex; width: auto; max-width: max-content; padding: 8px 14px; border-radius: 999px; background: var(--theme-soft); color: var(--theme-dark); border: 1px solid var(--theme-border); font-size: 13px; font-weight: 700; letter-spacing: .04em; }
h1, h2, h3 { margin-top: 0; color: var(--theme-dark); line-height: 1.2; }
h1 { font-size: clamp(38px, 4vw, 62px); letter-spacing: -.03em; }
h2 { font-size: clamp(28px, 2.7vw, 40px); }
h3 { font-size: 20px; }
p { margin: 0 0 18px; }
.muted { color: var(--text-muted); }
.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); border-bottom: 1px solid var(--theme-border); overflow: visible; }
.header-inner { min-height: 82px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; overflow: visible; }
.site-logo, .drawer-logo, .footer-logo { display: inline-flex; align-items: center; justify-content: center; overflow: visible; }
.site-logo { padding: 5px 10px; border-radius: 16px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18); }
.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: 20px; }
.main-nav a { color: var(--on-header); text-decoration: none; white-space: nowrap; font-weight: 700; font-size: 14px; padding: 26px 0 22px; border-bottom: 2px solid transparent; }
.main-nav a.active, .main-nav a:hover { color: #ffe7ea; border-bottom-color: #ff9ca5; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; }
.main-btn, .header-login { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 20px; background: linear-gradient(180deg, var(--theme-accent) 0%, var(--theme) 48%, var(--theme-dark) 100%); color: var(--on-theme); border: 0; border-radius: 999px; box-shadow: 0 14px 28px rgba(0,0,0,.16); text-decoration: none; white-space: nowrap; font-weight: 800; }
.main-btn:hover { background: linear-gradient(180deg, #ff8790 0%, var(--theme-hover) 100%); }
.mobile-menu-toggle { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid rgba(255,255,255,.26); border-radius: 12px; background: rgba(255,255,255,.10); }
.mobile-menu-toggle span { width: 20px; height: 2px; background: var(--on-header); border-radius: 9px; }
.banner-section { padding: 36px 0 24px; background: radial-gradient(circle at 18% 10%, var(--theme-soft) 0%, transparent 30%), linear-gradient(180deg, var(--theme-light), #fff9fa); }
.banner-carousel { position: relative; width: 100%; border-radius: 28px; overflow: hidden; background: var(--theme-soft); box-shadow: var(--shadow-soft); border: 1px solid var(--theme-border); }
.banner-slide { display: none; }
.banner-slide.active { display: flex; align-items: center; justify-content: center; }
.banner-slide img { display: block; width: 100%; height: auto; object-fit: contain; }
.banner-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); background: rgba(113,24,34,.78); color: #fff; font-size: 30px; cursor: pointer; }
.banner-prev { left: 18px; } .banner-next { right: 18px; }
.banner-dots { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; gap: 8px; }
.banner-dots button { width: 10px; height: 10px; border-radius: 50%; border: 1px solid #fff; background: rgba(255,255,255,.45); padding: 0; cursor: pointer; }
.banner-dots button.active { background: #fff; transform: scale(1.2); }
.intro-card, .card, .zone-card, .info-card, .feature-card, .category-card, .faq-item, .notice, .visual-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; }
.intro-card { border-top: 5px solid var(--theme); }
.category-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.category-pills a, .category-pill { border-radius: 999px; padding: 9px 15px; 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: 700; }
.category-pills a:hover { background: linear-gradient(180deg, var(--theme-accent), var(--theme)); color: var(--on-theme); }
.section-heading { max-width: 880px; margin-bottom: 30px; }
.section-heading p { color: var(--text-muted); font-size: 18px; }
.grid-8 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 26px; }
.category-card::before, .info-card::before, .feature-card::before { content: ""; display: block; width: 52px; height: 4px; border-radius: 999px; background: linear-gradient(90deg, var(--theme), var(--theme-accent)); margin-bottom: 16px; }
.card-number { color: var(--theme); font-weight: 900; font-size: 28px; line-height: 1; margin-bottom: 12px; }
.text-link { display: inline-flex; margin-top: 10px; font-weight: 800; text-decoration: none; border-bottom: 1px solid var(--theme-border); }
.media-box, .banner-media, .hero-visual, .app-visual, .card-media { display: flex; align-items: center; justify-content: center; overflow: visible; }
.media-box img, .banner-media img, .hero-visual img, .app-visual img, .card-media img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.split { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(340px,.95fr); gap: 48px; align-items: center; }
.split.reverse .media-box { order: 2; }
.media-box { min-height: 320px; padding: 28px; background: linear-gradient(180deg, var(--white), var(--theme-soft)); border: 1px solid var(--theme-border); border-radius: 28px; box-shadow: var(--shadow-soft); }
.media-box img { max-height: 360px; }
.page-hero { padding: 58px 0 44px; background: radial-gradient(circle at 16% 20%, var(--theme-soft) 0%, transparent 34%), linear-gradient(180deg, var(--theme-light) 0%, var(--white) 100%); }
.page-hero .hero-grid { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(340px,.92fr); gap: 48px; align-items: center; }
.page-hero h1 { margin: 14px 0 20px; max-width: 850px; }
.page-hero p { font-size: 18px; color: var(--text-muted); }
.hero-note { padding: 26px; background: linear-gradient(180deg, var(--white), var(--theme-soft)); border: 1px solid var(--theme-border); border-radius: 28px; box-shadow: var(--shadow-soft); }
.hero-note ul, .topic-list, .check-list { padding-left: 20px; margin: 14px 0 0; }
.hero-note li, .topic-list li, .check-list li { margin: 9px 0; }
.content-prose p { font-size: 17px; }
.topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; margin-top: 26px; }
.topic-card { padding: 22px; background: var(--white); border: 1px solid var(--theme-border); border-radius: 20px; box-shadow: var(--shadow-soft); }
.topic-card h3 { margin-bottom: 10px; }
.feedback-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.feedback { padding: 24px; border-radius: 22px; background: linear-gradient(180deg, var(--white), var(--theme-soft)); border: 1px solid var(--theme-border); }
.faq-list { display: grid; gap: 16px; }
.faq-item h3 { margin-bottom: 10px; }
.notice { background: linear-gradient(135deg, var(--theme-soft), var(--white)); border-left: 5px solid var(--theme); }
.related-links { display: flex; flex-wrap: wrap; gap: 10px; }
.related-links a { text-decoration: none; border-radius: 999px; border: 1px solid var(--theme-border); padding: 9px 14px; background: var(--white); font-weight: 700; }
.footer { background: linear-gradient(180deg, var(--theme-dark) 0%, var(--theme-deep) 100%); color: var(--on-dark); padding: 58px 0 28px; }
.footer a { color: var(--on-dark); text-decoration: none; display: block; margin: 8px 0; }
.footer h2 { color: #ffe6e9; font-size: 18px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 42px; }
.footer-brand p { max-width: 520px; color: #f7dfe2; }
.footer-logo img { width: auto; height: auto; max-width: 190px; max-height: 72px; object-fit: contain; margin-bottom: 14px; }
.footer-notice { margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.20); color: #f7dfe2; }
.footer-notice strong { color: #fff; }
.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: 10px 0 30px rgba(0,0,0,.26); }
.mobile-drawer.is-open { transform: translateX(0); }
.drawer-overlay { position: fixed; inset: 0; opacity: 0; visibility: hidden; z-index: 10000; background: rgba(49,11,16,.58); transition: .25s ease; }
.drawer-overlay.is-open { opacity: 1; visibility: visible; }
body.menu-open { overflow: hidden; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.18); }
.drawer-logo img { max-width: 150px; max-height: 58px; object-fit: contain; }
.drawer-close { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.24); border-radius: 12px; background: rgba(255,255,255,.10); color: #fff; font-size: 28px; }
.drawer-nav { display: grid; padding-top: 18px; }
.drawer-nav a { color: var(--on-header); text-decoration: none; padding: 12px 10px; border-bottom: 1px solid rgba(255,255,255,.10); }
.drawer-nav a.active { color: #ffd5d9; font-weight: 800; }
@media (min-width: 1440px) { .container, .section-inner, .header-inner, .footer-inner { width: min(1360px, calc(100% - 120px)); } }
@media (max-width: 1180px) { .main-nav { gap: 13px; } .main-nav a { font-size: 13px; } .grid-8 { 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; }
  .grid-4, .grid-3, .topic-grid, .feedback-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .split, .page-hero .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .split.reverse .media-box { order: 0; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .container, .section-inner, .header-inner, .footer-inner { width: min(calc(100% - 32px), 1280px); }
  .section { padding: 48px 0; }
  .banner-section { padding: 22px 0 12px; }
  .banner-carousel { border-radius: 18px; }
  .banner-arrow { width: 38px; height: 38px; font-size: 24px; }
  .banner-prev { left: 8px; } .banner-next { right: 8px; }
  .grid-8, .grid-4, .grid-3, .grid-2, .topic-grid, .feedback-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 42px 0 34px; }
  .page-hero h1 { font-size: clamp(34px, 10vw, 48px); }
  .media-box { min-height: 220px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 390px) {
  .header-inner { width: min(calc(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; }
}
