:root {
  --theme: #f4a81b;
  --theme-dark: #9a5a00;
  --theme-deep: #4b2a00;
  --theme-light: #fffaf0;
  --theme-soft: #ffedc4;
  --theme-accent: #ffd166;
  --theme-hover: #cc7a00;
  --theme-border: rgba(244, 168, 27, .30);
  --header-bg: #6b3b00;
  --header-bg-2: #3a2100;
  --text-main: #3b2a16;
  --text-muted: #735c3e;
  --on-theme: #2b1a00;
  --on-header: #ffffff;
  --on-dark: #ffffff;
  --white: #ffffff;
  --shadow-soft: 0 18px 48px rgba(106, 59, 0, .18);
}
* { 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.65; }
body.menu-open { overflow: hidden; }
a { color: var(--theme-dark); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--theme-accent); outline-offset: 3px; }
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: 74px 0; }
.section-soft { background: var(--theme-soft); }
.section-white { background: var(--white); }
.section-head { max-width: 850px; margin-bottom: 34px; }
.eyebrow, .hero-badge, .section-label, .tag, .badge { 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-weight: 800; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
h1, h2, h3 { color: var(--theme-dark); line-height: 1.18; }
h2 { font-size: clamp(30px, 3.2vw, 46px); margin: 0 0 18px; }
h3 { font-size: 21px; margin: 0 0 12px; }
p { margin: 0 0 16px; }
.lead { font-size: 18px; line-height: 1.85; color: var(--text-main); }
.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: 0 10px 30px rgba(75, 42, 0, .24); border-bottom: 1px solid rgba(255,255,255,.16); overflow: visible; }
.header-inner { min-height: 82px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; 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: 184px; max-height: 64px; object-fit: contain; }
.main-nav { display: flex; justify-content: center; align-items: center; gap: 16px; }
.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; min-height: 46px; padding: 11px 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 12px 25px rgba(0,0,0,.22); text-decoration: none; white-space: nowrap; font-weight: 900; border: 1px solid rgba(255,255,255,.22); transition: transform .2s ease, filter .2s ease; }
.main-btn:hover { transform: translateY(-2px); filter: brightness(.96); color: var(--on-theme); }
.mobile-menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.10); border-radius: 12px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.mobile-menu-toggle span { width: 21px; 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: linear-gradient(180deg, var(--header-bg) 0%, var(--header-bg-2) 100%); color: var(--on-header); box-shadow: 18px 0 45px rgba(0,0,0,.28); padding: 18px; overflow-y: auto; }
.mobile-drawer.is-open { transform: translateX(0); }
.drawer-overlay { position: fixed; inset: 0; background: rgba(75, 42, 0, .58); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s 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-head img { max-width: 155px; max-height: 58px; width: auto; height: auto; object-fit: contain; }
.drawer-close { width: 40px; height: 40px; border-radius: 12px; border: 1px solid rgba(255,255,255,.24); background: rgba(255,255,255,.10); color: var(--on-header); font-size: 28px; line-height: 1; }
.drawer-nav { display: grid; gap: 5px; padding-top: 18px; }
.drawer-nav a { color: var(--on-header); text-decoration: none; padding: 12px 14px; border-radius: 12px; font-weight: 700; }
.drawer-nav a.active, .drawer-nav a:hover { background: rgba(255,255,255,.13); color: var(--theme-accent); }
.banner-section { padding: 34px 0 22px; 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; align-items: center; justify-content: center; width: 100%; }
.banner-slide.active { display: flex; }
.banner-slide img { display: block; width: 100%; height: auto; object-fit: contain; }
.banner-arrow { position: absolute; top: 50%; z-index: 4; width: 48px; height: 48px; transform: translateY(-50%); border: 1px solid rgba(255,255,255,.42); border-radius: 50%; background: rgba(75, 42, 0, .72); color: var(--on-dark); font-size: 34px; line-height: 1; display: grid; place-items: center; cursor: pointer; transition: .2s ease; }
.banner-arrow:hover { background: var(--theme-dark); transform: translateY(-50%) scale(1.04); }
.banner-prev { left: 20px; }
.banner-next { right: 20px; }
.banner-dots { position: absolute; z-index: 4; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; align-items: center; gap: 9px; padding: 8px 11px; border-radius: 999px; background: rgba(75, 42, 0, .54); }
.banner-dots button { width: 10px; height: 10px; padding: 0; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; background: rgba(255,255,255,.44); cursor: pointer; }
.banner-dots button.active { width: 28px; border-radius: 999px; background: var(--theme-accent); }
.intro-section { padding: 34px 0 30px; background: var(--white); }
.intro-card { padding: 38px 42px; border-radius: 28px; background: linear-gradient(135deg, var(--white), var(--theme-soft)); border: 1px solid var(--theme-border); box-shadow: var(--shadow-soft); }
.intro-card h1 { max-width: 1020px; margin: 16px 0 20px; font-size: clamp(38px, 4.2vw, 62px); letter-spacing: -.025em; }
.intro-card p { max-width: 1120px; font-size: 18px; line-height: 1.82; color: var(--text-main); }
.intro-meta { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 22px; }
.intro-meta span { display: inline-flex; align-items: center; padding: 9px 15px; border-radius: 999px; background: var(--white); color: var(--theme-dark); border: 1px solid var(--theme-border); font-weight: 800; }
.hero-section { padding: 66px 0 46px; 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.06fr) minmax(360px, .94fr); align-items: center; gap: 58px; }
.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: 820px; }
.hero-content p { max-width: 760px; font-size: 18px; line-height: 1.82; margin: 0 0 27px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-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-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; 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: 70%; max-height: 340px; width: auto; height: auto; object-fit: contain; opacity: 1; display: block; }
.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: 30px 0 54px; background: var(--white); }
.info-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 21px; }
.info-card, .category-card, .feature-card, .topic-card, .faq-item, .notice, .visual-card, .feedback-card, .link-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: 24px; min-height: auto; height: auto; padding: 27px; }
.info-card::before, .category-card::before, .feature-card::before, .topic-card::before, .step-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-weight: 900; letter-spacing: .08em; font-size: 14px; }
.info-card h2 { font-size: 23px; margin: 10px 0 12px; }
.info-card p, .category-card p, .feature-card p, .topic-card p, .step-card p { color: var(--text-muted); line-height: 1.75; }
.category-section { padding: 28px 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); border-radius: 999px; padding: 10px 18px; text-decoration: none; font-weight: 800; transition: .2s ease; }
.category-pills a:hover { background: linear-gradient(180deg, var(--theme-accent), var(--theme)); color: var(--on-theme); transform: translateY(-2px); }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; }
.category-card { display: flex; flex-direction: column; }
.category-card h3 { font-size: 24px; }
.text-link { margin-top: auto; display: inline-flex; align-items: center; gap: 7px; font-weight: 900; text-decoration: none; }
.text-link::after { content: "→"; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.split-section { display: grid; grid-template-columns: minmax(0,1fr) minmax(360px,.84fr); align-items: center; gap: 56px; }
.split-section.reverse { grid-template-columns: minmax(360px,.84fr) minmax(0,1fr); }
.visual-card { min-height: 370px; display: flex; align-items: center; justify-content: center; background: linear-gradient(145deg, var(--white), var(--theme-soft)); }
.visual-card img { max-width: 100%; max-height: 320px; width: auto; height: auto; object-fit: contain; }
.check-list, .plain-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 13px; }
.check-list li, .plain-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--theme-soft); color: var(--theme-dark); font-weight: 900; }
.plain-list li::before { content: "•"; position: absolute; left: 8px; color: var(--theme); font-weight: 900; }
.content-wall { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.content-wall .topic-card:first-child { grid-column: span 2; }
.app-band { background: linear-gradient(135deg, var(--theme-dark), var(--theme-deep)); color: var(--on-dark); border-radius: 34px; padding: 46px; display: grid; grid-template-columns: minmax(0,1.15fr) minmax(300px,.85fr); align-items: center; gap: 38px; box-shadow: var(--shadow-soft); }
.app-band h2, .app-band h3 { color: var(--on-dark); }
.app-band .section-label { background: rgba(255,255,255,.12); color: var(--on-dark); border-color: rgba(255,255,255,.22); }
.app-band .app-visual { min-height: 300px; padding: 22px; border-radius: 26px; background: rgba(255,255,255,.08); }
.app-band .app-visual img { max-height: 280px; }
.feedback-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.feedback-card p { font-style: italic; }
.feedback-card strong { color: var(--theme-dark); }
.faq-list { display: grid; gap: 16px; }
.faq-item h3 { font-size: 20px; }
.notice { background: linear-gradient(135deg, var(--theme-soft), var(--white)); border-left: 6px solid var(--theme); }
.notice strong { display: block; color: var(--theme-dark); font-size: 21px; margin-bottom: 9px; }
.inner-hero { padding: 62px 0 50px; background: radial-gradient(circle at 80% 20%, var(--theme-soft), transparent 33%), linear-gradient(180deg, var(--theme-light), var(--white)); }
.inner-hero-grid { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(360px,.92fr); gap: 52px; align-items: center; }
.inner-hero h1 { font-size: clamp(40px, 4.3vw, 62px); margin: 14px 0 22px; }
.inner-hero .visual-card { min-height: 330px; }
.topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.step-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 21px; }
.step-card b { display: block; color: var(--theme); margin-bottom: 9px; }
.article-copy { max-width: 980px; font-size: 17px; line-height: 1.88; }
.article-copy p + p { margin-top: 15px; }
.related-links { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 15px; }
.link-card { padding: 19px 21px; text-decoration: none; font-weight: 850; display: flex; align-items: center; justify-content: space-between; }
.link-card::after { content: "→"; color: var(--theme); }
.footer { background: linear-gradient(180deg, var(--theme-dark) 0%, var(--theme-deep) 100%); color: var(--on-dark); padding: 62px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 38px; }
.footer h2 { color: var(--on-dark); font-size: 18px; margin: 0 0 16px; }
.footer a { color: var(--on-dark); text-decoration: none; display: block; padding: 5px 0; opacity: .9; }
.footer a:hover { color: var(--theme-accent); }
.footer-brand img { max-width: 180px; max-height: 68px; width: auto; height: auto; object-fit: contain; margin-bottom: 17px; }
.footer-brand p { max-width: 430px; opacity: .86; }
.footer-notice { margin-top: 38px; padding: 24px; border: 1px solid rgba(255,255,255,.18); border-radius: 22px; background: rgba(255,255,255,.07); }
.footer-notice strong { color: var(--theme-accent); }
.footer-notice p { margin: 8px 0 0; opacity: .9; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 28px; padding-top: 20px; opacity: .76; 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; }
  .hero-media-box { max-width: 560px; min-height: 380px; }
}
@media (max-width: 1180px) {
  .main-nav { gap: 11px; }
  .main-nav a { font-size: 13px; }
  .site-logo img { max-width: 155px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 1023px) {
  .banner-section { padding-top: 26px; }
  .banner-carousel { border-radius: 22px; }
  .banner-arrow { width: 42px; height: 42px; font-size: 29px; }
  .banner-prev { left: 12px; }
  .banner-next { right: 12px; }
  .intro-card { padding: 32px; }
  .container, .section-inner, .header-inner, .footer-inner, .hero-inner { width: min(100% - 38px, 1280px); }
  .header-inner { min-height: 68px; grid-template-columns: 48px minmax(0,1fr) auto; gap: 10px; }
  .mobile-menu-toggle { display: inline-flex; }
  .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: 9px 15px; min-height: 42px; }
  .hero-section { padding: 48px 0 38px; }
  .hero-inner, .inner-hero-grid, .split-section, .split-section.reverse { grid-template-columns: 1fr; gap: 32px; }
  .hero-content h1 { font-size: clamp(36px, 8vw, 52px); }
  .hero-media-box { max-width: 100%; min-height: auto; padding: 24px; }
  .hero-media-box img { max-height: 290px; }
  .info-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .feature-grid, .topic-grid, .content-wall { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .content-wall .topic-card:first-child { grid-column: auto; }
  .app-band { grid-template-columns: 1fr; padding: 36px; }
  .related-links { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 767px) {
  .banner-section { padding: 20px 0 16px; }
  .banner-carousel { border-radius: 18px; }
  .banner-arrow { width: 36px; height: 36px; font-size: 25px; }
  .banner-dots { bottom: 8px; padding: 6px 9px; }
  .banner-dots button { width: 8px; height: 8px; }
  .banner-dots button.active { width: 22px; }
  .intro-section { padding: 24px 0; }
  .intro-card { padding: 26px 22px; border-radius: 22px; }
  .intro-card h1 { font-size: clamp(32px, 9vw, 44px); }
  .intro-card p { font-size: 16px; }
  .container, .section-inner, .header-inner, .footer-inner, .hero-inner { width: min(calc(100% - 32px), 1280px); }
  .section { padding: 54px 0; }
  .header-inner { width: min(calc(100% - 24px), 1280px); }
  .header-actions .main-btn { font-size: 13px; padding: 8px 12px; }
  .hero-section { padding-top: 40px; }
  .hero-content p { font-size: 16px; }
  .hero-media-box { border-radius: 24px; }
  .info-grid, .category-grid, .feature-grid, .topic-grid, .content-wall, .step-grid, .feedback-grid, .related-links { grid-template-columns: 1fr; }
  .app-band { padding: 28px 22px; border-radius: 26px; }
  .app-band .app-visual { min-height: 220px; }
  .footer-grid { grid-template-columns: 1fr; }
  .visual-card { min-height: 270px; }
}
@media (max-width: 390px) {
  .header-inner { width: min(calc(100% - 18px), 1280px); grid-template-columns: 42px minmax(0,1fr) auto; gap: 7px; }
  .mobile-menu-toggle { width: 40px; height: 40px; }
  .site-logo img { max-width: min(114px, 35vw); max-height: 46px; }
  .header-actions .main-btn { padding: 7px 10px; font-size: 12px; }
}
