img {
    display: block;
    height: auto;
    max-width: 100%;
}

body {
    font-family: Poppins, "Noto Sans JP",
        Helvetica,
        Arial,
        sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 2.0;
    color: #333;
    background-repeat: no-repeat;
}

.inner {
    max-width: 1280px;
    width: 94%;
    margin-left: auto;
    margin-right: auto;
    /* background-color: #F6416C; */
}


.headerTop {
    display: flex;
    justify-content: space-between;
    padding: 40px 5% 20px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 5;
    line-height: 1.3;
    /* background-color: #F6416C; */
}

.background {
    width: 1440px;
}

.toplogo {
    position: fixed;
    z-index: 5 !important;
    transition: .4s ease-in-out;
    font-weight: bold;
    /* width: 160px; */
    padding: 5px;
    background-color: rgba(255, 255, 255, .8);
    border: solid;
    border-color: rgba(255, 255, 255, .4);
    border-radius: 20px;
}

.toplogo-aa {
    font-size: 27px;
}

.toplogo-name {
    display: flex;
    font-size: 12px;
}

.toplogo-eg {
    text-transform: capitalize;
    margin-left: 8px;
}

.toplogo span {
    text-transform: capitalize;
}


.toplogo:hover {
    color: #b1b1b1;
}

/* その場で */
.fadeUp {
    animation-name: fadeUpAnime;
    animation-duration: 2s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeUpAnime {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

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

/**************
ナビメニュー
**************/


.topNavi {
    padding: 5px;
    background-color: rgba(255, 255, 255, .8);
    border: solid;
    border-color: rgba(255, 255, 255, .4);
    border-radius: 20px;
}

.topNavi-menu {
    display: flex;
    font-size: 14px;
    position: relative;
    z-index: 3;
}

.topNavi-jp {
    font-size: 16px;
    font-weight: bold;
    text-transform: capitalize;
}

.topNavi-en {
    font-size: 14px;
    font-weight: 400;
    text-transform: capitalize;
}

.topNavi-en span {
    text-transform: lowercase;
}

.topNavi-X,
.topNavi-Instagram {
    width: 35px;
    transition: .4s ease-in-out;
    filter: grayscale(100%);
}

.topNavi-Top,
.topNavi-About,
.topNavi-Webdesign,
.topNavi-Graphicdesign,
.topNavi-Others,
.topNavi-Contact {
    text-align: center;
}

.topNavi-About,
.topNavi-Webdesign,
.topNavi-Graphicdesign,
.topNavi-Others,
.topNavi-Contact,
.topNavi-X,
.topNavi-Instagram {
    margin-left: 25px;
}

.topNavi-menu li {
    transition: .4s ease-in-out;
}

.topNavi-menu li:hover {
    color: #FF4218;
}

.topNavi-menu li span {
    flex-direction: column;
}


.topNavi-Instagram:hover {
    filter: grayscale(0);
    transition: 0.3s;
}

.topNavi-X:hover {
    filter: grayscale(0);
    transition: 0.3s;
}



/**************
 ハンバーガーメニュー 
**************/

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


    .sp-button {
        display: inline-block;
        position: relative;
        z-index: 4;
    }

    .hamburger {
        /* position: absolute; */
        top: 50px;
        right: 40px;
        width: 30px;
        height: 30px;
        /* background-color: #ccc; */
    }

    .hamburger-line {
        position: absolute;
        top: 0;
        right: 0;
        width: 20px;
        height: 2px;
        background-color: #333;
    }

    .hamburger-line::before,
    .hamburger-line::after {
        position: absolute;
        content: " ";
        display: block;
        width: 100%;
        height: 100%;
        background-color: inherit;
    }

    .hamburger-line::before {
        top: -6px;
    }

    .hamburger-line::after {
        top: 6px;
    }




    .topNavi ul {
        width: 100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        padding-top: 50px;
        top: 0px;
        left: 0;
        height: 100%;
        background-color: #fff;
        transform: translateY(-100%);
        transition-duration: 1s;
    }

    .sp-button,
    .hamburger {
        position: fixed;
    }

    .topNavi-lesson,
    .topNavi-fee,
    .topNavi-contact {
        margin-left: 0;

    }

    .topNavi-menu li {
        margin-bottom: 20px;
    }

    .active .topNavi ul {
        transform: translateY(0);
    }

    .topNavi-menu li {
        margin-left: 0;
    }

    /* ３本線をバツにする */

    .sp-button span::before,
    .sp-button span::after {
        content: "";
        position: absolute;
        left: 0;
        width: 20px;
        height: 2px;
        background-color: #333;
        transition: .4s ease-in-out;
        /* z-index: 6; */
        /* バツが上にならない */
    }

    .sp-button span::before {
        top: -6px;
    }

    .sp-button span::after {
        top: 6px;
    }

    .active .sp-button span::before,
    .active .sp-button span::after {
        top: 0;
    }

    .active .sp-button span::before {
        transform: rotate(45deg);
    }

    .active .sp-button span::after {
        transform: rotate(-45deg);
    }

    .active .sp-button span {
        background-color: transparent;
    }

}

/**************
 ハンバーガーメニューここまで 
**************/

/**************
ファーストビュー
**************/
.firstview {
    margin: 240px 25%;
}

@media screen and (max-width: 480px) {
    .firstview {
        margin: 240px 15%;
    }
}

/**************
ボタン
**************/

/* #333→#FF4218のボタン */

.button-container-BlackToRed {
    width: 260px;
    text-align: center;
    padding: 10px 5px;
    border: solid;
    border-radius: 50px;
    border-color: #333;
    display: flex;
    justify-content: center;
    transition: .4s ease-in-out;
}

.buttonEng span {
    text-transform: capitalize;
}

.buttonEng::before {
    content: ' /';
}

.button-container-BlackToRed:hover {
    color: #fff;
    border-color: #FF4218;
    background-color: #FF4218;
}

/* #FFF→#FF4218のボタン */


.button-container-WhiteToRed {
    width: 260px;
    text-align: center;
    padding: 10px 5px;
    border: solid;
    border-radius: 50px;
    border-color: #FFF;
    display: flex;
    justify-content: center;
    transition: .4s ease-in-out;
}

.button-container-WhiteToRed .buttonJpn,
.button-container-WhiteToRed .buttonEng {
    color: #fff;
}

.button-container-WhiteToRed:hover {
    color: #fff;
    border-color: #FF4218;
    background-color: #FF4218;
}

/* 「お問い合わせフォーム/Contact」のボタン */
.botton-contact {
    width: 280px;
}

/**************
フッター
**************/
footer {
    text-align: center;
    color: #fff;
    background-color: #333;
    height: 100px;
    padding-top: 40px;
}