@charset "utf-8";

/**
 * home_test 等プレビュー専用：PC 幅でも SP 新トップ（MV・下層）を表示
 * 上段サイズ感は lp5_2 を参考。講師紹介以下は公開トップブロックのまま。
 * 本番フロントには読み込まない
 */
@media screen and (min-width: 768px) {
  body.sp_home_preview .home_fv {
    display: none !important;
  }

  /* PCヘッダーロゴは pc_hd_logo.png（幅制限せず高さで縮小し切れを防ぐ） */
  body.sp_home_preview #wrapper > header .logo .logo_default,
  body.sp_home_preview #wrapper > header .logo .logo_sp {
    display: none !important;
  }

  body.sp_home_preview #wrapper > header .logo {
    overflow: visible;
    max-width: none;
  }

  body.sp_home_preview #wrapper > header .logo .logo_pc {
    display: block !important;
    width: auto !important;
    height: 0.5rem !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain;
  }

  body.sp_home_preview header #header_body.small .logo .logo_pc {
    height: 0.36rem !important;
  }

  /* 講師専門性原稿は PC では出さない（講師紹介は公開トップブロック） */
  body.sp_home_preview .sp_home_instructor_focus {
    display: none !important;
  }

  /* 公開トップの5つの強みリストは、原稿「わたしたちの強み」に差し替え */
  body.sp_home_preview .sp_home_front_blocks .home_five_strongpoint {
    display: none !important;
  }

  /* ---- MV：画面幅いっぱい（コミット〜バナー接続もフル幅） ---- */
  body.sp_home_preview .sp_mv {
    display: block;
    color: #5c4638;
  }

  /* PC：スクロール固定バナーが波・ピンク帯の下に隠れないように */
  body.sp_home_preview #top_head.btm_fix {
    z-index: var(--z-btm-fix, 100);
  }

  body.sp_home_preview .sp_mv {
    --sp-mv-hero-foot-seam: 2px;
    --sp-mv-foot-deco-max-h: min(120px, 14vh);
    /* PCヘッダー概算。FV下端＝ピンク波帯下 */
    --sp-mv-fv-header: 107px;
    /* 少し余裕を残して高すぎ感を抑える */
    --sp-mv-fv-hero-h: calc(100dvh - var(--sp-mv-fv-header) - var(--sp-mv-foot-deco-max-h) - 40px);
  }

  body.sp_home_preview .sp_mv_hero {
    position: relative;
    line-height: 0;
    background: #f8e4e8;
    /* ファーストビュー下端がピンク波帯になるようヒーロー高を可変 */
    height: var(--sp-mv-fv-hero-h);
    min-height: 280px;
    max-height: none;
    overflow: hidden;
  }

  body.sp_home_preview .sp_mv picture {
    display: block;
    width: 100%;
    height: 100%;
  }

  body.sp_home_preview .sp_mv_main {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
  }

  body.sp_home_preview .sp_mv.is-pc-mainimage .sp_mv_main {
    object-position: center center;
  }

  /* PC：リボンは画像上ではなく下帯へ */
  body.sp_home_preview .sp_mv_hero .sp_mv_place--on-hero {
    display: none !important;
  }

  body.sp_home_preview .sp_mv_hero .sp_mv_hero_wave.is-hero-edge {
    display: block;
    position: absolute;
    /* 固定バナー(#top_head)より下。ヒーロー内の重なりだけ確保 */
    z-index: 1;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
    font-size: 0;
    pointer-events: none;
  }

  body.sp_home_preview .sp_mv_hero .sp_mv_hero_wave.is-hero-edge img {
    display: block;
    width: calc(100% + 2px);
    max-width: none;
    margin-left: -1px;
    height: auto;
    max-height: 42px;
  }

  body.sp_home_preview .sp_mv_hero_foot {
    display: block;
    position: relative;
    width: 100%;
    line-height: 0;
    background: #f8e4e8;
  }

  body.sp_home_preview .sp_mv_hero_foot.is-deco-split {
    overflow: hidden;
    /* z-index を上げるとスクロール時の固定バナーが帯の下に隠れる */
    z-index: auto;
  }

  body.sp_home_preview .sp_mv_hero_foot_inner {
    position: relative;
    z-index: 1;
    /* 添付くらいの帯高。白帯はその縦中央。葉は帯内でやや大きめ */
    min-height: var(--sp-mv-foot-deco-max-h, min(120px, 14vh));
    padding: 0.12rem 0.2rem 0.32rem 0.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    overflow: hidden;
    box-sizing: border-box;
  }

  body.sp_home_preview .sp_mv_hero_foot_deco {
    position: absolute;
    z-index: 1;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
  }

  body.sp_home_preview .sp_mv_hero_foot_deco_img {
    position: absolute;
    bottom: 0;
    width: auto;
    height: auto;
    max-height: 100%;
    object-fit: contain;
  }

  body.sp_home_preview .sp_mv_hero_foot_deco_img.is-l {
    left: 0;
    max-width: min(200px, 17vw);
    object-position: left bottom;
  }

  body.sp_home_preview .sp_mv_hero_foot_deco_img.is-r {
    right: 0;
    left: auto;
    max-width: min(160px, 14vw);
    object-position: right bottom;
  }

  body.sp_home_preview .sp_mv_hero_foot .sp_mv_place--on-foot {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    line-height: normal;
    pointer-events: none;
  }

  body.sp_home_preview .sp_mv_place {
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
  }

  body.sp_home_preview .sp_mv_place_ribbon {
    max-width: 100%;
    filter: drop-shadow(0 0.02rem 0.05rem rgb(80 40 50 / 12%));
  }

  body.sp_home_preview .sp_mv_place_badge {
    --sprig-l: none;
    --sprig-r: none;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
    box-sizing: border-box;
    margin: 0;
    padding: 0.18rem 0.8rem;
    max-width: 100%;
    background: #fff;
    color: #c0485c;
    font-family: var(--mincho);
    font-size: 0.26rem;
    font-weight: 500;
    font-synthesis: none;
    letter-spacing: 0.08em;
    line-height: 1.35;
    clip-path: polygon(0.16rem 0, calc(100% - 0.16rem) 0, 100% 50%, calc(100% - 0.16rem) 100%, 0.16rem 100%, 0 50%);
    pointer-events: auto;
  }

  body.sp_home_preview .sp_mv_place_sprig {
    position: absolute;
    z-index: 1;
    top: 50%;
    width: 0.48rem;
    height: 0.38rem;
    background: center / contain no-repeat;
    transform: translateY(-50%);
    pointer-events: none;
  }

  body.sp_home_preview .sp_mv_place_sprig--l {
    left: 0.26rem;
    background-image: var(--sprig-l);
  }

  body.sp_home_preview .sp_mv_place_sprig--r {
    right: 0.24rem;
    background-image: var(--sprig-r);
  }

  body.sp_home_preview .sp_mv_place_badge.is-sprig-mirror-r .sp_mv_place_sprig--r {
    transform: translateY(-50%) scaleX(-1);
  }

  body.sp_home_preview .sp_mv_place_badge .sp_mv_place_pin,
  body.sp_home_preview .sp_mv_place_badge .sp_mv_place_txt {
    position: relative;
    z-index: 2;
  }

  body.sp_home_preview .sp_mv_place_pin {
    width: 0.32rem;
    height: 0.32rem;
    flex: 0 0 auto;
  }

  body.sp_home_preview .sp_mv_place_txt {
    white-space: nowrap;
  }

  body.sp_home_preview .sp_mv_cert {
    --cert-leaf-l: none;
    --cert-leaf-r: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.14rem;
    margin: 0;
    padding: 0.2rem 0.32rem;
    background: #f38584;
    color: #fff;
    font-family: var(--mincho);
    font-size: 0.26rem;
    font-weight: 500;
    font-synthesis: none;
    letter-spacing: 0.04em;
    line-height: 1.35;
  }

  body.sp_home_preview .sp_mv_cert[style*='--cert-leaf-l'],
  body.sp_home_preview .sp_mv_cert[style*='--cert-leaf-r'] {
    padding-left: 0.28rem;
    padding-right: 0.28rem;
  }

  body.sp_home_preview .sp_mv_cert_txt {
    position: relative;
    z-index: 1;
    flex: 0 1 auto;
    text-align: center;
    white-space: nowrap;
  }

  /* 文字のすぐ左右に葉を置く（帯端ではなく） */
  body.sp_home_preview .sp_mv_cert_leaf {
    position: relative;
    z-index: 0;
    top: auto;
    left: auto !important;
    right: auto !important;
    flex: 0 0 auto;
    width: 0.46rem;
    height: 0.46rem;
    background: center / contain no-repeat;
    transform: none;
    pointer-events: none;
  }

  body.sp_home_preview .sp_mv_cert_leaf--l {
    background-image: var(--cert-leaf-l);
  }

  body.sp_home_preview .sp_mv_cert_leaf--r {
    background-image: var(--cert-leaf-r);
  }

  body.sp_home_preview .sp_mv_cert.is-cert-leaf-mirror-r .sp_mv_cert_leaf--r {
    transform: scaleX(-1);
  }

  body.sp_home_preview.sp_home_redesign .sp_mv_place_badge {
    font-size: 0.26rem;
  }

  body.sp_home_preview.sp_home_redesign .sp_mv_cert {
    font-size: 0.26rem;
  }

  body.sp_home_preview.sp_home_redesign .sp_mv_cert_leaf--l,
  body.sp_home_preview.sp_home_redesign .sp_mv_cert_leaf--r {
    left: auto;
    right: auto;
  }

  body.sp_home_preview .sp_mv_commit {
    position: relative;
    isolation: isolate;
    padding: 0.45rem 0.4rem 0.7rem;
    background: #fefbf7 url('../images/sp_mv_flowers.jpg') center bottom / min(880px, 76%) auto no-repeat;
  }

  /* PC：左右 PNG（拡大しない・SP と同じコーナー飾り） */
  body.sp_home_preview .sp_mv_commit.is-flowers-split {
    --sp-mv-flowers-deco-inset: clamp(40px, 5vw, 72px);
    overflow: visible;
    background-image: none;
    background-color: #fefbf7;
    padding-bottom: 100px;
  }

  body.sp_home_preview .sp_mv_commit.is-flowers-split > :not(.sp_mv_commit_deco) {
    position: relative;
    z-index: 1;
  }

  body.sp_home_preview .sp_mv_commit.is-flowers-split .sp_mv_commit_deco {
    display: block;
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
  }

  body.sp_home_preview .sp_mv_commit_deco_img {
    position: absolute;
    bottom: 0;
    width: auto;
    height: auto;
    max-height: 194px;
  }

  body.sp_home_preview .sp_mv_commit_deco_img.is-l {
    left: var(--sp-mv-flowers-deco-inset, 56px);
    max-width: min(157px, 22vw);
  }

  body.sp_home_preview .sp_mv_commit_deco_img.is-r {
    right: var(--sp-mv-flowers-deco-inset, 56px);
    max-width: min(430px, 38vw);
  }

  body.sp_home_preview .sp_mv_commit h2 {
    margin: 0;
    color: #5a4032 !important;
    font-family: var(--mincho);
    font-size: 0.36rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    line-height: 1.45;
    text-align: center;
  }

  body.sp_home_preview .sp_mv_rule {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.12rem;
    width: 2.8rem;
    max-width: 88%;
    margin: 0.18rem auto 0.2rem;
  }

  body.sp_home_preview .sp_mv_rule::before,
  body.sp_home_preview .sp_mv_rule::after {
    content: '';
    flex: 1 1 0;
    min-width: 0.4rem;
    height: 2px;
    background: #c9b8aa;
    border-radius: 1px;
  }

  /* 本番の picture ラップでアイコンが左に寄るのを防ぐ */
  body.sp_home_preview .sp_mv_rule picture {
    flex: 0 0 auto;
    display: block;
    width: 0.28rem;
    line-height: 0;
  }

  body.sp_home_preview .sp_mv_rule_icon {
    flex: 0 0 auto;
    display: block;
    width: 0.28rem;
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }

  body.sp_home_preview .sp_mv_commit_txt {
    margin: 0 auto;
    max-width: 7.2rem;
    color: #5c4638;
    font-size: 0.18rem;
    letter-spacing: 0.04em;
    line-height: 1.7;
  }

  /* PC の #cont_body grid 横並びを解除し縦積み */
  body.sp_home_preview.sp_home_redesign #cont_body {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
  }

  body.sp_home_preview.sp_home_redesign #cont_body > * {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    grid-column: auto !important;
    float: none !important;
  }

  /* #cont_body > * より詳細度を上げてフル幅ブレイクアウト */
  body.sp_home_preview.sp_home_redesign #cont_body > .sp_mv,
  body.sp_home_preview.sp_home_redesign #cont_body > .sp_home_event_bnr,
  body.sp_home_preview.sp_home_redesign #cont_body > .sp_home_below {
    width: auto !important;
    max-width: none !important;
    margin-left: var(--margin-full) !important;
    margin-right: var(--margin-full) !important;
  }

  body.sp_home_preview.sp_home_redesign .sp_home_front_blocks {
    display: flex !important;
    flex-direction: column !important;
  }

  /* display:contents で .home_style の max-width:930px が消えるため、
     本番で 930 内に収まるブロックだけ同等制約（.home_cta / .home_voice 等のフル幅は除外） */
  body.sp_home_preview.sp_home_redesign .sp_home_front_blocks .home_banner1,
  body.sp_home_preview.sp_home_redesign .sp_home_front_blocks .home_banner2,
  body.sp_home_preview.sp_home_redesign .sp_home_front_blocks .home_access,
  body.sp_home_preview.sp_home_redesign .sp_home_front_blocks .home_practice_support,
  body.sp_home_preview.sp_home_redesign .sp_home_front_blocks .home_teacher_introduction {
    max-width: 930px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }

  /* .home_cta は背景フル幅のまま、中身だけ本番同様 930px に揃える */
  body.sp_home_preview.sp_home_redesign .sp_home_front_blocks .home_cta {
    padding-left: max(0px, calc((100vw - 930px) / 2));
    padding-right: max(0px, calc((100vw - 930px) / 2));
    box-sizing: border-box;
  }

  /* CTA ピルボタン：和文＋矢印の視覚バランス（上下中央・左右均等） */
  body.sp_home_preview.sp_home_redesign .home_cta .home_common_btn2 a {
    line-height: 1;
    padding: 0.14rem 0.34rem;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
  }

  body.sp_home_preview.sp_home_redesign .home_cta .home_common_btn2 a::before {
    flex: 0 0 auto;
    align-self: center;
    position: relative;
    top: 0.01rem;
  }

  body.sp_home_preview.sp_home_redesign .sp_home_event_bnr {
    padding: 0.4rem var(--padding-full);
    background: #f5f4ec;
    box-sizing: border-box;
  }

  body.sp_home_preview.sp_home_redesign .sp_home_event_bnr .home_freelesson_bnr {
    max-width: 10.6rem !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.sp_home_preview.sp_home_redesign .sp_home_powers.is-service-style {
    margin: 0;
    padding: 0.65rem var(--padding-full) 0.7rem;
  }

  body.sp_home_preview.sp_home_redesign .sp_home_powers.is-service-style .sp_home_powers_head {
    max-width: 10.6rem;
    margin-left: auto;
    margin-right: auto;
    border-bottom: none;
  }

  body.sp_home_preview.sp_home_redesign .sp_home_powers.is-service-style .sp_home_powers_title img {
    max-width: 6.4rem;
  }

  body.sp_home_preview.sp_home_redesign .sp_home_powers.is-service-style .sp_home_power_list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    max-width: 10.6rem;
    margin: 0.36rem auto 0;
  }

  body.sp_home_preview.sp_home_redesign .sp_home_powers.is-service-style .sp_home_power_item {
    padding: 0.28rem 0.2rem;
    border: none;
    border-radius: 0;
    background: transparent;
    box-sizing: border-box;
    text-align: justify;
  }

  /* 縦線の左右余白が同じに見えるように（gap なし＋左右同 padding） */
  body.sp_home_preview.sp_home_redesign .sp_home_powers.is-service-style .sp_home_power_item + .sp_home_power_item {
    border-left: 1px solid rgb(255 255 255 / 28%);
  }

  body.sp_home_preview.sp_home_redesign .sp_home_powers.is-service-style .sp_home_power_title {
    font-size: 0.24rem;
    line-height: 1.45;
  }

  body.sp_home_preview.sp_home_redesign .sp_home_powers.is-service-style .sp_home_power_tags {
    margin-top: 0.1rem;
    font-size: 0.16rem;
    line-height: 1.55;
  }

  body.sp_home_preview.sp_home_redesign .sp_home_powers.is-service-style .sp_home_power_desc {
    margin-top: 0.12rem;
    font-size: 0.18rem;
    line-height: 1.7;
  }

  body.sp_home_preview.sp_home_redesign .sp_home_courses {
    margin: 0;
    padding: 0.7rem var(--padding-full) 0.8rem;
    background: #f5f4ec;
  }

  body.sp_home_preview.sp_home_redesign .sp_home_courses .sp_home_sec_h,
  body.sp_home_preview.sp_home_redesign .sp_home_courses_lead,
  body.sp_home_preview.sp_home_redesign .sp_home_course_jumps,
  body.sp_home_preview.sp_home_redesign .sp_home_course_list {
    max-width: 10.6rem;
    margin-left: auto;
    margin-right: auto;
  }

  body.sp_home_preview.sp_home_redesign .sp_home_courses.has-heading-img #sp_home_courses_h img {
    max-width: 6.4rem;
  }

  body.sp_home_preview.sp_home_redesign .sp_home_courses_lead {
    max-width: 7.8rem;
    margin-top: 0.28rem;
    margin-bottom: 0.28rem;
    font-size: 0.18rem;
    line-height: 1.7;
  }

  body.sp_home_preview.sp_home_redesign .sp_home_course_jump_list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.14rem;
  }

  body.sp_home_preview.sp_home_redesign .sp_home_course_jump {
    padding: 0.16rem 0.18rem 0.16rem 0.2rem;
    font-size: 0.16rem;
    border-radius: 0.1rem;
  }

  body.sp_home_preview.sp_home_redesign .sp_home_course_list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.24rem;
    margin-top: 0.28rem;
  }

  body.sp_home_preview.sp_home_redesign .sp_home_course_card {
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 0 9.5px 0.5px rgba(199, 199, 199, 0.3);
  }

  body.sp_home_preview.sp_home_redesign .sp_home_course_row {
    flex: 1 1 auto;
  }

  body.sp_home_preview.sp_home_redesign .sp_home_course_main {
    padding: 0.18rem 0.22rem 0;
  }

  body.sp_home_preview.sp_home_redesign .sp_home_course_lead {
    font-size: 0.16rem;
  }

  body.sp_home_preview.sp_home_redesign .sp_home_course_title {
    font-size: 0.24rem;
    line-height: 1.45;
  }

  body.sp_home_preview.sp_home_redesign .sp_home_course_desc {
    font-size: 0.18rem;
    line-height: 1.7;
  }

  body.sp_home_preview.sp_home_redesign .sp_home_course_more {
    padding: 0.16rem 0.22rem 0.22rem;
  }

  body.sp_home_preview.sp_home_redesign .sp_home_course_btn {
    font-size: 0.16rem;
  }

  /* 無料体験＋直下の認定帯：親 .sp_home_below がフル幅なので幅100% */
  body.sp_home_preview.sp_home_redesign .sp_home_trial_wave,
  body.sp_home_preview.sp_home_redesign .sp_home_trial,
  body.sp_home_preview.sp_home_redesign .sp_mv_cert.sp_home_cert_repeat,
  body.sp_home_preview .sp_home_trial_repeat .sp_home_trial_wave,
  body.sp_home_preview .sp_home_trial_repeat .sp_home_trial,
  body.sp_home_preview .sp_home_trial_repeat .sp_mv_cert {
    max-width: none !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* 上段・資格下リピートとも同じサイズ感 */
  body.sp_home_preview.sp_home_redesign .sp_home_trial,
  body.sp_home_preview .sp_home_trial_repeat .sp_home_trial {
    padding: 0.4rem var(--padding-full) 0.48rem;
    min-height: min(200px, 24vh);
    overflow: hidden;
  }

  body.sp_home_preview.sp_home_redesign .sp_home_trial_lead,
  body.sp_home_preview .sp_home_trial_repeat .sp_home_trial_lead,
  body.sp_home_preview .block_cod .sp_home_trial_repeat .sp_home_trial_lead {
    font-size: 0.24rem !important;
    line-height: 1.45;
  }

  /* PC：左右分割の葉を表示。SP用の下端1枚は隠す */
  body.sp_home_preview .sp_home_trial.has-deco-bottom .sp_home_trial_deco.is-deco-bottom {
    display: none !important;
  }

  body.sp_home_preview .sp_home_trial.has-deco-bottom .sp_home_trial_deco.is-deco-split,
  body.sp_home_preview .sp_home_trial_deco.is-deco-split {
    display: block;
    height: min(180px, 22vh);
  }

  body.sp_home_preview .sp_home_trial_deco_img.is-l {
    max-width: min(260px, 22vw);
  }

  body.sp_home_preview .sp_home_trial_deco_img.is-r {
    max-width: min(210px, 18vw);
  }

  body.sp_home_preview.sp_home_redesign .sp_home_trial_btn_wrap,
  body.sp_home_preview .sp_home_trial_repeat .sp_home_trial_btn_wrap {
    width: min(100%, 5.8rem);
    max-width: 7.2rem;
    margin-top: 0.28rem;
    padding: 0.08rem;
    box-sizing: border-box;
  }

  body.sp_home_preview.sp_home_redesign .sp_home_trial_btn,
  body.sp_home_preview .sp_home_trial_repeat .sp_home_trial_btn,
  body.sp_home_preview .block_cod .sp_home_trial_repeat .sp_home_trial_btn {
    width: 100%;
    min-width: 0;
    max-width: none;
    justify-content: center;
    padding: 0.3rem 0.72rem;
    font-size: 0.22rem !important;
    gap: 0.12rem;
    box-sizing: border-box;
  }

  body.sp_home_preview.sp_home_redesign .sp_home_trial_arr,
  body.sp_home_preview .sp_home_trial_repeat .sp_home_trial_arr {
    font-size: 0.26rem;
  }

  body.sp_home_preview.sp_home_redesign .sp_home_trial_corner,
  body.sp_home_preview .sp_home_trial_repeat .sp_home_trial_corner {
    width: 0.28rem;
    height: 0.28rem;
  }

  /* わたしたちの強み：添付3（フル幅背景＋中央白カード） */
  body.sp_home_preview.sp_home_redesign .sp_home_our_strengths {
    display: block !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: none !important;
    width: 100% !important;
    padding: 0;
    background: #e7f2e4;
  }

  body.sp_home_preview.sp_home_redesign .sp_home_strengths_stage {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: none;
    min-height: 6.4rem;
    margin: 0;
    padding: 0.64rem var(--padding-full);
    box-sizing: border-box;
  }

  body.sp_home_preview.sp_home_redesign .sp_home_strengths_photo {
    border-radius: 0;
  }

  body.sp_home_preview.sp_home_redesign .sp_home_strengths_photo img {
    object-position: center center;
  }

  body.sp_home_preview.sp_home_redesign .sp_home_strengths_card {
    width: 100%;
    max-width: 10.6rem;
    margin: 0 auto;
    padding: 0.48rem 0.56rem 0.52rem;
    border: 1px solid #c5cec0;
    box-sizing: border-box;
  }

  body.sp_home_preview.sp_home_redesign .sp_home_strengths_title {
    margin-bottom: 0.28rem;
    font-size: 0.36rem;
    letter-spacing: 0.1em;
  }

  body.sp_home_preview.sp_home_redesign .sp_home_strengths_corner {
    width: 0.3rem;
    height: 0.3rem;
  }

  body.sp_home_preview.sp_home_redesign .sp_home_our_strength_list {
    margin-top: 0.08rem;
    font-size: 0.22rem;
    line-height: 1.45;
  }

  body.sp_home_preview.sp_home_redesign .sp_home_our_strength_body {
    column-gap: 0.18rem;
    padding: 0.2rem 0 0.24rem;
  }

  body.sp_home_preview.sp_home_redesign .sp_home_our_strength_num {
    width: 0.84rem;
  }

  body.sp_home_preview.sp_home_redesign .sp_home_our_strength_txt {
    font-size: inherit;
    line-height: 1.55;
  }

  body.sp_home_preview.sp_home_redesign .sp_home_our_strengths .sp_home_preview_more {
    margin-top: 0.28rem;
  }

  body.sp_home_preview.sp_home_redesign .sp_home_our_strengths .sp_home_preview_btn {
    min-width: 2.8rem;
    padding: 0.14rem 0.24rem;
    font-size: 0.16rem;
  }

  /* 資格：SP と同じ構図（写真は高さ上限） */
  body.sp_home_preview .home_search_qualification {
    margin-top: 0;
    padding: 0 0 0.55rem;
    background: #f5f4ec;
    box-sizing: border-box;
  }

  body.sp_home_preview .sp_home_qual_visual {
    width: 100%;
    max-width: none;
    margin: 0 0 0.55rem;
  }

  body.sp_home_preview .sp_home_qual_visual picture,
  body.sp_home_preview .sp_home_qual_visual img {
    display: block;
    width: 100%;
    height: min(360px, 32vw);
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center;
  }

  body.sp_home_preview .sp_home_qual_band {
    right: max(0.24rem, calc(50% - 5.3rem));
    bottom: 0;
    left: max(0.24rem, calc(50% - 5.3rem));
    padding: 0.26rem 0.36rem;
    transform: translateY(42%);
  }

  body.sp_home_preview .sp_home_qual_corner {
    width: 0.26rem;
    height: 0.26rem;
  }

  body.sp_home_preview .block_cod .home_search_qualification h2.sp_home_qual_title {
    font-size: 0.28rem;
    letter-spacing: 0.08em;
  }

  body.sp_home_preview .sp_home_qual_lead {
    max-width: 8.4rem;
    margin: 0.48rem auto 0.32rem;
    padding: 0 0.2rem;
    font-size: 0.16rem;
    line-height: 1.75;
  }

  body.sp_home_preview .home_search_qualification ul {
    max-width: 10.6rem;
    margin-left: auto;
    margin-right: auto;
    padding: 0 0.2rem;
    gap: 0.2rem 0.16rem;
    box-sizing: border-box;
  }

  body.sp_home_preview .home_search_qualification ul li.is-full {
    grid-template-columns: 2.4rem 1fr;
    gap: 0.1rem 0.2rem;
  }

  body.sp_home_preview .home_search_qualification ul li.is-full .logo {
    width: 2.4rem;
  }

  body.sp_home_preview .home_search_qualification ul li .logo img {
    height: 0.56rem;
  }

  body.sp_home_preview .home_search_qualification ul li.is-logo-sm .logo img {
    height: 0.48rem;
  }

  body.sp_home_preview .home_search_qualification ul li .text p {
    font-size: 0.16rem;
    line-height: 1.5;
  }

  body.sp_home_preview .home_search_qualification ul li .sp_home_qual_name {
    font-size: 0.14rem;
  }

  /* home_test：差し替え漏れ時の講師紹介非表示（本番フロントには当てない） */
  body.sp_home_test .home_teacher_introduction {
    display: none !important;
  }

  body.sp_home_preview .sp_home_graduates {
    width: auto;
    max-width: none;
    margin-left: var(--margin-full);
    margin-right: var(--margin-full);
    padding: 0 0 0.9rem;
  }

  body.sp_home_preview .sp_home_graduates_visual {
    width: 100%;
    max-width: none;
    margin: 0 0 0.55rem;
  }

  body.sp_home_preview .sp_home_graduates_visual picture,
  body.sp_home_preview .sp_home_graduates_visual img {
    height: min(280px, 26vw);
    aspect-ratio: auto;
  }

  body.sp_home_preview .sp_home_graduates_band {
    right: max(0.24rem, calc(50% - 5.3rem));
    left: max(0.24rem, calc(50% - 5.3rem));
    padding: 0.26rem 0.36rem;
  }

  body.sp_home_preview .sp_home_graduates_corner {
    width: 0.26rem;
    height: 0.26rem;
  }

  body.sp_home_preview .block_cod .sp_home_graduates_band h2.sp_home_graduates_title {
    font-size: 0.28rem;
    letter-spacing: 0.08em;
  }

  body.sp_home_preview .sp_home_graduates_body {
    max-width: 10.6rem;
    margin: 0 auto;
    padding: 0.48rem 0.2rem 0;
  }

  body.sp_home_preview .sp_home_graduates_en {
    font-size: 0.14rem;
  }

  body.sp_home_preview .sp_home_graduates_catch {
    font-size: 0.26rem;
  }

  body.sp_home_preview .sp_home_graduates_lead {
    max-width: none;
    font-size: 0.16rem;
  }

  body.sp_home_preview .sp_home_graduates_sub {
    margin-top: 0.55rem;
    font-size: 0.26rem;
  }

  body.sp_home_preview .sp_home_grad_path_list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.36rem 0.3rem;
  }

  body.sp_home_preview .sp_home_grad_path_caption {
    font-size: 0.16rem;
  }

  body.sp_home_preview .sp_home_graduates_more {
    margin-top: 0.48rem;
  }

  body.sp_home_preview .sp_home_graduates_more_btn {
    min-width: 3.2rem;
    padding: 0.16rem 0.36rem;
    font-size: 0.15rem;
  }

  /* 資格下の無料体験リピート：親幅からブレイクアウト */
  body.sp_home_preview .sp_home_trial_repeat {
    width: auto !important;
    max-width: none !important;
    margin-left: var(--margin-full) !important;
    margin-right: var(--margin-full) !important;
    box-sizing: border-box;
  }

  body.sp_home_preview .sp_home_trial_repeat .sp_home_trial_wave,
  body.sp_home_preview .sp_home_trial_repeat .sp_home_trial,
  body.sp_home_preview .sp_home_trial_repeat .sp_mv_cert {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* 就職・開業：SP と同じ構図（横幅いっぱい・写真は高さ上限） */
  body.sp_home_preview .sp_home_job {
    width: auto;
    max-width: none;
    margin-left: var(--margin-full);
    margin-right: var(--margin-full);
    background: #f5f4ec;
    box-sizing: border-box;
  }

  body.sp_home_preview .sp_home_job_visual {
    width: 100%;
    max-width: none;
    margin: 0 0 0.55rem;
  }

  body.sp_home_preview .sp_home_job_visual picture,
  body.sp_home_preview .sp_home_job_visual img {
    display: block;
    width: 100%;
    height: min(360px, 32vw);
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center;
  }

  body.sp_home_preview .sp_home_job_band {
    right: max(0.24rem, calc(50% - 5.3rem));
    bottom: 0;
    left: max(0.24rem, calc(50% - 5.3rem));
    padding: 0.26rem 0.36rem;
    transform: translateY(42%);
  }

  body.sp_home_preview .sp_home_job_corner {
    width: 0.26rem;
    height: 0.26rem;
  }

  body.sp_home_preview .block_cod .sp_home_job_band h2.sp_home_job_title {
    font-size: 0.28rem;
    letter-spacing: 0.08em;
  }

  body.sp_home_preview .sp_home_job_body {
    max-width: 10.6rem;
    margin: 0 auto;
    padding: 0.48rem 0.2rem 0.5rem;
    box-sizing: border-box;
  }

  /* .job_body > p より詳細度を上げる（lead も p のため） */
  body.sp_home_preview .sp_home_job_body > p.sp_home_job_lead {
    margin: 0;
    color: #5a4032;
    font-family: var(--mincho);
    font-size: 0.26rem;
    font-weight: 500;
    font-synthesis: none;
    letter-spacing: 0.1em;
    line-height: 1.5;
    text-align: center;
  }

  body.sp_home_preview .sp_home_job_body > p:not(.sp_home_job_lead),
  body.sp_home_preview .sp_home_job_close {
    font-size: 0.16rem;
    line-height: 1.75;
  }

  body.sp_home_preview .sp_home_job_list {
    margin-top: 0.28rem;
  }

  body.sp_home_preview .sp_home_job_list li + li {
    margin-top: 0.16rem;
    padding-top: 0.36rem;
    background-size: min(100%, 817px) auto;
  }

  body.sp_home_preview .block_cod .sp_home_job_list h3 {
    font-size: 0.22rem;
  }

  body.sp_home_preview .sp_home_job_list p {
    font-size: 0.16rem;
    line-height: 1.7;
  }

  body.sp_home_preview .sp_home_job .sp_home_preview_more {
    margin-top: 0.28rem;
  }

  body.sp_home_preview .sp_home_job .sp_home_preview_btn {
    min-width: 2.8rem;
    padding: 0.14rem 0.24rem;
    font-size: 0.16rem;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  body.sp_home_preview .sp_mv_commit h2 {
    font-size: 0.3rem;
  }

  body.sp_home_preview.sp_home_redesign .sp_home_powers.is-service-style .sp_home_power_title,
  body.sp_home_preview.sp_home_redesign .sp_home_course_title {
    font-size: 0.2rem;
  }

  body.sp_home_preview.sp_home_redesign .sp_home_powers.is-service-style,
  body.sp_home_preview.sp_home_redesign .sp_home_courses {
    padding-top: 0.5rem;
    padding-bottom: 0.55rem;
  }

  body.sp_home_preview.sp_home_redesign .sp_home_our_strength_list {
    font-size: 0.22rem;
  }
}
