/* 3サイト共通の見た目。色はサイトごとに body[data-site] で替える */
:root {
  --bg: #fdf9f5; --paper: #fff; --ink: #45394a; --muted: #8a7d8e; --line: #efe4e8;
  --accent: #e7799c; --accent-deep: #c9567b; --soft: #fdecf2; --soft2: #f1ebfd; --gold: #d9a441;
  --shadow: 0 6px 20px rgba(120, 80, 100, .10); --radius: 22px;
}
body[data-site="tabi"] { --bg: #faf6ee; --ink: #3d3530; --muted: #85786c; --line: #ebe1d2; --accent: #d4472f; --accent-deep: #a8331f; --soft: #fbe9e3; --soft2: #e8efe6; --gold: #b98a2e; --shadow: 0 6px 20px rgba(90, 60, 30, .10); }
body[data-site="ehon"] { --bg: #fbfaf2; --ink: #3f4434; --muted: #7d8270; --line: #e6ead9; --accent: #6fae54; --accent-deep: #4f8c39; --soft: #eef6e6; --soft2: #e7f2fa; --gold: #e1ad2f; --shadow: 0 6px 20px rgba(70, 100, 50, .10); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) body { --bg: #231f26; --paper: #2e2832; --ink: #f3ecf2; --muted: #c0b3c3; --line: #43394a; --soft: #3d2f37; --soft2: #33304a; --shadow: 0 6px 20px rgba(0,0,0,.3); }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); line-height: 1.75;
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif; font-weight: 500; }
a { color: inherit; }
.pr-bar { background: linear-gradient(90deg, var(--soft), var(--soft2)); font-size: 12px; text-align: center; padding: 7px 16px; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; max-width: 1080px; margin: 0 auto; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-size: 19px; }
.brand img { width: 38px; height: 38px; border-radius: 12px; box-shadow: var(--shadow); }
.nav { display: flex; gap: 4px; flex-wrap: wrap; font-size: 14px; }
.nav a { text-decoration: none; color: var(--muted); padding: 4px 12px; border-radius: 999px; }
.nav a:hover { color: var(--accent-deep); background: var(--soft); }
main { max-width: 1080px; margin: 0 auto; padding: 0 20px 48px; }
.hero { border-radius: 30px; overflow: hidden; box-shadow: var(--shadow); background: #fbf8f4 url("hero.jpg") center / cover no-repeat;
  min-height: clamp(320px, 44vw, 480px); display: grid; place-items: start center; text-align: center; color: #45394a; }
.hero-inner { padding: clamp(32px, 6vw, 60px) 20px 28px; max-width: 40em; }
.hero h1 { word-break: keep-all; overflow-wrap: anywhere; }
.hero h1 { font-size: clamp(26px, 5vw, 44px); line-height: 1.35; margin: 0 0 12px; font-weight: 900; text-shadow: 0 2px 0 #fff, 0 0 16px #fff; }
body[data-site="tabi"] .hero-inner { background: rgba(250, 246, 238, .78); border-radius: 26px; margin-top: clamp(20px, 4vw, 40px); padding: 22px 26px; }
body[data-site="tabi"] .hero h1 { font-size: clamp(24px, 4.2vw, 38px); }
.hero p { display: inline-block; margin: 0; background: rgba(255,255,255,.82); border-radius: 16px; padding: 8px 14px; font-size: clamp(13px, 1.8vw, 16px); }
h2 { font-size: 22px; font-weight: 900; margin: 40px 0 10px; display: flex; align-items: center; gap: 10px; }
h2::after { content: "♡"; color: var(--accent); font-size: 17px; }
body[data-site="tabi"] h2::after { content: "⛩"; font-size: 15px; }
body[data-site="ehon"] h2::after { content: "★"; color: var(--gold); }
.lead { color: var(--muted); margin: 0 0 14px; }
.fine { font-size: 12px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; }
.chips a { display: inline-block; text-decoration: none; border: 2px solid var(--line); background: var(--paper); border-radius: 999px; padding: 3px 12px; font-size: 13px; }
.chips a:hover { border-color: var(--accent); color: var(--accent-deep); }
.grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.card { background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.card .tag { align-self: flex-start; font-size: 11px; font-weight: 700; color: #fff; background: var(--accent); border-radius: 999px; padding: 1px 10px; }
.card .tag.sub { background: var(--soft2); color: var(--ink); }
.card h3 { margin: 2px 0; font-size: 15px; line-height: 1.5; }
.card .meta { font-size: 13px; color: var(--muted); margin: 0; }
.card .why { font-size: 13px; margin: 2px 0 0; }
.card .go { margin-top: auto; padding-top: 8px; }
.btn { display: inline-block; text-align: center; text-decoration: none; font-weight: 700; font-size: 13px; color: #fff; background: var(--accent); border-radius: 999px; padding: 7px 16px; box-shadow: 0 4px 10px rgba(0,0,0,.08); }
.btn:hover { background: var(--accent-deep); }
.thumb { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; background: var(--soft); }
.thumb.item { object-fit: contain; background: #fff; aspect-ratio: 1; }
.stars { color: var(--gold); letter-spacing: 1px; }
.month { margin: 26px 0 8px; font-size: 16px; color: var(--accent-deep); }
.box { background: var(--paper); border: 2px dashed var(--accent); border-radius: var(--radius); padding: 6px 20px 14px; margin-top: 40px; }
.box ul { padding-left: 1.2em; color: var(--muted); font-size: 14px; }
.crumbs { font-size: 12px; color: var(--muted); margin: 6px 0 0; }
.page-head { margin: 14px 0 6px; padding: 24px 22px; border-radius: 28px; background: linear-gradient(160deg, var(--soft), var(--paper) 70%); border: 2px solid var(--line); box-shadow: var(--shadow); }
.page-head h1 { margin: 0 0 6px; font-size: clamp(22px, 4.4vw, 34px); font-weight: 900; }
.page-head p { margin: 0; }
.site-footer { max-width: 1080px; margin: 0 auto; padding: 22px 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); }
@media (max-width: 600px) {
  .site-header { padding: 12px 16px; } main { padding: 0 16px 40px; }
  .hero { background-size: 170% auto; background-position: center bottom; min-height: 380px; }
  .grid { grid-template-columns: 1fr; }
}

/* 写真集・カレンダー 新刊ならべ帳だけの着せ替え。パステルの桃色と藤色、リボンと小さなきらめき。 */
:root body[data-site="photobook"] {
  color-scheme: light;
  --bg: #fff7fa; --paper: #ffffff; --ink: #4a3a4f; --muted: #8b7590;
  --line: #f5dbe6; --accent: #ec7fa6; --accent-deep: #c9567f;
  --soft: #fde7ef; --soft2: #efe6fb; --gold: #e2a6c4;
  --shadow: 0 8px 22px rgba(214, 120, 160, .16); --radius: 26px;
  background:
    radial-gradient(circle at 8% 4%, #fbd9e780, transparent 22rem),
    radial-gradient(circle at 96% 30%, #e7dcfb90, transparent 26rem),
    radial-gradient(circle at 20% 92%, #fde3ec80, transparent 24rem),
    var(--bg);
}
body[data-site="photobook"] .pr-bar { background: linear-gradient(90deg, #fde3ee, #efe5fd); color: #6d5872; }
body[data-site="photobook"] .brand { letter-spacing: .04em; }
body[data-site="photobook"] .brand img { border-radius: 14px; box-shadow: 0 4px 12px rgba(214, 120, 160, .25); }
body[data-site="photobook"] .nav a:hover { background: #fde7ef; }

/* 看板：絵の右の余白に文字をのせる */
body[data-site="photobook"] .hero { place-items: center end; text-align: left; border: 3px solid #fff; box-shadow: 0 14px 40px rgba(214, 120, 160, .22); background-position: left center; }
body[data-site="photobook"] .hero-inner { max-width: 26em; margin-right: clamp(10px, 5vw, 60px); }
body[data-site="photobook"] .hero h1 { color: #4a3a4f; text-shadow: 0 2px 0 #fff, 0 0 18px #fff; }
body[data-site="photobook"] .hero h1::before { content: "✦ NEW ARRIVALS ✦"; display: block; font-size: 12px; letter-spacing: .3em; color: var(--accent-deep); margin-bottom: 8px; text-shadow: none; }
body[data-site="photobook"] .hero p { background: rgba(255, 255, 255, .86); border: 2px dashed #f4bcd0; }

/* 見出し：リボン */
body[data-site="photobook"] h2::after { content: "♡"; }
body[data-site="photobook"] h2::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle, #fff 0 30%, var(--accent) 32%); box-shadow: 0 0 0 4px #fde7ef; }
body[data-site="photobook"] .month { display: inline-flex; align-items: center; gap: 8px; margin: 30px 0 12px; padding: 4px 18px 4px 14px; color: #fff; font-size: 15px;
  background: linear-gradient(90deg, #ef8fb3, #c9a3ef); border-radius: 999px 18px 18px 999px; box-shadow: 0 4px 12px rgba(214, 120, 160, .25); }
body[data-site="photobook"] .month::before { content: "✿"; }

/* 本のカード：表紙を大きく、少し傾く */
body[data-site="photobook"] .grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
body[data-site="photobook"] .card.book { padding: 12px 12px 14px; border: 2px solid #fbe0ea; position: relative; transition: transform .25s ease, box-shadow .25s ease; }
body[data-site="photobook"] .card.book:hover { transform: translateY(-3px) rotate(-.6deg); box-shadow: 0 14px 30px rgba(214, 120, 160, .26); }
body[data-site="photobook"] .card.book .cover { display: block; border-radius: 18px; padding: 12px; background: linear-gradient(160deg, #fdeef4, #f2ebfd); }
body[data-site="photobook"] .card.book .thumb.item { aspect-ratio: 3 / 4; background: transparent; border-radius: 6px; filter: drop-shadow(0 8px 12px rgba(120, 70, 100, .22)); }
body[data-site="photobook"] .card.book.pre::before { content: "予約受付中"; position: absolute; top: 4px; right: -6px; z-index: 1; font-size: 11px; font-weight: 900; color: #fff;
  background: var(--accent); padding: 3px 12px 3px 10px; border-radius: 999px 0 0 999px; box-shadow: 0 3px 8px rgba(214, 120, 160, .35); }
body[data-site="photobook"] .card .tags { display: flex; flex-wrap: wrap; gap: 4px; margin: 10px 0 2px; }
body[data-site="photobook"] .card .tag { background: #f3a6c2; }
body[data-site="photobook"] .card .tag.sub { background: #efe6fb; color: #6d5872; }
body[data-site="photobook"] .card h3 { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
body[data-site="photobook"] .card .who { color: var(--accent-deep); font-weight: 700; }
body[data-site="photobook"] .card .who::before { content: "♡ "; }
body[data-site="photobook"] .card .price { margin: 4px 0 0; font-size: 18px; font-weight: 900; color: var(--accent-deep); }
body[data-site="photobook"] .card .price small { font-size: 11px; font-weight: 500; color: var(--muted); }
body[data-site="photobook"] .btn { background: linear-gradient(90deg, #ef8fb3, #e47aa5); box-shadow: 0 5px 12px rgba(214, 120, 160, .30); }
body[data-site="photobook"] .btn:hover { background: linear-gradient(90deg, #d9688f, #c9567f); }

/* 人物のチップ：しゃぼん玉 */
body[data-site="photobook"] .chips a { border: 2px solid #f6d3e0; background: linear-gradient(160deg, #fff, #fdf0f5); }
body[data-site="photobook"] .chips a:hover { border-color: #ec7fa6; background: #fde7ef; }
body[data-site="photobook"] .box { border-color: #f3b4cb; background: rgba(255, 255, 255, .85); }
body[data-site="photobook"] .page-head { background: linear-gradient(160deg, #fde7ef, #f3ecfd 70%); border-color: #fbe0ea; }

@media (max-width: 600px) {
  body[data-site="photobook"] .hero { background-size: cover; background-position: 20% center; place-items: end center; text-align: center; min-height: 420px; }
  body[data-site="photobook"] .hero-inner { margin: 0; padding-bottom: 22px; background: rgba(255, 255, 255, .55); border-radius: 22px 22px 0 0; }
  body[data-site="photobook"] .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  body[data-site="photobook"] .card.book { padding: 8px 8px 12px; }
  body[data-site="photobook"] .card.book .cover { padding: 8px; }
  body[data-site="photobook"] .card .price { font-size: 16px; }
  body[data-site="photobook"] .btn { font-size: 12px; padding: 6px 10px; }
}
@media (prefers-reduced-motion: reduce) { body[data-site="photobook"] .card.book { transition: none; } }

/* 2026-10-24 全部から探す・売れている順・発売カレンダー */
body[data-site="photobook"] .subnav { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 18px 0 0; }
body[data-site="photobook"] .subnav a { text-decoration: none; font-weight: 700; color: var(--accent-deep); background: #fff; border: 2px solid #f6d3e0; border-radius: 999px; padding: 6px 18px; box-shadow: 0 4px 10px rgba(214, 120, 160, .15); }
body[data-site="photobook"] .subnav a:hover { background: #fde7ef; }
body[data-site="photobook"] .finder { display: grid; gap: 10px; margin: 0 0 14px; padding: 16px; border-radius: 22px; background: rgba(255, 255, 255, .85); border: 2px solid #fbe0ea; }
body[data-site="photobook"] .finder input[type="search"] { font: inherit; padding: 10px 16px; border-radius: 999px; border: 2px solid #f4c4d6; background: #fff; }
body[data-site="photobook"] .finder input[type="search"]:focus-visible, body[data-site="photobook"] .seg button:focus-visible { outline: 3px solid #c9a3ef; outline-offset: 2px; }
body[data-site="photobook"] .seg { display: flex; flex-wrap: wrap; gap: 6px; }
body[data-site="photobook"] .seg button { font: inherit; font-size: 13px; cursor: pointer; border: 2px solid #f6d3e0; background: #fff; color: var(--ink); border-radius: 999px; padding: 4px 14px; }
body[data-site="photobook"] .seg button[aria-pressed="true"] { background: linear-gradient(90deg, #ef8fb3, #c9a3ef); border-color: transparent; color: #fff; font-weight: 700; }
body[data-site="photobook"] .fav-only { font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
body[data-site="photobook"] .finder .lead { margin: 0; font-size: 13px; }
body[data-site="photobook"] .more-wrap { text-align: center; margin: 18px 0 0; }
body[data-site="photobook"] .more-wrap .btn { font: inherit; font-weight: 700; border: 0; cursor: pointer; padding: 10px 28px; }
body[data-site="photobook"] .card .whos { display: flex; flex-wrap: wrap; gap: 4px; }
body[data-site="photobook"] .card .who { color: var(--accent-deep); font-weight: 700; text-decoration: none; }
body[data-site="photobook"] .card .who::before { content: "♡ "; }
body[data-site="photobook"] .card.book.fav { border-color: #f4bcd0; }
body[data-site="photobook"] .card .rank { position: absolute; top: -8px; left: -6px; z-index: 1; min-width: 44px; text-align: center; font-size: 12px; font-weight: 900; color: #fff;
  background: linear-gradient(135deg, #c9a3ef, #ef8fb3); border-radius: 999px; padding: 4px 10px; box-shadow: 0 4px 10px rgba(150, 100, 200, .3); }

/* 特集：グループ */
body[data-site="photobook"] .grid.groups { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
body[data-site="photobook"] .card.group h3 a { text-decoration: none; }
body[data-site="photobook"] .card.group h3 { font-size: 16px; text-align: center; -webkit-line-clamp: 2; }
body[data-site="photobook"] .card.group .meta { text-align: center; }
body[data-site="photobook"] .page-head .chips { margin: 12px 0 0; }
body[data-site="photobook"] .member { margin-top: 8px; }
body[data-site="photobook"] .member > .lead { margin: 10px 0 0; font-size: 13px; }

/* 2026-10-25 表紙を出さぬ間（楽天の返事待ち）：文字だけのカードを、ちいさな飾りで寂しくなく */
body[data-site="photobook"] .card.book.noimg { padding-top: 16px; border-top: 6px solid #f3a6c2; }
body[data-site="photobook"] .card.book.noimg h3 { font-size: 15px; -webkit-line-clamp: 4; }
body[data-site="photobook"] .card.book.noimg::after { content: "♡"; position: absolute; right: 12px; top: 8px; color: #f3a6c2; font-size: 14px; }
