/* Luum — luum-terms.css */

:root {
  --beige: #F5EDE3;
  --beige-dark: #EAD9C8;
  --blush-light: #F2DDD6;
  --warm-white: #FDFAF7;
  --brown: #7A6050;
  --brown-light: #B89A88;
  --text-dark: #2E2219;
  --text-mid: #6B5A4E;
  --text-light: #A89080;
  --accent-warm: #B07860;
  --accent-deep: #8C5A72;
  --night-bg: #1E1612;
  --section-bg: #FAF5F0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--warm-white);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1;
}

/* ====== HEADER ====== */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(253, 250, 247, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(180, 150, 130, 0.18);
  padding: 14px 5%;
  display: flex; align-items: center; justify-content: space-between;
}
.header-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    width: 100%;
  }
.logo-link { text-decoration: none; }

.logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  color: var(--brown);
  letter-spacing: 0.18em;
  font-style: italic;
  line-height: 1;
  display: block;
}

.logo-sub {
  font-size: 0.55rem;
  color: var(--text-light);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.header-back {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.78rem;
  color: var(--text-mid);
  text-decoration: none;
  transition: color 0.3s;
  letter-spacing: 0.06em;
}
.header-back:hover { color: var(--accent-warm); }
.header-back::before { content: '←'; font-size: 0.9rem; }

/* ロゴ画像のサイズ調整 */
.logo img {
    height: 60px; /* ロゴの高さに合わせて調整 */
    width: auto;
}
/* ====== HERO ====== */
.hero {
  padding: 120px 5% 70px;
  background: var(--night-bg);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 25% 50%, rgba(176, 120, 96, 0.13) 0%, transparent 55%),
    radial-gradient(ellipse at 78% 30%, rgba(140, 90, 114, 0.11) 0%, transparent 55%);
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 2; }

.hero-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  color: rgba(176, 120, 96, 0.7);
  text-transform: uppercase;
  margin-bottom: 18px;
  display: flex; align-items: center;
  justify-content: center; gap: 12px;
  padding-top: 40px;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block; width: 30px; height: 1px;
  background: rgba(176, 120, 96, 0.4);
}

.hero-icon {
  font-size: 2.4rem;
  display: block;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 20px rgba(176, 120, 96, 0.4));
}

.hero-title {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(1.5rem, 4vw, 2.8rem);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
  margin-bottom: 14px;
  font-weight: 500;
}

.hero-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.42);
  line-height: 2;
  max-width: 500px;
  margin: 0 auto;
  font-weight: 300;
}

/* ====== PREAMBLE ====== */
.preamble {
  max-width: 1020px;
  margin: 0 auto;
  padding: 48px 5% 0;
}

.preamble-inner {
  background: white;
  border-radius: 16px;
  padding: 26px 30px;
  box-shadow: 0 3px 16px rgba(120, 90, 70, 0.07);
  border: 1px solid rgba(120, 90, 70, 0.06);
  font-size: 0.87rem;
  color: var(--text-mid);
  line-height: 2.2;
  font-weight: 300;
}

/* ====== MAIN LAYOUT ====== */
.page-layout {
   display: block; /* flexやgridを解除 */
    max-width: 800px; /* 読みやすい横幅に制限（お好みで） */
    margin: 0 auto; /* 中央に配置 */
    padding: 40px 20px;
}

main {
    width: 100%; /* 横幅いっぱいにする */
}

/* ====== ARTICLES ====== */
.article {
  margin-bottom: 48px;
  scroll-margin-top: 100px;
}

.article-header {
  display: flex; align-items: flex-start; gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(120, 90, 70, 0.1);
}

.article-icon-wrap {
  width: 50px; height: 50px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  box-shadow: 0 3px 12px rgba(120, 90, 70, 0.1);
}

.icon-bg-1  { background: linear-gradient(135deg, #F2DDD6, #E8C4B8); }
.icon-bg-2  { background: linear-gradient(135deg, #DDE8DD, #C8DBC8); }
.icon-bg-3  { background: linear-gradient(135deg, #DDD8F2, #C8C0E8); }
.icon-bg-4  { background: linear-gradient(135deg, #F2E8DD, #E8D4C0); }
.icon-bg-5  { background: linear-gradient(135deg, #F2DDE8, #E8C0D4); }
.icon-bg-6  { background: linear-gradient(135deg, #DDE8F2, #C0D4E8); }
.icon-bg-7  { background: linear-gradient(135deg, #E8F2DD, #D0E8C0); }
.icon-bg-8  { background: linear-gradient(135deg, #F2F0DD, #E8E0C0); }
.icon-bg-9  { background: linear-gradient(135deg, #F0DDF2, #DCC0E0); }

.article-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.7rem;
  color: var(--accent-warm);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}

.article-title {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-dark);
  line-height: 1.5;
  font-weight: 600;
}

/* Body text */
.article-body {
  font-size: 0.87rem;
  color: var(--text-mid);
  line-height: 2.2;
  font-weight: 300;
  margin-bottom: 14px;
}

/* Numbered sub-items */
.num-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 6px;
  margin: 12px 0;
}

.num-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.86rem;
  color: var(--text-mid);
  line-height: 1.85;
  font-weight: 300;
  padding: 3px 14px;
}

.num-badge {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--beige-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem;
  color: var(--brown);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
  font-family: 'DM Serif Display', serif;
}

/* Bullet list */
.bullet-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 6px;
  margin: 12px 0;
}

.bullet-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.86rem;
  color: var(--text-mid);
  line-height: 1.85;
  font-weight: 300;
  padding: 3px 14px;
}

.bullet-list li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, #B07860, #8C5A72);
  flex-shrink: 0;
  margin-top: 9px;
}

/* Highlight block */
.highlight {
  background: linear-gradient(135deg, rgba(176, 120, 96, 0.07), rgba(140, 90, 114, 0.05));
  border-left: 3px solid var(--accent-warm);
  border-radius: 0 10px 10px 0;
  padding: 14px 18px;
  font-size: 0.84rem;
  color: var(--text-mid);
  line-height: 1.95;
  font-weight: 300;
  margin: 12px 0;
}
.highlight strong { color: var(--brown); font-weight: 500; }

/* Warning block */
.alert-block {
  display: flex; align-items: flex-start; gap: 8px;
  background: rgba(214, 69, 69, 0.05);
  border: 1px solid rgba(214, 69, 69, 0.15);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.8;
  font-weight: 300;
  margin: 12px 0;
}
.alert-block::before { content: '⚠'; flex-shrink: 0; opacity: 0.6; margin-top: 1px; }

/* Safe block */
.safe-block {
  display: flex; align-items: flex-start; gap: 8px;
  background: rgba(90, 138, 106, 0.06);
  border: 1px solid rgba(90, 138, 106, 0.18);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.8;
  font-weight: 300;
  margin: 12px 0;
}
/* Price card */
.price-card {
  background: var(--night-bg);
  border-radius: 14px;
  padding: 22px 26px;
  margin: 14px 0;
  position: relative;
  overflow: hidden;
}
.price-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(135deg, #B07860, #8C5A72);
}
.price-card-amount {
  font-family: 'DM Serif Display', serif;
  font-size: 2.2rem;
  background: linear-gradient(135deg, #B07860, #8C5A72);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  display: block;
  margin-bottom: 4px;
}
.price-card-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.08em;
}

/* ====== FOOTER ====== */
footer {
  background: var(--night-bg);
  padding: 48px 5% 28px;
}

.footer-inner {
  max-width: 1020px; margin: 0 auto;
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.15em;
}

.footer-links {
  display: flex; gap: 20px; flex-wrap: wrap;
}
.footer-links a {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-links a:hover { color: rgba(255, 255, 255, 0.7); }

.footer-copy {
  width: 100%;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.2);
  padding-top: 20px; margin-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  letter-spacing: 0.08em;
}

.pp-footer-logo img {
    height: 40px; width: auto; display: block;
  }

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  .page-layout {
    grid-template-columns: 1fr;
    padding: 36px 5% 80px;
  }
  .toc { position: relative; top: 0; order: -1; }
  .hero { padding: 100px 5% 50px; }
  .preamble { padding: 32px 5% 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
