@charset "UTF-8";
.hero_img {
    background: url(../img/common/bg_header.png) no-repeat center top;
    background-size: cover;
    padding: 170px 16px 36px;
}
.form-area {
    border-radius: 8px;
    background: #f4f8fa;
    padding: 40px;
    margin-bottom: 96px;
}

.caution {
    font-size: 14px;
}

.form-area ul li {
    margin-bottom: 40px;
}

.form-area ul li dl {
    display: flex;
    align-items: center;
}

.form-area ul li dl dt {
    width: 272px;
    font-size: 16px;
    font-weight: 700;
}
.form-area ul li dl dt span {
    border-radius: 4px;
    border: 0.8px solid #f00;
    padding: 5px 11px;
    background: #fff2f3;
    color: #f00;
    font-size: 12px;
    line-height: 1;
    display: inline-block;
    margin-left: 8px;
}
.form-area ul li dl dd {
    width: calc(100% - 272px);
}
.form-area ul li dl dd.radio_area {
    display: flex;
    gap: 12px 18px;
    flex-wrap: wrap;
}
.form-area ul li dl dd input[type="text"],
.form-area ul li dl dd input[type="password"],
.form-area ul li dl dd select,
.form-area ul li dl dd textarea {
    width: 100%;
    padding: 8px 16px;
    border-radius: 8px;
    background: #fff;
    border: none;
}
.form-area h5 {
    font-size: 16px;
    font-weight: 700;
}
.agree_area {
    text-align: center;
    margin: 20px auto 40px;
}
.agree_area a {
    color: #0158a2;
    font-size: 16px;
    font-weight: 500;
    text-decoration-line: underline;
}
/* ラベル全体をクリック可能に */
.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    user-select: none;
    justify-content: center;
    gap: 6px; /* チェックボックスと文字の間隔 */
    margin-bottom: 16px;
}

/* デフォルトのチェックボックスを非表示 */
.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* カスタムチェックボックス */
.checkbox-container .checkmark {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid #909090;
    background-color: #fff;
    position: relative;
}

/* チェックマークを表示（非表示がデフォルト） */
.checkbox-container .checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 4px;
    top: -1px;
    width: 8px;
    height: 12px;
    border: solid #4c99b8;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* チェックされたとき */
.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

/* input本体は非表示 */
.radio-wrap input[type="radio"] {
    display: none;
}

/* 外周 */
.custom-radio {
    display: inline-block;
    width: 20px;
    height: 20px;
    aspect-ratio: 1/1;
    border-radius: 40px;
    border: 1px solid #e3e3e3;
    background: #fff;
    position: relative;
    vertical-align: middle;
    margin-right: 8px;
    cursor: pointer;
}

/* 内側の丸（checked時に表示） */
.custom-radio::after {
    content: "";
    width: 13px;
    height: 13px;
    aspect-ratio: 1 / 1;
    border-radius: 24px;
    background: #4c99b8;
    position: absolute;
    left: 3px;
    top: 3px;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

/* 選択時に中の丸を表示 */
.radio-wrap input[type="radio"]:checked + .custom-radio::after {
    opacity: 1;
}

input[type="file"] {
    border: none; /* 枠線を消す */
    background: transparent;
}

input[type="file"]::file-selector-button {
    border-radius: 8px;
    background: #fff;
    border: 1px solid #ccc;
    padding: 6px 16px;
    cursor: pointer;
    transition: background 0.2s;
}

input[type="file"]::file-selector-button:hover {
    background: #f5f5f5;
}
.btn_area {
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 24px;
}
button.confirm,button.add {
    width: 472px;
    padding: 16px 48px 16px 24px;
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 99px;
    background: linear-gradient(92deg, #4c99b8 28.05%, #2c6f8c 99.79%);
    box-shadow: 0 2px 6px 0 rgba(125, 55, 4, 0.26);
    cursor: pointer;
    transition: opacity 0.3s, background 0.3s;
    position: relative;
}

button.confirm::after,button.add::after {
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    background: url(../img/common/icon_forward2.png) no-repeat center;
    background-size: cover;
    top: 50%;
    right: 22px;
    transform: translateY(-50%);
}

/* disabled のとき */
button.confirm:disabled {
    background: #ccc; /* グレー背景 */
    color: #666; /* 文字も薄め */
    box-shadow: none; /* 影は消す */
    cursor: not-allowed; /* 禁止カーソル */
}
.alert{
    border-radius: 4px;
    border: 1px solid #f00;
    padding: 12px;
    background: #fff2f3;
    color: #f00;
    display: block;
    margin-bottom: 24px;
}

input[type="submit"].back{
    color: #fff;
    background: #434548;
    padding: 16px 24px;
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 99px;
    box-shadow: 0 2px 6px 0 rgba(125, 55, 4, 0.26);
    cursor: pointer;

}

@media (max-width: 955px) {
    .hero_img {
        padding: 120px 16px 36px;
    }
    .form-area {
        padding: 16px;
    }
}
@media (max-width: 767px) {
    .hero_img {
        padding: 70px 16px 36px;
    }
    .form-area ul li dl {
        display: block;
    }

    .form-area ul li dl dt {
        width: auto;
        margin-bottom: 16px;
    }
    .form-area ul li dl dd {
        width: 100%;
    }
    button.confirm {
        width: 100%;
}
@media (max-width: 429px) {
}
