/* ================================================================
   beginners.css — 「初めての方へ」専用スタイル
================================================================ */

.beginners-page {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.beginners-page * { box-sizing: border-box; }

/* ── 共通セクション */
.bg-section { padding: 80px 0; background: #fff; }
.bg-section--dark { background: linear-gradient(135deg, #001824 0%, #003348 60%, #005470 100%) !important; }
.bg-section--gray { background: #f7f9fc !important; }

.bg-section__header { text-align: center; margin-bottom: 56px; }

.bg-section__label {
  font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  color: #1191E5; margin-bottom: 8px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.bg-section__label::before,
.bg-section__label::after {
  content: ''; display: inline-block;
  width: 24px; height: 1px; background: currentColor; opacity: .5;
}

.bg-section__title {
  font-family: 'Noto Serif JP', Georgia, serif;
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 700; color: #111820; line-height: 1.45; margin: 0 0 16px;
}
.bg-section__title strong { color: #1191E5; }
.bg-section__title--light { color: #fff !important; }
.bg-section__title--light strong { color: rgba(255,255,255,.8) !important; }

.bg-section__desc { font-size: 15px; color: #546070; max-width: 560px; margin: 0 auto; line-height: 1.7; }
.bg-section__desc--light { color: rgba(255,255,255,.6) !important; }

/* ── HERO */
.bg-hero {
  background: linear-gradient(160deg, #1191E5 0%, #3AAFF5 60%, #7ECEF9 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

/* 水玉ドット */
.bg-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.22) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* 右上の光球 */
.bg-hero::after {
  content: '';
  position: absolute;
  width: 360px; height: 360px;
  border-radius: 50%;
  z-index: 0;
  background: radial-gradient(circle, rgba(255,255,255,.15) 0%, transparent 65%);
  top: -100px; right: 80px;
  pointer-events: none;
}

/* innerはflexで左右 space-between */
.bg-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 120px 0;
}

/* テキストエリア：左55% */
.bg-hero__text {
  flex: 0 0 55%;
  padding-bottom: 48px;
}

/* text-innerはそのまま */
.bg-hero__text-inner {
  width: 100%;
}

/* 画像エリア：右45%・右下揃え */
.bg-hero__img-wrap {
  flex: 0 0 45%;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  line-height: 0;
}

/* 画像：幅いっぱい・最大450px */
.bg-hero__side-img {
  width: 100%;
  height: auto;
  max-width: 450px;
  display: block;
}
.bg-hero__app-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.bg-app-badge {
  display: inline-block;
  text-decoration: none;
  transition: opacity .15s;
  line-height: 0;
}
.bg-app-badge img {
  height: 44px;
  width: auto;
  display: block;
}
.bg-app-badge:hover { opacity: .8; }
.bg-hero__eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  color: rgba(255,255,255,.9); margin-bottom: 20px; display: flex; align-items: center; gap: 8px;
}
.bg-hero__eyebrow::before {
  content: ''; display: inline-block; width: 20px; height: 2px;
  background: rgba(255,255,255,.8); border-radius: 999px;
}
.bg-hero__title {
  font-family: 'Noto Serif JP', Georgia, serif;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700; color: #fff; line-height: 1.3; margin: 0 0 14px;
}
.bg-hero__title span { color: rgba(255,255,255,.75); }
.bg-hero__desc { font-size: 15px; color: rgba(255,255,255,.85); line-height: 1.7; margin: 0 0 20px; }
.bg-hero__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.bg-hero__note { font-size: 11px; color: rgba(255,255,255,.75); }

.bg-stats { display: flex; gap: 12px; flex-wrap: wrap; }
.bg-stat {
  background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.3);
  border-radius: 12px; padding: 10px 16px; text-align: center; min-width: 80px;
}
.bg-stat__value { display: block; font-size: 22px; font-weight: 900; color: #fff; line-height: 1; margin-bottom: 2px; }
.bg-stat__value small { font-size: 14px; }
.bg-stat__label { font-size: 10px; color: rgba(255,255,255,.75); font-weight: 600; }

/* ── 選ばれる理由カード */
.bg-reason-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px)  { .bg-reason-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .bg-reason-grid { grid-template-columns: repeat(4, 1fr); } }

.bg-reason-card {
  background: #fff; border: 1px solid #eef2f7; border-radius: 16px;
  padding: 28px 24px; box-shadow: 0 1px 3px rgba(0,50,80,.08);
  transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column; gap: 16px;
}
.bg-reason-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,50,80,.12); }

.bg-reason-card__icon {
  width: 88px; height: 88px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; line-height: 1; flex-shrink: 0;
}
.bg-reason-card__icon--blue   { background: rgba(0,84,112,.1);  color: #005470; }
.bg-reason-card__icon--cyan   { background: rgba(17,145,229,.12); color: #1191E5; }
.bg-reason-card__icon--green  { background: rgba(16,185,129,.1); color: #059669; }
.bg-reason-card__icon--purple { background: rgba(139,92,246,.1); color: #7c3aed; }
/* 画像アイコン */
.bg-reason-card__icon--img {
  width: 132px; height: 132px; background: none; border-radius: 0; padding: 0;
}
.bg-reason-card__icon--img img {
  width: 132px; height: 132px; object-fit: contain; display: block;
}

.bg-reason-card__title { font-size: 15px; font-weight: 700; color: #111820; line-height: 1.45; margin: 0; }

.bg-reason-card__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.bg-reason-card__list li { font-size: 13px; color: #546070; line-height: 1.7; padding-left: 16px; position: relative; }
.bg-reason-card__list li::before { content: '›'; position: absolute; left: 0; color: #1191E5; font-weight: 700; }
.bg-reason-card__accent { color: #005470; font-weight: 700; }
.bg-reason-card__note { font-size: 10px; color: #9EACBB; line-height: 1.6; margin: 0; }

.bg-app-badges { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.bg-app-badge {
  display: inline-block;
  text-decoration: none;
  transition: opacity .15s;
  line-height: 0;
}
.bg-app-badge img {
  height: 40px;
  width: auto;
  display: block;
  border-radius: 6px;
  mix-blend-mode: lighten; /* 白背景を透過させる */
}
.bg-app-badge:hover { opacity: .8; }

/* ── STEPS */
.bg-steps { display: grid; grid-template-columns: 1fr 32px 1fr 32px 1fr 32px 1fr; align-items: center; margin-bottom: 48px; }
@media (max-width: 767px) { .bg-steps { grid-template-columns: 1fr; gap: 0; } }

.bg-step {
  background: rgba(255,255,255,.06); border: 1px solid rgba(0,217,255,.2);
  border-radius: 16px; padding: 28px 16px 20px; text-align: center; position: relative;
}
.bg-step--last { border-color: rgba(0,217,255,.5); background: rgba(0,217,255,.1); }

.bg-step__num {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: #1191E5; color: #fff;
  font-size: 10px; font-weight: 900; padding: 3px 12px; border-radius: 999px;
  letter-spacing: .08em; white-space: nowrap;
}
.bg-step__icon {
  width: 60px; height: 60px; background: rgba(255,255,255,.1); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 4px auto 12px; font-size: 22px; color: #fff;
}
/* 画像アイコン（背景円なし） */
.bg-step__icon--img {
  background: transparent;
  width: 64px; height: 64px; border-radius: 0;
}
.bg-step__icon--img img {
  width: 64px; height: 64px; object-fit: contain; display: block;
}
.bg-step__title { font-size: 15px; font-weight: 700; color: #fff; margin: 0 0 8px; }
.bg-step__desc { font-size: 12px; color: rgba(255,255,255,.55); line-height: 1.7; margin: 0 0 12px; }
.bg-step__time { display: inline-block; font-size: 11px; font-weight: 700; color: #1191E5; background: rgba(17,145,229,.12); padding: 3px 12px; border-radius: 999px; }

.bg-step__arrow { display: flex; align-items: center; justify-content: center; color: rgba(17,145,229,.5); font-size: 22px; }
@media (max-width: 767px) {
  .bg-step__arrow { padding: 6px 0; transform: rotate(90deg); }
  .bg-step { max-width: 320px; margin: 0 auto; width: 100%; }
}

.bg-cta-wrap { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 16px; }
.bg-cta-sub { font-size: 13px; color: rgba(255,255,255,.5); text-decoration: underline; }
.bg-cta-sub:hover { color: rgba(255,255,255,.8); }
.bg-cta-note { text-align: center; font-size: 11px; color: rgba(255,255,255,.3); margin: 0; }

/* ── 法人向けサービス */
.bg-corporate {
  max-width: 800px; margin: 0 auto;
  background: #fff; border: 2px solid #1191E5;
  border-radius: 20px; padding: 48px;
  box-shadow: 0 4px 24px rgba(0,80,120,.1);
}
.bg-corporate__badge {
  display: inline-block; background: #1191E5; color: #fff;
  font-size: 10px; font-weight: 700; padding: 4px 14px;
  border-radius: 999px; letter-spacing: .05em; margin-bottom: 16px;
}
.bg-corporate__title { font-size: clamp(20px, 3vw, 26px); font-weight: 700; color: #111820; margin: 0 0 12px; }
.bg-corporate__lead { font-size: 15px; color: #546070; margin: 0 0 28px; }

.bg-corporate__grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 8px; }
@media (min-width: 640px) { .bg-corporate__grid { grid-template-columns: repeat(2, 1fr); } }

.bg-corporate__item { display: flex; gap: 12px; align-items: flex-start; background: #f7f9fc; border-radius: 12px; padding: 16px; }
.bg-corporate__check {
  width: 24px; height: 24px; border-radius: 50%;
  background: #1191E5; color: #fff;
  font-size: 13px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.bg-corporate__item strong { display: block; font-size: 13px; font-weight: 700; color: #111820; margin-bottom: 4px; }
.bg-corporate__item p { font-size: 12px; color: #546070; line-height: 1.65; margin: 0; }
.bg-corporate__item em { color: #005470; font-style: normal; font-weight: 600; }

/* ── 暗号資産とは */
.bg-crypto-questions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.bg-crypto-q {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid #eef2f7;
  border-radius: 999px; padding: 12px 24px;
  box-shadow: 0 1px 3px rgba(0,50,80,.07);
  font-size: 14px; font-weight: 600; color: #111820;
}
.bg-crypto-q__icon {
  width: 26px; height: 26px; border-radius: 50%;
  background: #1191E5; color: #fff;
  font-size: 14px; font-weight: 900;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* ── 最終CTA */
.bg-final-cta { background: linear-gradient(135deg, #001824, #003348, #005470); padding: 80px 0; text-align: center; }
.bg-final-cta__title { font-family: 'Noto Serif JP', Georgia, serif; font-size: clamp(22px, 3.5vw, 30px); font-weight: 700; color: #fff; margin: 0 0 16px; }
.bg-final-cta__desc { font-size: 15px; color: rgba(255,255,255,.6); margin: 0 0 36px; }

/* ── レスポンシブ */

/* タブレット（768px〜1023px）：Hero の横パディングを縮小 */
@media (min-width: 768px) and (max-width: 1023px) {
  .bg-hero__inner {
    padding: 48px 40px 0;
  }
}

/* モバイル（〜767px） */
@media (max-width: 767px) {
  .bg-hero { height: auto; }
  .bg-section { padding: 56px 0; }

  /* ★ Fix: 120px の横 padding をリセット。子要素の padding: 0 20px が効くようにする */
  .bg-hero__inner {
    display: block;
    padding: 0;
  }
  .bg-hero__text { padding: 0 20px; }
  .bg-hero__text-inner { padding: 40px 0 36px; }
  .bg-hero__img-wrap { display: none; }
  .bg-hero__actions { flex-direction: column; align-items: flex-start; gap: 12px; }
  .bg-hero__actions .btn { width: 100%; justify-content: center; text-align: center; }
  .bg-hero__app-badges { gap: 8px; }
  .bg-hero__app-badges .bg-app-badge img { height: 34px; }
  .bg-stats { gap: 10px; }
  .bg-stat { min-width: 80px; padding: 12px 14px; }
  .bg-stat__value { font-size: 22px; }
  .bg-corporate { padding: 32px 24px; }
  .bg-cta-wrap { flex-direction: column; }
  .bg-cta-wrap .btn { width: 100%; justify-content: center; text-align: center; }
}
@media (max-width: 639px) {
  .bg-reason-grid { grid-template-columns: 1fr; }
  .bg-crypto-questions { flex-direction: column; align-items: center; }
}

/* 極小画面（〜479px）：ガイドカードを1カラムに */
@media (max-width: 479px) {
  .bg-guide-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   ガイドカード（暗号資産とは）
================================================================ */
.bg-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (min-width: 768px) {
  .bg-guide-grid { grid-template-columns: repeat(4, 1fr); }
}

.bg-guide-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #eef2f7;
  box-shadow: 0 2px 8px rgba(0,50,80,.07);
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  background: #fff;
}
.bg-guide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,50,80,.13);
}

.bg-guide-card__thumb {
  position: relative;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bg-guide-card__label {
  font-size: 18px;
  font-weight: 900;
  color: rgba(255,255,255,.9);
  letter-spacing: .03em;
}
.bg-guide-card__step {
  position: absolute;
  top: 10px;
  left: 12px;
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,.65);
  letter-spacing: .08em;
}

.bg-guide-card__body {
  padding: 14px 16px 18px;
  flex: 1;
}
.bg-guide-card__step-tag {
  font-size: 10px;
  font-weight: 700;
  color: #1191E5;
  letter-spacing: .08em;
  margin: 0 0 6px;
}
.bg-guide-card__title {
  font-size: 13px;
  font-weight: 600;
  color: #111820;
  line-height: 1.55;
  margin: 0;
}
