/* ---------------
 *  FV
 * --------------- */
.fv-section {
    position: relative;
    height: auto;
    display: flex;
    color: var(--color-white);
}

.fv-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/fv.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

.fv-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: -1;
}

.fv-inner {
    display: inline-block;
    width: 100%;
    max-width: 1000px;
    margin: 260px auto 237px;
    text-align: left;
}

.fv-title {
    font-size: 98px;
    font-weight: 600;
    font-family: "YuMincho", 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', 'MS PMincho', serif;
    margin-bottom: 45px;
}

.fv-title .kanji {
    font-size: 105px;
}

.fv-inner p {
    font-size: 24px;
    font-family: var(--base-font-family);
    margin-bottom: 84px;
    font-weight: 500;
}

@media (min-width: 768px) and (max-width: 1120px) {
    .fv-inner {
        padding-left: 20px;
    }
    .fv-bg {
        background-position: right;
    }
    .fv-title {
        font-size: 78px;
    }
    .fv-title .kanji {
        font-size: 85px;
    }
}

@media (max-width: 768px) {
    .fv-bg {
        background-image: url('../images/fv_sp.jpg');
    }

    .fv-section::before {
        display: none;
    }

    .fv-inner {
        margin: 243px auto 254px;
        padding-left: 17px;
    }

    .fv-title {
        font-size: 42px;
        font-weight: 600;
        margin-bottom: 37px;
        line-height: 1.8;
        letter-spacing: 4px;
    }

    .fv-title .kanji {
        font-size: 45px;
    }

    .fv-inner p {
        font-size: 18px;
        line-height: 2.5;
        margin-bottom: 37px;
    }
}

@media (max-width: 390px) {
    .fv-title {
        letter-spacing: 2px;
    }
}

/* ---------------
 *  message
 * --------------- */
.msg-section {
    position: relative;
    padding: 110px 0 125px;
    background: var(--color-white);
    overflow: hidden;
}

.msg-inner {
    width: 100%;
    max-width: 810px;
    margin: 0 auto;
}

.msg-title {
    width: 100%;
    height: auto;
    text-align: center;
    margin-bottom: 72px;
}

.msg-title img {
    max-width: 710px;
    margin: 0 auto;
}

.msg-section::before,
.msg-section::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 453px;
    height: 386px;
}

.msg-section::before {
    top: 60px;
    left: -200px;
    background-image: url('../images/porigon-left.png');
}

.msg-section::after {
    top: 560px;
    right: -200px;
    background-image: url('../images/porigon-right.png');
}

.msg-text {
    max-width: 810px;
    margin: 0 auto;
    text-align: center;
    font-size: 16px;
    line-height: 2;
    color: var(--primary-color);
    font-family: var(--base-font-family);
    font-weight: 400;
}

.msg-text p {
    margin-bottom: 15px;
}

.msg-text p span {
    font-weight: 700;
}

@media (max-width: 768px) {
    .msg-section {
        padding: 79px 0;
    }

    .msg-inner {
        max-width: 319px;
    }

    .msg-title {
        margin-bottom: 25px;
    }

    .msg-section::before,
    .msg-section::after {
        width: 175px;
        height: 144px;
    }

    .msg-section::before {
        top: 15px;
        left: -72px;
    }

    .msg-section::after {
        top: 693px;
        right: -70px;
    }
}


/* ---------------
 *  service
 * --------------- */
.service-section {
    background: var(--primary-color);
    padding-top: 120px;
    padding-bottom: 120px;
}

.section-title {
    text-align: center;
    color: var(--color-white);
    margin-bottom: 81px;
}

.section-title h2 {
    font-size: 48px;
    font-weight: bold;
    font-family: "Libre Baskerville";
    letter-spacing: 2.4px;
    margin-bottom: 12px;
}

.section-title p {
    position: relative;
    display: inline-block;
    font-size: 16px;
}

.section-title p::after {
    content: "";
    position: absolute;
    background: var(--color-white);
    width: 18px;
    height: 1px;
    bottom: -21px;
    left: 50%;
    transform: translate(-50%, -50%);
}

.service-section .service-block:last-child {
    margin: 0 auto;
}

.service-block {
    background: var(--color-white);
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 60px;
    padding: 60px;
    position: relative;
}

.service-header {
    position: relative;
    text-align: center;
}

.service-number {
    position: absolute;
    max-width: 240px;
    width: 100%;
    height: auto;
    top: 20px;
    left: 50%;
    transform: translate(-50%, -50%);
}

.service-header h3 {
    position: relative;
    font-size: 28px;
    font-weight: 600;
    margin-top: 60px;
    margin-bottom: 125px;
}

.service-intro {
    display: flex;
    gap: 60px;
    margin-bottom: 60px;
}

.service-text h4 {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.8;
    letter-spacing: 1.2px;
    margin-top: 35px;
    margin-bottom: 40px;
}

.service-intro p {
    font-size: 16px;
    font-family: var(--base-font-family);
    color: var(--color-font);
    letter-spacing: 1.2px;
    line-height: 1.8;
}

.service-icons {
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    max-width: 449px;
    height: 100%;
    max-height: 417px;
    z-index: 1;
}

.service-icons::before {
    content: "";
    position: absolute;
    top: 55%;
    left: 50%;
    width: 208px;
    height: 208px;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.3;
    z-index: 0;
}

.icon-under {
    display: flex;
    gap: 32px;
}

.service-icon {
    position: relative;
    width: 208px;
    height: 208px;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    background: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.service-icon img {
    margin-bottom: 12px;
    object-fit: contain;
}

.service-icon p {
    line-height: 1.4;
}

.icon1 img {
    width: 64px;
    height: 56px;
}

.icon2 img {
    width: 47px;
    height: 60px;
}

.icon3 img {
    width: 61.7px;
    height: 52px;
}

.service-icon p {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    text-align: center;
    color: var(--primary-color)
}

.case-study {
    position: relative;
    margin: 0 auto;
}

.service-frame {
    position: relative;
    border: 1px solid var(--primary-color);
    padding: 40px 60px 100px;
    background: var(--color-white);
}

.service-frame::before,
.works-frame::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 26px;
    height: 26px;
    background: var(--primary-color);
    clip-path: polygon(0 0, 0 100%, 100% 0);
}

.case-header {
    margin-bottom: 20px;
}

.case-title {
    font-size: 36px;
    font-weight: bold;
    font-family: "Libre Baskerville", serif;
    color: var(--primary-color);
    display: flex;
    align-items: baseline;
    gap: 21px;
    letter-spacing: 1px;
}

.case-title span {
    font-size: 16px;
    font-weight: bold;
    font-family: var(--base-font-family);
    color: var(--color-black);
}

.case-slider {
    position: relative;
    margin-bottom: 40px;
}

.case-item {
    max-width: 280px !important;
    margin-bottom: 30px;
}

.case-img img {
    display: block;
    width: 280px;
    height: 186px;
    object-fit: cover;
    margin-bottom: 20px;
}

.case-text h5 {
    font-size: 16px;
    font-weight: 700;
    font-family: var(--base-font-family);
    margin-bottom: 15px;
    line-height: 1;
}

.case-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 4px;
    padding-right: 7px;
}

.case-row {
    display: flex;
    align-items: flex-start;
    font-size: 14px;
    font-family: var(--base-font-family);
    font-weight: 400;
    color: var(--color-black);
    line-height: 1.6;
}

.case-label {
    position: relative;
    flex: 0 0 61px;
    padding-right: 11px;
}

.case-label::after {
    content: "｜";
    position: absolute;
    right: 0;
    top: 0;
    color: #D0D0D0;
}

.case-value {
    flex: 1;
    word-break: break-all;
}
@media (max-width: 1120px) {
    .service-block {
        width: 95%;
        padding: 60px 20px;
    }
    .service-icons {
        max-width: 381px;
        max-height: 361px;
    }
    .service-icons::before,
    .service-icon {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 768px) {
    .service-section {
        padding-top: 60px;
        padding-bottom: 31px;
    }

    .section-title h2 {
        font-size: 36px;
    }

    .service-block {
        width: calc(100% - 80px);
        padding: 20px 20px 60px;
    }

    .service-number {
        max-width: 153px;
        top: 20px;
    }

    .service-header h3 {
        font-size: 20px;
        margin-top: 84px;
        margin-bottom: 100px;
    }

    .service-text h4 {
        display: block;
        text-align: center;
        font-size: 18px;
        margin-top: 0;
        margin-bottom: 0;
    }

    .service-intro {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        margin-bottom: 60px;
    }

    .service-intro p {
        font-size: 14px;
    }

    .service-icons {
        max-width: 281px;
        max-height: 261px;
        margin: 0 auto;
    }

    .service-icons::before {
        top: 55%;
        width: 130px;
        height: 130px;
    }

    .icon-under {
        display: flex;
        gap: 20px;
    }

    .service-icon {
        width: 130px;
        height: 130px;
    }

    .service-icon img {
        margin-bottom: 10px;
    }

    .icon1 img {
        width: 40px;
        height: 35px;
    }

    .icon2 img {
        width: 29.6px;
        height: 37.6px;
    }

    .icon3 img {
        width: 38.6px;
        height: 32.7px;
    }

    .service-icon p {
        font-size: 8.75px;
        color: var(--primary-color);
    }

    .service-frame {
        padding: 40px 20px 50px;
    }

    .service-frame::before {
        width: 20px;
        height: 20px;
    }

    .case-header {
        margin-bottom: 40px;
    }

    .case-title {
        font-size: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
    }

    .case-title span {
        font-size: 14px;
    }

    .case-slider {
        margin-bottom: 40px;
    }

    .case-item {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        max-width: 270px !important;
        margin: 0 auto 20px;
    }

    .case-img img {
        max-width: 270px;
        height: 180px;
    }

    .case-info {
        gap: 10px;
        margin-top: 0;
    }

    .case-row {
        display: flex;
        align-items: flex-start;
        font-size: 14px;
        font-family: var(--base-font-family);
        font-weight: 400;
        color: var(--color-black);
        line-height: 1.4;
    }

    .case-label {
        position: relative;
        flex: 0 0 61px;
        padding-right: 11px;
    }

    .case-label::after {
        content: "｜";
        position: absolute;
        right: 0;
        top: 0;
        color: #D0D0D0;
    }
}

@media (max-width: 390px) {

    .case-item,
    .case-img img {
        max-width: 254px !important;
    }
}

/* ---------------
 *  strategy(02)
 * --------------- */
.strategy h4 {
    margin-top: 0;
    margin-bottom: 50px;
}

.strategy .service-text {
    max-width: 577px;
}

.strategy .service-text p {
    line-height: 1.8;
    letter-spacing: .8px;
}

.strategy h5 {
    font-size: 26px;
    font-weight: 600;
    font-family: 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', serif;
    text-align: center;
    margin-bottom: 45px;
}

.strategy-image {
    width: 100%;
    max-width: 364px;
    height: auto;
}

.strategy .service-frame {
    padding: 50px 60px 60px;
}

.problems-title span {
    color: var(--primary-color);
}

.problems {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 49px;
}

.problem-box {
    flex: 1;
    width: 100%;
    max-width: 266px;
    background: #E5EDEF;
    font-size: 16px;
    color: var(--color-font);
    line-height: 1.8;
    letter-spacing: .8px;
    padding: 20px;
}

.problem-box span {
    font-weight: bold;
}

.solution {
    text-align: center;
    font-family: 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', serif;
}

.solution-arrow {
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-bottom: 30px;
}

.solution-sub {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.solution-main {
    display: flex;
    justify-content: center;
    align-items: end;
    color: var(--primary-color);
    margin-top: -25px;
    margin-bottom: 12px;
}

.solution-main img {
    display: inline-block;
    width: 207px;
    height: auto;
    padding-right: 2px;
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    padding-right: 5px;
    padding-bottom: 20px;
}

.logo-text-large {
    font-size: 30px;
    font-weight: 600;
    padding-bottom: 13px;
}

.solution-desc {
    font-size: 18px;
    font-family: var(--base-font-family);
    color: var(--color-font);
    margin-bottom: 49px;
}

.solution-desc span {
    color: var(--primary-color);
    font-weight: 700;
}

.steps {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 27px;
    color: var(--primary-color);
    padding-top: 14px;
}

.step-item {
    flex: 1;
    text-align: center;
}

.step-text {
    position: relative;
    display: inline-flex;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}

.step-item .step-text::before {
    position: absolute;
    background-color: var(--primary-color);
    color: var(--color-white);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-family: "Libre Baskerville", serif;
    top: -220px;
    left: 0%;
    transform: translateX(-50%);
}

.step1 .step-text::before {
    content: "1";
    left: -5%;
}

.step2 .step-text::before {
    content: "2";
    left: 8%;
}

.step3 .step-text::before {
    content: "3";
    left: -50%;
}

.step4 .step-text::before {
    content: "4";
    left: -10%;
}

.step1 img {
    width: 111px;
    height: auto;
    margin: 0 auto 15px;
}

.step2 img {
    width: 169px;
    height: auto;
    margin: 0 auto 20px;
}

.step3 img {
    width: 133px;
    height: auto;
    margin: 0 auto 17px;
}

.step4 img {
    width: 128px;
    height: auto;
    margin: 0 auto 11px;
}

@media (max-width: 768px) {
    .strategy h4 {
        margin-bottom: 0;
    }

    .strategy .service-text {
        max-width: 577px;
    }

    .strategy h5 {
        font-size: 18px;
        margin-bottom: 40px;
    }

    .strategy .service-frame {
        padding: 40px 0 80px;
    }

    .problems {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin-bottom: 30px;
    }

    .problem-box {
        max-width: calc(100% - 80px);
        font-size: 14px;
        line-height: 1.6;
        letter-spacing: .6px;
    }

    .solution-arrow {
        margin-bottom: 24px;
    }

    .solution-sub {
        font-size: 20px;
        margin-bottom: 0;
    }

    .solution-main {
        margin-top: -16px;
        margin-bottom: 24px;
    }

    .solution-main img {
        width: 130px;
        padding-right: 0;
    }

    .logo-text {
        font-size: 15px;
        padding-bottom: 11px;
    }

    .logo-text-large {
        font-size: 20px;
        padding-bottom: 10px;
        margin-right: 3px;
    }

    .solution-desc {
        display: inline-block;
        font-size: 14px;
        text-align: left;
        margin: 0 auto 44px;
        padding-left: 7px;
        padding-right: 7px;
    }

    .steps {
        gap: 18px 12px;
        padding: 14px 23px 0;
    }

    .step-item {
        flex: 0 0 calc(50% - 6px);
    }

    .step-item .step-text::before {
        width: 27px;
        height: 27px;
        font-size: 14px;
        top: -150px;
    }

    .step1 .step-text::before {
        left: -10%;
    }

    .step2 .step-text::before {
        left: -25%;
    }

    .step3 .step-text::before {
        left: -50%;
    }

    .step4 .step-text::before {
        left: -10%;
    }

    .step1 img {
        width: 71px;
        height: auto;
        margin: 0 auto 10px;
    }

    .step2 img {
        width: 109px;
        height: auto;
        margin: 0 auto 12px;
    }

    .step3 img {
        width: 85px;
        height: auto;
        margin: 0 auto 11px;
    }

    .step4 img {
        width: 82px;
        height: auto;
        margin: 0 auto 7px;
    }

    .step-text {
        font-size: 11.6px;
    }
}

/* ---------------
 *  advisory(03)
 * --------------- */
.advisory-text {
    display: inline-block;
    font-size: 16px;
    color: var(--color-font);
    line-height: 1.8;
    margin-bottom: 60px;
}

.advisory-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 60px;
}

.advisory-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 210px;
    height: 150px;
    background: #E5EDEF;
}

.advisory-item img {
    display: inline-block;
    margin-bottom: 5px;
}

.advisory-item p {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
}

.advisory-items div:nth-of-type(1) img {
    width: 40px;
    height: 47px;
}

.advisory-items div:nth-of-type(2) img {
    width: 42px;
    height: 50px;
}

.advisory-items div:nth-of-type(3) img {
    width: 51px;
    height: 58px;
}

.advisory-items div:nth-of-type(4) img {
    width: 70px;
    height: 54px;
}

.works-frame {
    position: relative;
    padding: 60px 60px 100px;
    border: 1px solid var(--primary-color);
}

.work-item {
    position: relative;
    flex: 1;
    max-width: 240px;
    height: 287px;
    border: 1px solid var(--primary-color);
    background-color: #FAFAFA;
    padding: 40px 20px;
}

.work-label {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--primary-color);
    color: var(--color-white);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 64px;
    height: 30px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}

.work-heading {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.before,
.after {
    display: block;
    font-size: 16px;
    letter-spacing: .8px;
}

.before {
    min-height: 72px;
    margin-bottom: 30px;
}

.after {
    min-height: 102px;
    font-weight: bold;
    color: #353535;
}

.before span,
.after span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 64px;
    height: 25px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.8;
    letter-spacing: .6px;
    border-radius: 50px;
    background: #9B9B9B;
    color: var(--color-white);
    margin-bottom: 5px;
}

.after span {
    background: var(--primary-color);
}

@media (max-width: 768px) {
    .advisory-text {
        font-size: 14px;
    }

    .advisory-items {
        flex-wrap: wrap;
        max-width: 454px;
        gap: 10px 20px;
        margin: 0 auto 50px;
    }

    .advisory-item {
        max-width: 145px;
        height: 130px;
    }

    .advisory-item img {
        margin-bottom: 10px;
    }

    .advisory-item p {
        font-size: 14px;
        text-align: center;
    }

    .works-frame {
        padding: 40px 20px 80px;
    }

    .work-item {
        display: flex !important;
        flex-direction: column;
        max-width: 228px !important;
        height: 255px;
        padding: 50px 20px 40px;
        margin: 0 auto;
    }

    .work-label {
        width: 62px;
    }

    .work-heading {
        font-size: 18px;
    }

    .before,
    .after {
        font-size: 14px;
        letter-spacing: .6px;
    }
}

@media (max-width: 395px) {
    .work-item {
        max-width: 211px !important;
    }
}

/* ---------------
 *  Company
 * --------------- */
.company-section {
    color: var(--primary-color)
}

.company-header {
    background-color: #001C21;
    padding: 80px 0 120px;
}

.company-content {
    display: flex;
    align-items: flex-start;
    width: 100%;
    max-width: 1000px;
    margin: -120px auto 0;
    background: var(--color-white);
    padding: 60px;
    gap: 71px;
    position: relative;
    z-index: 2;
}

.company-info {
    width: 100%;
    max-width: 578px;
    max-height: 364px;
}

.company-info div {
    display: flex;
    border-bottom: 1px dotted #DDDDDD;
    color: var(--color-font);
    padding: 14px 0;
}

.company-info dl div:first-child {
    padding: 0 0 15px;
}

.company-info dl div:last-child {
    border-bottom: none;
}

.company-info dt {
    width: 160px;
    font-weight: 700;
}

.company-info dd {
    flex: 1;
    margin: 0;
    line-height: 1.35;
}

.company-image img {
    width: 100%;
    max-width: 351px;
    height: auto;
}

@media (max-width: 1120px) {
    .company-header {
        padding: 50px 0 120px;
    }
    .company-content {
        width: calc(100% - 80px);
        margin: -120px auto 0;
        padding: 50px 20px 60px;
        gap: 45px;
    }
    .company-info {
        width: 65%;
    }

}

@media (max-width: 768px) {
    .company-header {
        padding: 50px 0 120px;
    }

    .company-content {
        flex-direction: column;
        width: calc(100% - 80px);
        margin: -120px auto 0;
        padding: 50px 20px 60px;
        gap: 45px;
    }

    .company-info {
        width: 100%;
        max-height: fit-content;
    }

    .company-info div {
        flex-direction: column;
        gap: 10px;
    }

    .company-image {
        margin: 0 auto;
    }
}

/* ---------------
 *  Contact
 * --------------- */
.contact-form {
    background: var(--color-white);
    width: 100%;
    max-width: 600px;
    margin: -120px auto 0;
    padding: 60px 261px 120px;
}

.contact-form label {
    font-size: 16px;
    font-weight: 700;
    color: #131313;
}

.contact-form .required {
    position: relative;
    top: -2px;
    display: inline-block;
    text-align: center;
    width: 30px;
    height: 18px;
    box-sizing: border-box;
    font-size: 10px;
    font-weight: normal;
    color: var(--color-white);
    background: var(--primary-color);
    padding: 1px 0;
    margin-left: 2px;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-question {
    font-size: 16px;
    font-weight: bold;
    width: 100%;
    margin-bottom: 10px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 11.5px 14px 10.5px;
    font-size: 16px;
    color: #131313;
    border: .5px solid var(--color-gray);
    border-radius: 3px;
    box-sizing: border-box;
}

.contact-form textarea {
    height: 120px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    font-size: 14px;
    color: var(--color-gray);
    font-weight: normal;
}

.contact-form .note {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--color-gray);
}

.wpcf7-form-control-wrap+br {
    display: none;
}

.contact-answer select {
    width: 345px;
    padding: 11.5px 14px 10.5px;
    font-size: 16px;
    border: .5px solid var(--color-gray);
    border-radius: 3px;
    color: #131313;
}

select {
    -webkit-appearance: none;
    appearance: none;
    border: 1px solid var(--color-gray);
    border-radius: 4px;
    padding: 10px 36px 10px 10px;
    background-color: var(--color-white);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'><path fill='%23131313' d='M0 0l5 10 5-10z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 11px center;
    background-size: 10px 10px;
}

select,
::picker(select) {
    appearance: base-select !important;
    -webkit-appearance: none;
    border: 1px solid var(--color-gray) !important;
}

select::-webkit-picker-icon,
select::picker-icon {
    display: none !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
}

select option::checkmark {
    display: none !important;
    content: none !important;
}

.wpcf7-form-control:focus:not(select) {
    outline: none !important;
    box-shadow: none !important;
    border-color: var(--color-gray) !important;
    background: var(--color-white) !important;
}

.wpcf7-form-control:hover:not(select) {
    outline: none !important;
    box-shadow: none !important;
    border-color: var(--color-gray) !important;
    background: var(--color-white) !important;
}

.wpcf7-form-control select:focus,
.wpcf7-form-control select:hover {
    border-color: var(--color-black) !important;
    background: var(--color-black) !important;
}

.contact-answer select option:first-child {
    display: none;
}

.contact-answer select option {
    padding: 11.5px 14px 10.5px;
    border-bottom: .5px solid var(--color-gray);
    color: #131313;
}

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

.wpcf7-list-item label {
    display: flex;
    gap: 11px;
}

.contact-item.contact-privacy input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 23.5px;
    height: 23.5px;
    padding: 0;
    border: 1.5px solid var(--primary-color);
    border-radius: 5px;
    display: inline-block;
    position: relative;
    vertical-align: middle;
}

.contact-item.contact-privacy input[type="checkbox"]:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.contact-item.contact-privacy input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 7px;
    width: 6px;
    height: 11px;
    border-right: 2px solid var(--color-white);
    border-bottom: 2px solid var(--color-white);
    transform: rotate(45deg);
}

.contact-item.contact-privacy .wpcf7-list-item-label {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 5px;
}

.contact-item.contact-privacy .wpcf7-list-item-label a {
    color: var(--primary-color);
    text-decoration: underline;
}

.contact-item select option:first-child {
    color: var(--color-gray)
}

.contact-submit p {
    height: 60px;
}

.contact-form input[type="submit"] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 333px;
    height: 61.5px;
    margin: 120px auto 0;
    background-color: var(--primary-color);
    color: var(--color-white);
    font-size: 21px;
    font-weight: 400;
    letter-spacing: 2.1px;
    border-radius: 0;
    cursor: pointer;
}

.contact-form input[type="submit"]:focus,
.contact-form input[type="submit"]:hover {
    background-color: var(--primary-color) !important;
}

.wpcf7-not-valid-tip {
    font-size: 10px !important;
    font-weight: 500;
    letter-spacing: 1px;
    color: #CE2628;
    margin-top: 3px;
    margin-left: 2px;
}

.wpcf7-form-control.wpcf7-not-valid {
    background-color: #faeaea !important;
}

@media (max-width: 1120px) {
    .contact-form {
        width: calc(100% - 80px);
        padding: 60px 20px 30px;
    }

    .contact-answer select {
        width: 100%;
    }

    .contact-form input[type="submit"] {
        width: 100%;
        margin: 45px auto 0;
        font-size: 16px;
        letter-spacing: 1.6px;
    }
}