*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --t-base: #1a1a2e;
    --t-soft: #f8fafc;
    --t-bg: #ffffff;
    --t-body: #4a4a68;
    --t-link: #6c63ff;
    --t-heading: #1a1a2e;
    --t-ft-bg: #1a1a2e;
    --t-ft-txt: #94a3b8;
    --t-ov: #1a1a2e;
    --t-ov-a: 0.7;
    --c1: #6c63ff;
    --c2: #ff6584;
    --ff: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--ff); color: var(--t-body); line-height: 1.7; font-size: 1.05rem; background: var(--t-bg); }
img { max-width: 100%; height: auto; }
a { color: var(--t-link); text-decoration: none; }
a:hover { opacity: 0.8; }

._tb {
    position: relative;
    z-index: 100;
    padding: 15px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

._tb-id { font-size: 1.4rem; font-weight: 700; }
._tb-id a { display: flex; align-items: center; text-decoration: none; }
._tb-id img { display: block; }

._tb-lk {
    display: flex;
    align-items: center;
    gap: 25px;
}
._tb-lk a { font-size: 0.95rem; font-weight: 500; transition: opacity 0.2s; }
._tb-lk a:hover { opacity: 0.8; }

._lp { position: relative; }
._lw { position: relative; }

._lw-btn {
    display: flex; align-items: center; gap: 5px;
    background: rgba(255,255,255,0.12); border: 1px solid currentColor;
    color: inherit; font-size: 0.85rem; font-weight: 600;
    padding: 5px 12px; border-radius: 6px; cursor: pointer;
    transition: all 0.2s; font-family: inherit;
}
._lw-btn:hover { background: rgba(255,255,255,0.2); }
._lw-arr { transition: transform 0.2s; }
._lw.v ._lw-arr { transform: rotate(180deg); }

._lw-list {
    display: none; position: absolute; top: calc(100% + 6px); right: 0;
    background: var(--t-bg); border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    list-style: none; margin: 0; padding: 6px 0;
    min-width: 70px; z-index: 300; max-height: 240px; overflow-y: auto;
}
._lw.v ._lw-list { display: block; }
._lw-list li a { display: block; padding: 6px 16px; color: var(--t-body); font-size: 0.85rem; font-weight: 600; text-align: center; transition: background 0.15s; }
._lw-list li a:hover { background: var(--t-soft); opacity: 1; color: var(--t-body); }
._lw-list li a.on { color: var(--t-link); }

._sp ._lw-btn { font-size: 1rem; padding: 8px 18px; }
._sp ._lw-list { position: static; box-shadow: none; background: rgba(255,255,255,0.1); border-radius: 8px; margin-top: 8px; max-height: 200px; }
._sp ._lw-list li a { color: inherit; font-size: 1rem; }
._sp ._lw-list li a:hover { background: rgba(255,255,255,0.1); }
._sp ._lw-list li a.on { color: var(--t-link); }

._hb {
    display: none; background: none; border: none; cursor: pointer;
    padding: 10px; position: fixed; top: 15px; right: 15px; z-index: 210;
}
._hb span { display: block; width: 26px; height: 3px; border-radius: 2px; transition: all 0.3s ease; }
._hb span + span { margin-top: 5px; }
._hb.x span:nth-child(1) { transform: rotate(45deg) translate(4px, 7px); }
._hb.x span:nth-child(2) { opacity: 0; }
._hb.x span:nth-child(3) { transform: rotate(-45deg) translate(4px, -7px); }

._sp {
    display: none; position: fixed; inset: 0; z-index: 200;
    flex-direction: column; align-items: center; justify-content: center; gap: 30px;
}
._sp.w { display: flex; }
._sp-x {
    position: absolute; top: 15px; right: 15px; background: none;
    border: none; font-size: 2.5rem; cursor: pointer; padding: 5px 12px;
    line-height: 1; z-index: 211;
}
._sp-x:hover { opacity: 0.7; }
._sp a { font-size: 1.4rem; font-weight: 600; transition: opacity 0.2s; }
._sp a:hover { opacity: 0.7; }
._sp ._lp { font-size: 1rem; }
._sp ._lp a { font-size: 1rem; padding: 5px 10px; }

._wr { display: flex; flex-direction: column; }
._wr > ._bn { order: 1; }
._wr > ._ar { order: 2; }
._wr > ._qa { order: 3; }

._bn {
    position: relative; width: 100%; min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center; background-color: var(--t-base);
    background-size: cover; background-position: center; overflow: hidden;
}
._bn::before {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: var(--_ov-c, var(--t-ov));
    opacity: var(--_ov-a, var(--t-ov-a));
}

._bn-in { position: relative; z-index: 2; max-width: 600px; width: 100%; padding: 40px 20px; }
._bn-h { color: var(--t-soft); font-size: calc(1.6rem + 1.5vw); font-weight: 800; line-height: 1.2; margin-bottom: 10px; display: block; }
._bn-sub { color: rgba(248,250,252,0.8); font-size: 1.1rem; font-weight: 400; margin-bottom: 35px; line-height: 1.5; }
._bn-ta { color: var(--t-soft); font-size: 1.3rem; font-weight: 700; margin-bottom: 25px; }

._opt { display: flex; flex-direction: row; justify-content: center; align-items: flex-start; gap: 50px; margin-bottom: 25px; }
a._oc, ._oc { display: flex; flex-direction: column; align-items: center; gap: 12px; text-decoration: none; transition: transform 0.3s ease; width: auto; max-width: 120px; }
._oc:hover { transform: scale(1.08); opacity: 1; }

._oc-av {
    width: 100px; height: 100px; border-radius: 50%; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3); transition: box-shadow 0.3s ease;
}
._oc:nth-child(1) ._oc-av { background: var(--c1); }
._oc:nth-child(2) ._oc-av { background: var(--c2); }
._oc:hover ._oc-av { box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
._oc-av img { width: 50px; height: 50px; object-fit: contain; border-radius: 0; }
._oc-em { font-size: 42px; line-height: 1; }
._oc-tx { color: var(--t-soft); font-size: 0.95rem; font-weight: 600; display: block; text-align: center; }
._bn-tb { color: rgba(248,250,252,0.7); font-size: 0.95rem; font-weight: 400; line-height: 1.5; }

._dw { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2; animation: _mv 2s infinite; }
._dw svg { width: 30px; height: 30px; fill: none; stroke: rgba(248,250,252,0.6); stroke-width: 2; }
@keyframes _mv {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

._ar { max-width: 800px; margin: 0 auto; padding: 80px 20px; }
._ar ._ar-h { font-size: 2rem; font-weight: 800; margin-bottom: 30px; color: var(--t-heading); }
._ar h2 { font-size: 1.8rem; font-weight: 800; margin: 50px 0 20px; padding-left: 20px; border-left: 8px solid var(--t-link); color: var(--t-heading); }
._ar h3 { font-size: 1.4rem; font-weight: 700; margin: 40px 0 15px; color: var(--t-heading); }
._ar p { margin-bottom: 20px; font-size: 1.1rem; line-height: 1.9; }
._ar ul, ._ar ol { margin: 0 0 20px 25px; }
._ar li { margin-bottom: 8px; line-height: 1.8; }
._ar blockquote { border-left: 4px solid var(--t-link); padding: 15px 25px; margin: 30px 0; font-style: italic; background: #f0efff; border-radius: 0 8px 8px 0; }
._ar img { border-radius: 8px; margin: 20px 0; }

._qa { max-width: 800px; margin: 0 auto; padding: 0 20px 60px; }
._qa-h { font-size: 1.8rem; font-weight: 800; margin-bottom: 25px; padding-left: 20px; border-left: 8px solid var(--t-link); color: var(--t-heading); }
._qi { border: 1px solid #e2e8f0; border-radius: 10px; margin-bottom: 10px; overflow: hidden; transition: box-shadow 0.2s; }
._qi:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
._qi summary { padding: 18px 24px; font-size: 1.05rem; font-weight: 600; cursor: pointer; color: var(--t-heading); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
._qi summary::-webkit-details-marker { display: none; }
._qi summary::after { content: "+"; font-size: 1.4rem; font-weight: 300; color: var(--t-link); flex-shrink: 0; transition: transform 0.2s; }
._qi[open] summary::after { transform: rotate(45deg); }
._qi-a { padding: 0 24px 18px; }
._qi-a p { line-height: 1.7; color: var(--t-body); margin: 0; }

._ft { text-align: center; padding: 40px 20px; font-size: 0.9rem; background: var(--t-ft-bg); color: var(--t-ft-txt); }
._ft a, ._ft-lk a { color: var(--t-ft-txt); }
._ft-lk { margin-top: 15px; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 20px; }
._ft-lk a { font-size: 0.8rem; transition: opacity 0.2s; }
._ft-lk a:hover { opacity: 0.7; }

@media (max-width: 768px) {
    ._tb { padding: 10px 15px !important; }
    ._tb-lk { display: none !important; }
    ._hb { display: flex; flex-direction: column; }
    ._bn-h { font-size: 1.6rem; }
    ._bn-sub { font-size: 0.95rem; margin-bottom: 25px; }
    ._bn-ta { font-size: 1.1rem; margin-bottom: 20px; }
    ._opt { gap: 35px; }
    ._oc-av { width: 85px; height: 85px; }
    ._oc-av img { width: 40px; height: 40px; }
    ._oc-em { font-size: 36px; }
    ._bn-tb { font-size: 0.85rem; }
    ._ar { padding: 50px 15px; }
    ._ar h2 { font-size: 1.5rem; }
    ._tb ._tb-id img { height: 35px !important; width: auto !important; }
}
