@charset "utf-8";
/* CSS Document */
body {
    background-color: #f7f7f5;
    line-height: 1.7;
    font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
    color: #333;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
/*    header   */
.header {
    background: #ffffff;
    text-align: center;
    padding: 40px 20px;
    border-bottom: 1px solid #e5e5e5;
    color: #356b54;
}
.header h1 {
    color: #356b54;
    font-size: 28px;
    font-weight: 600;
}
/*   メインエリア設定   */
.form-main {
    max-width: 760px;
    margin: 40px auto;
    padding: 0 20px;
}
.form-box, .agree-box {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
}
/*   title   */
.form-main .title h2 {
    color: #356b54;
    text-align: center;
}
/*　　step   */
.step {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}
.step p {
    width: calc(100% / 3 - 10px);
    background: #e8e8e8;
    text-align: center;
    padding: 12px 5px;
    border-radius: 8px;
    font-size: 14px;
    color: #777;
}
.step .active {
    background: #356b54;
    color: #fff;
}
/*   form   */
.form-box h3 {
    margin: 0 -30px 25px;
    padding: 15px 30px;
    font-size: 20px;
    color: #356b54;
    border-bottom: 1px solid #eee;
}
.form-row {
    margin-bottom: 25px;
}
.form-row label, .form-row p {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 16px;
}
.required {
    margin-left: 8px;
    padding: 2px 8px;
    background: #c85b55;
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: normal;
}
input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    background: #fff;
}
.radio-box {
    display: flex;
    gap: 30px;
}
.radio-box input {
    width: auto;
    margin-right: 8px;
}
.address-area {
    background: #fafafa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}
.zipcode-flex {
    display: flex;
    gap: 10px;
}
.zipcode-flex input {
    flex: 1;
}
.zipcode-flex button {
    width: 120px;
    border: none;
    background: #356b54;
    color: white;
    border-radius: 6px;
    cursor: pointer;
}
/*   個人情報同意   */
.agree-box {
    text-align: center;
}
.agree-box input {
    width: auto;
    margin-right: 10px;
}
.agree-box button {
    display: block;
    margin: 10px auto 0;
    border: none;
    background: none;
    color: #356b54;
    text-decoration: underline;
    cursor: pointer;
}
/*   フォーム送信ボタン   */
.submit-area {
    text-align: center;
}
.submit-area button {
    width: 100%;
    max-width: 400px;
    height: 60px;
    border: none;
    border-radius: 30px;
    background: #356b54;
    color: white;
    font-size: 18px;
    cursor: pointer;
}
.submit-area button:hover {
    opacity: .85;
}
/*   フッター   */
footer {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    font-size: 14px;
}
/*   モーダル   */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-inner {
    background: #fff;
    width: 90%;
    max-width: 700px;
    height: 80vh;
    padding: 30px;
    border-radius: 12px;
}
.modal-inner iframe {
    width: 100%;
    height: calc(100% - 90px);
    border: none;
    margin-top: 15px;
}
.modal-close {
    width: 100%;
    height: 45px;
    margin-top: 8px;
    background: #356b54;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* =====================
   確認画面
===================== */

.confirm-row {
    display: flex;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    gap: 20px;
}


.confirm-row label {
    width: 180px;
    margin: 0;
    font-weight: bold;
}


.confirm-row p {
    flex: 1;
    margin: 0;
}


.confirm-address {
    background: #fafafa;
    padding: 0 20px;
    border-radius: 8px;
    margin-bottom: 15px;
}



/* ボタン */

.confirm-button-area {
    display: flex;
    gap: 20px;
    justify-content: center;
}


.confirm-button-area button {
    width: 100%;
    max-width: 300px;
    height: 55px;
    border-radius: 30px;
    border: none;
    background: #356b54;
    color: white;
    font-size:18px;
    cursor:pointer;
}


.confirm-button-area button:first-child {
    background:#888;
}

/* step-3 */

.complete-box {
    max-width: 700px;
    margin: 40px auto;
    padding: 50px 30px;
    background: #fff;
    border-radius: 8px;
    text-align: center;
}

.complete-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: #356b54;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
}

.complete-box h2 {
    margin: 0 0 25px;
    font-size: 24px;
    color: #356b54;
}

.complete-message {
    margin: 0 0 30px;
    line-height: 2;
    font-size: 16px;
}

.complete-info {
    margin: 0 auto 35px;
    padding: 20px;
    background: #f5f5f5;
    line-height: 1.8;
}

.complete-info p {
    margin: 0;
}

.complete-info p + p {
    margin-top: 10px;
}

.complete-contact {
    padding-top: 25px;
    border-top: 1px solid #ddd;
}

.complete-contact h3 {
    margin: 0 0 15px;
    font-size: 18px;
}

.complete-contact p {
    margin: 0;
    line-height: 1.8;
}

.complete-contact strong {
    font-size: 20px;
}


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

.confirm-row {
    display:block;
}


.confirm-row label {
    width:auto;
    margin-bottom:5px;
}


.confirm-button-area {
    display:block;
}


.confirm-button-area button {
    max-width:none;
    margin-bottom:15px;
}

}
/*   スマホ   */
@media screen and (max-width: 768px) {
    .form-main {
        margin: 20px auto;
        padding: 0 15px;
    }
    .form-box {
        padding: 20px;
    }
    .step {
        gap: 5px;
    }
    .step p {
        font-size: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: calc(100% / 3 - 5px);
    }
    .radio-box {
        display: block;
    }
    .zipcode-flex {
        display: block;
    }
    .zipcode-flex button {
        width: 100%;
        height: 45px;
        margin-top: 10px;
    }
    .submit-area button {
        height: 55px;
    }
}