@charset "UTF-8";
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
/*img,
picture {
  max-width: 100%;
  display: block;
}*/

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
   scroll-behavior: auto;
 }
 *,
 *::before,
 *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
  scroll-behavior: auto !important;
}
}


/************   全体   ************/

body {
  margin: 0; 
  padding: 0;
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  font-weight: 500;
  color: #262626;
  overflow-x: hidden;
  /*height: 100%;*/
}

.pc{ display: block; }
.sp{ display: none; }

.poppins{
  font-family: 'Poppins', sans-serif;
}

a, a:hover, a:visited{
  text-decoration:none;
  color: #262626;
}

ul{
  list-style-type: none;
}

main.top h1,
main.news h1,
main.facilities h1,
main.guide h1,
main.school h1,
main.contact h1{
  font-size: 40px;
  line-height: 45px;
  font-weight: 700;
  margin-bottom: 50px;
  text-align: center;
}

main.top h2,
main.news h2,
main.facilities h2,
main.guide h2,
main.school h2,
main.contact h2{
  font-size: 30px;
  line-height: 35px;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
}

main.top h3,
main.facilities h3,
main.guide h3,
main.school h3,
main.contact h3{
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin: 100px 0 50px;
  text-align: center;
  position: relative;
}

main.top h3:after,
main.facilities h3:after,
main.guide h3:after,
main.school h3:after,
main.contact h3:after {
  content: '';
  display: block;
  position: absolute;
  left: 50%; /* 位置調整 */
  transform: translate(-50%); /* 位置調整 */
  bottom: -10px; /* 下線の上下位置調整 */
  width: 50px; /* 下線の幅 */
  height: 2px; /* 下線の太さ */
  background-color: #0069D5; /* 下線の色 */
}

main.school h4.border {
    color: #0069D5;
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0069D5;
}

main.top p,
main.facilities p,
main.guide p,
main.school p,
main.contact p{
  font-size: 13px;
  font-weight: 500;
  line-height: 23px;
  letter-spacing: 0.1em;
}

.acms-entry p {
    margin: 0 10px 30px;
}

.acms-entry h5 {
    margin: 5px 10px;
    font-size: 15px;
}

ul.acms-list {
    list-style: disc;
    margin-bottom: 15px;
}

ul.acms-list li {
    margin-bottom: 10px;
}

ul.acms-list ul {
    margin-left: 40px;
    list-style: circle;
}

ul.acms-list li a {
    color: #0069D5;
    border-bottom: 1px solid #0069D5;
}

.img-radius img {
    border-radius: 30px;
}

.acms-entry iframe {
    margin-bottom: 20px;
}

ul{
  margin: 0;
  padding: 0;
}

header .sp-menu-btn,
header .bg-black{
  display: none;
}

.entry-ttl-img {
  height: 320px;
  width: 100%;
  background-size: cover;
  background-position: center;
}


/************   header   ************/

header .nav-pc{
  width: 100%;
  position: fixed;
  padding: 20px 200px 0 30px;
  background-color: #ffffff;
  z-index: 90;
  top: 0;
  height: 90px;
}

header .nav-sp{
  display: none;
}

header .nav-pc.narrow{
  padding-top: 10px;
  transition: all 0.2s ease;
  height: 65px;
  box-shadow: 0px 0px 20px rgb(0 0 0 / 15%);
}

header .nav-pc{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .nav-pc .header-logo{
  width: 30%;
  padding-bottom: 10px;
}

header .nav-pc .header-logo img{
  max-height: 55px;
  max-width: 100%;
}

header .nav-pc .menu-group{
  width: 70%;
  padding-left: 30px;
}

header .nav-pc .header-copy{
  height: 20px;
  font-size: 12px;
  color: #656565;
}

header .nav-pc .header-copy span{
  font-size: 14px;
  font-weight: 700;
  color: #2784E2;
}

/*==================================*/

header .nav-pc ul.nav {
  height: 55px;
  padding: 0;
  display: flex;
  justify-content: space-between;
}

header .nav-pc ul.nav li {
  font-size: 18px;
  font-weight: 700;
  line-height: 22px;
  letter-spacing: 0.05em;
  position: relative;
  list-style: none;
}

header .nav-pc ul.nav li.hidden{
  display: none;
}

header .nav-pc ul.nav li a {
  display: block;
  height: 55px;
  line-height: 55px;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

header .nav-pc ul.nav > li:hover > a {
  background-image: linear-gradient(to top, #2784E2 5%, transparent 5%); 
}

header .nav-pc ul.nav > li li:hover > a {
  opacity: .7;
  transition: all 0.2s ease;
}

header .nav-pc ul.nav li ul {
  display: block;
  top: 55px;
  left: 0;
  width: 250px;
  position: absolute;
  z-index: 95;
}

header .nav-pc ul.nav li ul li a{
  color: #fff;
  line-height: 40px;
  padding: 0 15px;
  background-color: #2784E2;
  height: auto;
}

header .nav-pc ul.nav li ul li {
  overflow: hidden;
  height: 0;
  transition: all 0.2s ease;
}

header .nav-pc ul.nav li:hover > ul > li {
  overflow: visible;
  height: 40px;
}
/*==================================*/

header .nav-pc .pc-menu-contact{
  position: absolute;
  top: 0;
  right: 0;
  background-color: #2784E2;
  padding: 10px;
  width: 110px;
  height: 110px;
  border-bottom-left-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

header .nav-pc .pc-menu-contact img{
  width: 35px;
  margin: 15px auto 5px;
  display: block;
}

header .nav-pc .pc-menu-contact a{
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

header .nav-pc .pc-menu-contact:hover{
  opacity: .7;
  transition: all 0.2s ease;
}

/************   popup   ************/
.popup-1 .beginner-info br,
.popup-1 .user-info br{
  display: none
}

main.top .popup-1,
main.top .popup-2{
  position: fixed;
  z-index: 10;
  bottom: 60px;
  left: 0;
  font-size: 14px;
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
  background-color: #fff;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, .15);
}

main.top .popup-2{
  left: 15px;
  bottom: 15px;
  border-radius: 30px;
  display: none;
}

main.top .popup-1 p{
  letter-spacing: 0;
  line-height: 30px;
}

main.top .popup-2 p{
  letter-spacing: 0;
  line-height: 20px;
}

main.top .popup-1 .beginner-info,
main.top .popup-2 .beginner-info{
  padding: 15px 20px 15px 40px;
  border-right: 1px solid #4089D3;
  background-color: #fff;
  position: relative;
}

main.top .popup-2 .beginner-info{
  padding: 15px 20px 15px 25px;
  width: 140px;
  border-top-left-radius: 30px;
}

main.top .popup-1 .beginner-info p:before,
main.top .popup-2 .beginner-info p:before{
  content: '';
  background-image: url(../images/sg-icon-beginner.svg);
  background-repeat: no-repeat;
  background-size: 15px;
  display: inline-block;
  width: 15px;
  height: 15px;
  top: 3px;
  margin-right: 10px;
  position: relative;
}

main.top .popup-1 .user-info,
main.top .popup-2 .user-info{
  padding: 15px 20px;
  border-top-right-radius: 30px;
  background-color: #fff;
  position: relative;
}

main.top .popup-2 .user-info{
  padding: 15px 30px 15px 20px;
  width: 140px;
}

main.top .popup-1 p,
main.top .popup-2 p{
  letter-spacing: 0;
}

main.top .popup-2 .popup-close{
  display: block;
  padding: 7px;
  background-color: #fff;
  border-radius: 50%;
  position: absolute;
  top: -5px;
  right: -5px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, .15);
  z-index: 6;
}

main.top .popup-1 .user-info p:before,
main.top .popup-2 .user-info p:before{
  content: '';
  background-image: url(../images/sg-icon-user.svg);
  background-repeat: no-repeat;
  background-size: 15px;
  display: inline-block;
  width: 15px;
  height: 15px;
  top: 4px;
  margin-right: 10px;
  position: relative;
}

main.top .popup-2 .beginner-info p:before,
main.top .popup-2 .user-info p:before{
  display: block;
  float: left;
  width: 15px;
  height: 25px;
  top: 15px;

}

main.top .popup-1 .card-info img{
  width: 50px;
  margin-right: 10px;
}

main.top .popup-1 .card-info,
main.top .popup-2 .card-info{
  padding: 15px 20px 15px 40px;
  background-color: #2784E2;
  border-bottom-right-radius: 30px;
  position: relative;
}

main.top .popup-2 .card-info{
  padding: 15px 20px;
  border-bottom-left-radius: 30px;
}

main.top .popup-1 .card-info p{
  font-size: 15px;
  padding-left: 70px;
  color: #fff;
}

main.top .popup-2 .card-info p{
  font-size: 15px;
  color: #fff;
  line-height: 30px;
  text-align: center;
}

main.top .popup-1 .card-info p span,
main.top .popup-2 .card-info p span{
  background-color: #FFCE00;
  color: #0069D5;
  font-size: 13px;
  padding: 5px 10px;
  border-radius: 15px;
}

main.top .popup-1 .card-info p:before{
  content: '';
  background-image: url(../images/sg-icon-cardhand.svg);
  background-repeat: no-repeat;
  background-size: 50px;
  display: inline-block;
  width: 50px;
  height: 50px;
  top: 20px;
  margin-left: -65px;
  position: absolute;
}


.beginner-info a,
.user-info a,
.card-info a{
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.beginner-info:hover,
.user-info:hover,
.card-info:hover{
  opacity: .7;
  transition: all 0.2s ease;
}


.popup-2 .user-info:after{
  width: 20px;
  height: 20px;
  border-radius: 10px;
  background-color: #ffffff;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, .15);
  position: absolute;
  top: 0;
  right: 0;
  z-index: 50;
}

.card-info p:after{
  content: '';
  background-image: url(../images/arrow-r-h.svg);
  background-repeat: no-repeat;
  background-size: 15px;
  display: inline-block;
  width: 15px;
  height: 15px;
  top: 3px;
  position: relative;
}


/************   main   ************/

section {
  max-width: 1060px;
  margin: 130px auto 0;
  padding: 0 30px;
}

section.recent-news,
section.about
{
  max-width: 65%;
}

section.top_bnr_ttr
{
  margin: 50px auto 0;
  max-width: 70%;
}

main.news section{
  margin: 100px auto 0;
  padding: 50px 30px 100px;
}

main.contact section,
main.school-entry section{
  margin: 100px auto 0;
  padding: 10px 30px 100px;
}

main.entry section {
    margin: 0 auto;
    padding: 10px 30px 100px;
}


/*slider*/

section.slider{
  position: relative;
  max-width: 100%;
  margin: 115px 0 50px;
  overflow: hidden;
}

section.slider .mv-copy{
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  position: absolute;
  top: 50px;
  left: 80px;
  letter-spacing: .1em;
  line-height: 33px;
  z-index: 5;
}

section.slider img{
  width:100%;
  border-radius: 30px;
  height: calc(100vh - 140px);
  object-fit: cover;
}

section.slider .slick-dots{
  bottom: 15px;
}

section.slider .slick-dots li button:before{
  font-size: 40px;
}

section.slider .slick-dots li button:before{
  opacity: 1;
  color: #ffffff;
  opacity: .7;
}

section.slider .slick-dots li.slick-active button:before {
  opacity: 1;
  color: #ffffff;
}


/*flex-box関係*/

.flex-container{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.flex-container img{
  margin: 0 auto 30px;
  border-radius: 30px;
  max-width: 100%;
}

.flex-container .line-it-button img{
  margin: 0;
  border-radius: 0px;
}


.flex-container .line-it-qr img{
  margin: 0;
  border-radius: 0px;
  width: 8rem;
}


.flex-2box{
  width: 49%;
}
.flex-2box-54{
  width: 54%;
}
.flex-2box-44{
  width: 44%;
}

.flex-2box-l{
  width: 60%;
}

.flex-2box-s{
  width: 38%;
}

.flex-3box{
  width: 32%;
}

.flex-3box-s{
  width: 30%;
}

.flex-3box-l{
  width: 34%;
}

.flex-container-3box .flex-3box {
  margin-right: 2%;
}

.flex-container-3box img{
  max-width: 100%;
}

.flex-container-3box .flex-3box:nth-of-type(3n) {
  margin-right: 0;
}

/*top-page*/

main.top h1,
main.facilities .facilities-ttl h1{
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 5px;
  position: relative;
  display: inline-block;
  text-align: left;
}

main.top p.top-subttl,
main.facilities p.top-subttl{
  font-size: 14px;
  line-height: 22px;
  font-weight: 700;
  color: #0069D5;
  margin-bottom: 30px;
  letter-spacing: 0;
}

main.top h1:before{
  content: '';
  position: absolute;
  top: 50%;
  left: -405%;
  display: inline-block;
  width: 400%;
  height: 1px;
  background-color: #0069D5;
  z-index: -1;
}

.more-btn{
  margin: 30px auto 50px;
  background-color: #fff;
  width: 200px;
  height: 55px;
  position: relative;
  border-radius: 30px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, .15);
  color: #262626;
  line-height: 55px;
  vertical-align: middle;
  text-align: center;
  border-radius: 30px;
  transition: all 0.2s ease;
}

.more-btn a,
.pdf-btn a,
.form-page-link a{
  display: block;
  position: absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
}

.more-btn:hover {
  background-color: #47A2FC;
  transition: all 0.2s ease;
}
.more-btn a:hover{
  color: #fff;
}

.more-btn a:after{
  content: '';
  background-image: url(../images/arrow-r.svg);
  background-repeat: no-repeat;
  background-size: 15px;
  display: inline-block;
  width: 15px;
  height: 15px;
  top: 1px;
  margin: 0 -10px 0 10px;
  position: relative;
  transition: all 0.2s ease;
}

.more-btn a:hover:after{
  background-image: url(../images/arrow-r-h.svg);
  transition: all 0.2s ease;
}

.top-facilities .more-btn{
  margin: 0 0 0 auto ;
}

.pdf-btn{
  margin: 30px auto 50px;
  background-color: #fff;
  width: 220px;
  height: 55px;
  position: relative;
  border-radius: 30px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, .15);
  color: #262626;
  line-height: 55px;
  vertical-align: middle;
  text-align: center;
  border-radius: 30px;
  transition: all 0.2s ease;
}

/*.pdf-btn a{
  display: block;
  position: absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
}*/

.pdf-btn:hover {
  background-color: #FF7272;
  transition: all 0.2s ease;
}
.pdf-btn a:hover{
  color: #fff;
}

.pdf-btn a:before{
  content: '';
  background-image: url(../images/sg-icon-pdf.svg);
  background-repeat: no-repeat;
  background-size: 15px;
  display: inline-block;
  width: 15px;
  height: 20px;
  top: 3px;
  margin: 0 10px 0 0;
  position: relative;
  transition: all 0.2s ease;
}

.pdf-btn a:hover:before{
  background-image: url(../images/sg-icon-pdf-wh.svg);
  transition: all 0.2s ease;
}

.pdf-btn a:after{
  content: none;
}


.form-page-link{
  background-color: #47A2FC;
  width: 700px;
  height: 55px;
  border-radius: 30px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, .15);
  color: #ffffff;
  line-height: 55px;
  vertical-align: middle;
  text-align: center;
  border-radius: 30px;
  transition: all 0.2s ease;
  position: fixed;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
}

.form-page-link a{
  color: #ffffff;
}

.form-page-link:after{
  content: '';
  background-image: url(../images/arrow-b.svg);
  background-repeat: no-repeat;
  background-size: 15px;
  display: inline-block;
  width: 15px;
  height: 15px;
  top: 1px;
  margin: 0 -10px 0 10px;
  position: relative;
  transition: all 0.2s ease;
}


/*recent news*/

section.recent-news .tabs {
  padding-bottom: 40px;
  background-color: #fff;
  margin: 0 15px;
}

section.recent-news .tab_item {
  width: 19%;
  height: 45px;
  border-radius: 6px;
  line-height: 45px;
  font-size: 15px;
  text-align: center;
  color: #ffffff;
  display: block;
  margin-right: 1.25%;
  float: left;
  text-align: center;
  font-weight: bold;
  transition: all 0.2s ease;
  margin-bottom: 20px;
  position: relative;
}

section.recent-news .tab_item:hover {
  opacity: 0.75;
}

section.recent-news .tab_item.tab-all{ background-color: #2784E2; }
section.recent-news .tab_item.tab-info{ background-color: #F49930; }
section.recent-news .tab_item.tab-event{ background-color: #7DD13F; }
section.recent-news .tab_item.tab-lesson{ background-color: #FF525F; }
section.recent-news .tab_item.tab-others{ background-color: #FACB30; margin-right: 0; }

section.recent-news input[name="tab_item"] {
  display: none;
}

section.recent-news .tab_content {
  margin-top: 20px;
  display: none;
  height: 230px;
  clear: both;
  overflow-y: scroll;
  overflow-x: hidden;
}

section.recent-news .tab_content ul li {
  padding: 10px 20px;
  background-color: #F7F7F7;
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  position: relative;
  margin: 0 0 10px 0;
}

section.recent-news .tab_content ul li:last-child{
  margin: 0;
}

section.recent-news .tab_content ul li .news-date{
  font-size: 14px;
  margin-right: 10px;
  white-space: nowrap;
}

section.recent-news .tab_content ul li .news-ctg{
  padding: 3px 10px;
  color: #ffffff;
  border-radius: 5px;
  margin-right: 10px;
  white-space: nowrap;
  width: 75px;
  text-align: center;
}

section.recent-news .tab_content ul li .news-ctg.info{ background-color: #F49930;}
section.recent-news .tab_content ul li .news-ctg.event{ background-color:  #7DD13F;}
section.recent-news .tab_content ul li .news-ctg.lesson{ background-color: #FF525F;}
section.recent-news .tab_content ul li .news-ctg.others{ background-color: #FACB30;}

section.recent-news .tab_content ul li a{
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

#all:checked ~ #all_content,
#info:checked ~ #info_content,
#event:checked ~ #event_content,
#lesson:checked ~ #lesson_content,
#others:checked ~ #others_content {
  display: block;
}

.tabs input:checked + .tab_item:after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -10px;
  border: 10px solid transparent;
  border-top: 10px solid #2784E2;
}

.tabs input:checked + .tab_item.tab-all:after{ border-top: 10px solid #2784E2; }
.tabs input:checked + .tab_item.tab-info:after{ border-top: 10px solid #F49930; }
.tabs input:checked + .tab_item.tab-event:after{ border-top: 10px solid #7DD13F; }
.tabs input:checked + .tab_item.tab-lesson:after{ border-top: 10px solid #FF525F; }
.tabs input:checked + .tab_item.tab-others:after{ border-top: 10px solid #FACB30; }

/*about*/

section.about .bg-img{
  margin: 0 calc(50% - 50vw);
  width: 50vw;
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
  background: url(../images/sg-top-1.jpg) center center / cover no-repeat;
  height: 500px;
}

section.about .bg-img img{
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
}

section.about h2 {
  margin: 50px 0 20px;
  color: #0069D5;
  font-size: 20px;
  position: relative;
  text-align: left;
}

section.about h2 span{
  background-color: #fff;
  padding-right: 10px;
}

section.about h2:after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  display: inline-block;
  width: 100%;
  height: 1px;
  background-color: #0069D5;
  z-index: -1;
}

section.about .flex-center img{
  margin: 0 10px;
  border-radius: 0;
}

/*top-top_bnr_ttr*/

section.top_bnr_ttr div {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
section.top_bnr_ttr div img {
  width: 100%;
}

/*top-facilities*/

section.top-facilities .photos-wrap{
  margin: 0 calc(50% - 50vw) 100px;
}

section.top-facilities .photos {
  display: grid;
  grid-template-columns: 180px 180px 180px 180px 180px 180px 180px 180px 180px;
  grid-template-rows:  180px 180px;
}

section.top-facilities .photos-item {
  position: relative;
  border-radius: 30px;
  border: 5px solid #ffffff;
}

section.top-facilities .photos-item  p{
  position: absolute;
  bottom: -1px;
  right: -1px;
  padding: 0 0 0 10px;
  font-size: 12px;
  text-align: right;
  letter-spacing: 0;
  display: inline-block;
  background-color: #ffffff;
  border-top-left-radius: 10px;
}

section.top-facilities .item1{
  grid-row: 1 / 3;
  grid-column: 1 / 3;
  background: url(../images/sg-top-p-item1.jpg) center center / cover no-repeat;
}

section.top-facilities .item2{
  grid-row: 1 / 2;
  grid-column: 3 / 5;
  background: url(../images/sg-top-p-item2.jpg) center center / cover no-repeat;
}

section.top-facilities .item3{
  grid-row: 2 / 3;
  grid-column: 3 / 5;
  background: url(../images/sg-top-p-item3.jpg) center center / cover no-repeat;
}

section.top-facilities .item4{
  grid-row: 1 / 3;
  grid-column: 5 / 7;
  background: url(../images/sg-top-p-item4.jpg) center center / cover no-repeat;
}

section.top-facilities .item5{
  grid-row: 1 / 2;
  grid-column: 7 / 9;
  background: url(../images/sg-top-p-item5.jpg) center center / cover no-repeat;
}

section.top-facilities .item6{
  grid-row: 1 / 2;
  grid-column: 9 / 10;
  background: url(../images/sg-top-p-item6.jpg) center center / cover no-repeat;
}

section.top-facilities .item7{
  grid-row: 2 / 3;
  grid-column: 7 / 8;
  background: url(../images/sg-top-p-item7.jpg) center center / cover no-repeat;
}

section.top-facilities .item8{
  grid-row: 2 / 3;
  grid-column: 8 / 10;
  background: url(../images/sg-top-p-item8.jpg) center center / cover no-repeat;
}

/*アニメーション*/

@keyframes infinity-scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/*IE11対策*/
_:-ms-lang(x)::-ms-backdrop,
section.top-facilities .photos {
  display: -ms-grid;
  overflow: hidden;
}

section.top-facilities .photos-wrap {
  display: flex;
  overflow: hidden;
}

section.top-facilities .loop1{
  animation :infinity-scroll-left 60s infinite linear 0.5s both;
}

section.top-facilities .loop2{
  animation :infinity-scroll-left 60s infinite linear 0.5s both;
}

/*school & lesson*/


section.school-lesson .flex-container-3box .flex-3box{
  margin-bottom: 30px;
}

section.school-lesson .school-catch p{
  font-size: 18px;
  font-weight: 700;
  color: #0069D5;
  display: inline-block;
  background-color: #FACB30;
  padding: 8px 20px;
  border-radius: 25px;
  margin-left: 30px;
  position: relative;
}

section.school-lesson .more-btn{
  margin: 0 0 0 auto;
}

section.school-lesson .flex-container-3box {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

section.school-lesson .school-box{
  position:relative;
}

section.school-lesson .shool-tag p{
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  background-color: #FF525F;
  padding: 10px 20px;
  border-radius: 5px;
  position: absolute;
  top: -15px;
  left: 15px;
}

section.school-lesson .school-box a{
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

section.school-lesson h3{
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  margin: 30px 0 10px;
  text-align: left;
}

section.school-lesson h3:after{
  content: none;
}

section.school-lesson p{
  letter-spacing: 0;
}

.school-icon{
  display: flex;
  flex-wrap: wrap;
  margin: 20px 0 30px;
}

.school-icon p{
  color: #0069D5;
  background-color: #ffffff;
  border: 1px solid #0069D5;
  border-radius: 20px;
  margin: 0 5px 5px 0;
  padding: 0 10px;
  letter-spacing: 0;
}

section.school-lesson .school-icon{
  margin: 20px 0 0;
}

section.school-lesson .school-more{
  margin: 20px 0 0;
}


section.school-lesson .school-more p{
  font-size: 20px;
  font-weight: 700;
  color: #0069D5;
}

section.school-lesson .school-more p:after{
  content: '';
  background-image: url(../images/arrow-r.svg);
  background-repeat: no-repeat;
  background-size: 15px;
  display: inline-block;
  width: 15px;
  height: 15px;
  top: 1px;
  margin-left: 5px;
  position: relative;
  transition: all 0.2s ease;
}



section.access {
  max-width: 100%;
  background-image: url(../images/sg-top-2.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  padding: 120px 15px 110px;
  margin-bottom: 0;
  position: relative;
}

section.access h1{
  display: block;
  text-align: center;
  color: #ffffff;
}

section.access h1:before{
  content: none;
}

section.access p{
  text-align: center;
  font-weight: 700;
  color: #ffffff;
}

section.access p:after{
  content: '';
  background-image: url(../images/arrow-r-h.svg);
  background-repeat: no-repeat;
  background-size: 15px;
  display: inline-block;
  width: 15px;
  height: 15px;
  top: 2px;
  margin-left: 5px;
  position: relative;
  transition: all 0.2s ease;
}

section.access a{
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

section.link-box{
  max-width: 100%;
  background-color: #F7F7F7;
  padding: 45px 15px;
  margin: 0 auto;
}

section.link-box ul{
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

section.link-box ul li{
  margin-right: 20px;
}

section.link-box ul li:last-child{
  margin-right: 0;
}

.acms-grid-r > *:first-child {
    margin-top: 100px;
}

#monthly{
  width: 250px;
  position: fixed;
  right: 20px;
  bottom: 150px;
  z-index: 30;
}

#monthly .monthly-popup-close{
  display: block;
  padding: 4px;
  background-color: #fff;
  border-radius: 50%;
  position: absolute;
  top: -5px;
  right: -5px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, .15);
  z-index: 31;
}

#monthly .icon_image {
  width: 250px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, .5);
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

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

  #monthly{
    width: 150px;
    position: fixed;
    right: 20px;
    bottom: 150px;
    z-index: 30;
  }

  #monthly .icon_image {
    width: 150px;
  }

}

/************   footer   ************/



footer #page_top{
  width: 90px;
  height: 90px;
  position: fixed;
  right: 0;
  bottom: 50px;
  background: #fff;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, .15);
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  z-index: 30;
}

footer #page_top p{
  position: relative;
  font-size: 20px;
  top: 15px;
  text-align: center;
  display: block;
  color: #47A2FC;
  text-decoration: none;
}

footer #page_top p:before{
  content: url('../images/arrow-t.svg');
  display: block;
  margin-bottom: 5px;
}

footer .flex-container{
  max-width: 1200px;
  margin: 0 auto;
}

footer p,
footer a{
  color: #ffffff;
}

footer .sublink{
  font-size: 14px;
  background-color: #fff;
  padding: 20px 15px;
}

footer .sublink ul{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

footer .sublink ul li:after{
  content: "|";
  margin: 0 20px;
  color: #47A2FC;
}

footer .sublink ul li:last-child:after{
  content: none;
}

footer .sublink ul li a{
 color: #0069D5;
}

footer .footerlink{
  background-color: #2784E2;
  margin: 0 auto;
  padding: 45px 30px;
}

footer .footerlink .footer-logo{
  width: 265px;
}

footer .footerlink .tel{
  font-size: 25px;
  letter-spacing: 0;
  margin: 10px 0;
}

footer .footerlink .tel a{
  color: #ffffff;
}

footer .footerlink .tel a:hover{
  opacity: .7;
  transition: all 0.2s ease;
}

footer .footerlink .tel:before{
  content: '';
  background-image: url(../images/sg-icon-tel.svg);
  background-repeat: no-repeat;
  background-size: 25px;
  display: inline-block;
  width: 25px;
  height: 25px;
  top: 2px;
  margin-right: 5px;
  position: relative;
  transition: all 0.2s ease;
}

footer .footerlink .footer-menu li a{
  border-left: 2px solid #ffffff;
  padding: 0 20px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  line-height: 37px;
}

footer .footerlink .footer-menu ul li ul{
  display: block;
}

footer .footerlink .footer-menu ul li ul li a{
  border-style: none;
  font-size: 12px;
  font-weight: 500;
  line-height: 30px;
}


footer p.copyright{
  background-color: #2784E2;
  color: #ffffff;
  text-align: center;
  padding: 10px 15px 30px;
  margin-top: -1px;
}


/************   下層ページmain   ************/

/*共通*/

.bg-gray{
 background-color: #F7F7F7;
}

.bg-half-1{
 width: 100vw;
 position: relative;
 left: 50%;
 transform: translateX(-50%);
 background: linear-gradient(180deg, #ffffff 0%, #ffffff 70%, #F7F7F7 70%, #F7F7F7 100%);
}

.bg-half-2{
 width: 100vw;
 position: relative;
 left: 50%;
 transform: translateX(-50%);
 background: linear-gradient(180deg, #ffffff 0%, #ffffff 50%, #F7F7F7 50%, #F7F7F7 100%);
}

.ttl-box{
  background-color: #ffffff;
  padding: 50px;
  border-top: 3px solid #2784E2;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.user-point{
  max-width: 700px;
  margin: 20px auto;
}
.user-point p{
  border: 1px solid #2784E2;
  background-color: #ffffff;
  color: #0069D5;
  text-align: center;
  padding: 20px 30px;
  margin-bottom: 15px;
  letter-spacing: 0;
}

p.page-subttl{
  font-size: 16px;
  color: #0069D5;
  text-align: center;
}

.table-area{
  margin: 30px auto;  
}

.table-area table,
.acms-entry table{
  border-collapse: collapse;
  border-spacing: 0;
  border: 1px solid #707070;
  background-color: #ffffff;
  font-size: 13px;
  width: 90%;
  margin: 20px auto;
  text-align: center;
}

.acms-entry table{
  width: 100%;
  margin: 0 0 40px;
}

.table-area table th,
.acms-entry table th{
  background-color: #47A2FC;
  color: #ffffff;
  border: 1px solid #707070;
  padding: 20px;
}

.table-area table td,
.acms-entry table td{
  border: 1px solid #707070;
  padding: 20px;
}

main.news,
main.facilities,
main.guide,
main.school,
main.contact{
  margin-top: 180px;
}

main.news section.recent-news .tabs{
  background-color: transparent;
}

main.news section.recent-news .tab_content {
  margin-top: 20px;
  height: auto;
  clear: both;
  border-radius: 20px;
  padding: 30px;
  background-color: #ffffff;
}

main.news ul.news-pager li{
  text-align: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 20px;
  line-height: 40px;
  background-color: #ffffff;
  box-shadow: 0px 0px 10px rgb(0 0 0 / 15%);
  position: relative;
}

main.news ul.news-pager li:last-child{
  margin-right: 0;
}

main.news ul.news-pager li a{
  color: #0069D5;
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

main.news ul.news-pager li img{
  border-radius: 0;
  top: 12px;
  position: relative;
}

.news_subcategory {
    color: #fff;
    font-weight: normal;
    border-radius: 6px;
    font-size: 15px;
    padding: 5px 10px;
}
  .news_subcategory.info {
    background-color: #F49930;
}
    .news_subcategory.event {
    background-color: #7DD13F;
}
    .news_subcategory.lesson {
    background-color: #FF525F;
}
    .news_subcategory.others {
    background-color: #FACB30;
}
    .acms-pager {
    text-align: center;
    position: relative;
    margin-top: 50px;
}
    .acms-pager .next {
    position: absolute;
    right: 0;
    top: 0;
}
    .acms-pager .back {
    position: absolute;
    left: 0;
    top: 0;
}
    .acms-pager li a {
    background: #fff;
    display: inline-block;
    padding: 10px;
    color: #0069D5;
    box-shadow: 0px 0px 10px rgb(0 0 0 / 15%);
    border-radius: 10px;
}


main.facilities section{
  padding-bottom: 50px;
}

main.facilities .anchor-link,
main.guide .page-link{
  justify-content: center;
  margin-bottom: 100px;
}

main.facilities .anchor-link li{
  background-color: #F7F7F7;
  padding: 10px 30px;
  border-radius: 20px;
  margin-right: 20px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s ease;
  position: relative;
}

main.facilities .anchor-link li:last-child{
  margin-right: 0;
}

main.facilities .anchor-link li:hover{
  background-color: #47A2FC;
  color: #ffffff;
  transition: all 0.2s ease;
}

main.facilities .anchor-link a{
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: absolute;
}

main.facilities .facilities-ttl{
  flex-direction: row-reverse;
  padding: 0 30px;
  max-width: 1060px;
  margin: 95px auto 50px;
  padding-top: 150px;
}

main.facilities .facilities-ttl p{
  font-size: 14px;
  line-height: 28px;
  padding-right: 50px;
}

main.facilities .slider{
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

main.facilities .slider img{
  width:100%;
  border-radius: 30px;
}

main.facilities .slider .slick-dots{
  bottom: 45px;
}

main.facilities .slider .slick-dots li button:before{
  font-size: 40px;
}

main.facilities .slider .slick-dots li button:before{
  opacity: 1;
  color: #ffffff;
  opacity: .7;
}

main.facilities .slider .slick-dots li.slick-active button:before {
  opacity: 1;
  color: #ffffff;
}

main.facilities .facilities-container{
  max-width: 1060px;
  margin: 80px auto 0;
}

main.facilities .facilities-box{
  background-color: #ffffff;
  border-radius: 30px;
  padding: 30px;
  margin: 0 0 2%;
}

main.facilities .facilities-box h2{
  font-size: 18px;
  position: relative;
  margin-bottom: 10px;
  text-align: left;
}

main.facilities .facilities-box h2:before{
  content: '';
  position: absolute;
  top: 50%;
  left: -30px;
  display: inline-block;
  width: 20px;
  height: 1px;
  background-color: #0069D5;
  z-index: 1;
}

main.facilities .facilities-box p span{
  color: #FF7272;
}

main.facilities .facilities-box img{
  border-radius: 30px;
  margin: 20px auto;
}

main.facilities .facilities-box .more-btn{
  margin: 20px auto 0;
}



main.guide .page-link li{
  background-color: #FFFFFF;
  padding: 10px 30px 10px 50px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s ease;
  position: relative;
  border-left: 1px solid #2784E2;
  position: relative;
}

main.guide .page-link li:after{
  content: "";
  background-size: 20px;
  background-repeat: no-repeat;
  display: block;
  width: 20px;
  height: 20px;
  top: 10px;
  left: 20px;
  position: absolute;
}

main.guide .page-link li:nth-child(1):after{
  background-image: url(../images/sg-icon-beginner.svg);
}

main.guide .page-link li:nth-child(2):after{
  background-image: url(../images/sg-icon-user.svg);
}

main.guide .page-link li:nth-child(3):after{
  background-image: url(../images/sg-icon-card.svg);
  top: 13px;
}

main.guide .page-link li:last-child{
  border-right: 1px solid #2784E2;
}

main.guide .page-link li.on{
  background-color: #F2F7FF;
}

main.guide .page-link li:hover{
  background-color: #F2F7FF;
  transition: all 0.2s ease;
}

main.guide .page-link a{
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: absolute;
}

main.guide p{
  letter-spacing: 0;
}

main.guide span{
  color: #0069D5;
  font-weight: 700;
}

main.guide .benefit-box{
  background-color: #ffffff;
  padding: 20px 30px;
  border-radius: 30px;
  margin-bottom: 20px;
}

main.guide .benefit-box h5{
  color: #0069D5;
  text-align: center;
}

main.guide .benefit-box img{
  border-radius: 0;
  margin: 0 auto;
}

main.guide .flex-container-3box {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}


/* ------------ form ------------ */

main.guide  #form{
  margin-top: -65px;
  padding-top: 65px;
}

.formWrapper #formStep ul{
  display: flex;
  justify-content: space-between;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 48%, #F7F7F7 48%, #F7F7F7 52%, #ffffff 52%, #ffffff 100%);
}

.formWrapper #formStep ul li{
  background-color: #F7F7F7;
  width: 30%;
  margin-right: 5%;
  text-align: center;
  padding: 15px;
}

.formWrapper #formStep ul li.lastStep{
  margin-right: 0;
}

.formWrapper #formStep ul li#formStay{
  background-color: #ffffff;
  color: #0069D5;
  border: 1px solid #0069D5;
}

main.guide .formWrapper p{
  font-size: 16px;
}

.formWrapper p.message{
  margin: 30px 0;
}

.formWrapper p.message a{
  text-decoration: underline;
  color: #0069D5;
}

.formWrapper dl dt{
  float: left;
  width: 250px;
  background-color: #f7f7f7;
  padding: 0 15px;
  margin: 0 15px 15px 0;
  clear: both;
  line-height: 55px;
}

.formWrapper dl dd{
  margin: 0 0 15px 280px;
  line-height: 55px;
  vertical-align: middle;
}

.formWrapper span.applyform_required{
  color: #ffffff;
  font-size: 12px;
  background-color: #FF7272;
  padding: 4px 8px;
  margin-left: 10px;
}

.formWrapper p.applyform_notice{
  color: #333333;
  font-weight: 500;
  margin-left: 10px;
}

.formWrapper p.addr_text{
  display: inline-block;
}

.formWrapper span.addr_text{
  color: #262626;
  font-weight: 500;
}

.formWrapper span.applyform_point{
  color: #FF7272;
}

.formWrapper p.acms-admin-text-danger{
  color: #F82929;
}

.formWrapper dl dd input[type="text"]{
  line-height: 40px;
  vertical-align: middle;
  width: 300px;
  padding: 0 10px;
}

.formWrapper dl dd input[type="text"].input_text_wide{
  width: 85%;
}

.formWrapper dl dd select{
  line-height: 40px;
  vertical-align: middle;
  height: 40px;
  padding: 0 10px;
}

.formWrapper dl dd input[type="radio"]#radio1-b,
.formWrapper dl dd input[type="radio"]#radio2-b,
.formWrapper dl dd input[type="radio"]#radio3-b,
.formWrapper dl dd input[type="radio"]#radio5-b{
  margin-left: 30px;
}

.formWrapper .applyform_info{
  margin: 80px 0;
  padding: 40px;
  border-top: 1px solid #707070;
  border-bottom: 1px solid #707070;
}

.formWrapper .applyform_info h4{
  text-align: center;
  margin-bottom: 20px;
  font-size: 18px;
}

.formWrapper .applyform_info p{
  margin-bottom: 20px;
}

.formWrapper .formBtn{
  text-align: center;
  margin-bottom: 100px;
}

.formWrapper .formBtn input[type="submit"]{
  line-height: 60px;
  width: 250px;
  border-radius: 30px;
  border-style: none;
  background-color: #47A2FC;
  color: #ffffff;
  margin-bottom: 20px;
}

.formWrapper .applyform_btn{
  display: block;
  margin: 50px auto;
  line-height: 60px;
  width: 250px;
  text-align: center;
  border-radius: 30px;
  position: relative;
  left: 0;
  border: 1px solid #0069D4;
  background-color: #ffffff;
  color: #0069D5;
}

/* ------------ form ------------ */

main.school .flex-container{
  margin-bottom: 30px;
}

main.school .school-icon{
  margin: 0 0 10px;
}

main.school section p a{
  color: #0069D5;
  border-bottom: 1px solid #0069D5;
  padding-bottom: 3px;
}

main.contact .tel-box{
  z-index: 10;
  text-align: center;
}

main.contact .tel-box img{
  border-radius: 0;
  margin: 10px auto;
  max-width: 100%;
}

main.contact .faq{
  max-width: 100%;
  background-color: #ffffff;
  border: 5px solid #ffffff;
}

main.contact .faq .question{
  background-color: #F2F7FF;
  padding: 15px 20px;
}

main.contact .faq .answer{
  background-color: #ffffff;
  padding: 15px 20px;
}

main.contact .faq .question p{
  font-size: 14px;
  font-weight: 700;
  margin: 0;
}

main.contact .faq .answer p{
  font-size: 13px;
  margin: 0;
}

main.contact .faq .question p:nth-child(1),
main.contact .faq .answer p:nth-child(1){
  width: 50px;
  font-size: 30px;
  font-weight: 700;
  color: #0069D5;
}

main.contact .faq .question p:nth-child(2),
main.contact .faq .answer p:nth-child(2){
  width: calc(100% - 50px);

}

/************   微調整   ************/

.flex-center{
  justify-content: center;
}

.flex-start{
  justify-content: start;
}

.ta-r{
  text-align: right;
}

.fs-28{
  font-size: 28px;
}

.lh-25{
  line-height: 25px;
}

.lh-30{
  line-height: 30px;
}

.mb-30{
  margin-bottom: 30px;
}

.mb-70{
  margin-bottom: 70px;
}

.mb-100{
  margin-bottom: 100px;
}

.mt-80{
  margin-top: 80px;
}

.mt-50{
  margin-top: 50px;
}

.mt-30{
  margin-top: 30px;
}

.mt-25{
  margin-top: 25px;
}

.mw-740{
  max-width: 740px;
  margin: 0 auto; 
}

.pl-30{
  padding-left: 30px;
}

.br-30{
  border-radius: 30px;
}

.ta-center{
  text-align: center;
}

@media screen and (max-width: 1700px){
  section.recent-news,
  section.about{
    max-width: 70%;
  }
}


@media screen and (max-width: 1500px){
  header .nav-pc {
    padding: 20px 140px 0 30px;
  }

  header .nav-pc .menu-group{
    padding-left: 10px;
  }

  section.recent-news,
  section.about{
    max-width: 1060px;
  }

}

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



  header .nav-pc ul.nav li {
    font-size: 14px;
    letter-spacing: 0;
    margin-right: 15px;
  }

  header .nav-pc ul.nav li ul {
    width: 200px;
    z-index: 95;
  }

  section {
    margin: 90px auto 0;
  }

  footer .footer-address{
    width: 100%;
    text-align: center;
  }

  footer .footer-menu{
    width: 100%;
    margin: 0 auto; 
  }

  footer .footerlink .footer-logo {
    margin: 0 auto;
  }

}

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

  header .nav-pc ul.nav li {
    font-size: 13px;
  }

  header .nav-pc .header-logo {
    width: 25%;
  }

  header .nav-pc .header-logo img{
    height: 40px;
  }

  header .nav-pc .menu-group {
    width: 75%;
  }

  main.top h1,
  main.facilities .facilities-ttl h1{
    font-size: 30px;
  }

}

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

  .pc{ display: none; }
  .sp{ display: block; }

  header .nav-pc{
    display: none;
  }

  header .bg-black{
    display: none;
    width: 100%;
    height: 100vh;
    background-color: #000;
    z-index: 89;
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0;
  }

  header .bg-black.disp{
    display: block;
    opacity: .2;
  }

  header .nav-sp{
    display: none; /*一旦非表示*/
    width: 320px;
    height: calc( 100vh - 10vw);
    position: fixed;
    top: 0;
    right: 0;
    padding: 0;
    background-color: #fff;
    border-bottom-left-radius: 20px;
    z-index: 99;
    top: 0;
    overflow-y: scroll;
  }

  header .nav-sp.open{
    display: block;
  }

  header .nav-sp .header-logo {
    width: 250px;
    margin-bottom: 10px;
    padding: 20px 0 10px 30px;
  }

  header .nav-sp .header-logo img{
    max-width: 100%;
  }  

  header .nav-sp .menu-group{
    width: 100%;
    margin: 0;
    padding: 0;
  }

  header .nav-sp ul.nav li{
    padding: 0 30px;
    font-size: 13px;
    font-weight: 700;
    line-height: 30px;
  }

  header .nav-sp ul.nav li ul li{
    padding-left: 0;
    font-size: 12px;
  }

  header .nav-sp ul.nav li ul li:nth-child(1):before{
    content: '';
    background-image: url(../images/sg-icon-beginner.svg);
    background-repeat: no-repeat;
    background-size: 15px;
    display: inline-block;
    width: 15px;
    height: 15px;
    top: 3px;
    margin-right: 10px;
    position: relative;
  }

  header .nav-sp ul.nav li ul li:nth-child(2):before{
    content: '';
    background-image: url(../images/sg-icon-user.svg);
    background-repeat: no-repeat;
    background-size: 15px;
    display: inline-block;
    width: 15px;
    height: 15px;
    top: 3px;
    margin-right: 10px;
    position: relative;
  }

  header .nav-sp ul.nav li ul li:nth-child(3){
    width: 250px;
    height: 90px;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    margin: 5px 0;
  }

  header .nav-sp ul.nav li ul li:nth-child(3) a{
    color: transparent;
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
  }

  header .nav-sp ul.nav li ul li:nth-child(3)::before{
    content: '';
    display: block;
    vertical-align: top;
    width: 250px;
    height: 90px;
    background-image: url(../images/sg-card-bnr.png);
    background-repeat: no-repeat;
    background-size: 250px;
    top: 0;
  }


  header .nav-sp .line-it-button{
    padding: 30px 30px 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 30px;
  }

  header nav .sp-menu-contact{
    background-color: #F2F7FF;
    border-top: 1px solid #47A2FC;
    border-bottom: 1px solid #47A2FC;
    margin: 10px 0;
  }

  header .nav-sp ul.nav li.sp-menu-contact{
    line-height: 40px;
  }

  header .nav-sp ul.nav li.sp-menu-contact:before{
    content: '';
    background-image: url(../images/sg-icon-tel-bl.svg);
    background-repeat: no-repeat;
    background-size: 25px;
    display: inline-block;
    width: 25px;
    height: 25px;
    top: 6px;
    margin-right: 5px;
    position: relative;
    transition: all 0.2s ease;
  }

  header nav ul.sp-menu-others{
    margin: 10px 0;
  }

  header nav ul.sp-menu-others li{
    padding: 0 30px;
    line-height: 28px;
  }

  header nav ul.sp-menu-others a{
    font-size: 12px;
    color: #656565;
    width: 100%;
  }

  header .sp-menu-btn{
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    background-color: #2784E2;
    width: 60px;
    height: 60px;
    border-bottom-left-radius: 20px;
    z-index: 100;
    margin: 0;
    padding: 10px 13px;
  }

  header .sp-menu-btn.bg-white{
    background-color: #ffffff;
  }

  header .menu-trigger,
  header .menu-trigger span {
    display: inline-block;
    box-sizing: border-box;
  }
  header .menu-trigger {
    position: relative;
    width: 35px;
    height: 28px;
    background: none;
    border: none;
    appearance: none;
    cursor: pointer;
  }
  header .menu-trigger:focus:not(:focus-visible) {
    outline: none;
  }
  header .menu-trigger::before,
  header .menu-trigger::after {
    content: '';
  }
  header .menu-trigger::before,
  header .menu-trigger::after,
  header .menu-trigger span {
    position: absolute;
    width: 100%;
    height: 4px;
    background: #fff;
    border-radius: 4px;
    transform-origin: 50% 50%;
    transition: .2s;
  }
  header .menu-trigger::before {
    top: 12px;
    left: 0;
    transform: rotate(45deg) scaleX(0);
  }
  header .menu-trigger::after {
    top: 12px;
    right: 0;
    transform: rotate(-45deg) scaleX(0);
  }
  header .menu-trigger span:nth-of-type(1) {
    top: 0;
    left: 0;
    transition-delay: .2s;
  }
  header .menu-trigger span:nth-of-type(2) {
    top: 12px;
    left: 0;
    transition-delay: .2s;
  }
  header .menu-trigger span:nth-of-type(3) {
    bottom: 0;
    left: 0;
    transition-delay: .2s;
  }

  header .menu-trigger.active::before {
    transform: rotate(30deg) scaleX(1);
    transition-delay: .2s;
    background-color: #2784E2;
  }
  header .menu-trigger.active::after {
    transform: rotate(-30deg) scaleX(1);
    transition-delay: .2s;
    background-color: #2784E2;
  }
  header .menu-trigger.active span {
    transform: scaleX(0);
    transition-delay: 0s;
  }

  main.top h2,
  main.news h2,
  main.facilities h2,
  main.guide h2,
  main.school h2,
  main.contact h2 {
    font-size: 22px;
    line-height: 30px;
  }

  main.top h3,
  main.facilities h3,
  main.guide h3,
  main.school h3,
  main.contact h3{
    font-size: 18px;
    margin: 80px 0 30px;
  }

  main.top h1,
  main.facilities .facilities-ttl h1{
    font-size: 30px;
    line-height: 33px;
    margin-bottom: 5px;
  }

  section {
    margin: 50px auto 0;
    padding: 0 15px 10px;
  }

  section.top_bnr_ttr
{
  margin: 0 auto;
  max-width: 80%;
}

  main.news section,
  main.contact section {
    margin: 50px auto 0;
    padding: 10px 15px 80px;
  }

  section.logo-sp{
    max-width: 400px;
    margin:10px auto;
    padding-right: 80px;
    height: 55px;
  }

  section.logo-sp img{
    max-width: 100%;
  }

  /*slider*/

  section.slider img {
    height: calc(100vh - 90px);
    border-radius: 20px;
  }

  section.slider{
    margin: 0;
  }

  section.slider .mv-copy{
    font-size: 14px;
    top: 30px;
    left: 50px;
    letter-spacing: .1em;
    line-height: 28px;
  }
  
  .popup-container{
    display: none;
  }

  section.userguide-sp{
    margin:0 auto;
  }

  section.userguide-sp .beginner-info-sp,
  section.userguide-sp .user-info-sp {
    margin: 0 0 15px;
    background-color: #fff;
    width: 48%;
    height: 55px;
    position: relative;
    border-radius: 30px;
    box-shadow: 0px 0px 20px rgb(0 0 0 / 15%);
    color: #262626;
    line-height: 55px;
    vertical-align: middle;
    text-align: center;
    border-radius: 30px;
    transition: all 0.2s ease;
    font-size: 13px;
  }

  section.userguide-sp .card-info-sp{
    margin: 0 0 30px;
    padding: 15px 0 15px 50px;
    background-color: #2784E2;
    width: 100%;
    position: relative;
    border-radius: 30px;
    box-shadow: 0px 0px 20px rgb(0 0 0 / 15%);
    color: #ffffff;
    line-height: 80px;
    vertical-align: middle;
    text-align: center;
    border-radius: 30px;
    transition: all 0.2s ease;
    font-size: 13px;
  }

  section.userguide-sp .card-info-sp p{
    line-height: 28px;
  }

  section.userguide-sp .card-info-sp p span {
    background-color: #FFCE00;
    color: #0069D5;
    font-size: 13px;
    padding: 5px 10px;
    border-radius: 15px;
  }

  section.userguide-sp .beginner-info-sp a,
  section.userguide-sp .user-info-sp a,
  section.userguide-sp .card-info-sp a {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  section.userguide-sp .beginner-info-sp a:before{
    content: '';
    background-image: url(../images/sg-icon-beginner.svg);
    background-repeat: no-repeat;
    background-size: 15px;
    display: inline-block;
    width: 15px;
    height: 15px;
    top: 3px;
    margin-right: 10px;
    position: relative;
  }

  section.userguide-sp .user-info-sp a:before{
    content: '';
    background-image: url(../images/sg-icon-user.svg);
    background-repeat: no-repeat;
    background-size: 15px;
    display: inline-block;
    width: 15px;
    height: 15px;
    top: 4px;
    margin-right: 10px;
    position: relative;
  }

  section.userguide-sp .card-info-sp p:before{
    content: '';
    background-image: url(../images/sg-icon-cardhand.svg);
    background-repeat: no-repeat;
    background-size: 50px;
    display: inline-block;
    width: 50px;
    height: 50px;
    top: 20px;
    margin-left: -55px;
    position: absolute;
  }

  section.userguide-sp .card-info-sp p:after {
    content: '';
    background-image: url(../images/arrow-r-h.svg);
    background-repeat: no-repeat;
    background-size: 15px;
    display: inline-block;
    width: 15px;
    height: 15px;
    top: 3px;
    position: relative;
  }


  .flex-sp1box{
    width: 100%;
  }
  .flex-sp2box{
    width: 49%;
  }

  .flex-container-3box {
   display: flex;
   flex-wrap: wrap;
   justify-content: flex-start;
  }

  .flex-container-3box .flex-3box:nth-of-type(3n){
    margin-right: 2%;
  }

  .flex-sp2box:nth-of-type(2n) {
    margin-right: 0;
  }

  .sp-br-20{
    border-radius: 20px;
  }

  .flex-container img{
    border-radius: 20px;
    max-width: 100%;
  }

  section.recent-news select {
    -webkit-appearance:none;
    appearance:none;
    width: 100%;
    height: 50px;
    padding: 0 20px;
    line-height: 50px;
    border-style: none;
    border-radius: 5px;
    background-color: #2784E2;
    color: #ffffff;
    font-weight: 700;
  }

  section.recent-news select::after{
    content:"";
    display:block;
    width:10px;
    height:10px;
    position:absolute;
    right:5%;
    top:35%;
    border-bottom:#333 2px solid;
    border-right:#333 2px solid;
    transform:rotate(45deg)translateY(-30%);
  }

  /*ここを変更*/
  .tabs input:checked + .tab_item.tab-all:after{ border-top: 10px solid #2784E2; }
  .tabs input:checked + .tab_item.tab-info:after{ border-top: 10px solid #F49930; }
  .tabs input:checked + .tab_item.tab-event:after{ border-top: 10px solid #7DD13F; }
  .tabs input:checked + .tab_item.tab-lesson:after{ border-top: 10px solid #FF525F; }
  .tabs input:checked + .tab_item.tab-others:after{ border-top: 10px solid #FACB30; }


  section.recent-news .tab_content {
    display: block;
  }

  section.recent-news .tab_content:nth-of-type(n+2){
    display: none; 
  }

  section.recent-news .tab_content ul li {
    flex-wrap: wrap;
  }

  section.recent-news .tab_content ul li .news-ctg {
    margin-bottom: 5px;
  }

  section.recent-news .more-btn{
    margin-top: 20px;
  }

  section.about .mb-100{
    margin-bottom: 0;
  }

  section.about .bg-img {
    margin: 0 calc(50% - 50vw);
    width: 90vw;
    height: 300px;
    margin-bottom: 30px;
  }

  section.about .flex-center{
    text-align: center;
  }

  section.about .flex-center img{
    max-width: 150px;
    margin: 0 10px;
  }

  section.about .about-point{
    margin-left: -30px;
  }

  section.top-facilities .photos-wrap{
    margin-bottom: 30px;
  }

  section.top-facilities .more-btn{
    margin: 0 auto;
  }

  section.school-lesson .school-catch p {
    font-size: 15px;
    margin-bottom: 30px;
  }

  section.school-lesson .shool-tag p {
    font-size: 14px;
    padding: 5px 10px;
  }

  section.school-lesson h3 {
    font-size: 14px;
    margin: 15px 0 5px;
  }

  section.school-lesson h3:after{
    content: none;
  }

  section.school-lesson .school-icon {
    display: flex;
    flex-wrap: wrap;
    margin: 10px 0 0;
  }

  section.school-lesson .school-more {
    margin: 0;
  }

  section.school-lesson .school-more p {
    font-size: 15px;
  }

  section.school-lesson .school-more p:after {
    top: 3px;
  }

  section.school-lesson .more-btn{
    margin: 0 auto;
  }

  section.link-box{
    /*max-width: 100%;
    background-color: #F7F7F7;*/
    padding: 30px 15px;
  }

  section.link-box img{
    margin: 0 auto;
  }

  section.link-box ul{
    margin: 0 auto;
    display: block;
  }

  section.link-box ul li{
    margin-right: 0;
    margin-bottom: 10px;
    text-align: center;
  }

  section.link-box ul li:last-child{
    margin-bottom: 0;
  }

  footer .footerlink{
    padding: 45px 30px 0;
  }

  footer .sublink{
    font-size: 13px;
    flex-wrap: wrap;
  }

  footer .sublink ul li:after {
    margin: 0 10px;
  }

  footer .footer-menu{
    display: none;
  }

  footer p.copyright{
    font-size: 12px;
  }

  /************   下層ページmain   ************/

  .bg-half-1{
   background: #FFFFFF;
   padding-bottom: 30px;
  }

  main.top h1,
  main.facilities h1,
  main.guide h1,
  main.school h1,
  main.contact h1{
    font-size: 25px;
    line-height: 25px;
  }

  p.page-subttl{
    font-size: 14px;
    margin-bottom: 5px;
  }

  main.news,
  main.facilities, 
  main.guide,
  main.school,
  main.contact {
    margin-top: 50px;
  }


  main.news section{
    padding-top: 50px;
  }

  main.news ul.news-pager{
    margin-top: 30px;
  }

  main.news ul.news-pager li{
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin-right: 10px;
    line-height: 35px;
  }

  main.news ul.news-pager li:last-child{
    margin-right: 0;
  }

  main.news ul.news-pager li img{
    border-radius: 0;
    top: 10px;
    position: relative;
  }


  main.facilities section{
    padding-bottom: 10px;
  }

  main.facilities .anchor-link{
    margin-bottom: 50px;
  }

  main.facilities .facilities-ttl{
    padding: 30px 15px 0;
    margin: 0;
  }

  main.facilities .facilities-ttl p{
    font-size: 14px;
    line-height: 28px;
    padding-right: 0;
  }

  main.facilities .slider img{
    border-radius: 20px;
  }

  main.facilities .facilities-container{
    margin: 30px auto 0;
  }

  main.facilities .facilities-box{
    border-radius: 20px;
    padding: 20px;
    margin: 0 0 15px;
  }

  main.facilities .facilities-box h2{
    font-size: 16px;
    line-height: 22px;
    text-align: left;
  }

  main.facilities .facilities-box h2:before{
    left: -20px;
    width: 15px;
  }

  main.facilities .facilities-box img{
    border-radius: 20px;
    margin: 10px auto;
  }

  main.guide .page-link{
    margin-bottom: 50px;
  }

  main.guide .page-link li{
    width: 30%;
    padding: 10px 10px 10px 50px;
  }

  /* ------------ form ------------ */

  main.guide  #form{
    margin-top: 0;
    padding-top: 0;
  }

  .formWrapper dl dt{
    float: none;
    width: 100%;
  }

  .formWrapper dl dd{
    margin: 15px;
  }

  main.guide .formWrapper p {
    font-size: 16px;
    line-height: 30px;
    margin-bottom: 10px;
  }

  .formWrapper p.applyform_notice{
    margin-left: 0;
  }

  .formWrapper p.addr_text{
    display: block;
    margin: 10px 0 0 0;
  }

  .formWrapper dl dd input[type="text"],
  .formWrapper dl dd input[type="text"].input_text_wide{
    width: 100%;
  }

  .formWrapper dl dd input[type="text"].input-zip{
    width: 200px;
  }

  .formWrapper .applyform_info{
    padding: 20px;
  }

  /* ------------ form ------------ */


  /*共通*/

  .ttl-box{
    background-color: #ffffff;
    padding: 30px;
    border-top: 3px solid #2784E2;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
  }

  .user-point{
    max-width: 700px;
    margin: 20px auto;
  }
  .user-point p{
    border: 1px solid #2784E2;
    background-color: #ffffff;
    color: #0069D5;
    text-align: center;
    padding: 15px;
    margin-bottom: 10px;
  }

  .form-page-link {
    width: calc(100% - 120px);
    line-height: 24px;
    padding: 15px 40px 15px;
    height: auto;
    left: 0;
    transform: translateX(15px);
  }

  .pdf-btn {
      margin: 10px auto;
  }

  .table-area table{
    font-size: 12px;
    width: 100%;
  }

}

@media screen and (max-width: 700px){
 .ttl-box {
   margin: 0 15px;
 }
}

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

  section.slider .mv-copy {
    font-size: 13px;
    top: 20px;
    left: 40px;
    letter-spacing: .1em;
    line-height: 25px;
  }

  main.guide .page-link{
    display: block;
  }

  main.guide .page-link li{
    margin: 0 auto;
    text-align: center;
    width: 80%;
    border-right: 1px solid #2784E2;
    padding: 10px 30px 10px 50px;
  }

  footer #page_top,
  .form-page-link{
    bottom: 15px;
  }

}

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

  .card-info-sp {
    padding: 15px 0;
  }

  .beginner-info-sp a:before,
  .user-info-sp a:before,
  .card-info-sp p:before{
    content: none;
  }
}


.insta_list{
  display: flex;
  flex-wrap: nowrap;
  list-style: none;
  justify-content: space-between;
  margin-bottom: 20px;
}

.insta_list img{
  width: 150px;
  height: 150px;
  object-fit: cover;
  font-family: 'object-fit: cover;';
}

@media screen and (max-width: 1030px) {
  .insta_list img {
    width: 13vw;
    height: 13vw;
  }
}

@media screen and (max-width: 768px){
  .insta_list {
    flex-wrap: wrap;
  }
  .insta_list img {
      width: 28vw;
      height: 28vw;
      margin-bottom: 5vw;
  }
}


/* 20240701 popup-container　追加 */
.flex-container-line{
  margin:auto;
  text-align: center;
}

.flex-container-line img{
  margin: 5px 0;
  border-radius: 30px;
}

@media screen and (max-width: 930px){
  .flex-container-line img{
    width: 150px;
    height: 50px;
  }
}

@media screen and (min-width: 930px){
  .flex-container_head {
    display: flex;
  }
  .popup-1 .flex-container,
  .popup-2 .flex-container
  {
    display: block;
  }
  main.top .popup-1 .beginner-info,
  main.top .popup-2 .beginner-info{
  padding-left: 15px;
  border-color: #FFF;
  border-top-right-radius: 30px;
  }
  main.top .popup-1 .user-info,
  main.top .popup-2 .user-info{
    padding-left: 15px;
  }
  .flex-container-line{
    margin:auto;
    text-align: center;
  }
  .flex-container-line img{
    margin: 5px 0;
    border-radius: 30px;
  }
  .flex-container-line .line-it-qr img{
    margin: 0;
    border-radius: 0px;
    width: 5rem;
  }
}
/* *********************************** */