@charset "utf-8";
/* A8アフィリエイト広告・特集記事用スタイル（PC・スマホ共通） */

/* ==========================================================================
   1. A8計測用 1x1 ピクセル保護（拡大・枠崩れ防止）
   ========================================================================== */
.yp-a8-bnr img[width="1"],
.yp-sp-a8-bnr img[width="1"],
.yp-aff-bnr img[width="1"],
.yp-aff-cta-btn img[width="1"],
.yp-aff-inline-link img[width="1"] {
  display: inline !important;
  width: 1px !important;
  height: 1px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  vertical-align: baseline !important;
  box-shadow: none !important;
}

/* ==========================================================================
   2. PC 右サイドバー（XEXYMIX・ぼっこ バナー＋記事リンク）
   ========================================================================== */
body#top #right .yp-a8-side-card,
#right .yp-a8-side-card {
  width: 100%;
  margin: 0 0 18px;
  padding: 16px;
  border: 1px solid #e7e1da;
  border-radius: 16px;
  background: #fff;
  box-sizing: border-box;
  overflow: hidden;
  text-align: left;
}
.yp-a8-side-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 0 0 10px;
  border-bottom: 1px solid #e7e1da;
}
.yp-a8-pr-tag {
  display: inline-block;
  flex-shrink: 0;
  padding: 2px 7px;
  border: 1px solid #d7babe;
  border-radius: 999px;
  background: #f7eee8;
  color: #785d5b;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.06em;
}
.yp-a8-side-title {
  color: #785d5b;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.yp-a8-bnr {
  margin: 0;
  text-align: center;
  line-height: 0;
}
.yp-a8-bnr a {
  display: inline-block;
  max-width: 100%;
}
body#top #right .yp-a8-bnr img:not([width="1"]),
.yp-a8-bnr img:not([width="1"]) {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 0 auto;
  border-radius: 10px;
}
.yp-a8-article-link {
  margin: 10px 0 0;
  padding: 0;
  line-height: 1.5;
}
body#top #right .yp-a8-article-link a,
.yp-a8-article-link a {
  display: block;
  padding: 9px 12px;
  border: 1px solid #bcd8d5;
  border-radius: 10px;
  background: #edf5f3;
  color: #527572;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.yp-a8-article-link a:hover {
  background: #dfeeeb;
  border-color: #8eb7b3;
}

/* ==========================================================================
   3. スマホ版 2カラム横並び PR枠（LITHEE下／メニュー／下層フッター上）
   ========================================================================== */
.yp-sp-a8-wrap {
  box-sizing: border-box;
  width: 96%;
  margin: 12px auto;
  padding: 12px;
  border: 1px solid #e7e1da;
  border-radius: 14px;
  background: #fff;
  text-align: left;
}
.yp-sp-a8-wrap--top {
  margin: 10px auto 12px;
}
.yp-sp-a8-wrap--menu {
  width: 96%;
  margin: 10px auto 4px;
  padding: 10px;
}
.yp-sp-a8-wrap--footer {
  width: auto;
  margin: 22px 10px 10px;
}
body.yp-home .yp-sp-a8-wrap--top {
  width: calc(100% - 24px);
  max-width: 620px;
  margin: 12px auto;
}
.yp-sp-a8-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  padding: 0 0 8px;
  border-bottom: 1px solid #efddd6;
}
.yp-sp-a8-title {
  color: #785d5b;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}
.yp-sp-a8-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}
.yp-sp-a8-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 8px;
  border: 1px solid #efddd6;
  border-radius: 10px;
  background: #fdfbf8;
  box-sizing: border-box;
}
.yp-sp-a8-bnr {
  margin: 0;
  text-align: center;
  line-height: 0;
}
.yp-sp-a8-bnr a {
  display: block;
}
.yp-sp-a8-bnr img:not([width="1"]) {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.yp-sp-a8-link {
  margin: 8px 0 0;
  margin-top: auto;
  padding-top: 8px;
  line-height: 1.4;
}
.yp-sp-a8-link a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 8px;
  border: 1px solid #bcd8d5;
  border-radius: 8px;
  background: #edf5f3;
  color: #527572 !important;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  text-decoration: none !important;
}

/* ==========================================================================
   4. アフィリエイトSEO記事 共通スタイル（PC・スマホ共通）
   ========================================================================== */
.yp-aff-article {
  color: #433d3b;
  font-size: 15px;
  line-height: 1.85;
  text-align: left;
  word-wrap: break-word;
}
.yp-aff-article * {
  box-sizing: border-box;
}
.yp-aff-pr-notice {
  margin: 0 0 18px;
  padding: 9px 14px;
  border: 1px solid #e7e1da;
  border-left: 4px solid #bd8077;
  border-radius: 8px;
  background: #f7eee8;
  color: #785d5b;
  font-size: 12px;
  line-height: 1.6;
}
.yp-aff-lead {
  margin: 0 0 22px;
  padding: 16px 18px;
  border: 1px solid #e7e1da;
  border-radius: 14px;
  background: #fdfbf8;
}
.yp-aff-lead p {
  margin: 0 0 10px;
}
.yp-aff-lead p:last-child {
  margin-bottom: 0;
}

/* 目次 */
.yp-aff-toc {
  margin: 0 0 26px;
  padding: 16px 20px;
  border: 1px solid #d8e5e2;
  border-radius: 14px;
  background: #edf5f3;
}
.yp-aff-toc__title {
  margin: 0 0 10px;
  color: #527572;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
  font-size: 15px;
  font-weight: 600;
}
.yp-aff-toc ol {
  margin: 0;
  padding: 0 0 0 1.4em;
}
.yp-aff-toc li {
  margin: 0 0 6px;
  float: none !important;
  width: auto !important;
  list-style: decimal !important;
  background: none !important;
  font-size: 14px;
  line-height: 1.6;
}
.yp-aff-toc a {
  color: #527572;
  text-decoration: underline;
}

/* 見出し（既存テーマのスタイルに勝つ詳細度） */
body#top #left .yp-aff-article h2,
body:not(.yp-home) #content_wrapper .yp-aff-article h2,
.yp-aff-article h2 {
  width: auto !important;
  height: auto !important;
  margin: 34px 0 14px !important;
  padding: 0 0 10px !important;
  border: 0 !important;
  border-bottom: 2px solid #efddd6 !important;
  background: none !important;
  color: #785d5b !important;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  text-indent: 0 !important;
  text-align: left !important;
}
body#top #left .yp-aff-article h3,
body:not(.yp-home) #content_wrapper .yp-aff-article h3,
.yp-aff-article h3 {
  width: auto !important;
  height: auto !important;
  margin: 22px 0 10px !important;
  padding: 6px 12px !important;
  border: 0 !important;
  border-left: 4px solid #bcd8d5 !important;
  background: #f7f9f8 !important;
  color: #527572 !important;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  text-indent: 0 !important;
  text-align: left !important;
}
.yp-aff-article p {
  margin: 0 0 14px;
}
.yp-aff-article ul.yp-aff-list {
  margin: 0 0 18px;
  padding: 14px 18px 14px 32px;
  border: 1px solid #e7e1da;
  border-radius: 12px;
  background: #fff;
}
.yp-aff-article ul.yp-aff-list li {
  float: none !important;
  width: auto !important;
  margin: 0 0 7px;
  padding: 0;
  background: none !important;
  list-style: disc !important;
  line-height: 1.7;
}
.yp-aff-article ul.yp-aff-list li:last-child {
  margin-bottom: 0;
}

/* 比較表 */
.yp-aff-table-wrap {
  width: 100%;
  margin: 0 0 22px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.yp-aff-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  background: #fff;
  font-size: 14px;
  line-height: 1.65;
}
.yp-aff-table th,
.yp-aff-table td {
  padding: 10px 12px;
  border: 1px solid #e7e1da;
  text-align: left;
  vertical-align: top;
}
.yp-aff-table thead th {
  background: #f7eee8;
  color: #785d5b;
  font-weight: 600;
}
.yp-aff-table tbody th {
  background: #fdfbf8;
  color: #684b4b;
  font-weight: 600;
  white-space: nowrap;
}

/* ポイントカード */
.yp-aff-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 22px;
}
.yp-aff-card {
  padding: 16px;
  border: 1px solid #e7e1da;
  border-radius: 14px;
  background: #fff;
}
.yp-aff-card__title {
  margin: 0 0 8px;
  color: #bd8077;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
  font-size: 15px;
  font-weight: 600;
}
.yp-aff-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
}

/* 記事内 A8 バナー・CTAボックス */
.yp-aff-cta-box {
  margin: 22px 0;
  padding: 20px 18px;
  border: 1px solid #e7cfc8;
  border-radius: 16px;
  background: #fdf7f5;
  text-align: center;
}
.yp-aff-cta-box__label {
  margin: 0 0 10px;
  color: #785d5b;
  font-size: 13px;
  font-weight: 600;
}
.yp-aff-bnr {
  margin: 0 auto 14px;
  text-align: center;
  line-height: 0;
}
.yp-aff-bnr a {
  display: inline-block;
  max-width: 100%;
}
.yp-aff-bnr img:not([width="1"]) {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 10px;
}
.yp-aff-cta-btn {
  margin: 10px auto 0;
  line-height: 1.5;
}
.yp-aff-cta-btn a {
  display: inline-block;
  max-width: 100%;
  padding: 12px 22px;
  border-radius: 999px;
  background: #bd8077;
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none !important;
  box-shadow: 0 8px 18px -12px rgba(104, 75, 75, 0.75);
}
.yp-aff-cta-btn a:hover {
  background: #a86c63;
}
.yp-aff-cta-sub {
  margin: 10px 0 0;
  color: #766f6b;
  font-size: 12px;
  line-height: 1.6;
}
.yp-aff-inline-link a {
  color: #527572;
  font-weight: 600;
  text-decoration: underline;
}

/* 注意書き・補足の箱 */
.yp-aff-note {
  margin: 16px 0 22px;
  padding: 14px 16px;
  border: 1px solid #d8e5e2;
  border-left: 4px solid #527572;
  border-radius: 10px;
  background: #edf5f3;
  font-size: 13px;
  line-height: 1.75;
}
.yp-aff-note p {
  margin: 0 0 6px;
}
.yp-aff-note p:last-child {
  margin-bottom: 0;
}

/* FAQ */
.yp-aff-faq {
  margin: 0 0 24px;
  padding: 0;
}
.yp-aff-faq dt {
  margin: 14px 0 6px;
  padding: 0 0 0 1.6em;
  text-indent: -1.6em;
  color: #684b4b;
  font-weight: 600;
}
.yp-aff-faq dt::before {
  content: "Q. ";
  color: #bd8077;
}
.yp-aff-faq dd {
  margin: 0;
  padding: 0 0 12px 1.6em;
  text-indent: -1.6em;
  border-bottom: 1px dashed #e7e1da;
}
.yp-aff-faq dd::before {
  content: "A. ";
  color: #527572;
  font-weight: 600;
}

/* 関連ページ・内部リンク */
.yp-aff-related {
  margin: 26px 0 0;
  padding: 18px;
  border: 1px solid #e7e1da;
  border-radius: 14px;
  background: #fdfbf8;
}
.yp-aff-related__title {
  margin: 0 0 12px;
  color: #785d5b;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
  font-size: 16px;
  font-weight: 600;
}
.yp-aff-related ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.yp-aff-related li {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  list-style: none !important;
}
.yp-aff-related a {
  display: inline-block;
  padding: 7px 14px;
  border: 1px solid #bcd8d5;
  border-radius: 999px;
  background: #edf5f3;
  color: #527572;
  font-size: 13px;
  line-height: 1.5;
  text-decoration: none;
}
.yp-aff-related a:hover {
  background: #dfeeeb;
}

@media (max-width: 640px) {
  .yp-aff-article {
    font-size: 14px;
    line-height: 1.8;
  }
  body:not(.yp-home) #content_wrapper .yp-aff-article h2,
  .yp-aff-article h2 {
    margin: 26px 0 12px !important;
    font-size: 17px !important;
  }
  body:not(.yp-home) #content_wrapper .yp-aff-article h3,
  .yp-aff-article h3 {
    font-size: 15px !important;
  }
  .yp-aff-cards {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .yp-aff-cta-box {
    padding: 16px 12px;
  }
  .yp-aff-cta-btn a {
    display: block;
    padding: 12px 14px;
    font-size: 13px;
  }
}

/* ==========================================================================
   5. レスポンシブ統合版（templates_r / css v2 共存）用スタイル
   ========================================================================== */
/* A8計測用 1x1 ピクセル保護（templates_r用クラスにも適用） */
.yp-r-a8-bnr img[width="1"],
.yp-r-a8-card img[width="1"] {
  display: inline !important;
  width: 1px !important;
  height: 1px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  vertical-align: baseline !important;
  box-shadow: none !important;
}

/* 共通カード・グリッド */
.yp-r-a8-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}
.yp-r-a8-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--yp-line, #e7e1da);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 10px -6px rgba(67, 61, 59, 0.16);
}
.yp-r-a8-card__head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px;
  padding: 0 0 6px;
  border-bottom: 1px solid var(--yp-pink-mid, #efddd6);
}
.yp-r-a8-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 1px 6px;
  border: 1px solid #d7babe;
  border-radius: 999px;
  background: #f7eee8;
  color: #785d5b;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.06em;
}
.yp-r-a8-card__title {
  color: #785d5b;
  font-family: var(--yp-font-serif, "Hiragino Mincho ProN", "Yu Mincho", serif);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}
.yp-r-a8-bnr {
  margin: 0;
  text-align: center;
  line-height: 0;
}
.yp-r-a8-bnr a {
  display: block;
}
.yp-r-a8-bnr img:not([width="1"]) {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
}
.yp-r-a8-link {
  margin: 8px 0 0;
  margin-top: auto;
  padding-top: 8px;
  line-height: 1.4;
}
.yp-r-a8-link a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 7px 9px;
  border: 1px solid var(--yp-aqua, #bcd8d5);
  border-radius: 9px;
  background: var(--yp-aqua-pale, #edf5f3);
  color: var(--yp-aqua-text, #527572) !important;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-decoration: none !important;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.yp-r-a8-link a:hover {
  background: #dfeeeb;
  border-color: #8eb7b3;
}

/* トップページ・スマホ幅のみ「人気のエリア・ヨガ」直下に表示 */
.yp-r-a8-sp-top {
  width: 100%;
  margin: 14px 0 20px;
}
.yp-r-a8-sp-top__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: #785d5b;
  font-family: var(--yp-font-serif, "Hiragino Mincho ProN", "Yu Mincho", serif);
  font-size: 13px;
  font-weight: 600;
}
@media (min-width: 600px) and (max-width: 959px) {
  .yp-r-a8-sp-top {
    max-width: 620px;
    margin-inline: auto;
  }
}
@media (min-width: 960px) {
  .yp-r-a8-sp-top {
    display: none;
  }
}

/* サイドバー（PC幅は縦積み1列、スマホ下層ページ本文下では2列横並び） */
.yp-r-a8-side-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
@media (min-width: 960px) {
  .yp-r-a8-side-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .yp-r-a8-side-grid .yp-r-a8-card {
    padding: 18px 16px;
    border-radius: var(--yp-radius-md, 16px);
  }
  .yp-r-a8-side-grid .yp-r-a8-card__title {
    font-size: 14px;
  }
  .yp-r-a8-side-grid .yp-r-a8-link a {
    font-size: 12.5px;
    padding: 9px 12px;
  }
}

/* ドロワーメニュー内 PR枠 */
.yp-r-a8-drawer {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--yp-line, #e7e1da);
}
.yp-r-a8-drawer .yp-r-a8-card {
  padding: 8px;
  box-shadow: none;
}
.yp-r-a8-drawer .yp-r-a8-link a {
  font-size: 11px;
  min-height: 34px;
  padding: 5px 6px;
}

/* templates_r 記事ページ内（.yp-content-card）調整 */
.yp-content-card .yp-aff-article h2 {
  margin: 30px 0 14px !important;
  padding: 0 0 10px !important;
  border-bottom: 2px solid var(--yp-pink-mid, #efddd6) !important;
  color: var(--yp-coral-deep, #684b4b) !important;
  font-family: var(--yp-font-serif, "Hiragino Mincho ProN", "Yu Mincho", serif) !important;
}
.yp-content-card .yp-aff-article h3 {
  border-left-color: var(--yp-aqua, #bcd8d5) !important;
  color: var(--yp-aqua-text, #527572) !important;
  font-family: var(--yp-font-serif, "Hiragino Mincho ProN", "Yu Mincho", serif) !important;
}

/* ========================================================
 * 記事内アイキャッチ画像・SVG図解・ステップフロー・特典カード
 * ======================================================== */
.yp-aff-hero {
  margin: 16px 0 24px;
  background: #faf9f6;
  border: 1px solid #e3e8e7;
  border-radius: 10px;
  overflow: hidden;
}

.yp-aff-hero__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.yp-aff-hero__cap {
  margin: 0;
  padding: 8px 14px;
  font-size: 12px;
  line-height: 1.5;
  color: #5c6b6a;
  text-align: center;
  background: #f5f8f7;
  border-top: 1px solid #e7eceb;
}

.yp-aff-diagram {
  margin: 18px 0 24px;
  padding: 18px 14px 14px;
  background: #fbfcfc;
  border: 1px solid #dce5e4;
  border-radius: 10px;
}

.yp-aff-diagram__title {
  margin: 0 0 12px;
  font-size: 14.5px;
  font-weight: 700;
  color: #3f5d5a;
  text-align: center;
  line-height: 1.5;
}

.yp-aff-diagram__svg {
  display: block;
  width: 100%;
  max-width: 720px;
  height: auto;
  margin: 0 auto;
}

.yp-aff-diagram__cap {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: #5f6e6d;
  text-align: center;
}

.yp-aff-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 16px 0 24px;
  padding: 0;
  list-style: none;
}

.yp-aff-step {
  background: #ffffff;
  border: 1px solid #d9e4e3;
  border-top: 3px solid var(--yp-aqua-text, #6b9692);
  border-radius: 8px;
  padding: 14px 12px;
}

.yp-aff-step__num {
  display: inline-block;
  margin-bottom: 7px;
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
  background: var(--yp-aqua-text, #527572);
  border-radius: 999px;
}

.yp-aff-step__title {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: #2f4543;
  line-height: 1.45;
}

.yp-aff-step__desc {
  margin: 0;
  font-size: 13px;
  color: #4f5d5c;
  line-height: 1.65;
}

.yp-aff-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0 22px;
}

.yp-aff-benefit {
  background: #f5f9f8;
  border: 1px solid #d5e4e2;
  border-radius: 8px;
  padding: 14px 10px;
  text-align: center;
}

.yp-aff-benefit__val {
  display: block;
  margin-bottom: 4px;
  font-size: 17px;
  font-weight: 700;
  color: var(--yp-aqua-text, #476c68);
  line-height: 1.35;
}

.yp-aff-benefit__label {
  display: block;
  font-size: 12.5px;
  color: #4f5d5c;
  line-height: 1.5;
}

@media (max-width: 767px) {
  .yp-aff-diagram {
    padding: 14px 10px 12px;
  }
  .yp-aff-steps,
  .yp-aff-benefit-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* ========================================================
 * レスポンシブHTML+CSS図解（スマホでも文字サイズ維持・縦積み対応）
 * ======================================================== */
/* 1) オンライン vs 対面スタジオ比較マップ */
.yp-aff-vs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}
.yp-aff-vs__col {
  display: flex;
  flex-direction: column;
  padding: 14px;
  border-radius: 12px;
  background: #fff;
}
.yp-aff-vs__col--online {
  background: #f1f7f6;
  border: 2px solid #6b9692;
}
.yp-aff-vs__col--studio {
  background: #faf8f3;
  border: 2px solid #cbbd9e;
}
.yp-aff-vs__head {
  margin: 0 0 12px;
  padding: 6px 12px;
  border-radius: 999px;
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}
.yp-aff-vs__col--online .yp-aff-vs__head {
  background: #527572;
}
.yp-aff-vs__col--studio .yp-aff-vs__head {
  background: #8b7d62;
}
.yp-aff-vs__list {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.yp-aff-vs__list li {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 0 0 16px !important;
  position: relative;
  background: none !important;
  list-style: none !important;
}
.yp-aff-vs__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.yp-aff-vs__col--online .yp-aff-vs__list li::before {
  background: #6b9692;
}
.yp-aff-vs__col--studio .yp-aff-vs__list li::before {
  background: #9c8d6e;
}
.yp-aff-vs__list strong {
  display: block;
  font-size: 13.5px;
  line-height: 1.45;
  color: #2b3d3b;
}
.yp-aff-vs__col--studio .yp-aff-vs__list strong {
  color: #3a352b;
}
.yp-aff-vs__list span {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  line-height: 1.55;
  color: #546664;
}
.yp-aff-vs__col--studio .yp-aff-vs__list span {
  color: #635c4e;
}
.yp-aff-vs__foot {
  margin: auto 0 0;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}
.yp-aff-vs__col--online .yp-aff-vs__foot {
  background: #e2efed;
  color: #3e5e5b;
}
.yp-aff-vs__col--studio .yp-aff-vs__foot {
  background: #f0ece1;
  color: #6e5f45;
}
.yp-aff-vs__badge {
  align-self: center;
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #a6bfbc;
  color: #527572;
  font-size: 13px;
  font-weight: 700;
}

/* 2) 2つの受講枠比較カード */
.yp-aff-mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.yp-aff-mode {
  display: flex;
  flex-direction: column;
  padding: 14px;
  border-radius: 12px;
  background: #fff;
  border: 2px solid #a6bfbc;
}
.yp-aff-mode--check {
  border-color: #6b9692;
}
.yp-aff-mode__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
}
.yp-aff-mode__pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: #527572;
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.4;
}
.yp-aff-mode--gallery .yp-aff-mode__pill {
  background: #6f8d8a;
}
.yp-aff-mode__sub {
  font-size: 12.5px;
  font-weight: 700;
  color: #466865;
  line-height: 1.4;
}
.yp-aff-mode__title {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: #2b3d3b;
  line-height: 1.45;
}
.yp-aff-mode__list {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}
.yp-aff-mode__list li {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 0 0 14px !important;
  position: relative;
  background: none !important;
  list-style: none !important;
  font-size: 12.5px;
  line-height: 1.55;
  color: #4f5d5c;
}
.yp-aff-mode__list li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
  color: #527572;
  font-weight: 700;
}
.yp-aff-mode__foot {
  margin: auto 0 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: #eef5f4;
  color: #3f5d5a;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}
.yp-aff-mode--gallery .yp-aff-mode__foot {
  background: #f2f5f5;
  color: #4f5d5c;
}

/* 3) ヨガウェア4チェック図解 */
.yp-aff-wear-map {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}
.yp-aff-wear-map__figure {
  display: flex;
  justify-content: center;
}
.yp-aff-wear-map__figure svg {
  display: block;
  width: 150px;
  height: auto;
}
.yp-aff-wear-map__col {
  display: grid;
  gap: 12px;
}
.yp-aff-wear-card {
  padding: 12px 13px;
  border-radius: 10px;
  background: #fff;
  border: 1.5px solid #6b9692;
}
.yp-aff-wear-card__pill {
  display: inline-block;
  margin: 0 0 7px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #527572;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}
.yp-aff-wear-card__title {
  margin: 0 0 4px;
  font-size: 13.5px;
  font-weight: 700;
  color: #2f4543;
  line-height: 1.45;
}
.yp-aff-wear-card__desc {
  margin: 0;
  font-size: 12.5px;
  color: #546664;
  line-height: 1.6;
}

/* 4) 資格ステップアップ全体図 */
.yp-aff-lic-flow {
  display: grid;
  grid-template-columns: minmax(210px, 0.92fr) 36px minmax(0, 1.38fr);
  gap: 10px;
  align-items: center;
}
.yp-aff-lic-base {
  padding: 14px;
  border-radius: 12px;
  background: #f1f7f6;
  border: 2px solid #527572;
}
.yp-aff-lic-base__pill {
  display: block;
  margin: 0 0 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #527572;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}
.yp-aff-lic-base__title {
  margin: 0 0 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: #2b3d3b;
  text-align: center;
  line-height: 1.45;
}
.yp-aff-lic-base__list {
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 4px;
}
.yp-aff-lic-base__list li {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 0 0 14px !important;
  position: relative;
  background: none !important;
  list-style: none !important;
  font-size: 12.5px;
  line-height: 1.55;
  color: #4f5f5d;
}
.yp-aff-lic-base__list li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
  color: #527572;
  font-weight: 700;
}
.yp-aff-lic-base__foot {
  margin: 0;
  font-size: 12.5px;
  font-weight: 700;
  color: #466865;
  text-align: center;
  line-height: 1.45;
}
.yp-aff-lic-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #527572;
  font-weight: 700;
}
.yp-aff-lic-arrow__pc {
  font-size: 22px;
  line-height: 1;
}
.yp-aff-lic-arrow__sp {
  display: none;
}
.yp-aff-lic-branches {
  display: grid;
  gap: 10px;
}
.yp-aff-lic-branch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 11px 12px;
  border-radius: 10px;
  background: #fff;
  border: 1.8px solid #6b9692;
}
.yp-aff-lic-branch--rpyt {
  border-color: #c3928f;
}
.yp-aff-lic-branch--rcyt {
  border-color: #c2a36c;
}
.yp-aff-lic-branch__tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  background: #466865;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}
.yp-aff-lic-branch--rpyt .yp-aff-lic-branch__tag {
  background: #a86d6a;
}
.yp-aff-lic-branch--rcyt .yp-aff-lic-branch__tag {
  background: #9a7b42;
}
.yp-aff-lic-branch__body {
  min-width: 0;
  flex: 1 1 180px;
}
.yp-aff-lic-branch__title {
  margin: 0 0 2px;
  font-size: 13.5px;
  font-weight: 700;
  color: #2b3d3b;
  line-height: 1.4;
}
.yp-aff-lic-branch__desc {
  margin: 0;
  font-size: 12.5px;
  color: #546664;
  line-height: 1.5;
}
.yp-aff-lic-note {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #eef5f4;
  border: 1px solid #bcd8d5;
  color: #3f5d5a;
  font-size: 12.5px;
  line-height: 1.6;
  text-align: center;
}

/* 5) ぼっこ4つの学習＆収益化サポート */
.yp-aff-pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.yp-aff-pillar {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 14px 11px !important;
  border-radius: 10px;
  background: #f2f8f7 !important;
  border: 1.8px solid #6b9692;
  list-style: none !important;
  text-align: center;
}
.yp-aff-pillar.is-accent {
  background: #faf6ef !important;
  border-color: #c3a46b;
}
.yp-aff-pillar__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: #527572;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.yp-aff-pillar.is-accent .yp-aff-pillar__num {
  background: #9a7b42;
}
.yp-aff-pillar__title {
  margin: 0 0 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: #2f4543;
  line-height: 1.4;
}
.yp-aff-pillar.is-accent .yp-aff-pillar__title {
  color: #3a3325;
}
.yp-aff-pillar__desc {
  margin: 0;
  font-size: 12.5px;
  color: #4f5f5d;
  line-height: 1.6;
}
.yp-aff-pillar.is-accent .yp-aff-pillar__desc {
  color: #5c5342;
}

@media (max-width: 767px) {
  .yp-aff-vs {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .yp-aff-vs__badge {
    width: 36px;
    height: 36px;
    font-size: 12px;
  }
  .yp-aff-mode-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .yp-aff-wear-map {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .yp-aff-wear-map__figure {
    order: -1;
  }
  .yp-aff-wear-map__figure svg {
    width: 136px;
  }
  .yp-aff-lic-flow {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .yp-aff-lic-arrow__pc {
    display: none;
  }
  .yp-aff-lic-arrow__sp {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 999px;
    background: #eef5f4;
    border: 1px solid #bcd8d5;
    font-size: 12px;
    line-height: 1.4;
  }
  .yp-aff-pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}
