:root {
    --bg: #f4f6fb;
    --surface: #ffffff;
    --surface-soft: #f8fafc;
    --line: #d7dfeb;
    --text: #132033;
    --text-soft: #526075;
    --navy: #1c3557;
    --navy-deep: #0f223d;
    --accent: #dfe9f7;
    --gold-soft: #f4e8cf;
    --rose-soft: #f5e7e8;
    --mint-soft: #e5f0ea;
    --sky-soft: #e3eef9;
    --shadow: 0 16px 40px rgba(17, 35, 63, 0.08);
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --font-ui: "Hiragino Sans", "Yu Gothic", "BIZ UDPGothic", sans-serif;
    --font-display: "Hiragino Sans", "Yu Gothic", "BIZ UDPGothic", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(207, 221, 242, 0.9), transparent 30%),
        linear-gradient(180deg, #f8fbff 0%, var(--bg) 55%, #eef2f7 100%);
    color: var(--text);
    font-family: var(--font-ui);
    font-weight: 400;
    font-synthesis: none;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.site-shell {
    min-height: 100vh;
}

.container {
    width: min(100% - 32px, 1100px);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(248, 251, 255, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(215, 223, 235, 0.8);
}

.site-header .container {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 16px 0;
}

.site-brand {
    display: inline-flex;
    align-items: center;
}

.site-brand strong {
    display: block;
    font-size: clamp(1.35rem, 4.2vw, 1.75rem);
    line-height: 1.2;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
}

.site-nav a {
    color: var(--text-soft);
    font-size: 0.94rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--navy);
}

.page-layout {
    display: grid;
    gap: 28px;
    padding-top: 10px;
}

.page-main {
    padding: 0 0 64px;
}

.hero {
    display: grid;
    gap: 18px;
    padding: 28px 22px;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(220, 230, 244, 0.42), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(246, 250, 255, 0.96) 100%);
    border: 1px solid rgba(215, 223, 235, 0.95);
    box-shadow: var(--shadow);
}

.hero h1 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.9rem, 5vw, 2.8rem);
    line-height: 1.25;
}

.hotel-name-kana {
    margin: -8px 0 0;
    color: var(--text-soft);
    font-size: 0.88rem;
    line-height: 1.35;
}

.hero__lead {
    margin: 0;
    font-size: 1.08rem;
    color: var(--navy-deep);
}

.hero__body {
    margin: 0;
    color: var(--text-soft);
}

.hero--hotel {
    gap: 14px;
}

.hotel-hero__image,
.hotel-card__image {
    width: 100%;
    margin: 0;
    display: grid;
    gap: 2px;
}

.hotel-hero__image img,
.hotel-card__image img {
    display: block;
    width: 100%;
    height: auto;
}

.hotel-image__credit {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.68rem;
    line-height: 1.15;
    text-align: left;
}

.hero__actions,
.cta-panel__actions,
.card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero__aside {
    display: grid;
    gap: 12px;
}

.info-card,
.note-box,
.cta-panel,
.stat-card,
.card,
.spotlight,
.mini-list__item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 28px rgba(18, 36, 63, 0.05);
}

.info-card,
.note-box {
    padding: 18px;
}

.note-box__title {
    margin: 0 0 10px;
    font-size: 1.08rem;
}

.note-box--home-intro {
    padding: 18px 18px 16px;
}

.note-box--home-intro p {
    margin: 0;
    color: var(--navy-deep);
}

.note-box--home-intro p + p {
    margin-top: 8px;
}

.section {
    margin-top: 28px;
}

.page-main > :first-child {
    margin-top: 0;
}

.section--home-intro {
    margin-top: 10px;
}

.section--spotlight {
    margin-top: 22px;
}

.theme-gallery {
    display: grid;
    gap: 14px;
    margin-top: 14px;
}

.theme-gallery--home {
    margin-top: 14px;
}

.page-home .theme-gallery,
.page-themes .theme-gallery {
    grid-template-columns: minmax(0, 1fr);
}

.section__head {
    margin-bottom: 16px;
}

.section__title {
    margin: 4px 0 0;
    font-size: 1.35rem;
}

.section__title--page {
    margin: 0;
    font-size: clamp(1.75rem, 4.6vw, 2.35rem);
    line-height: 1.2;
}

.section__lead {
    margin: 8px 0 0;
    color: var(--text-soft);
}

.eyebrow {
    display: inline-block;
    color: var(--navy);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.muted {
    color: var(--text-soft);
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.stat-card {
    padding: 16px;
}

.stat-card strong {
    display: block;
    font-size: 1.45rem;
    color: var(--navy-deep);
}

.stat-card span {
    color: var(--text-soft);
    font-size: 0.92rem;
}

.card-list {
    display: grid;
    gap: 14px;
}

.card {
    padding: 18px;
}

.card--hotel {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 0;
}

.card--theme {
    position: relative;
    overflow: hidden;
    padding: 16px;
}

.card--theme-minimal {
    padding: 14px 14px 16px;
}

.card--theme::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, rgba(28, 53, 87, 0.9), rgba(53, 91, 139, 0.35));
}

.theme-visual {
    position: relative;
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    min-height: 112px;
    padding: 12px 14px;
    color: var(--navy-deep);
    isolation: isolate;
}

.theme-visual::before {
    display: none;
}

.theme-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
    pointer-events: none;
}

.theme-visual:hover,
.theme-visual:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(12, 23, 40, 0.18);
}

.theme-visual__thumb {
    display: block;
    width: 100%;
    min-height: 84px;
    border-radius: 18px;
    border: 1px solid rgba(207, 216, 230, 0.9);
    background-color: rgba(255, 255, 255, 0.92);
    background-position: var(--theme-image-position, center);
    background-repeat: no-repeat;
    background-size: contain;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.theme-visual__content {
    min-width: 0;
    display: flex;
    align-items: center;
}

.theme-visual--featured {
    min-height: 112px;
}

.theme-visual__title {
    position: relative;
    z-index: 1;
    display: block;
    margin: 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.15rem, 4.8vw, 1.45rem);
    line-height: 1.28;
    color: var(--navy-deep);
    text-shadow: none;
}

.theme-visual__title--featured {
    font-size: clamp(1.15rem, 4.8vw, 1.45rem);
}

.card__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 0.88rem;
}

.card__body-link {
    display: block;
    margin: -18px -18px 0;
    padding: 18px 18px 0;
    color: inherit;
}

.card__body-link--hotel {
    display: grid;
    gap: 12px;
    flex: 1 1 auto;
    align-content: start;
    margin: 0;
    padding: 0;
}

.card__body-link:hover,
.card__body-link:focus-visible {
    color: inherit;
}

.card__title {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.4;
}

.card--hotel .card__title {
    line-height: 1.18;
}

.card__title-kana {
    margin: -2px 0 0;
    color: var(--text-soft);
    font-size: 0.82rem;
    line-height: 1.2;
}

.card__title--theme {
    font-size: clamp(1.35rem, 4.8vw, 1.7rem);
    line-height: 1.25;
}

.card__body-link:hover .card__title,
.card__body-link:focus-visible .card__title,
.text-link:hover,
.text-link:focus-visible {
    color: var(--navy);
}

.card__summary,
.card__support {
    margin: 10px 0 0;
    color: var(--text-soft);
}

.card--hotel .card__summary {
    color: var(--text);
}

.card__summary--hotel-copy {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.card__support--hotel-location {
    margin-top: -2px;
    font-size: 0.9rem;
}

.card__summary--theme {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    margin-top: 8px;
}

.card__support--strong {
    color: var(--navy-deep);
    font-weight: 600;
}

.card__compare {
    margin-top: 14px;
}

.card__compare-label {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--navy);
    font-size: 0.82rem;
    font-weight: 700;
}

.card__actions {
    margin-top: 14px;
}

.card__actions--hotel-card {
    display: grid;
    gap: 10px;
    margin-top: auto;
    padding-top: 10px;
}

.card__actions-row--hotel-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.card__actions-row--hotel-card .button {
    width: 100%;
    min-height: 44px;
    padding: 0 8px;
    font-size: 0.82rem;
    line-height: 1.2;
    white-space: nowrap;
}

.card__actions-detail {
    display: flex;
    justify-content: center;
}

.card__detail-button {
    min-width: 10rem;
}

.card__actions--utility {
    gap: 8px;
}

.card__actions--utility .button {
    flex: 0 1 auto;
}

.card__actions--theme-card .button {
    width: 100%;
}

.card--theme-minimal .card__meta {
    margin-bottom: 6px;
}

.card--theme-minimal .card__title--theme {
    font-size: clamp(1.25rem, 4.8vw, 1.55rem);
}

.card--theme-minimal .card__actions {
    margin-top: 12px;
}

.card--theme-minimal .button {
    width: 100%;
}

.card__actions--split .button {
    flex: 1 1 180px;
}

.card__actions--hotel-booking {
    gap: 8px;
}

.card__actions--hotel-booking .button {
    flex: 0 1 auto;
}

.rating-stars {
    position: relative;
    display: inline-block;
    line-height: 1;
    letter-spacing: 0.08em;
}

.rating-stars__base,
.rating-stars__fill {
    display: block;
    white-space: nowrap;
}

.rating-stars__base {
    color: rgba(19, 32, 51, 0.2);
}

.rating-stars__fill {
    position: absolute;
    inset: 0 auto 0 0;
    overflow: hidden;
    color: #f5b938;
}

.hotel-rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: inherit;
}

.hotel-rating--link {
    text-decoration: none;
}

.hotel-rating--link:hover,
.hotel-rating--link:focus-visible {
    color: var(--navy);
}

.hotel-rating strong {
    font-size: 1rem;
    color: inherit;
}

.hotel-rating span {
    color: var(--text-soft);
    font-size: 0.86rem;
}

.hotel-rating--large strong {
    font-size: 1.2rem;
}

.hotel-facts,
.hotel-detail-grid {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.hotel-facts__item,
.hotel-detail-card {
    display: grid;
    gap: 4px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(215, 223, 235, 0.9);
}

.hotel-facts__label,
.hotel-detail-card__label {
    color: var(--text-soft);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.hotel-facts__item strong,
.hotel-detail-card strong {
    font-size: 0.96rem;
    line-height: 1.45;
    color: inherit;
}

.hotel-detail-card--stat strong {
    justify-self: end;
    text-align: right;
}

.hotel-facts__item span,
.hotel-detail-card p {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.84rem;
    line-height: 1.55;
}

.hotel-detail-card__action {
    margin-top: 8px;
}

.hotel-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hotel-facts__item--wide,
.hotel-detail-card--wide {
    grid-column: 1 / -1;
}

.hotel-detail-note {
    margin: 12px 0 0;
    color: var(--text-soft);
    font-size: 0.88rem;
}

.button {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--navy) 0%, #2c4d77 100%);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
}

.button--secondary {
    background: var(--accent);
    color: var(--navy-deep);
}

.button--buttonlike {
    min-height: 48px;
    padding: 0 18px;
    font-size: 1rem;
}

.button--rakuten {
    background: linear-gradient(135deg, #d92d20 0%, #c01d12 100%);
    color: #fff;
}

.button--compact {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.82rem;
    white-space: normal;
}

.bookmark-toggle[data-bookmarked="true"] {
    background: var(--navy);
    color: #fff;
}

.spotlight {
    position: relative;
    overflow: hidden;
    display: block;
    padding: 22px 20px;
    border-radius: 26px;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.85), transparent 32%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 250, 255, 0.96) 100%);
}

.spotlight--minimal {
    padding: 18px 18px 20px;
}

.spotlight--minimal .spotlight__title {
    font-size: clamp(1.8rem, 6.4vw, 2.5rem);
}

.spotlight--minimal .spotlight__actions {
    margin-top: 14px;
}

.spotlight::after {
    content: "";
    position: absolute;
    right: -40px;
    top: -60px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    filter: blur(6px);
}

.spotlight__content {
    position: relative;
    z-index: 1;
}

.spotlight__title {
    margin: 6px 0 0;
    font-size: clamp(1.5rem, 4.5vw, 2.2rem);
    line-height: 1.3;
}

.spotlight__lead {
    margin: 10px 0 0;
    font-size: 1rem;
    color: var(--text-soft);
}

.spotlight__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.chip {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    color: var(--text-soft);
    font-size: 0.85rem;
}

.chip--link:hover,
.chip--link:focus-visible {
    color: var(--navy);
    border-color: rgba(28, 53, 87, 0.35);
}

.cta-panel {
    display: grid;
    gap: 14px;
    padding: 18px;
}

.cta-panel strong {
    display: block;
    font-size: 1.05rem;
}

.cta-panel p {
    margin: 6px 0 0;
    color: var(--text-soft);
}

.cta-panel__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
}

.cta-panel__actions .button {
    width: 100%;
}

.cta-panel--sticky {
    position: sticky;
    bottom: 12px;
    z-index: 5;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
}

.detail-list {
    margin: 0;
    padding-left: 18px;
}

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

.mini-list {
    display: grid;
    gap: 12px;
}

.mini-list__item {
    display: grid;
    gap: 8px;
    padding: 16px;
}

.mini-list__item p {
    margin: 4px 0 0;
    color: var(--text-soft);
}

.saved-hotels__list:empty {
    display: none;
}

.saved-hotels__empty[hidden] {
    display: none;
}

.text-link {
    color: var(--navy);
    font-weight: 700;
    font-size: 0.92rem;
}

.prose {
    padding: 20px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(215, 223, 235, 0.9);
}

.prose p {
    margin: 0;
}

.prose p + p {
    margin-top: 14px;
}

.card--tone-ink {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(243, 247, 252, 0.98) 100%);
}

.card--tone-sky {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(233, 241, 251, 0.98) 100%);
}

.card--tone-sage {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(235, 245, 239, 0.98) 100%);
}

.card--tone-sunset {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(251, 239, 236, 0.98) 100%);
}

.card--tone-pearl {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 240, 230, 0.98) 100%);
}

.theme-visual.card--tone-ink,
.theme-visual.spotlight--ink {
    background-image: none;
}

.theme-visual.card--tone-sky,
.theme-visual.spotlight--sky {
    background-image: none;
}

.theme-visual.card--tone-sage,
.theme-visual.spotlight--sage {
    background-image: none;
}

.theme-visual.card--tone-sunset,
.theme-visual.spotlight--sunset {
    background-image: none;
}

.theme-visual.card--tone-pearl,
.theme-visual.spotlight--pearl {
    background-image: none;
}

.spotlight--ink {
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.85), transparent 32%),
        linear-gradient(135deg, rgba(222, 230, 241, 0.95), rgba(250, 252, 255, 0.98));
}

.spotlight--sky {
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.88), transparent 32%),
        linear-gradient(135deg, var(--sky-soft), rgba(250, 252, 255, 0.98));
}

.spotlight--sage {
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.88), transparent 32%),
        linear-gradient(135deg, var(--mint-soft), rgba(250, 252, 255, 0.98));
}

.spotlight--sunset {
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.88), transparent 32%),
        linear-gradient(135deg, var(--rose-soft), rgba(250, 252, 255, 0.98));
}

.spotlight--pearl {
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.88), transparent 32%),
        linear-gradient(135deg, var(--gold-soft), rgba(250, 252, 255, 0.98));
}

.site-footer {
    padding: 32px 0 48px;
    border-top: 1px solid rgba(215, 223, 235, 0.9);
}

.site-footer .container {
    display: grid;
    gap: 16px;
}

.site-footer__lead p {
    margin: 8px 0 0;
    color: var(--text-soft);
}

.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    color: var(--text-soft);
}

.site-footer__body {
    display: grid;
    gap: 18px;
    justify-items: center;
    text-align: center;
}

.site-footer__follow {
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-footer__disclaimer {
    max-width: 42rem;
    margin: 0;
    color: var(--text-soft);
    font-size: 0.92rem;
    line-height: 1.7;
}

@media (min-width: 760px) {
    .site-header .container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .hero--home {
        grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
        align-items: start;
    }

    .card-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .theme-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mini-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cta-panel {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }

    .cta-panel__actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hotel-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hotel-detail-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .card__actions--hotel-card {
        grid-template-columns: minmax(0, 1fr);
    }

    .card__actions--hotel-card .button {
        min-height: 48px;
        padding: 0 18px;
        font-size: 1rem;
        line-height: 1.2;
    }

    .site-footer__body {
        grid-template-columns: minmax(0, 520px);
        justify-content: center;
    }

    .hotel-detail-card__action {
        justify-self: center;
        width: min(25%, 14rem);
        min-width: 10rem;
    }
}

@media (min-width: 1040px) {
    .card-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .card-list--related-themes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .theme-gallery {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}
