:root {
    --primary-color: #22a07a;
    --secondary-color: #b5d653;
    --warning-color: rgb(249, 82, 82);
    --site-width: 1100px;
    --common-box-shadow: 0 0 16px rgba(0, 0, 0, 0.02);
    --common-box-shadow-hover: 0 0 12px rgba(0, 0, 0, 0.15);
    --header-main-height: 80px;
    --header-sub-height: 56px;
    --header-height: calc(var(--header-main-height) + var(--header-sub-height));

    @media only screen and (max-width: 600px) {
        --header-main-height: 60px;
    }
}
* {
    box-sizing: border-box;
}
body {
    line-height: 1.5;
    background: #f7f7f7;
    margin: var(--header-height) 0 0 0;
    font-family: "Meiryo", sans-serif;
    font-size: 14px;
    overflow-y: scroll;
}
a {
    text-decoration: none;
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="tel"],
input[type="password"],
select {
    height: 36px;
    background: rgba(0, 0, 0, 0.02);
    border: 0;
    border-radius: 3px;
    padding-left: 5px;
    transition: 150ms;
    box-shadow: inset 0 0 16px rgba(0, 0, 0, 0.02);
    outline: 0;
}
input[type="text"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
select {
    background: #fff;
    box-shadow: 0 0 0 1.5px var(--primary-color);
}

main {
    display: block;
}

/* width */
::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

/* Track */
::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 9999px;
    transition: 150ms;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #64b5f6aa;
}

::-webkit-scrollbar-corner {
    background: rgba(255, 255, 255, 0.1);
}
@media only screen and (min-width: 600px) {
    .mobile-only {
        display: none;
    }
}
@media only screen and (max-width: 600px) {
    .desktop-only {
        display: none;
    }
}

#common-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}
#common-header .inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--site-width);
    height: 100%;
    margin: auto;
}
#common-header .header-main {
    height: var(--header-main-height);
    background: var(--primary-color);
    color: #fff;
    @media only screen and (max-width: 600px) {
        padding: 0 8px;
    }
}
#common-header .header-main .logo {
    display: block;
    height: 42px;
    @media only screen and (max-width: 600px) {
        width: 40%;
    }
}
#common-header .header-main .logo img {
    display: block;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
}

#common-header .header-main .guest-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
    @media only screen and (max-width: 600px) {
        gap: 6px;
    }
}
#common-header .header-main .guest-buttons .primary-button {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 46px;
    background: #ffffff;
    border-radius: 100vmax;
    padding: 0 22px;
    color: #222;
    font-size: 110%;
    font-weight: bold;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
    @media only screen and (max-width: 600px) {
        padding: 0 16px;
        zoom: 0.7;
    }
}
#common-header .header-main .guest-buttons .primary-button:hover {
    box-shadow: 0 0 0 3px rgb(93, 214, 196);
}
#common-header .header-main .guest-buttons .primary-button .icon {
    font-size: 22px;
    color: #225468;
}
#common-header .header-main .guest-buttons .primary-button .image-icon {
    display: block;
    width: 22px;
    height: 22px;
}

#common-header .header-main .member-area {
    display: flex;
    gap: 32px;
    @media only screen and (max-width: 600px) {
        gap: 16px;
    }
}
#common-header .header-main .member-area .meta-section {
    display: flex;
    align-items: center;
    font-size: 16px;
    @media only screen and (max-width: 600px) {
        font-size: 12px;
    }
}
#common-header .header-main .member-area .meta-section .icon {
    margin-right: 6px;
    font-size: 130%;
}
#common-header .header-main .member-area .meta-section .value {
    font-weight: bold;
}
#common-header .header-main .member-area .meta-section.section-user .icon {
    color: rgb(180, 247, 135);
}
#common-header .header-main .member-area .meta-section.section-point .icon {
    color: rgb(255, 223, 40);
}
#common-header .header-main .member-area .sign-out-button {
    @media only screen and (max-width: 600px) {
        display: none;
    }
}

#common-header .header-sub {
    height: var(--header-sub-height);
    background: var(--secondary-color);
}
#common-header .header-sub .inner {
    display: flex;
}
#common-header .header-sub .inner a {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    color: #222;
    font-size: 17px;
    font-weight: bold;
    transition: 150ms;
    @media only screen and (max-width: 600px) {
        flex-direction: column;
        font-size: 10px;
    }
}
#common-header .header-sub .inner a i {
    margin-right: 0.5em;
    font-size: 120%;
    color: rgb(110, 110, 135);
    @media only screen and (max-width: 600px) {
        margin: 0;
        font-size: 20px;
    }
}
#common-header .header-sub .inner a:hover {
    background: rgba(255, 255, 255, 0.1);
}

#common-footer {
    background: #eeeeee;
    padding: 32px 10px;
    color: #666;
}
#common-footer .inner {
    max-width: 1100px;
    margin: auto;
}
#common-footer .footer-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
#common-footer .footer-menu a {
    display: block;
    margin-bottom: 16px;
    font-size: 150%;
    font-weight: bold;
    color: #666;
    @media only screen and (max-width: 600px) {
        font-size: 120%;
    }
}
#common-footer .footer-menu span {
    display: block;
    width: 1px;
    height: 32px;
    background: rgba(0, 0, 0, 0.2);
    margin: 0 40px 16px;
    @media only screen and (max-width: 600px) {
        height: 26px;
        margin: 0 16px 16px;
    }
}
#common-footer .disclaimer {
    font-size: 90%;
}
#common-footer .copyright {
    text-align: center;
}

#wrapper > main {
    min-height: calc(100vh - 380px);
    padding: 32px 0 64px;
}

.page-content {
    max-width: var(--site-width);
    margin: auto;
    padding: 0 10px;
    @media only screen and (max-width: 600px) {
        padding: 0 6px;
    }
}
.page-content.narrow {
    max-width: calc(var(--site-width) * 0.8);
}

.white-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--common-box-shadow);
}

.page-section-title {
    display: flex;
    justify-content: center;
    padding: 42px 0;
    @media only screen and (max-width: 600px) {
        padding: 24px 10px;
    }
}
.page-section-title .title {
    position: relative;
    display: flex;
    align-items: center;
    font-size: 32px;
    border-radius: 16px;
    padding: 0 32px 6px;
    @media only screen and (max-width: 600px) {
        padding: 0 16px 6px;
        font-size: 24px;
    }
}
.page-section-title .title::after {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: block;
    height: 6px;
    background: var(--secondary-color);
    border-radius: 100vmax;
    content: "";
}

.page-section-title-sub {
    display: flex;
    justify-content: center;
    padding: 42px 0;
}
.page-section-title-sub .title {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 200px;
    background: rgb(195, 195, 199);
    border-radius: 100vmax;
    font-size: 16px;
    font-weight: bold;
    color: #000;
    padding: 4px 32px;
}

.page-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 32px 0;
    @media only screen and (max-width: 600px) {
        flex-direction: column;
        gap: 12px;
    }
}
.page-action-notice {
    max-width: 100%;
    width: fit-content;
    margin: auto;
    padding: 20px 12px;
    color: #666;
    font-size: 90%;
}

.page-no-content {
    padding: 80px 10px 50px;
    font-size: 90%;
    color: #777;
    text-align: center;
}

.error-container {
    max-width: 700px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    margin: 50px auto;
    padding: 30px 20px;
    text-align: center;
}
.error-container .error-title {
    margin-bottom: 5px;
    font-size: 150%;
}

.button {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 32px;
    background: #e7e7e7;
    border: 0;
    border-radius: 100vmax;
    padding: 0 16px;
    font-weight: bold;
    color: #666666;
    transition: 150ms;
    user-select: none;
}
.button.primary {
    background: var(--primary-color);
    color: #fff;
}
.button:not(:disabled):hover {
    filter: brightness(1.2);
}
.button:disabled {
    opacity: 0.7;
}

.dialog-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    padding-bottom: 10vh;
    backdrop-filter: grayscale(0.7);
    z-index: 100000;
    transition: 150ms;
}

.dialog-overlay:not(.active) {
    opacity: 0;
    pointer-events: none;
}
.dialog-overlay .loading-circle {
    width: 80px;
    height: 80px;
    border: solid 4px #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: loading-overlay-loading linear 500ms infinite;
}

.loading-overlay {
    z-index: 200000;
}

@keyframes loading-overlay-loading {
    from {
        transform: rotate(0turn);
    }
    to {
        transform: rotate(1turn);
    }
}

.common-dialog {
    display: flex;
    flex-direction: column;
    min-width: 300px;
    min-height: 120px;
    background: #ffffff;
    border-radius: 20px;
    margin: 10px;
    padding: 20px 22px;
    box-shadow: 0 0 26px rgba(0, 0, 0, 0.1);
    transition: opacity 150ms;
}
.common-dialog > .title {
    margin-bottom: 10px;
    font-size: 130%;
}
.common-dialog > .content {
    flex: 1;
}
.common-dialog > .actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}
.common-dialog > .actions > .button {
    min-width: 100px;
}

.error-dialog {
    min-width: 400px;
    max-width: 1000px;
    @media only screen and (max-width: 600px) {
        width: calc(100vw - 24px);
    }
}

.spacer {
    flex: 1;
}

.transfer-announce {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000000;
    overflow: hidden;
    backdrop-filter: blur(16px);
}
.transfer-announce .inner {
    width: 95vw;
    max-width: 400px;
    border-radius: 12px;
    overflow: hidden;
}
.transfer-announce .header {
    background: #00b900;
    padding: 16px 8px;
    color: #ffffff;
    font-size: 17px;
    font-weight: bold;
    text-align: center;
}
.transfer-announce .body {
    background: #ffffff;
    padding: 12px 16px;
}
.transfer-announce .body .strong {
    font-weight: bold;
}
.transfer-announce .body .actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 12px;
    padding: 12px 0;
}
.transfer-announce .body .actions img {
    display: block;
    height: 48px;
}
.transfer-announce .body .actions .plain {
    padding: 12px 0;
    font-size: 90%;
    color: #777777;
}
.achievement-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;

    .achievement {
        gap: 20px;
        background: linear-gradient(45deg, rgb(209, 255, 255), rgb(220, 191, 255));
        border-radius: 16px;
        box-shadow: var(--common-box-shadow), inset 0 0 0 5px rgba(255, 255, 255, 0.2);
        margin: auto;
        padding: 24px 32px 32px;
    }
    .achievement .plan-name {
        margin-bottom: 8px;
        font-size: 120%;
        font-weight: bold;
    }
    .achievement .thumbnail {
        display: block;
        width: 100%;
        border-radius: 6px;
        aspect-ratio: 577 / 283;
        margin-bottom: 10px;
        object-fit: cover;
    }
    .achievement .detail-table {
        background: rgba(255, 255, 255, 0.7);
        border: solid 1px #bbbbbb;
        border-radius: 12px;
        margin-bottom: 12px;
        overflow: hidden;
    }
    .achievement .detail-table section {
        display: flex;
        align-items: center;
    }
    .achievement .detail-table section:not(:last-child) {
        border-bottom: solid 1px #bbbbbb;
    }
    .achievement .detail-table section .label {
        display: flex;
        align-items: center;
        align-self: stretch;
        width: 40%;
        background: rgba(0, 0, 0, 0.03);
        border-right: solid 1px #bbbbbb;
        padding: 6px 8px;
        font-weight: bold;
    }
    .achievement .detail-table section .value {
        align-self: stretch;
        padding: 6px 8px;
    }
    .achievement .races {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        margin-bottom: 20px;
    }
    .achievement .races .race-sep {
        margin: 0 6px;
        font-size: 40px;
        color: #222;
    }
    .achievement .races .race {
        margin-bottom: 10px;
    }
    .achievement .races .race .name {
        border-bottom: solid 1px rgba(0, 0, 0, 0.3);
        margin-bottom: 4px;
        font-size: 16px;
        font-weight: bold;
        text-align: center;
    }
    .achievement .races .race .kaime {
        zoom: 0.95;
        @media only screen and (max-width: 600px) {
            zoom: 0.8;
        }
    }
    .achievement .reward {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: #fef3c5;
        border-radius: 12px;
        padding: 8px 20px;
    }
    .achievement .reward .label {
        display: flex;
        align-items: center;
        height: 26px;
        background: #fff;
        border: solid 1px #888;
        border-radius: 100vmax;
        padding: 2px 12px 0;
        font-weight: bold;
    }
    .achievement .reward .value {
        font-size: 24px;
    }
    .achievement .reward .value span {
        font-size: 75%;
    }
}
.kaime {
    display: flex;
    align-items: center;
    gap: 4px;

    .number {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 42px;
        height: 42px;
        background: rgba(0, 0, 0, 0.2);
        border-radius: 4px;
        font-weight: bold;
        font-size: 22px;
    }
    .number[data-number="1"] {
        background-color: #fff;
        color: #000;
        box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
    }
    .number[data-number="2"] {
        background-color: #000;
        color: #fff;
    }
    .number[data-number="3"] {
        background-color: #cd0025;
        color: #fff;
    }
    .number[data-number="4"] {
        background-color: #296eb0;
        color: #fff;
    }
    .number[data-number="5"] {
        background-color: #fff149;
        color: #000;
    }
    .number[data-number="6"] {
        background-color: #62ab4f;
        color: #fff;
    }

    .sep {
        color: #555555;
    }
}
.large-button {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 200px;
    height: 46px;
    background: var(--primary-color);
    border: 0;
    border-radius: 100vmax;
    padding: 0 22px;
    color: #ffffff;
    font-size: 110%;
    transition: filter 150ms;
}
.large-button:hover {
    filter: brightness(1.2);
}
.large-button.gray {
    background: #e7e7e7;
    color: #666666;
}
.mail-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}
.mail-list .mail {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 12px;
    padding: 12px 24px 24px;
    box-shadow: var(--common-box-shadow);
}
.mail-list .mail .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: solid 1px rgba(0, 0, 0, 0.1);
    padding: 4px 0;
}
.mail-list .mail .header .icon {
    font-size: 24px;
    color: rgb(238, 125, 148);
}
.mail-list .mail .header .date {
    font-size: 90%;
    color: #777777;
}
.mail-list .mail.read .icon {
    color: #69719b;
}
.mail-list .mail .from {
    display: flex;
    align-items: center;
    padding: 4px 0;
}
.mail-list .mail .from .label {
    margin-right: 0.5em;
    color: #777777;
}
.mail-list .mail .from .value {
    font-weight: bold;
}
.mail-list .mail .subject {
    flex: 1;
    padding: 4px 0;
    font-size: 20px;
}
.mail-list .mail .actions {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}
.mail-list .mail .actions .button {
    width: fit-content;
}
.plan-list {
    .plan {
        display: flex;
        flex-wrap: wrap;
        gap: 10px 20px;
        background: #ffffff;
        border-radius: 16px;
        box-shadow: var(--common-box-shadow);
        margin: auto;
        padding: 24px 32px 32px;
        @media only screen and (max-width: 600px) {
            flex-direction: column;
        }
    }
    .plan .plan-name {
        width: 100%;
        font-size: 18px;
        font-weight: bold;
    }
    .plan:not(:last-child) {
        margin-bottom: 20px;
    }
    .plan .summary {
        flex: 1;
    }
    .plan .summary img {
        width: 100%;
        border-radius: 6px;
        aspect-ratio: 577 / 283;
        margin-bottom: 10px;
        object-fit: cover;
    }
    .plan .summary .target-amount {
        background: #222222;
        border-radius: 8px;
        padding: 3px 12px 6px;
        color: #ffffff;
        font-weight: bold;
    }
    .plan .summary .target-amount .label {
        font-size: 12px;
    }
    .plan .summary .target-amount .value {
        min-height: 32px;
        font-size: 150%;
        color: rgb(252, 225, 73);
        text-align: center;
        @media only screen and (max-width: 600px) {
            font-size: 140%;
        }
    }
    .plan .detail {
        flex: 1;
    }
    .plan .detail .detail-table {
        border: solid 1px #bbbbbb;
        border-radius: 12px;
        margin-bottom: 12px;
        overflow: hidden;
        @media only screen and (max-width: 600px) {
            zoom: 0.8;
        }
    }
    .plan .detail .detail-table section {
        display: flex;
        align-items: center;
    }
    .plan .detail .detail-table section:not(:last-child) {
        border-bottom: solid 1px #bbbbbb;
    }
    .plan .detail .detail-table section .label {
        display: flex;
        align-items: center;
        align-self: stretch;
        width: 40%;
        flex-shrink: 0;
        background: rgba(0, 0, 0, 0.03);
        border-right: solid 1px #bbbbbb;
        padding: 6px 8px;
        font-weight: bold;
    }
    .plan .detail .detail-table section .value {
        align-self: stretch;
        min-width: 0;
        padding: 6px 8px;
    }
    .plan .detail .detail-table section.large .label {
        background: rgb(253, 253, 91);
    }
    .plan .detail .detail-table .price-value {
        font-size: 130%;
        font-weight: bold;
    }
    .plan .detail .detail-table .product-detail {
        margin-top: 4px;
        font-size: 10px;
        color: #666666;
        line-height: 1.3;
    }
}
.plan-single {
    background: #ffffff;
    border-radius: 16px;
    margin: auto;
    padding: 32px;
    box-shadow: var(--common-box-shadow);

    img {
        width: 100%;
        border-radius: 6px;
        aspect-ratio: 577 / 283;
        margin-bottom: 20px;
        object-fit: cover;
    }
    .target-amount {
        background: #222222;
        border-radius: 8px;
        margin-bottom: 10px;
        padding: 3px 12px 6px;
        color: #ffffff;
        font-weight: bold;
    }
    .target-amount .label {
        font-size: 12px;
    }
    .target-amount .value {
        min-height: 32px;
        font-size: 150%;
        color: rgb(252, 225, 73);
        text-align: center;
    }
    .detail {
        flex: 1;
    }
    .detail .detail-table {
        border: solid 1px #bbbbbb;
        border-radius: 12px;
        margin-bottom: 12px;
        overflow: hidden;
    }
    .detail .detail-table section {
        display: flex;
        align-items: center;
    }
    .detail .detail-table section:not(:last-child) {
        border-bottom: solid 1px #bbbbbb;
    }
    .detail .detail-table section .label {
        display: flex;
        align-items: center;
        align-self: stretch;
        width: 40%;
        flex-shrink: 0;
        background: rgba(0, 0, 0, 0.03);
        border-right: solid 1px #bbbbbb;
        padding: 6px 8px;
        font-weight: bold;
    }
    .detail .detail-table section .value {
        align-self: stretch;
        min-width: 0;
        padding: 6px 8px;
    }
    .detail .detail-table section.large .label {
        background: rgb(253, 253, 91);
    }
    .detail .detail-table .price-value {
        font-size: 130%;
        font-weight: bold;
    }
    .detail .detail-table .product-detail {
        margin-top: 4px;
        font-size: 10px;
        color: #666666;
        line-height: 1.3;
    }
}
.payment-method-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;

    .option {
        display: flex;
        align-items: center;
        background: #ffffff;
        min-height: 80px;
        border-radius: 12px;
        padding: 12px 24px;
        box-shadow: var(--common-box-shadow);
        user-select: none;
        transition: 150ms;
    }
    .option:hover {
        box-shadow: var(--common-box-shadow-hover);
    }
    .option .checkbox {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 24px;
        height: 24px;
        background: #eeeeee;
        border: solid 2px #ddd;
        border-radius: 50%;
        margin-right: 20px;
        padding-top: 2px;
        font-size: 18px;
        color: transparent;
        transition: 150ms;
    }
    .option .summary {
        flex: 1;
    }
    .option .summary .name {
        margin-bottom: 3px;
        font-size: 18px;
    }
    .option .summary .brand-logos {
        display: flex;
        gap: 16px;
        flex-wrap: wrap;
        img {
            height: 28px;
        }
    }
    .option.selected .checkbox {
        background: #d9fff2;
        border-color: var(--primary-color);
        color: var(--primary-color);
    }
}
.point-charge-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(var(--min), 1fr));
    gap: 20px;

    --min: 220px;
    @media only screen and (max-width: 600px) {
        --min: 150px;
        gap: 10px;
    }

    .option {
        display: flex;
        align-items: center;
        background: #ffffff;
        border-radius: 12px;
        padding: 12px 24px;
        box-shadow: var(--common-box-shadow);
        user-select: none;
        transition: 150ms;
    }
    .option:hover {
        box-shadow: var(--common-box-shadow-hover);
    }
    .option .checkbox {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 24px;
        height: 24px;
        background: #eeeeee;
        border: solid 2px #ddd;
        border-radius: 50%;
        margin-right: 20px;
        padding-top: 2px;
        font-size: 18px;
        color: transparent;
        transition: 150ms;
    }
    .option .summary {
        flex: 1;
    }
    .option .summary .point {
        font-size: 22px;
    }
    .option .summary .price {
        color: var(--primary-color);
    }
    .option.selected .checkbox {
        background: #d9fff2;
        border-color: var(--primary-color);
        color: var(--primary-color);
    }
}
.prediction-list {
    display: flex;
    flex-direction: column;
    gap: 32px;

    .prediction header {
        gap: 20px;
        background: #ffffff;
        border-radius: 12px;
        margin-bottom: 16px;
        padding: 12px 20px;
        box-shadow: var(--common-box-shadow);
    }
    .prediction header .meta {
        display: flex;
        align-items: center;
        border-bottom: solid 2px rgba(0, 0, 0, 0.1);
        margin-bottom: 6px;
        padding-bottom: 6px;
    }
    .prediction header .meta .index {
        background: var(--primary-color);
        border-radius: 6px;
        padding: 2px 8px;
        font-size: 90%;
        font-weight: bold;
        color: #ffffff;
    }
    .prediction header .race-name {
        font-size: 140%;
        font-weight: bold;
    }
    .prediction .kaimes {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    .prediction .no-kaimes {
        padding: 40px 0;
        color: var(--warning-color);
        text-align: center;
    }
    .prediction .not-available {
        padding: 40px 0;
        color: #777777;
        text-align: center;
    }
}
.product-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    border: solid 1px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    padding: 8px;

    img {
        display: block;
        width: 64px;
        height: 64px;
        border-radius: 8px;
        object-fit: cover;
    }
    .summary .name {
        margin-bottom: 4px;
        font-size: 120%;
    }
}
body[data-theme-id="victoryBoat"] {
    --primary-color: #c99321;
    --secondary-color: #f9d76c;
    --warning-color: #e3151d;
    --common-box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
    --common-box-shadow-hover: 0 18px 44px rgba(201, 147, 33, 0.24);
    background:
        radial-gradient(circle at 50% 7%, rgba(17, 73, 117, 0.2), transparent 24rem),
        linear-gradient(180deg, #010712, #030b16 45%, #010712);
    color: #fffdf1;
}

body[data-theme-id="victoryBoat"] #common-header .header-main {
    background: linear-gradient(135deg, #010712, #071b31);
    border-bottom: 1px solid rgba(233, 185, 56, 0.55);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

body[data-theme-id="victoryBoat"] #common-header .header-sub {
    background: #07182b;
    border-bottom: 1px solid rgba(233, 185, 56, 0.28);
}

body[data-theme-id="victoryBoat"] #common-header .header-sub .inner a {
    color: #fff7dc;
}

body[data-theme-id="victoryBoat"] #common-header .header-sub .inner a i {
    color: #f9d76c;
}

body[data-theme-id="victoryBoat"] .page-section-title .title::after {
    background: linear-gradient(90deg, #fff0a3, #c99321, #8f6010);
}

body[data-theme-id="victoryBoat"] .white-box,
body[data-theme-id="victoryBoat"] .plan-list .plan,
body[data-theme-id="victoryBoat"] .plan-single,
body[data-theme-id="victoryBoat"] .mail-list .mail {
    background: linear-gradient(135deg, #fff9e8, #eee0b8);
    border: 1px solid rgba(233, 185, 56, 0.72);
    border-radius: 7px;
    color: #15100a;
    box-shadow: inset 0 0 0 2px rgba(75, 44, 5, 0.1), var(--common-box-shadow);
}

body[data-theme-id="victoryBoat"] .large-button,
body[data-theme-id="victoryBoat"] .button.primary {
    background: linear-gradient(#e3151d, #a40008);
    border: 1px solid #ffd45b;
    color: #ffffff;
    font-weight: 900;
    box-shadow: inset 0 0 0 2px rgba(255, 234, 145, 0.4), 0 7px 18px rgba(0, 0, 0, 0.28);
}

body[data-theme-id="victoryBoat"] .plan-list .plan .summary .target-amount,
body[data-theme-id="victoryBoat"] .plan-single .target-amount {
    background: linear-gradient(135deg, #071b31, #010712);
    border: 1px solid rgba(249, 215, 108, 0.48);
    color: #f9d76c;
}

body[data-theme-id="victoryBoat"] .point-charge-options .option.selected .checkbox,
body[data-theme-id="victoryBoat"] .payment-method-options .option.selected .checkbox {
    background: #fff0a3;
    border-color: #c99321;
    color: #3a2405;
}

body[data-theme-id="victoryBoat"] .payment-method-options .option,
body[data-theme-id="victoryBoat"] .point-charge-options .option {
    background: linear-gradient(135deg, #fff9e8, #eee0b8);
    border: 1px solid rgba(233, 185, 56, 0.72);
    color: #15100a;
    box-shadow: inset 0 0 0 2px rgba(75, 44, 5, 0.1), var(--common-box-shadow);
}

body[data-theme-id="victoryBoat"] .payment-method-options .option:hover,
body[data-theme-id="victoryBoat"] .point-charge-options .option:hover {
    box-shadow: inset 0 0 0 2px rgba(75, 44, 5, 0.16), var(--common-box-shadow-hover);
}

body[data-theme-id="victoryBoat"] .payment-method-options .option .summary .name,
body[data-theme-id="victoryBoat"] .point-charge-options .option .summary .point {
    color: #15100a;
    font-weight: 900;
}

body[data-theme-id="victoryBoat"] .point-charge-options .option .summary .price {
    color: #a40008;
    font-weight: 900;
}

body[data-theme-id="victoryBoat"] .payment-method-options .option .checkbox,
body[data-theme-id="victoryBoat"] .point-charge-options .option .checkbox {
    background: #07182b;
    border-color: #c99321;
    color: transparent;
}

body[data-theme-id="victoryBoat"] #common-footer {
    background: #010711;
    border-top: 1px solid rgba(233, 185, 56, 0.5);
    color: #aab3bd;
}

body[data-theme-id="victoryBoat"] #common-footer .footer-menu a {
    color: #fff7dc;
}

body[data-theme-id="victoryBoat"] #common-footer .footer-menu span {
    background: rgba(233, 185, 56, 0.36);
}
#page-add-friend-redirect :is(#common-header, #common-footer) {
    opacity: 0;
    pointer-events: none;
}
#page-dashboard {
    .main-image {
        display: block;
        width: 100%;
        margin-bottom: 50px;
    }

    .boat-schedule-white-box {
        @media only screen and (max-width: 600px) {
            padding: 16px;
        }
    }

    .boat-schedule table {
        width: 100%;
        border-collapse: collapse;
        @media only screen and (max-width: 600px) {
            zoom: 0.8;
        }
    }
    .boat-schedule table thead tr {
        line-height: 1.2;
        background: var(--secondary-color);
    }
    .boat-schedule table tbody tr:nth-child(odd) {
        background: rgba(0, 0, 0, 0.05);
    }
    .boat-schedule table tbody :is(td, th) {
        padding: 10px 0;
    }
    .boat-schedule table .location-cell {
        text-align: center;
    }
    .boat-schedule table .grade-cell {
        line-height: 1;
        width: 40px;
    }
    .boat-schedule table .time-cell {
        line-height: 1;
        width: 20px;
    }
    .boat-schedule table .title-cell {
        @media only screen and (max-width: 600px) {
            width: 45%;
        }
    }
    .boat-schedule table tbody .title-cell {
        font-weight: bold;
    }
    .boat-schedule table .period-cell {
        line-height: 1.2;
        text-align: center;
    }
    .boat-schedule table .period-cell span {
        font-size: 90%;
        font-weight: bold;
        color: #474b68;
    }

    .boat-schedule .is-SGa:before {
        display: inline-block;
        content: "";
        background: url("/assets/img/boat-schedule/icon_state4_1_a.png") 0 0 no-repeat;
        background-size: contain;
        width: 40px;
        height: 40px;
    }

    .boat-schedule .is-G1a:before {
        display: inline-block;
        content: "";
        background: url("/assets/img/boat-schedule/icon_state4_2_a.png") 0 0 no-repeat;
        background-size: contain;
        width: 40px;
        height: 40px;
    }

    .boat-schedule .is-G1b:before {
        display: inline-block;
        content: "";
        background: url("/assets/img/boat-schedule/icon_state4_2_b.png") 0 0 no-repeat;
        background-size: contain;
        width: 35px;
        height: 35px;
    }

    .boat-schedule .is-G2b:before {
        display: inline-block;
        content: "";
        background: url("/assets/img/boat-schedule/icon_state4_3_b.png") 0 0 no-repeat;
        background-size: contain;
        width: 35px;
        height: 35px;
    }

    .boat-schedule .is-G3b:before {
        display: inline-block;
        content: "";
        background: url("/assets/img/boat-schedule/icon_state4_4_b.png") 0 0 no-repeat;
        background-size: contain;
        width: 35px;
        height: 35px;
    }

    .boat-schedule .is-ippan:before {
        display: inline-block;
        content: "";
        background: url("/assets/img/boat-schedule/icon_state4_5_b.png") 0 0 no-repeat;
        background-size: contain;
        width: 35px;
        height: 35px;
    }

    .boat-schedule .is-woman:before {
        display: inline-block;
        content: "";
        background: url("/assets/img/boat-schedule/icon_state4_6_b.png") 0 0 no-repeat;
        background-size: contain;
        width: 35px;
        height: 35px;
    }

    .boat-schedule .is-venus:after {
        display: inline-block;
        vertical-align: middle;
        content: "";
        background: url("/assets/img/boat-schedule/icon_state1_5.png") 0 0 no-repeat;
        background-size: contain;
        width: 17px;
        height: 12px;
        margin-top: 5px;
    }

    .boat-schedule .is-venus:first-child:after {
        margin-top: 0;
    }

    .boat-schedule .is-lady:after {
        display: inline-block;
        vertical-align: middle;
        content: "";
        background: url("/assets/img/boat-schedule/icon_state1_4.png") 0 0 no-repeat;
        background-size: contain;
        width: 17px;
        height: 12px;
        margin-top: 5px;
    }

    .boat-schedule .is-lady:first-child:after {
        margin-top: 0;
    }

    .boat-schedule .is-morning:after {
        display: inline-block;
        vertical-align: middle;
        content: "";
        background: url("/assets/img/boat-schedule/icon_state1_1.png") 0 0 no-repeat;
        background-size: contain;
        width: 17px;
        height: 17px;
    }

    .boat-schedule .is-summer:after {
        display: inline-block;
        vertical-align: middle;
        content: "";
        background: url("/assets/img/boat-schedule/icon_state1_2.png") 0 0 no-repeat;
        background-size: contain;
        width: 17px;
        height: 17px;
    }

    .boat-schedule .is-night:after {
        display: inline-block;
        vertical-align: middle;
        content: "";
        background: url("/assets/img/boat-schedule/icon_state1_3.png") 0 0 no-repeat;
        background-size: contain;
        width: 17px;
        height: 17px;
    }

    /*+ 2016.07.16 Add NEC R.Abe +*/
    .boat-schedule .is-nighter:after {
        display: inline-block;
        vertical-align: middle;
        content: "";
        background: url("/assets/img/boat-schedule/icon_state1_3.png") 0 0 no-repeat;
        background-size: contain;
        width: 17px;
        height: 17px;
    }

    .boat-schedule .is-victory:before {
        content: "";
        display: inline-block;
        vertical-align: middle;
        background: url("/assets/img/boat-schedule/icon_victory1_1.png") 0 0 no-repeat;
        background-size: contain;
        width: 21px;
        height: 19px;
        margin-right: 5px;
    }

    .page-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        @media only screen and (max-width: 600px) {
            flex-direction: column;
        }
    }
}
#page-entry {
    opacity: 0;
    pointer-events: none;
}
#page-error-common main {
    padding-top: 100px;
}
#page-error-unauthorized {
    main {
        padding-top: 100px;
    }
    .lock-icon {
        margin-right: 5px;
        color: rgb(207, 157, 66);
        font-size: 120%;
    }
    .actions {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
        margin-top: 20px;
    }
}
#page-mail {
    .mail-box .mail-header {
        border-bottom: solid 1px rgba(0, 0, 0, 0.3);
        margin-bottom: 32px;
        padding-bottom: 16px;
    }
    .mail-box .mail-header .meta {
        display: flex;
        justify-content: space-between;
        padding: 0 2px 8px;
    }
    .mail-box .mail-header .meta .from {
        display: flex;
        align-items: center;
    }
    .mail-box .mail-header .meta .from .label {
        margin-right: 0.5em;
        color: #777777;
    }
    .mail-box .mail-header .meta .from .value {
        font-weight: bold;
    }
    .mail-box .mail-header .subject {
        font-size: 150%;
        font-weight: bold;
    }

    .mail-box .mail-body {
        font-size: 120%;
        white-space: pre-line;
    }
    .mail-box .mail-thumbnail {
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }
    .mail-box .mail-thumbnail img {
        width: 100%;
        max-width: 500px;
        border-radius: 6px;
    }

    .reply-box {
        margin-top: 32px;
    }
    .reply-box .label {
        margin-bottom: 10px;
        font-size: 20px;
        color: #777777;
        text-align: center;
    }
    .reply-box .textarea {
        width: 100%;
        height: 250px;
        margin-bottom: 10px;
        border: solid 3px #dddddd;
        border-radius: 16px;
        padding: 12px;
        font-size: 120%;
        font-family: inherit;
    }
    .reply-box .actions {
        display: flex;
        justify-content: center;
    }

    .replies {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-top: 50px;
    }
    .replies .reply {
        padding: 20px 32px;
    }
    .replies .reply .label {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 120px;
        height: 32px;
        background: #777777;
        border-radius: 100vmax;
        color: #fff;
        margin-bottom: 12px;
        font-size: 120%;
    }
    .replies .reply .body {
        white-space: pre-line;
    }
}
/* Payment Application Completed Page Styles */

#page-payment-application-completed {
    .page-content {
        text-align: center;
        padding: 2rem;
    }

    .page-section-title .title {
        font-size: 1.5rem;
        font-weight: bold;
        color: #ffc107;
        margin-bottom: 1rem;
    }

    .application-message {
        background-color: #fff3cd;
        border: 1px solid #ffeaa7;
        border-radius: 0.375rem;
        padding: 1.5rem;
        margin: 2rem 0;
        color: #856404;
    }

    .application-message .icon {
        font-size: 3rem;
        margin-bottom: 1rem;
        color: #ffc107;
    }

    .application-message .message {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .application-message .sub-message {
        font-size: 0.9rem;
        opacity: 0.8;
    }

    .order-info {
        background-color: #f8f9fa;
        border: 1px solid #dee2e6;
        border-radius: 0.375rem;
        padding: 1rem;
        margin: 1.5rem 0;
        text-align: left;
    }

    .order-info .label {
        font-weight: bold;
        color: #495057;
        margin-bottom: 0.25rem;
    }

    .order-info .value {
        color: #212529;
        margin-bottom: 1rem;
    }

    .status-info {
        background-color: #e2e3e5;
        border: 1px solid #d6d8db;
        border-radius: 0.375rem;
        padding: 1rem;
        margin: 1.5rem 0;
        color: #383d41;
    }

    .status-info .status-label {
        font-weight: bold;
        margin-bottom: 0.5rem;
    }

    .status-info .status-description {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .page-actions {
        margin-top: 2rem;
    }

    /* ボタンスタイルは既存のlarge-buttonクラスを使用 */
    .page-actions .large-button {
        margin: 0 0.5rem;
    }
}
/* Payment Completed Page Styles */

#page-payment-completed {
    .page-content {
        text-align: center;
        padding: 2rem;
    }

    .page-section-title .title {
        font-size: 1.5rem;
        font-weight: bold;
        color: #28a745;
        margin-bottom: 1rem;
    }

    .completion-message {
        background-color: #d4edda;
        border: 1px solid #c3e6cb;
        border-radius: 0.375rem;
        padding: 1.5rem;
        margin: 2rem 0;
        color: #155724;
    }

    .completion-message .icon {
        font-size: 3rem;
        margin-bottom: 1rem;
        color: #28a745;
    }

    .completion-message .message {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .completion-message .sub-message {
        font-size: 0.9rem;
        opacity: 0.8;
    }

    .order-info {
        background-color: #f8f9fa;
        border: 1px solid #dee2e6;
        border-radius: 0.375rem;
        padding: 1rem;
        margin: 1.5rem 0;
        text-align: left;
    }

    .order-info .label {
        font-weight: bold;
        color: #495057;
        margin-bottom: 0.25rem;
    }

    .order-info .value {
        color: #212529;
        margin-bottom: 1rem;
    }

    .page-actions {
        margin-top: 2rem;
    }

    /* ボタンスタイルは既存のlarge-buttonクラスを使用 */
}
/* Payment Error Page Styles */

#page-payment-error {
    .page-content {
        text-align: center;
        padding: 2rem;
    }

    .page-section-title .title {
        font-size: 1.5rem;
        font-weight: bold;
        color: #dc3545;
        margin-bottom: 1rem;
    }

    .error-message {
        background-color: #f8d7da;
        border: 1px solid #f5c6cb;
        border-radius: 0.375rem;
        padding: 1.5rem;
        margin: 2rem 0;
        color: #721c24;
    }

    .error-message .icon {
        font-size: 3rem;
        margin-bottom: 1rem;
        color: #dc3545;
    }

    .error-message .message {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .error-message .sub-message {
        font-size: 0.9rem;
        opacity: 0.8;
    }

    .order-info {
        background-color: #f8f9fa;
        border: 1px solid #dee2e6;
        border-radius: 0.375rem;
        padding: 1rem;
        margin: 1.5rem 0;
        text-align: left;
    }

    .order-info .label {
        font-weight: bold;
        color: #495057;
        margin-bottom: 0.25rem;
    }

    .order-info .value {
        color: #212529;
        margin-bottom: 1rem;
    }

    .error-details {
        background-color: #fff3cd;
        border: 1px solid #ffeaa7;
        border-radius: 0.375rem;
        padding: 1rem;
        margin: 1.5rem 0;
        color: #856404;
        text-align: left;
    }

    .error-details .error-label {
        font-weight: bold;
        margin-bottom: 0.5rem;
    }

    .error-details .error-description {
        font-size: 0.9rem;
        line-height: 1.4;
        background-color: #f8f9fa;
        padding: 0.5rem;
        border-radius: 0.25rem;
        border: 1px solid #dee2e6;
        font-family: monospace;
        color: #495057;
    }

    .support-info {
        background-color: #e2e3e5;
        border: 1px solid #d6d8db;
        border-radius: 0.375rem;
        padding: 1rem;
        margin: 1.5rem 0;
        color: #383d41;
    }

    .support-info .support-label {
        font-weight: bold;
        margin-bottom: 0.5rem;
    }

    .support-info .support-description {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .page-actions {
        margin-top: 2rem;
    }

    /* ボタンスタイルは既存のlarge-buttonクラスを使用 */
    .page-actions .large-button {
        margin: 0 0.5rem;
    }
}
#page-payment-history {
    .payment-history {
        max-width: 1000px;
        margin: 0 auto;
        padding: 20px;
    }

    .page-header {
        margin-bottom: 30px;
    }

    .page-title {
        font-size: 24px;
        font-weight: 600;
        color: #333;
        margin: 0;
    }

    /* Empty State */
    .empty-state {
        text-align: center;
        padding: 60px 20px;
        background: #f8f9fa;
        border-radius: 8px;
        border: 1px solid #e9ecef;
    }

    .empty-state-icon {
        font-size: 48px;
        color: #6c757d;
        margin-bottom: 16px;
    }

    .empty-state-message {
        font-size: 16px;
        color: #6c757d;
        margin: 0 0 24px 0;
    }

    .empty-state-actions {
        margin-top: 20px;
    }

    /* Table */
    .payment-history-table-container {
        background: white;
        border-radius: 8px;
        border: 1px solid #e9ecef;
        overflow: hidden;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .payment-history-table {
        width: 100%;
        border-collapse: collapse;
        @media only screen and (max-width: 600px) {
            font-size: 90%;
        }
    }

    .payment-history-table thead {
        background: #f8f9fa;
    }

    .payment-history-table th {
        padding: 16px 12px;
        text-align: left;
        font-weight: 600;
        color: #495057;
        border-bottom: 1px solid #e9ecef;
    }

    .payment-history-table td {
        padding: 16px 12px;
        border-bottom: 1px solid #f1f3f4;
    }

    .payment-row:last-child td {
        border-bottom: none;
    }

    .payment-row:hover {
        background: #f8f9fa;
    }

    /* Column widths */
    .date-column {
        width: 20%;
        @media only screen and (max-width: 600px) {
            width: 120px;
        }
    }
    .provider-column {
        width: 25%;
        @media only screen and (max-width: 600px) {
            width: 100px;
        }
    }
    .amount-column {
        width: 15%;
    }
    .status-column {
        width: 20%;
    }
    .action-column {
        width: 20%;
    }

    /* Cell content */
    .date-cell {
        font-size: 14px;
    }

    .date-main {
        font-weight: 500;
        color: #333;
    }

    .time-sub {
        font-size: 12px;
        color: #6c757d;
        margin-top: 2px;
    }

    .provider-name {
        font-weight: 500;
        color: #333;
    }

    .amount {
        font-weight: 600;
        font-size: 16px;
        color: #333;
    }

    .excess-amount {
        font-size: 12px;
        color: #333;
        font-weight: 500;
        margin-top: 2px;
    }

    /* Status badges */
    .status-badge {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 12px;
        font-weight: 500;
        text-transform: uppercase;
    }

    .status-badge.status-pending {
        background: #fff3cd;
        color: #856404;
        border: 1px solid #ffeaa7;
    }

    .status-badge.status-completed {
        background: #d1edff;
        color: #0c5460;
        border: 1px solid #bee5eb;
    }

    .status-badge.status-failed {
        background: #f8d7da;
        color: #721c24;
        border: 1px solid #f5c6cb;
    }

    .no-action {
        color: #6c757d;
        font-size: 14px;
    }

    /* Summary */
    .payment-history-summary {
        margin-top: 20px;
        padding: 12px 16px;
        background: #f8f9fa;
        border-radius: 6px;
        border: 1px solid #e9ecef;
    }

    .summary-text {
        margin: 0;
        font-size: 14px;
        color: #6c757d;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    /* Navigation */
    .page-navigation {
        margin-top: 30px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 16px;
    }

    .back-link,
    .action-link {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 8px 16px;
        text-decoration: none;
        border-radius: 6px;
        font-weight: 500;
        transition: all 0.2s ease;
    }

    .back-link {
        color: #6c757d;
        background: #f8f9fa;
        border: 1px solid #e9ecef;
    }

    .back-link:hover {
        color: #495057;
        background: #e9ecef;
    }

    .action-link {
        color: white;
        background: #007bff;
        border: 1px solid #007bff;
    }

    .action-link:hover {
        background: #0056b3;
        border-color: #0056b3;
    }

    /* Button styles */
    .btn {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 10px 20px;
        text-decoration: none;
        border-radius: 6px;
        font-weight: 500;
        border: 1px solid transparent;
        transition: all 0.2s ease;
    }

    .btn-primary {
        color: white;
        background: #007bff;
        border-color: #007bff;
    }

    .btn-primary:hover {
        background: #0056b3;
        border-color: #0056b3;
    }

    /* Responsive */
    @media (max-width: 600px) {
        .payment-history {
            padding: 16px;
        }

        .payment-history-table-container {
            overflow-x: auto;
        }

        .payment-history-table {
            min-width: 500px;
        }

        .payment-history-table th,
        .payment-history-table td {
            padding: 12px 8px;
        }

        .page-navigation {
            flex-direction: column;
            align-items: stretch;
        }

        .back-link,
        .action-link {
            justify-content: center;
        }
    }
}
.purchase-dialog {
    width: 500px;
    min-height: 120px;

    .message {
        margin-bottom: 10px;
    }
}
#page-plan {
    .plan-container {
        display: flex;
        align-items: center;
        gap: 32px;

        @media only screen and (max-width: 600px) {
            flex-direction: column;
        }
    }
    .plan-single {
        flex: 1;
        margin: 0 auto 32px;
    }
    .products {
        flex: 1;
    }
    .products .product {
        display: flex;
        align-items: center;
        border-bottom: solid 1px rgba(0, 0, 0, 0.1);
        padding: 12px;
    }
    .products .product .label {
        flex: 1;
        margin-right: 16px;
        font-size: 17px;
        color: #444444;
    }
    .products .product .value {
        display: flex;
        align-items: center;
        min-height: 32px;
    }
    .products .product .value .button {
        min-width: 150px;
    }
    .products .product .value .button.already-purchased-button {
        background: rgb(73, 120, 172);
    }
    .products .product .value .error {
        color: var(--warning-color);
        font-size: 90%;
    }
}
#page-point-charge {
    .page-actions {
        margin-top: 32px;
    }

    /* 決済プロバイダー固有入力フォーム */
    .payment-input-section {
        margin-top: 24px;
        margin-bottom: 24px;
    }

    .payment-input-container {
        margin-top: 16px;
    }

    .payment-input-form {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .input-group {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .input-group label {
        font-weight: 600;
        color: var(--color-text-primary);
        font-size: 14px;
    }

    .input-group .required {
        color: var(--color-error);
    }

    .input-group input {
        padding: 12px 16px;
        border: 1px solid rgba(0, 0, 0, 0.15);
        border-radius: 8px;
        font-size: 16px;
        transition: border-color 0.2s ease;
        background-color: #fff;
        color: var(--color-text-primary);
    }

    .input-group input:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px var(--color-primary-alpha-20);
    }

    .input-group input.error {
        border-color: var(--color-error);
    }

    .input-group input.error:focus {
        border-color: var(--color-error);
        box-shadow: 0 0 0 3px var(--color-error-alpha-20);
    }

    .error-message {
        display: none;
        color: var(--color-error);
        font-size: 12px;
        margin-top: 4px;
    }

    /* レスポンシブ対応 */
    @media (max-width: 768px) {
        .payment-input-form {
            gap: 12px;
        }

        .input-group {
            gap: 6px;
        }

        .input-group input {
            padding: 10px 14px;
            font-size: 16px; /* iOS Safari でのズーム防止 */
        }
    }
}
#page-product {
    .plan-container {
        display: flex;
        gap: 32px;

        @media only screen and (max-width: 600px) {
            flex-direction: column;
        }
    }
    .plan-single {
        flex: 1;
        margin: 0 auto 32px;
    }
    .predictions {
        flex: 1;
    }
}
#page-sign-in {
    main {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 20px 10px 50px;
    }

    .sign-in-container {
        width: 100%;
        max-width: 600px;
        border: solid 2px rgba(0, 0, 0, 0.03);
        background: rgba(0, 0, 0, 0.01);
        border-radius: 24px;
        margin: 50px auto 0;
        padding: 32px 32px;
    }
    .sign-in-container .title {
        margin-bottom: 20px;
        font-size: 26px;
        text-align: center;
    }
    .sign-in-container section {
        padding: 16px 0;
    }
    .sign-in-container section .label {
        margin-bottom: 10px;
        color: #384941;
        font-weight: bold;
    }
    .sign-in-container section input {
        width: 100%;
        height: 42px;
        border: solid 1px #ddd;
        border-radius: 5px;
        padding-left: 4px;
        font-size: 120%;
    }
    .sign-in-container .operations {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 32px;
    }
}
#page-transfer-unauthorized {
    .transfer {
        background: rgba(0, 0, 0, 0.05);
        border-radius: 8px;
        margin: 24px 0;
        padding: 12px 0;
        font-weight: bold;
        text-align: center;
    }
}
