@charset "UTF-8";

/*PCサイズレスポンシブ*/
@media(min-width:1000px) {

    body {
        min-width: 1000px;
        background-color: white;
        margin: 0 auto;
        text-align: center;
        font-size: 16px;
        font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
        letter-spacing: 1px;
    }

    .container {
        width: 100%;
        margin: 0 auto;
    }

    .header {
        width: 100%;
        display: flex;
        background-size: 60%;
        background-repeat: no-repeat;
        background-position: center;
        margin: auto;
    }

    .header1 {
        width: 55%;
        height: 70px;
    }

    .header2 {
        width: 45%;
        height: 70px;
        background-color: #F1AC4D;
    }

    .header2 ul {
        display: flex;
        margin-top: 25px;
        text-align: center;
        padding: 0;
    }

    .header2 li {
        margin: 0 auto;
        list-style: none;
        text-align: center;

    }

    .header2 a {
        width: 100%;
        color: white;
        text-decoration: none;
        border-bottom: 1px solid #6f6f6f;
        padding-bottom: 5px;
    }

    .top {
        width: 50%;
        margin: 0 auto;
        display: flex;
    }

    .top-wrap {
        width: 100%;
        text-align: left;
        align-items: center;
        margin-top: 30px;
    }

    .top1 h3 {
        font-size: 20px;
        font-weight: lighter;
        letter-spacing: 2px;
        margin: 0 auto;
        text-align: left;
    }

    .top2 h3 {
        font-size: 43px;
        letter-spacing: 8px;
        margin: 10px auto;
    }

    /* その場で ふわっ */
    .fadeIn {
        animation-name: fadeInAnime;
        animation-duration: 2s;
        animation-fill-mode: forwards;
        opacity: 0;
    }

    @keyframes fadeInAnime {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    .top-img {
        text-align: right;
        display: flex;
        align-items: center;
    }

    .top-img img {
        width: 200px;
        padding-bottom: 30px;
    }

    /* 左から ふわっ */

    .fadeLeft {
        animation-name: fadeLeftAnime;
        animation-duration: 1s;
        animation-fill-mode: forwards;
        opacity: 0;
    }

    @keyframes fadeLeftAnime {
        from {
            opacity: 0;
            transform: translateX(-100px);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .price {
        width: 100%;
        margin: 0 auto 80px auto;
    }

    .price1 {
        width: 50%;
        margin: 0 auto;
        text-align: left;
        /* margin-left: 2%; */
    }

    .title h2 {
        font-family: futura;
        color: #F1AC4D;
        font-size: 32px;
    }

    .online h3 {
        margin-bottom: 5px;
        font-size: 22px;
    }


    /* 価格表 */
    table {
        border-collapse: collapse;
        padding: 0;
        width: 900px;
        table-layout: auto;
        color: #000;
    }

    table tr {
        background-color: #fff;
        padding: .35em;
        border-bottom: 1px solid #bbb;
    }

    table tr:last-child {
        border-bottom: none
    }

    table th,
    table td {
        padding: 1em 0em 1em 0em;
        border-right: 1px solid #bbb;
    }

    table th:last-child,
    table td:last-child {
        border: none;
    }

    tbody th {
        font-weight: lighter;
    }

    .lessen {
        width: 15%;
    }

    /* 価格表 装飾　ここまで */

/* 算数　価格表 */
    .sansu {
        border-collapse: collapse;
        padding: 0;
        width: 900px;
        table-layout: auto;
        color: #000;
    }

    table tr {
        background-color: #fff;
        padding: .35em;
        border-bottom: 1px solid #bbb;
    }

    table tr:last-child {
        border-bottom: none
    }

    table th,
    table td {
        padding: 1em 0em 1em 0em;
        border-right: 1px solid #bbb;
    }

    table th:last-child,
    table td:last-child {
        border: none;
    }

    tbody th {
        font-weight: lighter;
    }


    .student{
        width: 15%;
    }
/* 算数 価格表　ここまで*/

    .online-price {
        width: 50%;
        margin: 30px auto;
        text-align: center;
    }

    .style1 {
        text-align: left;
        padding-left: 2%;
    }

    .style1-inner {
        background-color: #00B700;
        color: #fff;
    }

    .price-remark {
        font-size: 14px;
    }

    .style1-inner2 {
        font-size: 14px;
    }

    .offline {
        width: 50%;
        margin: 120px auto 0 auto;
    }

    .offline-wrap1 {
        width: 100%;
    }

    .offline-wrap1 p {
        width: 130px;
        background-color: #CB4500;
        color: whitesmoke;
        text-align: center;
        margin: 50px 0 0 0;
        padding: 0 0.5%;
        letter-spacing: normal;
    }

    .offline-wrap2 {
        width: 100%;
        display: flex;
        align-items: center;
    }

    .offline1 h3 {
        font-size: 22px;
        margin-top: 5px;
    }

    .offline2 p {
        font-size: 14px;
        margin: 0px 0 10px 8px
    }

    .day {
        width: 100%;
    }

    .english {
        width: 50%;
        margin-left: 5%;
        text-align: left;
        border: solid 1px #000;
    }

    .arithmetic {
        width: 50%;
        margin-left: 5%;
        text-align: left;
        border: solid 1px #000;
    }

    .day1 p {
        width: 45%;
        border: solid 1px #868686;
        background-color: #868686;
        color: #fff;
        margin: 0;
        padding: 2%;
        text-align: center;
        font-size: 18px;
    }

    .day-detail {
        width: 100%;
        display: flex;
    }

    .day2 {
        margin-left: 3%;
    }

    .day3 {
        margin-left: 8%;
    }

    .offline-price {
        width: 50%;
        margin: 30px auto;
    }


    .payment {
        width: 50%;
        margin: 120px auto;
        text-align: left;
    }

    .payment h3 {
        font-size: 22px;
        margin: ;
        margin-bottom: 0;
    }

    .payment p {
        margin-top: 8px;
    }




    /* 以下、全ページ共通 */
    .contact {
        width: 100%;
    }


    .article1 {
        display: flex;
        justify-content: center;
        position: relative;

    }

    .content {
        width: 15%;
        height: 50px;
        margin: 10px 5px 0px 5px;
        padding-bottom: 8px;
        background-color: #00B700;
        color: white;
        z-index: 1;
        float: right;
        /* 位置指定 */
        position: relative;
        /* 位置指定 */
        top: 6px;
        /* 位置指定 */
        box-shadow: 0 0 8px gray;
    }

    .content p {
        font-size: 23px;
        font-weight: bolder;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 17px auto 10px auto;
    }

    .article2 {
        width: 100%;
        height: 130px;
        margin: 0 auto;
        background-color: #F1AC4D;
        z-index: 2;
    }

    .article2-inner1 p {
        margin: 0 auto;
        padding-top: 30px;
        color: white;
        font-size: 20px;

    }

    .article2-inner2 p {
        margin: 0 auto;
        color: white;
        font-weight: bold;
        font-size: 50px
    }

    .contact1 {
        width: 100%;
    }

    .contact1-inner {}

    .contact1-btn-sp {
        width: 40%;
        margin: auto;
    }


    /* 「体験お申し込み」ボタン　装飾　ここから↓ */
    .btn-sp,
    a.btn-sp,
    button.btn-sp {
        font-size: 18px;
        font-weight: 700;
        line-height: 1.5;
        position: relative;
        display: inline-block;
        padding: 10px 40px;
        cursor: pointer;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        -webkit-transition: all 0.3s;
        transition: all 0.3s;
        text-align: center;
        vertical-align: middle;
        text-decoration: none;
        letter-spacing: 0.1em;
        color: #212529;
        border-radius: 0.5rem;
    }

    /* ボタンのベースは、その他ボタンと同じ */
    a.btn-radius-solid2 {
        border: 1px solid #ccc;
        box-shadow: inset 1px 1px 1px #fff;
    }

    a.btn-radius-solid2:hover {
        background: -webkit-gradient(linear, left bottom, left top, from(#fdfbfb), to(#ebedee));
        background: -webkit-linear-gradient(bottom, #fdfbfb 0%, #ebedee 100%);
        background: linear-gradient(to top, #fdfbfb 0%, #ebedee 100%);
    }

    /* 「体験お申し込み」ボタン　装飾　ここまで↓ */

    .footer {
        width: 100%;
        height: 300px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* ページトップリンク */
    /*========= ページトップのためのCSS ===============*/

/*スクロールリンクの形状*/
.scroll-top {
	/*表示位置*/
	position: fixed;
	right: 20px;
	bottom: 10px;
	z-index: 2;
	/*はじめは非表示*/
	opacity: 0;
	visibility: hidden; 
	transition: opacity .5s, visibility .5s; /*それぞれに0.5秒の変化のアニメーション*/
	/*縦書き*/
	-webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
	/*改行禁止*/
    white-space: nowrap;
	/*矢印の動き*/
	animation: arrowmove 1s ease-in-out infinite;
}

@keyframes arrowmove{
      0%{bottom:20px;}
      50%{bottom:25px;}
     100%{bottom:20px;}
 }


/*.scroll-viewクラスがついたら出現*/
.scroll-top.scroll-view {
	opacity: 1;
	visibility: visible;
}

/*リンク全体の aタグの形状*/
.scroll-top a {
	text-decoration: none;
	color: #666;
	text-transform: uppercase;
	font-size:12px;
    display: block;
    margin-right: 10%;
}

/*スクロールリンクの形状*/

.js-scroll a::after{
	content:"";
	position: absolute;
	top:0;
	right:0;
	width:1px;
	height: 50px;
	background:#666;
}

.js-scroll a::before {
    content: "";
    position: absolute;
    top: 30px;
    right: -6px;
    width: 1px;
    height: 20px;
    background: #666;
    transform: skewX(-31deg);
}

/*Edge IE11 hack*/
_:-ms-lang(x), .js-scroll a::before{
	right:-11px;
}

/*ページトップリンクの形状*/

.js-pagetop a::after{
	content:"";
	position: absolute;
	top:0;
	right:0;
	width:1px;
	height: 50px;
	background:#666;
}

.js-pagetop a::before {
    content: "";
    position: absolute;
    top: 0;
    right: -6px;
    width: 1px;
    height: 20px;
    background: #666;
    transform: skewX(31deg);
}

/*Edge IE11 hack*/
_:-ms-lang(x), .js-pagetop a::before{
	right:0;
}

}


/*ipadサイズレスポンシブ*/
@media(min-width:600px) and (max-width:999px) {
    body {
        min-width: 600px;
        max-width: 999px;
        background-color: white;
        margin: 0 auto;
        text-align: center;
        font-size: 16px;
        font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
        letter-spacing: 1px;
    }

    .container {
        width: 100%;
        margin: 0 auto;
    }

    .header {
        width: 100%;
        height: 500px;
        display: flex;
    }

    .top-img {
        display: none;
    }

    /* 背景画像フェードイン　ここから↓ */
    .background {
        background-blend-mode: lighten;
        background-image: url(../img/nanpu.jpg);
        background-size: 80%;
        background-repeat: no-repeat;
        background-position: center;
        margin: auto;
        animation-name: fadeInAnime;
        animation-duration: 2s;
        animation-fill-mode: forwards;
    }

    @keyframes fadeInAnime {
        from {
            background-color: rgba(255, 255, 255, 1);
        }

        to {
            background-color: rgba(255, 255, 255, 0);
        }
    }

    /* ハンバーガーナビ　装飾　ここから↓ */
    /*========= ナビゲーションのためのCSS ===============*/

    #g-nav {
        /*position:fixed;にし、z-indexの数値を小さくして最背面へ*/
        position: fixed;
        z-index: -1;
        opacity: 0;
        /*はじめは透過0*/
        /*ナビの位置と形状*/
        top: 0;
        width: 100%;
        height: 100vh;
        /*ナビの高さ*/
        background: #999;
        /*動き*/
        transition: all 0.3s;
    }

    /*アクティブクラスがついたら透過なしにして最前面へ*/
    #g-nav.panelactive {
        opacity: 1;
        z-index: 999;
    }

    /* ==ナビゲーションのためのCSS */

    /*ナビゲーションの縦スクロール*/
    #g-nav.panelactive #g-nav-list {
        /*ナビの数が増えた場合縦スクロール*/
        position: fixed;
        z-index: 999;
        width: 100%;
        height: 100vh;
        /*表示する高さ*/
        overflow: auto;
        -webkit-overflow-scrolling: touch;
        background-color: #fff;
    }

    /*ナビゲーション*/
    #g-nav ul {
        display: none;
        /*ナビゲーション天地中央揃え*/
        position: absolute;
        z-index: 999;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    #g-nav.panelactive ul {
        display: block;
    }

    /*リストのレイアウト設定*/

    #g-nav li {
        list-style: none;
        text-align: center;
    }

    #g-nav li a {
        color: #333;
        text-decoration: none;
        padding: 10px;
        display: block;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-weight: bold;
    }

    /*========= ボタンのためのCSS ===============*/
    .openbtn {
        position: fixed;
        z-index: 9999;
        /*ボタンを最前面に*/
        top: 0px;
        right: 0px;
        cursor: pointer;
        width: 50px;
        height: 50px;
        background-color: #F1AC4D;
    }

    /*×に変化*/
    .openbtn span {
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 14px;
        height: 3px;
        border-radius: 2px;
        background-color: white;
        width: 45%;
    }

    .openbtn span:nth-of-type(1) {
        top: 15px;
    }

    .openbtn span:nth-of-type(2) {
        top: 23px;
    }

    .openbtn span:nth-of-type(3) {
        top: 31px;
    }

    .openbtn.active span:nth-of-type(1) {
        top: 18px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 30%;
    }

    .openbtn.active span:nth-of-type(2) {
        opacity: 0;
    }

    .openbtn.active span:nth-of-type(3) {
        top: 30px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
    }

    /* ハンバーガーナビ 装飾ここまで */


    .header2 {
        width: 100%;
        height: 70px;
        display: flex;
        align-items: center;
    }

    .header2 ul {
        width: 100%;
        display: flex;
        justify-content: space-around;
        text-align: center;
    }

    .header2 li {
        margin: 0 5%;
        list-style: none;
        text-align: center;
    }

    .header2 a {
        width: fit-content;
        margin: 0 auto 20px auto;
        color: white;
        text-decoration: none;
        display: inline-block;
        padding-bottom: 1px;
        /* 下線の長さを指定 */

    }

    .header2 a:hover {
        text-decoration: underline;
        border-bottom: 1px solid #6f6f6f;
    }

    .top {
        width: 100%;
        margin-left: 20px;
    }

    .top1 h3 {
        font-size: 23px;
        text-align: left;
        margin: 0 auto 5px auto;
    }

    .top2 h3 {
        font-size: 42px;
        text-align: left;
        margin-top: 0;
    }

    .price {
        width: 100%;
        margin: 0 auto 80px auto;
    }

    .price1 {
        width: 90%;
        margin: 0 auto;
        text-align: left;
        /* margin-left: 2%; */
    }

    .title h2 {
        font-family: futura;
        color: #F1AC4D;
        font-size: 42px;
        margin-bottom: 15px;
    }

    .online h3 {
        margin: 0 auto 5px auto;
        font-size: 22px;
    }



    /* 価格表 */
    table {
        border-collapse: collapse;
        padding: 0;
        width: 100%;
        table-layout: auto;
        color: #000;
    }

    table tr {
        background-color: #fff;
        padding: .35em;
        border-bottom: 1px solid #bbb;
    }

    table tr:last-child {
        border-bottom: none
    }

    table th,
    table td {
        padding: 1em 0em 1em 0em;
        border-right: 1px solid #bbb;
    }

    table th:last-child,
    table td:last-child {
        border: none;
    }

    tbody th {
        font-weight: lighter;
    }

    .lessen {
        width: 15%;
    }

    /* 価格表 装飾　ここまで */

    .online-price {
        width: 90%;
        margin: 30px auto;
        text-align: center;
    }

    .style1 {
        text-align: left;
        /* margin-left: 5%; */
        padding-left: 2%;
    }

    .style1-inner {
        background-color: #00B700;
        color: #fff;
    }

    .price-remark {
        font-size: 14px;
    }

    .style1-inner2 {
        font-size: 14px;
    }

    .offline {
        width: 90%;
        margin: 120px auto 0 auto;
    }

    .offline-wrap1 {
        width: 100%;
    }

    .offline-wrap1 p {
        width: 130px;
        background-color: #CB4500;
        color: whitesmoke;
        text-align: center;
        margin: 50px 0 0 0;
        padding: 0 0.5%;
        letter-spacing: normal;
    }

    .offline-wrap2 {
        width: 100%;
        display: flex;
        align-items: center;
    }

    .offline1 h3 {
        font-size: 22px;
        margin-top: 5px;
    }

    .offline2 p {
        font-size: 14px;
        margin: 0px 0 10px 8px
    }

    .day {
        width: 100%;
        display: flex;
    }

    .english {
        width: 50%;
        margin-left: 5%;
        text-align: left;
        border: solid 1px #000;
    }

    .arithmetic {
        width: 50%;
        margin-left: 5%;
        text-align: left;
        border: solid 1px #000;
    }

    .day1 p {
        width: 45%;
        border: solid 1px #868686;
        background-color: #868686;
        color: #fff;
        margin: 0;
        padding: 2%;
        text-align: center;
        font-size: 18px;
    }

    .day-detail {
        width: 100%;
        display: flex;
    }

    .day2 {
        margin-left: 3%;
    }

    .day3 {
        margin-left: 8%;
    }

    .offline-price {
        width: 90%;
        margin: 30px auto;
    }


    .payment {
        width: 90%;
        margin: 120px auto;
        text-align: left;
    }

    .payment h3 {
        font-size: 22px;
        margin: ;
        margin-bottom: 0;
    }

    .payment p {
        margin-top: 8px;
    }




    /* 以下、全ページ共通 */
    .contact {
        width: 100%;
    }


    .article1 {
        display: flex;
        justify-content: center;
        position: relative;

    }

    .content {
        width: 30%;
        height: 50px;
        margin: 10px 5px 0px 5px;
        padding-bottom: 8px;
        background-color: #00B700;
        color: white;
        z-index: 1;
        float: right;
        /* 位置指定 */
        position: relative;
        /* 位置指定 */
        top: 6px;
        /* 位置指定 */
        box-shadow: 0 0 8px gray;
    }

    .content p {
        font-size: 23px;
        font-weight: bolder;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 17px auto 10px auto;
    }

    .article2 {
        width: 100%;
        height: 130px;
        margin: 0 auto;
        background-color: #F1AC4D;
        z-index: 2;
    }

    .article2-inner1 p {
        margin: 0 auto;
        padding-top: 30px;
        color: white;
        font-size: 20px;

    }

    .article2-inner2 p {
        margin: 0 auto;
        color: white;
        font-weight: bold;
        font-size: 50px
    }

    .contact1 {
        width: 100%;
    }

    .contact1-inner {}

    .contact1-btn-sp {
        width: 70%;
        margin: auto;
    }


    /* 「体験お申し込み」ボタン　装飾　ここから↓ */
    .btn-sp,
    a.btn-sp,
    button.btn-sp {
        font-size: 18px;
        font-weight: 700;
        line-height: 1.5;
        position: relative;
        display: inline-block;
        padding: 10px 40px;
        cursor: pointer;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        -webkit-transition: all 0.3s;
        transition: all 0.3s;
        text-align: center;
        vertical-align: middle;
        text-decoration: none;
        letter-spacing: 0.1em;
        color: #212529;
        border-radius: 0.5rem;
    }

    /* ボタンのベースは、その他ボタンと同じ */
    a.btn-radius-solid2 {
        border: 1px solid #ccc;
        box-shadow: inset 1px 1px 1px #fff;
    }

    a.btn-radius-solid2:hover {
        background: -webkit-gradient(linear, left bottom, left top, from(#fdfbfb), to(#ebedee));
        background: -webkit-linear-gradient(bottom, #fdfbfb 0%, #ebedee 100%);
        background: linear-gradient(to top, #fdfbfb 0%, #ebedee 100%);
    }

    /* 「体験お申し込み」ボタン　装飾　ここまで↓ */

    .footer {
        width: 100%;
        height: 300px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

      /* ページトップリンク */
    /*========= ページトップのためのCSS ===============*/

/*スクロールリンクの形状*/
.scroll-top {
	/*表示位置*/
	position: fixed;
	right: 20px;
	bottom: 10px;
	z-index: 2;
	/*はじめは非表示*/
	opacity: 0;
	visibility: hidden; 
	transition: opacity .5s, visibility .5s; /*それぞれに0.5秒の変化のアニメーション*/
	/*縦書き*/
	-webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
	/*改行禁止*/
    white-space: nowrap;
	/*矢印の動き*/
	animation: arrowmove 1s ease-in-out infinite;
}

@keyframes arrowmove{
      0%{bottom:20px;}
      50%{bottom:25px;}
     100%{bottom:20px;}
 }


/*.scroll-viewクラスがついたら出現*/
.scroll-top.scroll-view {
	opacity: 1;
	visibility: visible;
}

/*リンク全体の aタグの形状*/
.scroll-top a {
	text-decoration: none;
	color: #666;
	text-transform: uppercase;
	font-size:12px;
    display: block;
    margin-right: 4px;
}

/*スクロールリンクの形状*/

.js-scroll a::after{
	content:"";
	position: absolute;
	top:0;
	right:0;
	width:1px;
	height: 50px;
	background:#666;
}

.js-scroll a::before {
    content: "";
    position: absolute;
    top: 30px;
    right: -6px;
    width: 1px;
    height: 20px;
    background: #666;
    transform: skewX(-31deg);
}

/*Edge IE11 hack*/
_:-ms-lang(x), .js-scroll a::before{
	right:-11px;
}

/*ページトップリンクの形状*/

.js-pagetop a::after{
	content:"";
	position: absolute;
	top:0;
	right:0;
	width:1px;
	height: 50px;
	background:#666;
}

.js-pagetop a::before {
    content: "";
    position: absolute;
    top: 0;
    right: -6px;
    width: 1px;
    height: 20px;
    background: #666;
    transform: skewX(31deg);
}

/*Edge IE11 hack*/
_:-ms-lang(x), .js-pagetop a::before{
	right:0;
}
}

/*SPサイズレスポンシブ*/
@media(max-width:599px) {
    body {
        max-width: 599px;
        background-color: white;
        margin: 0 auto;
        text-align: center;
        font-size: 16px;
        font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
        letter-spacing: 1px;
    }

    .container {
        width: 100%;
        margin: 0 auto;
    }

    .br-ip {
        display: none;
    }

    .header {
        width: 100%;
        height: 250px;
        display: flex;
    }

    .top-img {
        display: none;
    }

    /* 背景画像フェードイン　ここから↓ */
    .background {
        background-blend-mode: lighten;
        background-image: url(../img/nanpu.jpg);
        background-size: 80%;
        background-repeat: no-repeat;
        background-position: center;
        margin: auto;
        animation-name: fadeInAnime;
        animation-duration: 2s;
        animation-fill-mode: forwards;
    }

    @keyframes fadeInAnime {
        from {
            background-color: rgba(255, 255, 255, 1);
        }

        to {
            background-color: rgba(255, 255, 255, 0);
        }
    }

    /* ハンバーガーナビ　装飾　ここから↓ */
    /*========= ナビゲーションのためのCSS ===============*/

    #g-nav {
        /*position:fixed;にし、z-indexの数値を小さくして最背面へ*/
        position: fixed;
        z-index: -1;
        opacity: 0;
        /*はじめは透過0*/
        /*ナビの位置と形状*/
        top: 0;
        width: 100%;
        height: 100vh;
        /*ナビの高さ*/
        background: #999;
        /*動き*/
        transition: all 0.3s;
    }

    /*アクティブクラスがついたら透過なしにして最前面へ*/
    #g-nav.panelactive {
        opacity: 1;
        z-index: 999;
    }

    /* ==ナビゲーションのためのCSS */

    /*ナビゲーションの縦スクロール*/
    #g-nav.panelactive #g-nav-list {
        /*ナビの数が増えた場合縦スクロール*/
        position: fixed;
        z-index: 999;
        width: 100%;
        height: 100vh;
        /*表示する高さ*/
        overflow: auto;
        -webkit-overflow-scrolling: touch;
        background-color: #fff;
    }

    /*ナビゲーション*/
    #g-nav ul {
        display: none;
        /*ナビゲーション天地中央揃え*/
        position: absolute;
        z-index: 999;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    #g-nav.panelactive ul {
        display: block;
    }

    /*リストのレイアウト設定*/

    #g-nav li {
        list-style: none;
        text-align: center;
    }

    #g-nav li a {
        color: #333;
        text-decoration: none;
        padding: 10px;
        display: block;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-weight: bold;
    }

    /*========= ボタンのためのCSS ===============*/
    .openbtn {
        position: fixed;
        z-index: 9999;
        /*ボタンを最前面に*/
        top: 0px;
        right: 0px;
        cursor: pointer;
        width: 50px;
        height: 50px;
        background-color: #F1AC4D;
    }

    /*×に変化*/
    .openbtn span {
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 14px;
        height: 3px;
        border-radius: 2px;
        background-color: white;
        width: 45%;
    }

    .openbtn span:nth-of-type(1) {
        top: 15px;
    }

    .openbtn span:nth-of-type(2) {
        top: 23px;
    }

    .openbtn span:nth-of-type(3) {
        top: 31px;
    }

    .openbtn.active span:nth-of-type(1) {
        top: 18px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 30%;
    }

    .openbtn.active span:nth-of-type(2) {
        opacity: 0;
    }

    .openbtn.active span:nth-of-type(3) {
        top: 30px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
    }

    /* ハンバーガーナビ 装飾ここまで */


    .header2 {
        width: 100%;
        height: 70px;
        display: flex;
        align-items: center;
    }

    .header2 ul {
        width: 100%;
        display: flex;
        justify-content: space-around;
        text-align: center;
    }

    .header2 li {
        margin: 0 5%;
        list-style: none;
        text-align: center;
    }

    .header2 a {
        width: fit-content;
        margin: 0 auto 20px auto;
        color: white;
        text-decoration: none;
        display: inline-block;
        padding-bottom: 1px;
        /* 下線の長さを指定 */

    }

    .header2 a:hover {
        text-decoration: underline;
        border-bottom: 1px solid #6f6f6f;
    }

    .top {
        width: 100%;
        margin-left: 10px;
    }

    .top1 h3 {
        font-size: 16px;
        text-align: left;
        margin: 0 auto 5px auto;
    }

    .top2 h3 {
        font-size: 23px;
        text-align: left;
        margin-top: 0;
    }

    .price {
        width: 100%;
        margin: 0 auto 80px auto;
    }

    .price1 {
        width: 90%;
        margin: 0 auto;
        text-align: left;
        /* margin-left: 2%; */
    }

    .title h2 {
        font-family: futura;
        color: #F1AC4D;
        font-size: 42px;
        margin-bottom: 15px;
    }

    .online h3 {
        margin: 0 auto 5px auto;
        font-size: 28px;
    }


    /* 価格表 */
    table {
        border-collapse: collapse;
        padding: 0;
        width: 100%;
        table-layout: auto;
        color: #000;
        font-size: 12px;
    }

    table tr {
        background-color: #fff;
        padding: .35em;
        border-bottom: 1px solid #bbb;
    }

    table tr:last-child {
        border-bottom: none
    }

    table th,
    table td {
        padding: 1em 0em 1em 0em;
        border-right: 1px solid #bbb;
    }

    table th:last-child,
    table td:last-child {
        border: none;
    }

    tbody th {
        font-weight: lighter;
    }

    .lessen {
        width: 15%;
    }

    /* 価格表 装飾　ここまで */

    .online-price {
        width: 90%;
        margin: 10px auto;
        text-align: center;
    }

    .style1 {
        text-align: left;
        padding-left: 2%;
    }

    .style1-inner {
        background-color: #00B700;
        color: #fff;
    }

    .price-remark {
        font-size: 14px;
    }

    .style1-inner2 {
        font-size: 14px;
    }

    .offline {
        width: 90%;
        margin: 120px auto 0 auto;
    }

    .offline-wrap1 {
        width: 100%;
    }

    .offline-wrap1 p {
        width: 130px;
        background-color: #CB4500;
        color: whitesmoke;
        text-align: center;
        margin: 50px 0 0 0;
        padding: 0 0.5%;
        letter-spacing: normal;
    }

    .offline-wrap2 {
        width: 100%;
        text-align: left;
    }

    .offline1 h3 {
        font-size: 28px;
        margin: 5px auto 0 auto;
    }

    .offline2 p {
        font-size: 14px;
        margin: 0px 0 28px 8px
    }

    .day {
        width: 100%;
        margin: auto;
    }

    .english {
        width: 100%;
        text-align: left;
        border: solid 1px #000;
    }

    .arithmetic {
        width: 100%;
       margin-top: 20px;
        text-align: left;
        border: solid 1px #000;
    }

    .day1 p {
        width: 45%;
        border: solid 1px #868686;
        background-color: #868686;
        color: #fff;
        margin: 0;
        padding: 2%;
        text-align: center;
        font-size: 18px;
    }

    .day-detail {
        width: 100%;
        display: flex;
    }

    .day2 {
        margin-left: 3%;
    }

    .day3 {
        margin-left: 8%;
    }

    .offline-price {
        width: 90%;
        margin: 30px auto;
    }


    .payment {
        width: 90%;
        margin: 120px auto;
        text-align: left;
    }

    .payment h3 {
        font-size: 28px;
        margin-bottom: 0;
    }

    .payment p {
        margin-top: 8px;
    }

    /* 以下、全ページ共通 */
    .contact {
        width: 100%;
    }


    .article1 {
        display: flex;
        justify-content: center;
        position: relative;

    }

    .content {
        width: 40%;
        height: 50px;
        margin: 10px 5px 0px 5px;
        padding-bottom: 8px;
        background-color: #00B700;
        color: white;
        z-index: 1;
        float: right;
        /* 位置指定 */
        position: relative;
        /* 位置指定 */
        top: 6px;
        /* 位置指定 */
        box-shadow: 0 0 8px gray;
    }

    .content p {
        font-size: 23px;
        font-weight: bolder;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 17px auto 10px auto;
    }

    .article2 {
        width: 100%;
        height: 130px;
        margin: 0 auto;
        background-color: #F1AC4D;
        z-index: 2;
    }

    .article2-inner1 p {
        margin: 0 auto;
        padding-top: 30px;
        color: white;
        font-size: 18px;

    }

    .article2-inner2 p {
        margin: 0 auto;
        color: white;
        font-weight: bold;
        font-size: 42px
    }

    .contact1 {
        width: 100%;
    }

    .contact1-inner p {
        font-size: 14px;
    }

    .contact1-btn-sp {
        width: 100%;
        margin: auto;
    }


    /* 「体験お申し込み」ボタン　装飾　ここから↓ */
    .btn-sp,
    a.btn-sp,
    button.btn-sp {
        font-size: 14px;
        font-weight: 700;
        line-height: 1.5;
        position: relative;
        display: inline-block;
        padding: 1rem 1rem;
        cursor: pointer;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        -webkit-transition: all 0.3s;
        transition: all 0.3s;
        text-align: center;
        vertical-align: middle;
        text-decoration: none;
        letter-spacing: 0.1em;
        color: #212529;
        border-radius: 0.5rem;
    }

    /* ボタンのベースは、その他ボタンと同じ */
    a.btn-radius-solid2 {
        border: 1px solid #ccc;
        box-shadow: inset 1px 1px 1px #fff;
    }

    a.btn-radius-solid2:hover {
        background: -webkit-gradient(linear, left bottom, left top, from(#fdfbfb), to(#ebedee));
        background: -webkit-linear-gradient(bottom, #fdfbfb 0%, #ebedee 100%);
        background: linear-gradient(to top, #fdfbfb 0%, #ebedee 100%);
    }

    /* 「体験お申し込み」ボタン　装飾　ここまで↓ */

    .footer {
        width: 100%;
        height: 300px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

     /* ページトップリンク */
    /*========= ページトップのためのCSS ===============*/

/*スクロールリンクの形状*/
.scroll-top {
	/*表示位置*/
	position: fixed;
	right: 2px;
	bottom: 10px;
	z-index: 2;
	/*はじめは非表示*/
	opacity: 0;
	visibility: hidden; 
	transition: opacity .5s, visibility .5s; /*それぞれに0.5秒の変化のアニメーション*/
	/*縦書き*/
	-webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
	/*改行禁止*/
    white-space: nowrap;
	/*矢印の動き*/
	animation: arrowmove 1s ease-in-out infinite;
}

@keyframes arrowmove{
      0%{bottom:20px;}
      50%{bottom:25px;}
     100%{bottom:20px;}
 }


/*.scroll-viewクラスがついたら出現*/
.scroll-top.scroll-view {
	opacity: 1;
	visibility: visible;
}

/*リンク全体の aタグの形状*/
.scroll-top a {
	text-decoration: none;
	color: #666;
	text-transform: uppercase;
	font-size:12px;
    display: block;
    margin-right: 2px;
}

/*スクロールリンクの形状*/

.js-scroll a::after{
	content:"";
	position: absolute;
	top:0;
	right:0;
	width:1px;
	height: 50px;
	background:#666;
}

.js-scroll a::before {
    content: "";
    position: absolute;
    top: 30px;
    right: -6px;
    width: 1px;
    height: 20px;
    background: #666;
    transform: skewX(-31deg);
}

/*Edge IE11 hack*/
_:-ms-lang(x), .js-scroll a::before{
	right:-11px;
}

/*ページトップリンクの形状*/

.js-pagetop a::after{
	content:"";
	position: absolute;
	top:0;
	right:0;
	width:1px;
	height: 50px;
	background:#666;
}

.js-pagetop a::before {
    content: "";
    position: absolute;
    top: 0;
    right: -6px;
    width: 1px;
    height: 20px;
    background: #666;
    transform: skewX(31deg);
}

/*Edge IE11 hack*/
_:-ms-lang(x), .js-pagetop a::before{
	right:0;
}
}