:root {
    --gold: #d9c08a;
    --gold-line: rgba(217, 192, 138, .55);
    --gold-line-weak: rgba(217, 192, 138, .2);
    --en-font: "Cormorant Garamond", "Zen Old Mincho", serif;
}

.low {
    background: #15110d;
}

/******

    FV

******/
.k5 #fv {
    background-image: url(k5/k5-living.jpg);
}

.k6 #fv {
    background-image: url(k6/k6-5.jpg);
}

.k7 #fv {
    background-image: url(k7/k7-kitchen.jpg);
}

/* 内観パースが明るく白文字が埋もれるため、下側を暗くする */
.low #fv::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .45) 38%, rgba(0, 0, 0, 0) 62%),
                linear-gradient(to bottom, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, 0) 18%);
}

.low #fv .catch {
    left: 0;
    right: 0;
    bottom: 132px;
    max-width: none;
    margin: 0;
    padding: 0 28px;
}

.low #fv .catch > p {
    margin: 0;
    font-size: clamp(16px, 1.4vw, 18px);
    letter-spacing: .14em;
    line-height: 2.25;
    color: #fff;
    text-shadow: 0 1px 12px rgba(0, 0, 0, .5);
}

.low #fv .catch > p.fv-title {
    padding-bottom: 24px;
    color: var(--gold);
    line-height: 1;
    text-shadow: 0 0 16px rgba(0, 0, 0, .6);
}

.fv-title .en {
    display: block;
    font-family: var(--en-font);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .42em;
}

.fv-title .num {
    display: block;
    margin-top: 6px;
    font-family: var(--en-font);
    font-size: clamp(54px, 5vw, 72px);
    font-weight: 300;
    letter-spacing: .06em;
}

.fv-meta {
    position: absolute;
    left: 28px;
    bottom: 56px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    width: min(100% - 56px, 520px);
    padding-top: 14px;
    border-top: 1px solid var(--gold-line);
    color: var(--gold);
    font-size: 14px;
    letter-spacing: .14em;
}

.fv-meta .price b {
    margin-left: .4em;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: .08em;
    color: #fff;
}

.fv-scroll {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, .25);
    overflow: hidden;
}

.fv-scroll::after {
    content: "";
    position: absolute;
    left: 0;
    top: -100%;
    width: 1px;
    height: 100%;
    background: #fff;
    animation: fv-scroll 2.2s ease-in-out infinite;
}

@keyframes fv-scroll {
    to {
        top: 100%;
    }
}

@media (max-width: 767px) {
    .low #fv {
        height: 100svh;
        max-height: none;
        background-size: cover;
        background-position: center;
    }
}

@media (min-width: 768px) {
    .low #fv {
        background-position: 40% 50%;
    }

    /* 横長では文字が左側に寄るので、左からも暗くする */
    .low #fv::before {
        background: linear-gradient(to right, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .25) 35%, rgba(0, 0, 0, 0) 55%),
                    linear-gradient(to top, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, 0) 45%),
                    linear-gradient(to bottom, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, 0) 18%);
    }

    .low #fv .catch,
    .fv-meta {
        left: max(28px, 6vw);
    }

    .low #fv .catch {
        padding: 0;
    }
}

/******

    画像一覧

******/
#image-list {
    max-width: 900px;
    margin: 0 auto;
    padding: 64px 0 24px;
}

#image-list figure {
    margin: 0 0 72px;
}

#image-list img {
    display: block;
    aspect-ratio: 3 / 2;
    margin: 0 auto;
}

/* 間取り図は切らずに全体を見せる */
#image-list figure.plan img {
    aspect-ratio: auto;
    object-fit: contain;
    padding: 12px 0;
    background: #fff;
}

#image-list figcaption {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 0 24px 16px;
    color: var(--gold);
    font-family: var(--en-font);
}

#image-list figcaption .no {
    font-size: 30px;
    font-weight: 300;
    line-height: 1;
}

#image-list figcaption .label {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 14px;
    font-size: 11px;
    letter-spacing: .36em;
}

#image-list figcaption .label::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--gold-line);
}

@media (min-width: 768px) {
    #image-list figcaption {
        padding: 0 0 16px;
    }
}

/******

    価格・主要スペック

******/
#spec {
    max-width: 900px;
    margin: 0 auto;
    padding: 72px 24px 24px;
    color: #fff;
    text-align: center;
}

#spec .en {
    font-family: var(--en-font);
    font-size: 12px;
    letter-spacing: .42em;
    color: var(--gold);
}

#spec .name {
    margin-top: 10px;
    font-size: 16px;
    letter-spacing: .16em;
}

#spec .price {
    margin: 36px 0 8px;
    padding: 28px 0;
    border-top: 1px solid var(--gold-line);
    border-bottom: 1px solid var(--gold-line);
}

#spec .price small {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    letter-spacing: .3em;
    color: var(--gold);
}

#spec .price b {
    font-size: 40px;
    font-weight: 500;
    letter-spacing: .1em;
}

#spec dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0;
}

#spec dl div {
    padding: 22px 8px;
    border-bottom: 1px solid var(--gold-line-weak);
}

#spec dl div:nth-child(odd) {
    border-right: 1px solid var(--gold-line-weak);
}

#spec dt {
    font-size: 14px;
    letter-spacing: .24em;
    color: var(--gold);
}

#spec dd {
    margin: 8px 0 0;
    font-size: 19px;
    letter-spacing: .06em;
}

#spec dd small {
    margin-left: .2em;
    font-size: 13px;
}

#spec dd.date {
    font-size: 16px;
}

@media (min-width: 768px) {
    #spec dl {
        grid-template-columns: repeat(4, 1fr);
    }

    #spec dl div {
        border-right: 1px solid var(--gold-line-weak);
    }

    #spec dl div:last-child {
        border-right: none;
    }
}

/******

    物件概要

******/
#property-overview {
    max-width: 900px;
    margin: 3em auto;
    padding: 0 24px;
}

#property-overview .notice {
    font-size: 14px;
    color: rgba(255, 255, 255, .6);
}

#property-overview .inner {
    color: var(--main-color);
    border-top: 1px solid var(--gold-line);
    padding: 32px 4px;
    margin: 2em auto;
}

#property-overview h2 {
    text-align: center;
    font-size: 18px;
    letter-spacing: .3em;
    margin: 0 0 1em;
}

#property-overview .property-table {
    width: 100%;
    border-collapse: collapse;
}

#property-overview p {
    padding-top: 10px;
}

#property-overview .inner > p {
    font-size: 14px;
    color: rgba(255, 255, 255, .6);
}

#property-overview .property-table th,
#property-overview .property-table td {
    padding: 12px 6px;
    text-align: left;
    vertical-align: top;
    font-size: 16px;
    line-height: 1.9;
    letter-spacing: .04em;
    border-bottom: 1px solid rgba(217, 192, 138, .18);
}

#property-overview .property-table th {
    width: 30%;
    font-weight: 400;
    color: var(--gold);
}

#property-overview .property-table td {
    color: #ffffff;
}

#property-overview .property-table tr:last-child th,
#property-overview .property-table tr:last-child td {
    border-bottom: none;
}

/* 物件案内を希望するボタン */
.cta-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: min(100%, 440px);
    margin: 48px auto 0;
    padding: 14px 14px 14px 32px;
    color: #15110d;
    text-decoration: none;
    background: linear-gradient(135deg, #e6d2a0 0%, #cdae6f 100%);
    border-radius: 100vh;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .4);
    transition: transform .3s, box-shadow .3s;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, .5);
}

.cta-btn .txt {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cta-btn .main {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .16em;
}

.cta-btn .sub {
    font-size: 13px;
    letter-spacing: .1em;
    color: rgba(21, 17, 13, .75);
}

.cta-btn .arrow {
    position: relative;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #15110d;
    border-radius: 50%;
}

.cta-btn .arrow::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 46%;
    width: 9px;
    height: 9px;
    border-top: 2px solid var(--gold);
    border-right: 2px solid var(--gold);
    transform: translate(-50%, -50%) rotate(45deg);
}

@media (min-width: 600px) {
    #property-overview .property-table th,
    #property-overview .property-table td {
        padding: 16px 8px;
        font-size: 16px;
    }
}

/******

    昼・夜の切り替え（同じ構図のパース）

******/
.dn-photo {
    position: relative;
}

.dn-photo img {
    transition: opacity 1.2s ease;
}

.dn-photo img.night {
    position: absolute;
    inset: 0;
    height: 100%;
    opacity: 0;
}

.daynight[data-mode="night"] .dn-photo img.night {
    opacity: 1;
}

.dn-switch {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    gap: 2px;
    padding: 3px;
    background: rgba(0, 0, 0, .55);
    border: 1px solid var(--gold-line);
    border-radius: 100vh;
}

.dn-switch button {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    font-family: var(--main-font);
    font-size: 14px;
    letter-spacing: .1em;
    color: rgba(255, 255, 255, .75);
    background: none;
    border: 0;
    border-radius: 100vh;
    cursor: pointer;
    transition: background .4s, color .4s;
}

.dn-switch button[aria-pressed="true"] {
    color: #15110d;
    background: var(--gold);
}

.dn-switch svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}
