/*!
 * style-review_2607.css — 体験談ページ（archive / single）スタイル
 * header_2607 + footer_2607 と組み合わせて使用
 *
 * ブレークポイント（Bootstrap 準拠）: sm ≥576px / md ≥768px / lg ≥992px / xl ≥1200px
 * 各セクション直後に max-width: 1200px → 992px → 768px → 576px の順で @media を配置
 */

/* ─────────────────────────────────────
   Variables
───────────────────────────────────── */
:root {
  --rv-teal:        #1398bf;
  --rv-teal-dark:   #0d6a85;
  --rv-orange:      #ff8c00;
  --rv-text:        #231816;
  --rv-text-mid:    #333;
  --rv-gray:        #757575;
  --rv-bg:          #f5f7f8;
  --rv-white:       #fff;
  --rv-shadow:      0 2px 6px rgba(0,0,0,0.12);
  --rv-radius-card: 12px;
  --rv-radius-tag:  99px;
  --rv-max:         1200px;

  /* ─ Fluid font-size tokens ─────────────────────────
     命名: --rv-fs-{PC値}  /  範囲: SP(375px) → PC(1280px)
     clamp 算出式: slope = (PC-SP)/905, intercept = SP - slope*375  */
  --rv-fs-18: clamp(16px, 0.22vw + 15.17px, 18px); /* 18→16 */
  --rv-fs-20: clamp(16px, 0.44vw + 14.34px, 20px); /* 20→16 */
  --rv-fs-24: clamp(20px, 0.44vw + 18.34px, 24px); /* 24→20 */
  --rv-fs-28: clamp(22px, 0.66vw + 19.51px, 28px); /* 28→22 */
  --rv-fs-32: clamp(22px, 1.10vw + 17.86px, 32px); /* 32→22 */
  --rv-fs-36: clamp(22px, 1.55vw + 16.20px, 36px); /* 36→22 */
  --rv-fs-38: clamp(28px, 1.10vw + 23.86px, 38px); /* 38→28 */
  --rv-fs-40: clamp(28px, 1.33vw + 23.03px, 40px); /* 40→28 */
  --rv-fs-58: clamp(36px, 2.43vw + 26.88px, 58px); /* 58→36 */
  --rv-fs-90: clamp(54px, 3.98vw + 39.08px, 90px); /* 90→54 */

  /* ─ Fluid spacing tokens ────────────────────────────
     --rv-sp-40a: 40→24 (セクション縦余白)
     --rv-sp-40b: 40→28 (カード内縦余白)
     --rv-sp-40c: 40→20 (2倍差・水平余白用)          */
  --rv-sp-20:  clamp(16px, 0.44vw + 14.34px, 20px); /* 20→16 */
  --rv-sp-30:  clamp(24px, 0.66vw + 21.51px, 30px); /* 30→24 */
  --rv-sp-32:  clamp(20px, 1.33vw + 15.03px, 32px); /* 32→20 */
  --rv-sp-40a: clamp(24px, 1.66vw + 17.79px, 40px); /* 40→24 */
  --rv-sp-40b: clamp(28px, 1.33vw + 23.03px, 40px); /* 40→28 */
  --rv-sp-40c: clamp(20px, 2.21vw + 11.71px, 40px); /* 40→20 */
  --rv-sp-80:  clamp(48px, 3.54vw + 34.74px, 80px); /* 80→48 */

  /* 体験談シングル：国タグ幅（最大8文字「ニュージーランド」+ 左右padding 12px×2） */
  --rv-single-country-tag-w: calc(8em + 24px);
}

body.tabiken-2607 .rv-hero--archive {
  width: 100%;
  max-width: none;
}

body.tabiken-2607 .rv-filter-section {
  width: 100%;
  max-width: none;
}

body.tabiken-2607 .rv-page-bg {
  width: 100%;
  max-width: none;
}

/* ─────────────────────────────────────
   Page Background（フィルター〜フッター直前）
───────────────────────────────────── */
.rv-page-bg {
  background-color: #f1f1f1;
  background-image:
    linear-gradient(rgba(241, 241, 241, 0.35), rgba(241, 241, 241, 0.35)),
    url(../img/bg_pattern.svg);
  background-repeat: no-repeat, repeat;
  background-size: 100% 100%, 10px 10px;
}

/* ─────────────────────────────────────
   Filter
───────────────────────────────────── */
.rv-filter-section {
  padding: 24px 0 0;
}

.rv-filter-section__inner {
  max-width: var(--rv-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* パンくず */
.rv-breadcrumb {
  margin-bottom: 16px;
}

.rv-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  font-weight: 500;
  min-width: 0;
}

.rv-breadcrumb__item {
  color: var(--rv-teal);
}

.rv-breadcrumb__item + .rv-breadcrumb__item::before {
  content: "/";
  margin-right: 8px;
  color: var(--rv-teal);
}

.rv-breadcrumb__item a {
  color: var(--rv-teal);
  text-decoration: none;
}

.rv-breadcrumb__item a:hover {
  text-decoration: underline;
}

.rv-breadcrumb__item--current {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  flex: 1;
}

/* フィルターボックス */
.rv-filter {
  margin-bottom: 32px;
}

.rv-filter__box {
  border-radius: 8px;
  border: 1px solid #FFF;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.30) 40.09%, rgba(219, 219, 219, 0.30) 80.83%), #FFF;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.25);
  padding: var(--rv-sp-20) var(--rv-sp-20);
}

/* トグルボタン */
.rv-filter__toggle {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.rv-filter__toggle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.rv-filter__toggle-icon img {
  display: block;
  width: 48px;
  height: 48px;
}

.rv-filter__toggle-text {
  flex: 1;
  font-size: var(--rv-fs-20);
  font-weight: 700;
  color: var(--rv-text-mid);
  letter-spacing: 0.02em;
}

.rv-filter__toggle-arrow {
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 9px solid var(--rv-teal);
  transition: transform 0.25s;
  flex-shrink: 0;
}

.rv-filter.is-open .rv-filter__toggle-arrow {
  transform: rotate(180deg);
}

/* パネル */
.rv-filter__panel {
  display: none;
}

.rv-filter.is-open .rv-filter__panel {
  display: flex;
  flex-direction: column;
  gap: var(--rv-sp-30);
  margin-top: 30px;
  padding-top: var(--rv-sp-30);
  border-top: 1px solid #e0e0e0;
}

/* フィルター行 */
.rv-filter__row {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: 0;
}

.rv-filter__row-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--rv-text);
  min-width: 80px;
  padding-top: 8px;
  flex-shrink: 0;
}

.rv-filter__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 10px;
  flex: 1;
}

/* タグボタン */
.rv-filter__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  padding: 8px 20px;
  border: 1px solid var(--rv-teal);
  border-radius: var(--rv-radius-tag);
  font-size: 14px;
  font-weight: 500;
  color: var(--rv-teal);
  background: var(--rv-white);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
  line-height: 1.4;
}

.rv-filter__tag:hover,
.rv-filter__tag.is-active {
  background: var(--rv-teal);
  color: var(--rv-white);
}

/* アクションボタン */
.rv-filter__actions {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 24px;
  padding: var(--rv-sp-20) 0;
  border-top: 1px solid #e0e0e0;
  background: none;
}

.rv-filter__btn {
  flex: 1 1 0;
  max-width: 380px;
  min-width: 0;
  padding: 4px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: opacity 0.2s;
  box-sizing: border-box;
  background-color: var(--rv-btn-color, var(--rv-teal));
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.rv-filter__btn:hover {
  opacity: 0.85;
}

.rv-filter__btn-surface {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 12px 20px;
  border-radius: 8px;
  border: 1px solid #fff;
  box-sizing: border-box;
  background: var(--rv-btn-color, var(--rv-teal));
}

.rv-filter__btn-text {
  width: 100%;
  font-size: var(--rv-fs-18);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-align: center;
}

.rv-filter__btn-arrow {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rv-filter__btn-arrow svg {
  display: block;
  width: 7px;
  height: auto;
}

.rv-filter__btn--clear {
  --rv-btn-color: var(--rv-teal);
   background: linear-gradient(180deg, rgba(255, 255, 255, 0.30) 40.09%, rgba(219, 219, 219, 0.30) 80.83%) #1398BF;

}

.rv-filter__btn--search {
  --rv-btn-color: var(--rv-orange);
     background: linear-gradient(180deg, rgba(255, 255, 255, 0.30) 40.09%, rgba(219, 219, 219, 0.30) 80.83%) #FF8C00;

}

.rv-filter__btn:disabled {
  cursor: wait;
  opacity: 0.85;
}

@media (max-width: 768px) {
  .rv-filter__row {
    flex-direction: column;
    gap: 10px;
    padding: 0;
  }
  .rv-filter__row-label {
    min-width: unset;
    padding-top: 0;
  }
  .rv-filter__toggle {
    padding: 0;
    gap: 12px;
  }
  .rv-filter__toggle-icon,
  .rv-filter__toggle-icon img {
    width: 36px;
    height: 36px;
  }
  .rv-filter__actions {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    gap: 12px;
  }
  .rv-filter__btn {
    max-width: none;
    width: 100%;
  }
  .rv-filter__btn-surface {
    min-height: 50px;
  }
}

/* ─────────────────────────────────────
   Hero
───────────────────────────────────── */
.rv-hero {
  position: relative;
  height: 400px;
  overflow: hidden;
  background-color: #e07700;
}

/* アーカイブ：カバー画像ヒーロー */
.rv-hero--archive {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  overflow: visible;
  background-color: #f5b800;
  line-height: 0;
}

.rv-hero--archive .rv-hero__cover {
  display: block;
  width: 100%;
  line-height: 0;
}

.rv-hero--archive .rv-hero__cover img {
  display: block;
  width: 100%;
  height: auto;
}

.rv-hero--archive .rv-hero__badges {
  position: absolute;
  z-index: 2;
  right: clamp(16px, 2.8vw, 48px);
  left: auto;
  bottom: clamp(4px, 0.9vw, 12px);
  line-height: 0;
  pointer-events: none;
}

.rv-hero--archive .rv-hero__badges img {
  display: block;
  width: clamp(300px, 30vw, 440px);
  height: auto;
}

@media (max-width: 1024px) {
  .rv-hero--archive .rv-hero__badges {
    right: auto;
    left: clamp(12px, 4vw, 20px);
    bottom: clamp(14px, 3.5vw, 28px);
  }

  .rv-hero--archive .rv-hero__badges img {
    width: clamp(200px, 58vw, 320px);
  }
}

/* 旧カバー画像1枚表示（未使用・後方互換） */
.rv-hero--cover {
  height: auto;
  overflow: visible;
  background: none;
}
.rv-hero--cover .rv-hero__cover {
  display: block;
  width: 100%;
  line-height: 0;
}
.rv-hero--cover .rv-hero__cover img {
  display: block;
  width: 100%;
  height: auto;
}

.rv-hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 183%;
  top: -29%;
  object-fit: cover;
  opacity: 0.4;
}

.rv-hero__overlay {
  position: absolute;
  inset: 0;
  background: #ff8c00;
  mix-blend-mode: hard-light;
}

.rv-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--rv-max);
  margin: 0 auto;
  padding: 0 120px;
  height: 100%;
}

/* テキスト（左側） */
.rv-hero__text {
  position: absolute;
  left: 120px;
  top: 50px;
}

.rv-hero__label {
  display: inline-block;
  background: var(--rv-teal);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 6px 28px;
  border-radius: 8px;
  transform: skewX(-10deg);
  margin-bottom: 18px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.rv-hero__service {
  font-size: var(--rv-fs-58);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin: 0;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.25);
  letter-spacing: 0.02em;
}

.rv-hero__title {
  font-size: var(--rv-fs-90);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin: 0;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.25);
  letter-spacing: 0.02em;
}

/* 写真エリア（右側・デスクトップのみ） */
.rv-hero__photos {
  position: absolute;
  right: 100px;
  top: 15px;
  height: 370px;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: skewX(-10deg);
}

.rv-hero__photo {
  width: 210px;
  height: 355px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  background: #c4c4c4;
  flex-shrink: 0;
}

.rv-hero__photo img {
  width: calc(100% + 80px);
  height: 100%;
  margin-left: -40px;
  object-fit: cover;
  transform: skewX(10deg);
}

/* 実績バッジ（右下） */
.rv-hero__stats {
  position: absolute;
  right: 120px;
  bottom: 12px;
  display: flex;
  gap: 10px;
  z-index: 2;
}

.rv-hero__stat {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.rv-hero__stat-label {
  font-size: 10px;
  font-weight: 500;
  color: #3b3b3b;
  line-height: 1.3;
  margin-bottom: 2px;
}

.rv-hero__stat-num {
  font-size: var(--rv-fs-38);
  font-weight: 900;
  background: linear-gradient(159deg, #2090b4 0%, #0d6a85 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.rv-hero__stat-unit {
  font-size: 11px;
  font-weight: 700;
  background: linear-gradient(130deg, #2090b4 0%, #0d6a85 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

/* シングルページ用ヒーロー変形 */
.rv-hero--single .rv-hero__text {
  max-width: 720px;
}
.rv-hero--single .rv-hero__service {
  font-size: var(--rv-fs-36);
  line-height: 1.4;
  letter-spacing: 0.01em;
}
.rv-hero--single .rv-hero__thumbnail {
  position: absolute;
  right: 100px;
  top: 15px;
  width: 320px;
  height: 370px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
  transform: skewX(-10deg);
}
.rv-hero--single .rv-hero__thumbnail img {
  width: calc(100% + 80px);
  height: 100%;
  margin-left: -40px;
  object-fit: cover;
  transform: skewX(10deg);
}
@media (max-width: 992px) {
  .rv-hero--single .rv-hero__thumbnail {
    display: none;
  }
}

@media (max-width: 768px) {
  .rv-hero--archive .rv-hero__badges {
    left: 12px;
    bottom: clamp(12px, 3vw, 22px);
  }

  .rv-hero--archive .rv-hero__badges img {
    width: clamp(180px, 62vw, 280px);
  }

  .rv-hero:not(.rv-hero--archive):not(.rv-hero--cover) {
    height: auto;
    min-height: 220px;
    padding-bottom: 20px;
  }
  .rv-hero__inner {
    padding: 0 20px;
  }
  .rv-hero__text {
    left: 20px;
    top: 30px;
  }
  .rv-hero__photos {
    display: none;
  }
  .rv-hero__stats {
    right: 20px;
    bottom: 10px;
  }
  .rv-hero__stat {
    width: 90px;
    height: 90px;
  }
  .rv-hero__stat-label {
    font-size: 9px;
  }
}

/* ─────────────────────────────────────
   Layout（アーカイブ メイン＋サイドバー）
───────────────────────────────────── */
.rv-layout {
  padding: 0 0 64px;
}

.rv-layout__inner {
  max-width: var(--rv-max);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

@media (max-width: 992px) {
  .rv-layout__inner {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ─────────────────────────────────────
   Content（記事リスト側）
───────────────────────────────────── */
.rv-content {
  flex: 1;
  min-width: 0;
}

.rv-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.rv-section-head__bar {
  width: 4px;
  height: 40px;
  background: var(--rv-teal);
  border-radius: 4px;
  flex-shrink: 0;
}

.rv-section-head__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--rv-text-mid);
  margin: 0;
}

.rv-filter-result {
  margin: -8px 0 20px;
  padding: 12px 16px;
  border-radius: 6px;
  background: var(--rv-teal);
  color: var(--rv-white);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.rv-filter-result[hidden] {
  display: none;
}

/* ─────────────────────────────────────
   Card List
───────────────────────────────────── */
.rv-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rv-list__item {
  display: block;
}

.rv-list__item.is-hidden {
  display: none;
}

.rv-list__item > a {
  text-decoration: none;
  display: block;
}

/* ─────────────────────────────────────
   Card（横型）
───────────────────────────────────── */
.rv-card {
  background: var(--rv-white);
  border-radius: var(--rv-radius-card);
  box-shadow: var(--rv-shadow);
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.rv-card:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.14);
  transform: translateY(-1px);
}

.rv-card__img-wrap {
  position: relative;
  flex-shrink: 0;
}

.rv-card__img {
  width: 280px;
  height: 180px;
  border-radius: 8px;
  overflow: hidden;
  background: #ddd;
}

.rv-card__area-tag {
  position: absolute;
  bottom: 8px;
  left: 8px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  padding: 4px 12px;
  background: var(--rv-white);
  color: var(--rv-teal);
  border: 1.5px solid var(--rv-teal);
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--rv-radius-tag);
  white-space: nowrap;
  line-height: 1.4;
}

.rv-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rv-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rv-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--rv-text);
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rv-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rv-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border-radius: var(--rv-radius-tag);
  font-size: 13px;
  font-weight: 400;
  background: var(--rv-teal);
  color: var(--rv-white);
  white-space: nowrap;
  line-height: 1.4;
}

.rv-tag--outline {
  background: var(--rv-white);
  color: var(--rv-teal);
  border: 1px solid var(--rv-teal);
}

.rv-card__meta {
  font-size: 13px;
  color: var(--rv-gray);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rv-card__meta span + span::before {
  content: "／";
  margin-right: 6px;
  color: #ccc;
}

.rv-card__excerpt {
  font-size: 14px;
  color: var(--rv-text);
  line-height: 1.75;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rv-card__more {
  font-size: 13px;
  color: var(--rv-gray);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.rv-card__more::after {
  content: "›";
  font-size: 15px;
}

@media (max-width: 768px) {
  .rv-card {
    flex-direction: column;
    padding: 20px 16px;
  }
  .rv-card__img-wrap {
    width: 100%;
  }
  .rv-card__img {
    width: 100%;
    height: 200px;
    border-radius: 8px 8px 0 0;
  }
}

/* ─────────────────────────────────────
   Sidebar
───────────────────────────────────── */
.rv-sidebar {
  width: 276px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 20px;
}

/* バナー */
.rv-sidebar__banner {
  display: block;
  border-radius: var(--rv-radius-card);
  overflow: hidden;
  box-shadow: var(--rv-shadow);
  line-height: 0;
  text-decoration: none;
  transition: opacity 0.2s;
}

.rv-sidebar__banner:hover {
  opacity: 0.9;
}

.rv-sidebar__banner img {
  display: block;
  width: 100%;
  height: auto;
}

/* サイドバー記事リスト（おすすめ / ランキング共通） */
.rv-sidebar__section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rv-section-head--sidebar {
  margin-bottom: 0;
}

.rv-section-head--sidebar .rv-section-head__title {
  font-size: 20px;
}

.rv-section-head__title--with-flag {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rv-section-head__flag {
  flex-shrink: 0;
  height: 24px;
  width: auto;
  max-width: 96px;
  display: block;
}

.rv-sidebar__country-flag-spacer {
  display: block;
  width: 30px;
  flex-shrink: 0;
}

.rv-sidebar__country-prime-icon {
  display: block;
  height: 22px;
  width: auto;
}

.rv-sidebar__post-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--rv-white);
  border-radius: var(--rv-radius-card);
  box-shadow: var(--rv-shadow);
  overflow: hidden;
}

.rv-sidebar__post-item {
  border-bottom: 1px solid #e8e8e8;
}

.rv-sidebar__post-item:last-child {
  border-bottom: none;
}

.rv-sidebar__post-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  text-decoration: none;
  transition: background 0.15s;
}

.rv-sidebar__post-link:hover {
  background: #fafafa;
}

.rv-sidebar__post-thumb {
  position: relative;
  width: 100px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: visible;
}

.rv-sidebar__post-thumb > img:not(.rv-sidebar__post-badge) {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.rv-sidebar__post-badge {
  position: absolute;
  top: -6px;
  left: -8px;
  width: 32px;
  height: auto;
  z-index: 1;
  display: block;
}

.rv-sidebar__post-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 72px;
}

.rv-sidebar__post-title {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--rv-text);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rv-sidebar__post-more {
  margin-top: auto;
  align-self: flex-end;
  font-size: 12px;
  color: var(--rv-gray);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.rv-sidebar__post-more::after {
  content: ">";
  font-size: 11px;
  line-height: 1;
}

/* ランキング 1〜3位：やや大きく */
.rv-sidebar__post-item--rank-1 .rv-sidebar__post-link,
.rv-sidebar__post-item--rank-2 .rv-sidebar__post-link,
.rv-sidebar__post-item--rank-3 .rv-sidebar__post-link {
  padding: 18px;
  gap: 14px;
}

.rv-sidebar__post-item--rank-1 .rv-sidebar__post-thumb,
.rv-sidebar__post-item--rank-2 .rv-sidebar__post-thumb,
.rv-sidebar__post-item--rank-3 .rv-sidebar__post-thumb {
  width: 112px;
  height: 80px;
}

.rv-sidebar__post-item--rank-1 .rv-sidebar__post-body,
.rv-sidebar__post-item--rank-2 .rv-sidebar__post-body,
.rv-sidebar__post-item--rank-3 .rv-sidebar__post-body {
  min-height: 80px;
}

.rv-sidebar__post-item--rank-1 .rv-sidebar__post-title,
.rv-sidebar__post-item--rank-2 .rv-sidebar__post-title,
.rv-sidebar__post-item--rank-3 .rv-sidebar__post-title {
  font-size: 15px;
}

/* ランキング 4〜5位：やや小さく */
.rv-sidebar__post-item--rank-4 .rv-sidebar__post-link,
.rv-sidebar__post-item--rank-5 .rv-sidebar__post-link {
  padding: 12px;
  gap: 10px;
}

.rv-sidebar__post-item--rank-4 .rv-sidebar__post-thumb,
.rv-sidebar__post-item--rank-5 .rv-sidebar__post-thumb {
  width: 84px;
  height: 60px;
}

.rv-sidebar__post-item--rank-4 .rv-sidebar__post-body,
.rv-sidebar__post-item--rank-5 .rv-sidebar__post-body {
  min-height: 60px;
}

.rv-sidebar__post-item--rank-4 .rv-sidebar__post-title,
.rv-sidebar__post-item--rank-5 .rv-sidebar__post-title {
  font-size: 12px;
}

/* サイドCTA（single-review 等で使用） */
.rv-sidebar__cta {
  background: var(--rv-white);
  border-radius: var(--rv-radius-card);
  box-shadow: var(--rv-shadow);
  overflow: hidden;
  text-align: center;
}

.rv-sidebar__cta-head {
  background: var(--rv-teal);
  padding: 14px 16px;
}

.rv-sidebar__cta-heading {
  font-size: 16px;
  font-weight: 700;
  color: var(--rv-white);
  margin: 0;
  line-height: 1.5;
}

.rv-sidebar__cta-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.rv-sidebar__cta-body {
  padding: 16px;
}

.rv-sidebar__cta-btn {
  display: block;
  padding: 12px 16px;
  background: var(--rv-orange);
  color: var(--rv-white);
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--rv-radius-tag);
  text-decoration: none;
  transition: opacity 0.2s;
}

.rv-sidebar__cta-btn:hover { opacity: 0.85; }

/* サイドTabikenPrime */
.rv-sidebar__prime {
  background: var(--rv-white);
  border-radius: var(--rv-radius-card);
  box-shadow: var(--rv-shadow);
  overflow: hidden;
}

.rv-sidebar__prime-img {
  width: 100%;
  display: block;
}

.rv-sidebar__prime-body {
  padding: 14px;
}

.rv-sidebar__prime-heading {
  font-size: 14px;
  font-weight: 700;
  color: var(--rv-text-mid);
  margin: 0 0 6px;
}

.rv-sidebar__prime-text {
  font-size: 12px;
  color: var(--rv-gray);
  margin: 0 0 12px;
  line-height: 1.6;
}

.rv-sidebar__prime-btn {
  display: block;
  padding: 10px 12px;
  background: var(--rv-teal);
  color: var(--rv-white);
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--rv-radius-tag);
  text-decoration: none;
  text-align: center;
  transition: opacity 0.2s;
}

.rv-sidebar__prime-btn:hover { opacity: 0.85; }

@media (max-width: 992px) {
  .rv-sidebar {
    width: 100%;
    flex-direction: column;
    position: static;
  }
  .rv-sidebar__cta,
  .rv-sidebar__prime {
    flex: 1;
  }
}

/* ─────────────────────────────────────
   Single: プロフィールカード
───────────────────────────────────── */
.rv-profile-section {
  background: var(--rv-bg);
  padding: 40px 0;
}

.rv-profile-section__inner {
  max-width: var(--rv-max);
  margin: 0 auto;
  padding: 0 20px;
}

.rv-profile {
  background: var(--rv-white);
  border-radius: var(--rv-radius-card);
  box-shadow: var(--rv-shadow);
  display: flex;
  gap: 32px;
  padding: var(--rv-sp-32);
}

.rv-profile__img {
  width: 260px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  align-self: flex-start;
  background: #ddd;
  aspect-ratio: 3/4;
}

.rv-profile__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rv-profile__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rv-profile__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--rv-text);
  line-height: 1.45;
  margin: 0;
}

.rv-profile__meta {
  font-size: 14px;
  color: var(--rv-gray);
  margin: 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.rv-profile__meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.rv-profile__meta span + span::before {
  content: "／";
  color: #ccc;
}

.rv-profile__details {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 16px;
  margin: 0;
  font-size: 14px;
}

.rv-profile__details dt {
  font-weight: 700;
  color: var(--rv-text);
  white-space: nowrap;
  padding: 4px 0;
}

.rv-profile__details dd {
  color: var(--rv-text);
  margin: 0;
  padding: 4px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.rv-profile__details dd span {
  display: inline-block;
  background: var(--rv-teal);
  color: var(--rv-white);
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 4px;
}

.rv-profile__details dd a {
  color: var(--rv-teal);
  text-decoration: underline;
}

.rv-profile__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.rv-profile__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--rv-radius-tag);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s;
}

.rv-profile__btn:hover { opacity: 0.85; }

.rv-profile__btn--counseling {
  background: var(--rv-orange);
  color: var(--rv-white);
}

.rv-profile__btn--line {
  background: #06c755;
  color: var(--rv-white);
}

@media (max-width: 768px) {
  .rv-profile {
    flex-direction: column;
  }
  .rv-profile__img {
    width: 100%;
    aspect-ratio: 16/9;
  }
}

/* ─────────────────────────────────────
   Single: 留学スケジュール
───────────────────────────────────── */
.rv-schedule {
  background: #f9f9f9;
  padding: 40px 0;
}

.rv-schedule__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.rv-schedule__img {
  text-align: center;
}

.rv-schedule__img img {
  max-width: 100%;
  height: auto;
}

/* ─────────────────────────────────────
   Single: 記事本文
───────────────────────────────────── */
.rv-article {
  padding: 48px 0;
  background: var(--rv-white);
}

.rv-article__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.rv-article__inner h2 {
  font-size: 24px;
  font-weight: 700;
  border-left: 4px solid var(--rv-teal);
  padding-left: 14px;
  margin: 40px 0 20px;
  color: var(--rv-text-mid);
}

.rv-article__inner h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 32px 0 16px;
  color: var(--rv-text);
}

.rv-article__inner p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--rv-text);
  margin: 0 0 1.4em;
}

.rv-article__inner img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 16px 0;
}

/* ─────────────────────────────────────
   Single: 関連記事（共通ベース）
───────────────────────────────────── */
.rv-related {
  background: var(--rv-bg);
  padding: 48px 0 64px;
}

.rv-related__inner {
  max-width: var(--rv-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ─────────────────────────────────────
   ページネーション
───────────────────────────────────── */
.rv-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 10px;
  margin-top: 32px;
}

.rv-pagination__num,
.rv-pagination__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  text-decoration: none;
  transition: opacity .2s;
}

.rv-pagination__num {
  background: #fff;
  border: 1px solid var(--rv-teal);
  color: var(--rv-teal);
}

a.rv-pagination__num:hover,
.rv-pagination__arrow:hover {
  opacity: .7;
}

.rv-pagination__num--current {
  background: var(--rv-teal);
  border-color: var(--rv-teal);
  color: #fff;
}

.rv-pagination__arrow svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ─────────────────────────────────────
   No Results
───────────────────────────────────── */
.rv-no-results {
  display: none;
}

.rv-no-results.is-visible {
  display: block;
}

.rv-no-results__card {
  background: var(--rv-white);
  border-radius: var(--rv-radius-card);
  box-shadow: var(--rv-shadow);
  padding: 40px 20px;
  text-align: center;
}

.rv-no-results__text {
  margin: 0;
  color: var(--rv-gray);
  font-size: 16px;
  line-height: 1.8;
}

/* ─────────────────────────────────────
   Single: ページトップ（パンくず）
───────────────────────────────────── */
.rv-single-top {
  padding: var(--rv-sp-40a) 0 0;
}

.rv-single-top__inner {
  max-width: var(--rv-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ─────────────────────────────────────
   Single: レイアウト
───────────────────────────────────── */
.rv-layout--single {
  padding: var(--rv-sp-40a) 0 var(--rv-sp-80);
}

.rv-layout--single .rv-layout__inner {
  align-items: flex-start;
}

.rv-single-main {
  flex: 1;
  min-width: 0;
  max-width: 920px;
}

.rv-layout--single .rv-sidebar {
  width: 250px;
}

@media (max-width: 992px) {
  .rv-layout--single .rv-layout__inner {
    align-items: stretch;
  }
  .rv-layout--single .rv-single-main {
    max-width: none;
  }
  .rv-layout--single .rv-sidebar {
    width: 100%;
  }
}

/* ─────────────────────────────────────
   Single: メインカード
───────────────────────────────────── */
.rv-single-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.30) 40.09%, rgba(219, 219, 219, 0.30) 80.83%), #fff;
  border: 1px solid #fff;
  border-radius: 8px;
  box-shadow: 0 2px 1px rgba(0, 0, 0, 0.25);
  padding: var(--rv-sp-40b) var(--rv-sp-40c);
  display: flex;
  flex-direction: column;
  gap: var(--rv-sp-40b);
}

.rv-single-card__country {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.rv-single-card__country-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
  width: var(--rv-single-country-tag-w);
  min-height: 34px;
  padding: 8px 12px;
  background: var(--rv-teal);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  border-radius: var(--rv-radius-tag);
}

.rv-single-card__country-tag--prime {
  padding: 8px 12px;
}

.rv-single-card__country-prime-icon {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 16px;
  filter: brightness(0) invert(1);
}

.rv-single-card__title-wrap {
  display: flex;
  align-items: stretch;
  gap: 20px;
}

.rv-single-card__title-bar {
  width: 10px;
  background: var(--rv-teal);
  border-radius: 10px;
  flex-shrink: 0;
}

.rv-single-card__title {
  margin: 0;
  font-size: var(--rv-fs-32);
  font-weight: 700;
  line-height: 1.4;
  color: var(--rv-text-mid);
}

.rv-single-card__visual {
  background: #fff;
}

.rv-single-card__visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.rv-single-card__cta {
  width: 100%;
  padding: 0;
  box-sizing: border-box;
}

/* ─────────────────────────────────────
   Single: プロフィールボックス
───────────────────────────────────── */
.rv-single-profile {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
  padding: var(--rv-sp-40a) var(--rv-sp-20);
  background: #f2fbff;
  border: 1px solid #fff;
  border-radius: 8px;
  box-shadow: 0 2px 1px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rv-single-profile__head {
  display: flex;
  gap: 16px;
  align-items: flex-end;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rv-gray);
}

.rv-single-profile__name-block {
  flex: 0 0 auto;
  width: 250px;
  max-width: 42%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rv-single-profile__meta-block {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rv-single-profile__name {
  margin: 0;
  display: flex;
  align-items: flex-end;
  gap: 2px;
}

.rv-single-profile__name-main {
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  color: var(--rv-text-mid);
}

.rv-single-profile__name-suffix {
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  color: var(--rv-text-mid);
  padding-bottom: 2px;
}

.rv-single-profile__row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rv-single-profile__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  padding: 6px 14px;
  background: var(--rv-teal);
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  border-radius: 4px;
  flex-shrink: 0;
}

.rv-single-profile__label--wide {
  min-width: 120px;
}

.rv-single-profile__value {
  font-weight: 700;
  color: var(--rv-text-mid);
  line-height: 1;
}

.rv-single-profile__value--age {
  display: inline-flex;
  align-items: flex-end;
  gap: 0;
}

.rv-single-profile__age-num {
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.rv-single-profile__age-suffix {
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  padding-bottom: 2px;
}

.rv-single-profile__value--sm {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.rv-single-profile__intro {
  margin: 0;
  padding: 0 20px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--rv-gray);
}

@media (max-width: 992px) {
  .rv-single-profile__head {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .rv-single-profile__name-block {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 768px) {
  .rv-single-profile__name-main {
    font-size: 28px;
  }
  .rv-single-profile__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .rv-single-profile__label,
  .rv-single-profile__label--wide {
    min-width: unset;
    width: 100%;
  }
  .rv-single-profile__age-num {
    font-size: 22px;
  }
  .rv-single-profile__intro {
    padding-left: 0;
    padding-right: 0;
  }
}

/* ─────────────────────────────────────
   Single: CTAバー
   （TOP .top-quickcta__* と同じ構成 / rv-cta-bar 専用クラス）
───────────────────────────────────── */
.rv-cta-bar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  box-sizing: border-box;
}

.rv-cta-bar__btn {
  display: flex;
  width: 100%;
  min-width: 0;
  height: auto;
  min-height: 72px;
  padding: 4px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.04em;
  white-space: normal;
  transition: opacity .2s;
  box-sizing: border-box;
}

.rv-cta-bar__btn:hover {
  opacity: .85;
}

.rv-cta-bar__btn-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  height: 100%;
  min-height: 64px;
  padding: 15px 12px;
  border-radius: 8px;
  border: 1px solid #fff;
  box-sizing: border-box;
}

.rv-cta-bar__btn-icon {
  flex-shrink: 0;
  display: block;
  width: 39px;
  height: auto;
}

.rv-cta-bar__btn--counseling {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.30) 40.09%, rgba(219, 219, 219, 0.30) 80.83%), #FF8C00;
}

.rv-cta-bar__btn--counseling .rv-cta-bar__btn-inner {
  background: #FF8C00;
}

.rv-cta-bar__btn--line {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.30) 40.09%, rgba(219, 219, 219, 0.30) 80.83%), #00B900;
}

.rv-cta-bar__btn--line .rv-cta-bar__btn-inner {
  background: #00B900;
}

.rv-cta-bar__btn-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding-right: 20px;
}

.rv-cta-bar__note {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  background: #FFFFC0;
  border-radius: 15px;
  text-align: center;
  white-space: normal;
}

.rv-cta-bar__btn--counseling .rv-cta-bar__note {
  color: #FF8C00;
}

.rv-cta-bar__btn--line .rv-cta-bar__note {
  color: #00B900;
}

.rv-cta-bar__label {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  text-align: center;
  white-space: normal;
}

@media (max-width: 1200px) {
  .rv-cta-bar {
    gap: 12px;
  }
  .rv-cta-bar__btn-icon {
    width: 32px;
  }
  .rv-cta-bar__btn-body {
    gap: 5px;
    padding-right: 0px;
  }
  .rv-cta-bar__note {
    font-size: 12px;
    padding: 4px 10px;
  }
  .rv-cta-bar__label {
    font-size: 22px;
  }
  .rv-cta-bar__btn-inner {
    gap: 10px;
    padding: 12px 10px;
  }
}

@media (max-width: 992px) {
  .rv-cta-bar {
    gap: 16px;
  }
  .rv-cta-bar__btn-icon {
    width: 32px;
  }
  .rv-cta-bar__note {
    font-size: 12px;
    padding: 4px 10px;
  }
  .rv-cta-bar__label {
    font-size: 20px;
  }
  .rv-cta-bar__btn-inner {
    gap: 12px;
    padding: 12px 10px;
  }
}

@media (max-width: 768px) {
  .rv-cta-bar {
    gap: 12px;
  }
  .rv-cta-bar__btn {
    min-height: 64px;
  }
  .rv-cta-bar__btn-icon {
    width: 28px;
  }
  .rv-cta-bar__btn-inner {
    gap: 8px;
    min-height: 56px;
    padding: 10px 8px;
  }
  .rv-cta-bar__btn-body {
    gap: 5px;
  }
  .rv-cta-bar__label {
    font-size: 16px;
  }
  .rv-cta-bar__note {
    font-size: 10px;
  }
}

@media (max-width: 576px) {
  .rv-cta-bar {
    grid-template-columns: 1fr;
  }
  .rv-cta-bar__label {
    font-size: 20px;
  }
  .rv-cta-bar__note {
    font-size: 12px;
  }
}

/* ─────────────────────────────────────
   Single: 本文
───────────────────────────────────── */
.rv-single-body {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  max-width: 100%;
}

.rv-single-body h2,
.rv-single-body__heading {
  margin: 0;
  padding: var(--rv-sp-20);
  background: var(--rv-teal);
  color: #fff;
  font-size: var(--rv-fs-24);
  font-weight: 900;
  line-height: 1.4;
  border-radius: 4px;
  border-left: none;
}

.rv-single-body h3 {
  margin: 32px 0 16px;
  padding: 0 20px;
  font-size: 20px;
  font-weight: 700;
  color: var(--rv-text-mid);
}

.rv-single-body p {
  margin: 0;
  padding: 40px 20px;
  font-size: var(--rv-fs-20);
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--rv-text-mid);
}

.rv-single-body p + p {
  padding-top: 0;
  margin-top: -20px;
}

.rv-single-body img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* 動画埋め込み（YouTube 等） */
.rv-single-body .wp-block-embed,
.rv-single-body .lb-embed {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0 20px 40px;
  box-sizing: border-box;
}

.rv-single-body .wp-block-embed__wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.rv-single-body .wp-block-embed.is-provider-youtube .wp-block-embed__wrapper::before,
.rv-single-body .wp-block-embed.wp-has-aspect-ratio .wp-block-embed__wrapper::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

.rv-single-body .wp-block-embed.is-provider-youtube .wp-block-embed__wrapper iframe,
.rv-single-body .wp-block-embed.wp-has-aspect-ratio .wp-block-embed__wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.rv-single-body .embed-responsive {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.rv-single-body .embed-responsive::before {
  display: block;
  content: "";
}

.rv-single-body .embed-responsive-16by9::before {
  padding-top: 56.25%;
}

.rv-single-body .embed-responsive-21by9::before {
  padding-top: 42.85714%;
}

.rv-single-body .embed-responsive-4by3::before {
  padding-top: 75%;
}

.rv-single-body .embed-responsive iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.rv-single-body iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
}

.rv-single-body a {
  color: #1e98b9;
}

/* 本文下プロモ（1カラム時のみ） */
.rv-single-body-promo {
  display: none;
}

@media (max-width: 992px) {
  .rv-single-body-promo {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding-top: 24px;
    box-sizing: border-box;
  }

  .rv-single-body-promo p {
    margin: 0;
    padding: 0;
  }

  .rv-single-body-promo .rv-counseling__promo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 20px 16px;
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 40.09%, rgba(219, 219, 219, 0.3) 80.83%), #fff;
    border: 1px solid #fff;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
    text-align: center;
    box-sizing: border-box;
  }

  .rv-single-body-promo .rv-counseling__promo-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .rv-single-body-promo .rv-counseling__promo-badge {
    min-height: auto;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--rv-teal);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
  }

  .rv-single-body-promo .rv-counseling__promo-catch {
    margin: 8px 0 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--rv-teal);
  }

  .rv-single-body-promo .rv-counseling__promo-text {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.6;
    color: #717171;
    text-align: center;
  }

  .rv-single-body-promo .rv-cta-bar {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .rv-single-body-promo .rv-cta-bar__btn {
    min-height: auto;
  }

  .rv-single-body-promo .rv-cta-bar__btn-inner {
    gap: 10px;
    min-height: 56px;
    padding: 10px 12px;
  }

  .rv-single-body-promo .rv-cta-bar__btn-icon {
    width: 28px;
    height: auto;
    max-height: 34px;
    object-fit: contain;
  }

  .rv-single-body-promo .rv-cta-bar__btn-body {
    gap: 6px;
    padding-right: 0;
    flex: 1;
    min-width: 0;
  }

  .rv-single-body-promo .rv-cta-bar__note {
    font-size: 11px;
    line-height: 1.2;
    padding: 3px 10px;
  }

  .rv-single-body-promo .rv-cta-bar__label {
    font-size: 18px;
    line-height: 1.2;
  }
}

@media (max-width: 768px) {
  .rv-single-body-promo {
    padding-top: 20px;
    gap: 12px;
  }

  .rv-single-body-promo .rv-counseling__promo {
    padding: 18px 14px;
    gap: 10px;
  }

  .rv-single-body-promo .rv-counseling__promo-badge {
    font-size: 12px;
    padding: 5px 12px;
  }

  .rv-single-body-promo .rv-counseling__promo-catch {
    font-size: 20px;
  }

  .rv-single-body-promo .rv-counseling__promo-text {
    font-size: 12px;
  }

  .rv-single-body-promo .rv-cta-bar__btn-inner {
    gap: 8px;
    min-height: 52px;
    padding: 8px 10px;
  }

  .rv-single-body-promo .rv-cta-bar__btn-icon {
    width: 24px;
    max-height: 30px;
  }

  .rv-single-body-promo .rv-cta-bar__note {
    font-size: 10px;
    padding: 2px 8px;
  }

  .rv-single-body-promo .rv-cta-bar__label {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .rv-single-body p {
    padding-left: 0;
    padding-right: 0;
  }

  .rv-single-body .wp-block-embed,
  .rv-single-body .lb-embed {
    padding-left: 0;
    padding-right: 0;
  }
}

.rv-single-schedule__img {
  padding: 0 20px 40px;
}

.rv-single-schedule__img img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* ─────────────────────────────────────
   Single: CTA帯
───────────────────────────────────── */
.rv-single-cta-band {
  padding: 40px 20px;
  background-color: #e8e8e8;
  background-image: url(../img/bg_cta-footer.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.rv-single-cta-band__inner {
  max-width: 780px;
  margin: 0 auto;
}

/* ─────────────────────────────────────
   Single: 関連記事スライダー
───────────────────────────────────── */
.rv-related--single {
  background: transparent;
  padding: 40px 0 80px;
}

.rv-related__heading {
  margin: 0 0 40px;
  font-size: var(--rv-fs-28);
  font-weight: 700;
  line-height: 1;
  color: var(--rv-teal);
}

.rv-related__slider {
  display: flex;
  align-items: center;
  gap: 20px;
}

.rv-related__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
  min-width: 0;
}

.rv-related__track::-webkit-scrollbar {
  display: none;
}

.rv-related-card {
  flex: 0 0 250px;
  width: 250px;
}

.rv-related-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.rv-related-card__img {
  position: relative;
  height: 180px;
  border-radius: 8px;
  overflow: hidden;
  background: #ddd;
}

.rv-related-card__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rv-related-card__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 60%);
  pointer-events: none;
}

.rv-related-card__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  padding: 10px;
}

.rv-related-card__person {
  margin: 0 0 8px;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  color: #fff;
}

.rv-related-card__person-name {
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}

.rv-related-card__person-suffix {
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  padding-bottom: 2px;
}

.rv-related-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.rv-related-card__chip {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 10px;
  border: 1px solid var(--rv-teal);
  border-radius: var(--rv-radius-tag);
  background: rgba(255, 255, 255, 0.92);
  color: var(--rv-teal);
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
}

.rv-related-card__play {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  position: relative;
}

.rv-related-card__play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid var(--rv-teal);
}

.rv-related-card__title {
  margin: 0;
  padding: 10px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--rv-text);
}

.rv-related__next {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--rv-teal);
  cursor: pointer;
  transition: opacity 0.2s;
}

.rv-related__next:hover {
  opacity: 0.85;
}

.rv-related__next span {
  display: block;
  width: 0;
  height: 0;
  margin: 0 auto;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid #fff;
  transform: translateX(2px);
}

@media (max-width: 992px) {
  .rv-related__next {
    display: none;
  }
}

@media (max-width: 768px) {
  .rv-related-card {
    flex: 0 0 220px;
    width: 220px;
  }
}

/* ─────────────────────────────────────
   Sidebar: 国別カテゴリ
───────────────────────────────────── */
.rv-sidebar__country {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.30) 40.09%, rgba(219, 219, 219, 0.30) 80.83%), #fff;
  border: 1px solid #fff;
  border-radius: 8px;
  box-shadow: 0 2px 1px rgba(0, 0, 0, 0.25);
  padding: 10px;
}

.rv-sidebar__country-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #efefef;
  text-decoration: none;
  color: var(--rv-gray);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.rv-sidebar__country-link--last {
  border-bottom: none;
}

.rv-sidebar__country-link:hover {
  color: var(--rv-teal);
}

.rv-sidebar__country-label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rv-sidebar__country-label img:not(.rv-sidebar__country-prime-icon) {
  display: block;
  width: 30px;
  height: auto;
}

.rv-sidebar__country-arrow {
  flex-shrink: 0;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid var(--rv-gray);
}

/* ─────────────────────────────────────
   Single: 追従フィルターボタン（SP/TB）
───────────────────────────────────── */
/* iOS Safari: drawer の transform overflow による横揺れを防ぐ
   overflow-x: clip はスクロールコンテナを作らないため position:sticky を壊さない */
body.tabiken-2607 {
  overflow-x: clip;
}

.rv-float-filter-btn {
  display: none;
  position: fixed;
  bottom: 80px;
  right: 16px;
  z-index: 50; /* ヘッダーのメガメニュー(最大1001)・ドロワー(200)より背面に */
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  align-items: center;
  justify-content: right;
  width: min(180px, calc(100vw - 48px));
  padding:10px 20px;
  border-radius: 8px;
  border: 1px solid #fff;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.30) 40.09%, rgba(219, 219, 219, 0.30) 80.83%), #fff;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.25);
  color: var(--rv-text-mid);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: opacity 0.2s;
}
.rv-float-filter-btn:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.30) 40.09%, rgba(219, 219, 219, 0.30) 80.83%), #efefef;
   }
.rv-float-filter-btn img {
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

@media (max-width: 992px) {
  .rv-float-filter-btn { display: flex; }
}

/* ─────────────────────────────────────
   Single: フィルターモーダル
───────────────────────────────────── */
.rv-filter-modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 60; /* ヘッダーのメガメニュー(最大1001)・ドロワー(200)より背面に */
  display: flex;
  align-items: center;
  justify-content: center;
}
.rv-filter-modal[hidden] { display: none; }

.rv-filter-modal__overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.rv-filter-modal__inner {
  position: relative;
  width: 90vw;
  max-height: 85vh;
  background: #fff;
  border-radius: 16px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.rv-filter-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}

.rv-filter-modal__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--rv-text);
}

.rv-filter-modal__close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: #666;
  flex-shrink: 0;
  border-radius: 50%;
  transition: background 0.15s;
}
.rv-filter-modal__close:hover { background: #f0f0f0; color: #333; }

.rv-filter-modal__body {
  padding: 24px 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.rv-filter-modal__body .rv-filter__row {
  flex-direction: column;
  gap: 12px;
}
.rv-filter-modal__body .rv-filter__actions {
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 0;
  border-top: none;
  margin-top: 0;
}
.rv-filter-modal__body .rv-filter__btn {
  max-width: none;
}
.rv-filter-modal__divider {
  border: none;
  border-top: 1px solid #e5e5e5;
  margin: 0;
}
