.owner-house-end {
    display: block;
    background-color: var(--vk-color-text-body);
    color: #fff;
    padding: 8px 30px;
    font-size: 20px;
    letter-spacing: 0.1em;
    margin: 0 auto 4em;
    text-align: center;
    width: 100%;
    max-width: 640px;
}

@media screen and (max-width: 767.98px) {
    .owner-house-end {
        font-size: 18px;
    }
}

.owner-house-empty {
    text-align: center;
    padding: 60px 0;
}

.loop-item-owner-house__row--period dt {
    width: 5em;
}

@media screen and (max-width: 991.98px) {
    .loop-item-owner-house__row--period dt {
        width: 4.5em;
    }
}

.owner-house-ttl-main {
    font-size: 35px;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 15px;
    margin-top: 75px;
}

.owner-house-ttl-sub {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 70px;
}

.owner-house-intro-flex {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.owner-house-intro-txt {
    width: 48%;
    flex-shrink: 0;
}

.owner-house-intro-img {
    width: 42%;
}

.owner-house-intro-img img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

.owner-house-intro-box {
    background-color: var(--vk-color-text-body);
    color: #fff;
    font-weight: bold;
    text-align: center;
    padding: 11px 15px;
    font-size: 18px;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.owner-house-intro-list {
    padding: 0;
    margin: 0 0 20px 0;
    list-style: none;
}

.owner-house-intro-list li {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 0;
    line-height: 1.4;
    display: inline-block;
    margin-right: 21px;
}

.owner-house-intro-desc {
    line-height: 1.8;
}

.owner-house-separator {
    margin-top: 80px;
    margin-bottom: 90px;
    border-top: 0.5px solid var(--vk-color-text-body);
    width: 100%;
}

.owner-house-list-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: var(--vk-color-text-body);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.owner-house-list-title::before,
.owner-house-list-title::after {
    content: "";
    display: block;
    width: 1px;
    height: 25px;
    background-color: var(--vk-color-text-body);
}

.owner-house-list-title::before {
    transform: rotate(-30deg);
}

.owner-house-list-title::after {
    transform: rotate(30deg);
}



@media screen and (max-width: 767.98px) {

    .owner-house-ttl-main {
        font-size: 24px;
        margin-bottom: 10px;
        margin-top: 50px;
    }

    .owner-house-ttl-sub {
        margin-bottom: 40px;
    }

    .owner-house-intro-flex {
        flex-direction: column-reverse;
        gap: 30px;
    }

    .owner-house-intro-txt,
    .owner-house-intro-img {
        width: 100%;
    }

    .owner-house-separator {
        margin-top: 40px;
        margin-bottom: 0;
    }

    .owner-house-list-title {
        font-size: 20px;
    }

    .owner-house-list-title::before,
    .owner-house-list-title::after {
        height: 20px;
    }
}

.owner-house-end {
    display: block;
    background-color: var(--vk-color-text-body);
    color: #fff;
    padding: 8px 30px;
    font-size: 20px;
    letter-spacing: 0.1em;
    margin: 0 auto 4em;
    text-align: center;
    width: 100%;
    max-width: 640px;
}

@media screen and (max-width: 767.98px) {
    .owner-house-end {
        font-size: 18px;
    }
}

.owner-house-detail {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 80px;
}

.owner-house-detail__visual {
    width: 57%;
    flex-shrink: 0;
    position: relative;
}

.owner-house-detail__visual img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
    aspect-ratio: 630 / 500;
    object-fit: cover;
}

.owner-house-detail__info {
    width: 50%;
}

.owner-house-detail__badge {
    display: inline-block;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 10px 55px;
    font-size: 16px;
    margin-bottom: 25px;
    letter-spacing: 0.1em;
}

.owner-house-detail__title {
    font-size: 35px;
    line-height: 1.6;
    margin-bottom: 25px;
    letter-spacing: 0.05em;
    font-weight: 600;
    font-family: "游明朝", "Yu Mincho", "游明朝体", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
}

.owner-house-detail__table-wrap {
    width: 100%;
}

.owner-house-detail__dl {
    width: 100%;
    margin: 0;
}

.owner-house-detail__row {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 0.5px solid rgba(113, 113, 113, 0.5);
    align-items: center;
}

.owner-house-detail__row:first-child {
    border-top: 0.5px solid rgba(113, 113, 113, 0.5);
}

.owner-house-detail__row--spec {
    border-bottom: none;
}

.owner-house-detail__row:last-child {
    border-bottom: 0.5px solid rgba(113, 113, 113, 0.5);
}

.owner-house-detail__dt {
    width: 25.5%;
    padding: 10px 5px 10px 0;
    font-weight: normal;
    letter-spacing: 0.1em;
    font-size: 14px;
    line-height: 1.1;
    margin: 0;
}

.owner-house-detail__dd {
    width: 74.5%;
    padding: 10px 0 10px 0;
    line-height: 1.6;
    font-size: 16px;
    margin: 0;
}

.owner-house-detail__row--spec .owner-house-detail__dt {
    padding: 2px 5px 2px 0;
}

.owner-house-detail__row--spec .owner-house-detail__dd {
    padding: 2px 0 2px 0;
}

.owner-house-detail__row:not(.owner-house-detail__row--spec)+.owner-house-detail__row--spec .owner-house-detail__dt {
    padding-top: 15px;
}

.owner-house-detail__row:not(.owner-house-detail__row--spec)+.owner-house-detail__row--spec .owner-house-detail__dd {
    padding-top: 15px;
}

.owner-house-detail__row--spec:last-child .owner-house-detail__dt {
    padding-bottom: 15px;
}

.owner-house-detail__row--spec:last-child .owner-house-detail__dd {
    padding-bottom: 15px;
}

.owner-house-detail__dd--price {
    font-weight: bold;
    font-size: 18px;
}

.owner-house-detail__unit {
    font-size: 16px;
    font-weight: normal;
    margin-left: 5px;
}

.owner-house-detail__dd--payment {
    font-size: 20px;
}

.owner-house-detail__note {
    font-size: 16px;
    margin-left: 10px;
}

.owner-house-detail__annotation {
    font-size: 13px;
    margin-bottom: 15px;
    line-height: 1.5;
    width: 100%;
    border-top: 1px dashed rgba(113, 113, 113, 0.5);
    padding-top: 5px;
    text-indent: -1em;
    padding-left: 1em;
}

@media screen and (max-width: 991.98px) {
    .owner-house-detail {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 40px;
    }

    .owner-house-detail__visual,
    .owner-house-detail__info {
        width: 100%;
    }

    .owner-house-detail__badge {
        margin-bottom: 20px;
        padding: 6px 20px;
        font-size: 14px;
    }

    .owner-house-detail__title {
        font-size: 22px;
        margin-bottom: 25px;
    }

    .owner-house-detail__row {
        padding: 8px 0;
    }

    .owner-house-detail__row--spec {
        padding: 0;
    }

    .owner-house-detail__dt {
        width: 35%;
        padding: 0;
        font-size: 14px;
    }

    .owner-house-detail__dd {
        width: 65%;
        padding: 0;
        font-size: 16px;
    }

    .owner-house-detail__dd--price {
        font-size: 22px;
    }

    .owner-house-detail__unit {
        font-size: 14px;
    }

    .owner-house-detail__dd--payment {
        font-size: 18px;
    }

    .owner-house-detail__note {
        display: block;
        margin-left: 0;
        margin-top: 5px;
        font-size: 14px;
    }

    .owner-house-detail__annotation {
        font-size: 13px;
        margin-bottom: 4px;
        padding-top: 14px;
        margin-top: 15px;
    }
}

@media screen and (max-width: 575.98px) {
    .owner-house-detail__dt {
        width: 30%;
    }
}

.owner-house-reservation {
    border: 6px solid #ccc;
    padding: 25px 20px 20px;
    text-align: center;
    margin-bottom: 40px;
}

@media (max-width: 991.98px) {
    .owner-house-reservation {
        margin-top: 40px;
        margin-bottom: 15px;
    }
}

.owner-house-reservation__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    background-color: #e77733;
    color: #fff;
    text-decoration: none;
    width: 88%;
    margin: 0 auto 15px;
    padding: 22px 15px;
    border-radius: 50vh;
    font-size: 16px;
    font-weight: bold;
    line-height: 1;
    letter-spacing: 0.1em;
    transition: opacity 0.3s;
}

.owner-house-reservation__btn:hover {
    opacity: 0.8;
    color: #fff;
}

.owner-house-reservation__btn img {
    width: 23px;
    height: auto;
}

.owner-house-reservation__lead {
    font-size: 15px;
    margin-bottom: 5px;
    color: var(--vk-color-text-body);
}

.owner-house-reservation__tel {
    font-size: 22px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 5px;
    color: var(--vk-color-text-body);
    letter-spacing: 5px;
}

.owner-house-reservation__tel img {
    width: 80%;
}

.owner-house-reservation__time {
    font-size: 15px;
    color: var(--vk-color-text-body);
    margin-bottom: 0;
}

@media screen and (max-width: 1200px) {
    .owner-house-reservation__tel {
        font-size: 18px;
    }
}

@media screen and (max-width: 991.98px) {
    .owner-house-reservation__tel {
        font-size: 18px;
    }
}

@media screen and (max-width: 767.98px) {
    .owner-house-reservation {
        padding: 30px 15px;
        border-width: 5px;
    }

    .owner-house-reservation__btn {
        font-size: 18px;
        padding: 20px;
        gap: 10px;
        max-width: 100%;
        margin-bottom: 25px;
        background: #000;
    }

    .owner-house-reservation__btn img {
        width: 24px;
    }

    .owner-house-reservation__lead {
        font-size: 14px;
    }

    .owner-house-reservation__tel {
        font-size: 30px;
    }

    .owner-house-reservation__time {
        font-size: 12px;
    }
}

.ratio-layout {
    position: relative;
}

.ratio-layout__sub.is-fixed {
    position: fixed;
    z-index: 10;
}

.ratio-layout__sub.is-absolute {
    position: absolute;
    z-index: 10;
}

.owner-house-contact {
    background-color: #f2f2f2;
    padding: 120px 0;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-top: 120px;
}

.owner-house-contact__box {
    background-color: #fff;
    padding: 60px 40px;
}

.owner-house-contact__lead {
    text-align: left;
    margin-bottom: 50px;
    line-height: 1.8;
    font-size: 16px;
    color: #c00;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.owner-house-contact__notes {
    margin: 0;
    padding: 0;
    list-style: none;
}

.owner-house-contact__notes li {
    position: relative;
    margin: 0 0 0.5em;
    padding: 0 0 0 1.25em;
}

.owner-house-contact__notes li::before {
    content: "・";
    position: absolute;
    left: 0;
    top: 0;
    color: #c00;
}

.owner-house-contact__notes li:last-child {
    margin-bottom: 0;
}

.owner-house-contact__notes strong {
    font-weight: 700;
}

.owner-house-contact__header {
    background-color: var(--vk-color-text-body);
    color: #fff;
    text-align: center;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0.1em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.owner-house-contact__form {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@media screen and (max-width: 767.98px) {
    .owner-house-contact {
        padding: 80px 0;
        margin-top: 80px;
    }

    .owner-house-contact__box {
        padding: 40px 20px;
    }

    .owner-house-contact__lead {
        font-size: 14px;
        margin-bottom: 30px;
        text-align: left;
    }

    .owner-house-contact__notes br {
        display: none;
    }

    .owner-house-contact__header {
        font-size: 16px;
        padding: 12px;
        margin-bottom: 30px;
    }
}

.owner-house-reservation__tel a {
    color: inherit;
    text-decoration: none;
    cursor: default;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.05em;
    font-size: 26px;
}

.owner-house-reservation__tel a img {
    width: 23px;
    margin-top: -3px;
}

@media screen and (max-width: 1200px) {
    .owner-house-reservation__tel a {
        font-size: 22px;
    }

    .owner-house-reservation__tel a img {
        width: 18px;
    }
}

@media screen and (max-width: 991.98px) {
    .owner-house-reservation__tel a {
        font-size: 24px;
    }
}

@media screen and (max-width: 767.98px) {
    .owner-house-reservation__tel a {
        cursor: pointer;
        font-size: 26px;
    }
}

.floating-actions__list--land {
    justify-content: center;
}

.floating-actions__item--land {
    width: 100%;
    height: 320px;
}

.floating-actions__item--land .floating-actions__link {
    justify-content: center;
    color: #fff;
    display: flex;
    align-items: center;
    width: 90px;
    writing-mode: vertical-rl;
}

.floating-actions__item--land .floating-actions__text {
    font-size: 16px;
}

.floating-actions__list.pc-none {
    display: none;
}

.floating-actions__list.sp-none {
    display: block;
}

@media screen and (max-width: 991.98px) {
    .floating-actions__item--land .floating-actions__link {
        width: 75px;
    }
}

@media screen and (max-width: 767.98px) {
    .floating-actions__item--land {
        width: 100%;
        height: 50px;
    }

    .floating-actions__item--land .floating-actions__link {
        padding: 0;
        width: 100%;
        writing-mode: horizontal-tb;
    }

    .floating-actions__list.pc-none {
        display: block;
    }

    .floating-actions__list.sp-none {
        display: none;
    }
}


.owner-house-layout {
    margin-bottom: 60px;
}

.owner-house-layout__slider {
    position: relative;
    border: 1px solid #ccc;
}

.owner-house-layout__link {
    display: block;
    position: relative;
}

.owner-house-layout__img {
    width: 100%;
    height: auto;
    padding: 20px 30px;
    vertical-align: bottom;
    aspect-ratio: 63 / 40;
    object-fit: contain;
}

.owner-house-layout__zoom {
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 120px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.owner-house-layout__zoom img {
    width: auto;
    height: 20px;
}

.swiper-button-prev,
.swiper-button-next {
    width: 36px;
    height: 36px;
    background: #000 no-repeat 14px center;
    background-size: 11px;
    border-radius: 50vh;
    z-index: 10;
    margin-top: -18px;
    /* Center alignment */
}

.swiper-button-prev::after,
.swiper-button-next::after {
    content: "";
    /* Override swiper default arrows */
    display: none;
}

.swiper-button-prev {
    left: 10px;
    background-position-x: 10px;
    background-image: url("../../img/arrow-1.svg");
}

.swiper-button-next {
    right: 10px;
    background-image: url("../../img/arrow-2.svg");
}

@media screen and (max-width: 767.98px) {

    .owner-house-recommend__item {
        font-size: 16px;
    }

    .owner-house-recommend__item::before {
        font-size: 16px;
    }

    .swiper-button-prev,
    .swiper-button-next {
        width: 30px;
        height: 30px;
        margin-top: -15px;
    }

    .owner-house-layout__zoom {
        width: 100px;
        height: 35px;
    }

    .owner-house-layout__zoom img {
        height: 16px;
    }
}

.swiper-button-next:focus,
.swiper-button-next:hover,
.swiper-button-next:active {
    background: #000 no-repeat 14px center;
    background-image: url("../../img/arrow-2.svg");
    background-size: 11px;
    outline: none;
}

.swiper-button-prev:focus,
.swiper-button-prev:hover,
.swiper-button-prev:active {
    background: #000 no-repeat 14px center;
    background-position-x: 10px;
    background-image: url("../../img/arrow-1.svg");
    background-size: 11px;
    outline: none;
}

.owner-house-gallery {
    margin-bottom: 60px;
    /* Space for the absolute caption */
}

.owner-house-gallery__main {
    margin-bottom: 15px;
    width: 100%;
    overflow: hidden;
}

.owner-house-gallery__item a {
    display: block;
    width: 100%;
}

.owner-house-gallery__item {
    width: 100%;
}

.owner-house-gallery__img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
    position: static;
}

.owner-house-gallery__nav {
    margin: 0 0 15px;
}

.owner-house-gallery__nav-item {
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s;
    aspect-ratio: 123 / 82;
}

.owner-house-gallery__nav-item.swiper-slide-thumb-active,
.owner-house-gallery__nav-item:hover {
    opacity: 1;
}

.owner-house-gallery__nav-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    vertical-align: bottom;
}

.owner-house-gallery__caption {
    font-size: 16px;
    margin-top: 15px;
    min-height: 1.5em;
    /* Will be managed by JS */
}
.owner-house-gallery__caption-item {
    display: none;
}
.owner-house-gallery__caption-item.is-active {
    display: inline;
}

@media screen and (max-width: 767.98px) {
    .owner-house-gallery {
        margin-top: 60px;
    }

    .owner-house-layout__zoom {
        width: 100px;
        height: 35px;
    }

    .owner-house-layout__zoom img {
        height: 16px;
    }
}

/* Nearby Info Section */
.owner-house-nearby {
    margin-bottom: 60px;
}

.owner-house-nearby__map {
    position: relative;
    width: 100%;
    padding-top: 56.35%;
    /* 355 / 630 ratio */
    margin-bottom: 30px;
    background-color: #f5f5f5;
}

.owner-house-nearby__map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100% !important;
}

.owner-house-nearby__access {
    margin-bottom: 40px;
}

.owner-house-nearby__access-item {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 0.5em;
    line-height: 1.6;
}

.owner-house-nearby__access-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.4em;
    width: 14px;
    height: 14px;
    border: 1px solid #333;
    box-sizing: border-box;
}

.owner-house-nearby__grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.owner-house-nearby__item {
    width: 33.333%;
    padding: 0 10px;
    box-sizing: border-box;
    margin-bottom: 30px;
}

.owner-house-nearby__img {
    margin-bottom: 10px;
}

.owner-house-nearby__img img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.owner-house-nearby__name {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    line-height: 1.4;
}

.owner-house-nearby__time {
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 0;
}

@media screen and (max-width: 767.98px) {
    .owner-house-nearby__item {
        padding: 0 2px;
    }

    .owner-house-nearby__time {
        font-size: 14px;
    }
}

.owner-house-note {
    margin-bottom: 60px;
}

.owner-house-note__inner {
    border: none;
    padding: 0;
    line-height: 1.8;
    background-color: transparent;
    display: flex;
    gap: 25px;
}

.owner-house-note__img {
    width: 35%;
    flex-shrink: 0;
    margin: 0;
}

.owner-house-note__img img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
    border: 1px solid #ccc;
}

.owner-house-note__body {
    flex: 1;
}

@media screen and (max-width: 767.98px) {
    .owner-house-note__inner {
        padding: 0;
        font-size: 14px;
        gap: 20px;
    }

    .owner-house-note__img {
        width: 40%;
        max-width: 300px;
        margin: 0 auto;
    }
}

.post-list.vk_posts {
    display: grid;
    margin: 0;
    gap: 40px;
}


@media screen and (max-width: 767.98px) {
    .post-list.vk_posts {
        gap: 20px;
    }
}




.owner-house-footer-cta {
    display: none;
}


@media (max-width: 991.98px) {
    .owner-house-footer-cta {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        width: calc(100% - 50px);
        height: 50px;
        background-color: #e77733;
        z-index: 110000;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    }

    .owner-house-footer-cta__container {
        display: flex;
        width: 100%;
        height: 100%;
    }

    .owner-house-footer-cta__btn {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #fff;
        text-decoration: none;
        font-weight: bold;
        font-size: 13px;
        gap: 10px;
        border-right: 1px solid rgba(255, 255, 255, 0.5);
        transition: opacity 0.3s;
    }

    .owner-house-footer-cta__btn:first-child {
        flex: 2;
    }

    .owner-house-footer-cta__btn:last-child {
        border-right: none;
    }

    .owner-house-footer-cta__btn:hover {
        opacity: 0.8;
        color: #fff;
    }

    .owner-house-footer-cta__icon {
        width: 24px;
        height: auto;
        filter: brightness(0) invert(1);
    }

    .owner-house-footer-cta__btn:last-child .owner-house-footer-cta__icon {
        width: 18px;
    }

}

.single-land .header-ttl {
    background: none !important;
    aspect-ratio: auto;
    padding-top: 40px;
}

.single-land .headline .h1 {
    color: var(--vk-color-text-body);
    padding-bottom: 10px;

    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid;
}

.single-land .headline .h1 span {
    color: var(--vk-color-text-body);
    margin-top: 10px;
}

@media (max-width: 991.98px) {
    .single-land .header-ttl {
        padding-top: 0;
    }

    .single-land .headline {
        margin: 20px auto 4px;
    }
}

.owner-house-info {
    margin-bottom: 25px;
}

.owner-house-info__img {
    margin-bottom: 20px;
}

.owner-house-info__img img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

.owner-house-info__dl {
    margin: 0;
}

.owner-house-info__row {
    display: flex;
    margin-bottom: 5px;
    font-size: 15px;
    line-height: 1.6;
}

.owner-house-info__row:last-child {
    margin-bottom: 0;
}

.owner-house-info__row dt {
    width: 6em;
    flex-shrink: 0;
    font-weight: normal;
    margin: 0;
}

.owner-house-info__row dd {
    margin: 0;
}

@media screen and (max-width: 767.98px) {
    .owner-house-info__row {
        font-size: 12px;
    }
}

.single .header-ttl {
    aspect-ratio: 1440 / 700;
    align-items: flex-start;
}

.single .header-ttl .h1 {
    font-family: "游明朝", "Yu Mincho", "游明朝体", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
    text-align: left;
    margin-top: 10%;
    font-size: 45px;
    line-height: 1.4;
}

.owner-house-access {
    margin-bottom: 60px;
    margin-top: 80px;
    border-top: 0.5px solid var(--vk-color-text-body);
    padding-top: 60px;
}

.owner-house-access__title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.4;
    text-align: center;
}

.owner-house-access__map {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    margin-bottom: 0;
    background-color: #f5f5f5;
}

.owner-house-access__map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100% !important;
}

@media screen and (max-width: 767.98px) {
    .owner-house-access {
        margin-top: 0;
    }

    .owner-house-access__title {
        font-size: 16px;
    }
}

@media (max-width: 991.98px) {
    .single .site-body {
        padding-top: 0;
    }

    .single .header-ttl {
        background: none !important;
        aspect-ratio: auto;
        padding-top: 40px;
    }

    .single .headline .h1 {
        color: var(--vk-color-text-body);
        padding-bottom: 10px;
        font-family: "Oswald";
        line-height: 0.95em;
        display: flex;
        border-bottom: 1px solid;
        margin-top: 0;
        gap: 0;
        flex-direction: column;
        align-items: flex-start;
        font-size: 36px;
    }

    .single .headline .h1 span {
        color: var(--vk-color-text-body);
        margin-top: 0;
    }

    .single .header-ttl {
        padding-top: 0;
    }

    .single .headline {
        margin: 20px auto 4px;
    }
}

.owner-house-types {
    background-color: #f2f2f2;
    padding: 50px 0;
    border-radius: 15px;
    margin-top: 40px;
}

.owner-house-types__title {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 40px;
}

.owner-house-types__grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 0 auto;
    padding: 0 50px;
}

.owner-house-types__col {
    width: 48%;
    display: flex;
    flex-direction: column;
}

.owner-house-types__card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 8px;
}

.owner-house-types__fig {
    width: 67%;
    margin: 0;
    display: flex;
}

.owner-house-types__fig img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.owner-house-types__content {
    width: 50%;
    padding: 20px 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.owner-house-types__label {
    font-family: "Oswald";
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    border-bottom: 1px solid #000;
    padding-bottom: 3px;
    margin: 0 auto 15px;
    letter-spacing: 0.1em;
    width: fit-content;
    padding: 0 8px;
}

.owner-house-types__name {
    font-size: 22px;
    font-weight: bold;
    height: 55px;
    margin-bottom: 10px;
    line-height: 1.4;
    margin-top: 0;
}

.owner-house-types__lead {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0;
}

/* 街かどリード：コンテンツ幅417px以下では強制改行を解除 */
.owner-house-types__col:nth-child(2) .owner-house-types__content {
    container-type: inline-size;
    container-name: mh-type2-lead;
}

@container mh-type2-lead (max-width: 417px) {
    .owner-house-types__lead br {
        display: none;
    }
}

.owner-house-types__desc {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 0;
    text-align: justify;
}

.owner-house-types__col:first-child .owner-house-types__name {
    line-height: 2.5;
}

@media (max-width:991.98px) {
    .owner-house-types {
        padding: 30px 0;
        margin-top: 30px;
    }

    .owner-house-types__title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .owner-house-types__content {
        padding: 8px 8px;
    }

    .owner-house-types__grid {
        flex-direction: column;
        gap: 30px;
        padding: 0 20px;
    }

    .owner-house-types__col {
        width: 100%;
    }

    .owner-house-types__fig {
        width: 55%;
    }

    .owner-house-types__label {
        font-size: 12px;
        padding-bottom: 3px;
        margin: 0 auto 5px;
    }

    .owner-house-types__name {
        font-size: 14px;
        height: 35px;
    }

    .owner-house-types__lead {
        font-size: 12px;
    }

    .owner-house-types__col:first-child .owner-house-types__name {
        line-height: 3.2;
    }

    .owner-house-types__desc {
        font-size: 12px;
    }
}


.loop-item-owner-house {
    margin-bottom: 60px;
}

.owner-house-city-section .loop-item-owner-house:first-of-type {
    margin-top: 0;
}

.loop-item-owner-house:first-child {
    margin-top: 145px;
}

.loop-item-owner-house__inner {
    background: #f2f2f2;
}

.loop-item-owner-house__visual {
    display: flex;
    gap: 5px;
}

.loop-item-owner-house__main {
    width: 60%;
    position: relative;
}

.loop-item-owner-house__sub {
    width: 40%;
}

.loop-item-owner-house__link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.loop-item-owner-house__img-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.loop-item-owner-house__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.loop-item-owner-house__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 30px 40px;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.loop-item-owner-house__type {
    font-family: "游ゴシック", "Yu Gothic", "游ゴシック体", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1.4;
    color: #fff;
    background: transparent;
    border: 1px solid #fff;
    border-radius: 999px;
    padding: 4px 14px;
    margin-bottom: 16px;
    display: inline-block;
    width: fit-content;
}

.loop-item-owner-house__title {
    font-size: 30px;
    font-weight: 500;
    font-family: "游明朝", "Yu Mincho", "游明朝体", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
    margin-bottom: 20px;
    line-height: 1.4;
}

.loop-item-owner-house__catch {
    font-size: 20px;
    line-height: 1.8;
    /* キャッチコピー文字色変更可能にするため */
    /* background: rgba(255, 255, 255, 0.9); */
    /* color: #333; */
    padding: 5px 12px;
    display: inline-block;
    width: fit-content;
    font-family: "游明朝", "Yu Mincho", "游明朝体", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;

}

.loop-item-owner-house__pctext {
    position: absolute;
	bottom: 10px;
	right: 20px;
}

.loop-item-owner-house__sptext {
    display: none;
}

.loop-item-owner-house__info {
    padding: 15px 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f5f5f5;
}

.loop-item-owner-house__data {
    font-size: 15px;
    line-height: 1.8;
}

.loop-item-owner-house__dl {
    margin: 0;
}

.loop-item-owner-house__row {
    display: flex;
    margin-bottom: 0;
}

.loop-item-owner-house__row dt {
    width: 5em;
    margin: 0;
    font-weight: normal;
}

.loop-item-owner-house__row dd {
    margin: 0;
}

.loop-item-owner-house__sep {
    margin: 0 10px;
}

.loop-item-owner-house__tel {
    font-size: 22px;
    font-weight: bold;
    margin-top: -5px;
}

.loop-item-owner-house__meta {
    display: contents;
}

.loop-item-owner-house__tel img {
    width: 16px;
}

.loop-item-owner-house__tel a {
    text-decoration: none;
    color: inherit;
}

.loop-item-owner-house__actions {
    display: flex;
    gap: 20px;
    margin-bottom: 12px;
}

.loop-item-owner-house__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 176px;
    height: 55px;
    border-radius: 50vh;
    font-weight: bold;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.3s;
}

.loop-item-owner-house__btn:hover {
    opacity: 0.8;
    color: #fff;
}

.loop-item-owner-house__btn--detail {
    background: #000;
    color: #fff;
}

.loop-item-owner-house__btn--reserve {
    background: #e77733;
    color: #fff;
}

@media (max-width: 991.98px) {
    .loop-item-owner-house {
        margin-bottom: 40px;
    }

    .loop-item-owner-house__inner {
        padding-bottom: 20px;
    }

    .loop-item-owner-house__visual {
        display: block;
        position: relative;
    }

    .loop-item-owner-house__main {
        width: 100%;
    }

    .loop-item-owner-house__sub {
        width: 130px;
        height: 110px;
        position: absolute;
        right: 20px;
        border: 2px solid #fff;
        z-index: 10;
        padding: 0;
        overflow: hidden;
        box-sizing: border-box;
        /* メイン画像下端から半分ほど情報エリアへ重ねる（高さ固定のためはみ出し量も一定） */
        top: calc(100% - 55px);
        bottom: auto;
    }

    .loop-item-owner-house__sub .loop-item-owner-house__img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .loop-item-owner-house__overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.3);
        padding: 16px 18px;
        color: #fff;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        z-index: 2;
        box-sizing: border-box;
    }

    .loop-item-owner-house__type {
        color: #fff;
        border-color: #fff;
        font-size: 11px;
        margin-bottom: 10px;
        padding: 3px 10px;
    }

    .loop-item-owner-house__title {
        font-size: 18px;
        color: #fff;
        text-shadow: none;
        margin-bottom: 10px;
    }

    .loop-item-owner-house__catch {
        /* キャッチコピー文字色変更可能にするため */
        /* background: #fff; */
        /* color: #000; */
        font-size: 13px;
        padding: 0;
        width: fit-content;
        margin-bottom: 0;
        color: #fff;
    }

    .loop-item-owner-house__pctext {
        display: block;
        bottom: 5px;
        left: 10px;
        right: auto;
        font-size: 11px;
        color: #fff;
        text-shadow: 0 0 3px #000;
        z-index: 1;
    }

    .loop-item-owner-house__sptext {
        display: none;
    }

    .loop-item-owner-house__info {
        flex-direction: column;
        /* 外観サムネ固定サイズ（110px）のはみ出し約55px + 余白 */
        padding: 60px 20px 10px;
        gap: 15px;
        align-items: flex-start;
        background: #f2f2f2;
    }

    .loop-item-owner-house__data {
        width: 100%;
        font-size: 12px;
        line-height: 1.5;
    }

    .loop-item-owner-house__row dt {
        width: 3em; /* 「定休日」基準で値の開始位置を揃える */
        flex-shrink: 0;
        margin-right: 0.4em;
    }

    .loop-item-owner-house__meta {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        width: 100%;
        flex-wrap: nowrap;
        margin-top: 2px;
    }

    .loop-item-owner-house__meta .loop-item-owner-house__row {
        flex: 0 1 auto;
        width: auto;
        max-width: calc(100% - 9.5em);
        align-items: baseline;
        font-size: 12px;
        line-height: 1.4;
    }

    .loop-item-owner-house__meta .loop-item-owner-house__row dt {
        width: 3em;
        flex-shrink: 0;
        margin-right: 0.4em;
    }

    .loop-item-owner-house__meta .loop-item-owner-house__row dd {
        flex: 0 1 auto;
        width: auto;
        min-width: 0;
    }

    .loop-item-owner-house__tel {
        flex: 0 0 auto;
        font-size: 12px;
        margin-top: 0;
        white-space: nowrap;
        line-height: 1.2;
    }

    .loop-item-owner-house__tel img {
        width: 12px;
        vertical-align: -1px;
    }

    .loop-item-owner-house__actions {
        width: 100%;
        display: flex;
        flex-direction: row;
        gap: 10px;
        margin-bottom: 0;
    }

    .loop-item-owner-house__img-wrapper {
        aspect-ratio: 326 / 192;
		position: relative;
    }

    .loop-item-owner-house__btn {
        width: 48%;
        height: 50px;
        font-size: 13px;
    }
}


.owner-house-area-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    font-size: 25px;
    font-weight: 500;
    margin: 60px 0 50px;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.owner-house-area-title::before,
.owner-house-area-title::after {
    content: "";
    display: block;
    width: calc(50% - 70px);
    height: 0.6px;
    background-color: #000;
    flex-grow: 0;
}

.owner-house-area-title::before {
    margin-right: auto;
}

.owner-house-area-title::after {
    margin-left: auto;
}

/* オーナー様宅：市区町村ナビからのページ内スクロール位置調整 */
html {
    scroll-behavior: smooth;
}

.owner-house-city-section {
    scroll-margin-top: 110px;
}

.owner-house-city-nav {
    margin-top: 30px;
}

@media (max-width: 991.98px) {
    .owner-house-city-section {
        scroll-margin-top: 60px;
    }

    /* モデルハウス用の「先頭だけ全幅」を打ち消し、ボタン幅を揃える */
    .owner-house-city-nav.estate-links {
        gap: 10px;
    }

    .owner-house-city-nav .estate-links__item,
    .owner-house-city-nav .estate-links__item:first-child {
        width: calc((100% - 10px) / 2);
        min-width: 0;
        box-sizing: border-box;
        padding: 12px 8px;
        font-size: 12px;
        line-height: 1.4;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.lb-outerContainer {
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.navigation.pagination {
    display: none;
}

/* === password protected === */
.owner-house-password {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: min(70vh, 560px);
    padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 32px);
}

.owner-house-password__inner {
    width: min(100%, 480px);
    text-align: center;
}

.owner-house-password__title {
    margin: 0 0 24px;
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(24px, 5vw, 32px);
    font-weight: 700;
    line-height: 1.4;
}

.owner-house-password__error {
    margin: 0 0 16px;
    color: #c0392b;
    font-size: 14px;
    font-weight: 700;
}

.owner-house-password .post-password-form {
    margin: 0;
    text-align: left;
}

.owner-house-password .post-password-form p {
    margin: 0 0 16px;
    font-size: 15px;
    line-height: 1.8;
}

.owner-house-password .post-password-form label {
    display: block;
    font-size: 14px;
    font-weight: 700;
}

.owner-house-password .post-password-form input[type="password"] {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 12px 14px;
    border: 1px solid #cfd6dd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

.owner-house-password .post-password-form input[type="submit"] {
    display: inline-block;
    min-width: 140px;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    background: var(--vk-color-text-body, #13293d);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.owner-house-password .post-password-form input[type="submit"]:hover {
    opacity: 0.88;
}
