#form_alert .alert {
    margin: auto;
    text-align: center;
}
/* 学校一覧 */
#shiryou .base .info-main {
    padding-top: 14px;
}
#shiryou .base .info-main .info-school-name {
    padding-top: 0;
    font-size: 15px;
}

/* フォームパーツ */
#shiryou .base .select-container {
    margin-bottom: 12px;
}
#shiryou .base .input-addr-city,
#shiryou .base select,
#shiryou .base #requester-address-area .select-container,
#shiryou .base #requester-address-area .input-addr-city-after,
#shiryou .base .label-gender,
#shiryou .base .input-school-name {
    margin-bottom: unset;
}
#shiryou .base #requester-address-area input,
#shiryou .base #requester-address-area .addr-hosoku,
#shiryou .base .gakureki > .select-container {
    margin-top: 12px;
}
#shiryou .base #requester-gender-area {
    padding-bottom: 14px;
}

/* ラジオボタン */
#shiryou .base input[type=radio]:checked + .span-gender {
    padding: 2px;
    border: 2px solid #666666;
}
#shiryou .base input[type=radio]:checked + .span-gender span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #666;
}

/* エラーメッセージ */
#shiryou .base input.is-invalid,
#shiryou .base input.is-invalid ~ span,
#shiryou .base input.is-invalid ~ span:after,
#shiryou .base select.is-invalid {
    border-color: red !important;
    background-color: #ffebeb !important;
}

/* 送信ボタン */
#shiryou .base .form-submit-wrapper {
    max-width: 510px;
    height: 98px;
    margin: 0 auto 36px;
    padding: 3px;
    background-color: #65cf65;
    border-radius: 15px;
}
#shiryou .base .form-submit-wrapper.disabled {
    opacity: .7;
}
#shiryou .base .form-submit {
    width: 100%;
    background-color: #65cf65;
    color: white;
    border: solid 2px white;
    border-radius: 15px;
    line-height: 92px;
    font-size: 2.7rem;
    font-weight: bold;
    position: relative;
}
#shiryou .base .form-submit:disabled {
    opacity: .7;
}
.c-submit {
    line-height: unset !important;
    font-size: unset !important;
    padding-bottom: unset !important;
}

.c-submit__firstLine {
    font-weight: normal !important;
}

.c-submit__secondLine {
    font-size: 1.75em !important;
}
/* 送信ボタン - ローディング */
#shiryou .base .form-submit span.loading {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    color: white;
    background-color: #65cf65;
    line-height: 1;
    width: 95%;
}
.c-submit__loading {
    font-size: 1.75em !important;
    padding: 0.75em !important;
}
@media (max-width: 768px) {
    #shiryou .base .form-submit span.loading {
        font-size: 1.1em;
        width: 85%;
    }
    .c-submit__loading {
        font-size: 1.75em !important;
        width: 95% !important;
    }
}
span.loading {
    display: inline-block;
    white-space: nowrap;
}
span.loading span {
    display: inline-block;
    vertical-align: middle;
}
span.loading span:nth-of-type(1) {
    -webkit-animation: animation 2s ease 0s infinite;
    animation: animation 2s ease 0s infinite;
}
span.loading span:nth-of-type(2) {
    -webkit-animation: animation 2s ease 0.1s infinite;
    animation: animation 2s ease 0.1s infinite;
}
span.loading span:nth-of-type(3) {
    -webkit-animation: animation 2s ease 0.2s infinite;
    animation: animation 2s ease 0.2s infinite;
}
span.loading span:nth-of-type(4) {
    -webkit-animation: animation 2s ease 0.3s infinite;
    animation: animation 2s ease 0.3s infinite;
}
span.loading span:nth-of-type(5) {
    -webkit-animation: animation 2s ease 0.4s infinite;
    animation: animation 2s ease 0.4s infinite;
}
span.loading span:nth-of-type(6) {
    -webkit-animation: animation 2s ease 0.5s infinite;
    animation: animation 2s ease 0.5s infinite;
}
span.loading span:nth-of-type(7) {
    -webkit-animation: animation 2s ease 0.6s infinite;
    animation: animation 2s ease 0.6s infinite;
}

@-webkit-keyframes animation {
    0% {
        margin-top: 0;
    }
    5% {
        margin-top: -1em;
    }
    10% {
        margin-top: 0;
    }
    13% {
        margin-top: -0.5em;
    }
    16% {
        margin-top: 0;
    }
    18% {
        margin-top: -0.2em;
    }
    20% {
        margin-top: 0;
    }
}

@keyframes animation {
    0% {
        margin-top: 0;
    }
    5% {
        margin-top: -1em;
    }
    10% {
        margin-top: 0;
    }
    13% {
        margin-top: -0.5em;
    }
    16% {
        margin-top: 0;
    }
    18% {
        margin-top: -0.2em;
    }
    20% {
        margin-top: 0;
    }
}

/* 戻るボタン */
#shiryou .base input.link-back {
    border: none;
    background-color: unset;
    text-decoration: underline;
    font-size: 1.6rem;
    line-height: 1.5;
    height: auto;
    font-family: 'NotoSansJP-Custom', 'Noto Sans JP';
    display: block;
    margin: auto;
}
#shiryou .base input.link-back:hover {
    opacity: 0.7;
}
