/* spot/{id}/index.html 専用スタイル */

.sp-body {
    margin: 0;
    background: var(--paper, #f9f9f7);
    color: var(--ink, #1a1c1c);
    font-family: 'Noto Sans JP', sans-serif;
}

/* ヘッダー */
.sp-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    padding: 0 20px;
    background: var(--paper, #f9f9f7);
    border-bottom: 1px solid var(--line, #d8dbd8);
}

.sp-back {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--ink, #1a1c1c);
    text-decoration: none;
    font-weight: 500;
}

.sp-back:hover { color: var(--accent, #006b55); }

.sp-logo {
    font-family: 'EB Garamond', serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 1.2;
    text-align: center;
    color: var(--ink, #1a1c1c);
    text-decoration: none;
}

.sp-header-spacer { width: 80px; }

/* ヒーロー */
.sp-hero {
    position: relative;
    height: 56vw;
    max-height: 520px;
    overflow: hidden;
}

.sp-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sp-hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 55%);
}

.sp-hero-copy {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px clamp(18px, 5vw, 48px) 32px;
}

.sp-kicker {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
    margin-bottom: 8px;
}

.sp-title {
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(22px, 5vw, 36px);
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

/* 記事本文 */
.sp-main {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 clamp(18px, 5vw, 48px) 80px;
}

.sp-article {
    padding-top: 32px;
}

.sp-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.sp-tag {
    padding: 4px 12px;
    border: 1px solid var(--line, #d8dbd8);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: var(--muted, #626968);
}

.sp-body-text {
    font-size: 16px;
    line-height: 1.9;
    color: var(--ink, #1a1c1c);
}

.sp-body-text p {
    margin: 0 0 1.6em;
}

/* 情報ブロック */
.sp-info-block {
    margin: 40px 0;
    padding: 24px;
    background: var(--paper-soft, #f0f0ed);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sp-info-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: var(--ink, #1a1c1c);
}

.sp-info-row i {
    color: var(--accent, #006b55);
    margin-top: 2px;
    flex-shrink: 0;
    width: 16px;
}

.sp-map-link {
    color: var(--accent, #006b55);
    text-decoration: none;
    font-weight: 500;
}

.sp-map-link:hover { text-decoration: underline; }

/* 広告スロット */
.sp-ad-slot {
    margin: 32px 0;
}

/* Google 評価 */
.sp-rating small { color: var(--muted, #626968); font-size: 11px; }
.sp-star { color: #F39C12; }

/* アフィリエイトセクション */
.sp-affiliate {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--line, #d8dbd8);
}

.sp-affiliate-disclosure {
    font-size: 13px;
    color: var(--ink, #1a1c1c);
    margin: 4px 0 12px;
}

.sp-affiliate-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 0;
}

.sp-aff-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    transition: opacity 0.2s;
}

.sp-aff-btn:hover { opacity: 0.85; }
.sp-aff-btn img { display: none; }

.sp-aff-tabelog   { background: #E4002B; }
.sp-aff-hotpepper { background: #E72929; }
.sp-aff-amazon    { background: #FF9900; color: #111; }
.sp-aff-rakuten   { background: #BF0000; }
.sp-aff-jalan     { background: #0072C6; }
.sp-aff-klook     { background: #FF5722; }

/* 関連スポット */
.sp-related {
    padding-top: 40px;
    border-top: 1px solid var(--line, #d8dbd8);
    margin-top: 40px;
}

.sp-section-title {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin: 0 0 20px;
}

.sp-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.sp-related-card {
    display: block;
    text-decoration: none;
    color: var(--ink, #1a1c1c);
    border-radius: 10px;
    overflow: hidden;
    background: var(--white, #fff);
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    transition: transform 0.2s, box-shadow 0.2s;
}

.sp-related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.sp-related-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}

.sp-related-body {
    padding: 12px 14px;
}

.sp-related-body .sp-kicker {
    display: block;
    color: var(--muted, #626968);
    margin-bottom: 4px;
    font-size: 10px;
}

.sp-related-body strong {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

/* フッター */
.sp-footer {
    padding: 24px clamp(18px, 5vw, 48px);
    border-top: 1px solid var(--line, #d8dbd8);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--muted, #626968);
    max-width: 800px;
    margin: 0 auto;
}

.sp-footer a {
    color: var(--accent, #006b55);
    text-decoration: none;
    font-weight: 500;
}

/* 営業中/閉店中バッジ */
.sp-hours-status {
    display: inline-block;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 700;
}

.sp-hours-status .status-open {
    background: #00b894;
    color: #fff;
    padding: 2px 10px;
    border-radius: 12px;
}

.sp-hours-status .status-closed {
    background: rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.9);
    padding: 2px 10px;
    border-radius: 12px;
}

/* 訪問ガイド */
.sp-visit-guide {
    margin: 32px 0;
    padding: 22px 24px;
    background: var(--paper-soft, #f0f0ed);
    border-radius: 12px;
}

.sp-visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 14px 0 12px;
}

.sp-visit-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sp-visit-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted, #626968);
}

.sp-visit-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--ink, #1a1c1c);
}

.sp-visit-tip {
    font-size: 13px;
    color: var(--muted, #626968);
    line-height: 1.75;
    margin: 0;
}

/* 保存ボタン */
.sp-save-row {
    margin: 20px 0 0;
}

.sp-save-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 24px;
    border: 1px solid var(--line, #d8dbd8);
    border-radius: 4px;
    background: transparent;
    color: var(--ink, #1a1c1c);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.sp-save-btn.saved {
    background: var(--accent, #006b55);
    color: #fff;
    border-color: var(--accent, #006b55);
}

/* シェアボタン */
.sp-share {
    margin: 32px 0;
    padding: 20px 0;
    border-top: 1px solid var(--line, #d8dbd8);
    border-bottom: 1px solid var(--line, #d8dbd8);
}

.sp-share-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted, #626968);
    margin-bottom: 12px;
}

.sp-share-btns {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.sp-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: 'Noto Sans JP', sans-serif;
    transition: opacity 0.18s;
}

.sp-share-btn:hover { opacity: 0.82; }

.sp-share-x    { background: #000; color: #fff; }
.sp-share-line { background: #06C755; color: #fff; }
.sp-share-copy { background: var(--paper-soft, #f0f0ed); color: var(--ink, #1a1c1c); border: 1px solid var(--line, #d8dbd8); }

@media (max-width: 480px) {
    .sp-hero { height: 70vw; max-height: 300px; }
    .sp-related-grid { grid-template-columns: 1fr 1fr; }
    .sp-footer { flex-direction: column; gap: 8px; text-align: center; }
    .sp-share-btns { flex-direction: column; }
    .sp-share-btn { justify-content: center; }
}
