/* ========================================
   ページヘッダー
   ======================================== */

.page-header {
  background: var(--color-yellow);
  text-align: center;
  padding-top: 80px;
  padding-bottom: 60px;
}

@media (max-width: 767px) {
  .page-header {
    padding-top: 60px;
    padding-bottom: 40px;
  }
}

.page-header-inner {
  display: flex;
  flex-direction: column;
  width: 92vw;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.page-header-logo {
  font-size: 32px;
  line-height: 1;
  color: var(--color-base);
  text-decoration: none;
}

@media (max-width: 767px) {
  .page-header-logo {
    font-size: 24px;
  }
}

.page-header-label {
  font-size: 13px;
  line-height: 1;
  color: var(--color-glay);
  margin-top: 10px;
}

@media (max-width: 767px) {
  .page-header-label {
    font-size: 11px;
  }
}

/* ========================================
   ルールブロック共通
   ======================================== */

.section-guideline-rules {
  padding-top: 0;
}

.rule-block {
  padding-top: 40px;
  padding-bottom: 40px;
}

@media (max-width: 767px) {
  .rule-block {
    padding-top: 32px;
    padding-bottom: 32px;
  }
}

.rule-block:first-child {
  padding-top: 0;
}

/* ヘッダー（OKラベル・NGラベル + タイトル） */
.rule-block-header {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

/* OKラベル・NGラベル */
.rule-label {
  display: inline-block;
  font-family: "Poppins", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1;
  border-radius: 9999px;
  padding: 6px 14px;
  margin-right: 12px;
}

.rule-label-ok {
  color: var(--color-base);
  background: var(--color-yellow);
}

.rule-label-ng {
  color: var(--color-white);
  background: var(--color-base);
}

/* ブロックタイトル */
.rule-block-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-base);
}

@media (max-width: 767px) {
  .rule-block-title {
    font-size: 16px;
  }
}

/* セクション3・4はヘッダーなしのためタイトルに直接余白 */
.rule-support .rule-block-title,
.rule-copyright .rule-block-title {
  margin-bottom: 20px;
}

/* リードテキスト */
.rule-lead {
  margin-bottom: 12px;
}

/* ========================================
   ルールリスト
   ======================================== */

.rule-list {
  padding-left: 1em;
}

.rule-item {
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-base);
  list-style: disc;
  padding-top: 4px;
  padding-bottom: 4px;
}

@media (max-width: 767px) {
  .rule-item {
    font-size: 12px;
  }
}

/* ========================================
   サポート・免責事項 DLレイアウト
   ======================================== */

.support-list {
  display: flex;
  flex-direction: column;
}

.support-item {
  display: flex;
  border-bottom: 1px solid var(--color-base);
  padding-top: 12px;
  padding-bottom: 12px;
}

.support-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

@media (max-width: 767px) {
  .support-item {
    flex-direction: column;
  }
}

.support-term {
  width: 15%;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
  color: var(--color-base);
}

@media (max-width: 767px) {
  .support-term {
    width: 100%;
    font-size: 12px;
    margin-bottom: 4px;
  }
}

.support-desc {
  width: 85%;
  font-size: 13px;
  line-height: 1.8;
  color: var(--color-base);
}

@media (max-width: 767px) {
  .support-desc {
    font-size: 12px;
  }
}


/* ========================================
   トップへ戻るボタン
   ======================================== */

.guideline-back-btn {
  margin-top: 48px;
}

@media (max-width: 767px) {
  .guideline-back-btn {
    margin-top: 32px;
  }
}

.footer {
  padding-bottom: 13px;
}


/* ========================================
   プライバシーポリシー
   ======================================== */

.section-privacy {
  padding-top: 0;
}

.privacy-updated {
  font-size: 12px;
  color: var(--color-glay);
  text-align: right;
  margin-bottom: 8px;
}

@media (max-width: 767px) {
  .privacy-updated {
    font-size: 11px;
  }
}

/* すべてのブロックタイトルに余白を付与 */
.section-privacy .rule-block-title {
  margin-bottom: 20px;
}

.section-privacy .rule-block {
  border-bottom: 1px solid var(--color-sub);
}

.section-privacy .rule-block:last-of-type {
  border-bottom: none;
}

/* aタグはbtn-roundを除いて色・アンダーライン指定 */
.section-privacy p a {
  color: var(--color-base);
  text-decoration: underline;
}

@media (min-width: 768px) {
  .section-privacy p a {
    transition: text-decoration-color 0.2s;
  }
}

@media (min-width: 768px) {
  .section-privacy p a:hover {
    text-decoration: none;
  }
}