@charset "UTF-8";
main {
  max-width: 500px;
  margin-inline: auto;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
}

img {
  max-width: 100%;
  vertical-align: bottom;
}

.video {
  padding-inline: 16px;
}
.video video {
  width: 71.53%;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

.btn.btn__small {
  width: 71.53%;
  margin-bottom: 24px;
}

.btn {
  display: table;
  margin-inline: auto;
  margin-top: 20px;
  padding-right: 20px;
  font-family: "Noto Sans JP";
  font-size: 11px;
  width: 96%;
  padding-block: 0.8rem;
  position: relative;
  background: linear-gradient(90deg, #eb6262, #dc700c);
  border: 1px solid #ffffff;
  color: #ffffff;
  border-radius: 36px;
  box-shadow: 0px 5px 5px 0px #cfcfcf;
}
.btn::before {
  /* 横線の形状 */
  content: "";
  position: absolute;
  bottom: 40%;
  right: 26px;
  width: 42px;
  height: 0.8px;
  background: #ffffff;
}
.btn::after {
  /*矢印の形状*/
  content: "";
  position: absolute;
  bottom: 46%;
  right: 26px;
  width: 15px;
  height: 1px;
  background: #ffffff;
  transform: rotate(33deg);
}

.scroll-teacher {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-inline: 16px;
  padding-bottom: 40px;
}
.scroll-teacher h2 {
  margin-block: 10px;
}
.scroll-teacher li {
  flex-shrink: 0;
  width: 331px;
}
.scroll-teacher p {
  text-align: left;
  font-size: 14px;
}

.question {
  display: grid;
  gap: 1rem;
  padding-inline: 16px;
  margin-bottom: 2rem;
}
.question-item {
  text-align: left;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  background: #fff;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  position: relative;
  padding-block: 20px;
  cursor: pointer;
}
.question-item .toggle_btn {
  position: absolute;
  width: 25px;
  height: 25px;
  top: 1rem;
  right: 1rem;
}
.question-item .toggle_btn span {
  position: absolute;
  width: 25px;
  height: 3.5px;
  background-color: #333;
  top: 50%;
  right: 0;
  transform: translate(0, -50%);
  transition: 0.5s;
}
.question-item .toggle_btn span:last-of-type {
  transform: translateY(-50%) rotate(90deg);
}
.question-item .q {
  color: black;
  padding-inline: 4rem;
  position: relative;
}
.question-item .q span {
  margin-left: -40px;
  position: absolute;
}
.question-item .ans {
  display: none;
  color: red;
  padding-inline: 4rem;
  position: relative;
}
.question-item .ans span {
  margin-left: -39px;
  position: absolute;
}
.question-item.open .toggle_btn span:last-of-type {
  transform: translate(0, -50%) rotate(0);
}

.hz-scroll {
  display: flex;
  overflow-x: auto;
  margin-inline: 16px;
  margin-top: 2rem;
}
.hz-scroll img {
  width: 80vw;
}
/*# sourceMappingURL=style.css.map */