:root {
    --brand: rgb(255, 80, 0);
    --brand-dark: #E85A00;
    --brand-soft: #FFF3EC;
    --page-bg: #F6F6F6;
    --card-bg: #FFFFFF;
    --text: #222222;
    --muted: #555555;
    --light-muted: #777777;
    --footer-bg: #1F1F1F;
    --footer-text: #D8D8D8;
    --hero-dark: #070707;
    --radius: 18px;
    --shadow: 0 12px 28px rgba(20, 20, 20, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    color: var(--text);
    background: var(--page-bg);
    line-height: 1.75;
    overflow-x: hidden;
}
body.drawer-open { overflow: 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, .96);
    border-bottom: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 8px 20px rgba(0,0,0,.06);
    backdrop-filter: blur(10px);
}
.mobile-topbar {
    height: 62px;
    display: grid;
    grid-template-columns: 56px 1fr auto;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
}
.menu-button {
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    padding: 10px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}
.menu-button span {
    width: 24px;
    height: 2px;
    background: #222;
    border-radius: 999px;
    display: block;
}
.mobile-logo { justify-self: center; display: inline-flex; align-items: center; }
.mobile-logo img, .site-logo img, .drawer-logo img { width: 126px; max-height: 42px; object-fit: contain; }
.desktop-header { display: none; }
.main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--brand);
    border-radius: 999px;
    padding: 12px 24px;
    font-weight: 700;
    line-height: 1.2;
    box-shadow: 0 10px 22px rgba(255,80,0,.26);
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.main-btn:hover { background: var(--brand-dark); transform: translateY(-1px); box-shadow: 0 12px 26px rgba(255,80,0,.32); }
.header-btn { white-space: nowrap; }
.mobile-register { font-size: 13px; padding: 9px 12px; min-width: 78px; box-shadow: none; }
.desktop-nav { display: flex; align-items: center; gap: 18px; }
.desktop-nav a {
    font-size: 15px;
    color: #333;
    font-weight: 600;
    padding: 8px 0;
    position: relative;
    white-space: nowrap;
}
.desktop-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--brand);
    transform: scaleX(0);
    transition: transform .2s ease;
}
.desktop-nav a:hover, .desktop-nav a.active { color: var(--brand); }
.desktop-nav a.active::after, .desktop-nav a:hover::after { transform: scaleX(1); }
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.48);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
    z-index: 1100;
}
.drawer-overlay.is-visible { opacity: 1; visibility: visible; }
.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 84vw;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    z-index: 1200;
    transform: translateX(-102%);
    transition: transform .28s ease;
    box-shadow: 18px 0 40px rgba(0,0,0,.2);
    overflow-y: auto;
}
.mobile-drawer.is-open { transform: translateX(0); }
.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 18px 12px;
    border-bottom: 1px solid #eee;
}
.drawer-close {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}
.drawer-nav { display: grid; padding: 14px 18px 26px; gap: 6px; }
.drawer-nav a {
    padding: 13px 12px;
    border-radius: 12px;
    color: #333;
    font-weight: 700;
}
.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: 38px 0 48px;
    color: #fff;
}
.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; position: relative; z-index: 2; }
.hero-image img {
    width: 100%;
    max-height: 320px;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,.38));
    margin: 0 auto;
}
.hero-content { order: 2; position: relative; z-index: 2; text-align: center; }
.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    color: #fff;
    background: rgba(255,80,0,.22);
    border: 1px solid rgba(255,80,0,.42);
    font-weight: 700;
    margin-bottom: 10px;
}
.hero-title {
    color: rgb(255, 80, 0);
    margin: 0 0 12px;
    font-size: clamp(34px, 8vw, 58px);
    line-height: 1.12;
    letter-spacing: -1px;
}
.hero-desc {
    color: #ffffff;
    margin: 0 auto 22px;
    max-width: 650px;
    font-size: 16px;
}
.hero-note {
    margin-top: 16px;
    color: #E8E8E8;
    font-size: 14px;
}
.section { padding: 54px 0; }
.section-white { background: #fff; }
.section-soft { background: var(--brand-soft); }
.section-gray { background: var(--page-bg); }
.section-head { margin-bottom: 26px; max-width: 760px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-eyebrow {
    color: var(--brand);
    font-weight: 800;
    letter-spacing: .08em;
    font-size: 13px;
    margin-bottom: 6px;
}
h1, h2, h3 { line-height: 1.35; }
h1, h2 { margin: 0 0 10px; }
h2 { font-size: clamp(26px, 4vw, 38px); }
h3 { margin: 0 0 8px; font-size: 20px; }
p { margin: 0 0 12px; }
.muted { color: var(--muted); }
.text-link {
    color: var(--brand);
    font-weight: 800;
    border-bottom: 1px solid rgba(255,80,0,.35);
}
.text-link:hover { color: var(--brand-dark); border-color: var(--brand-dark); }
.quick-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.quick-card {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255,80,0,.10);
}
.quick-card strong { display: block; color: var(--brand); font-size: 17px; margin-bottom: 5px; }
.quick-card span { display: block; color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.feature-grid, .category-grid, .service-grid, .faq-grid, .detail-grid, .notice-grid, .contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.feature-card, .category-card, .service-card, .faq-item, .detail-card, .notice-card, .contact-card, .content-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,.05);
}
.feature-card.large { display: grid; gap: 16px; }
.card-image, .feature-image, .visual-card, .app-visual {
    border-radius: 16px;
    background: linear-gradient(135deg, #fff7f2, #ffffff);
    border: 1px solid rgba(255,80,0,.10);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}
.card-image img, .feature-image img, .visual-card img, .app-visual img {
    width: 100%;
    max-height: 210px;
    object-fit: contain;
    object-position: center;
}
.category-card .card-image { min-height: 145px; }
.feature-image { min-height: 180px; }
.feature-image img { max-height: 240px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.tag {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 5px 10px;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 13px;
    font-weight: 800;
}
.app-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: center;
}
.app-panel {
    background: #fff;
    border-radius: 22px;
    padding: 24px;
    box-shadow: var(--shadow);
}
.app-visual { background: #111; border-color: rgba(255,80,0,.26); }
.app-visual img { max-height: 360px; }
.mini-list { display: grid; gap: 12px; margin-top: 18px; }
.mini-list div, .info-point {
    padding: 14px 16px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(255,80,0,.12);
}
.mini-list strong, .info-point strong { color: var(--brand); display: block; margin-bottom: 4px; }
.notice-box {
    background: #2B2B2B;
    color: #F4F4F4;
    border-radius: 22px;
    padding: 26px;
    box-shadow: var(--shadow);
}
.notice-box h2, .notice-box h3 { color: var(--brand); }
.notice-box p, .notice-box li { color: #E8E8E8; }
.notice-box ul, .content-card ul, .detail-card ul { margin: 12px 0 0; padding-left: 20px; }
.faq-item h3 { color: #222; }
.faq-item p { color: var(--muted); }
.sub-hero {
    background: linear-gradient(135deg, #111 0%, #252525 58%, #3a1b0e 100%);
    color: #fff;
    padding: 48px 0;
}
.sub-hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: center;
}
.sub-hero h1 { color: var(--brand); font-size: clamp(32px, 6vw, 52px); margin-bottom: 14px; }
.sub-hero p { color: #E8E8E8; font-size: 16px; }
.sub-hero .visual-card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.breadcrumb { color: #ffc4a7; font-weight: 700; margin-bottom: 8px; }
.info-layout { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: start; }
.link-row { display: flex; flex-wrap: wrap; gap: 12px 18px; margin-top: 16px; }
.step-list { counter-reset: steps; display: grid; gap: 14px; margin: 20px 0 0; }
.step-item {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 18px 18px 18px 56px;
    box-shadow: var(--shadow);
}
.step-item::before {
    counter-increment: steps;
    content: counter(steps);
    position: absolute;
    left: 18px;
    top: 18px;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--brand);
    font-weight: 900;
}
.table-card { overflow-x: auto; }
.info-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; }
.info-table th, .info-table td { padding: 14px 16px; border-bottom: 1px solid #eee; text-align: left; vertical-align: top; }
.info-table th { background: var(--brand-soft); color: var(--brand); }
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding: 46px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 26px; }
.footer-logo { width: 132px; max-height: 44px; object-fit: contain; margin-bottom: 14px; }
.footer-brand p { color: var(--footer-text); max-width: 460px; }
.footer-links { display: grid; gap: 8px; align-content: start; }
.footer-links h3 { color: #fff; font-size: 18px; margin-bottom: 4px; }
.footer-links a { color: var(--footer-text); }
.footer-links a:hover { color: var(--brand); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 18px; color: #bdbdbd; font-size: 14px; }
.footer-bottom p { margin-bottom: 4px; }
@media (min-width: 640px) {
    .quick-grid { grid-template-columns: repeat(3, 1fr); }
    .feature-grid, .category-grid, .service-grid, .faq-grid, .detail-grid, .notice-grid, .contact-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1.6fr repeat(3, 1fr); }
}
@media (min-width: 768px) {
    .hero-section { padding: 48px 0 58px; }
    .hero-inner {
      grid-template-columns: 1fr 1fr;
      text-align: left;
      gap: 40px;
    }
    .hero-image { order: 1; }
    .hero-content { order: 2; text-align: left; }
    .hero-desc { margin-left: 0; }
    .hero-image img { max-height: 520px; }
    .sub-hero-inner { grid-template-columns: 1.15fr .85fr; }
    .app-section { grid-template-columns: .88fr 1.12fr; }
    .info-layout { grid-template-columns: .75fr 1.25fr; }
    .feature-card.large { grid-column: span 2; grid-template-columns: .95fr 1.05fr; align-items: center; }
}
@media (min-width: 980px) {
    .mobile-topbar { display: none; }
    .desktop-header { height: 76px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
    .quick-grid { grid-template-columns: repeat(5, 1fr); }
    .category-grid { grid-template-columns: repeat(3, 1fr); }
    .service-grid, .detail-grid { grid-template-columns: repeat(3, 1fr); }
    .notice-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 420px) {
    .container, .hero-inner { width: min(100% - 24px, 1200px); }
    .mobile-topbar { grid-template-columns: 48px 1fr auto; padding: 0 8px; }
    .mobile-logo img { width: 108px; }
    .mobile-register { padding: 8px 10px; font-size: 13px; min-width: 72px; }
    .section { padding: 46px 0; }
    .hero-title { font-size: 32px; }
    .card-image img, .feature-image img { max-height: 180px; }
}
