.yokuchi-contact {
    width: 100%;

    padding: 115px 40px 125px;

    background: #fff;
}

.yokuchi-contact__container {
    display: grid;

    grid-template-columns: 1fr 1fr;

    width: 100%;
    max-width: 1440px;

    margin: 0 auto;
}


/* =========================
   LEFT
   ========================= */

.yokuchi-contact__title {
    position: relative;

    margin: 0 0 28px;
    padding-bottom: 20px;

    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 28px;
    line-height: 40px;

    font-weight: 500;

    letter-spacing: 8px;

    text-transform: uppercase;

    color: #1d1d1b;
}

.yokuchi-contact__title::after {
    content: '';

    position: absolute;

    left: 0;
    bottom: 0;

    width: 45px;
    height: 2px;

    background: #e64d4d;
}

.yokuchi-contact__description {
    margin-bottom: 35px;

    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    letter-spacing: 0;

    color: #666;
}

.yokuchi-contact__description p {
    margin: 0;
}


/* =========================
   CONTACT ITEMS
   ========================= */

.yokuchi-contact__details {
    display: flex;
    flex-direction: column;

    gap: 20px;
}

.yokuchi-contact__item {
    display: flex;

    align-items: flex-start;

    gap: 14px;
}

.yokuchi-contact__icon {
    width: 20px;

    flex: 0 0 20px;

    padding-top: 2px;

    font-size: 16px;
    line-height: 1;

    color: #e64d4d;
}

.yokuchi-contact__icon-image {
    display: block;

    width: 20px;
    height: 20px;

    object-fit: contain;
}

.yokuchi-contact__item-content {
    display: flex;

    flex-direction: column;

    gap: 3px;
}

.yokuchi-contact__label {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 24px;
    letter-spacing: 0;

    color: #888;
}

.yokuchi-contact__value {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 18px;
    line-height: 24px;

    font-weight: 500;
    letter-spacing: 0;

    color: #222;

    text-decoration: none;
}

.yokuchi-contact__value:hover {
    color: #e64d4d;
}


/* =========================
   FORM
   ========================= */

.yokuchi-contact__form {
    width: 100%;
    max-width: 720px;
}


/* =========================
   CONTACT FORM 7
   ========================= */

.yokuchi-contact__form .wpcf7 {
    width: 100%;
}

.yokuchi-contact__form .wpcf7-form {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;
}


/* pola */

.yokuchi-contact__form p {
    margin: 0;
}

.yokuchi-contact__form p:nth-of-type(3),
.yokuchi-contact__form p:nth-of-type(4),
.yokuchi-contact__form p:nth-of-type(5),
.yokuchi-contact__form p:nth-of-type(6) {
    grid-column: 1 / -1;
}

.yokuchi-contact__form .contact-full {
    grid-column: 1 / -1;
}

.yokuchi-contact__form input:not([type="checkbox"]):not([type="submit"]),
.yokuchi-contact__form textarea,
.yokuchi-contact__form select {
    width: 100%;

    margin: 0;

    padding: 11px 13px;

    border: 1px solid #d9d9d9;
    border-radius: 0;

    background: #fff;

    box-shadow: none;

    font-family: Inter, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    letter-spacing: 0;

    color: #222;
}

.yokuchi-contact__form input:not([type="checkbox"]):not([type="submit"]) {
    height: 42px;
}

.yokuchi-contact__form textarea {
    display: block;

    min-height: 135px;

    resize: vertical;
}

.yokuchi-contact__form input:not([type="checkbox"]):not([type="submit"])::placeholder,
.yokuchi-contact__form textarea::placeholder {
    font-family: Inter, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    letter-spacing: 0;
    color: #aaa;
    opacity: 1;
}


/* focus */

.yokuchi-contact__form input:not([type="checkbox"]):not([type="submit"]):focus,
.yokuchi-contact__form textarea:focus {
    outline: none;

    border-color: #aaa;
}


/* =========================
   CHECKBOX / CONSENT
   ========================= */

.yokuchi-contact__form .wpcf7-acceptance {
    grid-column: 1 / -1;
}

.yokuchi-contact__form .privacy-checkbox {
    position: relative;

    grid-column: 1 / -1;

    margin: 0;
    padding: 0 0 24px 27px;

    font-family: Inter, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 24px;
    font-weight: 300;
    letter-spacing: 0;

    color: #595959;
}

.yokuchi-contact__form .privacy-checkbox .wpcf7-form-control-wrap,
.yokuchi-contact__form .privacy-checkbox .wpcf7-checkbox,
.yokuchi-contact__form .privacy-checkbox .wpcf7-list-item {
    display: inline !important;
}

.yokuchi-contact__form .privacy-checkbox .wpcf7-list-item label {
    display: inline !important;
}

.yokuchi-contact__form .privacy-checkbox input[type="checkbox"] {
    position: absolute;

    left: 0;
    top: 1px;
}

.yokuchi-contact__form .privacy-checkbox .wpcf7-list-item-label {
    font-size: inherit;
    line-height: inherit;
}

.yokuchi-contact__form .privacy-checkbox a {
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.yokuchi-contact__form .wpcf7-form-control-wrap[data-name^="acceptance-"] {
    display: block !important;
    width: 100%;
}

.yokuchi-contact__form .wpcf7-form-control-wrap[data-name^="acceptance-"] .wpcf7-checkbox,
.yokuchi-contact__form .wpcf7-checkbox {
    display: block !important;
    width: 100%;
}

.yokuchi-contact__form .wpcf7-list-item {
    margin: 0;
}

.yokuchi-contact__form .wpcf7-list-item label {
    display: flex !important;

    align-items: flex-start;

    gap: 10px;

    cursor: pointer;
}

.yokuchi-contact__form .wpcf7-checkbox.wpcf7-not-valid input[type="checkbox"] {
    border-color: #e64d4d;
}

.yokuchi-contact__form input[type="checkbox"] {
    position: relative;

    appearance: none;
    -webkit-appearance: none;

    display: grid;
    box-sizing: border-box;
    place-items: center;

    width: 17px;
    height: 17px;
    aspect-ratio: 1 / 1;

    flex: 0 0 17px;
    min-width: 17px;
    min-height: 17px;

    margin-top: 1px;

    padding: 0;

    border: 1px solid #a9a9a9;
    border-radius: 0;

    background: #fff;

    cursor: pointer;

    transition:
        border-color .2s ease,
        background-color .2s ease;
}

.yokuchi-contact__form input[type="checkbox"]::before {
    content: '';

    width: 9px;
    height: 5px;

    margin-top: -1px;

    border: solid #fff;
    border-width: 0 0 2px 2px;

    opacity: 0;

    transform: rotate(-45deg);

    transition: opacity .2s ease;
}

.yokuchi-contact__form input[type="checkbox"]:checked {
    border-color: #e64d4d;

    background: #e64d4d;
}

.yokuchi-contact__form input[type="checkbox"]:checked::before {
    opacity: 1;
}

.yokuchi-contact__form input[type="checkbox"]:focus-visible {
    outline: 2px solid rgba(230, 77, 77, .25);
    outline-offset: 2px;
}

.yokuchi-contact__form .wpcf7-list-item-label {
    max-width: 620px;

    font-family: Inter, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 24px;
    font-weight: 300;
    letter-spacing: 0;

    color: #595959;
}


/* =========================
   SUBMIT
   ========================= */

.yokuchi-contact__form input[type="submit"],
.yokuchi-contact__form button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    width: fit-content;
    height: 44px;

    padding: 0 22px;

    border: 1px solid #888;

    background: transparent;

    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;

    letter-spacing: 2px;

    text-transform: uppercase;

    color: #222;

    cursor: pointer;

    transition:
        border-color .2s ease,
        color .2s ease;
}

.yokuchi-contact__form input[type="submit"]:disabled,
.yokuchi-contact__form button[type="submit"]:disabled {
    opacity: 1;
}

.yokuchi-contact__form input[type="submit"]:hover,
.yokuchi-contact__form button[type="submit"]:hover {
    border-color: #e64d4d;

    color: #e64d4d;
}

.yokuchi-contact__submit-arrow {
    color: #e64d4d;

    font-size: 16px;
    line-height: 1;

    transition: transform .2s ease;
}

.yokuchi-contact__form button[type="submit"]:hover .yokuchi-contact__submit-arrow {
    transform: translateX(4px);
}


/* =========================
   CF7 MESSAGES
   ========================= */

.yokuchi-contact__form .wpcf7-not-valid {
    border-color: #e64d4d !important;
}

.yokuchi-contact__form .wpcf7-not-valid-tip {
    display: block;

    margin-top: 6px;

    font-size: 10px;
    line-height: 1.5;
    font-weight: 400;

    color: #e64d4d;
}

.yokuchi-contact__form .wpcf7-form-control-wrap[data-name^="acceptance-"] .wpcf7-not-valid-tip,
.yokuchi-contact__form .wpcf7-acceptance .wpcf7-not-valid-tip {
    display: block !important;
    width: 100%;
    clear: both;

    margin-top: 8px;
    padding-left: 27px;
}

.yokuchi-contact__form .privacy-checkbox .wpcf7-not-valid-tip {
    position: absolute;

    left: 27px;
    bottom: 0;

    display: block !important;

    width: calc(100% - 27px);

    margin: 0;
    padding: 0;
}

.yokuchi-contact__form .wpcf7-response-output {
    grid-column: 1 / -1;

    margin: 15px 0 0 !important;

    padding: 12px 15px !important;

    border: 1px solid #d9d9d9 !important;
    border-left: 2px solid #e64d4d !important;
    border-radius: 0;

    background: #fff;

    font-size: 11px;
    line-height: 1.6;
    font-weight: 400;

    color: #595959;
}

.yokuchi-contact__form form.invalid .wpcf7-response-output,
.yokuchi-contact__form form.unaccepted .wpcf7-response-output,
.yokuchi-contact__form form.failed .wpcf7-response-output,
.yokuchi-contact__form form.aborted .wpcf7-response-output,
.yokuchi-contact__form form.spam .wpcf7-response-output {
    border-color: #f0c9c9 !important;
    border-left-color: #e64d4d !important;

    color: #8a2f2f;
}

.yokuchi-contact__form form.sent .wpcf7-response-output {
    border-color: #c8dfd1 !important;
    border-left-color: #4c9a68 !important;

    color: #2f6f46;
}

.yokuchi-contact__form .wpcf7-spinner {
    margin: 10px;
}

.yokuchi-contact__form .privacy-checkbox {
    display: flex !important;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0;

    grid-column: 1 / -1;

    margin: 0;
    padding: 0;

    font-family: Inter, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 24px;
    font-weight: 300;
    letter-spacing: 0;

    color: #595959;
}

.yokuchi-contact__form .privacy-checkbox .wpcf7-form-control-wrap,
.yokuchi-contact__form .privacy-checkbox .wpcf7-checkbox,
.yokuchi-contact__form .privacy-checkbox .wpcf7-list-item,
.yokuchi-contact__form .privacy-checkbox .wpcf7-list-item label {
    display: contents !important;
}

.yokuchi-contact__form .privacy-checkbox input[type="checkbox"] {
    position: static;

    flex: 0 0 17px;

    margin: 1px 10px 0 0;
}

.yokuchi-contact__form .privacy-checkbox .wpcf7-list-item-label {
    display: inline;

    max-width: none;

    font-size: inherit;
    line-height: inherit;
}

.yokuchi-contact__form .privacy-checkbox a {
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.yokuchi-contact__form .privacy-checkbox .wpcf7-not-valid-tip {
    position: static;

    display: block !important;
    flex: 0 0 100%;

    width: 100%;

    margin: 6px 0 0 27px;
    padding: 0;

    font-size: 10px;
    line-height: 1.5;

    color: #e64d4d;
}

.privacy-consent {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 4px;
}

.privacy-consent p {
    display: flex !important;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 4px;

    width: 100%;

    margin: 0 !important;
}

.privacy-consent br {
    display: none !important;
}

.privacy-consent .wpcf7-form-control-wrap {
    display: contents !important;
}

.privacy-consent .wpcf7-checkbox,
.privacy-consent .wpcf7-list-item label {
    display: contents !important;
}

.privacy-consent .wpcf7-list-item {
    margin: 0;
}

.privacy-consent input[type="checkbox"] {
    flex: 0 0 auto;

    margin-right: 6px;
}

.privacy-consent .wpcf7-not-valid-tip {
    flex: 0 0 100%;
    order: 10;

    margin-left: 27px;
}

.yokuchi-contact__form .privacy-consent p {
    display: flex !important;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 4px;

    width: 100%;

    margin: 0 !important;
}

.yokuchi-contact__form .privacy-consent br {
    display: none !important;
}

.yokuchi-contact__form .privacy-consent .wpcf7-form-control-wrap,
.yokuchi-contact__form .privacy-consent .wpcf7-checkbox,
.yokuchi-contact__form .privacy-consent .wpcf7-list-item,
.yokuchi-contact__form .privacy-consent .wpcf7-list-item label {
    display: contents !important;
}

.yokuchi-contact__form .privacy-consent input[type="checkbox"] {
    position: static;

    display: inline-grid;
    flex: 0 0 17px;

    margin: 1px 6px 0 0;
}

.yokuchi-contact__form .privacy-consent .wpcf7-list-item-label,
.yokuchi-contact__form .privacy-consent a {
    display: inline;
}

.yokuchi-contact__form .privacy-consent .wpcf7-not-valid-tip {
    display: block !important;
    flex: 0 0 100%;
    order: 10;

    margin: 6px 0 0 27px;
    padding: 0;
}

.yokuchi-contact__form .privacy-consent p {
    display: block !important;

    width: 100%;

    margin: 0 !important;

    font-family: Inter, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 24px;
    letter-spacing: 0;
}

.yokuchi-contact__form .privacy-consent p > br {
    display: none !important;
}

.yokuchi-contact__form .privacy-consent .wpcf7-form-control-wrap,
.yokuchi-contact__form .privacy-consent .wpcf7-checkbox,
.yokuchi-contact__form .privacy-consent .wpcf7-list-item {
    display: inline !important;

    width: auto !important;
}

.yokuchi-contact__form .privacy-consent .wpcf7-list-item label {
    display: inline-flex !important;
    align-items: flex-start;
    gap: 6px;

    width: auto !important;

    vertical-align: top;
}

.yokuchi-contact__form .privacy-consent input[type="checkbox"] {
    position: static;

    display: inline-grid;
    flex: 0 0 17px;

    margin: 1px 0 0;
}

.yokuchi-contact__form .privacy-consent .wpcf7-list-item-label,
.yokuchi-contact__form .privacy-consent a {
    display: inline !important;

    width: auto !important;
}

.yokuchi-contact__form .privacy-consent .wpcf7-not-valid-tip {
    display: block !important;

    width: 100% !important;

    margin: 6px 0 0 27px;
    padding: 0;
}


/* =========================
   TABLET
   ========================= */

@media (max-width: 1024px) {

    .yokuchi-contact {
        padding:
            90px
            30px
            100px;
    }

    .yokuchi-contact__container {
        grid-template-columns: minmax(max-content, 1fr) 1.5fr;

        gap: 42px;
    }

    .yokuchi-contact__left,
    .yokuchi-contact__form {
        max-width: none;
    }

}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 767px) {

    .yokuchi-contact {
        padding:
            70px
            20px
            80px;
    }

    .yokuchi-contact__container {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .yokuchi-contact__left {
        max-width: 100%;
    }

    .yokuchi-contact__title {
        font-size: 18px;
        font-weight: 500;
        line-height: 25px;
        letter-spacing: 4px;
    }

    .yokuchi-contact__form {
        max-width: 100%;
    }

    .yokuchi-contact__form .wpcf7-form {
        grid-template-columns: 1fr;
    }

}

.yokuchi-contact__form .privacy-consent .wpcf7-form-control-wrap,
.yokuchi-contact__form .privacy-consent .wpcf7-form-control.wpcf7-checkbox,
.yokuchi-contact__form .privacy-consent .wpcf7-list-item,
.yokuchi-contact__form .privacy-consent .wpcf7-list-item label {
    display: inline !important;
    width: auto !important;
    max-width: none !important;
}

.yokuchi-contact__form .privacy-consent input[type="checkbox"] {
    display: inline-grid !important;
    vertical-align: text-top;

    margin: 1px 6px 0 0 !important;
}

.yokuchi-contact__form .privacy-consent p > br {
    display: none !important;
}

.yokuchi-contact__form .privacy-consent .wpcf7-list-item-label,
.yokuchi-contact__form .privacy-consent a {
    display: inline !important;
    width: auto !important;
}

.yokuchi-contact__form .privacy-consent {
    grid-column: 1 / -1 !important;
    display: block !important;

    width: 100% !important;
    max-width: none !important;
}

.yokuchi-contact__form .privacy-consent p {
    display: block !important;

    width: 100% !important;
    max-width: none !important;
}

.yokuchi-contact__form .privacy-consent .wpcf7-list-item label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px;

    vertical-align: middle;
}

.yokuchi-contact__form .privacy-consent input[type="checkbox"] {
    margin-top: 0 !important;

    vertical-align: middle;
}

.yokuchi-contact__form .privacy-checkbox,
.yokuchi-contact__form .privacy-checkbox .wpcf7-list-item-label,
.yokuchi-contact__form .privacy-consent,
.yokuchi-contact__form .privacy-consent p,
.yokuchi-contact__form .privacy-consent .wpcf7-list-item-label,
.yokuchi-contact__form .privacy-consent a {
    font-family: Inter, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 24px;
    letter-spacing: 0;
}

.yokuchi-contact__form p:has(.wpcf7-form-control-wrap[data-name^="acceptance-"]) {
    display: block !important;

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;

    font-family: Inter, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 24px;
    letter-spacing: 0;
}

.yokuchi-contact__form p:has(.wpcf7-form-control-wrap[data-name^="acceptance-"]) > br {
    display: none !important;
}

.yokuchi-contact__form .wpcf7-form-control-wrap[data-name^="acceptance-"],
.yokuchi-contact__form .wpcf7-form-control-wrap[data-name^="acceptance-"] .wpcf7-checkbox,
.yokuchi-contact__form .wpcf7-form-control-wrap[data-name^="acceptance-"] .wpcf7-list-item {
    display: inline !important;

    width: auto !important;
    max-width: none !important;
}

.yokuchi-contact__form .wpcf7-form-control-wrap[data-name^="acceptance-"] .wpcf7-list-item label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px;

    width: auto !important;
    max-width: none !important;

    vertical-align: middle;
}

.yokuchi-contact__form .wpcf7-form-control-wrap[data-name^="acceptance-"] input[type="checkbox"] {
    display: inline-grid !important;

    margin: 0 !important;

    vertical-align: middle;
}

.yokuchi-contact__form .wpcf7-form-control-wrap[data-name^="acceptance-"] .wpcf7-list-item-label,
.yokuchi-contact__form p:has(.wpcf7-form-control-wrap[data-name^="acceptance-"]) a {
    display: inline !important;

    width: auto !important;
    max-width: none !important;

    font: inherit;
    line-height: inherit;
}
