@charset "UTF-8";
/* ==================================================
   SP（デザイン基準幅 390px）
   ================================================== */
@media (max-width: 768px) {
  /* 吹き出し等の画面外はみ出しで横スクロールが出ないようにする */
  /* padding-bottomは画面下部固定CTAの高さ分の余白 */
  body {
    min-width: 0;
    padding-bottom: 105.5px;
    font-size: 16px;
    overflow-x: hidden;
  }
  /* ===== 画面下部固定のCTA ===== */
  .float-cta {
    display: block;
    position: fixed;
    left: 50%;
    bottom: 0;
    z-index: 20;
    width: 90%; /* 画面390pxのとき351px */
    transform: translateX(-50%);
  }
  .float-cta img {
    width: 100%;
  }
  .br-sp {
    display: inline;
  }
  /* ===== ヘッダー / キービジュアル ===== */
  /* SPは白帯がなく、ロゴと見出しを写真に重ねる（追従しない） */
  .site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 780/1134; /* KV写真と同じ高さにする */
    background: none;
    pointer-events: none;
  }
  .site-header__logo {
    width: 243px;
  }
  .site-header__catch {
    top: auto;
    bottom: 67px;
    width: 366px;
    max-width: calc(100% - 24px);
    transform: translateX(-50%);
  }
  .site-header__cta {
    display: none;
  }
  main {
    margin-top: -53px;
    border-radius: 30px 30px 0 0;
  }
  .hero,
  .about,
  .programs,
  .plan,
  .faq {
    border-radius: 30px 30px 0 0;
  }
  /* ===== HERO ===== */
  .hero {
    padding-top: 47px;
    padding-bottom: 30px;
  }
  .hero__inner {
    display: block;
    width: auto;
    padding: 0 20px;
  }
  .hero__grid {
    gap: 8px;
  }
  .hero__col {
    flex: 1;
    min-width: 0;
    gap: 8px;
  }
  .hero__col img {
    width: 100%;
    border-radius: 6px;
  }
  .hero__col:first-child img:nth-child(2) {
    margin-top: 3px;
  }
  .hero__col:first-child img:nth-child(3) {
    margin-top: -2px;
  }
  .hero__col:last-child img:nth-child(2) {
    margin-top: 3px;
  }
  .hero__col:last-child img:nth-child(3) {
    margin-top: -0.5px;
  }
  .hero__body {
    width: auto;
    padding-top: 50.5px;
  }
  .hero__badge {
    display: block;
    width: 100%;
    height: 33px;
    padding: 0;
    border-radius: 17px;
    font-size: 18px;
    line-height: 33px;
    letter-spacing: 0.02em;
    text-align: center;
    max-width: 400px;
    margin: auto;
  }
  .hero__badge::before {
    display: none;
  }
  .hero__title {
    margin-top: 19px;
    font-size: 24px;
    line-height: 36.5px;
    letter-spacing: 0.077em;
    text-align: center;
  }
  .hero__lead {
    margin-top: 8px;
    font-size: 19px;
    line-height: 37px;
    letter-spacing: 0;
    text-align: center;
  }
  .hero__lead + .hero__lead {
    margin-top: 12px;
  }
  .hero__marker {
    margin-top: 14.5px;
    font-size: 26px;
    line-height: 41.5px;
    text-align: center;
  }
  .hero__marker + .hero__lead {
    margin-top: 20px;
  }
  /* ===== こんな人におすすめです ===== */
  .recommend {
    /* 吹き出しが画面外にはみ出すデザインのため、横方向をクリップする */
    padding-bottom: 30px;
    overflow-x: clip;
  }
  .recommend__title {
    font-size: 26px;
    letter-spacing: 0.088em;
    text-indent: 0.088em;
  }
  .recommend__title::before {
    margin-right: 8px;
  }
  .recommend__title::after {
    margin-left: 20px;
  }
  .recommend {
    /* 390px設計のまま中央寄せ（画面が広くても構図を崩さない） */
  }
  .recommend__stage {
    width: 390px;
    height: 351.5px;
    margin: 28.5px auto 0;
  }
  .recommend__char--l {
    left: 53.5px;
    top: 254px;
    width: 76px;
  }
  .recommend__char--c {
    left: 129px;
    top: 185px;
    width: 151px;
  }
  .recommend__char--r {
    left: 273px;
    top: 258.5px;
    width: 70px;
  }
  .bubble {
    height: auto;
    border-radius: 24px;
    font-size: 19px;
    line-height: 26px;
  }
  .bubble--cream {
    left: 64px;
    top: 0;
    width: 268px;
    height: 105px;
  }
  .bubble--cream::after {
    left: 86px;
    bottom: -26px;
    border-width: 30px 26px 0 0;
  }
  .bubble--purple {
    left: -22px;
    top: 116px;
    width: 216.5px;
    height: 120px;
  }
  .bubble--purple::after {
    right: 80px;
    bottom: -13.5px;
    border-width: 20px 0 0 24px;
  }
  .bubble--green {
    left: 169px;
    top: 100.5px;
    width: 235px;
    height: 120px;
  }
  .bubble--green::after {
    left: 92px;
    bottom: -30px;
    border-width: 34px 26px 0 0;
  }
  /* ===== 教育版マインクラフトとは（緑） ===== */
  .about {
    margin-top: -30px;
    padding: 40px 40px 153px;
  }
  .about__inner {
    display: block;
    width: auto;
  }
  .about__figure {
    width: auto;
  }
  .about__figure img {
    width: 100%;
  }
  .about__body {
    width: auto;
    margin-top: 20.5px;
  }
  .about__body p {
    margin-top: 27px;
    font-size: 17px;
    line-height: 27px;
    letter-spacing: 0.02em;
  }
  .about__body p:first-of-type {
    margin-top: 20.5px;
  }
  .about__title {
    font-size: 20px;
    line-height: 36px;
    letter-spacing: 0.235em;
    text-indent: 0.235em;
    text-align: center;
  }
  .about__title span {
    padding: 0 5px;
  }
  .about__logo {
    left: 50%;
    bottom: -19.5px;
    margin-left: -63px;
    width: 146.5px;
  }
  /* ===== セクション見出し ===== */
  .sec-head__wm {
    width: 295px;
  }
  .points .sec-head__wm {
    width: 190px;
  }
  .plan .sec-head__wm {
    width: 138px;
  }
  .faq .sec-head__wm {
    width: 140px;
  }
  .sec-head__sub {
    margin-top: 14px;
    font-size: 23px;
    letter-spacing: 0.11em;
    text-indent: 0.11em;
  }
  .points .sec-head__sub {
    margin-top: 21.5px;
    letter-spacing: 0.02em;
  }
  .plan .sec-head__sub {
    margin-top: 18px;
  }
  .faq .sec-head__sub {
    margin-top: 14px;
    letter-spacing: 0.02em;
  }
  /* ===== PROGRAMS ===== */
  .programs {
    margin-top: -30px;
    padding-top: 76.5px;
  }
  .programs__list {
    margin-top: 32px;
  }
  .prog {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: auto;
    padding: 0 20px;
  }
  .prog + .prog, .prog:nth-child(3) {
    margin-top: 61.5px;
  }
  .prog__body {
    width: auto;
    padding-left: 0;
  }
  .prog {
    /* SP では画像が見出しより上（キャプチャ準拠） */
  }
  .prog__figure {
    width: auto;
    order: -1;
  }
  .prog__figure img {
    width: 100%;
    border-radius: 6px;
  }
  .prog__head {
    gap: 10px;
    padding-bottom: 6px;
    border-bottom-width: 4.5px;
    background: var(--c-white);
  }
  .prog__num {
    top: 2px;
    padding-left: 10px;
    font-size: 33px;
  }
  .prog__label {
    font-size: 18.5px;
    letter-spacing: 0em;
  }
  .prog__lead {
    margin-top: 27.5px;
    font-size: 20px;
    line-height: 32px;
    letter-spacing: 0.02em;
    text-align: center;
  }
  .prog__text {
    margin-top: 17px;
    padding: 0 20px;
    font-size: 16.5px;
    line-height: 33px;
  }
  .prog__note {
    margin-top: 8px;
    padding: 0 20px;
    font-size: 12.5px;
    line-height: 20px;
  }
  .prog__btn {
    margin-top: 21.5px;
  }
  .prog__btn a {
    width: 270px;
    height: 49.5px;
    margin: 0 auto;
    border-radius: 25px;
    font-size: 17px;
  }
  /* ===== POINTS ===== */
  .points {
    padding-top: 64px;
  }
  .points__list {
    display: block;
    width: auto;
    margin-top: 41.5px;
    padding: 0 20px;
  }
  .point + .point {
    margin-top: 48px;
  }
  .point__title {
    font-size: 22px;
    letter-spacing: 0.03em;
    line-height: 2.5;
  }
  .point__title::after {
    margin-top: 11px;
    border-width: 7.5px 9px 0;
  }
  .point {
    /* カード幅350px基準の比率。画像がmax-width:400pxに達する幅（約453px）で
       縦の値も止めて、画像と本文の間に余分な隙間ができないようにする */
  }
  .point__card {
    min-height: 350px;
    margin-top: min(35.714%, 161.8px); /* 125/350 */
    padding: min(74.286%, 336.6px) 6.286% 5%; /* 260 / 22 */
    border-radius: 8px;
  }
  .point__img {
    left: 50%;
    top: 0;
    margin-top: max(-26.429%, -119.7px); /* -92.5/350 */
    width: 88.286%; /* 309/350 */
  }
  .point__text {
    font-size: 18px;
    line-height: 27px;
  }
  /* ===== MESSAGE ===== */
  .message {
    padding-bottom: 80px;
    padding-top: 80px;
  }
  .message__inner {
    grid-template-columns: 1fr;
    grid-template-areas: "wm" "figure" "body";
    width: 89.7435897436vw;
    margin: 0 auto;
    padding: 40px 30px;
  }
  .message__body {
    width: auto;
    padding-left: 0;
  }
  .message__wm {
    padding-left: 0;
    text-align: center;
  }
  .message__wm img {
    width: 154px;
    margin: 0 auto;
  }
  .message__title {
    margin-top: 37px;
    font-size: 20px;
    line-height: 31px;
    letter-spacing: 0.02em;
    text-align: center;
    font-weight: 600;
  }
  .message__text {
    margin-top: 25.5px;
    font-size: 16px;
    line-height: 33px;
    font-weight: 500;
  }
  .message__figure {
    width: auto;
    margin-top: 30.5px;
    font-weight: 500;
  }
  .message__photo {
    width: 100%;
  }
  .message__caption {
    margin-top: 14px;
    padding-left: 0;
    font-size: 15px;
  }
  /* ===== PLAN（緑） ===== */
  .plan {
    margin-top: -30px;
    padding: 72.5px 20px 118px;
  }
  .plan__card {
    width: auto;
    margin-top: 30px;
  }
  .plan__char--l {
    left: -6px;
    top: -80px;
    width: 62px;
  }
  .plan__char--r {
    left: auto;
    right: -8px;
    top: -80px;
    width: 76px;
  }
  .plan__price {
    height: auto;
    padding: 34.5px 16px 26px;
  }
  .plan__couponcode {
    border: 3px solid var(--c-pink);
    margin: 20px auto 10px;
    padding: 10px 0;
    border-radius: 10px;
  }
  .plan__couponcode .text {
    font-size: 16px;
    line-height: 1;
    font-weight: 600;
  }
  .plan__couponcode .code {
    font-size: 25px;
    line-height: 1;
    font-weight: 800;
    color: var(--c-pink);
    padding: 10px 0 0;
  }
  .plan__couponcode--note {
    font-size: 12px;
    line-height: 1.5;
    text-align: left;
    font-weight: 600;
  }
  .plan__amount img {
    width: 290px;
  }
  .plan__note {
    margin-top: 17px;
    font-size: 12px;
    line-height: 19px;
    text-align: left;
  }
  .plan {
    /* 左右は画像の白フチ2px分を差し引いた18px */
  }
  .plan__action {
    padding: 25px 18px 22px;
  }
  .plan__btn {
    max-width: calc(100% - 36px);
  }
  .plan__link {
    margin-top: 13.5px;
    font-size: 13px;
  }
  .plan__flow-title {
    margin-top: 54px;
    font-size: 23px;
    letter-spacing: 0.1em;
    text-indent: 0.1em;
  }
  .flow {
    display: block;
    width: auto;
    margin-top: 33.5px;
  }
  .flow__item {
    width: auto;
  }
  .flow__item + .flow__item {
    margin-top: 14px;
  }
  .flow__num {
    font-size: 39px;
  }
  .flow__box {
    margin-top: 18.5px;
  }
  .flow__head {
    font-size: 19px;
    line-height: 30px;
  }
  .flow__text {
    font-size: 15px;
    line-height: 26px;
  }
  /* ご注意事項 */
  .notice {
    width: auto;
    margin-top: 56px;
  }
  .notice__title {
    height: 79.5px;
    font-size: 22px;
    line-height: 79.5px;
  }
  .notice__body {
    padding: 30px 22px 34px;
  }
  .notice__list li {
    font-size: 15px;
    line-height: 26px;
  }
  .notice__head {
    margin-top: 30px;
    font-size: 15px;
  }
  .notice__head + .notice__list {
    margin-top: 10px;
  }
  /* ===== Q & A ===== */
  .faq {
    margin-top: -30px;
    padding-top: 62px;
  }
  .faq__list {
    width: auto;
    margin-top: 44.5px;
    padding: 0 20px;
  }
  .faq__item + .faq__item {
    margin-top: 11.5px;
  }
  .faq__q {
    gap: 12px;
    min-height: 88.5px;
    padding: 14px 46px 14px 14px;
  }
  .faq__mark {
    width: 26px;
    height: 26px;
    font-size: 15px;
  }
  .faq__qtext {
    font-size: 16px;
    line-height: 26px;
  }
  .faq__icon {
    right: 14px;
    width: 22px;
    height: 22px;
  }
  .faq__a {
    gap: 12px;
    padding: 14px 20px 18px 14px;
  }
  .faq__a p {
    font-size: 16px;
    line-height: 27px;
  }
  /* ===== FOOTER ===== */
  .footer {
    padding: 60px 20px 42px;
  }
  .footer__logo img {
    width: 211px;
  }
  .footer__org {
    margin-top: 29.5px;
    font-size: 16px;
    line-height: 27px;
    letter-spacing: 0.02em;
    font-weight: 600;
  }
  .footer__nav {
    display: block;
    margin-top: 25px;
  }
  .footer__nav li + li {
    margin-top: 5.5px;
  }
  .footer__nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 35.5px;
    border-radius: 18px;
    background: #e8e8ef;
    font-size: 15px;
    text-decoration: none;
  }
  .footer__copy {
    margin-top: 25.5px;
    font-size: 12px;
  }
  .footer__disclaimer {
    margin-top: 24.5px;
    font-size: 11px;
    line-height: 1.55;
  }
  /* 装飾の四角は PC と SP で配置が違うため入れ替える（SPは画面幅に合わせる） */
  .deco__pc {
    display: none;
  }
  .deco__sp {
    display: block;
    width: 100%;
  }
}/*# sourceMappingURL=sp.css.map */