/* 議会報告チラシ（本棚・号のページ・チラシ画面） */
.rp-shelf { padding: 6px 0 30px; }
.rp-feat { display: flex; gap: 16px; background: #fff; border-radius: 16px; box-shadow: 0 8px 24px rgba(13,95,184,.14); padding: 14px; align-items: flex-start; }
.rp-cover { flex: 0 0 42%; max-width: 220px; display: block; border: 0; padding: 0; background: none; cursor: zoom-in; position: relative; }
.rp-cover img { width: 100%; height: auto; display: block; border-radius: 4px; box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.rp-cover .rp-zoom { position: absolute; right: 6px; bottom: 6px; background: rgba(10,61,102,.88); color: #fff; font-size: 12px; font-weight: 900; border-radius: 999px; padding: 3px 9px; }
.rp-info { flex: 1; min-width: 0; }
.rp-new { display: inline-block; background: #e5534b; color: #fff; font-size: 12px; font-weight: 900; border-radius: 999px; padding: 1px 9px; }
.rp-label { display: block; font-size: 13px; font-weight: 800; color: var(--blue, #0e88d3); margin-top: 6px; }
.rp-title { margin: 2px 0 8px; font-size: 1.2rem; font-weight: 900; color: var(--navy, #0a3d66); line-height: 1.4; }
.rp-pts { list-style: none; margin: 0 0 12px; padding: 0; }
.rp-pts li { position: relative; padding-left: 26px; font-size: .92rem; line-height: 1.5; margin-bottom: 6px; font-weight: 700; }
.rp-pts li b { position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--blue, #0e88d3); color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.rp-btns { display: flex; flex-direction: column; gap: 8px; }
.rp-btn { display: block; text-align: center; font-weight: 900; border-radius: 10px; padding: 12px 8px; text-decoration: none; font-size: 1rem; border: 2px solid var(--blue, #0e88d3); cursor: pointer; font-family: inherit; }
.rp-btn.f { background: var(--blue, #0e88d3); color: #fff; }
.rp-btn.o { background: #fff; color: var(--blue, #0e88d3); }
.rp-sub { display: flex; align-items: center; gap: 8px; font-weight: 900; color: var(--navy, #0a3d66); margin: 26px 0 12px; font-size: 1.05rem; }
.rp-sub::after { content: ''; flex: 1; height: 2px; background: var(--line, #cfe0ee); }
.rp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rp-gc { background: #fff; border-radius: 12px; box-shadow: 0 4px 12px rgba(13,95,184,.1); padding: 10px; }
.rp-gc .rp-cover { max-width: none; width: 100%; }
.rp-gc .t { font-weight: 900; color: var(--navy, #0a3d66); margin-top: 8px; font-size: .95rem; }
.rp-gc .m { font-size: .8rem; color: var(--muted, #5d6d7c); line-height: 1.4; }
.rp-gc a.k { display: block; margin-top: 6px; font-size: .85rem; font-weight: 800; color: var(--blue, #0e88d3); }
.rp-empty { background: #fff; border: 2px dashed var(--line, #cfe0ee); border-radius: 12px; padding: 16px; text-align: center; color: var(--muted, #5d6d7c); font-size: .9rem; }
.rp-more { display: block; text-align: center; margin-top: 14px; }
@media (max-width: 380px) { .rp-feat { flex-direction: column; } .rp-feat > .rp-cover { flex: none; width: 70%; max-width: 70%; margin: 0 auto; } }
@media (min-width: 760px) { .rp-grid { grid-template-columns: repeat(4, 1fr); } .rp-btns { flex-direction: row; } .rp-btns .rp-btn { flex: 1; } }

/* 号のページ */
.rp-issue .rp-lead { background: #fff8e6; border-radius: 12px; padding: 14px 16px; line-height: 1.8; font-weight: 700; margin: 14px 0; }
.rp-q { background: #fff; border-radius: 14px; box-shadow: 0 6px 18px rgba(13,95,184,.1); padding: 16px; margin: 16px 0; }
.rp-q h2 { display: flex; gap: 10px; align-items: flex-start; font-size: 1.15rem; line-height: 1.45; color: var(--navy, #0a3d66); margin: 0 0 12px; }
.rp-q h2 b { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--blue, #0e88d3); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; }
.rp-box { border-radius: 10px; padding: 10px 12px; margin-top: 10px; line-height: 1.7; }
.rp-box h3 { margin: 0 0 4px; font-size: .9rem; }
.rp-box.q { background: #fff4e5; } .rp-box.q h3 { color: #d9692a; }
.rp-box.i { background: #e8f3fb; } .rp-box.i h3 { color: var(--blue, #0e88d3); }
.rp-box.a { background: #ebf7ee; } .rp-box.a h3 { color: #1f8a4c; }
.rp-box ul { margin: 0; padding-left: 1.2em; }
.rp-view { background: linear-gradient(180deg,#fff,#fff8e6); border: 2px solid #f2c46b; border-radius: 14px; padding: 16px; margin: 18px 0; line-height: 1.8; }
.rp-view h2 { margin: 0 0 6px; font-size: 1.1rem; color: var(--navy, #0a3d66); }
.rp-video { display: flex; align-items: center; justify-content: center; gap: 10px; background: #e60012; color: #fff; font-weight: 900; font-size: 1.1rem; padding: 14px; border-radius: 10px; text-decoration: none; margin: 10px 0; }
.rp-back { display: inline-block; margin: 8px 0 20px; font-weight: 800; color: var(--blue, #0e88d3); }

/* チラシ画面 */
.rv-ov { position: fixed; inset: 0; z-index: 200; background: #11161c; color: #fff; display: flex; flex-direction: column; }
.rv-ov[hidden] { display: none; }
.rv-top { display: flex; align-items: center; gap: 8px; padding: calc(10px + env(safe-area-inset-top)) 10px 8px; }
.rv-top .t { flex: 1; min-width: 0; font-weight: 900; font-size: 15px; line-height: 1.35; }
.rv-top .t small { display: block; font-weight: 400; font-size: 12px; opacity: .75; }
.rv-x { flex: none; background: #fff; color: #11161c; font-weight: 900; border: 0; border-radius: 999px; padding: 9px 14px; font-size: 15px; font-family: inherit; cursor: pointer; }
.rv-st { flex: 1; overflow: auto; -webkit-overflow-scrolling: touch; position: relative; touch-action: pan-x pan-y; }
.rv-st img { display: block; width: 100%; max-width: none; margin: 0 auto; background: #fff; }
.rv-zb { position: absolute; right: 12px; bottom: calc(86px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 10px; z-index: 2; }
.rv-zb button { width: 56px; height: 56px; border-radius: 50%; border: 0; background: #0e88d3; color: #fff; font-size: 30px; font-weight: 900; line-height: 1; box-shadow: 0 4px 14px rgba(0,0,0,.45); cursor: pointer; font-family: inherit; }
.rv-zb button.m { background: #fff; color: #0e88d3; }
.rv-zb button:disabled { opacity: .4; }
.rv-lv { position: absolute; left: 12px; bottom: calc(86px + env(safe-area-inset-bottom)); background: rgba(0,0,0,.72); padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; z-index: 2; pointer-events: none; }
.rv-bot { display: flex; gap: 6px; padding: 8px 10px calc(10px + env(safe-area-inset-bottom)); background: #11161c; }
.rv-bot button, .rv-bot a { flex: 1; text-align: center; font-weight: 900; border-radius: 12px; padding: 12px 2px; font-size: 15px; border: 2px solid #3a4652; background: transparent; color: #fff; text-decoration: none; font-family: inherit; cursor: pointer; }
.rv-bot .on { background: #0e88d3; border-color: #0e88d3; }
@media (min-width: 900px) { .rv-st img { width: min(100%, 860px); } }
body.rv-lock { overflow: hidden; }

/* スマホでも号のタイトルが1行に収まるように（画面の幅に合わせて文字の大きさを変える） */
.rp-issue-head h1 { font-size: min(8.4vw, 2.6rem); letter-spacing: 0; text-wrap: balance; }
.rp-issue-head h1 small { white-space: normal; }
.rp-title { font-size: min(5.2vw, 1.2rem); text-wrap: balance; }

/* 10/26 スマホ：表紙と見出しを横に、①②とボタンは下に横幅いっぱい（どの幅のiPhoneでも同じ形） */
.rp-feat { display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); column-gap: 14px; row-gap: 12px; align-items: start; }
.rp-feat > .rp-cover { grid-row: 1; grid-column: 1; max-width: none; width: 100%; }
.rp-head { grid-row: 1; grid-column: 2; min-width: 0; align-self: center; }
.rp-feat > .rp-pts, .rp-feat > .rp-btns { grid-column: 1 / -1; margin: 0; }
.rp-title { font-size: min(5.4vw, 1.35rem); margin-bottom: 0; }
.rp-pts li { font-size: 1rem; }
@media (max-width: 380px) { .rp-feat { flex-direction: initial; } .rp-feat > .rp-cover { width: 100%; max-width: none; margin: 0; } }
@media (min-width: 760px) {
  .rp-feat { grid-template-columns: 220px minmax(0, 1fr); }
  .rp-feat > .rp-cover { grid-row: 1 / span 3; }
  .rp-head { align-self: start; }
  .rp-feat > .rp-pts, .rp-feat > .rp-btns { grid-column: 2; }
}

/* 10/26 どの幅のスマホでも：タイトルは1行、①②は言葉の切れ目で改行 */
.rp-head { container-type: inline-size; }
.rp-feat .rp-title { white-space: nowrap; font-size: min(5vw, 1.35rem); }
@supports (font-size: 1cqi) { .rp-feat .rp-title { font-size: min(10.4cqi, 1.35rem); } }
.rp-pts .rp-w { display: inline-block; }

/* 10/26 A案：スマホでは表紙を横幅いっぱい・全体を見せる（見出し→表紙→①②→ボタンの順） */
@media (max-width: 759px) {
  .rp-feat { grid-template-columns: minmax(0, 1fr); }
  .rp-feat > .rp-head { grid-row: 1; grid-column: 1; }
  .rp-feat > .rp-cover { grid-row: 2; grid-column: 1; width: 100%; }
  .rp-feat > .rp-pts { grid-row: 3; }
  .rp-feat > .rp-btns { grid-row: 4; }
  .rp-feat .rp-zoom { font-size: 15px; padding: 6px 14px; right: 10px; bottom: 10px; }
  .rp-feat .rp-title { font-size: min(6.4vw, 1.5rem); }
  @supports (font-size: 1cqi) { .rp-feat .rp-title { font-size: min(9cqi, 1.5rem); } }
}
@media (min-width: 760px) { .rp-feat { grid-template-columns: 300px minmax(0, 1fr); } }
@media (min-width: 760px) {
  .rp-feat { grid-template-rows: auto auto 1fr; }
  .rp-feat > .rp-btns { align-self: start; }
  .rp-btns .rp-btn { white-space: nowrap; }
}
@media (min-width: 760px) { .rp-feat .rp-btns { flex-direction: column; } .rp-feat .rp-btns .rp-btn { flex: none; } }
/* 10/27 タイトルが10文字（9月定例議会のご報告）でも1行に */
@supports (font-size: 1cqi) { .rp-feat .rp-title { font-size: min(9.3cqi, 1.35rem); } }
@media (max-width: 759px) { @supports (font-size: 1cqi) { .rp-feat .rp-title { font-size: min(8.6cqi, 1.5rem); } } }
.rp-issue-head h1 { font-size: min(7.6vw, 2.6rem); }

/* 10/27 表紙を←にめくると裏面（スワイプ・表面/裏面ボタン）。タップで大きく見る */
.rp-feat > .rp-cw { grid-row: 1; grid-column: 1; min-width: 0; }
.rp-cw > .rp-cover { width: 100%; max-width: none; }
.rp-flip { position: relative; cursor: zoom-in; border-radius: 4px; box-shadow: 0 6px 16px rgba(0,0,0,.25); overflow: hidden; }
.rp-slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; overscroll-behavior-x: contain; }
.rp-slides::-webkit-scrollbar { display: none; }
.rp-flip .rp-slides img { flex: 0 0 100%; width: 100%; height: auto; scroll-snap-align: start; box-shadow: none; border-radius: 0; display: block; }
.rp-swipe { position: absolute; left: 8px; bottom: 8px; background: rgba(230,92,0,.92); color: #fff; font-size: 13px; font-weight: 900; border-radius: 999px; padding: 5px 11px; pointer-events: none; transition: opacity .3s; }
.rp-flip.is-back .rp-swipe { opacity: 0; }
.rp-face { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.rp-face button { font: inherit; font-size: 14px; font-weight: 800; padding: 6px 18px; border-radius: 999px; border: 2px solid var(--blue, #0e88d3); background: #fff; color: var(--blue, #0e88d3); cursor: pointer; }
.rp-face button.on { background: var(--blue, #0e88d3); color: #fff; }
@media (max-width: 759px) { .rp-feat > .rp-cw { grid-row: 2; grid-column: 1; } .rp-feat .rp-zoom { font-size: 13px; padding: 5px 11px; right: 8px; bottom: 8px; } }
@media (min-width: 760px) { .rp-feat > .rp-cw { grid-row: 1 / span 3; } }

/* 10/27 SNS用チラシ画面から来た人に「‹ チラシにもどる」（C案：表紙つきの黒い帯） */
.back-chirashi { display: flex; align-items: center; gap: 10px; background: #11161c; color: #fff !important; font-weight: 900; font-size: 15px; line-height: 1.3; padding: 6px 14px; padding-top: calc(6px + env(safe-area-inset-top)); text-decoration: none; letter-spacing: .04em; }
.back-chirashi img { width: 30px; height: auto; border-radius: 2px; box-shadow: 0 2px 6px rgba(0,0,0,.4); flex: none; }
.back-chirashi small { display: block; font-size: 11px; opacity: .75; font-weight: 700; letter-spacing: 0; }
.back-chirashi small:empty { display: none; }
body.has-back-chirashi { padding-top: 54px; }

/* 10/27 ＋－ボタンの反応をよくする（押した感触・2回タップ拡大との取り合いをなくす） */
.rv-zb { gap: 14px; }
.rv-zb button { width: 62px; height: 62px; touch-action: manipulation; -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none; transition: transform .08s, background .08s; }
.rv-zb button.hit, .rv-zb button:active { transform: scale(.88); background: #0a5f99; }
.rv-zb button.m.hit, .rv-zb button.m:active { background: #dbe9f5; }
.rv-zb button:disabled { opacity: .3; }
.rv-ov, .rv-bot button, .rv-bot a, .rv-x { touch-action: manipulation; }

/* 10/27 「－」をはっきり見せる（白地に青いふち・青い記号。1倍のときも薄くしすぎない） */
.rv-zb button { border: 3px solid #fff; box-shadow: 0 4px 14px rgba(0,0,0,.5); }
.rv-zb button.m { background: #fff; color: #0e88d3; border-color: #0e88d3; font-size: 36px; }
.rv-zb button:disabled { opacity: .55; }
.rv-zb button.m:disabled { background: #e8eef3; color: #7d93a6; border-color: #7d93a6; }

/* 10/27 パソコンでは「裏面を見る ›」の札を押して表⇔裏を切りかえ */
.rp-flip.pc .rp-swipe { pointer-events: auto; cursor: pointer; opacity: 1 !important; font-size: 14px; padding: 7px 14px; }
.rp-flip.pc .rp-swipe:hover { background: #c94f00; }
.rp-flip.pc.is-back .rp-swipe { background: rgba(14,136,211,.95); }

/* 10/27 「タップで拡大」を大きく目立たせる（中高年の方がスマホで見ることが多いため）。
   拡大は下のまん中に大きく、「めくると裏面」は左上へ */
.rp-flip .rp-zoom, .rp-feat .rp-flip .rp-zoom { left: 50%; right: auto; bottom: 12px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px;
  background: #0e88d3; color: #fff; font-size: 18px; font-weight: 900; padding: 10px 20px 10px 16px; border-radius: 999px; border: 3px solid #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,.35); white-space: nowrap; letter-spacing: .04em; pointer-events: none; animation: rpPulse 2.4s ease-in-out infinite; }
.rp-flip .rp-zoom svg { width: 22px; height: 22px; flex: none; }
@keyframes rpPulse { 0%, 100% { transform: translateX(-50%) scale(1); } 50% { transform: translateX(-50%) scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .rp-flip .rp-zoom { animation: none; } }
.rp-flip .rp-swipe { top: 10px; bottom: auto; left: 10px; font-size: 14px; padding: 6px 12px; }
@media (max-width: 359px) { .rp-flip .rp-zoom, .rp-feat .rp-flip .rp-zoom { font-size: 16px; padding: 8px 16px 8px 12px; } }

/* 10/27 「タップで拡大」は右上、「めくると裏面」は左下 */
.rp-flip .rp-zoom, .rp-feat .rp-flip .rp-zoom { top: 10px; right: 10px; left: auto; bottom: auto; transform: none; animation-name: rpPulse2; }
@keyframes rpPulse2 { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.rp-flip .rp-swipe { top: auto; bottom: 10px; left: 10px; }

/* 10/27 表紙の「＋ タップで拡大」は、チラシ画面の＋ボタンと同じ見た目・同じ働き（押すと大きくして開く） */
.rp-flip .rp-zoom, .rp-feat .rp-flip .rp-zoom { pointer-events: auto; cursor: zoom-in; padding: 5px 16px 5px 5px; gap: 8px; font-size: 17px; }
.rp-flip .rp-zoom b { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #0e88d3; display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 900; line-height: 1; flex: none; }
@media (max-width: 359px) { .rp-flip .rp-zoom, .rp-feat .rp-flip .rp-zoom { font-size: 15px; padding: 4px 12px 4px 4px; } .rp-flip .rp-zoom b { width: 28px; height: 28px; font-size: 22px; } }
/* チラシ画面の－は、これ以上小さくできないときも形がはっきり見えるように */
.rv-zb button.m:disabled { background: #fff; color: #9fb3c4; border-color: #9fb3c4; opacity: .85; }

/* 11/5 案内：開いたら「2本の指で広げると小さい文字が見えます」、大きくしたら「指で上下左右に動かすと全体が見られます」 */
.rv-g { position: absolute; left: 0; right: 0; top: 64px; bottom: calc(150px + env(safe-area-inset-bottom)); z-index: 3; pointer-events: none; opacity: 0; transition: opacity .5s; }
.rv-g.on { opacity: 1; }
.rv-g .rv-band { position: absolute; left: 12px; right: 84px; bottom: 0; background: rgba(10,61,102,.94); color: #fff; font-weight: 900; font-size: 17px; line-height: 1.4; text-align: center; border-radius: 14px; padding: 10px 12px; box-shadow: 0 4px 16px rgba(0,0,0,.35); }
.rv-g .rv-band em { font-style: normal; color: #ffe33a; }
.rv-g .rv-band small { display: block; font-size: 13px; font-weight: 700; opacity: .9; margin-top: 2px; }
.rv-g svg.h { position: absolute; width: 78px; height: 78px; overflow: visible; filter: drop-shadow(0 3px 6px rgba(0,0,0,.35)); }
.rv-pinch { position: absolute; left: 50%; top: 38%; width: 210px; height: 220px; margin: -110px 0 0 -105px; background: rgba(11,31,58,.62); border-radius: 26px; display: grid; place-items: center; }
.rv-pinch .pp { width: 120px; height: 180px; border: 6px solid #fff; border-radius: 20px; background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.3); overflow: hidden; display: grid; place-items: center; }
.rv-pinch .pp span { font-weight: 900; color: #0b1f3a; font-size: 26px; animation: ppBig 2.4s ease-in-out infinite; }
@keyframes ppBig { 0%, 15% { transform: scale(1); } 60%, 85% { transform: scale(2.6); } 100% { transform: scale(1); } }
.rv-pinch .tp { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: rgba(255,255,255,.85); border: 4px solid #0e88d3; box-shadow: 0 0 0 6px rgba(14,136,211,.25), 0 3px 8px rgba(0,0,0,.35); }
.rv-pinch .tp.a { animation: ppA 2.4s ease-in-out infinite; }
.rv-pinch .tp.b { animation: ppB 2.4s ease-in-out infinite; }
@keyframes ppA { 0%, 15% { transform: translate(-14px, -14px); } 60%, 85% { transform: translate(-44px, -60px); } 100% { transform: translate(-14px, -14px); } }
@keyframes ppB { 0%, 15% { transform: translate(14px, 14px); } 60%, 85% { transform: translate(44px, 60px); } 100% { transform: translate(14px, 14px); } }
.rv-g2 .rv-trail { position: absolute; left: 50%; top: 40%; width: 170px; height: 130px; margin: -65px 0 0 -85px; border: 3px dashed rgba(255,255,255,.75); border-radius: 50%; }
.rv-g2 .h.s { left: 50%; top: 40%; margin: -30px 0 0 -30px; animation: swipe 4s ease-in-out infinite; }
@keyframes swipe { 0%, 10% { transform: translate(-70px,0); } 30%, 40% { transform: translate(60px,0); } 55%, 65% { transform: translate(0,-55px); } 85%, 100% { transform: translate(0,50px); } }
.rv-ov.pc .rv-pinch, .rv-ov.pc .rv-g2 .h, .rv-ov.pc .rv-trail { display: none; }
@media (max-width: 380px) { .rv-g .rv-band { font-size: 15px; right: 80px; } }
@media (prefers-reduced-motion: reduce) { .rv-pinch .pp span, .rv-pinch .tp, .rv-g2 .h.s { animation: none !important; } }

/* 11/5 表紙の「押して拡大」（案5）：はじめに大きく案内 → 4秒後に右上の小さな札 */
.rp-flip .rp-zoom svg.tf { width: 30px; height: 30px; margin-left: -4px; }
.rp-flip .rp-zoom { transition: opacity .6s; }
.rp-flip:not(.intro-done) .rp-zoom { opacity: 0; }
.rp-intro { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; background: rgba(11,31,58,.45); pointer-events: none; opacity: 0; transition: opacity .6s; }
.rp-flip.intro-on .rp-intro { opacity: 1; }
.rp-flip.intro-done .rp-intro { opacity: 0; }
.rp-intro .box { display: flex; flex-direction: column; align-items: center; gap: 2px; background: #fff; color: #0b1f3a; border-radius: 18px; padding: 12px 22px 12px; text-align: center; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.rp-intro .box b { font-size: 20px; font-weight: 900; line-height: 1.4; }
.rp-intro .box small { font-size: 13px; font-weight: 700; color: #5b6b78; }
.rp-intro svg.tf { width: 70px; height: 70px; overflow: visible; }
svg.tf .rip { fill: none; stroke: #f5b400; stroke-width: 2.4; transform-box: fill-box; transform-origin: center; animation: tfRip 1.6s ease-out infinite; }
svg.tf .pr { transform-box: view-box; transform-origin: 16px 28px; animation: tfPress 1.6s ease-in-out infinite; }
@keyframes tfPress { 0%, 50%, 100% { transform: translateY(0) scale(1); } 65% { transform: translateY(2px) scale(.93); } }
@keyframes tfRip { 0%, 55% { transform: scale(.3); opacity: 0; } 65% { opacity: 1; } 100% { transform: scale(1.7); opacity: 0; } }
.rp-flip .rp-zoom svg.tf .rip { stroke: #ffe33a; }
@media (max-width: 380px) { .rp-intro .box b { font-size: 17px; } .rp-intro svg.tf { width: 56px; height: 56px; } }
@media (prefers-reduced-motion: reduce) { svg.tf .rip, svg.tf .pr { animation: none; } }
/* 11/5：表紙の「押して拡大」を、表紙のまん中に大きく。光もくり返し走る */
.rp-flip .rp-zoom, .rp-feat .rp-flip .rp-zoom { top: 50%; left: 50%; right: auto; bottom: auto; transform: translate(-50%, -50%); font-size: 23px; padding: 14px 28px 14px 18px; gap: 8px; border-width: 4px; animation: rpPulse3 2.4s ease-in-out infinite; overflow: hidden; }
.rp-flip .rp-zoom svg.tf { width: 40px; height: 40px; }
@keyframes rpPulse3 { 0%, 100% { transform: translate(-50%, -50%) scale(1); } 50% { transform: translate(-50%, -50%) scale(1.06); } }
.rp-flip .rp-zoom::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-18deg); animation: kbShineLoop2 4s ease-out 1s infinite both; pointer-events: none; }
@keyframes kbShineLoop2 { 0% { left: -60%; opacity: 1; } 25% { left: 120%; opacity: 1; } 25.1%, 100% { left: 120%; opacity: 0; } }
@media (max-width: 380px) { .rp-flip .rp-zoom, .rp-feat .rp-flip .rp-zoom { font-size: 20px; padding: 12px 22px 12px 14px; } .rp-flip .rp-zoom svg.tf { width: 34px; height: 34px; } }
@media (prefers-reduced-motion: reduce) { .rp-flip .rp-zoom { animation: none; } .rp-flip .rp-zoom::after { display: none; } }

/* 閉じるボタン：はじめての人にもすぐ分かるよう、大きく・黄色に（11/7） */
.rv-x { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 18px 0 8px; font-size: 19px; background: #ffe33a; color: #0b1f3a; border: 3px solid #fff; box-shadow: 0 3px 10px rgba(0,0,0,.35); letter-spacing: .02em; }
.rv-x .xi { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #0b1f3a; color: #fff; font-size: 18px; line-height: 1; }
.rv-x:active { transform: scale(.96); }
