:root {
  --theme: #31b78a;
  --theme-dark: #1a7657;
  --theme-deep: #0f4030;
  --theme-light: #ffffff;
  --theme-soft: #d5e4df;
  --theme-accent: #5fdbb2;
  --theme-hover: #22936d;
  --theme-border: rgba(49, 183, 138, .24);
  --header-bg: #175d46;
  --header-bg-2: #268163;
  --text-main: #143129;
  --text-muted: #587069;
  --on-theme: #ffffff;
  --on-header: #ffffff;
  --on-dark: #f6fffb;
  --white: #ffffff;
  --shadow-soft: 0 18px 45px rgba(49, 183, 138, .18);
}
* { 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; }
a { color: inherit; }
.container, .section-inner, .header-inner, .footer-inner { width: min(1280px, calc(100% - 80px)); margin-left: auto; margin-right: auto; }
@media (min-width: 1440px) { .container, .section-inner, .header-inner, .footer-inner { width: min(1360px, calc(100% - 120px)); } }
@media (max-width: 767px) { .container, .section-inner, .header-inner, .footer-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: 22px; }
.main-nav a { color: var(--on-header); text-decoration: none; white-space: nowrap; font-weight: 700; padding: 10px 0; }
.main-nav a.active, .main-nav a:hover { color: var(--theme); border-bottom: 2px solid var(--theme); }
.main-btn { 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; display: inline-flex; align-items: center; justify-content: center; }
.mobile-menu-toggle { display: none; border: 1px solid rgba(255,255,255,.32); background: rgba(255,255,255,.14); color: var(--on-header); border-radius: 14px; font-size: 24px; align-items: center; justify-content: center; }
.section { padding: 58px 0; }
.banner-section { padding: 36px 0 24px; }
.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: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.86); color: var(--theme-dark); font-size: 34px; cursor: pointer; box-shadow: var(--shadow-soft); }
.banner-prev { left: 18px; } .banner-next { right: 18px; }
.banner-dots { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 10px; }
.banner-dots button { width: 12px; height: 12px; border-radius: 50%; border: 0; background: rgba(255,255,255,.72); cursor: pointer; }
.banner-dots button.active { background: var(--theme); 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 h1, .headline-section h1, .page-hero h1 { color: var(--theme-dark); font-size: clamp(34px, 4.5vw, 62px); line-height: 1.1; margin: 0 0 18px; }
.intro-card p, .headline-section p, .page-hero p, .card p, .category-card p, .feature-card p, .zone-card p, .faq-item p, .notice p, .content-block p, li { line-height: 1.75; color: var(--text-muted); font-size: 16px; }
.category-pills, .hero-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.category-pills a, .category-pill, .tag, .badge { border-radius: 999px; padding: 9px 15px; display: inline-flex; width: auto; max-width: max-content; text-decoration: none; background: var(--theme-soft); color: var(--theme-dark); border: 1px solid var(--theme-border); font-weight: 800; }
.grid-8 { 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: 22px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .75fr); gap: 36px; align-items: center; margin-bottom: 28px; }
.split:nth-child(even) .content-block { order: 2; }
.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; }
.card-media { min-height: 220px; background: var(--theme-soft); border-radius: 22px; padding: 24px; }
.card h2, .zone-card h2, .feature-card h2, .content-block h2, .faq-item h2, .info-card h2 { color: var(--theme-dark); margin-top: 0; }
.link-more { color: var(--theme-dark); font-weight: 800; text-decoration: none; }
.page-hero { background: linear-gradient(180deg, var(--theme-soft), var(--theme-light)); padding: 66px 0 36px; }
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .65fr); gap: 34px; align-items: center; }
.content-block { background: var(--white); border: 1px solid var(--theme-border); border-radius: 24px; padding: 30px; box-shadow: var(--shadow-soft); }
.notice { background: linear-gradient(180deg, var(--theme-soft), var(--white)); }
.footer { background: var(--theme-deep); color: var(--on-dark); padding: 54px 0; margin-top: 40px; }
.footer a { color: var(--on-dark); display: block; text-decoration: none; margin: 9px 0; }
.footer-inner { display: grid; grid-template-columns: 1.4fr .8fr .8fr 1.2fr; gap: 34px; }
.footer img { max-width: 170px; max-height: 68px; object-fit: contain; }
.footer h2 { font-size: 18px; margin: 0 0 12px; }
.footer p { line-height: 1.7; opacity: .92; }
.age-note { font-weight: 800; color: var(--theme); }
.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; }
.mobile-drawer.is-open { transform: translateX(0); }
.drawer-overlay { position: fixed; inset: 0; opacity: 0; visibility: hidden; z-index: 10000; background: rgba(0,0,0,.45); transition: .25s 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; margin-bottom: 24px; }
.drawer-head img { max-width: 150px; max-height: 58px; object-fit: contain; }
.drawer-close { border: 0; background: rgba(255,255,255,.18); color: var(--on-header); border-radius: 12px; width: 40px; height: 40px; font-size: 26px; }
.drawer-nav a { display: block; text-decoration: none; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.16); color: var(--on-header); font-weight: 700; }
@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-8 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .split, .page-layout, .footer-inner { grid-template-columns: 1fr; }
  .split:nth-child(even) .content-block { order: 0; }
}
@media (max-width: 767px) { .section { padding: 40px 0; } .banner-arrow { width: 36px; height: 36px; font-size: 28px; } .grid-8 { grid-template-columns: 1fr; } .intro-card, .card, .zone-card, .info-card, .feature-card, .category-card, .faq-item, .notice, .visual-card, .content-block { padding: 22px; } }
@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; }
}
