@charset "UTF-8";
#main {
  position: relative;
}
#main .main_text {
  position: absolute;
  bottom: 110px;
  left: 149px;
  z-index: 1;
  padding: 0 2em 0 0;
}
#main .main_text .catch {
  line-height: 1.44;
  font-weight: 600;
  color: #fff;
  font-size: 60px;
  position: relative;
  right: 0;
  padding: 24px 0 0 0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}
#main .main_text .text {
  font-size: 24px;
  line-height: 2.083;
  font-weight: 600;
  color: #fff;
  max-width: 910px;
  width: 100%;
  margin: 50px;
  width: 100%;
  padding: 10px 0 65px 68px;
  font-size: 24px;
  margin: 0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}
#main .main_news {
  position: absolute;
  bottom: 24px;
  right: 0;
  z-index: 1;
  background-color: #fff;
  border-radius: 35px 0 0 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 15px 14px 21px;
  max-width: 872px;
  width: 100%;
  gap: 26px;
}
#main .main_news .title {
  background: rgb(184, 0, 30);
  background: linear-gradient(0deg, rgb(184, 0, 30) 0%, rgb(255, 0, 42) 100%);
  color: #fff;
  border-radius: 30px;
  display: grid;
  place-content: center;
  width: 75px;
  height: 35px;
  flex-shrink: 0;
}
#main .main_news time,
#main .main_news .contents,
#main .main_news a {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.9;
}
#main .main_news a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 35px;
  width: 100%;
  position: relative;
  padding-bottom: 1px;
  overflow: hidden;
}
#main .main_news a::after {
  content: "";
  width: 100%;
  height: 1px;
  position: absolute;
  bottom: 1px;
  left: 0;
  background-color: #083963;
  transition: ease 0.6s;
  transform: translateX(-100%);
}
#main .main_news a:hover::after {
  transform: translateX(0);
}
#main .main_news time {
  flex-shrink: 0;
}
#main .main_news .contents {
  width: 100%;
}
#main .main_news .link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: 150px;
  flex-shrink: 0;
}

#challenge {
  padding-top: 139px;
  padding-bottom: 481px;
  position: relative;
  background-image: url("../images/top/top-back-logo.svg");
  background-repeat: no-repeat;
  background-position: top 30px center;
  background-size: 862px;
}
#challenge .challenge_title {
  text-align: center;
}
#challenge .challenge_title h2 {
  font-size: clamp(54px, 4.58vw, 88px);
  font-weight: 600;
  line-height: 1.3;
  background: linear-gradient(180deg, #083963 0%, #175085 20%, #ff91a3 100%);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
#challenge .challenge_title p {
  font-size: 30px;
  font-weight: 600;
  margin-top: 21px;
}
#challenge .challenge_title p span {
  color: #F64072;
}
#challenge .challenge_service {
  display: flex;
  align-items: flex-start;
  justify-content: space-evenly;
  max-width: 1666px;
  width: 100%;
  margin: 60px auto 60px;
  transform: scale(1);
  padding: 0 20px;
  box-sizing: border-box;
  /*Swiperが複製しても正しい背景になる指定 */
}
#challenge .challenge_service li {
  background-size: cover;
  background-repeat: no-repeat;
  width: 22.5%;
  height: 100%;
  aspect-ratio: 215/282;
  position: relative;
  cursor: pointer;
  transition: ease 0.4s;
}
#challenge .challenge_service li:nth-of-type(1) {
  background-image: url(../images/top/ourchallenge_image01.png);
}
#challenge .challenge_service li:nth-of-type(2) {
  background-image: url(../images/top/ourchallenge_image02.png);
}
#challenge .challenge_service li:nth-of-type(3) {
  background-image: url(../images/top/ourchallenge_image03.png);
}
#challenge .challenge_service li::before {
  content: "";
  width: 100%;
  height: 100%;
  display: inline-block;
  background-color: rgba(19, 26, 32, 0.5);
  position: absolute;
  top: 0;
  left: 0;
}
#challenge .challenge_service .swiper-slide[data-swiper-slide-index="0"] {
  background-image: url(../images/top/ourchallenge_image01.png);
}
#challenge .challenge_service .swiper-slide[data-swiper-slide-index="1"] {
  background-image: url(../images/top/ourchallenge_image02.png);
}
#challenge .challenge_service .swiper-slide[data-swiper-slide-index="2"] {
  background-image: url(../images/top/ourchallenge_image03.png);
}
#challenge .challenge_service .challenge_service_text {
  position: relative;
  height: 100%;
}
#challenge .challenge_service .title {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
  width: 100%;
  text-align: center;
  transition: ease 0.2s;
  padding: 30px 1em;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
}
#challenge .challenge_service .text {
  color: #fff;
  transition: ease 0.2s 0.1s;
  line-height: 2;
  font-size: 16px;
  font-weight: 500;
  padding: 0 1.5em;
  opacity: 0;
  visibility: hidden;
}
#challenge .challenge_service li:hover {
  transform: scale(1.15);
}
#challenge .challenge_service li:hover .challenge_service_text {
  position: absolute;
  top: 40%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  height: auto;
}
#challenge .challenge_service li:hover .title {
  padding: 30px 1em;
  position: static;
  transform: translateY(0);
}
#challenge .challenge_service li:hover .text {
  opacity: 1;
  visibility: visible;
  transition: 0.5s;
}
@media screen and (max-width: 1024px) {
  #challenge .challenge_service li:hover {
    transform: scale(1);
  }
  #challenge .challenge_service li .challenge_service_text {
    position: absolute;
    top: 40%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    height: auto;
  }
  #challenge .challenge_service li .title {
    padding: 30px 1em;
    position: static;
    transform: translateY(0);
  }
  #challenge .challenge_service li .text {
    opacity: 1;
    visibility: visible;
    transition: 0.5s;
  }
}

.topservice_overview strong {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.7;
  display: block;
  margin-bottom: -20px;
}

.topservice_overview p .small-text {
  display: block;
  margin-top: 0.7em;
  line-height: 1.7;
}

#topservice .inner {
  top: -88px;
}

.topservice_wrapper {
  position: relative;
  width: 100%;
  overflow: visible;
  bottom: 136px;
  z-index: 3;
  max-width: 1778px;
  margin: 0 auto;
}

.topservice_overview {
  position: absolute;
  top: -265px;
  right: 0;
  width: 67%;
  border-radius: 230px 0 0 230px;
  z-index: 0;
}
@media (min-width: 1680px) {
  .topservice_overview {
    width: 1210px;
  }
}
.topservice_overview p {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.7;
  padding: 84px 14% 84px 262px;
  color: #fff;
  position: relative;
  z-index: 2;
}
.topservice_overview:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: linear-gradient(237deg, rgb(255, 0, 42) 0%, rgb(225, 9, 44) 60%, rgb(187, 0, 68) 100%);
  border-radius: 100dvh 0 0 100dvh;
}
@media screen and (max-width: 767px) {
  .topservice_overview:before {
    border-radius: 150px 0 0 150px;
  }
}

.small-text {
  font-size: 0.8em;
  display: inline-block;
  line-height: 2;
}

#topservice {
  position: relative;
  overflow: visible;
  padding: 0 20px 117px;
  z-index: 1;
}
#topservice::before {
  content: "";
  background-image: url(../images/top/service_bkimage01.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  position: absolute;
  width: 100vw;
  height: calc(100% + 530px);
  left: 50%;
  top: -200px;
  transform: translateX(-50%);
  z-index: 0;
}
#topservice .inner {
  max-width: 1366px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
#topservice .topservice_title {
  padding-top: 57px;
  max-width: 1366px;
  width: 100%;
  margin: 0 auto;
}
#topservice .topservice_title h2 {
  font-size: clamp(36px, 4.58vw, 46px);
  font-weight: 600;
  position: relative;
  padding-left: 50px;
}
#topservice .topservice_title h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background-color: #E1092C;
  border-radius: 50%;
}
#topservice .topservice_contents {
  padding-top: 80px;
  max-width: 1366px;
  width: 100%;
  margin: 0 auto;
}
#topservice .topservice_contents li {
  display: flex;
  justify-content: space-between;
}
#topservice .topservice_contents li:not(:first-of-type) {
  margin-top: 168px;
}
#topservice .topservice_contents li .topservice_contents_img {
  max-width: 500px;
  width: 100%;
  position: relative;
  z-index: 1;
}
#topservice .topservice_contents li .topservice_contents_img img {
  max-width: 500px;
  width: 100%;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
#topservice .topservice_contents li .topservice_contents_text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 684px;
  width: 100%;
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 705px;
  width: 100%;
  position: relative;
  z-index: 2;
  text-align: center;
}
#topservice .topservice_contents li .topservice_contents_text .title {
  font-size: clamp(30px, 2.083vw, 40px);
  font-weight: 600;
  line-height: 1.625;
  position: relative;
  display: inline-block;
  width: 100%;
}
#topservice .topservice_contents li .topservice_contents_text .title::before {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 0;
  background-color: #E1092C;
  height: 4px;
  width: 30%;
  border-radius: 5px;
  z-index: 2;
}
#topservice .topservice_contents li .topservice_contents_text .title::after {
  content: "";
  position: absolute;
  bottom: -7px;
  right: 0;
  background-color: #494949;
  height: 4px;
  width: 100%;
  border-radius: 5px;
  z-index: 1;
}
#topservice .topservice_contents li .topservice_contents_text .box {
  font-size: 16px;
  font-weight: 500;
  line-height: 2.1;
  padding: 1.5em;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  margin-top: 30px;
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
  text-align: left;
}

.btn-viewmore {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 344px;
  height: 72px;
  margin-top: 30px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background-color: #494949;
  border-radius: 9999px;
  text-align: center;
  transition: background-color 0.3s ease;
}
.btn-viewmore::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #fff;
  margin-left: 12px;
  transition: transform 0.3s ease, background-color 0.3s ease;
  transform: translateX(0);
}

.btn-viewmore:hover {
  background-color: #E1092C;
  color: #fff;
}
.btn-viewmore:hover::after {
  background-color: #fff;
  transform: translateX(12px);
}

#topeducation {
  position: relative;
  z-index: 2;
  margin-bottom: 50px;
  max-width: 1778px;
  margin: 0 auto;
}
#topeducation .topeducation-text-wrapper {
  position: relative;
  height: 510px;
}
#topeducation .topeducation-text-wrapper .topeducation_title {
  padding: 100px 213px 104px 229px;
  left: 0;
  position: absolute;
}
#topeducation .topeducation-text-wrapper .topeducation_title:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 100dvw;
  background: linear-gradient(237deg, rgb(187, 0, 68) 0%, rgb(225, 9, 44) 60%, rgb(255, 0, 42) 100%);
  z-index: 0;
  border-radius: 0 100dvh 100dvh 0;
}
#topeducation .topeducation-text-wrapper .topeducation_title h2 {
  font-size: 46px;
  font-weight: 600;
  color: #fff;
  position: relative;
  z-index: 1;
}
@media screen and (max-width: 767px) {
  #topeducation .topeducation-text-wrapper .topeducation_title h2 {
    font-size: 30px;
  }
}
#topeducation .topeducation-text-wrapper .topeducation_title p {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.7;
  color: #fff;
  margin-top: 10px;
  position: relative;
  z-index: 1;
}
@media screen and (max-width: 767px) {
  #topeducation .topeducation-text-wrapper .topeducation_title p {
    font-size: 16px !important;
    margin-top: 24px;
    width: 100%;
    padding-right: 50px;
  }
}
#topeducation .topeducation-text-wrapper .topeducation_title a {
  font-size: 18px;
  font-weight: 600;
  line-height: 2.1;
  display: flex;
  gap: 56px;
  color: #fff;
  margin-top: 67px;
  max-width: 190px;
  width: 100%;
  border-bottom: 1px solid #fff;
  padding-bottom: 7px;
}

/* --- ノートPCサイズ（例：1518px以下）--- */
@media screen and (max-width: 1518px) {
  #challenge {
    background-size: 754px;
  }
  .topservice_overview p {
    padding: 90px 12% 90px 146px;
  }
  .topservice_wrapper {
    bottom: 150px;
  }
  #topservice .topservice_contents li {
    gap: 30px;
  }
  #topservice .inner {
    top: 30px;
  }
  #challenge .challenge_service .challenge_service_text {
    padding: 40px clamp(20px, 2.343vw, 45px) 24px;
  }
  #challenge .challenge_service .title {
    font-size: 30px;
  }
  #challenge .challenge_service li {
    width: 28%;
  }
}
/* --- iPadなど中間サイズ（例：1024px以下）--- */
@media screen and (max-width: 1024px) {
  #challenge {
    background-size: 600px;
  }
  #topservice .inner {
    top: 38px;
  }
  .topservice_overview p {
    padding: 110px 5% 110px 146px;
  }
  .topservice_overview {
    width: 70%;
  }
  #challenge .challenge_service li {
    width: 30%;
  }
}
@media screen and (max-width: 1024px) {
  #topservice .topservice_contents {
    padding-top: 62px;
  }
  #topservice .topservice_contents li {
    position: relative;
    flex-direction: column;
    padding-bottom: 0px;
    align-items: center;
  }
  #topservice .topservice_contents li:not(:first-of-type) {
    margin-top: 150px;
  }
  #topservice .topservice_contents li:nth-of-type(even) {
    flex-direction: column-reverse;
  }
  #topservice .topservice_contents li .topservice_contents_img {
    width: 100%;
    position: static;
  }
  #topservice .topservice_contents li .topservice_contents_img a {
    position: absolute;
    bottom: 0;
    height: 76px;
    left: 50%;
    transform: translateX(-50%);
  }
  #topservice .topservice_contents li .topservice_contents_text {
    position: static;
    width: 100%;
  }
  #topeducation {
    display: block;
  }
  #topeducation .topeducation-text-wrapper {
    height: 400px;
  }
  #topeducation .topeducation-text-wrapper .topeducation_title {
    border-radius: 0 230px 230px 0;
    padding: 75px 0px 75px 5%;
    width: 95%;
  }
  #topeducation .topeducation-text-wrapper .topeducation_title p {
    font-size: 18px;
  }
  #topeducation .topeducation_book {
    margin-top: 20px;
    padding: 0 30px;
  }
}
/* --- スマホサイズ（767px以下）--- */
@media screen and (max-width: 767px) {
  #challenge {
    padding-bottom: 100px;
    padding-top: 54px;
    background-size: 495px;
    background-position: top 36px center;
  }
  .topservice_wrapper {
    bottom: 0;
  }
  .topservice_overview {
    position: relative;
    top: 0;
    width: 100%;
    margin: 0 0 0 20px;
    border-radius: 150px 0 0 150px;
  }
  .topservice_overview p {
    font-size: 16px;
    font-weight: 600;
    padding: 50px 40px 50px 64px;
  }
  #topservice .inner {
    top: -88px;
  }
  #topservice .topservice_title {
    padding-top: 123px;
  }
  #topeducation .topeducation-text-wrapper {
    height: 330px;
  }
}
@media screen and (max-width: 1024px) {
  #main .main_text .catch {
    font-size: 41px;
    position: relative;
    right: 0;
    padding: 24px 13px 0 0;
  }
  #main .main_text .text {
    line-height: 2;
    font-size: 16px;
    max-width: 340px;
    padding: 15px 10px 0 0;
    text-align: left;
  }
}
@media screen and (max-width: 767px) {
  h2 {
    font-size: 300px;
  }
  p {
    font-size: 16px;
    line-height: 2.5;
  }
  #main .main_text {
    top: 157px;
    right: 0;
    left: auto;
    text-align: right;
    padding: 0 0 0 0;
  }
  #main .main_news {
    border-radius: 0;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 9px 10px 9px 20px;
    gap: 22px;
  }
  #main .main_news .title {
    font-size: 10px;
    width: 47px;
    height: 22px;
    border-radius: 23px;
  }
  #main .main_news time {
    font-size: 16px;
    line-height: 1.8;
  }
  #main .main_news a {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    font-size: 16px;
    line-height: 1.8;
  }
  #main .main_news .link {
    flex-direction: row;
    gap: 10px;
    align-self: flex-end;
    width: auto;
  }
  #challenge {
    padding-bottom: 100px;
    padding-top: 50px;
    background-size: 451px;
    background-position: top 88px center;
  }
  #challenge .challenge_title p {
    font-size: 24px;
  }
  #challenge .challenge_service {
    padding: 0;
  }
  #challenge .challenge_service li {
    aspect-ratio: 215/294;
  }
  #challenge .challenge_service li:hover {
    transform: scale(1);
  }
  #challenge .challenge_service .challenge_service_text {
    padding: 60px 20px 20px;
    gap: 46px;
  }
  #challenge .challenge_service_loop {
    height: 122px;
    margin-top: 55px;
  }
  #topservice {
    padding: 0 0 83px;
    margin-top: 47px;
  }
  #topservice::before {
    top: -164px;
  }
  #topservice .topservice_title {
    padding-top: 123px;
  }
  #topservice .topservice_title h2 span {
    padding-top: 14px;
  }
  #topservice .topservice_contents {
    padding-top: 62px;
  }
  #topservice .topservice_contents li {
    position: relative;
    flex-direction: column;
    padding-bottom: 0px;
  }
  #topservice .topservice_contents li:not(:first-of-type) {
    margin-top: 150px;
  }
  #topservice .topservice_contents li:nth-of-type(even) {
    flex-direction: column-reverse;
  }
  #topservice .topservice_contents li .topservice_contents_img {
    width: 100%;
    position: static;
  }
  #topservice .topservice_contents li .topservice_contents_img a {
    position: absolute;
    bottom: 0;
    height: 76px;
    left: 50%;
    transform: translateX(-50%);
  }
  #topservice .topservice_contents li .topservice_contents_text {
    position: static;
    width: 100%;
  }
  #topservice .topservice_contents li .topservice_contents_text .box {
    font-size: 16px;
    padding: 20px;
  }
  #topeducation .topeducation-text-wrapper .topeducation_title {
    width: 100%;
    background: rgb(187, 0, 68);
    background: linear-gradient(237deg, rgb(187, 0, 68) 0%, rgb(225, 9, 44) 60%, rgb(255, 0, 42) 100%);
    padding: 61px 0px 82px 16px;
    border-radius: 0 150px 150px 0;
    width: 95%;
  }
  /* 書籍スライド全体の幅を割合で固定 */
  .topeducation_book .swiper-slide {
    width: 80%;
    box-sizing: border-box;
  }
  /* 画像が切れないようにする */
  .topeducation_book .swiper-slide img {
    width: 100%;
    height: auto;
    -o-object-fit: contain;
       object-fit: contain;
    display: block;
  }
}
#challenge::before {
  content: "";
  top: -5%;
  background-size: 100%;
}

#topservice .topservice_title h2 {
  font-size: clamp(28px, 4.58vw, 46px);
}

#topservice .topservice_contents li .topservice_contents_text .title {
  font-size: clamp(26px, 2.083vw, 40px);
}

.book-btn {
  max-width: 1778px;
  margin: 0 auto;
}

#challenge .swiper-pagination {
  background: transparent;
}

@media screen and (max-width: 767px) {
  #challenge .challenge_service .title {
    font-size: 22px;
  }
  #challenge .challenge_service .text {
    font-size: 16px;
  }
}
#challenge .challenge_service li .challenge_service_text {
  text-align: center;
}

.course-section li {
  line-height: 1.6;
  margin-bottom: 14px;
}

.course-section li.no-margin {
  margin-bottom: 0;
}

.course-section li:last-child {
  margin-bottom: 0;
}

.shadow-box {
  padding: 12px 24px 0;
}

.course-section p {
  margin-bottom: 20px;
}

.training_text {
  text-align: center;
}

h4 {
  font-size: 1.125rem;
}

strong {
  font-size: 1.125rem;
}

@media (max-width: 1020px) {
  .shadow-box {
    padding: 12px 24px;
  }
}
.page-id-18 .topservice_overview p {
  font-size: 16px;
  line-height: 1.6;
}

.page-id-18 .topservice_overview strong {
  line-height: 1.2;
}

@media screen and (max-width: 767px) {
  .page-id-18 #topeducation .topeducation-text-wrapper {
    height: 510px;
  }
}
/*# sourceMappingURL=top.css.map */