/* cafesik.jp — 配信で広がる「推し」の世界 */
:root {
  --bg: #fff8f3;
  --card: #ffffff;
  --ink: #3b3030;
  --ink-sub: #7a6a66;
  --coral: #e85d6a;
  --coral-ink: #c8404f;
  --teal: #18a0a8;
  --teal-ink: #0f7f86;
  --blush: #ffe6e3;
  --round: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "BIZ UDPGothic", sans-serif;
  --gothic: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--gothic);
  font-size: 16px;
  line-height: 1.9;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--teal-ink); }

/* ---------- SiteBar ---------- */
.SiteBar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .94);
  border-bottom: 2px dotted var(--coral);
}
.SiteBar-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.SiteBar-name {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--round);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.4;
}
.SiteBar-mark {
  position: relative;
  flex: none;
  width: 26px;
  height: 20px;
  border-radius: 10px;
  background: var(--coral);
}
.SiteBar-mark::after {
  content: "";
  position: absolute;
  left: 5px;
  bottom: -5px;
  border: 5px solid transparent;
  border-top-color: var(--coral);
  border-left-color: var(--coral);
}
.SiteBar-btn {
  flex: none;
  padding: 4px 16px;
  border-radius: 999px;
  background: var(--coral-ink);
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
}
.SiteBar-btn:hover { background: var(--coral); }

/* ---------- Main ---------- */
.Main {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 16px 64px;
}

/* ---------- Hero（TOP） ---------- */
.Hero {
  background: var(--blush);
  border-radius: 24px;
  padding: 40px 24px;
  text-align: center;
}
.Hero-catch {
  margin: 0 0 12px;
  color: var(--coral-ink);
  font-weight: 700;
  font-size: .95rem;
}
.Hero-title {
  margin: 0;
  font-family: var(--round);
  font-weight: 700;
  line-height: 1.45;
}
.Hero-titleSmall { display: block; font-size: 1rem; color: var(--ink-sub); }
.Hero-titleBig { display: block; font-size: clamp(1.5rem, 4.6vw, 2.3rem); }

/* ---------- PostList / PostRow ---------- */
.PostList { margin-top: 48px; }
.PostList-head {
  margin: 0 0 24px;
  font-family: var(--round);
  font-size: 1.35rem;
  text-align: center;
}
.PostList-head::after {
  content: "";
  display: block;
  width: 64px;
  margin: 6px auto 0;
  border-bottom: 4px dotted var(--teal);
}
.PostRow {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  background: var(--card);
  border-radius: 20px;
  padding: 16px;
  margin-bottom: 24px;
}
.PostRow-media { display: block; }
.PostRow-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; }
.PostRow-text { padding: 0 4px 4px; }
.PostRow-title {
  margin: 4px 0 8px;
  font-family: var(--round);
  font-size: 1.2rem;
  line-height: 1.55;
}
.PostRow-title a { color: var(--ink); text-decoration: none; }
.PostRow-title a:hover { color: var(--coral-ink); }
.PostRow-excerpt {
  margin: 0;
  color: var(--ink-sub);
  font-size: .92rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 720px) {
  .PostRow {
    grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
    align-items: center;
    gap: 28px;
    padding: 20px;
  }
  .PostRow--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); }
  .PostRow--flip .PostRow-media { order: 2; }
  .PostRow-title { font-size: 1.35rem; }
}

.PostDate {
  color: var(--teal-ink);
  font-size: .85rem;
  font-weight: 700;
}

/* ---------- Crumbs ---------- */
.Crumbs ol {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  font-size: .82rem;
  color: var(--ink-sub);
}
.Crumbs li + li::before { content: "・"; margin: 0 4px; color: var(--coral); }

/* ---------- Post（記事） ---------- */
.PostHero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  background: var(--card);
  border-radius: 24px;
  padding: 20px;
}
.PostHero-title {
  margin: 0 0 12px;
  font-family: var(--round);
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  line-height: 1.5;
}
.PostHero-meta { margin: 0; font-size: .85rem; color: var(--ink-sub); }
.PostHero-media { margin: 0; justify-self: center; width: 100%; max-width: 640px; }
.PostHero-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 20px; }
@media (min-width: 860px) {
  .PostHero {
    grid-template-columns: minmax(0, 1fr) 460px;
    align-items: center;
    gap: 32px;
    padding: 28px;
  }
}

.TocChips {
  max-width: 760px;
  margin: 32px auto 0;
}
.TocChips-head {
  margin: 0 0 10px;
  font-family: var(--round);
  font-weight: 700;
}
.TocChips-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.TocChips-list li { max-width: 100%; }
.TocChips-item {
  display: inline-block;
  max-width: 100%;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--blush);
  color: var(--ink);
  font-size: .85rem;
  line-height: 1.6;
  text-decoration: none;
}
.TocChips-item:hover { background: var(--coral-ink); color: #fff; }

.PostBody {
  max-width: 760px;
  margin: 8px auto 0;
}
.PostBody p { margin: 0 0 1.4em; }
.PostBody h2 {
  position: relative;
  margin: 2.6em 0 1em;
  padding: 0 0 10px 40px;
  border-bottom: 3px dotted var(--blush);
  font-family: var(--round);
  font-size: 1.4rem;
  line-height: 1.5;
}
.PostBody h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: .3em;
  width: 28px;
  height: 22px;
  border-radius: 11px;
  background: var(--teal);
}
.PostBody h2::after {
  content: "";
  position: absolute;
  left: 6px;
  top: calc(.3em + 18px);
  border: 5px solid transparent;
  border-top-color: var(--teal);
  border-left-color: var(--teal);
}
.PostBody h3 {
  margin: 2em 0 .6em;
  color: var(--coral-ink);
  font-family: var(--round);
  font-size: 1.15rem;
  line-height: 1.55;
}
.PostBody h3::before { content: "♪"; margin-right: 6px; }

.Post--plain { background: var(--card); border-radius: 24px; padding: 28px 20px; }
.PlainTitle { margin: 0 auto; max-width: 760px; font-family: var(--round); font-size: 1.7rem; }
.PlainDate { color: var(--ink-sub); font-size: .9rem; }

/* ---------- RelatedRail ---------- */
.RelatedRail { margin-top: 56px; }
.RelatedRail-head { margin: 0 0 16px; font-family: var(--round); font-size: 1.3rem; }
.RelatedRail-track {
  list-style: none;
  margin: 0;
  padding: 0 0 12px;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}
.RelatedRail-card { flex: 0 0 240px; scroll-snap-align: start; }
.RelatedRail-card a {
  display: block;
  height: 100%;
  background: var(--card);
  border-radius: 20px;
  padding: 10px;
  color: var(--ink);
  text-decoration: none;
}
.RelatedRail-card a:hover .RelatedRail-title { color: var(--coral-ink); }
.RelatedRail-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; }
.RelatedRail-title {
  display: block;
  margin-top: 8px;
  font-weight: 700;
  font-size: .9rem;
  line-height: 1.6;
}

/* ---------- Missing（404） ---------- */
.Missing { text-align: center; padding: 32px 0; }
.Missing-bubble {
  position: relative;
  max-width: 560px;
  margin: 0 auto 40px;
  padding: 36px 28px;
  background: var(--card);
  border-radius: 32px;
}
.Missing-bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -22px;
  margin-left: -12px;
  border: 12px solid transparent;
  border-top: 12px solid var(--card);
  border-left: 12px solid var(--card);
}
.Missing-title { margin: 0 0 12px; font-family: var(--round); font-size: 1.45rem; line-height: 1.5; }
.Missing-text { margin: 0; color: var(--ink-sub); }
.Missing-btn {
  display: inline-block;
  padding: 10px 32px;
  border-radius: 999px;
  background: var(--coral-ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.Missing-btn:hover { background: var(--coral); }

/* ---------- SiteFoot ---------- */
.SiteFoot {
  position: relative;
  margin-top: 40px;
  background: var(--coral-ink);
  color: #fff;
  text-align: center;
}
.SiteFoot::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -15px;
  height: 16px;
  background: radial-gradient(circle at 12px 16px, var(--coral-ink) 12px, transparent 12.5px) 0 0 / 24px 16px repeat-x;
}
.SiteFoot-inner { max-width: 760px; margin: 0 auto; padding: 32px 16px 28px; }
.SiteFoot-note { margin: 0 0 18px; font-size: .85rem; line-height: 1.8; }
.SiteFoot-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.SiteFoot-links a {
  padding: 3px 16px;
  border: 1.5px solid #fff;
  border-radius: 999px;
  color: #fff;
  font-size: .85rem;
  text-decoration: none;
}
.SiteFoot-links a:hover { background: #fff; color: var(--coral-ink); }
.SiteFoot-sign { margin: 18px 0 0; font-size: .78rem; opacity: .9; }
