@charset "UTF-8";

/*=====================================================
*
*	style.css
*	Since 2021.5.10
*
*
*	1= font
*	2= Reset
*	3= structure
*	4= common module
*	5= header module
*	6= globalNav module
*	8= mainVisual module
*	7= home module
*	9= detail module
*
*
========================================================*/

/*	1= font
-----------------------------------------------------*/
/*@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700');*/
@import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP:300,400,500,700&display=swap&subset=japanese');
/*@import url('https://fonts.googleapis.com/css?family=Sawarabi+Mincho&subset=japanese');*/
@import url('https://fonts.googleapis.com/css?family=Noto+Serif+JP:300,400,500,600,700&display=swap&subset=japanese');


/*standard size = 14px*/

/* base font size */
*:first-child+html body {
	font-family: "游ゴシック", "Yu Gothic", "メイリオ", 'Meiryo', "ＭＳ Ｐゴシック", sans-serif;
	font-size: 87.5%;
} /* for ie7 */



html>/**/body {
	font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ W3","游ゴシック", "Yu Gothic", "メイリオ", 'Meiryo', "ＭＳ Ｐゴシック", sans-serif;
	font-size: 87.5%;
} /* for ie8 */


html:not(:target) body {
    font-family: 'Noto Sans JP', "游ゴシック Medium", 'Yu Gothic Medium', 'YuGothic Medium', "メイリオ", 'Meiryo', sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 14px;
} /* for modern browser */

html>/**/body .wf-mincho { font-family: 'Noto Serif JP', serif; } /* for ie8 */
html:not(:target) body .wf-mincho { font-family: 'Noto Serif JP', serif; } /* for modern browser */

/*	2= Reset
-----------------------------------------------------*/

* { box-sizing: border-box; }
html,body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0;}
table{border-collapse:collapse;border-spacing:0;}
fieldset,img{border:0;}
address,caption,cite,code,dfn,em,th,var{font-style:normal;font-weight:normal; font-weight:300; }
ul,li{list-style:none;}
caption,th{text-align:left;}
h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal; font-weight:300; }
q:before,q:after{content:'';}
abbr,acronym{border:0;font-variant:normal;}
sup{vertical-align:text-top;}
sub{vertical-align:text-bottom;}
input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;}
input,textarea,select{*font-size:100%;}
legend{color:#000;}
img {vertical-align:top;}
input[type="radio"], input[type="checkbox"] {vertical-align: -2px;}
label {cursor: pointer;}


/*	3= structure
-----------------------------------------------------*/
body {
	color: #404040;
	background: #fff;
	font-size: 15px;
	line-height: 1.6;
	text-align: center;
}
#container {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    min-height: 100vh;
	margin: 0;
    padding: 121px 0 35px 0;
    overflow-x: hidden;
}
#container.fixed { height: 100vh; overflow: hidden; }


/* header */
#header {
	top: -100px;
    left: 0px;
	position: absolute;
	width: 100%;
    height: 179px;
	margin-top: 100px;
    border-bottom: solid 1px #bcbcbc;
	line-height: 1;
	z-index: 999;
    background: #ffffff;
}
#header a,
#header {
	color: #44040;
	text-decoration: none;
}

/* Fixed */
#header.fixed {
 	position: fixed;
    box-sizing: border-box;
	margin-top: 0;
	top: 0px;
	height: 61px;
    border-bottom:  solid 1px #ddd;
	transition: top 0.65s ease-in;
	-webkit-transition: top 0.65s ease-in;
	-moz-transition: top 0.65s ease-in;
}
#header .inner {
    position: relative;
    max-width: 1150px;
    margin-left: auto;
    margin-right: auto;
}

#main {
	position: relative;
	box-sizing: border-box;
	width: 100%;
    height: 100%;
	padding: 0;
	text-align: left;
}
    
    .content {
        position: relative;
        box-sizing: border-box;
        width: 100%;
        padding: 50px;
    }
    #access.content {
        padding: 20px 50px 10px;
        background: #e5eef1;
    }
    #contact.content {
        padding: 20px 50px 80px;
        background: #80d5e2;
    }
        .content .inner {
            position: relative;
            max-width: 1050px;
            box-sizing: border-box;
            margin: 0 auto;
        }
    
    
/* clearfix */
#main:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
	font-size: 0px;
	}
#main { display: inline-block; }



#footer {
    box-sizing: border-box;
    position: absolute;
    left: 0px;
    bottom: 0px;
    z-index: 10003;
    width: 100%;
	height: 40px;
	line-height: 1.2;
	padding-top: 12px;
	background: #303030;
    color: #fff;
}


@media screen and ( min-width: 1100px) {
    
        .content .inner {
            padding-left: 2.1%;
            padding-right: 2.1%;
        }
    
}/*==== // end @media */



@media screen and ( max-width: 1149px) {
        
    .content {
            width: 100%;
            padding: 9vw 0.6vw 4vw;
        }
    

}/*==== // end @media */

@media screen and ( max-width: 768px) {
	   
	#container { padding: 80px 0 35px 0; overflow-x: hidden; }
	#header { position: absolute; z-index: 50; height: 80px; }
    #header.fixed { height: 80px; }
    #access.content {
        padding: 20px 5vw 10px;
    }
    #contact.content {
        padding: 3vw 5vw 10vw;
    }

}/*==== // end @media */

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


    
}/*==== // end @media */
    
@media screen and ( max-width: 480px) {
        
       #container { padding: 74px 0 35px 0; }
	   #header { height: 74px; }
       

}/*==== // end @media */


/*	4= common module
-------------------------------------------------------------- */
/*a:hover,
a:hover img,*/
input[type="submit"]:hover,
input[type="reset"]:hover,
button:hover {
	opacity: 0.7;
	filter: alpha(opacity=70);
	-moz-opacity: 0.7;
}
a ,a img, input[type="submit"], input[type="reset"] {
	-webkit-transition: opacity .3s, background-color .3s;
	transition: opacity .3s, background-color .3s;
	opacity: 1;
}
img {
	max-width: 100%;
}
a { color:#3D8BE2; }
a:hover { text-decoration: none;}
a img { border: none; }

strong { font-weight: 400; color: #ed333c; }

/* position */
.p-rl { position: relative; }
.p-ab { position: absolute; }

/* float */
.fl {float: left;}
.fr {float: right;}

/* text-align */
.text_l {text-align: left;}
.text_c {text-align: center;}
.text_r {text-align: right;}

/* vertical-align */
.va_t {vertical-align: top;}
.va_b {vertical-align: bottom;}
.va_m {vertical-align: middle;}

/* line-height */
.lh17 {line-height: 1.7;}
.lh20 {line-height: 2;}

/* font */
.f10 {font-size: 10px;}
.f11 {font-size: 11px;}
.f12 {font-size: 12px;}
.f13 {font-size: 13px;}
.f14 {font-size: 14px;}
.f15 {font-size: 15px;}
.f16 {font-size: 16px;}
.f18 {font-size: 18px;}
.f20 {font-size: 20px;}
.bold {font-weight: bold; font-weight: 500; }

/* width */
.w50 {width:50px;}
.w100 {width:100px;}


/* margin */
.m-auto { margin-left: auto; margin-right: auto; }
.m0 {margin: 0 !important; }
.mb10 {margin-bottom: 10px;}
.mb20 {margin-bottom: 20px !important;}
.mb30 {margin-bottom: 30px !important;}
.mt3 { margin-top: 3px; }
.mt35 { margin-top: 35px; }
.ml1em { margin-left: 1em; }
.mr0 { margin-right: 0 !important; }
.mr30 { margin-right: 30px !important; }


/* padding */
.p0 {padding: 0 !important; }
.pb10 {padding-bottom: 10px;}
.pt10 {padding-top: 10px;}
.pl40 { padding-left: 40px; }

.img-bd01 { border: solid 1px #ccc; }
/* list-style */
#main .li-non,
#main .li-non li { list-style: none !important; }

ul.li-disc,
ul.li-disc li {
	list-style: disc !important;
}
ul.li-disc li { margin-left: 1em;}
ol.li-dec,
ol.li-dec li {
	list-style:decimal;
}
ol.li-dec li { margin-left: 1em;}

ol.li-dec li ul.li-disc {
	margin-left: 0.5em;
	padding: 0.5em 0;
}
ol.li-dec li ul.li-disc li { line-height: 1.6; }

/* indent */

/* letter-spacing */
@media screen and ( max-width: 370px) {
    .ls0 { letter-spacing: 0px !important; }
}/*==== // end @media */

/* clearfix */
.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
	font-size: 0px;
	}
.clearfix { display: inline-block; }

.hidden { display: none !important; }

input[type="submit"],input[type="reset"] {
	-webkit-appearance: none;
}



#footer #copyright small { 
    display:  block;
    line-height: 1.3;
	letter-spacing: 0.08em;
    text-align: center;
}

p#gotop {
	position: fixed;
	z-index: 100;
	bottom: 15px;
    right: 12px;
	width: 50px;
	height: 50px;
    margin-bottom: 0;
    background: rgba(0,0,0,0.4);
    border-radius: 6px;
}

p#gotop a {
	display: block;
    box-sizing: border-box;
	position: absolute;
	z-index: 502;
	right: 5px;
	width: 50px;
	height: 0px;
    padding-top: 50px;
    line-height: 50px;
    color: #fff;
    overflow: hidden;
    cursor: pointer;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
p#gotop a::after {
	content: "↑";
	display: block;
	position: absolute;
	right: 0px;
	bottom: 10px;
    z-index: 501;
    width: 50px;
	height: 50px;
    line-height: 40px;
    padding-top:20px;
    padding-left: 10px;
    overflow: hidden;
	box-sizing: border-box;
    cursor: pointer;
    font-size: 40px;
    font-weight: 300;
    color: #fff;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
p#gotop a:hover { opacity: 0.6;}
p#gotop a:hover::after {
    padding-top: 10px;
}



/* pageNav  */
#main .pageNav {
	margin: 0 auto 40px;
    text-align: center;
}

#main .pageNav ul {
	width: 100%;
	height: 40px;
	margin: 0 auto;
	padding: 00;
	text-align: center;
}

#main .pageNav ul li {
	display: inline-block;
	margin: 0 10px;
	height: 40px;
    width: 40px;
	line-height: 40px;
	font-size: 18px;
    font-weight: 500;
    color: #c12b7a;
}
#main .pageNav ul li a {
    position: relative;
    display:  inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    vertical-align: middle;
    text-align: center;
    text-decoration: none;
    color:  #c12b7a;
    background: #fff;
    border-radius: 20px;
}


#main .pageNav ul li.current span,
#main .pageNav ul li a:hover {
	display: inline-block;
	width: 40px;
    height: 40px;
    padding-top: 0px;
	text-decoration: none;
	line-height: 40px;
    vertical-align: middle;
    text-align: center;
    overflow: hidden;
    background: #c12b7a;
    color: #fff;
    border-radius: 20px;
}
#main .pageNav ul li:first-child a{
    background: url("../images/pagenav_left@2x.png") no-repeat 0px center;
}
#main .pageNav ul li:last-child a {
    background: url("../images/pagenav_right@2x.png") no-repeat 0px center;
}
#main .pageNav ul li:first-child a,
#main .pageNav ul li:last-child a,
#main .pageNav ul li:first-child a:hover,
#main .pageNav ul li:last-child a:hover {
    display: inline-block;
    position: relative;
    width: 40px;
	height: 0;
    padding-top: 40px;
    line-height: 40px;
    vertical-align: middle;
    text-align: center;
    overflow: hidden;
    -webkit-background-size: 40px 40px;
    background-size: 40px 40px;
 }
#main .pageNav ul li:first-child a:hover{ background-position: -3px center;}
#main .pageNav ul li:last-child a:hover{ background-position: 3px center;}

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


@media screen and ( min-width: 768px) {


    
}/*==== // end @media */


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


    
}/*==== // end @media */

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

    p#gotop {
        transform: scale(0.8);
        bottom: 0px;
        right: -8px;
    https://terakoya-matsui.com/}

	
}/*==== // end @media */

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

    .pc {
		display: none;
	}
	.sp {
		display: block;
	}
    
}/*==== // end @media */



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

    #main .pageNav ul li {
        position: relative;
        display: inline-block;
        margin: 0 5px;
    }

}/*==== // end @media */

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

    #footer #copyright small { 
        letter-spacing: 0em;
       font-size: 12px;
    }
    
}/*==== // end @media */
@media screen and ( max-width: 370px) {
    
    #main .pageNav {
	   margin: 0 0 40px;
    }
    #main .pageNav ul li {
        display: inline-block;
        margin: 0 1px !important;
    }

    #footer #copyright small { 

       font-size: 11px;
    }
    
}/*==== // end @media */


/*	5= header module
-----------------------------------------------------*/

h1#siteID {
	position: absolute;
    left: 10px;
    top: 32px;
    width: 212px;
    height: 80px;
	font-size: 25px;
    font-weight: medium;
    font-weight: 500;
	z-index: 50;
	line-height: 1;
}
h1#siteID::before {
    content: "";
    display: block;
    position: absolute;
    bottom: -86px;
    left: 0px;
    z-index: 49;
    width: 212px;
    height: 212px;
    background: #fff;
    border-radius: 50%;
    -webkit-transform: scaleY(0.54);
    -moz-transform: scaleY(0.54);
    transform: scaleY(0.54);
}
#header h1#siteID a {
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: 51;
    display: block;
    width: 212px;
    height: 0px;
    line-height: 80px;
    padding-top: 80px;
    overflow: hidden;
    background: url("../images/logo_terakoya.png") no-repeat;
    background-position: center center;
    -webkit-background-size:212px 80px;
    background-size:212px 80px;
	text-decoration: none;
	letter-spacing: 0.16em;
}


.headerInfo {
    position: absolute;
    left: 255px;
    top: 35px;
    text-align: center; 
}
.headerInfo h2 {
    margin-bottom: 3px;
    padding: 3px 2px 3px 4px;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.25em;
    line-height: 1.3;
}
.headerInfo p {
    padding: 4px 3px 4px 8px;
    background: #b3e280;
    font-size: 15px;
    font-weight: 500;
    line-height: 22px;
    letter-spacing: 0.2em;
}
.headerContact {
    position: absolute;
    right: 194px;
    top: 15px;
    z-index: 200;
    text-align: center; 
}
.headerContact p.tel {
    margin-bottom: 9px;
    padding: 8px 10px 12px;
    background: #fdd8da;
    font-size: 25px;
    letter-spacing: 0.12em;
    font-weight: 500;
    border-radius: 6px;
}
.headerContact p.tel span {
    display: block;
    margin-top: 9px;
    padding-left: 0.05em;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.05em;
}
.headerContact p.line {
    font-size: 15px;
    padding-left: 0.2em;
    letter-spacing: 0.2em;
    font-weight: 500;
    color: #05cf04;
}
.headerContact p.line img {
    position: absolute;
    right: -178px;
    top: -15px;
}
@media screen and (min-width : 769px ) {
    #header.fixed h1#siteID {
        position: absolute;
        left: 10px;
        top: 5px;
    }
   #header.fixed  h1#siteID::before {
        bottom: -70%;
        left: -10%;
        width: 120%;
        -webkit-transform: scaleY(0.8);
        -moz-transform: scaleY(0.8);
        transform: scaleY(0.8);
    }
    #header.fixed h1#siteID a {
    }

    #header.fixed .headerInfo { display: none; }
    #header.fixed .headerContact { display: none; }

}/*==== // end @media */

@media screen and (min-width : 1150px ) {

    .headerContact {
        right: calc(( 50vw - 575px ) *0.5 + 194px );
    }

}/*==== // end @media */

@media screen and (max-width : 1000px ) {
	h1#siteID {
        left: 20px;
        top: 37px;
        width: 186px;
        height: 70px;
        font-size: 22px;
    }
    h1#siteID::before {
        bottom: -76px;
        width: 186px;
        height: 186px;
    }
    #header h1#siteID a {
        width: 186px;
        height: 0px;
        line-height: 70px;
        padding-top: 70px;
        -webkit-background-size:186px 70px;
        background-size:186px 70px;
    }
    .headerInfo {
        left: 225px;
    }
    .headerInfo h2 {
        padding: 3px 2px 3px 4px;
        font-size: 16px;
        letter-spacing: 0.2em;
    }
    .headerInfo p {
        padding: 4px 3px 4px 8px;
        font-size: 13px;
        line-height: 22px;
        letter-spacing: 0.2em;
    }
    .headerContact {
        right: calc( 17vw + 20px );
        top: 15px;
        z-index: 200;
        text-align: center; 
    }
    .headerContact p.tel {
        margin-bottom: 10px;
        padding: 8px 8px 12px;
        font-size: 22px;
        letter-spacing: 0.05em;
    }
    .headerContact p.tel span {
        padding-left: 0.05em;
        font-size: 13px;
        letter-spacing: 0px;
    }
    .headerContact p.line {
        font-size: 14px;
        letter-spacing: 0.05em;
    }
    .headerContact p.line img {
        right: calc( -17vw - 8px );
        width: 17vw;
        height: 17vw;
    }

}/*==== // end @media */

@media screen and (max-width : 850px ) {
	h1#siteID {
        left: 10px;
    }
    .headerInfo {
        left: 213px;
    }
}/*==== // end @media */

@media screen and (max-width : 768px ) {
    h1#siteID {
        left: 20px;
        top: 15px;
    }
    h1#siteID::before {
        bottom: -65px;
        width: 186px;
        height: 186px;
    }
    .headerInfo {
        left: 230px;
        top: 10px;
    }
	.headerContact { display: none; }


}/*==== // end @media */

@media screen and ( max-width: 580px) {
    
    h1#siteID {
        left: 20px;
        top: 15px;
        width: 32vw;
        height: 12vw;
        font-size: 18px;
    }
    h1#siteID::before {
        bottom: -12vw;
        left: -1vw;
        width: 34vw;
        height: 34vw;
        -webkit-transform: scaleY(0.65);
        -moz-transform: scaleY(0.65);
        transform: scaleY(0.65);    
    }
    #header h1#siteID a {
        width: 32vw;
        height: 0px;
        line-height: 12vw;
        padding-top: 12vw;
        -webkit-background-size:32vw 12vw;
        background-size:32vw 12vw;
    }
    .headerInfo {
        left: 39vw;
        top: 10px;
    }
    .headerInfo h2 {
        padding: 3px 1px 3px 3px;
        font-size: 15px;
        letter-spacing: 0.1em;
    }
    .headerInfo p {
        padding: 3px 2px 3px 6px;
        font-size: 12px;
        line-height: 20px;
        letter-spacing: 0.15em;
    }

}/*==== // end @media */
@media screen and ( max-width: 480px) {

    h1#siteID {
        left: 12px;
        top: 19px;
    }
    h1#siteID::before {
        content: none;
    }
    .headerInfo {
        left: 37vw;
        top: 9px;
    }
    .headerInfo h2 {
        padding: 3px 1px 3px 3px;
        font-size: 14px;
        letter-spacing: 0.1em;
    }
    .headerInfo p {
        padding: 2px 2px 3px 5px;
        font-size: 12px;
        letter-spacing: 0.08em;
    }

}/*==== // end @media */
@media screen and (max-width : 370px ) {
    .headerInfo {
        left: 35vw;
        -webkit-transform: scaleX(0.85);
        -moz-transform: scaleX(0.85);
        transform: scaleX(0.85);
    }
    
}/*==== // end @media */


/*	6= globalNav module
-----------------------------------------------------*/

@media screen and ( min-width : 769px ){
    
    #globalNav {
        position: absolute;
        left: 0px;
        top: 120px;
        z-index: 40;
        box-sizing: border-box;
        width: 100%;
        height: 60px;
        background: #8dd9e5;
    }
    #header.fixed  #globalNav {
        top: 0px;
    }
    #globalNav #menu {
        max-width: 1150px;
        margin: 0 auto; 
        padding-left: 245px;
        padding-right: 194px;
    }

    #globalNav ul {
        position: relative;
        -js-display: flex;
        display: -webkit-box;
        display: -moz-box;
        display : -webkit-box;
        display : -ms-flexbox;
        display: -webkit-flex;
        display: -ms-flex;
        display: -o-flex;
        display: -moz-flex;
        display: flex;
        -webkit-flex-direction:row;
        -ms-flex-direction:row;
        -o-flex-direction:row;
        -moz-flex-direction:row;
        flex-direction:row;
        -webkit-flex-wrap: nowrap;
        flex-wrap: nowrap;
        -webkit-align-items: top;
        align-items: top;
        vertical-align: top;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    #globalNav ul li {
        position: relative;
        flex-grow: 1;
        border-right: solid 1px #111;
    }
    #globalNav ul li:last-child {
        border-right: none;
    }
    
    #globalNav ul li ul {
        position: absolute;
        left: 1px;
        top: 40px;
        display: block;
        width: 100%;
        border-left: none;
    }
    #globalNav ul li ul li {
        display: block;
        width: 100%;
        height: 0;
        margin: -1px 0 0 0;
        border: none;
        overflow: hidden;
        line-height: 58px;
        text-align: left;
        background: #fff;
        font-size: 14px;
        -moz-transition: .3s;
        -webkit-transition: .3s;
        -o-transition: .3s;
        -ms-transition: .3s;
        transition: .3s;
        -webkit-flex-direction: column; /* Safari */
        flex-direction:         column;
        opacity: 0;
    }
    #globalNav ul li:last-child {
        flex-grow: 1.1;
    }
    #globalNav ul li:hover ul li {
        overflow: visible;
        width: 100%;
        height: 58px;
        border: solid 1px #eaeaea;
        opacity: 1;
    }
    #globalNav ul li a {
        position: relative;
        display: block;
        width: 100%;
        height: 57px;
        margin-top: -10px;
        margin-bottom: -7px;
        box-sizing: border-box; 
        text-decoration: none;
        background: none;
        color: #333;
        font-size: 16px;
        font-weight: normal;
        font-weight: 400;
        line-height: 58px;
        letter-spacing: 0.2em;
        overflow: hidden;
        cursor: pointer;
        -webkit-transition: all 0.2s ease;
        -moz-transition: all 0.2s ease;
        transition: all 0.2s ease;
    }
    #header #globalNav ul li ul li a {
        margin-top: 0px;
        margin-bottom: 0px;
        padding-left: 1.3em;
        font-size: 14px;
        letter-spacing: 0.15em;
    }
    #header #globalNav ul li ul li:last-child a {
        color: rgba(237,50,60,1.00);
        font-weight: 500;
    }

    #header.fixed #globalNav ul li a {

    }
    
    #globalNav ul li a:hover,
    #globalNav ul li:hover a { border-bottom: solid 2px #1F9AC8; }
    #globalNav ul li:hover ul li a { border:none; }
    #globalNav ul li ul li a:hover { 
        border-bottom: none;
        background: #D7F6FB; } 
    ul#headerSubNav { display: none; }

    #globalNav div#menu p#close { display: none; }

}/*==== // end @media */

@media screen and ( max-width: 1050px) {
   
    #globalNav ul li a {
        font-size: 15px;
        letter-spacing: 0.1em;
    }

    #header #globalNav ul li ul li a {
        font-size: 13px;
        letter-spacing: 0.05em;
    }
  
}/*==== // end @media */
@media screen and ( max-width: 950px) {
    
    #globalNav #menu {
        padding-left: 220px;
        padding-right: calc( 17vw + 30px );
    }
    #globalNav ul li:hover ul li {
        width: 120%;
    }
    #globalNav ul li a {
        font-size: 14px;
    }
    
}/*==== // end @media */
@media screen and ( max-width: 900px) {
    
    #globalNav ul li a {
        letter-spacing:  0px;
        font-size: 13px;
    }
    
}/*==== // end @media */
@media screen and ( max-width: 850px) {
    
    #globalNav #menu {
        padding-left: 180px;
        padding-right: calc( 17vw + 20px );
    }
    
}/*==== // end @media */

@media screen and ( max-width: 768px) {
    
    #globalNav ul#headerSubNav {
       display: block;
       position: absolute;
       right: 9px;
       top: 0px;
       z-index: 10011;
       padding: 0;
       background: none;
    }
    

    ul#headerSubNav li { display: inline-block; }
    ul#headerSubNav li a {
        position: relative;
        display: block;
        box-sizing: border-box;
        width: 72px;
        height: 66px;
        padding: 50px 16px 0;
        line-height: 1.1;
        font-size: 10px;  
        text-align: center;
        color: #404040;
        overflow: hidden;
        background: none;
        text-decoration: none;
    }

    ul#headerSubNav li#menuOpen a {
        letter-spacing: 0.1em;
        background: none;
    }
    ul#headerSubNav li#menuOpen a:hover {
        color: #404040;
        background: none;
    }
    ul#headerSubNav li#menuOpen a span {
        position: absolute;
        left: 16px;
        z-index: 10011;
        display: block;
        width: 36px;
        height: 1px;
        background: #404040;
        -webkit-transition: all 0.3s ease;
        -moz-transition: all 0.3s ease;
        transition: all 0.3s ease;
    }
    ul#headerSubNav li#menuOpen a span.line1 {
        top: 17px;
    }
    ul#headerSubNav li#menuOpen a span.line2 {
        top: 28px;
        opacity: 1;
    }
    ul#headerSubNav li#menuOpen a span.line3 {
        top: 41px;
    }
    ul#headerSubNav li#menuOpen.open a span {
        background: #404040;
    }
    ul#headerSubNav li#menuOpen.open a span.line1 {
        top: 25px;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        transform: rotate(45deg);
    }
    ul#headerSubNav li#menuOpen.open a span.line2 {
        top: 25px;
        opacity: 0;
    }
    ul#headerSubNav li#menuOpen.open a span.line3 {
        top: 25px;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

    #globalNav {
        position: absolute;
        top: 0px;
        left: 0px;
        z-index: 40;
        width: 100vw;
        margin: 0;
    }
    #globalNav div#menu {
        display: none;
        position: absolute;
        box-sizing: border-box;
        top: 0px;
        left: 0px;
        z-index: 40;
        width: 100%;
        height: calc( 100vh - 40px );
        padding: 130px 0 20px;
        background: #f1f1f1;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    #globalNav div#menu ul li {
        position: relative;
        text-align: left;
        line-height: 4;
        letter-spacing: 0.2em;
    }
     #globalNav div#menu ul li ul li {
        line-height: 3.5;
        letter-spacing: 0.15em;
    }
    #globalNav div#menu ul li a, 
    #header.fixed #globalNav div#menu ul li a {
        display: block;
        position: relative;
        box-sizing: border-box;
        width: 100%;
        height: 4;
        line-height: 4;
        padding-left: 50px;
        padding-right: 30px;
        font-size: 16px;
        font-weight: 400;
        color: #1e1e1e;
        text-decoration: none;
    }
     #globalNav div#menu ul li ul li a,
     #header #globalNav div#menu ul li ul li a,
     #globalNav div#menu ul li:hover ul li a,
     #header.fixed #globalNav div#menu ul li ul li a,
      #header.fixed #globalNav div#menu ul li ul li a:active {
        height: 3.5;
        padding-left: 90px;
        line-height: 3.5;
        font-size: 15px;
        font-weight: 300;
    }

    #globalNav div#menu p#close { text-align: center; }
    #globalNav div#menu p#close a {
        display: block;
        position: relative;
        width: 100%;
        height: 43px;
        line-height: 43px;
        overflow: hidden;
        background:#D5D4D4;
        font-size: 14px;
        color: #1e1e1e;
        text-decoration: none;

    }
    #globalNav div#menu p#close a::before {
       content:"";
       display: inline-block;
       width: 12px;
       height: 12px;
       margin-right: 1em;
       font-size: 12px;
       line-height: 12px;
       background: url(../images/icon_close@2x.png) no-repeat center top;
        -webkit-background-size: 12px 12px;
        -moz-background-size: 12px 12px;
        text-decoration: none;
    }
	
}/*==== // end @media */

@media screen and ( max-width: 680px) {
    
    h1#siteID,
    h1#siteID a {
        width: 148px;
        -webkit-background-size: 102px 41px;
        background-size: 102px 41px;
    }

}/*==== // end @media */

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

    #globalNav div#menu　{
        height: 100%;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }

}/*==== // end @media */

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

    
}/*==== // end @media */

@media screen and ( max-width: 400px) {
    
    #globalNav ul#headerSubNav {
       right: 0px;
       top: 3px;
    }
    ul#headerSubNav li a {
        width: 64px;
        height: 62px;
        padding: 51px 12px 0 12px;
    }
    ul#headerSubNav li#menuOpen a span {
        position: absolute;
        left: 14px;
        width: 34px;
    }

    
}/*==== // end @media */

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

    
}/*==== // end @media */


/*	7= home module
-----------------------------------------------------*/

/* news module */
#news {
    padding: 20px 0 15px;
    background: #EBF3F5;
}
#news dl,
#news ul {
    max-width: 980px;
    margin: 0 auto;
    padding: 15px 20px 5px 130px;
    line-height: 1.4;
    font-weight: 400;
}
#news ul {
    max-width: calc( 980px - 16em );
    background: #D5EAF0;border: solid 1px #C2D6DC;
    padding: 12px 20px 4px 20px;
}
@media screen and ( max-width: 999px ) {

    #news ul {
        max-width: calc( 100vw - 10em );
        margin-left: 8em;
        
    }
}/*==== // end @media */
@media screen and ( max-width: 680px ) {

    #news dl,
    #news ul {
        padding: 5px 10px 5px 15px;
    }
    #news ul {
        margin-top: 4px;
        margin-bottom: 4px;
        padding-top: 12px;
        max-width: calc( 100vw - 2.2em );
        margin-left: 1em;
    }

}/*==== // end @media */

#news dl dt {
    padding: 0;
    font-size: 15px;
    letter-spacing:  0.08em;
    letter-spacing: 0.18em;
    line-height: 1.4;
}
#news dl dd {
    margin:  -1.4em 0 10px 9em;
    padding: 0;
    letter-spacing:  0.18em;
    line-height: 1.4;
}
#news ul li {
    margin: 0 0 8px 0;
    line-height: 1.4;
    letter-spacing:  0.1em;
}


@media screen and ( min-width: 1050px) {

}/*==== // end @media */
@media screen and ( max-width: 1049px) {

}/*==== // end @media */
@media screen and ( max-width: 980px) {

}/*==== // end @media */



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



}/*==== // end @media */

@media screen and ( max-width: 1098px) and ( min-width: 1000px) {


}/*==== // end @media */

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



}/*==== // end @media */

@media screen and ( max-width: 900px) {
    
    .content h2 {
        font-size: 26px;
    }
    .content p.desc {
        margin-bottom: 30px;
        font-size: 16px;
        letter-spacing: 0.15em;
    }
    .content#contact p.desc {
        margin-bottom: 20px;
    }
    .content p.desc + p.desc2 {
        margin-bottom:  40px;
        margin-top: -22px;
        font-size: 12px;
        line-height: 1.35;
     }
    
}/*==== // end @media */

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

}/*==== // end @media */

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

    
}/*==== // end @media */

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


}/*==== // end @media */

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

/* news module */
    p.btn-detail {
        right: -5px;
        top: 0px;
    }

    #news dl dt {
        font-size: 14px;
        letter-spacing: 0.05em;
    }
    #news dl dd {
        margin:  -1.4em 0 10px 6.5em;
        letter-spacing: 0.05em;
        font-size: 14px;
    }
    
    
}/*==== // end @media */

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

/* newsBox module */
     #newsBox dl dt {
        font-size: 13px;
    }
     #newsBox dl dd {
        font-size: 13px;
     }

}/*==== // end @media */


/*	8= mainVisual module
-----------------------------------------------------*/

#mainVisual {
    position: relative;
    box-sizing: border-box;
    height: 33.33vw;
    min-height: 360px;
    margin-top: 59px;
    padding-left:calc(( 50vw - 565px) + 50px );
    padding-top: 68px;
    background: url("../images/main-img.jpg") no-repeat center center;
	background-repeat: no-repeat;
	background-position: center center;
    background-size: 100vw 50vw;
    opacity: 1;
    animation: fade1 1.5s ease 0s 1 normal;
    width: 100%;
    text-align: left;
    overflow: hidden;
}

#mainVisual h1 {
	position: relative;
    z-index: 11;
    display: inline-block;
    font-size: 24px;
    text-align: left;
    letter-spacing: 0.2em;
    font-weight: 600;
    color: #3a3a3a;
    line-height: 1.6;
}
#mainVisual h1 div {
    display:inline-block;
    padding: 6px 20px 8px;
    margin-bottom: 4px;
    background: rgba(255,255,255,0.75);
    animation: fade2 3s ease 0s 1 normal;
    -webkit-box-shadow: 0px 0px 60px 0 #fff;
    -moz-box-shadow: 0px 0px 60px 0 #fff;
     box-shadow: 0 0 50px #fff;
}
#mainVisual h1 div:last-child {
    margin-left: 1.5em;
    animation: fade2 3.5s ease 0s 1 normal;
}
#mainVisual h1 div span {
    font-size: 33px;
}
#mainVisual .image {
    position: absolute;
    z-index: 10;
    right: 0px;
    top: 0px;
    width: auto;
    padding-top: 2.5vw;
    height: 100%;
    animation: fade1 3s ease 0s 1 normal;
  
}

#mainVisual .image img {
    width: auto;
    height: 42.5%;
    max-height: 185px;
}

#mainVisual .image img:hover {
    opacity: 0.85;
    cursor: pointer;
}

@keyframes fade1 {
  0%, 50% {
    opacity: 0;
  }
  90% {
    opacity: 1;
  }
}
@keyframes fade2 {
  0% {
    opacity: 0;
    margin-top: 50px;
  }
  60% {
    opacity: 0;
    margin-top: 12px;
  }
  90% {
    opacity: 1;
    margin-top: 0;
  }
}
@keyframes up {
  0% {
    opacity: 0;
    margin-top: 60px;
  }
  30% {
    opacity: 0;
  }
  90% {
    opacity: 1;
    margin-top: 0;
  }
}
@keyframes righttoleft {
  0% {
    opacity: 0;
    right: -100%;
  }
  30% {
    opacity: 1;
  }
  90% {
    opacity: 1;
    right: -1.7%;
  }
}
@keyframes lefttoright {
  0% {
    opacity: 0;
    left: -100%;
  }
  30% {
    opacity: 1;
  }
  90% {
    opacity: 1;
    left: -1.7%;
  }
}

@media screen and ( min-width: 1150px) {
    
    #mainVisual{
        padding-left:calc(( 50vw - 500px) * 0.85 );
        padding-top: 68px;
	}

    #mainVisual .image {
        padding-top: 28px;
        right: 3vw;
    }


}/*==== // end @media */
@media screen and ( max-width: 1149px) {
    
    #mainVisual{
        height: 37.39vw;
        padding-left: 10vw;
        padding-top: 8vw;
	}
    #mainVisual h1 {
        font-size: 22px;
    }
    #mainVisual h1 div span {
        font-size: 28px;
    }

    #mainVisual .image {
        right: 25px;
    }

}/*==== // end @media */

@media screen and ( max-width: 999px) {
    
    #mainVisual{
        padding-left: 7vw;
        padding-top: 10vw;
	}


}/*==== // end @media */
@media screen and ( max-width: 850px) {



}/*==== // end @media */
@media screen and ( max-width: 768px) {
	
    #mainVisual {
        height: 46.875vw;
        min-height: 46.875vw;
        margin-top: 0px;
        padding-top: 13vw;
        background-size: 120vw 60vw;
    }
    #mainVisual h1 {
        font-size: 18px;
    }
    #mainVisual h1 div span {
        font-size: 24px;
    }
     #mainVisual .image { padding-top: 3.65vw; }
   

}/*==== // end @media */
@media screen and ( max-width: 680px) {
	
	#mainVisual{
        padding-left: 9vw;
    }
    #mainVisual h1 {
        font-size: 16px;
    }
    #mainVisual h1 div span {
        font-size: 22px;
    }
	
}/*==== // end @media */

@media screen and ( max-width: 580px) {
	
	#mainVisual{
        padding-left: 6vw;
    }
    #mainVisual h1 {
        font-size: 15px;
        letter-spacing: 0.1em;
    }
    #mainVisual h1 div span {
        font-size: 20px;
    }
    #mainVisual .image {
        right: 10px;
        padding-top: 2vw;
    }
	
}/*==== // end @media */
@media screen and ( max-width: 480px) {
	
	#mainVisual{
        padding-top: 12vw;
        padding-left: 5vw;
    }
    #mainVisual h1 {
        font-size: 14px;
        letter-spacing: 0.05em;
    }
    #mainVisual h1 div {
        padding: 4px 15px 6px;
        margin-bottom: 4px;
        background: rgba(255,255,255,0.65);
        -webkit-box-shadow: 0px 0px 30px 0 #fff;
        -moz-box-shadow: 0px 0px30px 0 #fff;
         box-shadow: 0 0 30px #fff;
    }
    
    #mainVisual h1 div span {
        font-size: 18px;
    }
	
}/*==== // end @media */
@media screen and ( max-width: 400px) {
	
	#mainVisual{
        padding-top: 11vw;
        padding-left: 4.5vw;
    }
    #mainVisual h1 {
        font-size: 13px;
        line-height: 1.5;
        letter-spacing: 0px;
	}
    #mainVisual h1 div span {
        font-size: 16px;
    }
    
}/*==== // end @media */



/*	9= detail module
-----------------------------------------------------*/
#main h2 {
    position: relative;
    margin-bottom: 6vw;
    padding: 3vw;
    font-size: 30px;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.2em;
}
#main #news h2 {
    position: absolute;
    left: calc( 50vw - 490px );
    margin-bottom: 0;
    padding: 14px 0 5px 15px;
    font-size: 16px;
    font-weight: 500;
    text-align: left;
    letter-spacing: 0.1em;
    line-height: 1.4;
}
#main h2::after {
    content: none;
}
#main h2 span.wf-mincho {
    display: inline-block;
    padding-left: 0.4em;
    padding-right: 0.3em;
    color: #1f9ac8;
    font-size: 73.33%;
    font-weight: 700;
}


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

    #main #news h2 {
        left: 0px;
    }

}/*==== // end @media */
@media screen and ( max-width: 680px ) {

    #main #news h2 {
        position: relative;
        font-size: 15px;
    }

}/*==== // end @media */
@media screen and ( max-width: 480px ) {

    #main #news h2 {
        font-size: 14px;
    }

}/*==== // end @media */

#main h3 {
    margin-bottom: 1em;
    color: #62b01e;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.2em;
    line-height: 4em;
}
#main #course h3  { text-align: center; padding-right: 3em; }
#main #price h3 { text-align: center; }
#main h3 span.number {
    display: inline-block;
    width: 3.12em;
    height: 3.12em;
    padding: 0em 0.4em 0.6em 1.8em;
    font-size: 25px;
    color: #fff;
    background: #f28c91;
    border-radius: 6.06em;
}

#terakoya ul.point {
    margin-bottom: 6vw;
    text-align: center;
    font-size: 30px;
    font-weight: 500;
}
.marker {
    padding-left: 1.5em;
    padding-right: 1.5em;
    padding-top: 0 !important;
    margin-bottom: 15px !important;
    border-bottom: none !important;
    background:linear-gradient(transparent 60%, rgba(242,140,145,0.3) 60%);
    color: #000;
}
#summer-course .marker {
    color: #ed333c;
}
#terakoya ul.point li {
    margin-bottom: 1.8em;
    line-height: 1.5;
    letter-spacing: 0.2em;
}
#terakoya ul.point li span:first-child::before {
    content:"";
    position: absolute;
    left: calc(( 2.07em * -1 ) + 6px );
    top: -0.2em;
    display: inline-block;
    width: 2.07em;
    height: 2.07em;
    background: url("../images/check.png") no-repeat center center;
    -webkit-background-size: 2.07em 2.07em;
    background-size: 2.07em 2.07em;
}
#terakoya ul.point li span { position: relative; padding: 5px 0.2em 2px 0.4em;}

#terakoya .block {
    position: relative;
    padding: 0 0 50px;
}
#course {
    padding-top: 10px;
    background: url("../images/student.png") no-repeat 20px 20px;
    -webkit-background-size: 235px 235px;
    background-size: 235px 235px;
}
#lesson {
    padding-top: 20px;
    padding-right: 255px;
    background: url("../images/clock.png") no-repeat right top;
    -webkit-background-size: 285px 285px;
    background-size: 285px 285px;
}
#price { padding-top: 10px; }
#course .block {
    padding-left: 40%;
}
#lesson .block {
    padding-left: 3em;
}
#terakoya .block ul,
#terakoya ul.note {
    list-style: disc;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.2em;
    line-height: 1.5;
}
#terakoya ul.note { position: relative; margin-top: -50px;  padding-left: 3em; }
#terakoya .block ul li,
#terakoya ul.note li {
    list-style: disc;
    margin-bottom: 0.5em;
    padding-right: 1em;
}
#terakoya .block ul li strong { font-weight: 400; }
.about-koma {
    display: block;
    width: 34em;
    margin: 0 auto 10px;
    padding: 0.7em 1.3em 0.8em 1.5em;
    line-height: 1.4;
    font-size: 25px;
    font-weight: 500;
    background: #fce8e9;
    text-align: center;
    letter-spacing: 0.2em;
    border-radius: 5px;
}
.about-koma span {
    font-size: 0.76em;
}

.about-koma strong { display: inline-block; font-weight: 500;}

#summer-course {
    display: block;
    width: 34em;
    padding-top: 2em;
    margin: 0 auto 2em;
    font-size: 25px;
}
#summer-course .inner {
    padding: 0.7em 1.3em 0.8em 1.5em;
    background: #F6FFFC;
    border: solid 5px #F38B91;
    border-radius: 9px;
}
#summer-course h4 {
    font-size: 25px;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.2em;
    color: #ed333c;
}
#summer-course h4 span {
    font-size: 0.76em;
    color: #404040;
}
#summer-course dl {
    margin-top: 30px;
    padding: 2px;
    font-size: 18px;
}
#summer-course dl dt {
    width: 9.5em;
    padding: 2px;
    text-align: center;
    line-height: 1.6;
    font-weight: 500;
    background: #B3E280;
    border-radius: 6px;
}
#summer-course dl dt.summer-period,
#summer-course dl dt.summer-description {
    padding-left: 1em;
    letter-spacing: 1em;
}
#summer-course dl dd {
    margin-left: 10.5em;
    margin-top: -1.8em;
    margin-bottom: 1em;
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: 0.05em;
}
@media screen and ( max-width: 850px ) {

    #summer-course dl {
        font-size: 16px;
    }

}/*==== // end @media */
@media screen and ( max-width: 580px ) {

    #summer-course dl {
        font-size: 15px;
    }

}/*==== // end @media */
@media screen and ( max-width: 480px ) {

    #summer-course dl dd {
        margin-top: 0.5em;
        margin-left: 0.5em;
    }

}/*==== // end @media */


#course ul.courseMenu {
    list-style: none;
    height: 245px;
    margin-left: 22.55%;
    margin-bottom: 20px;
    padding: 40px 30px 30px 280px;
    font-size: 20px;
    font-weight: 500;
    color: #1f9ac8;
    letter-spacing: 0.05em;
     background: url("../images/ruler.png") no-repeat 20px 20px;
    -webkit-background-size: 225px 225px;
    background-size: 225px 225px;
}
#course ul.courseMenu li { list-style: none;}
#course ul.courseMenu li:nth-child(2) { margin-bottom: 20px;}
#course ul.courseMenu li.student {
    padding-left: 2.5em;
}


.schedule {
    position: relative;
    width: 35em;
    margin: 0 auto 4em;
    padding: 15px 20px;
    border: solid 3px #1f9ac8;
    font-size: 20px;
    letter-spacing: 0.2em;
    border-radius: 15px;
}
.schedule h4 {
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 500;
}
.schedule h4 span { font-size:  18px; color: #ed333c; }

.schedule ul li {
    font-size: 110%;
    font-weight: 500;
    padding: 0.5em 1.3em 0.4em 1.5em;
    line-height: 1.5;
}
.schedule ul li:nth-child(2n) {
    background: rgba(173,218,235,0.5);
}
.schedule ul li span {
    display: inline-block;
    margin-right: 1em;
    font-size: 75%;
    color: #888;
    letter-spacing: 0.1em;
}
.schedule ul li span:nth-child(1) { font-size: 90%; color: #1f9ac8; }
.schedule ul li span:nth-child(2) {
    margin-left: 0.5em;
    margin-right: 0.5em;
}
.schedule p.notice {
    margin: 12px 10px 7px 30px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.08em;
   
}
div.tile_frame {
    position: relative;
    width: 100%;
    margin: 40px auto;
    -js-display: flex;
    display: -webkit-box;
    display: -moz-box;
    display : -webkit-box;
    display : -ms-flexbox;
    display: -webkit-flex;
    display: -ms-flex;
    display: -o-flex;
    display: -moz-flex;
    display: flex;
    -webkit-flex-direction:row;
    -ms-flex-direction:row;
    -o-flex-direction:row;
    -moz-flex-direction:row;
    flex-direction:row;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-align-items: top;
    align-items: top;
    vertical-align: top;
    justify-content: space-between;
}

div.tile_frame .box {
    position: relative;
    width: 27%;
    padding: 22px 0.5em 20px 0.7em;
    margin-bottom: 30px;
    margin-left: 1.2%;
    margin-right: 1.2%;
    background: rgba(242,140,145,0.2);
    font-size: 25px;
    font-weight: 500;
    text-align: center;
    line-height: 1.45;
    letter-spacing: 0.2em;
    border-radius: 10px;
}
div.tile_frame .box::before {
    content: "";
    display: block;
    position: absolute;
    left: -15px;
    top: -20px;
    z-index: 30;
    width: 55px;
    height: 55px;
    background: url("../images/wallet.png") no-repeat center center;
    -webkit-background-size: 55px 55px;
    background-size: 55px 55px;
}
div.tile_frame .box:nth-child(2),
div.tile_frame .box:nth-child(3) {
    font-size: 23px;
}
div.tile_frame .box:nth-child(1) {
    flex-grow: 1;
    line-height: 2.8;
}
div.tile_frame .box:nth-child(2) {
    flex-grow: 1.1;
}
div.tile_frame .box:nth-child(3) {
    flex-grow: 1.6;
    letter-spacing: 0.15em;
}
#course p.information,
#price p.information {
    margin-top: 40px;
    margin-bottom: 50px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.1em;
}
#course p.information {
    margin-bottom: 10px;
    margin-top: 25px;
}
#course p.notice {
    margin-top: 7px;
    text-align: center;
    font-weight: 500;
    font-size: 16px;
    color: #ed333c;
    letter-spacing: 0.05em;
}

@media screen and ( max-width: 680px ) {
    #course p.notice {
        font-size: 15px;
    }

}/*==== // end @media */
@media screen and ( max-width: 580px ) {
    #course p.notice {
        font-size: 14px;
        letter-spacing: 0.04em;
        text-align: left;
    }

}/*==== // end @media */

#discount { padding-top: 15px; }
#service {
    position: relative;
    width: 97.7%;
    margin: 80px 1.15% 40px;
    padding: 65px 360px 55px 25px;
    border: solid 3px #ed333c;
    border-radius: 6px;
    background: #fce8e9;
    background: -webkit-linear-gradient(0deg, #fce8e9 10%, #ffffff 80%);
    background:    -moz-linear-gradient(0deg, #fce8e9 10%, #ffffff 80%);
    background:     -ms-linear-gradient(0deg, #fce8e9 10%, #ffffff 80%);
    background:      -o-linear-gradient(0deg, #fce8e9 10%, #ffffff 80%);
    background:         linear-gradient(0deg, #fce8e9 10%, #ffffff 80%);
    
}
#service::after {
    content: "";
    position: absolute;
    right: 25px;
    top:20px;
    display: block;
    width: 335px;
    height: 210px;
    background: url("../images/kids.png") no-repeat right center;
    -webkit-background-size: contain;
    background-size: contain;
}

#service h3 {
    display: inline-block;
    position: absolute;
    left: 18px;
    top: calc( -0.85em - 15px );
    height: 66px;
    padding: 15px 5px 15px 127px;
    font-size: 22px;
    line-height: 36px;
    color: #ed333c;
    background: #fff url("../images/icon_brother.png") no-repeat 15px center;
    -webkit-background-size: 90px 66px;
    background-size: 90px 66px;
}
#service h3::after {
    content:"";
    position: absolute;
    right: -10px;
    top: -5px;
    display: block;
    width: 40px;
    height: 22px;
    background: #fff url("../images/parts_inspiration.png") no-repeat center center;
    -webkit-background-size: 40px 22px;
    background-size: 40px 22px;
}
#service p {
    margin-bottom: 0.6em;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.15em;
    line-height: 1.4;
}
#service p strong {
    font-size: 113.64%;
    font-weight: 700;
    color: #1f9ac8;
}
#service p .marker {
    margin-right: 0.2em;
    padding-left: 0.2em;
    padding-right: 0.15em;
    padding-bottom: 3px;
    background:linear-gradient(transparent 60%, rgba(234,59,232,0.15) 60%);
}
#service p.red {
    font-size: 20px;
    color: #ed333c;
}
#access div.tile_frame .left {
    width: 61%;
    margin-top: -10px;
    padding-left: 3%;
}
#access div.tile_frame .right {
    width: 39%;
}
#access div.tile_frame .right img { width: 100%; height: auto; } 

#access h3 {
    margin-bottom: 25px;
    padding-top: 10px;
    padding-right: 50px;
    text-align: center;
    line-height: 1;
}
#access h3 span {
    display: block;
    margin-bottom: 10px;
    text-align: center;
    color: #000;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.2em;
}
#access h3 img { width: 206px; height: auto; }
#access dl {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.2em;
}
#access dl dt {
    width: 5em;
}
#access dl dd {
    position: relative;
    margin-left: 5.5em;
    margin-top: -1.4em;
    margin-bottom: 1em;
}
#access dl dd span {
    display: inline-block;
    padding-bottom: 0.5em;
}
#access dl dt.access { margin-top: 2.2em; }
#access dl dd.access { padding-left: 1em; }
#access dl dt.parking { width: 6em; letter-spacing: 0.05em; }
#access dl dd.parking { margin-left: 6.5em; margin-bottom: 0.3em; }

#contact h2 {
    margin-bottom: 30px;
}
#contact p.time {
    text-align: center;
    font-size: 19px;
    font-weight: 400;
    letter-spacing: 0.2em;
}
#contact p.attention {
    margin-bottom: 40px;
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    letter-spacing: 0.1em;
}
#contact ul.contactInfo {
    position: relative;
    padding-right: 20px;
    list-style: none;
    text-align: center;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.2em; 
}
#contact ul.contactInfo li { line-height: 70px; }
#contact ul.contactInfo li.tel {
    margin-bottom: 15px;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0.25em; 
}
#contact ul.contactInfo li.mail {
    font-size: 25px;
    letter-spacing: 0.1em;
    padding-right: 50px;
}
#contact ul.contactInfo li.mail a {text-decoration: none; color: #404040;}
#contact ul.contactInfo li.line {
    line-height: 90px;
    text-align: right;
    padding-right: 220px;
}
#contact ul.contactInfo li.line img {
    position: absolute;
    right: 0px;
    top: 40px;
    vertical-align: bottom;
}
#contact ul.contactInfo li.tel:before {
    margin-top: -20px;
    background: url("../images/icon_tel.png") no-repeat center center;
}
#contact ul.contactInfo li.mail:before {
    background: url("../images/icon_mail.png") no-repeat center center;
}
#contact ul.contactInfo li.line:before {
    background: url("../images/icon_line.png") no-repeat center center;
}
#contact ul.contactInfo li:before {
    content: "";
    display: inline-block;
    width: 70px;
    height: 70px;
    margin-right: 0.5em;
    line-height: 70px;
    vertical-align: middle;
    -webkit-background-size: contain !important;
    background-size: contain !important;
}
#contact ul.list {
    display: block;
    list-style: disc;
    width: 22em;
    margin: 2em auto 1em;
    padding-left: 4em;
    font-size: 18px;
    font-weight: 400;
}
#contact ul.list li { list-style: disc; letter-spacing: 0.2em; }
#contact p.text {
    margin-top: 1.5em;
    text-align: center;
    font-size: 21px;
    font-weight: 500;
    letter-spacing: 0.2em;
}
@media screen and ( min-width: 1001px ) {
    
    #service {
        padding: 65px 0 55px 25px;
    }
    #service::after { top: 0px; right: 5px; }
    
}/*==== // end @media */
@media screen and ( max-width:1000px ) {
    
    #terakoya ul.point {
        font-size: 26px;
    }
    #main #lesson h3 { margin-left: 20px; }
    .about-koma {
        font-size: 24px;
    }
    #summer-course,
    #summer-course h4 {
        font-size: 24px;
    }
    #lesson .block {
        padding-left: 5em;
    }
    div.tile_frame .box {
        padding: 2.2vw 0.5em 1.8vw 0.7em;
    }
    div.tile_frame .box:nth-child(1) {
        font-size: 24px;
        line-height: 2.7;
    }
    
    div.tile_frame .box:nth-child(2),
    div.tile_frame .box:nth-child(3) {
        font-size: 20px;
    }
    #service {
        margin: 10vw 1.15%;
        padding: 6.5vw 35vw 5.5vw 2.5vw;
    }
    #service::after {
        right: 1vw;
        top: calc( 50% - 11vw );
        width: 33.5vw;
        height: 21vw;
    }
    #service p {
        font-size: 20px;
    }
    #service p.red {
        font-size: 18px;
    }
    #access h3 {
        margin-bottom: 25px;
        padding-top: 0px;
        padding-right: 10vw;
    }
    #access h3 span {
        margin-bottom: 1vw;
        font-size: 16px;
        letter-spacing: 0.15em;
    }
    #access h3 img { width: 180px; height: auto; }
    #access dl {
        font-size: 16px;
    }
    #contact p.time {
        font-size: 18px;
    }
    #contact p.attention {
        margin-bottom: 40px;
        font-size: 16px;
    }
    #contact ul.contactInfo {
        padding-right: 30px;
        font-size: 18px;
        letter-spacing: 0.2em; 
    }
    #contact ul.contactInfo li { line-height: 7vw; }
    #contact ul.contactInfo li.tel {
        margin-bottom: 0.6em;
        font-size: 30px;
        letter-spacing: 0.2em; 
    }
    #contact ul.contactInfo li.mail {
        font-size: 22px;
        letter-spacing: 0.1em;
        padding-right: 50px;
    }
    #contact ul.contactInfo li.line {
        line-height: 80px;
        text-align: right;
        padding-right: 22vw;
    }
    #contact ul.contactInfo li.line img {
        right: 0px;
        top: 40px;
        width: 20vw;
        height: auto;
    }
    #contact ul.contactInfo li::before {
        width: 60px;
        height: 60px;
    }
    
}/*==== // end @media */

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

    #terakoya ul.point {
        font-size: 24px;
        letter-spacing: 0.15em;
    }
    #main h2 {
        font-size: 26px;
    }
    #main h2::after {
        left: calc( 50% - 8.825vw );
        width: 17.65vw;
    }
    .about-koma {
        width: 32em;
        font-size: 22px;
        letter-spacing: 0.15em;
    }
    #summer-course {
        width: 32em;
        font-size: 22px;
    }
    #summer-course h4 { font-size: 22px; }
    #terakoya .block ul {
        letter-spacing: 0.05em;
    }
    #terakoya .block ul,
    #terakoya ul.note {
        font-size: 15px;
    }
    #course ul.courseMenu {
        list-style: none;
        height: 32vw;
        margin-left: 15vw;
        margin-bottom: 20px;
        padding: 6vw 30px 4vw 32vw;
        font-size: 18px;
         background: url("../images/ruler.png") no-repeat 0 10px;
        -webkit-background-size: 28vw 28vw;
        background-size: 28vw 28vw;
    }
    #course {
        background: url("../images/student.png") no-repeat 10px 20px;
        -webkit-background-size: 28vw 28vw;
        background-size: 28vw 28vw;
    }
    #lesson {
        padding-right: 26vw;
        background: url("../images/clock.png") no-repeat 99.5% top;
        -webkit-background-size: 33vw 33vw;
        background-size: 33vw 33vw;
    }
    #course .block {
        padding-left: 36%;
    }
    .schedule {
        padding: 15px 20px;
        font-size: 18px;
        letter-spacing: 0.2em;
    }
    div.tile_frame .box::before {
        left: -1.5vw;
        top: -3vw;
        z-index: 30;
        width: 6vw;
        height: 6vw;
        background: url("../images/wallet.png") no-repeat center center;
        -webkit-background-size: 6vw 6vw;
        background-size: 6vw 6vw;
    }
    div.tile_frame .box:nth-child(1) {
        flex-grow: 0.9;
        font-size: 22px;
    }
    
    div.tile_frame .box:nth-child(2),
    div.tile_frame .box:nth-child(3) {
        font-size: 18px;
        letter-spacing: 0.15em;
    }

    div.tile_frame .box:nth-child(3) {
        flex-grow: 1.7;
    }
    #terakoya ul.note {
        font-size: 15px;
        letter-spacing: 0.15em;
    }
    #course p.information,
    #price p.information {
        font-size: 22px;
    }
    #course p.information{
        margin-top: 30px;
    }
    #service {
        width: 96%;
        margin: 10vw 1.9%;
        padding: 6.5vw 35vw 5.5vw 2.5vw;
    }
    #service p {
        font-size: 18px;
    }
    #service p.red {
        font-size: 16px;
    }
    #access div.tile_frame .left {
        width: 59%;
        padding-left: 1%;
    }
    #access div.tile_frame .right {
        width: 41%;
    }
    #access dl dt.access { margin-top: 1.5em; }
    #main #access dl dd {
        margin-bottom: 1em;
        letter-spacing: 0.1em;
    }
    #main #access dl dd.parking { margin-bottom: 0.2em; }
    #access dl dd span {
        display: inline-block;
    }
    #contact p.attention {
        font-size: 14px;
        letter-spacing: 0.05em;
    }
    #contact ul.list { font-size: 18px; }
    #contact ul.contactInfo li.tel { margin-right: 30px; letter-spacing: 0.15em;}
    #contact ul.contactInfo li.mail { margin-right: 50px; letter-spacing: 0.05em;}
    
}/*==== // end @media */
@media screen and ( max-width: 768px ) {

    #terakoya ul.point {
        font-size: 20px;
    }
    #main h3 {
        font-size: 20px;
    }
    #main h3 span.number {
        font-size: 22px;
    }
    .about-koma {
        font-size: 20px;
    }
    #summer-course {
        font-size: 20px;
    }
    #summer-course h4 { font-size: 20px; }
    .schedule {
        width: 33em;
        padding: 13px 16px;
        font-size: 18px;
        letter-spacing: 0.15em;
        border-radius: 12px;
    }
    .schedule h4 {
        margin-bottom: 12px;
        font-size: 18px;
    }
    .schedule h4 span { font-size: 16px; }

    .schedule ul li {
        font-weight: 500;
        padding: 0.5em 1.3em 0.4em 1.5em;
        line-height: 1.5;
    }
    div.tile_frame .box:nth-child(1) {
        font-size: 20px;
    }
    
    div.tile_frame .box:nth-child(2),
    div.tile_frame .box:nth-child(3) {
        font-size: 16px;
        letter-spacing: 0.1em;
    }

    div.tile_frame .box:nth-child(3) {
        flex-grow: 1.8;
    }
    #terakoya ul.note {
        font-size: 14px;
        letter-spacing: 0.1em;
    }

    #service h3 {
        display: inline-block;
        position: absolute;
        left: 18px;
        top: calc( -1.2em - 1.5vw );
        height: calc( 1.7em + 3vw );
        padding: 1.5vw 5px 1.5vw 16vw;
        font-size: 20px;
        line-height: 36px;
        background: #fff url("../images/icon_brother.png") no-repeat 15px center;
        -webkit-background-size: 12vw 8.8vw;
        background-size: 12vw 8.8vw;
    }
    #access div.tile_frame .left {
        width: 65%;
        padding-left: 1%;
    }
    #access div.tile_frame .right {
        position: relative;
        width: calc( 35% + 5vw );
        margin-right: -5vw;
    }
    #access div.tile_frame .right img.sp { display: none; }
    #contact p.time {
        font-size: 16px;
        letter-spacing: 0.1em;
    }
    #contact p.text {
        font-size: 18px;
    }
}/*==== // end @media */


@media screen and ( max-width: 680px ) {
    
    #main h2 {
        font-size: 24px;
    }
    #course {
        background: url("../images/student.png") no-repeat 10px 70px;
        -webkit-background-size: 28vw 28vw;
        background-size: 28vw 28vw;
    }
    .about-koma {
        width: 90vw;
        padding: 0.7em 0.5em 0.8em 0.7em;
        font-size: 18px;
        letter-spacing: 0.1em;
    }
    #summer-course {
        width: 90vw;
        padding-top: 47px;
        font-size: 18px;
    }
    #summer-course .inner {
        padding: 0.7em 0.5em 0.8em 0.7em;
    }
    #summer-course h4 { font-size: 18px; }
    #course ul.courseMenu {
        margin-left: 12vw;
        padding: 6vw 30px 4vw 30vw;
        font-size: 16px;
    }
    #course ul.courseMenu li:nth-child(2) { margin-bottom: 15px; }
    #course ul.courseMenu li.student {
        padding-left: 1em;
    }
    .schedule {
        width: 30em;
        padding: 12px 14px;
        font-size: 16px;
        letter-spacing: 0.05em;
    }
    div.tile_frame .box:nth-child(1) {
        flex-grow: 0.7;
        font-size: 18px;
        letter-spacing: 0.1em;
    }
    
    div.tile_frame .box:nth-child(2),
    div.tile_frame .box:nth-child(3) {
        font-size: 15px;
        letter-spacing: 0.05em;
    }
    #course p.information,
    #price p.information {
        margin-bottom: 70px;
        font-size: 18px;
        letter-spacing: 0.1em;
    }
    #course p.information {
        margin-bottom: 20px;
    }
    #service h3::after {
        right: -10px;
        top: -6px;
        width: 30px;
        height: 17px;
        -webkit-background-size: 30px 17px;
        background-size: 30px 17px;
    }
    #service p {
        font-size: 18px;
    }
    #service p .marker { display: inline-block; }
    #service p.red {
        font-size: 15px;
    }
    #access div.tile_frame .right {
        padding-top: 10vw;
    }
    #access .left dl { font-size: 15px; }
    #contact ul.list { font-size: 16px; }
    #contact ul.contactInfo li.tel,
    #contact ul.contactInfo li.mail { margin-right: 0; padding-right: 0; }
    #contact ul.contactInfo li.line {
        padding-right: 20vw;
    }
    #contact ul.contactInfo li.line img {
        right: 0px;
        top: 130px;
        width: 20vw;
        height: auto;
    }
    #contact ul.contactInfo li::before {
        width: 50px;
        height: 50px;
    }
    
    
}/*==== // end @media */
    
@media screen and ( max-width: 580px ) {
    
    #terakoya ul.point {
        font-size: 20px;
        text-align: left;
        letter-spacing: 0.1em;
    }
    #terakoya ul.point li {
        margin:0 1.5em 1.8em 2.5em;
    }
    #terakoya ul.point li:nth-child(1){
        margin-left: 3.5em;
    }
    #terakoya ul.point li:nth-child(3) {
        margin-left: 5em;
    }
    #terakoya ul.point li br { display: none; }
    #terakoya ul.point li span:nth-child(3) {
        margin-left: -0.45em;
    }
    #main h2 {
        margin-top: 0;
        font-size: 22px;
    }
    #main #terakoya h2 {
        margin-top: 12vw;
    }
    .schedule {
        width: 96%;
        margin-bottom: 3em;
        padding: 13px 12px;
        font-size: 16px;
        letter-spacing: 0.05em;
    }
    .schedule h4 {
        margin-bottom: 8px;
        line-height: 1.3;
    }
    .schedule h4 span { display: inline-block; font-size: 14px; padding-left: 0.5em; }

    .schedule ul li {
        padding: 0.5em 0.5em 0.4em 0.7em;
        line-height: 1.5;
        letter-spacing: 0.05em;
    }
    #main #price h3 { padding-right: 20vw; }
    #price div.tile_frame {
        display: block;
        margin-top: 10px;
    }
    #terakoya div.tile_frame .box {
        width: 80%;
        margin-bottom: 0.5em;
        padding: 2.2vw 0.5em 2.2vw 0.7em;
        font-size: 18px;
        line-height: 1.5;
    }

    div.tile_frame .box::before {
        left: -3vw;
        top: -1.5vw;
        z-index: 30;
        width: 8vw;
        height: 8vw;
        background: url("../images/wallet.png") no-repeat center center;
        -webkit-background-size: 8vw 8vw;
        background-size: 8vw 8vw;
    }
    #terakoya div.tile_frame .box br { display: none;}
    #terakoya div.tile_frame .box:nth-child(1) { margin-left: 5vw;}
    #terakoya div.tile_frame .box:nth-child(2) { margin-left: 10vw;}
    #terakoya div.tile_frame .box:nth-child(3) { margin-left: 15vw;}
    #terakoya ul.note { margin-top: -25px; font-size: 13px; }
    #service p {
        font-size: 16px;
    }
    #service p.red {
        font-size: 14px;
    }
    #service p .marker { display: inline-block; margin-bottom: 0 !important; }
    
    #access div.tile_frame .left {
        width: 62%;
        padding-left: 1%;
    }
    #access div.tile_frame .right {
        position: relative;
        width: calc( 35% + 5vw );
        margin-right: -5vw;
    }
    #access div.tile_frame .right img.sp { display: block; }
    #access .left dl dt { font-weight: 700; }
    #access .left dl dd {
        margin-top: 0;
        margin-left: 0;
    }
    #access .left dl dd.parking {
        margin-top: -1.4em;
        margin-left: 7em;
    }
    #access .left dl dd.access { padding-left: 0; }
    #contact ul.contactInfo {
        font-size: 16px;
    }
    #contact ul.contactInfo li.mail { font-size: 20px; }
    #contact ul.contactInfo li.line {
        letter-spacing: 0.05em;
        line-height: 70px;
    }
    #contact ul.contactInfo li.line img {
        top: 115px;
        width: 24vw;
        height: auto;
    }
    
}/*==== // end @media */
@media screen and ( max-width: 540px ) {
    
    #terakoya ul.point {
        font-size: 18px;
    }
    
}/*==== // end @media */
@media screen and ( max-width: 480px ) {
    
    #terakoya ul.point li {
        margin-bottom: 1.4em;
    }
    #main h2 {
        font-size: 20px;
    }
    #main h3 { font-size: 18px; letter-spacing:  0.1em; }
    #main h3 span.number {
        font-size: 20px;
    }
    #course {
        background-position: center 15vw;
    }
    #lesson {
        padding-right: 0;
        background-position: center 16vw;
    }
    #course .block {
        padding-left: 10%;
        padding-top: 22vw;
        padding-bottom: 6vw
    }
    #lesson .block {
        padding-left: 10%;
        padding-top: 24vw;
    }
    #course ul.courseMenu {
        height: 38vw;
        margin-left: 5vw;
        padding: 6vw 30px 10vw 29vw;
        font-size: 15px;
    }
    #course ul.courseMenu li.student {
        padding-left: 1em;
    }
    .schedule {
        padding: 8px 10px;
        letter-spacing: 0.05em;
    }
    .schedule ul li {
        padding: 0.3em 0.5em 0.4em 0em;
    }
    .schedule ul li span {
        display: block;
        padding-left: 1em;
        padding-bottom: 0.1em;
        color: rgba(31,154,200,1.00);
    }
     .schedule ul li span:nth-child(1) {
        font-size: 100%;
    }
    .schedule ul li span:nth-child(2) {
        display: inline-block;
        padding-left: 0;
        margin-left: 0.6em;
        margin-right: 0.6em;
        font-size: 90%;
        color: #888;
        letter-spacing: 0px;
    }
    div.tile_frame {
        margin-top: -10px;
    }
    #terakoya div.tile_frame .box {
        font-size: 16px;
    }
    #course p.information,
    #price p.information {
        font-size: 16px;
    }
    #course p.information{
        margin-top: 10px;
    }
    #service {
        width: 96%;
        margin: 10vw 1.9%;
        padding: 6.5vw 2.5vw 23vw 2.5vw;
    }
    #service::after {
        right: auto;
        top: auto;
        left: calc( 50% - 20vw );
        bottom: 1vw;
        width: 40vw;
        height: 25vw;
    }
    #service p { line-height: 1.6;}
    #main #access h2 { margin-bottom: 2em; }
    #main #access h3 { margin-bottom: 10px;  padding-right: 0; }
     #access h3 span {margin-bottom: 8px;
        font-size: 14px;
        letter-spacing: 0.1em;
    }
    #access h3 img { width: 160px; height: auto; }
    #main #access div.tile_frame { margin-bottom: 0; }
    #access .left dl dt.access { margin-top: 0em; }
    #access .left dl  { padding-bottom: 2em; }
    #contact p.time {
        font-size: 16px;
        letter-spacing: 0em;
    }
    #contact p.attention {
        font-size: 13px;
        letter-spacing:0em;
        text-align: left;
    }
    #contact ul.list { font-size: 15px; }
    #contact ul.contactInfo { padding-right: 0; }
    #contact ul.contactInfo li::before {
        width: 40px;
        height: 40px;
    }
    #contact ul.contactInfo li.tel {
        font-size: 24px;
    }
    #contact ul.contactInfo li.mail {
        font-size: 18px;
    }
    #contact ul.contactInfo li.line {
        padding-right: 26vw;
        font-size: 16px;
        line-height: 3.2em;
    }
    #contact ul.contactInfo li.line img {
        top: 90px;
        width: 22vw;
    }
    #contact ul.list { font-size: 15px;  }
    #contact ul.list li { letter-spacing: 0.1em; letter-spacing: 0.1em; }
    
}/*==== // end @media */
@media screen and ( max-width: 440px ) {
    #access .left dl dt.access { margin-top: 2.1em; }
    #access .left dl dd.access { 
        position: relative;
        width: calc( 100% + 30vw);
        margin-right: -30vw;
        margin-left: 6em;
        margin-top: -1.4em;
        margin-bottom: 0;
    }
    #access .left dl dd.parking {
        width: calc( 100% + 30vw);
        margin-right: -30vw;
    }
}/*==== // end @media */
@media screen and ( max-width: 400px ) {
    
    #main h2 {
        font-size: 18px;
    }
    #main #price h3 { padding-right: 10vw; }
    #course ul.courseMenu {
        padding: 6vw 10px 10vw 29vw;
        font-size: 14px;
    }
    #course {
        background-position: center 17vw;
    }
    #lesson {
        background-position: center 18vw;
    }
    .schedule {
    margin-top: -20px;
        padding: 7px 5px;
        font-size: 15px;
    }
    #access .left dl { font-size: 14px; }
    #contact ul.contactInfo li.mail {
        font-size: 15px;
    }
    #contact ul.contactInfo li.line {
        font-size: 15px;
    }
    #contact ul.list { padding-left: 3.5em; font-size: 15px;  }
    
}/*==== // end @media */
@media screen and ( max-width: 370px ) {
    
    #course {
        background-position: center 20vw;
    }
    #lesson {
        background-position: center 21vw;
    }
    #course ul.courseMenu li {
        letter-spacing: 0px;
    }
    #course ul.courseMenu li.student {
        padding-left: 0;
    }
    .schedule ul li {
        padding-left: 0px;
        padding-right: 5px;
        font-size: 14px;
        letter-spacing: 0px;
    }
    .schedule ul li span:nth-child(2) {
        margin-left: 0.4em;
        margin-right: 0.4em;
    }
    #terakoya div.tile_frame .box {
        width: 90%;
    }
    #terakoya div.tile_frame .box:nth-child(1) { margin-left: 5vw;}
    #terakoya div.tile_frame .box:nth-child(2) { margin-left: 7vw;}
    #terakoya div.tile_frame .box:nth-child(3) { margin-left: 9vw;}
    #course p.information,
    #price p.information {
        font-size: 15px;
    }
    #terakoya div.tile_frame .box {
        font-size: 15px;
    }
    #contact p.time {
        font-size: 15px;
    }
    #contact ul.contactInfo li::before {
        width: 30px;
        height: 30px;
    }
    #contact ul.contactInfo li.tel {
        font-size: 22px;
    }
    #contact ul.contactInfo li.mail {
        font-size: 15px;
    }
    #contact ul.contactInfo li.line {
        font-size: 14px;
    }
    #contact ul.contactInfo li.line img {
        top: 75px;
    }
    
}/*==== // end @media */
