:root {
  --theme: #00a6ff;
  --theme-dark: #0075b3;
  --theme-deep: #00466b;
  --theme-light: #eef9ff;
  --theme-soft: #d8f1ff;
  --theme-accent: #59c6ff;
  --theme-hover: #008fd9;
  --theme-border: rgba(0, 166, 255, .24);
  --header-bg: #005c88;
  --header-bg-2: #0073a8;
  --text-main: #163847;
  --text-muted: #607985;
  --on-theme: #ffffff;
  --on-header: #f4fbff;
  --on-dark: #edfaff;
  --white: #ffffff;
  --shadow-soft: 0 18px 48px rgba(0, 70, 107, .14);
}
* { 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; line-height: 1.65; }
a { color: var(--theme-dark); }
img { max-width: 100%; }
button, input, textarea { font: inherit; }
.container, .section-inner, .header-inner, .footer-inner, .hero-inner { width: min(1280px, calc(100% - 80px)); margin-left: auto; margin-right: auto; }
.section { padding: 68px 0; }
.section.alt { background: var(--theme-soft); }
.section-head { max-width: 780px; margin: 0 auto 34px; text-align: center; }
.section-kicker { display: inline-flex; align-items: center; border-radius: 999px; padding: 7px 12px; background: var(--theme-soft); color: var(--theme-dark); border: 1px solid var(--theme-border); font-weight: 800; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.section h2 { margin: 10px 0 14px; color: var(--theme-dark); font-size: clamp(30px, 3vw, 44px); line-height: 1.15; }
.section-head p, .lead { color: var(--text-muted); font-size: 17px; }
.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 rgba(255,255,255,.12); 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 { 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; padding: 28px 0 24px; border-bottom: 3px solid transparent; font-size: 14px; font-weight: 700; }
.main-nav a.active, .main-nav a:hover { color: var(--theme-accent); border-bottom-color: var(--theme); }
.main-btn, .text-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 20px; background: linear-gradient(180deg, var(--theme-accent) 0%, var(--theme) 48%, var(--theme-dark) 100%); color: var(--on-theme); border-radius: 999px; box-shadow: 0 12px 26px rgba(0,70,107,.22); text-decoration: none; white-space: nowrap; font-weight: 800; border: 0; }
.main-btn:hover, .text-btn:hover { transform: translateY(-1px); filter: saturate(1.06); }
.mobile-menu-toggle { display: none; border: 1px solid rgba(255,255,255,.22); border-radius: 14px; background: rgba(255,255,255,.08); align-items: center; justify-content: center; flex-direction: column; gap: 5px; padding: 0; }
.mobile-menu-toggle span { width: 20px; height: 2px; background: var(--on-header); border-radius: 4px; }
.hero-section { padding: 64px 0 42px; background: linear-gradient(145deg, var(--theme-light) 0%, #e0f5ff 60%, #bfeaff 100%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr); align-items: center; gap: 58px; min-height: 560px; }
.hero-content h1 { font-size: clamp(42px, 4.2vw, 64px); line-height: 1.08; letter-spacing: -.03em; margin: 14px 0 22px; color: var(--theme-dark); max-width: 780px; }
.hero-content p { max-width: 760px; font-size: 18px; line-height: 1.8; color: var(--text-main); margin: 0 0 26px; }
.hero-badge, .hero-tags span { display: inline-flex; align-items: center; border-radius: 999px; padding: 9px 14px; background: rgba(255,255,255,.82); color: var(--theme-dark); border: 1px solid var(--theme-border); font-weight: 800; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 11px; }
.hero-visual, .media-box, .app-visual, .card-media { display: flex; align-items: center; justify-content: center; overflow: visible; }
.hero-media-box { width: min(100%, 540px); min-height: 320px; max-height: 420px; padding: 34px; border-radius: 32px; background: rgba(255,255,255,.9); border: 1px solid var(--theme-border); box-shadow: var(--shadow-soft); display: flex; align-items: center; justify-content: center; overflow: visible; }
.hero-media-box img { display: block; max-width: 70%; max-height: 340px; width: auto; height: auto; object-fit: contain; opacity: 1; }
.media-box img, .app-visual img, .card-media img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.info-section { padding: 34px 0 52px; background: linear-gradient(180deg, #e7f7ff 0%, var(--theme-light) 100%); }
.info-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.info-card, .card, .zone-card, .feature-card, .category-card, .faq-item, .notice, .visual-card, .quote-card, .topic-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: 26px; }
.info-card > span, .card-number { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 12px; background: var(--theme); color: var(--on-theme); font-weight: 900; }
.info-card h2 { color: var(--theme-dark); margin: 14px 0 10px; font-size: 21px; }
.info-card p { color: var(--text-muted); line-height: 1.7; margin: 0; }
.category-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.category-pills a, .category-pill, .tag, .badge { border-radius: 999px; padding: 9px 15px; display: inline-flex; width: auto; max-width: max-content; background: var(--white); border: 1px solid var(--theme-border); color: var(--theme-dark); text-decoration: none; font-weight: 800; }
.category-pills a:hover { background: var(--theme); color: var(--on-theme); }
.grid-2, .split-layout { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.grid-8 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.category-card h3, .feature-card h3, .topic-card h3, .zone-card h3 { color: var(--theme-dark); margin: 12px 0 8px; font-size: 21px; }
.category-card p, .feature-card p, .topic-card p, .zone-card p, .quote-card p { color: var(--text-muted); margin: 0 0 12px; }
.inline-link { color: var(--theme-dark); font-weight: 800; text-decoration: none; border-bottom: 1px solid var(--theme-border); }
.media-box { min-height: 310px; background: var(--white); border: 1px solid var(--theme-border); border-radius: 28px; padding: 28px; box-shadow: var(--shadow-soft); }
.media-box img { max-height: 330px; }
.topic-list, .check-list { padding: 0; margin: 0; list-style: none; display: grid; gap: 12px; }
.topic-list li, .check-list li { position: relative; padding-left: 28px; color: var(--text-main); }
.topic-list li:before, .check-list li:before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--theme-dark); font-weight: 900; }
.notice { background: linear-gradient(135deg, var(--theme-soft), #e8f7ff); border-left: 5px solid var(--theme); }
.notice h2, .notice h3 { color: var(--theme-dark); margin-top: 0; }
.quote-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.quote-card strong { display: block; color: var(--theme-dark); margin-top: 12px; }
.faq-list { display: grid; gap: 16px; }
.faq-item h3 { color: var(--theme-dark); margin: 0 0 10px; }
.faq-item p { margin: 0; color: var(--text-muted); }
.related-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.related-links a { text-decoration: none; border-radius: 14px; padding: 11px 15px; background: var(--white); border: 1px solid var(--theme-border); font-weight: 800; }
.page-hero { padding: 56px 0 42px; background: linear-gradient(145deg, var(--theme-soft) 0%, var(--theme-light) 68%); }
.page-hero-inner { width: min(1280px, calc(100% - 80px)); margin: 0 auto; display: grid; grid-template-columns: minmax(0,1.12fr) minmax(320px,.88fr); gap: 44px; align-items: center; }
.page-hero h1 { margin: 14px 0 18px; color: var(--theme-dark); font-size: clamp(38px, 4.4vw, 60px); line-height: 1.08; }
.page-hero p { font-size: 17px; line-height: 1.85; margin: 0; }
.page-visual { background: var(--white); border: 1px solid var(--theme-border); border-radius: 28px; padding: 26px; min-height: 270px; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-soft); }
.page-visual img { max-width: 100%; max-height: 300px; width: auto; height: auto; object-fit: contain; }
.footer { background: var(--theme-deep); color: var(--on-dark); padding: 54px 0 24px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 34px; }
.footer h2 { font-size: 16px; color: var(--theme-accent); margin: 0 0 12px; }
.footer a { display: block; color: var(--on-dark); text-decoration: none; opacity: .9; margin: 8px 0; }
.footer a:hover { color: var(--theme-accent); opacity: 1; }
.footer-brand img { max-width: 190px; max-height: 72px; width: auto; height: auto; object-fit: contain; }
.footer-brand p { max-width: 460px; opacity: .9; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-badges span { border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 6px 10px; font-size: 12px; }
.legal-note { border-top: 1px solid rgba(255,255,255,.16); margin-top: 34px; padding-top: 20px; opacity: .92; }
.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); box-shadow: 18px 0 40px rgba(0,0,0,.18); padding: 20px; overflow-y: auto; }
.mobile-drawer.is-open { transform: translateX(0); }
.drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.38); opacity: 0; visibility: hidden; z-index: 10000; transition: .28s 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,.16); }
.drawer-logo img { max-width: 150px; max-height: 58px; width: auto; height: auto; object-fit: contain; }
.drawer-close { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.25); border-radius: 12px; color: var(--on-header); background: rgba(255,255,255,.08); font-size: 28px; line-height: 1; }
.drawer-nav { display: grid; gap: 5px; padding: 16px 0; }
.drawer-nav a { color: var(--on-header); text-decoration: none; padding: 11px 12px; border-radius: 12px; }
.drawer-nav a.active, .drawer-nav a:hover { background: rgba(0,166,255,.18); color: var(--theme-accent); }
@media (min-width: 1440px) { .container, .section-inner, .header-inner, .footer-inner, .hero-inner { width: min(1360px, calc(100% - 120px)); } .page-hero-inner { width: min(1360px, calc(100% - 120px)); } }
@media (max-width: 1180px) { .main-nav { gap: 11px; } .main-nav a { font-size: 13px; } }
@media (max-width: 1023px) {
  .header-inner { width: min(100% - 28px, 1280px); 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 15px; }
  .hero-section { padding: 44px 0 32px; }
  .hero-inner { grid-template-columns: 1fr; gap: 30px; min-height: auto; }
  .hero-content h1 { font-size: clamp(36px, 7vw, 52px); }
  .hero-media-box { max-width: 100%; min-height: 260px; margin: 0 auto; padding: 24px; }
  .hero-media-box img { max-height: 280px; }
  .info-grid, .grid-4, .grid-8 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .page-hero-inner { width: min(100% - 40px, 1280px); grid-template-columns: 1fr; }
  .page-visual { min-height: 220px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 767px) {
  .container, .section-inner, .header-inner, .footer-inner, .hero-inner { width: min(100% - 32px, 1280px); }
  .section { padding: 48px 0; }
  .info-grid, .grid-2, .split-layout, .grid-3, .grid-4, .grid-8, .quote-grid { grid-template-columns: 1fr; }
  .page-hero-inner { width: min(100% - 32px, 1280px); }
  .page-hero { padding: 44px 0 32px; }
  .page-hero h1 { font-size: clamp(34px, 10vw, 48px); }
  .hero-content p, .page-hero p { font-size: 16px; }
  .hero-media-box { min-height: 220px; }
  .footer-grid { grid-template-columns: 1fr; }
}
@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 11px; font-size: 12px; }
  .hero-content h1 { font-size: 34px; }
}

/* MOBILE_FIX_TYPE_A_20260930: restore mobile menu icon + narrow-screen hardening */
@media (max-width: 1023px) {
  html, body { width: 100%; max-width: 100%; overflow-x: clip; }
  .header-inner, .header-inner > *, .hero-inner > *, .page-hero-inner > *, .split > * { min-width: 0; }
  .mobile-menu-toggle {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    padding: 8px !important;
    position: relative;
    z-index: 2;
    opacity: 1 !important;
    visibility: visible !important;
    color: var(--on-header, #fff) !important;
    -webkit-appearance: none;
    appearance: none;
  }
  .mobile-menu-toggle span {
    display: block !important;
    flex: 0 0 2px !important;
    width: 24px !important;
    height: 2px !important;
    min-height: 2px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 3px !important;
    background: var(--on-header, #fff) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}
@media (max-width: 390px) {
  .header-inner { width: calc(100% - 16px) !important; gap: 6px !important; }
  .site-logo { min-width: 0; overflow: hidden; }
  .site-logo img { max-width: min(116px, 35vw) !important; }
  .header-actions .main-btn { max-width: 94px; min-width: 0; padding-inline: 8px !important; }
}
