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

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

span {
    text-transform: capitalize;
}

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


.headerTop {
    display: flex;
    justify-content: space-between;
    padding: 40px 3%;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 5;
}

.background {
    width: 1440px;
}

/**************
左上のロゴ
**************/

.toplogo {
    text-align: center;
    position: fixed;
    z-index: 4 !important;
    transition: .4s ease-in-out;
    padding: 5px;
    background-color: rgba(51, 51, 51, .8);
    border: solid;
    border-color: rgba(51, 51, 51, .1);
    border-radius: 20px;
}

.toplogo:hover {
    color: #b1b1b1;
}



.toplogoP {
    font-size: 14px;
    font-weight: bold;
    padding: 2px;
}

.toplogoJ {
    font-size: 12px;
}

/**************
ナビメニュー
**************/
.topNavi {
    padding: 10px;
    background-color: rgba(51, 51, 51, .8);
    border: solid;
    border-color: rgba(51, 51, 51, .1);
    border-radius: 20px;
}

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

.topNavi-lesson {
    margin-left: 25px;
}

.topNavi-fee {
    margin-left: 25px;
}

.topNavi-contact {
    margin-left: 25px;
}

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

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

/**************
J(h1)とP(h２)の文字サイズ
**************/

.J {
    font-size: 32px;
    font-weight: bold;
    text-align: center;

}

.P {
    font-size: 24px;
    text-align: center;
    margin-top: 24px;
}

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

    .top-copyJ {
        flex-direction: column;
    }

    .J {
        font-size: 20px;
    }

    .P {
        font-size: 14px;
    }
}

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

    .J {
        font-size: 16px;
    }

    .P {
        font-size: 12px;
    }
}

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

.button-container {
    display: flex;
    justify-content: center;
}

.button-link {
    width: 300px;
    display: inline-block;
    text-align: center;
    padding: 20px 0;
    border: solid;
    border-radius: 50px;
    border-color: #fff;
}

/* 線が白→線が黒に変わるボタン */

.top-LineWhiteToBlack-Button {
    white-space: nowrap;
    padding: 18px 45px;
    margin-top: 80px;
    margin-bottom: 120px;
    transition: .4s ease-in-out;
}

.top-LineWhiteToBlack-Button:hover {
    color: #b1b1b1;
    border-color: #b1b1b1;
}

.contact-button {
    width: 600px;
}

/* 線が黒→線が白(#b1b1b1)に変わるボタン */
.top-LineBlackToWhite-Button {
    color: #333;
    border-color: #333;
    white-space: nowrap;
    padding: 18px 45px;
    margin-top: 80px;
    margin-bottom: 120px;
    transition: .4s ease-in-out;
}

.top-LineBlackToWhite-Button:hover {
    color: #fff;
    border-color: #fff;
}


/* 背景が黒→白に変わるボタン・コンタクト（問い合わせ）部分*/
.top-BlackToWhite-Button {
    padding: 18px 45px;
    color: #fff;
    background-color: #333;
    border: none;
    margin-top: 80px;
    margin-bottom: 120px;
    transition: .4s ease-in-out;
}

.top-BlackToWhite-Button:hover {
    background-color: #b1b1b1;
}

/**************
ボタンここまで(ボタンのレスポンシブはハンバーガーの下)
**************/

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

@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: #fff;
    }

    .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 {
        padding-right: 50px;
    }


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

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

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

    }

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

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

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

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

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

    .sp-button span::before,
    .sp-button span::after {
        content: "";
        position: absolute;
        left: 0;
        width: 20px;
        height: 2px;
        background-color: #FFF;
        transition: .4s ease-in-out;
    }

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

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

/**************
ボタンのレスポンシブ
**************/

@media screen and (max-width:570px) {
    .button-link {
        font-size: 14px;
        width: auto;
        text-align: center;
        margin-top: 20px;
        padding: 18px 40px;
    }
}

@media screen and (max-width:780px) {
    .contact-button {
        font-size: 14px;
        width: 280px;
    }

    .top-LineWhiteToBlack-Button {
        margin-bottom: 80px;
    }
}


/**************
    googlemap
**************/

iframe {
    width: 100%;
    aspect-ratio: 16/9;
}

@media screen and (max-width:780px) {
    iframe {
        width: 100%;
        aspect-ratio: 4/5;
    }
}

.capoeira-map {
    position: relative;
}

.capoeira-mapText {
    line-height: 1.6;
    width: 300px;
    height: auto;
    padding: 10px;
    color: #333;
    background-color: #fff;
    position: absolute;
    right: 10px;
    top: 30%;
}

@media screen and (max-width:780px) {
    .capoeira-mapText {
        top: 60%;
        font-size: 12px;
        width: 250px;
        height: fit-content;
    }
}

@media screen and (max-width:480px) {
    .capoeira-mapText {
        top: 65%;
        font-size: 12px;
        width: 280px;
        right: 10%;
    }
}

@media screen and (max-width:400px) {
    .capoeira-mapText {
        top: 58%;
        font-size: 12px;
        width: 280px;
        right: 5%;
    }
}

/**************
フッター
**************/

.footer {
    width: 100%;
    background-color: #333;
    padding-top: 30px;
    padding-bottom: 30px;
    text-align: center;
}

@media screen and (max-width:780px) {
    .footer {
        font-size: 10px;
    }
}

@media screen and (max-width:480px) {
    .footer {
        font-size: 8px;
    }
}