* {
    box-sizing: border-box;
}

:root {
    --brand: rgb(255, 80, 0);
    --brand-dark: #E85A00;
    --brand-soft: #FFF3EC;
    --page-bg: #F6F6F6;
    --text: #222222;
    --muted: #555555;
    --soft-text: #777777;
    --dark: #111111;
    --footer: #1F1F1F;
    --footer-text: #D8D8D8;
    --line: #ECECEC;
    --shadow: 0 14px 36px rgba(20, 20, 20, 0.08);
    --radius: 18px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--page-bg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(12px);
}

.desktop-header {
    display: none;
}

.mobile-header {
    height: 62px;
    display: grid;
    grid-template-columns: 56px 1fr auto;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
}

.menu-toggle {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: #FFFFFF;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 21px;
    height: 2px;
    background: #222222;
    border-radius: 999px;
}

.logo img,
.mobile-logo img,
.drawer-logo img,
.footer-brand img {
    object-fit: contain;
}

.mobile-logo {
    justify-self: center;
    max-width: 118px;
}

.mobile-logo img {
    max-height: 42px;
}

.main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand);
    color: #FFFFFF;
    border-radius: 999px;
    padding: 12px 22px;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 24px rgba(255, 80, 0, 0.24);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.main-btn:hover {
    background: var(--brand-dark);
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(232, 90, 0, 0.28);
}

.header-btn {
    padding: 8px 14px;
    font-size: 13px;
    white-space: nowrap;
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1002;
    width: min(84vw, 320px);
    height: 100vh;
    background: #FFFFFF;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: 22px 0 40px rgba(0, 0, 0, 0.18);
    padding: 18px;
    overflow-y: auto;
}

.drawer-open {
    overflow: hidden;
}

.drawer-open .drawer-overlay {
    opacity: 1;
    pointer-events: auto;
}

.drawer-open .mobile-drawer {
    transform: translateX(0);
}

.drawer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.drawer-logo img {
    max-height: 42px;
    max-width: 132px;
}

.drawer-close {
    border: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
    color: var(--brand);
    background: var(--brand-soft);
    cursor: pointer;
}

.drawer-nav {
    display: grid;
    gap: 10px;
    padding: 18px 0;
}

.drawer-nav a {
    padding: 13px 14px;
    border-radius: 14px;
    color: #262626;
    background: #FAFAFA;
    font-weight: 650;
}

.drawer-nav a.active,
.drawer-nav a:hover {
    color: var(--brand);
    background: var(--brand-soft);
}

.hero-section {
    background:
      linear-gradient(90deg, rgba(0,0,0,.78), rgba(0,0,0,.58)),
      url('banner.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 34px 0 46px;
    color: #FFFFFF;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: min(1200px, calc(100% - 32px));
}

.hero-image {
    order: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    max-height: 320px;
    object-fit: contain;
    filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.45));
}

.hero-content {
    order: 2;
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-kicker,
.kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand);
    background: rgba(255, 80, 0, 0.1);
    border: 1px solid rgba(255, 80, 0, 0.18);
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 13px;
    font-weight: 700;
}

.hero-title {
    margin: 12px 0 12px;
    color: var(--brand);
    font-size: clamp(34px, 7vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.hero-desc {
    color: #FFFFFF;
    font-size: 16px;
    margin: 0 auto 22px;
    max-width: 680px;
}

.hero-notes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.hero-notes span,
.tag {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 13px;
}

.section {
    padding: 56px 0;
}

.section-white {
    background: #FFFFFF;
}

.section-soft {
    background: var(--page-bg);
}

.section-orange {
    background: var(--brand-soft);
}

.section-dark {
    background: #111111;
    color: #FFFFFF;
}

.section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 28px;
}

.section-head.left {
    text-align: left;
    margin-left: 0;
}

.section-head h1,
.section-head h2,
.page-hero h1 {
    margin: 8px 0 10px;
    font-size: clamp(28px, 5vw, 42px);
    line-height: 1.22;
    color: #222222;
}

.section-head p,
.page-hero p {
    color: var(--muted);
    margin: 0;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.quick-card {
    background: #FFFFFF;
    border-radius: var(--radius);
    padding: 16px;
    border: 1px solid rgba(255, 80, 0, 0.12);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.quick-card strong {
    display: block;
    color: #222222;
    margin-bottom: 5px;
}

.quick-card p {
    color: var(--muted);
    margin: 0 0 8px;
    font-size: 14px;
}

.text-link {
    color: var(--brand);
    font-weight: 750;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.text-link::after {
    content: '›';
    font-size: 18px;
    line-height: 1;
}

.feature-grid,
.category-grid,
.service-grid,
.info-grid,
.notice-grid,
.faq-grid {
    display: grid;
    gap: 20px;
}

.feature-grid {
    grid-template-columns: 1fr;
}

.category-grid,
.service-grid,
.info-grid,
.notice-grid,
.faq-grid {
    grid-template-columns: 1fr;
}

.feature-card,
.category-card,
.service-card,
.info-card,
.notice-card,
.faq-item,
.step-card,
.contact-card {
    background: #FFFFFF;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.feature-card.large {
    display: grid;
}

.card-media {
    background: linear-gradient(135deg, #FFF7F2, #FFFFFF);
    min-height: 132px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.card-media img {
    width: 100%;
    max-height: 180px;
    object-fit: contain;
    object-position: center;
}

.feature-card.large .card-media img {
    max-height: 220px;
}

.card-body,
.service-card,
.info-card,
.notice-card,
.faq-item,
.step-card,
.contact-card {
    padding: 20px;
}

.card-body h3,
.service-card h3,
.info-card h3,
.notice-card h3,
.faq-item h3,
.step-card h3,
.contact-card h3 {
    margin: 0 0 9px;
    color: #202020;
    font-size: 20px;
}

.card-body p,
.service-card p,
.info-card p,
.notice-card p,
.faq-item p,
.step-card p,
.contact-card p {
    margin: 0 0 12px;
    color: var(--muted);
}

.label-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}

.label-row span {
    color: var(--brand);
    background: var(--brand-soft);
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 13px;
    font-weight: 700;
}

.app-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: center;
    background: #FFFFFF;
    border-radius: 24px;
    padding: 20px;
    box-shadow: var(--shadow);
}

.app-visual {
    background: linear-gradient(145deg, #111111, #2A1A12);
    border-radius: 20px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-visual img {
    max-height: 330px;
    width: 100%;
    object-fit: contain;
}

.app-content h2 {
    margin: 0 0 12px;
    font-size: clamp(26px, 4vw, 40px);
}

.app-content p {
    color: var(--muted);
    margin: 0 0 14px;
}

.page-hero {
    background: linear-gradient(135deg, #111111, #2D170B 54%, #111111);
    color: #FFFFFF;
    padding: 54px 0;
}

.page-hero h1,
.page-hero .kicker {
    color: var(--brand);
}

.page-hero p {
    color: #ECECEC;
    max-width: 820px;
}

.page-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.prose-card {
    background: #FFFFFF;
    border-radius: 22px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.prose-card h2,
.prose-card h3 {
    color: #222222;
    margin: 22px 0 10px;
}

.prose-card h2:first-child,
.prose-card h3:first-child {
    margin-top: 0;
}

.prose-card p,
.prose-card li {
    color: var(--muted);
}

.prose-card ul,
.prose-card ol {
    padding-left: 22px;
}

.split-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: center;
}

.visual-card {
    background: #FFFFFF;
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 16px;
}

.visual-card img {
    width: 100%;
    max-height: 380px;
    object-fit: contain;
}

.warning-box {
    background: #111111;
    color: #FFFFFF;
    border-radius: 22px;
    padding: 24px;
    border-left: 6px solid var(--brand);
}

.warning-box h2,
.warning-box h3 {
    color: var(--brand);
    margin-top: 0;
}

.warning-box p,
.warning-box li {
    color: #E8E8E8;
}

.timeline {
    display: grid;
    gap: 14px;
    counter-reset: step;
}

.step-card {
    position: relative;
    padding-left: 62px;
}

.step-card::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 20px;
    top: 22px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--brand);
    color: #FFFFFF;
    font-weight: 800;
}

.site-footer {
    background: var(--footer);
    color: var(--footer-text);
    padding: 46px 0 24px;
}

.footer-grid {
    display: grid;
    gap: 28px;
}

.footer-brand img {
    max-height: 48px;
    max-width: 150px;
    margin-bottom: 14px;
}

.footer-brand p,
.footer-bottom p {
    color: var(--footer-text);
    margin: 0;
}

.footer-links {
    display: grid;
    gap: 8px;
}

.footer-links h3 {
    color: #FFFFFF;
    margin: 0 0 4px;
    font-size: 17px;
}

.footer-links a {
    color: var(--footer-text);
}

.footer-links a:hover {
    color: var(--brand);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 28px;
    padding-top: 18px;
    font-size: 13px;
}

@media (min-width: 700px) {
    .quick-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .category-grid,
    .service-grid,
    .info-grid,
    .notice-grid,
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .feature-card.large {
        grid-template-columns: 1.05fr 1fr;
    }
}

@media (min-width: 900px) {
    .mobile-header {
        display: none;
    }
    .desktop-header {
        height: 78px;
        display: grid;
        grid-template-columns: 160px 1fr auto;
        align-items: center;
        gap: 20px;
    }
    .logo img {
        max-height: 54px;
        max-width: 150px;
    }
    .desktop-nav {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        min-width: 0;
    }
    .desktop-nav a {
        padding: 9px 10px;
        border-radius: 999px;
        font-weight: 700;
        color: #333333;
        font-size: 14px;
        white-space: nowrap;
    }
    .desktop-nav a.active,
    .desktop-nav a:hover {
        color: var(--brand);
        background: var(--brand-soft);
    }
    .header-btn {
        padding: 10px 20px;
        font-size: 15px;
    }
    .hero-section {
        padding: 42px 0 58px;
    }
    .hero-inner {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .hero-image {
        order: 1;
    }
    .hero-content {
        order: 2;
        text-align: left;
    }
    .hero-desc {
        margin-left: 0;
        margin-right: 0;
    }
    .hero-notes {
        justify-content: flex-start;
    }
    .hero-image img {
        max-height: 520px;
    }
    .quick-grid {
        grid-template-columns: repeat(9, 1fr);
    }
    .quick-card {
        padding: 15px 12px;
    }
    .feature-grid {
        grid-template-columns: 1.2fr 0.9fr 0.9fr;
    }
    .feature-card.large {
        grid-row: span 2;
        grid-template-columns: 1fr;
    }
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .service-grid,
    .info-grid,
    .notice-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .app-panel,
    .split-section,
    .page-layout {
        grid-template-columns: 0.95fr 1.05fr;
    }
    .footer-grid {
        grid-template-columns: 1.5fr repeat(3, 1fr);
    }
}

@media (min-width: 1100px) {
    .desktop-nav a {
        padding: 10px 13px;
        font-size: 15px;
    }
}

@media (max-width: 420px) {
    .mobile-header {
        grid-template-columns: 48px 1fr auto;
        gap: 4px;
        padding: 0 10px;
    }
    .header-btn {
        font-size: 13px;
        padding: 7px 11px;
    }
    .mobile-logo {
        max-width: 104px;
    }
    .quick-grid {
        gap: 10px;
    }
    .quick-card {
        padding: 14px 12px;
    }
    .section {
        padding: 48px 0;
    }
    .card-body,
    .service-card,
    .info-card,
    .notice-card,
    .faq-item,
    .step-card,
    .contact-card,
    .prose-card {
        padding: 18px;
    }
}
