/* ほめ♡レン お知らせサイト
   画像（ChatGPTで作るもの）が主役なので、まわりは静かに */
:root {
  --bg: #fff5f8;
  --card: #ffffff;
  --ink: #4a3640;
  --muted: #9a8790;
  --accent: #e8508a;
  --accent-deep: #c93a74;
  --line: #f6d9e4;
  --round: "Hiragino Maru Gothic ProN", "Hiragino Maru Gothic Pro", "BIZ UDPGothic", "Hiragino Sans", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--round); font-size: 15px; line-height: 1.85;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-deep); }

/* ヘッダーとタブ */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 245, 248, .94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px));
}
.logo {
  display: block; max-width: 640px; margin: 0 auto 6px;
  font-weight: 800; font-size: 17px; letter-spacing: .08em; text-decoration: none; color: var(--ink);
}
.logo span { color: var(--accent); }
.tabs {
  display: flex; gap: 6px; max-width: 640px; margin: 0 auto;
  overflow-x: auto; scrollbar-width: none; padding-bottom: 10px;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs a {
  flex: 0 0 auto; padding: 6px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 700; text-decoration: none;
  color: var(--accent-deep); background: #fff; border: 1px solid var(--line);
}
.tabs a.on { background: var(--accent); color: #fff; border-color: var(--accent); }

/* 本文 */
.wrap {
  max-width: 640px; margin: 0 auto;
  padding: 18px max(16px, env(safe-area-inset-right, 0px)) 40px max(16px, env(safe-area-inset-left, 0px));
  display: flex; flex-direction: column; gap: 18px;
}
.block {
  background: var(--card); border-radius: 22px; overflow: hidden;
  box-shadow: 0 4px 18px rgba(201, 58, 116, .08);
}
.block.image-only { background: transparent; box-shadow: none; border-radius: 18px; }
.pic { position: relative; }
.pic img { width: 100%; height: auto; }
.spot { position: absolute; display: block; border-radius: 14px; -webkit-tap-highlight-color: transparent; }
.spot:active { background: rgba(255, 255, 255, .25); }

.text { padding: 20px 20px 22px; }
.date { margin: 0 0 4px; font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.text h2 { margin: 0 0 8px; font-size: 18px; line-height: 1.5; text-wrap: balance; }
.body { margin: 0; }

.btns { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.btn {
  display: block; text-align: center; text-decoration: none; font-weight: 800;
  padding: 14px 16px; border-radius: 999px; font-size: 15px; letter-spacing: .03em;
}
.btn.main {
  color: #fff; background: linear-gradient(135deg, #ff8fb3, var(--accent) 55%, var(--accent-deep));
  box-shadow: 0 6px 16px rgba(201, 58, 116, .25);
}
.btn.sub { color: var(--accent-deep); background: #fff; border: 2px solid var(--line); }
.btn:active { transform: scale(.98); }

.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* 管理者にだけ見える表示 */
.admin-bar { margin: 0; text-align: center; font-size: 13px; }
.badge {
  margin: 0; padding: 6px 12px; font-size: 12px; font-weight: 700;
  background: #fff1c9; color: #7a5a00;
}
.hidden-block { opacity: .6; }

.foot { text-align: center; font-size: 11px; color: var(--muted); padding: 10px 16px 30px; line-height: 1.9; }
.foot p { margin: 0; }
.home-link {
  display: inline-block; margin-bottom: 14px; padding: 9px 22px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--accent-deep);
  font-size: 13px; font-weight: 700; text-decoration: none;
}
.foot p a { color: var(--muted); }

/* ---- お知らせページをかわいく（2026-10-27） ---- */
body {
  background-color: #fff7f2;
  background-image:
    radial-gradient(circle, rgba(255, 182, 206, .55) 2.2px, transparent 2.6px),
    radial-gradient(circle, rgba(170, 225, 205, .5) 2.2px, transparent 2.6px);
  background-size: 34px 34px, 34px 34px;
  background-position: 0 0, 17px 17px;
}
.top { background: rgba(255, 247, 242, .94); }

.hero { max-width: 640px; margin: 0 auto; padding: 18px max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px)); text-align: center; }
.hero img { width: 100%; border-radius: 24px; box-shadow: 0 8px 24px rgba(201, 58, 116, .14); }
.hero-sub { margin: 0; font-size: 13px; letter-spacing: .14em; color: #c9a14a; font-weight: 700; }
.hero-title {
  margin: 4px 0 0; font-size: 30px; line-height: 1.35; font-weight: 800; letter-spacing: .06em;
  color: var(--accent-deep); text-shadow: 0 2px 0 #fff, 0 0 12px #fff; text-wrap: balance;
}
.hero-title span { color: var(--accent); }

.block { border: 2px solid #fff; outline: 1.5px dashed #f6b9cf; outline-offset: -9px; border-radius: 26px; }
.block.image-only { outline: none; border: 0; }
.text { position: relative; padding: 26px 24px 24px; }
.date {
  display: inline-block; margin: 0 0 10px; padding: 3px 14px; border-radius: 999px;
  background: #fff1c9; color: #9a6b12; font-size: 12px; font-weight: 700; letter-spacing: .08em;
}
.text h2 { color: var(--accent-deep); font-size: 19px; }
.text h2::before { content: "♡ "; color: var(--accent); }
.btn.main { background: linear-gradient(135deg, #ff9fbf, #ef6a9a 55%, #e0558a); }
.btn.sub { border-color: #bfe6d6; color: #2f8a68; }

/* 知る・深める・確かめる（LINEのリッチメニューと同じ3つ） */
.menu3 {
  max-width: 640px; margin: 14px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  padding: 0 max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px));
}
.m3 {
  --c: #e8508a; --bg: #fff3f7;
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0;
  padding: 12px 6px 30px; border-radius: 18px; text-decoration: none; text-align: center;
  background: var(--bg); border: 3px solid var(--c); box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
}
.m3-blue { --c: #3aa3e8; --bg: #f0f8ff; }
.m3-orange { --c: #f39a1e; --bg: #fff8ec; }
.m3-label {
  padding: 2px 12px; border-radius: 999px; background: var(--c); color: #fff;
  font-weight: 800; font-size: 15px; letter-spacing: .06em;
}
.m3-sub { font-size: 11px; font-weight: 800; color: #5a4038; }
.m3-text { font-size: 14px; font-weight: 800; line-height: 1.35; color: var(--c); overflow-wrap: anywhere; }
.m3-pink .m3-text { color: #e24a84; }
.m3-go {
  position: absolute; bottom: 7px; left: 50%; transform: translateX(-50%);
  width: 20px; height: 20px; border-radius: 50%; background: var(--c); color: #fff;
  font-size: 9px; line-height: 20px; padding-left: 2px;
}
.m3:active { transform: scale(.97); }

/* 3つのメニューを上のバーの中に（2026-10-28） */
.top .menu3 { margin: 2px auto 0; padding: 0 0 10px; gap: 6px; }
.top .m3 { padding: 5px 4px 6px; gap: 2px; border-width: 2px; border-radius: 14px; box-shadow: none; }
.top .m3-label { font-size: 12px; padding: 1px 10px; }
.top .m3-text { font-size: 12px; white-space: nowrap; letter-spacing: -.02em; }
@media (max-width: 360px) { .top .m3-text { font-size: 11px; } }

/* 上のバー：ロゴと「単行本のお知らせ」へ戻るボタン */
.top-row { max-width: 640px; margin: 0 auto 6px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.top-row .logo { margin: 0; }
.back-news {
  flex: 0 0 auto; padding: 5px 14px; border-radius: 999px; text-decoration: none;
  background: linear-gradient(135deg, #ff9fbf, #e0558a); color: #fff; font-size: 12px; font-weight: 800;
  box-shadow: 0 3px 8px rgba(201, 58, 116, .25);
}

/* 「ほめ♡レンって？」の絵は、画面の幅いっぱいに近く（文字を少しでも大きく） */
.about-map { margin: -6px -12px 0; border-radius: 12px; }
.about-map .pic img { border-radius: 12px; }
