/* CSS Document */
/* main top
------------------------------------------------------------*/
main.top {
  overflow: hidden;
}

main.top #about {
  padding-top: 4px;
  padding-bottom: 50px;
  overflow: hidden;
  background: #F5F3ED url(../img/common/bg.png) repeat center top/1342px auto;
}

@media screen and (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
  main.top #about {
    background-image: url(../img/common/bg@2x.png);
  }
}

main.top #about .item-img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  padding-top: 30px;
  box-sizing: border-box;
}

main.top #about .item-img:before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url(../img/top/about/bg-line.svg) no-repeat center;
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  transition: all 4s linear;
}

main.top #about .item-img .inside {
  width: 375px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  -webkit-box-orient: vertical;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
}

main.top #about .item-img p {
  margin-bottom: -14px;
  position: relative;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
}

main.top #about .item-img p[data-emergence=visible] {
  animation-delay: 0.2s;
  animation-name: fadeInUp;
}

main.top #about .item-img p:nth-child(odd) {
  margin-left: auto;
  margin-right: -18px;
}

main.top #about .item-img p:nth-child(even) {
  margin-right: auto;
  margin-left: -18px;
}

main.top #about .item-img p:nth-child(1) {
  transition-delay: 0.4s;
}

main.top #about .item-img p:nth-child(2) {
  transition-delay: 1.2s;
}

main.top #about .item-img p:nth-child(3) {
  transition-delay: 1.9s;
}

main.top #about .item-img p:nth-child(4) {
  transition-delay: 2.8s;
}

main.top #about .item-img p:nth-child(5) {
  transition-delay: 3.3s;
}

main.top #about .item-img[data-emergence=visible]:before {
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

main.top #about .item-img[data-emergence=visible] p {
  opacity: 1;
  visibility: visible;
}

main.top #about .item-illust {
  width: 118px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 17px;
  position: relative;
}

main.top #about .item-text {
  text-align: center;
  letter-spacing: 0.16em;
  line-height: 3.0769230769;
  position: relative;
}

main.top #about .item-text p[data-emergence=visible] {
  animation-name: labelInLeft;
  animation-duration: 2s;
}

main.top #diagnosis {
  padding-top: 15px;
  padding-bottom: 45px;
}

main.top #diagnosis .item-logo {
  font-size: 0;
  background: #FFF url(../img/common/img-logo@2x.gif) repeat-x left 16px center/auto 100%;
  animation-name: logoDiagnosis;
  animation-duration: 15s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  height: 67px;
  margin-bottom: 32px;
}

main.top #diagnosis .item-diagnosis {
  background: #F8F893;
  box-shadow: 3px 3px 6px 0 rgba(0, 0, 0, 0.16);
  text-align: center;
  border-radius: 30px;
  position: relative;
  padding-top: 25px;
  padding-bottom: 25px;
}

main.top #diagnosis .item-diagnosis:before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url(../img/common/bg.png) repeat center top/900px auto;
  opacity: 0.5;
}

main.top #diagnosis .item-diagnosis > * {
  position: relative;
  z-index: 2;
}

main.top #diagnosis .item-diagnosis .title {
  margin-bottom: 27px;
  padding-top: 50px;
  position: relative;
  width: 280px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

main.top #diagnosis .item-diagnosis .title span {
  position: absolute;
  right: 0;
  top: 0;
  animation-name: kakukaku;
  animation-duration: 1s;
  animation-iteration-count: infinite;
}

main.top #diagnosis .item-diagnosis .arrow {
  margin-bottom: 12px;
}

main.top #diagnosis .item-diagnosis .illust {
  z-index: 3;
  pointer-events: none;
  position: absolute;
  left: 50%;
  top: 0;
  width: 375px;
  height: 100%;
  transform: translateX(-50%);
  max-width: 100%;
}

main.top #diagnosis .item-diagnosis .illust p {
  position: absolute;
  z-index: 3;
  animation-name: swing;
  animation-duration: 5s;
  animation-iteration-count: infinite;
}

main.top #diagnosis .item-diagnosis .illust p:nth-child(1) {
  animation-delay: 0.3s;
  left: 79px;
  top: 22px;
}

main.top #diagnosis .item-diagnosis .illust p:nth-child(2) {
  animation-delay: 1.4s;
  left: 13px;
  top: 137px;
}

main.top #diagnosis .item-diagnosis .illust p:nth-child(3) {
  animation-delay: 2s;
  right: 12px;
  top: 129px;
}

main.top #diagnosis .item-diagnosis .illust p:nth-child(4) {
  animation-delay: 2.9s;
  left: 30px;
  top: 273px;
}

main.top #diagnosis .item-diagnosis .illust p:nth-child(5) {
  animation-delay: 4s;
  right: 22px;
  top: 276px;
}

main.top #diagnosis .item-popup {
  display: none;
}

main.top #course {
  padding-bottom: 30px;
}

main.top #course .item-recommend {
  box-shadow: 3px 3px 6px 0 rgba(0, 0, 0, 0.16);
}

main.top #course .item-recommend > a {
  display: block;
  color: #000;
}

main.top #course .item-recommend > a:hover {
  text-decoration: none;
}

main.top #course .item-recommend:not(:last-child) {
  margin-bottom: 35px;
}

main.top #course .item-img {
  position: relative;
  overflow: hidden;
}

main.top #course .item-img h3 {
  position: absolute;
  left: 18px;
  bottom: 14px;
  display: flex;
}

main.top #course .item-img h3 span {
  position: relative;
}

main.top #course .item-img h3 span[data-emergence=visible] {
  animation-name: bounceInUp;
  animation-fill-mode: forwards;
  animation-duration: 1s;
}

main.top #course .item-img h3 span[data-emergence=visible]:nth-child(1) img {
  animation-name: kakukaku;
  animation-duration: 1s;
  animation-iteration-count: infinite;
}

main.top #course .item-img h3 span:not(:first-child) {
  margin-left: -20px;
}

main.top #course .item-img h3 span:nth-child(2) {
  margin-top: 5px;
  animation-delay: 0.05s;
}

main.top #course .item-img > img {
  width: 100%;
}

main.top #course .item-text {
  padding: 25px 30px;
}

main.top #course .item-text p {
  font-size: 14px;
  font-size: 1.0769230769rem;
}

main.top #course .item-text p:not(:last-child) {
  margin-bottom: 14px;
}

main.top #course .item-slides:not(:last-child) {
  margin-bottom: 20px;
}

main.top #course .item-slides .slick-track {
  padding-bottom: 20px;
}

main.top #course .item-slides .slick-slide {
  margin-left: 12px;
  margin-right: 12px;
}

main.top #course .item-slides .slick-slide a {
  display: block;
  border-radius: 100px;
  box-shadow: 3px 3px 6px 0 rgba(0, 0, 0, 0.16);
  position: relative;
  overflow: hidden;
}

main.top #course .item-slides .slick-slide a:hover img {
  transform: scale(1.2);
  transform-origin: center center;
}

main.top #course .item-slides .slick-slide .img img {
  width: 100%;
  transition: all 0.8s ease;
}

main.top #course .item-slides .slick-slide .text {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  -webkit-box-orient: vertical;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-perspective: 1000;
  -moz-perspective: 1000;
  -ms-perspective: 1000;
  perspective: 1000;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  backface-visibility: hidden;
}

main.top #course .item-slides .slick-slide .text:before {
  content: "";
  width: 117px;
  height: 30px;
  display: block;
  background-image: url(../img/top/course/arrow.svg), url(../img/top/course/line.svg);
  background-position: center top, center bottom;
  background-repeat: no-repeat;
  margin-bottom: 13px;
}

main.top #course .item-slides .slick-slide .text:after {
  content: "";
  width: 117px;
  height: 7px;
  background: no-repeat center/auto;
  background-image: url(../img/top/course/line.svg);
  margin-top: 13px;
}

main.top #course .item-slides .slick-slide .text > * {
  color: #28338D;
}

main.top #course .item-slides .slick-slide .text p {
  font-size: 14px;
  font-size: 1.0769230769rem;
  margin-bottom: 9px;
  font-family: "dela-gothic-one", sans-serif;
  font-weight: 400;
}

main.top #course .item-slides .slick-slide .text h3 {
  font-size: 22px;
  font-size: 1.6923076923rem;
  font-family: "dela-gothic-one", sans-serif;
  font-weight: 400;
}

main.top #course .item-slides .slick-slide .text h3 span {
  font-size: 13px;
  font-size: 1rem;
  display: block;
  line-height: 1;
}

main.top #course .item-part-02 {
  display: flex;
  box-shadow: 3px 3px 6px 0 rgba(0, 0, 0, 0.16);
}

main.top #course .item-part-02:not(:last-child) {
  margin-bottom: 30px;
}

main.top #course .item-part-02 a {
  display: flex;
  width: 100%;
  color: #000;
}

main.top #course .item-part-02 a:hover {
  text-decoration: none;
}

main.top #course .item-part-02 .img {
  position: relative;
  overflow: hidden;
  max-width: 50%;
}

main.top #course .item-part-02 .img > img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

main.top #course .item-part-02 .img h3 {
  position: absolute;
  left: 20px;
  bottom: 4px;
  display: flex;
}

main.top #course .item-part-02 .img h3 span {
  position: relative;
}

main.top #course .item-part-02 .img h3 span[data-emergence=visible] {
  animation-name: bounceInUp;
  animation-fill-mode: forwards;
  animation-duration: 1s;
}

main.top #course .item-part-02 .img h3 span[data-emergence=visible]:nth-child(1) img {
  animation-name: kakukaku;
  animation-duration: 1s;
  animation-iteration-count: infinite;
}

main.top #course .item-part-02 .img h3 span:not(:first-child) {
  margin-left: -22px;
}

main.top #course .item-part-02 .img h3 span:nth-child(1) {
  width: 140px;
}

main.top #course .item-part-02 .img h3 span:nth-child(2) {
  margin-top: 5px;
  animation-delay: 0.05s;
}

main.top #course .item-part-02 .text {
  width: 10px;
  -ms-flex: 1 0 auto;
  flex-grow: 1;
  padding: 15px;
}

main.top #course .item-part-02 .text p {
  font-size: 12px;
  font-size: 0.9230769231rem;
  line-height: 1.6666666667;
}

main.top #course .item-part-02 .text p:not(:last-child) {
  margin-bottom: 10px;
}

main.top #course .item-bnr {
  text-align: center;
}

main.top #course .item-bnr a {
  display: -moz-inline-box;
  display: inline-block;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 3px 3px 6px 0 rgba(0, 0, 0, 0.16);
}

.popup {
  width: 400px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  background: #FFF url(../img/top/bg-popup.png) no-repeat center/cover;
  padding: 25px 25px;
  box-sizing: border-box;
  display: flex;
}

.popup .item-inside {
  width: 100%;
  box-sizing: border-box;
  padding: 40px 70px;
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(10px);
  -moz-backdrop-filter: blur(10px);
  -ms-backdrop-filter: blur(10px);
  -o-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 39px;
  display: flex;
  -webkit-box-orient: vertical;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  overflow: hidden;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.44);
  position: relative;
  background: #F8F893;
}

.popup .item-inside:before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url(../img/common/bg.png) repeat center top/900px auto;
  opacity: 0.5;
}

.popup .item-inside:after {
  content: "";
  display: block;
  position: absolute;
  left: 25px;
  top: 25px;
  width: calc(100% - 25px * 2);
  height: calc(100% - 25px * 2);
  background: #FFF;
  border-radius: 16px;
}

.popup .item-inside > * {
  position: relative;
  z-index: 2;
}

.popup .item-title {
  margin-top: auto;
  margin-bottom: 20px;
  color: #28338D;
  font-family: montserrat, sans-serif;
  font-weight: 600;
  text-align: center;
}

.popup .item-title > span {
  display: block;
}

.popup .item-title > span:nth-child(1) {
  font-size: 11px;
  font-size: 0.8461538462rem;
  font-weight: bold;
}

.popup .item-title > span:nth-child(2) {
  font-size: 15px;
  font-size: 1.1538461538rem;
  font-weight: bold;
  display: flex;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  line-height: 1;
}

.popup .item-title > span:nth-child(2) span:nth-child(1) {
  font-size: 40px;
  font-size: 3.0769230769rem;
  margin-bottom: 10px;
  margin-left: 25px;
}

.popup .item-title > span:nth-child(2) span:nth-child(2) {
  font-size: 0px;
  font-size: 0rem;
  margin-left: 10px;
  display: flex;
  margin-right: 5px;
  padding-top: 10px;
}

.popup .item-title > span:nth-child(2) span:nth-child(2):after {
  content: "";
  width: 1px;
  height: 40px;
  background: #28338D;
  vertical-align: bottom;
  transform: rotate(45deg);
  transform-origin: center center;
  position: relative;
  top: 5px;
}

.popup .item-hd {
  text-align: center;
  margin-bottom: 30px;
  font-size: 16px;
  font-size: 1.2307692308rem;
  font-weight: normal;
}

.popup .item-btns {
  width: 100%;
  padding-left: 10px;
  padding-right: 10px;
  box-sizing: border-box;
  margin-bottom: auto;
}

.popup .item-btns > a:not(:last-child) {
  margin-bottom: 15px;
}

.popup .item-position {
  position: relative;
  margin-top: 17px;
  width: 100%;
}

.popup .item-position span {
  width: 80px;
  display: -moz-inline-box;
  display: inline-block;
  position: relative;
  z-index: 2;
  margin-left: -10px;
}

.popup .item-position:before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 8px;
  bottom: 0;
  background: #707070;
  border-radius: 4px;
}

.popup .item-position:after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  width: 20%;
  height: 8px;
  bottom: 0;
  background: #51B0CA;
  border-radius: 4px;
}

.popup .item-position.p-01 span {
  left: 0%;
}

.popup .item-position.p-01:after {
  width: 20%;
}

.popup .item-position.p-02 span {
  left: 20%;
}

.popup .item-position.p-02:after {
  width: 40%;
}

.popup .item-position.p-03 span {
  left: 40%;
}

.popup .item-position.p-03:after {
  width: 60%;
}

.popup .item-position.p-04 span {
  left: 60%;
}

.popup .item-position.p-04:after {
  width: 80%;
}

.popup .item-position.p-05 span {
  left: 80%;
}

.popup .item-position.p-05:after {
  width: 100%;
}

.mfp-wrap .mfp-container {
  padding-left: 0;
  padding-right: 0;
}

.mfp-wrap .mfp-close {
  left: initial;
  right: 0;
  top: 0;
  bottom: initial;
  width: 40px;
  height: 40px;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  color: #28338D;
}

/*tablet*/
@media screen and (min-width: 701px) and (max-width: 1340px) {
  /* main top
------------------------------------------------------------*/
}

/*sp*/
@media screen and (max-width: 700px) {
  /* main top
------------------------------------------------------------*/
  .popup {
    min-height: 100svh;
    width: 100%;
  }
}
