@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&display=swap');

/* 入会申込フォーム（kumaren8020.com の page_body 内コンテンツ用） */

.content_title{
    background-color: rgba(30, 50, 85, 0.99);
    margin-top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

    .content_title h1{}

    .content_title h1 a{
        color: #fff;
        text-decoration: none;
        height: 70px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-family: "Noto Serif JP", serif;
        font-size: 1.5rem;
    }

/* 固定ヘッダー分の余白は不要 */
.contents.member_form,
.contents.member_login,
.contents.member_fin {
    padding-top: 0;
}

.member-panel {
    box-sizing: border-box;
    width: 100%;
    margin: 0 0 2.8em;
    padding: 1.8em 2em 2.2em;
}

.page_body .member-form-heading {
    font-size: 1.4rem;
    color: #222;
    margin: 3em 0 2em;
    font-weight: bold;
    letter-spacing: 0.05em;
    line-height: 1.3;
    text-align: center;
    position: relative;
}

    .member-form-heading::after{
        content: "";
        position: absolute;
        bottom: -0.75rem;
        left: calc(50% - 1.5em);
        width: 3em;
        height: 0.25rem;
        background-color: #003366;
    }

/* 完了画面（*_fin） */
.member_fin .member-form-heading {
    text-align: center;
    border-left: none;
    padding-left: 0;
    border-bottom: 1px dotted #9fb0ca;
    padding-bottom: 1em;
    margin-bottom: 2.8em;
}

.member-form-lead {
    margin: 0 0 0.6em;
    line-height: 1.9;
    color: #222;
    text-align: center;
}

.member-form-note {
    margin: 0 0 2.8em;
    padding-bottom: 1em;
    border-bottom: 1px dotted #9fb0ca;
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.7;
    text-align: center;
}

.member-form {
    max-width: 640px;
    margin: 0 auto;
}

.member-form-field {
    margin: 0 0 1.6em;
}

.member-form-label {
    display: block;
    font-weight: bold;
    color: #1e3255;
    margin-bottom: 0.5em;
    font-size: 0.98rem;
    line-height: 1.4;
}

.member-form-required {
    color: #cf2e2e;
    font-size: 0.85em;
    font-weight: normal;
}

.member-form-input {
    box-sizing: border-box;
    width: 100%;
    max-width: 480px;
    border: 1px solid #888;
    border-radius: 4px;
    font-size: 1rem;
    padding: 0.5em 0.6em;
    font-family: 'Noto Sans JP', sans-serif;
    color: #222;
}

.member-form-input:focus {
    outline: none;
    border-color: #213457;
}

.member-form-select {
    appearance: auto;
    background-color: #fff;
    cursor: pointer;
}

.member-form-input--error {
    border-color: #cf2e2e;
}

.member-form-code {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 480px;
    gap: 0.55em 0.75em;
    text-align: left;
}

.member-form-code-fixed {
    flex-shrink: 0;
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.member-form-code-sep {
    flex-shrink: 0;
    color: #555;
    font-size: 1rem;
    user-select: none;
}

.member-form-code-digits {
    display: flex;
    flex-shrink: 0;
    gap: 0;
    margin: 0;
}

.member-form-code-digit {
    box-sizing: border-box;
    position: relative;
    width: 2.3em;
    height: 2.3em;
    margin-top: 0;
    margin-bottom: 0;
    margin-right: 0;
    margin-left: -1px;
    border: 1px solid #888;
    border-radius: 0;
    font-size: 1.2rem;
    padding: 0;
    text-align: center;
    font-family: 'Noto Sans JP', sans-serif;
    color: #222;
}

.member-form-code-digit:first-child {
    margin-left: 0;
    border-radius: 4px 0 0 4px;
}

.member-form-code-digit:last-child {
    border-radius: 0 4px 4px 0;
}

.member-form-code-digit:focus {
    outline: none;
    border-color: #213457;
    z-index: 1;
}

.member-form-code-digits--error .member-form-code-digit {
    border-color: #cf2e2e;
    z-index: 0;
}

.member-form-code-digits--error .member-form-code-digit:focus {
    z-index: 1;
}

.member-form-hint {
    margin: 0.5em 0 0;
    padding: 0;
    font-size: 0.85rem;
    line-height: 1.6;
    color: #555;
}

.member-form-code + .member-form-hint {
    margin-top: 1em;
}

.member-form-error {
    margin: 0.5em 0 0;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #cf2e2e;
}

.member-form-alert {
    box-sizing: border-box;
    width: 100%;
    margin: 0 0 1.5em;
    padding: 1em 1.2em;
    border: 1px solid #991b1b;
    border-left-width: 3px;
    border-radius: 4px;
    background: #ffe8e8;
    color: #991b1b;
    line-height: 1.6;
}

.member-form-recaptcha-notice {
    max-width: 480px;
    margin: 0 0 1.5em;
    font-size: 0.75rem;
    color: #888;
    line-height: 1.6;
}

.member-form-recaptcha-notice a {
    color: #666;
}

.member-form-actions {
    margin: 2.2em 0 0;
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.member-form-submit {
    box-sizing: border-box;
    background: #213457;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    padding: 0.7em 3em;
    cursor: pointer;
    transition: 0.3s all ease;
    font-family: 'Noto Sans JP', sans-serif;
    min-width: 210px;
}

.member-form-submit:hover,
.member-form-submit:focus-visible {
    background: #2f4d7a;
}

.member-form-secondary-btn {
    box-sizing: border-box;
    display: inline-block;
    min-width: 170px;
    padding: 0.68em 1.2em;
    border: 1px solid #32507a;
    border-radius: 4px;
    color: #254062;
    background: #fff;
    text-align: center;
    text-decoration: none;
    transition: 0.3s all ease;
}

.member-form-secondary-btn:hover,
.member-form-secondary-btn:focus-visible {
    background: #eef4fb;
}

.member-form-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.member-form-message {
    margin: 0 0 2em;
    line-height: 2;
    color: #222;
    text-align: center;
}

.member-form-message p {
    margin: 0 0 0.5em;
}

.member-form-link-wrap {
    margin: 1.8em 0 0;
    text-align: center;
    font-size: 0.92rem;
}

.member-form-link {
    color: #00416b;
    text-decoration: none;
}

.member-form-link:hover {
    color: #00416b;
    text-decoration: none;
    opacity: 0.8;
}

/* ログイン（for_members 差し替え） */
.page_body .member-login-lead {
    box-sizing: border-box;
    width: 100%;
    text-align: center;
    border-bottom: 1px dotted #9fb0ca;
    font-size: 1.1em;
    padding: 0 0 1em;
    margin: 0 0 2.8em;
    line-height: 1.8;
    color: #222;
}

.member-login-form {
    box-sizing: border-box;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    text-align: left;
}

.member-login-form .member-form-field {
    width: 100%;
}

.member-login-form .member-form-label,
.member-login-form .member-form-hint,
.member-login-form .member-form-error,
.member-login-form .member-form-recaptcha-notice {
    width: 100%;
    max-width: 480px;
    margin-left: 0;
    padding-left: 0;
    text-align: left;
}

.member-login-form .member-form-code {
    justify-content: flex-start;
    margin-left: 0;
    margin-right: auto;
}

.member-login-actions {
    justify-content: center;
    width: 100%;
}

.member-login-form .member-form-submit {
    width: 100%;
    max-width: 480px;
    min-width: 0;
}

.member-form-sub-links {
    margin: 1.8em 0 0;
    text-align: center;
    font-size: 0.92rem;
}

.member-form-sub-link {
    margin: 0 0 0.8em;
}

.member-form-sub-link:last-child {
    margin-bottom: 0;
}

/* 会員トップ：ヘッダー ログアウト */
header .global_nav ul li.gn_logout {
    background: #8b3a3a;
}

/* 会員トップ：ページトップボタン（CSS chevron-up） */
.pagetop--member-index a:before {
    font-family: inherit;
    content: "";
    display: block;
    width: 14px;
    height: 14px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    transform: rotate(-45deg);
    position: relative;
    top: 4px;
}

@media screen and (min-width: 1px) and (max-width: 1024px) {
    .page_body{
        width: 100%;
    }
}

@media screen and (min-width: 1px) and (max-width: 479px) {
    .page_body{
        padding: 0 5vw;
    }

    .content_title h1 a{
        height: 16vw;
    }

    .member-panel {
        padding: 1.2em 1em 1.5em;
    }

    .page_body .member-form-heading {
        font-size: 1.25rem;
        margin: 2em 0;
    }

    .page_body .member-login-lead{
        text-align: left;
    }

    .member-form-input {
        max-width: none;
    }

    .member-login-form .member-form-submit {
        width: 100%;
        max-width: none;
        min-width: 0;
    }
}
