:root {
    --theme: #f8a300;
    --theme-dark: #b87300;
    --theme-deep: #4d3100;
    --theme-light: #fff8e8;
    --theme-soft: #ffedc2;
    --theme-accent: #ffc04a;
    --theme-hover: #d98f00;
    --theme-border: rgba(248, 163, 0, .25);
    --header-bg: #5a3900;
    --header-bg-2: #815400;
    --text-main: #3c2d13;
    --text-muted: #756443;
    --on-theme: #2f1e00;
    --on-header: #ffffff;
    --on-dark: #fffaf0;
    --white: #ffffff;
    --shadow-soft: 0 18px 44px rgba(111, 71, 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.7; }
a { color: var(--theme-dark); }
img { max-width: 100%; }
button, input, textarea { font: inherit; }
.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,.16); 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 { background: rgba(255,255,255,.96); border: 1px solid rgba(255,255,255,.6); border-radius: 16px; padding: 6px 12px; box-shadow: 0 8px 22px rgba(90,57,0,.20); }
.site-logo img { display: block; width: auto; height: auto; max-width: 190px; max-height: 62px; 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: 26px 0 22px; border-bottom: 3px solid transparent; }
.main-nav a.active, .main-nav a:hover { color: var(--white); border-bottom-color: var(--theme-accent); }
.header-actions { display: flex; align-items: center; justify-content: flex-end; }
.main-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 21px; border: 1px solid rgba(255,255,255,.38); 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,.18); text-decoration: none; white-space: nowrap; font-weight: 800; letter-spacing: .02em; 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; border: 0; background: rgba(255,255,255,.14); color: var(--on-header); border-radius: 12px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; cursor: pointer; }
.mobile-menu-toggle span { width: 22px; height: 2px; background: currentColor; 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(--theme-deep) 100%); color: var(--on-header); box-shadow: 20px 0 50px rgba(0,0,0,.24); padding: 20px; 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(70,45,0,.58); 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: 12px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.18); }
.drawer-logo { background: var(--white); border-radius: 14px; padding: 7px 10px; }
.drawer-logo img { max-width: 150px; max-height: 54px; width: auto; height: auto; object-fit: contain; }
.drawer-close { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.28); border-radius: 12px; color: var(--on-header); background: rgba(255,255,255,.12); font-size: 30px; line-height: 1; cursor: pointer; }
.drawer-nav { display: grid; gap: 8px; padding: 18px 0; }
.drawer-nav a { color: var(--on-header); text-decoration: none; padding: 12px 14px; border-radius: 12px; border: 1px solid transparent; }
.drawer-nav a:hover, .drawer-nav a.active { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); }
.section { padding: 72px 0; }
.section-soft { background: linear-gradient(180deg, var(--theme-soft) 0%, var(--theme-light) 100%); }
.section-white { background: var(--white); }
.section-heading { max-width: 820px; margin-bottom: 32px; }
.eyebrow, .hero-badge, .page-badge, .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: 14px; }
.section-heading h2, .content-block h2, .faq-section h2, .feedback-section h2, .related-section h2 { color: var(--theme-dark); font-size: clamp(30px, 3vw, 44px); line-height: 1.16; margin: 14px 0; }
.section-heading p, .content-block p { color: var(--text-muted); font-size: 17px; }
.hero-section { padding: 62px 0 46px; background: radial-gradient(circle at 14% 16%, 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); max-width: 820px; }
.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; box-shadow: 0 8px 18px rgba(111,71,0,.10); }
.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; 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: 68%; max-height: 340px; width: auto; height: auto; object-fit: contain; opacity: 1; }
.info-section { padding: 30px 0 46px; background: var(--white); }
.info-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.info-card, .category-card, .feature-card, .zone-card, .faq-item, .notice, .visual-card, .feedback-card, .topic-card, .step-card, .related-card { 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; position: relative; }
.info-card::before, .category-card::before, .feature-card::before, .topic-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: 18px; }
.info-card h2, .category-card h3, .feature-card h3, .zone-card h3, .topic-card h3, .step-card h3, .related-card h3 { color: var(--theme-dark); margin: 10px 0 12px; line-height: 1.3; }
.info-card p, .category-card p, .feature-card p, .zone-card p, .topic-card p, .step-card p, .related-card p { color: var(--text-muted); margin: 0; }
.category-section { padding: 32px 0 60px; background: var(--white); }
.category-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.category-pills a { text-decoration: none; background: var(--white); color: var(--theme-dark); border: 1px solid var(--theme-border); border-radius: 999px; padding: 11px 18px; font-weight: 800; transition: all .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; }
.text-link { display: inline-flex; margin-top: auto; padding-top: 18px; color: var(--theme-dark); font-weight: 800; text-decoration: none; }
.text-link:hover { color: var(--theme-hover); }
.three-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.two-column { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr); gap: 46px; align-items: center; }
.two-column.reverse .media-column { order: -1; }
.media-box, .app-visual, .card-media { display: flex; align-items: center; justify-content: center; overflow: visible; background: linear-gradient(180deg, var(--white), var(--theme-soft)); border: 1px solid var(--theme-border); box-shadow: var(--shadow-soft); border-radius: 28px; padding: 28px; min-height: 330px; }
.media-box img, .app-visual img, .card-media img { max-width: 100%; max-height: 320px; width: auto; height: auto; object-fit: contain; }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 28px; color: var(--text-main); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--theme); font-weight: 900; }
.feedback-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.feedback-card { border-left: 5px solid var(--theme); }
.feedback-card p { margin: 0; color: var(--text-main); font-style: italic; }
.feedback-card strong { display: block; margin-top: 14px; color: var(--theme-dark); }
.faq-list { display: grid; gap: 16px; }
.faq-item { padding: 0; overflow: visible; }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 58px 22px 24px; color: var(--theme-dark); font-weight: 800; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 24px; top: 16px; width: 34px; height: 34px; border-radius: 50%; background: var(--theme-soft); color: var(--theme-dark); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding: 0 24px 24px; color: var(--text-muted); }
.notice { background: linear-gradient(135deg, var(--theme-soft), var(--white)); border-left: 6px solid var(--theme); }
.notice h2, .notice h3 { color: var(--theme-dark); margin-top: 0; }
.page-hero { padding: 58px 0; background: radial-gradient(circle at 85% 15%, var(--theme-soft) 0%, transparent 35%), linear-gradient(180deg, var(--theme-light), var(--white)); }
.page-hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr); gap: 50px; align-items: center; }
.page-hero h1 { color: var(--theme-dark); font-size: clamp(40px, 4vw, 60px); line-height: 1.1; margin: 16px 0 20px; }
.page-hero p { font-size: 18px; color: var(--text-main); margin: 0; }
.page-visual { min-height: 340px; display: flex; align-items: center; justify-content: center; border-radius: 30px; background: linear-gradient(180deg, var(--white), var(--theme-soft)); border: 1px solid var(--theme-border); box-shadow: var(--shadow-soft); padding: 30px; overflow: visible; }
.page-visual img { max-width: 100%; max-height: 300px; width: auto; height: auto; object-fit: contain; }
.semantic-panel { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.semantic-panel div { border: 1px solid var(--theme-border); border-radius: 18px; background: var(--white); padding: 18px; color: var(--theme-dark); font-weight: 800; text-align: center; }
.content-stack { display: grid; gap: 34px; }
.content-block { max-width: 1000px; }
.topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.step-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.step-card .step-number { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--theme-soft); color: var(--theme-dark); font-weight: 900; border: 1px solid var(--theme-border); }
.related-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.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: 64px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.footer h2 { color: var(--white); font-size: 18px; margin: 0 0 16px; }
.footer a { color: var(--on-dark); text-decoration: none; display: block; margin: 9px 0; }
.footer a:hover { color: var(--theme-accent); }
.footer-brand p { color: rgba(255,255,255,.78); }
.footer-logo { background: var(--white); border-radius: 16px; padding: 8px 12px; margin-bottom: 18px; }
.footer-logo img { max-width: 170px; max-height: 64px; width: auto; height: auto; object-fit: contain; }
.footer-notice { margin-top: 42px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.78); }
.footer-notice strong { color: var(--white); }
.footer-notice p { margin: 10px 0; }
@media (min-width: 1440px) {
    .container, .section-inner, .header-inner, .footer-inner, .hero-inner, .page-hero-inner { width: min(1360px, calc(100% - 120px)); }
    .hero-inner { grid-template-columns: minmax(0, 1.05fr) minmax(480px, .95fr); gap: 80px; }
    .hero-media-box { max-width: 560px; min-height: 360px; }
}
@media (max-width: 1180px) {
    .main-nav { gap: 12px; }
    .main-nav a { font-size: 13px; }
    .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
    .header-inner { width: min(100% - 28px, 1280px); min-height: 68px; display: grid; 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; padding: 5px 9px; }
    .site-logo img { max-width: min(150px, 42vw); max-height: 50px; }
    .header-actions { justify-self: end; }
    .header-actions .main-btn { padding: 10px 16px; }
    .hero-section { padding: 48px 0 36px; }
    .hero-inner, .page-hero-inner, .two-column { grid-template-columns: 1fr; gap: 32px; }
    .hero-inner { min-height: auto; }
    .hero-content h1 { font-size: clamp(36px, 8vw, 52px); }
    .hero-media-box, .page-visual { max-width: 100%; min-height: 280px; padding: 24px; }
    .hero-media-box img, .page-visual img { max-height: 280px; }
    .info-grid, .three-grid, .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .step-grid, .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .two-column.reverse .media-column { 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, .page-hero-inner { width: min(100% - 32px, 1280px); }
    .section { padding: 54px 0; }
    .info-grid, .category-grid, .three-grid, .topic-grid, .feedback-grid, .footer-grid { grid-template-columns: 1fr; }
    .step-grid, .related-grid { grid-template-columns: 1fr; }
    .semantic-panel { grid-template-columns: 1fr; }
    .hero-content h1, .page-hero h1 { font-size: clamp(34px, 10vw, 46px); }
    .hero-content p, .page-hero p { font-size: 17px; }
    .hero-media-box { min-height: 240px; }
    .hero-media-box img { max-width: 78%; max-height: 220px; }
    .page-visual { min-height: 240px; }
    .category-pills { justify-content: flex-start; }
    .category-pills a { flex: 1 1 calc(50% - 12px); text-align: center; }
    .footer { padding-top: 50px; }
}
@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(116px, 34vw); max-height: 44px; }
    .header-actions .main-btn { padding: 8px 11px; font-size: 12px; }
    .category-pills a { flex-basis: 100%; }
}
@media (min-width: 1024px) and (max-width: 1180px) {
    .header-inner { gap: 12px; }
    .site-logo { padding: 5px 8px; }
    .site-logo img { max-width: 132px; max-height: 50px; }
    .main-nav { gap: 7px; }
    .main-nav a { font-size: 11px; letter-spacing: -.01em; }
    .header-actions .main-btn { padding: 9px 13px; font-size: 12px; }
}
