/* 共通（shared/base.css）＋ページ別（shared/pages/orange.css）を build.py で結合 */
:root {
  --orange: #f4810b;
  --navy: #0b3877;
  --yellow: #fffee7;
  --peach: #ffefe0;
  --text: #000;
  --gray: #4f4f4f;
  --en: "Jost", sans-serif;
  /* Wix は欧文だけの Wix Madefor Text を指定し、日本語は端末の標準ゴシック（Mac はヒラギノ W3/W6）で描いている。同じ指定にする */
  --jp: "Wix Madefor Text", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--jp); color: var(--text); background: #fff; line-height: 1.8; -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p { margin: 0; }
.sp-only { display: none; }
.center { text-align: center; }

.h-orange { color: var(--orange); font-weight: 700; text-align: center; line-height: 1.3; }
.h-orange.big { font-size: 38px; }
.h-orange.mid { font-size: 25px; }

/* ボタン */
.arrow { display: inline-block; width: 18px; height: 18px; border: 1.5px solid #fff; border-radius: 50%; position: relative; vertical-align: -3px; margin-left: 6px; }
.arrow::after { content: ""; position: absolute; left: 4px; top: 7px; width: 7px; height: 1.5px; background: #fff; box-shadow: none; }
.arrow::before { content: ""; position: absolute; left: 7px; top: 5px; width: 4px; height: 4px; border-top: 1.5px solid #fff; border-right: 1.5px solid #fff; transform: rotate(45deg); }
.btn-blue, .cta-fixed {
  display: inline-block; color: #fff; text-decoration: none; font-weight: 700; letter-spacing: .12em;
  background: linear-gradient(90deg, #64a6ec, #1d4f9e); border-radius: 30px; box-shadow: 0 2px 4px rgba(0,0,0,.25);
}
.btn-blue { font-size: 17px; padding: 9px 26px; }
.cta-fixed { position: fixed; top: 30px; right: 30px; z-index: 50; font-size: 17px; padding: 9px 26px; }
.cta-side { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 50; width: 46px; }

/* ファーストビュー */
.fv { display: flex; justify-content: space-between; height: 688px; overflow: hidden; }
.fv-text { flex: 0 0 640px; padding: 30px 0 0 42px; }
.logo { width: 210px; }
.fv h1 { margin: 98px 0 0 46px; color: var(--orange); font-size: 68px; font-weight: 700; line-height: 1.3; letter-spacing: .02em; }
.lead { margin: 30px 0 0 46px; color: #555; font-size: 20px; line-height: 1.8; letter-spacing: .1em; }
.fv .btn-blue { margin: 60px 0 0 46px; }
.fv-img { width: 640px; height: 688px; object-fit: cover; object-position: left top; }

/* 黄色背景セクション */
.bg-yellow { background: var(--yellow); }
.about-box {
  max-width: 920px; margin: 0 auto; position: relative; top: 64px; display: flex; gap: 20px; align-items: center;
  background: var(--peach); border-radius: 10px; padding: 36px 40px 40px; box-shadow: 4px 4px 0 #ffd9a6;
}
.about-left { flex: 0 0 420px; }
.about-title { color: var(--orange); font-size: 26px; font-weight: 700; margin-left: 10px; }
.ribbons { width: 405px; margin: 10px 0 8px; }
.about-left p { font-size: 15px; line-height: 1.8; letter-spacing: .03em; }
.pyramid { flex: 1; width: 390px; }

.nayami { max-width: 920px; margin: 0 auto; padding: 150px 0 0; }
.nayami-lead { margin: 18px 0 36px; font-size: 16px; line-height: 1.8; letter-spacing: .03em; }
.nayami-img { width: 720px; margin: 0 auto; }

.solutions { max-width: 920px; margin: 0 auto; background: #fff; border-radius: 6px; padding: 76px 0 40px; }
.solutions .center { margin: 30px 0 34px; font-size: 16px; }
.sol-list { width: 770px; margin: 0 auto; }
.sol-list details { background: var(--peach); border: 3px solid var(--orange); border-radius: 60px; margin-bottom: 17px; }
.sol-list summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 13px; padding: 14px 22px; position: relative; }
.sol-list summary::-webkit-details-marker { display: none; }
.sol-list summary::after { content: ""; position: absolute; right: 26px; top: 50%; width: 30px; height: 30px; margin-top: -18px; border-radius: 50%; background: #fff; }
.sol-list summary::before { content: ""; position: absolute; right: 37px; top: 50%; width: 7px; height: 7px; margin-top: -8px; border-right: 2.5px solid #000; border-bottom: 2.5px solid #000; transform: rotate(45deg); z-index: 1; }
.sol-icon { width: 66px; height: 66px; border-radius: 50%; background: #ff7a20; display: flex; align-items: center; justify-content: center; }
.sol-icon img { width: 34px; }
.sol-list summary span:last-child { font-size: 26px; font-weight: 700; line-height: 1.3; }
.sol-list small { display: block; color: var(--orange); font-size: 17px; font-weight: 400; }
.sol-body { padding: 0 40px 20px 100px; }
.sol-body b { color: var(--orange); }

/* 3つのポイント */
.points-wrap { background: var(--yellow); padding-top: 64px; }
.points { background: #fff; border-radius: 50% 50% 50% 50% / 170px 170px 170px 170px; padding: 66px 0 18px; }
.point-cards { display: flex; gap: 20px; justify-content: center; margin: 30px auto 30px; }
.point { width: 293px; border: 1px solid var(--navy); border-radius: 14px; box-shadow: 3px 3px 0 #9db1d0; padding: 22px 20px 12px; text-align: center; color: var(--navy); }
.point-no { font-family: var(--en); font-size: 20px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.point-no img { width: 24px; }
.point-t { font-weight: 700; font-size: 17px; line-height: 1.55; margin-top: 2px; }
.point > img { width: 234px; margin: 6px auto 0; }
.comment { width: 550px; margin: 0 auto; }

/* 流れ */
.flow { background: var(--yellow); padding: 40px 0 60px; }
.flow .h-orange { font-size: 40px; margin-bottom: 30px; }
.step { max-width: 920px; margin: 0 auto; min-height: 236px; display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.step.rev { flex-direction: row-reverse; }
.step-text { flex: 0 0 540px; }
.step-no { font-family: var(--en); color: var(--navy); font-weight: 500; font-size: 17px; letter-spacing: .08em; }
.step h3 { color: var(--navy); font-size: 26px; font-weight: 700; margin: 14px 0 22px; }
.step-text p:last-child { font-size: 16px; letter-spacing: .04em; line-height: 1.9; }
.step img { width: 330px; margin: 0 30px; }

/* FP紹介・声 */
.fps { background: #fff; padding: 40px 0 40px; }
.fps .h-orange, .voices .h-orange { font-size: 36px; margin-bottom: 30px; }
.scroller { max-width: 920px; margin: 0 auto; display: flex; gap: 32px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.scroller::-webkit-scrollbar { display: none; }
.scroller > * { scroll-snap-align: start; flex: 0 0 auto; }
.fp-list figure { margin: 0; width: 227px; }
.fp-list img { width: 227px; height: 303px; object-fit: cover; border-radius: 12px; }
.fp-list figcaption { color: var(--navy); font-weight: 700; font-size: 17px; margin-top: 10px; }

.voices { background: var(--yellow); padding: 50px 0 60px; }
.voice-list { gap: 20px; padding: 0 0 6px 10px; }
.voice { width: 314px; background: #fff; border: 1px solid var(--navy); border-radius: 16px; box-shadow: 3px 3px 0 #9db1d0; padding: 20px 28px 26px; text-align: center; }
.voice > img { width: 52px; margin: 0 auto 10px; }
.voice h3 { color: var(--navy); font-size: 16px; line-height: 1.45; margin-bottom: 16px; }
.voice p { font-size: 13px; text-align: left; line-height: 1.6; letter-spacing: .04em; }
.voice .who { color: var(--navy); font-weight: 700; text-align: right; font-size: 15px; margin-top: 10px; }

/* データ */
.data { max-width: 920px; margin: 0 auto; padding: 50px 0 30px; display: flex; align-items: center; gap: 100px; }
.data-title { color: var(--orange); font-family: var(--en); font-weight: 600; font-size: 36px; white-space: nowrap; }
.data-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; flex: 1; }
.data-box { border: 1px solid var(--navy); border-radius: 6px; box-shadow: 3px 3px 0 #9db1d0; text-align: center; padding: 22px 0 14px; color: var(--navy); }
.data-box p { font-weight: 700; font-size: 18px; letter-spacing: .1em; }
.data-box strong { display: block; font-size: 32px; font-weight: 900; line-height: 1.3; }
.data-box em { font-style: normal; color: var(--orange); font-size: 52px; font-weight: 700; letter-spacing: -.02em; }

/* FAQ */
.faq { max-width: 920px; margin: 0 auto; padding: 50px 0 40px; }
.faq .h-orange { margin-bottom: 30px; }
.faq details { border-bottom: 1px solid #a9bde0; }
.faq summary { list-style: none; cursor: pointer; padding: 10px 30px; font-weight: 700; font-size: 18px; position: relative; letter-spacing: .04em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 32px; top: 50%; width: 5px; height: 5px; margin-top: -5px; border-right: 2px solid #000; border-bottom: 2px solid #000; transform: rotate(45deg); }
.faq details > div { padding: 0 30px 20px; font-size: 15px; }
.faq details b { color: var(--orange); display: block; margin-bottom: 6px; }

/* FPとは */
.fp-toha { padding: 40px 0 0; }
.fp-toha-inner { max-width: 920px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.fp-toha-title { color: var(--orange); font-size: 24px; font-weight: 700; }
.fp-toha-title small { font-size: 10px; margin: 0 4px; }
.fp-toha-en { color: var(--orange); font-family: var(--en); font-size: 17px; letter-spacing: .06em; margin: 6px 0 18px; }
.fp-toha-body { font-size: 16px; line-height: 1.6; letter-spacing: .04em; max-width: 495px; }
.source { font-size: 13px; }
.fp-toha-inner img { width: 350px; margin-right: 30px; }

/* フォーム */
.form-area { padding: 120px 16px 190px; }
.form-area .h-orange { font-size: 36px; margin-bottom: 14px; }
.form-box { max-width: 920px; margin: 0 auto; border: 2px solid var(--orange); border-radius: 10px; background: #f6f7f7; padding: 32px 32px 32px; text-align: center; }
.steps { list-style: none; padding: 0; margin: 0 auto; display: flex; justify-content: center; }
.steps li { width: 80px; height: 80px; border-radius: 50%; border: 2px solid #c8c8c8; background: #fff; color: #bbb; font-size: 15px; line-height: 1; display: flex; align-items: center; justify-content: center; position: relative; margin-left: 40px; }
.steps li:first-child { margin-left: 0; }
.steps li + li::before { content: ""; position: absolute; left: -42px; width: 40px; height: 2px; background: #c8c8c8; }
.steps li.on { background: var(--orange); border-color: var(--orange); color: #fff; }
.q { font-weight: 700; font-size: 22px; margin-top: 16px; }
.q-sub { font-size: 10px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; text-align: left; }
.checks label { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #8f8f8f; border-radius: 5px; padding: 17px 20px; font-size: 16px; cursor: pointer; }
.checks input { width: 18px; height: 18px; accent-color: var(--orange); margin: 0; }
.btn-next { margin-top: 32px; background: var(--orange); border: 0; border-radius: 20px; padding: 7px 16px; font: inherit; font-size: 14px; box-shadow: 0 2px 4px rgba(0,0,0,.3); cursor: pointer; }
.chev { display: inline-block; width: 7px; height: 7px; border-top: 2px solid #000; border-right: 2px solid #000; transform: rotate(45deg); margin-left: 12px; }

.footer { background: var(--orange); text-align: center; padding: 34px 0 32px; }
.footer a { color: #fff; font-size: 14px; }

/* スマホ */
@media (max-width: 750px) {
  .pc-only { display: none !important; }
  .sp-only { display: block; }
  br.sp-only { display: inline; }
  .h-orange.big { font-size: 24px; }
  .h-orange.mid { font-size: 22px; }

  .fv { display: block; height: auto; }
  .fv-text { padding: 12px 0 0; text-align: center; }
  .logo { width: 160px; margin: 0 0 12px 20px; }
  .fv-sp-top { width: 100%; }
  .fv h1 { margin: 22px 0 0; font-size: 44px; }
  .lead { margin: 22px 0 0; font-size: 14px; letter-spacing: .04em; }
  .fv .btn-blue { margin: 20px auto 36px; width: 288px; font-size: 16px; padding: 9px 0; }
  .fv-sp-bottom { width: 100%; }

  .bg-yellow { padding: 0 16px; }
  .about-box { top: 0; margin: 0 -16px; flex-direction: column; border-radius: 0; padding: 30px 26px 40px; box-shadow: none; }
  .about-left { flex: none; width: 100%; }
  .about-title { text-align: center; font-size: 22px; margin: 0; line-height: 1.4; }
  .ribbons { width: 100%; }
  .about-left p { font-size: 15px; }
  .pyramid { width: 100%; }
  .nayami { padding-top: 40px; }
  .nayami-lead { font-size: 16px; margin: 18px 0 30px; }
  .nayami-img { width: 100%; }
  .solutions { padding: 40px 16px 30px; }
  .solutions .center { text-align: left; font-size: 15px; margin: 20px 0; }
  .sol-list { width: 100%; }
  .sol-list summary { padding: 8px 14px; gap: 10px; }
  .sol-list summary span:last-child { font-size: 18px; }
  .sol-list small { font-size: 11px; }
  .sol-icon { width: 38px; height: 38px; flex: none; }
  .sol-icon img { width: 20px; }
  .sol-list summary::after { right: 14px; width: 24px; height: 24px; margin-top: -12px; }
  .sol-list summary::before { right: 23px; width: 6px; height: 6px; margin-top: -5px; }
  .sol-body { padding: 0 20px 16px 62px; font-size: 14px; }

  .points-wrap { padding-top: 0; }
  .points { border-radius: 50% 50% 50% 50% / 60px 60px 60px 60px; padding: 40px 16px 10px; }
  .point-cards { flex-direction: column; align-items: center; gap: 20px; }
  .point { width: 100%; max-width: 304px; padding-bottom: 40px; }
  .point > img { width: 100%; margin-top: 30px; }
  .cta-side { width: 48px; top: 58%; }
  .data-box strong { font-size: 34px; }
  .data-box em { font-size: 62px; }
  .comment { width: 100%; }

  .flow .h-orange { font-size: 24px; }
  .step, .step.rev { flex-direction: column; padding: 0 16px; gap: 20px; margin-bottom: 50px; align-items: stretch; }
  .step-text { flex: none; }
  .step h3 { font-size: 22px; margin: 6px 0 12px; }
  .step-text p:last-child { font-size: 15px; }
  .step img { width: 100%; margin: 0 auto; max-width: 320px; }

  .fps .h-orange, .voices .h-orange { font-size: 24px; }
  .scroller { padding: 0 16px; gap: 20px; }
  .fp-list figure { width: 150px; }
  .fp-list img { width: 150px; height: 200px; }
  .voice { width: 230px; padding: 16px 16px 20px; }
  .voice h3 { font-size: 14px; }
  .voice p { font-size: 12px; }

  .data { flex-direction: column; gap: 20px; padding: 40px 32px 30px; }
  .data-title { font-size: 28px; }
  .data-grid { grid-template-columns: 1fr; gap: 16px; width: 100%; }
  .data-box { padding: 26px 0 20px; }

  .faq { padding: 40px 32px 40px; }
  .faq summary { padding: 8px 18px 8px 0; font-size: 14px; }
  .faq summary::after { right: 4px; }
  .faq details > div { padding: 0 0 16px; font-size: 14px; }

  .fp-toha { padding: 40px 16px 0; }
  .fp-toha-inner { flex-direction: column; align-items: stretch; padding: 0 16px; gap: 20px; }
  .fp-toha-title { font-size: 16px; }
  .fp-toha-en { font-size: 13px; }
  .fp-toha-body { font-size: 15px; }
  .fp-toha-inner img { width: 100%; margin: 0; }
  .form-area { padding: 40px 0 60px; }
  .form-area .h-orange { font-size: 22px; }
  .form-box { padding: 24px 12px 30px; }
  .steps li { width: 52px; height: 52px; font-size: 12px; margin-left: 18px; }
  .steps li + li::before { left: -20px; width: 18px; }
  .q { font-size: 18px; }
  .checks { grid-template-columns: 1fr; gap: 10px; }
  .checks label { padding: 10px 14px; font-size: 14px; }
}

/* ---- ページ別 ---- */
/* 「お金の専門家に、相談しよう!」型の FV（/ ・ /lp1） */
.cta-fixed { top: 39px; right: 40px; }
.fv2 { position: relative; height: 600px; overflow: hidden; background: #f4f4f2 url(assets/fv_bg.webp) center / cover; }
.fv2 .logo { position: absolute; left: 43px; top: 40px; width: 205px; }
/* 見出し・タグ・白枠は Wix と同じく1つの枠（600×483、下端は帯の上から 555px）にまとめ、枠ごと縮める */
.fv2-group { position: absolute; left: 36px; top: 72px; width: 600px; height: 483px; }
.fv2-title { position: absolute; left: 22px; top: -2px; width: 560px; }
.fv2-tags { position: absolute; left: 12px; top: 238px; width: 578px; }
.fv2-box { position: absolute; left: 25px; top: 361px; width: 550px; height: 122px; background: #fff; border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,.28); display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--navy); font-size: 20px; font-weight: 700; line-height: 1.6; letter-spacing: .02em; }
.fv2-people { position: absolute; left: 648px; top: 85px; width: 580px; height: 515px; object-fit: cover; }
.sp-hero { display: none; }

@media (max-width: 750px) {
  .fv2 { height: auto; padding: 18px 0 0; }
  .fv2 .logo, .fv2-group, .fv2-title, .fv2-tags, .fv2-box, .fv2-people { position: static; }
  .fv2-group { width: auto; height: auto; }
  .fv2 .logo { width: 120px; margin: 0 0 6px 24px; }
  .fv2-title { width: 330px; margin: 14px auto 0; }
  .fv2-tags { width: 370px; margin: 4px auto 0; }
  .fv2-box { width: 358px; height: 78px; margin: 10px auto 0; font-size: 14px; }
  /* Wix は人物を少し大きく（左右を切って）見せている */
  .fv2-people { width: 118%; max-width: none; height: 362px; object-fit: cover; object-position: 50% 15%; margin: 18px 0 0 -9%; }
  /* Wix は画像を高さ 597px で敷き詰め（左右を少し切る）、その下 91px の帯にボタン */
  .sp-hero { display: block; background: #fffbe6; padding: 0 0 8px; }
  .sp-hero > img { width: 100%; height: 597px; object-fit: cover; }
  .sp-hero-btn img { width: 322px; margin: 19px auto 0; }
  .about-box { margin: 0 -4px; box-shadow: 4px 4px 0 #ffd9a6; padding: 30px 22px 40px; }
  .about-left p { font-size: 16px; }
}

/* 幅の広い画面（1281px 以上）：1280px の版面を真ん中に置く。ロゴと右上のボタンは画面の端のまま（Wix と同じ） */
@media (min-width: 1281px) {
  .fv2-group, .fv2-people { margin-left: calc((100% - 1280px) / 2); }
}

/* ---- Wix に揃える（11/13）：PC 版の縦位置・大きさ・背景の波形 ----
   Wix の区切り図形（divider）と同じ曲線を SVG で敷く。数値は Wix の 1280px での実測 */
:root {
  --wave-mirror-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 100 1920 200' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' transform='translate(1920 0) scale(-1 1)' d='M1920 300v-4.067c-455.162 0-690.876-51.203-1082.65-129.288C490.044 97.423 0 100.013 0 100.013V300h1920z'/%3E%3C/svg%3E");
  --wave-mirror-yellow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 100 1920 200' preserveAspectRatio='none'%3E%3Cpath fill='%23fffee7' transform='translate(1920 0) scale(-1 1)' d='M1920 300v-4.067c-455.162 0-690.876-51.203-1082.65-129.288C490.044 97.423 0 100.013 0 100.013V300h1920z'/%3E%3C/svg%3E");
  --wave-flip-yellow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 100 1920 200' preserveAspectRatio='none'%3E%3Cpath fill='%23fffee7' transform='translate(0 400) scale(1 -1)' d='M1920 300v-4.067c-455.162 0-690.876-51.203-1082.65-129.288C490.044 97.423 0 100.013 0 100.013V300h1920z'/%3E%3C/svg%3E");
}
@media (min-width: 751px) {
  .h-orange.big { font-size: 40px; }
  .about-title { font-size: 28px; }
  .sol-list summary { padding: 18px 22px; }
  .sol-list summary span:last-child { font-size: 28.5px; }
  /* Wix は余白の一部が画面幅に比例する（1280 と 1920 の実測から a + b×vw を出した） */
  .about-box { top: 5vw; }
  .nayami { padding-top: calc(7px + 10vw); }
  .solutions { padding: 59px 0 12px; }
  .solutions .center { margin: 30px 0 58px; }
  .points-wrap { padding-top: calc(5vw - 22px); }
  .points { padding-top: 5vw; padding-bottom: 0; }
  .point-cards { margin-bottom: 25px; }
  .fps .h-orange, .voices .h-orange, .form-area .h-orange { font-size: 36px; }

  /* 流れ：見出しの帯（白）に黄色の波、Step 2・4 の下に白の波 */
  .flow { padding: 0; background: var(--wave-flip-yellow) top / 100% 200px no-repeat, linear-gradient(#fff, #fff) top / 100% calc(60px + 5vw) no-repeat, var(--yellow); }
  .flow .h-orange { height: calc(60px + 5vw); padding-top: calc(5px + 2.5vw); margin: 0; box-sizing: border-box; }
  .step { max-width: none; height: 236px; min-height: 0; padding: 0 calc(50% - 460px); gap: 0; align-items: flex-start; }
  .step:first-of-type { height: 260px; }
  .step:last-of-type { height: calc(235px + 2vw); }
  .step.rev { background: var(--wave-mirror-white) bottom / 100% 200px no-repeat; }
  .step img { margin: 0 14px; }
  .step-no { font-size: 16px; font-weight: 600; letter-spacing: .1em; line-height: 22px; }
  .step h3 { font-size: 27px; margin: 20px 0 22px; }

  /* FP 紹介：白、下に黄色の波 */
  .fps { box-sizing: border-box; min-height: calc(386px + 17.66vw); padding: calc(5px + 2.34vw) 0 0; background: var(--wave-mirror-yellow) bottom / 100% 200px no-repeat, #fff; }
  .fps .h-orange { margin-bottom: calc(15.31vw - 51px); }
  .fp-list { max-width: 821px; gap: 32px; }
  .fp-list figure { width: 209px; }
  .fp-list img { width: 209px; height: 278px; }
  .fp-list figcaption { margin-top: 12px; font-size: 18px; }

  .voices { box-sizing: border-box; min-height: 583px; padding: 45px 0 16px; }
  .voices .h-orange { margin-bottom: 31px; }
  .voice-list { gap: 18px; }
  .voice h3 { line-height: 1.4; margin-bottom: 13px; }
  .voice > p:not(.who) { margin-right: 7px; }
  .voice .who { margin-top: 15px; line-height: 1.4; }
  .faq summary { line-height: 1.6; letter-spacing: .02em; }

  /* DATA：白、上に黄色の波 */
  .data-wrap { box-sizing: border-box; min-height: 354px; background: var(--wave-flip-yellow) top / 100% 200px no-repeat, #fff; }
  .data { padding: 37px 0 19px; }
  .data-title { font-size: 34px; }

  .faq { box-sizing: border-box; min-height: calc(383px + 1.875vw); padding: 45px 0 40px; }
  .faq .h-orange { font-size: 36px; }
  /* FP とは：高さ 424px の帯。フォームの帯は 900px（見出しは帯の上から 49px） */
  .fp-toha { padding-top: 0; }
  .fp-toha-inner { box-sizing: border-box; height: calc(320px + 8.125vw); padding-top: calc(1px + 2.97vw); gap: 25px; align-items: flex-start; }
  .fp-toha-title { line-height: 1.4; margin-top: 1px; }
  .fp-toha-en { font-size: 16px; font-weight: 600; letter-spacing: .1em; line-height: 22px; margin: 9px 0 23px; }
  .fp-toha-body { max-width: 492px; letter-spacing: normal; }
  .fp-toha-inner img { width: 403px; margin-right: 0; }
  .form-area { box-sizing: border-box; min-height: 900px; padding-top: 49px; }
}

/* 768〜1279px：fit.js は html 全体を 画面幅/1280 に縮める。Wix は 768px 以上では本文を縮めず原寸で組むので、
   上の帯より下（main・フッター）と右上のボタンだけ、逆の zoom で原寸に戻す（fit.js が zoom を入れた時だけ効く）。
   tan(atan2(100vw, 1280px)) = 画面幅/1280 */
@media (min-width: 751px) and (max-width: 1279px) {
  html[style*="zoom"] main, html[style*="zoom"] .footer, html[style*="zoom"] .cta-fixed { zoom: calc(1 / tan(atan2(100vw, 1280px))); }
}

/* 1001〜1279px：Wix のデスクトップ版。上の帯も原寸（高さ 600px）で、文字の枠は 1200px 未満で 画面幅/1200 に縮む。人物は画面の真ん中から右 */
@media (min-width: 1001px) and (max-width: 1279px) {
  html[style*="zoom"] .fv2 { zoom: calc(1 / tan(atan2(100vw, 1280px))); }
  .fv2-group { left: max(-3px, calc(50% - 604px)); transform: scale(min(1, tan(atan2(100vw, 1200px)))); transform-origin: left bottom; }
  .fv2-people { left: calc(50% + 6px); top: auto; bottom: 0; width: clamp(520px, 50%, 580px); height: auto; aspect-ratio: 580 / 514; }
  .cta-fixed { top: 3.05vw; right: 3.05vw; }
}

/* 751〜1000px：Wix のタブレット版（Wix の切り替えは 750/751 と 1000/1001 を実測）。本文は原寸で縦に組み直す。数値は Wix の 768px の実測。
   上の帯：高さは 画面幅×0.535、文字の枠は 画面幅/1200 に縮めて下端を帯の下から 28px、人物は 49% から右（750〜1000px の実測） */
@media (min-width: 751px) and (max-width: 1000px) {
  html:not([style*="zoom"]) .fv2 { height: 53.5vw; }
  html:not([style*="zoom"]) .fv2 .logo { left: 20px; top: 20px; width: 160px; }
  html:not([style*="zoom"]) .fv2-group { left: -3px; top: calc(53.5vw - 510px); transform: scale(tan(atan2(100vw, 1200px))); transform-origin: left bottom; }
  html:not([style*="zoom"]) .fv2-people { left: 49%; top: auto; bottom: 0; width: 49.7%; height: auto; aspect-ratio: 382 / 356; object-fit: contain; object-position: 50% 100%; }
  html:not([style*="zoom"]) .fv2-title { left: 34px; top: 40px; width: 525px; }
  /* fit.js が残っている間（html に zoom が入る 768px 以上）は 1280px の版面の座標で同じ見え方にする */
  html[style*="zoom"] .fv2 { height: 685px; }
  html[style*="zoom"] .fv2-group { left: -3px; top: 157px; transform: scale(1.067); transform-origin: left bottom; }
  html[style*="zoom"] .fv2-people { left: 627px; top: auto; bottom: 0; width: 632px; height: 589px; }
  .cta-fixed { top: 3vw; right: 3vw; font-size: 15px; padding: 6px 20px; }

  .fps .h-orange, .voices .h-orange, .faq .h-orange, .form-area .h-orange { font-size: 34px; }

  .about-box { top: 0; max-width: none; margin: 38px 3vw 0; flex-direction: column; align-items: stretch; gap: 0; padding: 40px 40px 39px; }
  .about-left { flex: none; }
  .about-title { text-align: center; margin: 0; line-height: 1.4; }
  .bg-yellow { display: flow-root; }
  .ribbons { width: 555px; max-width: 100%; margin: 16px auto; }
  .about-left p { line-height: 27px; }
  .pyramid { flex: none; width: 497px; max-width: 100%; margin: 6px auto 0; }

  .nayami { max-width: none; padding: 58px 3vw 0; }
  .nayami .h-orange { line-height: 48px; }
  .nayami-lead { margin: 9px 0 40px; line-height: 28.8px; }
  .nayami-img { width: 90%; }

  .solutions { max-width: none; margin: 0 3vw; padding: 102px 51px 40px; }
  .solutions .center { text-align: left; font-size: 17.3px; line-height: 1.8; margin: 28px 0 56px; }
  .sol-list { width: auto; }

  .points-wrap { padding-top: 10px; }
  .points { padding: 24px 0 34px; }
  .pt-big { font-size: 40px; }
  .point-cards { flex-wrap: wrap; gap: 22px; max-width: 634px; margin: 32px auto 21px; }
  .point { width: 306px; padding: 30px 20px; }
  .point-t { font-size: 22px; line-height: 1.4; margin-top: 10px; }
  .point > img { width: 254px; margin-top: 19px; }

  .flow { background: var(--wave-flip-yellow) top / 100% 200px no-repeat, linear-gradient(#fff, #fff) top / 100% 175px no-repeat, var(--yellow); }
  .flow .h-orange { height: 175px; padding-top: 62px; }
  .step { height: 305px; padding: 60px 38px 0; }
  .step:first-of-type { height: 317px; }
  .step:nth-of-type(3) { height: 319px; }
  .step:last-of-type { height: 335px; }
  .step-text { flex: 0 0 331px; }
  .step h3 { margin: 10px 0 14px; }
  .step-text p:last-child { font-size: 17px; line-height: 30.6px; }
  .step img { width: 331px; height: 187px; object-fit: contain; margin: 5px 0 0; }

  .fps { min-height: 521px; padding-top: 22px; }
  .fps .h-orange { max-width: 550px; margin: 0 auto 27px; }
  .fp-list { max-width: none; padding: 0; }

  .voices { min-height: 585px; padding: 44px 0 0; }
  .voices .h-orange { margin-bottom: 54px; }
  .voice-list { max-width: none; padding: 0 0 6px 31px; gap: 22px; }
  .voice { width: 354px; padding: 20px 38px 26px; }
  .voice > p:not(.who) { margin-right: 0; }

  .data-wrap { min-height: 469px; }
  .data { flex-direction: column; align-items: center; gap: 0; padding: 52px 0 33px; }
  .data-title { line-height: 41px; }
  .data-grid { flex: none; width: 578px; gap: 16px 20px; margin-top: 12px; }
  .data-box { padding: 30px 0 25px; }

  .faq { max-width: none; min-height: 464px; padding: 44px 38px 40px; }
  .faq .h-orange { margin-bottom: 35px; }
  .faq summary { padding: 15px 30px; }
  .faq details:first-of-type summary { padding-top: 17px; }

  .fp-toha-inner { max-width: none; height: 496px; padding: 52px 38px 0; gap: 30px; }
  .fp-toha-body { max-width: 320px; }
  .fp-toha-en { font-size: 14px; margin: 9px 0 21px; }
  .fp-toha-inner img { width: 331px; margin-top: 85px; }
}

/* スマホの右の縦長ボタン：Wix と同じく画面の下から 135px（/lp1）。/ は Wix に無いので index.html に置かない */
@media (max-width: 750px) {
  .cta-side { top: auto; bottom: 135px; transform: none; width: 50px; }
}

/* スマホ（〜767px）も Wix の 390px の実測に合わせる：見出しの大きさ・ステップの間隔・背景の波形・画像の大きさ */
@media (max-width: 750px) {
  .nayami .h-orange, .solutions .h-orange { font-size: 21.8px; }
  .nayami { padding-top: 20px; }
  .nayami-lead { margin: 10px 0 20px; }
  .nayami-img { width: 304px; margin: 0 auto; }
  .solutions .center { font-size: 14.8px; line-height: 1.8; letter-spacing: -.05em; margin-bottom: 45px; }
  .sol-list summary { padding: 10px 14px; }
  .sol-list summary span:last-child { font-size: 16.24px; }
  .sol-list small { font-size: 10.44px; }

  .points-wrap { overflow: hidden; }
  .points { border-radius: 50% 50% 50% 50% / 120px 120px 120px 120px; }
  .point-no { font-weight: 600; }
  .point-t { font-size: 20.28px; }
  .points { padding-top: 55px; }
  .point-cards { margin-bottom: 0; }
  .point > img { width: 253px; margin-left: auto; margin-right: auto; }
  .comment { width: 435px; max-width: none; margin-left: calc(50% - 217.5px); }

  /* 流れ：見出しの帯（白・高さ 133px）に黄色の波、Step 2・4 の下に白の波。各ステップの高さは Wix と同じ */
  .flow { padding: 0; background: var(--wave-flip-yellow) top / 100% 200px no-repeat, linear-gradient(#fff, #fff) top / 100% 133px no-repeat, var(--yellow); }
  .flow .h-orange { height: 133px; box-sizing: border-box; padding-top: 50px; margin: 0; font-size: 25.3px; }
  .step, .step.rev { height: 510px; margin: 0; padding: 45px 31px 0; gap: 0; justify-content: flex-start; }
  .step.rev { height: 501px; background: var(--wave-mirror-white) bottom / 100% 200px no-repeat; }
  .step:nth-of-type(3) { height: 512px; }
  .step:last-of-type { height: 528px; }
  .step-no { font-size: 16px; line-height: 22px; letter-spacing: .1em; font-weight: 600; }
  .step h3 { font-size: 25px; line-height: 38px; margin: 10px 0 14px; }
  .step-text p:last-child { font-size: 17px; line-height: 30.6px; letter-spacing: normal; }
  .step img { width: 100%; max-width: 328px; height: 256px; object-fit: contain; margin: 18px 0 0; }

  .fps { box-sizing: border-box; min-height: 385px; padding: 10px 0 0; background: var(--wave-mirror-yellow) bottom / 100% 200px no-repeat, #fff; }
  .fps .h-orange { font-size: 25.14px; margin-bottom: 30px; }
  .fp-list { gap: 30px; padding: 0 20px; scroll-padding: 0 20px; }
  .fp-list figure { width: 149px; }
  .fp-list img { width: 149px; height: 198px; }
  .fp-list figcaption { margin-top: 4px; }

  .voices { box-sizing: border-box; min-height: 531px; padding: 29px 0 20px; }
  .voices .h-orange, .faq .h-orange { font-size: 31px; }
  .voices .h-orange { margin-bottom: 27px; }
  .voice { width: 208px; padding: 16px 16px 20px; }
  .voice p { font-size: 11px; line-height: 1.6; letter-spacing: normal; }
  .voice .who { font-size: 15px; }

  .data-wrap { box-sizing: border-box; min-height: 783px; background: var(--wave-flip-yellow) top / 100% 200px no-repeat, #fff; }
  .data { padding-top: 26px; gap: 7px; }
  .data-box { padding: 22px 0 17px; }

  .faq { box-sizing: border-box; min-height: 396px; padding-top: 44px; }
  .faq .h-orange { margin-bottom: 20px; }
  .faq summary { font-size: 15px; line-height: 24px; padding: 13px 18px 13px 0; letter-spacing: .02em; }

  .fp-toha { padding-top: 35px; }
  .fp-toha-inner { gap: 3px; }
  .fp-toha-title { font-size: 16px; line-height: 30px; }
  .fp-toha-en { font-size: 14px; font-weight: 600; letter-spacing: .1em; line-height: 19px; margin: 6px 0 29px; }
  .fp-toha-body { font-size: 16px; line-height: 25.6px; letter-spacing: normal; }
  .fp-toha-inner img { width: 328px; margin: 0 auto; }
  .fp-toha-inner img { margin-bottom: 22px; }
  .form-area { box-sizing: border-box; min-height: 844px; padding-top: 16px; }
}

/* 751〜1000px の続き：Wix のタブレット版は余白・幅が画面幅に比例して変わる。768px と 1000px の実測から a + b×vw を出した（fit.js が無くても同じ見え方） */
@media (min-width: 751px) and (max-width: 1000px) {
  .about-box { margin: 5vw calc(7.33vw - 33px) 0; }
  .pyramid { width: 65vw; }
  .nayami { padding: calc(9.5vw - 15px) calc(7.33vw - 33px) 0; }
  .nayami-img { width: 691px; max-width: 100%; }
  .solutions { margin: 0 calc(7.33vw - 33px); padding-top: calc(73.2px + 0.86vw); }
  .points { padding-bottom: calc(11.6vw - 41px); }
  .solutions .center { max-width: 620px; margin-left: auto; margin-right: auto; font-size: calc(11.63px + 0.737vw); }
  .sol-list { max-width: 620px; margin: 0 auto; }

  .point-cards { --gap: calc(4.31vw - 11px); max-width: calc(44.8vw + 290px); column-gap: var(--gap); row-gap: calc(10.8vw - 61px); }
  .point { width: calc(50% - var(--gap) / 2); }
  .point > img { width: calc(100% - 52px); height: 196px; object-fit: contain; }
  .comment { margin-top: calc(9.5vw - 52px); }

  .flow { background: var(--wave-flip-yellow) top / 100% 200px no-repeat, linear-gradient(#fff, #fff) top / 100% calc(141px + 4.3vw) no-repeat, var(--yellow); }
  .flow .h-orange { height: calc(141px + 4.3vw); padding-top: calc(42px + 2.6vw); }
  .step { padding: 60px 5vw 0; height: max(305px, calc(116px + 21vw)); }
  .step:first-of-type { height: calc(287px + 3.9vw); }
  .step:nth-of-type(3) { height: calc(296px + 3vw); }
  .step:last-of-type { height: max(calc(116px + 21vw), calc(509px - 22.7vw)); }
  .step-text { flex: 0 0 43.5vw; }
  .step img { width: 43.5vw; height: auto; aspect-ratio: 435 / 246; margin-top: calc(85px - 10.8vw); }

  .fps .h-orange { max-width: calc(100% - 218px); margin-bottom: calc(34vw - 234px); }
  .fp-list { max-width: 824px; margin: 0 auto; }

  .voice-list { padding-left: calc(8.2vw - 32px); scroll-padding-left: calc(8.2vw - 32px); }
  .fps { min-height: calc(385px + 17.7vw); }

  .faq { padding-left: 5vw; padding-right: 5vw; }
  .faq .h-orange { margin-bottom: calc(14px + 2.8vw); }

  .fp-toha-inner { height: max(471px, calc(630px - 17.4vw)); padding: calc(12px + 5.2vw) 5vw 0; justify-content: space-between; }
  .fp-toha-body { max-width: 43.4vw; }
  .fp-toha-inner > div { flex: 0 0 43.4vw; }
  .fp-toha-inner img { width: 43.5vw; margin-top: calc(280px - 25.4vw); }
  .form-area .h-orange { font-size: calc(27.4px + 0.86vw); }
}

/* /lp1 の FP 紹介は Wix でも別の部品（227×303 の写真・920px 幅・見出しとの間が狭い）。lp1 の index.html で fps-lp1 を付けている */
@media (min-width: 751px) {
  .fps-lp1 { min-height: calc(462px + 2.5vw); }
  .fps-lp1 .h-orange { margin-bottom: 32px; }
  .fps-lp1 .fp-list { max-width: 920px; }
  .fps-lp1 .fp-list figure { width: 227px; }
  .fps-lp1 .fp-list img { width: 227px; height: 303px; }
}
@media (min-width: 751px) and (max-width: 1000px) {
  .fps-lp1 { min-height: 0; padding-bottom: 33px; }
  .fps-lp1 .h-orange { margin-bottom: 38px; }
  .fps-lp1 .fp-list { max-width: 920px; }
}

/* ---- 仕上げ（11/13 Codex r3 の残り）---- */
/* 相談項目は Wix でも Noto Sans JP（別部品の埋め込み） */
.sol-list { font-family: "Noto Sans JP", sans-serif; }
/* 右上の「無料相談はこちら」は Wix では画面に固定ではなく、最初の帯（FV）の中に置かれていてスクロールで流れて消える
   （751px 以上の 768・1000・1280・1920 で実測：scrollY=1000 でボタンの top が 39→-961）。同じくページの上に置くだけにする */
.cta-fixed { position: absolute; }
/* 文字の字間・大きさを Wix に合わせる（Wix は字間なし＝normal。全幅で getComputedStyle を突き合わせた結果。textcmp.py） */
.cta-fixed { letter-spacing: .1em; }
.fv2-box, .about-left p, .nayami-lead, .step-text p:last-child, .voice p, .voice .who { letter-spacing: normal; }
.point-no { font-weight: 600; }
@media (min-width: 751px) {
  .sol-list small { font-size: 18.36px; }
}
@media (min-width: 1001px) {
  .solutions .center { font-size: 18px; }
  .point-t { font-size: 18px; line-height: 26.35px; }
  .step-text p:last-child { font-size: 17px; }
}
@media (max-width: 750px) {
  /* 本文は Wix では左 37px・幅 315px */
  .about-left p { font-size: 15px; margin: 0 4px 0 3px; }
  .about-box { padding-bottom: 49px; }
  /* 悩みの説明文は Wix では左 27px・幅 335px（字間なしで1行20字・6行） */
  .nayami-lead { margin-left: 11px; margin-right: 12px; }
  /* よくある質問：Wix は1問 45px 間隔 */
  .faq summary { padding-top: 10px; padding-bottom: 10px; }
  .data-title { font-size: 29.4px; }
  .fp-toha-title { font-size: 20px; }
  /* FP とはの絵：Wix は 328×256 の枠に cover で敷いている */
  .fp-toha-inner img { width: 328px; height: 256px; object-fit: cover; }
}
/* DATA PROFILE の枠は Wix では白で塗りつぶし（後ろの黄色い波が透けない） */
.data-box { background: #fff; }
.data-box strong { font-weight: 700; }

/* 751〜1000px：3つのポイントのカード（Wix の 768・900・1000 の実測）。
   カード幅は (画面幅×0.828 − 20px)/2 で最大 365px、間隔は縦横 20px。中身は上から 32→44px（画面幅に比例） */
@media (min-width: 751px) and (max-width: 1000px) {
  .point-cards { max-width: none; width: min(82.8vw, 750px); column-gap: 20px; row-gap: 20px; margin-top: calc(34px + 2.6vw); }
  /* カードが高くなった分、下の吹き出し画像までと帯の下端の余白を詰める（768・1000 の Wix の位置に合わせた式） */
  .comment { margin-top: calc(1.31vw + 10.9px); }
  .points { padding-bottom: calc(0.4vw + 37.1px); }
  .point { width: calc(50% - 10px); padding: calc(5.17vw - 7.7px) 10px calc(6.5vw - 20px); }
  .point-no { line-height: 27px; }
  .point-t { margin-top: 17px; }
  .point > img { width: calc(100% - 54px); }
}

/* スマホ（〜750px）：Wix の 390px の実測 */
@media (max-width: 750px) {
  /* 冒頭の人物：Wix は画面幅いっぱい（390×362）に cover・位置 49% 42% で切り抜き、帯の上から 321px。
     その下に黄色の帯が 20px 見えてから「お金の専門家」の枠 */
  .fv2-people { width: 100%; height: 362px; object-fit: cover; object-position: 49% 42%; margin: 5px 0 0; }
  main > .bg-yellow:first-child { padding-top: 13px; }

  /* 無料相談でできること：白い枠は左右 31px、中身の幅 263px。説明文は字詰めなしで3行 */
  .solutions { margin: 0 14px 0 15px; padding: 43px 33px 16px; }
  .solutions .h-orange { line-height: 33px; }
  .solutions .center { margin: 10px 0; }
  .sol-list details { margin-bottom: 15.6px; }
  .sol-list details:last-child { margin-bottom: 0; }
  .sol-list summary { padding: 10.5px 13px; gap: 12px; }
  /* ポイント見出し：「FP相談なら、／MONEYPEDIA／選ばれる3つのポイント」の3行（25.3px・行の高さ 35.4px） */
  .points-wrap { padding-top: 20px; }
  .points { padding-top: 25px; }
  .points .h-orange { font-size: 25.3px; line-height: 35.4px; }

  /* FP 紹介：写真の並ぶ窓は左右 19px 内側で切る（端の写真は窓の外に隠れる）。名前は 22px の黒・標準の太さ */
  .fp-list { margin: 0 19px; padding: 0; scroll-padding: 0; }
  .fp-list figcaption { margin-top: 15px; color: #000; font-size: 22px; font-weight: 700; line-height: 27px; }
  /* / は写真が見出しのすぐ下（見出しの枠に 4px 重なる）。/lp1 は見出しから 30px 空き、窓は左右 20px 内側 */
  .fps:not(.fps-lp1) .h-orange { margin-bottom: -4px; }
  .fps-lp1 .fp-list { margin: 0 20px; }

  /* お客様の声：先頭のカードは左 34px から（吸い付き位置も同じ）、幅 210px・間隔 20px、文字の幅 175px */
  .voice-list { padding: 0 34px 6px; scroll-padding: 0 34px; gap: 20px; }
  .voice { width: 210px; padding-left: 16.5px; padding-right: 16.5px; }
  .voices { padding-top: 25px; }
  .voices .h-orange { margin-bottom: 25px; }

  /* DATA PROFILE：枠は左右 31px・高さ 160px・間隔 15px、角 13px、影は薄く 1.5px。
     数字の大きさは Wix の画像の文字の高さに合わせる（10,000 だけ小さい） */
  .data-wrap { min-height: 763px; }
  .data { padding: 15px 31px 30px; gap: 2px; }
  .data-grid { gap: 15px; }
  .data-box { height: 160px; padding: 31px 0 0; border-radius: 13px; box-shadow: 1.5px 1.5px 0 rgba(11, 56, 119, .3); }
  .data-box p { font-size: 18px; line-height: 27px; letter-spacing: .1em; }
}
/* DATA PROFILE の数字は Wix では文字ではなく SVG 図形（教育費ページで取り出した data_num1〜4.svg を / の色に塗り替えたもの）。
   図形の枠は 390px で 220×54、751〜1000px で 243×47、1001px 以上で 236×46（Wix 実測）。ラベルの上端から図形の上端まで 35〜45px */
.data-box strong.dnum { line-height: 0; }
.data-box strong.dnum img { display: block; width: 236px; height: 46px; margin: 0 auto; }
/* 枠の大きさ・間隔も Wix の実測：751〜1000px は 284×160・間隔 横12/縦13、1001px 以上は 284×131・間隔 12 */
@media (min-width: 751px) and (max-width: 1000px) {
  .data-grid { --cg: calc(1.72vw - 1.2px); width: calc(568px + var(--cg)); column-gap: var(--cg); row-gap: calc(1.29vw + 3.1px); margin-top: calc(3.88vw - 26.8px); }
  .data-box { height: 160px; padding: 30px 0 0; }
  .data-box strong.dnum img { width: 243px; height: 47px; margin-top: 16.6px; }
}
@media (min-width: 1001px) {
  .data-grid { flex: none; width: 580px; gap: 12px; margin-left: auto; }
  .data-box { height: 131px; padding: 22px 0 0; }
  .data-box strong.dnum img { margin-top: 6.6px; }
}
@media (max-width: 750px) {
  .data-box { padding-top: 34px; }
  .data-box strong.dnum img { width: 220px; height: 54px; margin-top: 11px; }
}

/* ---- 仕上げ 3回目（11/13 Codex r4 の残り R01〜R04・R08・R11〜R14）。数値は Wix の実測 ---- */
/* R08 ポイントの枠：Wix は白地・紺の線・影は紺 30%（新は 3px の水色だった） */
.point { background: #fff; box-shadow: 2.83px 2.83px 0 rgba(11, 56, 119, .3); }
/* 電球：Wix は 30×30 の枠に絵（19.7×30）を真ん中に置く（bulb.svg の枠も Wix と同じ 88 0 336 512 に）。
   「Point」は Wix では Futura の太字。近い Jost で字幅を合わせる（Wix 59.5px／Jost 500 の 20px で 59.4px） */
.point-no img { width: 30px; height: 30px; }
.point-no { font-weight: 500; line-height: 27px; }
@media (max-width: 750px) {
  .point { max-width: 301.5px; padding: 30px 20px 0; height: 392.6px; border-radius: 10.6px; box-shadow: 1.12px 1.12px 0 rgba(11, 56, 119, .3); }
  .point-no { gap: 3px; padding-right: 20px; }
  .point-t { margin-top: 12.9px; line-height: 28.4px; }
  .point > img { width: 252.8px; height: 202.1px; margin-top: 30.7px; object-fit: cover; }
  /* 下の吹き出し画像：Wix はカードから 10px 空けて 435×336 に cover（焦点 54% 22%）。帯の下端までは 15px 長い */
  .comment { height: 336.3px; object-fit: cover; object-position: 54% 22%; margin-top: 9.9px; }
  .points { padding-bottom: 24.7px; }
}
/* 1001px 以上：カード 293×325、電球は上から 29px、絵は 234×156 に cover（Wix の 1280px の実測） */
@media (min-width: 1001px) {
  .point-cards { margin-top: 23.6px; }
  .point { height: 325px; padding: 29.4px 20px 0; border-radius: 20px; }
  .point-no { gap: 10px; padding-right: 21px; }
  .point-t { margin-top: 9.9px; line-height: 25.2px; }
  .point > img { height: 156px; object-fit: cover; margin-top: 20.1px; }
}

/* R01 751〜1000px：ポイントの絵は Wix では「カード幅の 82.6%×196px に cover」（新は contain で小さかった）。
   見出しは Wix の方が下（768 で 21px・1000 で 26px）、2行目までの間隔も 4px 広い。カードの位置は変えない */
@media (min-width: 751px) and (max-width: 1000px) {
  .point > img { width: calc((100% + 22px) * .826); height: 196px; object-fit: cover; margin-top: 20px; }
  /* 枠の角と影は画面幅に比例（768 で角 20.9px・影 2.2px、1000 で 27.2px・2.9px） */
  .point { border-radius: 2.716vw; box-shadow: .2873vw .2873vw 0 rgba(11, 56, 119, .3); }
  .point-no { gap: 8px; margin: -1px 0 -3px -5px; }
  .point-t { margin-top: 15px; }
  .points .h-orange { position: relative; top: calc(2.24vw + 3.6px); }
  .points .pt-big { display: inline-block; margin-top: 3.5px; }
  .point-cards { margin-top: calc(30.5px + 2.6vw); }
  .points { padding-bottom: calc(.4vw + 40.1px); }
}

/* R02 751〜1000px：流れの絵も Wix は cover（Step 4 だけ焦点 25% 51%）。文字の列と絵の幅は 45vw−15px。
   本文は両端揃え（Step 2 だけ左揃え）、Step 2・4 の本文は少し狭い（44.37vw−14.7px）。見出しの行の高さ 41px・本文まで 10px */
@media (min-width: 751px) and (max-width: 1000px) {
  .step img { width: calc(45vw - 15px); object-fit: cover; }
  .step:nth-of-type(4) img { object-position: 25% 51%; }
  .step-text { flex: 0 0 calc(45vw - 15px); }
  .step-text p:last-child { text-align: justify; }
  .step.rev .step-text p:last-child { max-width: calc(44.37vw - 14.7px); }
  .step:nth-of-type(2) .step-text p:last-child { text-align: left; }
  .step h3 { line-height: 41px; margin-bottom: 10px; }
}

/* R03 お客様の声：Wix は枠の中で横に送り、枠の外は見せない。枠はスマホ 84vw（左右 8vw）、
   751px 以上は min(94vw, 920px) で真ん中。枠の内側の左右に枠幅の 1%。カードは影が黒 30%・角 20px */
.voice { box-shadow: 2.83px 2.83px 0 rgba(0, 0, 0, .3); border-radius: 20px; }
@media (max-width: 750px) {
  .voice-list { width: 84vw; margin: 0 auto; padding: 0 .84vw 6px; scroll-padding: 0 .84vw; }
}
@media (min-width: 751px) {
  .voice-list { width: min(94vw, 920px); max-width: none; margin: 0 auto; gap: 20px;
    padding: 0 calc(min(94vw, 920px) * .01) 6px; scroll-padding: 0 calc(min(94vw, 920px) * .01); }
}
/* 751〜1000px：カード 357×420、Wix はカードの上端が見出しに 23〜25px 近い（下端は同じ） */
@media (min-width: 751px) and (max-width: 1000px) {
  .voice { width: 356.9px; height: 420px; padding: 20px 34px 0 35px; }
  .voices .h-orange { margin-bottom: calc(22.15px + .905vw); }
}
/* 1001px 以上：カード 313×411、見出しとの間は 3px 狭い */
@media (min-width: 1001px) {
  .voice { width: 313.3px; height: 411px; }
  .voices .h-orange { margin-bottom: 28px; }
}

/* カードの中身（Wix の 390・768・1000・1280 の実測）：アイコン→見出し→本文→名前は 10px ずつ空き、本文は両端揃え */
.voice p:not(.who) { text-align: justify; }
.voice h3 { margin-bottom: 10px; }
.voice .who { margin-top: 10px; line-height: 21px; }
@media (max-width: 750px) {
  .voice { height: 407.5px; padding: 19.5px 16.5px 0; }
  .voice h3 { line-height: 19.6px; }
}
@media (min-width: 751px) and (max-width: 1000px) {
  .voice { padding: 34.7px 38.6px 0 38.5px; }
  .voice h3 { text-align: justify; }
}
@media (min-width: 1001px) {
  .voice { padding: 20.9px 27.3px 0 27.4px; }
  .voice h3 { margin-bottom: 10.3px; }
  /* アイコンは Wix ではカードの真ん中より 8px 左 */
  .voice > img { position: relative; left: -8px; }
}

/* R04 お客様の声のアイコン：Wix は 200×213 の絵を 70×63 の枠に（高さ 63.2px）。1001px 以上は 54.2px */
.voice > img { width: auto; height: 63.2px; }
@media (min-width: 1001px) { .voice > img { height: 54.2px; } }

/* R11 スマホの右の縦長ボタン：Wix は 50×160 の枠に絵 48.74×160（新は 46×151 で上端が下がっていた） */
@media (max-width: 750px) {
  .cta-side img { width: 48.74px; height: 160px; max-width: none; margin-left: .63px; }
}

/* R12 冒頭の白い説明枠の影：Wix のスマホは 紺 50%・0 0.6px 1.2px、角 2px */
@media (max-width: 750px) {
  .fv2-box { box-shadow: 0 .6px 1.2px rgba(11, 56, 119, .5); border-radius: 2px; }
}

/* R14 1001px 以上：FPとはの絵は Wix では 403×322 に cover（上端は 1280 で 7px・1920 で 3px 上） */
@media (min-width: 1001px) {
  .fp-toha-inner img { height: 322px; object-fit: cover; margin-top: calc(.6875vw - 15.9px); }
  /* / のフォームの枠：Wix の / は 1307px 未満で枠が 77.7vw−95.6px（1280 で 899px）。/lp1 と 1307px 以上は 920px */
  .form-top .form-box { max-width: min(920px, calc(77.72vw - 95.6px)); }
}

/* ---- 仕上げ 4回目（11/13 Codex r5 の残り N01〜N05・N08・N10）。数値は Wix の実測 ---- */
/* N01 流れの絵：Wix のスマホは 328×256 の枠に cover（元 1120×800 を高解像度のまま）。新は contain で小さく、700×500 に縮めた絵でぼやけていた */
@media (max-width: 750px) {
  .step img { object-fit: cover; }
}
/* N02 FPとはの絵：Wix は 1000px 以下で元画像を x97・y18・幅916・高さ715 に切り抜いて使う（fp_toha_c.webp を picture で出し分け）。
   751〜1000px の枠は 45vw−15px × 331:222（768 で 331×222、1000 で 435×292） */
.fp-toha-pic { display: contents; }
.fp-toha-pic source { display: none; }
@media (min-width: 751px) and (max-width: 1000px) {
  /* 左端は Wix で 50vw+15px（文字の列 43.4vw＋間 30px の後ろから 1.6vw−15px ずらす） */
  .fp-toha-inner img { width: calc(45vw - 15px); height: auto; aspect-ratio: 331 / 222; object-fit: cover; margin-left: calc(1.6vw - 15px); }
}

/* N04 無料相談でできること：Wix の白いパネルを基準にした実測（751〜1000 は 768・900・1000、1001 以上は 1100・1280・1920）。
   項目の箱は高さ 109・間 16（最後の下は 0）。パネルの下の余白は、次の「選ばれる3つのポイント」の位置が変わらないように足す */
@media (min-width: 751px) {
  .sol-list details { box-sizing: border-box; min-height: 109px; margin-bottom: 16px; }
  .sol-list details:last-child { margin-bottom: 0; }
}
@media (min-width: 751px) and (max-width: 1000px) {
  /* パネル：左右 3.33vw、上はずらし 21.4−1.85vw。見出しの文字はパネル上端から 85.3、説明文は 164.3、最初の項目は 237.1+2.62vw、下の余白 30 */
  .solutions { margin: calc(21.43px - 1.853vw) 3.33vw calc(18.74px + 2.716vw); padding: 84.3px 48.7px 30.1px; }
  .solutions .center { margin-top: 23px; margin-bottom: calc(35.93px - .033vw); }
}
@media (min-width: 1001px) {
  /* パネルは Wix より 17.2px 下にあった。見出しの文字は上端から 80.8、説明文は 158.8、最初の項目は 222.8、下の余白 28.4 */
  .solutions { margin-top: -17.2px; margin-bottom: 22px; padding: 79.8px 0 28.4px; }
  .solutions .center { margin: 23px 0 35.6px; }
}

/* N05 相談項目の右の矢印：Wix は白丸の中に太さ 3 の山形（SVG 20×13）。751px 以上は白丸 32.6・山形 20.4×13.3、
   スマホは白丸 18.5・山形 11.6×7.5。白丸は箱の右端から 25.5（スマホ 15.8）で上下の真ん中 */
.sol-list summary::after { width: 32.6px; height: 32.6px; right: 22.5px; margin-top: -16.3px; }
.sol-list summary::before { width: 20.4px; height: 13.26px; right: 28.6px; margin-top: -6.63px; border: 0; transform: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 13' fill='none'%3E%3Cpath d='M2 2L9.81395 10L18 2' stroke='black' stroke-width='3'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
@media (max-width: 750px) {
  .sol-list summary::after { width: 18.5px; height: 18.5px; right: 12.8px; margin-top: -9.25px; }
  .sol-list summary::before { width: 11.6px; height: 7.54px; right: 16.25px; margin-top: -3.77px; }
}

/* N08 右上の「無料相談はこちら」：Wix は影なし（box-shadow: none を getComputedStyle で確認） */
.cta-fixed { box-shadow: none; }

/* N03 申込フォームの外枠：Wix の 751〜1000px は左右 48px（幅＝画面幅−96px。768 で 672、1000 で 904）。中の選択肢は枠に合わせて縮む */
@media (min-width: 751px) and (max-width: 1000px) {
  .form-box { max-width: calc(100vw - 96px); }
}

/* N10 751〜1000px：Step 4 の絵は Wix より 768 で 11.2px・1000 で 2.9px 上にあった（他の Step は ±4px）。並びは動かさず絵だけ下げる。
   FP 紹介の見出しは Wix の 1行目が「…在籍して」（550.1px）。新は枠 550px で 2px 足りず「し」で折れていたので枠を 4px 広げる */
@media (min-width: 751px) and (max-width: 1000px) {
  .step:nth-of-type(4) img { position: relative; top: calc(38.68px - 3.578vw); }
  .fps .h-orange { max-width: calc(100% - 214px); }
}

/* Q04 1001px 以上：相談パネルの下の余白 22px が margin のため黄色い section の外へ抜け（margin の相殺）、
   body の白が帯になって見えていた。同じ 22px を黄色い section の内側の padding に移す（位置・高さは変わらない） */
@media (min-width: 1001px) {
  .solutions { margin-bottom: 0; }
  main > .bg-yellow:first-child { padding-bottom: 22px; }
}

/* Q05 750px 以下：Wix の Step 2・4（左右反転の段）は本文の幅が 323.1px（Step 1・3 は 327.6px）で両端揃え、
   絵は本文のすぐ下（間 0。Step 1・3 は 14.5px）。新は 328px・左揃え・間 18px だったので Step 4 の 2 行目に「い」が入っていた */
@media (max-width: 750px) {
  .step-text p:last-child { text-align: justify; }
  .step.rev .step-text p:last-child { max-width: 323.1px; }
  .step.rev img { position: relative; top: -18px; }
}

/* Q07 751〜1000px：FP とはの説明文の幅は Wix で 45vw−15px（768:330.6・900:390・1000:435）。新は 43.4vw で 768 だと
   2.7px 広く「プランニング」まで 1 行に入っていた。出典は Wix の行の高さ 20.8px。
   英字・説明文・出典は Wix より 768 で 2.6px 下・1000 で 0.9px 上だったので、並びは動かさずに位置だけ合わせる */
@media (min-width: 751px) and (max-width: 1000px) {
  .fp-toha-body { max-width: calc(45vw - 15px); }
  .fp-toha .source { line-height: 20.8px; }
  .fp-toha-en, .fp-toha-body, .fp-toha .source { position: relative; top: calc(1.509vw - 14.19px); }
}

/* ---- 391〜750px（Galaxy Fold を開いた幅・小さめのタブレット）（11/14） ----
   390px の版面のままだと、画面が広がっても絵やカードが 390px のときの大きさで止まり、左右が大きく空く。
   Wix も同じ幅で、本文の列は幅 600px で真ん中、見出しの絵・人物・カード・挿絵は「390px のときの大きさ × 画面幅の比」で伸び、
   PC 版の大きさで頭打ちになる。文字の大きさ・お客様の声と FP 紹介のカードは 390px のときのまま（Wix と同じ）。
   伸ばした分は高さの決め打ちを外して、中身に合わせる */
@media (min-width: 391px) and (max-width: 750px) {
  .fv2 .logo { width: min(30.8vw, 205px); }
  .fv2-title { width: min(84.6vw, 560px); }
  .fv2-tags { width: min(94.9vw, 578px); }
  .fv2-box { width: min(91.8vw, 550px); height: min(calc(78px + (100vw - 390px) * .14), 122px); font-size: min(calc(14px + (100vw - 390px) * .019), 20px); }
  .fv2-people { height: 92.8vw; }

  .ribbons { max-width: 420px; margin-left: auto; margin-right: auto; }
  .pyramid { max-width: 560px; margin-left: auto; margin-right: auto; }
  .about-left p { max-width: 600px; margin-left: auto; margin-right: auto; }
  .nayami-lead { max-width: 600px; margin-left: auto; margin-right: auto; }
  .nayami-img { width: min(78vw, 560px); }
  .solutions { margin-left: max(15px, calc(50% - 300px)); margin-right: max(14px, calc(50% - 300px)); }

  .point { width: min(77.3vw, 560px); max-width: none; height: auto; padding-bottom: 30px; }
  .point > img { width: min(64.8vw, 460px); height: auto; aspect-ratio: 252.8 / 202.1; }
  .comment { width: min(111.5vw, 600px); height: auto; aspect-ratio: 435 / 336.3; margin-left: calc(50% - min(55.75vw, 300px)); }

  .step, .step.rev, .step:nth-of-type(3), .step:last-of-type { height: auto; padding: 45px max(31px, calc(50% - 300px)) 60px; }
  .step img { width: min(84vw, 520px); max-width: none; height: auto; aspect-ratio: 328 / 256; margin: 18px auto 0; }
  .step.rev .step-text p:last-child { max-width: none; }
  .fp-toha-body { max-width: none; }

  .data-grid { width: 100%; max-width: 360px; margin-left: auto; margin-right: auto; }
  .faq { padding-left: max(32px, calc(50% - 300px)); padding-right: max(32px, calc(50% - 300px)); }
  .fp-toha { padding-left: max(16px, calc(50% - 316px)); padding-right: max(16px, calc(50% - 316px)); }
  .fp-toha-inner img { width: min(84vw, 480px); height: auto; aspect-ratio: 328 / 256; }
}

/* ---- / の 391〜750px（11/17）：/lp1 と同じ伸び縮み（上の 391〜750px のブロックは /lp1 と同じもの）に加えて、/ だけにある先頭の画像 ----
   11/14 までは viewport.js でスマホ版を丸ごと拡大していたが、携帯でしか効かず（PC の窓を細くすると画像の上下が切れる）、
   拡大すると文字や画像が大きすぎ・ぼやける。どの幅でも同じ CSS で伸び縮みさせる。
   先頭の画像は元が 377×522 と小さいので、幅 600px で頭打ちにして真ん中に置く。縦横の比は 390px のとき（390×597）と同じにして上下を切らない */
@media (min-width: 391px) and (max-width: 750px) {
  .sp-hero > img { width: min(100%, 600px); height: auto; aspect-ratio: 390 / 597; margin: 0 auto; }
  .sp-hero-btn img { width: min(82.6vw, 460px); height: auto; margin-top: min(4.9vw, 28px); }
  .sp-hero { padding-bottom: min(2vw, 14px); }
}

/* ---- 751〜960px の先頭の帯（11/17）：Wix のタブレット版は文字の枠を 画面幅/1200 に縮めるため、751px で白枠の文字が 12px まで小さくなる。
   縮める下限を 0.8（白枠の文字 16px）にして、その分だけ人物を右に寄せる（文字と人物が重ならない） */
@media (min-width: 751px) and (max-width: 1000px) {
  html:not([style*="zoom"]) .fv2-group { transform: scale(max(.8, tan(atan2(100vw, 1200px)))); }
  html:not([style*="zoom"]) .fv2-people { left: max(49%, 462px); width: calc(100% - max(49%, 462px)); }
}

/* ---- 391〜750px のお客様の声・FP 紹介のカード（11/17）：390px のときの大きさ（声の本文 11px）のまま止まっていたので、
   画面幅に合わせて少し大きくする（声のカードは最大 300px・本文 13px、FP の写真は最大 200px） */
@media (min-width: 391px) and (max-width: 750px) {
  .voice { width: clamp(210px, 42vw, 300px); height: auto; min-height: 407.5px; padding-bottom: 20px; }
  .voice p { font-size: clamp(11px, calc(11px + (100vw - 390px) * .0075), 13px); }
  .voice h3 { font-size: clamp(14px, calc(14px + (100vw - 390px) * .0075), 16px); }
  .fp-list figure { width: clamp(149px, 28vw, 200px); }
  .fp-list img { width: clamp(149px, 28vw, 200px); height: auto; aspect-ratio: 149 / 198; }
}
