/* =====================================================================
   SHIKA PHOTO LIBRARY  ―  sub.css
   トップ以外のページ（スポット・写真詳細・お気に入り・規約・FAQ・404 など）を、
   トップページ（top.css）と同じテイストにそろえるための上書きスタイル。
   style.css のあとに読み込み、色と書体は :root の変数を差し替えて全体に反映します。
   書体  見出し: Shippori Mincho 400 ／ 本文・ボタン: Noto Sans JP 400・500
   ===================================================================== */
:root {
  --bg:          #fcfdfc;
  --bg-soft:     #edf4f4;
  --bg-tint:     #edf4f4;
  --line:        #d3dedf;
  --line-soft:   #e3ebec;
  --ink:         #21434c;
  --ink-sub:     #586e73;
  --ink-mute:    #586e73;
  --accent:      #205563;
  --accent-dark: #17404b;
  --accent-soft: #edf4f4;
  --navy:        #21434c;
  --radius:      3px;
  --radius-sm:   3px;
  --shadow-card: none;
  --shadow-float: none;
  --hover-scale: 1.02;
  --section-gap: 56px;
  --card-gap:    24px;
  --mincho: 'Shippori Mincho', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --font: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Yu Gothic', Meiryo, sans-serif;
}
body { background: var(--bg); color: var(--ink); font: 400 14px/1.8 var(--font); }
:where(a, button, input, select, summary):focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, h4 { font-weight: 400; }

/* ---------- ヘッダー（写真の上に乗らない下層ページ用の細いバー） ---------- */
.subbar { position: sticky; top: 0; z-index: 100; background: var(--bg); border-bottom: 1px solid var(--line); }
.subbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(100% - 48px, 1200px); min-height: 60px; margin-inline: auto; }
.subbar__brand { display: block; min-height: 44px; padding-block: 6px; font-size: 11px; line-height: 1.8; letter-spacing: .12em; color: var(--ink); }
.subbar__brand span { display: block; letter-spacing: .03em; }
.subbar__nav { display: flex; align-items: center; gap: 20px; }
.subbar__nav a, .subbar__nav button {
  position: relative; display: inline-flex; align-items: center; gap: 8px; min-width: 44px; min-height: 44px;
  font-size: 12px; letter-spacing: .08em; color: var(--ink); background: none; border: 0; cursor: pointer; padding: 0 2px;
}
.subbar__nav a:hover, .subbar__nav button:hover { color: var(--accent); }
.tp-menu-icon { display: block; width: 20px; height: 10px; border-block: 1px solid currentColor; position: relative; }
.tp-menu-icon::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid currentColor; }
.subbar .header__fav-badge { position: static; box-shadow: none; margin-left: -2px; background: var(--accent); color: #fff; }

/* ---------- フッター ---------- */
.tp-footer { padding: 35px 6% 24px; background: var(--bg-soft); margin-top: 0; }
.tp-footer__top { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-bottom: 25px; }
.tp-footer__logo { font: 400 34px/1.5 var(--mincho); letter-spacing: .05em; color: var(--ink); }
.tp-footer__logo small { display: block; margin-top: 6px; font: 400 11px/1.8 var(--font); letter-spacing: .08em; }
.tp-footer__links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; list-style: none; margin: 0; padding: 0; }
.tp-footer__links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 11px; color: var(--ink); }
.tp-footer__copy { margin: 18px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 11px; color: var(--ink-sub); }

/* ---------- 見出し・パンくず ---------- */
.breadcrumb { font-size: 11px; letter-spacing: .08em; color: var(--ink-sub); }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; }
.breadcrumb li + li::before { color: var(--ink-mute); }
.pagehead { padding-block: 24px 28px; text-align: left; }
.section__eyebrow, .pagehead__eyebrow, .infobox__title, .photometa__eyebrow {
  font-family: var(--font); font-size: 11px; font-weight: 400; letter-spacing: .19em; color: var(--ink-sub);
}
.section__title, .pagehead__title, .photometa__title, .notfound__title, .related .section__title {
  font-family: var(--mincho); font-weight: 400; letter-spacing: .05em; color: var(--ink);
}
.section__title, .pagehead__title { font-size: 28px; line-height: 1.6; }
.section__lead, .pagehead__lead { font-size: 13px; color: var(--ink-sub); letter-spacing: .02em; }
.section { padding-block: var(--section-gap); }
.section__head { margin-bottom: 20px; }
.section__more, .searchmeta__reset {
  min-height: 44px; padding-block: 8px; border-bottom: 1px solid var(--line); font-size: 12px; letter-spacing: .06em; color: var(--ink);
}

/* ---------- カード（枠・影なし。写真を主役に） ---------- */
.spot-card, .photo-card {
  background: none; border: 0; border-radius: 0; box-shadow: none; overflow: visible;
}
.spot-card:hover, .photo-card:hover { box-shadow: none; border: 0; }
.spot-card__media, .photo-card__media { border-radius: 0; background: #dbe7e8; }
.spot-card__body, .photo-card__body { padding: 12px 0 0; }
.spot-card__name, .photo-card__title { font-size: 14px; font-weight: 400; letter-spacing: .02em; line-height: 1.85; min-height: 0; }
.spot-card__area, .photo-card__area { margin-top: 3px; font-size: 11px; color: var(--ink-sub); letter-spacing: .04em; }
.spot-card__count { font-size: 11px; color: var(--ink-sub); letter-spacing: .04em; }
.photo-grid, .spot-grid { gap: 24px; }
.tag { padding: 0; background: none; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--ink); letter-spacing: .03em; }
.tag:hover { border-color: var(--accent); }
.photometa__tags, .spotbody__tags { gap: 8px 14px; }

/* ---------- スポットページ ---------- */
.spothero__media { height: min(36vw, 52vh); min-height: 280px; }
.spothero__media::after { background: linear-gradient(to top, rgba(8, 51, 75, .55), rgba(8, 51, 75, .08) 62%); }
.spothero__title { font-family: var(--mincho); font-weight: 400; font-size: clamp(26px, 3.2vw, 38px); letter-spacing: .06em; text-shadow: none; }
.spothero__kana { font-size: 11px; letter-spacing: .2em; }
.spothero__area { font-size: 12px; }
.spotbody { padding-block: 40px; }
.spotbody__catch { font-family: var(--mincho); font-weight: 400; font-size: 20px; letter-spacing: .05em; color: var(--ink); margin-bottom: 18px; }
.spotbody__text p { font-size: 14px; line-height: 2; margin-bottom: 18px; }
.infobox { background: var(--bg-soft); border: 0; border-radius: 0; padding: 24px; }
.infobox__label { font-size: 11px; color: var(--ink-sub); }
.infobox__map { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 24px; border-radius: 3px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 400; }
.infobox__map:hover { background: var(--accent-dark); }
.gallery { gap: 20px; }
.gallery__item { border-radius: 0; }
.gallery__item:hover { transform: none; box-shadow: none; }
.gallery__cap { opacity: 1; font-size: 11px; }
.spot-allbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; margin-top: 26px; padding: 10px 28px;
  border-radius: 3px; background: var(--accent); color: #fff; font-size: 14px; letter-spacing: .04em;
}
.spot-allbtn:hover { background: var(--accent-dark); }
.related { background: var(--bg-soft); padding-block: 44px; margin-top: 0; }
.lightbox__img { border-radius: 0; }

/* ---------- 写真詳細 ---------- */
.photoview { padding-block: 24px 48px; }
.photoview__stage { background: var(--bg-soft); border-radius: 0; }
.photometa__title { font-size: 24px; letter-spacing: .04em; }
.photometa__label { font-size: 11px; color: var(--ink-sub); }
.photometa__value a { color: var(--accent); }
.dlbtn { border-radius: 3px; font-weight: 400; letter-spacing: .06em; min-height: 52px; }
.dlbtn--contact { background: #b86c18; }
.dlnote, .sharebar__note { color: var(--ink-sub); }
.sharebar__label { font-weight: 500; }
.sharebtn { width: 44px; height: 44px; background: var(--bg-soft); }
.modal__panel { border-radius: 3px; }
.modal__title { font-family: var(--mincho); font-weight: 400; }
.modal__btn { border-radius: 3px; font-weight: 400; min-height: 48px; }

/* ---------- お気に入り・結果まわり ---------- */
.searchpage { padding-block: 0 var(--section-gap); }
.searchmeta__count strong { font-family: var(--font); font-weight: 500; font-size: 16px; }
.results__empty { color: var(--ink-sub); }

/* ---------- 規約・FAQ・404 ---------- */
.doc h2 { font-family: var(--mincho); font-weight: 400; font-size: 20px; letter-spacing: .05em; }
.doc h3 { font-weight: 500; font-size: 14.5px; }
.doc__intro, .doc__contact { border: 0; border-radius: 0; }
.doc__table th { font-weight: 500; }
.doc__updated { font-family: var(--font); }
.faq__item { border-radius: 0; }
.faq__q { font-weight: 500; }
.faq__q::before, .faq__a::before, .doc ol > li::before { font-family: var(--font); }
.notfound__code { font-family: var(--mincho); font-weight: 400; }
.notfound__btn { min-height: 48px; border-radius: 3px; font-weight: 400; }
.copybtn { min-height: 44px; font-size: 11.5px; }

/* ---------- 画面幅が狭いとき ---------- */
@media (max-width: 1024px) {
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  :root { --section-gap: 36px; }
  .subbar__inner { width: calc(100% - 48px); gap: 12px; }
  .subbar__nav { gap: 8px; }
  .subbar__nav > a { display: none; }
  .section__title, .pagehead__title { font-size: 24px; }
  .spothero__media { height: min(60vw, 44vh); min-height: 220px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .photometa__title { font-size: 20px; }
  .tp-footer { padding: 30px 24px 24px; }
  .tp-footer__top { flex-direction: column; align-items: flex-start; gap: 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ヘッダーの「あとで見るリスト」：style.css の丸いアイコンボタンの指定を打ち消す */
.subbar .header__fav { width: auto; height: auto; border-radius: 0; background: none; white-space: nowrap; }
.subbar .header__fav-badge { min-width: 17px; height: 17px; font-size: 10px; }
.breadcrumb ol { margin: 0; padding: 0; }

@media (min-width: 1025px) { .photo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tp-footer { padding-inline: max(24px, calc((100% - 1200px) / 2)); }

/* あとで見る（ハート）：丸い黒背景をやめ、写真の上に細い線のハートだけを重ねる */
.favbtn { top: 2px; right: 2px; width: 44px; height: 44px; background: none; box-shadow: none; backdrop-filter: none; color: #fff; filter: drop-shadow(0 1px 3px rgba(8, 51, 75, .6)); }
.favbtn svg { width: 22px; height: 22px; stroke-width: 1.4; }
.favbtn:hover { transform: none; opacity: .8; }
.favbtn.is-active { background: none; color: #fff; }
.favbtn.is-active svg { fill: #fff; }
.subbar__brand { display: flex; align-items: center; padding-block: 0; font-size: 12px; letter-spacing: .16em; }
.subbar .header__fav.has-items { color: var(--ink); }
.subbar .header__fav.has-items:hover { color: var(--accent); }
