/* =========================
   Luvena / Terms Page Only
   page-terms.php 専用CSS
========================= */

/* =========================
   レイアウト全体
========================= */
body.page-template-page-terms-php .terms-page,
body.page-template-page-terms-php .terms-container,
body.page-template-page-terms-php .entry-content {
  max-width: 920px;
  margin: 0 auto;
  padding: 32px 20px 80px;
}

/* =========================
   左上に出ていたページタイトルを消す
========================= */
body.page-template-page-terms-php h1.page-title,
body.page-template-page-terms-php .entry-header {
  display: none !important;
}

/* =========================
   本文テキスト
========================= */
body.page-template-page-terms-php .entry-content {
  font-size: 14.5px;
  line-height: 1.9;
  color: rgba(245, 245, 255, 0.92);
}

/* =========================
   見出し（アコーディオン見出し用）
========================= */
body.page-template-page-terms-php .entry-content h2 {
  margin: 18px 0;
  padding: 16px 20px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

/* =========================
   アコーディオン中身
========================= */
body.page-template-page-terms-php .entry-content h2 + * {
  padding: 14px 20px 20px;
  display: none;
}

/* 開いている状態 */
body.page-template-page-terms-php .entry-content h2.is-open + * {
  display: block;
}

/* =========================
   段落・リスト
========================= */
body.page-template-page-terms-php .entry-content p {
  margin: 10px 0 14px;
}

body.page-template-page-terms-php .entry-content ul,
body.page-template-page-terms-php .entry-content ol {
  margin: 12px 0 18px 1.3em;
}

body.page-template-page-terms-php .entry-content li {
  margin: 6px 0;
}

/* =========================
   横線（hr）整理
========================= */
body.page-template-page-terms-php hr {
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 22px 0;
}

/* =========================
   リンク
========================= */
body.page-template-page-terms-php .entry-content a {
  color: #c9d7ff;
  text-decoration: underline;
}
body.page-template-page-terms-php .entry-content a:hover {
  color: #ffffff;
}

/* =========================
   モバイル調整
========================= */
@media (max-width: 600px) {
  body.page-template-page-terms-php .entry-content {
    font-size: 14px;
  }
}
/* ===== Terms Accordion basic open/close ===== */
body.page-template-page-terms-php .terms-accordion-body {
  display: none;
  padding: 14px 18px 18px;
}

body.page-template-page-terms-php .terms-accordion.is-open .terms-accordion-body {
  display: block;
}

body.page-template-page-terms-php .terms-accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 14px 18px;
}

body.page-template-page-terms-php .terms-accordion-icon {
  font-weight: 800;
  opacity: .8;
}
/* 戻るボタン */
body.page-template-page-terms-php .terms-back{
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

body.page-template-page-terms-php .terms-back-btn{
  appearance: none;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.35);
  color: rgba(245,245,255,0.95);
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .06em;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

body.page-template-page-terms-php .terms-back-btn:hover{
  background: rgba(0,0,0,0.48);
}
/* =========================
   Terms Bottom Back Button
========================= */
body.page-template-page-terms-php .terms-back-wrap{
  margin-top: 34px;
  display: flex;
  justify-content: center;
}

body.page-template-page-terms-php .terms-back-btn{
  appearance: none;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(0,0,0,0.22);
  color: rgba(255,255,255,0.92);
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: .04em;
  cursor: pointer;
  box-shadow: 0 14px 40px rgba(0,0,0,0.35);
  transition: transform .12s ease, border-color .12s ease, background .12s ease, box-shadow .12s ease;
}

body.page-template-page-terms-php .terms-back-btn:hover{
  transform: translateY(-1px);
  border-color: rgba(213,163,191,0.45);
  background: rgba(213,163,191,0.10);
  box-shadow: 0 18px 55px rgba(0,0,0,0.42);
}
