#school-page {
  /* トップ */
  .st-top {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 560px;

    img {
      position: absolute;
      z-index: 1;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: 50% 50%;
    }

    .stt-box {
      position: absolute;
      bottom: 0;
      left: 0;
      z-index: 2;

      ul {
        display: flex;
        gap: 1px;
        margin-left: 10vw;

        .sc-tag {
          background-color: var(--morange);
          padding: 10px 15px;
          font-size: 1rem;
        }

        .sc-tag-pre {
          background-color: var(--lblue);
        }

        .sc-tag:first-child {
          border-radius: 10px 0 0 0;
        }

        .sc-tag:last-child {
          border-radius: 0 10px 0 0;
        }

        .sc-tag:only-child {
          border-radius: 10px 10px 0 0;
        }
      }

      .stt-inner {
        background-color: var(--navy);
        border-radius: 0 25px 0 0;
        padding: 20px 50px 20px 10vw;
        min-width: 500px;
      }

      h1 {
        span {
          display: block;
        }

        .stt-1 {
          color: white;
          font-size: 1.2rem;
          margin-bottom: 5px;
        }

        .stt-2 {
          color: var(--orange);
          font-size: 3.2rem;
        }
      }

      p {
        font-size: 0.9rem;
        margin-top: 10px;
        color: var(--lblue);
      }
    }
  }

  .st-ca {
    width: 100%;
    padding: 30px 10%;
    background-color: var(--blorange);

    p {
      margin: 0 auto;
      max-width: 800px;
      text-align: center;
      font-size: 1.3rem;
      text-wrap: balance;
    }

    .school-sns {
      display: flex;
      gap: 15px;
      justify-content: center;
      margin-top: 20px;

      a {
        transition: all 0.3s;

        &:hover {
          opacity: 0.6;
        }
      }
    }
  }
  /* トップここまで */

  /* サイドナビとflex */
  #st-area {
    display: block;
    position: relative;

    /* メインコンテンツ */
    #st-main {
      width: 100%;

      .lc-box.nega {
        display: none !important;
      }

      .stm-inner {
        width: 100%;
        container-type: inline-size;
        container-name: stm-inner;
      }

      .stmi-sec {
        /* min-height: 100vh; */
        width: 100%;
        padding: 120px 5% 120px calc(5% + 200px);
        h2 {
          font-size: 2rem;
          padding-bottom: 10px;
          border-bottom: 4px solid var(--lblue);
          margin-bottom: 50px;
          max-width: 400px;
        }

        h3 {
          font-size: 1.6rem;
          margin-bottom: 30px;
        }

        .st-sec-box {
          width: 100%;
        }
      }

      #stmi-sec-last {
        padding-top: 0;
      }

      /* 新規開校モード */

      #new-open {
        .no-flex {
          max-width: 1200px;
          margin: 0 auto;
          margin-bottom: 30px;
          flex-wrap: wrap;
          justify-content: center;
          align-items: end;
          gap: 50px;

          .nof-1 {
            flex: 1 1 400px;
            max-width: 600px;
            width: 100%;

            img {
              width: 100%;
              height: auto;
            }
          }

          .nof-2 {
            flex: 1 1 400px;
            max-width: 600px;

            h2 {
              margin-bottom: 20px;
            }

            .no-date {
              font-size: 16px;
              color: var(--lblack);
            }

            .no-des {
              margin: 10px auto;
              font-size: 18px;
            }

            .no-post {
              width: 100%;
              max-width: 1000px;
              margin: 0 auto;
            }
          }
        }

        .cv-btn {
          margin: 10px auto;
        }

        .no-results {
          background-color: var(--blorange);
          max-width: 1200px;
          margin: 50px auto;
          padding: 30px 5%;
          border-radius: 15px;

          h3 {
            text-align: center;
            font-size: 1.6rem;
            .nor-3-1 {
              font-size: 1.2rem;
              color: var(--orange);
            }

            .nor-3-2 {
              display: block;
            }
          }
        }

        @media screen and (max-width: 540px) {
          .no-results {
            padding: 30px 10px;
            h3 {
              font-size: 1.2rem;
            }
          }
        }
      }

      /* ギャラリー */
      .ss-wrap.stmi-sec {
        padding-right: 0;
        h2 {
          margin-bottom: 10px;
        }
      }
      .school-slider {
        max-width: 1700px;
        width: 100%;
        margin: 30px auto;
        margin-right: 0;
        padding: 30px 0 30px 30px;
        border-radius: 20px 0 0 20px;
        background-color: var(--blorange);
        position: relative;

        .school-slider-main {
          overflow: hidden;
          cursor: grab;
          user-select: none;
          touch-action: pan-y;

          &:active {
            cursor: grabbing;
          }
        }

        .school-slider-track {
          display: flex;
          gap: 20px;
          transition: transform 0.4s ease;
        }

        .school-slide {
          flex: 0 0 min(85%, 700px);

          a {
            display: block;
            -webkit-user-drag: none;
            user-select: none;
            transition: opacity 0.3s;

            &:hover {
              opacity: 0.7;
            }
          }

          img {
            display: block;
            width: 100%;
            aspect-ratio: 297 / 210;
            object-fit: contain;
            /* border-radius: 20px; */
            pointer-events: none;
            -webkit-user-drag: none;
            user-select: none;
          }
        }

        .slider-prev,
        .slider-next {
          position: absolute;
          top: 45%;
          transform: translateY(-50%);
          z-index: 10;
          width: 44px;
          height: 44px;
          border: none;
          border-radius: 50%;
          background: rgba(0, 0, 0, 0.35);
          color: #fff;
          font-size: 30px;
          cursor: pointer;
          display: flex;
          justify-content: center;
          align-items: center;
        }

        .slider-prev {
          left: 12px;
        }

        .slider-next {
          right: 12px;
        }

        .school-slider-thumbs {
          display: flex;
          gap: 10px;
          margin-top: 15px;
          flex-wrap: wrap;
          padding-bottom: 5px;
        }

        .slider-thumb {
          width: 120px;
          flex-shrink: 0;
          border: 5px solid transparent;
          cursor: pointer;
          border-radius: 10px;
          overflow: hidden;
          transition: opacity 0.3s;

          &:hover {
            opacity: 0.7;
          }

          &.active {
            border: 5px solid var(--orange);
          }

          img {
            display: block;
            width: 100%;
            aspect-ratio: 4 / 3;
            object-fit: cover;
          }
        }
      }

      @media screen and (max-width: 970px) {
        .ss-wrap.stmi-sec {
          padding-left: 0;
        }
        .school-slider {
          border-radius: 10px;
          padding: 30px 0 30px 10px;
        }
      }

      @media (max-width: 768px) {
        .school-slider {
          .school-slide {
            flex-basis: 85%;

            img {
              /* height: 260px; */
            }
          }

          .school-slider-thumbs {
            gap: 10px 2px;
          }

          .slider-thumb {
            width: 80px;
          }
        }
      }

      /* 横並びセクション */
      .stmi-flex {
        justify-content: center;
        gap: 5%;
        .stmi-f-sec {
          width: 100%;

          .stmi-map {
            width: 100%;
            iframe {
              margin-top: 30px;
              width: 100%;
              border-radius: 20px;
            }
          }
        }

        &.posi {
          flex-direction: column;
        }
      }

      /* 自由記述セクション */
      #st-cr-area {
        .stcr-box {
          max-width: 615px;
          margin: 0 auto;
        }
      }

      @media screen and (min-width: 971px) {
        .stp-cv-ce {
          transform: translateX(100px);
        }
      }

      /* キャンペーン・お知らせ */
      .stm-news {
        align-items: start;

        .season-campaign {
          width: 100%;
          .sea-camp-img {
            width: 100%;
            height: auto;
          }

          .sea-camp-title {
            margin: 20px auto;
            padding-bottom: 5px;
            border-bottom: 2px solid var(--morange);
            text-wrap: balance;
            text-align: center;
            line-height: 170%;
          }

          .sea-camp-des {
            font-size: 1.1rem;
          }

          .cam-btn {
            width: 100%;
          }
        }

        .sc-news-box {
          margin-top: calc(2rem * 1.125 + 50px);

          .sc-news-inner {
            background-color: var(--lorange);
            padding: clamp(20px, 5%, 60px);
            border-radius: 20px;
            width: 100%;
            max-width: 600px;
            margin: 0 auto;
          }

          .school-news-list__items {
            display: flex;
            flex-direction: column;
            gap: 15px;

            li {
              /* width: fit-content; */

              a {
                gap: 10px;
                padding: 5px 0;

                flex: 1;
                align-items: center;
                position: relative;

                .school-news-list__date {
                  display: block;
                  font-size: 0.75rem;
                  white-space: nowrap;
                  width: 80px;
                }

                .school-news-list__title {
                  font-size: 1rem;
                  white-space: nowrap;
                  transition: all 0.3s;
                }

                &::after {
                  content: "";
                  position: absolute;
                  bottom: 0;
                  left: 0;
                  width: 100%;
                  background-color: var(--orange);
                  transition: all 0.4s;
                  height: 2px;
                }

                &:hover {
                  .school-news-list__title {
                    color: #747677;
                  }
                }

                &:hover::after {
                  width: 0;
                }
              }
            }
          }

          .school-news-list__more {
            margin: 40px 0 0 auto;

            height: calc(1.2rem + 7px);
            font-size: 1.2rem;
            overflow: hidden;
            line-height: 100%;
            position: relative;
            display: block;
            width: fit-content;
            padding-right: 10px;
            span {
              display: block;
              transition: all 0.3s;
              line-height: 110%;
            }

            &::before {
              content: "";
              position: absolute;
              left: 0;
              bottom: 0;
              width: 110%;
              height: 1px;
              border-bottom: 3px solid var(--orange);
              display: block;
              transition: all 0.3s;
              /* transform: translateX(-50%); */
              z-index: 2;
            }
            &::after {
              content: attr(data-text);
              position: absolute;
              top: calc(110% - 2px);
              left: 0;
              transition: all 0.3s;
              opacity: 0.8;
              z-index: 1;
              white-space: nowrap;
            }
            &:hover span {
              transform: translateY(-110%);
            }
            &:hover::after {
              top: calc(110% - 5px);
              transform: translateY(-110%);
            }
            &:hover::before {
              width: 0;
            }
          }
        }
      }

      .stm-news.nega {
        display: block !important;
      }

      /* キャンペーン・お知らせここまで */

      /* 対象学校・エリア */
      /* #stm-li-box-h.nega{
        display: none;
      } */

      .stm-li-area {
        padding: 20px;
        border-radius: 20px;
        background-color: var(--bblue);

        h3 {
          margin-bottom: 20px;
          font-size: 1.4rem;
        }

        .stm-area-des {
          text-align: center;
          font-size: 16px;
        }

        .stm-list {
          display: flex;
          flex-wrap: wrap;
          gap: 10px 12px;
          margin-bottom: 30px;

          li {
            display: block;
            position: relative;
            margin-left: 20px;
            font-size: 18px;
            line-height: 1;

            &::before {
              content: "";
              position: absolute;
              width: 7px;
              aspect-ratio: 1/1;
              border-radius: 50%;
              top: calc(50% - 3.5px);
              left: -15px;
              display: block;
              background-color: var(--orange);
            }
          }
        }
      }
      /* 対象学校・エリアここまで */

      /* 特徴・強み */
      #stmi-strength {
        background-color: var(--blorange);

        h2 {
          max-width: none;
          text-align: center;
          margin-inline: auto;
          border-bottom: none;
          .stm-st-tit-1 {
            font-size: 1.3rem;
            margin-bottom: 10px;
            span {
              display: inline-block;
            }
          }
          .stm-st-tit-2 {
            display: block;
            font-size: 3.2rem;
            color: var(--orange);
          }
        }

        #st-str {
          .school-strength-list {
            display: grid;
            gap: 30px;
            max-width: 800px;
            margin: 0 auto;
          }

          .school-strength-item {
            background: #fff;
            border-radius: 20px;
            padding: 25px;

            &.has-image {
              display: flex;
              align-items: center;
              gap: 30px;
            }
          }

          .school-strength-img {
            flex: 0 0 38%;

            img {
              display: block;
              width: 100%;
              height: auto;
              border-radius: 16px;
            }
          }

          .school-strength-text {
            flex: 1;

            h3 {
              margin-bottom: 12px;
              font-size: 1.6rem;
              color: var(--orange);
            }

            p {
              line-height: 1.9;
              font-size: 0.9rem;
            }
          }

          @media (max-width: 750px) {
            .school-strength-item {
              &.has-image {
                flex-direction: column;
                align-items: stretch;
              }
            }

            .school-strength-text {
              h3 {
                font-size: 1.2rem;
              }

              p {
                font-size: 0.75rem;
              }
            }

            .school-strength-img {
              flex-basis: auto;
            }
          }
        }

        /* 実績/体験記/講師紹介/塾長 */
        .ss-mini-sec {
          padding-block: 50px;
          h3 {
            font-size: 2rem;
            padding-bottom: 10px;
            border-bottom: 4px solid var(--lblue);
            margin-bottom: 50px;
            max-width: 400px;
          }

          .R-btn {
            width: fit-content;
            margin: 30px auto;
            font-size: 1.2rem;
            height: calc(1.2rem + 7px);
          }
          /* 実績 */

          .school-results-block {
            margin: 30px auto;
            padding: 20px;
            border-radius: 15px;
            background-color: var(--blorange);

            h3 {
              width: fit-content;
              margin-inline: auto;
            }
          }

          .school-results-list {
            max-width: 700px;
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 10px;
            container-type: inline-size;
            container-name: sri;

            .school-result-card {
              width: 300px;
              padding: 10px;
              background-color: white;
              border: 2px solid var(--morange);
              border-radius: 5px;

              .src-1 {
                gap: 10px;
                margin-bottom: 10px;
                justify-content: right;

                p {
                  font-size: 1rem;
                  color: var(--lblack);
                }
              }

              h4 {
                font-size: 1.4rem;
                margin-bottom: 10px;
                span {
                  font-size: 85%;
                  color: #c30d23;
                  margin-left: 5px;
                }
              }

              .result-sub {
                font-size: 1.2rem;
              }

              .result-note {
                font-size: 1rem;
                color: var(--lblack);
              }
            }
            .result-test,
            .result-grade {
              h4 {
                font-size: 1.1rem;
                text-align: center;
              }

              .result-score {
                text-align: center;
                font-size: 1.6rem;
              }
            }
          }

          @container sri (max-width:300px) {
            .school-results-list {
              .school-result-card {
                width: calc(50% - 5px);
                .src-1 {
                  flex-direction: column;
                  gap: 0;
                  p {
                    font-size: 0.75rem;
                  }
                }

                h4 {
                  font-size: 1rem;
                }
                .result-sub {
                  font-size: 0.85rem;
                }
                .result-note {
                  font-size: 0.75rem;
                }
              }

              .result-test,
              .result-grade {
                h4 {
                  font-size: 0.85rem;
                  text-align: center;
                }

                .result-score {
                  text-align: center;
                  font-size: 1rem;
                }
              }
            }
          }

          /* 実績ここまで */

          /* 体験記 */
          ul.school-voice-list__items {
            max-width: 800px;
            margin: 0 auto;
            margin-bottom: 30px;

            li {
              width: 100%;
              margin-bottom: 15px;
              a {
                background-color: white;
                border-radius: 0 0 20px 0;
                corner-shape: bevel;
                border: 2px solid var(--orange);
                padding: 20px;
                transition: all 0.3s;

                h4 {
                  margin-bottom: 10px;
                }

                p {
                  font-size: 0.9rem;
                  color: var(--lblack);
                }

                &:hover {
                  /* background-color: var(--bblue); */
                  border: 2px solid var(--lorange);
                }
              }
            }
          }
          /* 体験記ここまで */

          /* 講師紹介 */

          #ss-teachers {
            container-type: inline-size;
            container-name: sst;

            .school-teachers-main {
              overflow: hidden;
              cursor: grab;
              user-select: none;
              touch-action: pan-y;
              scroll-behavior: smooth;

              &.is-dragging {
                cursor: grabbing;
                scroll-behavior: auto;
              }
            }

            .school-teachers-track {
              display: flex;
              gap: 20px;
              transition: transform 0.35s ease;
              will-change: transform;
            }

            .school-teacher-card {
              flex: 0 0 220px;
              background: #fff;
              border-radius: 18px;
              overflow: hidden;
              scroll-snap-align: start;
            }

            .school-teacher-img {
              aspect-ratio: 4 / 3;
              background: #f5f5f5;

              img {
                width: 100%;
                height: 100%;
                object-fit: cover;
              }
            }

            .school-teachers-track,
            .school-teacher-card,
            .school-teacher-img,
            .school-teacher-img img {
              user-select: none;
              -webkit-user-drag: none;
            }

            .school-teacher-img img {
              pointer-events: none;
            }

            .school-teacher-body {
              padding: 16px;

              h4 {
                margin-bottom: 8px;
                font-size: 1.3rem;
              }
            }

            .school-teacher-univ {
              margin-bottom: 12px;
              font-size: 1.1rem;
            }

            .school-teacher-link {
              font-weight: bold;
              color: var(--orange);
              font-size: 1rem;
            }
          }

          @container sst (max-width:700px) {
            #ss-teachers {
              .school-teacher-card {
                flex: 0 0 190px;

                .school-teacher-body {
                  h4 {
                    font-size: 1.1rem;
                  }
                }

                .school-teacher-univ {
                  font-size: 0.9rem;
                }

                .school-teacher-link {
                  font-size: 0.9rem;
                }
              }
            }
          }

          /* 講師紹介ここまで */

          /* 塾長 */
          .ssm-pri-flex {
            width: 100%;
            max-width: 800px;
            justify-content: left;
            align-items: start;
            gap: 30px 30px;
            padding: 20px;
            border-radius: 10px;
            background-color: white;
            margin: 0 auto;
            flex-wrap: wrap;
            container-type: inline-size;
            container-name: ssm-pri-flex;

            img {
              width: 200px;
              height: auto;
              margin: 0 auto;
            }

            .ssm-pri-pro {
              min-width: 300px;
              flex: 1;
              .ssm-pp-1 {
                font-size: 1rem;
                line-height: 170%;
              }

              .ssm-pp-2 {
                font-size: 1.8rem;
                margin-block: 30px 20px;
                span {
                  font-size: 1rem;
                  margin-left: 10px;
                }
              }

              .ssm-pp-3 {
                padding: 15px;
                border: 1px solid var(--morange);
                border-radius: 10px;
                font-size: 0.9rem;
                color: var(--lblack);
              }
            }
          }
          @container ssm-pri-flex (max-width:450px) {
            .ssm-pri-flex {
              .ssm-pri-pro {
                min-width: 1px;
                flex: auto;

                .ssm-pp-1 {
                  font-size: 0.9rem;
                }
                .ssm-pp-3 {
                  font-size: 0.7rem;
                }
              }
            }
          }
          /* 塾長ここまで */
        }
      }
      /* 特徴・強みここまで */

      /* 各学年の内容 */
      #sg-sup {
        .sgs-box {
          max-width: 650px;
          margin: 0 auto;
          border: 2px solid var(--morange);
          border-radius: 10px;
          margin-bottom: 10px;
          transition: all 0.5s;
          overflow: hidden;
        }

        h3.sgs-title {
          padding: 15px 18px;
          position: relative;
          font-size: 1.3rem;
          transition: all .5s;
          margin-bottom: 0;
          cursor: pointer;

          &::before,
          &::after {
            content: "";
            position: absolute;
            width: 15px;
            height: 4px;
            background-color: var(--orange);
            top: calc(50% - 2px);
            right: 15px;
            transform-origin: 50% 50%;
          }

          &::after {
            transform: rotate(90deg);
            transition: all .3s;
          }
        }

        .sgs-inner {
          padding: 0 18px;
          max-height: 0;
          transition: all .3s;

          ul{
            padding-left: 20px;
            display: flex;
            flex-direction: column;
            gap: 15px;
            li{
              font-size: 1rem;
              position: relative;
              &::before{
                content: "";
                position: absolute;
                top:calc(0.7rem - 4px) ;
                left: -15px;
                width: 8px;
                aspect-ratio: 1/1;
                background-color: var(--blue);
                border-radius: 50%;
              }
            }
          }
        }

        .sgs-title.posi{
          background-color: var(--morange);

          &::after {
            transform: rotate(0);
          }
        }

        .sgs-title:hover{
          background-color: var(--blorange);
        }

        .sgs-inner.posi{
          max-height: 600px;
          padding: 12px 18px;
        }
      }
      /* 各学年の内容ここまで */

      /* プレスリリース */
      #ss-press {
        h2 {
          margin: 0 auto;
          padding: 10px;
          text-align: center;
          width: auto;
          max-width: 600px;
          span {
            display: inline-block;
          }
        }
        .school-press-list {
          display: flex;
          flex-wrap: wrap;
          gap: 12px;
          align-items: end;
          max-width: 800px;
          margin: 0 auto;
          margin-top: 30px;
          container-type: inline-size;
          container-name: spl;
        }

        .school-press-item {
          display: inline-block;
          padding: 10px 18px;
          border: 1px solid var(--orange);
          border-radius: 999px;
          font-size: 1rem;
          transition: all 0.3s;

          &:hover {
            background-color: var(--morange);
          }
        }

        .spl-ot {
          font-size: 0.9rem;
          margin-left: 20px;
          padding-bottom: 10px;
        }

        @container spl (max-width:400px) {
          .school-press-list {
            gap: 7px;
          }
          .school-press-item {
            padding: 5px 15px;
            font-size: 0.85rem;
          }
          .spl-ot {
            font-size: 0.75rem;
            padding-bottom: 5px;
            margin-left: 10px;
          }
        }
      }
      /* プレスリリースここまで */

      /* 教室情報 */
      #stmi-info {
        h2 {
          .stmi-tit-sub {
            font-size: 75%;
          }
          .stmi-tit-main {
            display: block;
          }
        }

        .stm-info-flex {
          flex-wrap: wrap;
          gap: 30px 30px;
          justify-content: center;
          max-width: 1100px;
          margin: 0 auto;

          .stmi-box {
            width: calc(50% - 15px);
            min-width: 300px;
            padding: 15px;
            border-radius: 10px;
            border: 2px solid var(--lblue);

            h3 {
              font-size: 1.4rem;
            }

            .flex {
              padding-block: 10px;
              border-bottom: 1px solid var(--lblue);
              gap: 20px;

              &:last-child {
                border-bottom: none;
              }

              dt,
              dd {
                font-size: 14px;
              }

              dt {
                width: 60px;
                white-space: nowrap;
                color: var(--lblack);
              }

              dd {
                a {
                  color: var(--orange);
                  transition: all 0.2s;

                  &:hover {
                    color: var(--lblue);
                  }
                }
              }
            }
          }

          .stmib-ac {
            container-type: inline-size;
            container-name: stmib-ac;

            @container stmib-ac (max-width:350px) {
              dd {
                a {
                  font-size: 11px;
                }
              }
            }
          }
        }
      }
      /* 教室情報ここまで */

      /* FAQ */
      #stmi-faq {
        .school-faq {
          margin: 60px auto;
          max-width: 900px;

          .school-faq-item {
            border-bottom: 1px solid #ddd;

            h3 {
              margin-bottom: 0;
            }
          }

          .school-faq-question {
            width: 100%;
            padding: 20px;
            border: none;
            background: #fff;
            display: flex;
            justify-content: space-between;
            gap: 20px;
            font-size: 1.1rem;
            font-weight: bold;
            text-align: left;
            cursor: pointer;
          }

          .school-faq-icon {
            flex-shrink: 0;
            width: 20px;
            height: 20px;
            position: relative;

            &::before,
            &::after {
              content: "";
              width: 100%;
              height: 4px;
              position: absolute;
              background-color: var(--orange);
              top: calc(50% - 2px);
              left: 0;
              transform-origin: 50% 50%;
              transition: all 0.3s;
            }

            &::after {
              transform: rotate(90deg);
            }
          }

          .school-faq-answer {
            max-height: 0;
            overflow: hidden;
            padding: 0 20px;
            transition: all 0.3s;

            br {
              display: none;
            }

            a {
              color: var(--blue);
              display: inline-block;
              transition: all 0.3s;
              &:hover {
                color: var(--lblue);
              }
            }
          }

          .school-faq-item.posi {
            .school-faq-answer {
              max-height: 500px;
              padding: 20px;
            }
            .school-faq-icon::after {
              transform: rotate(0);
            }
          }
        }
      }
      /* FAQここまで */

      @container stm-inner (max-width:1150px) {
        .stmi-flex {
          flex-direction: column;
          gap: 50px;
        }
      }

      .school-sns {
        display: flex;
        gap: 15px;
        justify-content: center;

        a {
          transition: all 0.3s;

          &:hover {
            opacity: 0.6;
          }
        }
      }
    }
    /* メインコンテンツここまで */

    /* サイドナビ */

    #st-menu-wrap {
      position: absolute;
      top: 0;
      left: 5vw;
      height: calc(100% - 40px);
      margin-top: 30px;
    }

    #st-menu {
      width: 200px;
      position: sticky;
      left: 0;
      top: 20vh;

      .stm-ti-1 {
        font-size: 0.85rem;
        margin-bottom: 20px;
      }

      .stm-top {
        height: calc(0.9rem + 7px);
        font-size: 0.9rem;
        overflow: hidden;
        line-height: 100%;
        position: relative;
        display: block;
        width: fit-content;
        padding-right: 10px;
        margin-bottom: 15px;
        span {
          display: block;
          transition: all 0.3s;
          line-height: 110%;
          color: var(--lblack);
        }
      }
      .stm-top::before {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 110%;
        height: 1px;
        border-bottom: 3px solid var(--orange);
        display: block;
        transition: all 0.3s;
        /* transform: translateX(-50%); */
        z-index: 2;
      }
      .stm-top::after {
        content: attr(data-text);
        position: absolute;
        top: calc(110% - 2px);
        left: 0;
        transition: all 0.3s;
        opacity: 0.8;
        z-index: 1;
        white-space: nowrap;
      }
      .stm-top:hover span {
        transform: translateY(-110%);
      }
      .stm-top:hover::after {
        top: calc(110% - 5px);
        transform: translateY(-110%);
      }
      .stm-top:hover::before {
        width: 0;
      }

      ul {
        display: flex;
        flex-direction: column;
        gap: 15px;
        .st-menu-li {
          a {
            height: calc(0.9rem + 7px);
            font-size: 0.9rem;
            overflow: hidden;
            line-height: 100%;
            position: relative;
            display: block;
            width: fit-content;
            padding-right: 10px;
            span {
              display: block;
              transition: all 0.3s;
              line-height: 110%;
              color: var(--lblack);
            }
          }
          a::before {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 110%;
            height: 1px;
            border-bottom: 3px solid var(--orange);
            display: block;
            transition: all 0.3s;
            /* transform: translateX(-50%); */
            z-index: 2;
          }
          a::after {
            content: attr(data-text);
            position: absolute;
            top: calc(110% - 2px);
            left: 0;
            transition: all 0.3s;
            opacity: 0.8;
            z-index: 1;
            white-space: nowrap;
          }
          a:hover span {
            transform: translateY(-110%);
          }
          a:hover::after {
            top: calc(110% - 5px);
            transform: translateY(-110%);
          }
          a:hover::before {
            width: 0;
          }
        }

        .cv-btn {
          width: 150px;
          font-size: 0.8rem;
          padding: 2px 10px 2px 5px;
          border-radius: 10px;
          margin: 0;
          margin-top: 10px;
          gap: 7px;
          .cv-icon-wrap {
            transform: scale(0.7);
          }
        }
      }
      #smnw-open {
        display: none;
      }
    }
    /* サイドナビここまで */
    #st-side-cv-sp {
      display: none;
    }

    #side-l-t {
      gap: 10px;
      flex-direction: column;
      align-items: end;
      position: fixed;
      bottom: 200px;
      right: 0;
      z-index: 9999;
      transition: all 0.3s;

      a {
        width: 50px;
        aspect-ratio: 1/1;
        overflow: hidden;
        border-radius: 5px 0 0 5px;

        img {
          width: 100%;
          height: 100%;
        }

        &:hover {
          img {
            animation: slt-img 2.5s linear infinite;
          }
        }
      }

      .slt-1 {
        border: 2px solid var(--orange);
        background-color: white;
      }

      .slt-2 {
        border: 2px solid #06c755;
        background-color: #06c755;
      }
    }
  }

  /* 新規開校モードで他要素削除 */
  #st-area:has(#new-open) {
    #st-menu-wrap {
      display: none;
    }

    #st-main {
      .stmi-sec {
        padding: 120px 5%;
      }
      .stm-inner {
        #st-cr-area {
          display: none;
        }
      }
    }
  }

  /* 新規開校モードで他要素削除 */
  /* サイドナビとflexここまで */

  /* snsボタン */

  .school-sns-icons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;

    &__btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 34px;
      height: 34px;
      border-radius: 9999px;
      text-decoration: none;
      transition: opacity 0.2s ease;
      flex: 0 0 34px;

      &:hover {
        opacity: 0.9;
      }

      svg {
        width: 16px;
        height: 16px;
        display: block;
        fill: #fff;
      }

      &--x {
        background: #000;
      }

      &--instagram {
        background: #e1306c;
      }

      &--facebook {
        background: #1877f2;
      }

      &--line {
        background: #06c755;
      }
    }

    @media (max-width: 767px) {
      gap: 6px;

      &__btn {
        width: 30px;
        height: 30px;
        flex-basis: 30px;

        svg {
          width: 14px;
          height: 14px;
        }
      }
    }
  }

  /* snsボタンここまで */

  @media screen and (min-width: 1600px) {
    #st-area {
      #st-main {
        .stmi-sec {
          padding: 100px calc((100% - 1500px) / 2) 150px
            calc((100% - 1500px) / 2 + 200px);
          /* max-width: 1400px;
            margin-inline:auto ; */
        }
        /* .stmi-sec.ss-wrap{
          margin-right: 0;
          max-width: calc(1400px + ((100% - 1560px) / 2 + 100px));
        } */
      }
    }
  }

  @media screen and (max-width: 970px) {
    .st-top {
      min-height: 400px;
      height: 50vh;
      .stt-box {
        ul {
          margin-left: 5vw;
        }

        .stt-inner {
          padding-left: 5vw;
          h1 {
            .stt-2 {
              font-size: 2.4rem;
            }
          }
        }
      }
    }

    .st-ca {
      padding: 30px 5%;

      p {
        font-size: 1.1rem;
      }
    }

    /* サイドナビとflex */
    #st-area {
      display: flex;
      flex-direction: column-reverse;
      justify-content: space-between;

      padding: 20px 5%;
      position: relative;

      /* メインコンテンツ */
      #st-main {
        width: 100%;

        .stmi-sec {
          padding: 100px 10px;

          h2 {
            margin-bottom: 30px;
          }
        }
      }
      /* メインコンテンツここまで */

      /* サイドナビ */

      #st-menu-wrap {
        height: fit-content;
        position: fixed;
        margin-bottom: 50px;
        top: 0;
        width: 100%;
        transition: all 0.5s;
        z-index: 998;
        left: 0;
        margin-top: 0;

        transform: translateY(calc(-100% + 110px));
      }

      #st-menu {
        width: 100%;
        position: static;
        padding: 0 20px;
        border-radius: 0 0 20px 20px;
        background-color: var(--blue);

        transition: all 0.3s;

        .stm-ti-1 {
          margin-inline: auto;
          width: fit-content;
          font-size: 1.2rem;
          display: block;
          color: var(--bblue);
        }

        .stm-sp-flex {
        }

        .stm-top {
          width: 320px;
          padding-right: 0;
          margin: 10px auto 30px auto;
          text-align: center;
          span {
            color: white;
          }
        }
        .stm-top::after {
          left: 50%;
          transform: translateX(-50%);
          color: rgb(218, 226, 243);
        }

        .stm-top::before {
          left: 50%;
          transform: translateX(-50%);
        }

        .stm-top:hover::after {
          top: calc(110% - 5px);
          transform: translate(-50%, -110%);
        }

        ul {
          max-width: 500px;
          margin: 0 auto;
          flex-direction: row;
          flex-wrap: wrap;
          justify-content: center;
          gap: 20px 15px;

          .st-menu-li {
            width: 40%;
            a {
              width: 100%;
              padding-right: 0;
              text-align: center;
              span {
                color: white;
              }
            }
            a::after {
              left: 50%;
              transform: translateX(-50%);
              color: rgb(218, 226, 243);
            }

            a::before {
              left: 50%;
              transform: translateX(-50%);
            }

            a:hover::after {
              top: calc(110% - 5px);
              transform: translate(-50%, -110%);
            }
          }
        }

        #smnw-open {
          display: block;
          position: relative;
          height: 40px;
          margin-top: 30px;
          cursor: pointer;
          span {
            position: absolute;
            width: fit-content;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
            font-size: 1.1rem;
            color: white;
            transition: all 0.2s;
          }

          .smw-s-1 {
            opacity: 1;
            visibility: visible;

            &::after {
              content: "";
              position: absolute;
              top: calc(50% - 3px);
              right: -40px;
              border-left: 6px solid transparent;
              border-right: 6px solid transparent;
              border-top: 10px solid white;
              transition: all 0.2s;
            }
          }

          .smw-s-2 {
            opacity: 0;
            visibility: hidden;
          }

          &:hover {
            span {
              color: var(--lblue);

              &::after {
                border-top: 10px solid var(--lblue);
              }
            }
          }
        }
      }

      #st-menu-wrap.posi {
        transform: translateY(70px);
        #st-menu {
          padding: 30px 20px 20px 20px;
          #smnw-open {
            .smw-s-1 {
              opacity: 0;
              visibility: hidden;
            }
            .smw-s-2 {
              opacity: 1;
              visibility: visible;
            }
          }
        }
      }
      /* サイドナビここまで */

      li:has(#st-side-cv-pc) {
        display: none;
      }
      #st-side-cv-sp {
        position: fixed;
        z-index: 9999;
        bottom: 0;
        left: 0;
        width: 100vw;
        height: 50px;
        background-color: var(--orange);
        border-radius: 0 15px 0 0;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0;
        transition: all 0.3s;
        &.posi {
          padding-block: 50px;
        }
      }
      #st-side-cv-sp:hover {
        background-color: white;
      }

      #side-l-t {
        right: auto;
        left: 0;
        bottom: 50px;
        flex-direction: row;
        &.posi {
          bottom: 106px;
        }

        a {
          border-radius: 5px 5px 0 0;

          &:first-child {
            border-radius: 0 5px 0 0;
          }
        }
      }
    }
    /* サイドナビとflexここまで */
  }
  @media screen and (max-width: 560px) {
    /* トップ */
    .st-top {
      height: auto;
      min-height: unset;

      img {
        position: static;
        min-height: 300px;
      }

      .stt-box {
        position: relative;
        ul {
          position: absolute;
          bottom: 100%;
          .sc-tag {
            padding: 8px 12px;
            font-size: 0.85rem;
          }
        }

        .stt-inner {
          min-width: 300px;
          margin-top: -25px;

          h1 {
            .stt-1 {
            }

            .stt-2 {
              font-size: 1.8rem;
            }
          }
        }
      }
    }

    .st-ca {
      p {
        font-size: 1rem;
      }
    }

    /* トップここまで */

    /* キャンペーン */
    #st-area {
      #st-main {
        .stm-news {
          .sc-news-box {
            .sc-news-inner {
              padding: 0;
              background-color: unset;
            }
            .school-news-list__items {
              li {
                a {
                  .school-news-list__title {
                    font-size: 0.85rem;
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}

@keyframes slt-img {
  0% {
    transform: translateX(0);
  }
  2% {
    transform: translateX(3px);
  }
  6% {
    transform: translateX(-3px);
  }
  10% {
    transform: translateX(3px);
  }
  14% {
    transform: translateX(-3px);
  }
  18% {
    transform: translateX(3px);
  }
  22% {
    transform: translateX(-3px);
  }
  26% {
    transform: translateX(3px);
  }
  30% {
    transform: translateX(-3px);
  }
  34% {
    transform: translateX(3px);
  }
  36% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(0);
  }
}
