/*===========================================================================*/
/*  contact mv  */
/*===========================================================================*/
.p-contactMv {
    padding-top: 316px;
    padding-bottom: 135px;
}

.p-contactMv__inner {
    padding: 16px 7.3% 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
}

.p-contactMv__subHead {
    font-size: 150px;
    font-weight: 300;
    line-height: .9;
    letter-spacing: -.02em;
}

.p-contactMv__right {
    padding: 24px 0 10px 20px;
}

.p-contactMv__right--txt {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    white-space: nowrap;
}

.p-contactMv__btn {
    width: 355px;
    height: 52px;
    border: #fff solid 1px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.48;
    margin-top: 14px;
}

.p-contactMv__btn--txt {
    padding-right: 22px;
    position: relative;
    height: 24px;
}

.p-contactMv__btn--txt::before {
    background: url('../img/arrow.svg') no-repeat center center/contain;
    content: '';
    height: 10px;
    right: 0;
    position: absolute;
    top: 8px;
    width: 10px;
    transition: transform .5s;
}

.p-contactMv__btn--txt .--wrapper {
    width: 164px;
    height: 24px;
    overflow: hidden;
    position: relative;
}

.p-contactMv__btn--txt .--wrapper span {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    transition: transform .5s;
}

@media screen and (min-width: 901px) {
    .p-contactMv__btn:hover .p-contactMv__btn--txt::before {
        transform: rotate(360deg);
    }
    
    .p-contactMv__btn:hover .p-contactMv__btn--txt .--wrapper span {
        transform: translate(0, calc(24px - 100%));
    }
}

@media screen and (max-width: 900px) {
    .p-contactMv {
        padding-top: 142px;
        padding-bottom: 55px;
    }

    .p-contactMv__info {
        padding-left: 6.92%;
    }
    
    .p-contactMv__inner {
        padding: 15px 6.92% 0;
        display: block;
    }
    
    .p-contactMv__subHead {
        font-size: 72px;
    }

    .p-contactMv__right {
        padding: 80px 0 0;
    }
    
    .p-contactMv__right--txt {
        font-size: 13px;
        text-align: center;
    }
    
    .p-contactMv__btn {
        width: 100%;
        height: 48px;
        border-radius: 3px;
        font-size: 14px;
        margin-top: 15px;
    }
    
    .p-contactMv__btn--txt {
        padding-right: 16px;
        height: 21px;
    }
    
    .p-contactMv__btn--txt::before {
        height: 8px;
        top: 7px;
        width: 8px;
    }
    
    .p-contactMv__btn--txt .--wrapper {
        width: 144px;
        height: 21px;
    }
}

/*===========================================================================*/
/*  contact main  */
/*===========================================================================*/
.p-contactMain {
    padding: 0 7.3% 190px;
}

.p-contactMain__inner {
    max-width: 774px;
    margin: 0 auto;
}

.p-contact__form--table {
    font-size: 14px;
    line-height: 1.48;
}

.p-contact__form--table dl {
    display: flex;
    padding: 35px 0;
    border-bottom: #fff solid 1px;
}

.p-contact__form--table dl dt {
    font-weight: 500;
    width: 234px;
    padding-top: 15px;
}

.p-contact__form--table .--required {
    margin-left: 4px;
}

.p-contact__form--table dl.--check dt {
    padding-top: 0;
}

.p-contact__form--table dl dd {
    width: calc(100% - 234px);
}

.p-contact__form--table dl dd input[type="text"],
.p-contact__form--table dl dd input[type="email"],
.p-contact__form--table dl dd input[type="tel"],
.p-contact__form--table dl dd textarea {
    padding: 15px;
    background-color: #acaa9e;
    border-radius: 4px;
    width: 100%;
}

.p-contact__form--table dl dd textarea {
    resize: vertical;
    min-height: 150px;
}

.p-contact__form--table ::placeholder {
    color: #fff;
    opacity: .6;
}

.p-contact__form--table :focus {
    outline: none;
}

.p-contact__form--table dl.--check dd {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    top: -10px;
}

.p-contact__form--table dl.--check .mwform-checkbox-field {
    margin: 10px 44px 0 0;
    width: 190px;
}
.p-contact__form--table dl.--check .mwform-checkbox-field:nth-of-type(2),
.p-contact__form--table dl.--check .mwform-checkbox-field:nth-of-type(4) {
    margin-right: 0;
}

.mwform-checkbox-field label input[type=checkbox] {
    appearance: none;
    display: none;
}

.mwform-checkbox-field label {
    position: relative;
    padding-left: 22px;
    cursor: pointer;
}

.mwform-checkbox-field-text::before {
    background-color: #fff;
    content: '';
    height: 12px;
    left: 0;
    position: absolute;
    top: 5px;
    width: 12px;
    border-radius: 2px;
}
.mwform-checkbox-field-text::after {
    background: url('../img/check.svg') no-repeat center center/contain;
    content: '';
    height: 12px;
    left: 0;
    position: absolute;
    top: 5px;
    width: 12px;
    opacity: 0;
}

input[type=checkbox]:checked + .mwform-checkbox-field-text::after {
    opacity: 1;
}

.p-contact__agreement {
    margin-top: 40px;
    text-align: center;
    color: #040000;
    font-size: 14px;
    line-height: 1.48;
}

.p-contact__agreement--inner {
    display: inline-block;
    position: relative;
}

.p-contact__agreement .mwform-checkbox-field-text {
    width: 224px;
    opacity: 1;
    text-align: right;
}

.p-contact__agreement--txt {
    position: absolute;
    top: 0;
    right: 0;
    pointer-events: none;
}

.p-contact__agreement--txt a {
    pointer-events: all;
}

.p-contact__agreement a {
    color: #fff;
    text-decoration: underline;
}

.p-contact__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px auto 0;
    width: 353px;
    height: 67px;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.48;
    color: #999689;
    background-color: #eae7dd;
    border-radius: 5px;
    position: relative;
    transition: all .4s;
    border: #eae7dd solid 1px;
}

.p-contact__btn input {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    opacity: 0;
    z-index: 2;
}

@media screen and (min-width: 901px) {
    .p-contact__btn:hover {
        color: #eae7dd;
        background-color: transparent;
    }
}

@media screen and (max-width: 900px) {
    .p-contactMain {
        padding: 0 6.92% 90px;
    }
    
    .p-contact__form--table {
        font-size: 13px;
    }
    
    .p-contact__form--table dl {
        display: block;
        padding: 25px 0 30px;
    }
    
    .p-contact__form--table dl dt {
        width: 100%;
        padding-top: 0;
    }
    
    .p-contact__form--table .--required {
        margin-left: 4px;
    }
    
    .p-contact__form--table dl.--check dt {
        padding-top: 0;
    }
    
    .p-contact__form--table dl dd {
        width: 100%;
        margin-top: 8px;
    }
    
    .p-contact__form--table dl dd input[type="text"],
    .p-contact__form--table dl dd input[type="email"],
    .p-contact__form--table dl dd input[type="tel"],
    .p-contact__form--table dl dd textarea {
        padding: 14px 15px 15px;
        border-radius: 3px;
    }
    
    .p-contact__form--table dl dd textarea {
        min-height: 144px;
    }
    
    .p-contact__form--table dl.--check dd {
        display: flex;
        top: 0;
        padding-top: 4px;
        position: relative;
    }
    
    .p-contact__form--table dl.--check .mwform-checkbox-field {
        margin: 8px 0 0 0;
        width: 62.1%;
        padding-right: 30px;
    }
    .p-contact__form--table dl.--check .mwform-checkbox-field:nth-of-type(2),
    .p-contact__form--table dl.--check .mwform-checkbox-field:nth-of-type(4) {
        width: 37.9%;
        padding-right: 0;
    }
    
    .mwform-checkbox-field label input[type=checkbox] {
        appearance: none;
        display: none;
    }
    
    .mwform-checkbox-field label {
        padding-left: 17px;
    }
    
    .mwform-checkbox-field-text::before {
        height: 11px;
        top: 5px;
        width: 11px;
    }
    .mwform-checkbox-field-text::after {
        height: 11px;
        top: 5px;
        width: 11px;
    }
    
    .p-contact__agreement {
        margin-top: 35px;
        font-size: 13px;
    }

    .p-contact__agreement .mwform-checkbox-field-text {
        width: 208px;
    }
    
    .p-contact__btn {
        margin: 35px auto 0;
        width: 100%;
        height: 58px;
        font-size: 16px;
        border-radius: 3px;
        padding-bottom: 2px;
    }
    
    .p-contact__btn input {
        position: absolute;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        opacity: 0;
        z-index: 2;
    }

    .p-contact__agreement--txt .--opacity {
        opacity: 0;
    }
}

/*===========================================================================*/
/*  thanks  */
/*===========================================================================*/
.p-lower {
    padding: 129px 7.3% 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    min-height: 400px;
    text-align: center;
}

.p-lower__head {
    font-size: 70px;
    font-weight: 300;
    line-height: .9;
    letter-spacing: -.02em;
}

.p-lower__txt {
    margin: 60px auto 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.8;
}
.p-lower.--404 .p-lower__txt {
    max-width: 460px;
}

.p-lower__btns {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 51px;
}

.p-lower__btn {
    width: 263px;
    height: 52px;
    border: #fff solid 1px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.48;
}
.p-lower__btn.--01 {
    color: #999689;
    background-color: #eae7dd;
    border: #eae7dd solid 1px;
    margin-right: 15px;
}

.p-lower__btn--txt {
    padding-right: 22px;
    position: relative;
    height: 24px;
}

.p-lower__btn--txt::before {
    background: url('../img/arrow.svg') no-repeat center center/contain;
    content: '';
    height: 10px;
    right: 0;
    position: absolute;
    top: 8px;
    width: 10px;
    transition: transform .5s;
}
.p-lower__btn.--01 .p-lower__btn--txt::before {
    background: url('../img/arrow02.svg') no-repeat center center/contain;
}

.p-lower__btn--txt .--wrapper {
    width: 164px;
    height: 24px;
    overflow: hidden;
    position: relative;
}
.p-lower__btn.--01 .p-lower__btn--txt .--wrapper {
    width: 80px;
}

.p-lower__btn--txt .--wrapper span {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    transition: transform .5s;
}

@media screen and (min-width: 901px) {
    .p-lower__btn:hover .p-lower__btn--txt::before {
        transform: rotate(360deg);
    }
    
    .p-lower__btn:hover .p-lower__btn--txt .--wrapper span {
        transform: translate(0, calc(24px - 100%));
    }
}

@media screen and (max-width: 900px) {
    .p-lower {
        padding: 92px 6.92% 30px;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
        min-height: 200px;
        text-align: center;
    }
    
    .p-lower__head {
        font-size: 52px;
    }
    
    .p-lower__txt {
        margin-top: 25px;
        font-size: 14px;
    }
    
    .p-lower__btns {
        display: block;
        margin-top: 30px;
    }
    
    .p-lower__btn {
        width: 100%;
        height: 48px;
        border-radius: 3px;
        font-size: 14px;
        padding-bottom: 1px;
    }
    .p-lower__btn.--01 {
        margin-right: 0;
        margin-bottom: 12px;
    }
    
    .p-lower__btn--txt {
        padding-right: 16px;
        position: relative;
        height: 21px;
    }
    
    .p-lower__btn--txt::before {
        height: 8px;
        top: 7px;
        width: 8px;
    }
    
    .p-lower__btn--txt .--wrapper {
        width: 144px;
        height: 21px;
    }
    .p-lower__btn.--01 .p-lower__btn--txt .--wrapper {
        width: 70px;
    }
}
