/* Net Property Manager - Property contact form (Style F) */
.npm-property-contact-section,
.npm-property-contact-section * {
    box-sizing: border-box;
}

.npm-property-contact-section--style-f {
    display: grid;
    grid-template-columns: minmax(250px, 30%) minmax(0, 1fr);
    width: 100%;
    margin: 56px 0 0;
    overflow: hidden;
    border: 1px solid #d7dde4;
    background: #fff;
}

.npm-property-contact-section--style-f .npm-property-contact-section__aside {
    min-width: 0;
    padding: 38px 20px;
    color: #fff;
    background: linear-gradient(145deg, #262b31 0%, #171a1e 100%);
}

.npm-property-contact-section__head {
    min-width: 0;
}

.npm-property-contact-section__eyebrow {
    position: relative;
    margin: 0 0 28px;
    padding: 0 0 18px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: .16em;
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
}

/* テーマ側の見出し装飾を遮断し、短い線を1本だけ表示 */
.npm-property-contact-section__eyebrow::before {
    content: none !important;
    display: none !important;
}

.npm-property-contact-section__eyebrow::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    bottom: 0 !important;
    display: block !important;
    width: 80px !important;
    height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: rgba(255,255,255,.55) !important;
    box-shadow: none !important;
    transform: none !important;
}

.npm-property-contact-section__title {
    margin: 0;
    color: #fff;
    font-size: clamp(27px, 2.25vw, 38px);
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: .02em;
}

.npm-property-contact-section__lead {
    margin: 28px 0 0;
    color: rgba(255,255,255,.92);
    font-size: 15px;
    line-height: 1.8;
    white-space: nowrap;
}

.npm-property-contact-section__image {
    margin: 28px 0 0;
}

.npm-property-contact-section__image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 230px;
    object-fit: cover;
}

.npm-property-contact-info {
    margin-top: 26px;
}

.npm-property-contact-info__list {
    margin: 0;
}

.npm-property-contact-info__item {
    padding: 14px 0;
    border-top: 1px solid rgba(255,255,255,.15);
}

.npm-property-contact-info__item dt {
    margin: 0 0 5px;
    color: rgba(255,255,255,.72);
    font-size: 12px;
    font-weight: 600;
}

.npm-property-contact-info__item dd {
    margin: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.npm-property-contact-section__form {
    min-width: 0;
    padding: 38px 42px;
    background: #fff;
}

.npm-cf7-property-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 18px;
    min-width: 0;
}

.npm-cf7-property-form__field,
.npm-cf7-property-form__privacy,
.npm-cf7-property-form__submit {
    min-width: 0;
}

.npm-cf7-property-form__field label,
.npm-cf7-property-form__choices legend {
    display: block;
    margin: 0;
    color: #111827;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
}

.npm-cf7-property-form__required,
.npm-cf7-property-form__optional {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 24px;
    margin-left: 7px;
    padding: 0;
    vertical-align: middle;
    border-radius: 2px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.npm-cf7-property-form__required {
    color: #fff;
    background: #20262d;
}

.npm-cf7-property-form__optional {
    color: #657286;
    background: #edf1f5;
}

.npm-cf7-property-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
    margin-top: 8px;
}

.npm-cf7-property-form input[type="text"],
.npm-cf7-property-form input[type="email"],
.npm-cf7-property-form input[type="tel"],
.npm-cf7-property-form input[type="url"],
.npm-cf7-property-form select {
    display: block;
    width: 100%;
    min-height: 38px;
    margin: 0;
    padding: 3px 15px;
    color: #111827;
    border: 1px solid #cbd5df;
    border-radius: 2px;
    background: #fff;
    font: inherit;
    line-height: 1.45;
}

.npm-cf7-property-form textarea {
    display: block;
    width: 100%;
    min-height: 88px;
    max-height: 160px;
    margin: 0;
    padding: 8px 15px;
    color: #111827;
    border: 1px solid #cbd5df;
    border-radius: 2px;
    background: #fff;
    font: inherit;
    line-height: 1.55;
    resize: vertical;
}

.npm-cf7-property-form input:focus,
.npm-cf7-property-form textarea:focus,
.npm-cf7-property-form select:focus {
    border-color: #20262d;
    outline: 2px solid rgba(32,38,45,.12);
    outline-offset: 1px;
}

.npm-cf7-property-form__choices,
.npm-cf7-property-form__field--full,
.npm-cf7-property-form__message,
.npm-cf7-property-form__privacy,
.npm-cf7-property-form__submit {
    grid-column: 1 / -1;
}

.npm-cf7-property-form__choices {
    margin: 0;
    padding: 0;
    border: 0;
}

.npm-cf7-property-form__choices .wpcf7-form-control-wrap {
    margin-top: 14px;
}

.npm-cf7-property-form__choices .wpcf7-form-control {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin-top: 14px;
}

.npm-cf7-property-form__choices .wpcf7-list-item {
    display: block;
    margin: 0;
    min-width: 0;
}

.npm-cf7-property-form__choices .wpcf7-list-item label {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    min-height: 42px;
    padding: 9px 12px;
    border-bottom: 1px solid #edf0f3;
    font-weight: 400;
    cursor: pointer;
}

.npm-cf7-property-form__choices input[type="radio"] {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
}

.npm-cf7-property-form__message {
    width: 100%;
}

.npm-cf7-property-form__privacy {
    font-size: 13px;
    line-height: 1.7;
}

.npm-cf7-property-form__privacy .wpcf7-list-item {
    margin: 0;
}

.npm-cf7-property-form__privacy a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.npm-cf7-property-form__submit .wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 10px 18px;
    color: #fff;
    border: 0;
    border-radius: 2px;
    background: #20262d;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    cursor: pointer;
    transition: opacity .2s ease, transform .2s ease;
}

.npm-cf7-property-form__submit .wpcf7-submit:hover {
    opacity: .86;
}

.npm-cf7-property-form__submit .wpcf7-submit:active {
    transform: translateY(1px);
}

.npm-cf7-property-form .wpcf7-not-valid-tip {
    margin-top: 5px;
    font-size: 12px;
}

.npm-property-contact-section .wpcf7-response-output {
    margin: 18px 0 0;
}

@media (max-width: 991px) {
    .npm-property-contact-section--style-f {
        grid-template-columns: minmax(220px, 34%) minmax(0, 1fr);
    }

    .npm-property-contact-section__lead {
        white-space: normal;
    }

    .npm-property-contact-section__form {
        padding: 32px 28px;
    }
}

@media (max-width: 767px) {
    .npm-property-contact-section--style-f {
        grid-template-columns: 1fr;
        margin-top: 40px;
    }

    .npm-property-contact-section--style-f .npm-property-contact-section__aside {
        padding: 30px 20px;
    }

    .npm-property-contact-section__title {
        font-size: 28px;
    }

    .npm-property-contact-section__lead {
        margin-top: 18px;
        font-size: 14px;
        white-space: normal;
    }

    .npm-property-contact-section__image {
        display: none;
    }

    .npm-property-contact-info {
        margin-top: 20px;
    }

    .npm-property-contact-section__form {
        padding: 28px 20px;
    }

    .npm-cf7-property-form {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .npm-cf7-property-form__field,
    .npm-cf7-property-form__choices,
    .npm-cf7-property-form__field--full,
    .npm-cf7-property-form__message,
    .npm-cf7-property-form__privacy,
    .npm-cf7-property-form__submit {
        grid-column: 1;
    }

    .npm-cf7-property-form__choices .wpcf7-form-control {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .npm-cf7-property-form textarea {
        min-height: 82px;
    }
}
