/* ============================================
   共通CSS - カラー変数 & ベーススタイル
   Niau App globals.css 準拠
   ============================================ */

:root {
  /* Base */
  --bg: #fafaf8;
  --fg: #2c3e50;

  /* Gold */
  --gold: #b09250;
  --gold-light: #c3ac7a;
  --gold-dark: #9a7d3f;
  --gold-gradient: linear-gradient(135deg, #b09250, #c3ac7a, #9a7d3f);

  /* Navy */
  --navy: #34495e;
  --navy-light: #5a7a96;
  --accent: #395d81;

  /* Neutral */
  --warm-gray: #f4f2ef;
  --muted: #f0edea;
  --border: #e5e1dc;
  --card: #ffffff;

  /* Semantic */
  --destructive: #c0392b;

  /* Font */
  --font-serif: "Cormorant Garamond", Georgia, "Yu Mincho", "游明朝", serif;
  --font-sans: "Yu Gothic", "游ゴシック体", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;

  /* Spacing */
  --section-padding: clamp(80px, 10vw, 160px);
  --container-width: 1120px;
  --side-padding: clamp(20px, 5vw, 80px);
}

/* ---- Utility ---- */
.gold-gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.accent-line {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 16px 0 24px;
}

.accent-line--center {
  margin-left: auto;
  margin-right: auto;
}

/* ---- Typography Override ---- */
body {
  font-family: var(--font-sans);
  color: var(--fg);
  background: var(--bg);
}

/* SWELLの見出しをCormorant Garamond + ゴールドアクセントライン付きに */
.c-secTitle,
.post_content h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--navy);
  border: none;
  padding: 0;
  background: none;
}

.c-secTitle::after,
.post_content h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin-top: 12px;
}

.post_content h3 {
  font-size: 1.1rem;
  color: var(--navy);
  padding-left: 12px;
  border-left: 3px solid var(--gold);
  border-bottom: none;
  background: none;
}

/* ---- SWELLカード型投稿リスト ホバー時ゴールドライン ---- */
.-type-card .p-postList__item {
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}

.-type-card .p-postList__item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.4s ease;
}

.-type-card .p-postList__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(44, 62, 80, 0.08);
}

.-type-card .p-postList__item:hover::after {
  width: 100%;
}

/* ---- ボタン ---- */
.btn-gold {
  display: inline-block;
  padding: 14px 36px;
  background: var(--gold);
  color: #fff;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  border-radius: 2px;
  transition: all 0.25s;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(176, 146, 80, 0.25);
  color: #fff;
}

.btn-outline-gold {
  display: inline-block;
  padding: 12px 32px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  border-radius: 2px;
  transition: all 0.25s;
  text-decoration: none;
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: #fff;
}

/* ---- フッター ---- */
.l-footer {
  background: var(--fg);
  color: var(--warm-gray);
}

.l-footer a {
  color: rgba(244, 242, 239, 0.7);
  transition: color 0.2s;
}

.l-footer a:hover {
  color: var(--gold-light);
}

/* ---- Scroll Fade-in Animation ---- */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .mag-cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}
