/* sections.css */

/* =========================================================
   CHECKLIST §2-1
   「こんなお悩み、ありませんか？」エリア
   ========================================================= */
#problems .section-heading {
  font-size: 36px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 56px;
}

.checklist {
  max-width: 960px;
  margin: 0 auto 64px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 24px; /* DMMの画像と同じくらいの間隔に */
  list-style: none;
}

.checklist-item {
  display: inline-flex;
  align-items: center;
  background: var(--accent-pale); /* 水色のピル背景 */
  border-radius: 50px; 
  padding: 20px 32px;
  font-size: 16px;
  color: var(--text);
}

.checklist-item strong {
  font-weight: 900;
  letter-spacing: 0.05em; /* 太字部分を少し強調 */
}

/* プレースホルダ（悩む人物のイラスト配置予定） */
.problems-illustration-ph {
  width: 100%;
  max-width: 360px;
  height: 240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
  color: var(--text-light);
  text-align: center;
  /* 画像が入るまでのダミー枠 */
  background: rgba(0,0,0,0.03);
  border: 4px dashed var(--border-light);
  border-radius: var(--r-md);
}

/* 古いHTML要素用の後始末 */
.check-box, .bridge-text {
  display: none;
}

/* =========================================================
   FUTURE SPLIT §2-2
   ========================================================= */
.future-split {
  display: flex !important;
  flex-direction: column;
  max-width: 900px;
  margin: 0 auto 64px;
}

/* Base styles for the wrappers (Gray / Blue) */
.future-card {
  border-radius: var(--r-md);
  padding: 48px;
  box-shadow: var(--shadow);
  position: relative;
  border-top: none; /* remove my old incorrect border */
}

/* Card A - Gray Wrapper */
.future-card-a {
  background: #B3B6B7; /* DMM's distinct gray background */
  margin-bottom: 56px; /* Space for arrow */
}
/* The block arrow pointing down */
.future-card-a::after {
  content: "";
  position: absolute;
  bottom: -48px; 
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 48px;
  background: var(--accent); /* #0096D6 */
  clip-path: polygon(25% 0%, 75% 0%, 75% 40%, 100% 40%, 50% 100%, 0% 40%, 25% 40%);
  z-index: 10;
}

/* Card B - Blue Wrapper */
.future-card-b {
  background: var(--accent);
}

/* Labels inside Wrappers */
.future-card-label {
  font-weight: 900;
  font-size: 24px;
  text-align: center;
  margin-bottom: 32px;
  border-bottom: none;
  padding-bottom: 0;
}
.future-card-a .future-card-label {
  background: #1c2833; /* Dark navy/black pill */
  color: #fff;
  display: table;
  margin: 0 auto 32px;
  padding: 12px 40px;
  border-radius: 4px;
  font-size: 18px;
  letter-spacing: 0.05em;
}
.future-card-b .future-card-label {
  color: #fff; 
  font-size: 28px;
}

/* The White Cards containing the lists */
.future-list {
  background: #fff;
  border-radius: var(--r-md);
  padding: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05); /* Soft shadow inside */
}

/* Make lists horizontal rather than bullet points */
.future-list li {
  background: #F8F9F9;
  border-radius: var(--r-sm);
  padding: 20px 20px 20px 48px; /* space for icon */
  position: relative;
  font-size: 14px;
  font-weight: var(--fw-b);
  line-height: 1.6;
  list-style: none;
  display: flex;
  align-items: center;
}

/* Icons inside lists */
.future-list li::before {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
}

.future-card-a .future-list li {
  color: var(--text);
}
.future-card-a .future-list li::before {
  content: "✕";
  background: #E0E0E0;
  color: #666;
}

.future-card-b .future-list li {
  color: var(--text);
}
.future-card-b .future-list li::before {
  content: "✓";
  background: var(--accent);
  color: #fff;
}

.split-cta {
  text-align: center;
  padding: 40px 0 0;
}
.split-cta-heading {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 24px;
  color: var(--text);
}

/* =========================================================
   BRIDGE §2-4
   ========================================================= */
.bridge-section {
  background: var(--accent);
  color: #fff;
  text-align: center;
  padding: 80px 24px;
}
.bridge-lead {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 32px;
}
.bridge-body {
  max-width: 720px;
  margin: 0 auto 40px;
  line-height: 1.8;
  font-size: 18px;
  font-weight: var(--fw-b);
}
.bridge-body p {
  margin-bottom: 16px;
}
.bridge-highlight {
  font-size: 24px;
  font-weight: 900;
  background: #fff;
  color: var(--accent);
  padding: 16px 32px;
  border-radius: var(--pill);
  display: inline-block;
  margin-top: 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.bridge-section .btn-secondary {
  border-color: #fff;
  color: #fff;
  background: rgba(255,255,255,0.1);
}
.bridge-section .btn-secondary:hover {
  background: #fff;
  color: var(--accent);
}

/* =========================================================
   ISSUE CARDS §3
   ========================================================= */
.issue-card {
  background: var(--bg);
  border-radius: var(--r-lg);
  padding: 48px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}
.issue-label {
  display: inline-block;
  font-size: 16px;
  font-weight: 900;
  color: #fff;
  background: var(--text); /* 黒ラベル白文字のコントラスト */
  padding: 8px 20px;
  border-radius: 4px;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}
.issue-heading {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 24px;
  line-height: 1.4;
  color: var(--text);
}
.issue-body p {
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: var(--fw-b);
  color: var(--text-light); /* DMMは本文を少し和らげる */
}
.issue-figure {
  margin-top: 32px;
}
.placeholder-figure {
  background: var(--accent-pale);
  border-radius: var(--r-md);
  padding: 40px;
  text-align: center;
  color: var(--accent);
  font-size: 14px;
  font-weight: var(--fw-b);
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.placeholder-figure-sm {
  min-height: 100px;
  padding: 16px;
}
.section-conclusion {
  text-align: center;
  padding-top: 64px;
  margin-top: 64px;
  border-top: 2px dashed var(--border);
}
.conclusion-sub-heading {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 24px;
}
.section-conclusion p {
  max-width: 640px;
  margin: 0 auto 24px;
  font-size: 16px;
  font-weight: var(--fw-b);
}
.conclusion-brand {
  font-size: 36px;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 40px;
}

/* =========================================================
   CONCERNS §8
   ========================================================= */
.concern-card {
  background: var(--bg);
  border-radius: var(--r-lg);
  margin-bottom: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  overflow: hidden;
}
.concern-q {
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg);
  border-bottom: 2px dashed var(--border-light);
}
.concern-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}
.concern-question {
  font-weight: 900;
  font-size: 20px;
  color: var(--text);
  margin: 0;
}
.concern-a {
  padding: 32px;
  background: #FAFAFA;
}
.concern-a p {
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: var(--fw-b);
}
.concern-after {
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  padding: 16px 24px;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: 16px;
  color: var(--text);
  font-weight: 900; /* より強く */
  margin-top: 24px;
  margin-bottom: 0 !important;
}
.cta-lead {
  font-size: 18px;
  font-weight: var(--fw-b);
  color: var(--text);
  margin-bottom: 16px;
  margin-top: 48px;
}

/* =========================================================
   CAMPAIGN §9
   ========================================================= */
.campaign-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--bg);
  border: 4px solid var(--cta);
  border-radius: var(--r-lg);
  padding: 64px 40px 48px;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
}
.campaign-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--cta);
  color: var(--text);
  font-size: 16px;
  font-weight: 900;
  padding: 12px 32px;
  border-radius: var(--pill);
  box-shadow: var(--shadow);
  white-space: nowrap;
  margin: 0;
}
.campaign-offer {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 16px;
}
.campaign-free {
  color: var(--cta);
  font-size: 48px;
  display: block;
  margin-top: 8px;
  letter-spacing: 0.05em;
}
.campaign-note {
  font-size: 14px;
  font-weight: var(--fw-b);
  color: var(--text-light);
  margin-bottom: 32px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media(max-width: 768px) {
  .future-split { grid-template-columns: 1fr; }
  .checklist-item { padding: 20px 24px; font-size: 16px; }
  .check-box { width: 32px; height: 32px; }
  .issue-card { padding: 32px 24px; }
  .campaign-card { padding: 48px 24px 32px; }
  .concern-q { padding: 20px 24px; }
  .concern-a { padding: 24px; }
  .concern-icon { width: 48px; height: 48px; font-size: 12px; }
  .concern-question { font-size: 18px; }
}

@media(max-width: 480px) {
  .bridge-lead { font-size: 22px; }
  .split-cta-heading { font-size: 22px; }
  .conclusion-brand { font-size: 28px; }
  .issue-heading { font-size: 22px; }
  .campaign-offer { font-size: 20px; }
  .campaign-free { font-size: 36px; }
  
  .checklist-item { 
    align-items: flex-start;
    padding: 16px;
  }
  .check-box {
    margin-top: 2px;
  }
  .future-card { padding: 24px; }
}

/* ============================================================
   ユーザーケース（index2 FV直下）
   ============================================================ */
.user-cases-section {
  background: var(--bg);
}

.user-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 56px;
}

.user-case-card {
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.case-img-area {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.case-img-area .placeholder-figure {
  width: 100%;
  height: 100%;
  background: var(--bg-alt, #E8EFF4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-light);
  border-radius: 0;
  margin: 0;
}

.case-img-area .case-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.case-attr-badge {
  position: absolute;
  top: 50%;
  transform: translateY(calc(-50% + 3.5rem));
  left: 0;
  width: 62%;
  background: linear-gradient(to right, rgba(0,0,0,0.72) 40%, transparent 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 12px 32px 12px 14px;
  line-height: 1.5;
}

.case-body {
  padding: 20px 20px 24px;
  flex: 1;
}

.case-quote {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text);
  margin: 0;
  quotes: none;
}

/* セクション末尾フック */
.cases-hook {
  text-align: center;
  border-top: 1px solid var(--border);
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cases-hook-text {
  font-size: 20px;
  font-weight: 900;
  color: var(--text);
}

.cases-hook-link {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  transition: opacity var(--tr);
}
.cases-hook-link:hover { opacity: 0.7; }

@media (max-width: 768px) {
  .user-cases-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .cases-hook-text { font-size: 17px; }
}

/* ============================================================
   一気通貫フローセクション（index2 features下）
   ============================================================ */
.flow-summary-section {
  background: var(--bg);
}

.flow-summary-heading {
  margin-bottom: 56px;
}

.flow-summary-grid {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: center;
}

.flow-summary-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 300px;
}

.flow-summary-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 20px;
}

.flow-summary-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.flow-summary-img .placeholder-figure {
  width: 100%;
  height: 100%;
  background: var(--bg-alt, #E4EDF4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--text-light);
  border-radius: 0;
  margin: 0;
}

.flow-summary-arrow {
  flex: 0 0 auto;
  align-self: center;
  font-size: 28px;
  color: var(--accent);
  padding: 0 16px;
  margin-bottom: 56px; /* image height offset so arrow aligns with image center */
  opacity: 0.5;
  letter-spacing: -2px;
}

.flow-summary-body {
  width: 100%;
}

.flow-summary-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.flow-summary-num-option {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-light);
  background: var(--bg-alt, #EEF2F5);
  border-radius: 4px;
  padding: 2px 10px;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.flow-summary-title {
  font-size: 18px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.4;
}

.flow-summary-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 12px;
}

.flow-summary-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
  transition: opacity var(--tr);
}
.flow-summary-link:hover { opacity: 0.7; }

@media (max-width: 768px) {
  .flow-summary-grid {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  .flow-summary-item {
    max-width: 380px;
    width: 100%;
  }
  .flow-summary-img {
    aspect-ratio: 4 / 3;
  }
  .flow-summary-arrow {
    transform: rotate(90deg);
    padding: 8px 0;
    margin-bottom: 0;
    font-size: 24px;
  }
}
