:root {
  --theme: #e13923;
  --theme-dark: #a52818;
  --theme-deep: #5f160d;
  --theme-light: #fff4f1;
  --theme-soft: #fde0da;
  --theme-accent: #ff765f;
  --theme-hover: #c4311e;
  --theme-border: rgba(225, 57, 35, .34);
  --header-bg: #8a2115;
  --header-bg-2: #4f120b;
  --text-main: #3d1d18;
  --text-muted: #7c514a;
  --on-theme: #ffffff;
  --on-header: #fff8f6;
  --on-dark: #fff8f6;
  --white: #ffffff;
  --shadow-soft: 0 18px 45px rgba(138, 33, 21, .22);
}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;overflow-x:hidden;overflow-y:auto}
html{scroll-behavior:smooth}
body{background:var(--theme-light);color:var(--text-main);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.7}
body.menu-open{overflow:hidden}
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,.page-hero-inner{width:min(1280px,calc(100% - 80px));margin-left:auto;margin-right:auto}
.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,.drawer-logo,.footer-logo{display:inline-flex;align-items:center;justify-content:center;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{position:relative;color:var(--on-header);text-decoration:none;white-space:nowrap;font-size:14px;font-weight:700;padding:29px 0 26px}
.main-nav a::after{content:"";position:absolute;left:0;right:0;bottom:17px;height:3px;border-radius:999px;background:var(--theme-accent);transform:scaleX(0);transition:transform .2s ease}
.main-nav a.active,.main-nav a:hover{color:var(--theme-accent)}
.main-nav a.active::after,.main-nav a:hover::after{transform:scaleX(1)}
.header-actions{justify-self:end}
.main-btn,.header-login,.cta-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 21px;border:0;border-radius:999px;background:linear-gradient(180deg,var(--theme-accent) 0%,var(--theme) 48%,var(--theme-dark) 100%);color:var(--on-theme);box-shadow:0 14px 28px rgba(0,0,0,.16);text-decoration:none;white-space:nowrap;font-weight:800;letter-spacing:.02em;transition:transform .2s ease,filter .2s ease}
.main-btn:hover,.header-login:hover,.cta-link:hover{transform:translateY(-2px);filter:saturate(1.08)}
.mobile-menu-toggle{display:none;align-items:center;justify-content:center;flex-direction:column;gap:5px;border:1px solid rgba(255,255,255,.28);border-radius:12px;background:rgba(255,255,255,.09);color:var(--on-header);cursor:pointer}
.mobile-menu-toggle span{width:22px;height:2px;border-radius:999px;background:currentColor}
.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);box-shadow:24px 0 70px rgba(0,0,0,.28);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(79,18,11,.58);transition:opacity .28s ease,visibility .28s ease}
.drawer-overlay.is-open{opacity:1;visibility:visible}
.drawer-head{min-height:78px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:16px;padding:14px 18px;border-bottom:1px solid rgba(255,255,255,.14)}
.drawer-logo{justify-self:start}
.drawer-logo img{width:auto;height:auto;max-width:150px;max-height:54px;object-fit:contain}
.drawer-close{width:42px;height:42px;border:1px solid rgba(255,255,255,.25);border-radius:12px;background:rgba(255,255,255,.08);color:var(--on-header);font-size:30px;line-height:1;cursor:pointer}
.drawer-nav{display:grid;padding:16px}
.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{color:var(--on-theme);background:var(--theme)}
.section{padding:74px 0}
.section.alt{background:var(--theme-soft)}
.section.white{background:var(--white)}
.section-head{max-width:820px;margin-bottom:34px}
.eyebrow,.hero-badge,.tag,.category-pill,.page-label{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}
.section-head h2,.content-copy h2,.page-content h2{color:var(--theme-dark);font-size:clamp(30px,3vw,44px);line-height:1.15;margin:15px 0}
.section-head p,.content-copy p,.page-content p{color:var(--text-muted)}
.hero-section{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%)}
.hero-inner{min-height:590px;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);align-items:center;gap:56px}
.hero-content h1{max-width:790px;font-size:clamp(42px,4.2vw,64px);line-height:1.08;letter-spacing:-.03em;margin:18px 0 22px;color:var(--theme-dark)}
.hero-content p{max-width:760px;font-size:18px;line-height:1.8;color:var(--text-main);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(--white);color:var(--theme-dark);border:1px solid var(--theme-border);font-weight:700}
.hero-visual,.media-box,.app-visual,.card-media,.page-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{display:block;max-width:70%;max-height:340px;width:auto;height:auto;object-fit:contain;opacity:1}
.info-section{padding:32px 0 48px;background:var(--white)}
.info-grid,.feature-grid,.category-grid,.topic-grid,.feedback-grid,.faq-grid,.service-grid,.content-wall,.related-grid{display:grid;gap:22px}
.info-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.feature-grid,.service-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.topic-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.feedback-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.faq-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.related-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.info-card,.category-card,.feature-card,.topic-card,.feedback-card,.faq-item,.notice,.visual-card,.service-card,.wall-card,.related-card,.page-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:28px}
.info-card::before,.category-card::before,.feature-card::before,.topic-card::before,.service-card::before,.wall-card::before,.page-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);font-weight:900;font-size:14px}
.info-card h2,.category-card h3,.feature-card h3,.topic-card h3,.feedback-card h3,.faq-item h3,.service-card h3,.wall-card h3,.related-card h3,.page-card h3{color:var(--theme-dark);margin:11px 0;line-height:1.3}
.info-card p,.category-card p,.feature-card p,.topic-card p,.feedback-card p,.faq-item p,.service-card p,.wall-card p,.related-card p,.page-card p{color:var(--text-muted);margin:0}
.text-link{display:inline-flex;align-items:center;gap:8px;margin-top:18px;color:var(--theme-dark);font-weight:800;text-decoration:none}
.text-link::after{content:"→"}
.category-section{padding:30px 0 50px;background:var(--white)}
.category-pills{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}
.category-pills a{display:inline-flex;align-items:center;justify-content:center;padding:11px 18px;border-radius:999px;background:var(--white);color:var(--theme-dark);border:1px solid var(--theme-border);text-decoration:none;font-weight:800;transition:background .2s ease,color .2s ease,transform .2s ease}
.category-pills a:hover{background:linear-gradient(180deg,var(--theme-accent),var(--theme));color:var(--on-theme);transform:translateY(-2px)}
.split-grid,.app-grid,.support-grid,.page-hero-inner,.guide-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.85fr);gap:52px;align-items:center}
.split-grid.reverse .media-box{order:-1}
.media-panel,.page-visual-card{min-height:360px;padding:34px;border-radius:30px;background:linear-gradient(180deg,var(--white) 0%,var(--theme-soft) 100%);border:1px solid var(--theme-border);box-shadow:var(--shadow-soft)}
.media-panel img,.page-visual-card img,.app-visual img,.card-media img,.media-box img{display:block;max-width:100%;max-height:340px;width:auto;height:auto;object-fit:contain}
.check-list,.topic-list,.footer section,.related-list{display:grid;gap:12px}
.check-list{list-style:none;padding:0;margin:24px 0 0}
.check-list li{position:relative;padding-left:30px;color:var(--text-main)}
.check-list li::before{content:"✓";position:absolute;left:0;top:1px;width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:var(--theme);color:var(--on-theme);font-weight:900}
.app-panel{border-radius:32px;padding:42px;background:linear-gradient(135deg,var(--theme-deep) 0%,var(--header-bg) 100%);color:var(--on-dark);box-shadow:var(--shadow-soft)}
.app-panel h2,.app-panel h3,.app-panel p,.app-panel li,.app-panel a{color:var(--on-dark)}
.app-panel .eyebrow{color:var(--on-theme);background:var(--theme)}
.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:20px;margin-bottom:8px}
.page-hero{padding:62px 0;background:radial-gradient(circle at 85% 18%,var(--theme-soft) 0%,transparent 34%),linear-gradient(180deg,var(--theme-light) 0%,var(--white) 100%)}
.page-hero-inner{min-height:480px}
.page-hero h1{color:var(--theme-dark);font-size:clamp(40px,4vw,62px);line-height:1.08;letter-spacing:-.025em;margin:18px 0 22px}
.page-hero p{font-size:18px;color:var(--text-main)}
.page-visual-card{display:flex;align-items:center;justify-content:center;overflow:visible}
.page-content{background:var(--white)}
.prose{max-width:900px}
.prose p{font-size:17px;line-height:1.85}
.topic-card ul,.page-card ul{padding-left:20px;color:var(--text-muted)}
.topic-card li,.page-card li{margin-bottom:8px}
.faq-item{padding:0;overflow:hidden}
.faq-item h3{margin:0;padding:22px 24px 12px;border-top:4px solid var(--theme)}
.faq-item p{padding:0 24px 24px}
.feedback-card{background:linear-gradient(180deg,var(--white),var(--theme-soft))}
.feedback-card::before{content:"“";display:block;color:var(--theme);font-size:54px;line-height:.8;font-weight:900}
.related-card{text-decoration:none;transition:transform .2s ease,border-color .2s ease}
.related-card:hover{transform:translateY(-3px);border-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.45fr repeat(3,1fr);gap:42px}
.footer h2{color:var(--theme-accent);font-size:18px;margin:0 0 12px}
.footer p,.footer a{color:var(--on-dark)}
.footer a{text-decoration:none}
.footer a:hover{color:var(--theme-accent)}
.footer-logo{justify-content:flex-start}
.footer-logo img{max-width:180px;max-height:68px;width:auto;height:auto;object-fit:contain}
.footer-brand p{max-width:420px}
.footer-notice{margin-top:36px;padding-top:24px;border-top:1px solid rgba(255,255,255,.16)}
.footer-notice strong{color:var(--theme-accent)}
@media (min-width:1440px){.container,.section-inner,.header-inner,.footer-inner,.hero-inner,.page-hero-inner{width:min(1360px,calc(100% - 120px))}.hero-inner{gap:80px}.hero-media-box{max-width:560px;min-height:380px}}
@media (max-width:1180px){.main-nav{gap:12px}.main-nav a{font-size:13px}.category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@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{justify-self:end}.header-actions .main-btn{padding:10px 16px}
.hero-section{padding:48px 0 36px}.hero-inner,.page-hero-inner,.split-grid,.app-grid,.support-grid,.guide-grid{min-height:auto;grid-template-columns:1fr;gap:32px}
.hero-content h1,.page-hero h1{font-size:clamp(36px,8vw,52px)}
.hero-media-box,.page-visual-card{max-width:100%;min-height:300px;padding:24px}.hero-media-box img{max-height:280px}
.info-grid,.feature-grid,.topic-grid,.feedback-grid,.service-grid,.related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:767px){
.container,.section-inner,.header-inner,.footer-inner,.hero-inner,.page-hero-inner{width:min(100% - 32px,1280px)}.section{padding:54px 0}
.info-grid,.feature-grid,.category-grid,.topic-grid,.feedback-grid,.faq-grid,.service-grid,.related-grid,.footer-grid{grid-template-columns:1fr}
.hero-inner{gap:28px}.hero-content p,.page-hero p{font-size:16px}.hero-media-box,.page-visual-card,.media-panel{min-height:250px;padding:22px;border-radius:24px}.app-panel{padding:28px 22px}.category-pills{justify-content:flex-start}
}
@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}}
