/* 共通 */
.input-form {
    width: 100%;
    margin: 100px auto;
    align-items: center;
    color: #615d5d;
    font-family: "Zen Kaku Gothic Antique", "sans-serif";
}

.input-form-container {
    width: 70%;
    max-width: 1440px;
    margin: auto;
	max-width: 840px;
}

.input-form-title {
    font-size: 22px;
    font-weight: 600;
}

.input-form-table {
    display: flex;
    flex-direction: column;
    border: 1px solid #dadada;
    width: 100%;
	margin-top: 30px;
    margin-bottom: 100px;
}

.form-field {
    display: flex;
    border-bottom: 1px solid #dadada;
    align-items: stretch;
}

.form-field:last-child {
    border-bottom: none;
}

.form-label {
    background-color: #f5f5f5;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex: 0 0 30%;
    min-width: 220px;
    justify-content: space-between;
    padding: 30px 25px;
}

.label-title {
    font-weight: 400;
    font-size: 14px;
    line-height: 26px;
}

.label-badge {
    padding: 1px 13px;
    background-color: #b94047;
    border-radius: 5px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding-left: 30px;
    align-self: center;
}

.form-input input,
.form-select select {
    width: 80% !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 5px;
    color: #615d5d;
    outline: none;
    height: 40px;

}

.application-note {
	margin-top: 10px;
	font-size: 16px;
}

.form-textarea textarea {
    width: 80% !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 5px;
    color: #615d5d;
    outline: none;
    height: 160px;
    resize: none;
    margin-top: 20px;
    margin-bottom: 20px;
}

.form-agree-container label a {
    color: cornflowerblue;
}

.form-agree-checkbox {
    display: flex;
}

.form-agree-checkbox input[type=checkbox] {
    margin-right: 10px;
}

.form-agree-checkbox label {
    line-height: 24px;
}

.input-form-button {
    display: flex;
    gap: 50px;
    width: 100%;
    align-items: center;
    justify-content: center;
    margin-top: 100px;
}

.input-form-button button {
    width: 250px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}


/* 申込フォーム */
.form-notice-container {
    padding: 20px 30px;
}

.form-notice-container p{
    font-size: 14px;
}

.form-radio-container,
.form-input-container {
    padding: 20px 30px;
}

.form-radio-box label{
    display: block;
    line-height: 2;
}

.form-radio-box input[type=radio] {
    appearance: none;
    width: 15px;
    height: 15px;
    border: 1px solid #e5e5e5;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    background-color: #fff;
}

.form-radio-box input[type=radio]:checked {
    border-color: #b94047;
}

.form-radio-box input[type=radio]::before {
    content: "";
    width: 10px;
    height: 10px;
    background-color: #b94047;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

.form-radio-box input[type=radio]:checked::before {
    display: block;
}

.form-input-postcode {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 20px;
    flex-wrap: wrap;
}

.form-input-postcode-field {
    white-space: nowrap;
}

.form-input-postcode input {
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    outline: none;
    height: 40px;
}

.postal-code-head {
    max-width: 90px;
}

.postal-code-tail {
    max-width: 120px;
}

.auto-address-btn {
    background-color: #dfdada;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-weight: 400;
    font-size: 14px;
    padding: 1px 5px;
    margin-left: 30px;
    margin-top: 15px;
    cursor: pointer;
}

.form-input-postcode button:hover {
    background-color: #f5f5f5;
    color: #dfdada;
    border: #dfdada;
}

.form-field-address {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px 0;
}

#other_info textarea {
    border: 1px solid #e5e5e5;
	color: #615d5d;
    outline: none;
    height: 60px;
    resize: vertical;
}

/* レスポンシブ */
@media (max-width:767px) {
    .input-form-container {
        width: 90%;
        padding: 50px 0 !important;
        gap: 20px;
    }

    .input-form-title {
        font-size: 18px;
        white-space: normal;
    }

    .input-form-table {
        min-width: 0;
        width: 100%;
    }

    .form-field {
        flex-direction: column;
        align-items: stretch;
    }

    .form-radio-container {
        font-size: 12px;
        flex-direction: column;align-items: flex-start;
    }

    .form-label,
    .form-input,
    .form-select,
    .form-textarea {
        max-width: 100%;
        width: 100%;
        padding: 15px 30px !important;
        font-size: 12px;
    }

    .form-label {
        min-width: none;
    }

    .label-title {
        font-size: 14px;
        line-height: 22px;
    }

    .label-badge {
        margin-top: 10px;
        height: 20px;
        padding: 0 10px;
        font-size: 12px;
    }

    .form-input-postcode {
        font-size: 12px;
    }

    .form-input input,
    .form-select select,
    .form-input-postcode-field input{
        width: 100%;
        font-size: 12px;
        padding: 10px !important;
        height: 38px;
    }

    .form-textarea textarea {
        width: 100%;
        font-size: 12px;
        padding: 10px;
    }

    .input-form-button {
        flex-direction: column-reverse;
        gap: 18px;
        width: 100%;
    }

    .default-btn {
        word-wrap: 100%;
        min-width: 0;
        font-size: 15px;
        height: 42px;
    }

    .form-checkbox-box label {
        font-size: 13px !important;
        line-height: 20px !important;
    }
}
