:root {
  --theme: #0053df;
  --theme-dark: #003ca8;
  --theme-deep: #06235f;
  --theme-light: #f2f6ff;
  --theme-soft: #e2ebff;
  --theme-accent: #5b8cff;
  --theme-hover: #0048c4;
  --theme-border: rgba(0, 83, 223, .26);
  --header-bg: #082b70;
  --header-bg-2: #0a3d91;
  --text-main: #17233a;
  --text-muted: #5c6b82;
  --on-theme: #ffffff;
  --on-header: #ffffff;
  --on-dark: #ffffff;
  --white: #ffffff;
  --shadow-soft: 0 18px 50px rgba(6, 35, 95, .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; line-height: 1.65; }
a { color: var(--theme-dark); }
img { max-width: 100%; }
.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: rgba(255,255,255,.62); }
.section-head { max-width: 860px; margin-bottom: 30px; }
.eyebrow, .hero-badge, .tag, .badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 8px 14px; background: var(--theme-soft); color: var(--theme-dark); border: 1px solid var(--theme-border); font-weight: 800; letter-spacing: .02em; }
h1, h2, h3 { color: var(--theme-dark); line-height: 1.18; }
h2 { font-size: clamp(28px, 3vw, 42px); margin: 10px 0 16px; }
h3 { margin: 0 0 10px; }
p { margin-top: 0; }
.text-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: 20px; 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: 15px; min-width: 0; }
.main-nav a { color: var(--on-header); text-decoration: none; white-space: nowrap; font-size: 14px; padding: 28px 0 24px; border-bottom: 2px solid transparent; }
.main-nav a.active, .main-nav a:hover { color: var(--theme-accent); border-bottom-color: var(--theme); }
.header-actions { display: flex; justify-content: flex-end; }
.main-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 20px; border: 0; 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 14px 28px rgba(0,0,0,.16); text-decoration: none; white-space: nowrap; font-weight: 900; }
.main-btn:hover { background: linear-gradient(180deg, var(--theme-accent) 0%, var(--theme-hover) 50%, var(--theme-dark) 100%); }
.mobile-menu-toggle { display: none; align-items: center; justify-content: center; flex-direction: column; gap: 5px; border: 1px solid rgba(255,255,255,.24); border-radius: 12px; background: rgba(255,255,255,.08); }
.mobile-menu-toggle span { width: 20px; height: 2px; background: var(--on-header); border-radius: 2px; }
.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(6,35,95,.58); transition: opacity .28s ease, visibility .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: 14px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.18); }
.drawer-head img { width: auto; height: auto; max-width: 150px; max-height: 58px; object-fit: contain; }
.drawer-close { width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(255,255,255,.24); color: var(--on-header); background: rgba(255,255,255,.08); font-size: 28px; line-height: 1; }
.drawer-nav { display: grid; gap: 5px; padding: 18px 0; }
.drawer-nav a { color: var(--on-header); text-decoration: none; padding: 11px 12px; border-radius: 12px; }
.drawer-nav a:hover, .drawer-nav a.active { background: rgba(0,83,223,.22); color: var(--theme-accent); }
.hero-section { padding: 62px 0 44px; background: linear-gradient(180deg, var(--theme-light) 0%, var(--theme-soft) 100%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr); align-items: center; gap: 56px; }
.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); }
.hero-content p { max-width: 760px; font-size: 18px; line-height: 1.8; margin: 0 0 24px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-tags a, .hero-tags span { 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; text-decoration: none; }
.hero-visual, .media-box, .app-visual, .card-media { display: flex; align-items: center; justify-content: center; overflow: visible; }
.hero-media-box, .page-media { width: min(100%, 540px); min-height: 320px; max-height: 420px; padding: 34px; border-radius: 32px; background: var(--white); 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, .page-media img, .media-box img, .app-visual img, .card-media img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; opacity: 1; }
.info-section { padding: 34px 0 48px; }
.info-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; }
.info-card, .card, .zone-card, .feature-card, .category-card, .faq-item, .notice, .visual-card, .term-card, .feedback-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 { border-top: 4px solid var(--theme); }
.info-card span, .card-number { color: var(--theme-dark); font-weight: 900; }
.info-card h2 { font-size: 24px; margin: 10px 0; }
.category-section { padding: 16px 0 54px; }
.category-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.category-pills a { display: inline-flex; align-items: center; justify-content: center; padding: 10px 18px; border: 1px solid var(--theme-border); color: var(--theme-dark); background: var(--theme-soft); border-radius: 999px; text-decoration: none; font-weight: 800; }
.category-pills a:hover { background: linear-gradient(180deg, var(--theme-accent), var(--theme)); color: var(--on-theme); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; }
.card h3, .zone-card h3, .feature-card h3, .category-card h3, .term-card h3, .feedback-card h3 { color: var(--theme-dark); }
.category-card { display: flex; flex-direction: column; border-top: 4px solid var(--theme); }
.category-card .text-link { margin-top: auto; padding-top: 10px; }
.text-link { display: inline-flex; width: max-content; max-width: 100%; color: var(--theme-dark); font-weight: 900; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.split-section { display: grid; grid-template-columns: minmax(0,1fr) minmax(360px,.85fr); gap: 42px; align-items: center; }
.split-section.reverse .split-copy { order: 2; }
.split-section.reverse .media-box, .split-section.reverse .visual-card { order: 1; }
.media-box { min-height: 300px; padding: 28px; border: 1px solid var(--theme-border); border-radius: 28px; background: var(--white); box-shadow: var(--shadow-soft); }
.media-box img { max-height: 320px; }
.check-list { display: grid; gap: 12px; padding: 0; margin: 20px 0 0; list-style: none; }
.check-list li { padding: 14px 16px 14px 44px; background: var(--white); border: 1px solid var(--theme-border); border-radius: 16px; position: relative; }
.check-list li::before { content: '✓'; position: absolute; left: 16px; top: 13px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--theme); color: var(--on-theme); font-weight: 900; }
.page-hero { padding: 54px 0 44px; background: linear-gradient(180deg, var(--theme-light) 0%, var(--theme-soft) 100%); }
.page-hero-inner { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(360px,.88fr); gap: 50px; align-items: center; }
.page-hero h1 { font-size: clamp(38px, 4.5vw, 62px); margin: 14px 0 20px; }
.page-hero .lead { font-size: 18px; line-height: 1.85; }
.term-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; margin-top: 24px; }
.term-card { padding: 20px; box-shadow: none; background: var(--theme-light); }
.term-card p { margin: 0; }
.feedback-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.feedback-card { position: relative; padding-top: 42px; }
.feedback-card::before { content: '“'; position: absolute; top: 10px; left: 22px; font-size: 42px; line-height: 1; color: var(--theme); font-weight: 900; }
.faq-list { display: grid; gap: 16px; }
.faq-item { box-shadow: none; }
.faq-item h3 { font-size: 19px; }
.faq-item p { margin-bottom: 0; }
.notice { background: linear-gradient(180deg, var(--theme-soft), var(--theme-light)); border-left: 5px solid var(--theme); }
.notice h3 { font-size: 24px; }
.related-nav { margin-top: 26px; padding: 24px; border-radius: 22px; border: 1px solid var(--theme-border); background: var(--white); }
.related-nav h3 { margin-bottom: 14px; }
.related-links { display: flex; flex-wrap: wrap; gap: 10px; }
.related-links a { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--theme-border); background: var(--theme-soft); text-decoration: none; font-weight: 800; }
.footer { background: linear-gradient(180deg, var(--theme-dark) 0%, var(--theme-deep) 100%); color: var(--on-dark); padding: 52px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 32px; }
.footer-brand img { width: auto; height: auto; max-width: 180px; max-height: 70px; object-fit: contain; margin-bottom: 16px; }
.footer h3 { color: var(--theme-accent); margin: 0 0 14px; }
.footer a { color: var(--on-dark); text-decoration: none; display: block; padding: 5px 0; }
.footer a:hover { color: var(--theme-accent); }
.footer-notice { margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); }
.footer-notice strong { color: var(--theme-accent); }
.footer-notice p { margin: 8px 0 0; color: rgba(244,252,255,.92); }
@media (min-width: 1440px) { .container, .section-inner, .header-inner, .footer-inner, .hero-inner { width: min(1360px, calc(100% - 120px)); } .hero-inner { grid-template-columns: minmax(0,1.05fr) minmax(480px,.95fr); gap: 70px; } }
@media (max-width: 1180px) { .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 16px; } }
@media (max-width: 1023px) { .hero-section { padding: 48px 0 36px; } .hero-inner, .page-hero-inner, .split-section { grid-template-columns: 1fr; gap: 32px; } .hero-content h1 { font-size: clamp(36px,9vw,52px); } .hero-media-box, .page-media { max-width: 100%; min-height: auto; padding: 24px; } .hero-media-box img, .page-media img { max-height: 300px; } .info-grid, .grid-4 { grid-template-columns: repeat(2,minmax(0,1fr)); } .grid-3 { grid-template-columns: repeat(2,minmax(0,1fr)); } .feedback-grid { grid-template-columns: 1fr; } .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .split-section.reverse .split-copy, .split-section.reverse .media-box, .split-section.reverse .visual-card { order: initial; } }
@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-4, .grid-3, .grid-2, .term-grid, .footer-grid { grid-template-columns: 1fr; } .page-hero h1 { font-size: clamp(34px,10vw,48px); } .hero-content p, .page-hero .lead { font-size: 16px; } .media-box { min-height: 240px; } }
@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; } }


/* First-layout homepage banner carousel */
.banner-section {
  padding: 36px 0 24px;
  background:
    radial-gradient(circle at 12% 18%, var(--theme-soft) 0%, transparent 30%),
    linear-gradient(180deg, var(--theme-light) 0%, rgba(255,255,255,.84) 100%);
}
.banner-section .section-inner { width: min(1280px, calc(100% - 80px)); }
.banner-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--theme-border);
  border-radius: 30px;
  background: linear-gradient(180deg, var(--white) 0%, var(--theme-soft) 100%);
  box-shadow: var(--shadow-soft);
}
.banner-slide { display: none; align-items: center; justify-content: center; width: 100%; }
.banner-slide.active { display: flex; }
.banner-slide img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
}
.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 50%;
  background: rgba(6,35,95,.72);
  color: var(--on-dark);
  font-size: 30px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 3;
}
.banner-arrow:hover { background: var(--theme-dark); }
.banner-prev { left: 18px; }
.banner-next { right: 18px; }
.banner-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 9px;
  z-index: 3;
}
.banner-dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 999px;
  background: rgba(6,35,95,.4);
  cursor: pointer;
}
.banner-dots button.active { width: 30px; background: var(--theme); border-color: var(--theme); }
.intro-section { padding: 24px 0 18px; }
.intro-card {
  padding: 30px;
  border-radius: 26px;
  border: 1px solid var(--theme-border);
  border-left: 5px solid var(--theme);
  background: linear-gradient(180deg, var(--white) 0%, var(--theme-soft) 100%);
  box-shadow: var(--shadow-soft);
}
.intro-card h1 {
  margin: 10px 0 18px;
  font-size: clamp(38px, 4vw, 58px);
  color: var(--theme-dark);
  letter-spacing: -.025em;
}
.intro-card .lead { font-size: 18px; line-height: 1.82; max-width: 1100px; }
.intro-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.intro-meta span { padding: 9px 14px; border-radius: 999px; background: var(--white); color: var(--theme-dark); border: 1px solid var(--theme-border); font-weight: 800; }
.home-focus-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.home-focus-card { background: var(--white); border: 1px solid var(--theme-border); border-top: 4px solid var(--theme); border-radius: 24px; padding: 26px; box-shadow: var(--shadow-soft); }
.home-focus-card h3 { color: var(--theme-dark); }
@media (min-width: 1440px) { .banner-section .section-inner { width: min(1360px, calc(100% - 120px)); } }
@media (max-width: 1023px) { .home-focus-grid { grid-template-columns: 1fr; } .banner-arrow { width: 42px; height: 42px; } }
@media (max-width: 767px) {
  .banner-section { padding-top: 20px; }
  .banner-section .section-inner { width: min(100% - 24px, 1280px); }
  .banner-carousel { border-radius: 20px; }
  .banner-arrow { width: 38px; height: 38px; font-size: 24px; }
  .banner-prev { left: 8px; }
  .banner-next { right: 8px; }
  .banner-dots { bottom: 9px; }
  .intro-card { padding: 24px; }
  .intro-card h1 { font-size: clamp(34px, 10vw, 46px); }
  .intro-card .lead { font-size: 16px; }
}

/* CHATGPT_MOBILE_HEADER_V4_START */
@media (max-width: 767px) {
  html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .site-header {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  .header-inner {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 64px !important;
    margin: 0 !important;
    padding: 0 10px !important;
    gap: 8px !important;
    box-sizing: border-box !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  /* Stable hamburger: do not rely on three flex children. */
  .mobile-menu-toggle {
    display: flex !important;
    position: relative !important;
    flex: 0 0 40px !important;
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--on-header, #fff) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .mobile-menu-toggle span {
    display: none !important;
  }

  .mobile-menu-toggle::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    width: 20px !important;
    height: 2px !important;
    margin-left: -10px !important;
    margin-top: -1px !important;
    border-radius: 2px !important;
    background: currentColor !important;
    box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .site-logo {
    display: flex !important;
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }

  .site-logo img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: min(112px, 100%) !important;
    max-height: 44px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    object-fit: contain !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }

  .header-actions {
    display: flex !important;
    flex: 0 0 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    justify-content: flex-end !important;
  }

  .header-login,
  .header-actions .main-btn {
    display: inline-flex !important;
    flex: 0 0 92px !important;
    width: 92px !important;
    min-width: 92px !important;
    max-width: 92px !important;
    min-height: 38px !important;
    padding: 8px 4px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    font-size: 10px !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
  }

  .drawer-logo,
  .footer-logo {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }

  .drawer-logo img,
  .footer-logo img {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }
}

@media (max-width: 359px) {
  .header-inner {
    padding-left: 6px !important;
    padding-right: 6px !important;
    gap: 5px !important;
  }

  .mobile-menu-toggle {
    flex-basis: 38px !important;
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    height: 38px !important;
  }

  .site-logo img {
    max-width: min(102px, 100%) !important;
  }

  .header-login,
  .header-actions .main-btn {
    flex-basis: 84px !important;
    width: 84px !important;
    min-width: 84px !important;
    max-width: 84px !important;
    font-size: 9.5px !important;
  }
}
/* CHATGPT_MOBILE_HEADER_V4_END */
