/* ============================
   BL LABO 会員ランク制度（rank-guide-2025）
   GitHub版：LP専用CSS
   ============================ */

.rank-guide-2025{
  font-family: "Hiragino Sans", "Helvetica Neue", sans-serif;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 16px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333;
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%; 
}
.rank-guide-2025 *{ box-sizing: border-box; }

/* タイトル */
.rank-guide-2025__title{
  display: table;
  font-size: 1.8rem;
  /*text-align: center;*/
  line-height: 1.35;
  margin: 30px auto 30px;
  padding: 0 6px 6px;
  border-bottom: 2px solid #f5ddb0;
}

.rank-guide-2025__lead{
  text-align: left;          /* ← ここ重要 */
  font-size: 1.05rem;
  margin: 0 auto 25px;
  max-width: 640px;          /* 行幅を制限 */
  line-height: 1.8;
}


/* 見出し */
.rank-guide-2025__h2{
  font-size: 1.3rem;
  margin: 24px 0 12px;
  padding-left: 8px;
  border-left: 4px solid #c89a3c;
}
.rank-guide-2025__intro{
  font-size: 0.95rem;
  margin: 0 0 12px;
}

/* ===== ランク表 ===== */
.rank-guide-2025__table{
  width: 100%;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 10px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.04);
  background: #fff;
}

/* 行 */
.rank-guide-2025__row{
  display: flex;
  padding: 10px 8px;
  border-bottom: 1px solid #eee;
  background: #fff;
  align-items: center;
}
.rank-guide-2025__row:last-child{ border-bottom: none; }

/* セル */
.rank-guide-2025__row > div{
  flex: 1;
  text-align: center;
  font-size: 0.9rem;
}

/* 見出し行 */
.rank-guide-2025__row--head{
  background: linear-gradient(180deg, #fff6dd 0%, #f3e3b8 100%);
  font-weight: 700;
  color: #5a4a2a;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

/* ランク列（メダル＋文字） */
.rank-guide-2025__row > div:first-child{ text-align: center; }
.rank-guide-2025__cell-rank{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.rank-guide-2025__medal{
  width: 32px;
  height: 32px;
  object-fit: contain;
}

/* ゴールド行 */
.rank-guide-2025__row--gold{
  background: linear-gradient(180deg, #fff2c7 0%, #f0cf7a 45%, #e1b85a 100%);
  color: #3f3a2a;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95),
              inset 0 -1px 0 rgba(0,0,0,0.08);
  text-shadow: 0 1px 0 rgba(255,255,255,0.35);
}

/* プラチナ行（白金感） */
.rank-guide-2025__row--platinum{
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f6f8fb 45%,
    #e9eef5 100%
  );
  color: #2f343a;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95),
              inset 0 -1px 0 rgba(0,0,0,0.06);
  border-top: 1px solid rgba(255,255,255,0.6);
}

/* ===== ポイント説明 ===== */
.rank-guide-2025__pointinfo{
  font-size: 0.95rem;
  margin: 12px 0 16px;
  background: #fff8e7;
  padding: 12px 14px;
  border-left: 4px solid #c89a3c;
  border-radius: 6px;
}

/* PCでは改行させない（brを消す） */
.rank-guide-2025__sp-br{
  display: none;
}

/* リスト */
.{ margin: 0 0 10px 20px; }
. li{ margin: 6px 0; }

/* ===== プラチナ特典ブロック ===== */
.rank-guide-2025__platinum-box{
  background: #fffaf0;
  border: 1px solid #e6dfd2;
  padding: 16px 20px;
  border-radius: 8px;
}

/* 全体ラップ（左テキスト＋右イラスト） */
.rank-guide-2025__perk-wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 24px;
}

/* 左側（既存内容まとめ） */
.rank-guide-2025__perk-main{
  flex: 1;
  min-width: 0; /* はみ出し防止 */
}

/* 特典行（ロゴ＋文章） */
.rank-guide-2025__perk-line{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.rank-guide-2025__perk-icon{
  width: 80px;
  height: 80px;
  opacity: 0.88;
  flex-shrink: 0;
}

.rank-guide-2025__perk-text{
  margin-left: 10px;   /* ← ロゴと文章の距離（効く） */
  line-height: 1.55;
}

/* 注釈 */
.rank-guide-2025__note{
  font-size: 0.9rem;
  color: #777;
  line-height: 1.6;
  margin: 10px 0 0;
}

/* 右側イラスト（PCのみ） */
.rank-guide-2025__perk-illust{
  flex: 0 0 200px;
  margin-right: 24px;   /* ← 追加：右端から離す（16〜40で調整） */
}

.rank-guide-2025__perk-illust img{
  max-width: 180px;
  height: auto;
  display: block;
  margin: 0 auto;       /* 左右中央 */
}

/* マイアカウント・FAQ 用リンク */
.rank-guide-2025__account-link {
  color: #6a4f33;
  font-weight: bold;
  text-decoration: underline;
  transition: color 0.15s ease;
}

.rank-guide-2025__account-link:hover {
  color: #4f3a24;
}

.rank-guide-2025__account-link:visited {
  color: #6a4f33;
}

.rank-guide-2025__account-link:active {
  color: #3a2a1a;
}

.rank-guide-2025__notice-box{
  background: #fffaf0;
  border: 1px dashed #e6dfd2;
  border-radius: 6px;
  padding: 10px 14px;
  margin: 14px 0 6px;
}

.rank-guide-2025__notice-text{
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

.rank-guide-2025__notice-link{
  color: #6a4f33;
  font-weight: bold;
  text-decoration: underline;
}

.rank-guide-2025__notice-link:hover{
  text-decoration: none;
}


/* ============================
   よくあるご質問セクション
   ============================ */

.rank-guide-2025__faq-box {
  background: #fffaf0;
  border: 1px solid #e6dfd2;
  border-radius: 8px;
  padding: 18px 20px;
  margin-top: 12px;
  text-align: center;
}

.rank-guide-2025__faq-lead {
  font-size: 0.95rem;
  margin-bottom: 14px;
  color: #333;
}

.rank-guide-2025__faq-note {
  font-size: 0.85rem;
  color: #666;
  margin: 12px 0 10px;
}

/* 共通ボタン */
.rank-guide-2025__btn {
  display: block;
  max-width: 320px;
  margin: 0 auto 10px;
  padding: 12px 14px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.2s ease;
}

/* FAQボタン（メイン） */
.rank-guide-2025__btn--faq {
  background: #f6e6b8;
  color: #5a4a2a;
  border: 1px solid #e2c97a;
}

.rank-guide-2025__btn--faq:hover {
  background: #f0d98a;
}

/* 問い合わせボタン（サブ・逃げ道） */
.rank-guide-2025__btn--contact {
  background: #fffdf7;           /* ほぼ白寄り */
  color: #6a4f33;
  border: 1px solid #eadfcf;
}

.rank-guide-2025__btn--contact:hover {
  background: #fff6e3;           /* ほんのり明るく */
}

@media screen and (max-width: 768px){

  /* ============================
     タイトル・リード（スマホ最適化）
     ============================ */

  .rank-guide-2025__title{
    display: table;
    font-size: 1.55rem;
    line-height: 1.35;
    margin: 30px auto 20px;
    padding: 0 6px 6px;
    border-bottom: 2px solid #f5ddb0;
  }

  .rank-guide-2025__lead{
    text-align: left;
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0 0 18px;
  }

  /* ============================
     ランク表（スマホ最適化）
     ============================ */

  .rank-guide-2025__table{
    border-radius: 10px;
  }

  .rank-guide-2025__row{
    padding: 10px 6px;
    gap: 6px;
  }

  .rank-guide-2025__row > div{
    font-size: 0.82rem;
    line-height: 1.35;
    word-break: keep-all;
  }

  /* 列幅（スマホ） */
  .rank-guide-2025__row > div:nth-child(1){ flex: 0 0 28%; } /* ランク */
  .rank-guide-2025__row > div:nth-child(2){ flex: 0 0 33%; } /* 判定基準 */
  .rank-guide-2025__row > div:nth-child(3){ flex: 0 0 39%; } /* 特典 */

  /* ヘッダー行：常に中央 */
  .rank-guide-2025__row--head > div{
    text-align: center !important;
    white-space: normal;
  }

   /* ヘッダー：特典内容を強調（スマホのみ） */
.rank-guide-2025__row--head > div:nth-child(3){
  font-weight: 700;     /* 太字で主役に */
  font-size: 0.86rem;   /* ほんの少しだけアップ（元0.82想定） */
}

  /* 通常行：2列目・3列目 */
  .rank-guide-2025__row:not(.rank-guide-2025__row--head) > div:nth-child(2),
  .rank-guide-2025__row:not(.rank-guide-2025__row--head) > div:nth-child(3){
    text-align: center !important;
    padding-left: 6px;
  }

  /* ランク列（通常行） */
  .rank-guide-2025__row:not(.rank-guide-2025__row--head) > div:nth-child(1){
    text-align: left;
  }

  /* ランク列：メダルと文字 */
  .rank-guide-2025__cell-rank{
    gap: 6px;
  }

  .rank-guide-2025__medal{
    width: 22px;
    height: 22px;
  }

  .rank-guide-2025__cell-rank span{
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.02em;
  }

  /* 判定基準 */
  .rank-guide-2025__row > div:nth-child(2){
    white-space: normal;
    font-variant-numeric: tabular-nums;
    line-height: 1.25;
  }

  /* 特典内容：切れ防止 */
  .rank-guide-2025__row:not(.rank-guide-2025__row--head) > div:nth-child(3){
    font-size: 0.76rem;
    line-height: 1.22;
    font-weight: 600;
    word-break: keep-all;
    padding-right: 6px;
    letter-spacing: -0.02em;
  }

  .rank-guide-2025__row--gold > div:nth-child(3),
  .rank-guide-2025__row--platinum > div:nth-child(3){
    font-size: 0.8rem;
    font-weight: 700;
  }

  /* スマホではsp改行を表示 */
  .rank-guide-2025__sp-br{
    display: inline;
  }

  /* ============================
     ランク判定（箇条書き）
     ============================ */

  .rank-guide-2025__list{
    margin: 10px 0 12px;
    padding-left: 1.6em;
  }

  .rank-guide-2025__list li{
    margin: 8px 0;
    line-height: 1.7;
  }

  /* ============================
     プラチナ特典（スマホ最適化）
     ============================ */

  .rank-guide-2025__perk-wrap{
    display: block;
    padding: 0;
  }

  .rank-guide-2025__perk-illust{
    display: none;
  }

  .rank-guide-2025__platinum-box{
    padding: 16px 20px;
  }

  /* ロゴ＋文章：余白は gap で管理（実機差に強い） */
  .rank-guide-2025__perk-line{
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 14px;              /* ← “詰まり”解消。必要なら 10〜14 で微調整 */
  }

  .rank-guide-2025__perk-icon{
    width: 72px;
    height: 72px;
    opacity: 0.9;
    flex-shrink: 0;
    margin-right: 0;        /* ← marginは使わない */
  }

  .rank-guide-2025__perk-text{
    margin-left: 0;         /* ← PC側(10px)を打ち消す */
    min-width: 0;
    line-height: 1.55;
  }

  /* 端末差（LINE内など）で割れやすい行を保護 */
  .rank-guide-2025__perk-text strong{
    white-space: nowrap;
  }

  /* ============================
     FAQテキスト（折り返し対策）
     ============================ */

  .rank-guide-2025__faq-lead,
  .rank-guide-2025__faq-note{
    text-align: left;
    line-height: 1.7;
  }

}
