/* company content */
main#company section {
  position: relative;
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: 75.3rem;
  padding: 0 16rem;
  background-image: url("../images/bg-company_message.webp");
  background-repeat: no-repeat;
  background-size: cover;
  transition: background-color 0.3s;
}

main#company .section-02 {
  background-image: url("../images/bg-company_story.webp");
}

main#company .section-03 {
  justify-content: flex-end;
  padding-bottom: 8rem;
  background-image: url("../images/bg-company_talksession.webp");
}
main#company .section-03 .detail-btn {
  margin-top: 3.8rem;
}

main#company section::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(4, 53, 118, 0.1);
  transition: background-color 0.3s;
  z-index: 0;
}
main#company .section-02::before {
  background-color: rgba(250, 192, 0, 0.1);
}
main#company .section-03::before {
  background-color: rgba(250, 71, 0, 0.1);
}

main#company section:hover::before {
  background-color: transparent;
}

main#company section h2 {
  position: relative;
  width: fit-content;
  padding: 0.8rem 1.6rem;
  color: #fff;
  font-weight: 700;
  font-size: 4.8rem;
  line-height: 1;
  background: #006dff;
}

main#company .section-02 h2 {
  background: #fac000;
}

main#company .section-03 h2 {
  background: #fa4700;
}

main#company section p {
  position: relative;
  width: fit-content;
  margin-top: 0.8rem;
  padding: 0.8rem 1.6rem;
  color: #fff;
  font-weight: 400;
  font-size: 2rem;
  line-height: 1;
  background: #006dff;
}

main#company .section-02 p {
  background: #fac000;
}

main#company .section-03 p {
  background: #fa4700;
}

main#company .section-02 .detail-btn a {
  color: #fac000;
}

main#company .section-03 .detail-btn a {
  color: #fa4700;
}

@media screen and (min-width: 1513px) {
  main#company section {
    height: 753px;
    padding: 0 160px;
    background-position: bottom 50% center;
  }
  main#company section h2 {
    padding: 8px 16px;
    font-size: 48px;
  }
  main#company section p {
    margin-top: 8px;
    padding: 8px 16px;
    font-size: 20px;
  }

  main#company .section-03 {
    padding-bottom: 80px;
  }
  main#company .section-03 .detail-btn {
    margin-top: 38px;
  }
}

@media screen and (max-width: 768px) {
  main#company section {
    justify-content: end;
    height: 100vh;
    padding: 8rem 2.4rem;
    background-image: url("../images/img-president_sp.png");
    background-position: right;
  }
  main#company section h2 {
    font-size: 2rem;
  }
  main#company section p {
    padding: 0;
    font-size: 1.4rem;
    background: transparent;
  }
  main#company section p span {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    background: #006dff;
  }
  main#company section p span + span {
    margin-top: 0.6rem;
  }
  main#company .section-02 {
    background-image: url("../images/bg-company_story_sp.webp");
    background-position: center;
  }
  main#company .section-02 p,
  main#company .section-03 p {
    background: transparent;
  }
  main#company .section-02 p span {
    background: #fac000;
  }

  main#company .section-03 {
    background-image: url("../images/bg-company_talksession_sp.jpg");
    background-position: center;
  }
  main#company .section-03 p span {
    background: #fa4700;
  }
}

@media screen and (max-height: 500px) and (orientation: landscape) {
  main#company section {
    height: 500px;
    background-position: top 15% center;
  }
  main#company .section-02 {
    background-image: url("../images/bg-company_story.webp");
  }
  main#company .section-03 {
    background-image: url("../images/bg-company_talksession.webp");
  }
  main#company .section-02,
  main#company .section-03 {
    background-position: top;
  }
  main#company section p {
    display: flex;
    flex-direction: column;
    align-items: self-start;
  }
}

/** message content **/
main#message section {
  max-width: 95rem;
  width: 100%;
  margin: 0 auto;
}

main#message section .img-wrapper {
  aspect-ratio: 504/251;
  max-width: 60rem;
  width: 100%;
  margin: 0 auto;
}

main#message section .text-wrapper {
  margin-top: 8rem;
  text-align: justify;
  font-weight: bold;
  font-size: 2rem;
  font-family: "游明朝 Medium", "Yu Mincho Medium", "YuMincho Medium",
    "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", serif;
}

main#message section .text-wrapper p + p {
  margin-top: 8rem;
}

main#message section .text-wrapper p:last-of-type {
  text-align: right;
}

main#message section .text-wrapper strong {
  display: table;
  margin-bottom: 3.2rem;
  padding-bottom: 1rem;
  font-weight: 800;
  font-size: 4rem;
  border-bottom: 1px solid #151f46;
}

@media screen and (min-width: 1513px) {
  main#message section {
    max-width: 950px;
  }
  main#message section .img-wrapper {
    max-width: 600px;
  }
  main#message section .text-wrapper {
    margin-top: 80px;
    font-size: 20px;
  }
  main#message section .text-wrapper p + p {
    margin-top: 80px;
  }
  main#message section .text-wrapper strong {
    font-size: 32px;
  }
}

@media screen and (max-width: 768px) {
  main#message section .text-wrapper {
    margin-top: 4rem;
    font-size: 1.4rem;
  }
  main#message section .text-wrapper p + p {
    margin-top: 3rem;
  }
  main#message section .text-wrapper strong {
    margin-bottom: 2rem;
    font-size: 1.8rem;
  }
}

/** story content **/
main#story .summary-article,
main#discussion .summary-article {
  margin-bottom: 8rem;
  padding: 0 16rem;
  font-weight: 400;
  font-size: 2rem;
}

main#story .summary-article .profile {
  gap: 2.4rem;
  align-items: center;
  margin-top: 2.4rem;
  font-weight: 700;
  color: rgba(21, 31, 70, 0.5);
}

main#story .summary-article .profile img {
  width: 8rem;
}

main#story article {
  padding: 0 0 0 1.6rem;
}
main#story article:nth-of-type(odd) {
  padding: 0 1.6rem 0 0;
}

main#story article:not(:first-of-type) {
  margin-top: 16rem;
}

main#story article.cfx {
  gap: 11.2rem;
}

main#story article .img-wrapper {
  max-width: 594px;
  width: 100%;
}

main#story article .text-wrapper {
  gap: 4rem !important;
}

main#story article .text-wrapper h2 {
  color: #fac000;
}

main#story .article-thumb,
main#discussion .article-thumb {
  margin-top: 16rem;
  padding: 0 1.6rem;
}
main#discussion .article-thumb {
  margin-top: 12rem;
}

main#story .article-thumb img,
main#discussion .article-thumb img {
  width: 100%;
}

main#discussion .summary-article .profile {
  gap: 1.2rem;
  justify-content: center;
  margin-top: 3rem;
}

main#discussion .summary-article .profile .cfx {
  flex-direction: column;
  gap: 0.8rem;
  font-weight: 500;
  font-size: 1.6rem;
  text-align: center;
  color: rgba(21, 31, 70, 0.5);
}

main#discussion .summary-article .profile img {
  max-width: 160px;
  width: 100%;
}

main#discussion article {
  flex-direction: column;
}

main#discussion article + article {
  margin-top: 12rem;
}

main#discussion article h2 {
  margin-bottom: 8rem;
  color: #fa4700;
  font-weight: 700;
  font-size: 4rem;
  text-align: center;
}

main#discussion article .cfx {
  gap: 11.2rem;
  padding: 0 1.6rem 0 0;
}

main#discussion article .cfx .img-wrapper {
  max-width: 710px;
  width: 100%;
}

main#discussion article .cfx .text-wrapper {
  position: relative;
  width: fit-content;
  padding-left: 10rem;
  font-weight: 400;
  font-size: 2rem;
  text-align: justify;
}

main#discussion article .cfx .text-wrapper h3 {
  margin-bottom: 4rem;
  font-weight: 700;
  font-size: 3.2rem;
}

main#discussion article .cfx .text-wrapper p {
  position: relative;
  line-height: 1.8;
}
main#discussion article .cfx .text-wrapper p:before {
  position: absolute;
  content: "";
  top: 0;
  left: -10rem;
  width: 7.2rem;
  height: 9.3rem;
  color: rgba(0, 109, 255, 0.5);
  font-weight: 900;
  font-size: 2rem;
  background: url("../images/img-discussion_profile02-min.png") no-repeat;
  background-size: contain;
}
main#discussion article .cfx .text-wrapper p + p {
  margin-top: 2.4rem;
}
main#discussion article .cfx .text-wrapper p .maker {
  display: inline;
  background: rgba(0, 109, 255, 0.1);
  line-height: 1.7;
}

main#discussion article .cfx:nth-of-type(even) {
  margin-top: 8rem;
  padding: 0 0 0 1.6rem;
}

main#discussion article .cfx:nth-of-type(odd) .img-wrapper {
  order: 2;
}
main#discussion article .cfx:nth-of-type(odd) .text-wrapper p {
  margin: 0 0 0 9.6rem;
}
main#discussion article .cfx:nth-of-type(odd) .text-wrapper p + p {
  margin: 2.4rem 0 0 9.6rem;
}
main#discussion article .cfx:nth-of-type(even) .text-wrapper {
  margin: 0 9.6rem 0 0;
}

main#discussion
  article:last-of-type
  .cfx:last-of-type
  .text-wrapper
  p:nth-of-type(6) {
  margin-top: 8rem;
}

main#person.child-person article .text-wrapper p,
main#story article .text-wrapper p {
  line-height: 1.8;
  font-size: clamp(16px,1.1904vw,18px);
}

@media screen and (min-width: 1513px) {
  main#story .summary-article,
  main#discussion .summary-article {
    margin-bottom: 80px;
    padding: 0 160px;
    font-size: 20px;
  }
  main#story .summary-article .profile {
    gap: 24px;
    margin-top: 24px;
  }
  main#story .summary-article .profile img {
    width: 80px;
  }
  main#story article {
    padding: 0 0 0 16px;
  }
  main#story article:nth-of-type(odd) {
    padding: 0 16px 0 0;
  }
  main#story article:not(:first-of-type) {
    margin-top: 160px;
  }
  main#story article.cfx {
    gap: 112px;
  }
  main#story article .text-wrapper {
    gap: 40px !important;
  }
  main#story .article-thumb,
  main#discussion .article-thumb {
    margin-top: 160px;
    padding: 0 16px;
  }
  main#discussion .article-thumb {
    margin-top: 120px;
  }
  main#discussion .summary-article .profile {
    gap: 12px;
    margin-top: 30px;
  }
  main#discussion .summary-article .profile .cfx {
    gap: 8px;
    font-size: 16px;
  }
  main#discussion article + article {
    margin-top: 120px;
  }
  main#discussion article h2 {
    margin-bottom: 80px;
    font-size: 40px;
  }
  main#discussion article .cfx {
    gap: 112px;
    padding: 0 16px 0 0;
  }
  main#discussion article .cfx .text-wrapper {
    padding-left: 100px;
    font-size: 20px;
  }
  main#discussion article .cfx .text-wrapper h3 {
    margin-bottom: 40px;
    font-size: 32px;
  }
  main#discussion article .cfx .text-wrapper p:before {
    left: -100px;
    width: 70px;
    height: 70px;
    font-size: 20px;
  }
  main#discussion article .cfx .text-wrapper p + p {
    margin-top: 24px;
  }
  main#discussion article .cfx:nth-of-type(even) {
    margin-top: 80px;
    padding: 0 0 0 16px;
  }
  main#discussion article .cfx:nth-of-type(odd) .text-wrapper p {
    margin: 0 0 0 96px;
  }
  main#discussion article .cfx:nth-of-type(odd) .text-wrapper p + p {
    margin: 24px 0 0 96px;
  }
  main#discussion article .cfx:nth-of-type(even) .text-wrapper {
    margin: 0 96px 0 0;
  }
  main#discussion
    article:last-of-type
    .cfx:last-of-type
    .text-wrapper
    p:nth-of-type(6) {
    margin-top: 60px;
  }
}

@media screen and (max-width: 768px) {
  main#story .summary-article,
  main#discussion .summary-article {
    margin-bottom: 4rem;
    padding: 0;
    font-size: 1.4rem;
  }
  main#story .summary-article .profile {
    margin-top: 1.6rem;
    gap: 1.2rem;
  }
  main#story .summary-article .profile img {
    width: 6.4rem;
  }
  main#story article:not(:first-of-type) {
    margin-top: 6.4rem;
  }
  main#story article.cfx,
  main#discussion article .cfx {
    flex-direction: column;
    gap: 4rem;
    padding: 0;
  }
  main#person.child-person article.cfx:nth-of-type(even) .text-wrapper,
  main#story article.cfx:nth-of-type(odd) .text-wrapper {
    gap: 1.6rem !important;
    margin: 0 !important;
  }
  main#person.child-person article .text-wrapper,
  main#story article .text-wrapper {
    gap: 1.6rem !important;
    margin: 0 !important;
  }
  main#story article .text-wrapper h2 {
    font-size: 1.6rem !important;
  }
  main#person.child-person article .text-wrapper p,
  main#story article .text-wrapper p {
    font-size: 1.4rem;
  }
  main#person.child-person article.cfx:nth-of-type(even) .img-wrapper,
  main#story article.cfx:nth-of-type(odd) .img-wrapper {
    transform: translateX(0);
  }
  main#story .article-thumb,
  main#discussion .article-thumb {
    margin-top: 6.4rem;
    padding: 0;
    transform: scale(1.14);
  }
  main#discussion article + article {
    margin-top: 4rem;
  }
  main#discussion .summary-article .profile {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.6rem;
  }
  main#discussion .summary-article .profile .cfx {
    align-items: center;
    font-size: 1.2rem;
  }
  main#discussion .summary-article .profile img {
    max-width: 7.2rem;
  }
  main#discussion article h2 {
    margin-bottom: 2.4rem;
    font-size: 1.6rem;
    text-align: left;
  }
  main#discussion article .cfx:nth-of-type(even) {
    margin-top: 4rem;
    padding: 0;
  }
  main#discussion article .cfx .text-wrapper {
    padding: 0;
  }
  main#discussion article .cfx:nth-of-type(even) .text-wrapper {
    margin: 0;
  }
  main#discussion article .cfx:nth-of-type(odd) .text-wrapper p {
    margin: 0;
  }
  main#discussion article .cfx:nth-of-type(odd) .text-wrapper p + p {
    margin: 2.4rem 0 0;
  }
  main#discussion article .cfx .text-wrapper h3 {
    margin-bottom: 1.6rem;
    font-size: 1.6rem;
  }
  main#discussion article .cfx .text-wrapper p {
    padding-left: 7rem;
    font-size: 1.4rem;
  }
  main#discussion article .cfx .text-wrapper p + p {
    margin-top: 1.6rem;
  }
  main#discussion article .cfx .text-wrapper p:before {
    left: 0;
    width: 5rem;
    height: 5rem;
    font-size: 1.4rem;
  }
  main#discussion
    article:last-of-type
    .cfx:last-of-type
    .text-wrapper
    p:nth-of-type(6) {
    margin-top: 2rem;
  }
}

/* whatis content */
main#whatis {
  position: relative;
}

main#whatis:before {
  position: absolute;
  content: "";
  bottom: 0;
  right: 0;
  width: 35.1rem;
  height: 28.7rem;
  background: url("../images/img-whats_comment02.png") no-repeat;
  background-size: contain;
  z-index: 99;
}

main#whatis section {
  padding: 0 8rem;
}

main#whatis .schedule-table {
  position: relative;
  margin-left: 10.8rem;
  padding: 5.6rem 0;
  border-top: 1px solid rgba(21, 31, 70, 0.25);
  border-bottom: 1px solid rgba(21, 31, 70, 0.25);
}

main#whatis .schedule-table > div {
  position: relative;
}

main#whatis .schedule-table > div::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 0.5rem;
  height: 100%;
  border-radius: 0.8rem 0 0 0.8rem;
}
main#whatis .schedule-table .gray-label:before {
  background: #8a8a8a;
}
main#whatis .schedule-table .blue-label:before {
  background: #2580d3;
}

main#whatis .schedule-table .blue-label.img-point01:after {
  position: absolute;
  content: "";
  bottom: 0;
  left: 63.263%;
  width: 42.1rem;
  height: 45.7rem;
  background: url("../images/img-whats_comment01.png") no-repeat;
  background-size: contain;
}

main#whatis .schedule-table .blue-label.img-point02:after {
  position: absolute;
  content: "";
  top: 3rem;
  left: 69.774%;
  width: 40.9rem;
  height: 27.4rem;
  background: url("../images/img-whats_thumb01.png") no-repeat;
  background-size: contain;
  z-index: 99;
}

main#whatis .schedule-table .blue-label.img-point03:after {
  position: absolute;
  content: "";
  top: 20.3rem;
  left: 55.707%;
  width: 40.9rem;
  height: 27.4rem;
  background: url("../images/img-whats_thumb02.png") no-repeat;
  background-size: contain;
  z-index: 99;
}

main#whatis .schedule-table span {
  position: relative;
  display: block;
  height: 5.6rem;
  padding-left: 2.4rem;
}

main#whatis .schedule-table .gray-label span {
  background: rgba(138, 138, 138, 0.05);
}
main#whatis .schedule-table .blue-label span {
  background: rgba(37, 128, 211, 0.03);
}

main#whatis .schedule-table span.txt-ttl {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 2rem;
}

main#whatis .schedule-table span.txt-detail {
  color: rgba(21, 31, 70, 0.5);
  font-weight: 500;
  font-size: 1.6rem;
}

main#whatis .schedule-table .border-solid {
  border-top: 1px solid rgba(21, 31, 70, 0.25);
}
main#whatis .schedule-table .border-dashed {
  border-top: 1px dashed rgba(21, 31, 70, 0.25);
}

main#whatis .schedule-table:before,
main#whatis .schedule-table:after,
main#whatis .schedule-table .time:before {
  position: absolute;
  content: "8:00";
  top: -1.7rem;
  left: -8.4rem;
  color: rgba(21, 31, 70, 0.5);
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 2.4rem;
  letter-spacing: 0.24rem;
}
main#whatis .schedule-table:after {
  top: auto;
  bottom: -1.7rem;
  left: -9.7rem;
}
main#whatis .schedule-table:before {
  content: "";
  left: -8.4rem;
}
main#whatis .schedule-table:after {
  content: "";
}
main#whatis .schedule-table .time.time-09:before {
  content: "9:00";
  left: -8.4rem;
}
main#whatis .schedule-table .time.time-10:before {
  content: "10:00";
  left: -9.7rem;
}
main#whatis .schedule-table .time.time-11:before {
  content: "11:00";
  left: -9.7rem;
}
main#whatis .schedule-table .time.time-12:before {
  content: "12:00";
  left: -9.7rem;
}
main#whatis .schedule-table .time.time-13:before {
  content: "13:00";
  left: -9.7rem;
}
main#whatis .schedule-table .time.time-14:before {
  content: "14:00";
  left: -9.7rem;
}
main#whatis .schedule-table .time.time-15:before {
  content: "15:00";
  left: -9.7rem;
}
main#whatis .schedule-table .time.time-16:before {
  content: "16:00";
  left: -9.7rem;
}
main#whatis .schedule-table .time.time-17:before {
  content: "17:00";
  left: -9.7rem;
}
main#whatis .schedule-table .time.time-18:before {
  content: "18:00";
  left: -9.7rem;
}

@media screen and (min-width: 1513px) {
  main#whatis:before {
    width: 351px;
    height: 287px;
  }
  main#whatis section {
    padding: 0 80px;
  }
  main#whatis .schedule-table {
    margin-left: 108px;
    padding: 56px 0;
  }
  main#whatis .schedule-table > div::before {
    width: 5px;
    border-radius: 8px 0 0 8px;
  }
  main#whatis .schedule-table .blue-label.img-point01:after {
    width: 421px;
    height: 457px;
  }
  main#whatis .schedule-table .blue-label.img-point02:after {
    top: 30px;
    width: 409px;
    height: 274px;
  }
  main#whatis .schedule-table .blue-label.img-point03:after {
    top: 203px;
    width: 409px;
    height: 274px;
  }

  main#whatis .schedule-table span {
    height: 56px;
    padding-left: 24px;
  }
  main#whatis .schedule-table span.txt-ttl {
    font-size: 20px;
  }

  main#whatis .schedule-table span.txt-detail {
    font-size: 16px;
  }
  main#whatis .schedule-table:before,
  main#whatis .schedule-table:after,
  main#whatis .schedule-table .time:before {
    top: -17px;
    left: -84px;
    font-size: 24px;
    letter-spacing: 2.4px;
  }
  main#whatis .schedule-table:after {
    top: auto;
    bottom: -17px;
    left: -97px;
  }
  main#whatis .schedule-table:before {
    left: -84px;
  }
  main#whatis .schedule-table .time.time-09:before {
    left: -84px;
  }
  main#whatis .schedule-table .time.time-10:before {
    left: -97px;
  }
  main#whatis .schedule-table .time.time-11:before {
    left: -97px;
  }
  main#whatis .schedule-table .time.time-12:before {
    left: -97px;
  }
  main#whatis .schedule-table .time.time-13:before {
    left: -97px;
  }
  main#whatis .schedule-table .time.time-14:before {
    left: -97px;
  }
  main#whatis .schedule-table .time.time-15:before {
    left: -97px;
  }
  main#whatis .schedule-table .time.time-16:before {
    left: -97px;
  }
  main#whatis .schedule-table .time.time-17:before {
    left: -97px;
  }
  main#whatis .schedule-table .time.time-18:before {
    left: -97px;
  }
}

@media screen and (max-width: 768px) {
  main#whatis {
    padding: 4.8rem 2.4rem 11.3rem;
  }
  main#whatis:before {
    left: auto;
    right: 0;
    bottom: 0;
    width: 19.6rem;
    height: 16.3rem;
    background-size: contain;
  }
  main#whatis section {
    padding: 0;
  }
  main#whatis .schedule-table {
    margin-left: 5rem;
  }
  main#whatis .schedule-table:before,
  main#whatis .schedule-table:after,
  main#whatis .schedule-table .time:before {
    top: -1rem;
    left: -5rem;
    font-size: 1.2rem;
  }
  main#whatis .schedule-table span {
    padding: 0 1.6rem;
  }
  main#whatis .schedule-table span.txt-ttl {
    font-size: 1.4rem;
  }
  main#whatis .schedule-table span.txt-detail {
    font-size: clamp(1.2rem, 3.2vw, 1.4rem);
  }
  main#whatis .schedule-table .blue-label.img-point01:after {
    bottom: 21rem;
    left: auto;
    right: -2.5rem;
    width: 19.6rem;
    height: 16.3rem;
  }
  main#whatis .schedule-table .blue-label.img-point02:after {
    top: 12rem;
    left: auto;
    right: -1.5rem;
    width: 16.3rem;
    height: 10.9rem;
  }
  main#whatis .schedule-table .blue-label.img-point03:after {
    top: auto;
    bottom: -34rem;
    left: 2.2rem;
    width: 16.3rem;
    height: 10.9rem;
  }
  main#whatis .schedule-table .time.time-09:before {
    left: -5rem;
  }
  main#whatis .schedule-table .time.time-10:before,
  main#whatis .schedule-table .time.time-11:before,
  main#whatis .schedule-table .time.time-12:before,
  main#whatis .schedule-table .time.time-13:before,
  main#whatis .schedule-table .time.time-14:before,
  main#whatis .schedule-table .time.time-15:before,
  main#whatis .schedule-table .time.time-16:before,
  main#whatis .schedule-table .time.time-17:before,
  main#whatis .schedule-table .time.time-18:before,
  main#whatis .schedule-table .time.time-19:before {
    left: -5rem;
  }
  main#whatis .schedule-table:after {
    top: auto;
    bottom: -1rem;
  }
}

/* rewarding content */
main#rewarding section {
  position: relative;
  padding: 0 8rem;
  justify-content: center;
}

main#rewarding section h2 {
  font-weight: 700;
  font-size: 6.4rem;
  color: #006dff;
}

main#rewarding section p {
  max-width: 64rem;
  margin-top: 1.6rem;
  font-weight: 400;
  font-size: 2rem;
}

main#rewarding .section-01 {
  padding-bottom: 17.5rem;
}
main#rewarding .section-01.cfx {
  gap: 8.5rem;
}
main#rewarding .section-01 h2 {
  margin-top: 3rem;
}
main#rewarding .section-01 img {
  width: 38.4rem;
}

main#rewarding .section-02 {
  padding-bottom: 16rem;
}
main#rewarding .section-02.cfx {
  gap: 7rem;
}
main#rewarding .section-02 div {
  order: 2;
}
main#rewarding .section-02 img {
  order: 1;
  width: 55.4rem;
}

main#rewarding .section-03 h2 {
  margin-top: 8.5rem;
}
main#rewarding .section-03 img {
  width: 61.26rem;
}

main#rewarding .section-01:before,
main#rewarding .section-02:before {
  position: absolute;
  content: "";
  left: 0;
  width: 198.1rem;
  height: 27.5rem;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: -1;
  transform: translateX(180rem);
  transition: transform 0.5s;
}

main#rewarding .section-01.isPlay:before,
main#rewarding .section-02.isPlay:before {
  transform: translateX(0);
}

main#rewarding .section-01:before {
  bottom: 5.7rem;
  background-image: url("../images/border-rewarding01.svg");
}
main#rewarding .section-02:before {
  bottom: 0;
  background-image: url("../images/border-rewarding02.svg");
}

@media screen and (min-width: 1513px) {
  main#rewarding section {
    padding: 0 80px;
  }
  main#rewarding section h2 {
    font-size: 64px;
  }
  main#rewarding section p {
    max-width: 640px;
    margin-top: 16px;
    font-size: 20px;
  }
  main#rewarding .section-01 {
    padding-bottom: 175px;
  }
  main#rewarding .section-01.cfx {
    gap: 85px;
  }
  main#rewarding .section-01 h2 {
    margin-top: 30px;
  }
  main#rewarding .section-01 img {
    width: 384px;
  }
  main#rewarding .section-02 {
    padding-bottom: 160px;
  }
  main#rewarding .section-02.cfx {
    gap: 70px;
  }
  main#rewarding .section-02 img {
    width: 554px;
  }
  main#rewarding .section-03 h2 {
    margin-top: 85px;
  }
  main#rewarding .section-03 img {
    width: 612.6px;
  }
  main#rewarding .section-01:before,
  main#rewarding .section-02:before {
    width: 1981px;
    height: 275px;
    transform: translateX(1800px);
  }
  main#rewarding .section-01:before {
    bottom: 57px;
  }
}

@media screen and (max-width: 768px) {
  main#rewarding.subPage {
    padding: 4rem 0 6.4rem;
  }
  main#rewarding section h2 {
    margin-top: 0 !important;
    font-size: 2.4rem;
  }
  main#rewarding section .space-wrap {
    float: right;
    height: 10rem;
  }
  main#rewarding section .sp-only {
    width: 15.8rem;
    margin: 1.4rem 0 0 1.6rem;
    float: right;
    clear: both;
  }
  main#rewarding section p {
    font-size: 1.4rem;
  }
  main#rewarding .section-01.cfx,
  main#rewarding .section-02.cfx,
  main#rewarding .section-03.cfx {
    flex-direction: column;
    padding: 0;
  }
  main#rewarding .section-01.cfx {
    padding: 0 2.4rem;
  }
  main#rewarding .section-01:before,
  main#rewarding .section-02:before {
    bottom: -2.3rem;
    left: auto;
    right: -5.2rem;
    width: 100%;
    height: 7.9rem;
    background-image: url("../images/border-rewarding01.svg");
  }
  main#rewarding .section-02.cfx,
  main#rewarding .section-03.cfx {
    margin-top: 6.2rem;
  }
  main#rewarding .section-02 h2,
  main#rewarding .section-02 p,
  main#rewarding .section-03 h2,
  main#rewarding .section-03 p {
    padding: 0 2.4rem;
  }
  main#rewarding .section-02 .space-wrap,
  main#rewarding .section-02 .sp-only {
    float: left;
  }
  main#rewarding .section-02 .space-wrap {
    height: 13rem;
  }
  main#rewarding .section-02 .sp-only {
    width: 20.3rem;
    margin: 1.4rem 1.6rem 0 0;
  }
  main#rewarding .section-03 .space-wrap {
    height: 13rem;
  }
  main#rewarding .section-03 .sp-only {
    width: 20.4rem;
  }
}

@media screen and (orientation: landscape) and (max-height: 500px) {
  main#rewarding .section-01:before,
  main#rewarding .section-02:before {
    bottom: -60px;
    right: -110px;
    height: 95px;

  }
}

/* careerpath content */
main#careerpath {
  padding: 8rem 0 0;
}

main#careerpath .section-01 {
  max-width: 1312px;
  margin: 0 auto;
  padding: 0 10rem 8rem;
}

main#careerpath .section-01 picture,
main#careerpath .section-01 picture img {
  width: 100%;
}

main#careerpath .section-01 .bottom-content {
  justify-content: space-between;
  margin-top: 4rem;
}

main#careerpath .section-01 .bottom-content .bottom-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5rem;
  width: 23rem;
}

main#careerpath .section-01 .bottom-content .bottom-item p {
  max-width: 16rem;
  width: 100%;
  padding: 0.7rem;
  text-align: center;
  color: #fff;
  font-weight: 700;
  font-size: 2.4rem;
  letter-spacing: 0.312rem;
  border-radius: 3rem;
  background: #ce0947;
}
main#careerpath .section-01 .bottom-content .bottom-item:nth-of-type(2) p {
  background: #ea6b09;
}
main#careerpath .section-01 .bottom-content .bottom-item:nth-of-type(3) p {
  background: #fab000;
}
main#careerpath .section-01 .bottom-content .bottom-item:nth-of-type(4) p {
  background: #2fafd2;
}
main#careerpath .section-01 .bottom-content .bottom-item:nth-of-type(5) p {
  background: #79af21;
}

main#careerpath .section-01 .bottom-content .bottom-item p span {
  font-size: 1.6rem;
  letter-spacing: 0;
}

main#careerpath .section-01 .bottom-content .bottom-item img {
  width: 6.5rem;
}
main#careerpath .section-01 .bottom-content .bottom-item:last-of-type img {
  width: 4.3rem;
}

main#careerpath .section-02 {
  flex-direction: column;
  gap: 20rem;
  padding: 15rem 19.6rem 12rem;
  background: #e6ecf0;
}

main#careerpath .section-02 article {
  position: relative;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 21.2rem 8rem 8rem;
  border: 2px solid #ce0947;
  border-radius: 2.4rem;
  background: #fff;
}
main#careerpath .section-02 article:before {
  position: absolute;
  content: "";
  top: -8rem;
  left: 50%;
  width: 24rem;
  height: 25.2rem;
  background-image: url("../images/illust-careerpath_young_article.svg");
  background-size: contain;
  transform: translateX(-50%);
}
main#careerpath .section-02 article:nth-of-type(2):before {
  background-image: url("../images/illust-careerpath_beginner_article.svg");
}
main#careerpath .section-02 article:nth-of-type(3):before {
  background-image: url("../images/illust-careerpath_amateur_article.svg");
}
main#careerpath .section-02 article:nth-of-type(4):before {
  background-image: url("../images/illust-careerpath_pro_article.svg");
}
main#careerpath .section-02 article:nth-of-type(5):before {
  background-image: url("../images/illust-careerpath_seniorarchitect_article.svg");
}

main#careerpath .section-02 article:not(:last-of-type):after {
  position: absolute;
  content: "";
  bottom: -12.3rem;
  left: 50%;
  width: 0.4rem;
  height: 12.1rem;
  border-radius: 3rem;
  background-image: linear-gradient(
    180deg,
    rgba(206, 9, 71, 0.5),
    rgba(234, 107, 9, 0.5)
  );
  transform: translateX(-50%);
}
main#careerpath .section-02 article:nth-of-type(2):after {
  background-image: linear-gradient(
    180deg,
    rgba(234, 107, 9, 0.5),
    rgba(250, 176, 0, 0.5)
  );
}
main#careerpath .section-02 article:nth-of-type(3):after {
  background-image: linear-gradient(
    180deg,
    rgba(250, 176, 0, 0.5),
    rgba(47, 175, 210, 0.5)
  );
}
main#careerpath .section-02 article:nth-of-type(4):after {
  background-image: linear-gradient(
    180deg,
    rgba(47, 175, 210, 0.5),
    rgba(121, 175, 33, 0.5)
  );
}

main#careerpath .section-02 article div {
  width: 50%;
  padding: 0 0 0 4rem;
  font-weight: 500;
  font-size: 2rem;
}
main#careerpath .section-02 article .left-content {
  width: calc(50% - 0.1rem);
  padding: 0 3.9rem 0 0;
  border-right: 1px solid rgba(206, 9, 71, 0.5);
}

main#careerpath .section-02 article div p {
  width: fit-content;
  margin-bottom: 1.7rem;
  padding: 0.8rem 4rem;
  text-align: center;
  color: #ce0947;
  font-weight: 700;
  line-height: 1;
  border: 1px solid #ce0947;
  border-radius: 3rem;
}

main#careerpath .section-02 article div ul li {
  position: relative;
  padding-left: 3rem;
  font-size: 1.8rem;
}
main#careerpath .section-02 article div ul li:before {
  position: absolute;
  content: "・";
  top: 0;
  left: 0.6rem;
  font-size: 2rem;
}

main#careerpath .section-02 article:nth-of-type(2),
main#careerpath .section-02 article:nth-of-type(2) div p {
  border-color: #ea6b09;
}
main#careerpath .section-02 article:nth-of-type(3),
main#careerpath .section-02 article:nth-of-type(3) div p {
  border-color: #fab000;
}
main#careerpath .section-02 article:nth-of-type(4),
main#careerpath .section-02 article:nth-of-type(4) div p {
  border-color: #2fafd2;
}
main#careerpath .section-02 article:nth-of-type(5),
main#careerpath .section-02 article:nth-of-type(5) div p {
  border-color: #79af21;
}
main#careerpath .section-02 article:nth-of-type(2) div p {
  color: #ea6b09;
}
main#careerpath .section-02 article:nth-of-type(3) div p {
  color: #fab000;
}
main#careerpath .section-02 article:nth-of-type(4) div p {
  color: #2fafd2;
}
main#careerpath .section-02 article:nth-of-type(5) div p {
  color: #79af21;
}
main#careerpath .section-02 article:nth-of-type(2) .left-content {
  border-right: 1px solid rgba(245, 181, 132, 1);
}
main#careerpath .section-02 article:nth-of-type(3) .left-content {
  border-right: 1px solid rgba(253, 215, 128, 1);
}
main#careerpath .section-02 article:nth-of-type(4) .left-content {
  border-right: 1px solid rgba(151, 215, 233, 1);
}
main#careerpath .section-02 article:nth-of-type(5) .left-content {
  border-right: 1px solid rgba(188, 215, 144, 1);
}

@media screen and (min-width: 1513px) {
  main#careerpath {
    padding: 80px 0 0;
  }
  main#careerpath .section-01 {
    padding: 0 100px 80px;
  }
  main#careerpath .section-01 .bottom-content {
    margin-top: 40px;
  }
  main#careerpath .section-01 .bottom-content .bottom-item {
    gap: 50px;
    width: 230px;
  }
  main#careerpath
    .section-01
    .bottom-content
    .bottom-item:not(:last-of-type):before {
    width: 186px;
    height: 6px;
    bottom: 18px;
    left: 154px;
  }
  main#careerpath
    .section-01
    .bottom-content
    .bottom-item:nth-of-type(4):before {
    left: 164px;
  }
  main#careerpath .section-01 .bottom-content .bottom-item p {
    max-width: 160px;
    padding: 7px;
    font-size: 24px;
    letter-spacing: 3.12px;
    border-radius: 30px;
  }
  main#careerpath .section-01 .bottom-content .bottom-item p span {
    font-size: 16px;
  }
  main#careerpath .section-01 .bottom-content .bottom-item img {
    width: 65px;
  }
  main#careerpath .section-01 .bottom-content .bottom-item:last-of-type img {
    width: 43px;
  }
  main#careerpath .section-02 {
    gap: 200px;
    padding: 150px 196px 120px;
  }
  main#careerpath .section-02 article {
    padding: 212px 80px 80px;
    border-radius: 24px;
  }
  main#careerpath .section-02 article:before {
    top: -80px;
    width: 240px;
    height: 252px;
  }
  main#careerpath .section-02 article:not(:last-of-type):after {
    bottom: -123px;
    width: 4px;
    height: 121px;
    border-radius: 30px;
  }
  main#careerpath .section-02 article div {
    padding: 0 0 0 40px;
    font-size: 20px;
  }
  main#careerpath .section-02 article .left-content {
    width: calc(50% - 1px);
    padding: 0 39px 0 0;
  }
  main#careerpath .section-02 article div p {
    margin-bottom: 17px;
    padding: 8px 40px;
    border-radius: 30px;
  }

  main#careerpath .section-02 article div ul li {
    padding-left: 30px;
    font-size: 18px;
  }
  main#careerpath .section-02 article div ul li:before {
    left: 6px;
    font-size: 20px;
  }
}

@media screen and (max-width: 768px) {
  main#careerpath {
    padding: 0;
  }
  main#careerpath .section-01 {
    display: none;
  }

  main#careerpath .section-02 {
    gap: 17.6rem;
    padding: 17.6rem 2.4rem 6.4rem;
  }
  main#careerpath .section-02 article {
    flex-direction: column;
    padding: 10.6rem 2.4rem 4rem;
  }
  main#careerpath .section-02 article:before {
    top: -13.6rem;
    width: 15.2rem;
    height: 22.3rem;
    background-image: url("../images/illust-careerpath_young_article_sp.svg");
  }
  main#careerpath .section-02 article:nth-of-type(2):before {
    background-image: url("../images/illust-careerpath_beginner_article_sp.svg");
  }
  main#careerpath .section-02 article:nth-of-type(3):before {
    background-image: url("../images/illust-careerpath_amateur_article_sp.svg");
  }
  main#careerpath .section-02 article:nth-of-type(4):before {
    background-image: url("../images/illust-careerpath_pro_article_sp.svg");
  }
  main#careerpath .section-02 article:nth-of-type(5):before {
    background-image: url("../images/illust-careerpath_seniorarchitect_article_sp.svg");
  }
  main#careerpath .section-02 article:not(:last-of-type):after {
    bottom: -4.3rem;
    height: 4rem;
    background-image: linear-gradient(
      180deg,
      rgba(206, 9, 71, 1),
      rgba(234, 107, 9, 1)
    );
  }
  main#careerpath .section-02 article:nth-of-type(2):after {
    background-image: linear-gradient(
      180deg,
      rgba(234, 107, 9, 1),
      rgba(250, 176, 0, 1)
    );
  }
  main#careerpath .section-02 article:nth-of-type(3):after {
    background-image: linear-gradient(
      180deg,
      rgba(250, 176, 0, 1),
      rgba(47, 175, 210, 1)
    );
  }
  main#careerpath .section-02 article:nth-of-type(4):after {
    background-image: linear-gradient(
      180deg,
      rgba(47, 175, 210, 1),
      rgba(121, 175, 33, 1)
    );
  }
  main#careerpath .section-02 article div {
    width: 100%;
    font-size: 1.4rem;
  }
  main#careerpath .section-02 article .left-content {
    width: 100%;
    padding: 0 0 2.3rem;
    border-right: none !important;
    border-bottom: solid rgba(206, 9, 71, 0.5);
  }
  main#careerpath .section-02 article:nth-of-type(2) .left-content {
    border-bottom: 1px solid rgba(245, 181, 132, 1);
  }
  main#careerpath .section-02 article:nth-of-type(3) .left-content {
    border-bottom: 1px solid rgba(253, 215, 128, 1);
  }
  main#careerpath .section-02 article:nth-of-type(4) .left-content {
    border-bottom: 1px solid rgba(151, 215, 233, 1);
  }
  main#careerpath .section-02 article:nth-of-type(5) .left-content {
    border-bottom: 1px solid rgba(188, 215, 144, 1);
  }
  main#careerpath .section-02 article .right-content {
    padding: 2.5rem 0 0;
  }
  main#careerpath .section-02 article div ul li {
    padding-left: 2rem;
  }
  main#careerpath .section-02 article div ul li:before {
    left: 0.4rem;
    font-size: 1.4rem;
  }
}

