@charset "UTF-8";

.page-header {
  background-color: #fdfaf1;
}

.page-header .section-inner {
  max-width: 1000px;
}

.page-header .purpose-search {
  gap: 12px;
  justify-content: flex-start;
}

.page-header .purpose-search .purpose-item {
  border: 1px solid #eeeeee;
  border-radius: 8px;
  padding: 12px 40px 12px 12px;
  width: calc((100% - 24px) / 3);
  display: flex;
  align-items: center;
  gap: 25px;
  position: relative;
  transition: .2s all;
  background-color: #fff;
}

.page-header .purpose-search .purpose-item:hover {
  border-color: #f66529;
  opacity: 0.8;
}

.page-header .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;
}

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

.page-header .purpose-search .purpose-item .icon {
  width: 64px;
  height: 64px;
  background-color: #fafafa;
  border-radius: 8px;
  padding: 17px;
}

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

.page-header .purpose-search .purpose-item .detail .title {
  text-align: left;
  font-size: 1.6rem;
  color: inherit;
  font-weight: bold;
}

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

#purpose h3 {
  font-size: 3.2rem;
  margin-bottom: 1.5em;
  line-height: 1.2;
}

#purpose h3 span {
  color: #666;
  font-size: 1.4rem;
  font-weight: 100;
}

#purpose .top-text {
  font-size: 1.8rem;
  color: #999;
  margin-bottom: 3em;
}

#purpose .purpose-content {
  text-align: center;
}

#purpose .purpose-content:not(:first-child) {
  margin-top: 12rem;
  padding-top: 12rem;
  border-top: 1px solid #d2d2d2;
}

#purpose .purpose-content .icon {
  width: 64px;
  height: 64px;
  background-color: #fafafa;
  border-radius: 8px;
  padding: 17px;
  margin: 0 auto 2rem;
}

#purpose .cource-list {
  gap: 40px;
}

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

#purpose .cource-list .cource-item h4 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 0.5em;
}

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

#purpose .cource-list .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;
}

#purpose .cource-list .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;
}

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

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

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

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

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

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

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

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

/** -------- スマホ -------- **/
@media screen and (max-width: 960px) {
  #purpose .cource-list {
    gap: 2rem;
  }

  #purpose .cource-list .cource-item {
    width: calc((100% - 20px) / 2);
  }

  .page-header .purpose-search .purpose-item {
    width: calc((100% - 12px) / 2);
  }

  #purpose .cource-list .cource-item h4 {
    font-size: 2rem;
  }
}

@media screen and (max-width: 768px) {
  #purpose h3 {
    font-size: 2.8rem;
  }

  #purpose .top-text {
    font-size: 1.6rem;
  }

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

  .page-header .purpose-search .purpose-item {
    gap: 10px;
  }

  .page-header .purpose-search .purpose-item .detail p:not([class]) {
    display: none;
  }

  .page-header .purpose-search .purpose-item .icon {
    width: 5rem;
    height: 5rem;
    padding: 1.5rem;
  }

  #purpose .purpose-content:not(:first-child) {
    margin-top: 8rem;
    padding-top: 8rem;
  }

}

@media screen and (max-width: 570px) {
  #purpose h3 {
    font-size: 2.0rem;
  }

  #purpose h3 span {
    font-size: 1.2rem;
  }

  #purpose .top-text {
    font-size: 1.2rem;
  }

  .page-header .purpose-search {
    gap: 7px;
  }

  .page-header .purpose-search .purpose-item .detail .title {
    font-size: 1.3rem;
    font-weight: 400;
  }

  .page-header .purpose-search .purpose-item {
    padding: 10px 20px 10px 10px;
  }

  .page-header .purpose-search .purpose-item .icon {
    width: 1.5rem;
    height: 1.5rem;
    padding: 0;
    background: none;
  }

  .page-header .purpose-search .purpose-item::after {
    right: 10px;
  }

  #purpose .cource-list {
    gap: 1.5rem;
  }

  #purpose .cource-list .cource-item {
    padding: 20px 55px 20px 20px;
    border-radius: 7px;
  }

  #purpose .cource-list .cource-item h4 {
    font-size: 1.6rem;
    margin-bottom: 0;
  }

  #purpose .cource-list .cource-item p {
    font-size: 1.2rem;
  }

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

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

  #purpose .purpose-content:not(:first-child) {
    margin-top: 14vw;
    padding-top: 14vw;
  }

  #purpose .purpose-content .icon {
    width: 5rem;
    height: 5rem;
    padding: 13px;
  }
}