/* ── カード全体 ───────────────────────────────── */
.hotelier-card {
    display: flex;
    flex-direction: row;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    margin: 1.5em 0;
    background: #fff;
    font-size: 14px;
    line-height: 1.5;
}

/* ── 画像エリア ───────────────────────────────── */
.hotelier-image-outer {
    flex: 0 0 150px;
    min-width: 0;
    padding: 12px 0 12px 12px;
    align-self: flex-start;
    box-sizing: border-box;
}
.hotelier-image {
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
    display: block;
    line-height: 0;
}
.hotelier-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ── 本文エリア ───────────────────────────────── */
.hotelier-body {
    flex: 1;
    padding: 16px 14px 10px 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    box-sizing: border-box;
}

/* ── ホテル名 ─────────────────────────────────── */
.hotelier-name {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    line-height: 1.4;
    margin: 0;
}
.hotelier-name-link {
    color: #111 !important;
    text-decoration: none !important;
}
.hotelier-name-link:hover {
    text-decoration: underline !important;
}

/* ── 説明文 ───────────────────────────────────── */
.hotelier-description {
    font-size: 12px;
    color: #666;
    margin: 0;
}

/* ── 住所 ─────────────────────────────────────── */
.hotelier-address {
    font-size: 12px;
    color: #777;
    display: flex;
    align-items: center;
    gap: 3px;
    flex-wrap: wrap;
}
.hotelier-address-link {
    font-size: 12px;
    color: #1a73e8;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.hotelier-address-link:hover {
    color: #1557b0;
}

/* ── 評価 ─────────────────────────────────────── */
.hotelier-review {
    display: flex;
    align-items: center;
}
.hotelier-review a {
    text-decoration: none !important;
    color: inherit !important;
    display: inline-flex;
    align-items: center;
}
.hotelier-review-inner {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
}
.hotelier-stars {
    display: inline-flex;
    gap: 1px;
}
.hotelier-star {
    font-size: 14px;
    color: #ddd;
}
.hotelier-star--full  { color: #f5a623; }
.hotelier-star--half  { color: #f5a623; opacity: 0.5; }
.hotelier-star--empty { color: #ddd; }
.hotelier-review-score {
    font-weight: 700;
    color: #f5a623;
    font-size: 13px;
    white-space: nowrap;
}
.hotelier-review-count {
    color: #888;
    font-size: 12px;
    white-space: nowrap;
}

/* ── 最安値 ───────────────────────────────────── */
.hotelier-price {
    display: flex;
    align-items: center;
    gap: 6px;
}
.hotelier-price-label {
    font-size: 11px;
    color: #888;
}
.hotelier-price-value {
    font-size: 15px;
    font-weight: 700;
    color: #e53e3e !important;
    text-decoration: none !important;
}
.hotelier-price-value:hover {
    text-decoration: underline !important;
}

/* ── ボタン ───────────────────────────────────── */
.hotelier-buttons {
    display: grid;
    grid-template-columns: repeat( 3, 1fr );
    gap: 6px;
    margin-top: 6px;
    align-items: end;
}
.hotelier-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 11px 8px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    text-decoration: none !important;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,.18);
    line-height: 1.3;
    white-space: nowrap;
    box-sizing: border-box;
    cursor: pointer;
    background-color: var(--btn-color, #555);
    color: #fff !important;
    transition: opacity .15s;
}
.hotelier-btn:hover {
    opacity: 0.85;
    color: #fff !important;
    text-decoration: none !important;
}

/* ── クレジット ───────────────────────────────── */
.hotelier-credit {
    font-size: 12px;
    color: #777;
    text-align: right;
    margin-top: 2px;
}
.hotelier-credit--pro {
    font-size: 11px;
    color: #aaa;
    text-align: right;
    margin-top: 2px;
}
.hotelier-credit--max {
    font-size: 10px;
    color: #ddd;
    text-align: right;
    margin-top: 2px;
}

/* 海外ホテル：PC表示のみ高さを固定 */
@media screen and ( min-width: 601px ) {
    .hotelier-card--overseas .hotelier-image {
        height: 78px;
    }

    .hotelier-card--overseas .hotelier-image img {
        width: 100%;
        height: 78px;
        object-fit: cover;
        object-position: center;
        display: block;
    }
}

/* ── スマホ対応 ───────────────────────────────── */
@media screen and ( max-width: 600px ) {
    .hotelier-card {
        flex-direction: column;
    }
    .hotelier-image-outer {
        flex: none;
        width: 100%;
        padding: 10px 10px 0;
    }
    .hotelier-buttons {
        grid-template-columns: 1fr;
    }
    /* MAX版：スマホ2列 */
    .hotelier-card--mobile-two .hotelier-buttons {
        grid-template-columns: repeat( 2, 1fr );
    }
    /* スマホ2列時はマイクロコピーを非表示 */
    .hotelier-card--mobile-two .hotelier-microcopy {
        display: none;
    }
    .hotelier-card--mobile-two .hotelier-btn-wrap {
        padding-top: 0;
    }
}

/* ── マイクロコピー（PRO版） ── */
.hotelier-btn-wrap {
    position: relative;
    padding-top: 22px;
    box-sizing: border-box;
}

.hotelier-btn-wrap .hotelier-btn {
    display: flex;
    width: 100%;
}

.hotelier-microcopy {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: #c0392b;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.03em;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
}

/* Pro版：PC非表示（スマホのみ） */
@media screen and ( min-width: 601px ) {
    .hotelier-btn-wrap--pro .hotelier-microcopy {
        display: none;
    }
    .hotelier-btn-wrap--pro {
        padding-top: 0; /* 非表示時は余白も消す */
    }
}

/* 画像なしの場合 */
.hotelier-body > .hotelier-badge {
    position: static;
    display: inline-block;
    margin-bottom: 8px;
}

/* ── ボタンアニメーション（PRO版） ── */

/* シャイニー：光が左から右へ流れる */
@keyframes hotelier-shine {
    0%   { background-position: -200% center; }
    100% { background-position:  200% center; }
}
.hotelier-buttons--shine .hotelier-btn {
    background-image: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255,255,255,0.28) 50%,
        transparent 60%
    );
    background-size: 200% auto;
    animation: hotelier-shine 2.5s linear infinite;
}

/* パルス：周期的に拡縮 */
@keyframes hotelier-pulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.04); }
}
.hotelier-buttons--pulse .hotelier-btn {
    animation: hotelier-pulse 1.8s ease-in-out infinite;
}

/* グロー：発光して点滅 */
@keyframes hotelier-glow {
    0%, 100% { box-shadow: 0 2px 4px rgba(0,0,0,.18); }
    50%       { box-shadow: 0 2px 14px rgba(0,0,0,.3), 0 0 10px var(--btn-color, #555); }
}
.hotelier-buttons--glow .hotelier-btn {
    animation: hotelier-glow 2s ease-in-out infinite;
}

/* バウンス：上下に小さく揺れる */
@keyframes hotelier-bounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-4px); }
}
.hotelier-buttons--bounce .hotelier-btn {
    animation: hotelier-bounce 1.5s ease-in-out infinite;
}

/* アクセシビリティ：動きを減らす設定を尊重 */
@media (prefers-reduced-motion: reduce) {
    .hotelier-buttons--shine .hotelier-btn,
    .hotelier-buttons--pulse .hotelier-btn,
    .hotelier-buttons--glow  .hotelier-btn,
    .hotelier-buttons--bounce .hotelier-btn {
        animation: none;
    }
}

/* ── 2列ボタングリッド（MAX版） ─────────────────── */
.hotelier-buttons--two-col {
    grid-template-columns: repeat( 2, 1fr );
}

/* 2列レイアウト時：画像エリアをやや広く */
.hotelier-card--layout-two .hotelier-image-outer {
    flex: 0 0 180px;
}

/* 2列レイアウト時：スマホは1列に戻す */
@media screen and ( max-width: 600px ) {
    .hotelier-buttons--two-col {
        grid-template-columns: 1fr;
    }
}
/* ── ボタンデザインテーマ（MAX版） ──────────────── */

/* 角丸 */
.hotelier-card--shape-rounded .hotelier-btn {
    border-radius: 10px;
}

/* 四角 */
.hotelier-card--shape-square .hotelier-btn {
    border-radius: 4px;
}

/* アウトライン */
.hotelier-card--style-outline .hotelier-btn {
    background-color: transparent;
    background-image: none; /* shine アニメーション無効化 */
    border: 2px solid var(--btn-color, #555);
    color: var(--btn-color, #555);
    box-shadow: none;
}
.hotelier-card--style-outline .hotelier-btn:hover {
    background-color: var(--btn-color, #555);
    color: #fff;
    opacity: 1;
}

/* アウトライン × シャイニー競合防止 */
.hotelier-card--style-outline .hotelier-buttons--shine .hotelier-btn {
    animation: none;
}

/* 1列レイアウト（MAX版） */
.hotelier-buttons--one-col {
    grid-template-columns: 1fr;
}

/* ── クレジット共通 ───────────────────────── */
.hotelier-credit {
    text-align: right;
    margin-top: 6px;
}
.hotelier-credit-link {
    font-size: 12px;
    color: #777 !important;
    text-decoration: none !important;
}
.hotelier-credit-link:hover {
    text-decoration: underline !important;
    color: #555 !important;
}

/* PRO：やや薄め */
.hotelier-credit--pro .hotelier-credit-link {
    font-size: 11px;
    color: #bbb !important;
}

/* MAX：極薄・極小フォント */
.hotelier-credit--max .hotelier-credit-link {
    font-size: 10px;
    color: #ccc !important;
}
.hotelier-credit--max .hotelier-credit-link:hover {
    color: #aaa !important;
}