@charset "utf-8";

/*‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
    共通
_______________________________________________________*/

* {
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "Meiryo", sans-serif !important;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    height: 100%;
}

main {
    flex: 1;
}

p {
    line-height: 1.5;
}

img {
    box-sizing: border-box;
    margin: 0 auto;
    width: 100%;
    height: auto;
    display: block;
}

.pc {
    display: block;
}

.sp {
    display: none;
}

.mb-10 {
    margin-bottom: 10px;
}

@media screen and (max-width: 768px) {
    .pc {
        display: none;
    }

    .sp {
        display: block;
    }
}

.content_area {
    box-sizing: border-box;
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
}

.inline-block {
    display: inline-block;
}

.DIN {
    font-family: din-2014, sans-serif !important;
    font-weight: bold;
}

@media screen and (max-width: 768px) {
    .h2 {
        font-size: 18px;
        margin: 40px 0 15px;
        padding-left: 40px;
    }

    p {
        font-size: 14px;
    }
}

/*‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
    共通 セッションメッセージ
_______________________________________________________*/

.session_msg {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    max-width: 450px;
    padding: 0.875rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    line-height: 1.5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    z-index: 9999;
    opacity: 1;
}

.session_msg.success {
    background: #d1fae5;
    color: #065f46;
}

.session_msg.error {
    background: #fee2e2;
    color: #991b1b;
}

.session_msg.warning {
    background: #fef3c7;
    color: #92400e;
}

.session_msg__text {
    flex: 1;
}

.session_msg__close {
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    color: inherit;
    opacity: 0.6;
    padding: 0;
    margin-top: 1px;
}

.session_msg__close:hover {
    opacity: 1;
}

@media screen and (max-width: 768px) {
    .session_msg {
        right: 12px;
        left: 12px;
        bottom: 16px;
        max-width: none;
    }
}

/*‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
    共通 header
_______________________________________________________*/

header .content_area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: start;
    padding: 10px;
}

/*‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
    ログインページ / パスワードページ 共通 header
_______________________________________________________*/

.auth-header {
    background-color: #005FD1;
}

.auth-header .mypage {
    background-color: #005FD1;
    padding: 5px 25px;
    font-weight: bold;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 25px;
    font-size: 1em;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.auth-header .mypage:hover {
    background-color: #fff;
    color: #005FD1;
    border: 2px solid #fff;
}

.auth-header img {
    margin: 0;
    padding: 15px 0;
    width: clamp(150px, 28vw, 240px);
    height: auto;
}

@media screen and (max-width: 768px) {
    .auth-header .mypage {
        padding: 5px 15px;
        font-size: 0.8em;
    }
}

/*‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
    ログインページ フォーム
_______________________________________________________*/

.login-form {
    text-align: center;
    padding: clamp(50px, 15vw, 110px) 0;
}

.login-form h2 {
    font-size: clamp(15px, 5.5vw, 26px);
    color: #005FD1;
}

.login-form form {
    padding: 30px 0;
}

.login-form .form-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding-bottom: 40px;
}

.login-form .input-group {
    width: 100%;
}

.login-form .input-group label {
    display: block;
    text-align: left;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 0.95em;
}

.login-form .input-group input {
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.login-form form .forgot-password {
    display: block;
    width: 100%;
    text-align: right;
    font-size: 0.9em;
    justify-items: end;
}

.login-form form .forgot-password .forgot-password-text {
    text-align: start;
    margin-bottom: 10px;
}

.login-form form .registration-link {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 0.9em;
}

.login-form form .registration-link .registration-text {
    text-align: center;
    margin-bottom: 10px;
}

.login-form form .login-button {
    box-sizing: border-box;
    width: 100%;
    max-width: 350px;
    padding: 18px;
    font-size: 0.95em;
    color: #fff;
    background-color: #005FD1;
    border: none;
    border-radius: 35px;
    box-shadow: 0 3px 7px rgba(0, 0, 0, .2);
    cursor: pointer;
}

.login-form form .login-button:hover {
    color: #fff;
    background-color: #285de6;
}

.login-form form .keep-login {
    box-sizing: border-box;
    width: 100%;
    max-width: 350px;
    margin: 18px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9em;
    text-align: left;
}

.login-form form .keep-login input[type="checkbox"] {
    width: auto;
    margin: 0;
    flex-shrink: 0;
}

.login-form form .keep-login label {
    cursor: pointer;
    font-weight: normal;
}

.login-banner img {
    max-width: 660px;
    margin: 0 auto;
    display: block;
}

/*‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
    新規会員登録フォーム
_______________________________________________________*/

.entry-form {
    text-align: center;
    padding-top: clamp(50px, 15vw, 80px);
}

.entry-form h2 {
    font-size: clamp(15px, 5.5vw, 26px);
    color: #005FD1;
}

.entry-form form {
    padding: 40px 0 90px;
}

.entry-form .form-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 27px;
    margin: 0 auto;
}

.entry-form .message {
    box-sizing: border-box;
    width: 100%;
    max-width: 550px;
    background-color: #F0F9FF;
    padding: 25px;
    border-radius: 5px;
    margin: 0 auto;
    font-size: 0.9em;
    line-height: 1.3;
}

@media screen and (max-width: 768px) {
    .entry-form .message {
        text-align: start;
    }
}

.entry-form .input-group_wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 750px;
}

@media screen and (max-width: 768px) {
    .entry-form .input-group_wrap {
        grid-template-columns: 1fr;
    }
}

.entry-form .input-group {
    width: 100%;
    text-align: left;
}

.entry-form .input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 0.95em;
}

.entry-form .input-group:has(input:required) label::after {
    content: "必須";
    display: inline-block;
    color: #fff;
    background: #FB5050;
    font-size: 0.75em;
    padding: 3px 8px;
    margin-left: 6px;
    border-radius: 15px;
}

.entry-form .input-group input {
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.entry-form .input-group p {
    text-align: left;
    padding-top: 5px;
    font-size: 0.9em;
}

.entry-form .form-agreement {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding-top: 10px;
    width: 100%;
    max-width: 400px;
}

.entry-form .button-area {
    width: 100%;
    max-width: 400px;
}

.entry-form .button-area button {
    box-sizing: border-box;
    width: 100%;
    max-width: 350px;
    padding: 18px;
    font-size: 1em;
    color: #fff;
    background-color: #005FD1;
    border: none;
    border-radius: 35px;
    box-shadow: 0 3px 7px rgba(0, 0, 0, .2);
    cursor: pointer;
}

.entry-form .button-area button:hover {
    background-color: #285de6;
}

.entry-form .button-area .return-top {
    display: block;
    width: 100%;
    text-align: right;
    font-size: 0.9em;
    padding-top: 15px;
    color: #000;
    text-decoration: none;
}

.entry-form .button-area .return-top:hover {
    color: #285de6;
}

.entry-form .error-area {
    box-sizing: border-box;
    width: 100%;
    max-width: 750px;
    padding: 12px 16px;
    background: #fee2e2;
    color: #991b1b;
    border-radius: 6px;
    font-size: 0.9em;
    text-align: left;
}

.entry-form .form-agreement label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.95em;
}

.entry-form .form-agreement input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: #005FD1;
}

.entry-form .button-area button:disabled {
    background-color: #E8E8E8;
    color: #000;
    box-shadow: none;
    cursor: not-allowed;
}

/*‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
    新規会員登録申請完了（thanks）
_______________________________________________________*/

.thanks-form {
    text-align: center;
    padding: clamp(50px, 15vw, 110px) 0 80px;
}

.thanks-form h2 {
    font-size: clamp(22px, 6vw, 40px);
    color: #005FD1;
    font-weight: bold;
    margin-bottom: 30px;
}

.thanks-form .message {
    box-sizing: border-box;
    width: 100%;
    max-width: 550px;
    background-color: #F0F9FF;
    padding: 25px;
    border-radius: 5px;
    margin: 0 auto 40px;
    font-size: 0.9em;
    line-height: 1.8;
}

.thanks-form .message span {
    display: inline-block;
}

.thanks-form .kaitori_img img {
    width: 200px;
    margin: 0 auto;
}

/*‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
    パスワード変更ページ フォーム
_______________________________________________________*/

.password-form {
    text-align: center;
    padding-top: clamp(50px, 15vw, 110px);
}

.password-form h2 {
    font-size: clamp(15px, 5.5vw, 26px);
    color: #005FD1;
}

.password-form form {
    padding: 30px 0 90px;
}

.password-form .form-group {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 27px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding-bottom: 50px;
}

.password-form .input-group {
    width: 100%;
}

.password-form .input-group label {
    display: block;
    text-align: left;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 0.95em;
}

.password-form .input-group input {
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.password-rule {
    width: 100%;
    margin: 0;
    text-align: left;
    font-size: 0.8em;
}

.password-rule .rule-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.password-form form .password-button {
    box-sizing: border-box;
    width: 100%;
    max-width: 350px;
    padding: 18px;
    font-size: 0.95em;
    color: #fff;
    background-color: #005FD1;
    border: none;
    border-radius: 35px;
    box-shadow: 0 3px 7px rgba(0, 0, 0, .2);
    cursor: pointer;
}

.password-form form .password-button:hover {
    color: #fff;
    background-color: #285de6;
}

/*‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
    マイページ 共通
_______________________________________________________*/

.dashboard body,
body.dashboard {
    background-color: #F0F9FF;
    padding-bottom: 100px;
}

.dashboard-content_area {
    box-sizing: border-box;
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
}

.dashboard-content_area a {
    text-decoration: none;
}

.section-h2 {
    position: relative;
    font-size: 1.5em;
    font-weight: bold;
    color: #042787;
    text-align: start;
    margin: 30px 0 20px;
    padding-left: 45px;
}

@media screen and (max-width: 768px) {
    .section-h2 {
        font-size: 18px;
        margin: 20px 0 15px;
        padding-left: 36px;
    }
}

/*‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
    マイページ header
_______________________________________________________*/

.member-header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
}

.member-header img {
    margin: 0;
    padding: 15px 0;
    width: clamp(150px, 28vw, 240px);
    height: auto;
}

.member-header .logout {
    background-color: #fff;
    padding: 5px 25px;
    font-weight: bold;
    color: #005FD1;
    border: 2px solid #005FD1;
    border-radius: 25px;
    font-size: 1em;
    cursor: pointer;
}

.member-header .logout:hover {
    background-color: #005FD1;
    color: #fff;
    border: 2px solid #005FD1;
}


@media screen and (max-width: 768px) {
    .member-header .logout {
        padding: 5px 15px;
        font-size: 0.8em;
    }
}

/*‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
    マイページ 共通ボタン
_______________________________________________________*/

.register-button {
    position: relative;
    box-sizing: border-box;
    display: block;
    width: 90%;
    max-width: 470px;
    margin: 30px auto;
    padding: 20px;
    font-size: 0.95em;
    color: #fff;
    text-align: center;
    text-decoration: none;
    background: linear-gradient(to right, #10becb 0%, #7318eb 100%);
    transition: all 0.3s ease;
    border: none;
    border-radius: 35px;
    box-shadow: 0 3px 7px rgba(0, 0, 0, .2);
    cursor: pointer;
    line-height: normal;
}

.register-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 8px rgba(115, 24, 235, 0.3);
    filter: brightness(1.1);
    cursor: pointer;
}

.register-button:after {
    content: "＋";
    position: absolute;
    top: 50%;
    left: 35px;
    transform: translate(-50%, -50%);
    color: #fff;
    z-index: 1;
}

/*‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
    マイページ 会員情報
_______________________________________________________*/

.company {
    background-color: #005FD1;
}

.company .company_name {
    padding: clamp(25px, 6vw, 45px) 0;
    font-size: clamp(15px, 5.5vw, 23px);
    color: #fff;
    font-weight: bold;
    text-align: start;
}

.member {
    padding-top: 50px;
}

.member_status {
    box-sizing: border-box;
    width: 90%;
    margin: 0 auto;
    background-color: #fff;
    padding: 25px 60px 25px 0;
    display: grid;
    grid-template-rows: auto auto auto auto;
    grid-template-columns: 5fr 7fr 6fr;
    gap: 10px;
}

.rank_batch {
    grid-row: 1 / 4;
    grid-column: 1 / 2;
    align-self: center;
    justify-self: center;
    width: auto;
    height: 100px;
}

.rank {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
}

.point {
    grid-row: 2 / 3;
    grid-column: 2 / 3;
}

.rank,
.point {
    align-self: center;
    justify-self: start;
    font-weight: bold;
    display: flex;
    align-items: center;
    line-height: 1;
}

.rank span {
    margin-left: 10px;
    font-size: 28px;
}

.point span {
    margin-left: 10px;
    font-size: 32px;
}

.point .unit {
    font-size: 16px;
    align-self: flex-end;
    margin-left: 3px;
}

.point_rate {
    grid-row: 1 / 2;
    grid-column: 3 / 4;
    align-self: center;
    justify-self: end;

    background-color: #F0F9FF;
    padding: 10px;
    border-radius: 5px;
}

.point_rate-num {
    font-size: 25px;
    padding: 0 5px;
}

.expiring-point {
    grid-row: 3 / 4;
    grid-column: 2 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: start;
    font-size: 14px;
    line-height: 1.2;
    color: #6B6969;
}

.expiring-point span {
    margin-left: 24px;
    font-size: 28px;
}

.member_link {
    grid-row: 3;
    grid-column: 3;
    color: #333333;
    font-size: 16px;
    border-bottom: 1px solid #333333;
    align-self: end;
    justify-self: end;
}

.member_link:hover {
    color: #005FD1;
    border-bottom: 1px solid #005FD1;
}

.rank_bar {
    grid-row: 4 / 5;
    grid-column: 2 / 4;
}

.next_rank {
    text-align: start;
    margin-bottom: 10px;
}

.total {
    text-align: end;
    margin-top: 10px;
}

@media screen and (max-width: 768px) {

    .member {
        position: relative;
        padding-top: 0;
        z-index: 2;
    }

    .member:before {
        position: absolute;
        content: "";
        bottom: 55%;
        left: 0;
        width: 100%;
        height: 46%;
        z-index: -2;
        background-color: #005FD1;
    }

    .member:after {
        position: absolute;
        content: "";
        bottom: 54%;
        left: 0;
        width: 100%;
        height: 30px;
        z-index: -1;
        background-color: #F0F9FF;
        border-radius: 100px 100px 0 0;
    }

    .member_status {
        width: 100%;
        padding: 15px 20px;
        border-radius: 10px;
        box-shadow: 0px 0px 10px rgb(162 187 251 / 57%);
        gap: 10px;
        grid-template-rows: auto auto auto auto;
        grid-template-columns: 1fr 2fr 1.5fr;
    }

    .rank_batch {
        grid-row: 1 / 3;
        grid-column: 1;
        align-self: center;
        justify-self: center;
        width: auto;
        height: 70px;
    }

    .rank {
        grid-row: 1;
        grid-column: 2;
    }

    .point {
        grid-row: 2;
        grid-column: 2 / 4;
    }

    .rank,
    .point {
        flex-direction: column;
        font-size: 10px;
        align-items: flex-start;
        justify-self: start;
    }

    .rank span {
        margin-top: 5px;
        margin-left: 0;
        font-size: 20px;
    }

    .point span {
        margin-top: 3px;
        margin-left: 0;
        font-size: 24px;
    }

    .point_rate {
        grid-row: 1;
        grid-column: 3;
        font-size: 10px;
        line-height: 1.2;
        padding: 5px;
        text-align: center;
        align-self: center;
        justify-self: center;
    }

    .point_rate-num {
        font-size: 16px;
        font-weight: bold;
        padding: 0 3px;
    }

    .expiring-point {
        display: flex;
        flex-direction: column;
        align-items: start;
        font-size: 11px;
        line-height: 1.2;
        color: #6B6969;
    }

    .expiring-point span {
        margin-left: 0;
        font-size: 22px;
    }

    .member_link {
        grid-row: 2;
        grid-column: 1 / 4;
        color: #333333;
        font-size: 10px;
        border-bottom: 1px solid #333333;
        align-self: center;
        justify-self: end;
    }

    .rank_bar {
        grid-row: 4;
        grid-column: 1 / 4;

        font-size: 11px;
        align-self: center;
        justify-self: center;
    }
}

/*‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
    マイページ ポイント履歴
_______________________________________________________*/

.point_history {
    padding-top: 10px;
}

.point_history .section-h2:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);

    width: clamp(36px, 6vw, 42px);
    height: 30px;
    background-image: url("/images/point_icon.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.table-wrapper {
    border: 1px solid #A2BBFB;
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
}

.point-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    background-color: #fff;
    border: none;
}

.point-table thead {
    background: rgba(162, 187, 251, 0.2);
}

.point-table th,
.point-table td {
    padding: 15px;
    text-align: center;
    vertical-align: middle;
    word-break: break-all;
}

.point-table th {
    color: #042787;
    font-weight: bold;
}

.point-table td {
    border-bottom: 1px solid #A2BBFB;
}

.point-table tr:last-child td {
    border-bottom: none;
}

.point-table th:nth-child(1),
.point-table td:nth-child(1) {
    width: 20%;
}

.point-table th:nth-child(2),
.point-table td:nth-child(2) {
    width: 40%;
}

.point-table td:nth-child(2) {
    text-align: start;
}

.point-table th:nth-child(3),
.point-table td:nth-child(3) {
    width: 20%;
}

.point-table th:nth-child(4),
.point-table td:nth-child(4) {
    width: 12.5%;
}

.point-table td.point-value {
    font-size: 25px;
}

@media (max-width: 768px) {
    .point_history .section-h2:before {
        height: 25px;
    }

    .point-table thead {
        display: none;
    }

    .table-wrapper,
    .point-table {
        background: none;
        border: none;
    }

    .point-table tr {
        display: flex;
        flex-wrap: wrap;
        border: 1px solid #d0d7ff;
        border-radius: 8px;
        overflow: hidden;
        margin-bottom: 10px;
        background: #fff;
    }

    .point-table td {
        display: block;
        box-sizing: border-box;
        padding: 10px 15px;
        font-size: 14px;
        border: none;
        text-align: start;
    }

    .point-table td:nth-child(1) {
        width: 100%;
        color: #042787;
        background: rgba(162, 187, 251, 0.2);
    }

    .point-table td:nth-child(2),
    .point-table td:nth-child(3) {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .point-table td:nth-child(2) {
        width: 100%;
        font-size: 14px;
        justify-content: start;
    }

    .point-table td:nth-child(3),
    .point-table td:nth-child(4) {
        width: 50%;
        text-align: center;
    }

    .point-table td:nth-child(4) {
        font-size: 15px;
        line-height: normal;
    }
}

/*‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
    マイページ 車査定履歴
_______________________________________________________*/

.car_history {
    padding-top: 10px;
}

.car_history .section-h2:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);

    width: clamp(36px, 6vw, 42px);
    height: 30px;
    background-image: url("/images/car_icon.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.car_history p {
    line-height: 1;
}

.number {
    text-align: end;
    font-size: 15px;
    margin-bottom: 10px;
}

.car-list_box {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.car-list {
    box-sizing: border-box;
    position: relative;
    width: 100%;
    height: 150px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    background-color: #fff;
    border: 1px solid #A2BBFB;
    box-shadow: 0px 0px 10px rgb(162 187 251 / 57%);
    border-radius: 10px;
}

.car-list:after {
    position: absolute;
    top: 0;
    right: 25px;
    bottom: 0;
    margin: auto;
    width: 12px;
    height: 12px;
    content: "";
    border-top: 2px solid #A2BBFB;
    border-right: 2px solid #A2BBFB;
    transform: rotate(45deg);
    border-radius: 1px;
}

.car-list a.car-list__link,
.car-list .car-list__link {
    box-sizing: border-box;
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
    border-radius: inherit;
}

.car-list a.car-list__link:hover {
    background-color: #f9f9f9;
}

.car-list--mypage-disabled {
    opacity: 0.65;
}

.car-list .car-list__link--disabled {
    cursor: not-allowed;
    pointer-events: none;
}

.car-list--mypage-disabled:after {
    opacity: 0.45;
}

.car-list_inner {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: 20px 45px 20px 25px;
    display: grid;
    gap: 20px;
    grid-template-rows: auto auto;
    grid-template-columns: auto auto;
}

.day {
    grid-row: 1;
    grid-column: 1;
    display: flex;
    align-self: start;
    gap: 30px;
}

.first-day {
    font-size: 14px;
}

.shaken span {
    margin-right: 8px;
    padding: 3px 8px;
    border-radius: 10px;
    background-color: #F0F9FF;
}

.status {
    position: absolute;
    top: 15px;
    right: 40px;
    padding: 8px 16px;
    color: #FFF;
    font-size: 16px;
    border-radius: 25px;
    text-align: center;
}

.status.active {
    background-color: #FF8801;
}

.status.completed {
    background-color: #57D03A;
}

/* .status.done {
    background-color: #FE2D2E;
} */

.maker-car {
    grid-row: 2;
    grid-column: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-weight: bold;
    align-self: end;
}

.maker {
    padding-right: 10px;
    font-size: 18px;
    text-align: start;
}

.car-name {
    font-size: 22px;
    font-weight: bold;
    text-align: start;
}

.price {
    grid-row: 2;
    grid-column: 2;
    align-self: end;
    justify-self: end;
    font-size: 32px;
    font-weight: bold;
}

.price span {
    margin-left: 8px;
    font-size: 18px;
}

.pagination {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #FFF;
    font-size: 18px;
    font-weight: bold;
    color: #A2BBFB;
    border: 2px solid #A2BBFB;
    border-radius: 50px;
}

.pagination a:hover,
.pagination a.active-page {
    background-color: #A2BBFB;
    color: #fff;
}

.pagination-disabled {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #f3f4f6;
    color: #d1d5db;
    border: 3px solid #e5e7eb;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
}

@media screen and (max-width: 768px) {
    .car-list {
        width: 100%;
        height: auto;
    }

    .car-list:after {
        right: 12px;
        width: 10px;
        height: 10px;
    }

    .car-list_inner {
        gap: 10px;
        padding: 15px 30px 15px 20px;
    }

    .day {
        display: flex;
        flex-direction: column;
        grid-column: 1 / 3;
        align-self: center;
        justify-self: start;
        gap: 5px;
    }

    .first-day {
        padding-left: 5px;
        font-size: clamp(13px, 3vw, 15px);
    }

    .shaken {
        font-size: clamp(13px, 3vw, 15px);
        text-align: start;
        line-height: 1.3;
    }

    .shaken span {
        display: inline-block;
        margin-right: 3px;
        padding: 3px 8px;
        border-radius: 10px;
        background-color: #F0F9FF;
    }

    .status {
        top: 10px;
        right: 25px;
        padding: 6px 12px;
        font-size: 13px;
    }

    .maker-car {
        grid-row: 2;
        grid-column: 1;
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .maker {
        padding-right: 10px;
        font-size: 14px;
    }

    .car-name {
        font-size: clamp(18px, 3vw, 20px);
        font-weight: bold;
    }

    .price {
        grid-row: 2;
        grid-column: 2;
        align-self: end;
        justify-self: end;
        font-size: 26px;
        font-weight: bold;
        padding-bottom: 0;
    }

    .price span {
        margin-left: 8px;
        font-size: 10px;
    }

    .pagination {
        margin-top: 20px;
    }

    .pagination a,
    .pagination span {
        width: 35px;
        height: 35px;
        font-size: 15px;
        border: 2px solid #A2BBFB;
    }

    .pagination-disabled {
        width: 35px;
        height: 35px;
        font-size: 15px;
        border: 2px solid #e5e7eb;
    }
}

/*‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
    マイページ 会員ランク説明
_______________________________________________________*/

.rank_description {
    padding-top: 10px;
}

.rank_description_area {
    box-sizing: border-box;
    width: 100%;
    background-color: #fff;
    margin-top: 30px;
    padding: 30px;
}

.rank_description_area p {
    line-height: 1.5;
}

.rank_description h3 {
    font-size: 20px;
    font-weight: bold;
    color: #042787;
    margin: 40px 0 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #3DB1FF;
}

.rank_description h4 {
    font-size: 18px;
    font-weight: bold;
    color: #6C95E8;
    margin: 30px 0 15px;
}

.rank_description .marker {
    font-weight: bold;
    background: linear-gradient(transparent 80%, #FFFF6D 80%);
}

.description_img {
    margin: 20px 0 0;
}

.rank_description h2:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    /* 縦中央揃え */

    display: block;
    width: clamp(30px, 6vw, 38px);
    /* 表示したい幅 */
    height: 30px;
    /* 表示したい高さ */
    background-image: url("/images/rank_icon.png");
    background-size: contain;
    /* 枠内に画像を収める */
    background-repeat: no-repeat;
    background-position: center;
}

/*会員ランクのグラフ説明*/

.rank_description_area_graph {
    box-sizing: border-box;
    display: grid;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
}

.rank_description_area_graph .rank_description_img {
    grid-row: 1;
    grid-column: 1;
    max-width: 420px;
    ;
    padding: 0 15px;
}

.benefit-grid {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 90px repeat(4, 1fr);
}

.benefit-grid>div {
    padding: 15px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.benefit-grid>div {
    padding: 15px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.benefit-grid>div:nth-child(-n+5) {
    border: none;
}

.benefit-grid>div:nth-child(n+7):nth-child(-n+10) {
    border-bottom: 1px solid #A2BBFB;
}

.benefit-grid>div:nth-child(n+11) {
    border-bottom: none;
}

.benefit-grid>div:nth-child(n+6):not(:nth-child(5n+1)):not(:nth-child(5n+2)) {
    border-left: 1px solid #A2BBFB;
}

.benefit-grid .cell {
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.6;
    color: #333;
}

.label-blue {
    border-radius: 8px;
    margin: 5px;
    font-weight: bold;

    background-color: #7B9AEE;
    padding: 10px 0;
    color: #fff;
    font-size: 13px;
    line-height: 1.3;
}

.label-empty {
    background-color: transparent;
}

.benefit-grid>div:nth-child(-n+5) {
    position: relative;
    padding-top: 60px;
    align-items: flex-end;
}

.bar-container {
    width: 50px;
    height: 150px;
    display: flex;
    align-items: flex-end;
}

.bar {
    position: relative;
    width: 100%;
    background-color: #0F0F0F;
    transition: height 0.5s ease;
}

.bar:before {
    content: "";
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 40px;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.bar.regular {
    height: 25%;
    background-color: #81D66B;
}

.bar.gold {
    height: 50%;
    background-color: #E3D265;
}

.bar.platina {
    height: 75%;
    background-color: #09BEDB;
}

.bar.black {
    height: 100%;
    background-color: #686868;
}

.bar.regular:before {
    background-image: url("/images/regular.png");
}

.bar.gold:before {
    background-image: url("/images/gold.png");
}

.bar.platina:before {
    background-image: url("/images/platina.png");
}

.bar.black:before {
    width: 50px;
    height: 50px;
    background-image: url("/images/black.png");
}

.benefit-grid .rate {
    font-size: 28px;
    font-weight: bold;
    font-family: 'Arial', sans-serif;
    color: #333;
}

.benefit-grid .rate span {
    font-size: 18px;
    margin-left: 2px;
}

.rank_card_area {
    grid-row: 1 / 3;
    grid-column: 2;
    align-self: center;

    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rank_card {
    box-sizing: border-box;
    width: 100%;
    padding: 3px 15px;
    border-radius: 10px;
    color: #fff;
    font-weight: bold;

    display: grid;
    grid-template-columns: 1fr 2.6fr 3fr;
    gap: 20px;
    align-items: center;
}

.rank_card.black {
    background-color: #686868;
}

.rank_card.platina {
    background-color: #09BEDB;
}

.rank_card.gold {
    background-color: #E3D265;
}

.rank_card.regular {
    background-color: #81D66B;
}

.rank_card .rank_img {
    width: auto;
    height: 60px;
    margin: 0;
    padding: 10px;

    grid-column: 1;
    justify-self: center;
}

.rank_card.black .rank_img {
    padding: 5px 10px;
}

.rank_card .rank_name {
    grid-column: 2;
    justify-self: start;

    font-size: 16px;
}

.rank_card .rank_point {
    grid-column: 3;
    justify-self: start;
    font-size: 13px;

    display: flex;
    align-items: center;
}

.rank_card .rank_point p {
    font-size: 13px;
    text-align: center;
}

.rank_card .rank_point .grant {
    font-size: 1.5rem;
    padding: 0 4px 1px;
}

@media screen and (max-width: 768px) {
    .rank_description_area {
        padding: 25px 10px;
    }

    .rank_description h3 {
        font-size: 17px;
        margin: 30px 0 15px;
    }

    .rank_description h4 {
        font-size: 16px;
        margin: 25px 0 10px;
    }

    .rank_description .marker {
        font-size: 15px;
    }

    .description_img {
        width: 100%;
        max-width: 430px;
        margin: 20px auto 0;
    }

    .rank_description_area_graph {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        gap: 30px;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        padding: 0 15px;
    }

    .benefit-grid {
        grid-template-columns: 70px repeat(4, 1fr);
    }

    .benefit-grid>div {
        padding: 10px 3px;
    }

    .bar-container {
        width: 86%;
        max-width: 63px;
        height: 150px;
    }

    .label-blue {
        padding: 10px 0;
        font-size: 12px;
    }

    .benefit-grid .cell {
        font-size: 0.9rem;
    }

    .benefit-grid .rate {
        font-size: 22px;
    }

    .rank_card {
        padding: 3px 13px;
        gap: 10px;
    }

    .rank_card .rank_img {
        padding: 10px 3px;
    }

    .rank_card.black .rank_img {
        padding: 5px 5px;
    }

    .rank_card .rank_name {
        font-size: 15px;
    }

    .rank_card .rank_point {
        gap: 5px;
    }

    .rank_card .rank_point p {
        font-size: 12px;
    }

    .rank_card .rank_point .grant {
        font-size: 1.3rem;
        padding: 0 3px 3px;
    }
}


/*‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
    マイページ 注意事項
_______________________________________________________*/

.caution {
    padding-top: 10px;
}

.caution p {
    line-height: 1.5;
}

.caution .section-h2:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    /* 縦中央揃え */

    /* 画像の設定 */
    width: clamp(28px, 6vw, 38px);
    height: 38px;
    /* 表示したい高さ */
    background-image: url("/images/caution_icon.png");
    background-size: contain;
    /* 枠内に画像を収める */
    background-repeat: no-repeat;
    background-position: center;
}

/*‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
    利用規約
_______________________________________________________*/

.terms.content_area {
    margin: 40px auto;
    line-height: 1.5;
}

/* タイトル */
.terms_title {
    text-align: start;
    font-size: 1.5rem;
    margin-bottom: 40px;
    padding-bottom: 10px;
    color: #005FD1;
    border-bottom: 2px solid #005FD1;
}

/* 各条（セクション） */
.terms_content section {
    margin-bottom: 30px;
}

/* 条文見出し (第n条) */
.terms_content h2 {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 15px;
    padding-left: 10px;
    color: #005FD1;
    border-left: 4px solid #005FD1;
    background: #F0F9FF;
    padding: 8px 12px;
}

/* 第1階層のリスト (1, 2, 3...) */
.level_1 {
    list-style: none;
    counter-reset: item;
    padding-left: 0;
}

.level_1>li {
    counter-increment: item;
    margin-bottom: 10px;
}

.level_1>li::before {
    content: counter(item) ". ";
    flex-shrink: 0;
    width: 2em;
    font-weight: bold;
}

/* 第2階層のリスト (数字から「○」に変更) */
.level_2 {
    list-style: none;
    padding-left: 1em;
    /* 親要素からのインデント */
    margin: 10px;
}

.level_2>li {
    display: flex;
    margin-bottom: 5px;
}

.level_2>li::before {
    /* 「○」を表示し、テキストとの間に少し余白を作る */
    content: "○";
    flex-shrink: 0;
    width: 1.5em;
    font-size: 0.9em;
    /* 少し小さめにすると規約っぽく馴染みます */
    display: inline-block;
}

/* 制定日・社名部分 */
.terms_footer {
    margin-top: 60px;
    text-align: right;
    font-size: 0.95rem;
}

.terms_footer span {
    display: inline-block;
    margin-top: 10px;
}

/*‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
    管理画面 ページネーション
_______________________________________________________*/

.admin-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.admin-pagination a,
.admin-pagination span[aria-current="page"],
.admin-pagination span[aria-disabled="true"]>span {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.85rem;
}

.admin-pagination a {
    color: #374151;
    background: #fff;
    text-decoration: none;
}

.admin-pagination a:hover {
    background: #f3f4f6;
}

.admin-pagination span[aria-current="page"] {
    background: #374151;
    color: #fff;
    border-color: #374151;
    font-weight: 600;
}

.admin-pagination span[aria-disabled="true"]>span {
    color: #9ca3af;
    background: #f9fafb;
}

/*‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
    管理画面 ポイント名称 プルダウンUI
_______________________________________________________*/

.autocomplete-container {
    position: relative;
    width: 100%;
}

.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.autocomplete-dropdown.show {
    display: block;
}

.autocomplete-item {
    padding: 10px 12px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    line-height: 1.4;
    min-height: 40px;
    display: flex;
    align-items: center;
}

.autocomplete-item:hover {
    background-color: #f5f5f5;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-no-results {
    padding: 10px 12px;
    color: #999;
    font-size: 14px;
    text-align: center;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
    フッター
_______________________________________________________*/

footer {
    background-color: #005FD1;
    padding: 20px 0;
}

footer .content_area {
    display: flex;
    gap: 15px;
}

footer a {
    position: relative;
    color: #fff;
    padding-left: 10px;
    font-size: 14px;
    text-decoration: none;
}

footer a:before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 0 6px 8px;
    border-color: transparent transparent transparent #ffffff;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    margin: auto;
}

/*‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
    管理画面 顧客一覧 検索フォーム
_______________________________________________________*/

.user-search-form {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.user-search-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem 1rem;
    margin-bottom: 1rem;
}

.user-search-field > label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 500;
    font-size: 0.85rem;
    color: #374151;
}

.user-search-daterange {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-search-daterange .form-control {
    flex: 1;
    min-width: 0;
}

.user-search-daterange__sep {
    flex-shrink: 0;
    font-size: 0.85rem;
    color: #6b7280;
}

.user-search-select {
    height: fit-content;
    resize: none;
}

.user-search-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: end;
}