@charset "UTF-8";

@font-face {
    font-family: 'Zen Old Mincho';
    src: url(/fonts/ZenOldMincho-Regular.ttf);
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Zen Old Mincho';
    src: url(/fonts/ZenOldMincho-Medium.ttf);
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Zen Old Mincho';
    src: url(/fonts/ZenOldMincho-SemiBold.ttf);
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Zen Old Mincho';
    src: url(/fonts/ZenOldMincho-Bold.ttf);
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Hahmlet';
    src: url(/fonts/Hahmlet-Regular.woff2) format('woff2');
    font-weight: 400;
    font-display: swap;
}

.l-main {
    padding-bottom: 0;
}

/* 棟詳細はサイドバー無しのため、Figma幅1140pxで1カラムにする */
.l-detail {
    display: block;
    width: 100%;
    max-width: 1140px;
    padding: 20px 0 0;
    font-family: "Zen Old Mincho", serif;
    font-weight: 400;
    color: #333333;
}

.l-detail__primary {
    font-family: "Zen Old Mincho", serif;
    font-weight: 400;
    color: #1e1e1e;
}

/* テキスト要素へ明朝体を継承（* 指定は使わず、英字見出し等の個別指定を上書きしない） */
.l-detail__primary :where(h1, h2, h3, h4, h5, h6,
    p, span, a, li, dt, dd, dl,
    button, label, th, td, div,
    em, strong, small, ul, ol) {
    font-family: inherit;
}

/* 費用・物件名 */
.building-head,
.building-head--sold,
.building-head *,
.building-head--sold * {
    box-sizing: border-box;
}

.l-detail__primary .building-head,
.l-detail__primary .building-head--sold {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 1140px;
    margin: 0;
    padding: 0 0 38px;
    border-bottom: 1px solid #d0d0d0;
    font-family: 'Zen Old Mincho', serif;
    color: #1e1e1e;
}

.l-detail__primary .building-head__notice,
.l-detail__primary .building-head__notice * {
    box-sizing: border-box;
    color: #ff0b0b;
}

.l-detail__primary .building-head__notice {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1140px;
    margin: 0 0 40px;
    padding: 10px;
    border: 1px solid #ffa9a9;
    background: #ffeeee;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
    text-align: center;
}

.building-head__ttl {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

.building-head__labels {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.building-head__label,
[class*="building-head__label--"] {
    padding: 1px 8px 2px;
    background: #f5f5f5;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.813;
    color: #1e1e1e;
    white-space: nowrap;
}

.building-head__label--new {
    background: #081920;
    color: #fff;
}

.l-detail__primary .building-head__change {
    margin: 0;
    width: 100%;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
    color: #878787;
}

.building-head__name {
    margin: 0;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.6;
    color: #1e1e1e;
}

.building-head__info,
[class*="building-head__info--"] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    width: 100%;
}

.building-head--sold {
    gap: 0;
}

.building-head__info--sold {
    align-items: center;
}

.building-head__detail {
    display: flex;
    flex-direction: column;
    gap: 17px;
    width: 700px;
}

.building-head__price {
    display: flex;
    gap: 8px;
    align-items: flex-end;
}

.building-head__price-label {
    margin: 0;
    width: 80px;
    font-size: 20px;
    line-height: 1;
    color: #1e1e1e;
}

.building-head__price-value {
    font-size: 20px;
    line-height: 1;
    color: #1e1e1e;
    position: relative;
    top: 4px;
}

.building-head__price-value .price {
    font-size: 40px;
    line-height: 1;
    color: #e70012;
    display: inline-block;
    padding: 0 3px 0 0;
}

.building-head__meta {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.813;
}

.building-head__contact {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-end;
    width: 340px;
}

.building-head__btns,
[class*="building-head__btns--"] {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    width: 100%;
    justify-content: flex-end;
}

.building-head__btns--yokoku {
    justify-content: flex-end;
}

.building-head__btn,
[class*="building-head__btn--"] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 40px;
    padding: 2px 9px 0 0;
    border: 1px solid #1e1e1e;
    border-radius: 9999px;
    background: #fff;
    font-family: 'Zen Old Mincho', serif;
    font-size: 14px;
    line-height: 1.2;
    color: #1e1e1e;
    text-align: center;
    text-decoration: none;
    transition: .4s;
}

.building-head__btn:hover,
[class*="building-head__btn--"]:hover {
    background: #DADADA;
    transition: 0.4s;
}

.building-head__btn img,
[class*="building-head__btn--"] img {
    position: absolute;
    top: 50%;
    right: 16px;
    display: block;
    width: 11px;
    height: 8px;
    transform: translateY(-50%);
    transition: .4s;
}

.building-head__btn--solid {
    width: 225px;
    padding-right: 5px;
    border-color: #313c42;
    background: #313c42;
    color: #fff;
}

.building-head__btn--solid:hover {
    background: #D6D8D9;
    color: #313C42;
    transition: 0.4s;
}

.building-head__btn--solid img {
    right: 15px;
}

.building-head__btn--solid:hover img {
    filter: brightness(0.3);
    transition: 0.4s;
}

.building-head__inquiry {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-end;
    width: 225px;
}

.building-head__print {
    display: inline-block;
    padding: 0;
    border: 0;
    background: transparent;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.2;
    color: #878787;
    text-align: center;
    text-decoration: underline;
    cursor: pointer;
    text-underline-offset: 2px;
    transition: .4s;
}

.building-head__print:hover {
    opacity: 1;
    color: #E70012;
}

.building-head__tel {
    margin: 0;
    width: 100%;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.6;
    color: #1e1e1e;
    text-align: right;
}

.building-gallery,
.building-gallery * {
    box-sizing: border-box;
}

.building-gallery {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    width: 100%;
    max-width: 1140px;
    margin: 0;
    overflow: hidden;
    padding: 40px 0 0;
    font-family: 'Zen Old Mincho', serif;
    color: #1e1e1e;
}

.building-gallery__main {
    flex: 0 0 520px;
    width: 520px;
    height: 390px;
    overflow: hidden;
}

.building-gallery__main .swiper-wrapper {
    height: 390px;
}

.building-gallery__main .swiper-slide {
    width: 520px !important;
    height: 390px;
    overflow: hidden;
}

.building-gallery__main-btn {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.building-gallery__main img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.building-gallery__side {
    flex: 0 0 590px;
    width: 590px;
    overflow: hidden;
}

.building-gallery__thumbs {
    width: 590px;
    height: 337px;
    margin: 0 0 11px;
    overflow: hidden;
}

.building-gallery__thumbs .swiper-slide {
    width: 590px !important;
    height: 337px;
    overflow: hidden;
}

.building-gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, 137px);
    grid-auto-rows: 103px;
    gap: 14px;
    width: 590px;
}

.building-gallery__thumb {
    display: block;
    width: 137px;
    height: 103px;
    padding: 0;
    border: 0;
    background: #f5f5f5;
    overflow: hidden;
    cursor: pointer;
}

.building-gallery__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.building-gallery__thumb.is-active {
    outline: 2px solid #081920;
    outline-offset: -2px;
}

.building-gallery__pager {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    width: 100%;
}

.building-gallery__pager-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 177px;
    justify-content: space-between;
}

.building-gallery__pager-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 30px;
    padding: 0;
    border: 1px solid #1e1e1e;
    border-radius: 9999px;
    background: #fff;
    cursor: pointer;
    transition: 0.4s;
}

.building-gallery__pager-btn:hover {
    background: #DADADA;
}

.building-gallery__pager-btn img {
    display: block;
    width: 13px;
    height: 8px;
}

.building-gallery__pager-btn.swiper-button-disabled,
.building-gallery__pager-btn:disabled {
    opacity: .35;
    cursor: default;
    pointer-events: none;
}

.building-gallery__pager-count {
    margin: 0;
    font-family: 'Zen Old Mincho', serif;
    font-size: 16px;
    line-height: 1.8;
    color: #1e1e1e;
    white-space: nowrap;
}

.building-gallery__dates {
    font-family: 'Zen Old Mincho', serif;
    font-size: 14px;
    line-height: 1.5;
    color: #878787;
    text-align: right;
}

.building-gallery__dates p {
    margin: 0;
}

.building-gallery-popup {
    display: none;
    position: fixed;
    inset: 0;
    /* 追従ヘッダー(.org-header)と同じ 3。後続DOMのため前面に出る */
    z-index: 3;
}

.building-gallery-popup.is-show {
    display: block;
}

.building-gallery-popup__bg {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .8);
}

.building-gallery-popup__body {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    width: 985px;
    max-width: calc(100vw - 80px);
    transform: translate(-50%, -50%);
}

.building-gallery-popup__close {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.building-gallery-popup__close img {
    display: block;
    width: 30px;
    height: 30px;
}

.building-gallery-popup__img {
    display: block;
    width: 100%;
    height: 740px;
    max-height: calc(100vh - 150px);
    object-fit: contain;
}

/* おすすめポイント・紹介動画 */
.building-feature,
.building-feature * {
    box-sizing: border-box;
}

.l-detail__primary .building-feature {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    width: 100%;
    max-width: 1140px;
    margin: 0;
    padding-top: 70px;
    font-family: 'Zen Old Mincho', serif;
    color: #1e1e1e;
}

.l-detail__primary .building-feature:has(.building-feature__point) {
    justify-content: flex-start;
}

.l-detail__primary .building-feature:has(.building-feature__movie) {
    justify-content: flex-end;
}

.building-feature__point,
.building-feature__movie {
    flex: 0 0 550px;
    width: 550px;
    min-width: 0;
}

.building-feature__ttl,
.building-concept__ttl,
.building-features__ttl,
.building-map__ttl,
.building-lots__ttl,
.building-plan__ttl,
.building-neighborhood__ttl,
.building-facilities__ttl,
.building-panorama__ttl,
.building-overview__ttl,
.building-contact__ttl,
.building-other__ttl {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    margin: 0 0 20px;
    font-family: 'Zen Old Mincho', serif;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.6;
}

.building-feature__en,
.building-concept__en,
.building-features__en,
.building-map__en,
.building-lots__en,
.building-plan__en,
.building-neighborhood__en,
.building-facilities__en,
.building-panorama__en,
.building-overview__en,
.building-contact__en,
.building-other__en {
    padding-bottom: 7px;
    font-family: 'Hahmlet', serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    color: #878787;
    position: relative;
    top: 0;
}

.building-feature__body {
    width: 550px;
    padding: 30px;
    background: #ededed;
}

.building-feature__text {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
}

.building-feature__video {
    position: relative;
    width: 550px;
    height: 309px;
    background: #9a9a9a;
}

.building-feature__play {
    position: absolute;
    top: 125px;
    left: 245px;
    display: block;
    width: 60px;
    height: 60px;
}

/* 分譲地のコンセプト */
.building-concept,
.building-concept * {
    box-sizing: border-box;
}

.l-detail__primary .building-concept {
    width: 100%;
    max-width: 1140px;
    margin: 0;
    padding-top: 70px;
    font-family: 'Zen Old Mincho', serif;
    color: #1e1e1e;
}

.building-concept__body {
    width: 1140px;
    padding: 30px;
    background: #ededed;
}

.building-concept__text {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
}

/* 分譲地の特徴 */
.building-features,
.building-features * {
    box-sizing: border-box;
}

.l-detail__primary .building-features {
    position: relative;
    width: 100vw;
    margin: 70px 0 0 calc(50% - 50vw);
    padding: 70px 0 80px;
    overflow: hidden;
    font-family: 'Zen Old Mincho', serif;
    color: #1e1e1e;
}

.building-features__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.building-features__bg img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: top;
}

.building-features__inner {
    position: relative;
    z-index: 1;
    width: 1140px;
    margin: 0 auto;
}

.building-features__list {
    display: flex;
    gap: 21px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.building-features__item {
    flex: 0 0 366px;
    width: 366px;
    background: #fff;
}

.building-features__img {
    position: relative;
    width: 366px;
    height: 284px;
    margin: 0;
    overflow: hidden;
}

.building-features__img img {
    display: block;
    width: 366px;
    height: 284px;
    object-fit: cover;
}

.building-features__sample {
    position: absolute;
    top: 124px;
    left: 0;
    width: 100%;
    font-family: 'Hahmlet', serif;
    font-size: 36px;
    font-weight: 400;
    line-height: 1;
    color: #333;
    text-align: center;
}

.building-features__sample--white {
    color: #fff;
}

.building-features__content {
    padding: 20px;
}

.building-features__point {
    margin: 0 0 10px;
    font-family: 'Hahmlet', serif;
    font-size: 31px;
    font-weight: 400;
    line-height: 1;
    color: #878787;
}

.building-features__text {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.813;
}

/* 区画図 */
.building-map,
.building-map * {
    box-sizing: border-box;
}

.l-detail__primary .building-map {
    width: 100%;
    max-width: 1140px;
    margin: 0;
    padding-top: 61px;
    font-family: 'Zen Old Mincho', serif;
    color: #1e1e1e;
}

.building-map__frame {
    position: relative;
    width: 1140px;
    height: 555px;
    border: 1px solid #d0d0d0;
    background: #ededed;
    overflow: hidden;
}

.building-map__frame img {
    position: absolute;
    top: 0;
    left: 15.25%;
    display: block;
    width: 69.5%;
    height: 100%;
    object-fit: contain;
}

.building-map__sample {
    position: absolute;
    top: 260px;
    left: 0;
    width: 100%;
    margin: 0;
    font-family: 'Hahmlet', serif;
    font-size: 36px;
    font-weight: 400;
    line-height: 1;
    color: #333;
    text-align: center;
}

/* 区画一覧 */
.building-lots,
.building-lots * {
    box-sizing: border-box;
}

.l-detail__primary .building-lots {
    width: 100%;
    max-width: 1140px;
    margin: 0;
    padding-top: 70px;
    font-family: 'Zen Old Mincho', serif;
    color: #1e1e1e;
}

.building-lots__list {
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.building-lots__item {
    flex: 0 0 212px;
    width: 212px;
}

.building-lots__img {
    position: relative;
    width: 212px;
    height: 159px;
    margin: 0 0 12px;
    overflow: hidden;
}

.building-lots__img>img {
    display: block;
    width: 212px;
    height: 159px;
    object-fit: cover;
    transition: .4s;
}

.building-lots__labels {
    position: absolute;
    top: 6px;
    left: 6px;
    display: flex;
    gap: 3px;
    align-items: center;
}

.building-lots__label {
    padding: 1px 8px 3px;
    background: #f5f5f5;
    font-size: 14px;
    line-height: 1.5;
    color: #1e1e1e;
}

.building-lots__sample {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: 0;
    font-size: 20px;
    line-height: 1.6;
    color: #1e1e1e;
    transform: translate(-50%, -50%);
}

.building-lots__fav {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 37px;
    height: 37px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.building-lots__fav img {
    position: absolute;
    top: 0;
    left: 0;
    width: 37px;
    height: 37px;
}

.building-lots__name {
    margin: 0 0 8px;
    overflow: hidden;
    font-size: 16px;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.building-lots__meta {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    margin: 0;
}

.building-lots__price {
    display: flex;
    gap: 2px;
    align-items: flex-end;
    font-size: 14px;
    line-height: 1;
}

.building-lots__price span {
    font-size: 20px;
    line-height: 1;
}

.building-lots__area {
    font-size: 14px;
    line-height: 1;
    color: #878787;
}

.l-detail__primary .building-lots__down {
    display: inline-block;
    margin: 10px 0 0;
    padding: 4px 8px 5px;
    background: #878787;
    font-size: 12px;
    line-height: 1.5;
    color: #fff;
}

/* 参考間取り */
.building-plan,
.building-plan * {
    box-sizing: border-box;
}

.l-detail__primary .building-plan {
    width: 100%;
    max-width: 1140px;
    margin: 0;
    padding-top: 70px;
    font-family: 'Zen Old Mincho', serif;
    color: #1e1e1e;
}

.building-plan__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    width: 1140px;
    margin: 0 0 20px;
}

.building-plan__ttl {
    margin: 0;
}

.building-plan__lands {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-end;
}

.building-plan__land {
    display: flex;
    gap: 8px;
    align-items: flex-end;
    margin: 0;
}

.building-plan__land-label {
    font-size: 16px;
    line-height: 1;
}

.building-plan__num {
    font-size: 24px;
    line-height: 1;
}

.building-plan__value {
    display: flex;
    align-items: flex-end;
}

.building-plan__unit {
    margin-left: 2px;
    font-size: 16px;
    line-height: 1;
}

.building-plan__tilde {
    margin: 0 6px 2px;
    font-size: 16px;
    line-height: 1;
}

.building-plan__yotei {
    margin-left: 2px;
    font-size: 16px;
    line-height: 1.8;
}

.building-plan__frame {
    position: relative;
    width: 1140px;
    height: 555px;
    margin: 0 0 20px;
    border: 1px solid #d0d0d0;
    background: #ededed;
    overflow: hidden;
}

.building-plan__frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.building-plan__sample {
    position: absolute;
    top: 260px;
    left: 0;
    width: 100%;
    margin: 0;
    font-family: 'Hahmlet', serif;
    font-size: 36px;
    font-weight: 400;
    line-height: 1;
    color: #fff;
    text-align: center;
}

.building-plan__notes {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.building-plan__notes p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

/* 周辺地図 */
.building-neighborhood,
.building-neighborhood * {
    box-sizing: border-box;
}

.l-detail__primary .building-neighborhood {
    width: 100%;
    max-width: 1140px;
    margin: 0;
    padding-top: 70px;
    font-family: 'Zen Old Mincho', serif;
    color: #1e1e1e;
}

.building-neighborhood__frame {
    position: relative;
    width: 1140px;
    height: 300px;
    overflow: hidden;
}

.building-neighborhood__frame img {
    display: block;
    width: 1140px;
    height: 300px;
    object-fit: cover;
}

.building-neighborhood__sample {
    position: absolute;
    top: 178px;
    left: 0;
    width: 100%;
    margin: 0;
    font-family: 'Hahmlet', serif;
    font-size: 36px;
    font-weight: 400;
    line-height: 1;
    color: #333;
    text-align: center;
}

/* 周辺施設 */
.building-facilities,
.building-facilities * {
    box-sizing: border-box;
}

.l-detail__primary .building-facilities {
    width: 100%;
    max-width: 1140px;
    margin: 0;
    padding-top: 70px;
    font-family: 'Zen Old Mincho', serif;
    color: #1e1e1e;
}

.building-facilities__list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 0 0 30px;
    padding: 0;
    list-style: none;
}

.building-facilities__item {
    display: flex;
    gap: 16px;
    align-items: center;
    width: 364px;
}

.building-facilities__icon {
    flex: 0 0 74px;
    width: 74px;
    height: 74px;
    overflow: hidden;
}

.building-facilities__icon img {
    display: block;
    width: 74px;
    height: 74px;
}

.building-facilities__text {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.building-facilities__cat {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #878787;
}

.building-facilities__name {
    margin: 0;
    font-size: 16px;
    line-height: 1.813;
}

.building-facilities__dist {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.building-facilities__more {
    display: flex;
    gap: 28px;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 40px;
    margin: 0 auto;
    padding: 0 0 2px 30px;
    border: 0;
    border-radius: 9999px;
    background: #f5f5f5;
    font-family: 'Zen Old Mincho', serif;
    font-size: 14px;
    line-height: 1.2;
    color: #1e1e1e;
    cursor: pointer;
    transition: .4s;
}

.building-facilities__more:hover {
    background: #DADADA;
}

.building-facilities__more img {
    display: block;
    width: 11px;
    height: 8px;
    transform: rotate(90deg);
}

/* パノラマ画像 */
.building-panorama,
.building-panorama * {
    box-sizing: border-box;
}

.l-detail__primary .building-panorama {
    width: 100%;
    max-width: 1140px;
    margin: 0;
    padding-top: 70px;
    font-family: 'Zen Old Mincho', serif;
    color: #1e1e1e;
}

.building-panorama__frame {
    position: relative;
    width: 1140px;
    height: 555px;
    margin: 0 0 20px;
    overflow: hidden;
}

.building-panorama__frame img {
    display: block;
    width: 1140px;
    height: 555px;
    object-fit: cover;
}

.building-panorama__sample {
    position: absolute;
    top: 260px;
    left: 0;
    width: 100%;
    margin: 0;
    font-family: 'Hahmlet', serif;
    font-size: 36px;
    font-weight: 400;
    line-height: 1;
    color: #333;
    text-align: center;
}

.building-panorama__thumbs {
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.building-panorama__item {
    width: 212px;
}

.building-panorama__thumb {
    position: relative;
    width: 212px;
    height: 130px;
    margin: 0 0 2px;
    overflow: hidden;
}

.building-panorama__thumb img {
    display: block;
    width: 212px;
    height: 130px;
    object-fit: cover;
}

.building-panorama__thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .2);
}

.building-panorama__360 {
    position: absolute;
    top: 42px;
    left: 81px;
    z-index: 1;
    display: block;
    width: 49px;
    height: 46px;
}

.building-panorama__caption {
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
    text-align: center;
}

/* 分譲地概要 */
.building-overview,
.building-overview * {
    box-sizing: border-box;
}

.l-detail__primary .building-overview {
    width: 100%;
    max-width: 1140px;
    margin: 0;
    padding-top: 70px;
    font-family: 'Zen Old Mincho', serif;
    color: #1e1e1e;
}

.building-overview__table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 1140px;
    margin: 0 0 20px;
    border-top: 1px solid #d0d0d0;
    border-left: 1px solid #d0d0d0;
}

.building-overview__item {
    display: flex;
    min-height: 49px;
    margin: 0;
    border-right: 1px solid #d0d0d0;
    border-bottom: 1px solid #d0d0d0;
}

.building-overview__item--full {
    grid-column: 1 / -1;
}

.building-overview__item dt {
    flex: 0 0 156px;
    width: 156px;
    padding: 10px;
    background: #ededed;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
    vertical-align: middle;
    display: flex;
    align-items: center;
}

.building-overview__item dd {
    display: flex;
    flex: 1 1 auto;
    gap: 0;
    align-items: center;
    margin: 0;
    padding: 10px;
    font-size: 16px;
    line-height: 1.5;
}

.building-overview__item--traffic dd {
    flex-direction: column;
    align-items: flex-start;
}

.building-overview__addr {
    flex: 1 1 auto;
    min-width: 0;
}

.building-overview__item p,
.building-overview__item p a {
    margin: 0;
    line-height: 1.5;
    font-size: 16px;
}

.building-overview__pin {
    display: flex;
    flex: 0 0 30px;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 9999px;
    background: #878787;
    text-decoration: none;
    color: inherit;
    transition: .4s;
}

.building-overview__pin:hover {
    background: #313c42;
}

.building-overview__pin img {
    display: block;
    width: 11px;
    height: 14px;
}

.building-overview__price {
    margin: 0;
    white-space: nowrap;
}

.building-overview__down {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px 5px;
    background: #f5f5f5;
    font-size: 12px;
    line-height: 1.5;
    white-space: nowrap;
}

.building-overview__howto {
    margin: 0;
    text-align: right;
}

.building-overview__howto button {
    padding: 0;
    border: 0;
    background: transparent;
    font-family: 'Zen Old Mincho', serif;
    font-size: 14px;
    line-height: 1.2;
    color: #1e1e1e;
    text-decoration: underline;
    cursor: pointer;
    text-underline-offset: 2px;
    transition: .4s;
}

.building-overview__howto button:hover {
    color: #E70012;
}

.building-overview__bottom {
    display: flex;
    justify-content: flex-end;
}

.building-overview__notes {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.building-overview__notes p {
    margin: 0;
    font-size: 14px;
    line-height: 1.429;
}

/* この物件に問い合わせる */
.building-contact,
.building-contact * {
    box-sizing: border-box;
}

.l-detail__primary .building-contact {
    position: relative;
    width: 100vw;
    margin: 70px 0 0 calc(50% - 50vw);
    padding: 70px 0;
    overflow: hidden;
    font-family: 'Zen Old Mincho', serif;
    color: #1e1e1e;
}

.building-contact__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.building-contact__bg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.building-contact__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 1140px;
    margin: 0 auto;
}

.building-contact__ttl {
    margin: 0;
}

.building-contact__box {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
    width: 1140px;
    padding: 40px 60px;
    background: #fff;
}

.building-contact__tel {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
}

.building-contact__num {
    margin: 0;
    font-size: 28px;
    font-weight: 500;
    line-height: 1;
}

.building-contact__hours {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
}

.building-contact__divider {
    align-self: stretch;
    width: 1px;
    background: #d9d9d9;
}

.building-contact__btns {
    display: flex;
    gap: 20px;
}

.building-contact__btn,
[class*="building-contact__btn--"] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 310px;
    height: 60px;
    border: 1px solid #1e1e1e;
    border-radius: 9999px;
    background: #fff;
    font-family: 'Zen Old Mincho', serif;
    font-size: 18px;
    line-height: 1.2;
    color: #1e1e1e;
    text-decoration: none;
    transition: 0.4s;
    padding: 2px 0 0;
}

.building-contact__btn:hover,
[class*="building-contact__btn--"]:hover {
    background: #DADADA;
    transition: 0.4s;
}

.building-contact__btn img,
[class*="building-contact__btn--"] img {
    position: absolute;
    top: 50%;
    right: 23px;
    display: block;
    width: 16px;
    height: 7px;
    transform: translateY(-50%);
    transition: 0.4s;
}

.building-contact__btn--solid {
    border-color: #313c42;
    background: #313c42;
    color: #fff;
}

.building-contact__btn--solid:hover {
    background: #D6D8D9;
    color: #313C42;
    transition: 0.4s;
}

.building-contact__btn--solid:hover img {
    filter: brightness(0.3);
    transition: 0.4s;
}

/* その他の物件情報 */
.building-other,
.building-other * {
    box-sizing: border-box;
}

.l-detail__primary .building-other {
    width: 100%;
    max-width: 1140px;
    margin: 0;
    padding: 70px 0;
    font-family: 'Zen Old Mincho', serif;
    color: #1e1e1e;
}

.building-other__list {
    display: flex;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.building-other__item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 267px;
}

.building-other__img {
    position: relative;
    width: 267px;
    height: 200px;
    overflow: hidden;
    margin: 0 0 12px;
}

.building-other__img>img {
    display: block;
    width: 267px;
    height: 200px;
    object-fit: cover;
    transition: .4s;
}

.building-other__sample {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: 0;
    font-size: 20px;
    line-height: 1.6;
    color: #1e1e1e;
    transform: translate(-50%, -50%);
}

.building-other__fav {
    position: absolute;
    top: 10px;
    right: 10.5px;
    width: 37px;
    height: 37px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.building-other__fav img {
    position: absolute;
    top: 0;
    left: 0;
    width: 37px;
    height: 37px;
}

.building-other__subject {
    padding-bottom: 11px;
    border-bottom: 1px solid #d0d0d0;
    margin-bottom: 10px;
}

.building-other__name {
    margin: 0 0 8px;
    overflow: hidden;
    font-size: 16px;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.building-other__meta {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    margin: 0;
}

.building-other__price {
    font-size: 14px;
    line-height: 1;
}

.building-other__price span {
    margin-right: 3px;
    font-size: 20px;
    line-height: 1;
}

.building-other__area {
    font-size: 14px;
    line-height: 1;
    color: #878787;
}

.building-other__info {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.building-other__info p {
    margin: 0;
    overflow: hidden;
    font-size: 14px;
    line-height: 1;
    color: #878787;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 動的化後の調整 */

.l-detail__primary .building-feature.is-movie-only {
    justify-content: flex-end;
}

.building-feature__point.is-empty {
    visibility: hidden;
}

.building-feature__video iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.building-lots__list {
    flex-wrap: wrap;
}

.building-lots__item {
    position: relative;
}

.building-lots__link,
.building-other__link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.building-lots__link:hover img,
.building-other__link:hover img {
    transform: scale(1.05);
    transition: .4s;
}

.building-lots__fav .building-lots__fav-off,
.building-other__fav .building-lots__fav-off {
    display: block;
}

.building-lots__fav .building-lots__fav-on,
.building-other__fav .building-lots__fav-on {
    display: none;
}

.building-lots__fav.is-checked .building-lots__fav-off,
.building-other__fav.is-checked .building-lots__fav-off {
    display: none;
}

.building-lots__fav.is-checked .building-lots__fav-on,
.building-other__fav.is-checked .building-lots__fav-on {
    display: block;
}

.building-lots__fav,
.building-other__fav {
    z-index: 2;
}

.building-plan__notes p,
.building-overview__notes p {
    color: #1e1e1e;
}

.building-neighborhood__frame iframe,
.building-panorama__frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.building-facilities__item.is-fold {
    display: none;
}

.building-facilities.is-open .building-facilities__item.is-fold {
    display: flex;
}

.building-facilities.is-open .building-facilities__more img {
    transform: rotate(-90deg);
}

.building-panorama__thumb {
    display: block;
    width: 212px;
    height: 130px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.building-panorama__thumb.is-active {
    outline: 2px solid #313c42;
}

.building-other__item {
    position: relative;
}

.building-other__list {
    flex-wrap: wrap;
}

.building-overview__item dd ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0 19px;
}

.building-overview__item dd ul li {
    font-size: 16px;
    line-height: 1.5;
}

.building-overview__item dd ul li:not(:last-of-type):after {
    position: absolute;
    content: "/";
    margin: 0 0 0 5px;
}