body {
    font-family: 'Noto Sans JP', sans-serif;
    background: #f7f9fb;
    color: #333;
    margin: 0;
    padding: 0;

    /*background-image: url('../img/bg1.png');*/
    /*background-size: cover;*/
    /*background-position: center;*/
    /*background-repeat: no-repeat;*/
    /*background-attachment: fixed;*/


}

.login_box {
    margin: 40px auto;
    background: #fff;
    /*border-radius: 12px;*/
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 40px 30px;
    max-width: 500px;
    width: 100%;

    /* アニメーション */
    animation: fadeInUp 0.8s ease-out;
}

.payment_box {
    margin: 60px auto;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 40px 30px;
    max-width: 700px;
    width: 100%;
    animation: fadeInUp 0.8s ease-out;
    box-sizing: border-box;
}

/* アニメーション定義 */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.font_s{
    font-size:0.85rem;
}

.font_m {
    font-size: 22px;
    font-weight: bold;
    color: #4a90e2;
    text-align: center;
    margin-bottom: 30px;
}

.font_b{
    font-weight: bold;
}
.text_c {
    text-align: center;
}

.mb20 { margin-bottom: 20px; }
.mb30 { margin-bottom: 30px; }
.mb50 { margin-bottom: 50px; }

.pb20 { padding-bottom: 20px; }
.pb30 { padding-bottom: 30px; }
.pb50 { padding-bottom: 50px; }

.line_b{
    border-bottom: 1px solid #aaaaaa;
}
/* パソコンで改行 */
.br-pc {
    display: inline;
}
/* スマホで改行 */
.br-sp {
    display: none;
}
input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #fafafa;
    transition: all 0.3s;
    box-sizing: border-box;
}

input:focus {
    border-color: #4a90e2;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
    outline: none;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
    font-size: 14px;
}

.button_1 {
    background-color: #4a90e2;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s, transform 0.2s;
}

.button_1:hover {
    background-color: #357ab8;
    transform: scale(1.02);
}

.color_red {
    color: #d9534f;
    font-weight: bold;
    text-align: center;
}

a {
    color: #4a90e2;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.info_box {
    padding-left: 20px;
}
.info_box2 {
    margin: 50px 0;
    padding: 50px 0 50px 20px;
    border-top: 1px solid #aaaaaa;
    border-bottom: 1px solid #aaaaaa;
}

.login-footer {
    text-align: center;
    font-size: 14px;
    color: #555;
    width: 100%;
}

/*進捗バー*/
.step-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 40px 40px 40px 20px;
    margin-bottom: 30px;
    background-color: #f6f6f6;
    /*border-bottom: 1px solid #aaa;*/
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 auto;
}

.step .circle {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: #ccc;
    color: white;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.step .label {
    font-size: 12px;
    color: #888;
}

.step.done .circle {
    background-color: #4a90e2;
}

.step.done .label {
    color: #4a90e2;
    font-weight: bold;
}

.bar {
    flex: 1;
    height: 3px;
    background-color: #ccc;
}

.bar.active {
    background-color: #4a90e2;
}



/* -----------------------------
   📱 スマホ対応（レスポンシブ）
----------------------------- */
@media screen and (max-width: 480px) {
    .login_box {
        padding: 30px 20px;
    }
    .payment_box {
        padding: 30px 20px;
    }
    .font_m {
        font-size: 18px;
    }
    /* スマホでは改行しない */
    .br-pc {
        display: none;
    }

    /* スマホで改行 */
    .br-sp {
        display: inline;
    }
    input[type="text"],
    input[type="email"],
    input[type="password"] {
        font-size: 16px;
    }

    .button_1 {
        font-size: 16px;
        padding: 14px;
    }
    p {
        font-size: 14px;
    }
}
