@charset "utf-8";

#nav,
#nav_l,
#sp__menu li,
.top_menu img {
    list-style: none
}

@font-face {
    font-family: NotoSansCJKjp;
    font-style: normal;
    font-weight: 400;
    src: url(./font/NotoSansCJKjp_Regular.woff) format('woff')
}

@font-face {
    font-family: NotoSansCJKjp;
    font-style: normal;
    font-weight: 500;
    src: url(./font/NotoSansCJKjp_Medium.woff) format('woff')
}

@font-face {
    font-family: NotoSansCJKjp;
    font-style: normal;
    font-weight: 700;
    src: url(./font/NotoSansCJKjp_Bold.woff) format('woff')
}

@font-face {
    font-family: NotoSansCJKjp;
    font-style: normal;
    font-weight: 900;
    src: url(./font/NotoSansCJKjp_Black.woff) format('woff')
}

.pc {
    display: block !important;
    height: 100%
}

.sp {
    display: none !important;
    transition: opacity .4s;
    -moz-transition: opacity .4s;
    -webkit-transition: opacity .4s;
    -o-transition: opacity .4s
}

@media only screen and (max-width:750px) {
    .pc {
        display: none !important
    }

    .sp {
        display: block !important
    }
}

.header_sp {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 99999;
    width: 100%;
    background-color: #FFF
}

.top_menu {
    -webkit-align-items: center;
    align-items: center;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: flex-end;
    justify-content: flex-end
}

.top_menu_l {
    width: 40%;
    height: 40%;
    margin: 0 auto 0 0;
    padding-left: 10px
}

.top_menu img:nth-of-type(2) {
    width: 38px;
    height: 38px;
    margin: 10px 5px 10px 5px;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row-reverse;
    flex-direction: row-reverse
}

.tw_im {
    width: 38px;
    height: 38px;
    margin: 12px 60px 10px 5px;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row-reverse;
    flex-direction: row-reverse
}



.peke {
    background-position: -35px 0
}

.drawr {
    display: none;
    background-color: #FFF;
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    padding: 60px 0 0 15px;
    z-index: 100
}

#sp__menu li {
    width: 120px;
    padding-top: 20px;
    color: #000;
    display: block;
    font-size: 26px
}

#guriguri_icon {
    padding-top: 60px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: space-evenly
}

#guriguri_icon img {
    width: 30%;
    height: 30%
}

#guriguri_body {
    height: 240px
}

.redbox {
    margin-bottom: 10px;
    position: relative
}

.redbox img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%
}

#address_ {
    padding-left: 20px;
    line-height: 180%
}

#slider_nobi {
    padding: .5em;
    background: #f0f8ff;
    box-shadow: 0 0 4px rgba(0, 0, 0, .23)
}

.container_sp {
    padding: 10px 0;
    width: 100%;
    height: 110px
}

.container_sp img {
    width: 90%;
    position: absolute;
    left: 5%;
    top: 50px;
    opacity: 0;
    transition: 1s
}

.container_sp .show {
    opacity: 1;
    z-index: 1
}

#slide_spj {
    width: 375px;
    height: 540px;
    position: relative;
    margin: 0 50px 0 0;
    padding-top: 0
}

#slide_spj img {
    position: absolute;
    left: 0;
    top: 0
}

.parent01,
.parent02,
.parent02_0,
.parent03_0,
.parent03,
.parent04 .parent02_00,
.parent02_s {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: space-evenly
}

.parent02_0,
.parent02_s {
    padding-bottom: 10px;
}

.parent02_00 {
    padding: 0;
}

.main1 {
    width: 32%;
    height: 32%
}

.main2,
.main3,
.main4 {
    width: 47%;
    height: 47%
}

.main2_0,
.main2_s {
    width: 100%;
    height: 100%
}

.main2_00,
.main2_01,
.main2_02 {
    width: 100%;
    height: 100%;
}

.main3_0 {
    width: 100%;
    height: 100%
}

.sp #google_tizu {
    margin: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center
}

.sp #tizu2,
.sp #tizu2 img {
    display: flex;
    justify-content: center
}

.sp #google_tizu iframe {
    width: 85%;
    height: 400px;
    border: 2px solid #848484
}

.sp #tizu2 {
    margin: 5px 0;
    width: 100%;
    height: 100%;
    align-items: center
}

.sp #tizu2 img {
    width: 85%;
    height: 85%;
    align-items: center;
    border: 2px solid #848484
}

#eigyou img,
.sp #tizu_text img {
    margin: 15px 0;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    justify-content: center;
    align-items: center
}

#annai1 img,
#annai4 img {
    max-width: 90%;
    max-height: 90%;
    display: flex
}

.page-back img {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px
}

#ryoukin1 img,
#ryoukin2 img,
#ryoukin3 img {
    margin: 15px 0;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    justify-content: center;
    align-items: center
}

#annai1,
#annai2,
#annai3,
#annai4,
#annai5 {
    max-width: 100%;
    max-height: 100%;
    display: flex;
    justify-content: center;
    align-items: center
}

#annai1 img {
    margin: 20px 0 5px;
    justify-content: center;
    align-items: center
}

#annai2 img,
#annai3 img,
#annai5 img {
    margin: 5px 0;
    max-width: 85%;
    max-height: 85%;
    display: flex;
    justify-content: center;
    align-items: center
}

#annai5 {
    padding-bottom: 20px
}

#annai4 img {
    margin: 10px 0;
    justify-content: center;
    align-items: center
}

#hosikko_syousai,
#nobi_syousai,
#pura_syousai,
#tanken_syousai {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    padding-top: 10px
}

#emerg,
#emerg2 {
    padding-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    font-size: 1.2em;
    font-weight: 700;
}

#emerg img,
#emerg2 img {
    width: 95%;
    height: 95%;
    align-items: center;
}

#cale_syousai {
    padding-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    font-size: 1.2em;
    font-weight: 700;
}

#gw_jyutai img {
    width: 95%;
    height: 95%;
    align-items: center;
}

#cale_syousai img {
    width: 95%;
    height: 95%;
    align-items: center;
}

#gw_syousai {
    padding-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    font-size: 1.2em;
    font-weight: 700;
}

#gw_syousai img {
    width: 95%;
    height: 95%;
    align-items: center;
}

#hosikko_syousai img,
#ibento img,
#nobi_syousai img,
#pura_syousai img,
#tanken_syousai img {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 95%
}

#box_jsin,
#ibento {
    display: flex;
    justify-content: center
}

#ibento {
    padding-top: 10px;
    align-items: center;
    max-width: 100%
}

#group_r {
    margin-top: 70px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: space-evenly;
    width: 100%
}

.box_jsinfo {
    margin: 2em 0;
    background: #f1f1f1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .22)
}

.box_jsinfo .box-title {
    font-size: 1.2em;
    background: #5fc2f5;
    padding: 4px;
    text-align: center;
    color: #FFF;
    font-weight: 700;
    letter-spacing: .05em
}

.cp_tooltip .cp_tooltiptext,
.cp_tooltip_l .cp_tooltiptext_l {
    white-space: nowrap;
    transition: opacity 1s;
    text-align: center;
    color: #fff;
    background-color: #da3c41;
    font-weight: 700;
    font-size: 1.5em;
    z-index: 1
}

.box_jsinfo p {
    padding: 15px 20px;
    margin: 0
}

#box_jsin {
    align-items: center
}

.cp_tooltip,
.cp_tooltip_l {
    display: inline-block;
    cursor: pointer
}

#nav {
    position: fixed;
    right: 20px;
    z-index: 9999
}

#nav li {
    margin: 0 0 15px
}

.cp_tooltip {
    position: relative
}

.cp_tooltip .cp_tooltiptext {
    position: absolute;
    top: -5px;
    right: 105%;
    visibility: hidden;
    padding: .5em .6em;
    opacity: 0;
    border-radius: 6px
}

.cp_tooltip .cp_tooltiptext::after {
    position: absolute;
    top: 40%;
    left: 103%;
    margin-left: -7px;
    content: ' ';
    border: 7px solid transparent;
    border-left-color: #da3c41
}

.cp_tooltip:hover .cp_tooltiptext {
    visibility: visible;
    opacity: 1
}

#nav_l {
    position: fixed;
    left: 10px;
    z-index: 9999
}

#nav_l li {
    margin: 0 0 15px
}

.cp_tooltip_l {
    position: relative
}

.cp_tooltip_l .cp_tooltiptext_l {
    position: absolute;
    top: -5px;
    left: 105%;
    visibility: hidden;
    padding: .3em .5em;
    opacity: 0;
    border-radius: 6px
}

.cp_tooltip_l .cp_tooltiptext_l::after {
    position: absolute;
    top: 40%;
    right: 103%;
    margin-left: -7px;
    content: ' ';
    border: 7px solid transparent;
    border-right-color: #da3c41
}

#bgvid,
#pattern_v {
    min-width: 100%;
    top: 0
}

.cp_tooltip_l:hover .cp_tooltiptext_l {
    visibility: visible;
    opacity: 1
}

#header,
#intro {
    width: 100%;
    height: 100%
}

.main-visual {
    height: 100%; // 高さを画面いっぱいに指定する。(vhが効かない場合の対策)
    height: 100vw; // 高さを画面いっぱいに指定する。
    position: relative; //横幅がウィンドウズサイズの縦幅よりもはみ出てしまう場合に、左にずらすために指定。
    width: 100%; // 横幅もいっぱいに。
    text-align: center;
    position: relative;
    overflow: hidden;
    left: 0
}

#bgvid {
    background: url(../images/Snapshot.jpg) no-repeat; // 動画が再生を始めるまで、cssのほうでも背景を設定します。
    background-attachment: fixed; // 中央揃えになるように、fixed。
    background-position: center center; // positionも中央に。
    background-size: cover; // 画面サイズに応じてサイズを可変するように設定。
    min-height: 100%;
    min-height: 100vh;
    min-width: 100vw; // wrapperのサイズに応じて、leftの位置をjQueryで指定するため、positionはabsoluteにします。
    position: absolute;
    z-index: 1
}

#pattern_v {
    background-image: url(../images/dot_v.png);
    background-repeat: repeat;
    background-blend-mode: overlay;
    background-position: 0;
    background-size: auto, cover;
    min-height: 100%;
    min-width: 100vw;
    position: absolute;
    left: 0;
    z-index: 2
}

#bg_pic {
    position: relative;
    top: -650px;
    height: 500px;
    z-index: 10;
    margin-bottom: -500px;
    display: flex;
    justify-content: center;
    align-items: center
}

#news1903 {
    width: 100%;
    padding: 10px 5px;
}

.underline1,
.underline2 {
    font-size: 14px;
    font-weight: 900;
    color: #333;
    text-decoration: none;
    background: linear-gradient(transparent 50%, rgba(255, 255, 0, .69) 50%);
    background-repeat: no-repeat;
    background-size: 0% 100%;
    transition: background-size 3s;
}

/* ここから新しいメニュー */

#nav-toggle {
    position: fixed;
    top: 11px;
    right: 15px;
    height: 30px;
    cursor: pointer;
}

#nav-toggle > div {
    position: relative;
    width: 35px;
}

#nav-toggle span {
    width: 100%;
    height: 6px;
    left: 0;
    display: block;
    background: #d83473;
    position: absolute;
    transition: top .5s ease, -webkit-transform .3s ease-in-out;
    transition: transform .3s ease-in-out, top .5s ease;
    transition: transform .3s ease-in-out, top .5s ease, -webkit-transform .3s ease-in-out;
    /* #nav-toggle close */
}

#nav-toggle span:nth-child(1) {
    top: 4px;
}

#nav-toggle span:nth-child(2) {
    top: 16px;
}

#nav-toggle span:nth-child(3) {
    top: 28px;
}

#nav-toggle:hover span:nth-child(1) {
    top: 4px;
}

#nav-toggle:hover span:nth-child(3) {
    top: 28px;
}

.open #nav-toggle span:nth-child(1) {
    top: 15px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.open #nav-toggle span:nth-child(2) {
    top: 15px;
    width: 0;
    left: 50%;
}

.open #nav-toggle span:nth-child(3) {
    top: 15px;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

/* z-index */
#nav-toggle {
    z-index: 1000;
}

#gloval-nav nav {
    z-index: 999;
}

#gloval-nav {
    background-image: linear-gradient(-45deg, #FF00BF, #FFEA00);
    color: #fff;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 990;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 29px;
    padding-left: 0;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    transition: -webkit-transform 1s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition: transform 1s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition: transform 1s cubic-bezier(0.215, 0.61, 0.355, 1), -webkit-transform 1s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.open #gloval-nav {
    -webkit-transform: translateX(0);
    transform: translateX(0);
}

#gloval-nav a {
    display: inline-block;
    color: #000;
    text-decoration: none;
    padding: 10px 0;
    transition: color .6s ease;
}

#gloval-nav ul {
    list-style: none;
}

#gloval-nav ul li {
    -webkit-transform: translateX(-200px);
    transform: translateX(-200px);
    transition: -webkit-transform 1.3s ease;
    transition: transform 1.3s ease;
    transition: transform 1.3s ease, -webkit-transform 1.3s ease;
    position: relative;
    margin: 30px 0px;
    font-size: 60px;
    font-weight: 700;
}

#gloval-nav ul li:after {
    content: "";
    display: block;
    width: 500px;
    height: 2px;
    background: #000;
    left: -600px;
    position: absolute;
    -webkit-transform: translateX(0);
    transform: translateX(0);
    transition: -webkit-transform 1s ease;
    transition: transform 1s ease;
    transition: transform 1s ease, -webkit-transform 1s ease;
}

#gloval-nav ul li:hover:after {
    -webkit-transform: translateX(300px);
    transform: translateX(300px);
}

#gloval-nav ul li:nth-child(2) {
    transition-delay: .15s;
}

#gloval-nav ul li:nth-child(3) {
    transition-delay: .3s;
}

#gloval-nav ul li:nth-child(4) {
    transition-delay: .45s;
}

#gloval-nav ul li:nth-child(5) {
    transition-delay: .6s;
}

#gloval-nav ul li:nth-child(6) {
    transition-delay: .75s;
}

#gloval-nav ul li:nth-child(7) {
    transition-delay: .9s;
}

.open #gloval-nav li {
    -webkit-transform: translateX(0);
    transform: translateX(0);
}

.nav-bg {
    opacity: 0;
    background-image: linear-gradient(-45deg, #FF00BF, #FFEA00);
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
    transition: all 1s ease;
}

.nav-bg.active {
    opacity: 1;
}

.nav-bg.nsp_time {
    background-image: linear-gradient(-45deg, #4400FF, #FFEA00);
}

.nav-bg.nsp_money {
    background-image: linear-gradient(-45deg, #00FFCC, #FFEA00);
}

/* スライドショー修正 */
.itemDisplay li {
    left: 0px !important;
}

/*ここから新イベント・教室案内*/
#move_b {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

#flex_row {
    width: 100%;
    height: auto;
}

.flex_ul1 {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 100%;
    height: auto;
}

.butt {
    width: 25vw;
}

.butt img {
    width: 100%;
}

.flex_ul2 {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 100%;
    height: auto;
}

.news_all {
    padding: 0.5em;
    text-align: center;
    width: 20vw;
}

.news_all img {
    width: 100%;
}
