@charset "utf-8";
/* ==========================================================================
   HARPOON UI  -  UIハープーン.ai をもとにしたデザインシステム
   画像アセット: /public/assets/harpoon/
   ========================================================================== */

:root {
    --hp-navy-900: #04101f;
    --hp-navy-800: #071e3f;
    --hp-navy-700: #0b2f5e;
    --hp-blue-600: #124e9c;
    --hp-blue-500: #1a6fd4;
    --hp-blue-400: #2f8ae0;
    --hp-plate: #11294d;
    --hp-plate-line: #3f7fd0;
    --hp-green: #3ddc4a;
    --hp-orange: #ffa41b;
    --hp-red: #ff4d4d;
    --hp-text: #eef6ff;
    --hp-text-dim: #a8c6ea;
    --hp-shell-w: 480px;
    --hp-font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
    --hp-outline: 0 2px 0 rgba(3, 17, 38, .85), 0 0 10px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
}

body {
    background: var(--hp-navy-900);
    color: var(--hp-text);
    font-family: var(--hp-font);
    font-size: 15px;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--hp-blue-400); text-decoration: none; }
a:hover { opacity: .85; }
img { max-width: 100%; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
button { font-family: inherit; }

/* --------------------------------------------------------- シェル（画面枠） */
.hp-shell {
    position: relative;
    width: 100%;
    max-width: var(--hp-shell-w);
    min-height: 100vh;
    margin: 0 auto;
    padding: 0 0 130px;
    overflow: hidden;
    background:
        radial-gradient(118% 52% at 50% 24%, #2f8ae0 0%, #1a6fd4 26%, #124e9c 52%, #0b356c 76%, #072148 100%);
    box-shadow: 0 0 70px rgba(0, 0, 0, .75);
}

.hp-shell::before,
.hp-shell::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 14px;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(4, 22, 48, .85), rgba(4, 22, 48, 0));
}
.hp-shell::after { right: 0; transform: scaleX(-1); }
.hp-shell::before { left: 0; }

.hp-body {
    position: relative;
    z-index: 1;
    padding: 0 16px;
}

/* --- 金属背景（ログイン前の画面） --- */
.hp-shell--metal {
    background:
        linear-gradient(180deg, rgba(4, 14, 30, .55), rgba(4, 14, 30, .82)),
        url("../harpoon/bg_metal.png") center / cover no-repeat fixed;
    padding-bottom: 40px;
}

/* --------------------------------------------------------------- ヘッダー */
.hp-header {
    position: relative;
    width: 100%;
    aspect-ratio: 960 / 135;
    background: url("../harpoon/header_bar.png") center / 100% 100% no-repeat;
    z-index: 30;
}

.hp-header__hit {
    position: absolute;
    top: 10%;
    height: 74%;
    display: block;
    border-radius: 12px;
    text-indent: -9999px;
    overflow: hidden;
    white-space: nowrap;
}
.hp-header__hit:active { filter: brightness(1.25); }

.hp-header__logo { left: 1.8%; width: 53%; }
.hp-header__bell { left: 65.2%; width: 9.1%; }
.hp-header__gear { left: 76.4%; width: 9%; }
.hp-header__menu { left: 87.5%; width: 9.1%; }

.hp-header__badge {
    position: absolute;
    top: 14%;
    left: 70.9%;
    width: 3.6%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #ff7d7d, var(--hp-red) 60%, #b81d1d);
    box-shadow: 0 0 8px rgba(255, 70, 70, .9);
    z-index: 2;
}

/* ----------------------------------------------------------- ドロワーメニュー */
.hp-drawer-mask {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(2, 10, 24, .68);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s ease;
}
.hp-drawer-mask.is-open { opacity: 1; visibility: visible; }

.hp-drawer {
    position: fixed;
    top: 0;
    /* PC でも端末枠（シェル）の右端に沿わせる */
    right: max(0px, calc((100vw - var(--hp-shell-w)) / 2));
    z-index: 100;
    width: 78%;
    max-width: 320px;
    height: 100%;
    padding: 22px 18px;
    overflow-y: auto;
    transform: translateX(104%);
    opacity: 0;
    visibility: hidden;
    transition: transform .26s cubic-bezier(.22, .8, .3, 1), opacity .2s ease, visibility .26s;
    background:
        linear-gradient(180deg, #123c78 0%, #0c2c5c 55%, #071e40 100%);
    border-left: 2px solid rgba(120, 180, 255, .45);
    box-shadow: -12px 0 40px rgba(0, 0, 0, .6);
}
.hp-drawer.is-open { transform: translateX(0); opacity: 1; visibility: visible; }

.hp-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(120, 180, 255, .3);
}
.hp-drawer__title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .22em;
    color: var(--hp-text-dim);
}
.hp-drawer__close {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(140, 195, 255, .5);
    border-radius: 10px;
    background: rgba(10, 40, 80, .8);
    color: #dceaff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.hp-drawer__user {
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 700;
    text-shadow: var(--hp-outline);
}

.hp-drawer__nav li + li { margin-top: 10px; }
.hp-drawer__nav a,
.hp-drawer__nav button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 13px 16px;
    border: 1px solid rgba(120, 180, 255, .4);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(31, 92, 168, .95), rgba(13, 47, 94, .95));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
    color: var(--hp-text);
    font-size: 15px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    text-shadow: var(--hp-outline);
}
.hp-drawer__nav a.is-current {
    border-color: rgba(255, 190, 80, .8);
    background: linear-gradient(180deg, #ffb340, #e57f12);
    color: #3b1d00;
    text-shadow: 0 1px 0 rgba(255, 235, 190, .6);
}
.hp-drawer__nav .hp-drawer__icon { width: 22px; text-align: center; font-size: 16px; }

/* ---------------------------------------------------------------- 利益パネル */
.hp-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    aspect-ratio: 960 / 279;
    margin: 14px 0 6px;
    padding: 5% 3.5%;
    background: url("../harpoon/stats_frame.png") center / 100% 100% no-repeat;
}

.hp-stats__cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 0;
}
.hp-stats__label {
    font-size: clamp(11px, 3.1vw, 14px);
    font-weight: 700;
    letter-spacing: .02em;
    text-shadow: var(--hp-outline);
}
.hp-stats__value {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: clamp(14px, 4.3vw, 20px);
    font-weight: 900;
    white-space: nowrap;
    text-shadow: var(--hp-outline);
}
.hp-stats__icon {
    font-size: 1.05em;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}
.hp-stats__value.is-minus { color: #ffd0d0; }
.hp-stats__value.is-plus { color: #ffffff; }

/* -------------------------------------------------------------- コアボタン */
.hp-core {
    position: relative;
    width: 92%;
    max-width: 380px;
    margin: 6px auto 4px;
    aspect-ratio: 1;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.hp-core__ring,
.hp-core__orb,
.hp-core__chevron {
    position: absolute;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    pointer-events: none;
}

.hp-core__ring {
    inset: 0;
    background-image: url("../harpoon/ring_off.png");
    transition: opacity .25s ease;
}
.hp-core__orb {
    left: 50%;
    top: 50%;
    width: 44%;
    aspect-ratio: 600 / 679;
    transform: translate(-50%, -50%);
    background-image: url("../harpoon/core_off.png");
}
.hp-core__chevron {
    left: 50%;
    top: 0;
    width: 12.5%;
    aspect-ratio: 170 / 178;
    transform: translateX(-50%);
    background-image: url("../harpoon/chevron_off.png");
}

.hp-core.is-on .hp-core__ring { background-image: url("../harpoon/ring_on.png"); }
.hp-core.is-on .hp-core__orb { background-image: url("../harpoon/core_on.png"); }
.hp-core.is-on .hp-core__chevron { background-image: url("../harpoon/chevron_on.png"); }

.hp-core.is-on::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 78%;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(70, 210, 255, .45) 0%, rgba(70, 210, 255, 0) 65%);
    animation: hp-pulse 2.6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes hp-pulse {
    0%, 100% { opacity: .45; transform: translate(-50%, -50%) scale(.96); }
    50% { opacity: .9; transform: translate(-50%, -50%) scale(1.04); }
}

.hp-core__caption {
    display: block;
    margin: -4px 0 10px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    color: rgba(226, 242, 255, .75);
    text-shadow: var(--hp-outline);
    pointer-events: none;
}

/* --------------------------------------------------------------- 通貨タブ */
.hp-tabs {
    display: flex;
    width: 100%;
    margin: 2px 0 12px;
    padding: 4px;
    border: 1px solid rgba(126, 185, 255, .55);
    border-radius: 999px;
    background: linear-gradient(180deg, #0f3670 0%, #17538f 55%, #1a5ea0 100%);
    box-shadow: inset 0 3px 8px rgba(2, 14, 34, .7), 0 2px 0 rgba(255, 255, 255, .08);
}

.hp-tab {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    padding: 10px 4px;
    border-radius: 999px;
    color: #dcebff;
    font-size: clamp(13px, 3.8vw, 16px);
    font-weight: 900;
    letter-spacing: .04em;
    text-shadow: var(--hp-outline);
    cursor: pointer;
    position: relative;
}
.hp-tab + .hp-tab::before {
    content: "";
    position: absolute;
    left: 0;
    top: 26%;
    height: 48%;
    border-left: 1px solid rgba(160, 205, 255, .45);
}
.hp-tab.is-active {
    background: url("../harpoon/tab_active.png") center / 100% 100% no-repeat;
    color: #fff;
    text-shadow: 0 2px 0 rgba(150, 70, 0, .75);
}
.hp-tab.is-active + .hp-tab::before,
.hp-tab.is-active::before { border-left-color: transparent; }
.hp-tab__icon { width: 1.35em; height: 1.35em; flex: none; }
.hp-tab.is-active .hp-tab__icon { filter: drop-shadow(0 1px 1px rgba(120, 55, 0, .5)); }

/* ------------------------------------------------------------- アルゴ一覧 */
.hp-algos li + li { margin-top: 10px; }

.hp-algo {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 68px;
    padding: 0 30% 0 20%;
    background: url("../harpoon/row_plate.png") center / 100% 100% no-repeat;
}

.hp-algo__icon {
    position: absolute;
    left: 0;
    top: 50%;
    width: 17%;
    aspect-ratio: 1;
    transform: translateY(-50%);
    background: center / contain no-repeat;
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .5));
}
.hp-algo__icon--time { background-image: url("../harpoon/icon_time.png"); }
.hp-algo__icon--ml { background-image: url("../harpoon/icon_ml.png"); }
.hp-algo__icon--fibo { background-image: url("../harpoon/icon_fibo.png"); }
.hp-algo__icon--break { background-image: url("../harpoon/icon_break.png"); }

.hp-algo__label {
    font-size: clamp(14px, 4vw, 17px);
    font-weight: 700;
    letter-spacing: .02em;
    text-shadow: var(--hp-outline);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hp-algo__label small {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: #ffc9c9;
}

.hp-algo__switch {
    position: absolute;
    right: 2.5%;
    top: 50%;
    width: 27%;
    aspect-ratio: 280 / 106;
    transform: translateY(-50%);
    cursor: pointer;
}
.hp-algo__switch input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer;
}
.hp-algo__switch .hp-switch__face {
    display: block;
    width: 100%;
    height: 100%;
    background: url("../harpoon/toggle_off.png") center / 100% 100% no-repeat;
    pointer-events: none;
}
.hp-algo__switch input:checked ~ .hp-switch__face {
    background-image: url("../harpoon/toggle_on.png");
}
.hp-algo__switch .hp-switch__text {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 15%;
    font-size: clamp(11px, 3.2vw, 14px);
    font-weight: 900;
    color: #10380f;
    text-shadow: 0 1px 0 rgba(220, 255, 210, .5);
    pointer-events: none;
}
.hp-algo__switch input:not(:checked) ~ .hp-switch__text {
    left: auto;
    right: 9%;
    color: #9fb4cc;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .55);
}
.hp-algo__switch input:disabled ~ .hp-switch__face { opacity: .45; }
.hp-algo__switch input:disabled { cursor: not-allowed; }

/* ------------------------------------------------------------------ フッター */
.hp-footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    aspect-ratio: 960 / 326;
    max-height: 120px;
    background: url("../harpoon/footer_bar.png") center bottom / 100% 100% no-repeat;
    z-index: 20;
    pointer-events: none;
}
.hp-footer__brand {
    position: absolute;
    left: 0;
    right: 0;
    top: 34%;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: .34em;
    text-align: center;
    color: rgba(190, 220, 255, .55);
    text-shadow: 0 2px 0 rgba(3, 17, 38, .6);
}

/* ------------------------------------------------------------------ 見出し */
.hp-title {
    margin: 18px 0 14px;
    font-size: 19px;
    font-weight: 900;
    letter-spacing: .1em;
    text-align: center;
    text-shadow: var(--hp-outline);
}
.hp-title::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    margin: 8px auto 0;
    border-radius: 3px;
    background: linear-gradient(90deg, rgba(120, 200, 255, 0), #6fc6ff, rgba(120, 200, 255, 0));
}

/* ------------------------------------------------------------------ パネル */
.hp-panel {
    padding: 16px;
    margin-bottom: 14px;
    border: 1px solid rgba(126, 185, 255, .5);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(12, 42, 84, .92), rgba(7, 26, 55, .92));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 6px 20px rgba(0, 0, 0, .35);
}
.hp-panel--tight { padding: 12px; }

/* ------------------------------------------------------------------ フォーム */
.hp-field { margin-bottom: 14px; }
.hp-label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--hp-text-dim);
    letter-spacing: .04em;
}
.hp-input,
.hp-select {
    display: block;
    width: 100%;
    padding: 13px 14px;
    border: 1px solid rgba(126, 185, 255, .5);
    border-radius: 12px;
    background: rgba(5, 22, 46, .85);
    box-shadow: inset 0 3px 8px rgba(0, 0, 0, .5);
    color: var(--hp-text);
    font-size: 16px;
    font-family: inherit;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}
.hp-input::placeholder { color: rgba(168, 198, 234, .6); }
.hp-input:focus,
.hp-select:focus {
    border-color: #7fd0ff;
    box-shadow: inset 0 3px 8px rgba(0, 0, 0, .5), 0 0 0 3px rgba(80, 180, 255, .25);
}
.hp-select {
    background-image: linear-gradient(45deg, transparent 50%, #8fc4f5 50%), linear-gradient(135deg, #8fc4f5 50%, transparent 50%);
    background-position: calc(100% - 20px) calc(50% + 2px), calc(100% - 14px) calc(50% + 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 38px;
}

/* ------------------------------------------------------------------ ボタン */
.hp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px 20px;
    border: 1px solid rgba(160, 210, 255, .6);
    border-radius: 999px;
    background: linear-gradient(180deg, #3e88de 0%, #2467bd 48%, #174a94 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 -3px 8px rgba(2, 18, 42, .5), 0 6px 18px rgba(0, 0, 0, .45);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .12em;
    text-align: center;
    cursor: pointer;
    text-shadow: var(--hp-outline);
    transition: filter .15s ease, transform .08s ease;
}
.hp-btn:hover { filter: brightness(1.08); opacity: 1; }
.hp-btn:active { transform: translateY(1px); filter: brightness(.95); }
.hp-btn + .hp-btn { margin-top: 16px; }

.hp-btn--ghost {
    background: linear-gradient(180deg, rgba(20, 58, 108, .9), rgba(8, 30, 62, .9));
    border-color: rgba(126, 185, 255, .45);
}
.hp-btn--gold {
    background: linear-gradient(180deg, #ffc14d 0%, #f79a17 50%, #d97708 100%);
    border-color: rgba(255, 224, 160, .8);
    color: #3f1f00;
    text-shadow: 0 1px 0 rgba(255, 238, 200, .7);
}
.hp-btn--sm { padding: 11px 18px; font-size: 14px; width: auto; }

/* -------------------------------------------------------------- アラート */
.hp-alert {
    padding: 12px 14px;
    margin-bottom: 14px;
    border-radius: 12px;
    font-size: 13.5px;
    line-height: 1.7;
}
.hp-alert ul { padding-left: 0; }
.hp-alert li + li { margin-top: 4px; }
.hp-alert--error {
    border: 1px solid rgba(255, 120, 120, .6);
    background: rgba(120, 20, 30, .45);
    color: #ffdada;
}
.hp-alert--success {
    border: 1px solid rgba(110, 230, 140, .6);
    background: rgba(16, 80, 44, .45);
    color: #d5ffe2;
}

/* ------------------------------------------------------------------ テーブル */
.hp-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid rgba(126, 185, 255, .4);
    border-radius: 14px;
    background: rgba(5, 22, 46, .75);
}
.hp-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    font-size: 13px;
    white-space: nowrap;
}
.hp-table th {
    padding: 11px 10px;
    background: linear-gradient(180deg, #1c5aa6, #113f79);
    color: #eaf4ff;
    font-weight: 700;
    letter-spacing: .04em;
    border-bottom: 1px solid rgba(126, 185, 255, .45);
}
.hp-table td {
    padding: 11px 10px;
    border-bottom: 1px solid rgba(126, 185, 255, .18);
    color: #dbe9fb;
    text-align: center;
}
.hp-table tbody tr:nth-child(even) td { background: rgba(255, 255, 255, .03); }
.hp-table .is-buy { color: #7de08a; font-weight: 700; }
.hp-table .is-sell { color: #ff9c9c; font-weight: 700; }
.hp-table .is-empty { color: var(--hp-text-dim); }

.hp-total {
    margin: 14px 0;
    padding: 13px 16px;
    border: 1px solid rgba(255, 200, 100, .55);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(76, 52, 12, .6), rgba(40, 26, 6, .6));
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    text-shadow: var(--hp-outline);
}
.hp-total strong { font-size: 21px; color: #ffd47a; }

/* ------------------------------------------------------------- 設定タブ */
.hp-subtabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}
.hp-subtab {
    padding: 9px 14px;
    border: 1px solid rgba(126, 185, 255, .45);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(20, 58, 108, .9), rgba(8, 30, 62, .9));
    color: #cfe4fb;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}
.hp-subtab.is-active {
    border-color: rgba(255, 220, 150, .8);
    background: linear-gradient(180deg, #ffc14d, #e08a10);
    color: #3f1f00;
}

.hp-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
}
.hp-exchange-mark {
    display: block;
    max-width: 170px;
    margin: 0 auto 8px;
}

/* 小さいトグル（設定画面用） */
.hp-switch-sm {
    position: relative;
    display: block;
    width: 78px;
    aspect-ratio: 280 / 106;
    flex: none;
    cursor: pointer;
}
.hp-switch-sm input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.hp-switch-sm .hp-switch__face {
    display: block;
    width: 100%;
    height: 100%;
    background: url("../harpoon/toggle_off.png") center / 100% 100% no-repeat;
    pointer-events: none;
}
.hp-switch-sm input:checked ~ .hp-switch__face { background-image: url("../harpoon/toggle_on.png"); }

/* ------------------------------------------------------------ ログイン系 */
.hp-auth {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    padding: 34px 20px 44px;
}
.hp-auth__logo {
    display: block;
    width: 84%;
    max-width: 330px;
    margin: 0 auto 6px;
}
.hp-auth__lead {
    margin-bottom: 20px;
    font-size: 13px;
    letter-spacing: .12em;
    text-align: center;
    color: var(--hp-text-dim);
}
.hp-auth__foot {
    margin-top: 18px;
    font-size: 13px;
    text-align: center;
    color: var(--hp-text-dim);
}
.hp-auth__foot a { font-weight: 700; }

.hp-copyright {
    margin-top: 26px;
    font-size: 11px;
    letter-spacing: .14em;
    text-align: center;
    color: rgba(168, 198, 234, .55);
}

/* ------------------------------------------------------------ 規約ボックス */
.hp-terms {
    height: 170px;
    padding: 12px 14px;
    overflow-y: auto;
    border: 1px solid rgba(126, 185, 255, .4);
    border-radius: 12px;
    background: rgba(4, 18, 38, .8);
    font-size: 12px;
    line-height: 1.8;
    color: #cfe0f5;
}
.hp-terms h3, .hp-terms h4 { font-size: 13px; margin: 10px 0 4px; }

.hp-check {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 14px;
    font-size: 13.5px;
    line-height: 1.5;
    cursor: pointer;
}
.hp-check input {
    width: 20px;
    height: 20px;
    margin: 1px 0 0;
    accent-color: #2f8ae0;
    flex: none;
}
.hp-field-error {
    display: block;
    margin-top: 6px;
    font-size: 12.5px;
    color: #ff9c9c;
}

/* ---------------------------------------------------------------- ガイド */
.hp-guide__slide { display: none; text-align: center; }
.hp-guide__slide.is-active { display: block; }
.hp-guide__slide img {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(126, 185, 255, .35);
}
.hp-guide__slide h3 {
    margin: 14px 0 8px;
    font-size: 17px;
    font-weight: 900;
    text-shadow: var(--hp-outline);
}
.hp-guide__slide p {
    font-size: 13.5px;
    line-height: 1.85;
    color: #d5e6fa;
}
.hp-guide__dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 18px 0;
}
.hp-guide__dots li {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 1px solid rgba(160, 205, 255, .6);
    background: rgba(10, 36, 72, .8);
    cursor: pointer;
}
.hp-guide__dots li.is-active {
    background: linear-gradient(180deg, #7fd0ff, #2f8ae0);
    box-shadow: 0 0 10px rgba(90, 190, 255, .8);
}

/* ---------------------------------------------------------------- 補助 */
.hp-note { font-size: 12.5px; line-height: 1.8; color: var(--hp-text-dim); }
.hp-center { text-align: center; }
.hp-mt-8 { margin-top: 8px; }
.hp-mt-16 { margin-top: 16px; }
.hp-mt-24 { margin-top: 24px; }
.hp-mb-24 { margin-bottom: 24px; }

@media (max-width: 360px) {
    .hp-algo { height: 62px; }
    .hp-body { padding: 0 12px; }
}
