.l-spike-wrap {
  padding-bottom: 40px;
}
.l-spike-wrap2 {
  padding-bottom: 30px;
}
.c-spike-list1__item:nth-child(2) .c-spike-list1__img img {
  width: 120px;
  height: 120px;
}
.c-spike-list1__item:first-child .c-spike-list1__img img {
  width: 120px;
  height: 120px;
}
.c-spike-list1__item:last-child .c-spike-list1__img img {
  width: 120px;
  height: 120px;
}
.c-spike-list1__content {
  border: none;
}
.c-spike-list11__ttl.huki-ttl {
  text-align: center;
}
.c-spike-btn2__txt.anchor {
  min-width: 100%;
}
.spike-prime4__inner {
  padding-top: 0;
}
.c-spike-list12__info .c-list > li:not(.c-icontext) {
  font-size: 1.2rem;
}
.c-spike-list12__info .c-list > li + li {
  margin-top: 8px;
}
.c-spike-block4__text2 {
  margin-top: 10px;
}
.f-red span {
  font-size: 1.4em;
}
.c-spike-block4__img {
  max-width: 600px;
  padding-top: 55px;
  margin: -55px auto 0 auto;
}
.c-spike-block4__btn {
  flex-wrap: wrap;
}
.c-spike-btn2__txt {
  position: relative;
  background: var(--color-gradient);
}
.c-spike-btn2__txt:hover {
  background: rgba(255, 102, 0, 0.6) !important;
  border-color: #ff6600 !important;
}
.c-spike-btn2__txt.c-button__inner {
  min-height: 50px;
  max-height: 55px !important;
  border: none;
}
.c-spike-btn2__txt.c-button__inner > span {
  padding: 0;
  line-height: 1;
}
.c-spike-btn2.is-style1 .c-spike-btn2__txt {
  position: relative;
}
.c-spike-btn2.is-style1.white .c-spike-btn2__txt.anchor {
  padding: 12px 48px 16px 24px;
}
.c-spike-btn2.is-style1 .c-spike-btn2__txt.anchor::after {
  font-family: "iconfont" !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  content: "\e900";
  width: 20px;
  height: 20px;
  position: absolute;
  top: 50%;
  right: 20px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--color-prim);
}
.lesson-content {
  position: relative;
  margin: 2em 0;
  padding: 0.5em 1em;
  border: solid 3px #62c1ce;
}
.box-title {
  position: absolute;
  display: inline-block;
  top: -27px;
  left: -3px;
  padding: 0 9px;
  height: 25px;
  line-height: 25px;
  font-size: 17px;
  background: #62c1ce;
  color: #ffffff;
  font-weight: bold;
  border-radius: 5px 5px 0 0;
}
.lesson-content div {
  margin: 10;
  padding: 10;
}
.c-spike-block4__content {
  margin: 0 auto;
}
.border-none.c-spike-block4__content::before {
  content: none;
}
.overview-padding {
  padding-left: 25px;
}
.set-list__small-ttl a {
  text-decoration: none;
}
.list-title {
  position: relative;
  padding: 0.8rem 0;
  margin-bottom: 0.3rem;
  border-bottom: 2px solid;
  font-weight: bold;
  font-size: 18px;
  text-align: center;
}
.list-title:before,
.list-title:after {
  position: absolute;
  top: 100%;
  left: 50%;
  content: "";
  height: 0;
  width: 0;
}
.list-title:before {
  border: 13px solid;
  border-color: transparent;
  border-top-color: black;
  margin-left: -13px;
}
.list-title:after {
  border: 10px solid;
  border-color: transparent;
  border-top-color: white;
  margin-left: -10px;
}
.set_content {
  text-align: center;
  line-height: 1.7em;
}
.scroll {
  padding-top: 60px;
  position: relative;
  text-align: center;
}

/* 矢印のアニメーション部分 */
.scroll::before {
  animation: scroll 2s infinite;
  border-bottom: 2px solid #000;
  border-left: 2px solid #000;
  content: "";
  height: 40px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 0;
  width: 40px;
}
/* 矢印のアニメーション */

/* 授業例の一覧表 */
.table_design08 {
  font-size: 14px;
  line-height: 1em;
  font-weight: 500px;
  border-collapse: collapse;
  table-layout: fixed;
  max-width: 700px;
  width: 100%;
  text-align: left;
}
.table_design08 th {
  text-align: center; /* 水平中央寄せ */
  vertical-align: middle; /* 垂直中央寄せ */
}
.table_design08 th,
.table_design08 td {
  border: 2px solid #d2e8f1;
  padding: 1em;
}
.table_design08 th.time {
  width: 15%;
}
.table_design08 th.content {
  width: 85%;
}
.table_design08 thead th {
  background-color: #62c1ce;
  color: #fff;
  border: 2px solid #62c1ce;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}
.table_design08 thead th:last-of-type {
  border-right: 2px solid #62c1ce;
}
.table_design08 tbody th {
  color: #62c1ce;
  font-weight: bold;
  text-align: center;
}
/* 授業例の一覧表 */

@keyframes scroll {
  0% {
    opacity: 0;
    transform: rotate(-45deg) translate(0, 0);
  }
  40% {
    opacity: 1;
  }
  80% {
    opacity: 0;
    transform: rotate(-45deg) translate(-20px, 20px);
  }
  100% {
    opacity: 0;
  }
}

.list-design {
  list-style: none;
  padding: 20px 10px;
}
.list-design li {
  display: flex;
  align-items: center;
  gap: 0 5px;
  padding: 0.3em;
}
.list-design li::before {
  display: inline-block;
  width: 12px;
  height: 6px;
  border-bottom: 3px solid #62c1ce;
  border-left: 3px solid #2589d0;
  transform: rotate(-45deg) translateY(-1.5px);
  content: "";
}
.list-design li:last-of-type {
  border-bottom: none;
}

@media (min-width: 768px) {
  .spike-prime4__block1 {
    padding: 30px 0 0;
  }
  .c-spike-list1__content {
    height: 360px;
    border: none;
  }
  .c-spike-list1__item:first-child .c-spike-list1__img img {
    width: 120px;
    height: 120px;
  }
  .c-spike-list1__item:last-child .c-spike-list1__img img {
    width: 120px;
    height: 120px;
  }
  .c-spike-block4.is-style1 {
    padding: 0 10px 80px 0;
  }
  .c-spike-block4.is-style1 .c-spike-block4__content {
    padding: 30px 0 0 30px;
  }
  .c-spike-block4.is-style1 .c-spike-block4__content:nth-child(3) {
    padding-left: 0;
  }
  .c-spike-block4__content {
    max-width: 600px;
  }
  .c-spike-block4__content::before {
    content: none;
  }
  .set-list {
    padding-right: 30px;
  }
  .set-list__small-ttl {
    margin-left: 2em;
    line-height: 1.2em;
  }
  .mov-box {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 600px;
  }
}

@media screen and (max-width: 640px) {
  .c-spike-block4__inner {
    padding: 25px;
  }
  .c-spike-block4__btn {
    max-width: 86%;
    margin: 20px auto;
    padding-bottom: 50px;
  }
  .c-spike-block4__btn .c-spike-btn2.white {
    margin-top: 25px;
  }
  .c-spike-block4__content::before {
    content: none;
  }
}

/* next-dx-highschool2026 追加分 */
.tab-list {
  display: flex;
  justify-content: center;
  gap: 15px;
  position: relative;
  z-index: 1;
  max-width: 100%;
  padding-left: 5.3333333333%;
  padding-right: 5.3333333333%;
  margin: 0 auto;
}

.tab-item {
  align-items: center;
  background: #f7f7f7;
  border: 2px solid var(--color-border);
  font-weight: bold;
  display: flex;
  justify-content: center;
  padding: 8px 10px;
  line-height: 1.4;
  cursor: pointer;
  text-align: center;
  width: calc((100% - 15px) / 2);
}

.tab-item {
  border-bottom: none;
}

.tab-panel {
  display: none;
}

.tab-panel .c-spike-block4.is-style1 {
  border: 2px solid var(--color-border);
}

.tab-item.active {
  background: #62c1ce;
  color: #000;
  font-weight: bold;
}

.tab-item.disabled {
  pointer-events: none;
  cursor: not-allowed;
}

.tab-panel.active {
  display: block;
}

.dammy {
  height: 600px;
  position: relative;
}

.dammy h2 {
  font-size: 5.1rem;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%);
  margin: 0;
}

.c-spike-block4.is-style1 {
  padding: 20px 15px 80px;
}

.c-spike-block4__inner {
  border: solid 3px #62c1ce;
  display: flex;
  padding: 15px;
  flex-wrap: wrap;
  flex-direction: column;
}

.c-spike-block4__img {
  display: flex;
  flex-direction: column;
  max-width: 100%;
  margin: -55px 0 0;
}

.c-spike-block4__box {
  border: solid 3px #62c1ce;
}

.c-spike-block4__box-title {
  background: #62c1ce;
  color: #fff;
  display: block;
  font-weight: bold;
  padding: 5px 15px;
}

.set-list {
  padding: 20px 10px;
}

#toggle-header {
  cursor: pointer;
  position: relative;
}

#toggle-header .content::before {
  content: "";
  display: block;
  width: 1px;
  height: 30px;
  position: absolute;
  top: 18px;
  right: 39px;
  z-index: 1;
  background-color: #fff;
}

#toggle-header .content::after {
  content: "＋";
  display: block;
  width: 14px;
  height: 14px;
  position: absolute;
  top: 26px;
  right: 14px;
  z-index: 1;
  transform: rotate(-90deg);
  font-size: 16px;
  color: #fff;
  transition: transform 0.2s;
}

#toggle-header.active .content::after {
  content: "－";
  transform: rotate(0);
}

#toggle-body {
  opacity: 0;
  visibility: hidden;
}

#toggle-body tr th,
#toggle-body tr td {
  border: none;
  padding-top: 0;
  padding-bottom: 0;
  line-height: 0;
  transition: all 0.3s ease;
}

#toggle-header.active + #toggle-body {
  opacity: 1;
  visibility: visible;
}

#toggle-header.active + #toggle-body tr th,
#toggle-header.active + #toggle-body tr td {
  border: 2px solid #d2e8f1;
  padding: 1em;
  line-height: 1em;
}

.overview-padding {
  padding-left: 0;
  margin: auto 0 0;
  order: 2;
}

.c-spike-block4__plus {
  color: #62c1ce;
  font-size: 2.8rem;
  order: 2;
  padding: 20px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.c-spike-block4__middle {
  border: solid 3px #62c1ce;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  order: 3;
  flex: 1;
  padding: 15px;
  max-width: 100%;
}

.panel1 .c-spike-block4__middle-left {
  order: 1;
  max-width: 100%;
}

.c-spike-block4.is-style1 .c-spike-block4__content {
  display: flex;
  flex-direction: column;
  max-width: 100%;
  margin: 0;
  padding: 0;
  order: 1;
}

.panel1 .c-spike-block4__small {
  display: flex;
  flex-direction: column;
  border: solid 3px #62c1ce;
  order: 3;
  max-width: 100%;
  padding: 15px;
}

.c-spike-block4.is-style1 .c-spike-block4__btn {
  order: 5;
  max-width: 300px;
  margin: 20px auto;
  margin-top: 20px !important;
  padding-bottom: 10px;
}

@media (min-width: 768px) {
  .tab-list {
    gap: 30px;
    max-width: 1240px;
    padding-left: 40px;
    padding-right: 40px;
  }

  .tab-item {
    padding: 10px 20px;
    width: calc((100% - 30px) / 2);
  }

  .dammy h2 {
    font-size: 7.1rem;
  }

  .c-spike-block4__inner {
    flex-direction: row;
  }

  .c-spike-block4__img {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: -55px auto 0;
  }

  .panel1 .c-spike-block4__img {
    max-width: 350px;
    margin: -55px 0 0;
  }

  .panel1 .c-spike-block4__title {
    font-size: 2.8rem;
  }

  .c-spike-block4__price2 {
    font-size: 1.9rem;
  }

  .c-spike-block4__middle {
    max-width: 500px;
    margin: 0 auto;
  }

  .panel1 .c-spike-block4__middle {
    flex-direction: row;
    max-width: 100%;
    margin: 0;
  }

  .panel1 .c-spike-block4__middle-left {
    order: 1;
    max-width: 350px;
    display: flex;
    flex-direction: column;
  }

  .panel1 .c-spike-block4__img .overview-padding {
    margin: auto 0 6px;
  }

  .panel1 .c-spike-block4__middle-left .overview-padding {
    margin: auto 0 20px;
  }

  .panel3 .c-spike-block4__middle .overview-padding {
    margin: auto 0 45px;
  }

  .panel5 .c-spike-block4__middle .overview-padding {
    margin: auto 0 60px;
  }

  .panel1 .c-spike-block4__small {
    max-width: 380px;
  }

  .c-spike-block4.is-style1 .c-spike-block4__btn {
    left: 0;
    order: 5;
    margin-bottom: 40px;
    margin-top: 55px !important;
    max-width: 100%;
    padding: 0;
  }
}
