/*===========================================================================*/
/*  contact top  */
/*===========================================================================*/
.p-contact {
    padding-top: 90px;
    padding-bottom: 130px;
}

.p-contact__head {
    font-size: 20px;
    font-weight: 700;
    font-feature-settings: 'pwid' on, 'palt' on;
    letter-spacing: .06em;
    text-align: center;
    line-height: 1.9;
}

.p-contact__txt {
    text-align: center;
    margin-top: 20px;
    line-height: 2;
}

.p-contact__contents {
    padding-top: 80px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.p-contact__contents dl {
    width: 47%;
    height: 147px;
    border-bottom: #ccc solid 1px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.p-contact__contents dl:nth-of-type(1),
.p-contact__contents dl:nth-of-type(2) {
    border-top: #ccc solid 1px;
}

.p-contact__contents dl dt {
    width: calc(100% - 210px);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.8;
}

.p-contact__contents dl dd {
    width: 180px;
}

.p-contact__content--btn {
    width: 100%;
    height: 60px;
    border-radius: 100vh;
    border: #66cc00 solid 2px;
    background-color: #66cc00;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    transition: all .4s 0s cubic-bezier(.44,.14,.09,1.02);
}

@media screen and (min-width: 769px) {
    .p-contact__content--btn:hover {
        background-color: transparent;
        color: #66cc00;
    }
}

@media screen and (max-width: 768px) {
    .p-contact {
        padding-top: 60px;
        padding-bottom: 100px;
    }
    
    .p-contact__head {
        font-size: 16px;
        line-height: 2;
    }
    
    .p-contact__txt {
        margin-top: 15px;
        font-size: 12px;
    }
    
    .p-contact__contents {
        padding-top: 50px;
        display: block;
    }
    
    .p-contact__contents dl {
        width: 100%;
        height: 128px;
    }
    .p-contact__contents dl:nth-of-type(2) {
        border-top: none;
    }
    
    .p-contact__contents dl dt {
        width: calc(100% - 180px);
        font-size: 17px;
    }
    
    .p-contact__contents dl dd {
        width: 150px;
    }
    
    .p-contact__content--btn {
        height: 50px;
        font-size: 14px;
    }
}

/*===========================================================================*/
/*  contact input  */
/*===========================================================================*/
.p-contactInput {
    padding-top: 75px;
    padding-bottom: 150px;
    font-feature-settings: 'pwid' on, 'palt' on;
    letter-spacing: .06em;
}

.p-contactInput__inner {
    max-width: 900;
}

.p-contactInput__txt {
    padding: 30px 20px;
    border: #dadada solid 1px;
    border-radius: 5px;
    text-align: center;
    line-height: 2;
}

.p-contactInput__table {
    padding-top: 60px;
}
.p-contactInput__table.--entry {
    padding-top: 35px;
}
.p-contactInput__table.--agreement {
    padding-top: 120px;
}

.p-contactInput__table dl {
    display: flex;
    justify-content: space-between;
    padding: 30px 0;
    border-bottom: #ddd solid 1px;
}
.p-contactInput__table.--agreement dl:nth-of-type(1) {
    border-top: #ddd solid 1px;
}

.confirm_area .p-contactInput__table dl {
    padding: 44px 0;
}

.p-contactInput__table dl dt {
    width: 320px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
    padding-top: 16px;
}
.confirm_area .p-contactInput__table dl dt {
    padding-top: 0;
}

.p-contactInput__table dl dt .tag {
    color: #66cc00;
    font-size: 14px;
    font-weight: 700;
    border: #66cc00 solid 1px;
    border-radius: 100vh;
    padding: 6px 10px 7px;
    line-height: 1;
    margin-right: 10px;
}
.p-contactInput__table dl dt .tag.--required {
    background-color: #66cc00;
    color: #fff;
}

.p-contactInput__table dl dt .--small {
    font-size: 13px;
    font-weight: 400;
    margin-left: 5px;
}

.p-contactInput__table dl dd {
    width: calc(100% - 320px);
    font-size: 15px;
    line-height: 1.6;
}
.confirm_area .p-contactInput__table dl dd {
    padding-top: 1px;
}

.p-contactInput__table input[type=text],
.p-contactInput__table input[type=tel],
.p-contactInput__table input[type=date],
.p-contactInput__table input[type=number],
.p-contactInput__table input[type=email],
.p-contactInput__table textarea,
.p-contactInput__table select {
    width: 100%;
    background-color: #f2f2f2;
    border-radius: 3px;
    padding: 17px 20px;
}
.p-contactInput__table input[type=text]:focus,
.p-contactInput__table input[type=tel]:focus,
.p-contactInput__table input[type=date]:focus,
.p-contactInput__table input[type=number]:focus,
.p-contactInput__table input[type=email]:focus,
.p-contactInput__table textarea:focus,
.p-contactInput__table select:focus {
    outline: 1px solid #66cc00;
}

.p-contactInput__table dl.--small input {
    max-width: 300px;
}

.p-contactInput__table textarea {
    resize: vertical;
    min-height: 240px;
}

.p-contactInput__privacy {
    margin-top: 70px;
    border: #dadada solid 3px;
    padding: 50px 30px 60px;
    text-align: center;
}

.p-contactInput__privacy--head {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

.p-contactInput__privacy--txt {
    line-height: 2;
    margin-top: 20px;
}

.p-contactInput__privacy--txt a {
    text-decoration: underline;
    display: inline;
}

.p-contactInput__privacy--check {
    margin-top: 40px;
    font-size: 15px;
}

.p-contactInput__privacy--caution {
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.4;
}

.p-contactInput__btn {
    text-align: center;
    margin-top: 70px;
}

.p-contactInput__btn .c-btn {
    max-width: 400px;
    font-size: 20px;
    font-weight: 700;
    padding: 31px 10px 33px;
    border-width: 2px;
}

.p-contactInput__btn .c-btn-arrow--wrapper {
    width: 28px;
    height: 28px;
}

.p-contactInput__btn .c-btn-arrow01,
.p-contactInput__btn .c-btn-arrow02 {
    width: 28px;
}

#contact-type-value-confirm {
    display: none;
}

/* entry */
.p-contactInput__head {
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    padding: 23px 10px;
    border: #ccc solid 1px;
}
.p-contactInput__head.--mt {
    margin-top: 120px;
}

.p-contactInput__desc {
    text-align: center;
    margin-top: 25px;
    line-height: 1;
}

.p-contactInput__name {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.p-contactInput__name.--02 {
    margin-top: 20px;
}
.confirm_area .p-contactInput__name.--02 {
    margin-top: 10px;
}

.p-contactInput__name--head {
    width: 48px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}

.confirm_area .p-contactInput__name--head {
    font-size: 15px;
    font-weight: 400;
}

.p-contactInput__name--input {
    width: calc(100% - 48px);
}

.p-contactInput__table dl.--gender .wpcf7-form-control {
    width: 100%;
}

.p-contactInput__table dl.--gender .wpcf7-list-item {
    width: 50%;
    max-width: 200px;
}
.p-contactInput__table dl.--gender .wpcf7-list-item.first {
    margin-right: 20px !important;
}

.p-contactInput__table dl.--gender .wpcf7-list-item label {
    width: 100%;
    display: inline-block;
}

.p-contactInput__table dl.--gender .wpcf7-list-item label input {
    display: none;
}

.p-contactInput__table dl.--gender .wpcf7-list-item label span {
    background-color: #f2f2f2;
    border-radius: 3px;
    padding: 17px 20px;
    width: 100%;
    display: inline-block;
    text-align: center;
    font-size: 16px;
    transition: all .4s 0s cubic-bezier(.44,.14,.09,1.02);
}
.p-contactInput__table dl.--gender .wpcf7-list-item label input:checked + span {
    background-color: #66cc00;
    font-weight: 700;
    color: #fff;
}

.p-contactInput__table dl.--file .file-wrapper {
    position: relative;
    border-radius: 3px;
    padding: 17px 20px;
    text-align: center;
    border: #ccc solid 1px;
}

.file-wrapper-txt {
    position: relative;
    padding-left: 38px;
}
.file-wrapper-txt::before {
    background: url('../img/recruit/entry/icon-upload.png') no-repeat center center/contain;
    content: '';
    height: 20px;
    left: 0;
    position: absolute;
    top: 3px;
    width: 29px;
}

.p-contactInput__table dl.--file .wpcf7-form-control-wrap {
    position: absolute !important;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.p-contactInput__table dl.--file .wpcf7-form-control-wrap input {
    opacity: 0;
    width: 100%;
    height: 100%;
}

.p-contactInput__table--caution {
    font-size: 13px;
    line-height: 1.6;
    color: #989898;
    margin-top: 10px;
}

.p-contactInput__table--name {
    display: none;
    position: relative;
    background-color: #f2f2f2;
    padding: 13px 30px 13px 16px;
    border-radius: 3px;
    font-size: 14px;
    margin-top: 10px;
}

.p-contactInput__table--name .file-remove {
    position: absolute;
    width: 12px;
    cursor: pointer;
    top: 50%;
    transform: translate(0, -50%);
    right: 14px;
}

.p-contactInput__table dl.--select dd {
    position: relative;
}
.p-contactInput__table dl.--select dd::before {
    background: url('../img/recruit/entry/tri.svg') no-repeat center center/contain;
    content: '';
    height: 8px;
    right: 20px;
    position: absolute;
    top: 50%;
    width: 10px;
    z-index: 3;
    transform: translate(0, -50%);
    pointer-events: none;
}

.confirm_area .p-contactInput__table dl.--select dd::before {
    display: none;
}

.num-wrapper {
    display: flex;
    align-items: center;
}

.num-wrapper input {
    width: 200px !important;
}

.num-wrapper-txt {
    font-size: 16px;
    font-weight: 700;
    margin-left: 15px;
}
.confirm_area .num-wrapper-txt {
    font-size: 15px;
    font-weight: 400;
    margin-left: 10px;
}

@media screen and (max-width: 768px) {
    .p-contactInput {
        padding: 32px 20px ;
        padding-bottom: 90px;
    }
    
    .p-contactInput__txt {
        padding: 25px 10px;
        border-radius: 0;
        font-size: 14px;
    }
    
    .p-contactInput__table {
        padding-top: 35px;
    }

    .p-contactInput__table.--agreement {
        padding-top: 60px;
    }
    
    .p-contactInput__table dl {
        padding: 30px 0;
        display: block;
    }

    .confirm_area .p-contactInput__table dl {
        padding: 30px 0;
    }
    
    .p-contactInput__table dl dt {
        width: 100%;
        padding-top: 0;
    }
    
    .p-contactInput__table dl dd {
        width: 100%;
        font-size: 16px;
        line-height: 1.6;
        margin-top: 15px;
    }
    
    .p-contactInput__table input[type=text],
    .p-contactInput__table input[type=tel],
    .p-contactInput__table input[type=date],
    .p-contactInput__table input[type=number],
    .p-contactInput__table input[type=email],
    .p-contactInput__table textarea,
    .p-contactInput__table select {
        padding: 14px 15px;
    }
    
    .p-contactInput__table dl.--small input {
        max-width: unset;
    }
    
    .p-contactInput__table textarea {
        min-height: 180px;
    }
    
    .p-contactInput__privacy {
        margin-top: 60px;
        padding: 36px 15px 42px;
    }
    
    .p-contactInput__privacy--head {
        font-size: 18px;
    }
    
    .p-contactInput__privacy--txt {
        line-height: 2;
        margin-top: 20px;
        font-size: 14px;
    }
    
    .p-contactInput__privacy--txt a {
        text-decoration: underline;
        display: inline;
    }
    
    .p-contactInput__privacy--check {
        margin-top: 26px;
        font-size: 15px;
    }
    
    .p-contactInput__privacy--caution {
        margin-top: 10px;
        font-size: 11px;
    }
    
    .p-contactInput__btn {
        margin-top: 50px;
    }
    
    .p-contactInput__btn .c-btn {
        max-width: 290px;
        font-size: 17px;
        padding: 23px 10px 25px;
        border-width: 2px;
    }
    
    .p-contactInput__btn .c-btn-arrow01,
    .p-contactInput__btn .c-btn-arrow02 {
        width: 22px;
    }

    /* entry */
    .p-contactInput__head {
        padding: 20px 10px;
    }
    .p-contactInput__head.--mt {
        margin-top: 72px;
    }

    .p-contactInput__desc {
        text-align: center;
        margin-top: 18px;
        line-height: 2;
    }

    .p-contactInput__table dl.--gender .wpcf7-list-item {
        width: calc(50% - 10px);
    }

    .p-contactInput__table dl.--gender .wpcf7-list-item label span {
        padding: 14px 15px;
        font-size: 16px;
    }

    .p-contactInput__table dl.--file .file-wrapper {
        padding: 14px 15px;
    }
}

/* CF7 */
.p-contactInput__table dl dd .wpcf7-form-control-wrap {
    width: 100% !important;
    position: relative !important;
}
.p-contactInput__table dl dd .num-wrapper .wpcf7-form-control-wrap {
    width: auto !important;
}

.wpcf7-list-item {
    margin: 0 !important;
}

.p-contactInput__table dl dd .wpcf7-not-valid-tip {
    position: absolute;
    width: 100%;
    left: 0;
    top: calc(100% + 2px);
    font-size: 10px !important;
}

.p-contactInput__privacy--check input {
    display: none;
}

.p-contactInput__privacy--check label span.wpcf7-list-item-label {
    position: relative;
    padding-left: 31px;
}

.p-contactInput__privacy--check label span.wpcf7-list-item-label::before {
    content: '';
    height: 20px;
    left: 0;
    position: absolute;
    top: 0;
    width: 20px;
    border: #dadada solid 2px;
}
.p-contactInput__privacy--check label span.wpcf7-list-item-label::after {
    background: url('../img/contact/check.svg') no-repeat center center/contain;
    content: '';
    height: 20px;
    left: 0;
    position: absolute;
    top: 0;
    width: 20px;
    opacity: 0;
}

.p-contactInput__privacy--check label input:checked + span.wpcf7-list-item-label::after {
    opacity: 1;
}

.p-contactInput__btn .wpcf7-spinner {
    display: none;
}

.p-contactInput__btn .c-btn-txt {
    opacity: 0;
}

.p-contactInput__btn .c-btn {
    cursor: pointer;
    display: inline-block;
}

.p-contactInput__btn .c-btn input[type=submit],
.p-contactInput__btn .c-btn input[type=button] {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    padding: 31px 10px 33px;
}

.p-contactInput__btn .c-btn.inactive {
    pointer-events: none;
    border-color: #ccc;
    color: #ccc;
}

.p-contactInput__btn .c-btn.inactive .c-btn-arrow01,
.p-contactInput__btn .c-btn.inactive .c-btn-arrow02 {
    opacity: 0;
}

.p-contactInput__back {
    text-align: center;
    margin-top: 20px;
}
.p-contactInput__back input {
    text-decoration: underline;
}

@media screen and (max-width: 768px) {
    .p-contactInput__btn .c-btn input[type=submit],
    .p-contactInput__btn .c-btn input[type=button] {
        padding: 23px 10px 25px;
    }
}

/*===========================================================================*/
/*  contact thanks  */
/*===========================================================================*/
.p-contactThanks {
    padding-top: 90px;
    padding-bottom: 150px;
    text-align: center;
}

.p-contactThanks__head {
    font-size: 35px;
    font-weight: 700;
    line-height: 1.4;
}

.p-contactThanks__txt {
    line-height: 2;
    margin-top: 38px;
}

.p-contactThanks__btn {
    margin-top: 70px;
}

.p-contactThanks__btn .c-btn {
    max-width: 300px;
}

.p-contactThanks__btn .c-btn-arrow--wrapper {
    right: unset;
    left: 20px;
}

.p-contactThanks__btn .c-btn-arrow01 {
    transform: translate(0, -50%) scale(-1, 1);
    top: calc(50% - 1px);
}

.p-contactThanks__btn .c-btn-arrow02 {
    transform: translate(120%, -50%) scale(-1, 1);
    top: calc(50% - 1px);
}

.p-contactInput__privacy--recaptcha {
    font-size: 10px;
    text-align: center;
    line-height: 1.6;
    margin-top: 20px;
}

@media screen and (min-width: 769px) {
    .p-contactThanks__btn .c-btn:hover .c-btn-arrow01 {
        transform: translate(-120%, -50%) scale(-1, 1);
    }

    .p-contactThanks__btn .c-btn:hover .c-btn-arrow02 {
        transform: translate(0, -50%) scale(-1, 1);
    }
}

@media screen and (max-width: 768px) {
    .p-contactThanks {
        padding: 40px 20px 100px;
    }
    
    .p-contactThanks__head {
        font-size: 30px;
    }
    
    .p-contactThanks__txt {
        line-height: 2;
        margin-top: 36px;
    }
    
    .p-contactThanks__btn {
        margin-top: 40px;
    }
    
    .p-contactThanks__btn .c-btn {
        max-width: 200px;
    }
}