html {
  scroll-behavior: smooth;
}

#about,
#reasons,
#overview {
  scroll-margin-top: 168px;
}
#qa {
  scroll-margin-top: 208px;
}
@media screen and (max-width: 800px) {
  #about,
  #reasons,
  #overview {
    scroll-margin-top: 68px;
  }
  #qa {
    scroll-margin-top: 108px;
  }
}

.hero {
  width: 100%;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url(../../front/img/beginner-hero-pc.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media screen and (max-width: 800px) {
  .hero {
    flex-direction: column;
    height: 280px;
    background-image: url(../../front/img/beginner-hero-sp.jpg);
  }
}

.hero__icon {
  width: 37px;
  height: 56px;
}

.hero__title {
  font-size: 44px;
  font-weight: 700;
  color: var(--white);
  margin-left: 16px;
}

@media screen and (max-width: 800px) {
  .hero__title {
    font-size: 24px;
    margin-top: 16px;
  }
}

.beginner_nav {
  max-width: 1200px;
  margin: 0 auto;
}
@media screen and (max-width: 800px) {
  .beginner_nav {
    padding: 0 20px;
  }
}

.beginner-heading {
  position: relative;
  color: var(--black100);
  font-size: 40px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 55px;
  padding-bottom: 20px;
  line-height: 1.5;
  &::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background-color: var(--orange);
  }
  br.pc-only {
    display: block;
  }
  br.sp-only {
    display: none;
  }
}
@media screen and (max-width: 800px) {
  .beginner-heading {
    font-size: 28px;
    margin-bottom: 24px;
    padding-bottom: 15px;
    &::after {
      width: 60px;
    }
    br.pc-only {
      display: none;
    }
    br.sp-only {
      display: block;
    }
  }
}

.sect_reasons {
  margin: 0 auto;
  padding: 100px 20px 100px;
}
.sect_reasons .sectInner {
  padding: 40px 29px 40px 30px;
}
@media screen and (max-width: 800px) {
  .sect_reasons {
    padding: 60px 20px;
  }
  .sect_reasons .sectInner {
    padding: 30px 21px;
  }
}

.reasons__list {
  max-width: 1200px;
  display: flex;
  gap: 50px;
  margin: 0 auto;
}
@media screen and (max-width: 1155px) {
  .reasons__list {
    flex-direction: column;
  }
}

.reasons__image-wrap {
  position: relative;
}

.reasons__number {
  position: absolute;
  top: -21px;
  left: -11px;
  color: var(--white);
  background-color: var(--orange);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  padding: 15px;
  border-radius: 5px;
}
@media screen and (max-width: 800px) {
  .reasons__number {
    font-size: 30px;
  }
}

.reasons__image {
  width: 100%;
  border-radius: 5px;
}

.reasons__title {
  color: #e97a20;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
  margin: 30px 0 10px;
  text-align: center;
  br.pc-only {
    display: block;
  }
  br.sp-only {
    display: none;
  }
}
@media screen and (max-width: 800px) {
  .reasons__title {
    font-size: 22px;
    margin: 22px 0 10px;
    br.pc-only {
      display: none;
    }
    br.sp-only {
      display: block;
    }
  }
}

.reasons__text {
  font-size: 16px;
  line-height: 2;
}

.reasons__more {
  position: relative;
  z-index: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 60px auto 0;
  &:has(.reasons__more-link:hover) {
    .reasons__more-decoration,
    .reasons__more-image-wrap {
      opacity: 0.7;
    }
  }
}
@media screen and (max-width: 800px) {
  .reasons__more {
    margin: 40px auto 0;
  }
}

.reasons__more-decoration {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: inline-block;
  color: var(--orange);
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  transition: opacity 0.3s ease;
  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: -10px;
    width: 1px;
    height: 27px;
    background-color: var(--orange);
    transform: rotate(-20deg);
  }
  &::after {
    content: "";
    position: absolute;
    top: 0;
    right: -10px;
    width: 1px;
    height: 27px;
    background-color: var(--orange);
    transform: rotate(20deg);
  }
}
@media screen and (max-width: 800px) {
  .reasons__more-decoration {
    font-size: 10px;
    &::before {
      content: "";
      position: absolute;
      top: 0;
      left: -10px;
      width: 1px;
      height: 19px;
      background-color: var(--orange);
      transform: rotate(-20deg);
    }
    &::after {
      content: "";
      position: absolute;
      top: 0;
      right: -10px;
      width: 1px;
      height: 19px;
      background-color: var(--orange);
      transform: rotate(20deg);
    }
  }
}

.reasons__more-image-wrap {
  position: relative;
  z-index: 1;
  margin-bottom: -20px;
  transition: opacity 0.3s ease;
}

.reasons__more-image {
  width: 200px;
  margin-top: 40px;
}
@media screen and (max-width: 800px) {
  .reasons__more-image {
    width: 140px;
    margin-top: 24px;
  }
}

.reasons__more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 590px;
  height: 90px;
  color: var(--orange);
  background-color: #fef5e5;
  border: 3px solid var(--orange);
  border-radius: 90px;
  font-size: 22px;
  font-weight: 700;
  padding-top: 6px;
  transition: opacity 0.3s ease;
  &:hover {
    opacity: 0.7;
  }
}
@media screen and (max-width: 800px) {
  .reasons__more-link {
    /* max-width: 350px; */
    width: 100%;
    height: 70px;
    border-radius: 90px;
    font-size: 16px;
    padding-top: 6px;
  }
}

.reasons__more-link-icon {
  position: relative;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  color: var(--white);
  background-color: var(--orange);
  border-radius: 50%;
  margin-left: 10px;
  &::before {
    content: "";
    position: absolute;
    top: 50%;
    left: calc(50% - 1px);
    transform: translate(-50%, -50%) rotate(45deg);
    width: 6px;
    height: 6px;
    border-top: 2px solid var(--white);
    border-right: 2px solid var(--white);
  }
}

.sect_about {
  background-color: #fef5e5;
  margin-top: 60px;
  padding: 80px 20px 100px;
}
.sect_about .sectInner {
  max-width: 1200px;
  padding: 30px 20px;
}
@media screen and (max-width: 800px) {
  .sect_about {
    margin-top: 30px;
    padding: 50px 20px 70px;
  }
  .sect_about .sectInner {
    padding: 30px 20px;
  }
}

.about__logo {
  text-align: center;
  margin-bottom: 38px;
}
@media screen and (max-width: 800px) {
  .about__logo {
    margin-bottom: 30px;
  }
}

.about__logo img {
  width: 330px;
}
@media screen and (max-width: 800px) {
  .about__logo img {
    width: 200px;
  }
}

.sect_about .bgnr_txt {
  text-align: center;
}
@media screen and (max-width: 800px) {
  .sect_about .bgnr_txt {
    text-align: left;
  }
}

.sect_overview {
  background-color: #fef5e5;
  margin: 0 auto;
  padding: 80px 0 100px;
}
@media screen and (max-width: 800px) {
  .sect_overview {
    padding: 60px 20px;
  }
}

.sect_workings {
  margin-top: 0;
}

.structure {
  display: flex;
  gap: 93px;
}

.structure .beginnerImg {
  margin-top: 0;
}

.structure .bgnr_txt {
  font-size: 17px;
}

.structure img {
  width: 358px;
  height: 299px;
}

.structure__text-wrap {
  margin-top: 17px;
}

@media screen and (max-width: 800px) {
  .structure {
    flex-direction: column;
    gap: 20px;
  }

  .structure .bgnr_txt {
    font-size: 16px;
  }

  .structure img {
    width: 308px;
    height: 239px;
  }

  .structure .structure__text-wrap {
    margin-top: 0;
  }
}

@media screen and (max-width: 390px) {
  .structure img {
    width: 100%;
    height: auto;
  }
}

.sectInner.worktype {
  max-width: 1200px;
}

.worktype__item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 50px;
  border-bottom: 2px dotted var(--orange);
}

.worktype__item:not(:first-child) {
  margin-top: 42px;
}

.worktype__item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.worktype__item .ttlsml_beginner {
  width: 280px;
  text-align: left;
  white-space: nowrap;
}

.worktype__item-text {
  width: 800px;
}

.worktype__item-text .bgnr_txt {
  font-size: 17px;
}

@media screen and (max-width: 800px) {
  .sectInner.worktype {
    padding: 41px 21px;
  }

  .worktype__item {
    flex-direction: column;
    align-items: center;
  }

  .worktype__item:not(:first-child) {
    margin-top: 24px;
  }

  .worktype__item .ttlsml_beginner {
    width: auto;
    text-align: center;
  }

  .worktype__item-text {
    width: 100%;
  }

  .worktype__item-text .bgnr_txt {
    font-size: 16px;
  }
}

.sectInner.merit {
  max-width: 1200px;
}

.merit__heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.merit__heading .ttlsml_beginner--num {
  padding-left: 0;
  margin-bottom: 0;
}

.merit__heading .ttlsml_beginner--num .sp-only {
  display: none;
}

.merit__heading .numcircle {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--orange);
  border-radius: 50%;
}

.merit bgnr_txt {
  font-size: 17px;
}

@media screen and (max-width: 800px) {
  .sectInner.merit {
    width: 100%;
    padding: 21px;
  }

  .merit__heading {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
    text-align: center;
  }

  .merit__heading .ttlsml_beginner--num {
    font-size: 20px;
  }

  .merit__heading .ttlsml_beginner--num .sp-only {
    display: block;
  }

  .merit__heading .numcircle {
    width: 60px;
    height: 60px;
  }

  .merit__heading .numcircle img {
    width: 30px;
    height: 30px;
  }

  .merit bgnr_txt {
    font-size: 16px;
  }
}

.beginner-entrybox__btn-wrap {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

.beginner-entrybox__btn {
  color: var(--white);
  /* padding: 10px 47px; */
  border-radius: 34px;
  text-decoration: none;
  font-size: 22px;
  font-weight: 700;
  transition: box-shadow 0.3s ease;
  box-shadow: 0px 4px 3px 0px rgba(0, 0, 0, 0.16);
  width: 310px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.beginner-entrybox__btn:hover {
  box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.16);
}

.beginner-entrybox__btn--register {
  background-color: var(--orange);
}

.beginner-entrybox__btn--line {
  background-color: #06c755;
  display: flex;
  align-items: center;
}

.beginner-entrybox__btn--line img {
  width: 36px;
  height: 36px;
}

@media screen and (max-width: 800px) {
  .beginner-entrybox__btn-wrap {
    flex-direction: column;
    gap: 12px;
  }

  .beginner-entrybox__btn {
    border-radius: 24px;
    font-size: 16px;
    width: 310px;
    height: 50px;
  }
}

@media screen and (max-width: 375px) {
  .beginner-entrybox__btn {
    width: 100%;
  }
}

.faq-list {
  max-width: 1080px;
  margin: 0 auto;
}

.qa-accordion__details:last-of-type {
  border-bottom: 1px solid #dcdcdc;
}

@media screen and (max-width: 800px) {
  .qa-accordion__details {
    padding: 0;
  }
}

.qa-accordion__details[open] .qa-accordion__icon::after {
  transform: rotate(90deg);
}

.qa-accordion__details .qa-accordion__summary {
  border-top: 1px solid #dcdcdc;
}

.qa-accordion__summary {
  position: relative;
  cursor: pointer;
  display: inline-flex;
  width: 100%;
  padding: 30px 40px 30px 0;
}
@media screen and (max-width: 800px) {
  .qa-accordion__summary {
    padding: 16px 36px 16px 0;
  }
}

.qa-accordion__number {
  color: var(--orange);
  font-size: 18px;
  font-weight: 700;
}
@media screen and (max-width: 800px) {
  .qa-accordion__number {
    font-size: 16px;
  }
}

.qa-accordion__question {
  color: var(--black100);
  font-size: 18px;
  font-weight: 700;
  margin-left: 10px;
}
@media screen and (max-width: 800px) {
  .qa-accordion__question {
    font-size: 16px;
  }
}

.qa-accordion__icon {
  position: absolute;
  top: 33px;
  right: 20px;
  width: 20px;
  height: 20px;
}
@media screen and (max-width: 800px) {
  .qa-accordion__icon {
    top: 20px;
    right: 10px;
    width: 16px;
    height: 16px;
    margin-right: 4px;
  }
}

.qa-accordion__icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  display: block;
  width: 20px;
  height: 2px;
  background-color: #4b4b4b;
}
@media screen and (max-width: 800px) {
  .qa-accordion__icon::before {
    width: 16px;
  }
}

.qa-accordion__icon::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: 2px;
  height: 20px;
  background-color: #4b4b4b;
  transition: transform 0.3s ease;
}
@media screen and (max-width: 800px) {
  .qa-accordion__icon::after {
    height: 16px;
  }
}

.qa-accordion__content {
  overflow: hidden;
}

.qa-accordion__inner {
  padding: 0 40px 30px;
}
@media screen and (max-width: 800px) {
  .qa-accordion__inner {
    padding: 0 36px 16px;
  }
}

.qa-accordion__answer {
  font-size: 14px;
}

.qa-accordion__answer a {
  text-decoration: underline;
}
