.dp_top_mv {
  padding: 40px 45px 81px;
  background-color: #FFD6FF;
  position: relative;
  overflow-x: clip;
}

@media screen and (max-width: 768px) {
  .dp_top_mv {
    padding: 15px 15px 60px;
  }
}


.dp_top_mv_img {
  width: 100%;
}




.dp_top_mv_img > picture img {
  width: 100%;
  border-radius: 1.875vw;
  overflow: hidden;
}
@media screen and (max-width: 900px) {
  .dp_top_mv_img > picture img {
    border-radius: max(3.846153846vw, 15px);
  }
}



.dp_top_mv_wave {
  position: absolute;
  bottom: -74px;
  left: 0;
  width: 100%;
  min-width: 1400px;
}

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

  .dp_top_mv_wave {
    bottom: -10px;
            min-width: 625px;
  }
}

.dp_top_mv_wave img {
  width: 100%;
}

.dp_top_mv_img {
  position: relative;
}

.dp_top_mv_ttl {
  position: absolute;
  top: 48px;
  left: 30px;
  width: 32.857142857142854vw;
}

@media screen and (max-width: 768px) {
  .dp_top_mv_ttl {
    top: 28px;
    left: 50%;
    transform: translateX(-50%);
    width: 75.12820512820512vw;
  }
}

.dp_top_mv_boxTxt {
  position: absolute;
  top: 108px;

  width: 7.928571428571428vw;
}

@media screen and (min-width: 769px) {
  .dp_top_mv_boxTxt {
    right: 98px;
  }
}

@media screen and (max-width: 768px) {
  .dp_top_mv_boxTxt {
    top: 140px;
    left: -22px;
    width: 9.487179487179487vw;
  }
}

.bg_pink {
  background-color: #FFD6FF;
  overflow: hidden;
}

.dp_top_about {
  padding: 122px 0 380px;
  background-image: url("../img/dp/dp_top_about_bg.png");
  background-image: -webkit-image-set(url("../img/dp/dp_top_about_bg.png") 1x,
      url("../img/dp/dp_top_about_bg@2x.png") 2x);
  background-image: image-set(url("../img/dp/dp_top_about_bg.png") 1x,
      url("../img/dp/dp_top_about_bg@2x.png") 2x);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.dp_top_about_ttl {
  text-align: center;
  margin-bottom: 40px;
}


@media screen and (max-width: 768px) {
  .dp_top_about_ttl {
    margin-bottom: 22px;
  }
}

.dp_top_about_body {
  display: flex;
  gap: 20px;
  justify-content: center;
  max-width: 1240px;
  margin: 0 auto;
}

.dp_top_about_item:nth-child(even) {
  padding-top: 100px;
}


.dp_top_about_item:nth-child(1) .dp_top_about_item_link {
  background-color: #AE67FF;
}

.dp_top_about_item:nth-child(2) .dp_top_about_item_link {
  background-color: #66B3FF;
}

.dp_top_about_item:nth-child(3) .dp_top_about_item_link {
  background-color: #EF5BDB;
}

.dp_top_about_item:nth-child(4) .dp_top_about_item_link {
  background-color: #39E6CE;
}

.dp_top_about_item_link {
  border-radius: 10px;
  padding: 30px 20px 20px;
  display: block;
  box-shadow: inset 9px 8px 10.8px 0 rgba(255, 255, 255, 0.5);
}



.dp_top_about_item_ttl {
  text-align: center;
  margin-bottom: 25px;
}

.dp_top_about_item_img {
  border-radius: 14px;
  overflow: hidden;
}

.dp_top_about_item_img img {
  transition: transform 0.3s ease;
}



@media screen and (min-width: 769px) {
  .dp_top_about_item_link:hover .dp_top_about_item_img img {
    transform: scale(1.05);
  }
}

@media screen and (max-width: 768px) {
  .dp_top_about {
    padding: 50px 0 188px;
    overflow-x: hidden;
  }

  .dp_top_about_body {
    flex-direction: column;
    gap: 15px;
    padding: 0;
  }

  .dp_top_about_item {
    width: 100%;
    padding: 0 0 0 10px;
  }

  .dp_top_about_item:nth-child(even) {
    padding-top: 0;
    padding: 0 10px 0 0;
  }

  .dp_top_about_item_link {
    display: flex;
    align-items: center;
    height: 100px;
    width: calc(100% + 20px);
    box-shadow:
      inset 3px 4px 4px 0 rgba(255, 255, 255, 0.43),
      inset 0 -4px 4px 0 rgba(0, 0, 0, 0.25);
    position: relative;
    text-decoration: none;
    padding: 0;
  }

  .dp_top_about_item:nth-child(odd) .dp_top_about_item_link {
    flex-direction: row;
    margin-right: -20px;
    margin-left: auto;
    border-radius: 20px 0 0 20px;
  }

  .dp_top_about_item:nth-child(even) .dp_top_about_item_link {
    flex-direction: row-reverse;
    margin-left: -20px;
    margin-right: auto;
    border-radius: 0 20px 20px 0;
  }

  .dp_top_about_item_ttl {
    flex: 1;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 15px;
  }

  .dp_top_about_item_ttl img {
    height: 24px;
    width: auto;
    display: block;
  }

  .dp_top_about_item_img {
    width: 41.66666666666667%;
    height: 100%;
    flex-shrink: 0;
    border-radius: 0;
  }

  .dp_top_about_item_img picture,
  .dp_top_about_item_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
}



.dp_top_declaration {
  margin-top: -300px;
}

@media screen and (max-width: 768px) {
  .dp_top_declaration {
    margin-top: -80px;
  }
}

.dp_top_declaration_bg {
  position: relative;
  width: 100%;
}

.dp_top_declaration_bg img {
  width: 100%;
  height: auto;
  display: block;
}

.dp_top_declaration_ttl {
  position: absolute;
  top: 2.01246572vw;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  z-index: 2;
  text-align: center;
  max-width: 620px;
}

@media screen and (max-width: 768px) {
  .dp_top_declaration_ttl {
    top: 6.13136595vw;
    width: 100%;
    max-width: 360px;
  }
}

.dp_top_declaration_body {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 100%;

  z-index: 1;
}

.dp_top_declaration_body_inr {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.dp_top_declaration_item {
  width: 45%;
}

.dp_top_declaration_item img {
  width: 100%;
  height: auto;
}

@media screen and (max-width: 768px) {
  .dp_top_declaration {
    margin-top: -160px;
  }

  .dp_top_declaration_body {
    top: 55%;
    transform: translateY(-50%);
    width: 100vw;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .dp_top_declaration_body_inr {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .dp_top_declaration_item.is-challenge {
    width: 100vw;
  }

  .dp_top_declaration_item.is-mypace {
    width: 92.05128205128204vw;
    margin-top: -44px;
    position: relative;
    z-index: 2;
  }

  .dp_top_declaration_item img {
    width: 100%;
    height: auto;
  }
}

.modal_content_style {
  width: 100%;
}

.modal_content_style img {
  width: 100%;
  height: auto;
  display: block;
}


.dp_top_select {
  padding: 28px 0 96px;
}

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

  .dp_top_select {
    padding: 12px 0 32px;
  }
}

.dp_top_select_ttl {
  text-align: center;
  margin-bottom: 46px;
}

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

  .dp_top_select_ttl {
    max-width: 174px;
    margin: 0 auto 15px;
  }
}

.dp_top_select_list_box {
  width: 100%;
  padding: 73px 30px;
  border: 1px solid #000000;
  border-radius: 30px;
  background-image: url("../img/dp/dp_top_select_list_box_bg.png");
  background-image: -webkit-image-set(url("../img/dp/dp_top_select_list_box_bg.png") 1x,
      url("../img/dp/dp_top_select_list_box_bg@2x.png") 2x);
  background-image: image-set(url("../img/dp/dp_top_select_list_box_bg.png") 1x,
      url("../img/dp/dp_top_select_list_box_bg@2x.png") 2x);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  max-width: 1310px;
  margin: 0 auto;
}



.dp_top_select_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 10px;
  row-gap: 20px;
  list-style: none;
  padding: 0;
  max-width: 1230px;
  margin: 0 auto;
}

.dp_top_select_list_item {
  width: 300px;
  height: 400px;
  position: relative;
  overflow: hidden;
}

.dp_top_select_list_item.is-wide {
  overflow: visible;
  z-index: 10;
}

.dp_top_select_list_item_link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.dp_top_select_list_item_link:hover {

  opacity: 0.8;
}

.dp_top_select_list_item_link img {
  display: block;
  height: 100%;
  width: auto;
  margin: 0 auto;
  image-rendering: -webkit-optimize-contrast;
}

.dp_top_select_list_item.is-wide img {
  width: 456px;
  max-width: none;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

@media screen and (max-width: 1230px) {
  .dp_top_select_list {
    max-width: 610px;
  }
}

@media screen and (max-width: 768px) {
  .dp_top_select_list_box {
    padding: 40px 20px;
    border-radius: 15px;
    overflow: hidden;
  }

  .dp_top_select_list {
    column-gap: 15px;
    row-gap: 30px;
  }

  .dp_top_select_list_item {
    width: calc((100% - 15px) / 2);
    height: 50vw;
    overflow: visible !important;
    position: relative;
    aspect-ratio: auto;
  }

  .dp_top_select_list_item img {
    width: 100%;
  }

  .dp_top_select_list_item_link {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
  }

  .dp_top_select_list_item_link img,
  .dp_top_select_list_item_link picture {
    display: block;
    height: 50vw !important;
    width: auto !important;
    max-width: none !important;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }

  .dp_top_select_list_item.is-wide img {
    width: auto !important;
    height: 50vw !important;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  --theme-color: #000;

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  cursor: pointer;
}

.modal_container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 1440px;
  background: #fff;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  overflow: hidden;
}

.modal:has(.modal_content_style) .modal_container {
  display: block;
}

#modalBody {
  transition: opacity 0.2s ease;
  width: 100%;
  height: 100%;
}

.modal_content {
  overflow-y: auto;
  flex: 1;
}

.modal_close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1000;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 44px;
  height: 44px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.modal:has(.modal_content_style) .modal_close {
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal_close:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

.modal_close img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 0 var(--theme-color)) drop-shadow(0 0 0 var(--theme-color)) drop-shadow(0 0 0 var(--theme-color));
}

.modal_content_inner {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.modal_visual {
  width: 57.36%;
}

.modal_visual img,
.modal_info img {
  width: 100%;
  height: auto;
  display: block;
}

.modal_info {
  width: 42.64%;
  padding: 30px 0 40px;
  position: relative;
  background-color: var(--theme-bg, #fce4ec);
}

.modal_content_style {
  width: 100%;
  position: relative;
}

.modal_content_style img {
  width: 100%;
  height: auto;
  display: block;
}

@media screen and (max-width: 768px) {
  .modal_container {
    width: 90%;
    height: 80vh;
    max-height: 80vh;
    border-radius: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    max-width: 400px;
  }

  .modal_container::before {
    content: "";
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 39px;
    background-color: var(--theme-color);
    z-index: 900;
    display: block;
    flex-shrink: 0;
  }

  .modal_content_inner {
    flex-direction: column;
  }

  .modal_visual,
  .modal_info {
    width: 100%;
  }

  .modal_info {
    padding: 0;
  }

  .modal_close {
    position: absolute;
    top: 6px;
    right: 12px;
    width: 36px;
    height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
  }

  .modal_close img {
    width: 36px;
    height: 27px;
    filter: brightness(0) invert(1) !important;
  }
}

.modal:has(.modal_content_style) .modal_container {
  display: flex !important;
  flex-direction: column !important;
  width: 90%;
  max-width: 390px;
  max-height: 80vh;
  height: auto;
  border-radius: 0;
  padding-top: 0;
  background-color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;
}

.modal:has(.modal_content_style) .modal_container::before {
  display: none !important;
}

.modal_style_fixed_header {
  width: 100%;
  height: 39px;
  background-color: var(--bar-color, #EFFF61);
  display: flex;
  align-items: center;
  padding-left: 20px;
  z-index: 900;
  flex-shrink: 0;
  position: relative;
}

.modal_style_ttl {
  height: 24px;
  width: auto;
  display: block;
  width: fit-content !important;
  height: 22px !important;
}

.modal:has(.modal_content_style) .modal_close {
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal:has(.modal_content_style) .modal_close img {
  width: 26px !important;
  height: 26px !important;
  filter: brightness(0) drop-shadow(1000px 0 0 var(--theme-color)) !important;
  transform: translateX(-1000px);
}

.modal_style_scroll_body {
  width: 100%;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  flex: 1 1 auto;
  min-height: 0;
}

.modal_style_scroll_body img {
  width: 100%;
  height: auto;
  display: block;
}

.modal:has(.modal_content_style) .modal_content {
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 0 !important;
  flex: 1 1 auto;
  min-height: 0;
}

.modal:has(.modal_content_style) .modal_content_style {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.modal_info_btns_area {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 0 30px;
}

.modal_info_btn {
  width: 100%;
  max-width: 322px;
}

.modal_info_btn img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.2s;
}

.modal_info_btn a:hover img {
  opacity: 0.8;
}

@media screen and (max-width: 768px) {
  .modal_info_btns_area {
    margin-top: 20px;
    padding: 0 15px 40px;
  }
}

.modal_info_btn.is-back {
  display: none;
}

@media screen and (max-width: 768px) {
  .modal_info_btn.is-back {
    display: block;
  }
}


.modal_info_balloon {
  display: none;
}

@media screen and (max-width: 768px) {
  .modal_info_text {
    position: relative;
  }

  .modal_info_balloon {
    display: block;
    position: absolute;
    top: -43px;
    left: 15px;
    width: 126px;
    z-index: 2;
    pointer-events: none;
  }

  .modal_info_balloon img {
    width: 100%;
    height: auto;
    display: block;
  }
}

.js-modal-open {
  transition: opacity 0.3s ease;
}

@media screen and (min-width: 769px) {
  .js-modal-open:hover {
    opacity: 0.8;
  }
}

.js-course-nav {
  transition: opacity 0.3s ease;
}

@media screen and (min-width: 769px) {
  .js-course-nav:hover {
    opacity: 0.8;
  }
}

.dp_top_select_list_item_link,
.js-modal-open,
.dp_top_about_item_link,
.js-modal-close-trigger,
.js-course-nav {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
  /* width: 100%; */
  text-align: inherit;
}
