:root {
  --theme: #ff0008;
  --theme-dark: #c00006;
  --theme-deep: #650003;
  --theme-light: #fff1f2;
  --theme-soft: #ffe0e2;
  --theme-accent: #ff6870;
  --theme-hover: #df0007;
  --theme-border: rgba(255, 0, 8, .22);
  --header-bg: #760004;
  --header-bg-2: #a30005;
  --text-main: #281719;
  --text-muted: #74575b;
  --on-theme: #ffffff;
  --on-header: #ffffff;
  --on-dark: #ffffff;
  --white: #ffffff;
  --shadow-soft: 0 18px 44px rgba(118, 0, 4, .14);
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
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.68;
}
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; }
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 20000;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--white);
  color: var(--theme-dark);
  box-shadow: var(--shadow-soft);
}
.skip-link:focus { top: 12px; }
.container,
.section-inner,
.header-inner,
.footer-inner,
.hero-inner {
  width: min(1280px, calc(100% - 80px));
  margin-left: auto;
  margin-right: auto;
}
.section { padding: 76px 0; }
.section-compact { padding: 52px 0; }
.section-soft { background: var(--theme-soft); }
.section-white { background: var(--white); }
.section-heading {
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
}
.section-heading.left { margin-left: 0; text-align: left; }
.eyebrow,
.page-badge,
.hero-badge,
.badge,
.tag {
  display: inline-flex;
  align-items: center;
  width: auto;
  max-width: max-content;
  border-radius: 999px;
  padding: 8px 14px;
  background: var(--theme-soft);
  color: var(--theme-dark);
  border: 1px solid var(--theme-border);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .03em;
}
h1, h2, h3 { color: var(--theme-dark); line-height: 1.18; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h2 { font-size: clamp(28px, 3vw, 42px); margin: 0 0 18px; }
h3 { font-size: clamp(20px, 2vw, 26px); margin: 0 0 12px; }
p { margin: 0 0 16px; }
.lead { font-size: 19px; line-height: 1.82; color: var(--text-main); }
.muted { color: var(--text-muted); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  text-decoration: none;
}
.text-link::after { content: '→'; }

.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: 0 10px 30px rgba(65, 0, 3, .22);
  border-bottom: 1px solid rgba(255,255,255,.16);
  overflow: visible;
}
.header-inner {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  overflow: visible;
}
.site-logo,
.drawer-logo,
.footer-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: 165px;
  max-height: 64px;
  object-fit: contain;
}
.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.main-nav a {
  color: var(--on-header);
  text-decoration: none;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
  padding: 29px 0 25px;
  border-bottom: 3px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.main-nav a.active,
.main-nav a:hover {
  color: #ffd8da;
  border-bottom-color: var(--theme-accent);
}
.header-actions { justify-self: end; }
.main-btn {
  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);
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 12px 24px rgba(35, 0, 2, .24);
  transition: transform .2s ease, filter .2s ease;
}
.main-btn:hover { color: var(--on-theme); transform: translateY(-2px); filter: brightness(.96); }
.mobile-menu-toggle { display: none; }

.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: linear-gradient(180deg, var(--header-bg) 0%, var(--theme-deep) 100%);
  color: var(--on-header);
  padding: 20px;
  overflow-y: auto;
}
.mobile-drawer.is-open { transform: translateX(0); }
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(36, 0, 2, .55);
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s ease, visibility .28s ease;
  z-index: 10000;
}
.drawer-overlay.is-open { opacity: 1; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.18); }
.drawer-logo img { max-width: 142px; max-height: 56px; width: auto; height: auto; object-fit: contain; }
.drawer-close { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; background: rgba(255,255,255,.08); color: var(--on-header); font-size: 28px; cursor: pointer; }
.drawer-nav { display: grid; gap: 6px; padding: 20px 0; }
.drawer-nav a { color: var(--on-header); text-decoration: none; padding: 12px 14px; border-radius: 12px; font-weight: 700; }
.drawer-nav a:hover, .drawer-nav a.active { background: rgba(255,255,255,.13); color: #ffe5e6; }

.hero-section {
  padding: 70px 0 46px;
  background:
    radial-gradient(circle at 14% 18%, rgba(255,104,112,.30) 0%, transparent 34%),
    linear-gradient(180deg, var(--theme-light) 0%, var(--white) 100%);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, .94fr);
  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: 16px 0 22px;
  color: var(--theme-dark);
  max-width: 790px;
}
.hero-content p { max-width: 760px; font-size: 18px; line-height: 1.82; margin: 0 0 28px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-tags span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 10px 16px;
  background: var(--theme-soft);
  color: var(--theme-dark);
  border: 1px solid var(--theme-border);
  font-weight: 800;
}
.hero-visual { 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: linear-gradient(180deg, var(--white) 0%, var(--theme-soft) 100%);
  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 { max-width: 100%; max-height: 340px; width: auto; height: auto; object-fit: contain; opacity: 1; }

.info-section { padding: 32px 0 52px; background: var(--white); }
.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,
.feedback-card,
.term-card,
.step-card {
  position: relative;
  background: var(--white);
  color: var(--text-main);
  border: 1px solid var(--theme-border);
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-md);
  min-height: auto;
  height: auto;
  padding: 28px;
}
.info-card::before,
.category-card::before,
.feature-card::before,
.term-card::before {
  content: '';
  display: block;
  width: 52px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--theme), var(--theme-accent));
  margin-bottom: 16px;
}
.info-card .card-number,
.category-card .card-number,
.step-card .card-number { color: var(--theme); font-size: 14px; font-weight: 900; letter-spacing: .08em; }
.info-card h2,
.info-card h3,
.category-card h3,
.feature-card h3,
.term-card h3,
.step-card h3 { color: var(--theme-dark); margin: 10px 0 12px; }
.info-card p,
.category-card p,
.feature-card p,
.term-card p,
.feedback-card p,
.step-card p { color: var(--text-muted); line-height: 1.75; }
.category-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.category-pills a {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--white);
  color: var(--theme-dark);
  border: 1px solid var(--theme-border);
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(118,0,4,.08);
}
.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: 28px; }
.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; }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.category-card { display: flex; flex-direction: column; }
.category-card .card-media { height: 150px; margin-bottom: 18px; border-radius: 18px; background: var(--theme-light); padding: 16px; }
.category-card .text-link { margin-top: auto; }
.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-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .86fr); gap: 52px; align-items: center; }
.split-section.reverse { grid-template-columns: minmax(360px, .86fr) minmax(0, 1fr); }
.split-section.reverse .split-copy { order: 2; }
.split-section.reverse .visual-card { order: 1; }
.visual-card { min-height: 360px; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, var(--white), var(--theme-soft)); }
.visual-card img { max-width: 100%; max-height: 320px; width: auto; height: auto; object-fit: contain; }
.bullet-list { display: grid; gap: 12px; padding: 0; margin: 22px 0 0; list-style: none; }
.bullet-list li { position: relative; padding-left: 28px; color: var(--text-main); }
.bullet-list li::before { content: ''; position: absolute; left: 0; top: .7em; width: 10px; height: 10px; border-radius: 50%; background: var(--theme); box-shadow: 0 0 0 5px var(--theme-soft); }
.content-wall { columns: 3 280px; column-gap: 24px; }
.content-wall .zone-card { break-inside: avoid; margin-bottom: 24px; }
.feedback-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.feedback-card { background: linear-gradient(180deg, var(--white), #fff8f8); }
.feedback-card::before { content: '“'; color: var(--theme); font-size: 56px; line-height: .7; font-weight: 900; }
.faq-list { display: grid; gap: 16px; }
.faq-item { padding: 24px 26px; background: linear-gradient(180deg, var(--white), var(--theme-light)); }
.faq-item h3 { margin-bottom: 10px; }
.faq-item p { color: var(--text-muted); }
.notice { background: linear-gradient(135deg, var(--theme-dark) 0%, var(--theme-deep) 100%); color: var(--on-dark); border-color: rgba(255,255,255,.16); }
.notice h2, .notice h3, .notice p, .notice li { color: var(--on-dark); }
.notice .eyebrow { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.22); color: var(--on-dark); }
.related-nav { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.related-nav a { padding: 9px 14px; border-radius: 999px; background: var(--theme-soft); border: 1px solid var(--theme-border); text-decoration: none; font-weight: 800; }

.page-hero { padding: 62px 0 42px; background: linear-gradient(180deg, var(--theme-light), var(--white)); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(340px, .94fr); gap: 48px; align-items: center; }
.page-hero h1 { font-size: clamp(40px, 4.5vw, 62px); margin: 15px 0 20px; }
.page-hero .visual-card { min-height: 330px; }
.page-body { background: var(--white); }
.term-grid, .step-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.feedback-grid.inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.article-copy { max-width: 920px; }
.article-copy p { font-size: 17px; line-height: 1.82; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.secondary-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--theme-border); background: var(--white); color: var(--theme-dark); font-weight: 800; text-decoration: none; }
.secondary-btn:hover { background: var(--theme-soft); }

.footer { background: linear-gradient(180deg, var(--theme-dark) 0%, var(--theme-deep) 100%); color: var(--on-dark); padding: 58px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 38px; }
.footer h3 { color: var(--on-dark); font-size: 18px; margin: 0 0 16px; }
.footer a { display: block; color: var(--on-dark); text-decoration: none; margin: 8px 0; opacity: .91; }
.footer a:hover { opacity: 1; color: #ffd7d9; }
.footer-logo img { max-width: 180px; max-height: 68px; width: auto; height: auto; object-fit: contain; }
.footer-brand p { margin-top: 18px; color: rgba(255,255,255,.82); }
.footer-notice { margin-top: 36px; padding: 22px 24px; border: 1px solid rgba(255,255,255,.16); border-radius: 18px; background: rgba(255,255,255,.08); }
.footer-notice p { margin: 7px 0 0; color: rgba(255,255,255,.84); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.72); font-size: 14px; }

@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: 76px; }
}
@media (max-width: 1180px) {
  .header-inner { width: min(100% - 36px, 1280px); gap: 14px; }
  .site-logo img { max-width: 135px; }
  .main-nav { gap: 9px; }
  .main-nav a { font-size: 12px; }
  .header-login { padding: 10px 15px; font-size: 13px; }
}
@media (max-width: 1023px) {
  .container, .section-inner, .header-inner, .footer-inner, .hero-inner { width: min(100% - 40px, 1280px); }
  .header-inner { min-height: 68px; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 10px; }
  .mobile-menu-toggle { display: inline-flex; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.24); background: rgba(255,255,255,.08); border-radius: 12px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; cursor: pointer; }
  .mobile-menu-toggle span { width: 20px; height: 2px; border-radius: 2px; background: var(--on-header); }
  .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; }
  .hero-section { padding: 48px 0 36px; }
  .hero-inner, .page-hero-grid { grid-template-columns: 1fr; gap: 32px; min-height: 0; }
  .hero-content h1 { font-size: clamp(36px, 8vw, 52px); }
  .hero-media-box { max-width: 100%; min-height: 280px; padding: 24px; }
  .hero-media-box img { max-height: 300px; }
  .info-grid, .grid-4, .category-grid, .term-grid, .step-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .feedback-grid, .feedback-grid.inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-section, .split-section.reverse { grid-template-columns: 1fr; gap: 30px; }
  .split-section.reverse .split-copy, .split-section.reverse .visual-card { order: initial; }
  .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: 56px 0; }
  .section-compact { padding: 42px 0; }
  .header-inner { width: min(100% - 24px, 1280px); }
  .site-logo img { max-width: min(126px, 35vw); max-height: 48px; }
  .header-actions .main-btn { padding: 8px 12px; font-size: 12px; min-height: 38px; }
  .hero-content h1 { font-size: clamp(34px, 10vw, 46px); }
  .hero-content p, .lead { font-size: 17px; }
  .hero-media-box { min-height: 230px; border-radius: 24px; }
  .hero-media-box img { max-height: 240px; }
  .info-grid, .grid-2, .grid-3, .grid-4, .category-grid, .term-grid, .step-grid, .feedback-grid, .feedback-grid.inner { grid-template-columns: 1fr; }
  .info-card, .card, .zone-card, .feature-card, .category-card, .faq-item, .notice, .visual-card, .feedback-card, .term-card, .step-card { padding: 22px; border-radius: 20px; }
  .visual-card, .page-hero .visual-card { min-height: 260px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .content-wall { columns: 1; }
}
@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(112px, 34vw); max-height: 44px; }
  .header-actions .main-btn { padding: 7px 10px; font-size: 11px; }
}
