:root {
  --theme: #ef3a3a;
  --theme-dark: #b52b2b;
  --theme-deep: #741b1b;
  --theme-light: #fff3f3;
  --theme-soft: #fde3e3;
  --theme-accent: #ff7474;
  --theme-hover: #c92f2f;
  --theme-border: rgba(239, 58, 58, .24);
  --header-bg: #7b1f1f;
  --header-bg-2: #a12929;
  --text-main: #351b1b;
  --text-muted: #775252;
  --on-theme: #ffffff;
  --on-header: #ffffff;
  --on-dark: #ffffff;
  --white: #ffffff;
  --shadow-soft: 0 18px 44px rgba(116, 27, 27, .14);
  --radius-lg: 26px;
  --radius-md: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text-main); background: var(--theme-light); font-family: Arial, Helvetica, sans-serif; line-height: 1.72; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button, input, textarea { font: inherit; }
.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); }
.header-inner { width: min(1360px, calc(100% - 80px)); min-height: 84px; margin: 0 auto; display: grid; grid-template-columns: 190px minmax(0,1fr) 144px; align-items: center; gap: 26px; }
.site-logo, .drawer-logo, .footer-logo { display: inline-flex; align-items: center; }
.site-logo img { max-width: 190px; max-height: 72px; width: auto; height: auto; object-fit: contain; display: block; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: 5px; white-space: nowrap; min-width: 0; }
.desktop-nav a { position: relative; padding: 10px 9px; font-weight: 700; font-size: 14px; color: rgba(255,255,255,.91); border-radius: 10px; }
.desktop-nav a:hover, .desktop-nav a.active { background: rgba(255,255,255,.12); color: var(--white); }
.desktop-nav a.active::after { content: ''; position: absolute; left: 16%; right: 16%; bottom: 3px; height: 2px; border-radius: 10px; background: var(--theme-accent); }
.header-login, .main-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; border-radius: 13px; background: linear-gradient(180deg, var(--theme-accent) 0%, var(--theme) 48%, var(--theme-dark) 100%); color: var(--on-theme); font-weight: 900; letter-spacing: .02em; box-shadow: 0 12px 26px rgba(0,0,0,.18); transition: transform .2s ease, filter .2s ease; }
.header-login:hover, .main-btn:hover { transform: translateY(-1px); filter: brightness(.96); }
.mobile-menu-toggle { display: none; width: 42px; height: 42px; padding: 9px; border: 0; border-radius: 11px; background: rgba(255,255,255,.13); cursor: pointer; }
.mobile-menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--white); border-radius: 10px; }
.drawer-overlay { position: fixed; inset: 0; z-index: 9997; background: rgba(53,27,27,.52); opacity: 0; visibility: hidden; transition: .25s; }
.drawer-overlay.is-open { opacity: 1; visibility: visible; }
.mobile-drawer { position: fixed; top: 0; bottom: 0; left: 0; z-index: 9998; width: min(340px, 86vw); padding: 18px; background: var(--theme-light); transform: translateX(-105%); transition: transform .28s ease; box-shadow: 24px 0 60px rgba(53,27,27,.20); overflow-y: auto; }
.mobile-drawer.is-open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--theme-border); }
.drawer-logo img { max-width: 155px; max-height: 58px; width: auto; height: auto; object-fit: contain; }
.drawer-close { width: 42px; height: 42px; border: 1px solid var(--theme-border); border-radius: 12px; background: var(--white); color: var(--theme-dark); font-size: 27px; cursor: pointer; }
.drawer-nav { display: grid; gap: 7px; padding: 18px 0; }
.drawer-nav a { padding: 12px 14px; border-radius: 12px; color: var(--theme-dark); font-weight: 800; border: 1px solid transparent; }
.drawer-nav a:hover, .drawer-nav a.active { background: var(--theme-soft); border-color: var(--theme-border); }
main { min-height: 60vh; }
.section { padding: 62px 0; }
.section-tight { padding: 36px 0; }
.section-inner { width: min(1280px, calc(100% - 80px)); margin: 0 auto; }
.tinted { background: linear-gradient(180deg, var(--theme-soft) 0%, var(--theme-light) 100%); }
.white-zone { background: var(--white); }
.section-head { max-width: 850px; margin-bottom: 28px; }
.eyebrow { display: inline-flex; align-items: center; min-height: 32px; padding: 5px 12px; border-radius: 999px; background: var(--theme-soft); border: 1px solid var(--theme-border); color: var(--theme-dark); font-weight: 900; font-size: 13px; letter-spacing: .04em; }
h1, h2, h3 { margin-top: 0; color: var(--theme-dark); line-height: 1.2; }
h1 { font-size: clamp(38px, 4.3vw, 62px); letter-spacing: -.035em; margin-bottom: 20px; }
h2 { font-size: clamp(27px, 2.8vw, 39px); letter-spacing: -.025em; margin-bottom: 14px; }
h3 { font-size: 20px; margin-bottom: 9px; }
p { margin: 0 0 16px; }
.lead { font-size: 18px; color: var(--text-muted); max-width: 960px; }
.banner-section { padding: 32px 0 20px; background: radial-gradient(circle at 16% 0%, var(--theme-soft) 0%, transparent 34%), linear-gradient(180deg, var(--theme-light), #fff8f8); }
.banner-carousel { position: relative; width: 100%; overflow: hidden; border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--white), var(--theme-soft)); border: 1px solid var(--theme-border); box-shadow: var(--shadow-soft); }
.banner-slide { display: none; align-items: center; justify-content: center; width: 100%; }
.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%; z-index: 3; transform: translateY(-50%); width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; background: rgba(116,27,27,.76); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.banner-prev { left: 18px; } .banner-next { right: 18px; }
.banner-dots { position: absolute; left: 50%; bottom: 14px; z-index: 3; transform: translateX(-50%); display: flex; gap: 8px; padding: 7px 10px; border-radius: 999px; background: rgba(116,27,27,.62); }
.banner-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.48); cursor: pointer; }
.banner-dot.active { width: 24px; border-radius: 999px; background: var(--white); }
.intro-card { padding: 30px 34px; background: var(--white); border: 1px solid var(--theme-border); border-top: 5px solid var(--theme); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.category-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.category-pills a { padding: 8px 14px; border: 1px solid var(--theme-border); border-radius: 999px; color: var(--theme-dark); background: var(--theme-soft); font-weight: 800; }
.category-pills a:hover { color: var(--on-theme); background: var(--theme-hover); border-color: var(--theme-hover); }
.grid-2, .grid-3, .grid-4, .grid-8 { 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)); }
.grid-8 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.info-card, .category-card, .feature-card, .faq-item, .review-card, .entity-card, .service-card { position: relative; padding: 24px; background: var(--white); border: 1px solid var(--theme-border); border-radius: var(--radius-md); box-shadow: var(--shadow-soft); }
.info-card::before, .category-card::before, .feature-card::before, .entity-card::before, .service-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-size: 13px; font-weight: 900; letter-spacing: .08em; }
.text-link { display: inline-flex; margin-top: 5px; color: var(--theme-dark); font-weight: 900; border-bottom: 1px solid var(--theme-border); }
.split { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(320px,.88fr); gap: 42px; align-items: center; }
.split.reverse { grid-template-columns: minmax(320px,.88fr) minmax(0,1.12fr); }
.split.reverse .media-box { order: -1; }
.media-box, .banner-media, .hero-visual, .app-visual, .card-media { display: flex; align-items: center; justify-content: center; overflow: visible; min-height: 290px; padding: 26px; border-radius: var(--radius-lg); border: 1px solid var(--theme-border); background: linear-gradient(180deg, var(--white) 0%, var(--theme-soft) 100%); box-shadow: var(--shadow-soft); }
.media-box img, .banner-media img, .hero-visual img, .app-visual img, .card-media img { max-width: 100%; max-height: 360px; width: auto; height: auto; object-fit: contain; }
.page-hero { padding: 66px 0 44px; background: radial-gradient(circle at 15% 20%, var(--theme-soft) 0%, transparent 34%), linear-gradient(180deg, var(--theme-light) 0%, var(--white) 100%); }
.page-hero-inner { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(330px,.88fr); align-items: center; gap: 48px; }
.page-hero h1 { max-width: 850px; }
.hero-copy .lead { max-width: 820px; }
.topic-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; margin: 26px 0 0; }
.topic-point { padding: 20px; background: var(--theme-soft); border: 1px solid var(--theme-border); border-radius: 18px; }
.topic-point strong { display: block; color: var(--theme-dark); margin-bottom: 5px; }
.entity-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.entity-card { min-height: 190px; }
.entity-card h3 { font-size: 18px; }
.notice { padding: 26px 28px; border-radius: var(--radius-md); background: linear-gradient(135deg, var(--theme-soft), var(--white)); border: 1px solid var(--theme-border); border-left: 5px solid var(--theme); }
.notice strong { color: var(--theme-dark); }
.faq-list { display: grid; gap: 14px; }
.faq-item h3 { font-size: 18px; }
.review-card p { color: var(--text-muted); }
.review-card strong { color: var(--theme-dark); }
.related-links { display: flex; flex-wrap: wrap; gap: 10px; }
.related-links a { padding: 9px 13px; border-radius: 11px; border: 1px solid var(--theme-border); background: var(--white); color: var(--theme-dark); font-weight: 800; }
.related-links a:hover { background: var(--theme-soft); }
.check-list { display: grid; gap: 11px; padding: 0; margin: 20px 0 0; list-style: none; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--theme); font-weight: 900; }
.site-footer { padding: 56px 0 22px; background: var(--theme-deep); color: var(--on-dark); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 38px; }
.footer-grid h2 { font-size: 18px; color: var(--white); }
.footer-grid a { display: block; width: fit-content; margin: 7px 0; color: rgba(255,255,255,.82); }
.footer-grid a:hover { color: var(--white); }
.footer-brand p { max-width: 460px; color: rgba(255,255,255,.75); }
.footer-logo img { max-width: 180px; max-height: 70px; width: auto; height: auto; object-fit: contain; margin-bottom: 18px; }
.footer-notice { margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.78); }
.footer-notice strong { color: var(--white); }
.footer-bottom { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 20px; font-size: 14px; color: rgba(255,255,255,.68); }
@media (min-width: 1440px) { .section-inner { width: min(1360px, calc(100% - 120px)); } }
@media (max-width: 1180px) { .desktop-nav { display: none; } .mobile-menu-toggle { display: block; } .header-inner { grid-template-columns: 52px minmax(0,1fr) 132px; } .site-logo { justify-self: center; } .grid-4, .grid-8, .entity-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } .footer-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 820px) { .header-inner, .section-inner { width: min(calc(100% - 32px), 1280px); } .header-inner { min-height: 72px; gap: 10px; grid-template-columns: 44px minmax(0,1fr) 112px; } .site-logo img { max-width: 142px; max-height: 54px; } .header-login { min-height: 42px; padding: 0 10px; font-size: 12px; border-radius: 10px; } .mobile-menu-toggle { width: 40px; height: 40px; } .section { padding: 44px 0; } .banner-section { padding: 20px 0 12px; } .banner-arrow { width: 38px; height: 38px; font-size: 24px; } .banner-prev { left: 8px; } .banner-next { right: 8px; } .banner-dots { bottom: 7px; } .grid-2, .grid-3, .grid-4, .grid-8, .entity-grid, .topic-list, .page-hero-inner, .split, .split.reverse { grid-template-columns: 1fr; } .split.reverse .media-box { order: 0; } .page-hero { padding: 44px 0 28px; } .page-hero-inner { gap: 26px; } h1 { font-size: clamp(34px, 10vw, 48px); } .media-box, .app-visual, .card-media { min-height: 220px; padding: 18px; } .footer-grid { grid-template-columns: 1fr; gap: 24px; } .footer-bottom { flex-direction: column; } }
@media (max-width: 480px) { .section-inner { width: calc(100% - 28px); } .header-inner { width: calc(100% - 22px); grid-template-columns: 40px minmax(0,1fr) 104px; } .site-logo img { max-width: 128px; max-height: 48px; } .header-login { font-size: 11px; padding: 0 8px; } .intro-card, .info-card, .category-card, .feature-card, .faq-item, .review-card, .entity-card, .service-card, .notice { padding: 20px; } .banner-arrow { display: none; } .banner-dots { transform: translateX(-50%) scale(.88); } }
