/* ==========================================================================
   spots-detail.css — detail page layout
   正本パス: WEB版/test/DocumentRoot/css/spots-detail.css
   バンドル外・個別 SCP 必須
   ========================================================================== */

.spots-detail-main { max-width: 1200px; margin: 0 auto; padding: 16px 16px 80px; }

/* glassmorphism.css の .page{color:white} を上書き */
body.spots-detail { color: #333 !important; }
body.spots-detail .spots-detail-main { color: #333 !important; }

/* Hero */
.spd-hero { background: #fff; border: 1px solid #e0e0e0; border-radius: 12px; overflow: hidden; margin-bottom: 16px; }
.spd-hero-img { width: 100%; height: 320px; background: #eee center/cover no-repeat; }
.spd-hero-img-empty { display: flex; align-items: center; justify-content: center; font-size: 96px; color: #ddd; }
/* 地図フォールバック(写真無し・座標あり時、案B: Google Maps Embed iframe): カード側と同じ配色系統 */
.spd-hero-img-map { background-color: #eef4fa; position: relative; overflow: hidden; }
.spd-hero-img-map iframe { display: block; width: 100%; height: 100%; pointer-events: none; } /* ヒーロー枠は視覚フォールバック用途・操作は③MAP+ACCESSの専用iframeで行う */
.spd-hero-img-map::after { content: '📍'; position: absolute; bottom: 10px; right: 10px; font-size: 20px; background: rgba(255,255,255,.9); padding: 4px 10px; border-radius: 6px; pointer-events: none; }
.spd-hero-meta { padding: 16px 24px 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.spd-title { padding: 8px 24px 16px; margin: 0; font-size: 28px; color: #1a1a1a; line-height: 1.3; }
.spd-altname { padding: 0 24px 16px; margin: 0; color: #888; font-size: 14px; }

/* ⭐ ナミオ明示 2026-07-17: 未確認スポット控えめ案内（id ベース URL 化・公開拡大に伴う新規） */
.spd-unverified-notice { background: #f7f5ff; border: 1px solid #e5e0fa; border-radius: 8px; padding: 10px 16px; margin: 0 0 16px; font-size: 13px; color: #6b5fa8; }

/* Grid layout: PC = 2/3 + 1/3, SP = stacked */
.spd-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 980px) {
  .spd-grid { grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); align-items: start; }
  .spd-side { position: sticky; top: 80px; }
}

/* Sections */
.spd-section { background: #fff; border: 1px solid #e0e0e0; border-radius: 10px; padding: 20px 24px; margin-bottom: 16px; }
.spd-section h2 { margin: 0 0 16px; font-size: 18px; color: #1a1a1a; }
.spd-section h3 { margin: 16px 0 8px; font-size: 15px; color: #555; }

/* Quick info DL */
.spd-dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; margin: 0; font-size: 14px; }
.spd-dl dt { font-weight: 600; color: #666; white-space: nowrap; }
.spd-dl dd { margin: 0; word-break: break-all; }
.spd-btn-small { margin-left: 8px; padding: 2px 8px; font-size: 11px; background: #f0f0f0; border: 1px solid #ddd; border-radius: 3px; cursor: pointer; }
.spd-sns { display: flex; flex-wrap: wrap; gap: 6px; }
.spd-sns-link { display: inline-block; padding: 4px 10px; background: #1976d2; color: #fff !important; border-radius: 4px; font-size: 12px; font-weight: 600; }
.spd-sns-link:hover { background: #1565c0; text-decoration: none; }

/* Map */
.spd-map-embed { border-radius: 6px; overflow: hidden; margin-bottom: 12px; }
.spd-map-embed iframe { display: block; border: 0; }
.spd-access-text { font-size: 14px; color: #444; margin: 8px 0; }
.spd-stations { list-style: none; padding: 0; margin: 8px 0; font-size: 14px; }
.spd-stations li { padding: 4px 0; }
.spd-map-link { margin-top: 12px; }
.spd-cta-small { display: inline-block; padding: 8px 16px; background: #1976d2; color: #fff !important; border-radius: 4px; font-size: 13px; font-weight: 600; }
.spd-cta-small:hover { background: #1565c0; text-decoration: none; }

/* Type detail */
.spd-spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: 16px; }
.spd-spec { background: #f8f8f8; border-radius: 6px; padding: 12px; }
.spd-spec-label { font-size: 11px; color: #888; text-transform: uppercase; letter-spacing: .5px; }
.spd-spec-val { font-size: 18px; margin-top: 4px; }
.spd-spec-val strong { color: #1976d2; font-size: 24px; }
.spd-equip { list-style: none; padding: 0; margin: 8px 0 16px; font-size: 14px; }
.spd-equip li { padding: 4px 0; }
.spd-features { font-size: 14px; line-height: 1.7; color: #444; }
.spd-steps { padding-left: 24px; margin: 8px 0; font-size: 14px; line-height: 1.7; }
.spd-steps li { padding: 4px 0; }

/* Photos */
.spd-photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.spd-photo { display: block; border-radius: 6px; overflow: hidden; }
.spd-photo img { width: 100%; height: 120px; object-fit: cover; display: block; }

/* Hours table */
.spd-hours-table { width: 100%; font-size: 14px; border-collapse: collapse; }
.spd-hours-table th { text-align: left; padding: 6px 12px; color: #666; font-weight: 600; width: 60px; }
.spd-hours-table td { padding: 6px 0; }
.spd-time { display: inline-block; padding: 2px 8px; background: #e3f2fd; color: #1565c0; border-radius: 3px; font-size: 12px; margin-right: 4px; }

/* Foreigner board */
.spd-foreigner-board { background: linear-gradient(135deg, #fff 0%, #e3f2fd 100%); border-color: #90caf9; }
.spd-foreigner-board h2 { color: #0277bd; }
.spd-fb-dl dt { color: #0277bd; }
.spd-phrases { list-style: none; padding: 0; margin: 8px 0; font-size: 13px; }
.spd-phrases li { padding: 8px 12px; background: #fff; border-radius: 6px; margin-bottom: 6px; line-height: 1.6; }
.spd-paul-note { background: #fff9c4; padding: 12px; border-radius: 6px; margin-top: 12px; font-size: 14px; line-height: 1.6; }

/* Beginner */
.spd-beginner { background: #fff8e1; border-color: #ffe082; }
.spd-beginner h2 { color: #ef6c00; }
.spd-beginner-list { padding-left: 20px; margin: 8px 0; font-size: 14px; line-height: 1.8; }
.spd-begin-note { font-size: 14px; line-height: 1.7; color: #5d4037; margin-top: 12px; }

/* Voices */
.spd-voice { background: #f5f5f5; border-left: 4px solid #1976d2; padding: 12px 16px; margin: 12px 0; }
.spd-voice p { margin: 0 0 8px; font-size: 14px; line-height: 1.7; color: #333; }
.spd-voice footer { font-size: 12px; color: #777; }
.spd-voice-owner { border-left-color: #43a047; background: #e8f5e9; }
.spd-voice-paul { border-left-color: #5e35b1; background: #ede7f6; }

/* Side */
.spd-side-section h2 { font-size: 16px; }
.spd-side-section h3 { font-size: 13px; color: #555; margin-top: 16px; }
.spd-cta { display: block; padding: 12px; background: #1976d2; color: #fff !important; border-radius: 6px; text-align: center; font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.spd-cta:hover { background: #1565c0; text-decoration: none; }
.spd-cta-secondary { background: #fff; color: #1976d2 !important; border: 2px solid #1976d2; }
.spd-cta-secondary:hover { background: #e3f2fd; }
.spd-related-blog { list-style: none; padding: 0; margin: 8px 0; }
.spd-related-blog li { padding: 6px 0; font-size: 13px; border-bottom: 1px solid #f0f0f0; }
.spd-related-blog li:last-child { border: 0; }

.spd-verified { text-align: center; color: #999; font-size: 12px; margin: 24px 0 0; }

@media (max-width: 767px) {
  .spd-hero-img { height: 200px; }
  .spd-title { font-size: 22px; padding: 8px 16px 12px; }
  .spd-hero-meta { padding: 12px 16px 0; }
  .spd-section { padding: 16px; }
  .spd-dl { grid-template-columns: 1fr; gap: 4px 0; }
  .spd-dl dt { color: #888; font-size: 12px; padding-top: 8px; }
  .spd-dl dt:first-child { padding-top: 0; }
}
