/* ============================================================
   イケメン王子（prince）利用規約ページ
   page-prince-terms.php / page-prince-crownpass_terms.php 共用
   NEWS詳細ページ（single-princenews.php）のフレームを踏襲
   実テキスト版（iOS版 / Android版・プラットフォーム区切り対応）
   ============================================================ */

/* ページ見出し（NEWSタイトル画像の代わりにテキスト。dt 内） */
.news-detail-body > dl > dt > .terms-title {
  font-size: 2.6rem;
  line-height: 1.5;
  font-weight: bold;
  color: #05b5ba;
}

/* リード文 */
.terms-body .terms-intro {
  margin-bottom: 40px;
  line-height: 2;
}

/* 各条文セクション */
.terms-body .terms-section {
  margin-bottom: 30px;
}

/* 条文見出し（項目名） */
.terms-body .terms-h3 {
  font-size: 1.9rem;
  font-weight: bold;
  color: #05b5ba;
  border-left: 4px solid #05b5ba;
  padding: 3px 0 3px 12px;
  margin-bottom: 12px;
  line-height: 1.5;
}

/* 条文本文 */
.terms-body .terms-section > p {
  line-height: 2;
  margin-bottom: 12px;
}

.terms-body .terms-section > p:last-child {
  margin-bottom: 0;
}

/* 番号付きリスト */
.terms-body .terms-ol {
  list-style: decimal;
  padding-left: 1.8em;
  margin: 10px 0 14px;
}

.terms-body .terms-ol > li {
  list-style: decimal;
  margin-bottom: 6px;
}

/* 制定日・附則 */
.terms-body .terms-date {
  text-align: right;
  margin-top: 30px;
  font-size: 1.4rem;
  color: #777777;
}

/* ============================================================
   実テキスト版 追加スタイル（プラットフォーム区切り・章見出し・ボックス等）
   ============================================================ */

/* プラットフォーム大区切り（iOS版 / Android版） */
.terms-body .terms-platform {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  background-color: #05b5ba;
  padding: 8px 14px;
  margin: 48px 0 24px;
  text-align: center;
  letter-spacing: 0.1em;
}

.terms-body .terms-platform:first-child {
  margin-top: 0;
}

/* 章見出し（１．〜 / 【 】） */
.terms-body .terms-h2 {
  font-size: 1.9rem;
  font-weight: 700;
  color: #222;
  border-bottom: 2px solid #05b5ba;
  padding-bottom: 6px;
  margin: 32px 0 18px;
  line-height: 1.5;
}

/* ボックス（(1)(2)… グループ枠・箇条書き） */
.terms-body .terms-box {
  list-style: none;
  background-color: rgba(5, 181, 186, 0.08);
  border: 1px solid rgba(5, 181, 186, 0.3);
  padding: 14px 16px;
  margin: 12px 0;
}

.terms-body .terms-box > li {
  font-size: 1.6rem;
  line-height: 1.8;
  text-indent: -1.4em;
  padding-left: 1.4em;
}

.terms-body .terms-box > li:not(:last-child) {
  margin-bottom: 8px;
}

/* 注記（※） */
.terms-body .terms-note {
  font-size: 1.4rem;
  color: #555;
  line-height: 1.7;
}

/* 「以上」 */
.terms-body .terms-end {
  text-align: center;
  margin-top: 24px;
  font-weight: 700;
}

/* リンク */
.terms-body a {
  color: #05b5ba;
  text-decoration: underline;
  word-break: break-all;
}

/* TOPへ戻るボタン（テキスト型・prince丸型ボタン調） */
.news-detail-btn .terms-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 440px;
  max-width: 100%;
  height: 60px;
  color: #f3e7c4;
  font-size: 1.8rem;
  letter-spacing: 0.08em;
  background-color: #05b5ba;
  border: 2px solid #f3e7c4;
  border-radius: 50px;
  box-shadow: 0px 0px 4px 1px rgba(0, 0, 0, 0.1);
}

/* ============================================================
   SP（NEWS詳細と同じ 767px ブレイクポイント）
   ============================================================ */
@media screen and (max-width: 767px) {
  .news-detail-body > dl > dt > .terms-title {
    font-size: 1.7rem;
  }

  .terms-body .terms-intro {
    margin-bottom: 24px;
  }

  .terms-body .terms-section {
    margin-bottom: 24px;
  }

  .terms-body .terms-h3 {
    font-size: 1.5rem;
    padding-left: 10px;
    margin-bottom: 10px;
  }

  .terms-body .terms-platform {
    font-size: 1.6rem;
    padding: 6px 10px;
    margin: 36px 0 20px;
  }

  .terms-body .terms-h2 {
    font-size: 1.5rem;
    margin: 26px 0 14px;
  }

  .terms-body .terms-box > li {
    font-size: 1.3rem;
  }

  .terms-body .terms-note {
    font-size: 1.2rem;
  }

  .terms-body .terms-date {
    font-size: 1.2rem;
  }

  .news-detail-btn .terms-back {
    width: 100%;
    height: 50px;
    font-size: 1.4rem;
  }
}

@media (any-hover: hover) {
  .news-detail-btn .terms-back {
    -webkit-transition: 0.3s;
    transition: 0.3s;
  }

  .news-detail-btn .terms-back:hover {
    -webkit-filter: brightness(1.15);
    filter: brightness(1.15);
  }
}
