.sec-318__select,
.sec-318__form-item input {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8f8f8;
    width: 100%;
    max-width: 100%;
    height: 56px;
    padding-left: 20px;
    /* color: #D9D9D9; */
    margin: 0;
    color: #444;
    border-radius: unset;
    box-shadow: unset;
    border: unset;
}
.sec-318__form-item .sec-318__select_box input {
    width: auto;
}
.sec-318__select_box {
    position: relative;
    width: 95%;
    max-width: 240px;
    height: 56px;
}
.sec-318__select_box::before {
    content: "";
    position: absolute;
    border-top: 3px solid #C7AD5F;
    border-right: 3px solid #C7AD5F;
    width: 12px;
    height: 12px;
    transform: translate(0, -50%) rotate(135deg);
    top: 50%;
    right: 6%;
    display: block;
    z-index: 1;
}
.sec-318__form-item-inner:has(.sec-318__form-grey) .sec-318__select_box::before {
    border-top: 3px solid #00437c;
    border-right: 3px solid #00437c;
}
.sec-318__select_box:has(.datepicker)::before {
    display: none;
}
.sec-318__form-item input::placeholder,
.sec-318__form-item textarea::placeholder {
    color: #D9D9D9;
}

.sec-318__form-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 24px;
}

.sec-318__form-item-inner-l {
    color: #FFF;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 136%;
    letter-spacing: 1.28px;
    background-color: #ccaf71;
    background: #C7AD5F;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 64px;
    height: 56px;
}

.sec-318__form-item-inner.sec-318__textarea .sec-318__form-item-inner-l {
    height: auto;
}

.sec-318__form-grey {
    background-color: #ABABAB;
}

.sec-318__form-item-inner {
    display: flex;
}

.sec-318__form-item-inner-r {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* .sec-318__select,
.sec-318__form-item input {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    width: 100%;
    height: 100%;
    padding-left: 20px;
    color: #D9D9D9;
} */
.sec-318__form-item-inner.sec-318__textarea {
    align-items: stretch;
}
.sec-318__form-item-7 .sec-318__form-item-inner,
.sec-318__form-item-7 .sec-318__form-item-inner-l {
    height: 336px;
}

.sec-318__form-item textarea {
    display: flex;
    background-color: #f8f8f8;
    box-shadow: unset;
    border: unset;
    width: 100%;
    max-width: 100%;
    height: 100%;
    padding-left: 20px;
    margin: 0;
    padding-top: 22px;
    padding-right: 14px;
    color: #444;
    line-height: 144%;
    letter-spacing: 1.44px;
}
.sec-318__form-btn {
    border: unset;
    text-shadow: unset;
    background: unset;
    border-radius: unset;
    width: 100%;
    max-width: 100%;
    display: block;
    cursor: pointer;
    padding: 0;
}
.sec-318__form-btn .coding01__05-btn1.mfp_buttons {
    width: 100%;
}
.sec-318__form-btn img {
    width: 100%;
    height: auto;
}
.sec-318__select option {
    color: #444;
    width: 360px;
}

.sec-318__select-wrapper {
    position: relative;
    justify-content: flex-start;
}

.sec-318__form-item-8 .sec-318__form-item-inner {
    /* width: 256px; */
    width: 100%;
}

.sec-318__form-item-8 .sec-318__select-history {
    max-width: 100%;
}
.frm__btn-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 40px auto 0;
}
.frm__btn-list li {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-between;
}
.frm__btn-list li > * {
    width: calc(100% - 24px);
    display: block;
}
.frm__btn-list li::before {
    content: "";
    display: block;
    /* position: absolute; */
    /* left: -16px; */
    width: 8px;
    transform: translate(0, 13px) rotate(45deg);
    height: 8px;
    border-top: 1px solid #aaa;
    border-top: 2px solid #F0831E;
    border-right: 2px solid #F0831E;
}
/* .sec-318__select-wrapper::before {
            content: "";
            width: 20px;
            height: 12px;
            display: block;
            background-image: url(/non_upload/unit/images/new_img/sec-318-form-gold-arrow.png);
            background-size: cover;
            background-repeat: no-repeat;
            background-position: center;
            position: absolute;
            right: 26px;
            top: 50%;
            transform: translate(0, -50%);
            z-index: 1;
        }
         */

.sec-318__disabled {
    color: #D9D9D9;
}

.sec-318__select {
    position: relative;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
}

.sec-318__form-txt-text {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 12px;
}

.sec-318__form-txt-text img {

    display: block;
    width: 16px;
    height: auto;
    flex-shrink: 0;
    margin-top: 9px;
}

.sec-318__form-txt-text-num {
    color: #CCAF71;
    font-size: 17px;
    font-style: normal;
    font-weight: 600;
    line-height: 135%;
    /* 22.95px */
    letter-spacing: 0.68px;
    /* display: flex;
            align-items: flex-start;
            width: fit-content; */
    display: inline-block;
}

.sec-318__form-txt-text-num img {
    display: inline-block;
    margin-top: 0;
}

.sec-318__form-txt {
    background-color: white;
    padding: 48px 28px;
    width: 100%;
    max-width: 880px;
    margin: 0 auto;
    margin-top: 64px;
}

.sec-318__form-body {
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
    margin-top: 16px;
}
form#mailformpro label {
    color: #002A4F;
    font-weight: 500;
}
.sec-318__txt {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
}

.sec-318__select-yoyaku {
    /* width: 100%; */
    width: 360px;
    justify-content: flex-start;
}

.sec-318__select-history {
    width: 100%;
    /* width: 184px; */
    /* width: 300px; */
    justify-content: flex-start;
}

.sec-318__form-txt-text-num img {
    width: 16px;
}

.sec-318__form-txt-btn {
    color: transparent;
    display: block;
    width: 290px;
    height: 112px;
    margin: 0 auto;
    background-image: url("/non_upload/unit/images/new_img/sec-318-form-btn-sp.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* 
.sec-318__form-txt-text>p {
    display: flex;
    flex-shrink: 0;
} */

.sec-318__form-txt-text p:last-of-type {
    display: inline;
}

.sec-318__form-txt-text-num {
    /* display: flex; */
}

.sec-318__form-item-inner-r p {

    height: 100%;
    width: 100%;
}

.sec-318__form-txt-text-img {
    display: block;
    width: 6px !important;
    min-width: 6px;
    height: 11px !important;
}
.sec-318__form-item-flex {
    display: flex;
    gap: 24px;
    align-items: stretch;
    justify-content: flex-start;
}
.sec-318__form-item-age > * {
    display: flex;
    align-items: center;
    gap: 8px;
}
.sec-318__form-sub-flex {
    display: flex;
    gap: 24px;
    align-items: stretch;
    justify-content: flex-start;
}
.sec-318__form-sub-title {
    font-size: 17px;
    font-style: normal;
    font-weight: 500;
    line-height: 136%;
    letter-spacing: 1.6px;
    padding-left: 12px;
    margin: 16px 0 8px;
    display: block;
}
.mfp_element_button {
    background: #097cd7;
    color: #fff;
    text-shadow: unset;
    line-height: 1;
    border: unset;
    padding: 12px 16px 16px;
}
.mfp_element_button:hover {
    background: #0866b3;
    color: #fff;
    text-shadow: unset;
    line-height: 1;
    border: unset;
    padding: 12px 16px 16px;
}

@media screen and (max-width: 767px) {
    .sec__title-02-point, .sec-318__ttl {
        font-size: 25px;
    }
    .sec-318__form-item-flex {
        gap: 8px;
    }
    .sec-318__form-sub-flex {
        flex-direction: column;
    }
    .sec-318__form-item-inner > *:has(select) {
        width: 100%;
    }
}
@media screen and (max-width: 389px) {
    .sec-318__select-yoyaku {
        width: 100%;
        /* max-width: ; */
    }
}
@media screen and (min-width: 768px) {
    .sec-318__form-btn {
        max-width: 584px;
        margin: 56px auto 0;
    }
    .coding01__05-btn1 {
        height: 80px;
        align-items: center;
        display: flex;
        justify-content: center;
    }
    .frm__btn-list {
        max-width: 768px;
        margin: 56px auto 0;
    }
    .sec-318__form-item-inner-r > * {
        width: 100%;
    }
    .sec-318__form-item input {
        max-width: 480px;
    }
    .sec-318__select {
        max-width: 240px;
    }
    .sec-318__flex {
        display: flex;
        gap: 40px;
        align-items: flex-start;
    }
    .sec-318__flex > * {
        width: 42%;
    }
}
@media screen and (min-width: 1024px) {
    .sec-318__form-item-inner-l {
        width: 72px;
        font-size: 16px;
    }

    .sec-318__form-txt {
        padding: 48px 110px;
        margin-top: 102px;
    }

    .sec-318__wrapper label {
        font-size: 20px;
        font-style: normal;
        font-weight: 500;
        line-height: 136%;
        /* 27.2px */
        letter-spacing: 1.6px;
        padding-left: 12px;
    }

    .sec-318__form-item {
        margin-bottom: 40px;
    }

    .sec-318__form-txt-btn {
        background-image: url("/non_upload/unit/images/new_img/sec-318-form-btn-pc.png");
        width: 456px;
        height: 100px;
        margin-bottom: 30px;
    }

    .sec-318__form-item-7 .sec-318__form-item-inner {
        height: 210px;
        width: 100%;
    }

    .sec-318__form-item-7 .sec-318__form-item-inner-l {
        width: 72px;
        height: auto;
    }

    .sec-318__form-item-inner-r {
        justify-content: flex-start;
    }

    .sec-318__form-txt-text-num img {
        margin-right: 4px;
    }

    .sec-318__txt {
        text-align: center;
    }
}