@charset "utf-8";
/**
 * shogaku 比較（添削で選ぶなら 断然スマイルゼミ）
 *
 * .cmp・.cx 以下は、12月度改訂モック（smilezemi-site/css/style.css）の比較セクション（.cmp--red）の指定を移したもの。
 * モックは上書きが重なっているので、読み込み順のまま残している（順番を変えると見た目が変わる）。
 * スマホ幅 375px で作ったモックの数値のまま、.l-sect-cmp の zoom でページと同じ大きさにそろえる（youji-pre-cmp.css と同じ作り）。
 * モックで vw を使っていた値は、375px のときの値にしている。
 */

/* ========================================
 * セクション
 * ======================================== */
.l-sect-cmp {
  zoom: 2;
  max-width: 375px;
  padding: 0;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: normal;
  color: #4a3a34;
}
.l-sect-cmp,
.l-sect-cmp *:not(svg):not(svg *) {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
}
.l-sect-cmp *,
.l-sect-cmp *::before,
.l-sect-cmp *::after {
  box-sizing: border-box;
}
.l-sect-cmp :where(h2, p, ul, li, figure) {
  margin: 0;
  padding: 0;
}
.l-sect-cmp :where(ul) {
  list-style: none;
}

/* NEW バッジ：画面に入ったら、ひょこっと出す（shogaku-new.js が .is-in を付ける） */
.l-sect-cmp .js-cx-pop.is-ready {
  opacity: 0;
}
.l-sect-cmp .js-cx-pop.is-in {
  animation: cxPop .6s cubic-bezier(.3, 1.4, .5, 1) both;
}
@keyframes cxPop {
  0% { opacity: 0; transform: translate(-6px, 12px) rotate(-18deg) scale(.2); }
  55% { opacity: 1; transform: translate(0, -3px) rotate(4deg) scale(1.18); }
  80% { opacity: 1; transform: rotate(-2deg) scale(.96); }
  100% { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .l-sect-cmp .js-cx-pop.is-ready { opacity: 1; }
  .l-sect-cmp .js-cx-pop.is-in { animation: none; }
}

/* ========================================
 * 比較（モックの指定）
 * ======================================== */
section.l-sect-cmp.cmp img { display: block; width: 100%; height: auto; }
.cmp { background: #fff; }
.cmp__title { margin: 0; padding: 44px 16px 16px; text-align: center; font-size: 32px; line-height: 1.55; letter-spacing: .06em; font-weight: 700; color: #4a3a34; }
.cmp__note { margin: 0; padding: 18px 24px 44px calc(24px + 1.4em); font-size: 13px; line-height: 1.9; color: #333; letter-spacing: .02em; text-indent: -1.4em; }
.cmp__note span { display: inline-block; width: 1.4em; text-indent: 0; }
.cmp__icon { display: block; width: 80px; height: 80px; margin: 40px auto 0; }
.cmp__title { padding-top: 10px; }
section.l-sect-cmp.cmp img.cmp__icon { width: 56px; height: 56px; margin: 36px auto 0; }
section.l-sect-cmp.cmp img.cmp__icon { width: 88px; height: 88px; margin: 28px auto -4px; }
.cmp__note { margin-top: -18px; padding-top: 0; }
.cmp__title { font-size: 30px; line-height: 1.4; letter-spacing: 0; }
.cmp__note { line-height: 1.6; }
section.l-sect-cmp.cmp img.cmp__icon { margin-top: 0; }
.cmp__title { padding-bottom: 0; }
.cmp__note, .cmp__note span { font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif; letter-spacing: 0; }
.cmp__note { padding-bottom: 6px; }
.cmp__note { font-size: 11.5px; line-break: strict; }
.cmp__title { padding-bottom: 24px; }
.cmp__title { padding-bottom: 8px; }
.cmp__note { margin-top: 6px; }
section.l-sect-cmp.cmp img.cmp__icon { margin-top: 4px; }
.cmp__note { padding-left: calc(40px + 1.4em); padding-right: 40px; }
.cx { margin: 0 auto; padding: 4.9% 4.3% 4.9% 6.4%; }
.cx__in { container-type: inline-size; display: grid; grid-template-columns: minmax(0, 47.5fr) minmax(0, 47fr); column-gap: 3.2%; align-items: start; }
.cx__col { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.cx__col--sz { z-index: 2; padding: 10.11px 8.22px 18.96px; border-radius: 23.7px; background: #fff; box-shadow: 0 5.06px 15.8px rgba(0, 0, 0, .14); }
.cx__col--old { margin-top: 5.06px; padding: 12.01px 6.32px 18.96px; border-radius: 18.96px; background: #f3f3f3; align-self: stretch; }
.cx__logo { width: 123.24px; max-width: 100%; height: auto; }
.cx__oldtitle { margin: 6.95px 0 0; color: #8d8d8d; font-size: 11.38px; font-weight: 700; letter-spacing: .01em; line-height: 1.3; }
.cx__photo { display: block; width: 76%; margin-top: 4.42px; background-repeat: no-repeat; }
.cx__photo--tablet { aspect-ratio: 430 / 270; background-size: calc(1500 / 430 * 100%) auto; background-position: calc(190 / (1500 - 430) * 100%) calc(305 / (1478 - 270) * 100%); }
.cx__photo--books { width: 80%; aspect-ratio: 440 / 290; background-size: calc(1500 / 440 * 100%) auto; background-position: calc(870 / (1500 - 440) * 100%) calc(270 / (1478 - 290) * 100%); }
.cx__head { position: relative; display: grid; gap: 2.53px; width: 100%; margin-top: 9.48px; padding: 11.38px 1.9px 12.01px; border-radius: 14.54px; color: #fff; line-height: 1.15; box-shadow: 0 1.58px 4.42px rgba(0, 0, 0, .12); }
.cx__head small { font-size: 8.53px; font-weight: 700; letter-spacing: .02em; }
.cx__head b { font-size: 16.12px; font-weight: 900; letter-spacing: 0; white-space: nowrap; }
.cx__head--sz { background: #58AE2B; }
.cx__head--old { background: #a0a0a0; margin-top: 10.74px; }
.cx__new { position: absolute; left: -14.54px; top: -14.54px; display: grid; place-items: center; width: 31.6px; height: 31.6px; border-radius: 50%; background: #E8242A; color: #fff; font-size: 10.11px; font-weight: 900; letter-spacing: .02em; line-height: 1; }
.cx__list { display: grid; gap: 5.69px; margin: 10.74px 0 0; padding: 0; list-style: none; text-align: left; }
.cx__list li { display: flex; align-items: center; gap: 6.32px; font-size: 9.8px; font-weight: 700; line-height: 1.3; color: #222; white-space: nowrap; }
.cx__list--old li { color: #555; gap: 1.9px; }
.cx__list--old li::before { content: "・"; }
.cx__mk { position: relative; flex: 0 0 auto; width: 12.96px; height: 12.96px; border: 1.9px solid #E8422F; border-radius: 50%; box-sizing: border-box; }
.cx__mk::after { content: ""; position: absolute; inset: 1.74px; border: 1.9px solid #E8422F; border-radius: 50%; }
.cx__arrow { display: block; margin-top: 9.48px; line-height: 0; }
.cx__arrow svg { width: 20.86px; height: auto; }
.cx__head b { font-weight: 700; }
.cx__head small, .cx__oldtitle { font-weight: 500; }
.cx__in { align-items: stretch; }
.cx__col--old { margin-top: 0; }
.cx__photo--tablet { width: 120.71px; height: 75.84px; }
.cx__photo--books { width: 115.02px; height: 75.84px; }
.cx__arrow { margin-top: auto; padding-top: 9.48px; }
.cx__in { grid-template-rows: repeat(6, auto); }
.cx__col { display: grid; grid-row: 1 / span 6; grid-template-rows: subgrid; justify-items: center; align-content: start; }
.cx__col > * { align-self: start; }
.cx__col--sz, .cx__col--old { padding-top: 11.06px; }
.cx__logo, .cx__oldtitle { align-self: center; }
.cx__oldtitle { margin-top: 0; }
.cx__head--old { margin-top: 9.48px; }
.cx__arrow { margin-top: 0; padding-top: 9.48px; }
.cx__mk { border-width: 0.95px; }
.cx__mk::after { inset: 2.21px; border-width: 0.95px; }
.cx__in { position: relative; }
.cx__in::before { content: ""; position: absolute; z-index: 0; top: 5.06px; bottom: 0; left: 44%; right: -6.95px; border-radius: 23.7px; background: #fff; box-shadow: 0 1.9px 7.58px rgba(0, 0, 0, .09); transform-origin: 0 50%; }
.cx__col--old { z-index: 1; background: transparent; }
.cx__col--old::before { content: ""; position: absolute; z-index: -1; top: 7.58px; bottom: 7.58px; left: 0; right: 0; border-radius: 18.96px; background: #f3f3f3; }
.cx__logo { width: 94.8px; }
.cx__in::before { top: -6.95px; bottom: -6.95px; left: -6.95px; right: -6.95px; }
.cx__in { column-gap: 8.53px; }
.cx__in::before { top: -8.53px; bottom: -8.53px; left: -8.53px; right: -8.53px; }
.cx__col--old::before { top: 0; bottom: 0; }
.cx__col--old { padding-left: 3.16px; padding-right: 3.16px; }
.cx__head { min-width: 0; }
.cx__in { column-gap: 2.7%; }
.cx__head { box-shadow: none; }
.cx__head { border-radius: 30px; }
.cx__col--old { padding-left: 8.22px; padding-right: 8.22px; }
.cx__head b { font-size: 14.22px; }
.cx__col--sz { border-radius: 23.7px; }
.cx__col--old::before { border-radius: 23.7px; }
.cx__in::before { border-radius: 32.23px; }
.cx__logo { width: 75.84px; }
.cx__new { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 700; }
section.l-sect-cmp.cmp img.cx__logo { width: 75.84px; max-width: 100%; margin: 0; }
.cx__new { left: -10.11px; top: -10.74px; }
section.l-sect-cmp.cmp img.cx__logo { display: block; width: 70%; height: auto; margin-top: 5%; }
.cx__head { border-radius: 40px; }
.cx__mk { border-width: 1.42px; }
.cx__in::before, .cx__col--sz { box-shadow: 0 0.32px 9.48px rgba(0, 0, 0, .1); }
.cx__mk::after { inset: 1.58px; }
.cx__arrow svg { width: 15.8px; }
.cmp--red .cx__head--sz { background: #d93026; }
.cmp--red .cx__new { background: #fff; color: #d93026; box-shadow: 0 1px 6px rgba(0, 0, 0, .18); }
.cmp--red .cx__card { box-sizing: border-box; width: 100%; display: grid; justify-items: center; gap: 3.79px; padding: 9.48px 6.32px 10.11px; border-radius: 10.74px; background: #fff; box-shadow: 0 1.58px 6.32px rgba(0, 0, 0, .08); text-align: center; color: #111; }
.cmp--red .cx__card img { width: 44.24px; height: auto; }
.cmp--red .cx__card b { font-size: 13.59px; font-weight: 900; line-height: 1.35; white-space: nowrap; }
.cmp--red .cx__card small { font-size: 9.48px; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.cmp--red .cx__card img { width: 48.75px; max-width: 100%; height: auto; }
.cmp--red .cx__card img { width: 48.75px !important; height: auto !important; max-width: 100%; }
.cx__logo[src$="logo_shogaku.svg"] { width: 120.08px; height: auto; }
.cmp--red .cx__card { background: none; box-shadow: none; border-radius: 0; padding: 0; margin-top: 8.22px; gap: 3.79px; }
.cmp--red .cx__card b { font-size: 14.54px; font-weight: 500; line-height: 1.5; color: #111; white-space: nowrap; }
.cmp--red .cx__card small { font-size: 9.8px; font-weight: 500; color: #555; }
.cmp--red .cx__card b { font-weight: 700; }
.cmp--red .cx__card small { font-weight: 700; }
.cx__hana, .cx__scr { position: absolute; left: 50%; top: 50%; width: 128%; height: 150%; transform: translate(-50%, -50%); overflow: visible; pointer-events: none; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.cx__hana { stroke: #E5483A; stroke-width: 3.6; opacity: .92; }
.cx__scr { stroke: #1a1a1a; stroke-width: 2.4; opacity: .8; width: 118%; height: 120%; }
.cx__hana path, .cx__scr path { vector-effect: non-scaling-stroke; }
.cx__hana, .cx__scr { position: absolute; left: 50%; top: 50%; height: auto; max-width: none; transform: translate(-50%, -50%); pointer-events: none; stroke: none; fill: none; opacity: 1; }
.cx__hana { width: 5.6em; }
.cx__scr { width: 5.6em; mix-blend-mode: multiply; opacity: .9; }
.cx__hana { width: 8.4em; }
.cx__scr { width: 8.4em; }
.cx__hana, .cx__scr { position: static; transform: none; display: block; width: 4.9em; height: auto; margin: 0 auto .15em; }
.cx__hana, .cx__scr { width: 3em; height: 3em; object-fit: contain; margin: 0 auto .1em; }
.cx__hana, .cx__scr { width: 2.95em; height: 2.95em; }
.cx__hana, .cx__scr { width: 60%; height: auto; aspect-ratio: 1 / 1; }
.cx__hana, .cx__scr { width: 40%; height: auto; aspect-ratio: 1 / 1; margin: 0 auto .35em; flex: 0 0 auto; }
.cx .cx__hana, .cx .cx__scr { width: 34.76px !important; height: 34.76px !important; aspect-ratio: 1 / 1; margin: 0 auto .3em !important; }
.cx .cx__hana, .cx .cx__scr { width: 60.04px !important; height: 60.04px !important; }
.cx .cx__hana, .cx .cx__scr { margin-top: -9.48px !important; }
.cx .cx__hana, .cx .cx__scr { width: 48.98px !important; height: 48.98px !important; }
.cx .cx__hana, .cx .cx__scr { margin-top: 4.74px !important; }
.cmp--red .cx__hana, .cmp--red .cx__scr { opacity: 1 !important; transform: none !important; }
.cmp--red .cx__photo--tablet { background-image: url("../images/sect-cmp_tablet.webp?20261028") !important; background-size: contain !important; background-position: center !important; }
.cmp--red .cx__photo--books { background-image: url("../images/sect-cmp_goat.webp?20261028") !important; background-size: contain !important; background-position: center !important; }
.cmp--red .cx .cx__hana, .cmp--red .cx .cx__scr { width: 63.2px !important; height: 63.2px !important; }
.cmp__closing { margin: 20.22px 0 0; padding: 0; }
.cmp__closing img { display: block; width: 100%; height: auto; }
.cx .cx__hana, .cx .cx__scr { width: 63.2px !important; height: 63.2px !important; }
.cmp__closing { margin: 18px 0 0 !important; padding: 0; }
.cmp__closing img { display: block; width: 100%; height: auto; -webkit-mask-image: linear-gradient(to bottom, transparent 0, rgba(0,0,0,.45) 8%, #000 15%); mask-image: linear-gradient(to bottom, transparent 0, rgba(0,0,0,.45) 8%, #000 15%); }
.cmp--red .cx { width: 95%; margin-left: auto; margin-right: auto; box-sizing: border-box; }
.cmp--red .cmp__title { font-size: 35px !important; }
.cmp__closing img { -webkit-mask-image: linear-gradient(to bottom, transparent 0, rgba(0,0,0,.35) 10%, #000 27%) !important; mask-image: linear-gradient(to bottom, transparent 0, rgba(0,0,0,.35) 10%, #000 27%) !important; }
.cx .cx__hana, .cx .cx__scr { margin-top: -7.9px !important; }
.cmp--red .cmp__title { font-size: 29px !important; }


/* 比較のリスト：文言を短くしたぶん少しだけ大きく */
section.l-sect-cmp .cx__list li { font-size: 11.38px; }
/* 「ライブ添削」「数日かかる」を少し大きく */
section.l-sect-cmp .cx__head b { font-size: 16.75px; }

/* 2026/11/05 左右の空きが対称でない（モックの左 6.4%・右 4.3%）のをそろえる。中身の幅は変えないよう、左右とも平均の 5.35% に */
.cmp--red .cx { padding-left: 5.35%; padding-right: 5.35%; }

/* 2026/11/09 Safari では zoom の中の cqw が2倍で計算されて大きくなりすぎるため、cqw は .cx__in の幅（316px）を基準に px へ置き換え */
/* 2026/11/09 締めの写真（教室の女の子）：上の白いグラデーションは早めに抜けて写真が見えるように */
.cmp__closing img[src*="sect-cmp_photo-class"] { -webkit-mask-image: none !important; mask-image: none !important; } /* 上と右上の白抜けは画像側で入れてある */

/* 2026/11/11 締めの写真の上に「わかったつもりを できたに！」 */
.cmp__closing-copy { margin: 28px 0 0; padding: 0 16px; text-align: center; font-size: 20px; font-weight: 700; line-height: 1.5; letter-spacing: .06em; color: #4a3a34; }
.cmp__closing-copy strong { display: inline-block; margin-top: 2px; font-size: 30px; font-weight: 900; letter-spacing: .08em; color: #d93026; }

.cmp__closing-copy { white-space: nowrap; font-size: 22px; letter-spacing: .04em; padding: 0 8px; }
.cmp__closing-copy br { display: none; }
.cmp__closing-copy strong { display: inline; margin-top: 0; font-size: inherit; letter-spacing: inherit; }
.cmp__closing-copy::before { content: ""; display: block; width: 1px; height: 40px; margin: 0 auto 18px; background: #cfc5bd; }
.cmp__closing-copy { margin-top: 14px; }
.cmp__closing-copy::before { width: 1px; transform: scaleX(.5); margin-bottom: 32px; }
.cmp__closing-copy br { display: inline; }
.cmp__closing-copy strong { display: inline-block; margin-top: 4px; }
.cmp__closing-copy { font-size: 18px; }
.cmp__closing-copy strong { font-size: 30px; letter-spacing: .06em; margin-top: 6px; }
.cmp__closing-copy { line-height: 1.3; }
.cmp__closing-copy strong { margin-top: 0; }
.cmp__closing-copy .cmp__closing-ni { font-size: 22px; margin-left: -.3em; }
.l-sect-update .lesson-student { display: none !important; }
.cmp__closing-copy::before { margin-bottom: 14px; }
.cmp__closing { margin-top: -40px !important; position: relative; z-index: 0; }
.cmp__closing-copy { position: relative; z-index: 1; }
.cmp__closing-copy .cmp__closing-ni { margin-left: .1em; }
.cmp__closing-copy { font-size: 21px; }
.cmp__closing-copy strong { font-size: 36px; }
.cmp__closing-copy .cmp__closing-ni { font-size: 26px; }
.cmp__closing { margin-bottom: -36px; }
.l-sect-cmp + .l-sect-mid-cta .mid-cta { padding-top: 0; position: relative; z-index: 1; }
@media (min-width: 768px) { .l-sect-fv .l-sect-fv__pc-content { margin-top: calc(clamp(30px, 3.33333vw, 70px) - 30px) !important; } }
@media (min-width: 768px) {
  .l-sect-fv .l-sect-fv__pc { height: calc(100vh - var(--header-height) - 40px) !important; height: calc(100svh - var(--header-height) - 40px) !important; }
  .l-sect-fv .l-sect-fv__pc-bg img { transform: none !important; object-fit: cover; object-position: 70% 100%; }
}
@media (min-width: 768px) { .l-sect-fv .l-sect-fv__pc-content { left: 18vw !important; } }
@media (min-width: 768px) { .l-sect-fv .l-sect-fv__pc-content .u-zoom-half { zoom: .58; margin-top: 62px; } }
@media (min-width: 768px) { .l-sect-fv .l-sect-fv__pc-content-copy { filter: drop-shadow(0 0 20px #fff) drop-shadow(0 0 40px #fff) drop-shadow(0 0 64px #fff) drop-shadow(0 0 90px rgba(255,255,255,.9)) !important; } }
@media (min-width: 768px) { .l-sect-fv .l-sect-fv__pc-content-copy { zoom: .94; } }
@media (min-width: 768px) {
  .l-sect-fv .l-sect-fv__pc { height: max(43vw, calc(100vh - var(--header-height) - 40px)) !important; height: max(43vw, calc(100svh - var(--header-height) - 40px)) !important; }
  .l-sect-fv .l-sect-fv__pc-bg img { object-position: 70% 72% !important; }
}

/* 2026/11/16 「できた！に」：Safari で「に」が太く見えるので、太さを1段下げ、太字の合成もしない */
.cmp__closing-copy { font-synthesis: none; }
.cmp__closing-copy .cmp__closing-ni { font-weight: 700; }
