@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%;
        height: 700px;
        display: flex;
    }

    /* 背景画像フェードイン　ここから↓ */
    .background {
        background-blend-mode: lighten;
        background-image: url(../img/nanpu.jpg);
        background-size: 60%;
        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);
        }
    }

    /* 背景画像フェードイン　ここから↓ */

    .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: 70%;
        margin: 0 auto;
    }

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

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

    .concept {
        width: 60%;
        display: flex;
        margin: 50px auto 80px auto;
    }

    .concept1 {
        width: 50%;
        text-align: left;
    }

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

    .section1 h1 {
        font-size: 22px;
        line-height: 30px;
        letter-spacing: 1px;
    }

    .section1 h1 {
        margin-bottom: 10px;
    }

    .section1 p {
        /* コンセプトにも使用 */
        margin-top: 0;
        line-height: 28px;
    }

    .section1 h3 {
        font-size: 22px;
        letter-spacing: 1px;
    }

    .concept2-sp{
        display: none;
    }

    .concept2 {
        width: 50%;
        text-align: right;

    }

    .concept2 img {
        width: 50%;
        margin-top: 30px;
    }

    .style {
        width: 60%;
        display: flex;
        margin: 0 auto 80px auto;
    }


    .style1 {
        width: 70%;
        text-align: left;
    }

    .title h2 {
        font-family: futura;
    }

    .section1 h3 {
        margin-bottom: 5px;
    }

    .section1 p {
        margin-bottom: 25px;
    }

    .section2 {
        text-align: center;
    }


    /* ボタン「塾長の思いとは」「詳しくみる」　ここから↓ */
    *:before,
    *:after {
        -webkit-box-sizing: inherit;
        box-sizing: inherit;
    }

    html {
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        font-size: 62.5%;
        /*rem算出をしやすくするために*/
    }

    .btn,
    a.btn,
    button.btn {
        font-size: 1.8rem;
        font-weight: 700;
        line-height: 1.5;
        position: relative;
        display: inline-block;
        padding: 1rem 4rem;
        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-solid {
        border: 1px solid #ccc;
        background: #f1e767;
        background: -webkit-gradient(linear, left top, left bottom, from(#fdfbfb), to(#ebedee));
        background: -webkit-linear-gradient(top, #fdfbfb 0%, #ebedee 100%);
        background: linear-gradient(to bottom, #fdfbfb 0%, #ebedee 100%);
        -webkit-box-shadow: inset 1px 1px 1px #fff;
        box-shadow: inset 1px 1px 1px #fff;
    }

    a.btn-radius-solid: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%);
    }

    /* ボタン「塾長の思いとは」「詳しくみる」　ここまで↑ */


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

    .section3 p {
        margin:0 auto 25px auto;
    }

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

    .section4 h3 {
        margin: 0 auto;
    }

    .section4 p {
        /* margin-bottom: 5px; */
        margin: 0 auto;
    }

    .section4-title1 h3 {
        font-size: 22px;
        letter-spacing: 1px;
    }

    .section4-title2 {
        margin-left: 10px;
        background-color: #CB4500;
        color: whitesmoke;
    }

    .section4-comment p {
        margin-top: 5px;
        line-height: 28px;
    }

    .style2 {
        width: 30%;
        ;
    }

    .style2 .btn {
        margin-top: 180px;
    }


    /* 以下、全ページ共通 */
    .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 {}


    /* 「体験お申し込み」ボタン　装飾　ここから↓ */
    .btn-sp,
    a.btn-sp,
    button.btn-sp {
        font-size: 18px;
        font-weight: 700;
        line-height: 1.5;
        position: relative;
        display: inline-block;
        padding: 1rem 4rem;
        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;
    }

    /* 背景画像フェードイン　ここから↓ */
    .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;
    }

    .concept {
        width: 90%;
        margin: 50px auto 80px auto;
    }

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

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

    .section1{
        width: 80%;
        text-align: left;
        margin:0 auto 0 15%;
    }

    .section1 h1 {
        font-size: 28px;
        line-height: 30px;
        letter-spacing: 1px;
    }

    .section1 h1 {
        margin-bottom: 10px;
    }

    .section1 p {
        margin-top: 0;
        line-height: 28px;
        margin-bottom: 25px;
    }

    .section1 h3 {
        font-size: 22px;
        letter-spacing: 1px;
        margin-bottom: 5px;
    }

    .concept2 {
        display: none;
    }

    .concept2-sp {
        width: 100%;
        text-align: center;
    }

    .concept2-sp img {
        width: 60%;
        margin-top: 0px;
        text-align: center;
    }

    .style {
        width: 90%;
        /* display: flex; */
        margin: 0 auto 80px auto;
    }


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

    .title h2 {
        font-family: futura;
    }

    .section2 {
        text-align: center;
    }


    /* ボタン「塾長の思いとは」「詳しくみる」　ここから↓ */
    *:before,
    *:after {
        -webkit-box-sizing: inherit;
        box-sizing: inherit;
    }

    html {
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        font-size: 62.5%;
        /*rem算出をしやすくするために*/
    }

    .btn,
    a.btn,
    button.btn {
        font-size: 1.8rem;
        font-weight: 700;
        line-height: 1.5;
        position: relative;
        display: inline-block;
        padding: 1rem 4rem;
        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-solid {
        border: 1px solid #ccc;
        background: #f1e767;
        background: -webkit-gradient(linear, left top, left bottom, from(#fdfbfb), to(#ebedee));
        background: -webkit-linear-gradient(top, #fdfbfb 0%, #ebedee 100%);
        background: linear-gradient(to bottom, #fdfbfb 0%, #ebedee 100%);
        -webkit-box-shadow: inset 1px 1px 1px #fff;
        box-shadow: inset 1px 1px 1px #fff;
    }

    a.btn-radius-solid: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%);
    }

    /* ボタン「塾長の思いとは」「詳しくみる」　ここまで↑ */


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

    .section3 p {
        margin:0 auto 25px auto;
    }
    
    .section4 {
        width: 100%;
        display: flex;
        align-items: center;
    }

    .section4 h3 {
        margin: 0 auto;
    }

    .section4 p {
        /* margin-bottom: 5px; */
        margin: 0 auto;
    }

    .section4-title1 h3 {
        font-size: 22px;
        letter-spacing: 1px;
    }

    .section4-title2 {
        margin-left: 10px;
        background-color: #CB4500;
        color: whitesmoke;
    }

    .section4-comment p {
        margin-top: 5px;
        line-height: 28px;
    }

    .style2 {
        width: 100%;
    }

    .style2 .btn {
        margin-top: 25px;
    }


    /* 以下、全ページ共通 */
    .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 {}


    /* 「体験お申し込み」ボタン　装飾　ここから↓ */
    .btn-sp,
    a.btn-sp,
    button.btn-sp {
        font-size: 1.8rem;
        font-weight: 700;
        line-height: 1.5;
        position: relative;
        display: inline-block;
        padding: 1rem 4rem;
        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:1.2rem;
    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-pc{
        display: none;
    }

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

    /* 背景画像フェードイン　ここから↓ */
    .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;
    }

    .concept {
        width: 100%;
        margin: 50px auto 80px auto;
    }

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

    .title h2 {
        color: #F1AC4D;
        font-size: 32px;
        margin-bottom: 10px;
    }

    .section1{
        width: 95%;
        text-align: left;
        margin:0 auto;
    }

    .section1 h1 {
        font-size: 20px;
        line-height: 30px;
        letter-spacing: 1px;
        margin-bottom: 10px;
    }

    .section1 p {
        margin-top: 0;
        line-height: 28px;
        margin-bottom: 25px;
        font-size: 16px;

    }

    .section1 h3 {
        font-size: 22px;
        letter-spacing: 1px;
        margin-bottom: 5px;
    }

    .concept2 {
        display: none;
    }

    .concept-sp{
        width: 90%;
        margin: auto;

    }

    .concept2-sp {
        width: 100%;
        text-align: center;
    }

    .concept2-sp img {
        width: 80%;
        margin-top: 0px;
        text-align: center;
    }

    .style {
        width: 90%;
        /* display: flex; */
        margin: 0 auto 80px auto;
    }


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

    .title h2 {
        font-family: futura;
    }


    .section2 {
        text-align: center;
    }


    /* ボタン「塾長の思いとは」「詳しくみる」　ここから↓ */
    *:before,
    *:after {
        -webkit-box-sizing: inherit;
        box-sizing: inherit;
    }

    html {
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        font-size: 62.5%;
        /*rem算出をしやすくするために*/
    }

    .btn,
    a.btn,
    button.btn {
        font-size: 1.8rem;
        font-weight: 700;
        line-height: 1.5;
        position: relative;
        display: inline-block;
        padding: 1rem 4rem;
        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-solid {
        border: 1px solid #ccc;
        background: #f1e767;
        background: -webkit-gradient(linear, left top, left bottom, from(#fdfbfb), to(#ebedee));
        background: -webkit-linear-gradient(top, #fdfbfb 0%, #ebedee 100%);
        background: linear-gradient(to bottom, #fdfbfb 0%, #ebedee 100%);
        -webkit-box-shadow: inset 1px 1px 1px #fff;
        box-shadow: inset 1px 1px 1px #fff;
    }

    a.btn-radius-solid: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%);
    }

    /* ボタン「塾長の思いとは」「詳しくみる」　ここまで↑ */


    .section3 h3 {
        font-size: 20px;
        margin-bottom: 5px;
    }

    .section3 p {
        margin:0 auto 25px auto;
        font-size: 16px;
    }
    
    .section4 {
        width: 100%;
        display: flex;
        align-items: center;
    }

    .section4 h3 {
        margin: 0 auto;
    }

    .section4 p {
        font-size: 12px;
        margin: 0 auto;
    }

    .section4-title1 h3 {
        font-size: 20px;
        letter-spacing: 1px;
    }

    .section4-title2 {
        margin-left: 10px;
        background-color: #CB4500;
        color: whitesmoke;
    }

    .section4-comment p {
        margin: 5px auto;
        line-height: 28px;
        font-size: 16px;
    }

    .style2 {
        width: 100%;
    }

    .style2 .btn {
        margin-top: 20px;
    }


    /* 以下、全ページ共通 */
    .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{
        width: 100%;
        text-align: center;
        margin: auto;
    }

    /* 「体験お申し込み」ボタン　装飾　ここから↓ */
    .btn-sp,
    a.btn-sp,
    button.btn-sp {
        /* font-size: 1.8rem; */
        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:1.2rem;
    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;
}
}