/* ===================================
   らんま1/2 × EURASIA コラボページ v3
=================================== */

@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;700&display=swap');

:root {
  --ranma-pink: #e54375;
  --ranma-pink-light: #fbd9e3;
  --ranma-teal: #00a199;
  --ranma-teal-light: #c7e5d6;
  --ranma-gold: #ddc984;
  --ranma-cream: #fff6e2;
  --ranma-base: #fff9f0;
  --ranma-text: #333;
}

.ranma-kv,
.ranma-lead,
.ranma-nav,
.ranma-divider,
.ranma-section,
.ranma-footer-visual,
.ranma-footer-info,
.ranma-section-title,
.ranma-content-box,
.ranma-nav a,
.ranma-copyright {
  font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;
}

/* ブロック共通リセット */
.ranma-kv,
.ranma-lead,
.ranma-nav,
.ranma-divider,
.ranma-section,
.ranma-footer-visual,
.ranma-footer-info,
.ranma-site-footer {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}

/* ===== KVをヘッダー直下にぴったり付ける ===== */
:is(.postid-122515, .postid-122830) #single-wrapper {
  padding-top: 0 !important;
}

:is(.postid-122515, .postid-122830) .site-main > .section:first-of-type {
  padding-top: 0 !important;
}

:is(.postid-122515, .postid-122830) .col-12.info-box {
  display: none !important;
}

/* ===== キービジュアル ===== */
.ranma-kv {
  border-bottom: 8px solid var(--ranma-gold);
}

.ranma-kv img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== リード文（ゴールドの角飾り） ===== */
.ranma-lead {
  background: var(--ranma-base);
  padding: 1.5rem 1rem 0.5rem;
  margin-bottom: 0;
}

.ranma-lead-inner {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  padding: 1.2rem 1.5rem;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ranma-teal);
  font-weight: 700;
}

.ranma-lead-corner {
  position: absolute;
  top: 0;
  width: 44px;
  height: 44px;
  pointer-events: none;
}

.ranma-lead-corner--l { left: 0; }
.ranma-lead-corner--r { right: 0; }

/* ===== アンカーボタン群（フローティング） ===== */
.ranma-nav {
  background: var(--ranma-base);
  padding: 1rem 1rem 0.75rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-top: 0;
  position: -webkit-sticky;
  position: sticky;
  top: 60px;
  z-index: 9;
  transition: box-shadow 0.2s;
}

@media (min-width: 768px) {
  .ranma-nav {
    top: 100px;
    padding-left: calc(50% - 320px);
    padding-right: calc(50% - 320px);
  }
}

.ranma-nav.is-stuck {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.ranma-nav a {
  display: block;
  background: #fff;
  color: var(--ranma-pink);
  text-align: center;
  padding: 0.6rem 0.3rem;
  border: 2px solid var(--ranma-gold);
  border-radius: 8px;
  box-shadow: 0 3px 0 var(--ranma-gold);
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: background 0.2s, color 0.2s;
}

.ranma-nav a:hover,
.ranma-nav a.is-current {
  background: var(--ranma-pink);
  color: #fff;
}

/* スマホのみ「飲食キャンペーン」を20%縮小 */
@media (max-width: 767.98px) {
  .ranma-nav a[href="#inshoku"] {
    font-size: 0.88rem;
  }
}

/* sticky を効かせるため親の overflow:hidden / auto を解除 */
:is(.postid-122515, .postid-122830) main.site-main,
:is(.postid-122515, .postid-122830) section.section {
  overflow: visible !important;
  overflow-x: clip !important;
}

/* ===== 区切り線 ===== */
.ranma-divider {
  height: 8px;
  background: var(--ranma-gold);
  margin: 0;
}

/* ===== ページ全体に壁紙 ===== */
:is(.postid-122515, .postid-122830) #single-wrapper {
  background-image: url('https://my-spa.jp/stg/wp-content/uploads/2026/09/ranma-bg2.jpg');
  background-repeat: repeat;
  background-size: 200px auto;
  background-attachment: fixed;
  padding-bottom: 0 !important;
}

/* ===== セクション共通 ===== */
:is(.postid-122515, .postid-122830) .site-main > .section {
  padding-bottom: 0 !important;
}

.ranma-section {
  background-image: none;
  padding: 2.5rem 1.2rem 1.5rem;
  margin: 0;
}

#notes {
  overflow: visible;
}

/* ===== カード外枠 ===== */
.ranma-card {
  background: #fff;
  border: 3px solid var(--ranma-gold);
  border-radius: 16px;
  padding: 2.2rem 1.2rem 1.5rem;
  margin: 1.2rem auto 0;
  max-width: 640px;
  position: relative;
  overflow: visible;
}

/* ===== 雲装飾 ===== */
.ranma-cloud {
  position: absolute;
  width: 60px;
  height: 40px;
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
}

.ranma-cloud--left { left: -40px; }
.ranma-cloud--right { right: -40px; }

/* ===== セクション見出し（ピンクのタブ） ===== */
.ranma-section-title {
  position: absolute;
  top: -1.4rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ranma-pink);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 0.35rem 1.6rem;
  border: 3px solid var(--ranma-gold);
  border-radius: 10px;
  box-shadow: 0 3px 0 var(--ranma-gold);
  text-align: center;
  white-space: nowrap;
  letter-spacing: 0.1em;
  margin: 0;
}

.ranma-section-title::before,
.ranma-section-title::after {
  content: none;
}

/* ===== 緑の案内ボックス ===== */
.ranma-lead-box {
  background: var(--ranma-teal);
  color: #fff;
  border: 4px solid var(--ranma-teal-light);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.7;
  text-align: center;
  padding: 0.8rem 1rem;
  margin: 0.5rem 0 1.5rem;
}

/* ===== 小見出し（ピンク文字＋下線） ===== */
.ranma-sub {
  color: var(--ranma-pink);
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.1em;
  border-bottom: 2px solid var(--ranma-pink);
  padding-bottom: 0.2rem;
  margin: 0 0 1rem;
}

/* ===== 場所の写真・説明 ===== */
.ranma-place {
  margin: 0 0 0.8rem;
}

.ranma-place img {
  display: block;
  width: 100%;
  height: auto;
}

.ranma-text {
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--ranma-text);
  margin: 0 0 1rem;
}

/* ===== 緑の枠ボタン（〜はこちら▶） ===== */
.ranma-btn-wrap {
  text-align: center;
  margin: 0 0 2rem;
}

.ranma-btn {
  display: inline-block;
  color: var(--ranma-teal) !important;
  background: #fff;
  border: 2px solid var(--ranma-teal);
  border-radius: 999px;
  padding: 0.25rem 1.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: background 0.2s, color 0.2s;
}

.ranma-btn::after {
  content: ' ▶';
  font-size: 0.75em;
}

.ranma-btn:hover {
  background: var(--ranma-teal);
  color: #fff !important;
}

/* ===== 配布期間ブロック（中華柄の角飾り） ===== */
.ranma-term {
  position: relative;
  text-align: center;
  padding: 1.2rem 1.4rem 1.4rem;
  margin: 0 0 1.5rem;
}

.ranma-corner {
  position: absolute;
  width: 56px;
  height: 56px;
  pointer-events: none;
}

.ranma-corner--tl { top: 0; left: 0; }
.ranma-corner--tr { top: 0; right: 0; }
.ranma-corner--bl { bottom: 0; left: 0; }
.ranma-corner--br { bottom: 0; right: 0; }

.ranma-term-label {
  display: inline-block;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.1rem 1rem;
  border-radius: 999px;
  margin-bottom: 0.3rem;
}

.ranma-term-chara {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ranma-text);
  margin: 0 0 0.4rem;
}

.ranma-term-date {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ranma-text);
  border-radius: 999px;
  padding: 0.2rem 0.8rem;
  margin: 0 0 0.9rem;
}

.ranma-term--pink .ranma-term-label { background: var(--ranma-pink); }
.ranma-term--pink .ranma-term-date  { background: var(--ranma-pink-light); }
.ranma-term--teal .ranma-term-label { background: var(--ranma-teal); }
.ranma-term--teal .ranma-term-date  { background: var(--ranma-teal-light); }

/* ===== 画像の並び（3列・4列） ===== */
.ranma-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.ranma-items--3 { grid-template-columns: repeat(3, 1fr); }
.ranma-items--4 { grid-template-columns: repeat(4, 1fr); }

.ranma-items img {
  display: block;
  width: 100%;
  height: auto;
}

/* ===== 点線の区切り ===== */
.ranma-dots {
  border: 0;
  border-top: 3px dotted var(--ranma-gold);
  margin: 1.5rem 0;
  opacity: 1;
}

/* ===== 注意事項ボックス ===== */
.ranma-notes {
  background: var(--ranma-cream);
  border-radius: 10px;
  padding: 1rem 1.2rem;
}

.ranma-notes h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ranma-text);
  border-left: 5px solid var(--ranma-pink);
  padding-left: 0.5rem;
  margin: 0 0 0.6rem;
  line-height: 1.3;
}

.ranma-notes ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ranma-notes li {
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--ranma-text);
  padding-left: 1em;
  text-indent: -1em;
}

.ranma-notes li::before {
  content: '・';
}

/* ===== テキストボックス（未移行セクション用） ===== */
.ranma-content-box {
  background: #fff;
  border: none;
  border-radius: 0;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  line-height: 2;
  color: var(--ranma-text);
}

/* ===== TOPへ戻るボタン ===== */
.ranma-top-btn {
  position: absolute;
  bottom: -50px;
  right: -40px;
  width: 80px;
  cursor: pointer;
  transition: transform 0.2s;
  z-index: 10;
  display: block;
}

@media (max-width: 767.98px) {
  .ranma-top-btn {
    right: -10px;
  }
}

.ranma-top-btn img {
  width: 100%;
  height: auto;
  display: block;
}

.ranma-top-btn:hover {
  transform: translateY(-4px);
}

/* ===== フッタービジュアル ===== */
.ranma-footer-visual {
  margin-top: 0;
  background: #efe8a8;
  padding-top: 30px;
  position: relative;
}

.ranma-footer-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.ranma-logo {
  display: block;
  width: 60%;
  max-width: 300px;
  margin: 0 auto;
}

/* ===== フッター情報 ===== */
.ranma-footer-info {
  background: #efe8a8;
  padding: calc(1.5rem - 20px) 1.5rem 1.5rem;
  text-align: center;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.ranma-footer-info a {
  display: inline-block;
  color: #333;
  font-size: 1.35rem;
  text-decoration: underline;
  margin-bottom: 0.5rem;
}

.ranma-copyright {
  font-size: 0.8rem;
  color: #555;
  margin: 0;
}

/* ===== 専用フッター ===== */
.ranma-site-footer { margin: 0; }

.ranma-site-footer img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== このページ専用の非表示・余白リセット ===== */
:is(.postid-122515, .postid-122830) .revealItem,
:is(.postid-122515, .postid-122830) .page-top,
:is(.postid-122515, .postid-122830) #contact,
:is(.postid-122515, .postid-122830) .partner-section {
  display: none !important;
}

:is(.postid-122515, .postid-122830) .site-main,
:is(.postid-122515, .postid-122830) #main,
:is(.postid-122515, .postid-122830) #single-wrapper,
:is(.postid-122515, .postid-122830) #wrapper-footer {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

:is(.postid-122515, .postid-122830) .site-main > .section:last-of-type {
  display: none !important;
}

:is(.postid-122515, .postid-122830) footer#colophon .row.justify-content-center.justify-content-md-start {
  display: none !important;
}

:is(.postid-122515, .postid-122830) footer#colophon {
  margin-top: 0 !important;
  padding-top: 15px !important;
  padding-bottom: 15px !important;
}

:is(.postid-122515, .postid-122830) #colophon .copy-right {
  margin-bottom: 20px;
}

:is(.postid-122515, .postid-122830) footer#colophon::before,
:is(.postid-122515, .postid-122830) footer#colophon::after {
  content: '';
  display: block;
  width: 100%;
  height: 21px;
  background-image: url('https://my-spa.jp/stg/wp-content/uploads/2026/09/%E4%B8%AD%E8%8F%AF%E6%9F%8402.png');
  background-size: auto 21px;
  background-repeat: repeat-x;
}

/* ===== スマホ対応 ===== */
@media (max-width: 480px) {
  .ranma-section-title { font-size: 1.15rem; }
  .ranma-term { padding: 1rem 1rem 1.2rem; }
  .ranma-corner { width: 44px; height: 44px; }
  .ranma-term-date { font-size: 0.78rem; }
}

/* ===== PC表示時に雲が見切れないよう余白追加 ===== */
@media (min-width: 768px) {
  .ranma-section {
    padding-left: 4rem;
    padding-right: 4rem;
  }
  .ranma-card {
    padding: 2.5rem 2.5rem 2rem;
  }
}

/* ===== v4 追記：飲食キャンペーン ===== */
:is(.postid-122515, .postid-122830) .ranma-place-row {
  margin: 0 0 1.6rem;
}
:is(.postid-122515, .postid-122830) .ranma-place-row .ranma-place {
  margin-bottom: .8rem;
}
:is(.postid-122515, .postid-122830) .ranma-place-name {
  margin: 0 0 .4rem;
  color: var(--ranma-teal, #00a199);
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.5;
  text-align: center;
}
:is(.postid-122515, .postid-122830) .ranma-place-body .ranma-text {
  margin-bottom: .8rem;
}

:is(.postid-122515, .postid-122830) .ranma-menu {
  display: grid;
  gap: .8rem;
  margin: 0 0 1.6rem;
}
:is(.postid-122515, .postid-122830) .ranma-menu figure {
  margin: 0;
}
:is(.postid-122515, .postid-122830) .ranma-menu img {
  display: block;
  width: 100%;
  height: auto;
}
:is(.postid-122515, .postid-122830) .ranma-menu--narrow {
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  :is(.postid-122515, .postid-122830) .ranma-place-row {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 1.2rem;
    align-items: center;
  }
  :is(.postid-122515, .postid-122830) .ranma-place-row .ranma-place {
    margin: 0;
  }
  :is(.postid-122515, .postid-122830) .ranma-place-name,
  :is(.postid-122515, .postid-122830) .ranma-place-body .ranma-btn-wrap {
    text-align: left;
  }
  :is(.postid-122515, .postid-122830) .ranma-place-body .ranma-btn-wrap {
    margin-bottom: 0;
  }
}

/* ===== v5 追記：コラボグッズ ===== */
:is(.postid-122515, .postid-122830) .ranma-goods {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
  display: grid;
  gap: 1.2rem;
}
:is(.postid-122515, .postid-122830) .ranma-goods li {
  margin: 0;
  padding: 0 0 .8rem;
  background: #fff;
  border: 2px solid var(--ranma-gold, #ddc984);
  border-radius: 6px;
  overflow: hidden;
  text-align: center;
}
:is(.postid-122515, .postid-122830) .ranma-goods li::before {
  content: none;
}
:is(.postid-122515, .postid-122830) .ranma-goods img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 .6rem;
}
:is(.postid-122515, .postid-122830) .ranma-goods p {
  margin: 0 .6rem;
  line-height: 1.5;
}
:is(.postid-122515, .postid-122830) .ranma-goods-name {
  color: var(--ranma-pink, #e54375);
  font-weight: 700;
  font-size: .9rem;
}
:is(.postid-122515, .postid-122830) .ranma-goods-price {
  font-size: .85rem;
  font-weight: 700;
}
:is(.postid-122515, .postid-122830) .ranma-goods-size {
  font-size: .75rem;
  color: #666;
}

@media (min-width: 768px) {
  :is(.postid-122515, .postid-122830) .ranma-goods {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===== v6 追記：コラボ風呂・装飾 ===== */
:is(.postid-122515, .postid-122830) .ranma-schedule {
  width: 100%;
  margin: 0 0 1.6rem;
  border-collapse: collapse;
  background: #fff;
  font-size: .85rem;
  line-height: 1.5;
}
:is(.postid-122515, .postid-122830) .ranma-schedule th,
:is(.postid-122515, .postid-122830) .ranma-schedule td {
  padding: .6rem .7rem;
  border: 2px solid var(--ranma-teal-light, #c7e5d6);
  vertical-align: middle;
}
:is(.postid-122515, .postid-122830) .ranma-schedule th {
  width: 9em;
  background: var(--ranma-teal, #00a199);
  color: #fff;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

:is(.postid-122515, .postid-122830) .ranma-posters {
  list-style: none;
  padding: 0;
  margin: 0 auto 1.6rem;
  max-width: 520px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
}
:is(.postid-122515, .postid-122830) .ranma-posters li {
  margin: 0;
}
:is(.postid-122515, .postid-122830) .ranma-posters li::before {
  content: none;
}
:is(.postid-122515, .postid-122830) .ranma-posters img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 400px) {
  :is(.postid-122515, .postid-122830) .ranma-schedule th,
  :is(.postid-122515, .postid-122830) .ranma-schedule td {
    display: block;
    width: auto;
  }
  :is(.postid-122515, .postid-122830) .ranma-schedule td {
    border-top: 0;
    text-align: center;
  }
}

/* ===== v7 追記：注意事項 ===== */
:is(.postid-122515, .postid-122830) .ranma-notes--main {
  margin-bottom: 0;
}
:is(.postid-122515, .postid-122830) .ranma-notes--main li {
  margin-bottom: .5rem;
  font-size: .85rem;
  line-height: 1.7;
}
:is(.postid-122515, .postid-122830) .ranma-notes--main li:last-child {
  margin-bottom: 0;
}

/* ===== v8 追記：注意事項セクションを白背景に ===== */
:is(.postid-122515, .postid-122830) .ranma-notes--main {
  background: #fff;
}

/* ===== v10 追記：フード・ドリンクメニュー ===== */
:is(.postid-122515, .postid-122830) .ranma-menu-grid {
  list-style: none;
  padding: 0;
  margin: 0 0 1.8rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem 1rem;
}
:is(.postid-122515, .postid-122830) .ranma-menu-grid li {
  margin: 0;
  text-align: center;
}
:is(.postid-122515, .postid-122830) .ranma-menu-grid li::before {
  content: none;
}
:is(.postid-122515, .postid-122830) .ranma-menu-grid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  margin: 0 0 .5rem;
}
:is(.postid-122515, .postid-122830) .ranma-menu-name {
  margin: 0;
  font-size: .9rem;
  line-height: 1.4;
}
:is(.postid-122515, .postid-122830) .ranma-menu-price {
  margin: 0;
  font-size: .9rem;
  line-height: 1.4;
}

:is(.postid-122515, .postid-122830) .ranma-menu-grid--drink img {
  aspect-ratio: auto;
  object-fit: contain;
  width: 70%;
  margin: 0 auto .5rem;
  border-radius: 0;
}

/* ===== v11 追記：期間ボックスのラベル・キャラ名を約20%拡大 ===== */
:is(.postid-122515, .postid-122830) .ranma-term-label {
  font-size: .96rem;
}
:is(.postid-122515, .postid-122830) .ranma-term-chara {
  font-size: 1.14rem;
}

/* ===== v12 追記：販売時間・入浴剤投入時間を中央寄せ／全セクションの雲 ===== */
:is(.postid-122515, .postid-122830) #goods .ranma-place-body .ranma-text,
:is(.postid-122515, .postid-122830) #ofuro .ranma-place-body .ranma-text {
  text-align: center;
}

:is(.postid-122515, .postid-122830) .ranma-card > .ranma-cloud:nth-child(1) {
  top: 15%;
  background-image: url("../../../../uploads/2026/09/雲01.png");
}
:is(.postid-122515, .postid-122830) .ranma-card > .ranma-cloud:nth-child(2) {
  top: 60%;
  background-image: url("../../../../uploads/2026/09/雲02.png");
}
:is(.postid-122515, .postid-122830) .ranma-card > .ranma-cloud:nth-child(3) {
  top: 30%;
  background-image: url("../../../../uploads/2026/09/雲02.png");
}
:is(.postid-122515, .postid-122830) .ranma-card > .ranma-cloud:nth-child(4) {
  top: 75%;
  background-image: url("../../../../uploads/2026/09/雲01.png");
}

/* ===== v13 追記：雲を各箱8個に（左右4個ずつ）。v12の雲指定を上書き ===== */
:is(.postid-122515, .postid-122830) .ranma-card > .ranma-cloud:nth-child(1) {
  top: 8%;
  background-image: url("../../../../uploads/2026/09/雲01.png");
}
:is(.postid-122515, .postid-122830) .ranma-card > .ranma-cloud:nth-child(2) {
  top: 54%;
  background-image: url("../../../../uploads/2026/09/雲02.png");
}
:is(.postid-122515, .postid-122830) .ranma-card > .ranma-cloud:nth-child(3) {
  top: 20%;
  background-image: url("../../../../uploads/2026/09/雲02.png");
}
:is(.postid-122515, .postid-122830) .ranma-card > .ranma-cloud:nth-child(4) {
  top: 66%;
  background-image: url("../../../../uploads/2026/09/雲01.png");
}
:is(.postid-122515, .postid-122830) .ranma-card > .ranma-cloud:nth-child(5) {
  top: 31%;
  background-image: url("../../../../uploads/2026/09/雲02.png");
}
:is(.postid-122515, .postid-122830) .ranma-card > .ranma-cloud:nth-child(6) {
  top: 77%;
  background-image: url("../../../../uploads/2026/09/雲01.png");
}
:is(.postid-122515, .postid-122830) .ranma-card > .ranma-cloud:nth-child(7) {
  top: 43%;
  background-image: url("../../../../uploads/2026/09/雲01.png");
}
:is(.postid-122515, .postid-122830) .ranma-card > .ranma-cloud:nth-child(8) {
  top: 89%;
  background-image: url("../../../../uploads/2026/09/雲02.png");
}

/* ===== v14 追記：雲を一定間隔で配置（位置はページ内スクリプトで計算） ===== */
:is(.postid-122515, .postid-122830) .ranma-card > .ranma-cloud.ranma-cloud--a {
  background-image: url("../../../../uploads/2026/09/雲01.png");
}
:is(.postid-122515, .postid-122830) .ranma-card > .ranma-cloud.ranma-cloud--b {
  background-image: url("../../../../uploads/2026/09/雲02.png");
}

/* ===== v15 追記：リード文の金の飾り枠を下側にも（上の画像を上下反転） ===== */
:is(.postid-122515, .postid-122830) .ranma-lead-corner--bl,
:is(.postid-122515, .postid-122830) .ranma-lead-corner--br {
  top: auto;
  bottom: 0;
  transform: scaleY(-1);
}
:is(.postid-122515, .postid-122830) .ranma-lead-corner--bl {
  left: 0;
}
:is(.postid-122515, .postid-122830) .ranma-lead-corner--br {
  right: 0;
}

/* ===== v16 追記：コラボ装飾のリード文を5%小さく ===== */
:is(.postid-122515, .postid-122830) #soushoku .ranma-lead-box {
  font-size: .9025rem;
}

/* ===== v18 追記：テストページ(122830)のみ PC幅で入館特典以下の箱をKVと同じ幅に ===== */
@media (min-width: 768px) {
  .postid-122830 .ranma-section {
    padding-left: 0;
    padding-right: 0;
    overflow: visible;
  }
  .postid-122830 .ranma-section .ranma-card {
    max-width: none;
  }
}

/* ===== v19 追記：テストページ(122830)のみ ナビで移動したとき到着した箱がふわっと跳ねる ===== */
@keyframes ranma-arrive {
  0%   { transform: translateY(0); }
  30%  { transform: translateY(-16px); }
  55%  { transform: translateY(0); }
  72%  { transform: translateY(-6px); }
  86%  { transform: translateY(0); }
  93%  { transform: translateY(-2px); }
  100% { transform: translateY(0); }
}
@keyframes ranma-title-pop {
  0%   { transform: translateX(-50%) scale(1); }
  40%  { transform: translateX(-50%) scale(1.18); }
  70%  { transform: translateX(-50%) scale(.96); }
  100% { transform: translateX(-50%) scale(1); }
}
.postid-122830 .ranma-card.is-arrive {
  animation: ranma-arrive .9s ease-out;
}
.postid-122830 .ranma-card.is-arrive > .ranma-section-title {
  animation: ranma-title-pop .6s .1s ease-out both;
}
@media (prefers-reduced-motion: reduce) {
  .postid-122830 .ranma-card.is-arrive,
  .postid-122830 .ranma-card.is-arrive > .ranma-section-title {
    animation: none;
  }
}
