/* ==========================================================================
   LoveHo YobuHo — loveho-style.css
   ========================================================================== */

:root {
    --lh-bg: #0d0d1a;
    --lh-bg-2: #1a1a2e;
    --lh-bg-3: #252540;
    --lh-bg-4: #30304a;
    --lh-accent: #c9a96e;
    --lh-accent-light: #e0c88a;
    --lh-accent-dim: #a0854a;
    --lh-text: #e0e0e0;
    --lh-text-2: #a0a0b8;
    --lh-text-3: #70708a;
    --lh-border: rgba(201,169,110,0.18);
    --lh-border-strong: rgba(201,169,110,0.35);
    --lh-card-shadow: 0 2px 16px rgba(0,0,0,0.3), 0 1px 4px rgba(201,169,110,0.06);
    --lh-card-shadow-hover: 0 8px 32px rgba(0,0,0,0.4), 0 2px 8px rgba(201,169,110,0.12);
    --lh-radius: 4px;
    --lh-radius-lg: 10px;
    --lh-star: #c9a96e;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--lh-bg);
    color: var(--lh-text);
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
}

/* ===== ヘッダー ===== */
.lh-header {
    background: var(--lh-bg-2);
    border-bottom: 1px solid var(--lh-border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.lh-header-inner {
    max-width: 640px;
    margin: 0 auto;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.lh-logo {
    flex: 1;
    text-align: center;
    font-size: 18px;
    letter-spacing: 1px;
    color: var(--lh-accent);
    font-weight: 300;
}
.lh-logo b { font-weight: 700; color: #fff; }
.btn-to-gate {
    display: flex;
    align-items: center;
    gap: 4px;
    background: transparent;
    border: 1px solid var(--lh-border);
    border-radius: 20px;
    padding: 5px 12px;
    color: var(--lh-text-2);
    font-size: 12px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
    white-space: nowrap;
}
.btn-to-gate:hover { border-color: var(--lh-accent); color: var(--lh-accent); }

/* ===== 年齢制限 ===== */
.lh-age-notice {
    max-width: 640px;
    margin: 0 auto;
    padding: 10px 16px;
    text-align: center;
    font-size: 11px;
    color: var(--lh-text-3);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

/* ===== エリア選択 ===== */
.lh-area-section {
    max-width: 640px;
    margin: 0 auto;
    padding: 16px;
}
.lh-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 12px;
    margin-bottom: 12px;
}
.lh-breadcrumb-item { color: var(--lh-text-3); }
.lh-breadcrumb-item.active { color: var(--lh-accent); font-weight: 500; }
.lh-breadcrumb-item[style*="cursor"] { cursor: pointer; }
.lh-breadcrumb-item[style*="cursor"]:hover { color: var(--lh-accent-light); }
.lh-breadcrumb-sep { color: var(--lh-text-3); margin: 0 2px; }

.lh-area-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.lh-area-header h2 {
    font-size: 18px;
    font-weight: 500;
    color: #fff;
}
.lh-btn-back {
    display: none;
    align-items: center;
    gap: 4px;
    background: transparent;
    border: 1px solid var(--lh-border);
    border-radius: 20px;
    padding: 5px 12px;
    color: var(--lh-text-2);
    font-size: 12px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}
.lh-btn-back:hover { border-color: var(--lh-accent); color: var(--lh-accent); }

.lh-area-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.lh-area-grid.region-level { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 400px) { .lh-area-grid.region-level { grid-template-columns: 1fr 1fr; } }

.lh-area-btn {
    background: var(--lh-bg-2);
    border: 1px solid var(--lh-border);
    border-radius: 8px;
    padding: 12px 14px;
    color: var(--lh-text);
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: lhFadeIn 0.3s ease both;
}
.lh-area-btn:hover {
    border-color: var(--lh-accent);
    background: var(--lh-bg-3);
    box-shadow: var(--lh-card-shadow);
}
.lh-area-btn.has-children::after {
    content: '›';
    color: var(--lh-text-3);
    font-size: 16px;
    margin-left: 4px;
}
.lh-area-btn .city-count {
    font-size: 11px;
    color: var(--lh-accent);
    background: rgba(201,169,110,0.1);
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 8px;
    flex-shrink: 0;
}
.lh-area-btn.all-btn {
    background: rgba(201,169,110,0.08);
    border-color: var(--lh-accent-dim);
    color: var(--lh-accent);
    font-weight: 500;
    justify-content: center;
}
.lh-area-btn.all-btn:hover { background: rgba(201,169,110,0.15); }

@keyframes lhFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== 検索ツール ===== */
.lh-search-tools {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 16px 12px;
    display: flex;
    gap: 8px;
    align-items: center;
}
.lh-btn-location {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    background: var(--lh-bg-2);
    border: 1px solid var(--lh-border);
    border-radius: 10px;
    padding: 8px 12px;
    color: var(--lh-text-2);
    font-size: 10px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}
.lh-btn-location:hover { border-color: var(--lh-accent); color: var(--lh-accent); }
.lh-btn-location .icon { font-size: 16px; }

.lh-search-wrapper, .lh-station-wrapper {
    flex: 1;
    position: relative;
    min-width: 0;
}
.lh-search-wrapper .icon, .lh-station-wrapper .icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    pointer-events: none;
}
.lh-search-input, .lh-station-input {
    width: 100%;
    padding: 10px 12px 10px 32px;
    background: var(--lh-bg-2);
    border: 1px solid var(--lh-border);
    border-radius: 10px;
    color: var(--lh-text);
    font-size: 13px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}
.lh-search-input:focus, .lh-station-input:focus {
    border-color: var(--lh-accent);
}
.lh-search-input::placeholder, .lh-station-input::placeholder { color: var(--lh-text-3); }
.lh-search-clear {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--lh-text-3);
    cursor: pointer;
    font-size: 14px;
    display: none;
}

/* ===== 結果ステータス ===== */
.lh-result-status {
    max-width: 640px;
    margin: 0 auto;
    padding: 8px 16px;
    font-size: 13px;
    color: var(--lh-text-2);
    display: none;
}
.lh-result-status strong { color: var(--lh-accent); }

/* ===== ホテルカード ===== */
.lh-hotel-list {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 16px;
}
.lh-hotel-card {
    background: var(--lh-bg-2);
    border: 1px solid var(--lh-border);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.2s;
    animation: lhFadeIn 0.3s ease both;
}
.lh-hotel-card:hover {
    border-color: var(--lh-accent);
    box-shadow: var(--lh-card-shadow-hover);
}
.lh-hotel-card .hotel-name {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    line-height: 1.5;
    word-break: break-all;
}
.lh-hotel-card .hotel-address {
    font-size: 12px;
    color: var(--lh-text-2);
    margin-top: 4px;
    display: flex;
    align-items: flex-start;
    gap: 4px;
}
.lh-hotel-card .hotel-station {
    font-size: 12px;
    color: var(--lh-text-3);
    margin-top: 2px;
}
.lh-hotel-card .hotel-tel {
    font-size: 11px;
    color: var(--lh-text-3);
}

/* ===== 星評価 ===== */
.lh-stars {
    display: inline-flex;
    gap: 1px;
    color: var(--lh-star);
    font-size: 14px;
}
.lh-stars .empty { color: var(--lh-text-3); opacity: 0.3; }
.lh-star-select {
    display: inline-flex;
    gap: 4px;
    cursor: pointer;
}
.lh-star-select span {
    font-size: 24px;
    color: var(--lh-text-3);
    opacity: 0.3;
    cursor: pointer;
    transition: all 0.15s;
}
.lh-star-select span.active { color: var(--lh-star); opacity: 1; }
.lh-star-select span:hover { transform: scale(1.15); }

/* ===== 口コミバッジ ===== */
.lh-review-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(201,169,110,0.12);
    color: var(--lh-accent);
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
}

/* ===== サマリーバー ===== */
.lh-summary-bar {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}
.lh-summary-item {
    background: var(--lh-bg-3);
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 11px;
    color: var(--lh-text-2);
    display: flex;
    align-items: center;
    gap: 4px;
}
.lh-summary-item .label { color: var(--lh-text-3); }
.lh-summary-item .value { color: var(--lh-accent); font-weight: 600; }

/* ===== カードフッター ===== */
.lh-card-footer {
    display: flex;
    gap: 6px;
    margin-top: 12px;
}
.lh-btn-check {
    flex: 1;
    padding: 8px 6px;
    background: linear-gradient(135deg, var(--lh-accent), var(--lh-accent-light));
    border: none;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    color: var(--lh-bg);
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    letter-spacing: 0.03em;
}
.lh-btn-review {
    flex: 1;
    padding: 8px 6px;
    background: transparent;
    border: 1.5px solid var(--lh-border-strong);
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    color: var(--lh-accent);
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
}

/* ===== もっと見る ===== */
.lh-load-more {
    text-align: center;
    margin: 20px 0;
}
.lh-load-more button {
    background: var(--lh-accent);
    color: var(--lh-bg);
    border: none;
    padding: 12px 32px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
}
.lh-load-more button:hover { background: var(--lh-accent-light); }

/* ===== ホテル詳細パネル ===== */
.lh-detail-panel {
    display: none;
    max-width: 640px;
    margin: 0 auto;
    padding: 16px;
}
.lh-detail-name {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}
.lh-detail-name a {
    color: var(--lh-accent);
    text-decoration: none;
}
.lh-detail-name a:hover { text-decoration: underline; }
.lh-detail-info {
    background: var(--lh-bg-2);
    border: 1px solid var(--lh-border);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 16px;
}
.lh-detail-info .row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 6px 0;
    font-size: 13px;
    color: var(--lh-text);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.lh-detail-info .row:last-child { border-bottom: none; }
.lh-detail-info .row .icon { flex-shrink: 0; }
.lh-detail-info .row a { color: var(--lh-accent); text-decoration: none; }
.lh-detail-info .row a:hover { text-decoration: underline; }

/* ===== サマリーカード ===== */
.lh-detail-summary {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin-bottom: 16px;
}
.lh-detail-summary .item {
    background: var(--lh-bg-2);
    border: 1px solid var(--lh-border);
    border-radius: 10px;
    padding: 12px;
    text-align: center;
}
.lh-detail-summary .item .label {
    font-size: 10px;
    color: var(--lh-text-3);
    margin-bottom: 4px;
}
.lh-detail-summary .item .value {
    font-size: 18px;
    font-weight: 700;
    color: var(--lh-accent);
}

/* ===== Yes/No バー ===== */
.lh-yn-bar {
    background: var(--lh-bg-2);
    border: 1px solid var(--lh-border);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 12px;
}
.lh-yn-bar .title {
    font-size: 12px;
    font-weight: 600;
    color: var(--lh-text-2);
    margin-bottom: 8px;
}
.lh-yn-bar .bar {
    display: flex;
    height: 24px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--lh-bg-3);
}
.lh-yn-bar .bar .yes { background: #3a9a60; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: #fff; }
.lh-yn-bar .bar .no { background: #c05050; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: #fff; }
.lh-yn-bar .bar .unknown { background: var(--lh-bg-4); display: flex; align-items: center; justify-content: center; font-size: 10px; color: var(--lh-text-3); }

/* ===== 設備タグ ===== */
.lh-facility-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}
.lh-facility-tag {
    background: var(--lh-bg-3);
    border: 1px solid var(--lh-border);
    border-radius: 16px;
    padding: 4px 12px;
    font-size: 11px;
    color: var(--lh-text-2);
}

/* ===== 口コミ一覧 ===== */
.lh-reviews-section {
    margin-bottom: 24px;
}
.lh-reviews-section h3 {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}
.lh-review-card {
    background: var(--lh-bg-2);
    border: 1px solid var(--lh-border);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 8px;
}
.lh-review-card .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.lh-review-card .poster {
    font-size: 12px;
    color: var(--lh-text-2);
    font-weight: 500;
}
.lh-review-card .date {
    font-size: 11px;
    color: var(--lh-text-3);
}
.lh-review-card .ratings {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 11px;
    color: var(--lh-text-2);
    margin-bottom: 6px;
}
.lh-review-card .comment {
    font-size: 13px;
    color: var(--lh-text);
    line-height: 1.7;
    white-space: pre-wrap;
}
.lh-review-card .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 8px;
}
.lh-review-card .tag {
    background: var(--lh-bg-3);
    border-radius: 10px;
    padding: 2px 8px;
    font-size: 10px;
    color: var(--lh-text-3);
}
.lh-review-card .flag-btn {
    background: none;
    border: none;
    color: var(--lh-text-3);
    font-size: 11px;
    cursor: pointer;
    font-family: inherit;
    margin-top: 8px;
    opacity: 0.6;
}
.lh-review-card .flag-btn:hover { opacity: 1; color: #c05050; }

/* ===== 口コミ投稿フォーム ===== */
.lh-report-form {
    background: var(--lh-bg-2);
    border: 1px solid var(--lh-border);
    border-radius: 12px;
    padding: 20px 16px;
    margin-bottom: 24px;
}
.lh-report-form h3 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
    text-align: center;
}
.lh-form-group {
    margin-bottom: 14px;
}
.lh-form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--lh-text-2);
    margin-bottom: 5px;
    letter-spacing: 0.3px;
}
.lh-form-group select,
.lh-form-group textarea,
.lh-form-group input[type="text"] {
    width: 100%;
    padding: 10px 12px;
    background: var(--lh-bg-3);
    border: 1px solid var(--lh-border);
    border-radius: 8px;
    color: var(--lh-text);
    font-size: 13px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}
.lh-form-group select:focus,
.lh-form-group textarea:focus,
.lh-form-group input[type="text"]:focus {
    border-color: var(--lh-accent);
}
.lh-form-group textarea { resize: vertical; min-height: 80px; }
.lh-form-group select option { background: var(--lh-bg-2); color: var(--lh-text); }

/* チェックボックスグリッド */
.lh-checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}
.lh-checkbox-item {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--lh-bg-3);
    border: 1px solid var(--lh-border);
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 12px;
    color: var(--lh-text-2);
    cursor: pointer;
    transition: all 0.15s;
}
.lh-checkbox-item:hover { border-color: var(--lh-accent); }
.lh-checkbox-item.checked {
    border-color: var(--lh-accent);
    background: rgba(201,169,110,0.1);
    color: var(--lh-accent);
}
.lh-checkbox-item input { display: none; }

.lh-btn-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--lh-accent), var(--lh-accent-light));
    border: none;
    border-radius: 10px;
    color: var(--lh-bg);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
    margin-top: 8px;
}
.lh-btn-submit:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(201,169,110,0.3); }
.lh-btn-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ===== ローディング ===== */
.lh-loading {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(13,13,26,0.85);
    z-index: 200;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
}
.lh-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--lh-border);
    border-top-color: var(--lh-accent);
    border-radius: 50%;
    animation: lhSpin 0.8s linear infinite;
}
@keyframes lhSpin { to { transform: rotate(360deg); } }
.lh-loading-text { font-size: 13px; color: var(--lh-text-2); }

/* ===== モーダル ===== */
.lh-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 300;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.lh-modal {
    background: var(--lh-bg-2);
    border: 1px solid var(--lh-border);
    border-radius: 16px;
    padding: 24px 20px;
    width: 100%;
    max-width: 460px;
    max-height: 88vh;
    overflow-y: auto;
    box-shadow: 0 8px 48px rgba(0,0,0,0.5);
}
.lh-modal h3 {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-bottom: 16px;
}
.lh-modal .btn-cancel {
    flex: 1;
    padding: 12px;
    background: var(--lh-bg-3);
    border: 1px solid var(--lh-border);
    border-radius: 10px;
    color: var(--lh-text-2);
    font-size: 14px;
    cursor: pointer;
    font-family: inherit;
}
.lh-modal .btn-confirm {
    flex: 2;
    padding: 12px;
    background: var(--lh-accent);
    border: none;
    border-radius: 10px;
    color: var(--lh-bg);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}

/* ===== フッター ===== */
.lh-footer {
    background: #0a0a14;
    padding: 12px 16px;
    margin-top: 40px;
    text-align: center;
    font-size: 11px;
    line-height: 1.6;
}
.lh-footer a { color: var(--lh-text-3); text-decoration: none; }
.lh-footer a:hover { color: var(--lh-accent); }
.lh-footer .sep { color: rgba(255,255,255,0.15); margin: 0 6px; }
.lh-footer p { margin: 4px 0 0; color: var(--lh-text-3); }

/* ===== 成功モーダル ===== */
.lh-success-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.lh-success-modal .inner {
    background: var(--lh-bg-2);
    border: 1px solid var(--lh-border);
    border-radius: 12px;
    padding: 32px;
    max-width: 400px;
    text-align: center;
    margin: 16px;
}
.lh-success-modal .inner h3 { margin: 0 0 12px; color: #fff; }
.lh-success-modal .inner p { margin: 0 0 24px; color: var(--lh-text-2); font-size: 14px; }
.lh-success-modal .inner button {
    background: var(--lh-accent);
    color: var(--lh-bg);
    border: none;
    padding: 10px 32px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}

/* ===== トースト ===== */
.lh-toast {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(-12px);
    background: #fff;
    color: var(--lh-bg);
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 13px;
    opacity: 0;
    transition: all 0.3s;
    z-index: 9999;
    white-space: nowrap;
    pointer-events: none;
}

/* ===== レスポンシブ ===== */
@media (max-width: 480px) {
    .lh-detail-summary { grid-template-columns: 1fr 1fr; }
    .lh-search-tools { flex-wrap: wrap; }
    .lh-btn-location { flex-direction: row; padding: 8px 10px; }
}
