:root {
  --theme: #3caae1;
  --theme-dark: #1f78a6;
  --theme-deep: #123f59;
  --theme-light: #f2faff;
  --theme-soft: #e4f5fd;
  --theme-accent: #78caef;
  --theme-hover: #278fc2;
  --theme-border: rgba(60, 170, 225, .26);
  --header-bg: #185979;
  --header-bg-2: #103f59;
  --text-main: #17323e;
  --text-muted: #5e7480;
  --on-theme: #082b3b;
  --on-header: #ffffff;
  --on-dark: #f5fbff;
  --white: #ffffff;
  --shadow-soft: 0 18px 45px rgba(24, 89, 121, .15);
  --radius-lg: 28px;
  --radius-md: 20px;
  --content: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text-main);
  background: linear-gradient(180deg, var(--theme-light) 0%, #f8fcff 42%, var(--theme-light) 100%);
  line-height: 1.72;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: var(--theme-dark); }
a:hover { color: var(--theme-hover); }
img { max-width: 100%; }
button, input, textarea, select { font: inherit; }

.section { padding: 58px 0; }
.section.compact { padding: 34px 0; }
.section.tint { background: linear-gradient(180deg, rgba(228,245,253,.88), rgba(255,255,255,.92)); }
.section.deep-tint { background: linear-gradient(135deg, #edf9ff 0%, #ffffff 62%, #d9f2ff 100%); }
.section-inner { width: min(var(--content), calc(100% - 56px)); margin: 0 auto; }
.section-heading { max-width: 860px; margin-bottom: 28px; }
.section-heading .eyebrow,
.page-label,
.badge,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: auto;
  max-width: max-content;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--theme-soft);
  color: var(--theme-dark);
  border: 1px solid var(--theme-border);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .02em;
}
h1, h2, h3 { margin-top: 0; color: var(--theme-dark); line-height: 1.18; }
h1 { font-size: clamp(34px, 4vw, 58px); letter-spacing: -.03em; }
h2 { font-size: clamp(27px, 3vw, 40px); letter-spacing: -.02em; }
h3 { font-size: 21px; }
p { margin: 0 0 18px; }
.muted { color: var(--text-muted); }

.site-header {
  position: sticky;
  top: 0;
  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 rgba(255,255,255,.12);
  overflow: visible;
}
.header-inner {
  width: min(var(--content), calc(100% - 56px));
  min-height: 82px;
  margin: 0 auto;
  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: 20px; }
.main-nav a { color: var(--on-header); text-decoration: none; white-space: nowrap; padding: 28px 0 22px; border-bottom: 3px solid transparent; font-size: 15px; }
.main-nav a.active, .main-nav a:hover { color: #c9edff; border-bottom-color: var(--theme-accent); }
.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: 11px 20px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--theme-accent) 0%, var(--theme) 48%, var(--theme-dark) 100%);
  color: var(--on-theme);
  box-shadow: 0 14px 28px rgba(0,0,0,.16);
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}
.main-btn:hover, .header-login:hover { background: linear-gradient(180deg, #63c2ec 0%, var(--theme-hover) 100%); color: var(--on-theme); transform: translateY(-1px); }
.mobile-menu-toggle { display: none; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: var(--on-header); border-radius: 12px; align-items: center; justify-content: center; cursor: pointer; }
.mobile-menu-toggle span { width: 20px; height: 2px; background: currentColor; position: relative; display: block; }
.mobile-menu-toggle span::before, .mobile-menu-toggle span::after { content: ''; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; }
.mobile-menu-toggle span::before { top: -6px; }
.mobile-menu-toggle span::after { top: 6px; }


.hero-section {
  padding: 54px 0 42px;
  background: radial-gradient(circle at 12% 18%, var(--theme-soft) 0%, transparent 34%), linear-gradient(180deg, var(--theme-light) 0%, var(--white) 100%);
}
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); align-items: center; gap: 56px; }
.hero-content h1 { font-size: clamp(42px, 4.2vw, 64px); line-height: 1.08; letter-spacing: -.03em; margin: 18px 0 22px; max-width: 820px; color: var(--theme-dark); }
.hero-content p { max-width: 760px; font-size: 18px; line-height: 1.8; }
.hero-badge, .hero-tags span { display: inline-flex; align-items: center; width: auto; padding: 8px 14px; border-radius: 999px; background: var(--theme-soft); color: var(--theme-dark); border: 1px solid var(--theme-border); font-weight: 800; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-visual { min-width: 0; }
.hero-media-box { width: min(100%, 540px); min-height: 320px; max-height: 420px; padding: 34px; display: flex; align-items: center; justify-content: center; overflow: visible; border-radius: 30px; background: linear-gradient(180deg, var(--white) 0%, var(--theme-soft) 100%); border: 1px solid var(--theme-border); box-shadow: var(--shadow-soft); }
.hero-media-box img { max-width: 70%; max-height: 340px; width: auto; height: auto; object-fit: contain; opacity: 1; }
.info-section { background: linear-gradient(180deg, var(--white) 0%, var(--theme-light) 100%); }
.info-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.info-card { height: 100%; }
.info-card h2 { font-size: 22px; margin: 8px 0 12px; }
.category-section { padding-top: 20px; padding-bottom: 42px; }
.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 { padding: clamp(26px, 4vw, 44px); background: linear-gradient(135deg, #fff 0%, var(--theme-soft) 100%); }
.intro-card h1 { max-width: 980px; margin-bottom: 18px; }
.intro-card p { max-width: 1050px; font-size: 17px; }
.category-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.category-pills a { background: var(--white); color: var(--theme-dark); border: 1px solid var(--theme-border); border-radius: 999px; padding: 9px 14px; text-decoration: none; font-weight: 700; }
.category-pills a:hover { background: linear-gradient(180deg, var(--theme-accent), var(--theme)); color: var(--on-theme); }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.category-card::before, .feature-card::before, .info-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: 14px; letter-spacing: .08em; }
.text-link { display: inline-flex; margin-top: 8px; color: var(--theme-dark); font-weight: 800; text-decoration: none; border-bottom: 1px solid var(--theme-border); }
.text-link:hover { color: var(--theme-hover); border-bottom-color: var(--theme); }

.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); gap: 46px; align-items: center; }
.split.reverse { grid-template-columns: minmax(320px, .9fr) minmax(0, 1.1fr); }
.split.reverse .split-media { order: -1; }
.media-box, .hero-visual, .app-visual, .card-media { display: flex; align-items: center; justify-content: center; overflow: visible; }
.media-box img, .hero-visual img, .app-visual img, .card-media img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.split-media { min-height: 320px; padding: 28px; border-radius: 26px; background: linear-gradient(180deg, #fff 0%, var(--theme-soft) 100%); border: 1px solid var(--theme-border); box-shadow: var(--shadow-soft); display: flex; align-items: center; justify-content: center; }
.split-media img { width: auto; height: auto; max-width: 100%; max-height: 360px; object-fit: contain; }

.page-hero { padding: 52px 0 34px; background: radial-gradient(circle at 10% 16%, var(--theme-soft) 0%, transparent 36%), linear-gradient(180deg, var(--theme-light) 0%, #fff 100%); }
.page-hero-inner { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(300px, .72fr); gap: 42px; align-items: center; }
.page-hero h1 { margin: 14px 0 18px; }
.page-hero p { font-size: 17px; max-width: 800px; }
.topic-visual { min-height: 300px; display: flex; align-items: center; justify-content: center; padding: 26px; border-radius: 26px; background: linear-gradient(180deg, #fff 0%, var(--theme-soft) 100%); border: 1px solid var(--theme-border); box-shadow: var(--shadow-soft); }
.topic-visual img { max-width: 100%; max-height: 340px; width: auto; height: auto; object-fit: contain; }
.topic-matrix { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; margin-top: 24px; }
.topic-item { padding: 20px; border-radius: 18px; background: #fff; border: 1px solid var(--theme-border); }
.topic-item strong { display: block; color: var(--theme-dark); margin-bottom: 7px; }
.bullet-list { display: grid; gap: 12px; padding: 0; margin: 22px 0 0; list-style: none; }
.bullet-list li { position: relative; padding: 14px 16px 14px 44px; border-radius: 16px; background: var(--theme-soft); border: 1px solid var(--theme-border); }
.bullet-list li::before { content: '✓'; position: absolute; left: 16px; top: 12px; width: 20px; height: 20px; border-radius: 50%; background: var(--theme); color: #fff; display: grid; place-items: center; font-size: 12px; }

.feedback-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.feedback { padding: 22px; border-radius: 20px; background: linear-gradient(180deg, #fff 0%, #f7fcff 100%); border: 1px solid var(--theme-border); }
.feedback p { margin: 0; }
.feedback span { display: block; margin-top: 12px; color: var(--text-muted); font-size: 13px; font-weight: 700; }
.faq-list { display: grid; gap: 14px; }
details.faq-item { padding: 0; overflow: hidden; }
details.faq-item summary { cursor: pointer; list-style: none; padding: 20px 24px; font-weight: 800; color: var(--theme-dark); }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item[open] summary { background: var(--theme-soft); border-bottom: 1px solid var(--theme-border); }
details.faq-item .faq-answer { padding: 20px 24px 24px; }
.notice { background: linear-gradient(135deg, #edf8ff 0%, #ffffff 100%); border-left: 5px solid var(--theme); }
.notice h2, .notice h3 { margin-bottom: 12px; }
.related-links { display: flex; flex-wrap: wrap; gap: 10px; }
.related-links a { padding: 9px 14px; border-radius: 999px; background: var(--theme-soft); border: 1px solid var(--theme-border); text-decoration: none; font-weight: 700; }

.footer { background: linear-gradient(180deg, var(--theme-dark) 0%, var(--theme-deep) 100%); color: var(--on-dark); padding: 54px 0 26px; }
.footer a { color: var(--on-dark); }
.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); gap: 30px; }
.footer-brand img { max-width: 180px; max-height: 68px; width: auto; height: auto; object-fit: contain; }
.footer h3 { color: #fff; font-size: 17px; margin-bottom: 14px; }
.footer-nav { display: grid; gap: 9px; }
.footer-nav a { text-decoration: none; opacity: .92; }
.footer-nav a:hover { opacity: 1; color: #c9efff; }
.footer-note { margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.16); font-size: 14px; color: rgba(255,255,255,.86); }

.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: 22px; overflow-y: auto; }
.mobile-drawer.is-open { transform: translateX(0); }
.drawer-overlay { position: fixed; inset: 0; opacity: 0; visibility: hidden; z-index: 10000; background: rgba(8,43,62,.58); transition: .2s ease; }
.drawer-overlay.is-open { opacity: 1; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 24px; }
.drawer-head img { max-width: 150px; max-height: 54px; object-fit: contain; }
.drawer-close { width: 40px; height: 40px; border-radius: 12px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; cursor: pointer; }
.drawer-nav { display: grid; gap: 6px; }
.drawer-nav a { color: #fff; text-decoration: none; padding: 12px 10px; border-radius: 12px; }
.drawer-nav a:hover { background: rgba(255,255,255,.1); }
.drawer-login { margin-top: 22px; width: 100%; }

@media (max-width: 1100px) {
  .main-nav { gap: 13px; }
  .main-nav a { font-size: 14px; }
  .grid-4, .topic-matrix { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 1023px) {
  .section { padding: 44px 0; }
  .section-inner { width: min(100% - 32px, var(--content)); }
  .header-inner { width: min(100% - 28px, var(--content)); min-height: 68px; 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 { padding: 10px 16px; }
  .split, .split.reverse, .page-hero-inner, .hero-inner { grid-template-columns: 1fr; gap: 26px; }
  .hero-section { padding: 42px 0 28px; }
  .hero-content h1 { max-width: none; }
  .hero-media-box { margin: 0 auto; min-height: 280px; }
  .info-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .split.reverse .split-media { order: 0; }
  .grid-3, .feedback-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .section-inner { width: min(100% - 24px, var(--content)); }
  .grid-2, .grid-3, .grid-4, .feedback-grid, .topic-matrix, .info-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: clamp(36px, 11vw, 48px); }
  .hero-content p { font-size: 16px; }
  .hero-media-box { min-height: 230px; padding: 24px; }
  .hero-media-box img { max-width: 72%; max-height: 260px; }
  .intro-card, .card, .zone-card, .info-card, .feature-card, .category-card, .faq-item, .notice, .visual-card { padding: 22px; }
  .split-media, .topic-visual { min-height: 240px; }
  .footer-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 34px 0 24px; }
}
@media (max-width: 390px) {
  .header-inner { width: min(100% - 20px, var(--content)); 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; }
}
