/* ==========================================
   新生活特集LP - メインスタイルシート
   Tone: luxury/refined × energetic
   ========================================== */

/* ===== CSS変数 ===== */
:root {
  --color-primary:       #e8336d;
  --color-primary-dark:  #c0185a;
  --color-primary-light: #fde8ef;
  --color-secondary:     #ff6b35;
  --color-accent:        #f59e0b;
  --color-accent-sub:    #ffd700;
  --color-sakura:        #ffb7c5;
  --color-text:          #12101a;
  --color-text-sub:      #6b6882;
  --color-bg:            #fdfbff;
  --color-bg-section:    #f7f4fd;
  --color-white:         #ffffff;
  --color-border:        #ecdff3;
  --color-green:         #00b894;
  --shadow-card:   0 2px 16px rgba(232,51,109,0.10), 0 0 0 1px rgba(232,51,109,0.06);
  --shadow-hover:  0 12px 40px rgba(232,51,109,0.22), 0 0 0 1.5px rgba(232,51,109,0.15);
  --radius-card:   20px;
  --radius-btn:    50px;
  --transition:    0.28s cubic-bezier(0.4, 0, 0.2, 1);
  /* 修正: Bricolage Grotesque を見出し筆頭フォントに追加 */
  --font-head:     'Bricolage Grotesque', 'Space Grotesk', 'Noto Sans JP', sans-serif;
  --font-main:     'Noto Sans JP', sans-serif;
  --max-width:     1200px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--color-text);
  background: linear-gradient(180deg, #fdfbff 0%, #ffffff 100%);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

/* ===== Container ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
  width: 100%;
}

/* ===== Section Header ===== */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  display: inline-block;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 12px;
  border: 1px solid var(--color-sakura);
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--color-text);
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1rem;
  color: var(--color-text-sub);
}

/* ===== HEADER ===== */
.site-header {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232,51,109,0.12);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 20px rgba(18,16,26,0.06);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.logo-icon {
  font-size: 1.4rem;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.header-catch {
  font-size: 0.85rem;
  color: var(--color-text-sub);
  font-weight: 500;
}

/* ===== HERO SECTION ===== */
.hero {
  /* 修正: 深みのあるグラデーションメッシュ背景に変更 */
  background:
    radial-gradient(ellipse at 20% 50%, rgba(232,51,109,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(255,107,53,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(255,183,197,0.20) 0%, transparent 50%),
    linear-gradient(135deg, #fff0f5 0%, #fce4f0 30%, #f0e8ff 70%, #e8f4ff 100%);
  padding: 80px 20px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-bg-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.sakura-petal {
  position: absolute;
  font-size: 1.5rem;
  animation: sakuraFall linear infinite;
  opacity: 0.6;
}

.petal-1 { left: 5%; animation-duration: 6s; animation-delay: 0s; top: -20px; }
.petal-2 { left: 20%; animation-duration: 8s; animation-delay: 1s; top: -20px; }
.petal-3 { left: 40%; animation-duration: 7s; animation-delay: 2.5s; top: -20px; }
.petal-4 { left: 60%; animation-duration: 9s; animation-delay: 0.5s; top: -20px; }
.petal-5 { left: 75%; animation-duration: 6.5s; animation-delay: 3s; top: -20px; }
.petal-6 { left: 90%; animation-duration: 8.5s; animation-delay: 1.5s; top: -20px; }

@keyframes sakuraFall {
  0% { transform: translateY(-20px) rotate(0deg); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.4; }
  100% { transform: translateY(110vh) rotate(720deg); opacity: 0; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
}

/* ===== HERO CITYSCAPE ===== */
.hero-cityscape {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
  z-index: 0;
}

.cityscape-img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.5;
}

/* ヒーロー：テキスト＋キャラの横並びレイアウト */
.hero-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.hero-content {
  flex: 1;
  text-align: left;
}

.hero-chara {
  flex-shrink: 0;
  width: 220px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-chara-img {
  width: 200px;
  height: auto;
  /* 黒背景を消してキャラだけ表示するためmix-blend-modeを使用 */
  mix-blend-mode: multiply;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.15));
  animation: charaFloat 3s ease-in-out infinite;
}

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

.hero-badge {
  display: inline-block;
  background: rgba(232,51,109,0.08);
  color: var(--color-primary);
  border: 1.5px solid rgba(232,51,109,0.3);
  padding: 7px 22px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.08em;
  backdrop-filter: blur(4px);
}

.hero-title {
  margin-bottom: 20px;
}

.hero-title-sub {
  display: block;
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  font-weight: 500;
  color: var(--color-text-sub);
  margin-bottom: 8px;
}

.hero-title-main {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  font-weight: 900;
  color: var(--color-text);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

/* 修正: ポイント数 em を超大きく・text-shadow 追加 */
.hero-title-main em {
  font-style: normal;
  font-size: clamp(4rem, 8vw, 6.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--color-primary) 0%, #ff6b35 50%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  /* text-shadow は -webkit-text-fill-color: transparent と共存できないため filter で代替 */
  filter: drop-shadow(0 4px 24px rgba(232,51,109,0.30));
  line-height: 1;
}

.hero-desc {
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  color: var(--color-text-sub);
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-cta-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-start;
  margin-bottom: 32px;
}

.btn-cta-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: var(--radius-btn);
  box-shadow: 0 6px 24px rgba(232, 51, 109, 0.4);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-cta-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(232, 51, 109, 0.5);
}

.btn-cta-sub {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: var(--radius-btn);
  border: 2px solid var(--color-sakura);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-cta-sub:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
  margin-top: 8px;
}

.hero-notes span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(232, 51, 109, 0.07);
  border: 1px solid rgba(232, 51, 109, 0.25);
  padding: 5px 14px;
  border-radius: 50px;
  color: var(--color-primary);
}

.hero-notes span i {
  color: var(--color-primary);
}

/* 修正: フィーチャーセクション背景を更新 */
.feature-section {
  padding: 60px 0;
  background:
    radial-gradient(ellipse at 90% 10%, rgba(245,158,11,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 10% 90%, rgba(232,51,109,0.06) 0%, transparent 50%),
    #f8f4ff;
  overflow: hidden;
}

/* Category Tabs */
.category-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 24px;
  border-radius: 50px;
  border: 2px solid var(--color-border);
  background: white;
  color: var(--color-text-sub);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-main);
}

.tab-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(232, 51, 109, 0.3);
}

/* Items Grid — 4列グリッド・全カード等高 */
.items-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
}

/* Item Card — 等高グリッド対応・オーバーフロー防止 */
.item-card {
  background: #ffffff;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  word-break: break-word;
}

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

.item-card.hidden {
  display: none;
}


/* ===== カードヘッダー ===== */
.item-card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border);
  background: linear-gradient(135deg, rgba(232,51,109,0.05) 0%, rgba(245,158,11,0.05) 100%);
  min-height: 60px;
}

.item-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1.5px solid currentColor;
  white-space: nowrap;
  margin-bottom: 0;
}

/* ホームルータータグ */
.item-badge.badge-router {
  color: #e8336d;
  border-color: #e8336d;
  background: rgba(232, 51, 109, 0.05);
}

/* 光回線タグ */
.item-badge.badge-hikari {
  color: #0070c0;
  border-color: #0070c0;
  background: rgba(0, 112, 192, 0.05);
}

/* セットタグ */
.item-badge.badge-set {
  color: #7c3aed;
  border-color: #7c3aed;
  background: rgba(124, 58, 237, 0.05);
}

/* ポケット型Wi-Fiタグ */
.item-badge.badge-pocket {
  color: #059669;
  border-color: #059669;
  background: rgba(5, 150, 105, 0.05);
}

/* ポイントバッジ */
.item-pts-badge {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white;
  border-radius: 10px;
  padding: 6px 12px;
  text-align: center;
  line-height: 1;
  flex-shrink: 0;
  white-space: nowrap;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}

.item-pts-badge.pts-high {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
}

.item-pts-badge.pts-medium {
  background: linear-gradient(135deg, #0284c7, #0ea5e9);
}

.item-pts-badge.pts-super {
  background: linear-gradient(135deg, #d97706, #f59e0b);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.5);
}

/* pts-num */
.pts-num {
  font-family: 'Bricolage Grotesque', var(--font-head);
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 900;
  white-space: nowrap;
  line-height: 1;
  letter-spacing: -0.03em;
  display: inline;
}

.pts-unit {
  font-size: 0.7rem;
  font-weight: 700;
  opacity: 0.9;
  display: inline;
  vertical-align: baseline;
}

.item-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.item-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ロゴ画像スタイル */
.carrier-logo-img {
  height: 48px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
}

/* ロゴエリアレイアウト — 全カードmin-heightで統一 */
.carrier-header {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  padding: 12px 16px;
  margin-bottom: 0;
}

.carrier-name {
  display: none;
}

.carrier-type {
  display: none;
}

.item-name {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 900;
  color: #111111;
  line-height: 1.3;
  word-break: break-word;
  letter-spacing: -0.01em;
}

.item-desc {
  font-size: 0.72rem;
  color: #bbbbbb;
  line-height: 1.7;
  word-break: break-word;
  font-weight: 400;
}

.item-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.item-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1a1a1a;
  word-break: break-word;
  line-height: 1.85;
}

.item-features li i {
  color: #e8336d;
  font-size: 0.72rem;
  flex-shrink: 0;
  margin-top: 4px;
}

/* ポイントバック帯 — カード下部に固定 */
.item-ptback {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  flex-shrink: 0;
}

.ptback-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.04em;
}

.ptback-amount {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1;
}

.ptback-amount em {
  font-style: normal;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.85);
  font-weight: 700;
}

.btn-apply {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  /* 修正: 黒背景→グラデーションに変更 */
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white;
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 13px 20px;
  border-radius: 12px;
  transition: all var(--transition);
  letter-spacing: 0.02em;
}

.btn-apply:hover {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,51,109,0.40);
}

.view-more-wrap {
  text-align: center;
}

.view-more-note {
  font-size: 0.82rem;
  color: var(--color-text-sub);
}

/* ===== WHY SECTION ===== */
.why-section {
  padding: 60px 24px;
  background:
    radial-gradient(ellipse 80% 60% at 100% 50%, rgba(168,85,247,0.07) 0%, transparent 60%),
    #ffffff;
  border-top: 4px solid var(--color-primary-light);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.why-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 32px 24px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(232,51,109,0.03), rgba(245,158,11,0.03));
  opacity: 0;
  transition: opacity var(--transition);
}

.why-card:hover::before { opacity: 1; }

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

.why-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: var(--color-primary-light);
  border-radius: 50%;
  margin-left: auto;
  margin-right: auto;
  transition: transform var(--transition);
}

.why-card:hover .why-icon { transform: scale(1.1); }

.why-card h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 10px;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.why-card p {
  font-size: 0.88rem;
  color: var(--color-text-sub);
  line-height: 1.7;
}

/* ===== FLOW SECTION ===== */
.flow-section {
  padding: 60px 24px;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(232,51,109,0.07) 0%, transparent 60%),
    linear-gradient(180deg, #f7f4fd 0%, var(--color-bg) 100%);
}

.flow-steps {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-bottom: 48px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.flow-step {
  flex: 1;
  min-width: 200px;
  background: white;
  border-radius: var(--radius-card);
  padding: 24px 20px;
  text-align: center;
  border: 2px solid var(--color-border);
  transition: all var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flow-step:hover {
  border-color: var(--color-sakura);
  box-shadow: var(--shadow-card);
}

.step-num {
  display: inline-block;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.step-num span {
  font-size: 1.1rem;
  font-weight: 900;
  margin-left: 2px;
}

.step-num-key {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white;
}

.step-num-goal {
  background: linear-gradient(135deg, #d97706, #f59e0b);
  color: white;
}

.step-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
}

.step-title {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.4;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.step-desc {
  font-size: 0.82rem;
  color: var(--color-text-sub);
  line-height: 1.7;
  text-align: left;
  flex: 1;
}

.step-time {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--color-text-sub);
  background: #f5f5fa;
  padding: 4px 12px;
  border-radius: 50px;
}

.step-time i {
  margin-right: 4px;
  color: var(--color-primary);
}

.step-badge {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #d97706;
  background: #fffbeb;
  border: 1px solid #f59e0b;
  padding: 4px 12px;
  border-radius: 50px;
}

.step-badge i {
  margin-right: 4px;
}

.flow-arrow {
  color: var(--color-sakura);
  font-size: 1.5rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding-top: 0;
  align-self: center;
}

.flow-note {
  background: #fffbeb;
  border: 2px solid #f59e0b;
  border-radius: 14px;
  padding: 24px 28px;
  display: flex;
  gap: 16px;
}

.note-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.note-content h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 12px;
}

.note-content ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.note-content li {
  font-size: 0.88rem;
  color: #78350f;
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
}

.note-content li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
}

/* ===== EXCHANGE SECTION ===== */
.exchange-section {
  padding: 60px 24px;
  background:
    radial-gradient(ellipse 70% 60% at 0% 100%,  rgba(245,158,11,0.09) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 100% 0%,  rgba(232,51,109,0.08) 0%, transparent 55%),
    #ffffff;
  border-top: 4px solid var(--color-primary-light);
}

.exchange-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 16px;
}

/* 2カラム固定グリッド */
.exchange-grid-2col {
  grid-template-columns: repeat(2, 1fr);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.exchange-card {
  background: #ffffff;
  border: 2px solid var(--color-border);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.exchange-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.exchange-card h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.exchange-card p {
  font-size: 0.82rem;
  color: var(--color-text-sub);
  line-height: 1.6;
}

.exchange-note {
  text-align: center;
  font-size: 0.85rem;
  margin-top: 20px;
  background: var(--color-primary-light);
  border: 1px solid var(--color-sakura);
  border-radius: 8px;
  padding: 12px 20px;
  color: var(--color-primary);
  font-weight: 700;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== FAQ SECTION ===== */
.faq-section {
  padding: 60px 24px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(168,85,247,0.07) 0%, transparent 60%),
    var(--color-bg-section);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
  text-align: left;
  transition: background var(--transition);
}

.faq-question:hover {
  background: var(--color-primary-light);
}

.faq-question[aria-expanded="true"] {
  color: var(--color-primary);
  background: var(--color-primary-light);
}

.faq-icon {
  color: var(--color-primary);
  flex-shrink: 0;
  transition: transform var(--transition);
  font-size: 0.85rem;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--color-text-sub);
  line-height: 1.8;
  border-top: 1px solid var(--color-border);
  padding-top: 16px;
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 60px 24px;
  background:
    radial-gradient(ellipse 80% 80% at 50% 50%, rgba(232,51,109,0.16) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 0%  100%, rgba(255,107,53,0.12) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 100% 0%,  rgba(245,158,11,0.10) 0%, transparent 55%),
    #fdfbff;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-bg-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.cta-chara-wrap {
  margin-bottom: 8px;
}

.cta-chara-img {
  width: 120px;
  height: auto;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.12));
  animation: charaFloat 3s ease-in-out infinite;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: var(--color-text);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.cta-desc {
  font-size: 1rem;
  color: var(--color-text-sub);
  margin-bottom: 36px;
  line-height: 1.8;
}

.cta-points {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.cta-point-item {
  text-align: center;
}

/* 修正: cta-point-num を Bricolage Grotesque・clamp拡大 */
.cta-point-num {
  display: block;
  font-family: 'Bricolage Grotesque', var(--font-head);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
  letter-spacing: -0.04em;
}

.cta-point-label {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text-sub);
  font-weight: 500;
  margin-top: 4px;
}

.cta-point-divider {
  color: var(--color-border);
  font-size: 2rem;
}

.btn-cta-final {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 18px 48px;
  border-radius: var(--radius-btn);
  box-shadow: 0 8px 30px rgba(232, 51, 109, 0.4);
  transition: all var(--transition);
}

.btn-cta-final:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(232, 51, 109, 0.5);
}

/* ===== HERO SUB COPY ===== */
.hero-sub-copy {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: var(--color-text-sub);
  line-height: 1.8;
  margin-top: 12px;
  margin-bottom: 36px;
}

/* ===== POINT EXCHANGE SECTION ===== */
.point-exchange-section {
  background: #fff8f0;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  margin: 8px 0 0;
}

.exchange-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}

.exchange-item {
  background: var(--color-white);
  border: 1.5px solid var(--color-primary);
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 0.9rem;
  color: var(--color-primary);
  font-weight: 700;
  transition: all var(--transition);
}

.exchange-item:hover {
  background: var(--color-primary-light);
}

/* ===== ATTENTION TEXT ===== */
.attention-text {
  font-size: 0.75rem;
  color: var(--color-text-sub);
  margin-top: 12px;
  line-height: 1.7;
  text-align: center;
}

.cta-small-note {
  margin-top: 20px;
  font-size: 0.78rem;
  color: var(--color-text-sub);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--color-text);
  color: rgba(255,255,255,0.6);
  padding: 40px 20px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  display: flex;
  justify-content: center;
}

.footer-logo-img {
  height: 40px;
  width: auto;
  /* 白抜きロゴを黒背景で表示 */
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-inner .header-logo {
  justify-content: center;
}

.footer-inner .logo-text {
  color: white;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
}

.footer-nav a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: var(--color-sakura);
}

.footer-note {
  font-size: 0.78rem;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

.footer-copy {
  font-size: 0.78rem;
}

/* ==============================
   商品カード テキスト メリハリ最終調整
============================== */

/* 説明文：さらに薄く・小さく */
.item-desc {
  font-size: 0.70rem !important;
  color: #c0c0c0 !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
  margin-bottom: 10px !important;
}

/* ※注意事項（最後のli）：明確に分離 */
.item-features li:last-child {
  font-size: 0.65rem !important;
  font-weight: 400 !important;
  color: #c8c8c8 !important;
  border-top: 1px dashed #eeeeee !important;
  margin-top: 6px !important;
  padding-top: 6px !important;
  line-height: 1.55 !important;
}

/* ※のチェックアイコンも薄く */
.item-features li:last-child i {
  color: #c8c8c8 !important;
}

/* ===== RESPONSIVE ===== */
/* 1100px: カード2列 */
@media (max-width: 1100px) {
  .items-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header-catch { display: none; }
  .header-logo-img { height: 36px; }

  .hero { padding: 60px 16px 48px; }

  .cityscape-img {
    height: 120px;
    object-fit: cover;
    object-position: center bottom;
  }

  /* ヒーロー：スマホは縦積み（元に戻す） */
  .hero-layout {
    flex-direction: column-reverse;
    gap: 20px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-chara {
    width: 140px;
  }

  .hero-chara-img {
    width: 130px;
  }

  /* タイトル：縦3行レイアウト */
  .hero-title-sub {
    font-size: 0.82rem;
    margin-bottom: 6px;
  }

  .hero-title-main {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
    line-height: 1.2;
    white-space: normal;
  }

  /* 41,500pt を超大きく */
  .hero-title-main em {
    font-size: clamp(3.2rem, 16vw, 4.5rem);
    display: block;
    line-height: 1;
    margin: 4px 0;
  }

  .hero-sub-copy {
    font-size: 0.88rem;
    margin-bottom: 24px;
    line-height: 1.7;
  }

  /* ボタン・ノート中央揃え */
  .hero-cta-wrap {
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
  }

  .hero-notes {
    justify-content: center;
    gap: 8px;
  }

  .hero-notes span {
    font-size: 0.75rem;
    padding: 4px 10px;
  }

  .btn-cta-hero, .btn-cta-sub {
    width: 100%;
    justify-content: center;
  }

  /* カード2列維持 */
  .items-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* セクション余白 */
  .feature-section,
  .why-section,
  .flow-section,
  .exchange-section,
  .faq-section,
  .cta-section {
    padding: 40px 0;
  }

  /* フロー縦積み */
  .flow-steps {
    flex-direction: column;
    overflow-x: visible;
  }

  .flow-step {
    min-width: 0;
    width: 100%;
  }

  .flow-arrow {
    transform: rotate(90deg);
    padding-top: 0;
    text-align: center;
    width: 100%;
    justify-content: center;
  }

  .flow-note {
    flex-direction: column;
  }

  /* 交換セクション */
  .exchange-grid-2col {
    grid-template-columns: 1fr 1fr;
    max-width: 100%;
  }

  .exchange-grid-2col .exchange-card {
    padding: 24px 16px;
  }

  /* CTAセクション */
  .cta-points {
    gap: 12px;
  }

  .cta-point-divider { display: none; }
}


@media (max-width: 480px) {
  /* グリッド */
  .items-grid { grid-template-columns: 1fr; gap: 20px; }
  .why-grid { grid-template-columns: 1fr; }
  .exchange-grid { grid-template-columns: 1fr; }
  .exchange-grid-2col { grid-template-columns: 1fr; }

  /* セクション余白 */
  .feature-section,
  .why-section,
  .flow-section,
  .exchange-section,
  .faq-section,
  .cta-section {
    padding: 36px 0;
  }

  .container { padding: 0 16px; }
  .exchange-icons { gap: 8px; }
  .exchange-item { font-size: 0.82rem; padding: 6px 14px; }
  .point-exchange-section { padding: 24px 16px; }

  /* セクションヘッダー */
  .section-header {
    margin-bottom: 28px;
    padding: 0 16px;
  }

  .section-title {
    font-size: 1.4rem;
    letter-spacing: -0.01em;
    line-height: 1.25;
  }

  /* ===== カード改善 ===== */

  /* カードヘッダー（バッジ部分） */
  .item-card-header {
    padding: 10px 16px;
    min-height: 44px;
  }

  /* バッジ文字 */
  .item-badge {
    font-size: 0.78rem;
    padding: 4px 12px;
  }

  /* ロゴエリア */
  .carrier-header {
    min-height: 72px;
    padding: 12px 16px;
  }

  /* ロゴ画像 — しっかり大きく */
  .carrier-logo-img {
    height: 52px;
    max-width: 160px;
  }

  /* カード本文 */
  .item-card-body {
    padding: 20px 18px 22px;
    gap: 12px;
  }

  /* 商品名 — 大きく・太く */
  .item-name {
    font-size: 1.12rem;
    font-weight: 900;
    margin-bottom: 4px;
  }

  /* 説明文 — 薄く・小さく */
  .item-desc {
    font-size: 0.72rem;
    color: #bbbbbb;
    line-height: 1.6;
  }

  /* 特徴リスト — 読みやすいサイズ */
  .item-features {
    gap: 4px;
  }

  .item-features li {
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.75;
    color: #1a1a1a;
  }

  /* ※注意事項 */
  .item-features li:last-child {
    font-size: 0.65rem;
    font-weight: 400;
    color: #c8c8c8;
    border-top: 1px dashed #eeeeee;
    margin-top: 6px;
    padding-top: 6px;
  }

  /* ポイントバック帯 */
  .item-ptback {
    padding: 14px 18px;
    border-radius: 12px;
    margin-top: 4px;
  }

  .ptback-label {
    font-size: 0.75rem;
  }

  .ptback-amount {
    font-size: 2.0rem;
  }

  /* 詳細を見るボタン */
  .btn-apply {
    width: 100%;
    padding: 15px 20px;
    font-size: 1.0rem;
    border-radius: 10px;
  }

  /* WHYカード */
  .why-card {
    padding: 24px 20px;
  }

  /* フローステップ */
  .flow-step {
    padding: 20px 18px;
  }
}

/* ===== アニメーション ===== */

/* ページロード時スタッガード基底 */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0);    }
}

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.92) translateY(16px); }
  to   { opacity: 1; transform: scale(1)    translateY(0);    }
}

/* ヒーロー要素 — ページロード時に順番に出現 */
.hero-badge {
  animation: fadeInUp 0.5s cubic-bezier(0.4,0,0.2,1) 0.05s both;
}
.hero-title {
  animation: fadeInUp 0.55s cubic-bezier(0.4,0,0.2,1) 0.15s both;
}
.hero-desc {
  animation: fadeInUp 0.5s cubic-bezier(0.4,0,0.2,1) 0.28s both;
}
.hero-cta-wrap {
  animation: fadeInUp 0.5s cubic-bezier(0.4,0,0.2,1) 0.38s both;
}
.hero-notes {
  animation: fadeInUp 0.5s cubic-bezier(0.4,0,0.2,1) 0.46s both;
}
.hero-chara {
  animation: fadeInScale 0.6s cubic-bezier(0.4,0,0.2,1) 0.2s both;
}

/* 商材カード — スタッガード */
.item-card {
  animation: fadeInUp 0.5s cubic-bezier(0.4,0,0.2,1) both;
}
.item-card:nth-child(1) { animation-delay: 0.06s; }
.item-card:nth-child(2) { animation-delay: 0.14s; }
.item-card:nth-child(3) { animation-delay: 0.22s; }
.item-card:nth-child(4) { animation-delay: 0.30s; }
.item-card:nth-child(5) { animation-delay: 0.38s; }
.item-card:nth-child(6) { animation-delay: 0.46s; }

/* WHY カード */
.why-card {
  animation: fadeInUp 0.5s cubic-bezier(0.4,0,0.2,1) both;
}
.why-card:nth-child(1) { animation-delay: 0.05s; }
.why-card:nth-child(2) { animation-delay: 0.13s; }
.why-card:nth-child(3) { animation-delay: 0.21s; }
.why-card:nth-child(4) { animation-delay: 0.29s; }

/* フロー STEP */
.flow-step {
  animation: fadeInUp 0.5s cubic-bezier(0.4,0,0.2,1) both;
}
.flow-step:nth-child(1) { animation-delay: 0.08s; }
.flow-step:nth-child(3) { animation-delay: 0.18s; }
.flow-step:nth-child(5) { animation-delay: 0.28s; }
.flow-step:nth-child(7) { animation-delay: 0.38s; }

/* 交換カード */
.exchange-card {
  animation: fadeInScale 0.5s cubic-bezier(0.4,0,0.2,1) both;
}
.exchange-card:nth-child(1) { animation-delay: 0.08s; }
.exchange-card:nth-child(2) { animation-delay: 0.18s; }

/* FAQ */
.faq-item {
  animation: fadeInUp 0.45s cubic-bezier(0.4,0,0.2,1) both;
}
.faq-item:nth-child(1) { animation-delay: 0.04s; }
.faq-item:nth-child(2) { animation-delay: 0.10s; }
.faq-item:nth-child(3) { animation-delay: 0.16s; }
.faq-item:nth-child(4) { animation-delay: 0.22s; }
.faq-item:nth-child(5) { animation-delay: 0.28s; }


