/* ここからフォームのフィールドデザイン */

.form_label {
    font-size: 1.6rem;
    margin-bottom: 5px;
    color: #4d4d4d;
}

.form_sub_label {
    font-size: 1.2rem;
    color: #8c8c8c;
}

.form_item {
    margin-bottom: 40px;
}

.form_select {
    position: relative;
}

.form_select select {
    margin: 10px 0 10px 0;
    appearance: none;
    min-width: 100%;
    height: 34px;
    padding: .4em calc(.8em + 30px) .4em .8em;
    border: 1px solid #cccccc;
    border-radius: 3px;
    background-color: #fff;
    color: #4d4d4d;
    font-size: 1.1rem;
    cursor: pointer;
    background-position: center right 10px;
    background-size: 9px;
    background-image: url('/img/select_arrow.svg');
    background-repeat: no-repeat;
    background-color: #f0f0f0;
}

.form_input {
    padding: 0 5px 0 5px;
    width: 100%;
    min-height: 40px;
    font-size: 1.1rem;
    border-radius: 2px;
    border: none;
    background-color: #EEEEEF;
    font-weight: 300;
    -webkit-appearance: none;
}

.form_textarea {
    padding: 5px 5px 5px 5px;
    width: 100%;
    height: 150px;
    font-size: 1.2rem;
    border-radius: 5px;
    border: none;
    background-color: #EEEEEF;
    resize: none;
}

.post_period_wrapper {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 4.75fr 0.5fr 4.75fr;
}

.post_period_wrapper span {
    display: flex;
    align-items: center;
    justify-content: center;
}


/* ここまでフォームのフィールドデザイン */


/* ここからチェックボックスデザイン */

.ECM_CheckboxInput {
    padding: 12px 0px;
    display: flex;
    align-items: center;
    cursor: pointer;
    justify-content: center;
    width: fit-content;
}

.ECM_CheckboxInput-Input {
    margin: 0;
    width: 0;
    opacity: 0;
}

.ECM_CheckboxInput:hover>.ECM_CheckboxInput-DummyInput {
    background: #DDDDDD !important;
    border: solid 2px #4d4d4d;
}

.ECM_CheckboxInput-Input:focus+.ECM_CheckboxInput-DummyInput {
    background: #DDDDDD !important;
    border: solid 2px #4d4d4d;
}

.ECM_CheckboxInput-Input:checked+.ECM_CheckboxInput-DummyInput {
    border: solid 2px #4d4d4d;
    background: #FFFFFF;
}

.ECM_CheckboxInput-Input:checked+.ECM_CheckboxInput-DummyInput::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJmZWF0aGVyIGZlYXRoZXItY2hlY2siPjxwb2x5bGluZSBwb2ludHM9IjIwIDYgOSAxNyA0IDEyIj48L3BvbHlsaW5lPjwvc3ZnPg==") no-repeat center;
    background-size: contain;
}

.ECM_CheckboxInput-DummyInput {
    position: relative;
    top: 0;
    left: 0;
    display: block;
    width: 25px;
    height: 25px;
    border: solid 2px #888888;
    background: #FFFFFF;
    border-radius: 4px;
    flex-shrink: 0;
}

.ECM_CheckboxInput-LabelText {
    margin-left: 12px;
    display: block;
    font-size: 1.3rem;
    color: var(--text-color);
}


/* ダミーチェックボックス */

.dummy_checkbox {
    flex-shrink: 0;
    width: 25px;
    height: 25px;
    border: solid 2px #888888;
    background: #FFFFFF;
    border-radius: 4px;
}

.dummy_checkbox_true {
    position: relative;
    flex-shrink: 0;
    width: 25px;
    height: 25px;
    border: solid 2px #888888;
    background: #FFFFFF;
    border-radius: 4px;
}

.dummy_checkbox_true::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJmZWF0aGVyIGZlYXRoZXItY2hlY2siPjxwb2x5bGluZSBwb2ludHM9IjIwIDYgOSAxNyA0IDEyIj48L3BvbHlsaW5lPjwvc3ZnPg==") no-repeat center;
    background-size: contain;
}


/* ここまでチェックボックスデザイン */

/* ここからラジオボタンデザイン */


.ECM_Radio_btnInput {
    padding: 12px 0px;
    display: flex;
    align-items: center;
    cursor: pointer;
    justify-content: center;
    width: fit-content;
}

.ECM_Radio_btnInput-Input {
    margin: 0;
    width: 0;
    opacity: 0;
}

.ECM_Radio_btnInput:hover>.ECM_Radio_btnInput-DummyInput {
    background: #DDDDDD !important;
    border: solid 2px #4d4d4d;
}

.ECM_Radio_btnInput-Input:focus+.ECM_Radio_btnInput-DummyInput {
    background: #DDDDDD !important;
    border: solid 2px #4d4d4d;
}

.ECM_Radio_btnInput-Input:checked+.ECM_Radio_btnInput-DummyInput {
    border: solid 2px #4d4d4d;
    background: #FFFFFF;
}

.ECM_Radio_btnInput-Input:checked+.ECM_Radio_btnInput-DummyInput::before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background-color: #888888;
    border-radius: 8px;
    background-size: contain;
}

.ECM_Radio_btnInput-DummyInput {
    position: relative;
    top: 0;
    left: 0;
    display: block;
    width: 25px;
    height: 25px;
    border: solid 2px #888888;
    background: #FFFFFF;
    border-radius: 12.5px;
    flex-shrink: 0;
}

.ECM_Radio_btnInput-LabelText {
    margin-left: 12px;
    display: block;
    font-size: 1.3rem;
    color: var(--text-color);
}

/* ここまでラジオボタンデザイン */


/* ここからボタンデザイン */


/* フォームボタン */

.form_button {
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto 20px auto;
    width: 50%;
    color: #fff;
    border: none;
    border-radius: 10px;
    height: 45px;
    text-decoration: none;
    cursor: pointer;
}


/* 削除ボタン */

.delete_button {
    margin: 0 auto 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 45%;
    font-size: 1.5rem;
    background-color: #f15a24;
    border-radius: 5px;
    color: #fff;
    border: none;
    cursor: pointer;
}

.delete_button:hover {
    transition: opacity .15s;
    opacity: .8;
}


/* ここまでボタンデザイン */

@media only screen and (max-width: 767px) {
    .form_button {
        width: 95%;
        border-radius: 5px;
    }

    .form_input {
        font-size: 1.3rem;
    }
}

/* ここから申請フォーム */

.approve_expected {
    white-space: nowrap;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.approve_expected_description {
    white-space: initial;
    color: var(--text-color);
    font-size: 1.1rem;
    text-indent: -0.5em;
    padding-left: 0.5em;
}

.approve_expected_date {
    font-size: 1.6rem;
    color: var(--main-color);
}

@media only screen and (max-width: 767px) {
    .approve_expected {
        flex-flow: column;
        align-items: flex-start;
    }

}

/* ここまで申請フォーム */

/* ここから業務連絡、アンケートのタイトル */

.info_and_survey_title_label {
    height: 40px;
    padding: 0 5px 0 5px;
    width: 100%;
    font-size: 1.5rem;
    border-radius: 2px;
    border: solid 0.5px #2f2e2e;
    align-items: center;
    display: flex;
    color: red;
}

.info_and_survey_title_label p {
    white-space: nowrap;
}

.info_and_survey_title {
    padding: 0 5px 0 5px;
    height: 40px;
    width: 100%;
    border: none;
    font-size: 1.5rem;
    background: none;
}

.important_tag {
    display: none;
}

.urgent_tag {
    display: none;
}


/* ここまで業務連絡、アンケートのタイトル */

/* ここから画像アップローダー */

.app_info_gallery {
    width: 100%;
    margin: 10px auto 10px auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto;
    grid-gap: 15px;
}

.file_container {
    cursor: pointer;
}

.drop_image_container:hover {
    opacity: .5;
    transition: opacity .3s;
}

.file_container div:nth-child(2) {
    width: 100%;
}

.file_container div:nth-child(2) a {
    width: 40px;
    margin-left: auto;
}

.file_container div:nth-child(2) a:hover {
    opacity: .5;
    transition: opacity .3s;
}

.file_container div:nth-child(2) a img {
    width: 100%;
}

.file_detail_container {
    width: 100%;
    height: 50vh;
}

.file_detail_container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.app_info_gallery li {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: #fff;
    flex-flow: column;
}

.app_info_gallery .file_contents {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: #fff;
}

.app_info_gallery .file_contents img {
    width: 100%;
}

.image_delete_btn {
    margin: 0 !important;
}


.app_info_gallery li {
    width: 100%;
}

.app_info_gallery li .drop_image_container {
    width: 100%;
    height: 200px;
    background-color: #EEEEEF;
}

.app_info_gallery li .drop_image_container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.app_info_gallery li .drop_image_label {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 5px;
}

.drag_image_file_name {
    width: 90%;
    padding: 0 5px 0 5px;
    height: 40px;
    font-size: 1rem;
    border-radius: 2px;
    border: solid 1px #cacaca;
    background-color: #EEEEEF;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    line-height: 40px;
}

.drop_image_delete_icon {
    width: 10%;
    display: flex;
    align-items: center;
    margin-left: 5px;
    margin-top: initial;
    opacity: .5;
}

.drop_image_delete_icon img{
    width: 100%;
}

@media only screen and (max-width: 767px) {
    .detail_gallery {
        padding: 5px;
    }

    .app_info_gallery {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
}

/* ここまで画像アップローダー */

/* ここからsubmit用ローディング */

.spinner-box {
    position: relative;
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
}

.pulse-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pulse-bubble {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ffffff;
}

.pulse-bubble-1 {
    animation: pulse .4s ease 0s infinite alternate;
}

.pulse-bubble-2 {
    animation: pulse .4s ease .2s infinite alternate;
}

.pulse-bubble-3 {
    animation: pulse .4s ease .4s infinite alternate;
}

.modal-close-button::before, .modal-close-button::after {
    background-color: #4d4d4d !important;
}

@keyframes pulse {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: .25;
        transform: scale(.75);
    }
}

@media only screen and (max-width: 767px) {
    .progress {
        margin-top: 20px;
        margin-bottom: 60px;
        height: 240px;
    }
    .progress_icon_wrapper {
        display: flex;
        align-items: center;
        width: 80%;
        margin: 0 auto;
        padding-bottom: 120px;
    }
    .drop-area {
        border: 2px dashed #C8C8C8;
    }
}
