dl,
dt,
dd {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}


h2 {
  font-size: 2.25rem;
  text-align: center;
  margin-top: 0;
  margin-bottom: 4rem;
}

h3 {
  font-size: 1.5rem;
  margin: 0 0 1.5rem 0;
  text-align: center;
}

h5 {
  font-size: 1.125rem;
  margin: 0;
}

p {
  font-size: 1rem;
  margin: 0;
}

ol,
ul {
  overflow-wrap: break-word;
  list-style: none;
}

section:not(:first-of-type) {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 3rem 0;
  color: #525252;
}

section:nth-child(2n + 1) {
  background-color: #ffffff;
}

picture {
  display: flex;
  justify-content: center;
  background-color: #FFA56D
}

section:last-of-type  {
  margin-bottom: 0;
}

.speech_practice__container,
.speech_practice__lesson_card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.speech_practice__lesson_card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content:flex-start;
}


section:nth-child(1) {
  margin-top: 4.5rem;
}

.speech_practice__container {
  max-width: 60rem;
  margin-left: auto;
  margin-right: auto;
}

.speech_practice__slider {
  max-width: 60rem;
  gap: 2.5rem;
  margin-bottom: 2rem;
  margin-left: auto;
  margin-right: auto;
  width:100%;
}


.speech_practice__wrapper-row {
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: 1rem;
}

.speech_practice__wrapper-row > span {
  width: 65%;
  font-size: 1rem;
}

.speech_practice__wrapper-row > img {
  width: 35%;
  margin-top: 0.5rem;
}

.speech-practice__remark {
  display: inline;
  width: 100%;
  font-size: 0.875rem;
  margin-top:1rem;
}

.speech_practice__lesson_cards {
  max-width: 718px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  row-gap: 40px;
}

.speech_practice__lesson_cards {
  width: 952px;
  max-width: 952px;
}

.speech_practice__lesson_card {
  border: 2px solid #707070;
  padding: 24px 32px;
  gap: 16px;
  width: 400px;
  box-shadow: 4px 4px #2b91d5;
}

.speech_practice__lesson_card > h3,
.speech_practice__slider > h3,
.speech_practice__curriculum > h3 {
  margin: 0;
  background: linear-gradient(transparent 75%, #ffa56e 75%);
  display: inline;
}

.speech_practice__slider {
  text-align: center;
  margin-top: 5rem;
  max-width: 60rem;
}
.speech_practice__slider > div {
  margin-top: 1.5rem;
}

.speech_practice__lesson_card > p {
  width: 100%;
  max-width: 336px;
}

#mainSwiper {
  width: 100%;
  height: 12rem;
}

#mainSwiper .swiper-slide {
  cursor: zoom-in;
}

/* 画像のサイズ調整 */
.swiper-slide img {
  height: 100%;
  width: 100%;
  /* object-fit: cover; */
  object-fit: contain;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100vh;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-bg {
  position: absolute;
  background: rgba(0, 0, 0, 0.7);
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
}

.modal-content {
  max-width: 90%;
  width: 800px;
  margin: 0 auto;
}

.speech_practice__cta {
  background: #f7f2e5 !important;
  width: 100vw;
  padding-bottom: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.speech-practice__table_wrapper {
  display: flex;
  flex-direction: column;
  position: relative;
  margin: 6em 0 0 0;
  padding: 0.5em 1em;
  border: solid 3px #2b91d5;
  border-radius: 0.25rem;
}

.speech-practice__table_wrapper > h3 {
  text-align: left;
  margin-bottom: 1rem;
  position: absolute;
  display: inline-block;
  top: -40px;
  left: -3px;
  padding: 0 1rem;
  padding-top: 0.5rem;
  height: 2.5rem;
  line-height: 1.5rem;
  background: #2b91d5;
  color: #ffffff;
  font-weight: bold;
  border-radius: 5px 5px 0 0;
}

.speech_practice__curriculum {
  text-align:center;
  max-width: 60rem;
  margin-top: 2rem;
}

.speech_practice__curriculum-container{
  margin-top:1rem;
}
.speech-practice__table_contents {
  display: flex;
  flex-direction: row;
  flex-wrap:wrap;
  gap: 0.5rem;
  overflow-x: scroll;
  padding: 1rem 1rem;
}

.speech-practice__table_cell {
  width: 11rem;
  margin-bottom:0.5rem;
  background: #f8f8f8;
  display:flex;
}
.speech-practice__table_cell > span {
  padding: 10px 6px;
  font-size: 0.75rem;
  font-weight: bold;
}

.arrow_box {
  background: #ffa56e;
  vertical-align: middle;
  text-align: left;
  overflow: visible;
  position: relative;
  color: #fff;
  border-radius: 0.125rem;
}

.arrow_box:after {
  left: 100%;
  top: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  position: absolute;
  pointer-events: none;
  border-color: rgba(136, 183, 213, 0);
  border-left-color: #ffa56e;
  border-width: 8px;
  margin-top: -8px;
}
/* firefox */
@-moz-document url-prefix() {
  .arrow_box::after {
    float: right;
    padding: 0;
    left: 30px;
    top: 10px;
    content: " ";
    height: 0;
    width: 0;
    position: relative;
    pointer-events: none;
    border: 10px solid transparent;
    border-left: #ffa56e 10px solid;
    margin-top: -10px;
  }
}

.speech-practice__table_cell >span:last-child {
  padding-left: 10px;
  border-radius: 0.125rem;
  width:fit-content;
}

.speech-practice__faq {
  font-size: 1.25rem;
}

.speech-practice__faq dt {
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.speech-practice__faq dt:last-child {
  margin-bottom: 0px;
}

.speech-practice__faq dt::before,
.speech-practice__faq dd::before {
  margin-right: 0.4em;
}

.speech-practice__faq dt::before {
  content: "Q.";
  color: #2b91d5;
}

.speech-practice__faq dd {
  margin: 0 0 2.5em;
  padding: 1em 1.5em;
  background-color: #fff;
  font-size: 1rem;
  border-radius: 0.25rem;
}
.speech-practice__faq dd:last-child {
  margin-bottom: 0px;
}

.speech-practice__faq dd::before {
  content: "A.";
  color: #ffa56e;
  font-weight: bold;
}

.speech_practice__title {
  position: relative;
  text-align: center;
  width:64%;
  margin-bottom:2.5rem;
}

.speech_practice__title:after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  content: "";
  border-top: 2px solid #2c91d4;
  background-image: -webkit-repeating-linear-gradient(
    135deg,
    #2c91d4,
    #2c91d4 1px,
    transparent 2px,
    transparent 5px
  );
  background-image: repeating-linear-gradient(
    -45deg,
    #2c91d4,
    #2c91d4 1px,
    transparent 2px,
    transparent 5px
  );
  background-size: 7px 7px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.speech_practice__title:before {
  top: 4px;
  left: 4px;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
}

.speech_practice__title > span {
  position: relative;
  display: block;
  padding: 0 0 1.5rem 0;
  letter-spacing: 0.05em;
  color: #fff;
  text-shadow: #ef5b00 2px 0, #ef5b00 -2px 0, #ef5b00 0 -2px, #ef5b00 0 2px,
    #ef5b00 2px 2px, #ef5b00 -2px 2px, #ef5b00 2px -2px, #ef5b00 -2px -2px,
    #ef5b00 1px 2px, #ef5b00 -1px 2px, #ef5b00 1px -2px, #ef5b00 -1px -2px,
    #ef5b00 2px 1px, #ef5b00 -2px 1px, #ef5b00 2px -1px, #ef5b00 -2px -1px,
    4px 4px 0 #ef5b00, 0 4px 0 #ef5b00;
}

.speech_practice__title > span:before {
  top: 15px;
}

.speech_practice__title > span:after {
  bottom: 15px;
}
.accordion_linetab {
  position: relative;
  overflow: hidden;
  float: left;
  margin:.5rem 0;
}
.accordion_linetab input {
  position: absolute;
  z-index: -1;
  opacity: 0;
}
.accordion_linetab label {
  font-weight: 700;
  line-height: 2;
  position: relative;
  display: block;
  cursor: pointer;
  background: #2b91d5;
  color: #ffffff;
  padding: 0 0 0 1em;
}
.accordion_linetab > label > h5 {
  margin: 0;
  text-align:left;
  padding-left: 5rem;
}
.accordion_linetab .accordion_linetab-content {
  overflow: hidden;
  max-height: 0;
  -webkit-transition: max-height 0.5s;
  transition: max-height 0.5s;
  border: 4px solid #2b91d5;
  border-top: none;
}
.accordion_linetab input:checked ~ .accordion_linetab-content {
  max-height: 1200px;
}
.accordion_linetab label {
  font-size: 1.5rem;
  font-weight: 700;
}
.accordion_linetab label:after {
  color: #fff;
  content: "＋";
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  width: 2.5rem;
}
.accordion_linetab input:checked ~ label::after {
  color: #fff;
  content: "ー";
}

.line-break{
  display:none;
}

@media screen and (max-width: 480px) {
  h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
  }

  h5 {
    font-size: 1rem;
  }

  section:nth-child(1) {
    margin-top: 2.5rem;
    padding: 0 1.5rem;
  }

  .speech_practice__mv > img{
    width:100%;
  }

  .speech_practice__container,
  .speech_practice__curriculum,
  .speech_practice__slider{
    padding: 0 1rem;
  }

  .speech_practice__wrapper-row {
    display: flex;
    flex-direction: column-reverse;
    width: 100%;
  }

  .speech_practice__title {
    width:92%;
  }

  .speech_practice__wrapper-row > img {
    width: 100%;
  }
  .speech_practice__wrapper-row > span {
    width: 100%;
    font-size: 1rem;
  }

  .speech_practice__lesson_cards,
  .speech_practice__lesson_card {
    width: 100%;
  }

  .speech_practice__lesson_card {
    padding: 1.5rem 1.5rem;
    height: auto;
  }
  .accordion_linetab > label > h5{
    padding-top:.25rem;
    padding-bottom:.25rem;
  }
  .accordion_linetab label:after {
    left: 0;
    width: 1.5rem;
  }
  .accordion_linetab > label > h3 {
    font-size: 1rem;
    padding: 1rem 0.5rem;
  }
  .accordion_linetab label {
    line-height: 1;
    font-size: 1rem;
    padding-left: 1.5rem;
  }
  .accordion_linetab input:checked ~ .accordion_linetab-content {
    max-height: 2000px;
  }
  .accordion_linetab label:after {
    left: 2%;
  }

  .speech-practice__table_cell{
    width: 48%;
    align-items:center;
  }
  .speech-practice__table_cell > span{
    font-weight:normal;
  }
  .arrow_box{
    height:100%;
    width:48px;
  }
  .speech-practice__table_cell >span:last-child{
    padding-left:10px;
    font-weight:bold;
  }

  .line-break{
    display:block;
  }

}

@media screen and (min-width: 480px) and (max-width: 768px) {
  h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
  }

  section{
    padding: 0 1.5rem;
  }

  .speech_practice__mv > img{
    width:100%;
  }


  .speech_practice__wrapper-row {
    display: flex;
    flex-direction: column-reverse;
    width: 100%;
    gap: 1rem;
    align-items: center;
  }

  .speech_practice__wrapper-row > p {
    width: 100%;
    font-size:1rem;
  }
  .speech_practice__wrapper-row > img {
    width: 75%;
  }

  .speech_practice__lesson_cards,
  .speech_practice__lesson_card {
    width: 100%;
  }

  .speech_practice__lesson_cards {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .speech_practice__lesson_card {
    padding: 1.5rem 1.5rem;
    height: auto;
    max-width: 320px;
  }

  .speech_practice__lesson_card_icon > img {
    width: 80px;
  }
  .speech-practice__table_contents{
    justify-content:space-between;
    gap:0;
  }
  .speech-practice__table_cell{
    width: 33%;
    align-items:center;
  }
}
