/* ===========================
   マリアージュ LP テーマ - メインCSS
   =========================== */

:root {
  --gold: #C9A84C;
  --gold-light: #E8D5A3;
  --gold-dark: #9A7A30;
  --cream: #FAF7F2;
  --dark: #1A1510;
  --text: #3D3022;
  --text-light: #7A6A50;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Noto Serif JP', serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

/* ヘッダー */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(250,247,242,0.95);
  border-bottom: 1px solid var(--gold-light);
  backdrop-filter: blur(8px);
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 300;
  color: var(--gold-dark);
  letter-spacing: 0.15em;
}

.header-line {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ヒーロー */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 20px 80px;
  position: relative;
  background: linear-gradient(160deg, #FAF7F2 0%, #F5EDD8 50%, #FAF7F2 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.12) 0%, transparent 70%);
  animation: float 8s ease-in-out infinite;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  animation: float 10s ease-in-out infinite reverse;
  pointer-events: none;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.hero-badge {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--gold-dark);
  font-size: 11px;
  letter-spacing: 0.3em;
  padding: 8px 24px;
  margin-bottom: 40px;
  animation: fadeUp 0.8s ease both;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(32px, 5.5vw, 60px);
  font-weight: 300;
  line-height: 1.6;
  color: var(--dark);
  margin-bottom: 16px;
  animation: fadeUp 0.8s 0.2s ease both;
  position: relative;
  z-index: 1;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold-dark);
  border-bottom: 1px solid var(--gold-light);
}

.hero-sub {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.9;
  max-width: 520px;
  margin: 0 auto 50px;
  font-weight: 300;
  animation: fadeUp 0.8s 0.4s ease both;
  position: relative;
  z-index: 1;
}

.cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 0.8s 0.6s ease both;
  position: relative;
  z-index: 1;
}

.btn-primary {
  background: var(--gold);
  color: white;
  padding: 16px 36px;
  font-size: 14px;
  letter-spacing: 0.15em;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  font-family: 'Noto Serif JP', serif;
}

.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(154,122,48,0.3);
}

.btn-line {
  background: #06C755;
  color: white;
  padding: 16px 36px;
  font-size: 14px;
  letter-spacing: 0.15em;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
  font-family: 'Noto Serif JP', serif;
}

.btn-line:hover {
  background: #05a847;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(6,199,85,0.3);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* セクション共通 */
section {
  padding: 80px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.section-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--gold);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 300;
  text-align: center;
  color: var(--dark);
  margin-bottom: 48px;
  line-height: 1.6;
}

.gold-line {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 16px auto 48px;
}

/* 特徴 */
.features-bg {
  background: white;
  padding: 80px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.feature-card {
  padding: 36px 28px;
  border: 1px solid var(--gold-light);
  text-align: center;
  transition: all 0.3s;
  background: var(--cream);
  cursor: pointer;
}

.feature-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(201,168,76,0.15);
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 400;
  color: var(--gold-dark);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.feature-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.9;
}

/* 乗り換えポイント */
.switch-section {
  background: linear-gradient(135deg, var(--dark) 0%, #2D2210 100%);
  padding: 80px 20px;
}

.switch-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.switch-section .section-label { color: var(--gold-light); }
.switch-section .section-title { color: white; }

.switch-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  text-align: left;
  margin-top: 40px;
}

.switch-list li {
  padding: 24px;
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold-light);
  font-size: 14px;
  line-height: 1.8;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.switch-list li::before {
  content: '✦';
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

/* 料金 */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.price-card {
  border: 1px solid var(--gold-light);
  padding: 40px 28px;
  text-align: center;
  transition: all 0.3s;
}

.price-card.featured {
  border-color: var(--gold);
  position: relative;
}

.price-card.featured::before {
  content: '人気プラン';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: white;
  font-size: 11px;
  letter-spacing: 0.15em;
  padding: 4px 16px;
}

.price-card h3 {
  font-size: 15px;
  color: var(--text-light);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.price-amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  color: var(--gold-dark);
  font-weight: 300;
  line-height: 1;
}

.price-unit {
  font-size: 13px;
  color: var(--text-light);
  margin: 8px 0 20px;
}

.price-features {
  list-style: none;
  font-size: 13px;
  color: var(--text);
  line-height: 2.2;
  text-align: left;
}

.price-features li::before {
  content: '— ';
  color: var(--gold);
}

/* ブログ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.blog-card {
  border: 1px solid var(--gold-light);
  overflow: hidden;
  transition: all 0.3s;
  text-decoration: none;
  color: var(--text);
}

.blog-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(201,168,76,0.15);
}

.blog-thumb {
  height: 140px;
  background: linear-gradient(135deg, var(--gold-light), #E8D5A3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

.blog-body { padding: 20px; }

.blog-date {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}

.blog-title {
  font-size: 14px;
  line-height: 1.7;
  font-weight: 400;
}

/* お問い合わせ */
.contact-bg {
  background: linear-gradient(160deg, #FAF7F2 0%, #F5EDD8 100%);
  padding: 80px 20px;
}

.contact-inner {
  max-width: 600px;
  margin: 0 auto;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 13px;
  color: var(--text-light);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--gold-light);
  background: white;
  font-size: 14px;
  font-family: 'Noto Serif JP', serif;
  color: var(--text);
  outline: none;
  transition: border-color 0.3s;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }

.form-group textarea {
  height: 120px;
  resize: vertical;
}

.submit-btn {
  width: 100%;
  padding: 18px;
  background: var(--gold);
  color: white;
  border: none;
  font-size: 15px;
  letter-spacing: 0.2em;
  cursor: pointer;
  font-family: 'Noto Serif JP', serif;
  transition: all 0.3s;
}

.submit-btn:hover { background: var(--gold-dark); }

/* 成婚事例ボタン */
.btn-story {
  background: var(--gold-dark);
  color: white;
  border: 2px solid var(--gold-dark);
  padding: 18px 40px;
  font-size: 16px;
  letter-spacing: 0.15em;
  cursor: pointer;
  font-family: 'Noto Serif JP', serif;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-top: 16px;
  animation: fadeUp 0.8s 0.7s ease both;
  position: relative;
  z-index: 1;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(139,105,20,0.25);
}

.btn-story:hover {
  background: #6B4E10;
  border-color: #6B4E10;
  box-shadow: 0 6px 24px rgba(139,105,20,0.4);
  transform: translateY(-1px);
}

/* ストーリーカード */
.story-card {
  border: 1px solid var(--gold-light);
  padding: 28px 24px;
  margin-bottom: 24px;
  background: white;
  position: relative;
}

.story-card:last-of-type { margin-bottom: 0; }

.story-tag {
  display: inline-block;
  background: var(--gold);
  color: white;
  font-size: 10px;
  letter-spacing: 0.2em;
  padding: 4px 12px;
  margin-bottom: 16px;
}

.story-person {
  font-size: 15px;
  font-weight: 400;
  color: var(--gold-dark);
  margin-bottom: 16px;
}

.story-before-after {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}

.story-before, .story-after {
  padding: 14px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--text);
}

.story-before {
  background: #F5F5F5;
  border-left: 3px solid #CCC;
}

.story-after {
  background: #FDF8EE;
  border-left: 3px solid var(--gold);
}

.story-arrow {
  color: var(--gold);
  font-size: 20px;
  text-align: center;
}

.story-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--text-light);
  margin-bottom: 6px;
}

.story-comment {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.9;
  font-style: italic;
  border-top: 1px solid var(--gold-light);
  padding-top: 16px;
  margin-top: 4px;
}

/* LINE固定ボタン */
.line-fixed {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
}

.line-fixed a {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #06C755;
  color: white;
  padding: 14px 24px;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.1em;
  box-shadow: 0 8px 24px rgba(6,199,85,0.4);
  transition: all 0.3s;
  font-family: 'Noto Serif JP', serif;
}

.line-fixed a:hover {
  background: #05a847;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(6,199,85,0.5);
}

/* 特徴カード展開 */
.feature-card .tap-hint {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.15em;
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.3s;
}

.feature-card.open .tap-hint { opacity: 0; height: 0; margin: 0; overflow: hidden; }

.feature-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease, padding 0.3s ease, margin 0.3s ease;
  text-align: left;
}

.feature-card.open .feature-detail {
  max-height: 600px;
  border-top: 1px solid var(--gold-light);
  padding-top: 16px;
  margin-top: 16px;
}

.feature-detail-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--text);
  line-height: 1.8;
}

.feature-detail-item .di-icon { color: var(--gold); flex-shrink: 0; margin-top: 3px; }

.feature-detail-tag {
  display: inline-block;
  background: var(--gold);
  color: white;
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  margin-bottom: 12px;
}

.feature-benefit {
  background: #FDF8EE;
  border-left: 3px solid var(--gold);
  padding: 12px 14px;
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.9;
  margin-top: 8px;
}

/* フッター */
footer {
  background: var(--dark);
  color: var(--text-light);
  text-align: center;
  padding: 40px 20px;
  font-size: 12px;
  letter-spacing: 0.1em;
}

footer .footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: var(--gold-light);
  margin-bottom: 16px;
  letter-spacing: 0.2em;
}

/* スイッチカード */
.switch-cards-grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  text-align: left;
}

.switch-card {
  padding: 22px 20px;
  border: 1px solid rgba(201,168,76,0.3);
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  transition: all 0.3s;
  display: block;
}

.switch-card:hover { border-color: var(--gold); background: rgba(201,168,76,0.08); }

.switch-card-top { display: flex; align-items: flex-start; gap: 10px; }

.sw-icon { color: var(--gold); flex-shrink: 0; margin-top: 3px; font-size: 13px; }
.sw-title { color: var(--gold-light); font-size: 14px; line-height: 1.7; flex: 1; }

.sw-arrow {
  color: var(--gold);
  font-size: 11px;
  flex-shrink: 0;
  margin-top: 5px;
  transition: transform 0.3s;
}

.switch-card.open .sw-arrow { transform: rotate(180deg); }

.switch-card-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease, margin 0.3s ease;
  font-size: 12px;
  color: rgba(232,213,163,0.85);
  line-height: 1.9;
}

.switch-card.open .switch-card-detail {
  max-height: 300px;
  border-top: 1px solid rgba(201,168,76,0.2);
  padding-top: 14px;
  margin-top: 14px;
}

/* カウンセラーセクション レスポンシブ */
@media (max-width: 680px) {
  #counselor [style*="grid-template-columns:minmax"] {
    grid-template-columns: 1fr !important;
  }
}

/* スマホ対応 */
@media (max-width: 600px) {
  header { padding: 14px 20px; }
  .logo { font-size: 18px; }
  .hero { padding: 100px 16px 60px; }
  .hero h1 { font-size: 24px; }
  .hero-sub { font-size: 14px; }
  .cta-group { flex-direction: column; align-items: stretch; width: 100%; max-width: 340px; }
  .btn-primary, .btn-line { width: 100%; text-align: center; justify-content: center; padding: 18px 20px; font-size: 15px; }
  .btn-story { width: 100%; max-width: 340px; justify-content: center; }
  .line-fixed { bottom: 16px; right: 16px; }
  .line-fixed a { padding: 12px 18px; font-size: 13px; }
  .story-before-after { grid-template-columns: 1fr; }
  .story-arrow { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .switch-list { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
}
