/* 2026-06-12 jun sakamoto / メンサポLP SP・TBスタイル（≤1279px）
   SPデザイン原寸=780px基準（jpeg 780=1:1）。位置・サイズは x/7.8 をvwに換算。
   SP: 360〜639（検証400）／TB: 640〜1279はコンテンツ640上限・背景とヒーローは全幅 */

:root {
  --header-h: 48px;
  /* 固定バー実高=画面幅/3 × ボタン画像比率(228/554) ≒ 54px */
  --fixed-bar-h: 54px;
}

/* PC専用要素はSP/TBで出さない */
.pc-only {
  display: none !important;
}

/* TBでは中身を640に制限 */
.intro__inner,
.worry__inner,
.reassure__inner,
.risk__inner,
.avoid__inner,
.merit__inner,
.safe__inner,
.gold__inner,
.propose__inner,
.cases__inner,
.flow__inner,
.support__inner,
.qa__inner,
.consult24__inner,
.apply__inner {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- ヘッダー ---------- */
.site-header__inner {
  height: var(--header-h);
  padding: 0 16px;
  gap: 10px;
  align-items: center;
}
.site-header__logo {
  display: flex;
  align-items: center;
}
.site-header__logo img {
  width: 110px;
  height: auto;
}
.site-header__catch {
  font-size: 10px;
  letter-spacing: 0.02em;
  line-height: 1;
  align-self: center;
}

/* ---------- ヒーロー（SP=文字焼き込み済みの一体画像 hero_main.webp） ---------- */
.hero {
  position: relative;
  overflow: hidden;
  margin-top: var(--header-h);
}
.hero__inner {
  position: relative;
}
.hero__img {
  width: 100%;
  display: block;
}

/* ---------- イントロ（専用背景=上付き100%幅） ---------- */
.intro {
  background:
    url("../img/sp/bg_intro.webp") top center / 100% auto no-repeat,
    #ffffff;
  padding: 9vw 0 0;
}
.intro__inner {
  text-align: center;
  padding: 0 16px;
}
.intro__heading {
  font-size: clamp(17px, 4.6vw, 27px);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--color-navy);
}
.intro__bubbles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2vw 4vw;
  margin-top: 4vw;
}
.intro__bubbles li {
  width: 42%;
  max-width: 250px;
}
.intro__cta {
  padding: 8vw 0 45px;
}
.intro__lead1 {
  font-size: clamp(26px, 7.8vw, 47px);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-navy-deep);
  line-height: 1.3;
}
.intro__lead1 em {
  font-size: 1.35em;
  background: linear-gradient(transparent 60%, var(--color-marker) 60%);
}
.intro__lead2 {
  font-size: clamp(18px, 5.2vw, 32px);
  font-weight: 700;
  color: var(--color-navy-deep);
  margin-top: 10px;
}
.intro__cta .btn-line img {
  width: clamp(240px, 64vw, 380px);
  margin-top: 7vw;
}

/* ---------- 不安〜安心の連続帯（worryは専用背景持ち・reassureは白） ---------- */
.soft-wrap {
  background: #ffffff;
}

/* ---------- 不安（専用背景=横100%・高さは画像比率分(1498:2004)・コンテンツ上下中央） ---------- */
.worry {
  position: relative;
  background:
    url("../img/sp/bg_worry.webp") top center / 100% auto no-repeat,
    #ffffff;
  min-height: 133.8vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
}
.worry__inner {
  padding: 0 5vw;
}
.worry__photo {
  display: block;
  position: absolute;
  top: -42px;
  right: 45px;
  left: auto;
  width: 46vw;
  margin: 0;
  z-index: 0;
}
.worry__photo img {
  width: 100%;
}
.worry__heading {
  position: relative;
  z-index: 1;
  font-family: var(--font-hand);
  font-size: clamp(19px, 4.6vw, 27px);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-navy);
  line-height: 1.4;
}
.worry__heading-em {
  font-family: var(--font-mincho);
  font-size: 1.45em;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}
.worry .checklist {
  width: 80vw;
  position: relative;
  z-index: 1;
  margin: 8vw 0 0;
  background: #fff;
  border-radius: 3vw;
  box-shadow: 0 2px 9px rgba(40, 60, 100, 0.07);
  padding: 4.5vw 3vw 4.5vw 5.5vw;
}
.worry .checklist li {
  font-size: clamp(12px, 3.5vw, 21px);
  font-weight: 600;
  color: var(--color-navy-deep);
  padding-left: 1.6em;
  line-height: 1.5;
  margin-bottom: 1.6vw;
  white-space: nowrap;
}
.worry .checklist li:last-child {
  margin-bottom: 0;
}
.worry__between {
  text-align: center;
  color: var(--color-navy-deep);
  font-weight: 700;
  padding: 8vw 16px 0;
  line-height: 1.5;
}
.worry__between-head {
  font-size: clamp(24px, 7.8vw, 44px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.worry__between-logo {
  width: clamp(120px, 36vw, 210px);
  height: auto;
  margin: 0 0.05em;
}
.worry__between-head .small {
  font-size: 0.6em;
}
.worry__between-sub {
  font-size: clamp(17px, 5vw, 29px);
}
.worry__between-sub2 {
  font-size: clamp(19px, 5.8vw, 33px);
}

/* ---------- 安心 ---------- */
.reassure {
  padding: 8vw 0 8vw;
}
.reassure__inner {
  padding: 0 20px;
}
.reassure__photo {
  display: block;
  text-align: center;
}
.reassure__photo img {
  width: 86%;
  max-width: 560px;
}
.reassure__heading {
  font-size: clamp(16px, 4.9vw, 29px);
  font-weight: 600;
  color: var(--color-navy-deep);
  text-align: center;
  line-height: 1.7;
  margin-top: 4vw;
}
.reassure .checklist {
  margin: 4vw auto 0;
  width: fit-content;
  background: #fff;
  border-radius: 3vw;
  box-shadow: 0 2px 9px rgba(40, 60, 100, 0.07);
  padding: 4vw 5vw;
}
.reassure .checklist li {
  font-size: clamp(12px, 3.6vw, 21px);
  font-weight: 600;
  color: var(--color-navy-deep);
  padding-left: 1.6em;
  line-height: 1.5;
  margin-bottom: 1.6vw;
}
.reassure .checklist li:last-child {
  margin-bottom: 0;
}

/* ---------- リスク〜失敗回避の連続帯（女性込み背景） ---------- */
.risk-wrap {
  background: url("../img/sp/bg_risk.webp") top center / 100% 100% no-repeat #ffffff;
}
.risk__inner {
  padding: 3vw 6vw 0;
}
.risk__lead {
  font-size: clamp(13px, 3.9vw, 23px);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-navy-deep);
}
.risk__body {
  margin-top: 3.5vw;
  position: relative;
}
.risk__photo {
  display: block;
  position: absolute;
  right: 0;
  top: -4vw;
  left: auto;
  width: 45vw;
  margin: 0;
  z-index: 0;
}
.risk__photo img {
  width: 100%;
}
.risk__heading {
  position: relative;
  z-index: 1;
  font-size: clamp(15px, 4.6vw, 28px);
  font-weight: 600;
  color: var(--color-navy-deep);
  letter-spacing: 0.06em;
  line-height: 1.95;
}
.risk__strong {
  font-size: 1.3em;
  font-weight: 700;
  white-space: nowrap;
}
.risk__list {
  position: relative;
  z-index: 1;
  margin: 5vw auto 0;
  background: url("../img/pc/panel_white.webp") center / 100% 100% no-repeat;
  padding: 6vw 6vw 6.5vw;
  width: fit-content;
}
.risk .checklist li {
  font-size: clamp(13px, 3.7vw, 22px);
  font-weight: 600;
  color: var(--color-navy-deep);
  padding-left: 1.6em;
  line-height: 1.5;
  margin-bottom: 1.4vw;
}
.risk .checklist li:last-child {
  margin-bottom: 0;
}

/* ---------- 失敗回避 ---------- */
.avoid {
  padding: 8vw 16px 24vw;
  text-align: center;
}
.avoid__lead {
  font-size: clamp(15px, 4.4vw, 26px);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.6;
  color: var(--color-navy-deep);
}
.avoid__head {
  font-size: clamp(20px, 6vw, 36px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-navy-deep);
  margin-top: 5vw;
}
.avoid__head .inline-logo--white {
  height: 1.85em;
}

/* ---------- メリット（SP=2枚積み・白背景） ---------- */
.merit {
  text-align: center;
  padding: 6vw 16px 3vw;
  margin-top: -50px;
  background: #ffffff;
}
.merit__inner img {
  width: 86%;
  max-width: 580px;
}
.merit__inner img + img {
  margin-top: 5vw;
}

/* ---------- 圧倒的に安全 ---------- */
.safe {
  text-align: center;
  padding: 6vw 16px 8vw;
  background: #fff;
}
.safe__lead {
  font-size: clamp(18px, 5.4vw, 32px);
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--color-navy-deep);
}
.safe__head {
  font-size: clamp(32px, 9.6vw, 58px);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-navy);
}
.safe .btn-line img {
  width: clamp(240px, 64vw, 380px);
  margin-top: 7vw;
}

/* ---------- 厳選ゴールド（SP一体画像） ---------- */
/* gold.webpが背景込みの一体画像のため100%で貼るだけ */
.gold {
  background: #ffffff;
  padding: 0;
}
.gold__inner {
  text-align: center;
  max-width: none;
}
.gold__sp img {
  width: 100%;
  max-width: none;
  display: block;
}

/* ---------- 提案（背景込みの一体画像を100%で貼るだけ） ---------- */
.propose {
  background: #ffffff;
  text-align: center;
  padding: 0;
}
.propose__inner {
  max-width: none;
}
.propose__sp img {
  width: 100%;
  max-width: none;
  display: block;
}

/* ---------- 入店事例（SP画像cases.webpに見出しが焼き込み済みのためHTML見出しは出さない） ---------- */
.cases {
  background: #fff;
  text-align: center;
  padding: 6vw 16px;
}
.cases__heading {
  display: none;
}
.cases__cards {
  margin-top: 0;
}
.cases__cards img {
  width: 91%;
  max-width: 600px;
}

/* ---------- 流れ（タイトル→注記→ステップ→ボタン） ---------- */
/* 専用背景=横100%・高さは画像比率分(1543:2063)。タイトルピルが背景上端から少しはみ出す */
.flow {
  background:
    url("../img/sp/bg_flow.webp") center 6vw / 100% auto no-repeat,
    #ffffff;
  min-height: calc(133.7vw + 6vw);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 16px;
  text-align: center;
}
.flow__title {
  margin-bottom: 4vw;
}
.flow__title img {
  width: clamp(220px, 64vw, 380px);
}
.flow__inner {
  display: flex;
  flex-direction: column;
}
.flow__side {
  order: -1;
  margin-bottom: 4vw;
}
.flow__note1 {
  font-size: clamp(17px, 5.2vw, 31px);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  color: var(--color-navy-deep);
}
.flow__note2 {
  font-size: clamp(17px, 5.2vw, 31px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-navy-deep);
  margin-top: 0.5vw;
}
.flow__steps img {
  width: 96%;
  max-width: 600px;
}
.flow__cta {
  margin-top: 5vw;
}
.flow__cta .btn-line img {
  width: clamp(240px, 64vw, 380px);
}

/* ---------- サポート（SP一体画像） ---------- */
.support {
  background: #ffffff;
  padding: 6vw 16px;
}
.support__inner {
  text-align: center;
}
.support__sp img {
  width: 78%;
  max-width: 500px;
}

/* ---------- Q&A ---------- */
/* 専用背景=横100%・高さは画像比率分(1555:1660)・コンテンツ上下中央 */
.qa {
  background:
    url("../img/sp/bg_qa.webp") top center / 100% auto no-repeat,
    var(--color-lavender);
  min-height: 106.7vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 0 16px;
}
.qa__heading {
  margin-bottom: 3vw;
}
.qa__heading img {
  width: clamp(140px, 30vw, 220px);
}
.qa__inner picture img {
  width: 90%;
  max-width: 580px;
}

/* ---------- 24h ---------- */
.consult24 {
  background: #fff;
  text-align: center;
  padding: 6vw 16px 6vw;
}
.consult24__heading {
  font-size: clamp(28px, 8.4vw, 48px);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.2;
}
.consult24__num {
  font-size: 1.5em;
}
.consult24__h {
  font-size: 0.7em;
}
.consult24__sub {
  font-size: clamp(15px, 4.6vw, 27px);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-navy-deep);
  margin-top: 2vw;
}
/* テキスト＋写真込みの一体画像(consult24_set.webp)を画面幅いっぱいに貼る（親padding 16pxを相殺） */
.consult24__sp {
  margin: 5vw -16px 0;
}
.consult24__sp img {
  width: 100%;
  display: block;
}
.consult24__btns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3vw;
  margin-top: 6vw;
}
.consult24__btns .btn-line img,
.consult24__btns .btn-tel img {
  width: clamp(150px, 42vw, 280px);
}
.consult24__btns .btn-tel {
  display: inline-block;
  margin-top: 0;
}

/* ---------- フォーム（見本準拠: ラベル左・入力右の2カラム） ---------- */
.apply {
  background: #ffffff;
  padding: 4vw 16px 6vw;
}
.apply__inner {
  background: #fff;
  border: 1px solid var(--color-navy);
  border-radius: 14px;
  padding: 5vw 5vw 6vw;
  text-align: center;
}
.apply__script img {
  width: 60px;
}
/* フォーム内テキストは見本実測の #515C92（--color-navy） */
.apply__heading {
  font-size: clamp(22px, 6.6vw, 36px);
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--color-navy);
}
.apply__form {
  margin-top: 4vw;
  text-align: left;
}
.form-row {
  display: grid;
  /* ラベル列は最長ラベル(メールアドレス〔必須〕)が収まる固定幅=全行で入力開始位置を揃える（見本準拠） */
  grid-template-columns: 38vw 1fr;
  align-items: center;
  margin-bottom: 13px;
}
.form-row .form-note {
  grid-column: 1 / -1;
  justify-self: end;
  max-width: 100%;
  font-size: 10px;
  color: var(--color-navy);
  text-align: right;
  margin-top: 2px;
  white-space: normal;
}
.form-row--textarea {
  display: block;
}
.form-row--textarea .form-label {
  margin-bottom: 4px;
}
.form-label {
  font-size: 14px;
  line-height: 1.4;
  display: block;
  color: var(--color-navy);
  white-space: nowrap;
  padding-right: 6px;
}
/* iOSフォーカスズーム回避のためfont-size16pxは維持し、paddingで高さを詰める */
.form-input,
.form-textarea {
  padding: 0.15em 0.5em;
}
.form-textarea {
  height: 6em;
}
.form-input--short {
  width: 100%;
}
.form-consent {
  margin-top: 3vw;
  font-size: 11px;
  text-align: center;
  color: var(--color-navy);
}
.form-result {
  min-height: 1.2em;
}
.form-submit {
  margin-top: 3vw;
}
.form-submit__btn {
  font-size: 16px;
  letter-spacing: 0.16em;
  padding: 8px 0 14px;
  width: 100%;
  max-width: 340px;
}

/* ---------- フッター（SP=相談!!テキスト込み画像） ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
}
.site-footer__photo {
  position: absolute;
  inset: 0;
  background:
    url("../img/sp/footer.webp") center top / 100% auto no-repeat,
    #1a1a22;
}
.site-footer__inner {
  position: relative;
  /* 画像比率 2341:2019 に追従 */
  min-height: 86vw;
  max-height: 700px;
  display: block;
  padding: 5vw 16px;
}
.site-footer__logo {
  position: absolute;
  top: 4vw;
  right: 4vw;
  margin: 0;
}
.site-footer__logo img {
  width: clamp(150px, 42vw, 300px);
}
.site-footer__copy {
  position: relative;
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.26em;
  color: var(--color-navy-deep);
  background: #fff;
  padding: 5px 0;
}

/* ---------- 固定バー（見本準拠: 3ボタンを画面端まで隙間なし・TOPへ戻るはバーの上に浮かす） ---------- */
.fixed-bar__list {
  gap: 0;
  padding: 0;
}
/* TELボタンだけ元画像比率が違う(610:228 vs 554:228)ため高さを揃えてfillで微伸縮 */
.fixed-bar__list li {
  flex: 1 1 33.34%;
  max-width: none;
  height: calc(33.34vw * 228 / 554);
}
.fixed-bar__list a {
  height: 100%;
}
.fixed-bar__list img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}
.to-top {
  width: 44px;
  height: 44px;
  right: 8px;
  top: auto;
  bottom: calc(100% + 10px);
  transform: none;
}
.to-top:hover {
  transform: translateY(-4px);
}
.to-top__arrow {
  width: 12px;
  height: 12px;
  border-width: 2.5px;
}
