:root {
  --theme: #b32311;
  --theme-dark: #7d170b;
  --theme-deep: #3f0d08;
  --theme-light: #fff7f5;
  --theme-soft: #ffe4de;
  --theme-accent: #ef6a4f;
  --theme-hover: #941c0d;
  --theme-border: rgba(125, 23, 11, .27);
  --header-bg: #4c100b;
  --header-bg-2: #70180e;
  --text-main: #2d1b18;
  --text-muted: #71534d;
  --on-theme: #ffffff;
  --on-header: #fff8f6;
  --on-dark: #fff4f1;
  --white: #ffffff;
  --shadow-soft: 0 18px 42px rgba(125, 23, 11, .18);
}* { 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; font-size: 16px; line-height: 1.72; }
a { color: var(--theme-dark); }
img { max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
.container, .section-inner, .header-inner, .footer-inner, .hero-inner {
  width: min(1280px, calc(100% - 80px));
  margin-left: auto;
  margin-right: auto;
}
.section { position: relative; padding: 72px 0; }
.section-heading { max-width: 850px; margin-bottom: 32px; }
.section-heading > span, .eyebrow {
  display: inline-flex; padding: 8px 14px; border-radius: 999px;
  background: var(--theme-soft); border: 1px solid var(--theme-border);
  color: var(--theme-dark); font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; font-size: 13px;
}
.section-heading h2 { margin: 14px 0 0; color: var(--theme-dark); font-size: clamp(30px, 3.2vw, 46px); line-height: 1.15; }

.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 { 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; font-size: 14px; font-weight: 700; padding: 28px 0 24px; border-bottom: 3px solid transparent; }
.main-nav a.active, .main-nav a:hover { color: var(--theme-accent); border-bottom-color: var(--theme-accent); }
.header-actions { justify-self: end; }
.main-btn {
  display: inline-flex; align-items: center; justify-content: center; padding: 12px 22px;
  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; border: 1px solid rgba(255,255,255,.4);
  transition: transform .2s ease, filter .2s ease;
}
.main-btn:hover { transform: translateY(-1px); filter: saturate(1.08); }
.mobile-menu-toggle { display: none; background: transparent; border: 0; padding: 8px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.mobile-menu-toggle span { width: 25px; height: 2px; border-radius: 99px; background: var(--on-header); }
.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), var(--header-bg-2));
  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(63,13,8,.74); 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: 16px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.16); }
.drawer-head img { max-width: 150px; max-height: 58px; object-fit: contain; }
.drawer-close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: var(--on-header); font-size: 28px; }
.drawer-nav { display: grid; gap: 6px; padding: 20px 0; }
.drawer-nav a { color: var(--on-header); text-decoration: none; padding: 11px 14px; border-radius: 12px; font-weight: 700; }
.drawer-nav a.active, .drawer-nav a:hover { background: rgba(239,106,79,.20); color: var(--theme-accent); }
.drawer-note { padding: 18px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; }
.drawer-note strong { color: var(--theme-accent); font-size: 22px; }
.drawer-note p { margin: 6px 0 0; color: rgba(255,255,255,.82); }


.banner-section {
  padding: 36px 0 24px;
  background: linear-gradient(180deg, var(--theme-light) 0%, var(--theme-soft) 100%);
}
.banner-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 28px;
  background: var(--theme-soft);
  border: 1px solid var(--theme-border);
  box-shadow: var(--shadow-soft);
}
.banner-slide { display: none; }
.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%; transform: translateY(-50%); z-index: 3;
  width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.65); border-radius: 50%;
  background: rgba(63,13,8,.76); color: var(--on-dark); font-size: 32px; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.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%); z-index: 3;
  display: flex; gap: 9px; padding: 8px 11px; border-radius: 999px; background: rgba(63,13,8,.60);
}
.banner-dots button {
  width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.58); cursor: pointer;
}
.banner-dots button.active { width: 28px; border-radius: 999px; background: var(--theme-accent); }
.intro-section { padding: 26px 0 20px; background: var(--theme-light); }
.intro-card {
  background: linear-gradient(135deg, var(--white), var(--theme-soft));
  border: 1px solid var(--theme-border); border-radius: 26px; padding: 32px 36px; box-shadow: var(--shadow-soft);
}
.intro-card h2 { margin: 14px 0 12px; color: var(--theme-dark); font-size: clamp(28px,3vw,42px); line-height: 1.18; }
.intro-card p { margin: 0; font-size: 17px; line-height: 1.82; color: var(--text-main); }
.headline-section { padding: 66px 0 42px; background: linear-gradient(180deg, var(--white), var(--theme-light)); }
.headline-inner { max-width: 1080px; text-align: center; }
.headline-inner .eyebrow { justify-content: center; }
.headline-inner h1 { color: var(--theme-dark); font-size: clamp(40px,4.4vw,64px); line-height: 1.08; margin: 16px auto 22px; letter-spacing: -.03em; }
.headline-inner p { max-width: 980px; margin: 0 auto; font-size: 18px; line-height: 1.82; }

.hero-section {
  padding: 64px 0 42px;
  background: radial-gradient(circle at 15% 20%, 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; 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); }
.hero-content p { max-width: 760px; font-size: 18px; line-height: 1.82; margin: 0 0 26px; }
.hero-badge, .hero-tags span, .quick-tags span {
  display: inline-flex; align-items: center; border-radius: 999px; padding: 9px 15px;
  background: var(--theme-soft); color: var(--theme-dark); border: 1px solid var(--theme-border); font-weight: 800;
}
.hero-tags, .quick-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-cta { margin-top: 24px; }
.hero-visual, .app-visual, .card-media, .media-box { 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;
  display: flex; align-items: center; justify-content: center; overflow: visible; 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);
}
.hero-media-box img { max-width: 100%; max-height: 340px; width: auto; height: auto; object-fit: contain; opacity: 1; }

.info-section { padding: 34px 0 52px; background: var(--white); }
.info-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; }
.info-card, .category-card, .feature-card, .detail-card, .faq-item, .notice, .visual-card, .feedback-grid blockquote {
  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;
}
.info-card::before, .category-card::before, .feature-card::before, .detail-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 span, .card-number { color: var(--theme-dark); font-weight: 900; }
.info-card h2, .category-card h3, .feature-card h3, .detail-card h3 { color: var(--theme-dark); margin: 10px 0 12px; line-height: 1.3; }
.info-card p, .category-card p, .feature-card p, .detail-card p { color: var(--text-muted); margin: 0; }

.category-section { padding: 34px 0; background: var(--theme-soft); }
.category-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.category-pills a { background: var(--white); color: var(--theme-dark); border: 1px solid var(--theme-border); padding: 10px 18px; 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); }
.category-grid, .feature-grid, .detail-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; }
.category-card a, .feature-link { display: inline-flex; margin-top: 18px; font-weight: 900; text-decoration: none; border-bottom: 2px solid var(--theme); }
.soft-section { background: var(--theme-soft); }

.split-section { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(360px,.95fr); gap: 50px; align-items: center; }
.split-section.reverse .split-copy { order: 2; }
.split-media {
  min-height: 360px; padding: 32px; background: linear-gradient(180deg,var(--white),var(--theme-soft));
  border: 1px solid var(--theme-border); border-radius: 30px; box-shadow: var(--shadow-soft);
  display: flex; align-items: center; justify-content: center;
}
.split-media img { max-width: 100%; max-height: 330px; width: auto; height: auto; object-fit: contain; }
.split-copy h2 { color: var(--theme-dark); font-size: clamp(30px,3.4vw,48px); line-height: 1.15; margin: 12px 0 18px; }
.check-list { display: grid; gap: 12px; margin-top: 22px; }
.check-list div { padding: 14px 16px; background: var(--white); border-left: 4px solid var(--theme); border-radius: 12px; }

.feedback-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.feedback-grid blockquote { margin: 0; }
.feedback-grid p { margin: 0; font-size: 17px; }
.faq-list { display: grid; gap: 14px; }
.faq-item { padding: 0; overflow: hidden; }
.faq-item summary { cursor: pointer; list-style: none; padding: 20px 24px; color: var(--theme-dark); font-weight: 900; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { margin: 0; padding: 0 24px 24px; color: var(--text-muted); }
.notice-section { padding-top: 38px; }
.notice { display: flex; gap: 22px; align-items: flex-start; background: linear-gradient(135deg,var(--theme-soft),var(--white)); }
.notice-mark {
  flex: 0 0 auto; display: inline-flex; width: 72px; height: 72px; align-items: center; justify-content: center;
  border-radius: 22px; background: linear-gradient(180deg,var(--theme-accent),var(--theme-dark));
  color: var(--on-theme); font-size: 24px; font-weight: 900;
}
.notice h2 { margin: 0 0 8px; color: var(--theme-dark); }
.notice p { margin: 0; }

.page-hero {
  padding: 64px 0;
  background: radial-gradient(circle at 85% 10%,var(--theme-soft),transparent 30%), linear-gradient(180deg,var(--theme-light),var(--white));
}
.page-hero-grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(360px,.95fr); gap: 54px; align-items: center; }
.page-hero-copy h1 { color: var(--theme-dark); font-size: clamp(40px,4.5vw,62px); line-height: 1.08; margin: 14px 0 22px; }
.page-hero-copy p { margin: 0 0 16px; font-size: 17px; }
.page-visual .media-box {
  min-height: 360px; padding: 30px; background: linear-gradient(180deg,var(--white),var(--theme-soft));
  border: 1px solid var(--theme-border); border-radius: 28px; box-shadow: var(--shadow-soft);
}
.page-visual img { max-width: 100%; max-height: 320px; width: auto; height: auto; object-fit: contain; }
.prose-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px; margin-bottom: 30px; }
.prose-grid p { margin: 0; font-size: 17px; }
.point-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.point-item {
  display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 22px;
  border-radius: 20px; background: var(--white); border: 1px solid var(--theme-border);
}
.point-item > span {
  width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--theme); color: var(--on-theme); font-weight: 900;
}
.point-item h3 { margin: 0 0 7px; color: var(--theme-dark); }
.point-item p { margin: 0; color: var(--text-muted); }
.related-links { display: flex; flex-wrap: wrap; gap: 12px; }
.related-links a { padding: 11px 17px; border-radius: 999px; background: var(--white); border: 1px solid var(--theme-border); text-decoration: none; font-weight: 800; }

.footer { background: linear-gradient(180deg,var(--theme-dark) 0%,var(--theme-deep) 100%); color: var(--on-dark); padding: 64px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 38px; }
.footer-brand img { max-width: 190px; max-height: 72px; object-fit: contain; }
.footer p { color: rgba(255,247,245,.82); }
.footer h2 { color: var(--theme-accent); font-size: 18px; margin: 0 0 16px; }
.footer a { color: var(--on-dark); text-decoration: none; display: block; margin: 8px 0; }
.footer a:hover { color: var(--theme-accent); }
.footer-legal { border-top: 1px solid rgba(255,255,255,.16); margin-top: 42px; padding-top: 24px; }
.footer-legal strong { color: var(--theme-accent); }
.footer-legal p { margin: 8px 0 0; }

@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: 80px; }
}
@media (max-width: 1180px) {
  .main-nav { gap: 12px; }
  .main-nav a { font-size: 13px; }
  .header-inner { gap: 16px; }
}
@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 .main-btn { padding: 10px 16px; }
  .hero-section { padding: 48px 0 36px; }
  .hero-inner, .page-hero-grid, .split-section { grid-template-columns: 1fr; gap: 32px; min-height: auto; }
  .hero-content h1, .page-hero-copy h1 { font-size: clamp(36px,8vw,52px); }
  .hero-media-box { max-width: 100%; min-height: auto; padding: 24px; }
  .hero-media-box img { max-height: 300px; }
  .info-grid, .category-grid, .feature-grid, .detail-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .split-section.reverse .split-copy { order: 0; }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 767px) {
  .banner-section { padding: 20px 0 14px; }
  .banner-carousel { border-radius: 18px; }
  .banner-arrow { width: 38px; height: 38px; font-size: 25px; }
  .banner-prev { left: 9px; }
  .banner-next { right: 9px; }
  .banner-dots { bottom: 8px; padding: 6px 8px; }
  .intro-card { padding: 24px 22px; }
  .headline-section { padding: 48px 0 32px; }
  .headline-inner h1 { font-size: clamp(34px,9vw,48px); }

  .container, .section-inner, .header-inner, .footer-inner, .hero-inner { width: min(100% - 32px,1280px); }
  .section { padding: 54px 0; }
  .info-grid, .category-grid, .feature-grid, .detail-grid, .feedback-grid, .prose-grid, .point-list, .footer-grid { grid-template-columns: 1fr; }
  .notice { flex-direction: column; }
  .page-visual .media-box, .split-media { min-height: 280px; }
  .hero-content p { font-size: 16px; }
}
@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: 46px; }
  .header-actions .main-btn { padding: 8px 10px; font-size: 12px; }
  .hero-content h1, .page-hero-copy h1 { font-size: 34px; }
}
