/* スポット詳細ページ v3(案3改B・2026-09-10 本人確定)専用スタイル
   構成: ヒーロー(16:9写真+評価スタンプ+カルテ丸バッジ) → ひとことファースト
   → 一枚シート(本音+攻略帳) → Googleマップボタン → 名札カード */

/* ヒーロー: 16:9写真・大きいタイトル・No.バッジ */
.heroA { position: relative; border: 3px solid var(--ink); border-radius: 14px; overflow: hidden; box-shadow: 5px 5px 0 var(--shadow); margin-top: 8px; background: var(--sky-soft); }
.heroA .ph { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; max-height: 430px; object-fit: cover; }
.heroA .noimg { aspect-ratio: 16 / 9; max-height: 430px; display: flex; align-items: center; justify-content: center; background: repeating-linear-gradient(-45deg, var(--main-soft) 0 26px, #fff3c4 26px 52px); }
.heroA .titlebox { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 18px; background: linear-gradient(transparent, rgba(34, 27, 16, .84)); color: #fff; }
.heroA h1 { margin: 0; font-size: 30px; font-weight: 900; line-height: 1.4; }
.heroA .sub { font-size: 13px; opacity: .9; font-weight: 400; margin-top: 4px; }
/* No.バッジは廃止(2026-09-14 本人判断) */
@media (max-width: 560px) {
  .heroA h1 { font-size: 24px; }
  /* スマホは固定ボタン(左上の←/右上のスカ田のX・このサイトについて)と写真が重ならないよう、写真を下げる */
  .heroA { margin-top: 60px; }
}

/* 評価スタンプ: SVG描画(円と文字の輪郭を同座標系に描くので中心がズレない) */
.heroA .bigstamp { position: absolute; top: 14px; right: 14px; z-index: 3; width: 112px; height: 112px; border-radius: 50%; box-shadow: 5px 5px 0 rgba(0, 0, 0, .3); }
.heroA .bigstamp svg { display: block; width: 100%; height: 100%; }
.bigstamp.r-S { color: var(--rank-s); }
.bigstamp.r-A { color: var(--rank-a); }
.bigstamp.r-B, .bigstamp.r-C { color: var(--rank-b); }
@media (max-width: 560px) { .heroA .bigstamp { width: 84px; height: 84px; } }

/* カルテ(時間/雨/渋滞): 丸バッジ3つを写真内の右下に横一列 */
.heroA .karteB { position: absolute; right: 14px; bottom: 14px; z-index: 4; display: flex; gap: 12px; }
.heroA .titlebox { padding-right: 320px; }
.kb { width: 86px; height: 86px; border-radius: 50%; background: rgba(255, 251, 238, .95); border: 3.5px solid var(--ink); box-shadow: 3px 3px 0 rgba(0, 0, 0, .3); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; text-align: center; }
.kb .kv2 { font-size: 13px; line-height: 1.25; }
.kv2 { font-weight: 900; }
.kv2.good { color: var(--leaf); }
.kv2.mid { color: var(--rank-a); }
.kv2.bad { color: var(--cta); }
@media (max-width: 560px) {
  .heroA .karteB { right: 8px; bottom: 8px; gap: 6px; }
  .heroA .titlebox { padding-right: 210px; }
  .kb { width: 62px; height: 62px; border-width: 2.5px; }
  .kb .kv2 { font-size: 9.5px; }
  .kb .spr { --w: 20px !important; }
}

/* 2〜4枚目: フレームなしの写真3枚(4:3) */
.thumbs { display: flex; gap: 12px; margin: 14px 2px 0; }
.thumbs .tp { flex: 1; min-width: 0; aspect-ratio: 4 / 3; object-fit: cover; display: block; border: 2.5px solid var(--ink); border-radius: 12px; box-shadow: 3px 3px 0 var(--shadow-soft); }

/* ひとことファースト: ひとことドーン → ○で言うと/△で言うと(手書き) */
.voice { background: var(--surface); border: 3px solid var(--ink); border-radius: 16px; box-shadow: 4px 4px 0 var(--shadow); padding: 20px 22px 14px; margin: 20px 0; }
.voice .visits { display: inline-block; background: var(--ink); color: var(--main); font-weight: 700; font-size: 12px; border-radius: 6px; padding: 1px 10px; transform: rotate(-2deg); margin-bottom: 6px; }
.voice .vq { font-family: var(--font-hand); font-size: 26px; line-height: 1.65; text-align: center; padding: 2px 4px 14px; }
@media (max-width: 560px) { .voice .vq { font-size: 22px; } }
.voice .vlines { border-top: 2px dashed var(--line); padding-top: 4px; }
.voice .vq + .vlines, .voice .vhead + .vlines { border-top: 2px dashed var(--line); }
.voice .vline { display: flex; align-items: center; gap: 14px; padding: 10px 2px; }
.voice .vline + .vline { border-top: 1px solid rgba(216, 200, 158, .45); }
.voice .vgl { flex: none; width: 44px; height: 44px; display: grid; place-items: center; font-family: var(--font-display); font-size: 34px; line-height: 1; }
.voice .vline.good .vgl { color: var(--leaf); transform: rotate(-7deg); }
.voice .vline.bad .vgl { color: var(--cta); transform: rotate(5deg); font-size: 30px; }
.voice .vt { font-family: var(--font-hand); font-size: 17.5px; line-height: 1.7; }
.voice .vline.good .vt { background: linear-gradient(transparent 60%, rgba(255, 196, 0, .6) 60% 94%, transparent 94%); }
.voice .vline.bad .vt { color: var(--warn); text-decoration: underline wavy rgba(217, 56, 42, .5) 2px; text-underline-offset: 5px; }

/* 一枚シート: 「スカ田のレビュー」+「攻略帳」。クリックで隠さない */
.sheet { background: var(--surface); border: 3px solid var(--ink); border-radius: 14px; box-shadow: 4px 4px 0 var(--shadow); padding: 6px 20px; margin: 26px 0 18px; }
.sheet section { padding: 16px 0 18px; border-top: 2px dashed var(--line); }
.sheet section:first-child { border-top: 0; }
.sheet h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 16px; font-weight: 900; }
.sheet h2 .tx { background: linear-gradient(transparent 62%, rgba(255, 196, 0, .8) 62% 94%, transparent 94%); padding: 0 2px; }

/* 本文: 「・」なし罫線区切り・普通の太さ・ゆったり行間 */
.airy { margin: 0; padding: 0; list-style: none; }
.airy li { padding: 8px 2px; border-bottom: 1px solid rgba(216, 200, 158, .55); font-size: 15px; font-weight: 400; line-height: 1.9; }
.airy li:last-child { border-bottom: 0; padding-bottom: 0; }

/* 本音の行頭マーク: ○=良い話 △=注意 無印=説明 */
.mk { display: inline-block; width: 22px; font-weight: 900; }
.mk.g { color: var(--leaf); }
.mk.b { color: var(--cta); }
.mk.n { color: var(--line); }

/* 大事な言葉の強調は2種類だけ */
.kw { font-weight: 700; background: linear-gradient(transparent 60%, rgba(255, 196, 0, .75) 60% 92%, transparent 92%); padding: 0 1px; }
.ng { font-weight: 700; color: var(--warn); text-decoration: underline wavy rgba(217, 56, 42, .6) 1.5px; text-underline-offset: 3px; }

/* 攻略帳: 左に場面ラベル、右にやること */
.memo { display: grid; grid-template-columns: 108px 1fr; gap: 6px 14px; align-items: start; }
@media (max-width: 560px) { .memo { grid-template-columns: 1fr; gap: 2px; } }
.memo .ml { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 900; background: var(--main-soft); border: 2px solid var(--ink); border-radius: 999px; padding: 2px 10px; margin-top: 10px; justify-self: start; }
.memo .mb { padding-bottom: 6px; }

/* ボタンゾーン: Xの実投稿(黒) → Googleマップ(緑) の縦並び・中央 */
.btnrow.center { justify-content: center; }
.btnrow.center.col { flex-direction: column; align-items: center; gap: 12px; margin-top: 26px; }
/* Xボタンはマップボタンと同サイズ・同形(色だけX黒) */
.xgobtn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-size: 17px; font-weight: 900; color: #FFFBEE; text-decoration: none; border: 3px solid var(--ink); border-radius: 999px; padding: 14px 30px; background: #000; box-shadow: 4px 4px 0 var(--shadow); }
.xgobtn:hover { translate: 0 -2px; }
.xgobtn .xmark { display: grid; place-items: center; width: 26px; height: 26px; flex: none; }
.xgobtn .xmark svg { width: 20px; height: 20px; display: block; }
.btnrow.center.col .xgobtn, .btnrow.center.col .gmapbtn { min-width: 310px; justify-content: center; }
@media (max-width: 560px) { .btnrow.center.col .xgobtn, .btnrow.center.col .gmapbtn { min-width: min(310px, 100%); } }
.gmapbtn { display: inline-flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 900; color: #FFFBEE; text-decoration: none; border: 3px solid var(--ink); border-radius: 999px; padding: 14px 30px; background: linear-gradient(135deg, #4E8A44 0%, #5E9A50 45%, #83B465 100%); box-shadow: 4px 4px 0 var(--shadow); }
.gmapbtn:hover { translate: 0 -2px; }
.gmapbtn .mappin { display: block; width: 34px; height: 34px; }

/* 図鑑(トップ)へもどる: 左上のまるボタン(2026-09-13 本人確定・案B) */
.backcircle { position: fixed; top: 12px; left: 12px; z-index: 60; width: 46px; height: 46px; border-radius: 50%;
  background: var(--main); border: 3px solid var(--ink); display: grid; place-items: center;
  font-size: 22px; font-weight: 900; color: var(--ink); text-decoration: none; box-shadow: 3px 3px 0 var(--shadow); }
.backcircle:hover { translate: 0 -2px; }
/* スマホ: 右上のボタン列(top:8・高さ約36px)と中心線を揃える(2026-09-14 本人指摘) */
@media (max-width: 600px) {
  .backcircle { top: 8px; left: 8px; width: 36px; height: 36px; border-width: 2.5px; font-size: 17px; box-shadow: 2px 2px 0 var(--shadow); }
  .heroA { margin-top: 60px; }
}

/* 読み終わり動線「つぎはどこ行く?」(2026-09-13 本人確定・案C) */
.nextzone { margin: 8px 0 30px; }
.nextzone h2 { text-align: center; font-size: 20px; font-weight: 900; margin: 0 0 14px; }
.nextzone h2 .tx { background: linear-gradient(transparent 62%, rgba(255, 196, 0, .8) 62% 94%, transparent 94%); padding: 0 4px; }
.nextzone .zukan-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 700px) { .nextzone .zukan-grid { grid-template-columns: 1fr; } }
.nextall { text-align: center; margin-top: 16px; }
.nextall a { font-weight: 900; font-size: 15px; color: var(--ink); }
