/* ============================================================
   セゾンプラチナ・ビジネス・アメックス 紹介記事LP
   style.css
   ============================================================ */

/* CSS変数 */
:root {
 --primary: #0d1f4e;
 --secondary: #1a4080;
 --accent: #c8a850;
 --accent-light: #e8c870;
 --bg: #f5f7fa;
 --text: #1d1d1f;
 --text-muted: #1d1d1f;
 --white: #ffffff;
 --border: #d0d8e8;
 --card-bg: #ffffff;
 --shadow: 0 4px 20px rgba(13, 31, 78, 0.1);
 --shadow-hover: 0 12px 40px rgba(13, 31, 78, 0.2);
 --radius: 12px;
 --radius-sm: 8px;
 --transition: 0.3s ease;
}

/* リセット */
*,
*::before,
*::after {
 box-sizing: border-box;
 margin: 0;
 padding: 0;
}

html {
 scroll-behavior: smooth;
}

body {
 font-family: "Noto Sans JP", sans-serif;
 font-size: 16px;
 line-height: 1.7;
 color: var(--text);
 background: var(--bg);
 -webkit-font-smoothing: antialiased;
}

img {
 max-width: 100%;
 height: auto;
 display: block;
}

a {
 color: var(--secondary);
 text-decoration: none;
 transition: color var(--transition);
}

a:hover {
 color: var(--accent);
}

ul {
 list-style: none;
}

/* ============================================================
   レイアウト基盤
   ============================================================ */

.container {
 max-width: 800px;
 margin: 0 auto;
 padding: 0 20px;
}

section {
 padding: 60px 0;
}

/* ============================================================
   0. サイトヘッダー
   ============================================================ */

.site-header {
 background: var(--primary);
 border-top: 3px solid var(--accent);
 width: 100%;
}

.site-header__inner {
 max-width: 800px;
 margin: 0 auto;
 padding: 12px 20px;
}

.site-title {
 color: var(--white);
 font-size: 14px;
 letter-spacing: 0.05em;
 font-weight: 500;
}

@media (min-width: 768px) {
 .site-title {
  font-size: 16px;
 }
}

/* ============================================================
   1. Hero Section
   ============================================================ */

.hero {
 background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 60%, #1e5099 100%);
 color: var(--white);
 padding: 60px 0;
 position: relative;
 overflow: hidden;
}

.hero::before {
 content: "";
 position: absolute;
 top: -50%;
 right: -10%;
 width: 500px;
 height: 500px;
 background: radial-gradient(circle, rgba(200, 168, 80, 0.12) 0%, transparent 70%);
 pointer-events: none;
}

.hero__inner {
 max-width: 800px;
 margin: 0 auto;
 padding: 0 20px;
 display: flex;
 flex-direction: column;
 gap: 40px;
}

.hero__content {
 flex: 1;
}

.hero__badge {
 display: inline-block;
 background: var(--accent);
 color: var(--primary);
 font-size: 12px;
 font-weight: 700;
 letter-spacing: 0.08em;
 padding: 5px 14px;
 border-radius: 20px;
 margin-bottom: 16px;
}

.hero__catch {
 font-size: 22px;
 font-weight: 700;
 line-height: 1.4;
 margin-bottom: 16px;
 letter-spacing: 0.02em;
}

.hero__sub {
 font-size: 16px;
 line-height: 1.8;
 color: rgba(255, 255, 255, 0.85);
 margin-bottom: 28px;
}

.hero__sub strong {
 color: var(--accent-light);
 font-weight: 700;
}

.hero__card-img {
 flex: 1;
 max-width: 360px;
 width: 100%;
 margin: 0 auto;
}

.hero__card-img .dummy-img {
 width: 100%;
 aspect-ratio: 3 / 2;
 border-radius: var(--radius);
 border: 2px solid rgba(200, 168, 80, 0.4);
 object-fit: contain;
 display: block;
}

.hero__card-img img {
 width: 100%;
 aspect-ratio: 3 / 2;
 object-fit: contain;
 display: block;
}

@media (min-width: 768px) {
 .hero__inner {
  flex-direction: row;
  align-items: center;
  gap: 48px;
 }

 .hero__content {
  flex: 1.2;
 }

 .hero__catch {
  font-size: 26px;
 }

 .hero__card-img {
  margin: 0;
 }
}

/* CTAボタン */
.cta-btn {
 margin:0 auto;
 display: block;
 width: 70%;
 position: relative;
 overflow: hidden;
 background: linear-gradient(135deg, var(--accent) 0%, #e8c870 100%);
 color: var(--primary);
 font-size: 16px;
 font-weight: 700;
 letter-spacing: 0.04em;
 padding: 16px 32px;
 border-radius: 50px;
 border: none;
 cursor: pointer;
 text-align: center;
 text-decoration: none;
 transition: transform var(--transition), box-shadow var(--transition);
 box-shadow: 0 4px 20px rgba(200, 168, 80, 0.4);
}
@media (min-width: 768px) {
   .cta-btn {
      margin:auto;
      width: 90%;
   }
}

.cta-btn:hover {
 transform: translateY(-2px);
 box-shadow: 0 8px 32px rgba(200, 168, 80, 0.6);
 color: var(--primary);
}

.cta-btn::after {
 content: "";
 position: absolute;
 top: 0;
 left: -100%;
 width: 60%;
 height: 100%;
 background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
 transform: skewX(-20deg);
 animation: shimmer 3s infinite;
}

@keyframes shimmer {
 0% { left: -100%; }
 40% { left: 150%; }
 100% { left: 150%; }
}

.cta-btn__note {
 display: block;
 font-size: 12px;
 font-weight: 400;
 margin-top: 4px;
 opacity: 0.8;
}

/* ============================================================
   セクション共通スタイル
   ============================================================ */

.section-title {
 font-size: 22px;
 font-weight: 700;
 color: var(--primary);
 margin-bottom: 8px;
 letter-spacing: 0.02em;
}

.section-title span {
 color: var(--accent);
}

.section-lead {
 font-size: 16px;
 color: var(--text-muted);
 margin-bottom: 32px;
}

.section-header {
 margin-bottom: 36px;
}

.section-header--center {
 text-align: center;
}

@media (min-width: 768px) {
 .section-title {
  font-size: 28px;
 }
}

/* ============================================================
   2. 入会特典サマリー
   ============================================================ */

.benefits-summary {
 background: var(--white);
}

.benefits-grid {
 display: grid;
 grid-template-columns: 1fr;
 gap: 16px;
 margin-bottom: 28px;
}

@media (min-width: 640px) {
 .benefits-grid {
  grid-template-columns: repeat(3, 1fr);
 }
}

.benefit-card {
 background: var(--bg);
 border: 1px solid var(--border);
 border-radius: var(--radius);
 padding: 24px 20px;
 text-align: center;
 transition: transform var(--transition), box-shadow var(--transition);
}

.benefit-card:hover {
 transform: translateY(-6px);
 box-shadow: var(--shadow-hover);
}

.benefit-card__icon {
 font-size: 36px;
 margin-bottom: 12px;
 display: block;
}

.benefit-card__title {
 font-size: 20px;
 font-weight: 700;
 color: var(--primary);
 line-height: 1.4;
}

.benefit-card__amount {
 font-size: 36px;
 font-weight: 700;
 color: var(--accent);
 letter-spacing: -0.02em;
}

.benefit-card__amount span {
 font-size: 14px;
 font-weight: 400;
 color: var(--text-muted);
}

.benefit-card__note {
 font-size: 12px;
 color: var(--text-muted);
 margin-top: 6px;
 line-height: 1.5;
}

.benefits-total {
 background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
 color: var(--white);
 border-radius: var(--radius);
 padding: 24px 28px 20px;
 text-align: center;
 position: relative;
 overflow: hidden;
}

.benefits-total::before {
 content: "";
 position: absolute;
 top: -30%;
 right: -5%;
 width: 200px;
 height: 200px;
 background: radial-gradient(circle, rgba(200, 168, 80, 0.15) 0%, transparent 70%);
 pointer-events: none;
}

.benefits-total__label {
 font-size: 14px;
 letter-spacing: 0.05em;
 color: rgba(255, 255, 255, 0.8);
}

.benefits-total__amount {
 font-size: 42px;
 font-weight: 700;
 color: var(--accent-light);
 letter-spacing: -0.02em;
 line-height: 1.4;
}

.benefits-total__amount small {
 font-size: 18px;
 font-weight: 400;
}

/* ============================================================
   3. カード基本仕様
   ============================================================ */

.card-specs {
 background: var(--white);
}

.specs-table {
 width: 100%;
 border-collapse: collapse;
 background: var(--white);
 border-radius: var(--radius);
 overflow: hidden;
 box-shadow: var(--shadow);
}

.specs-table th,
.specs-table td {
 padding: 16px 20px;
 text-align: left;
 border-bottom: 1px solid var(--border);
 font-size: 16px;
}

.specs-table th {
 background: var(--primary);
 color: var(--white);
 font-weight: 600;
 width: 40%;
 font-size: 14px;
}

.specs-table td {
 color: var(--text);
}

.specs-table tr:last-child th,
.specs-table tr:last-child td {
 border-bottom: none;
}

.specs-table tr:nth-child(even) td {
 background: #f8fafc;
}

/* ============================================================
   4. 主要特典
   ============================================================ */

.features {
 background: var(--bg);
}

.features-grid {
 display: grid;
 grid-template-columns: 1fr;
 gap: 16px;
}

@media (min-width: 640px) {
 .features-grid {
  grid-template-columns: repeat(2, 1fr);
 }
}

.feature-card {
 background: var(--white);
 border: 1px solid var(--border);
 border-radius: var(--radius);
 padding: 24px;
 display: flex;
 gap: 16px;
 align-items: flex-start;
 transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
 transform: translateY(-4px);
 box-shadow: var(--shadow-hover);
}

.feature-card__icon {
 font-size: 32px;
 flex-shrink: 0;
 width: 48px;
 height: 48px;
 background: linear-gradient(135deg, rgba(13, 31, 78, 0.08) 0%, rgba(200, 168, 80, 0.12) 100%);
 border-radius: var(--radius-sm);
 display: flex;
 align-items: center;
 justify-content: center;
}

.feature-card__title {
 font-size: 16px;
 font-weight: 700;
 color: var(--primary);
 margin-bottom: 6px;
}

.feature-card__desc {
 font-size: 16px;
 color: var(--text-muted);
 line-height: 1.6;
}

/* ============================================================
   5. こんな方におすすめ
   ============================================================ */

.for-who {
 background: var(--white);
}

.for-who__grid {
 display: grid;
 grid-template-columns: 1fr;
 gap: 16px;
}

@media (min-width: 640px) {
 .for-who__grid {
  grid-template-columns: repeat(3, 1fr);
 }
}

.for-who__card {
 background: var(--white);
 border-radius: var(--radius);
 padding: 24px 20px;
 text-align: center;
 box-shadow: var(--shadow);
 border-top: 3px solid var(--accent);
 transition: transform var(--transition);
}

.for-who__card:hover {
 transform: translateY(-4px);
}

.for-who__icon {
 font-size: 40px;
 margin-bottom: 12px;
 display: block;
}

.for-who__title {
 font-size: 16px;
 font-weight: 700;
 color: var(--primary);
 margin-bottom: 10px;
}

.for-who__list {
 font-size: 15px;
 color: var(--text-muted);
 line-height: 1.8;
 text-align: left;
}

.for-who__list li::before {
 content: "✓ ";
 color: var(--accent);
 font-weight: 700;
}

.for-who__note {
 margin-top: 28px;
 background: linear-gradient(135deg, rgba(13, 31, 78, 0.08) 0%, rgba(200, 168, 80, 0.18) 100%);
 border: 1px solid rgba(200, 168, 80, 0.45);
 border-radius: var(--radius-sm);
 padding: 16px 20px;
 font-size: 16px;
 color: var(--primary);
 font-weight: 600;
 text-align: center;
}

/* ============================================================
   6. 注意事項 / FAQ（アコーディオン）
   ============================================================ */

.faq {
 background: var(--bg);
}

.faq-list {
 display: flex;
 flex-direction: column;
 gap: 16px;
}

.faq-item {
 border: 1px solid var(--border);
 border-radius: var(--radius);
 overflow: hidden;
}

/* summaryのデフォルトマーカー非表示 */
.faq-item__q {
 list-style: none;
}
.faq-item__q::-webkit-details-marker {
 display: none;
}

/* Q ボタン（summary） */
.faq-item__q {
 background: var(--primary);
 color: var(--white);
 padding: 16px 20px;
 font-size: 16px;
 font-weight: 600;
 display: flex;
 gap: 10px;
 align-items: center;
 cursor: pointer;
 user-select: none;
 transition: background var(--transition);
}

.faq-item__q:hover {
 background: var(--secondary);
}

/* Q ラベル */
.faq-item__q::before {
 content: "Q";
 color: var(--accent);
 font-weight: 700;
 font-size: 18px;
 flex-shrink: 0;
 line-height: 1;
}

/* 開閉インジケータ（右端） */
.faq-item__q::after {
 content: "+";
 margin-left: auto;
 font-size: 22px;
 font-weight: 300;
 color: var(--accent);
 line-height: 1;
 flex-shrink: 0;
 transition: transform var(--transition);
}

details[open] .faq-item__q::after {
 content: "−";
}

/* A 本文 */
.faq-item__a {
 padding: 20px 20px 20px 50px;
 font-size: 16px;
 line-height: 1.8;
 color: var(--text);
 background: #f8fafc;
 position: relative;
}

/* A ラベル */
.faq-item__a::before {
 content: "A";
 position: absolute;
 left: 20px;
 top: 20px;
 color: var(--secondary);
 font-weight: 700;
 font-size: 18px;
 line-height: 1;
}

.faq-item__a strong {
 color: var(--primary);
}

/* 開閉アニメーション */
details .faq-item__a {
 animation: faqOpen 0.2s ease;
}

@keyframes faqOpen {
 from { opacity: 0; transform: translateY(-6px); }
 to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   7. 申し込み手順
   ============================================================ */

.steps {
 background: var(--white);
}

.steps-list {
 display: flex;
 flex-direction: column;
 gap: 24px;
}

.step-item {
 display: flex;
 gap: 20px;
 align-items: flex-start;
}

.step-item__num {
 flex-shrink: 0;
 width: 48px;
 height: 48px;
 background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
 color: var(--white);
 font-size: 20px;
 font-weight: 700;
 border-radius: 50%;
 display: flex;
 align-items: center;
 justify-content: center;
 box-shadow: 0 4px 12px rgba(13, 31, 78, 0.3);
}

.step-item__body {
 flex: 1;
 padding-top: 4px;
}

.step-item__title {
 font-size: 16px;
 font-weight: 700;
 color: var(--primary);
 margin-bottom: 6px;
}

.step-item__desc {
 font-size: 16px;
 color: var(--text-muted);
 line-height: 1.7;
 margin-bottom: 12px;
}

.step-item__img {
 margin: 15px 0;
}

.step-item__img .dummy-img {
 height: 120px;
 border-radius: var(--radius-sm);
 border: 1px solid var(--border);
}

/* ステップの接続線 */
.steps-list .step-item:not(:last-child)::after {
 display: none;
}

/* ============================================================
   8. 最終CTA
   ============================================================ */

.cta-final {
 background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 60%, #1e5099 100%);
 color: var(--white);
 text-align: center;
 position: relative;
 overflow: hidden;
}

.cta-final::before {
 content: "";
 position: absolute;
 bottom: -20%;
 left: -10%;
 width: 400px;
 height: 400px;
 background: radial-gradient(circle, rgba(200, 168, 80, 0.1) 0%, transparent 70%);
 pointer-events: none;
}

.cta-final__badge {
 display: inline-block;
 background: var(--accent);
 color: var(--primary);
 font-size: 12px;
 font-weight: 700;
 letter-spacing: 0.08em;
 padding: 5px 14px;
 border-radius: 20px;
 margin-bottom: 16px;
}

.cta-final__catch {
 font-size: 24px;
 font-weight: 700;
 margin-bottom: 12px;
 letter-spacing: 0.02em;
}

.cta-final__sub {
 font-size: 16px;
 color: rgba(255, 255, 255, 0.85);
 margin-bottom: 32px;
}

.cta-final__sub strong {
 color: var(--accent-light);
}

@media (min-width: 768px) {
 .cta-final__catch {
  font-size: 30px;
 }
}

/* ============================================================
   9. わたしについて
   ============================================================ */

.about {
 background: var(--bg);
}

.about__card {
 display: flex;
 gap: 24px;
 align-items: flex-start;
 background: var(--white);
 border-radius: var(--radius);
 padding: 28px;
 border: 1px solid var(--border);
}

.about__avatar .dummy-img {
 width: 80px;
 height: 80px;
 border-radius: 50%;
 flex-shrink: 0;
 border: 3px solid var(--accent);
 font-size: 12px;
}

.about__name {
 font-size: 16px;
 font-weight: 700;
 color: var(--primary);
 margin-bottom: 6px;
}

.about__tag {
 display: inline-block;
 background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
 color: var(--primary);
 font-size: 11px;
 font-weight: 700;
 padding: 3px 10px;
 border-radius: 20px;
 margin-bottom: 12px;
}

.about__text {
 font-size: 16px;
 color: var(--text-muted);
 line-height: 1.7;
}

@media (max-width: 480px) {
 .about__card {
  flex-direction: column;
  align-items: center;
  text-align: center;
 }
}

/* ============================================================
   フッター
   ============================================================ */

.site-footer {
 background: var(--primary);
 color: rgba(255, 255, 255, 0.6);
 text-align: center;
 padding: 28px 20px;
 font-size: 13px;
 line-height: 1.8;
}

.site-footer a {
 color: rgba(255, 255, 255, 0.7);
}

.site-footer__disclaimer {
 font-size: 11px;
 margin-top: 8px;
 opacity: 0.7;
}

/* ============================================================
   共通パーツ
   ============================================================ */

/* dummy画像 */
.dummy-img {
 background: #e0e4ec;
 color: #999;
 display: flex;
 align-items: center;
 justify-content: center;
 font-size: 0.875rem;
 width: 100%;
}

/* 仕切り */
.divider {
 border: none;
 border-top: 1px solid var(--border);
 margin: 0;
}

/* ============================================================
   フェードインアニメーション
   ============================================================ */

.fade-in {
 opacity: 0;
 transform: translateY(20px);
 transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in--delay-1 { transition-delay: 0.1s; }
.fade-in--delay-2 { transition-delay: 0.2s; }
.fade-in--delay-3 { transition-delay: 0.3s; }
.fade-in--delay-4 { transition-delay: 0.4s; }
.fade-in--delay-5 { transition-delay: 0.5s; }

/* ============================================================
   注意書き（小文字テキスト）
   ============================================================ */

.disclaimer {
 font-size: 12px;
 color: var(--text-muted);
 line-height: 1.8;
 background: #f0f3f8;
 border-radius: var(--radius-sm);
 padding: 16px 20px;
 margin-top: 24px;
 border-left: 3px solid var(--border);
}

.disclaimer p + p {
 margin-top: 6px;
}
