/* =============================================
   page-rental.css
   ============================================= */

/* Hero */
.rental-hero {
    width: 100%;
    line-height: 0;
}
.rental-hero img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Anchor Nav */
.rental-ancnav {
    border-top: 1px solid #d6e3cc;
    border-bottom: 1px solid #d6e3cc;
    background: #fff;
    position: sticky;
    top: 80px;
    z-index: 100;
}
.rental-ancnav ul {
    display: flex;
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 1100px;
        justify-content: center;
}
.rental-ancnav ul li a {
    display: block;
    padding: 14px 30px;
    font-size: 13px;
    color: #444;
    text-decoration: none;
    letter-spacing: 0.05em;
    border-right: 1px solid #d6e3cc;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}
.rental-ancnav ul li:first-child a {
    border-left: 1px solid #d6e3cc;
}
.rental-ancnav ul li a:hover {
    background: #e7f0e1;
    color: #4a6640;
    text-decoration: none;
}

/* SP用アンカーナビ（タグボタン形式） */
.rental-ancnav-sp {
    display: none;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px 20px;
    background: #fff;
    border-bottom: 1px solid #d6e3cc;
}
.rental-ancnav-sp a {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #d6e3cc;
    background: #fff;
    color: #555;
    font-size: 12px;
    letter-spacing: 0.05em;
    line-height: 1.5;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}
.rental-ancnav-sp a:hover {
    background: #f0ece4;
    border-color: #a89880;
    text-decoration: none;
    color: #555;
}

/* Page Title */
.rental-title-block {
    text-align: center;
    padding: 72px 40px 48px;
}
.rental-title-en {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(42px, 7vw, 96px);
    font-weight: 400;
    color: #3d4c38;
    letter-spacing: 0.04em;
    line-height: 1;
    margin-bottom: 28px;
}
.rental-title-desc {
    font-size: 15px;
    line-height: 2.2;
    color: #555;
    letter-spacing: 0.06em;
    text-align: center;
}

/* Quick Reserve */
.rental-qr {
    text-align: center;
    padding: 0 40px 72px;
}
.rental-qr-title {
    font-size: 18px;
    font-weight: 400;
    color: #333;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
        margin-top: 100px;
}
.rental-qr-desc {
    font-size: 15px;
    color: #444;
    line-height: 2;
    margin-bottom: 16px;
    letter-spacing: 0.04em;
    text-align: center;
}
.rental-qr-note {
    font-size: 12px;
    color: #777;
    line-height: 2;
    margin-bottom: 32px;
    letter-spacing: 0.04em;
    text-align: center;
}
.rental-qr-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 760px;
    margin: 0 auto;
}
.rental-qr-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 22px 24px;
    text-decoration: none;
    color: #fff;
    line-height: 1.5;
    transition: opacity 0.2s;
}
.rental-qr-btn:hover {
    opacity: 0.85;
    text-decoration: none;
    color: #fff;
}
.rental-qr-btn--a { background: #4a6640; }
.rental-qr-btn--b { background: #7a6a5a; }
.qr-btn-en {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 400;
    letter-spacing: 0.05em;
    display: block;
}
.qr-btn-ja {
    font-size: 13px;
    letter-spacing: 0.06em;
    display: block;
}

/* ブラウザのhashスクロールオフセット（location.hash設定後のジャンプ防止） */
html {
    scroll-padding-top: 150px;
}

/* Anchor offset (smoothScrollがスクロールする位置を150px上にずらす) */
.anchor-target {
    display: block;
    position: relative;
    top: -150px;
    height: 0;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
}

/* Inner wrapper */
.rental-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Section common */
.rental-sec {
    padding: 64px 0 0;
}
.rental-sec-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 400;
    color: #5F6C5B;
    letter-spacing: 0.04em;
    line-height: 1;
    margin-bottom: 18px;
    text-align: left;
}
.rental-sec-rule {
    width: 100%;
    height: 1px;
    background: #dedad4;
    margin-bottom: 40px;
}

/* ── Space Hero ── */
/* .space-hero {
    overflow: hidden;
} */
.space-hero-title {
    position: absolute;
    top: -90px;
    left: -20px;
    display: inline-block;
    line-height: 1;
    z-index: 2;
}
.space-hero-en {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(48px, 6vw, 72px);
    font-style: normal;
    font-weight: 400;
    color: #4a6640;
    line-height: 1;
    position: relative;
    z-index: 2;
}
.space-hero--b .space-hero-en {
    color: #7a6a5a;
}
.space-hero-letter {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(160px, 20vw, 260px);
    font-style: normal;
    font-weight: 600;
    color: #4a6640;
    opacity: 0.9;
    line-height: 0.75;
    position: absolute;
    bottom: -100px;
    left: 135px;
    z-index: 1;
    pointer-events: none;
    user-select: none;
}
.space-hero--b .space-hero-letter {
    color: #7a6a5a;
}
.space-hero-img {
    position: relative;
    max-width: 800px;
    margin: 160px auto 0;
}
.space-hero-img img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    display: block;
}

/* ── Space Details ── */
.space-map {
    margin-bottom: 32px;
}
.space-map img {
    width: 100%;
    max-width: 680px;
    display: block;
    margin: 0 auto;
}
.space-desc {
    font-size: 15px;
    line-height: 2.1;
    color: #444;
    margin-bottom: 16px;
}
.space-size {
    font-size: 22px;
    font-weight: 400;
    color: #333;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}
.space-capacity {
    font-size: 15px;
    color: #444;
    letter-spacing: 0.04em;
    margin-bottom: 20px;
}
.space-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}
.space-tag {
    display: inline-block;
    border: 1px solid #bbb;
    padding: 5px 14px;
    font-size: 12px;
    color: #555;
    letter-spacing: 0.05em;
}

/* ── Price Table ── */
.price-table {
    width: 100%;
    border-collapse: collapse;
}
.price-table tr {
    border-top: 1px solid #dedad4;
}
.price-table tr:first-child {
    border-top: none;
}
.price-table tr:last-child {
    border-bottom: 1px solid #dedad4;
}
.price-table th {
    width: 150px;
    /* vertical-align: top; */
    padding: 32px 20px 32px 0;
    font-size: 18px;
    font-weight: normal;
    color: #333;
    white-space: nowrap;
}
.price-table td {
    padding: 32px 0;
    vertical-align: top;
}
.price-table td p {
    font-size: 13px;
    line-height: 2;
    color: #444;
    margin: 0;
}
.price-main {
    font-family: "游明朝", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Noto Serif JP", serif;
    font-size: 20px !important;
    font-weight: 400;
    color: #222 !important;
    margin-bottom: 10px !important;
    line-height: 1.6 !important;
    letter-spacing: 0.06em;
}
.price-note-inline {
    font-size: 11px;
    font-family: "游明朝", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Noto Serif JP", serif;
    color: #999;
    /* margin-left: 12px; */
    letter-spacing: 0.05em;
    font-weight: 400;
}
.price-sub {
    font-family: "游明朝", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Noto Serif JP", serif;
    font-size: 17px !important;
    font-weight: 400;
    color: #333 !important;
    margin-bottom: 6px !important;
    letter-spacing: 0.06em;
}
.price-notes {
    font-size: 12px !important;
    color: #999 !important;
    line-height: 2 !important;
    margin-top: 12px !important;
}

/* ── Plan ── */
/* ── Plan Image ── */
.plan-img-wrap {
    display: block;
    margin-bottom: 20px;
}
.plan-img-wrap img {
    width: 100%;
    display: block;
    border-radius: 6px;
}
.plan-img-zoom {
    display: block;
    margin-top: 8px;
    font-size: 11px;
    letter-spacing: 0.06em;
    color: #888;
    text-align: center;
    pointer-events: none;
}

/* ── Lightbox ── */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.lightbox.is-open { display: flex; }
.lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
}
.lightbox-img {
    position: relative;
    max-width: 92vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

.plan-body {
    font-size: 15px;
    line-height: 2.2;
    color: #444;
}
.plan-body p {
    margin-bottom: 8px;
}
.plan-link {
    color: #4a6640;
    text-decoration: underline!important;
}

/* ── Gallery ── */
.space-gallery {
    display: grid;
    gap: 12px;
}
.space-gallery--6 {
    grid-template-columns: 1fr 1fr;
}
.space-gallery--2 {
    grid-template-columns: 1fr 1fr;
    max-width: 600px;
}
.space-gallery--3 {
    grid-template-columns: 1fr 1fr 1fr;
}
.space-gallery-img img {
    width: 100%;
    object-fit: cover;
    display: block;
}
.space-gallery--6 .space-gallery-img img {
    aspect-ratio: 4 / 3;
}

/* ── Equipment Table ── */
.equip-subtitle {
    font-size: 18px;
    color: #666;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}
.equip-table {
    width: 100%;
    border-collapse: collapse;
}
.equip-table tr {
    border-bottom: 1px solid #ece9e4;
}
.equip-table th {
    width: 110px;
    vertical-align: top;
    padding: 16px 20px 16px 0;
    font-size: 13px;
    font-weight: normal;
    color: #888;
    white-space: nowrap;
    text-align: center;
}
.equip-table td {
    padding: 16px 0;
    font-size: 13px;
    line-height: 1.9;
    color: #444;
    text-align: left;
}

/* ── Other Information ── */
.other-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.other-info-list li {
    font-size: 15px;
    line-height: 2.1;
    color: #444;
    padding-left: 18px;
    position: relative;
}
.other-info-list li::before {
    content: '・';
    position: absolute;
    left: 0;
    color: #999;
}

/* ── Terms ── */
.tou-img {
    margin-bottom: 24px;
    line-height: 0;
}
.tou-img img {
    width: 100%;
    height: auto;
    display: block;
}
.terms-text {
    font-size: 15px;
    line-height: 2.2;
    color: #444;
}

/* ── CTA buttons ── */
.rental-cta {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 12px;
    padding: 52px 0 72px;
}
.rental-cta-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 24px;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.06em;
    text-align: center;
    transition: opacity 0.2s;
}
.rental-cta-btn:hover {
    opacity: 0.82;
    text-decoration: none;
}
.rental-cta-btn--a {
    background: #4a6640;
    color: #fff;
}
.rental-cta-btn--a:hover { color: #fff; }
.rental-cta-btn--b {
    background: #614C3F;
    color: #fff;
}
.rental-cta-btn--b:hover { color: #fff; }
.rental-cta-btn--contact {
    background: transparent;
    border: 1px solid #bbb;
    color: #555;
}
.rental-cta-btn--contact:hover {
    background: #f5f3f0;
    color: #555;
}
.cta-en {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 4px;
}
.cta-ja {
    font-size: 13px;
    letter-spacing: 0.06em;
    display: block;
}

/* Space B separator */
.rental-space--b {
    border-top: 1px solid #dedad4;
    margin-top: 40px;
    padding-top: 64px;
}

/* ── Reserve ── */
.rental-reserve {
    padding: 64px 0 72px;
}
.reserve-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}
.reserve-step {
    display: flex;
    align-items: stretch;
    width: 100%;
}
.reserve-step-num {
    flex: 0 0 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* font-family: 'Cormorant Garamond', serif; */
    font-size: 28px;
    font-style: normal;
    color: #5F6C5B;
    border: 1px solid #7a9470;
    letter-spacing: 0.05em;
}
.reserve-step-text {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 20px 32px;
    background: #7a9470;
    color: #fff;
    font-size: 16px;
    letter-spacing: 0.08em;
    line-height: 1.5;
    text-align: left;
}

/* ── Access ── */
.rental-access {
    margin-top: 40px;
}
.rental-access .rental-inner {
    padding-top: 56px;
}
.rental-access-photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 40px;
}
.rental-access-photos .access-photo img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}
.rental-access-detail {
    display: flex;
    gap: 40px;
    margin-bottom: 64px;
    align-items: center;
}
.rental-access-info {
    flex: 0 0 220px;
}
.rental-access-info address {
    font-style: normal;
    font-size: 13.5px;
    line-height: 2.1;
    color: #444;
    margin-bottom: 20px;
    text-align: left;
}
.rental-access-info address a {
    color: #444;
    text-decoration: none;
}
.rental-access-map {
    flex: 0 0 58%;
    min-height: 280px;
    align-self: stretch;
    background: #f0f2ed;
}
.map-btn {
    display: inline-block;
    border: 1px solid #999;
    padding: 9px 22px;
    font-size: 12px;
    color: #444;
    text-decoration: none;
    letter-spacing: 0.06em;
    transition: background 0.2s;
}
.map-btn:hover {
    background: #f0f0f0;
    text-decoration: none;
    color: #444;
}

/* ── Related Links ── */
.rental-related {
    border-top: 1px solid #dedad4;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 40px 72px;
    box-sizing: border-box;
}
.rental-related-item {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 28px 0;
    border-bottom: 1px solid #dedad4;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}
.rental-related-item:hover {
    opacity: 0.8;
    text-decoration: none;
}
.rental-related-img {
    flex-shrink: 0;
    width: 200px;
}
.rental-related-img img {
    width: 200px;
    height: 130px;
    object-fit: cover;
    display: block;
}
.rental-related-text {
    flex: 1;
}
.related-en {
    font-family: 'Cormorant Garamond', serif;
    font-size: 30px;
    font-weight: 400;
    color: #333;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}
.related-ja {
    font-size: 13px;
    color: #555;
    letter-spacing: 0.04em;
}
.related-btn {
    flex-shrink: 0;
    display: inline-block;
    border: 1px solid #aaa;
    padding: 10px 22px;
    font-size: 13px;
    color: #444;
    letter-spacing: 0.04em;
}

/* ── Fixed Reserve Button ── */
.rental-fixed-btn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 500;
    display: block;
    width: 160px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.rental-fixed-btn.is-visible {
    opacity: 1;
    pointer-events: auto;
}
.rental-fixed-btn img {
    width: 100%;
    height: auto;
    display: block;
}
.rental-fixed-btn:hover {
    opacity: 0.82;
}

/* =============================================
   Responsive
   ============================================= */
/* PC ナビを600px以下で非表示、SPナビを表示 */
@media (max-width: 600px) {
    .rental-ancnav { display: none; }
    .rental-ancnav-sp { display: flex; 
    border-bottom: none;}
}
@media (min-width: 601px) {
    .rental-ancnav-sp { display: none !important; }
}

@media (max-width: 767px) {
    .rental-qr-desc { text-align: left; }
    .rental-title-desc { font-size: 12px; }
    .rental-hero img { height: 240px; }
    .rental-title-block { padding: 48px 20px 32px; }
    .rental-qr { padding: 0 20px 120px; }
    .rental-qr-btns { grid-template-columns: 1fr; }
    .rental-inner { padding: 0 20px; }
    .space-hero { padding: 40px 0 0 20px; }
    .space-hero-letter { font-size: 140px; left: 96px;         
        bottom: -40px;}

        .space-hero-img {
        margin-left: 40px;
        margin-top: 0;
        margin-right: 40px;
    }
    .space-hero-img img { height: 220px; }
    /* .space-gallery--6 { grid-template-columns: 1fr; } */
    /* .space-gallery--2 { grid-template-columns: 1fr; max-width: 100%; } */
    .price-table tr { display: block; padding: 16px 0; }
    .price-table tr:first-child { border-top: none; padding-top: 0; }
    .price-table tr:last-child { padding-bottom: 16px; }
    .price-table th { display: block; width: 100%; font-size: 18px; padding: 0 0 6px 0; white-space: normal; color: #4a6640; }
    .price-table td { display: block; width: 100%; padding: 0; }
    .equip-table th { width: 70px; font-size: 12px; }
    .equip-table td { font-size: 12px; }
    .rental-cta { grid-template-columns: 1fr; }
    .rental-access-photos { grid-template-columns: 1fr; }
    .rental-access-detail { flex-direction: column; }
    .rental-access-info { flex: none; width: 100%; }
    .rental-access-map { flex: none; width: 100%; height: 340px; min-height: unset; }
    .rental-related { padding: 0 20px 48px; }
    .rental-related-item { flex-wrap: wrap; gap: 16px; }
    .rental-related-img { width: 100%; }
    .rental-related-img img { width: 100%; height: 180px; }
    .related-btn { width: 100%; text-align: center; }


    /* 追加 */
.space-hero-title {

    top: -60px;
    left: -20px;
}
.rental-fixed-btn {
    width: 120px;
}

.price-main {
    font-size: 16px!important;
    margin-bottom: 0!important;

}
.price-sub {
    font-size: 16px!important;
    margin-bottom: 0!important;
}

.plan-body p {
    font-size: 13.5px;
}
.terms-text {
    font-size: 13.5px;
}
.space-size p{
    font-size: 18px;
}

.other-info-list li {
    font-size: 14px;

}
.reserve-step-num {
    font-size: 18px;

}
.reserve-step-text {
    font-size: 13px;
}

.rental-related-item {
    align-items: flex-end;
}

.related-en {
    font-size: 27px;
    margin-bottom: -5px;
}
.circle-btn__label {
    font-size: 12px;
}

}
