@charset "utf-8";

/* 全体 */
*,
::before,
::after {
    padding: 0;
    margin: 0;
}

ul {
    list-style: none;
}

body {
    background-color: #fffeee;
    color: #707070;
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    line-height: 1em;
    margin-top: 75px;
    padding-top: 70px;
    background-image: url(../images/nara_wakaba_piano_bgimg.png);
}

img {
    max-width: 100%;
}

.header-inner,
.contents,
nav ul,
#footer-inner {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}


/* ヘッダー */
header {
    margin: 0;
    top: 0;
    background-color: #C6E2C3;
    width: 100%;
    height: 73px;
    padding-top: 16px;
    position: fixed;
    z-index: 99;
}

.anchor {
    padding-top: 120px;
    margin-top: -120px;
}

.header-inner {
    display: flex;
    top: 0;
    align-items: center;
    justify-content: space-between;
    margin: 15px auto 13px auto;
}

#header-inner-text {
    width: 170px;
}

#header-inner-tel {
    font-size: 24px;
}

#logo {
    width: 115px;
    height: 72px;
    object-fit: scale-down;
    position: absolute;
    z-index: 9999;
    top: 1px;
    padding: 3px;
    display: none;
}

/* ヘッダーここまで */
.drawer_hidden {
    display: none;
}

/* ナビゲーション */
nav {
    background-color: #D5EBE1;
    width: 100%;
    height: 73px;
    margin: 0 auto 0 auto;
}

nav ul {
    margin: 0 auto 0 auto;
    padding-left: 0;
    overflow: hidden;
}

nav ul li {
    float: left;
    width: 133px;
}

nav ul li a {
    display: block;
    height: 0;
    padding-top: 73px;
    overflow: hidden;
}

nav ul li.nav_home a {
    background-image: url(../images/nara_wakaba_piano_nav_home.png);
}

nav ul li.nav_concept a {
    background-image: url(../images/nara_wakaba_piano_nav_concept.png);
}

nav ul li.nav_lesson a {
    background-image: url(../images/nara_wakaba_piano_nav_lesson.png);
}

nav ul li.nav_price a {
    background-image: url(../images/nara_wakaba_piano_nav_price.png);
}

nav ul li.nav_access a {
    background-image: url(../images/nara_wakaba_piano_nav_access.png);
}

nav ul li.nav_contact a {
    background-image: url(../images/nara_wakaba_piano_nav_contact.png);
}

#home .contact a,
#concept .nav_concept a,
#lesson .nav_lesson a,
#price .nav_price a,
#access .nav_access a,
#contact .nav_contact a,
nav ul li a:hover {
    background-position: 0 -74px;
}


/*ナビゲーションここまで  */

/* main */
.contents {
    font-size: 24px;
    margin: 1em auto;
}

#particles-js {
    position: fixed;
    z-index: -1;
    width: 100%;
    height: 100%;
}

#wrapper {
    z-index: 1;
    width: 100%;
    height: 100%;
}

h1 {
    font-size: 32px;
    line-height: 2;
    margin: 0.8em auto;
    text-align: center;
    padding: 0;
    border-bottom: 13px dotted #f8c6bd;
    width: 40%;
}

h2 {
    font-size: 26px;
    font-weight: bold;
    line-height: 1;
    margin: 0.8em auto;
    padding: 0;
}


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

@keyframes flipRightTopAnime {
    from {
        transform: translate(-20px, 80px) rotate(25deg);
        opacity: 0;
    }

    to {
        transform: translate(0, 0) rotate(0deg);
        opacity: 1;
    }
}

.concept {
    position: relative;
}

.first {
    position: relative;
}

.icon_anime {
    position: absolute;
    top: 0;
    right: 10%;
}

.try {
    position: relative;
}

.second {
    position: relative;
}

.icon_anime2 {
    position: absolute;
    top: 0;
    left: 10%;
}


main p {
    font-size: 24px;
    line-height: 2;
    text-align: left;
    padding-top: -32px;
    padding-bottom: 32px;
    text-indent: 1em;
}


.here,
.send,
.lesson-here {
    text-align: right;
}

.here:hover,
.lesson-here:hover,
.send:hover,
a:hover
{
color: #f1806c;
}

a {
    text-decoration: underline;
}

#flyer {
    color: #261f87;
    text-align: center;
}

/* mainここまで */

#footer-contact {
    background-color: #C6E2C3;
    width: 100%;
    height: 50px;
    position: relative;
    bottom: 0;
    display: none;
}

.contact {
    font-size: 4vw;
    text-align: center;
    line-height: 50px;
    display: none;
    white-space: nowrap;
}

/* フッター */
.footer {
    background-color: #C6E2C3;
    width: 100%;
    height: 220px;
    position: relative;
    bottom: 0;
    text-align: center;
}

#footer-inner {
    display: flex;
    align-items: center;
}

.footer-logo img {
    width: 274px;
    height: 151px;
    margin: 10px auto 10px auto;
    align-items: start;
    object-fit: contain;
}

#footer-menu {
    width: 470px;
}

#footer-nav {
    height: 100px;
    display: flex;
    flex-direction: column;
    text-align: center;
    font-size: 22px;
    line-height: 50px;
    flex-wrap: wrap;
}

#footer-nav li:hover {
    color: #f1806c;
}

.copyright {
    font-size: 14px;
    text-align: center;
}

/* フッターここまで */

@media (max-width: 800px) {
    body {
        margin-top: 10px;
    }

    .main h1 {
        font-size: 5vw;
    }

    .main h2 {
        font-size: 4vw;
    }



    .main p,
    .main ul,
    .main ol {
        font-size: 4vw;
    }

    h1 {
        line-height: 2;
        margin: 2em auto;
        text-align: center;
        padding: 0;
        border-bottom: 2vw dotted #f8c6bd;
        width: 65%;
    }

    h2 {
        line-height: 1;
        margin: 0.5em auto;
        padding: 0;
        font-weight: bold;
        width: 95%;
    }


    .icon_anime {
        right: 0%;
        top: 0;
    }

    .icon_anime2 {
        left: 0%;
        top: 0;
    }

    .contents {
        max-width: 96%;
        margin-left: auto;
        margin-right: auto;
    }

    .header-site-menu {
        display: none;
    }

    #header-inner-tel,
    #header-inner-text,
    .footer {
        display: none;
    }

    #footer-contact,
    .contact,
    #logo {
        display: block;
    }


    /* ハンバーガー*/
    .openbtn {
        position: fixed;
        z-index: 9999;
        top: 10px;
        right: 10px;
        cursor: pointer;
        width: 50px;
        height: 50px;
    }

    .openbtn span {
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 14px;
        height: 3px;
        border-radius: 2px;
        background-color: #707070;
        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 span:nth-of-type(3)::after {
        content: "Menu";
        position: absolute;
        top: 5px;
        left: -2px;
        color: #707070;
        font-size: 0.6rem;
        text-transform: uppercase;
    }

    .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%;
    }

    .openbtn.active span:nth-of-type(3)::after {
        content: "Close";
        transform: translateY(0) rotate(-45deg);
        top: 5px;
        left: 4px;
    }

    /* ハンバーガーここまで */

    /* ナビゲーション */
    .g-nav {
        position: fixed;
        z-index: -1;
        opacity: 0;
        top: 0;
        width: 100%;
        height: 100vh;
        background: #D5EBE1;
        transition: all 0.3s;
    }

    .g-nav.panelactive {
        opacity: 1;
        z-index: 999;
    }

    .g-nav.panelactive .g-nav-list {
        position: fixed;
        z-index: 999;
        width: 100%;
        height: 100vh;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }

    .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: #707070;
        text-decoration: none;
        padding: 73/2px;
        width: 133px;
        display: block;
        text-transform: uppercase;
        letter-spacing: 0.1em;
    }

    /* ナビゲーションここまで */
    .here {
        display: none;
    }

    #footer-contact,
    .contact {
        position: fixed;
        width: 100%;
        bottom: 0;
        z-index: 99;
    }

    .contact:hover {
        color: #f1806c;
    }

}


@media (min-width: 800px){

    .sp,
    .send{
        display: none;
    }

}