:root{
    --bg:#f6f2eb;
    --surface:#fffaf3;
    --surface-strong:#fff;
    --ink:#182230;
    --muted:#5f6775;
    --line:rgba(24,34,48,0.1);
    --primary:#c51f2c;
    --primary-dark:#7f1018;
    --secondary:#0f3a68;
    --accent:#e7b84a;
    --shadow:0 24px 70px rgba(17,30,45,0.12);
    --radius-xl:32px;
    --radius-lg:22px;
    --radius-md:16px;
    --container:min(1180px, calc(100% - 32px));
}

*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    font-family:"Zen Kaku Gothic New","Noto Sans JP","Hiragino Sans","Yu Gothic",sans-serif;
    color:var(--ink);
    background:
        radial-gradient(circle at top left, rgba(197,31,44,0.08), transparent 28%),
        radial-gradient(circle at top right, rgba(15,58,104,0.11), transparent 30%),
        linear-gradient(180deg, #fbf7f1 0%, #f6f2eb 55%, #f2ede4 100%);
    line-height:1.7;
    overflow-x:hidden;
}

img,
video{
    max-width:100%;
    display:block;
}

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

button,
input,
select,
textarea{
    font:inherit;
}

::selection{
    background:var(--secondary);
    color:#fff;
}

.site-shell{
    position:relative;
    min-height:100vh;
}

.site-header{
    position:sticky;
    top:0;
    z-index:9000;
    backdrop-filter:blur(16px);
    background:rgba(251,247,241,0.84);
    border-bottom:1px solid rgba(24,34,48,0.08);
    transition:background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled{
    background:rgba(255,250,243,0.96);
    box-shadow:0 8px 24px rgba(15,34,56,0.08);
}

.header-inner{
    width:var(--container);
    margin:0 auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    min-height:88px;
}

.brand{
    display:flex;
    align-items:center;
    gap:16px;
    min-width:0;
}

.brand-mark{
    width:108px;
    filter:drop-shadow(0 10px 18px rgba(17,30,45,0.08));
}

.brand-copy{
    display:flex;
    flex-direction:column;
    gap:4px;
}

.brand-copy strong{
    font-size:1rem;
    letter-spacing:0.08em;
}

.brand-copy span{
    font-size:0.78rem;
    letter-spacing:0.18em;
    text-transform:uppercase;
    color:var(--muted);
}

.site-nav{
    display:flex;
    align-items:center;
    gap:22px;
}

.site-nav a{
    position:relative;
    color:#223041;
    font-weight:700;
    font-size:0.95rem;
}

.site-nav a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-8px;
    width:100%;
    height:2px;
    background:linear-gradient(90deg, var(--primary), var(--secondary));
    transform:scaleX(0);
    transform-origin:left center;
    transition:transform 0.25s ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after{
    transform:scaleX(1);
}

.header-actions{
    display:flex;
    align-items:center;
    gap:12px;
}

.menu-toggle{
    display:none;
    width:50px;
    height:50px;
    padding:0;
    border:none;
    border-radius:14px;
    background:#fff;
    box-shadow:0 10px 24px rgba(17,30,45,0.1);
    cursor:pointer;
    position:relative;
    z-index:20020;
}

.menu-toggle span{
    display:block;
    width:22px;
    height:2px;
    margin:5px auto;
    background:#223041;
    transition:transform 0.25s ease, opacity 0.25s ease;
}

body.menu-open{
    overflow:hidden;
}

body.modal-open{
    overflow:hidden;
}

body.menu-open .menu-toggle span:nth-child(1){
    transform:translateY(7px) rotate(45deg);
}

body.menu-open .menu-toggle span:nth-child(2){
    opacity:0;
}

body.menu-open .menu-toggle span:nth-child(3){
    transform:translateY(-7px) rotate(-45deg);
}

.mobile-drawer{
    position:fixed;
    inset:88px 16px auto 16px;
    padding:20px;
    border-radius:24px;
    background:rgba(255,250,243,0.98);
    box-shadow:var(--shadow);
    border:1px solid rgba(24,34,48,0.08);
    display:grid;
    gap:16px;
    opacity:0;
    pointer-events:none;
    transform:translateY(-12px);
    transition:opacity 0.25s ease, transform 0.25s ease;
    z-index:20010;
}

body.menu-open .mobile-drawer{
    opacity:1;
    pointer-events:auto;
    transform:translateY(0);
}

.menu-backdrop{
    position:fixed;
    inset:0;
    background:rgba(18,35,52,0.22);
    opacity:0;
    pointer-events:none;
    transition:opacity 0.25s ease;
    z-index:20000;
}

body.menu-open .menu-backdrop{
    opacity:1;
    pointer-events:auto;
}

.mobile-drawer a{
    padding:10px 6px;
    font-weight:700;
    color:#223041;
    border-bottom:1px solid rgba(24,34,48,0.08);
}

.mobile-drawer a:last-child{
    border-bottom:none;
}

.mobile-drawer-external{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
}

.mobile-drawer-external span{
    font-size:1.05rem;
}

.page-main{
    padding-bottom:80px;
}

.section{
    width:var(--container);
    margin:0 auto;
    padding:78px 0;
}

.section + .section{
    padding-top:0;
}

.eyebrow{
    display:inline-flex;
    align-items:center;
    gap:10px;
    font-size:0.84rem;
    font-weight:800;
    letter-spacing:0.18em;
    text-transform:uppercase;
    color:var(--secondary);
}

.eyebrow::before{
    content:"";
    width:42px;
    height:2px;
    background:linear-gradient(90deg, var(--primary), rgba(197,31,44,0.12));
}

.section-heading{
    display:flex;
    justify-content:space-between;
    gap:24px;
    align-items:end;
    margin-bottom:28px;
}

.section-heading h2,
.section-heading h1{
    margin:10px 0 0;
    font-size:clamp(2rem, 3vw, 3.35rem);
    line-height:1.15;
    letter-spacing:-0.03em;
}

.section-heading p{
    margin:0;
    max-width:540px;
    color:var(--muted);
}

.button-row{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
}

.button,
.ghost-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    min-height:52px;
    padding:0 24px;
    border-radius:999px;
    font-weight:800;
    letter-spacing:0.02em;
    transition:transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.button{
    color:#fff;
    background:linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow:0 16px 32px rgba(197,31,44,0.22);
}

.button:hover,
.ghost-button:hover{
    transform:translateY(-2px);
}

.ghost-button{
    color:var(--secondary);
    background:rgba(15,58,104,0.08);
    border:1px solid rgba(15,58,104,0.14);
}

.button.is-loading{
    pointer-events:none;
    min-width:132px;
}

.button-loading-dots{
    display:inline-flex;
    align-items:center;
    gap:6px;
}

.button-loading-dots span{
    width:8px;
    height:8px;
    border-radius:999px;
    background:currentColor;
    opacity:0.28;
    animation:loadingDots 0.9s infinite ease-in-out;
}

.button-loading-dots span:nth-child(2){
    animation-delay:0.16s;
}

.button-loading-dots span:nth-child(3){
    animation-delay:0.32s;
}

@keyframes loadingDots{
    0%, 80%, 100%{
        opacity:0.28;
        transform:translateY(0);
    }
    40%{
        opacity:1;
        transform:translateY(-3px);
    }
}

.hero{
    width:var(--container);
    margin:28px auto 0;
    display:grid;
    grid-template-columns:minmax(0, 1.1fr) minmax(380px, 0.9fr);
    gap:32px;
    align-items:stretch;
}

.hero-copy,
.hero-visual,
.surface-card,
.news-card,
.detail-card,
.timeline-card,
.support-card,
.info-card,
.application-card,
.table-card,
.faq-card{
    border:1px solid rgba(24,34,48,0.08);
    background:rgba(255,250,243,0.9);
    box-shadow:var(--shadow);
}

.hero-copy{
    border-radius:38px;
    padding:46px;
    background:
        linear-gradient(145deg, rgba(255,250,243,0.96), rgba(255,255,255,0.78)),
        linear-gradient(90deg, rgba(197,31,44,0.05), rgba(15,58,104,0.06));
    position:relative;
    overflow:hidden;
}

.hero-copy::after{
    content:"";
    position:absolute;
    width:280px;
    height:280px;
    right:-90px;
    top:-90px;
    background:radial-gradient(circle, rgba(231,184,74,0.38) 0%, rgba(231,184,74,0) 68%);
    pointer-events:none;
}

.hero-copy h1{
    margin:18px 0 18px;
    font-size:clamp(2.8rem, 6vw, 5.4rem);
    line-height:0.96;
    letter-spacing:-0.06em;
}

.hero-copy p{
    margin:0 0 22px;
    font-size:1.05rem;
    color:var(--muted);
    max-width:40rem;
}

.hero-lead{
    font-size:1.15rem;
    color:#263447;
}

.hero-stats{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:12px;
    margin-top:28px;
}

.stat-card{
    padding:18px 18px 16px;
    border-radius:18px;
    background:#fff;
    border:1px solid rgba(24,34,48,0.08);
}

.stat-card strong{
    display:block;
    font-size:1.5rem;
    line-height:1;
    margin-bottom:6px;
    color:var(--secondary);
}

.stat-card span{
    display:block;
    font-size:0.88rem;
    color:var(--muted);
}

.hero-visual{
    position:relative;
    border-radius:38px;
    overflow:hidden;
    min-height:560px;
    background:#1a2530;
}

.slider{
    position:absolute;
    inset:0;
}

.slider .slide{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    opacity:0;
    transition:opacity 0.9s ease;
}

.slider .slide.is-active{
    opacity:1;
}

.hero-overlay{
    position:absolute;
    inset:auto 24px 24px 24px;
    padding:22px;
    border-radius:24px;
    background:linear-gradient(180deg, rgba(14,24,34,0.18), rgba(14,24,34,0.76));
    color:#fff;
    backdrop-filter:blur(10px);
}

.hero-overlay strong{
    display:block;
    margin-bottom:8px;
    font-size:1.15rem;
}

.hero-overlay p{
    margin:0;
    font-size:0.95rem;
    color:rgba(255,255,255,0.84);
}

.quick-links{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:20px;
}

.image-link{
    display:block;
    overflow:hidden;
    border-radius:28px;
    border:1px solid rgba(24,34,48,0.08);
    background:#fff;
    box-shadow:var(--shadow);
    transition:transform 0.3s ease, box-shadow 0.3s ease;
}

.image-link:hover{
    transform:translateY(-4px);
    box-shadow:0 28px 60px rgba(17,30,45,0.16);
}

.image-link img{
    width:100%;
    aspect-ratio:16 / 5.1;
    object-fit:cover;
}

.image-link-copy{
    padding:18px 22px 22px;
}

.image-link-copy strong{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    font-size:1.1rem;
}

.image-link-copy p{
    margin:8px 0 0;
    color:var(--muted);
    font-size:0.95rem;
}

.cards-grid{
    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:18px;
}

.detail-card,
.timeline-card,
.support-card,
.info-card,
.news-card,
.application-card,
.table-card,
.faq-card{
    border-radius:24px;
    padding:26px;
}

.detail-card h3,
.timeline-card h3,
.support-card h3,
.info-card h3,
.news-card h3,
.application-card h3,
.table-card h3,
.faq-card h3{
    margin:0 0 12px;
    font-size:1.18rem;
}

.detail-card p,
.timeline-card p,
.support-card p,
.info-card p,
.news-card p,
.application-card p,
.table-card p,
.faq-card p{
    margin:0;
    color:var(--muted);
}

.detail-card ul,
.support-card ul,
.info-card ul,
.application-card ul{
    margin:14px 0 0;
    padding-left:18px;
    color:#314153;
}

.detail-card li,
.support-card li,
.info-card li,
.application-card li{
    margin-bottom:8px;
}

.accent-card{
    background:linear-gradient(145deg, rgba(197,31,44,0.96), rgba(127,16,24,0.98));
    color:#fff;
}

.accent-card p,
.accent-card li{
    color:rgba(255,255,255,0.84);
}

.accent-card .eyebrow,
.accent-card h3{
    color:#fff;
}

.split-layout{
    display:grid;
    grid-template-columns:minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap:24px;
}

.media-card{
    position:relative;
    overflow:hidden;
    border-radius:30px;
    min-height:420px;
    border:1px solid rgba(24,34,48,0.08);
    box-shadow:var(--shadow);
    background:#102335;
}

.media-card img,
.media-card video{
    width:100%;
    height:100%;
    object-fit:cover;
}

.media-card .overlay{
    position:absolute;
    inset:auto 0 0 0;
    padding:22px 24px;
    background:linear-gradient(180deg, rgba(12,24,34,0) 0%, rgba(12,24,34,0.82) 88%);
    color:#fff;
}

.gallery-strip{
    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:14px;
    margin-top:16px;
}

.gallery-strip img{
    width:100%;
    height:160px;
    object-fit:cover;
    border-radius:18px;
    border:1px solid rgba(24,34,48,0.08);
    box-shadow:0 16px 34px rgba(17,30,45,0.12);
}

.news-grid{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:18px;
}

.news-meta{
    display:flex;
    justify-content:space-between;
    gap:12px;
    align-items:center;
    margin-bottom:12px;
    font-size:0.8rem;
    font-weight:800;
    letter-spacing:0.12em;
    text-transform:uppercase;
    color:var(--secondary);
}

.news-card a{
    margin-top:18px;
    display:inline-flex;
    color:var(--primary);
    font-weight:800;
}

.cta-band{
    width:var(--container);
    margin:0 auto;
    padding:80px 0 0;
}

.cta-panel{
    display:grid;
    grid-template-columns:minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap:24px;
    padding:34px;
    border-radius:34px;
    background:linear-gradient(135deg, #18365e 0%, #0f2237 58%, #7f1018 100%);
    color:#fff;
    box-shadow:0 32px 64px rgba(15,34,55,0.24);
}

.cta-panel p{
    color:rgba(255,255,255,0.82);
}

.steps-grid{
    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:14px;
}

.step-card{
    padding:20px;
    border-radius:22px;
    background:rgba(255,255,255,0.1);
    border:1px solid rgba(255,255,255,0.14);
}

.step-card strong{
    display:block;
    margin-bottom:10px;
    font-size:1.35rem;
}

.step-card span{
    display:block;
    font-size:0.95rem;
    color:rgba(255,255,255,0.82);
}

.contact-band{
    width:var(--container);
    margin:0 auto;
    padding:78px 0 0;
}

.contact-card{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:18px;
    padding:28px;
    border-radius:30px;
    background:rgba(255,250,243,0.88);
    border:1px solid rgba(24,34,48,0.08);
    box-shadow:var(--shadow);
}

.contact-item{
    padding:18px 20px;
    border-radius:18px;
    background:#fff;
    border:1px solid rgba(24,34,48,0.08);
}

.contact-item strong{
    display:block;
    margin-bottom:8px;
}

.page-hero{
    width:var(--container);
    margin:28px auto 0;
}

.page-hero-panel{
    display:grid;
    grid-template-columns:minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap:24px;
    padding:34px;
    border-radius:36px;
    background:linear-gradient(135deg, rgba(255,250,243,0.95), rgba(255,255,255,0.84));
    border:1px solid rgba(24,34,48,0.08);
    box-shadow:var(--shadow);
}

.page-hero-copy h1{
    margin:16px 0 14px;
    font-size:clamp(2.5rem, 5vw, 4.4rem);
    line-height:1.03;
    letter-spacing:-0.05em;
}

.page-hero-copy p{
    margin:0;
    color:var(--muted);
    max-width:42rem;
}

.page-hero-figure{
    position:relative;
    overflow:hidden;
    min-height:320px;
    border-radius:28px;
}

.page-hero-figure img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.figure-badge{
    position:absolute;
    left:20px;
    bottom:20px;
    padding:12px 14px;
    border-radius:16px;
    background:rgba(12,24,34,0.72);
    color:#fff;
    font-weight:700;
    backdrop-filter:blur(10px);
}

.list-grid{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:18px;
}

.timeline-grid{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:18px;
}

.timeline-card strong{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:64px;
    min-height:32px;
    padding:0 12px;
    border-radius:999px;
    background:rgba(197,31,44,0.1);
    color:var(--primary);
    font-size:0.85rem;
    margin-bottom:14px;
}

.comparison-table{
    width:100%;
    border-collapse:collapse;
}

.comparison-table th,
.comparison-table td{
    padding:16px 14px;
    text-align:left;
    border-bottom:1px solid rgba(24,34,48,0.08);
    vertical-align:top;
}

.comparison-table th{
    color:var(--secondary);
    font-size:0.85rem;
    letter-spacing:0.08em;
    text-transform:uppercase;
}

.faq-list{
    display:grid;
    gap:14px;
}

.faq-item{
    padding:22px 24px;
    border-radius:22px;
    background:#fff;
    border:1px solid rgba(24,34,48,0.08);
    box-shadow:0 16px 34px rgba(17,30,45,0.08);
}

.faq-item strong{
    display:block;
    margin-bottom:8px;
    font-size:1rem;
}

.application-grid{
    display:grid;
    grid-template-columns:minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap:24px;
}

.application-form{
    display:grid;
    gap:18px;
}

.field-grid{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:16px;
}

.field{
    display:grid;
    gap:8px;
}

.field label{
    font-weight:700;
    font-size:0.94rem;
}

.field input,
.field select,
.field textarea{
    width:100%;
    border-radius:14px;
    border:1px solid rgba(24,34,48,0.12);
    padding:14px 16px;
    background:#fff;
    color:var(--ink);
}

.field textarea{
    min-height:140px;
    resize:vertical;
}

.micro-copy{
    font-size:0.88rem;
    color:var(--muted);
}

.badge-row{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:18px;
}

.badge{
    display:inline-flex;
    align-items:center;
    min-height:34px;
    padding:0 14px;
    border-radius:999px;
    background:#fff;
    border:1px solid rgba(24,34,48,0.08);
    font-size:0.86rem;
    font-weight:700;
    color:#33445a;
}

.site-footer{
    margin-top:80px;
    padding:44px 0 34px;
    background:#122334;
    color:#fff;
}

.back-to-top{
    position:fixed;
    right:18px;
    bottom:18px;
    width:92px;
    height:92px;
    padding:0;
    border:none;
    background:transparent;
    cursor:pointer;
    opacity:0;
    transform:translateY(24px);
    pointer-events:none;
    transition:opacity 0.25s ease, transform 0.25s ease;
    z-index:18000;
}

.back-to-top.is-visible{
    opacity:1;
    transform:translateY(0);
    pointer-events:auto;
}

.back-to-top img{
    width:100%;
    height:100%;
    object-fit:contain;
}

.cookie-banner{
    position:fixed;
    left:0;
    right:0;
    top:0;
    z-index:22000;
}

.cookie-banner__inner{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:18px;
    padding:28px 52px 22px;
    border-bottom:1px solid rgba(18,35,52,0.12);
    background:#fff;
    color:#151a22;
    box-shadow:0 10px 28px rgba(18,35,52,0.12);
}

.cookie-banner__copy strong{
    display:block;
    margin-bottom:6px;
    font-size:1.05rem;
}

.cookie-banner__copy p{
    margin:0;
    max-width:54rem;
    color:#2c3340;
    font-size:0.94rem;
}

.cookie-banner__actions{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}

.cookie-banner__settings{
    background:#fff;
    color:#c51f2c;
    border:2px solid rgba(197,31,44,0.64);
}

.cookie-banner__accept{
    background:#c51f2c;
    box-shadow:none;
}

.footer-inner{
    width:var(--container);
    margin:0 auto;
}

.footer-grid{
    display:grid;
    grid-template-columns:1.3fr repeat(3, 1fr);
    gap:26px;
}

.footer-grid h3,
.footer-grid h4{
    margin:0 0 14px;
}

.footer-grid p,
.footer-grid a{
    color:rgba(255,255,255,0.76);
}

.footer-grid a{
    display:block;
    margin-bottom:10px;
}

.footer-bottom{
    margin-top:28px;
    padding-top:22px;
    border-top:1px solid rgba(255,255,255,0.12);
    color:rgba(255,255,255,0.62);
    font-size:0.9rem;
}

.reveal{
    opacity:0;
    transform:translateY(28px);
    transition:opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible{
    opacity:1;
    transform:translateY(0);
}

@media (max-width:1100px){
    .hero,
    .page-hero-panel,
    .split-layout,
    .cta-panel,
    .application-grid{
        grid-template-columns:1fr;
    }

    .cards-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }

    .news-grid,
    .timeline-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }

    .steps-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }

    .footer-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }
}

@media (max-width:820px){
    .site-nav,
    .header-actions .button{
        display:none;
    }

    .menu-toggle{
        display:block;
    }

    .section,
    .contact-band,
    .cta-band{
        padding-top:60px;
    }

    .hero-copy,
    .detail-card,
    .timeline-card,
    .support-card,
    .info-card,
    .news-card,
    .application-card,
    .table-card,
    .faq-card,
    .page-hero-panel,
    .cta-panel,
    .contact-card{
        padding:24px;
    }

    .hero-visual{
        min-height:420px;
    }

    .quick-links,
    .contact-card,
    .gallery-strip,
    .list-grid{
        grid-template-columns:1fr;
    }

    .cards-grid,
    .news-grid,
    .timeline-grid,
    .field-grid{
        grid-template-columns:1fr;
    }

    .section-heading{
        align-items:start;
        flex-direction:column;
    }
}

@media (max-width:640px){
    :root{
        --container:min(100% - 22px, 100%);
    }

    .header-inner{
        min-height:78px;
    }

    .brand{
        gap:12px;
    }

    .brand-mark{
        width:86px;
    }

    .brand-copy strong{
        font-size:0.92rem;
    }

    .brand-copy span{
        font-size:0.68rem;
        letter-spacing:0.14em;
    }

    .hero{
        margin-top:18px;
        gap:18px;
    }

    .hero-copy h1{
        font-size:clamp(2.35rem, 12vw, 3.5rem);
    }

    .hero-stats{
        grid-template-columns:1fr;
    }

    .button-row{
        flex-direction:column;
        align-items:stretch;
    }

    .button,
    .ghost-button{
        width:100%;
    }

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

    .page-main{
        padding-bottom:52px;
    }

    .site-footer{
        margin-top:56px;
    }

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

body.home-page{
    background:#f6f6f2;
}

.home-page .site-header{
    position:sticky;
    top:0;
    background:#fff;
    border-bottom:none;
    box-shadow:none;
}

.home-page .site-header.is-scrolled{
    background:#fff;
    box-shadow:0 8px 18px rgba(18,35,52,0.08);
}

.home-page .header-inner{
    width:min(100%, 1920px);
    padding:0 0 0 44px;
    min-height:138px;
}

.home-page .brand{
    gap:0;
}

.home-page .brand-mark{
    width:390px;
    max-width:min(52vw, 390px);
    filter:none;
}

.home-page .brand-copy{
    display:none;
}

.home-page .site-nav,
.home-page .header-actions .button{
    display:none;
}

.home-page .menu-toggle{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    width:152px;
    height:138px;
    border-radius:0;
    background:#2f4a92;
    box-shadow:none;
}

.home-page .menu-toggle span{
    width:54px;
    height:5px;
    margin:8px 0;
    background:#fff;
}

.home-page .mobile-drawer{
    top:148px;
    right:24px;
    left:auto;
    width:320px;
    border-radius:0;
    padding:24px 26px;
    background:#2f4a92;
    box-shadow:0 24px 50px rgba(18,35,52,0.18);
}

.home-page .mobile-drawer a{
    color:#fff;
    border-bottom:1px solid rgba(255,255,255,0.18);
    font-size:1.05rem;
}

.home-page .page-main{
    padding-bottom:0;
}

.home-hero,
.home-support,
.home-gateway,
.home-sns,
.home-video{
    width:min(100%, 1920px);
    margin:0 auto;
}

.home-hero{
    padding:0 0 42px;
}

.home-hero-frame{
    position:relative;
    background:linear-gradient(90deg, #f5c82b 0%, #efb32a 20%, #e2952f 100%);
    aspect-ratio:16 / 4;
    min-height:320px;
    overflow:hidden;
}

.home-hero-frame::before{
    content:"";
    position:absolute;
    inset:0;
    background:
        radial-gradient(circle at 16% 24%, rgba(255,255,255,0.2), transparent 22%),
        linear-gradient(120deg, rgba(255,255,255,0.08), transparent 40%);
    pointer-events:none;
    z-index:1;
}

.home-hero-slider{
    position:absolute;
    inset:0;
}

.home-hero-slider .slide{
    width:100%;
    height:100%;
    object-fit:contain;
    object-position:center center;
    padding:0;
    background:transparent;
}

.hero-copy-badge{
    position:absolute;
    left:58px;
    top:42px;
    z-index:2;
    max-width:320px;
    padding:16px 20px;
    background:rgba(255,255,255,0.8);
    box-shadow:0 12px 26px rgba(105,70,11,0.14);
}

.hero-copy-badge span{
    display:block;
    margin-bottom:12px;
    color:#2f4a92;
    font-size:0.9rem;
    font-weight:800;
    letter-spacing:0.12em;
}

.hero-copy-badge strong{
    display:block;
    margin-bottom:0;
    font-size:1.45rem;
    line-height:1.25;
    letter-spacing:0.02em;
}

.hero-copy-badge p{
    display:none;
}

.hero-news-strip{
    position:absolute;
    left:62px;
    right:auto;
    bottom:28px;
    z-index:3;
    display:flex;
    align-items:center;
    gap:24px;
    min-height:72px;
    width:min(860px, calc(100% - 124px));
    padding:0 22px;
    background:#fff;
    box-shadow:0 16px 38px rgba(18,35,52,0.12);
}

.hero-news-label{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:82px;
    min-height:42px;
    border-radius:999px;
    background:#2f4a92;
    color:#fff;
    font-size:0.88rem;
    font-weight:800;
    letter-spacing:0.08em;
}

.hero-news-strip a{
    flex:1;
    color:#2f4a92;
    font-size:1.06rem;
    font-weight:700;
}

.hero-news-arrows{
    display:flex;
    gap:12px;
}

.hero-news-arrows span{
    display:block;
    width:14px;
    height:14px;
    border-right:3px solid #2f4a92;
    border-bottom:3px solid #2f4a92;
    transform:rotate(45deg);
}

.home-support{
    padding:44px 62px 54px;
}

.support-banner{
    display:grid;
    grid-template-columns:minmax(420px, 0.52fr) minmax(0, 0.48fr);
    min-height:360px;
    background:#f5c82b;
    overflow:hidden;
}

.support-copy{
    position:relative;
    z-index:1;
    padding:42px 56px;
}

.support-copy::after{
    content:"";
    position:absolute;
    top:0;
    right:-110px;
    width:220px;
    height:100%;
    background:#f5c82b;
    transform:skewX(-34deg);
    transform-origin:right top;
    z-index:-1;
}

.support-copy span,
.home-video-copy span{
    display:block;
    margin-bottom:12px;
    font-size:0.88rem;
    font-weight:800;
    letter-spacing:0.12em;
}

.support-copy h2,
.home-sns h2,
.home-video-copy h2{
    margin:0 0 18px;
    font-size:clamp(2.7rem, 4vw, 4.5rem);
    line-height:1.05;
    letter-spacing:0.01em;
}

.support-copy p,
.home-video-copy p{
    margin:0 0 24px;
    font-size:1.08rem;
    line-height:1.8;
    max-width:33rem;
}

.support-visual{
    position:relative;
    min-height:100%;
    background:#f1ca42;
}

.support-visual img{
    width:100%;
    height:100%;
    object-fit:cover;
    filter:saturate(1.02) contrast(1.02);
}

.support-banner .ghost-button{
    background:rgba(47,74,146,0.12);
    border-color:rgba(47,74,146,0.18);
    color:#223041;
}

.home-gateway{
    padding:18px 62px 68px;
}

.gateway-grid{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:44px;
}

.gateway-card{
    display:block;
    background:#f5c82b;
    transition:transform 0.24s ease, box-shadow 0.24s ease;
}

.gateway-card:hover{
    transform:translateY(-4px);
    box-shadow:0 18px 34px rgba(18,35,52,0.1);
}

.gateway-card img{
    width:100%;
    display:block;
}

.gateway-links{
    margin:22px 0 0;
    padding-left:30px;
}

.gateway-links li{
    margin-bottom:14px;
}

.gateway-links a{
    color:#2f4a92;
    font-size:1.02rem;
    font-weight:700;
    text-decoration:underline;
    text-underline-offset:5px;
}

.home-sns{
    padding:0 62px 34px;
    text-align:center;
}

.sns-grid{
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    gap:26px;
    margin-top:28px;
}

.sns-grid a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:112px;
    height:112px;
    border-radius:999px;
    overflow:hidden;
    background:#fff;
    box-shadow:0 10px 22px rgba(18,35,52,0.1);
}

.sns-grid a img{
    width:100%;
    height:100%;
    object-fit:contain;
}

.home-video{
    padding:18px 62px 0;
}

.home-video-box{
    display:grid;
    grid-template-columns:minmax(340px, 0.42fr) minmax(0, 0.58fr);
    gap:0;
    background:#fff;
}

.home-video-copy{
    padding:44px 48px;
}

.home-video-copy h2{
    font-size:clamp(2rem, 3vw, 3.1rem);
}

.home-video-visual{
    min-height:320px;
}

.home-video-visual video{
    width:100%;
    height:100%;
    object-fit:cover;
    aspect-ratio:16 / 9;
}

.home-page .site-footer{
    margin-top:0;
    padding-top:54px;
    background:#2f4a92;
}

.home-page .site-footer .footer-inner{
    width:min(100%, 1920px);
    padding:0 62px;
}

.home-page .site-footer .footer-grid{
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:34px;
}

.home-page .site-footer h3,
.home-page .site-footer h4{
    font-size:1.18rem;
    text-decoration:underline;
    text-underline-offset:8px;
}

.home-page .site-footer a{
    font-size:1rem;
}

@media (max-width:1100px){
    .home-page .header-inner{
        min-height:110px;
        padding-left:24px;
    }

    .home-page .menu-toggle{
        width:116px;
        height:110px;
    }

    .home-page .brand-mark{
        width:min(44vw, 320px);
    }

    .hero-copy-badge{
        left:28px;
        top:28px;
        max-width:300px;
        padding:20px 22px;
    }

    .hero-copy-badge strong{
        font-size:2rem;
    }

    .hero-news-strip{
        left:28px;
        width:calc(100% - 56px);
    }

    .home-support,
    .home-gateway,
    .home-sns,
    .home-video,
    .home-page .site-footer .footer-inner{
        padding-left:24px;
        padding-right:24px;
    }

    .support-banner,
    .home-video-box,
    .home-page .site-footer .footer-grid{
        grid-template-columns:1fr 1fr;
    }
}

@media (max-width:820px){
    .home-page .mobile-drawer{
        top:92px;
        right:12px;
        left:12px;
        width:auto;
    }

    .home-page .header-inner{
        min-height:92px;
        padding-left:14px;
    }

    .home-page .menu-toggle{
        width:92px;
        height:92px;
    }

    .home-page .menu-toggle span{
        width:42px;
        height:4px;
        margin:6px 0;
    }

    .home-page .brand-mark{
        width:min(56vw, 260px);
    }

    .home-hero-frame{
        aspect-ratio:16 / 7.5;
        min-height:0;
    }

    .hero-copy-badge{
        position:relative;
        left:auto;
        top:auto;
        margin:16px 16px 0;
        max-width:none;
        width:calc(100% - 32px);
    }

    .hero-news-strip{
        position:relative;
        left:auto;
        right:auto;
        bottom:auto;
        width:calc(100% - 32px);
        margin:18px 16px 16px;
        flex-wrap:wrap;
        gap:14px;
        padding:16px 18px;
    }

    .support-banner,
    .gateway-grid,
    .home-video-box,
    .home-page .site-footer .footer-grid{
        grid-template-columns:1fr;
    }

    .support-copy{
        padding:28px 24px;
    }

    .support-copy::after{
        display:none;
    }

    .gateway-grid{
        gap:28px;
    }

    .sns-grid a{
        width:78px;
        height:78px;
    }
}

@media (max-width:640px){
    .home-hero{
        padding-bottom:26px;
    }

    .home-hero-frame{
        aspect-ratio:16 / 9.8;
    }

    .hero-copy-badge strong{
        font-size:1.7rem;
    }

    .hero-news-strip a{
        font-size:0.94rem;
    }

    .support-copy h2,
    .home-sns h2{
        font-size:2.3rem;
    }

    .gateway-links{
        padding-left:24px;
    }

    .back-to-top{
        width:74px;
        height:74px;
        right:10px;
        bottom:10px;
    }

    .cookie-banner{
        left:0;
        right:0;
        top:0;
    }

    .cookie-banner__inner{
        flex-direction:column;
        align-items:stretch;
        padding:22px 18px 18px;
    }
}

.admin-layout{
    display:grid;
    gap:24px;
}

.admin-dashboard-head{
    display:flex;
    justify-content:space-between;
    align-items:start;
    gap:16px;
    margin-bottom:18px;
}

.admin-table-wrap{
    overflow:auto;
}

.admin-table{
    min-width:980px;
}

.join-result-overlay{
    position:fixed;
    inset:0;
    z-index:25000;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:24px;
    background:rgba(18,35,52,0.84);
}

.join-result-stage{
    width:min(1100px, 100%);
}

.join-stage-loading{
    display:grid;
    gap:24px;
    justify-items:center;
}

.join-stage-loading img{
    width:min(82vw, 760px);
    max-height:62vh;
    object-fit:contain;
    border-radius:24px;
    background:#fff;
}

.join-progress-card{
    width:min(720px, 100%);
    padding:24px;
    border-radius:24px;
    background:#fff;
    text-align:center;
}

.join-progress-card strong{
    display:block;
    margin-bottom:8px;
    font-size:1.3rem;
}

.join-progress-card p{
    margin:0 0 18px;
    color:var(--muted);
}

.join-progress-bar{
    width:100%;
    height:14px;
    border-radius:999px;
    background:rgba(47,74,146,0.12);
    overflow:hidden;
}

.join-progress-bar span{
    display:block;
    width:0;
    height:100%;
    background:linear-gradient(90deg, var(--primary), #efb32a, var(--secondary));
}

.join-progress-meta{
    display:flex;
    justify-content:space-between;
    gap:16px;
    margin-top:12px;
    color:#33445a;
    font-weight:700;
}

.join-complete-card{
    display:grid;
    grid-template-columns:minmax(280px, 0.46fr) minmax(300px, 0.54fr);
    gap:24px;
    padding:24px;
    border-radius:28px;
    background:#fff;
    align-items:center;
}

.join-complete-card img{
    width:100%;
    max-height:78vh;
    object-fit:contain;
    border-radius:18px;
}

.join-complete-actions strong{
    display:block;
    margin-bottom:12px;
    font-size:1.45rem;
}

.join-complete-actions p{
    margin:0 0 20px;
    color:var(--muted);
}

.join-download-area{
    margin-bottom:20px;
}

.join-download-preview{
    width:min(280px, 100%);
    margin-bottom:14px;
    border-radius:18px;
    border:1px solid rgba(24,34,48,0.08);
}

@media (max-width:820px){
    .join-complete-card{
        grid-template-columns:1fr;
    }

    .join-stage-loading img{
        width:100%;
    }
}

body.new-index-page{
    background:#2f4fa2;
    color:#fff;
}

.new-index-page .site-header{
    display:none;
}

.new-index-shell{
    min-height:100vh;
    background:#2f4fa2;
}

.new-index-top{
    display:grid;
    grid-template-columns:132px minmax(0, 1fr);
    gap:22px;
    padding:0 24px 34px;
}

.new-index-rail{
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    padding:32px 0 24px;
}

.new-index-brand{
    display:grid;
    gap:16px;
    justify-items:start;
}

.new-index-brand img{
    width:90px;
}

.new-index-brand span{
    font-size:1.1rem;
    font-weight:800;
    line-height:1.2;
}

.new-index-menu-link{
    display:grid;
    gap:12px;
    justify-items:start;
    color:#fff;
    font-weight:800;
}

.new-index-menu-icon{
    width:62px;
}

.new-index-main{
    padding-top:22px;
}

.new-index-main-head{
    display:grid;
    grid-template-columns:minmax(360px, 0.52fr) minmax(0, 0.48fr);
    gap:28px;
    align-items:start;
}

.new-index-promo{
    min-height:180px;
    padding:22px;
    background:
        linear-gradient(135deg, rgba(128,229,242,0.88), rgba(93,189,228,0.78)),
        radial-gradient(circle at 12% 18%, rgba(255,255,255,0.24), transparent 22%);
    color:#244d8c;
    position:relative;
    overflow:hidden;
}

.new-index-promo::after{
    content:"";
    position:absolute;
    inset:0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.16), transparent 12%),
        radial-gradient(circle at 70% 30%, rgba(255,255,255,0.12), transparent 10%),
        radial-gradient(circle at 42% 74%, rgba(255,255,255,0.12), transparent 10%);
    opacity:0.95;
    pointer-events:none;
}

.new-index-promo strong{
    position:relative;
    z-index:1;
    display:block;
    font-size:1.3rem;
    line-height:1.35;
}

.new-index-promo p{
    position:relative;
    z-index:1;
    margin:14px 0 0;
    font-size:0.95rem;
    font-weight:700;
}

.new-index-promo-arrow{
    position:absolute;
    right:18px;
    bottom:18px;
    z-index:1;
    font-size:3.4rem;
    line-height:1;
    color:#fff;
}

.new-index-search-panel{
    position:relative;
    min-height:180px;
}

.new-index-search-bg{
    position:absolute;
    top:-24px;
    right:0;
    font-size:13rem;
    font-weight:900;
    line-height:0.82;
    color:rgba(17,31,76,0.18);
    letter-spacing:-0.06em;
}

.new-index-search-box{
    position:relative;
    z-index:1;
    margin-top:44px;
    display:flex;
    align-items:center;
    gap:14px;
    min-height:70px;
    padding:0 18px 0 28px;
    border-radius:999px;
    background:rgba(255,255,255,0.18);
    border:2px solid rgba(255,255,255,0.68);
    backdrop-filter:blur(10px);
}

.new-index-search-box input{
    flex:1;
    border:none;
    background:transparent;
    color:#fff;
    font-size:1.15rem;
}

.new-index-search-box input::placeholder{
    color:rgba(255,255,255,0.82);
}

.new-index-search-box button{
    width:54px;
    height:54px;
    border:none;
    border-radius:999px;
    background:#f5d92b;
    color:#23438a;
    font-size:1.6rem;
    font-weight:900;
    cursor:pointer;
}

.new-index-hero{
    position:relative;
    padding:34px 0 18px;
}

.new-index-hero h1{
    margin:0;
    font-size:clamp(4rem, 10vw, 8.2rem);
    line-height:0.9;
    letter-spacing:-0.06em;
    color:#fff;
}

.new-index-logo-line{
    margin-top:18px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
}

.new-index-logo-line strong{
    font-size:clamp(2rem, 5vw, 4rem);
    line-height:1;
    font-weight:900;
}

.new-index-news-card{
    margin-top:18px;
    margin-left:auto;
    width:min(920px, 92%);
    display:flex;
    justify-content:space-between;
    gap:18px;
    padding:20px 24px;
    background:#eef1f8;
    color:#1f2835;
    box-shadow:0 10px 28px rgba(18,35,52,0.22);
}

.new-index-news-card p{
    margin:0;
    font-size:1rem;
    font-weight:700;
}

.new-index-news-arrows{
    display:flex;
    align-items:center;
    gap:18px;
    color:#d34a60;
    font-size:2rem;
}

.new-index-topics{
    margin-top:36px;
    background:#fff;
    padding:30px 34px 42px;
    color:#214493;
}

.new-index-topics-head{
    display:flex;
    justify-content:space-between;
    gap:18px;
    align-items:end;
    margin-bottom:26px;
}

.new-index-topics-head h2{
    margin:0;
    font-size:clamp(2.3rem, 5vw, 4rem);
    line-height:1;
}

.new-index-topics-head a{
    color:#214493;
    font-size:1.15rem;
    font-weight:900;
}

.new-index-topic-grid{
    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:16px;
}

.new-index-topic-grid a{
    display:block;
    border:1px solid rgba(33,68,147,0.08);
    box-shadow:0 10px 20px rgba(18,35,52,0.08);
}

.new-index-topic-grid img{
    width:100%;
    aspect-ratio:1.16 / 1;
    object-fit:cover;
}

.new-index-bubble{
    position:fixed;
    right:26px;
    bottom:34px;
    width:176px;
    height:176px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:24px;
    border-radius:999px;
    background:#f5de31;
    color:#000;
    text-align:center;
    font-weight:900;
    line-height:1.2;
    box-shadow:0 18px 34px rgba(18,35,52,0.22);
    z-index:15000;
}

.new-index-bubble:hover{
    transform:translateY(-2px);
}

.status-page{
    min-height:100vh;
    background:#f4f1ea;
}

.status-main{
    width:min(1100px, calc(100% - 28px));
    margin:0 auto;
    padding:70px 0 80px;
}

.status-card{
    display:grid;
    grid-template-columns:minmax(300px, 0.48fr) minmax(0, 0.52fr);
    gap:28px;
    align-items:center;
    padding:28px;
    background:#fff;
    border:1px solid rgba(24,34,48,0.08);
    box-shadow:var(--shadow);
}

.status-card img{
    width:100%;
    max-height:78vh;
    object-fit:contain;
}

.status-copy h1{
    margin:0 0 12px;
    font-size:clamp(2rem, 5vw, 3.4rem);
    line-height:1.05;
}

.status-copy p{
    margin:0 0 20px;
    color:var(--muted);
    font-size:1rem;
}

.status-spinner-wrap{
    display:flex;
    align-items:center;
    gap:16px;
    margin-bottom:22px;
}

.status-spinner{
    width:54px;
    height:54px;
    border-radius:999px;
    border:5px solid rgba(47,74,146,0.16);
    border-top-color:#2f4a92;
    animation:spinCircle 1s linear infinite;
}

@keyframes spinCircle{
    from{ transform:rotate(0deg); }
    to{ transform:rotate(360deg); }
}

.status-next-button[hidden]{
    display:none;
}

.status-download{
    display:grid;
    gap:14px;
    margin:20px 0 26px;
}

.status-download img{
    width:min(280px, 100%);
    border:1px solid rgba(24,34,48,0.08);
}

@media (max-width:1100px){
    .new-index-main-head,
    .status-card{
        grid-template-columns:1fr;
    }

    .new-index-topic-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }
}

@media (max-width:820px){
    .new-index-top{
        grid-template-columns:1fr;
        padding:0 14px 26px;
    }

    .new-index-rail{
        padding:18px 0 0;
        gap:18px;
    }

    .new-index-menu-link{
        justify-items:start;
    }

    .new-index-news-card{
        width:100%;
        margin-left:0;
        flex-direction:column;
    }

    .new-index-topics{
        padding:24px 18px 28px;
    }

    .new-index-topic-grid{
        grid-template-columns:1fr;
    }

    .new-index-bubble{
        width:128px;
        height:128px;
        right:14px;
        bottom:18px;
        font-size:0.92rem;
    }

    .status-main{
        padding:28px 0 56px;
    }
}
