/* ========================================
   利用規約・プライバシーポリシー・退会ページ共通スタイル
======================================== */

/* ページ全体 */
.terms-page {
  background: #fff;
}

/* ========================================
   ヒーローセクション
======================================== */
.terms-hero {
  background: #77d9c9;
  padding: 60px 20px;
  text-align: center;
}

.terms-hero-title {
  font-family: "Noto Serif JP", serif;
  font-size: 28px;
  color: #000;
  margin-bottom: 15px;
  font-weight: 700;
}

.terms-hero-subtitle {
  font-size: 14px;
  color: #000;
  letter-spacing: 1px;
}

/* ========================================
   イントロセクション
======================================== */
.terms-intro {
  background: #f8f8f8;
  padding: 30px 20px;
  text-align: center;
}

.terms-intro p {
  font-size: 14px;
  color: #333;
  line-height: 2;
}

/* ========================================
   メインセクション
======================================== */
.terms-section {
  padding: 40px 20px;
  background: #fff;
}

.terms-section-alt {
  background: #f8f8f8;
}

.terms-section-title {
  font-family: "Noto Serif JP", serif;
  font-size: 20px;
  color: #222;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid #77d9c9;
}

/* ========================================
   各条項
======================================== */
.terms-article {
  margin-bottom: 35px;
}

.terms-article:last-child {
  margin-bottom: 0;
}

.terms-article-title {
  font-size: 15px;
  color: #222;
  font-weight: 700;
  margin-bottom: 15px;
  padding-left: 0;
}

/* 番号付きリスト */
.terms-list {
  list-style: none;
  counter-reset: terms-counter;
  padding-left: 0;
}

.terms-list li {
  counter-increment: terms-counter;
  font-size: 14px;
  color: #333;
  line-height: 1.9;
  margin-bottom: 12px;
  padding-left: 28px;
  position: relative;
}

.terms-list li::before {
  content: counter(terms-counter) ".";
  position: absolute;
  left: 0;
  color: #77d9c9;
  font-weight: 700;
}

/* 箇条書きリスト */
.terms-bullet-list {
  list-style: none;
  padding-left: 0;
  margin: 15px 0;
}

.terms-bullet-list li {
  font-size: 14px;
  color: #333;
  line-height: 1.9;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.terms-bullet-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #77d9c9;
  font-weight: 700;
}

/* テキスト */
.terms-text {
  font-size: 14px;
  color: #333;
  line-height: 1.9;
  margin-bottom: 10px;
}

.terms-note {
  font-size: 13px;
  color: #666;
  line-height: 1.8;
  margin-top: 15px;
  padding: 12px 15px;
  background: rgba(119, 217, 201, 0.1);
  border-left: 3px solid #77d9c9;
}

/* ========================================
   特定商取引法テーブル
======================================== */
.terms-table {
  margin-top: 20px;
}

.terms-table-row {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #e0e0e0;
  padding: 18px 0;
}

.terms-table-row:last-child {
  border-bottom: none;
}

.terms-table-label {
  font-size: 12px;
  color: #77d9c9;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.terms-table-value {
  font-size: 14px;
  color: #333;
  line-height: 1.8;
}

.terms-table-value a {
  color: #77d9c9;
  text-decoration: none;
  word-break: break-all;
}

.terms-table-value a:hover {
  text-decoration: underline;
}

/* ========================================
   ご注意セクション
======================================== */
.terms-caution {
  background: #fff8e6;
  padding: 40px 20px;
  text-align: center;
  border-top: 3px solid #f5c518;
  border-bottom: 3px solid #f5c518;
}

.terms-caution-title {
  font-family: "Noto Serif JP", serif;
  font-size: 18px;
  color: #c9a000;
  margin-bottom: 20px;
  font-weight: 700;
}

.terms-caution-text {
  font-size: 14px;
  color: #333;
  line-height: 2;
  margin-bottom: 15px;
}

.terms-caution-text:last-child {
  margin-bottom: 0;
}

.terms-caution-text strong {
  color: #c9a000;
}

/* ========================================
   トップへ戻るボタン
======================================== */
.terms-back {
  padding: 40px 20px;
  text-align: center;
  background: #fff;
}

.btn-back {
  display: inline-block;
  background: #77d9c9;
  color: #000;
  text-decoration: none;
  padding: 15px 40px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.3s;
}

.btn-back:hover {
  background: #5fc9b8;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* ========================================
   プライバシーポリシー お問い合わせボックス
======================================== */
.privacy-contact-box {
  background: #f8f8f8;
  padding: 25px;
  margin-top: 20px;
  border-left: 3px solid #77d9c9;
}

.privacy-contact-row {
  margin-bottom: 20px;
}

.privacy-contact-row:last-child {
  margin-bottom: 0;
}

.privacy-contact-label {
  display: block;
  font-size: 12px;
  color: #77d9c9;
  font-weight: 700;
  margin-bottom: 8px;
}

.privacy-contact-value {
  display: block;
  font-size: 14px;
  color: #333;
  line-height: 1.8;
}

.privacy-contact-value a {
  color: #77d9c9;
  text-decoration: none;
}

.privacy-contact-value a:hover {
  text-decoration: underline;
}

/* ========================================
   退会ページ
======================================== */
.cancel-warning-box {
  background: #fff8e6;
  border: 1px solid #f5c518;
  padding: 25px;
  margin-bottom: 25px;
}

.cancel-warning-intro {
  font-size: 14px;
  color: #000;
  margin-bottom: 20px;
  font-weight: 500;
}

.cancel-warning-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cancel-warning-list li {
  font-size: 13px;
  color: #000;
  line-height: 1.8;
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
}

.cancel-warning-list li:last-child {
  margin-bottom: 0;
}

.cancel-warning-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #f5c518;
  font-weight: 700;
}

.cancel-warning-list li strong {
  color: #c9a000;
}

.cancel-important-note {
  background: #f8f8f8;
  border-left: 4px solid #e74c3c;
  padding: 20px;
}

.cancel-important-note p {
  font-size: 13px;
  color: #000;
  line-height: 1.8;
  margin: 0;
}

.cancel-important-note p:first-child {
  margin-bottom: 8px;
}

.cancel-important-note strong {
  color: #e74c3c;
}

/* 退会確認セクション */
.cancel-confirm-text {
  font-size: 14px;
  color: #000;
  margin-bottom: 30px;
  text-align: center;
}

.cancel-buttons {
  max-width: 300px;
  margin: 0 auto;
  text-align: center;
}

.cancel-btn {
  display: block;
  width: 100%;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s;
  margin-bottom: 8px;
}

.cancel-btn-proceed {
  background: #e74c3c;
  color: #fff;
  border: none;
}

.cancel-btn-proceed:hover {
  background: #c0392b;
  box-shadow: 0 3px 15px rgba(231, 76, 60, 0.3);
}

.cancel-btn-back {
  background: #fff;
  color: #000;
  border: 1px solid #ddd;
}

.cancel-btn-back:hover {
  background: #77d9c9;
  border-color: #77d9c9;
}

.cancel-btn-desc {
  font-size: 11px;
  color: #666;
  margin: 0 0 25px;
}

.cancel-btn-desc:last-child {
  margin-bottom: 0;
}

/* ========================================
   スマホ対応
======================================== */
@media (max-width: 768px) {
  .terms-hero {
    padding: 40px 15px;
  }

  .terms-hero-title {
    font-size: 22px;
  }

  .terms-hero-subtitle {
    font-size: 12px;
  }

  .terms-intro {
    padding: 25px 15px;
  }

  .terms-intro p {
    font-size: 13px;
  }

  .terms-section {
    padding: 30px 15px;
  }

  .terms-section-title {
    font-size: 18px;
  }

  .terms-article-title {
    font-size: 14px;
  }

  .terms-list li,
  .terms-bullet-list li,
  .terms-text {
    font-size: 13px;
  }

  .terms-table-row {
    padding: 15px 0;
  }

  .terms-table-label {
    font-size: 11px;
  }

  .terms-table-value {
    font-size: 13px;
  }

  .terms-caution {
    padding: 30px 15px;
  }

  .terms-caution-title {
    font-size: 16px;
  }

  .terms-caution-text {
    font-size: 13px;
  }

  .terms-back {
    padding: 30px 15px;
  }

  .btn-back {
    padding: 12px 30px;
    font-size: 13px;
  }

  /* 退会ページ スマホ対応 */
  .cancel-warning-box {
    padding: 20px 15px;
  }

  .cancel-warning-intro {
    font-size: 13px;
  }

  .cancel-warning-list li {
    font-size: 12px;
  }

  .cancel-important-note {
    padding: 15px;
  }

  .cancel-important-note p {
    font-size: 12px;
  }

  .cancel-confirm-text {
    font-size: 13px;
  }

  .cancel-btn {
    padding: 12px 18px;
    font-size: 13px;
  }

  .cancel-btn-desc {
    font-size: 10px;
  }
}

/* ========================================
   会員登録ページ
======================================== */
.register-steps {
  margin-bottom: 30px;
}

.register-step {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  padding: 20px;
  background: #f8f8f8;
  border-left: 3px solid #77d9c9;
}

.register-step:last-child {
  margin-bottom: 0;
}

.register-step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: #77d9c9;
  color: #000;
  font-size: 16px;
  font-weight: 700;
  border-radius: 50%;
}

.register-step-text {
  font-size: 14px;
  color: #333;
  line-height: 1.8;
  margin: 0;
  padding-top: 4px;
}

/* CTA セクション */
.register-cta-section {
  text-align: center;
}

.register-cta-box {
  margin: 30px 0;
}

.register-cta-btn {
  display: inline-block;
  padding: 18px 50px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  background: #77d9c9;
  color: #000;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(119, 217, 201, 0.3);
}

.register-cta-btn:hover {
  background: #5fc9b8;
  box-shadow: 0 6px 25px rgba(119, 217, 201, 0.4);
  transform: translateY(-2px);
}

.register-notice {
  background: #fff8e6;
  border: 1px solid #f5c518;
  padding: 20px;
  margin-top: 25px;
}

.register-notice p {
  font-size: 13px;
  color: #333;
  line-height: 1.8;
  margin: 0 0 8px;
}

.register-notice p:last-child {
  margin-bottom: 0;
}