@media screen and (max-width: 1100px){
.headerBox{
	width: 96%;
}
#contentTop, #footer, .headerBox2, #content {
    width: 90%;
}
h2.topTi{
	padding: 3% 0;
}
h2.topTi img {
    height: 70px;
}
h2.mainTi {
    background-size: 100%!important;
    padding: 5%;
}
h3.topTi img{
	width: 100%;
}
.footerLeft {
    width: 50%;
}
#gnavi2 ul {
    width: 80%;
}
#gnavi2 li {
    width: 13%;
    margin-right: 3%;
}
#gnavi2 li img{
    height: 100%;
}
.enquiriesBox dt {
	font-size: 2em;
}
}

@media screen and (max-width: 950px){
/*
Base
------------------------------------------------------------
*/
.sp{
	display: block;
}
.pc{
	display: none;
}
#topcontrol{
	display: none;
}
#content {
	margin-bottom: 10%;
}
#contentTop {
    margin-bottom: 10%;
}
#main {
	width: 100%;
	margin-bottom: 50px;
}
#sub {
	width: 100%;
}
.mainImg {

}
#breadcrumbList{

}
.section{
	padding: 5%;
}

/*
h_tag
------------------------------------------------------------
*/
h2.topTi{
	background: none;
	padding: 0;
	margin-bottom: 5%;
}
table.contactform th span {
    display: block;
    font-size: .7em;
    margin: 0 auto .5em;
}
h3.title {
    padding: 0 0 .5em 50px;
    margin-bottom: 5%;
}
h3.subTi img {
    height: 24px;
}

/*
Header
------------------------------------------------------------
*/
header{
	display: none;
}
h1.top2 {
    width: 50%;
    margin: 10% auto;
}
h1.secound2 {
    width: 15%;
    margin: 3% auto 5%;
}
#ham-menu {
	background-color: #fffbd7;
    box-sizing: border-box;
    height: 100%;
    position: fixed;
    right: -300px;
    top: 0;
    -webkit-transition: all 0.3s linear 0s;
    -o-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;
    width: 300px;
    z-index: 1000;
    font-size: 1.2em;
}
#ham-menu li a{
	border-bottom: 1px solid #333;
	padding: 1em 2em;
	position: relative;
	display: block;
	width: 100%;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
}
#ham-menu li a:after{
	   position: absolute;
    content: '';
    top: 0;
    bottom: 0;
    right: 7%;
    margin: auto;
    width: 5px;
    height: 5px;
    border: 0px;
    border-top: solid 1px #333;
    border-right: solid 1px #333;
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg); 
}
#menu-background {
    background-color: #333;
    display: block;
    height: 100%;
    opacity: 0;
    position: fixed;
    right: 0;
    top: 0;
   -webkit-transition: all 0.3s linear 0s;
    -o-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;
    width: 100%;
    z-index: -1;
}
#menu-icon {
    border-radius: 0 0 0 10px;
    color: #7d6b3f;
    cursor: pointer;
    display: block;
    font-size: 50px;
    height: 50px;
    line-height: 50px;
    position: fixed;
    right: 0;
    text-align: center;
    top: 0;
    width: 50px;
   -webkit-transition: all 0.3s linear 0s;
    -o-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;
    z-index: 1000;
}
#menu-cb {
    display: none;
}
#menu-cb:checked ~ #ham-menu,
#menu-cb:checked ~ #menu-icon {
    -webkit-transform: translate(-300px); 
    -o-transform: translate(-300px); 
    transform: translate(-300px);
}
#menu-cb:checked ~ #menu-background {
    opacity: 0.5;
    z-index: 999;
}
#gnavi {
    letter-spacing: -.5em;
    margin-bottom: 5%;
}
#gnavi li {
    letter-spacing: normal;
    vertical-align: top;
    display: inline-block;
    width: 30%;
    margin-right: 5%;
    position: static;
	margin-bottom: 5%;
}
#gnavi li:nth-child(3n){
	margin-right: 0;
}
#gnavi li a, #gnavi li:nth-child(3) a, #gnavi li:nth-child(4) a, #gnavi li:nth-child(5) a {
    width: 100%;
    height: 100%;
    padding-bottom: 25%;
}

/*
top
------------------------------------------------------------
*/
.topWrap {
    background: #fffbd7;
	padding: 5% 0;
}
.topWrapTop {
    width: 100%;
    vertical-align: bottom;
}
.topWrapBtm{
	width: 100%;
}
p.topP {
    /* margin-bottom: 5%; */
}
ul.blogList {
    width: 90%;
    margin: 0 auto 1%;
}
ul.blogList li ,ul.blogList li:nth-child(3n) {
    letter-spacing: normal;
    vertical-align: top;
    display: inline-block;
    width: 45%;
    margin-right: 10%;
	margin-bottom: 5%;
}
ul.blogList li:nth-child(2n){
	margin-right: 0;
}
ul.blogList li dt{
	/*max-height: 200px;*/
}
ul.blogList{
	margin-bottom: 1%;
}
.inner {
    width: 90%;
}
p.topP {
    margin-bottom: 3.75em;
    font-size: 1.15em;
    font-weight: 600;
    text-align: left;
    margin-top: 2.5rem;
}
.calender {
/* 	background: #fff; */
    margin-left: -6%;
    width: calc(100% + 12%);
	padding: 8% 4%;
/*     padding: 0 4% 8%; */
}
.calender img {
	margin-top: -13vw;
}
.section_02 {
	margin-bottom: 15vw;
}

/*
Footer
------------------------------------------------------------
*/
.footerLeft {
    width: 60%;
}
.footerRight {
    width: 40%;
    font-size: .8em;
}

/*
wordpress
------------------------------------------------------------
*/
.accordionlist dt .title .Ti {
    font-size: 1.5em;
}
.basicTable {
    width: 100%;
    font-size: 1em;
}
.accordionlist>dd{
	font-size: 1em;
}
p.catTi img{
	width: 100%;
}
.enquiriesBox dt {
    float: none;
    width: 100%;
    margin-bottom: 2%;
    text-align: center;
}
.enquiriesBox dd {
    float: none;
    font-size: 1.15em;
    width: 100%;
    line-height: 1.7em;
}
table.contactform th span {
    display: block;
    font-size: .7em;
    margin: 0 auto .5em;
}
ul.photo {
    margin-bottom: 5%;
}
.wp-pagenavi {
    margin-bottom: 5%;
}
dl.aboutBox {
    font-size: 1.4em;
}

/*
other
------------------------------------------------------------
*/
.img20 {
	width: 20%;
	margin: 0 40% 10px;
}
.img30 {
	width: 30%;
	margin: 0 35% 10px;
}
.img40 {
	width: 40%;
	margin: 0 30% 10px;
}
.img50 {
	width: 50%;
	margin: 0 25% 10px;
}
.img60 {
	width: 60%;
	margin: 0 20% 10px;
}
.img70 {
	width: 70%;
	margin: 0 15% 10px;
}
.img80 {
	width: 80%;
	margin: 0 10% 10px;
}
}

@media screen and (max-width: 640px){
/*
Base
------------------------------------------------------------
*/
#breadcrumbList {
    font-size: .8em;
}
.pctb{
	display: none;
}
.ssp{
	display: block;
}

/*
h_tag
------------------------------------------------------------
*/
 h2.topTi img {
    height: auto;
    width: 100%;
}
h2.mainTi{
	font-size: 1em;
    padding: 7% 1em;
}
.blogBox h2.mainTi {
    background: url(../images/blogTi2Sp.png) no-repeat left;
}
.enquiriesBox h2.mainTi {
    background: url(../images/enquiriesTiSp.svg) no-repeat top left;
}
.classesBox h2.mainTi {
    background: url(../images/classesTiSp.png) no-repeat top left;
}
.accessBox h2.mainTi {
    background: url(../images/accessTiSp.svg) no-repeat top left;
}
.aboutBox h2.mainTi {
    background: url(../images/aboutTiSp.svg) no-repeat top left;
}
.photoBox h2.mainTi {
    background: url(../images/photoTiSp.svg) no-repeat top left;
}
h3.topTi {
    margin-bottom: 1em;
}
h3.title {
    padding: 0 0 .5em 30px;
    margin-bottom: 1em;
    font-size: 1.15em;
}
h3.title:before {
    width: 25px;
}
h3.subTi {
    padding: 1em 1em 1em 70px;
	margin-bottom: 1em;
}
h3.subTi img{
	height: 20px;
}
.youtubeTi {
    max-width: 300px;
    margin: 0 auto 20px;
}

/*
header
------------------------------------------------------------
*/
h1.top {
    width: 80%;
    margin: 10% auto;
}
nav#gnavi {
    width: 70%;
	margin-bottom: 10%;
}
#gnavi li, #gnavi li:nth-child(3n){
	width: 45%;
    margin-right: 10%;
	background-size: auto 25%;
}
#nav01:hover, #nav02:hover, #nav03:hover, #nav04:hover, #nav05:hover, #nav06:hover {
	background-size: auto 25%;
}
#gnavi li:nth-child(2n){
	margin-right: 0;
    margin-top: 30%;
}
#gnavi li img{
	width: 100%;
}
#menu-cb:checked ~ #ham-menu, #menu-cb:checked ~ #menu-icon {
    -webkit-transform: translate(-250px);
    -o-transform: translate(-250px);
    transform: translate(-250px);
}
#ham-menu{
	right: -250px;
	width: 250px;
}

/*
top
------------------------------------------------------------
*/
.topWrap {
    padding: 10% 0;
}
.btn {
    width: 80%;
    font-size: 1.1em;
}
ul.blogList {
    margin: 0 auto 5%;
}
ul.blogList li dt {
    /*max-height: 90px;*/
}
ul.blogList li, .blogBox ul.blogList li {
    margin-bottom: 10%;
}
a.youtube_btn {
    max-width: 150px;
}
.bnr {
    margin-bottom: 30px;
}

/*
footer
------------------------------------------------------------
*/
.footerLeft {
    width: 100%;
    margin-bottom: 5%;
}
img.fLogo {
    width: 100%;
}
.footerLeft dt {
    float: left;
    width: 25%;
}
.footerLeft dd {
    float: right;
    width: 70%;
    margin-top: 5%;
    font-size: 0.75em;
}
.tel {
    font-size: 1.35em;
    font-weight: bold;
    margin-bottom: 3%;
}
.footerRight {
    margin-top: 0;
    width: 100%;
    font-size: .6em;
}

/*
wordpress
------------------------------------------------------------
*/
dl.accessBox>dt {
    float: none;
    width: 100%;
    margin-bottom: 5%;
}
dl.accessBox>dd {
    float: none;
    width: 100%;
    font-size: 1em;
}
.enquiriesBox dt {
    font-size: 1.6em;
    margin-bottom: 5%;
	line-height: 1;
}
.enquiriesBox dt img {
    width: 17px;
}
.enquiriesBox dl {
    margin-bottom: 10%;
}
ul.photo {
    margin-bottom: 10%;
}
dl.aboutBox dt {
    float: none;
    width: 100%;
	margin-bottom: 5%;
}
dl.aboutBox dd {
    float: none;
    width: 70%;
	margin: 0 auto;
}
dl.aboutBox {
    font-size: 1.2em;
    margin-bottom: 10%;
}
p.subP {
    font-size: 1em;
    line-height: 1.8em;
    margin-bottom: 5%;
}
dl.aboutImg {
    overflow: hidden;
    margin-bottom: 10%;
}
dl.staff dt {
    float: none;
    width: 70%;
    margin: 0 auto 5%;
}
dl.staff dd {
    float: none;
    width: 100%;
}
.basicTable2 th {
    width: 20%;
    padding: 1em 0;
}
.basicTable2 td {
    width: 80%;
    padding: 1em 0;
}
.m50 {
    margin-bottom: 15%;
}
.accordionlist dd dl dt img {
    margin-bottom: 4%;
}
.accordionlist dd dl dt img.photoL, .accordionlist dd dl dt img.photoR {
    width: 48%;
}
.accordionlist dd dl dt {
    overflow: hidden;
}
.accordionlist dt .title .Ti span {
    line-height: 1.2em;
    margin-bottom: 1%;
	font-size: .8em;
}
.accordionlist dt .title img {
    float: none;
    width: 30%;
    margin: 0 auto 5%;
    display: block;
}
ul#accordion li:first-child .accordionlist dt .title .Ti{
	margin: 0;
}
ul#accordion li .accordionlist dt .title .Ti{
	font-size: 1.3em;
}
.accordionlist dd dl dt {
    float: none;
    width: 100%;
    margin-bottom: 5%;
}
.accordionlist dd dl dd {
    float: none;
    width: 100%;
    display: block;
}
ul.photo li, ul.photo li:nth-child(3n) {
	width: 48%;
	margin-right: 4%;
	margin-bottom: 4%;
}
ul.photo li:nth-child(2n){
	margin-right: 0;
}
.name span {
    display: block;
    font-size: 1em;
}
.basicTable th span{
	display: block;
	margin: 0;
}
ul.list_contact {
    display: block;
    width: 210px;
}
ul.list_contact li {
    width: 100%;
	margin-bottom: 30px;
}
ul.list_contact li:after {
	background: none;
}

/*
table
------------------------------------------------------------
*/
table.contactform  {
	margin-bottom: 2em;
	width: 100%;
}
table.contactform th {
	padding: 5%;
    width: 100%;
    display:block;
}
table.contactform td {
	padding: 5%;
    width: 100%;
    display:block;
}
table.contactform td p{
	margin-bottom:0;
	line-height:1.6;
}
input[type="text"] {
    width: 100%;
    padding: 1em;
}
input#zip, input#zip1 {
    width: 35%;
    padding: 1em;
}
span.mwform-tel-field input {
    width: 28%!important;
}
	p.contactBtn input{
		width: 100%;
	}

/* 生徒様の声 */
.list_voice li {
	width: 100%;
	padding: 10% 5% 15%;
	margin-bottom: 110px;
}
.list_voice li h3 {
    font-size: 1.5em;
}
.list_voice li dl {
    margin-bottom: 10%;
}
.list_voice li:nth-child(2n) {
    margin-left: 0;
}
img.img_voice {
    margin: 5% auto 100px;
    display: block;
    width: 100%;
}
.list_voice li:first-child::after, .list_voice li:nth-child(2)::after, .list_voice li:nth-child(3)::after, .list_voice li:nth-child(4)::after {
	background: none;
}
img.img_voice2 {
    margin-bottom: -12%;
    width: 100%;
}

.accordion_icon {
    margin-top: 0;
}
ul#accordion>li {
    margin-bottom: 15%;
}

.gallery_col3 {
    margin-bottom: 15%;
}


}


/* 2024 04 01 */
@media screen and (max-width: 767px){
.basic_dlist{
    flex-direction: column;
    font-size: 1em;
    gap: 0;
    /* margin-bottom: 1em !important; */
}

.basic_dlist.w_red {
    margin-bottom: 0.25em !important;
}
.basic_dlist + .red {
    color: red;
    margin-bottom: 1.25em;
    text-align: right;
}
.basic_dlist .group {
    display: flex;
    align-items: center;
    border-bottom: 1px dashed #ff97a9;
    /* margin-bottom: 10px; */
    width: 100%;
}
.basic_dlist .group dt {
    color: #ff97a9;
}
.basic_dlist.green .group {
    border-color: #b2cc56;
}
.basic_dlist.green .group dt {
    color: #b2cc56;
}
.basic_dlist.blue .group {
    border-color: #a6c1e8;
}
.basic_dlist.blue .group dt {
    color: #a6c1e8;
}
.basic_dlist.skyblue .group {
    border-color: #2ebfff;
}
.basic_dlist.skyblue .group dt {
    color: #2ebfff;
}

.basic_dlist .group:nth-of-type(1) {
    width: 100%;
}
.basic_dlist .group:nth-of-type(3) {
    width: 100%;
}

.basic_dlist .group dt {
    font-weight: bold;
    text-align: left;
    /* position: relative; */
    font-size: 1.1em;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    width: 10em;
    margin-bottom: 0 !important;
}
.basic_dlist .group:nth-of-type(3) dt {
    width: 10em;
}
.basic_dlist .group:nth-of-type(3) dt {
    width: 10em;
}
.basic_dlist .group dt:before {
    content: url(../images/flower.svg);
    width: 25px;
}
.basic_dlist .group dd {
    text-align: right;
    padding-bottom: 10px;
    padding: 10px 0;
    white-space: nowrap;
    flex-grow: 1;
}

.splide {
    margin-bottom: 1em;
}
.splide__slide a {
    /* aspect-ratio: 3/2; */
    display: block;
    position: relative;
}
 .splide__slide a:before {
    content: "";
    display: block;
    width: 100%;
    padding-top: 67%;
 }
.splide__slide a img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

#splide01_thumb,
#splide02_thumb,
#splide03_thumb,
#splide04_thumb,
#splide05_thumb,
#splide06_thumb {
    margin-bottom: 2em;
}
#splide01_thumb .splide__list {
    transform: none !important;
    flex-wrap: wrap;
}

/* 2024 12 13 */
ul#accordion {
    width: 100%;
}
.layout_flex_01 .box_text {
    padding: 1.375rem 5vw;
    font-size: 15px;
    line-height: 1.8;
}

.class_subttl {
    font-size: 1.5em;
}

.accordionlist dt .title img {
    margin-bottom: 1.5rem;
}
ul#accordion li .accordionlist dt .title .Ti {
    float: none;
    text-align: center;
    font-size: 1.5em;
}
.accordionlist dt .title .Ti span {
    margin-bottom: .5em;
    font-size: .875rem;
}
.page-id-9 .class_subttl {
    font-size: 1.25em;
}
.list_top_about_btns {
    margin-top: 1.5rem;
    flex-direction: column;
    gap: 1em
}

#gnavi.list_a li#nav01,
#gnavi.list_b li#nav01 {
    background-image: url(../images/classes_on.png), url(../images/classes_off.png);
    background-repeat: no-repeat;
    background-position: bottom 24px center , bottom center;
    background-size: auto 20%, auto 13%;
}

#gnavi.list_a li#nav02,
#gnavi.list_b li#nav02 {
    background-image: url(../images/aboutus_on.png), url(../images/aboutus_off.png);
    background-repeat: no-repeat;
    background-position: bottom 24px center , bottom center;
    /* background-size: auto 20%; */
    background-size: auto 20%, auto 13%;
}

#gnavi.list_a li#nav03,
#gnavi.list_b li#nav03 {
    background-image: url(../images/testimonials_on.png), url(../images/testimonials_off.png);
    background-repeat: no-repeat;
    background-position: bottom 24px center , bottom center;
    /* background-size: auto 20%; */
    background-size: auto 20%, auto 13%;
}

#gnavi.list_a li#nav04,
#gnavi.list_b li#nav04 {
    background-image: url(../images/enquiries_on.png), url(../images/enquiries_off.png);
    background-repeat: no-repeat;
    background-position: bottom 24px center , bottom center;
    /* background-size: auto 20%; */
    background-size: auto 20%, auto 13%;
}

#gnavi.list_a li#nav05,
#gnavi.list_b li#nav05 {
    background-image: url(../images/blog_on.png), url(../images/blog_off.png);
    background-repeat: no-repeat;
    background-position: bottom 24px center , bottom center;
    /* background-size: auto 20%; */
    background-size: auto 20%, auto 13%;
}

#gnavi.list_a li#nav06,
#gnavi.list_b li#nav06 {
    background-image: url(../images/access_on.png), url(../images/access_off.png);
    background-repeat: no-repeat;
    background-position: bottom 24px center , bottom center;
    /* background-size: auto 20%; */
    background-size: auto 20%, auto 13%;
}

#gnavi.list_a li a, #gnavi li:nth-child(3) a, #gnavi li:nth-child(4) a, #gnavi li:nth-child(5) a {
    padding-bottom: 60px;
}

#gnavi.list_a li:nth-child(2n) {
    margin-top: 0%;
}
#gnavi.list_a li {
    margin-bottom: 2.5rem;
    margin-right: 10%;
}
#gnavi.list_a li:nth-child(even){
    margin-right: 0;
}

nav#gnavi.list_b {
    width: 90%;
}
nav#gnavi.list_b ul {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem 5%;
}
nav#gnavi.list_b ul li {
    margin: 0 !important;
    width: 30% !important;

}
}/* media query */


