@charset "UTF-8";

/*==========================
    - 〜479px      ：SP portrait
    - 480px〜599px ：SP landscape
    - 600px〜959px ：tablet
    - 960px〜1279px：small PC
    - 1280px〜     ：large PC
    - 1400px〜     ：largest PC
==========================*/
html,
body {
  line-height: 2em;
  letter-spacing: 0.02em;
}

#nav-sd {
  display: none !important;
}

.banner {
  width: 224px;
  text-align: center;
  margin: 0 auto;
}

.banner.a_wide {
  width: 83.46666666666667%;
  max-width: 313px;
}

.banner .btn {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 100%;
  color: #fff;
  text-decoration: none;
  padding: 0.8em 0;
  background-color: #104e8e;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.banner .btn:hover {
  background-color: #063667;
}

.banner .btn.a_arrow_right::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  top: 50%;
  right: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  -webkit-transform: translateY(-50%) rotate(45deg);
  transform: translateY(-50%) rotate(45deg);
  margin-top: 1px;
}

/* 〜479px：SP portrait
------------------------------ */
/***************************
    container
***************************/
section.block>.inner {
  width: 100%;
  padding: 25px 0 65px;
}

section.block h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1em;
}

section.block h2 span {
  font-size: 13px;
}

section.block .lead {
  width: 90.65%;
  margin: 1.8em auto;
}

section.block h3 {
  font-size: 18px;
}

#block-mainvisual {
  z-index: 0;
}

#block-mainvisual:before {
  content: '';
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  -webkit-transition: height 0.6s ease, top 0.6s ease;
  transition: height 0.6s ease, top 0.6s ease;
}

#block-mainvisual.loaded:before {
  top: 100%;
  height: 0;
}

#block-mainvisual.loaded .blk-head {
  opacity: 1;
}

#block-mainvisual>.inner {
  padding: 0;
  /*background: #ccc;*/
}

#block-mainvisual .movie {
  background: url("../img/about_bg_pc.png") no-repeat top center / cover;
}

#block-mainvisual .movie-inner {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

#block-mainvisual .movie-video {
  width: 100%;
  padding-top: 56.25%;
  position: relative;
}

#block-mainvisual video {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}



#block-mainvisual .slider {
  position: relative;
}

#block-mainvisual .swiper-pagination .swiper-pagination-bullet {
  background: #fff;
  opacity: 1;
  -webkit-box-shadow: 0px 0px 10px 3px rgba(0, 0, 0, 0.14);
  box-shadow: 0px 0px 10px 3px rgba(0, 0, 0, 0.14);
}

#block-mainvisual .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background: #595656;
}

#block-mainvisual .scroller {
  position: relative;
  width: 100%;
}

#block-mainvisual .scroller .front {
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
}

#block-mainvisual .scroller .item {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-transform: translateY(300px);
  transform: translateY(300px);
  z-index: 1;
  background: url("../img/mainvisual_layer_scroll_sp.png") center left repeat-x;
  background-size: cover;
  background-position-x: 0px;
}

#block-mainvisual .movie-btn {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

#block-mainvisual .movie-btn {
  cursor: pointer;
  opacity: 1;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

#block-mainvisual .movie-btn:hover {
  opacity: 0.7;
}

#block-mainvisual .movie-btn img {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 124px;
}

#block-topics>.inner {
  padding: 0 0 40px;
}

#block-topics .slider {
  margin-top: 10px;
}

#block-topics .slider .slide {
  margin: 0 4px;
}

#block-topics .swiper-slide a:hover {
  opacity: 0.7;
}

#block-topics .swiper-button-prev,
#block-topics .swiper-button-next {
  display: none;
}

#block-channel>.inner {
  padding: 0 0 40px;
}

#block-channel .channel-btn {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
}

#block-channel .channel-btn a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 300px;
  height: 56px;
  background: #c4302b;
  color: #fff;
  text-decoration: none;
}

#block-channel .channel-btn a img {
  width: 32px;
  margin-right: 10px;
}

#block-channel .channel-btn a:hover {
  background: #98231f;
}

@media screen and (max-width: 959px) {
  #block-channel .channel-btn {
    margin-bottom: 30px;
  }

  #block-channel .channel-btn a {
    width: 240px;
    height: 40px;
  }
}

#block-channel .slider {
  margin-top: 10px;
}

#block-channel .slider .slide {
  margin: 0 4px;
}

#block-channel .swiper-slide a:hover {
  opacity: 0.7;
}

#block-channel .swiper-button-prev,
#block-channel .swiper-button-next {
  display: none;
}

#block-about {
  background: #fff;
}

#block-about>.bg {
  background: url("../img/about_bg_sp.png") top center no-repeat;
  background-size: 100%;
}

#block-about>.inner {
  padding: 0 !important;
}

#block-about .lead {
  font-size: 28px;
  color: #555;
  line-height: 1.6;
  text-align: center;
}

#block-about .lead span {
  background: linear-gradient(90deg, #fb6363, #f4de38 30%, #47d947 70%, #4f88f1);
  background: -webkit-linear-gradient(0deg, #fb6363, #f4de38 30%, #47d947 70%, #4f88f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 36px;
}

@media screen and (max-width: 959px) {
  #block-about .lead {
    font-size: 18px;
  }

  #block-about .lead span {
    font-size: 24px;
  }
}

#block-about h1 {
  width: 35%;
  margin: 0 auto 30px;
}

#block-about .copy {
  margin: 0 0 6px;
  letter-spacing: -1px;
  line-height: 26px;
  font-size: 16px;
  text-align: center;
}

#block-about h2 {
  margin: 0 0 30px;
  line-height: 1.4;
  font-size: 22px;
  color: #49aa48;
}

#block-about h2 span {
  color: #49aa48;
  font-size: 16px;
}

#block-about .box-txt {
  margin: 0 0 75px;
  line-height: 24px;
  font-size: 12px;
  letter-spacing: -1px;
  text-align: center;
}

#block-about .box-txt p {
  margin-top: 1.8em;
}

#block-about .box-txt p.small {
  line-height: 16px;
  font-size: 74%;
}

#block-about .ttl1 {
  display: block;
  margin: 0 10px 35px;
  padding: 10px 0;
  color: #333;
  border: 3px solid #d1d1d1;
}

#block-about .process .b_bottom1 {
  border-bottom: 5px solid #c6d55e;
}

#block-about .process .b_bottom2 {
  border-bottom: 5px solid #333;
}

#block-about .process h2 {
  display: block;
  margin: 0 10px 35px;
  padding: 10px 0;
  color: #333;
  border: 3px solid #d1d1d1;
}

#block-about .process h3 {
  max-width: 160px;
  margin: 0 auto 20px;
  font-size: 18px;
  color: #333;
}

#block-about .process .process_img {
  width: 95%;
  margin: 0 0 30px;
  padding: 0 10px;
}

#block-about .process .society {
  width: 81.33333333333333%;
  margin: 0 auto 50px;
}

#block-about .process .society h2 {
  max-width: 150px;
  margin: 0 auto 20px;
}

#block-about .process .society .box p {
  margin: 0 0 20px;
}

#block-about .process .process-box {
  width: 100%;
  margin: 0 auto 40px;
  font-size: 16px;
  text-align: center;
}

#block-about .process .process-box .txt_p {
  font-size: 18px;
}

#block-about .process .process-box img {
  width: 30px;
  max-width: 100%;
  padding: 20px 0;
}

#block-about .school {
  width: 90%;
  margin: 0 auto;
}

#block-about .school li {
  margin: 0 0 50px;
}

#block-about .school li .image {
  width: 94.59016393442623%;
  margin: 0 auto 27px;
}

#block-about .school li h3 {
  margin: 0 0 20px;
  letter-spacing: -1px;
  font-size: 20px;
  text-align: center;
}

#block-about .school li .description {
  margin: 0 0 24px;
  line-height: 25px;
  font-size: 13px;
}

#block-about .school li .description .caption {
  margin: 8px 0 0;
  line-height: 18px;
  font-size: 10px;
}

#block-about .school li .banner {
  width: 100%;
}

#block-about .school li:nth-child(1) h3 {
  color: #f39800;
}

#block-about .school li:nth-child(1) .banner .btn {
  background: #f39800;
}

#block-about .school li:nth-child(2) h3 {
  color: #005fa3;
}

#block-about .school li:nth-child(2) .banner .btn {
  background: #005fa3;
}

#block-about .school li:nth-child(3) h3 {
  color: #ed798e;
}

#block-about .school li:nth-child(3) .banner .btn {
  background: #ed798e;
}

#block-about .school li:nth-child(4) h3 {
  color: #6bc8f2;
}

#block-about .school li:nth-child(4) .banner .btn {
  background: #6bc8f2;
}

#block-about .school li:nth-child(6) h3 {
  color: #b73f91;
}

#block-about .school li:nth-child(6) .banner .btn {
  background: #b73f91;
}

#block-about .school li:nth-child(5) h3 {
  color: #d2c82a;
}

#block-about .school li:nth-child(5) .banner .btn {
  background: #fff100;
  color: #333;
}

#block-about .school.language li:nth-child(1) .banner .btn:after {
  border-top: 3px solid #333;
  border-right: 3px solid #333;
}

#block-about .school li:nth-child(8) h3 {
  color: #adad9d;
}

#block-about .school li:nth-child(8) .banner .btn {
  background: #ecece0;
  color: #333;
}

#block-about .school li:nth-child(8) .banner .btn:after {
  border-top: 3px solid #333;
  border-right: 3px solid #333;
}

#block-about .fc,
#block-about .afterschool {
  margin: 0 0 75px;
  padding: 45px 0 0;
  border-top: 1px solid #ccc;
}

#block-about .fc h2,
#block-about .afterschool h2 {
  margin: 0 0 16px;
  font-size: 21px;
  line-height: 22px;
  color: #7fa417;
}

#block-about .fc .text,
#block-about .afterschool .text {
  width: 81.33333333333333%;
  margin: 0 auto 22px;
  min-height: 148px;
}

#block-about .fc .text .image,
#block-about .afterschool .text .image {
  float: left;
  width: 48.52459016393443%;
  margin: 0 10px 5px 0;
}

#block-about .fc .banner,
#block-about .afterschool .banner {
  width: 81.33333333333333%;
  margin: 0 auto;
}

#block-about .fc .banner .btn,
#block-about .afterschool .banner .btn {
  background: #7fa417;
}

#block-about .soken {
  margin: 0 0 75px;
  padding: 45px 0 0;
  border-top: 1px solid #ccc;
}

#block-about .soken h2 {
  margin: 0 0 16px;
  font-size: 21px;
  color: #7fa417;
}

#block-about .soken .text {
  width: 81.33333333333333%;
  margin: 0 auto 22px;
}

#block-about .soken .soken__logo {
  margin-bottom: 1em;
}

#block-about .soken .soken__logo img {
  width: 100%;
  max-width: 300px;
}

#block-about .soken .text .image {
  float: left;
  width: 48.52459016393443%;
  margin: 0 10px 5px 0;
}

#block-about .soken .banner {
  width: 81.33333333333333%;
  margin: 0 auto;
}

#block-about .soken .banner .btn {
  background: #7fa417;
}

#block-about .e-lab {
  margin: 0 0 75px;
  padding: 45px 0 0;
  border-top: 1px solid #ccc;
}

#block-about .e-lab h2 {
  margin: 0 0 16px;
  font-size: 21px;
  line-height: 22px;
  color: #7fa417;
}

#block-about .e-lab .text {
  width: 81.33333333333333%;
  margin: 0 auto 22px;
}

#block-about .e-lab .text .image {
  float: left;
  width: 48.52459016393443%;
  margin: 0 10px 5px 0;
}

#block-about .e-lab .banner {
  width: 81.33333333333333%;
  margin: 0 auto;
}

#block-about .e-lab .banner .btn {
  background: #7fa417;
}

#block-about .line {
  margin: 0 0 75px;
  padding: 45px 0 0;
  border-top: 1px solid #ccc;
}

#block-about .line h2 {
  margin: 0 0 16px;
  font-size: 21px;
  line-height: 22px;
  color: #00b900;
}

#block-about .line .text {
  width: 81.33333333333333%;
  margin: 0 auto 22px;
}

#block-about .line .text .image {
  float: left;
  width: 48.52459016393443%;
  margin: 0 10px 5px 0;
}

#block-about .line .banner {
  width: 81.33333333333333%;
  margin: 0 auto;
}

#block-about .line .banner .btn {
  background: #00b900;
}

#block-about .line .line-qr,
#block-about .line .line-friends {
  text-align: center;
  margin: 22px auto;
}

#block-about .line .line-friends {
  margin-bottom: 0;
}

#block-about .line .line-qr img {
  width: 48.52459016393443%;
}

#block-about .line .line-friends img {
  width: auto;
}

#block-about .contact {
  padding: 40px 0;
  background: #f4f4f4;
}

#block-about .contact .banner {
  width: 81.33333333333333%;
  margin: 0 auto;
}

#block-about .contact .banner .btn {
  background: #ffc004;
}

#modal {
  display: none;
  position: fixed;
  z-index: 100000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.82);
}

#modal .clickArea {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

#modal .inner {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 0;
  padding: 51% 90% 0 0;
}

#modal .inner iframe {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

#modal .inner .close {
  position: absolute;
  right: 0;
  top: -15px;
  -webkit-transform: translate(0, -100%);
  transform: translate(0, -100%);
  cursor: pointer;
  width: 30px;
}

.aboutLogo {
  max-width: 1000px;
  margin: 0 auto 80px;
  text-align: center;
  font-size: 18px;
  border: 2px solid #bbb;
  padding: 40px 0 60px;
}

.aboutLogo>p:not(:last-child) {
  margin-bottom: 1em;
}

.aboutLogo img {
  width: auto;
  height: auto;
  padding-bottom: 20px;
}

@media screen and (max-width: 959px) {

  .aboutLogo {
    width: 95%;
    padding: 20px 15px 40px;
    box-sizing: border-box;
  }

  .aboutLogo__img {
    max-width: 200px;
    margin: 0 auto;
  }

  .aboutLogo img {
    width: 100%;
  }

  .aboutLogo {
    font-size: 12px;
  }
}

/* 480px〜599px：SP landscape
------------------------------ */
@media screen and (min-width: 414px) {
  /***************************
      container
  ***************************/
}

/* 600px〜959px：tablet
------------------------------ */
@media screen and (min-width: 600px) {

  /***************************
      container
  ***************************/
  #block-topics .slider {
    margin: 10px auto 0;
  }

  #block-channel .slider {
    margin: 10px auto 0;
  }
}

/* 960px〜1279px：small PC
------------------------------ */
@media screen and (min-width: 960px) {
  section.block>.inner {
    padding: 40px 0 120px;
  }

  section.block h2.title {
    margin: 0;
    line-height: 1em;
    font-size: 48px;
  }

  section.block h2.title span {
    margin: 0;
    font-size: 26px;
  }

  section.block .lead {
    width: 100%;
    margin-top: 3.2em;
    text-align: center;
  }

  .banner {
    width: 358px;
    font-size: 20px;
  }

  .banner.a_wide {
    width: 418px;
    max-width: none;
  }

  .banner .btn.a_arrow_right::after,
  .banner.blue .btn.a_arrow_right::after {
    width: 10px;
    height: 10px;
    right: 15px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
  }

  .banner.white .btn.a_arrow_right::after {
    width: 10px;
    height: 10px;
    right: 15px;
    border-top: 3px solid #104e8e;
    border-right: 3px solid #104e8e;
  }

  /***************************
      container
  ***************************/

  #block-topics>.inner {
    padding: 0 0 80px;
  }

  #block-topics .blk-body .inner {
    width: 1080px;
    margin: 0 auto;
  }

  #block-topics .slider {
    width: 100%;
    margin: 20px auto 0;
  }

  #block-topics .swiper-slide {
    opacity: 0.4;
    transition: opacity 0.2s ease;
    backface-visibility: hidden;
  }

  #block-topics .swiper-slide-active,
  #block-topics .swiper-slide-prev,
  #block-topics .swiper-slide-next {
    opacity: 1;
  }

  #block-topics .swiper-button-prev,
  #block-topics .swiper-button-next {
    width: 26px;
    height: 50px;
    margin: 0;
    outline: none;
    transform: translateY(-50%);
  }

  #block-topics .swiper-button-prev,
  #block-topics .swiper-button-next {
    display: block;
  }

  #block-topics .swiper-button-prev {
    background: url("../img/topics_arrow_left.png") center center no-repeat;
    background-size: contain;
    left: -60px;
  }

  #block-topics .swiper-button-next {
    background: url("../img/topics_arrow_right.png") center center no-repeat;
    background-size: contain;
    right: -60px;
  }

  #block-channel>.inner {
    padding: 0 0 80px;
  }

  #block-channel .blk-body .inner {
    width: 1080px;
    margin: 0 auto;
  }

  #block-channel .slider {
    width: 100%;
    margin: 20px auto 0;
  }

  #block-channel .swiper-slide {
    opacity: 0.4;
    transition: opacity 0.2s ease;
    backface-visibility: hidden;
  }

  #block-channel .swiper-slide-active,
  #block-channel .swiper-slide-prev,
  #block-channel .swiper-slide-next {
    opacity: 1;
  }

  #block-channel .swiper-button-prev,
  #block-channel .swiper-button-next {
    width: 26px;
    height: 50px;
    margin: 0;
    outline: none;
    transform: translateY(-50%);
  }

  #block-channel .swiper-button-prev,
  #block-channel .swiper-button-next {
    display: block;
  }

  #block-channel .swiper-button-prev {
    background: url("../img/topics_arrow_left.png") center center no-repeat;
    background-size: contain;
    left: -60px;
  }

  #block-channel .swiper-button-next {
    background: url("../img/topics_arrow_right.png") center center no-repeat;
    background-size: contain;
    right: -60px;
  }

  #block-about>.bg {
    background-image: url("../img/about_bg_pc.png");
  }

  #block-about>.inner {
    padding: 100px 0 0;
  }

  #block-about h1 {
    width: 320px;
    margin: 0 auto 50px;
  }

  #block-about .copy {
    margin: 0 0 12px;
    line-height: 40px;
    font-size: 24px;
  }

  #block-about h2 {
    margin: 30px 0 40px;
    font-size: 36px;
  }

  #block-about h2 span {
    font-size: 24px;
  }

  #block-about .box-txt {
    margin: 0 auto 120px;
    line-height: 36px;
    font-size: 18px;
    letter-spacing: normal;
  }

  #block-about .box-txt p {
    margin-top: 36px;
  }

  #block-about .box-txt p.small {
    line-height: 22px;
    font-size: 12px;
  }

  #block-about .ttl1 {
    display: block;
    max-width: 1180px;
    margin: 0 auto 50px;
    padding: 10px 0;
    color: #333;
    border: 3px solid #d1d1d1;
  }

  #block-about .process .b_bottom1 {
    border-bottom: 5px solid #c6d55e;
  }

  #block-about .process .b_bottom2 {
    border-bottom: 5px solid #333;
  }

  #block-about .process {
    width: 100%;
  }

  #block-about .process h2 {
    display: block;
    max-width: 1180px;
    margin: 0 auto 50px;
    padding: 10px 0;
    color: #333;
    border: 3px solid #d1d1d1;
  }

  #block-about .process h3 {
    max-width: 230px;
    margin: 0 auto 35px;
    font-size: 25px;
    color: #333333;
    letter-spacing: 0;
    line-height: 45px;
  }

  #block-about .process .process_img {
    display: block;
    max-width: 914px;
    margin: auto;
  }

  #block-about .process .society {
    position: relative;
    width: 85.285714%;
    max-width: 1180px;
    margin: 80px auto;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }

  #block-about .process .society h2 {
    max-width: 210px;
    margin: 0 0 20px;
  }

  #block-about .process .society .box {
    max-width: 1180px;
    display: flex;
  }

  #block-about .society .box p {
    max-width: 53%;
    padding: 0 0 0 5px;
    letter-spacing: -0.4px;
  }

  #block-about .society .box.l_spacing p {
    letter-spacing: 0.6px;
  }

  #block-about .society .box p span {
    line-height: 22px;
    font-size: 12px;
  }

  #block-about .society .box p.image {
    position: relative;
    right: 0;
    max-width: 42.7%;
    margin: 0;
    padding: 0 0 0 46px;
  }

  #block-about .process .process-box {
    font-size: 20px;
    text-align: center;
    line-height: 40px;
  }

  #block-about .process .process-box .txt_p {
    font-size: 24px;
  }

  #block-about .process .process-box img {
    width: 30px;
    padding: 20px 0;
  }

  #block-about .school {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 84.28571428571429%;
    max-width: 1180px;
  }

  #block-about .school li {
    position: relative;
    width: 30.508474576271187%;
    margin: 0 0 80px;
    padding: 0 0 60px;
  }

  #block-about .school li .image {
    width: 100%;
    margin: 0 auto 55px;
  }

  #block-about .school li h3 {
    width: 93.33333333333333%;
    margin: 0 auto 22px;
    line-height: 36px;
    font-size: 26px;
  }

  #block-about .school li .description {
    width: 93.33333333333333%;
    margin: 0 auto 24px;
    letter-spacing: -1px;
    line-height: 32px;
    font-size: 16px;
  }

  #block-about .school li .description .caption {
    margin: 8px 0 0;
    line-height: 22px;
    font-size: 12px;
  }

  #block-about .school li .banner {
    position: absolute;
    bottom: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 93.33333333333333%;
  }

  #block-about .school li:nth-child(2) h3,
  #block-about .school li:nth-child(6) h3 {
    margin-top: -36px;
  }

  #block-about .school li:nth-child(1) .banner .btn:hover {
    background: #d3ca31;
  }

  #block-about .school li:nth-child(2) .banner .btn:hover {
    background: #11517f;
  }

  #block-about .school li:nth-child(3) .banner .btn:hover {
    background: #dd657b;
  }

  #block-about .school li:nth-child(4) .banner .btn:hover {
    background: #43a9d7;
  }

  #block-about .school li:nth-child(6) .banner .btn:hover {
    background: #854670;
  }

  #block-about .school li:nth-child(5) .banner .btn:hover {
    background: #d2c82a;
  }

  #block-about .school li:nth-child(8) .banner .btn:hover {
    background: #dbdbcc;
  }

  #block-about .fc,
  #block-about .afterschool {
    position: relative;
    width: 84.28571428571429%;
    max-width: 1180px;
    margin: 0 auto 180px;
    padding: 60px 0 0 29.428571428571427%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }

  #block-about .fc h2,
  #block-about .afterschool h2 {
    margin: 0 0 20px;
    font-size: 26px;
    text-align: left;
  }

  #block-about .fc .text,
  #block-about .afterschool .text {
    width: 100%;
    margin: 0 auto 20px;
    min-height: inherit;
  }

  #block-about .fc .text .image,
  #block-about .afterschool .text .image {
    position: absolute;
    left: 0;
    top: 60px;
    width: 26.27118644067797%;
    margin: 0;
  }

  #block-about .fc .banner,
  #block-about .afterschool .banner {
    width: 336px;
    margin: 0;
  }

  #block-about .afterschool .banner .btn:hover {
    background: #6a8818;
  }

  #block-about .soken {
    position: relative;
    width: 84.28571428571429%;
    max-width: 1180px;
    margin: 0 auto 120px;
    padding: 60px 0 0 0%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }

  #block-about .fc {}

  #block-about .soken h2 {
    margin: 0 0 20px;
    font-size: 26px;
    text-align: left;
  }

  #block-about .soken .text {
    width: 100%;
    margin: 0 auto 20px;
  }

  #block-about .soken .text .image {
    position: absolute;
    left: 0;
    top: 60px;
    width: 26.27118644067797%;
    margin: 0;
  }

  #block-about .soken .banner {
    width: 336px;
    margin: 0;
  }

  #block-about .fc .banner .btn:hover,
  #block-about .soken .banner .btn:hover {
    background: #6a8818;
  }

  #block-about .e-lab {
    position: relative;
    width: 84.28571428571429%;
    max-width: 1180px;
    margin: 0 auto 130px;
    padding: 60px 0 0 29.428571428571427%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }

  #block-about .e-lab h2 {
    margin: 0 0 20px;
    font-size: 26px;
    text-align: left;
  }

  #block-about .e-lab .text {
    width: 100%;
    margin: 0 auto 20px;
  }

  #block-about .e-lab .text .image {
    position: absolute;
    left: 0;
    top: 60px;
    width: 26.27118644067797%;
    margin: 0;
  }

  #block-about .e-lab .banner {
    width: 336px;
    margin: 0;
  }

  #block-about .e-lab .banner .btn:hover {
    background: #6a8818;
  }

  #block-about .line {
    position: relative;
    width: 84.28571428571429%;
    max-width: 1180px;
    margin: 0 auto 130px;
    padding: 60px 0 0 29.428571428571427%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }

  #block-about .line h2 {
    margin: 0 0 20px;
    font-size: 26px;
    text-align: left;
  }

  #block-about .line .text {
    width: 100%;
    margin: 0 auto 20px;
  }

  #block-about .line .text .image {
    position: absolute;
    left: 0;
    top: 60px;
    width: 26.27118644067797%;
    margin: 0;
  }

  #block-about .line .banner {
    width: 336px;
    margin: 0;
  }

  #block-about .line .banner .btn:hover {
    background: #6a8818;
  }

  #block-about .line .line-qr,
  #block-about .line .line-friends {
    text-align: left;
  }

  #block-about .line .line-qr img {
    width: auto;
  }

  #block-about .contact {
    padding: 70px 0;
  }

  #block-about .contact .banner {
    width: 418px;
  }

  #block-about .contact .banner .btn:hover {
    background: #d6a309;
  }

  #modal .inner {
    padding: 34.5% 61.25% 0 0;
  }

  #modal .inner .close {
    right: -15px;
    -webkit-transform: translate(100%, -100%);
    transform: translate(100%, -100%);
    width: 48px;
  }
}

.newcv-btns {
  width: 60%;
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999999998;
  background: #fffcf8;
  max-width: 800px;
  margin: auto;
  border: 4px solid #aaa;
  border-image: linear-gradient(90deg, #fb6363, #f4de38 30%, #47d947 70%, #4f88f1);
  border-image-slice: 1;
}

.newcv-btns__inner {
  padding: 26px;
}

.newcv-btns__heading {
  display: flex;
  justify-content: center;
  align-items: baseline;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  color: #ec3e3e;
}

.newcv-btns__heading span {
  font-size: 18px;
}

.newcv-btns__area {
  margin: 16px auto 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 600px;
}

.newcv-btns__btn {
  text-decoration: none;
  padding: 10px 30px 8px 20px;
  color: #fff;
  display: inline-block;
  position: relative;
  transition: all 0.2s ease;
  font-size: 20px;
  text-align: center;
  display: inline-block;
  border-radius: 5px;
}

.newcv-btns__btn.-search {
  background: #ec3e3e;
  border-bottom: solid 5px #c52f2f;
}

.newcv-btns__btn::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  right: 15px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translateY(-50%) rotate(45deg);
}

#block-mainvisual .blk-body .inner .scroller .item {
  width: 100%;
}

@media (min-width: 960px) {
  .newcv-btns__btn:hover {
    margin-top: 3px;
    border-bottom-width: 2px;
  }
}

@media (max-width: 960px) {
  .newcv-btns {
    width: 70%;
    z-index: 0;
    max-width: none;
    left: 0;
    transform: translateX(0);
  }

  #block-mainvisual .blk-body .inner .scroller .item {
    width: 100%;
  }

  #block-mainvisual .blk-body .inner .scroller .front {
    width: 60%;
  }

  .newcv-btns__inner {
    padding: 10px 12px;
  }

  .newcv-btns__heading {
    font-size: 18px;
    line-height: 1.2;
  }

  .newcv-btns__heading span {
    font-size: 12px;
  }

  .newcv-btns__area {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 10px;
  }

  .newcv-btns__btn {
    box-sizing: border-box;
    padding: 10px 16px 8px 8px;
    width: 100%;
    margin: auto;
    font-size: 16px;
  }

  .newcv-btns__btn::after {
    right: 12px;
  }
}

/* 1280px〜：large PC
------------------------------ */
@media screen and (min-width: 1280px) {
  /***************************
      container
  ***************************/

  #block-topics .blk-body .inner {
    width: 940px;
  }

  #block-topics .swiper-button-prev,
  #block-topics .swiper-button-next {
    width: 37px;
    height: 72px;
  }

  #block-topics .swiper-button-prev {
    left: -60px;
  }

  #block-topics .swiper-button-next {
    right: -60px;
  }

  #block-channel .blk-body .inner {
    width: 940px;
  }

  #block-channel .swiper-button-prev,
  #block-channel .swiper-button-next {
    width: 37px;
    height: 72px;
  }

  #block-channel .swiper-button-prev {
    left: -60px;
  }

  #block-channel .swiper-button-next {
    right: -60px;
  }
}

/* 1400px〜：largest PC
------------------------------ */
@media screen and (min-width: 1400px) {
  /***************************
      container
  ***************************/
}

/* block-topics */
#block-topics {
  margin-top: 80px;
}

@media screen and (max-width: 959px) {
  #block-topics {
    margin-top: 30px;
  }
}

/* block-channel */
#block-channel {
  margin-top: 80px;
}

@media screen and (max-width: 959px) {
  #block-channel {
    margin-top: 30px;
  }
}
