/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Sep 29 2026 | 07:03:11 */
/* ============================================================
   FEAT 3.0 サービストップ v2  —  feat31-*
   ※ 既存の FEAT3.0css（.feat30-wrap / .f30-*）とは名前空間を分離。
      旧ページ・旧CSSには一切影響しません。
   ============================================================ */

/* ════ ① 背景色フルワイド ════ */
body:has(.feat31-wrap) { background: #F7F6F2 !important; }
body:has(.feat31-wrap) .site-content,
body:has(.feat31-wrap) #primary,
body:has(.feat31-wrap) main,
body:has(.feat31-wrap) article,
body:has(.feat31-wrap) .entry-content,
body:has(.feat31-wrap) .post-content,
body:has(.feat31-wrap) .page-content,
body:has(.feat31-wrap) .wrap,
body:has(.feat31-wrap) .content-area,
body:has(.feat31-wrap) #content { background: #F7F6F2 !important; }
.feat31-wp { background: #F7F6F2 !important; width: 100% !important; }

/* ============================================================
   FEAT 3.0 サービストップ — feat30-top.css
   WordPress 固定ページ用
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

/* ---------- リセット ---------- */
.feat31-wrap *, .feat31-wrap *::before, .feat31-wrap *::after { box-sizing: border-box; }
.feat31-wrap img, .feat31-wrap video { max-width: 100%; display: block; }
.feat31-wrap a { text-decoration: none; color: inherit; }
.feat31-wrap ul, .feat31-wrap ol { list-style: none; padding: 0; margin: 0; }
.feat31-wrap p { margin: 0 0 16px; }

/* ---------- カラー変数 ---------- */
.feat31-wrap {
  --c-black:       #000000;
  --c-white:       #ffffff;
  --c-purple:      #66499D;
  --c-purple-lt:   #9B6BCC;
  --c-purple-pale: #524894;
  --c-red:         #D83333;
  --c-green:       #0F6E56;
  --c-blue:        #2C6CAF;
  --c-orange:      #993C1D;
  --c-gold:        #99682F;
  --c-gray:        #D9D9D9;
  --c-bg:          #F7F6F2;

  --sp-v:   30px;
  --sp-h:   30px;
  --max-w:  1080px;
  --radius: 8px;

  font-family: 'ヒラギノ角ゴシック Pro', 'Hiragino Kaku Gothic Pro','メイリオ', 'Meiryo', 'ＭＳ Ｐゴシック', 'MS PGothic', 'sans-serif';
  color: var(--c-black);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ---------- 共通ユーティリティ ---------- */
.f31-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-h);
}
.f31-section { padding: var(--sp-v) 0; }

.f31-section-title {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-black);
  margin-bottom: 24px;
}

.f31-body-text {
  font-size: 14px;
  color: #333;
  line-height: 1.9;
  margin-bottom: 12px;
}
.f31-body-text:last-of-type { margin-bottom: 0; }

/* ---------- ボタン共通 ---------- */
.f31-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 40px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: opacity .2s, transform .15s;
  white-space: nowrap;
}
.f31-btn:hover  { opacity: .82; transform: translateY(-1px); }
.f31-btn:active { transform: translateY(0); }

/* ⑩⑮⑱ 各CTAボタン：黒地・白文字 統一 */
.f31-btn--primary {
  background: #000 !important;
  color: #fff !important;
}
.f31-btn--outline {
  background: transparent;
  border: 1.5px solid var(--c-purple);
  color: var(--c-purple);
}
.f31-btn--red {
  background: var(--c-red) !important;
  color: #ffffff !important;
}
.f31-btn--black {
  background: #0f6e56 !important;
  color: #fff !important;
}
.f31-btn--sm { padding: 10px 24px; font-size: 13px; }


/* ---------- スクロールリビール ---------- */
.f31-reveal { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.f31-reveal.is-visible { opacity: 1; transform: translateY(0); }
.f31-reveal.d1 { transition-delay: .1s; }
.f31-reveal.d2 { transition-delay: .2s; }
.f31-reveal.d3 { transition-delay: .3s; }

/* ============================================================
   01 ファーストビュー（背景なし・黒文字・全コーディング）
   情報の強弱：
     ① キャッチ（h1）  … 最も強い／サービス名を最大に
     ② リード＋説明    … 中
     ③ 費用            … 情報（囲みなし・0円のみ赤で強調）
     ④ CTAボタン       … アクション（塗り＝押せる）
   ============================================================ */
.f31-fv {
  position: relative;
  width: 100%;
  background: transparent;
}

.f31-fv__inner {
  position: relative;
  width: 100%;
  padding: 48px 30px 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* ---------- ① キャッチ（h1） ---------- */
.f31-fv__catch {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0 0 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--c-black);
}
.f31-fv__catch-l1 {
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 700;
  color: var(--c-black);
}
.f31-fv__catch-l2 {
  font-size: clamp(24px, 4.1vw, 40px);
  font-weight: 900;
  color: var(--c-black);
}
.f31-fv__catch-l3 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900;
  color: var(--c-purple);
  letter-spacing: .02em;
}

/* ---------- ② リード・説明 ---------- */
.f31-fv__lead {
  font-size: clamp(15px, 1.9vw, 18px);
  font-weight: 700;
  color: var(--c-black);
  line-height: 1.7;
  margin: 0 0 12px;
}
.f31-fv__desc {
  font-size: 14px;
  color: #333;
  line-height: 1.9;
  max-width: 660px;
  margin: 0 0 22px;
}

/* ---------- ③ 費用（囲みなし） ---------- */
.f31-fv__price {
  margin: 0 0 24px;
  padding: 0;
  background: none;
  border: none;
  width: 100%;
  max-width: 660px;
}
.f31-fv__price-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 32px;
}
.f31-fv__price-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.f31-fv__price-item + .f31-fv__price-item {
  padding-left: 32px;
  border-left: 1px solid rgba(0,0,0,.16);
}
.f31-fv__price-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--c-black);
  line-height: 1.6;
}
.f31-fv__price-value {
  font-size: 16px;
  font-weight: 400;
  color: var(--c-black);
  line-height: 1.6;
  white-space: nowrap;
}
.f31-fv__price-note {
  font-size: 12px;
  color: #666;
  line-height: 1.8;
  margin: 8px 0 0;
  padding: 0;
  border: none;
}

/* ---------- ④ CTAボタン ---------- */
.f31-fv__btns {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 14px;
}
/* 第1ボタン：EA一覧＝緑 */
.f31-btn--fv-primary {
  background: #0f6e56 !important;
  color: #fff !important;
  border: none !important;
}
/* 第2ボタン：口座開設＝赤 */
.f31-btn--fv-sub {
  background: var(--c-red) !important;
  color: #fff !important;
  border: none !important;
}

/* ---------- FV内サブリンク ---------- */
.f31-fv .f31-sub-link-wrap--hero {
  text-align: left;
  margin: 4px 0 0;
  width: 100%;
}
.f31-fv .f31-sub-link-wrap--hero .f31-sub-link {
  font-size: 13px;
  color: #333333;
  border-bottom: 1px solid rgba(0,0,0,.35);
}
.f31-fv .f31-sub-link-wrap--hero .f31-problem__source {
  font-size: 12px;
  color: #777;
}

/* ============================================================
   ファーストビュー下：セクションクイックナビ
   ============================================================ */
.feat31-wrap .f31-quicknav {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  padding: 4px 30px 0;
}
.feat31-wrap .f31-quicknav-link {
  position: relative;
  font-size: 13px;
  font-weight: 700;
  color: #333 !important;
  background: #fff;
  padding: 8px 16px 8px 26px;
  border: 1px solid var(--c-gray);
  border-radius: 2px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
.feat31-wrap .f31-quicknav-link::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--c-purple);
  border-bottom: 1.5px solid var(--c-purple);
  transform: translateY(-70%) rotate(45deg);
}
.feat31-wrap .f31-quicknav-link:hover {
  background: var(--c-purple) !important;
  color: #fff !important;
  border-color: var(--c-purple);
}
.feat31-wrap .f31-quicknav-link:hover::before { border-color: #fff; }
.feat31-wrap .f31-quicknav br { display: none !important; }

/* ---------- FV レスポンシブ ---------- */
@media (max-width: 900px) {
  .f31-fv__inner { padding: 40px 24px 34px; }
  .feat31-wrap .f31-quicknav { padding: 4px 24px 0; }
}

@media (max-width: 640px) {
  .f31-fv__inner { padding: 32px 20px 28px; }
  .feat31-wrap .f31-quicknav { padding: 4px 20px 0; }
  .f31-fv__catch { gap: 2px; }
  .f31-fv__catch-l1 { font-size: clamp(16px, 4.6vw, 20px); }
  .f31-fv__catch-l2 { font-size: clamp(19px, 5.85vw, 30px); }
  .f31-fv__catch-l3 { font-size: clamp(25px, 7.6vw, 36px); }
  .f31-fv__desc { font-size: 13.5px; margin-bottom: 20px; }
  .f31-fv__price-list { flex-direction: column; gap: 8px; }
  .f31-fv__price-item { justify-content: space-between; width: 100%; }
  .f31-fv__price-item + .f31-fv__price-item {
    padding-left: 0;
    padding-top: 8px;
    border-left: none;
    border-top: 1px solid rgba(0,0,0,.12);
  }
  .f31-fv__price-label,
  .f31-fv__price-value { font-size: 16px; }
  .f31-fv__btns { flex-direction: column; align-items: stretch; gap: 10px; }
  .f31-fv__btns .f31-btn { width: 100%; }
  .feat31-wrap .f31-quicknav-link {
    flex: 0 0 calc(50% - 5px);
    text-align: center;
    padding: 8px 12px 8px 22px;
    font-size: 12px;
    box-sizing: border-box;
  }
  .feat31-wrap .f31-quicknav-link::before { left: 10px; }
}

/* ---- リンク共通 ---- */
.f31-sub-link-wrap {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 20px;
}

/* HERO内：白文字・白アンダーライン */
.f31-sub-link-wrap--hero .f31-sub-link {
  border-bottom: 1px solid rgba(0,0,0,.3);
}
/* セクション内：黒文字・グレーアンダーライン */
.f31-sub-link-wrap--section {
  text-align: center !important;
  display: block !important;
  width: 100% !important;
}
.f31-sub-link-wrap--section .f31-sub-link {
  color: #333333;
  border-bottom: 1px solid rgba(0,0,0,.3);
}
.f31-sub-link-wrap--section .f31-sub-link:hover {
  border-bottom-color: #333333;
  opacity: .7;
}

/* リンク本体共通 */
.f31-sub-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none !important;
  padding-top: 8px;
  padding-bottom: 2px;
  transition: opacity .2s;
}

/* ============================================================
   ヒーロー下：セクションクイックナビ（7リンク統合版）
   ============================================================ */


/* 矢印アイコン（↓） */


/* SP：2列（flexbox）・余白はPCと同じgapで高さを抑える */

/* wpautopが自動挿入するbrタグを無効化（2列レイアウト崩れ防止） */

/* ============================================================
   02 これまでのEA
   ⑤ 画像をテキスト下
   ⑥ 2カラム横並び・画像315×236
   ⑦ セクションラベル削除（HTML側）
   ============================================================ */
.f31-problem {
  background: var(--c-bg);
  width: 100%;
}

.f31-problem__layout {
  display: flex;
  flex-direction: column;
}

.f31-problem__text p {
  font-size: 14px;
  color: #333;
  line-height: 1.9;
  margin-bottom: 12px;
}
.f31-problem__text p:last-child { margin-bottom: 0; }

.f31-problem__source {
  font-size: 11px;
  color: #888;
  margin-top: 8px;
}

/* ⑥ 2カラム横並び・左揃え・315×236固定 */
.f31-problem__imgs {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}
.f31-problem__imgs img {
  width: 315px !important;
  height: 236px !important;
  max-width: 315px !important;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}

/* ============================================================
   03 「FEAT 3.0」とは（修正指示書2対応）
   - h2：左縦線アクセント
   - リード文：全幅
   - 01・03：左テキスト＋右画像
   - 02：左画像＋右テキスト（reverse）
   - 各行間に区切り線
   - CTA：赤ボタン中央
   ============================================================ */

/* h2 左縦線アクセント */
.f31-section-title--accent {
  padding-left: 16px;
  margin-bottom: 20px;
}

.f31-about__lead {
  font-size: 16px;
  color: #333;
  line-height: 1.9;
  margin-bottom: 30px;
}

/* 各行：2カラム（左テキスト or 左画像） */
.f31-about__row {
  display: grid;
  grid-template-columns: 1fr 379px;
  grid-template-areas: "text media";
  gap: 48px;
  align-items: center;
  padding: 20px 0;
}
.f31-about__row:last-of-type {
  margin-bottom: 20px;
}

/* 02：左画像・右テキスト */
.f31-about__row--reverse {
  grid-template-columns: 379px 1fr;
  grid-template-areas: "media text";
}

/* grid-area で位置を明示 */
.f31-about__row-text  { grid-area: text; }
.f31-about__row-media { grid-area: media; }

/* メディアエリア */
.f31-about__row-media {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
}
.f31-about__row-media img,
.f31-about__row-media video {
  width: 100%;
  height: 253px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
}

/* テキストエリア */
.f31-about__row-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* h3：番号付き大見出し */
.f31-about__h3 {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 700;
  color: var(--c-black);
  line-height: 1.4;
}

/* h4：サブタイトル */
.f31-about__h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-black);
  line-height: 1.5;
}

.f31-about__row-btn { margin-top: 8px; align-self: flex-start; }

.f31-about__cta {
  text-align: center;
  margin-top: 60px;
}

/* ----------------------------------------------------------
   各セクションimg：WordPressテーマや他ルールの誤適用を防ぐ
   width/heightを各コンテナ内で明示的にリセット
---------------------------------------------------------- */
.f31-type-card__img img,
.f31-about__row-media img,
.f31-about__row-media video,
.f31-steps__img-wrap img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
}

/* マトリクス画像：縦横比を維持 */
.f31-matrix-img {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  display: block;
  margin-bottom: 30px;
}

/* ============================================================
   04 あなたに合ったEAを探す
   ⑫ セクションラベル削除
   ⑬ 運用感覚ブロック：あしらい削除・太文字のみ
   ⑭ 指標：1画像のみ
   ⑮ CTA：黒ボタン・白文字
   ============================================================ */
.f31-finder { background: var(--c-bg); }

/* ⑬ あしらい削除：太文字のみ */
.f31-finder__block-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--c-black);
  margin-bottom: 12px;
}

.f31-finder__block-lead {
  font-size: 16px;
  color: #444;
  line-height: 1.9;
  max-width: 860px;
  margin-bottom: 30px;
}

.f31-finder__block { margin-bottom: 40px; }
.f31-finder__block:last-child { margin-bottom: 0; }

/* タイプカード */
.f31-types {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.f31-type-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid var(--c-gray);
  background: var(--c-white);
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
}
.f31-type-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }

.f31-type-card__num {
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 6px 10px;
}

.f31-type-card__img {
  aspect-ratio: 3/4;
  overflow: hidden;
}
.f31-type-card__img img { width: 100%; height: 100%; object-fit: cover; }

.f31-type-card__body { padding: 10px; }

.f31-type-card__name {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-black);
  margin-bottom: 6px;
}

.f31-type-card__analog { font-size: 11px; color: #555; line-height: 1.5; }
.f31-type-card__analog span { font-size: 10px; color: #999; display: block; margin-bottom: 2px; }

.f31-finder__type-cta {
  text-align: center;
  margin: 60px 0;
}

/* ⑯ あしらい削除・太文字のみ（指標ブロックタイトル） */
.f31-finder__matrix-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--c-black);
  margin-bottom: 12px;
}

.f31-matrix-wrap {
  border-radius: var(--radius);
  overflow: hidden;
}

.f31-finder__matrix-cta {
  text-align: center;
  margin: 60px 0;
}

/* ============================================================
   05 取引開始までの流れ
   ⑯ あしらい削除・太文字のみ
   ⑲ CTA フォント白
   ============================================================ */
.f31-steps__img-wrap {
  margin-top: 32px;
  border-radius: var(--radius);
  overflow: hidden;
}
.f31-steps__img-wrap img { width: 100%; }

.f31-steps__cta { text-align: center; margin-top: 36px; }

/* ============================================================
   06 安心なお取引のために
   ⑰ 画像619×332・中央寄せ
   ⑳ セクションラベル削除
   ============================================================ */
.f31-trust__lead {
  font-size: 14px;
  color: #333;
  line-height: 1.9;
  max-width: 860px;
  margin-bottom: 32px;
}

/* ⑰ 画像：619×332・中央寄せ */
.f31-trust__img-wrap {
  display: flex;
  justify-content: center;
}
.f31-trust__img-wrap .f31-trust__img {
  max-width: 100%;
  object-fit: contain;
  border-radius: var(--radius);
  display: block;
}

/* ============================================================
   07 よくある質問
   ㉑ デフォルト全閉じ
   ⑱ CTA：黒ボタン・白文字
   ============================================================ */
.f31-faq { background: var(--c-bg); }

.f31-faq__list {
  margin-top: 32px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-gray);
}

.f31-faq-item {
  border-bottom: 1px solid var(--c-gray);
  background: var(--c-white);
}
.f31-faq-item:last-child { border-bottom: none; }

.f31-faq-item__q {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 24px;
  cursor: pointer;
  transition: background .15s;
  user-select: none;
}
.f31-faq-item__q:hover { background: var(--c-bg); }

.f31-faq-item__q-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--c-purple);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.f31-faq-item__q-text {
  flex: 1;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-black);
  line-height: 1.6;
}

.f31-faq-item__q-arrow {
  font-size: 12px;
  color: var(--c-purple);
  transition: transform .3s ease;
  flex-shrink: 0;
  line-height: 1.8;
}
/* ㉑ デフォルト全閉じ：is-openクラスがある時だけ開く */
.f31-faq-item.is-open .f31-faq-item__q-arrow { transform: rotate(180deg); }

.f31-faq-item__a {
  display: none;
  padding: 4px 24px 20px 60px;
  font-size: 14px;
  color: #444;
  line-height: 1.85;
}
.f31-faq-item.is-open .f31-faq-item__a { display: block; }

.f31-faq__more { text-align: center; margin-top: 28px; }

/* ============================================================
   08 BottomCTA
   背景：#D9D9D9（グレー）
   ボタン黒・白文字
   ============================================================ */
.f31-bottom-cta {
  background: var(--c-gray);
  padding: var(--sp-v) 0;
}

.f31-bottom-cta__inner { text-align: center; }

.f31-bottom-cta__catch {
  font-size: clamp(16px, 2.5vw, 22px);
  font-weight: 700;
  color: var(--c-black);
  line-height: 1.6;
  margin-bottom: 12px;
}

.f31-bottom-cta__sub {
  font-size: 13px;
  color: #444;
  margin-bottom: 32px;
  line-height: 1.8;
}

.f31-bottom-cta__btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.f31-bottom-cta__btns .f31-btn { min-width: 280px; }

.f31-bottom-cta__links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.f31-bottom-cta__link {
  font-size: 13px;
  color: #444;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .15s;
}
.f31-bottom-cta__link:hover { color: var(--c-black); }

/* ============================================================
   レスポンシブ（共通ブレークポイント）
   ============================================================ */
@media (max-width: 1000px) {
  .f31-about__row,
  .f31-about__row--reverse {
    grid-template-columns: 1fr;
    grid-template-areas: "media" "text";
    gap: 24px;
  }
  .f31-about__row-media img,
  .f31-about__row-media video { height: auto; aspect-ratio: 3/2; }
  .f31-types                  { grid-template-columns: repeat(3, 1fr); }
  .f31-trust__img-wrap img    { width: 100%; height: auto; }
}

@media (max-width: 640px) {
  .feat31-wrap   { --sp-v: 72px; --sp-h: 20px; }
  .f31-about__row        { padding: 32px 0; }
  .f31-types             { grid-template-columns: repeat(2, 1fr); }
  .f31-problem__imgs     { flex-direction: column; }
  .f31-problem__imgs img { width: 100% !important; height: auto !important; }
  .f31-faq-item__a       { padding-left: 24px; }
  .f31-bottom-cta__btns .f31-btn { min-width: unset; width: 100%; max-width: 320px; }
}

.feat31-wrap .f31-btn,
.feat31-wrap .f31-btn * {
  color: #fff !important;
}

/* =============================================
   ヒーロー差し替え用追記CSS v2
   ============================================= */

/* ヒーロー全体：紫背景を除去・縦並び・左揃え */

/* 既存の絶対配置背景画像・innerを非表示 */

/* 画像：全幅 */

/* ボタンエリア：左揃え・横並び・gap 20px */

/* テキストリンクエリア：口座開設ボタンの真下（左揃え） */

/* スマホ */

/* =====================================================
   スマートフォン（SP）用のレスポンシブ調整
   ===================================================== */
@media screen and (max-width: 767px) {

  /* 1. 画像を高さ固定ではなく、横幅に合わせて自動縮小させる */
  .feat31-wrap img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }

  /* ヒーローエリアの画像ラッパーの高さ固定も解除 */

  /* ページトップのボタンエリアだけを中央寄せ */


  /* ページトップの「複数口座はこちら」リンクと注記だけを中央寄せ */
  .f31-sub-link-wrap--hero {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    margin: 15px auto !important;
  }
  .f31-sub-link-wrap--hero .f31-sub-link,
  .f31-sub-link-wrap--hero .f31-problem__source {
    text-align: center !important;
    display: block !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* =====================================================
   FEAT 3.0 サービストップ SP最終調整パッチ
   （最後に置くことで既存の競合ルールに確実に勝つ）
   ===================================================== */
@media screen and (max-width: 767px) {

  /* 1. メインビジュアル下のボタン2つの余白を詰める */

  /* 2. 「複数口座のお申し込みはこちら」のアンダーラインを文字幅だけにする */
  body .feat31-wrap .f31-sub-link-wrap--hero {
    text-align: center !important;
  }
  body .feat31-wrap .f31-sub-link-wrap--hero .f31-sub-link {
    display: inline-block !important;
    width: auto !important;
    margin: 0 auto 4px !important;
  }
  body .feat31-wrap .f31-sub-link-wrap--hero .f31-problem__source {
    display: block !important;
    width: auto !important;
  }

  /* 3. 各セクション間の余白を詰める */
  body .feat31-wrap .f31-section {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
  }
  body .feat31-wrap .f31-about__cta {
    margin-top: 24px !important;
  }
  body .feat31-wrap .f31-about__row {
    padding: 20px 0 !important;
  }

  /* 4.「あなたに合ったEAを探す」セクションのボタンを中央配置にする */
  body .feat31-wrap .f31-finder__type-cta,
  body .feat31-wrap .f31-finder__matrix-cta {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 24px 0 !important;
    text-align: center !important;
  }

  /* 5. お知らせ（[my_top_news]）の下に余白を追加 */
  body .feat31-wrap {
    padding-bottom: 40px !important;
  }

  /* 6. クイックナビ内の余白調整（SP・2列時） */
}

/* ============================================================
   09 SNS
   ============================================================ */
.f31-sns { background: var(--c-bg); }

.f31-sns__lead {
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--c-black);
}

.f31-sns__list {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 64px;
}

.f31-sns__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none !important;
  transition: opacity .2s, transform .15s;
}
.f31-sns__item:hover {
  opacity: .8;
  transform: translateY(-2px);
}

/* PC：詳細度を .feat31-wrap img より上げて競合防止 */
body .feat31-wrap .f31-sns__icon {
  width: 64px !important;
  height: 64px !important;
  max-width: 64px !important;
  min-width: 64px !important;
  flex-shrink: 0 !important;
  border-radius: 16px;
  object-fit: cover !important;
  display: block;
}

.f31-sns__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--c-black);
  white-space: nowrap;
}

/* SP */
@media (max-width: 767px) {
  .f31-sns__list {
    gap: 40px;
  }

  /* .feat31-wrap img の width:100% !important に勝つよう詳細度を上げる */
  body .feat31-wrap .f31-sns__icon {
    width: 56px !important;
    height: 56px !important;
    max-width: 56px !important;
    min-width: 56px !important;
  }

  .f31-sns__label {
    font-size: 12px;
  }
}

/* ============================================================
   02 FEAT 3.0の利用方法（3STEP）※v2で新設
   ============================================================ */
.f31-flow3 { background: transparent; }

.f31-flow3__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin-top: 8px;
}

.f31-flow3__item {
  position: relative;
  background: var(--c-white);
  border: 1px solid var(--c-gray);
  border-radius: var(--radius);
  padding: 24px 22px 22px;
}

/* ステップ間の矢印 */
.f31-flow3__item + .f31-flow3__item::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -24px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--c-purple);
  border-right: 2px solid var(--c-purple);
  transform: translateY(-50%) rotate(45deg);
}

.f31-flow3__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding: 0 12px;
  border-radius: 2px;
  background: var(--c-purple);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
}

.f31-flow3__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--c-black);
  line-height: 1.4;
  margin: 14px 0 8px;
}

.f31-flow3__text {
  font-size: 14px;
  color: #333;
  line-height: 1.85;
  margin: 0;
}

/* ステップ下の補足：囲みも罫線も使わず、箇条書きで示す */
.f31-flow3__note {
  margin: 24px 0 0;
  padding: 0;
  background: none;
  border: none;
}
.f31-flow3__note li {
  position: relative;
  padding-left: 1.1em;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-black);
  line-height: 1.9;
}
.f31-flow3__note li + li { margin-top: 2px; }
.f31-flow3__note li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .82em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-purple);
}

/* 「FEAT 3.0とは」各行の本文（旧CSSでは未定義だったため v2 で明示） */
.f31-feat-text {
  font-size: 14px;
  color: #333;
  line-height: 1.9;
  margin: 0;
}

/* ============================================================
   04 FEAT 3.0の利用にかかる費用 ※v2で新設
   ============================================================ */
.f31-cost { background: var(--c-bg); }

.f31-cost__table-wrap {
  overflow-x: auto;
  border: 1px solid var(--c-gray);
  border-radius: var(--radius);
  background: var(--c-white);
}

.f31-cost__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--c-white);
}

.f31-cost__table th,
.f31-cost__table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--c-gray);
  text-align: left;
  vertical-align: middle;
  line-height: 1.6;
}
.f31-cost__table tr:last-child th,
.f31-cost__table tr:last-child td { border-bottom: none; }

.f31-cost__table th {
  width: 46%;
  background: #FAF9F5;
  font-weight: 700;
  color: var(--c-black);
}
.f31-cost__table td { color: #333; }

.f31-cost__free {
  font-size: inherit;
  font-weight: 400;
  color: #333;
}

.f31-cost__note {
  margin: 16px 0 0;
  font-size: 13px;
  color: #444;
  line-height: 1.9;
}

.f31-cost__link {
  margin: 10px 0 0;
  font-size: 14px;
}
.f31-cost__link a {
  border-bottom: 1px solid rgba(0,0,0,.3);
  padding-bottom: 2px;
  transition: opacity .2s;
}
.f31-cost__link a:hover { opacity: .7; }

/* ============================================================
   v2 新セクション レスポンシブ
   ============================================================ */
@media (max-width: 900px) {
  .f31-flow3__list { grid-template-columns: 1fr; gap: 30px; }
  .f31-flow3__item + .f31-flow3__item::before {
    top: -20px;
    left: 50%;
    transform: translateX(-50%) rotate(135deg);
  }
}

@media (max-width: 640px) {
  .f31-flow3__item { padding: 20px 18px 18px; }
  .f31-flow3__title { font-size: 17px; }
  .f31-cost__table th,
  .f31-cost__table td { padding: 13px 14px; font-size: 13px; }
  .f31-cost__table th { width: 50%; }
  .f31-cost__free { font-size: inherit; }
}

/* ============================================================
   FV SP 最終調整（旧CSS由来のSPパッチより後に置いて確実に効かせる）
   ============================================================ */
@media screen and (max-width: 767px) {
  body .feat31-wrap .f31-fv .f31-sub-link-wrap--hero {
    display: block !important;
    text-align: left !important;
    width: 100% !important;
    margin: 10px 0 0 !important;
  }
  body .feat31-wrap .f31-fv .f31-sub-link-wrap--hero .f31-sub-link,
  body .feat31-wrap .f31-fv .f31-sub-link-wrap--hero .f31-problem__source {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  /* FVはコーディング化したため、旧SPパッチの img 一括指定の影響を受けない */
  body .feat31-wrap .f31-fv__btns { margin: 0 0 18px !important; padding: 0 !important; }
}

/* ============================================================
   テーマCSSとの競合対策
   themes/lightning/algo/css/custom.css に
     h1 span { font-size: 46px; color: #fff; }
     .mainSection .entry-body a { color: #9933ff; text-decoration: underline; }
   があり、詳細度・読み込み順で競合するため、ここで明示的に打ち消す。
   ============================================================ */

/* --- キャッチ（h1 > span）--- */
body .feat31-wrap .f31-fv__catch {
  display: flex !important;
  flex-direction: column !important;
  line-height: 1.24 !important;
}
body .feat31-wrap .f31-fv__catch > span {
  display: block !important;
  line-height: 1.24 !important;
  width: auto;
}
body .feat31-wrap .f31-fv__catch-l1 {
  font-size: clamp(18px, 2.4vw, 24px) !important;
  color: #000000 !important;
}
body .feat31-wrap .f31-fv__catch-l2 {
  font-size: clamp(24px, 4.1vw, 40px) !important;
  color: #000000 !important;
}
body .feat31-wrap .f31-fv__catch-l3 {
  font-size: clamp(28px, 5vw, 48px) !important;
  color: var(--c-purple) !important;
}

/* --- リンクの下線・色 --- */
body .feat31-wrap a { text-decoration: none !important; }
body .feat31-wrap .f31-btn,
body .feat31-wrap .f31-btn * { text-decoration: none !important; }
body .feat31-wrap .f31-quicknav-link { color: #333 !important; }
body .feat31-wrap .f31-fv .f31-sub-link { color: #333333 !important; }
body .feat31-wrap .f31-sub-link-wrap--section .f31-sub-link { color: #333333 !important; }
body .feat31-wrap .f31-cost__link a { color: #333333 !important; }
/* FAQ本文中のリンクは、リンクと分かるよう下線を残す */
body .feat31-wrap .f31-faq-item__a a {
  color: #2C6CAF !important;
  text-decoration: underline !important;
}

@media (max-width: 640px) {
  body .feat31-wrap .f31-fv__catch-l1 { font-size: clamp(16px, 4.6vw, 20px) !important; }
  body .feat31-wrap .f31-fv__catch-l2 { font-size: clamp(19px, 5.85vw, 30px) !important; }
  body .feat31-wrap .f31-fv__catch-l3 { font-size: clamp(25px, 7.6vw, 36px) !important; }
}

/* ============================================================
   全体トーン：角丸を抑え、装飾より情報の見やすさを優先する
   ============================================================ */
.feat31-wrap { --radius: 3px; }
.feat31-wrap .f31-btn { border-radius: 3px; box-shadow: none; }

/* SPだけで効かせる改行（見出しの折り返し位置を整える） */
body .feat31-wrap .f31-br-sp { display: none !important; }
@media (max-width: 640px) {
  body .feat31-wrap .f31-br-sp { display: inline !important; }
}

/* ============================================================
   セクション内の回遊リンク（口座開設以外）
   EAナレッジ一覧の `.eak-page-lead-link a`（themes/lightning/algo/css/custom.css）
   と同じ見た目に揃える。CTAは口座開設ボタンだけに絞り、
   それ以外はテキストリンクとして優先度を下げる。
   ============================================================ */
body .feat31-wrap .f31-textlink {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
  color: #66499d !important;
  text-decoration: underline !important;
  border-bottom: none !important;   /* 既存の下線装飾と二重にならないように */
  padding-bottom: 0 !important;
  transition: color .15s;
}
body .feat31-wrap .f31-textlink::before { content: "→ "; }
body .feat31-wrap .f31-textlink:hover {
  color: #4d357a !important;
  text-decoration: underline !important;
}

/* 「FEAT 3.0とは」各行のテキストリンク：本文からの余白 */
body .feat31-wrap .f31-about__row-link { margin-top: 4px; align-self: flex-start; }
