/* ソロサポ 共通スタイル（index.html と 2.html で共有）
   大きさ・位置は元サイト（STUDIO版）を 1280px / 375px で実測した値に合わせている */
:root {
  --yellow: #d7da58;
  --orange: #f18a52;
  --blue: #3fb0e5;
  --green: #81c276;
  --green-deep: #46b22e;
  --purple: #9a8bbf;
  --pink: #eb86b1;
  --beige: #f2f0ef;
  --ink: #333;
  --pill: #211815;
  /* 元サイトの A1ゴシック（STUDIO専用フォント）の代わり */
  --a1: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  /* 元サイトのヒラギノ角ゴ W6。Mac・iPhone はヒラギノ、それ以外は Noto Sans JP */
  --hira: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  --noto: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
  --gutter: 15px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--hira); font-weight: 600; font-size: 15px; line-height: 1.4; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
h1, h2, h3, h4 { font-weight: inherit; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { width: min(100% - var(--gutter) * 2, 1000px); margin-inline: auto; }
.grid { background: url(/img/grid.webp) 0 0 / 1440px auto repeat; }

/* ---------- ヘッダー ---------- */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 20; }
.site-header .bar { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 25px 30px 0; }
.logo { display: flex; text-decoration: none; flex-shrink: 0; }
.logo img:first-child { width: 155px; }
.logo img:last-child { width: 110px; }
.gnav ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 20px; }
.gnav a { font: 600 11px/15px var(--hira); text-decoration: none; white-space: nowrap; }
.gnav a:hover { color: var(--orange); }
.menu-btn { display: none; }
.apply-float { position: fixed; right: 20px; top: 155px; z-index: 30; width: 126px; transition: transform .2s; }
.apply-float:hover { transform: scale(1.06); }

@media (max-width: 900px) {
  .site-header .bar { padding: 25px var(--gutter) 0; align-items: center; }
  .logo img:first-child { width: 113px; }
  .logo img:last-child { width: 80px; }
  .menu-btn { display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--pill); cursor: pointer; position: relative; z-index: 41; }
  .menu-btn span { display: block; width: 20px; height: 2px; background: #fff; margin: 3px auto; transition: transform .2s, opacity .2s; }
  .menu-open .menu-btn span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
  .menu-open .menu-btn span:nth-child(2) { opacity: 0; }
  .menu-open .menu-btn span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
  .gnav { position: fixed; inset: 0; z-index: 40; background: rgba(255,255,255,.97); display: none; align-items: center; justify-content: center; }
  .menu-open .gnav { display: flex; }
  .menu-open .site-header { position: fixed; }
  .gnav ul { flex-direction: column; align-items: center; gap: 20px; }
  .gnav a { font-size: 16px; line-height: 1.4; }
  .apply-float { width: 88px; top: auto; bottom: 16px; right: 12px; }
}

/* ---------- 見出し（SUPPORT など） ---------- */
.sec { position: relative; overflow-x: clip; }
.sec-head { position: relative; z-index: 1; text-align: center; padding-top: var(--pt, 0px); }
.sec-head .en { display: block; font: 700 48px/67px var(--a1); letter-spacing: .24em; padding-left: .24em; color: #000; }
.sec-head .jp-wrap { position: relative; display: flex; justify-content: center; height: 30px; }
.sec-head .jp-wrap::before { content: ""; position: absolute; left: calc(50% - 50vw); width: 100vw; top: 11px; height: 8px; background: var(--line, transparent); }
.sec-head .jp { position: relative; display: inline-flex; align-items: center; height: 30px; padding: 0 22px; border-radius: 32px; background: var(--pill-bg, var(--pill)); color: #fff; font: 700 16px/1 var(--a1); }
/* 方眼を見出しの線の下から始める */
.sec-body { position: relative; padding: var(--bt, 0px) 0 var(--bb, 0px); }
.sec-body.grid { margin-top: -11px; padding-top: calc(var(--bt, 0px) + 11px); }
@media (max-width: 640px) {
  .sec-head .en { font-size: 24px; line-height: 34px; }
  .sec-head .jp { font-size: 14px; }
}

/* ---------- ヒーロー（位置は元サイトの実測値を％にしたもの） ---------- */
.hero { position: relative; }
.hero-in { position: relative; z-index: 1; width: min(100%, 1265px); aspect-ratio: 1265 / 795; margin: 0 auto; }
.hero .il { position: absolute; margin: 0; }
.hero .il img { width: 100%; }
.il-title    { left: 31.62%; top: 44.53%; width: 36.76%; }
.il-notebook { left: 12.49%; top: 19.37%; width: 18.18%; }
.il-girl     { left: 61.82%; top: 21.26%; width: 19.37%; }
.il-kids     { left: 6.32%;  top: 49.31%; width: 20.95%; }
.il-boy-point{ left: 73.12%; top: 45.53%; width: 21.42%; }
.il-cloud    { left: 62.77%; top: 76.86%; width: 21.42%; }
.il-boy-lying{ left: 15.34%; top: 84.03%; width: 21.42%; }
.scrolldown { position: absolute; left: 50%; top: calc(100% + 12px); transform: translateX(-50%); z-index: 3; width: 110px; height: 110px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font: 400 14px/20px var(--noto); text-decoration: none; }
@media (max-width: 640px) {
  .hero-in { width: min(100%, 480px); aspect-ratio: 375 / 766; }
  .il-title    { left: 5.07%;  top: 46.61%; width: 90.13%; }
  .il-notebook { left: 52%;    top: 15.67%; width: 29.6%; }
  .il-girl     { left: 0;      top: 18.15%; width: 39.2%; }
  .il-kids     { left: 57.33%; top: 78.33%; width: 39.2%; }
  .il-boy-point{ left: 61.6%;  top: 28.72%; width: 38.4%; }
  .il-cloud    { left: 0;      top: 71.54%; width: 33.6%; }
  .il-boy-lying{ left: 0;      top: 90.2%;  width: 35.47%; }
  .scrolldown { top: calc(100% - 23px); }
}

/* ---------- ソロサポとは（波と丸は元サイトの背景画像） ---------- */
.about { position: relative; background: url(/img/about-bg.svg) 50% 50% / contain no-repeat; padding: 232px 0 232px; text-align: center; }
.about-in { position: relative; z-index: 1; width: min(100% - 18px, 450px); margin: 0 auto; }
.about .pot-head { display: block; font: 700 42px/59px var(--a1); color: #333; white-space: nowrap; margin: 0 -100px 50px; }
.about .logo-stack { width: 194px; margin: 0 auto; }
.about .about-text, .about .about-pot { width: 100%; margin: 50px auto 0; }
@media (max-width: 1100px) { .about { background-size: cover; } }
@media (max-width: 640px) {
  .about { background-position: 50% 0; background-size: cover; padding: 160px 0 100px; }
  .about .pot-head { font-size: 22px; line-height: 31px; margin: 0 0 44px; }
  .about .logo-stack { width: 114px; }
}

/* ---------- お悩み ---------- */
.problems { padding: 50px var(--gutter) 100px; }
.problems img { width: min(100%, 900px); margin: 0 auto; }
@media (max-width: 640px) { .problems { padding: 80px 20px; } .problems img { width: 100%; } }

/* ---------- サポート内容 ---------- */
#support { --pt: 50px; --line-bottom: 136px; --to-next-line: 86px; }
#support .sec-body { --bt: 70px; --bb: 80px; z-index: 1; }
/* 方眼：SUPPORT の線の下から、次の POINT の見出しの線まで */
#support::before { content: ""; position: absolute; left: 0; right: 0; top: var(--line-bottom); bottom: calc(-1 * var(--to-next-line)); background: url(/img/grid.webp) 0 0 / 1440px auto repeat; }
.cards { display: grid; grid-template-columns: repeat(2, 300px); justify-content: center; gap: 60px; }
.cards img { width: 300px; }
@media (max-width: 700px) {
  #support { --pt: 36px; --line-bottom: 89px; --to-next-line: 53px; }
  #support .sec-body { --bt: 34px; }
  .cards { grid-template-columns: min(100%, 300px); }
  .cards img { width: 100%; }
}

/* ---------- 3つの特徴（方眼なし） ---------- */
#feature .sec-body { --bt: 91px; --bb: 100px; }
.feature-imgs { display: grid; gap: 50px; justify-items: center; }
.feature-imgs img { width: min(100%, 599px); }
.feature-imgs .f1, .feature-imgs .f3 { transform: translateX(-128px); }
.feature-imgs .f2 { transform: translateX(128px); }
@media (max-width: 900px) { .feature-imgs .f1, .feature-imgs .f2, .feature-imgs .f3 { transform: none; } }
@media (max-width: 640px) { #feature .sec-body { --bt: 49px; } .feature-imgs img { width: 100%; } }

/* ---------- 導入事例 ---------- */
#example .sec-body { --bt: 90px; --bb: 198px; }
.examples-pc { width: min(100%, 1000px); margin: 0 auto; }
.examples-sp { display: none; }
@media (max-width: 640px) {
  #example .sec-body { --bt: 39px; --bb: 60px; }
  .examples-pc { display: none; }
  .examples-sp { display: grid; gap: 31px; }
  .examples-sp img { width: 100%; }
}

/* ---------- 料金（ここだけ文字で組む。寸法は元の料金表画像を600px幅に縮めた値） ---------- */
.head-grid { position: relative; padding-top: 24px; }
.head-grid::before { content: ""; position: absolute; inset: 0 0 11px 0; background: url(/img/grid.webp) 50% 50% / 1440px auto repeat; }
#price .sec-body { --bt: 30px; --bb: 100px; }
.price-box { width: min(100%, 568px); margin: 0 auto 70px; font-family: var(--noto); color: #222; }
.price-box:last-child { margin-bottom: 0; }
/* タブ：上の角は丸く、右側は斜めに下りて枠の上辺につながる */
.tab { position: relative; z-index: 1; display: block; width: fit-content; height: 47px; margin: 0 0 -1px 19px; padding: 0 22px 0 25px; background: var(--green-deep); color: #fff; font: 900 25px/49px var(--noto); letter-spacing: .04em; border-radius: 16px 0 0 0; }
.tab::after { content: ""; position: absolute; top: 0; bottom: 0; right: -30px; width: 46px; background: var(--green-deep); border-radius: 0 14px 0 0; transform: skewX(18deg); transform-origin: 0 100%; z-index: -1; }
/* 枠：太い緑の縁。中の灰色の見出しと白い枠は、それぞれ角丸の別パーツ */
.panel { background: var(--green-deep); border-radius: 24px; padding: 11px; display: grid; gap: 6px; }
.panel .lbl { background: #f0f0ee; border-radius: 9px; text-align: center; font: 700 18px/36px var(--noto); }
.panel .box { background: #fff; border-radius: 9px; padding: 16px 20px; }
.fee { text-align: center; padding: 18px 10px 12px !important; }
.fee .n { color: var(--green-deep); font: 900 80px/1 var(--noto); letter-spacing: -.02em; }
.fee .u { color: var(--green-deep); font: 900 38px/1 var(--noto); }
.fee .s { display: block; font: 700 22px/1.3 var(--noto); margin-top: 4px; }
.svc { display: grid; grid-template-columns: auto auto; justify-content: center; gap: 6px 26px; font: 700 20px/1.4 var(--noto); padding: 12px 16px !important; }
.svc li { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.svc li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--green-deep); flex-shrink: 0; }
.svc li.wide { grid-column: 1 / -1; }
.svc small { font-size: 15px; font-weight: 500; color: #444; margin-left: 4px; }
.tax { padding: 18px 20px 10px !important; }
.tax dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; align-items: baseline; font: 700 21px/1.4 var(--noto); }
.tax dd { font: 900 33px/1.2 var(--noto); text-align: right; }
.tax dd small { font-size: 18px; font-weight: 700; }
.tax .notes { margin-top: 8px; font: 500 14px/1.6 var(--noto); color: #333; }

/* オプション：枠は太い緑。見出し行の下に緑の線、中は薄いグレーの線 */
.opt-frame { border: 8px solid var(--green-deep); border-radius: 22px; background: #fff; overflow: hidden; }
.opt { width: 100%; border-collapse: collapse; font: 700 19px/1.35 var(--noto); }
.opt th, .opt td { border: 2px solid #e2e2e2; padding: 0 10px; height: 70px; text-align: left; vertical-align: middle; }
.opt tr > :first-child { border-left: 0; }
.opt tr > :last-child { border-right: 0; }
.opt tbody tr:last-child > *, .opt tbody tr:last-child th { border-bottom: 0; }
.opt thead th { background: #f0f0ee; border: 0; border-bottom: 5px solid var(--green-deep); height: 60px; font-size: 18px; text-align: center; }
.opt thead th:first-child { text-align: left; padding: 0 2px 0 6px; white-space: nowrap; letter-spacing: -.02em; }
.opt th[scope=row] { color: var(--green-deep); text-align: center; width: 22%; padding: 0 4px; font-weight: 900; font-size: 20px; line-height: 1.3; white-space: nowrap; }
.opt td.yen { width: 30%; white-space: nowrap; font-size: 21px; font-weight: 700; }
.opt td.yen small { color: var(--green-deep); font-size: 14px; }
.opt td.note { font-size: 15px; font-weight: 500; height: 62px; }

@media (max-width: 640px) {
  .tab { height: 38px; font-size: 19px; line-height: 40px; margin-left: 12px; padding: 0 14px 0 18px; border-radius: 12px 0 0 0; }
  .tab::after { right: -22px; width: 34px; border-radius: 0 10px 0 0; }
  .panel { padding: 8px; border-radius: 18px; gap: 5px; }
  .panel .lbl { font-size: 15px; line-height: 30px; border-radius: 7px; }
  .panel .box { border-radius: 7px; padding: 12px 14px; }
  .fee .n { font-size: 56px; }
  .fee .u { font-size: 26px; }
  .fee .s { font-size: 16px; }
  .svc { grid-template-columns: 1fr; font-size: 15px; justify-content: start; }
  .svc li { white-space: normal; gap: 8px; }
  .svc li::before { width: 12px; height: 12px; }
  .svc small { font-size: 12px; }
  .tax dl { font-size: 15px; }
  .tax dd { font-size: 24px; }
  .tax dd small { font-size: 14px; }
  .tax .notes { font-size: 11px; }
  .opt-frame { border-width: 6px; border-radius: 16px; }
  .opt { font-size: 13px; }
  .opt th, .opt td { padding: 0 6px; height: 54px; }
  .opt thead th { font-size: 12px; height: 44px; border-bottom-width: 4px; }
  .opt th[scope=row] { font-size: 13px; padding: 0 3px; }
  .opt td.yen { font-size: 14px; }
  .opt td.yen small { font-size: 10px; }
  .opt td.note { font-size: 11px; height: 44px; }
}

/* ---------- なぜ低価格・加入条件（元の画像） ---------- */
.why { overflow: hidden; }
.why img, .entry img { width: 100%; }
@media (max-width: 640px) { .why img { width: 165%; max-width: none; margin-left: -32.5%; } }

/* ---------- 申し込みの流れ（方眼は全体） ---------- */
.flow-sec { background: url(/img/grid.webp) 0 0 / 100% auto repeat; --pt: 100px; }
.flow-sec .sec-body { --bt: 52px; --bb: 170px; }
.steps { display: grid; justify-items: center; }
.step { position: relative; display: flex; align-items: center; width: min(100%, 700px); height: 80px; background: var(--orange); color: #fff; border-radius: 64px; padding: 5px 16px 5px 5px; font: 600 28px/39px var(--hira); }
.step .no { flex-shrink: 0; width: 70px; height: 70px; border-radius: 50%; background: #fff; color: #333; display: grid; place-content: center; text-align: center; font: 600 13px/18px var(--hira); }
.step .no b { display: block; font-weight: 600; font-size: 40px; line-height: 40px; }
.step .t { flex: 1; text-align: center; padding-right: 54px; }
.steps .arrow { width: 30px; margin: 25px auto; }
@media (max-width: 640px) {
  .flow-sec { --pt: 70px; }
  .flow-sec .sec-body { --bb: 80px; }
  .step { height: 50px; font-size: 14px; line-height: 20px; }
  .step .no { width: 40px; height: 40px; font-size: 10px; line-height: 14px; }
  .step .no b { font-size: 20px; line-height: 20px; }
  .step .t { padding-right: 24px; }
}

/* /2 ページの詳しい手順 */
.steps.detail > li { width: min(100%, 700px); display: grid; justify-items: center; }
.step-note { text-align: center; font: 600 13px/1.6 var(--hira); margin-top: 12px; }
.btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 14px; }
.pill { display: inline-flex; align-items: center; justify-content: center; text-align: center; min-width: 150px; min-height: 40px; padding: 6px 24px; border-radius: 64px; text-decoration: none; color: #fff; font: 600 14px/1.3 var(--hira); background: var(--c, var(--green)); border: 2px solid #191919; transition: transform .15s; }
.pill:hover { transform: translateY(-2px); }
.pill.noline { border-color: transparent; }

/* ---------- Q&A ---------- */
.qa { background: var(--beige); --pt: 72px; --pill-bg: var(--purple); }
.qa .sec-body { --bt: 55px; --bb: 72px; }
.qa-list { width: min(100% - var(--gutter) * 2, 750px); margin: 0 auto; display: grid; gap: 46px; }
.qa-item h3 { display: flex; gap: 11px; padding: 0 15px; font: 600 28px/39px var(--hira); color: #333; margin-bottom: 11px; }
.qa-item h3::before { content: "Q."; font: 700 32px/39px var(--a1); flex-shrink: 0; }
.qa-item .a { display: flex; gap: 11px; background: #fff; border-radius: 16px; padding: 10px 15px 18px; font: 600 15px/21px var(--hira); }
.qa-item .a::before { content: "A."; font: 700 32px/45px var(--a1); color: var(--purple); flex-shrink: 0; }
.qa-item .a > div { padding-top: 12px; }
@media (max-width: 640px) {
  .qa { --pt: 36px; }
  .qa .sec-body { --bt: 28px; --bb: 60px; }
  .qa-list { width: calc(100% - 30px); gap: 26px; }
  .qa-item h3 { font-size: 16px; line-height: 22px; gap: 12px; }
  .qa-item h3::before { font-size: 24px; line-height: 24px; }
  .qa-item .a { font-size: 14px; line-height: 19.6px; gap: 12px; }
  .qa-item .a::before { font-size: 24px; line-height: 34px; }
}

/* ---------- 締め・フッター ---------- */
.closing { text-align: center; padding: 0 var(--gutter); }
.closing .msg { font: 600 17px/2.9 var(--hira); }
.closing .msg span { display: inline-block; }
.closing .ctas { display: grid; justify-items: center; margin: 24px 0 40px; }
.closing .pill { width: min(100%, 320px); min-height: 48px; font-size: 20px; line-height: 28px; padding: 8px 24px; }
.closing .sub-link { font: 500 15px/21px var(--a1); margin: 24px 0 40px; }
.closing .lying { width: 150px; margin: 50px auto 40px; }
.site-footer .hill { width: 100%; margin: 0 auto -1px; }
.site-footer .band { background: var(--green); color: #fff; padding: 0 var(--gutter) 22px; text-align: center; }
.site-footer .contents { font: 500 12px/17px var(--a1); margin-bottom: 12px; }
.site-footer ul { display: grid; grid-template-columns: repeat(4, auto); justify-content: center; gap: 4px 56px; text-align: left; font: 600 14px/28px var(--hira); }
.site-footer li::before { content: "・"; font: 500 20px/28px var(--a1); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .copy { margin-top: 22px; font: 500 12px/17px var(--a1); }
@media (max-width: 700px) {
  .closing .msg { font-size: 13px; line-height: 2.4; }
  .closing .pill { font-size: 16px; }
  .site-footer ul { grid-template-columns: repeat(2, auto); gap: 0 24px; font-size: 12px; }
}
