@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,700&display=swap');

/** -----------------------------------
メインビジュアル
-------------------------------------**/
#mainvisual {
  width: 100%;
  height: 100svh;
  position: relative;
}

#mainvisual .mv-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  padding: 10px;
  gap: 10px;
  flex-wrap: wrap;
}

#mainvisual .mv-wrap .mainvisual-img {
  height: calc((100% - 10px) / 2);
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

#mainvisual .mv-wrap .mainvisual-img::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(249, 219, 203, 0.59);
}

#mainvisual .mv-wrap .mainvisual-img:nth-child(1) {
  width: calc(60% - (10px * 0.4));
}

#mainvisual .mv-wrap .mainvisual-img:nth-child(2),
#mainvisual .mv-wrap .mainvisual-img:nth-child(3) {
  width: calc(20% - (10px * 0.8));
}

#mainvisual .mv-wrap .mainvisual-img:nth-child(4),
#mainvisual .mv-wrap .mainvisual-img:nth-child(6) {
  width: calc(25% - (10px * 0.75));
}

#mainvisual .mv-wrap .mainvisual-img:nth-child(5) {
  width: calc(50% - (10px * 0.5));
}

#mainvisual .title-wrap {
  position: absolute;
  width: 100%;
  text-align: center;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#mainvisual .title-wrap p,
#mainvisual .title-wrap span {
  font-size: 2.4rem;
  color: #333;
  margin-bottom: 1em;
  font-weight: 500;
  line-height: 1.75;
}

#mainvisual .title-wrap span.title {
  display: inline-block;
  font-weight: 700;
  line-height: 1;
  font-size: 6.4rem;
  color: #f66429;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 10px;
  margin-top: 10px;
  margin-bottom: 0;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.2);
}

/** -------- スマホ -------- **/
@media screen and (max-width: 960px) {
  #mainvisual .title-wrap span.title {
    font-size: 5.0rem;
  }
}

@media screen and (max-width: 768px) {
  #mainvisual .title-wrap span.title {
    font-size: 3.5rem;
  }

  #mainvisual .title-wrap p,
  #mainvisual .title-wrap span {
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 570px) {

  #mainvisual .title-wrap p,
  #mainvisual .title-wrap span {
    font-size: 1.6rem;
    line-height: 1.5;
  }

  #mainvisual .title-wrap span.title {
    font-size: 3.0rem;
    margin-top: 6px;
  }

  #mainvisual .mv-wrap {
    padding: 6px;
    gap: 6px;
  }

  #mainvisual .mv-wrap .mainvisual-img {
    height: calc((100% - 6px) / 2);
    border-radius: 6px;
  }

  #mainvisual .mv-wrap .mainvisual-img:nth-child(1) {
    width: calc(60% - (6px * 0.4));
  }

  #mainvisual .mv-wrap .mainvisual-img:nth-child(2),
  #mainvisual .mv-wrap .mainvisual-img:nth-child(3) {
    width: calc(20% - (6px * 0.8));
  }

  #mainvisual .mv-wrap .mainvisual-img:nth-child(4),
  #mainvisual .mv-wrap .mainvisual-img:nth-child(6) {
    width: calc(25% - (6px * 0.75));
  }

  #mainvisual .mv-wrap .mainvisual-img:nth-child(5) {
    width: calc(50% - (6px * 0.5));
  }
}

/** -----------------------------------
about
-------------------------------------**/
#about {
  background: #fff5e1;
  text-align: center;
}

#about .section-title {
  font-size: 3.6rem;
  padding-bottom: 0.5em;
  margin-bottom: 1.7em;
}

#about .section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 6px;
  border-radius: 80px;
  background-color: #f46529;
}

#about .top-text {
  color: #333;
  margin-bottom: 60px;
}

#about .worries {
  position: relative;
  margin-bottom: 150px;
}

#about .worries::after {
  content: "";
  position: absolute;
  bottom: -65px;
  left: 50%;
  transform: translateX(-50%) rotate(90deg);
  width: 80px;
  height: 80px;
  background-image: url(../images/worries_after.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 2;
}

#about .worries .title-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: #3190d2;
  color: #fff;
  padding: 40px;
  border-radius: 20px 20px 0 0;
}

#about .worries .title-wrap h3 {
  font-size: 2.8rem;
}

#about .worries .flex-container {
  gap: 20px;
  width: 100%;
  justify-content: center;
  padding: 60px;
  background-color: #fff;
  border-radius: 0 0 20px 20px;
}

#about .worries .flex-container .flex-item {
  width: 100%;
  max-width: 200px;
  text-align: center;
}

#about .worries .flex-container .flex-item .img-box {
  width: 160px;
  height: 160px;
  margin: 0 auto 24px;
  position: relative;
  z-index: 2;
  padding: 40px;
}

#about .worries .flex-container .flex-item .img-box img {
  object-fit: contain;
}

#about .worries .flex-container .flex-item .img-box::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background-color: #dcf0ff;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: -1;
}

#about .worries .flex-container .flex-item p {
  font-weight: 500;
  font-size: 1.8rem;
  line-height: 1.8;
}

#about .worries .flex-container .flex-item p span {
  color: #1c9df2;
}

#about .solution .title-wrap p {
  font-weight: 500;
  font-size: 2rem;
  vertical-align: middle;
}

#about .solution .title-wrap p::before {
  content: "／";
  transform: scale(-1, 1);
  display: inline-block;
  font-size: 1.7em;
  font-weight: 400;
}

#about .solution .title-wrap p::after {
  content: "／";
  font-size: 1.7em;
  font-weight: 400;
}

#about .solution .title-wrap h3 {
  font-size: 4rem;
  color: #e95506;
  line-height: 1.8;
}

#about .solution .title-wrap h3 span:not([class]) {
  color: #333;
}

#about .solution .title-wrap h3 span.border {
  border-bottom: 5px double #e95506;
}

#about .solution .top-text {
  max-width: 750px;
  width: 100%;
  margin: 60px auto;
  color: #333;
  text-align: left;
}

#about .solution .flex-container {
  max-width: 1000px;
  margin: 0 auto 6rem;
  gap: 20px 0;
}

#about .solution .flex-container .flex-item {
  width: 23.5%;
  padding: 20px;
  border-top: 5px solid #f5d129;
  background-color: #fff;
  border-radius: 12px;
  gap: 16px;
  display: flex;
  flex-direction: column;
}

#about .solution .flex-container .flex-item h4 {
  font-size: 2rem;
  font-weight: 700;
}

#about .solution .flex-container .flex-item .img-box {
  width: 40px;
  height: 40px;
  margin: 0 auto;
}

#about .solution .flex-container .flex-item p {
  font-size: 1.4rem;
  color: #666;
  line-height: 1.8;
}

/** -------- スマホ -------- **/
@media screen and (max-width: 960px) {
  #about .solution .flex-container .flex-item {
    width: 49%;
  }
}

@media screen and (max-width: 768px) {
  #about .section-title {
    font-size: 2.6rem;
  }

  #about .worries .flex-container {
    padding: 4rem;
  }

  #about .solution .title-wrap h3 {
    font-size: 3rem;
  }

  #about .solution .title-wrap p {
    font-size: 1.8rem;
  }

  #about .top-text {
    text-align: justify;
  }
}

@media screen and (max-width: 570px) {
  #about .section-title::after {
    height: 4px;
  }

  #about .section-title {
    font-size: clamp(1rem, 5vw, 2rem);
  }

  #about .worries .title-wrap {
    padding: 2rem 1rem;
  }

  #about .solution .title-wrap p::before {
    font-size: 1.5em;
  }

  #about .worries .title-wrap h3 {
    font-size: 2rem;
  }

  #about .worries .flex-container {
    padding: 2rem;
    gap: 3rem 2rem;
  }

  #about .worries .flex-container .flex-item {
    width: calc((100% - 2rem) / 2);
  }

  #about .worries .flex-container .flex-item .img-box {
    margin: 0 auto 10px;
    width: 70px;
    height: 70px;
    padding: 1.5rem;
  }

  #about .worries .flex-container .flex-item p {
    font-size: 1.4rem;
  }

  #about .worries .flex-container .flex-item:last-child {
    width: 100%;
    max-width: 100%;
  }

  #about .worries {
    margin-bottom: 8rem;
  }

  #about .worries::after {
    width: 5rem;
    bottom: -58px;
  }

  #about .solution .title-wrap p {
    font-size: 1.4rem;
  }

  #about .solution .title-wrap h3 {
    font-size: 2.2rem;
  }

  #about .solution .top-text {
    margin: 3.5rem auto 4rem;
  }

  #about .solution .flex-container .flex-item {
    width: 48%;
    padding: 15px 10px;
  }

  #about .solution .flex-container .flex-item .img-box {
    width: 3rem;
    height: 3rem;
  }

  #about .solution .flex-container .flex-item h4 {
    font-size: 1.4rem;
  }

  #about .solution .flex-container .flex-item p {
    font-size: 1.2rem;
  }

  #about .solution .flex-container .flex-item p {
    line-height: 1.5;
    text-align: justify;
  }

  #about .solution .flex-container {
    margin-bottom: 4rem;
    gap: 15px 0;
  }

}

/** -----------------------------------
選ばれる理由
-------------------------------------**/
#reason {
  background: #c2dd98;
  overflow: hidden;
}

#reason .section-inner {
  max-width: 1000px;
}

#reason .section-title {
  color: #fff;
}

#reason .flex-container {
  align-items: center;
  position: relative;
  z-index: 1;
}

#reason .flex-container:not(:last-of-type) {
  margin-bottom: 15rem;
}

#reason .flex-container::after {
  position: absolute;
  content: "";
  width: 150%;
  height: 95%;
  background: #fff;
  border-radius: 12px;
  z-index: -1;
  bottom: -5rem;
  right: 0;
}

#reason .flex-container:nth-child(2n)::after {
  right: auto;
  left: 0;
}

#reason .flex-container .text-area {
  width: calc(50% - 20px);
  position: relative;
  padding-top: 130px;
  padding-left: 40px;
}

#reason .flex-container .text-area .number {
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 12rem;
  line-height: 1;
  color: #ffa202;
  position: absolute;
  top: 0;
  left: 0;
  text-shadow: rgba(255, 162, 2, 0.17) 7px 7px;
}

#reason .flex-container .text-area h3 {
  margin-bottom: 1em;
  text-align: left;
}

#reason .flex-container .text-area h3 span {
  font-size: clamp(2rem, 2.3vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.75;
  position: relative;
  z-index: 2;
}

#reason .flex-container .text-area h3 span::after {
  position: absolute;
  content: "";
  background: #fff3b9;
  width: 100%;
  height: 0.5em;
  z-index: -1;
  left: 0;
  bottom: -3px;
}

#reason .flex-container .text-area p {
  color: #5d5d5d;
}

#reason .flex-container .img-area {
  width: calc(50% - 20px);
}

#reason .flex-container .img-area img {
  object-fit: contain;
  height: auto;
  width: 100%;
  margin: 0 auto;
  max-width: 280px;
}

@media screen and (max-width: 960px) {
  #reason h2 {
    margin-bottom: 4em;
  }

  #reason .flex-container:not(:last-of-type) {
    margin-bottom: 10rem;
  }

  #reason .flex-container:not(:nth-of-type(2)) {
    flex-direction: column-reverse;
  }

  #reason .flex-container .text-area {
    width: 100%;
    padding-left: 20px;
    padding-right: 40px;
    font-size: 1.5rem;
    padding-top: 110px;
    margin-bottom: 4rem;
  }

  #reason .flex-container .text-area .number {
    font-size: 10rem;
  }

  #reason .flex-container .text-area h3 span {
    font-size: 2.5rem;
  }

  #reason .flex-container .img-area {
    width: 45%;
    position: absolute;
    top: -40px;
    right: -1.5rem;
    min-width: 20rem;
    max-width: 40rem;
  }

  #reason .flex-container .img-area img {
    margin-right: 0;
    width: 60%;
  }

  #reason .flex-container::after {
    width: 100vw;
    height: 85%;
    bottom: 0;
  }

  #reason .flex-container:nth-child(2n)::after {
    right: -7.5vw;
  }
}

@media screen and (max-width: 768px) {
  #reason h2 {
    margin-bottom: 3em;
  }
}

@media screen and (max-width: 570px) {
  #reason .section-title {
    font-size: 1.8rem;
  }

  #reason .flex-container::after {
    bottom: 10px;
  }

  #reason .flex-container .text-area {
    padding-left: 0;
    padding-right: 20px;
    padding-top: 85px;
    font-size: 1.3rem;
  }

  #reason .flex-container:nth-of-type(2n) .text-area {
    padding-left: 20px;
    padding-right: 0;
  }

  #reason .flex-container .text-area .number {
    font-size: 7rem;
  }

  #reason .flex-container:not(:nth-of-type(2)) .text-area .number {
    left: -1rem;
  }

  #reason .flex-container .text-area h3 span {
    font-size: 1.8rem;
  }

  #reason .flex-container .img-area {
    width: 65%;
    right: -10px;
    max-width: 25rem;
    min-width: auto;
    top: clamp(-40px, -7.5vw, -10px);
  }

  #reason .flex-container:not(:last-of-type) {
    margin-bottom: 6rem;
  }
}

/** -----------------------------------
探す
-------------------------------------**/
#search .section-inner {
  max-width: 1000px;
}

#search h2 {
  text-align: left;
  padding-left: 0.8em;
  margin-bottom: 1em;
}

#search h2 span {
  font-size: 0.8em;
}

#search h2::before {
  content: "";
  background: #f66529;
  border-radius: 50%;
  width: 15px;
  height: 15px;
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

#search .purpose-search {
  gap: 12px;
  margin-bottom: 80px;
}

#search .purpose-search .purpose-item {
  border: 1px solid #eeeeee;
  border-radius: 8px;
  padding: 12px 40px 12px 12px;
  width: calc(50% - 6px);
  display: flex;
  align-items: center;
  gap: 25px;
  position: relative;
  transition: .2s all;
}

#search .purpose-search .purpose-item:hover {
  border-color: #f66529;
  background-color: rgba(255, 245, 225, 0.3);
  opacity: 0.6;
}

#search .purpose-search .purpose-item::after {
  position: absolute;
  content: "";
  right: 18px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-top: 1.5px solid;
  border-right: 1.5px solid;
  transform: translateY(-50%) rotate(45deg);
  transition: .2s all;
}

#search .purpose-search .purpose-item:hover::after {
  border-color: #f66529;
  right: 15px;
}

#search .purpose-search .purpose-item .icon {
  width: 100px;
  height: 100px;
  background-color: #fafafa;
  border-radius: 8px;
  padding: 30px;
}

#search .purpose-search .purpose-item .icon img {
  object-fit: contain;
}

#search .purpose-search .purpose-item .detail h3 {
  text-align: left;
  font-size: 2rem;
}

#search .purpose-search .purpose-item .detail p {
  font-size: 1.4rem;
  color: #999;
  text-align: left;
}

#search .cource-search {
  gap: 15px;
}

#search .cource-search .cource-item {
  width: calc((100% - 15px) / 2);
  text-align: left;
  color: #fff;
  padding: 30px 90px 30px 30px;
  border-radius: 8px;
  position: relative;
}

#search .cource-search .cource-item::before {
  position: absolute;
  content: "";
  right: 30px;
  top: 50%;
  width: 40px;
  height: 40px;
  transform: translateY(-50%);
  transition: .2s all;
  background-color: #fff;
  border-radius: 50%;
  z-index: 2;
}

#search .cource-search .cource-item::after {
  position: absolute;
  content: "";
  right: 47px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid;
  border-right: 2px solid;
  transform: translateY(-50%) rotate(45deg);
  transition: .2s all;
  z-index: 3;
}

#search .cource-search .cource-item.trial::after {
  border-color: var(--color-trial);
}

#search .cource-search .cource-item.introduction::after {
  border-color: var(--color-introduction);
}

#search .cource-search .cource-item.classroom::after {
  border-color: var(--color-classroom);
}

#search .cource-search .cource-item.hobby::after {
  border-color: var(--color-hobby);
}

#search .cource-search .cource-item.creator::after {
  border-color: var(--color-creator);
}

#search .cource-search .cource-item.skillup::after {
  border-color: var(--color-skillup);
}

#search .cource-search .cource-item.starting::after {
  border-color: var(--color-starting);
}

#search .cource-search .cource-item.community::after {
  border-color: var(--color-community);
}

#search .cource-search .cource-item h3 {
  text-align: left;
  margin-bottom: 0.5em;
}

#search .cource-search .cource-item p {
  opacity: 0.7;
  font-size: 1.3rem;
  line-height: 1.8;
  letter-spacing: 0.05em;
}

/** -------- スマホ -------- **/
@media screen and (max-width: 960px) {
  #search .cource-search .cource-item h3 {
    font-size: 2rem;
  }
}

@media screen and (max-width: 768px) {
  #search .purpose-search .purpose-item {
    width: 100%;
  }

  #search .purpose-search .purpose-item .icon {
    width: 7rem;
    height: 7rem;
    padding: 2rem;
  }

  #search .cource-search .cource-item {
    width: 100%;
  }
}

@media screen and (max-width: 570px) {
  #search h2::before {
    width: 1.0rem;
    height: 1.0rem;
  }

  #search .purpose-search .purpose-item .icon {
    width: 6rem;
    height: 6rem;
    padding: 1.7rem;
  }

  #search .purpose-search .purpose-item .detail h3 {
    font-size: 1.5rem;
    font-weight: 500;
  }

  #search .purpose-search .purpose-item .detail p {
    font-size: 1.2rem;
  }

  #search .cource-search {
    gap: 10px;
  }

  #search .cource-search .cource-item {
    padding: 20px 55px 20px 20px;
  }

  #search .cource-search .cource-item h3 {
    font-size: 1.7rem;
    margin-bottom: 0.2em;
    font-weight: 500;
  }

  #search .cource-search .cource-item p {
    font-size: 1.2rem;
    line-height: 1.6;
    text-align: justify;
  }

  #search .cource-search .cource-item::before {
    right: 10px;
    width: 30px;
    height: 30px;
  }

  #search .cource-search .cource-item::after {
    right: 22.5px;
  }
}

/** -----------------------------------
補助サポート
-------------------------------------**/
#support {
  background-color: #fef4e1;
}

#support .section-title {
  padding-bottom: 0.5em;
  margin-bottom: 1.7em;
}

#support .section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 6px;
  border-radius: 80px;
  background-color: #f46529;
}

#support .top-text {
  margin-bottom: 60px;
  text-align: center;
}

#support .flex-container {
  gap: 40px;
}

#support .flex-container .flex-item {
  width: calc((100% - 40px) / 2);
  padding: 40px;
  background-color: #fff;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px #d9d0bf;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#support .flex-container .flex-item::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background-color: #ffc400;
}

#support .flex-container .flex-item h3 {
  text-align: left;
  font-size: 2.8rem;
}

#support .flex-container .flex-item p {
  color: #666;
  font-size: 1.4rem;
  font-weight: 400;
}

#support .flex-container .flex-item ul li::before {
  content: "";
  position: relative;
  top: -3px;
  display: inline-block;
  width: 14px;
  height: 8px;
  border-left: 2px solid #f66529;
  border-bottom: 2px solid #f66529;
  transform: rotate(-45deg);
  margin-right: 8px;
}

#support .flex-container .flex-item ul li:not(:last-child) {
  margin-bottom: 0.5em;
}

/** -------- スマホ -------- **/
@media screen and (max-width: 960px) {}

@media screen and (max-width: 768px) {
  #support .flex-container .flex-item h3 {
    font-size: 2.4rem;
  }

  #support .flex-container .flex-item {
    width: 100%;
  }
}

@media screen and (max-width: 570px) {
  #support .top-text {
    text-align: left;
  }

  #support .section-title::after {
    height: 4px;
  }

  #support .top-text {
    margin-bottom: 4rem;
  }

  #support .flex-container {
    gap: 2rem;
  }

  #support .flex-container .flex-item::before {
    height: 7px;
  }

  #support .flex-container .flex-item {
    padding: 3rem;
    gap: 1rem;
  }

  #support .flex-container .flex-item h3 {
    font-size: 1.8rem;
  }
}

/** -----------------------------------
ミッション
-------------------------------------**/
#mission {
  text-align: center;
  background-image: url(../images/mission_bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-color: rgba(255, 255, 255, 0.7);
  background-blend-mode: lighten;
}

#mission .section-subtitle {
  color: #29b7f7;
  font-weight: 500;
  font-size: 1.6rem;
}

#mission .section-title {
  color: #29b7f7;
  font-size: 2rem;
  font-weight: 500;
}

#mission .top-text {
  font-size: 3.2rem;
  line-height: 1.6;
  font-weight: 700;
  margin-bottom: 1.4em;
}

#mission p:not([class]) {
  color: #333;
}

/** -------- スマホ -------- **/
@media screen and (max-width: 960px) {}

@media screen and (max-width: 768px) {
  #mission .top-text {
    font-size: 2.8rem;
  }
}

@media screen and (max-width: 570px) {
  #mission .section-subtitle {
    font-size: 1.4rem;
    margin-bottom: 0.3em;
  }

  #mission .section-title {
    font-size: 1.4rem;
  }

  #mission .top-text {
    font-size: clamp(1rem, 5vw, 2.0rem);
  }
}