/*** top_img ***/
body {
}

.back_line {
}

.top_img {
  margin-top: 100px;
  background-color: #fff;
  position: relative;
  height: 64.375vw;
  width: 100%;
  overflow: hidden;
  min-width: 1280px;
}

.top_img::before {
  content: '';
  position: absolute;
  width: 85.78125vw;
  height: 56.5625vw;
  left: 25vw;
  top: 6vw;
  background-image: url(../img/top/img_mv_background.png);
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 20;
}

.top_img::after {
  content: '';
  position: absolute;
  left: 0;
  top: 16vw;
  /*四角形を傾けます*/
  transform: skewY(-18.5deg);
  transform-origin: top right;
  z-index: 0;
  width: 100%;
  height: 300%;
  background: #ffc130;
}

.top_text {
  position: absolute;
  top: 5.03125vw;
  left: 6.25vw;
  z-index: 25;
}

.top_text p {
  font-size: 3.125vw;
  line-height: 2;
  font-weight: bold;
  margin-bottom: 4.6875vw;
}

.top_text ul {
  display: flex;
}

.top_text li {
  width: 11.171875vw;
}

.top_text li:last-child {
  margin-left: 1em;
}

.top_text li a img {
  width: 100%;
}

@media screen and (min-width: 1280px) {
  .top_img {
    margin-top: 100px;
    background-color: #fff;
    position: relative;
    height: 824px;
  }

  .top_img::before {
    width: 1098px;
    height: 724px;
    left: inherit;
    right: -138px;
    top: 76.8px;
  }

  .top_img::after {
    top: 204.8px;
  }

  .top_text {
    top: 64.4px;
    left: calc((100vw - 1280px) / 2 + 80px);
  }

  .top_text p {
    font-size: 40px;
    margin-bottom: 60px;
  }

  .top_text li {
    width: 143px;
  }
}

.overview {
  position: relative;
  z-index: 10;
}

.overview .container {
}

.overview .container .pc {
}

.overview {
  padding: 50px 0;
  padding-top: 0;
  background-color: #ffc130;
  flex-wrap: wrap;
  justify-content: center;
}

.overview .bar1 {
  width: 68px;
  height: 4px;
  background-image: url('../img/top/img_bar_act.png');
  margin-bottom: 20px;
}

.overview .bar2 {
  width: 44px;
  height: 4px;
  background-image: url('../img/top/img_bar.png');
  margin-bottom: 20px;
}

.overview .bar3 {
  width: 44px;
  height: 4px;
  background-image: url('../img/top/img_bar.png');
  margin-bottom: 20px;
}

.overview .overview_part1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
  justify-content: space-between;
}

.overview .overview_part1 .top {
  margin-bottom: 10px;
}

.overview .overview_part1 .bottom {
  display: flex;
}

.overview .overview_part1 .bottom .bottom_left img,
.overview .overview_part1 .bottom .bottom_right img {
}

.overview .overview_part1 .left_before {
  vertical-align: top;
}

.overview .overview_part1 .right_after {
  vertical-align: top;
}

.overview .overview_part1 .left_after {
  opacity: 0;
  margin-top: -5em;
}

.overview .overview_part1 .right_before {
  opacity: 0;
  margin-top: -5em;
}

.overview .overview_part2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
}

.overview .overview_part2 .top {
  margin-bottom: 10px;
}

.overview .overview_part2 .bottom {
  display: flex;
}

.overview .overview_part2 .left_before {
  vertical-align: top;
  opacity: 0.5;
  width: 60%;
}

.overview .overview_part2 .left_after {
}

.overview .overview_part2 .right_after {
  vertical-align: top;
  opacity: 0.5;
  z-index: 1;
  width: 60%;
}

.overview .overview_part3 {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
}

.overview .overview_part3 .top {
  margin-bottom: 10px;
}

.overview .overview_part3 .bottom {
  display: flex;
  justify-content: center;
}

.overview .overview_part3 .left {
  position: relative;
  vertical-align: top;
  margin-top: 90px;
  margin-right: 30px;
}

.overview .overview_part3 .left p {
  text-align: left;
}

.overview .overview_part3 .left button {
  position: absolute;
  top: 100px;
  left: 100px;
  border: 0;
  background-color: unset;
}

.overview .overview_part3 .right {
  position: relative;
  vertical-align: top;
  margin-top: 180px;
  margin-left: 30px;
}

.overview .overview_part3 .right button {
  position: absolute;
  top: 100px;
  right: 100px;
  border: 0;
  background-color: unset;
}

.hover_button:hover {
  opacity: 0;
}

.overview .overview_part3 .right p {
  text-align: end;
}

.overview .overview_part4 {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-image: url('../img/top/img_overview_back3.png');
  /* background-repeat: no-repeat; */
  background-repeat: repeat-x;
  overflow: hidden;
  -webkit-background-size: 3479px;
  background-size: 3479px;
  -webkit-animation: bg-slider 75s linear infinite;
  animation: bg-slider 55s linear infinite;
}

@-webkit-keyframes bg-slider {
  0% {
    background-position: 0 50%;
  }

  100% {
    background-position: -3479px 50%;
  }
}

@keyframes bg-slider {
  0% {
    background-position: 0 50%;
  }

  100% {
    background-position: -3479px 50%;
  }
}

.overview .overview_part4 .top {
  margin-bottom: 10px;
}

.overview .overview_part4 .bottom {
  display: flex;
  justify-content: center;
}

.overview .overview_wrap {
  width: 1280px;
  text-align: center;
}

.overview h2 {
  line-height: 70px;
  font-family: source-han-sans-japanese, sans-serif;
  font-weight: bold;
  font-size: 40px;
  color: white;
  text-align: center;
  text-shadow: 2px 2px 1px black, -2px 2px 1px black, 2px -2px 1px black, -2px -2px 1px black,
    2px 0px 1px black, 0px 2px 1px black, -2px 0px 1px black, 0px -2px 1px black;
  margin-bottom: 50px;
}

.overview .phone {
  position: absolute;
  left: 50%;
  transform: translate(-50%);
}

.overview .side1 {
  position: absolute;
  left: 300px;
  top: 115px;
}

.overview .side2 {
  position: absolute;
  left: 150px;
  top: 270px;
}

.overview .side3 {
  position: absolute;
  right: 300px;
  top: 115px;
}

.overview .side4 {
  position: absolute;
  right: 150px;
  top: 270px;
}

.overview .form_btnTabs {
  position: absolute;
  right: 150px;
  top: 270px;
}

.overview .form_btnTabs li {
  background: url(../img/top/img_bar_act.png);
  background-color: blue;
}

.purpose {
  padding: 50px 0;
  background-color: white;
}

.purpose h2 {
  line-height: 70px;
  font-family: source-han-sans-japanese, sans-serif;
  font-weight: bold;
  font-size: 40px;
  color: rgba(59, 64, 67, 1);
  text-align: center;
  margin-bottom: 145px;
}

.purpose .purpose_icon {
  display: block;
  margin: 0 auto;
}

.purpose .purpose_gallery .slick-slide {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  margin: 0 auto;
  opacity: 0.5;
  justify-content: center;
}

.purpose .slick-slide.slick-center {
  opacity: 1;
  margin-right: 45px;
  margin-left: 45px;
}

.purpose .purpose_gallery_list {
  /* display: flex; */
  position: relative;
  margin: 0 30px;
  width: 845px;
}

.purpose .purpose_gallery_list .rsrs {
  padding: 0;
}

.purpose .purpose_gallery_list .rsrs_inner {
  padding: 50px 60px;
  width: 844px;
  height: 640px;
}

.purpose .purpose_gallery_list h3 {
  text-align: center;
  color: #fff;
  text-shadow: 2px 2px 0 #000000, -2px -2px 0 #000000, -2px 2px 0 #000000, 2px -2px 0 #000000,
    0px 2px 0 #000000, 0 -2px 0 #000000, -2px 0 0 #000000, 2px 0 0 #000000;
  font-size: 175%;
  margin-bottom: 1em;
}

.purpose .purpose_gallery_list .top {
  position: relative;
  text-align: center;
  font-size: 112.5%;
  margin-bottom: 36.5px;
}

.purpose .purpose_gallery_list .flex_container {
  z-index: 1;
}

.purpose .purpose_gallery_list ul {
  display: flex;
}

.purpose .purpose_gallery_list li {
  background-color: #fff;
  border-radius: 10px;
  padding: 15px 10px;
  width: 163px;
  margin-right: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.purpose .purpose_gallery_list li h4 {
  text-align: center;
  font-size: 112.5%;
  color: #fb9d2c;
  font-weight: bold;
  margin-bottom: 6px;
}

.purpose .purpose_gallery_list li p {
  font-size: 100%;
  color: #000;
  line-height: 150%;
}

.purpose .purpose_gallery_list li .fukidashi {
  font-size: 75%;
  color: #000;
  line-height: 150%;
  position: relative;
  padding: 10px 8px;
  background: #e3f0f3;
  border-radius: 10px;
  box-shadow: none;
  width: 100%;
  margin-bottom: 10px;
  flex-grow: 1;
  display: flex;
  align-items: center;
}

.purpose .purpose_gallery_list li .fukidashi:hover {
  -webkit-transform: none;
  transform: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.purpose .purpose_gallery_list li .fukidashi::after {
  content: '';
  position: absolute;
  top: 0%;
  right: -26px;
  transform: scale(0.5, 0.25);
  border: 15px solid transparent;
  border-left: 15px solid #e3f0f3;
}

.purpose .purpose_gallery_list li .fukidashi.green {
  background-color: #e6f1e6;
}

.purpose .purpose_gallery_list li .fukidashi.green::after {
  border-left: 0;
  border-right: 15px solid #e6f1e6;
  left: -11px;
  right: auto;
}

.purpose .purpose_gallery_list li .fukidashi:last-child {
  margin-bottom: 0;
}

.purpose .purpose_gallery_list li .fukidashi p {
  text-align: left;
}

.purpose .purpose_gallery_list .btn_grarrow_black {
  margin-top: 20px;
}

.purpose .purpose_gallery_list .right {
  position: absolute;
  right: 45px;
}

.purpose .btn_detail {
  background-color: black;
  border-radius: 35px;
  width: 176px;
  height: 29px;
  text-align: center;
  margin: 0 auto;
  display: block;
  padding-top: 4px;
  position: absolute;
  top: 433px;
  left: 123px;
}

.purpose .btn_detail > span {
  font-family: source-han-sans-japanese, sans-serif;
  font-size: 18px;
  color: rgba(255, 255, 255, 1);
  letter-spacing: 1px;
}

.purpose .btn_detail > span::after {
  content: url(../img/top/img_arrow.png);
  margin-left: 20px;
}

.purpose .btn_grarrow_black {
  background-color: #353535;
  border-radius: 33px;
  width: 215px;
  height: 40px;
  text-align: center;
  margin: 0 auto;
  display: block;
  padding-top: 13px;
  padding-bottom: 5px;
  position: relative;
}

.purpose .btn_grarrow_black::after {
  content: '';
  width: 6px;
  height: 6px;
  border: 0px;
  border-top: solid 3px #72bb46;
  border-right: solid 3px #72bb46;
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  position: absolute;
  top: calc(50% - 4px);
  right: 15px;
}

.purpose .btn_grarrow_black a {
  color: #fff;
}

.purpose .purpose_gallery_list.l2 .left_inner {
  background-color: #fff;
  border-radius: 10px;
  width: 500px;
  height: 380px;
  position: relative;
}

.purpose .purpose_gallery_list.l2 .left_inner::before {
  content: '';
  position: absolute;
  width: 225px;
  height: 225px;
  border-radius: 50%;
  border: solid 5px #dfdfdf;
  background-color: #fff;
  top: calc(50% - 112.5px);
  left: calc(50% - 112.5px);
}

.purpose .purpose_gallery_list.l2 .left li {
  background-color: inherit;
  position: absolute;
  flex-direction: column;
  align-items: center;
}

.purpose .purpose_gallery_list.l2 .left li:nth-child(1) {
  top: 0;
  left: calc(50% - 81.5px);
}

.purpose .purpose_gallery_list.l2 .left li:nth-child(2) {
  flex-direction: row-reverse;
  right: 0;
  top: calc(50% - 77px);
}

.purpose .purpose_gallery_list.l2 .left li:nth-child(3) {
  bottom: 0;
  left: calc(50% - 81.5px);
  flex-direction: column-reverse;
}

.purpose .purpose_gallery_list.l2 .left li:nth-child(4) {
  flex-direction: row;
  left: 0;
  top: calc(50% - 77px);
  justify-content: flex-end;
}

.purpose .purpose_gallery_list.l2 .left li p {
  color: #fb9d2c;
  font-size: 87.5%;
  font-weight: bold;
  display: flex;
  align-items: baseline;
  line-height: 175%;
}

.purpose .purpose_gallery_list.l2 .left li:nth-child(2) p,
.purpose .purpose_gallery_list.l2 .left li:nth-child(4) p {
  flex-direction: column;
  align-items: center;
}

.purpose .purpose_gallery_list.l2 .left li:nth-child(3) p:last-child {
  margin-bottom: 10px;
}

.purpose .purpose_gallery_list.l2 .left li p span {
  font-size: 200%;
  font-weight: bold;
}

.purpose .purpose_gallery_list.l2 .left .center_text {
  width: 110px;
  font-size: 87.5%;
  display: flex;
  align-items: baseline;
  color: #fff;
  background-color: #72bb46;
  border-radius: 8px;
  justify-content: center;
  padding: 8px 0 6px 0;
  position: absolute;
  top: calc(50% - 21px);
  left: calc(50% - 55px);
  font-weight: bold;
}

.purpose .purpose_gallery_list.l2 .left .center_text span {
  font-size: 200%;
  font-weight: bold;
}

.purpose .purpose_gallery_list.l3 .right {
  z-index: 2;
  right: 16px;
  top: calc(50% - 230px);
}

.purpose .purpose_gallery_list.l3 h4 {
  margin-top: 20px;
}

.purpose .purpose_gallery_list.l3 li {
  padding-top: 35px;
  padding-bottom: 35px;
}

.purpose .purpose_gallery_list.l4 li {
  width: 233px;
}

.purpose .purpose_gallery_list.l4 li p {
  text-align: left;
}

.purpose .purpose_gallery_list.l4 li p.centering {
  text-align: center;
  margin-bottom: 15px;
}

.purpose .purpose_gallery_list.l4 li:last-child {
  margin-left: 15px;
}

.purpose .purpose_gallery_list.l4 li p:last-child {
  display: flex;
  justify-content: center;
  font-weight: bold;
}

.purpose .purpose_gallery_list.l4 li:last-child {
  justify-content: flex-start;
}

.purpose .purpose_gallery_list.l4 li:last-child h4 {
  line-height: 200%;
  margin-top: 30px;
}

.slick-prev,
.slick-next {
  position: absolute;
  width: 106px;
  height: 106px;
  z-index: 1;
  top: calc(50% - 53px);
}

.slick-prev {
  background-image: url('../img/top/img_arrow_before.png');
  background-size: cover;
  left: 13%;
}

.slick-next {
  background-image: url('../img/top/img_arrow_after.png');
  background-size: cover;
  right: 13%;
}

.gallery_dots {
  display: flex;
  position: absolute;
  top: -133px;
  left: calc(50% - 422px);
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: space-between;
  align-content: space-around;
  bottom: initial !important;
}

.gallery_dots li button {
  position: relative;
  text-indent: -9999px;
  width: 193px !important;
  height: 124px !important;
  border: 0;
  background: url('../img/top/bk_purpose.png') no-repeat !important;
  margin-right: 24px;
}

.gallery_dots li.slick-active button {
  background: url('../img/top/bk_purpose_act.png') no-repeat !important;
}

.gallery_dots li button:before {
  white-space: pre;
  font-size: 20px;
  font-weight: bold;
  text-indent: 0px;
  position: absolute;
}

.gallery_dots li:nth-child(1) button:before {
  content: '生活に使う';
  top: 42px;
  left: 47px;
}

.gallery_dots li:nth-child(2) button:before {
  content: '短時間で学ぶ';
  top: 41px;
  left: 38px;
}

.gallery_dots li:nth-child(3) button:before {
  content: 'JLPTをとる';
  top: 40px;
  left: 42px;
}

.gallery_dots li:nth-child(4) button:before {
  content: '企業・自治体・\A教育関係者';
  top: 29px;
  left: 30px;
}

.purpose .purpose_wrap {
  position: relative;
  margin: 0 auto;
  padding: 10px 0;
  /* width: 1280px; */
  /* height:540px; */
}

.online {
  padding: 50px 0;
  background-color: #ffc130;
  background-image: url(../img/top/bk_online.png);
}

.online .online_wrap {
  /* background: url(../img/top/bk_online.png); */
  position: relative;
  margin: 0 auto;
  padding: 10px 0;
  width: 1280px;
  height: 668px;
}

.online .phone {
  padding: 0 100px 0 0;
  width: 30%;
  float: left;
}

.online .detail {
  display: flex;
  padding: 0;
  width: auto;
  margin: 0;
  flex-direction: column;
  flex-wrap: wrap;
}

.online .detail p {
  color: white;
  font-family: source-han-sans-japanese, sans-serif;
  border-radius: 18px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  margin: 0 auto;
  background-color: #ff4747;
  padding-top: 14px;
  width: 30%;
  height: 47px;
}

.online .detail_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: 30px 0;
}

.online .detail_list li {
  display: flex;
  flex-direction: column;
  text-align: center;
  line-height: 28px;
  margin-top: -5px;
  text-align: center;
  font-family: source-han-sans-japanese, sans-serif;
  font-weight: bold;
  font-size: 18px;
  color: rgba(53, 53, 53, 1);
  letter-spacing: 1px;
}

.online .detail_list li img {
  margin-bottom: 15px;
}

.online .btn_detail {
  background-color: black;
  border-radius: 35px;
  width: 252px;
  height: 66px;
  text-align: center;
  margin: 0 auto;
  display: block;
  padding-top: 23px;
}

.online .btn_detail > span {
  font-family: source-han-sans-japanese, sans-serif;
  font-size: 18px;
  color: rgba(255, 255, 255, 1);
  letter-spacing: 1px;
}

.online .btn_detail > span::after {
  content: url(../img/top/img_arrow.png);
  margin-left: 20px;
}

.online h2 {
  line-height: 72px;
  font-family: source-han-sans-japanese, sans-serif;
  font-weight: bold;
  font-size: 32px;
  color: rgba(53, 53, 53, 1);
  text-align: center;
}

.online .online_icon {
  display: block;
  margin: 0 auto;
}

.function {
  padding: 50px 0;
  background-color: rgba(255, 250, 238, 1);
  /* background-image: url(../img/top/bk_online.png); */
  background-image: url(../img/top/img_function_background.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.function h2 {
  line-height: 70px;
  font-weight: bold;
  font-size: 40px;
  color: rgba(59, 64, 67, 1);
  text-align: center;
  margin-bottom: 50px;
}

.function .function_icon {
  display: block;
  margin: 0 auto;
}

.function .function_wrap {
  /* background: url(../img/top/img_function_background.png); */
  /* background-repeat:no-repeat; */
  position: relative;
  margin: 0 auto;
  padding: 10px 0;
  width: 1280px;
}

.function .function_list {
  display: flex;
  justify-content: space-evenly;
  margin-bottom: 70px;
  flex-wrap: wrap;
}

.function .function_list li {
  background: url(../img/top/bk_function_list.png);
  background-repeat: no-repeat;
  height: 457px;
  width: 352px;
  font-size: 18px;
  margin-bottom: 50px;
}

.function .function_list li h3 {
  margin: 0 0 0 15px;
  padding: 29px 0 39px 80px;
  font-size: 24px;
  font-weight: bold;
  line-height: 1.5;
  background-repeat: no-repeat;
  background-size: 70px;
  background-position: left 5px;
  letter-spacing: 2px;
}

.function .function_list li:nth-child(2) h3 {
  padding: 29px 0 39px 80px;
}

.function .function_list li:nth-child(3) h3 {
  padding: 29px 0 14px 80px;
}

.function .function_list li h4 {
  margin: -37px 0 13px 15px;
  padding: 0px 0px 0px 80px;
  font-size: 15px;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  .function .function_list li h4 {
    font-size: 13px;
  }
}

.function .lower {
  display: flex;
  /* margin: 0 0 0 40px; */
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
}

.function input {
  display: none;
}

.function .change_button {
  display: flex;
  flex-direction: column;
}

.function .button_click {
  margin-top: -150px;
  margin-left: -2px;
  z-index: 1;
  animation: flash 3s linear infinite;
}

.function .kana_before {
  overflow: visible;
  /* padding: 50px 0; */
  /* height: auto; */
  opacity: 1;
}

.function input:checked ~ .kana_before {
  overflow: hidden;
  height: 0;
}

.function .kana_after {
  overflow: hidden;
  height: 0;
}

.function input:checked ~ .kana_after {
  overflow: visible;
  /* padding: 50px 0; */
  height: auto;
  opacity: 1;
}

.function .alfa_before {
  overflow: visible;
  /* padding: 50px 0; */
  /* height: auto; */
  opacity: 1;
}

.function input:checked ~ .alfa_before {
  overflow: hidden;
  height: 0;
}

.function .alfa_after {
  overflow: hidden;
  height: 0;
}

.function input:checked ~ .alfa_after {
  overflow: visible;
  /* padding: 50px 0; */
  height: auto;
  opacity: 1;
}

.function .list01 h3 {
  background: url(../img/top/img_01.png);
}

.function .list02 h3 {
  background: url(../img/top/img_02.png);
}

.function .list03 h3 {
  background: url(../img/top/img_03.png);
}

.function .list04 h3 {
  background: url(../img/top/img_04.png);
}

.function .function_list li img {
  margin-bottom: 15px;
}

.function .btn_detail {
  background-color: black;
  border-radius: 35px;
  width: 252px;
  height: 66px;
  text-align: center;
  margin: 0 auto;
  display: block;
  padding-top: 23px;
}

.function .btn_detail > span {
  font-family: source-han-sans-japanese, sans-serif;
  font-size: 18px;
  color: rgba(255, 255, 255, 1);
  letter-spacing: 1px;
}

.function .btn_detail > span::after {
  content: url(../img/top/img_arrow.png);
  margin-left: 20px;
}

.price {
  padding: 50px 0;
  background-color: #ffc130;
  background-image: url(../img/top/bk_online.png);
}

.price .price_wrap {
  /* background: url(../img/top/bk_online.png); */
  position: relative;
  margin: 0 auto;
  padding: 10px 0;
  width: 1280px;
}

.price .phone {
  padding: 0 100px 0 0;
  width: 30%;
  float: right;
}

.price .detail {
  padding: 0;
  width: calc(70% - 100px);
  float: left;
}

.price .detail_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-bottom: 70px;
}

.price .detail_list li {
  display: flex;
  flex-direction: column;
  text-align: center;
  line-height: 28px;
  margin-top: -5px;
  text-align: center;
  font-family: source-han-sans-japanese, sans-serif;
  font-weight: normal;
  font-size: 18px;
  color: rgba(53, 53, 53, 1);
  letter-spacing: 1px;
}

.price .detail_list li img {
  margin-bottom: 15px;
}

.price .price_list_pre {
  margin: 30px auto;
}

.price .price_list {
  height: 0;
  padding: 0;
  overflow: hidden;
  opacity: 0;
  transition: 0.8s;
  margin-bottom: 30px;
}

.price input:checked ~ .price_list {
  overflow: visible;
  padding: 50px 0;
  height: auto;
  opacity: 1;
}

.price input {
  display: none;
}

.price .btn_detail {
  background-color: black;
  border-radius: 35px;
  width: 252px;
  height: 66px;
  text-align: center;
  margin: 0 auto;
  display: block;
  padding-top: 23px;
}

.price .btn_detail > span {
  font-family: source-han-sans-japanese, sans-serif;
  font-size: 18px;
  color: rgba(255, 255, 255, 1);
  letter-spacing: 1px;
}

.price .btn_detail > span::after {
  content: url(../img/top/img_arrow_down.png);
  margin-left: 20px;
}

.price input:checked ~ .btn_detail > span::after {
  content: url(../img/top/img_arrow_up.png);
}

.price h2 {
  line-height: 72px;
  font-family: source-han-sans-japanese, sans-serif;
  font-weight: bold;
  font-size: 32px;
  color: rgba(53, 53, 53, 1);
  text-align: center;
}

.price img {
  position: relative;
  display: block;
  margin: 0 auto;
}

.update {
  padding: 75px 0;
  background-color: white;
  background-image: url(../img/top/bk_update.png);
  background-repeat: no-repeat;
  background-position: center;
}

.update .update_wrap {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  padding: 10px 0;
  width: 1280px;
}

.update .detail {
  padding: 0;
  width: 40%;
  float: left;
  text-align: center;
}

.update h2 {
  line-height: 70px;
  font-family: source-han-sans-japanese, sans-serif;
  font-weight: bold;
  font-size: 32px;
  color: rgba(59, 64, 67, 1);
  margin-bottom: 30px;
  text-align: center;
}

.update h3 {
  line-height: 30px;
  font-family: source-han-sans-japanese, sans-serif;
  font-size: 18px;
  color: rgba(59, 64, 67, 1);
  margin-bottom: 30px;
}

.update .update_icon {
  display: block;
  margin: 0 auto;
}

.update .facebook {
  padding: 0;
  width: calc(60% - 100px);
  float: right;
  /* padding:0 0 0 100px; */
}

.update .caution {
  margin-top: 30px;
  text-align: center;
}

.update .btn_detail {
  background-color: white;
  border-radius: 35px;
  width: 217px;
  height: 60px;
  text-align: center;
  margin: 0 auto;
  display: block;
  padding-top: 19px;
  border: 2px solid #1877f2;
}

.update .btn_detail > span {
  font-family: source-han-sans-japanese, sans-serif;
  font-size: 18px;
  color: black;
  letter-spacing: 1px;
}

.update .btn_detail > span::after {
  content: url(../img/top/imb_facebook.png);
  margin-left: 20px;
}

.environment {
  padding: 75px 0;
  background-color: white;
}

.environment .environment_wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0 auto;
  padding: 10px 0;
  width: 1280px;
}

.environment .detail {
  padding: 0;
  width: 40%;
  float: left;
  text-align: center;
}

.environment h2 {
  line-height: 70px;
  font-family: source-han-sans-japanese, sans-serif;
  font-weight: bold;
  font-size: 32px;
  color: rgba(59, 64, 67, 1);
  margin-bottom: 30px;
  text-align: center;
}

.environment h3 {
  line-height: 30px;
  font-family: source-han-sans-japanese, sans-serif;
  font-size: 18px;
  color: rgba(59, 64, 67, 1);
  margin-bottom: 30px;
}

.environment .environment_icon {
  display: block;
  margin: 0 auto;
}

.environment .pos1 {
  display: block;
  margin: 0 auto;
  width: 40%;
  float: left;
}

.environment .pos2 {
  display: block;
  margin: 0 auto;
  width: calc(60% - 100px);
  float: right;
}

.environment .pos2 p {
  line-height: 45px;
  font-family: source-han-sans-japanese, sans-serif;
  font-weight: bold;
  font-size: 16px;
  color: rgba(53, 53, 53, 1);
}

.environment .caution {
  margin-top: 30px;
  text-align: center;
}

.environment .btn_detail {
  background-color: white;
  border-radius: 35px;
  width: 217px;
  height: 60px;
  text-align: center;
  margin: 0 auto;
  display: block;
  padding-top: 19px;
  border: 2px solid #1877f2;
}

.environment .btn_detail > span {
  font-family: source-han-sans-japanese, sans-serif;
  font-size: 18px;
  color: black;
  letter-spacing: 1px;
}

.environment .btn_detail > span::after {
  content: url(../img/top/imb_facebook.png);
  margin-left: 20px;
}

.country {
  background-color: #f99b2c;
  background-image: url(../img/top/bk_online.png), url(../img/top/img_country_back1.png),
    url(../img/top/img_country_back2.png);
  background-size: auto auto, 55vw auto, 95vw auto;
  background-repeat: repeat, no-repeat, no-repeat;
  background-position: center, top left, top right;
}

.country .country_wrap {
  /* background-image: url(../img/top/img_country_back1.png),url(../img/top/img_country_back2.png);
  background-repeat:no-repeat,no-repeat;
  background-position:top left,top right; */
  position: relative;
  margin: 0 auto;
  padding: 10px 0;
  width: 1280px;
  height: 900px;
}

@media screen and (min-width: 960px) and (max-width: 1279px) {
  .top_img {
    min-width: 960px;
  }
  .overview .overview_wrap {
    width: 960px;
  }
  .online .online_wrap {
    width: 960px;
  }
  .function .function_wrap {
    width: 960px;
  }
  .update .update_wrap {
    width: 960px;
  }
  .price .price_wrap {
    width: 960px;
  }
  .environment .environment_wrap {
    width: 960px;
  }
  .country .country_wrap {
    width: 960px;
  }
  .facebook .pc iframe {
    width: 500px !important;
  }
  .overview .overview_part1 .bottom .bottom_left img,
  .overview .overview_part1 .bottom .bottom_right img {
    width: 70%;
  }
  .overview .overview_part2 .bottom .bottom_left img,
  .overview .overview_part2 .bottom .bottom_right img {
    width: 70%;
  }
  .overview .overview_part3 .bottom .left img,
  .overview .overview_part3 .bottom .right img {
    width: 70%;
  }
  .update .facebook {
    width: calc(60% - 0px);
  }
}

.country h2 {
  line-height: 70px;
  font-family: source-han-sans-japanese, sans-serif;
  font-weight: bold;
  font-size: 32px;
  color: white;
  margin: 30px 0;
  text-align: left;
  padding-left: 20px;
}

.country ul {
  width: 45%;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  padding-left: 20px;
}

.country li {
  color: white;
  margin-bottom: 37px;
  width: 188px;
}

.country li img {
  margin-right: 15px;
  vertical-align: middle;
}

.country .area {
  margin-bottom: 40px;
  padding-left: 20px;
}

.country .area p {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  background-color: #fff130;
  padding-top: 12px;
  width: 25%;
  height: 47px;
}

.pankuzu {
  color: #000000;
  background-color: #f5f5f5;
  word-break: keep-all;
  white-space: nowrap;
}

.pankuzu .pankuzu_wrap {
  max-width: 1280px;
  margin: 0 auto;
  box-sizing: border-box;
}

.pankuzu span {
  display: inline-block;
  padding: 20px 30px 20px 10px;
  font-size: 0.75rem;
  /* background: url(/images/bg_pankuzu01.png) no-repeat center right; */
  text-decoration: none;
}

.pankuzu span:last-child {
  background: none;
  padding-right: 10px;
}

.box {
  /* color: #fff; */
  height: 100vh;
  padding: 40px;
  padding-top: 100px;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
}

.purpose .purpose_gallery_list li .fukidashi.pc {
  display: flex !important;
}

/* tab */
@media screen and (min-width: 769px) and (max-width: 959px) {
  .top_img {
    width: auto;
    min-width: 769px;
    height: 75.375vw;
  }
  .top_img::before {
    width: 700px;
    height: 500px;
    left: inherit;
    right: -138px;
    top: 76.8px;
  }
  .overview {
    width: auto;
  }
  .top_text {
    top: 64.4px;
    left: calc((100vw - 900px) / 2 + 80px);
  }
  .overview .overview_wrap {
    width: auto;
    max-width: 100%;
    height: auto;
  }
  .price .price_wrap {
    width: 70%;
  }
  .online .phone {
    padding: 10px;
    width: 25%;
    margin: auto;
  }
  .function .function_wrap {
    width: auto;
  }
  .gallery_dots {
    flex-wrap: nowrap;
    left: 0;
  }
  .gallery_dots li button {
    position: relative;
    text-indent: -9999px;
    width: 159px !important;
    height: 80px !important;
    margin: 5px !important;
    border: 0;
    background: url('../img/top/bk_purpose_sp.png') no-repeat !important;
  }

  .gallery_dots li.slick-active button {
    background: url('../img/top/bk_purpose_act_sp.png') no-repeat !important;
  }

  .gallery_dots li button:before {
    white-space: pre;
    font-size: 15px;
    font-weight: bold;
    text-indent: 0px;
    position: absolute;
  }

  .gallery_dots li:nth-child(1) button:before {
    content: '生活に使う';
    top: 31px;
    left: 47px;
  }

  .gallery_dots li:nth-child(2) button:before {
    content: '短時間で学ぶ';
    top: 31px;
    left: 38px;
  }

  .gallery_dots li:nth-child(3) button:before {
    content: 'JLPTをとる';
    top: 30px;
    left: 42px;
  }

  .gallery_dots li:nth-child(4) button:before {
    content: '企業・自治体・\A教育関係者';
    top: 19px;
    left: 30px;
  }

  .online .online_wrap {
    width: auto;
    height: auto;
  }
  .online .detail_list li {
    align-items: center;
  }
  .online .detail_list li img {
    height: 100px;
    width: 100px;
  }
  .online .detail_list {
    flex-wrap: nowrap;
  }
  .update .facebook {
    width: auto;
  }
  .update .update_wrap {
    flex-direction: column;
    width: auto;
  }
  .update .detail {
    margin-bottom: 10px;
  }
  .country ul {
    width: 60%;
  }
  .environment .environment_wrap {
    width: auto;
  }
  .country .country_wrap {
    width: auto;
  }
  .function {
    padding: 50px 0;
    background-color: rgba(255, 250, 238, 1);
    /* background-image: url(../img/top/bk_online.png); */
    background-image: url(../img/top/img_function_background_sp.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
  }
  .overview {
    padding: 50px 0;
    padding-top: 0;
    background-color: #ffc130;
    flex-wrap: wrap;
    justify-content: center;
  }

  .overview .bar1 {
    width: 68px;
    height: 4px;
    background-image: url('../img/top/img_bar_act.png');
    margin-bottom: 20px;
  }

  .overview .bar2 {
    width: 44px;
    height: 4px;
    background-image: url('../img/top/img_bar.png');
    margin-bottom: 20px;
  }

  .overview .bar3 {
    width: 44px;
    height: 4px;
    background-image: url('../img/top/img_bar.png');
    margin-bottom: 20px;
  }

  .overview .overview_part1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
  }

  .overview .overview_part1 .top {
    margin-bottom: 10px;
  }

  .overview .overview_part1 .bottom {
    display: flex;
  }

  .overview .overview_part1 .left_before {
    vertical-align: top;
  }

  .overview .overview_part1 .right_after {
    vertical-align: top;
  }

  .overview .overview_part1 .left_after {
    opacity: 0;
    margin-top: -5em;
  }

  .overview .overview_part1 .right_before {
    opacity: 0;
    margin-top: -5em;
  }

  .overview .overview_part2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
  }

  .overview .overview_part2 .top {
    margin-bottom: 10px;
  }

  .overview .overview_part2 .bottom {
    display: flex;
  }

  .overview .overview_part2 .left_before {
    vertical-align: top;
    opacity: 0.5;
    width: 60%;
  }

  .overview .overview_part2 .right_after {
    vertical-align: top;
    opacity: 0.5;
    z-index: 1;
    width: 60%;
  }

  .overview .overview_part3 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-bottom: 30px;
  }

  .overview .overview_part3 .top {
    margin-bottom: 10px;
  }

  .overview .overview_part3 .bottom {
    display: flex;
    justify-content: center;
  }

  .overview .overview_part3 .left {
    position: relative;
    vertical-align: top;
    margin-top: 90px;
    margin-right: 30px;
  }

  .overview .overview_part3 .left p {
    text-align: left;
  }

  .overview .overview_part3 .left button {
    position: absolute;
    top: 100px;
    left: 100px;
    border: 0;
    background-color: unset;
  }

  .overview .overview_part3 .right {
    position: relative;
    vertical-align: top;
    margin-top: 180px;
    margin-left: 30px;
  }

  .overview .overview_part3 .right button {
    position: absolute;
    top: 100px;
    right: 100px;
    border: 0;
    background-color: unset;
  }

  .overview .overview_part3 .overview3_voice1 {
    position: relative;
    width: 65%;
    float: left;
  }

  .overview .overview_part3 .overview3_voice2 {
    position: relative;
    width: 65%;
    float: right;
  }

  .overview .overview3_var {
    width: 39%;
    /* margin: 15px 0 0 -12px; */
  }

  .button {
    width: 50%;
    position: absolute;
    top: 66%;
    left: 28%;
  }

  .overview .overview_part3 .right p {
    text-align: end;
  }

  .overview .overview_part4 {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url('../img/top/img_overview_back3.png');
    /* background-repeat: no-repeat; */
    background-repeat: repeat-x;
    overflow: hidden;
    -webkit-background-size: 2600px;
    background-size: 2600px;
    -webkit-animation: bg-slider 25s linear infinite;
    animation: bg-slider 25s linear infinite;
  }

  @-webkit-keyframes bg-slider {
    0% {
      background-position: 0 60%;
    }

    100% {
      background-position: -2600px 60%;
    }
  }

  @keyframes bg-slider {
    0% {
      background-position: 0 60%;
    }

    100% {
      background-position: -2600px 60%;
    }
  }

  .overview .overview_part4 .top {
    margin-bottom: 10px;
  }

  .overview .overview_part4 .bottom {
    display: flex;
    justify-content: center;
  }

  .overview .overview_wrap {
    width: auto;
    text-align: center;
  }

  .overview h2 {
    line-height: 70px;
    font-family: source-han-sans-japanese, sans-serif;
    font-weight: bold;
    font-size: 40px;
    color: white;
    text-align: center;
    text-shadow: 2px 2px 1px black, -2px 2px 1px black, 2px -2px 1px black, -2px -2px 1px black,
      2px 0px 1px black, 0px 2px 1px black, -2px 0px 1px black, 0px -2px 1px black;
    margin-bottom: 50px;
  }

  .overview .phone {
    position: absolute;
    left: 50%;
    transform: translate(-50%);
  }

  .overview .side1 {
    position: absolute;
    left: 300px;
    top: 115px;
  }

  .overview .side2 {
    position: absolute;
    left: 150px;
    top: 270px;
  }

  .overview .side3 {
    position: absolute;
    right: 300px;
    top: 115px;
  }

  .overview .side4 {
    position: absolute;
    right: 150px;
    top: 270px;
  }

  .overview .form_btnTabs {
    position: absolute;
    right: 150px;
    top: 270px;
  }

  .overview .form_btnTabs li {
    background: url(../img/top/img_bar_act.png);
    background-color: blue;
  }

  .overview_wrap img {
    max-width: 65%;
  }

  .gallery_dots {
    margin-left: 8%;
  }
}

@media screen and (min-width: 520px) and (max-width: 768px) {
  .overview_wrap img {
    max-width: 65%;
  }
}

/* sp */
@media screen and (max-width: 768px) {
  .top_img {
    min-width: 1px;
    margin-top: var(--nav-height);
    height: 100vh;
  }

  .top_img::before {
    width: 177vw;
    height: 116.8vw;
    left: calc(50% - 88.5vw);
    top: 54vw;
  }

  .top_img::after {
    top: 72vw;
  }

  .top_text {
    width: 100%;
    left: 0;
  }

  .top_text p {
    font-size: 5vw;
    text-align: center;
    margin-bottom: 1.5em;
  }

  .top_text ul {
    justify-content: center;
  }

  .top_text li {
    width: inherit;
  }

  .download {
  }

  .overview {
    padding: 50px 0;
    padding-top: 0;
    background-color: #ffc130;
    flex-wrap: wrap;
    justify-content: center;
  }

  .overview .bar1 {
    width: 68px;
    height: 4px;
    background-image: url('../img/top/img_bar_act.png');
    margin-bottom: 20px;
  }

  .overview .bar2 {
    width: 44px;
    height: 4px;
    background-image: url('../img/top/img_bar.png');
    margin-bottom: 20px;
  }

  .overview .bar3 {
    width: 44px;
    height: 4px;
    background-image: url('../img/top/img_bar.png');
    margin-bottom: 20px;
  }

  .overview .overview_part1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
  }

  .overview .overview_part1 .top {
    margin-bottom: 10px;
  }

  .overview .overview_part1 .bottom {
    display: flex;
  }

  .overview .overview_part1 .bottom .bottom_left img,
  .overview .overview_part1 .bottom .bottom_right img {
  }

  .overview .overview_part1 .left_before {
    vertical-align: top;
  }

  .overview .overview_part1 .right_after {
    vertical-align: top;
  }

  .overview .overview_part1 .left_after {
    opacity: 0;
    margin-top: -5em;
  }

  .overview .overview_part1 .right_before {
    opacity: 0;
    margin-top: -5em;
  }

  .overview .overview_part2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
  }

  .overview .overview_part2 .top {
    margin-bottom: 10px;
  }

  .overview .overview_part2 .bottom {
    display: flex;
  }

  .overview .overview_part2 .left_before {
    vertical-align: top;
    opacity: 0.5;
    width: 60%;
  }

  .overview .overview_part2 .left_after {
  }

  .overview .overview_part2 .right_after {
    vertical-align: top;
    opacity: 0.5;
    z-index: 1;
    width: 60%;
  }

  .overview .overview_part3 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-bottom: 30px;
  }

  .overview .overview_part3 .top {
    margin-bottom: 10px;
  }

  .overview .overview_part3 .bottom {
    display: flex;
    justify-content: center;
  }

  .overview .overview_part3 .left {
    position: relative;
    vertical-align: top;
    margin-top: 90px;
    margin-right: 30px;
  }

  .overview .overview_part3 .left p {
    text-align: left;
  }

  .overview .overview_part3 .left button {
    position: absolute;
    top: 100px;
    left: 100px;
    border: 0;
    background-color: unset;
  }

  .overview .overview_part3 .right {
    position: relative;
    vertical-align: top;
    margin-top: 180px;
    margin-left: 30px;
  }

  .overview .overview_part3 .right button {
    position: absolute;
    top: 100px;
    right: 100px;
    border: 0;
    background-color: unset;
  }

  .overview .overview_part3 .overview3_voice1 {
    position: relative;
    width: 65%;
    float: left;
  }

  .overview .overview_part3 .overview3_voice2 {
    position: relative;
    width: 65%;
    float: right;
  }

  .overview .overview3_var {
    width: 39%;
    /* margin: 15px 0 0 -12px; */
  }

  .button {
    width: 50%;
    position: absolute;
    top: 66%;
    left: 28%;
  }

  .overview .overview_part3 .right p {
    text-align: end;
  }

  .overview .overview_part4 {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url('../img/top/img_overview_back3.png');
    /* background-repeat: no-repeat; */
    background-repeat: repeat-x;
    overflow: hidden;
    -webkit-background-size: 2600px;
    background-size: 2600px;
    -webkit-animation: bg-slider 25s linear infinite;
    animation: bg-slider 25s linear infinite;
  }

  @-webkit-keyframes bg-slider {
    0% {
      background-position: 0 60%;
    }

    100% {
      background-position: -2600px 60%;
    }
  }

  @keyframes bg-slider {
    0% {
      background-position: 0 60%;
    }

    100% {
      background-position: -2600px 60%;
    }
  }

  .overview .overview_part4 .top {
    margin-bottom: 10px;
  }

  .overview .overview_part4 .bottom {
    display: flex;
    justify-content: center;
  }

  .overview .overview_wrap {
    width: auto;
    text-align: center;
  }

  .overview h2 {
    line-height: 70px;
    font-family: source-han-sans-japanese, sans-serif;
    font-weight: bold;
    font-size: 40px;
    color: white;
    text-align: center;
    text-shadow: 2px 2px 1px black, -2px 2px 1px black, 2px -2px 1px black, -2px -2px 1px black,
      2px 0px 1px black, 0px 2px 1px black, -2px 0px 1px black, 0px -2px 1px black;
    margin-bottom: 50px;
  }

  .overview .phone {
    position: absolute;
    left: 50%;
    transform: translate(-50%);
  }

  .overview .side1 {
    position: absolute;
    left: 300px;
    top: 115px;
  }

  .overview .side2 {
    position: absolute;
    left: 150px;
    top: 270px;
  }

  .overview .side3 {
    position: absolute;
    right: 300px;
    top: 115px;
  }

  .overview .side4 {
    position: absolute;
    right: 150px;
    top: 270px;
  }

  .overview .form_btnTabs {
    position: absolute;
    right: 150px;
    top: 270px;
  }

  .overview .form_btnTabs li {
    background: url(../img/top/img_bar_act.png);
    background-color: blue;
  }

  .purpose {
    padding: 50px 0;
    background-color: white;
  }

  .purpose h2 {
    line-height: 70px;
    font-family: source-han-sans-japanese, sans-serif;
    font-weight: bold;
    font-size: 20px;
    color: rgba(59, 64, 67, 1);
    text-align: center;
    margin-bottom: 180px;
  }

  .purpose .purpose_icon {
    display: block;
    margin: 0 auto;
  }

  .purpose .purpose_gallery .slick-slide {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    /* width:94%; */
    margin: 0 auto;
    opacity: 0.5;
    /*透過50%*/
  }

  .purpose .slick-slide.slick-center {
    opacity: 1;
    /*透過なし*/
  }

  .purpose .purpose_gallery_list {
    /* display: flex; */
    position: relative;
    margin: 0 40px;
    padding: 2rem 0;
    /* width: 620px; */
  }

  .purpose .purpose_gallery_list img {
    width: auto;
    margin: 0 10px;
  }

  /*戻る、次へ矢印の位置*/
  .slick-prev,
  .slick-next {
    position: absolute;
    width: 44px;
    height: 44px;
    z-index: 1;
    top: calc(50% - 22px);
  }

  .slick-prev {
    /*戻る矢印の位置と形状*/
    background-image: url('../img/top/img_arrow_before.png');
    background-size: cover;
    left: 0%;
  }

  .slick-next {
    /*次へ矢印の位置と形状*/
    background-image: url('../img/top/img_arrow_after.png');
    background-size: cover;
    right: 0%;
  }

  .gallery_dots {
    display: flex;
    position: absolute;
    top: -198px;
    left: auto;
    margin: 0 auto;
    margin-top: 24px !important;
    margin-right: auto;
    margin-bottom: 0px;
    margin-left: auto;
    flex-wrap: wrap;
    justify-content: center;
    bottom: initial !important;
    margin-top: 24px !important;
    flex-direction: row;
    align-content: center;
    width: 100%;
  }

  .gallery_dots li button {
    position: relative;
    text-indent: -9999px;
    width: 159px !important;
    height: 80px !important;
    margin: 5px !important;
    border: 0;
    background: url('../img/top/bk_purpose_sp.png') no-repeat !important;
  }

  .gallery_dots li.slick-active button {
    background: url('../img/top/bk_purpose_act_sp.png') no-repeat !important;
  }

  .gallery_dots li button:before {
    white-space: pre;
    font-size: 15px;
    font-weight: bold;
    text-indent: 0px;
    position: absolute;
  }

  .gallery_dots li:nth-child(1) button:before {
    top: 28px;
    left: 44px;
  }

  .gallery_dots li:nth-child(2) button:before {
    top: 28px;
    left: 35px;
  }

  .gallery_dots li:nth-child(3) button:before {
    top: 28px;
    left: 44px;
  }

  .gallery_dots li:nth-child(4) button:before {
    top: 20px;
    left: 28px;
  }

  /* .purpose .purpose_list li{
  position:relative;
}

.purpose .purpose_list li img{
  width:90%;
}

.purpose .purpose_list li p{
  color: black;
  font-size: 12px;
  left: 44%;
  margin: 0;
  position: absolute;
  top: 46%;
  transform: translate(-50%, -50%);
  text-align:center;
} */
  .purpose .purpose_wrap {
    position: relative;
    margin: 0 auto;
    padding: 10px 0;
    /* width: 1280px; */
    /* height:540px; */
  }

  .online {
    padding: 50px 0;
    background-color: #ffc130;
    background-image: url(../img/top/bk_online.png);
  }

  .online .online_wrap {
    /* background: url(../img/top/bk_online.png); */
    position: relative;
    margin: 0 auto;
    padding: 10px 0;
    width: auto;
    height: auto;
  }

  .online .phone {
    padding: 0;
    width: 70%;
    float: none;
    margin: 50px auto;
  }

  .online .detail {
    padding: 0;
    width: auto;
    float: none;
    margin: 0;
  }

  .online .detail p {
    color: white;
    font-family: source-han-sans-japanese, sans-serif;
    border-radius: 18px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin: 0 auto;
    background-color: #ff4747;
    padding-top: 14px;
    width: 45%;
    height: 47px;
  }

  .online .detail_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 30px 0;
    flex-direction: column;
    align-items: center;
  }

  .online .detail_list li {
    display: flex;
    flex-direction: column;
    text-align: center;
    line-height: 28px;
    margin-top: 30px;
    text-align: center;
    font-family: source-han-sans-japanese, sans-serif;
    font-weight: bold;
    font-size: 18px;
    color: rgba(53, 53, 53, 1);
    letter-spacing: 1px;
  }

  .online .detail_list li img {
    margin-bottom: 15px;
  }

  .online .btn_detail {
    background-color: black;
    border-radius: 35px;
    width: 252px;
    height: 66px;
    text-align: center;
    margin: 0 auto;
    display: block;
    padding-top: 23px;
  }

  .online .btn_detail > span {
    font-family: source-han-sans-japanese, sans-serif;
    font-size: 18px;
    color: rgba(255, 255, 255, 1);
    letter-spacing: 1px;
  }

  .online .btn_detail > span::after {
    content: url(../img/top/img_arrow.png);
    margin-left: 20px;
  }

  .online h2 {
    line-height: 72px;
    font-family: source-han-sans-japanese, sans-serif;
    font-weight: bold;
    font-size: 32px;
    color: rgba(53, 53, 53, 1);
    text-align: center;
  }

  .online .online_icon {
    display: block;
    margin: 0 auto;
  }

  .function {
    padding: 50px 0;
    background-color: rgba(255, 250, 238, 1);
    /* background-image: url(../img/top/bk_online.png); */
    background-image: url(../img/top/img_function_background_sp.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
  }

  .function h2 {
    line-height: 70px;
    font-weight: bold;
    font-size: 40px;
    color: rgba(59, 64, 67, 1);
    text-align: center;
    margin-bottom: 50px;
  }

  .function .function_icon {
    display: block;
    margin: 0 auto;
  }

  .function .function_wrap {
    /* background: url(../img/top/img_function_background.png); */
    /* background-repeat:no-repeat; */
    position: relative;
    margin: 0 auto;
    padding: 10px 0;
    width: auto;
  }

  .function .function_list {
    margin: 0;
  }

  .function .function_list li {
    background: url(../img/top/bk_function_list.png);
    background-repeat: no-repeat;
    height: 457px;
    width: 352px;
    margin-bottom: 50px;
  }

  .function .function_list li h3 {
    margin: 0 0 0 15px;
    padding: 29px 0 39px 80px;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.5;
    background-repeat: no-repeat;
    background-size: 70px;
    background-position: left 5px;
    letter-spacing: 2px;
  }

  .function .lower {
    display: flex;
    /* margin: 0 0 0 40px; */
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .function input {
    display: none;
  }

  .function .change_button {
    display: flex;
    flex-direction: column;
  }

  .function .button_click {
    margin-top: -150px;
    margin-left: -2px;
    z-index: 1;
  }

  .function .kana_before {
    overflow: visible;
    /* padding: 50px 0; */
    /* height: auto; */
    opacity: 1;
  }

  .function input:checked ~ .kana_before {
    overflow: hidden;
    height: 0;
  }

  .function .kana_after {
    overflow: hidden;
    height: 0;
  }

  .function input:checked ~ .kana_after {
    overflow: visible;
    /* padding: 50px 0; */
    height: auto;
    opacity: 1;
  }

  .function .alfa_before {
    overflow: visible;
    /* padding: 50px 0; */
    /* height: auto; */
    opacity: 1;
  }

  .function input:checked ~ .alfa_before {
    overflow: hidden;
    height: 0;
  }

  .function .alfa_after {
    overflow: hidden;
    height: 0;
  }

  .function input:checked ~ .alfa_after {
    overflow: visible;
    /* padding: 50px 0; */
    height: auto;
    opacity: 1;
  }

  .function .list01 h3 {
    background: url(../img/top/img_01.png);
  }

  .function .list02 h3 {
    background: url(../img/top/img_02.png);
  }

  .function .list03 h3 {
    background: url(../img/top/img_03.png);
  }

  .function .list04 h3 {
    background: url(../img/top/img_04.png);
  }

  .function .function_list li img {
    margin-bottom: 15px;
  }

  .function .btn_detail {
    background-color: black;
    border-radius: 35px;
    width: 252px;
    height: 66px;
    text-align: center;
    margin: 0 auto;
    display: block;
    padding-top: 23px;
  }

  .function .btn_detail > span {
    font-family: source-han-sans-japanese, sans-serif;
    font-size: 18px;
    color: rgba(255, 255, 255, 1);
    letter-spacing: 1px;
  }

  .function .btn_detail > span::after {
    content: url(../img/top/img_arrow.png);
    margin-left: 20px;
  }

  .price {
    padding: 50px 0;
    background-color: #ffc130;
    background-image: url(../img/top/bk_online.png);
  }

  .price .price_wrap {
    /* background: url(../img/top/bk_online.png); */
    position: relative;
    margin: 0 auto;
    padding: 10px 20px;
    width: auto;
  }

  .price .phone {
    padding: 0 100px 0 0;
    width: 30%;
    float: right;
  }

  .price .detail {
    padding: 0;
    width: calc(70% - 100px);
    float: left;
  }

  .price .detail_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-bottom: 70px;
  }

  .price .detail_list li {
    display: flex;
    flex-direction: column;
    text-align: center;
    line-height: 28px;
    margin-top: -5px;
    text-align: center;
    font-family: source-han-sans-japanese, sans-serif;
    font-weight: normal;
    font-size: 18px;
    color: rgba(53, 53, 53, 1);
    letter-spacing: 1px;
  }

  .price .detail_list li img {
    margin-bottom: 15px;
  }

  .price .price_list_pre {
    margin: 30px auto;
  }

  .price .price_list {
    height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    transition: 0.8s;
    margin-bottom: 30px;
  }

  .price input:checked ~ .price_list {
    overflow: visible;
    padding: 50px 0;
    height: auto;
    opacity: 1;
  }

  .price input {
    display: none;
  }

  .price .btn_detail {
    background-color: black;
    border-radius: 35px;
    width: 252px;
    height: 66px;
    text-align: center;
    margin: 0 auto;
    display: block;
    padding-top: 23px;
  }

  .price .btn_detail > span {
    font-family: source-han-sans-japanese, sans-serif;
    font-size: 18px;
    color: rgba(255, 255, 255, 1);
    letter-spacing: 1px;
  }

  .price .btn_detail > span::after {
    content: url(../img/top/img_arrow_down.png);
    margin-left: 20px;
  }

  .price input:checked ~ .btn_detail > span::after {
    content: url(../img/top/img_arrow_up.png);
  }

  .price h2 {
    line-height: 72px;
    font-family: source-han-sans-japanese, sans-serif;
    font-weight: bold;
    font-size: 32px;
    color: rgba(53, 53, 53, 1);
    text-align: center;
  }

  .price img {
    position: relative;
    display: block;
    margin: 0 auto;
  }

  .update {
    padding: 75px 0;
    background-color: white;
    background-image: url(../img/top/bk_update.png);
    background-repeat: no-repeat;
    background-position: center;
  }

  .update .update_wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 10px 0;
    width: auto;
  }

  .update .detail {
    padding: 0;
    width: auto;
    float: left;
    text-align: center;
    margin-bottom: 50px;
  }

  .update h2 {
    line-height: 70px;
    font-family: source-han-sans-japanese, sans-serif;
    font-weight: bold;
    font-size: 32px;
    color: rgba(59, 64, 67, 1);
    margin-bottom: 30px;
    text-align: center;
  }

  .update h3 {
    line-height: 30px;
    font-family: source-han-sans-japanese, sans-serif;
    font-size: 18px;
    color: rgba(59, 64, 67, 1);
    margin-bottom: 30px;
  }

  .update .update_icon {
    display: block;
    margin: 0 auto;
  }

  .update .facebook {
    padding: 0;
    width: auto;
    float: none;
    /* padding:0 0 0 100px; */
  }

  .update .caution {
    margin-top: 30px;
    text-align: center;
  }

  .update .btn_detail {
    background-color: white;
    border-radius: 35px;
    width: 217px;
    height: 60px;
    text-align: center;
    margin: 0 auto;
    display: block;
    padding-top: 19px;
    border: 2px solid #1877f2;
  }

  .update .btn_detail > span {
    font-family: source-han-sans-japanese, sans-serif;
    font-size: 18px;
    color: black;
    letter-spacing: 1px;
  }

  .update .btn_detail > span::after {
    content: url(../img/top/imb_facebook.png);
    margin-left: 20px;
  }

  .environment {
    padding: 75px 0;
    background-color: white;
  }

  .environment .environment_wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 auto;
    padding: 10px 0;
    width: auto;
  }

  .environment .detail {
    padding: 0;
    width: 40%;
    float: left;
    text-align: center;
  }

  .environment h2 {
    line-height: 70px;
    font-family: source-han-sans-japanese, sans-serif;
    font-weight: bold;
    font-size: 32px;
    color: rgba(59, 64, 67, 1);
    margin-bottom: 30px;
    text-align: center;
  }

  .environment h3 {
    line-height: 30px;
    font-family: source-han-sans-japanese, sans-serif;
    font-size: 18px;
    color: rgba(59, 64, 67, 1);
    margin-bottom: 30px;
  }

  .environment .environment_icon {
    display: block;
    margin: 0 auto;
  }

  .environment .pos1 {
    display: block;
    margin: 0 auto;
    width: 40%;
    float: left;
  }

  .environment .pos2 {
    display: block;
    margin: 0 auto;
    width: calc(60% - 100px);
    float: right;
  }

  .environment .pos2 p {
    line-height: 45px;
    font-family: source-han-sans-japanese, sans-serif;
    font-weight: bold;
    font-size: 16px;
    color: rgba(53, 53, 53, 1);
  }

  .environment .caution {
    margin-top: 30px;
    text-align: center;
  }

  .environment .btn_detail {
    background-color: white;
    border-radius: 35px;
    width: 217px;
    height: 60px;
    text-align: center;
    margin: 0 auto;
    display: block;
    padding-top: 19px;
    border: 2px solid #1877f2;
  }

  .environment .btn_detail > span {
    font-family: source-han-sans-japanese, sans-serif;
    font-size: 18px;
    color: black;
    letter-spacing: 1px;
  }

  .environment .btn_detail > span::after {
    content: url(../img/top/imb_facebook.png);
    margin-left: 20px;
  }

  .country {
    background-color: #f99b2c;
    background-image: url(../img/top/bk_online.png), url(../img/top/img_country_back2_sp.png);
    background-size: auto auto, 67vw auto;
    background-repeat: repeat, no-repeat;
    background-position: center, bottom right;
  }

  .country .country_wrap {
    /* background-image: url(../img/top/img_country_back1.png),url(../img/top/img_country_back2.png);
  background-repeat:no-repeat,no-repeat;
  background-position:top left,top right; */
    position: relative;
    margin: 0 50px;
    padding: 10px 0;
    width: auto;
    height: auto;
  }

  .country h2 {
    line-height: 70px;
    font-family: source-han-sans-japanese, sans-serif;
    font-weight: bold;
    font-size: 20px;
    color: white;
    margin: 30px 0;
    text-align: center;
  }

  .country ul {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .country li {
    color: white;
    margin-bottom: 37px;
    width: 50%;
  }

  .country li img {
    margin-right: 15px;
    vertical-align: middle;
  }

  .country .area {
    margin-bottom: 200px;
  }

  .country .area p {
    font-family: source-han-sans-japanese, sans-serif;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    background-color: #fff130;
    padding-top: 14px;
    width: auto;
    height: 47px;
  }

  .pankuzu {
    color: #000000;
    background-color: #f5f5f5;
    word-break: keep-all;
    white-space: nowrap;
  }

  .pankuzu .pankuzu_wrap {
    max-width: auto;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .pankuzu span {
    display: inline-block;
    padding: 20px 30px 20px 10px;
    font-size: 0.75rem;
    /* background: url(/images/bg_pankuzu01.png) no-repeat center right; */
    text-decoration: none;
  }

  .pankuzu span:last-child {
    background: none;
    padding-right: 10px;
  }

  .purpose .purpose_gallery_list {
    width: 80vw;
  }

  .purpose .purpose_gallery_list .top {
    white-space: normal;
  }

  .purpose .purpose_gallery .slick-slide {
    margin-left: 2vw;
    margin-right: 2vw;
    padding-bottom: 132px;
  }

  .purpose .purpose_gallery_list .rsrs_inner {
    width: 80vw;
    padding-left: 22px;
    padding-right: 22px;
  }

  .purpose .purpose_gallery_list ul {
    flex-direction: column;
  }

  .purpose .purpose_gallery_list li {
    width: 100%;
    height: 120px;
    margin-bottom: 10px;
    flex-wrap: wrap;
  }

  .purpose .purpose_gallery_list h3 {
    text-shadow: black 2px 0px, black -2px 0px, black 0px -2px, black 0px 2px, black 2px 2px,
      black -2px 2px, black 2px -2px, black -2px -2px, black 1px 2px, black -1px 2px, black 1px -2px,
      black -1px -2px, black 2px 1px, black -2px 1px, black 2px -1px, black -2px -1px;
  }

  .purpose .purpose_gallery_list li h4,
  .purpose .purpose_gallery_list li .fukidashi {
    width: 145px;
  }

  .purpose .purpose_gallery_list li h4 {
    text-align: left;
  }

  .purpose .purpose_gallery_list li .centering {
    order: 2;
    width: 104px;
  }

  .purpose .purpose_gallery_list li .centering img {
    margin-left: 0;
    margin-right: 0;
    width: 80%;
  }

  .purpose .purpose_gallery_list li .fukidashi {
    order: 1;
    padding: 5px 8px;
    margin-bottom: 5px;
  }

  .purpose .purpose_gallery_list li .fukidashi.green {
    margin-bottom: 0;
  }

  .purpose .purpose_gallery_list .right {
    width: 30vw;
    bottom: 0;
    left: calc(50% - 15vw);
  }

  .purpose .purpose_gallery_list .right img {
    margin-left: 0;
    margin-right: 0;
  }

  .purpose .purpose_gallery_list.l2 .left_inner {
    width: 100%;
  }

  .purpose .purpose_gallery_list.l2 .left li {
    width: 50%;
    height: auto;
    justify-content: center;
  }

  .purpose .purpose_gallery_list.l2 .left li:nth-child(1) {
    top: 0;
    left: 0;
  }

  .purpose .purpose_gallery_list.l2 .left li:nth-child(2) {
    top: 0;
    right: 0;
  }

  .purpose .purpose_gallery_list.l2 .left li:nth-child(3) {
    bottom: 0;
    right: 0;
    left: auto;
  }

  .purpose .purpose_gallery_list.l2 .left li:nth-child(4) {
    bottom: 0;
    left: 0;
    flex-direction: column-reverse;
    top: auto;
  }

  .purpose .purpose_gallery_list.l2 .left li p {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
  }

  .purpose .purpose_gallery_list.l2 .left li:nth-child(1) p:first-child,
  .purpose .purpose_gallery_list.l2 .left li:nth-child(2) p:first-child {
    margin-bottom: 10px;
  }

  .purpose .purpose_gallery_list.l2 .left li:nth-child(3) p:last-child,
  .purpose .purpose_gallery_list.l2 .left li:nth-child(4) p:last-child {
    margin-bottom: 10px;
  }

  .purpose .purpose_gallery_list.l3 li {
    padding-top: 10px;
    padding-bottom: 10px;
    justify-content: center;
  }

  .purpose .purpose_gallery_list.l3 li h4 {
    margin-top: 0;
    margin-bottom: 0;
    text-align: center;
    font-size: 140%;
    line-height: 150%;
  }

  .purpose .purpose_gallery_list.l3 li .centering {
    max-height: 100%;
  }

  .purpose .purpose_gallery_list.l3 li .centering img {
    width: auto;
    max-height: 100%;
    justify-content: center;
  }

  .purpose .purpose_gallery_list.l3 .right {
    top: auto;
    bottom: 31px;
  }

  .purpose .purpose_gallery_list.l4 li {
    width: 100%;
    height: 185px;
    justify-content: center;
  }

  .purpose .purpose_gallery_list.l4 .centering {
    order: -2;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .purpose .purpose_gallery_list.l4 h4 {
    order: -1;
    line-height: 150%;
    margin-top: 0;
  }

  .purpose .purpose_gallery_list.l4 h4 span {
    line-height: 120%;
    margin-bottom: 15px;
    display: block;
    font-weight: bold;
  }

  .purpose .purpose_gallery_list.l4 li p:last-child {
    justify-content: flex-start;
  }

  .purpose .purpose_gallery_list.l4 li:last-child {
    margin-left: 0;
  }

  .purpose .purpose_gallery_list li .fukidashi.pc {
    display: none !important;
  }
}

@media screen and (min-width: 385px) and (max-width: 559px) {
  .purpose .purpose_gallery .slick-slide {
    height: 950px;
  }
}
@media screen and (min-width: 560px) and (max-width: 768px) {
  .purpose .purpose_gallery .slick-slide {
    height: 1100px;
  }
  .purpose .purpose_gallery_list.l4 li {
    width: 100%;
    height: 185px;
    justify-content: center;
    height: 230px;
  }

  .purpose .purpose_gallery_list.l4 li:last-child h4 {
    line-height: 200%;
    margin-top: 5px;
  }
}

/*** structure ***/
/* パソコンで見たときは"pc"のclassがついた画像が表示される */
@media screen and (max-width: 959px) {
  .pc {
    display: none !important;
    /* display: block; */
  }

  .sp {
    display: block !important;
  }
}
@media screen and (min-width: 769px) and (max-width: 959px) {
  .tab {
    display: block !important;
    /* display: block; */
  }
  .notab {
    display: none !important;
  }
}
