.home-hero {
    border-top: 0;
}

.home-hero__visual {
    position: relative;
    height: clamp(420px, calc(100svh - var(--header-height)), 900px);
    margin-top: calc(-1 * var(--header-height));
    padding-top: var(--header-height);
    overflow: hidden;
    background: #e8e4dc;
}

.home-hero__viewport,
.home-hero__fallback {
    width: 100%;
    height: 100%;
    overflow: hidden;
    touch-action: pan-y;
    cursor: grab;
    user-select: none;
}

.home-hero__viewport.is-dragging {
    cursor: grabbing;
}

.home-hero__fallback {
    background:
        linear-gradient(135deg, #6f7d86 0%, #4f5d66 45%, #8a9199 100%);
}

.home-hero__slides {
    display: flex;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.home-hero__slide {
    flex: 0 0 100%;
    height: 100%;
}

.home-hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    -webkit-user-drag: none;
    user-select: none;
}

.home-carousel__nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 0;
    background: rgba(0, 0, 0, 0.42);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 0.2s ease;
}

.home-carousel__nav:hover {
    background: rgba(0, 0, 0, 0.62);
}

.home-carousel__nav--prev {
    left: 12px;
}

.home-carousel__nav--next {
    right: 12px;
}

.home-hero__slide-ui {
    position: absolute;
    right: max(5%, calc((100% - 1040px) / 2));
    bottom: 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    color: #fff;
}

.home-hero__slide-count {
    margin: 0;
    font-family: var(--font-serif);
    font-size: 13px;
    letter-spacing: 0.12em;
}

.home-hero__slide-sep {
    margin: 0 4px;
    opacity: 0.55;
}

.home-hero__slide-progress {
    display: flex;
    gap: 8px;
}

.home-hero__slide-dot {
    position: relative;
    width: 48px;
    height: 2px;
    padding: 0;
    border: 0;
    background: rgba(255, 255, 255, 0.28);
    cursor: pointer;
    overflow: hidden;
}

.home-hero__slide-dot-fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    background: #fff;
    transition: width 0.3s ease;
}

.home-hero__slide-dot.is-active .home-hero__slide-dot-fill {
    width: 100%;
}

.home-about {
    background: var(--color-bg);
}

.home-about__body {
    max-width: 680px;
}

.home-about__text,
.home-about__closing {
    color: #444;
    font-size: 15px;
    line-height: 2;
}

.home-about__closing {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--color-line);
    color: var(--color-muted);
}

.home-rooms {
    background: var(--color-bg);
}

.home-rooms__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.home-rooms__eyebrow {
    margin-bottom: 8px;
    color: var(--color-accent-soft);
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.home-rooms__head .home-section__title {
    margin-bottom: 0;
}

.home-rooms__count {
    margin: 0;
    color: var(--color-muted);
    font-size: 13px;
    letter-spacing: 0.04em;
}

.home-rooms__filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

.home-rooms__filter-btn {
    min-height: 36px;
    padding: 0 16px;
    border: 1px solid var(--color-line);
    border-radius: 999px;
    background: var(--color-paper);
    color: var(--color-muted);
    font-size: 13px;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.home-rooms__filter-btn:hover {
    border-color: var(--color-accent-soft);
    color: var(--color-accent);
}

.home-rooms__filter-btn.is-active {
    border-color: var(--color-accent);
    background: var(--color-accent);
    color: #fff;
    font-weight: 500;
}

.home-rooms__filter-btn.is-active::after {
    content: none;
}

.home-rooms__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.home-room-card {
    overflow: hidden;
    border: 1px solid var(--color-line);
    background: var(--color-paper);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.home-room-card:has(.home-room-card__open:hover) {
    border-color: #cfc7bb;
    box-shadow: 0 16px 40px rgba(44, 36, 28, 0.08);
    transform: translateY(-4px);
}

.home-room-card.is-hidden {
    display: none;
}

.home-room-card__open {
    width: 100%;
    height: 100%;
    border: 0;
    padding: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.home-room-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e8e4dc;
}

.home-room-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.18) 100%);
    pointer-events: none;
}

.home-room-card__media img,
.home-room-card__placeholder {
    width: 100%;
    height: 100%;
    transition: transform 0.55s ease;
}

.home-room-card__media img {
    object-fit: cover;
}

.home-room-card__open:hover .home-room-card__media img {
    transform: scale(1.05);
}

.home-room-card__placeholder {
    background: linear-gradient(135deg, #e4dfd5 0%, #d4cdc1 100%);
}

.home-room-card__type {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 1;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-accent);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-room-card__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 20px 22px;
}

.home-room-card__name {
    margin: 0;
    font-family: var(--font-serif);
    font-size: 19px;
    font-weight: 400;
    line-height: 1.4;
}

.home-room-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    color: var(--color-accent);
    font-size: 13px;
    font-weight: 500;
}

.home-room-card__cta-icon {
    transition: transform 0.2s ease;
}

.home-room-card__open:hover .home-room-card__cta-icon {
    transform: translateX(3px);
}

.home-highlights {
    background: var(--color-bg);
}

.home-highlight-list {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--color-line);
}

.home-highlight-item {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 28px;
    padding: 24px 0;
    border-bottom: 1px solid var(--color-line);
}

.home-highlight-item h3 {
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 400;
}

.home-highlight-item p {
    color: var(--color-muted);
    font-size: 14px;
    line-height: 1.85;
}

.home-special {
    background: var(--color-paper);
}

.home-special__list {
    display: grid;
    gap: 48px;
}

.home-special__item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
}

.home-special__item.is-reverse .home-special__media {
    order: 2;
}

.home-special__item.is-reverse .home-special__body {
    order: 1;
}

.home-special__media {
    position: relative;
    aspect-ratio: 413 / 250;
    overflow: hidden;
    background: #e8e4dc;
}

.home-special__slides,
.home-special__slide,
.home-special__slide img {
    width: 100%;
    height: 100%;
}

.home-special__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.home-special__slide.is-active {
    opacity: 1;
}

.home-special__slide img {
    object-fit: contain;
    object-position: center;
}

.home-special__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.home-special__placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    background: #ebe6dd;
    color: #b0a796;
    font-family: var(--font-serif);
    font-size: 42px;
}

.home-special__no {
    margin-bottom: 8px;
    color: var(--color-accent-soft);
    font-size: 13px;
    letter-spacing: 0.12em;
}

.home-special__title {
    margin-bottom: 14px;
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.45;
}

.home-special__desc {
    color: #444;
    font-size: 14px;
    line-height: 1.9;
}

.home-guide__notice {
    margin-bottom: 36px;
    padding: 16px 18px;
    border: 1px solid #e8b4b4;
    background: #fff7f7;
}

.home-guide__notice-label {
    display: inline-block;
    margin-bottom: 8px;
    padding: 2px 8px;
    background: #eb2020;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.home-guide__notice-text {
    color: #c41e1e;
    font-size: 14px;
    line-height: 1.8;
}

.home-guide__list {
    border-top: 1px solid var(--color-line);
}

.home-guide__item {
    padding: 22px 0;
    border-bottom: 1px solid var(--color-line);
}

.home-guide__item-title,
.home-guide__sub-title {
    margin-bottom: 10px;
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 400;
}

.home-guide__item-desc {
    color: #444;
    font-size: 14px;
    line-height: 1.9;
}

.home-guide__item-list {
    color: #444;
    font-size: 14px;
    line-height: 1.9;
}

.home-guide__item-list li {
    position: relative;
    padding-left: 12px;
}

.home-guide__item-list li::before {
    content: "–";
    position: absolute;
    left: 0;
    color: var(--color-accent-soft);
}

.home-guide__cautions,
.home-guide__cancel {
    margin-top: 48px;
}

.home-guide__caution-list {
    color: #444;
    font-size: 14px;
    line-height: 1.9;
}

.home-guide__caution-list li {
    position: relative;
    padding-left: 12px;
}

.home-guide__caution-list li + li {
    margin-top: 8px;
}

.home-guide__caution-list li::before {
    content: "–";
    position: absolute;
    left: 0;
    color: var(--color-accent-soft);
}

.guide-em {
    color: #d35400;
    font-weight: 500;
}

.home-guide__cancel-intro p {
    margin-bottom: 8px;
    color: #444;
    font-size: 14px;
    line-height: 1.85;
}

.home-guide__table-wrap {
    margin-top: 20px;
}

.home-guide__cancel-table {
    width: 100%;
    border-collapse: collapse;
}

.home-guide__cancel-table th,
.home-guide__cancel-table td {
    padding: 11px 12px;
    border: 1px solid var(--color-line);
    font-size: 13px;
    text-align: center;
    line-height: 1.5;
}

.home-guide__cancel-table thead th {
    background: #f3efe8;
    font-weight: 500;
}

.home-guide__cancel-table tbody th {
    text-align: left;
    font-weight: 400;
    color: #444;
}

@media (max-width: 768px) {
    .home-guide__cancel-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .home-guide__cancel-table,
    .home-guide__cancel-table tbody,
    .home-guide__cancel-table tr {
        display: block;
        width: 100%;
    }

    .home-guide__cancel-table tbody tr {
        margin-bottom: 12px;
        border: 1px solid var(--color-line);
        background: var(--color-paper);
    }

    .home-guide__cancel-table tbody tr:last-child {
        margin-bottom: 0;
    }

    .home-guide__cancel-table tbody th,
    .home-guide__cancel-table tbody td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 12px 14px;
        border: 0;
        border-bottom: 1px solid #f0ebe3;
        text-align: right;
    }

    .home-guide__cancel-table tbody th {
        background: #f3efe8;
        font-weight: 500;
        text-align: left;
    }

    .home-guide__cancel-table tbody td {
        color: #444;
    }

    .home-guide__cancel-table tbody td::before {
        content: attr(data-label);
        flex: 1;
        color: var(--color-muted);
        font-size: 12px;
        font-weight: 500;
        text-align: left;
    }

    .home-guide__cancel-table tbody tr > :last-child {
        border-bottom: 0;
    }
}

.home-tour {
    background: var(--color-paper);
}

.home-tour__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.home-tour__eyebrow {
    margin-bottom: 8px;
    color: var(--color-accent-soft);
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.home-tour__head .home-section__title {
    margin-bottom: 0;
}

.home-tour__count {
    margin: 0;
    color: var(--color-muted);
    font-size: 13px;
    letter-spacing: 0.04em;
}

.home-tour__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.home-tour-card {
    overflow: hidden;
    border: 1px solid var(--color-line);
    background: var(--color-bg);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.home-tour-card:has(.home-tour-card__open:hover) {
    border-color: #cfc7bb;
    box-shadow: 0 16px 40px rgba(44, 36, 28, 0.08);
    transform: translateY(-4px);
}

.home-tour-card__open {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    margin: 0;
    border: 0;
    padding: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.home-tour-card__media {
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
    line-height: 0;
    background: #e8e4dc;
}

.home-tour-card__media img {
    display: block;
    width: 100%;
    aspect-ratio: 413 / 250;
    max-width: none;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.55s ease;
}

.home-tour-card__open:hover .home-tour-card__media img {
    transform: scale(1.05);
}

.home-tour-card__placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 413 / 250;
    background: linear-gradient(135deg, #e4dfd5 0%, #d4cdc1 100%);
    color: #b0a796;
    font-family: var(--font-serif);
    font-size: 28px;
    line-height: 1;
}

.home-tour-card__no {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 1;
    padding: 5px 10px;
    /* background: rgba(255, 255, 255, 0.92); */
    color: var(--color-accent);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.home-tour-card__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 20px 22px;
}

.home-tour-card__title {
    margin: 0;
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.45;
}

.home-tour-card__excerpt {
    margin: 0;
    color: var(--color-muted);
    font-size: 13px;
    line-height: 1.7;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-tour-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    color: var(--color-accent);
    font-size: 13px;
    font-weight: 500;
}

.home-tour-card__cta-icon {
    transition: transform 0.2s ease;
}

.home-tour-card__open:hover .home-tour-card__cta-icon {
    transform: translateX(3px);
}

.home-location {
    background: var(--color-bg);
}

.home-location__inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 48px;
    align-items: start;
}

.home-location__desc,
.home-location__address,
.home-location__phone {
    color: #444;
    line-height: 1.9;
}

.home-location__address {
    margin-top: 16px;
    font-family: var(--font-serif);
    font-size: 16px;
}

.home-location__spots {
    margin-top: 20px;
    color: var(--color-muted);
    font-size: 14px;
    line-height: 1.9;
}

.home-location__spots li {
    display: inline;
}

.home-location__spots li:not(:last-child)::after {
    content: " · ";
}

.home-location__phone {
    margin-top: 20px;
}

.home-location__phone a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.home-location__map-frame {
    min-height: 300px;
    border: 1px solid var(--color-line);
    background: #e8e4dc;
}

.home-cta {
    background: #e8e4dc;
}

.home-cta__carousel {
    position: relative;
    overflow: hidden;
    aspect-ratio: 413 / 250;
}

.home-cta__viewport {
    width: 100%;
    height: 100%;
    overflow: hidden;
    touch-action: pan-y;
    cursor: grab;
    user-select: none;
}

.home-cta__viewport.is-dragging {
    cursor: grabbing;
}

.home-cta__slides {
    display: flex;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.home-cta__slide {
    flex: 0 0 100%;
    height: 100%;
}

.home-cta__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    -webkit-user-drag: none;
    user-select: none;
}

.home-cta__dots {
    position: absolute;
    right: 0;
    bottom: 16px;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.home-cta__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
}

.home-cta__dot.is-active {
    background: #fff;
}

.room-modal[hidden],
.tour-modal[hidden] {
    display: none;
}

.room-modal,
.tour-modal {
    position: fixed;
    inset: 0;
    z-index: 10150;
}

.room-modal__backdrop,
.tour-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.room-modal__dialog,
.tour-modal__dialog {
    position: relative;
    max-height: calc(100vh - 40px);
    margin: 20px auto;
    overflow: auto;
    background: var(--color-paper);
    border: 1px solid var(--color-line);
}

.room-modal__dialog {
    width: min(92%, 720px);
}

.tour-modal__dialog {
    width: min(92%, 413px);
}

.room-modal__close,
.tour-modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border: 0;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.room-modal__gallery {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e8e4dc;
}

.tour-modal__gallery {
    position: relative;
    width: 100%;
    aspect-ratio: 413 / 250;
    overflow: hidden;
    background: #e8e4dc;
}

.room-modal__viewport,
.tour-modal__viewport {
    width: 100%;
    height: 100%;
    overflow: hidden;
    touch-action: pan-y;
    cursor: grab;
    user-select: none;
}

.room-modal__viewport.is-dragging,
.tour-modal__viewport.is-dragging {
    cursor: grabbing;
}

.room-modal__slides,
.tour-modal__slides {
    display: flex;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.room-modal__slide,
.tour-modal__slide {
    flex: 0 0 100%;
    height: 100%;
}

.room-modal__slide img,
.tour-modal__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    -webkit-user-drag: none;
    user-select: none;
}

.tour-modal__slide img {
    object-fit: cover;
    object-position: center;
}

.room-modal__gallery-nav,
.tour-modal__gallery-nav {
    position: absolute;
    top: 50%;
    z-index: 1;
    width: 36px;
    height: 36px;
    border: 0;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
}

.room-modal__gallery-nav:hover,
.tour-modal__gallery-nav:hover {
    background: rgba(0, 0, 0, 0.65);
}

.room-modal__gallery-nav--prev,
.tour-modal__gallery-nav--prev {
    left: 10px;
}

.room-modal__gallery-nav--next,
.tour-modal__gallery-nav--next {
    right: 10px;
}

.room-modal__gallery-dots,
.tour-modal__gallery-dots {
    position: absolute;
    right: 0;
    bottom: 12px;
    left: 0;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: 6px;
}

.room-modal__gallery-dot,
.tour-modal__gallery-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
}

.room-modal__gallery-dot.is-active,
.tour-modal__gallery-dot.is-active {
    background: #fff;
}

.room-modal__content {
    padding: 24px 22px 32px;
}

.tour-modal__content {
    padding: 20px 18px 28px;
}

.room-modal__title,
.tour-modal__title {
    margin-bottom: 18px;
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 400;
}

.tour-modal__desc p {
    margin-bottom: 12px;
    color: #444;
    font-size: 14px;
    line-height: 1.85;
}

.tour-modal__desc p:last-child {
    margin-bottom: 0;
}

.room-modal__ddnayo {
    margin-bottom: 24px;
}

.room-modal__reserve {
    width: 100%;
}
.count {
    display: none !important;
}
@media (max-width: 1024px) {
    .home-rooms__grid,
    .home-tour__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .home-hero__visual {
        height: clamp(300px, calc(100svh - var(--header-height)), 560px);
    }

    .home-hero__slide-ui {
        right: 5%;
        bottom: 14px;
        align-items: flex-start;
    }

    .home-hero__slide-dot {
        width: 32px;
    }

    .home-carousel__nav {
        width: 34px;
        height: 34px;
        font-size: 18px;
    }

    .home-rooms__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .home-tour__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .home-rooms__grid,
    .home-tour__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .home-location__inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .home-highlight-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .home-special__item,
    .home-special__item.is-reverse {
        grid-template-columns: 1fr;
    }

    .home-special__item.is-reverse .home-special__media,
    .home-special__item.is-reverse .home-special__body {
        order: initial;
    }
}
