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

:root {
  --pp-dark:    #1a4d7a;
  --pp-mid:     #3a7db8;
  --pp-light:   #5aa2d6;
  --pp-gold:    #ffc439;
  --pp-gold-dk: #f0a500;
  --gray-900:   #1a1a2e;
  --gray-800:   #2d2d44;
  --gray-700:   #4a4a6a;
  --gray-500:   #7a7a9a;
  --gray-300:   #c8c8d8;
  --gray-100:   #f4f4f8;
  --white:      #ffffff;
  --success:    #27ae60;
  --danger:     #e74c3c;
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --shadow-sm:  0 2px 8px rgba(0,48,135,.08);
  --shadow-md:  0 6px 24px rgba(0,48,135,.12);
  --shadow-lg:  0 16px 48px rgba(0,48,135,.16);
  --transition: .3s ease;
  --font-base:  'Noto Sans JP', 'メイリオ', Meiryo, 'Hiragino Kaku Gothic ProN', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a  { color: var(--pp-mid); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================
   アニメーション
========================================== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeInUp .8s forwards;
}
.fade-in.delay-1 { animation-delay: .2s; }
.fade-in.delay-2 { animation-delay: .4s; }
.fade-in.delay-3 { animation-delay: .6s; }
.fade-in.delay-4 { animation-delay: .8s; }

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

.scroll-fade {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s ease, transform .7s ease;
}
.scroll-fade.delay-1 { transition-delay: .15s; }
.scroll-fade.delay-2 { transition-delay: .3s;  }
.scroll-fade.delay-3 { transition-delay: .45s; }
.scroll-fade.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   ヘッダー
========================================== */
.site-header {
  position: relative;
  background: rgba(255,255,255,.98);
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 70px;
  gap: 24px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0;
}
.site-logo img {
  height: 36px;
  width: auto;
  display: block;
}

.header-badge {
  display: none;
}

/* ==========================================
   ヒーローセクション
========================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(145deg, #f8f9fb 0%, #e8eef5 55%, #dde7f2 100%);
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 30%, rgba(255,196,57,.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 10% 80%, rgba(0,156,222,.15) 0%, transparent 50%);
  pointer-events: none;
}

/* 装飾円 */
.hero-section::before,
.hero-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-section::before {
  width: 600px; height: 600px;
  right: -200px; top: -150px;
  background: rgba(58,125,184,.06);
  border: 1px solid rgba(58,125,184,.12);
}
.hero-section::after {
  width: 400px; height: 400px;
  left: -100px; bottom: -100px;
  background: rgba(255,196,57,.06);
  border: 1px solid rgba(255,196,57,.12);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 0;
  width: 100%;
}

.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--pp-mid), var(--pp-light));
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 40px;
  margin-bottom: 28px;
  letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(58,125,184,.3);
}

.hero-title {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 900;
  color: var(--gray-900);
  line-height: 1.3;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}
.highlight-text {
  color: var(--pp-gold);
  position: relative;
}

.hero-subtitle {
  font-size: clamp(14px, 2vw, 18px);
  color: var(--gray-700);
  margin-bottom: 48px;
  line-height: 1.8;
}

/* PayPalロゴエリア */
.paypal-logo-area {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.paypal-official-img {
  max-width: 100%;
  height: auto;
  display: block;
  max-height: 110px;
}

.hero-arrow-down {
  color: var(--pp-mid);
  font-size: 22px;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,100% { transform: translateY(0);  }
  50%      { transform: translateY(8px); }
}

/* ==========================================
   共通セクションスタイル
========================================== */
section {
  padding: 64px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--pp-dark), var(--pp-mid));
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 900;
  color: var(--gray-900);
  line-height: 1.3;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--gray-500);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

.section-desc strong {
  color: var(--pp-dark);
  font-weight: 700;
  background: linear-gradient(transparent 60%, rgba(255, 196, 57, 0.3) 60%);
}

/* ==========================================
   メリットセクション
========================================== */
.merits-section {
  background: var(--gray-100);
}

.merits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}

.merit-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.merit-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--pp-dark), var(--pp-light));
}
.merit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.merit-image {
  width: 100%;
  height: 200px;
  margin: -40px -32px 24px;
  overflow: hidden;
}
.merit-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.merit-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 48px;
  color: rgba(255,255,255,.9);
  padding: 32px;
  text-align: center;
}
.merit-placeholder[data-merit="1"] {
  background: linear-gradient(135deg, #4a6fa5 0%, #6a8fc8 100%);
}
.merit-placeholder[data-merit="2"] {
  background: linear-gradient(135deg, #27ae60 0%, #4fbf7f 100%);
}
.merit-placeholder[data-merit="3"] {
  background: linear-gradient(135deg, #f0a500 0%, #ffc439 100%);
}
.merit-placeholder p {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  line-height: 1.5;
}

.merit-number {
  font-size: 52px;
  font-weight: 900;
  color: rgba(0,112,186,.35);
  line-height: 1;
  margin-bottom: 8px;
  font-feature-settings: "tnum";
}

.merit-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}
.merit-icon--brand { background: linear-gradient(135deg, #e8f0fe, #c2d4f8); color: var(--pp-dark); }
.merit-icon--bank  { background: linear-gradient(135deg, #e6f7ee, #b3e6c8); color: #1e7e4d; }
.merit-icon--auto  { background: linear-gradient(135deg, #fff3cd, #ffe08a); color: var(--pp-gold-dk); }

.merit-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
  line-height: 1.5;
}

.merit-desc {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 20px;
}

.merit-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.m-brand {
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: .3px;
}
.m-brand.visa   { background: #eef1fb; color: #1434cb; }
.m-brand.mc     { background: #fde8e8; color: #c0002a; }
.m-brand.jcb    { background: #e6eeff; color: #003087; }
.m-brand.amex   { background: #e8f4fd; color: #007bc1; }
.m-brand.diners { background: #e6eeff; color: #004a97; }
.m-brand.new-brand {
  outline: 1px solid;
  position: relative;
}

.bank-icons {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gray-100);
  border-radius: 10px;
  padding: 12px 16px;
}
.bank-icon { font-size: 20px; color: #1e7e4d; }
.bank-text { font-size: 13px; font-weight: 600; color: var(--gray-700); }

.auto-flow {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fffbec;
  border-radius: 10px;
  padding: 12px 16px;
}
.auto-step {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  padding: 4px 12px;
  background: var(--white);
  border-radius: 6px;
  border: 1px solid var(--gray-300);
}
.auto-step--active {
  background: var(--pp-gold);
  border-color: var(--pp-gold);
  color: var(--gray-900);
}
.auto-flow .fa-arrow-right { color: var(--gray-500); font-size: 12px; }

/* ==========================================
   比較セクション
========================================== */
.compare-section {
  background: var(--white);
}

.compare-wrapper {
  max-width: 1100px;
  margin: 0 auto;
}

.compare-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 800px;
}

.compare-table thead tr {
  background: var(--gray-900);
}

.compare-table th {
  padding: 20px 16px;
  text-align: center;
  color: var(--white);
  font-weight: 700;
}

/* 項目列と従来CDX列の間に罫線 */
.compare-item-col { width: 20%; text-align: center !important; border-right: 2px solid #1A1A2E; }
.compare-cdx-col  { width: 24%; }
.compare-paypal-col {
  width: 28%;
  background: linear-gradient(135deg, var(--pp-dark), var(--pp-mid)) !important;
}
.compare-paypal-bank-col {
  width: 28%;
  background: linear-gradient(135deg, #1e7e4d, #27ae60) !important;
}

.col-header { display: flex; flex-direction: column; gap: 4px; }
.col-label  { font-size: 13px; font-weight: 700; line-height: 1.4; }
.col-label small { font-size: 11px; font-weight: 500; opacity: 0.85; }
.col-sub    { font-size: 12px; color: rgba(255,255,255,.7); }

.paypal-col-header { position: relative; }
.paypal-mini-logo {
  font-size: 13px;
  font-weight: 900;
  color: var(--pp-gold);
  letter-spacing: 1px;
  margin-bottom: 2px;
}
.col-recommend {
  display: inline-block;
  background: var(--pp-gold);
  color: var(--gray-900);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 10px;
  margin-top: 4px;
}

.compare-table tbody tr {
  border-bottom: 1px solid var(--gray-100);
  transition: background var(--transition);
}
.compare-table tbody tr:last-child { border-bottom: none; }
.compare-table tbody tr:hover { background: #f9f9fd; }

.compare-table td {
  padding: 20px 24px;
  vertical-align: middle;
}

.compare-item {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  text-align: center;
  line-height: 1.4;
  border-right: 2px solid #1A1A2E !important;
}
.compare-cdx {
  text-align: center;
  color: var(--gray-700);
  font-size: 14px;
}
.compare-paypal {
  text-align: center;
  font-size: 14px;
}
.compare-paypal-bank {
  text-align: center;
  font-size: 14px;
}
.highlight-cell {
  background: linear-gradient(180deg, rgba(0,112,186,.04) 0%, rgba(0,48,135,.02) 100%);
  border-left: 2px solid var(--pp-light);
}

.bank-brand-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #1e7e4d;
}
.bank-brand-text i {
  font-size: 24px;
}
.bank-brand-text strong {
  font-size: 13px;
  font-weight: 700;
}

.payment-change-note {
  font-size: 11px;
  color: var(--gray-500);
  margin-top: 6px;
  line-height: 1.5;
}

.fee-merged-cell {
  background: #f8f9fb !important;
  text-align: center !important;
}
.fee-merged {
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  padding: 4px 0;
  text-align: left;
}
.fee-merged-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.fee-merged-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-700);
  white-space: nowrap;
  min-width: 130px;
}
.fee-merged-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-900);
}

.brands-cell {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
  align-items: center;
}

.brands-img {
  height: 28px;
  width: auto;
  display: block;
}

.tbl-brand {
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 5px;
  letter-spacing: .3px;
}
.tbl-brand.visa   { background: #eef1fb; color: #1434cb; }
.tbl-brand.mc     { background: #fde8e8; color: #c0002a; }
.tbl-brand.jcb    { background: #e6eeff; color: #003087; }
.tbl-brand.amex   { background: #e8f4fd; color: #007bc1; }
.tbl-brand.diners { background: #e6eeff; color: #004a97; }

.icon-no {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--danger);
  font-weight: 600;
  font-size: 14px;
}
.icon-yes {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--success);
  font-weight: 700;
  font-size: 14px;
}

.new-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--pp-gold), var(--pp-gold-dk));
  color: var(--gray-900);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 10px;
  margin-top: 6px;
  margin-left: 4px;
}

.required-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--pp-dark), var(--pp-mid));
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 10px;
}

.small-note {
  display: block;
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 4px;
}

.compare-note {
  font-size: 13px;
  color: var(--gray-500);
  text-align: center;
  margin-top: 20px;
  padding: 12px 20px;
  background: var(--gray-100);
  border-radius: 8px;
}

/* ==========================================
   ご利用の流れセクション
========================================== */
.flow-section {
  background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%);
}

.flow-group {
  max-width: 820px;
  margin: 0 auto 48px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--pp-mid);
}

/* 販売者フロー：購入者と同じ幅 */
.flow-group--seller {
  max-width: 1100px;
}

/* ==========================================
   購入者フロー：行同期グリッド方式
========================================== */
.flow-group--buyer {
  max-width: 1100px;
}

/* 各行：3列グリッド（左 | 区切り線 | 右） */
.bsync-row {
  display: grid;
  grid-template-columns: 1fr 24px 1fr;
  align-items: stretch;
}

/* ヘッダー行 */
.bsync-header {
  margin-bottom: 0;
}
.bsync-header .bsync-left,
.bsync-header .bsync-right {
  padding-bottom: 20px;
}

/* 左右セル */
.bsync-left,
.bsync-right {
  min-width: 0;
}

/* 区切り縦線 */
.bsync-divider-col {
  position: relative;
}
.bsync-divider-col::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--gray-200);
}

/* 矢印行 */
.bsync-connector .bsync-left,
.bsync-connector .bsync-right {
  display: flex;
  justify-content: center;
}

/* 左側スペーサーセル（事前準備と高さ一致） */
.bsync-spacer-cell {
  /* 高さは右側コンテンツに自動追従 */
}

/* レスポンシブ：スマホで縦積み */
@media (max-width: 768px) {
  .bsync-row {
    grid-template-columns: 1fr;
  }
  .bsync-divider-col {
    display: none;
  }
  .bsync-header .bsync-right {
    padding-bottom: 12px;
  }
}

.buyer-col-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  height: 48px;
}

.buyer-col-header--credit {
  background: rgba(58,125,184,.1);
  color: var(--pp-dark);
  border-left: 4px solid var(--pp-mid);
}

.buyer-col-header--bank {
  background: rgba(30,126,77,.1);
  color: #1e7e4d;
  border-left: 4px solid #27ae60;
}

/* 各行ラッパー：左右で高さを揃えるために subgrid を使わずJS不要で対応 */
.buyer-flow-steps {
  display: flex;
  flex-direction: column;
}

.buyer-flow-row {
  padding: 0;
}

/* 両カラムの矢印：各テキストブロックの中央に配置 */
.buyer-flow-col .buyer-flow-row--connector {
  display: flex;
  justify-content: center;
  padding-left: 0;
}

/* 事前準備ブロック（バッジなし・カード形式） */
.buyer-flow-row--pre {
  /* クレジットのSTEP1と高さを揃えるため min-height をなくし自然な高さに */
}

.flow-step--pre-block {
  border: 2px solid #f39c12;
  background: #fffbf0;
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.pre-block-title {
  font-size: 13px;
  font-weight: 700;
  color: #c0392b;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pre-block-title i {
  color: #e67e22;
}

.pre-block-lead {
  font-size: 13px;
  color: var(--gray-700);
  margin-bottom: 10px;
  line-height: 1.6;
}

/* バッジなしのステップ（銀行側STEP1〜4） */
.flow-step-inline--no-badge {
  display: flex;
  gap: 0;
  align-items: flex-start;
  padding: 20px 0;
  padding-left: 8px;
  border-left: 3px solid var(--gray-200);
  margin-left: 4px;
}

.flow-step-inline--no-badge .step-content-inline h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 6px;
}

.flow-step-inline--no-badge .step-content-inline p {
  font-size: 13px;
  color: var(--gray-700);
  line-height: 1.7;
}

.flow-step-inline--no-badge.flow-step--complete {
  border-left-color: var(--success);
}

.flow-step-inline--no-badge.flow-step--complete h4 {
  color: var(--gray-900);
}

/* 区切り線（orなし） */
.buyer-flow-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 68px;
}

.buyer-flow-divider::before {
  content: '';
  flex: 1;
  width: 1px;
  background: var(--gray-200);
}

/* 購入完了ステップ */
.step-number--complete {
  background: linear-gradient(135deg, var(--success), #2ecc71) !important;
}

/* 事前準備ステップ */
.flow-step--pre {
  background: #fff8e1;
  border: 2px dashed #ffca28;
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 0 -4px;
}

.step-number--pre {
  background: linear-gradient(135deg, #f39c12, #f1c40f) !important;
  width: 92px !important;
  font-size: 11px !important;
}

.step-pre-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 0;
  padding: 0;
}

.step-pre-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--gray-700);
  line-height: 1.6;
}

.step-pre-list li i {
  font-size: 12px;
  margin-top: 3px;
  flex-shrink: 0;
}

/* 左カラムのスペーサー行：銀行側の事前準備ブロックと高さ自動同期はJSで対応 */
.buyer-flow-row--spacer {
  /* JS で min-height を設定する */
}

.step-pre-list li .fa-clock  { color: #e67e22; }
.step-pre-list li .fa-id-card { color: #3498db; }

/* 本人確認リストアイテムの縦並びコンテンツ */
.pre-list-item-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pre-list-item-content .inline-link {
  margin-top: 2px;
}

/* ステップ内の注記 */
.step-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 14px;
  background: #f0f4ff;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--pp-mid);
  font-size: 13px;
  color: var(--gray-700);
  line-height: 1.6;
}

.step-note i {
  color: var(--pp-mid);
  margin-top: 2px;
  flex-shrink: 0;
}

.flow-group-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--pp-dark);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.flow-group-title .fa-store,
.flow-group-title .fa-user {
  color: var(--pp-mid);
  font-size: 22px;
}

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.flow-step-inline {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 0;
}

.step-number-inline {
  flex-shrink: 0;
  width: 80px;
  height: 40px;
  background: linear-gradient(135deg, var(--pp-mid), var(--pp-light));
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-content-inline {
  flex: 1;
}

.step-content-inline h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.step-content-inline p {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.8;
  margin: 0;
}

.flow-timing-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.timing-item {
  display: flex;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius-md);
  border: 2px solid;
  background: var(--white);
}

.timing-item.timing-new {
  border-color: #e0e7ff;
  background: #f5f7ff;
}

.timing-item.timing-existing {
  border-color: #d1f4e0;
  background: #f0fdf4;
}

.timing-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 18px;
}

.timing-new .timing-icon {
  background: #e0e7ff;
  color: #4f46e5;
}

.timing-existing .timing-icon {
  background: #d1f4e0;
  color: var(--success);
}

.timing-content {
  flex: 1;
}

.timing-content strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.timing-content p {
  font-size: 12px;
  color: var(--gray-700);
  line-height: 1.6;
  margin: 0;
}

.timing-duration {
  color: var(--gray-500);
  font-size: 11px;
}

.highlight-immediate {
  color: var(--success);
  font-weight: 700;
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--pp-mid);
  font-size: 13px;
  font-weight: 600;
  margin-top: 6px;
  transition: color var(--transition);
}
.inline-link:hover {
  color: var(--pp-dark);
  text-decoration: underline;
}

.flow-connector-inline {
  display: flex;
  justify-content: center;
  padding: 12px 0;
  font-size: 16px;
  color: var(--pp-mid);
}

.payment-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.payment-option {
  background: var(--gray-100);
  border-radius: 10px;
  padding: 16px 18px;
  border-left: 3px solid var(--pp-light);
}

.payment-option-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.payment-option-header i {
  font-size: 16px;
  color: var(--pp-mid);
}
.payment-option-header strong {
  font-size: 14px;
  color: var(--gray-900);
}

.payment-option p {
  font-size: 13px;
  color: var(--gray-700);
  margin: 0;
  padding-left: 26px;
}

.highlight-text {
  color: var(--pp-dark);
  font-weight: 700;
}

/* ==========================================
   FAQセクション
========================================== */
.faq-section {
  background: var(--gray-100);
}

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

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid rgba(0,112,186,.08);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-base);
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-900);
  transition: background var(--transition);
}

.faq-question:hover {
  background: #f0f4ff;
}

.faq-question[aria-expanded="true"] {
  background: linear-gradient(135deg, rgba(0,48,135,.05), rgba(0,112,186,.04));
  color: var(--pp-dark);
}

.faq-icon {
  font-size: 14px;
  color: var(--pp-mid);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
  padding: 0 28px;
}
.faq-answer.open {
  max-height: 400px;
  padding: 4px 28px 22px;
}

.faq-answer p {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.9;
  border-left: 3px solid var(--pp-light);
  padding-left: 16px;
}

.faq-answer .inline-link {
  color: var(--pp-mid);
  font-weight: 600;
  text-decoration: underline;
}
.faq-answer .inline-link:hover {
  color: var(--pp-dark);
}

/* ==========================================
   注意事項・CTAセクション
========================================== */
.notes-section {
  background: var(--white);
}

.notes-box {
  max-width: 760px;
  margin: 0 auto 64px;
  background: #f0f4ff;
  border: 1px solid rgba(0,112,186,.2);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
}

.notes-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--pp-dark);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.notes-title .fa-info-circle { color: var(--pp-mid); }

.notes-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.notes-list li {
  font-size: 14px;
  color: var(--gray-700);
  padding-left: 20px;
  position: relative;
  line-height: 1.7;
}
.notes-list li::before {
  content: '・';
  position: absolute;
  left: 0;
  color: var(--pp-mid);
  font-weight: 700;
}

/* ==========================================
   お問い合わせセクション
========================================== */
.contact-section {
  background: var(--gray-100);
  padding: 96px 0;
}

/* CTA */
.cta-area {
  text-align: center;
  background: var(--white);
  border: 3px solid var(--pp-mid);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
}

.cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--pp-mid), var(--pp-light));
  border-radius: 50%;
  color: var(--white);
  font-size: 36px;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(58,125,184,.25);
}

.cta-title {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 900;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 16px;
  color: var(--gray-600);
  margin-bottom: 40px;
  line-height: 1.8;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  border: 2px solid var(--gray-200);
  transition: all var(--transition);
}

.contact-item:hover {
  border-color: var(--pp-mid);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.contact-item > i {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pp-mid);
  color: var(--white);
  border-radius: 50%;
  font-size: 20px;
}

.contact-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.contact-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--pp-dark);
  text-decoration: none;
  transition: color var(--transition);
}

.contact-value:hover {
  color: var(--pp-light);
}

.contact-hours {
  font-size: 12px;
  color: var(--gray-500);
}

/* ==========================================
   フッター
========================================== */
.site-footer {
  background: var(--gray-900);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-logo .logo-text {
  font-size: 20px;
  font-weight: 900;
  color: var(--pp-gold);
}

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,.45);
}

/* ==========================================
   レスポンシブ
========================================== */
@media (max-width: 900px) {
  .merits-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  section { padding: 48px 0; }

  .hero-content { padding: 60px 0 48px; }
  .hero-title   { font-size: clamp(24px, 6vw, 36px); }

  .paypal-official-img {
    max-width: 90%;
    max-height: 80px;
  }

  .flow-group {
    padding: 24px 20px;
  }
  .flow-step-inline {
    flex-direction: column;
    gap: 12px;
  }
  .step-number-inline {
    width: 100%;
    justify-content: flex-start;
    padding-left: 16px;
  }

  .buyer-flow-cols {
    grid-template-columns: 1fr;
  }

  .buyer-flow-divider {
    flex-direction: row;
    padding: 8px 0;
    height: 24px;
  }

  .buyer-flow-divider::before {
    flex: 1;
    width: auto;
    height: 1px;
  }

  .flow-timing-info {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .notes-box { padding: 28px 24px; }

  .cta-area { padding: 40px 24px; }
  .cta-desc br { display: none; }
  
  .contact-info {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-inner { flex-direction: column; text-align: center; }

  .site-logo img { height: 28px; }
}

@media (max-width: 560px) {
  .container { padding: 0 16px; }

  .section-title { font-size: 24px; }

  .compare-table th,
  .compare-table td { padding: 14px 12px; }
  .compare-item { font-size: 12px; }
  .compare-table { font-size: 12px; }

  .faq-question { padding: 18px 20px; font-size: 14px; }
  .faq-answer.open { padding: 4px 20px 18px; }

  .step-options { gap: 8px; }
  .step-option  { padding: 12px 14px; }

  .cta-paypal-text { font-size: 36px; }
}
