@charset "UTF-8";

body {
    font-size: 100%;
    font-weight: 500;
    letter-spacing: 0.1em;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
}

/*  共有タグ */
.wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 4rem;
    font-weight: 700;
    text-align: center;
    color: #000;
    padding: 70px 0;
}

.section-title::after {
    content: "";
    display: block;
    background-color: #333;
    width: 30%;
    height: 5px;
    position: absolute;
    right: 35%;
    margin-top: 20px;
}


/* --- ヘッダー --- */
header {
    width: auto;
    height: 100px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    margin-left: 20px;
    align-items: center;
}

header .site-title {
    width: 150px;
    height: 150px;
    margin-top: 80px;
}

/* burgermenu------------------------------------------- */

nav {
    display: block;
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: #3160ad;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    bottom: 0;
    transition: all 0.5s;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
}

nav .nav-title {
    width: 150px;
    height: 100px;
    margin: 50px 0 0 50px;
}

.is-active nav {
    opacity: 1;
    visibility: visible;
}

nav .flex {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

nav .inner {
    text-align: center;
}

nav .inner .btn {
    margin-top: 7px;
    background-color: red;
    border: none;
    color: #fff;
    transition: all 1s ease;
}

nav .inner .btn:hover {
    opacity: 1;
    color: red;
    background-color: #fff;
    scale: 120%;
    border: 5px red solid;
}

nav .inner ul li {
    display: block;
    width: 350px;
    border-bottom: 3px solid #333;
}

nav .inner ul li a {
    display: block;
    text-decoration: none;
    color: #333;
    font-size: 30px;
    padding: 1rem;
    transition-duration: 0.2s;
}

nav .inner ul li a:hover {
    background-color: #ddd;
    opacity: 0.5s;
}

.toggle-btn {
    display: block;
    position: fixed;
    margin-top: 30px;
    margin-right: 30px;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    z-index: 10;
    cursor: pointer;
}

.toggle-btn span {
    position: absolute;
    display: block;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #333;
    transition: all 0.5s;
    border-radius: 4px;
}

.toggle-btn span:nth-child(1) {
    top: 0;
}

.toggle-btn span:nth-child(2) {
    top: 15px;
}

.toggle-btn span:nth-child(3) {
    bottom: 15px;
}

.is-active .toggle-btn span {
    background-color: #fff;
}

.is-active .toggle-btn span:nth-child(1) {
    transform: translateY(16px) rotate(-315deg);

}

.is-active .toggle-btn span:nth-child(2) {
    opacity: 0;
}

.is-active .toggle-btn span:nth-child(3) {
    transform: translateY(-16px) rotate(315deg);

}

/* マスク---------------------------------------------- */

#mask {
    display: none;
    transition: all 0.5s;
}

.is-active #mask {
    display: block;
    background-color: #192ae1;
    opacity: 0.5;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    z-index: 9;
    cursor: pointer;
}

/* mainvisual---------------------------------------- */

#mainvisual {
    position: relative;
    width: auto;
    height: 800px;
}

#mainvisual .title {
    position: absolute;
    top: 300px;
    right: 150px;
    color: red;
    font-weight: 600;
    font-size: 3rem;
    z-index: 1;
}

#mainvisual .text a {
    text-decoration: none;
    color: #fff;
    font-size: 2rem;
    background-color: red;
    border: 5px solid #ddd;
    border-radius: 10px;
    padding: 20px 100px 20px 50px;
    position: absolute;
    top: 500px;
    right: 120px;
    z-index: 1;
    transition: all 1s ease;
}

#mainvisual .text a::before {
    content: '→';
    color: #fff;
    position: absolute;
    top: 50%;
    right: 60px;
    transform: translateY(-50%);
    transition: all 1s ease;
}

#mainvisual .text a:hover::before {
    right: 20px;
    color: red;
}


#mainvisual .text a:hover {
    background-color: #fff;
    color: red;
    border: 5px solid red;
    scale: 120%;
}

#mainvisual .fade li {
    width: 75%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation: fade 15s infinite;
}

#mainvisual .fade li:nth-child(1) {
    animation-delay: 0s;
}

#mainvisual .fade li:nth-child(2) {
    animation-delay: 5s;
}

#mainvisual .fade li:nth-child(3) {
    animation-delay: 10s;
}

#mainvisual .fade li::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    box-shadow: inset 0px 0px 20px 20px #fff;
}

@keyframes fade {
    0% {
        opacity: 0;
    }

    15% {
        opacity: 1;
    }

    30% {
        opacity: 1;
    }

    45% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

#mainvisual .fade li img {
    max-width: 100%;
    width: 100%;
    height: 800px;
    object-fit: cover;
}

/*    reason    */
#reason .background {
    background-color: aquamarine;
    height: 950px;
    position: relative;
}

#reason .white-box {
    position: absolute;
    top: 50px;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
    height: 250px;
    background-color: #fff;
    border-bottom-right-radius: 20px;
    border-top-right-radius: 20px;
    opacity: 0;
}

#reason .white-box2 {
    position: absolute;
    top: 350px;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
    height: 250px;
    background-color: #fff;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    opacity: 0;
}

#reason .white-box3 {
    position: absolute;
    top: 650px;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
    height: 250px;
    background-color: #fff;
    border-bottom-right-radius: 20px;
    border-top-right-radius: 20px;
    opacity: 0;
}

#reason .content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: absolute;
}

#reason .content img {
    width: 100px;
    height: 100px;
}

#reason .box {
    margin-left: 30px;
}

#reason p {
    padding-top: 10px;
    font-size: 1.5rem;
    color: #333;
}

#reason .box-title {
    font-size: 3rem;
    color: rgb(233, 46, 46);
    position: relative;
}

#reason .box-title::after {
    content: "";
    display: block;
    background-color: #333;
    width: 100%;
    height: 3px;
}

#reason .slide-left {
    animation: slide-left 1s ease-out 0s 1 forwards;
}

@keyframes slide-left {
    0% {
        transform: translateX(-50%);
    }

    100% {
        opacity: 1;
        transform: translateX(0s);
    }
}

#reason .slide-right {
    animation: right 1s ease-out 0s 1 forwards;
}

@keyframes right {
    0% {
        transform: translateX(150%);
    }

    100% {
        opacity: 1;
        transform: translate(0%);
    }
}

#reason .slide-bottom {
    animation: bottom 1s ease-out 0s 1 forwards;
}

@keyframes bottom {
    0% {
        transform: translateY(150%);
    }

    100% {
        opacity: 1;
        transform: translateY(0%);
    }
}

/*     こんな方におすすめ     */
#osusume .content {
    display: flex;
    justify-content: center;
    align-items: center;
}

#osusume img {
    width: 700px;
    height: 500px;
}

#osusume .text {
    font-weight: 700;
    font-size: 2rem;
}

#osusume .text .ue {
    margin: 0 0 30px 0;
}

#osusume .text .sita {
    margin: 0 0 30px 100px;
}

/* 　スクールの概要  */
#overview .bg {
    background-color: aquamarine;
    width: 100%;
    height: 800px;
}

#overview .wrapper {
    position: relative;
}

#overview .block-title {
    margin-top: 30px;
    text-align: center;
    font-weight: 700;
    font-size: 2rem;
    color: red;
}

#overview .block-title::after {
    content: "";
    display: block;
    width: 74%;
    height: 3px;
    background-color: #192ae1;
    position: absolute;
    right: 13%;
}

#overview .block {
    width: 500px;
    height: 400px;
    background-color: #fff;
    border-radius: 20px;
    position: absolute;
    top: 50px;
    left: 50px;
}

#overview .block ul {
    margin-top: 20px;
    text-align: center;
}

#overview .block li {
    font-size: 1.5rem;
    color: #192ae1;
    font-weight: 300;
    padding: 10px;
}

#overview .block2 {
    width: 500px;
    height: 400px;
    background-color: #fff;
    border-radius: 20px;
    position: absolute;
    top: 50px;
    right: 50px;
}

#overview .block2 .flex {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px 0;
}

#overview .block2 dt {
    font-size: 2rem;
    font-weight: 300;
}

#overview .block2 dd {
    font-size: 2.5rem;
    font-weight: 500;
}

#overview .block2 dd::after {
    content: "";
    display: block;
    width: 100%;
    height: 4px;
    background-color: red;
}

#overview .block3 {
    width: 1100px;
    height: 250px;
    background-color: #fff;
    border-radius: 20px;
    position: absolute;
    top: 500px;
    left: 50px;
}

#overview .block3 p {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    color: #333;
    margin-top: 30px;
}

#overview .block3 .btn {
    font-size: 1.2rem;
    position: absolute;
    top: 200px;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #192ae1;
    border: 3px solid #192ae1;
    padding: 15px 50px;
    transition: all 1s ease;
}

#overview .block3 .btn:hover {
    color: #fff;
    background-color: #6873f0;
    border: 3px solid #ddd;
    padding: 15px 90px 15px 50px;
}

#overview .block3 .btn::after {
    content: "→";
    color: #192ae1;
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    transition: all 1s ease;
}

#overview .block3 .btn:hover:after {
    right: 5px;
    color: #fff;
}

/* 　　consultation　　 */
#consultation .flex {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

#consultation .flex img {
    width: 450px;
    height: 300px;
    object-fit: cover;
    border: 1px #000 solid;
}

#consultation .content {
    border: 3px solid #333;
    padding: 30px 30px 80px 30px;
    position: relative;
}

#consultation .content-title {
    font-size: 2rem;
    font-weight: 500;
    color: #6873f0;
    text-align: center;
}

#consultation .content .text {
    margin: 30px 0;
    font-size: 1.2rem;
    color: #000;
    text-align: center;
}

#consultation .content .point-Area {
    display: block;
    width: 50%;
    padding: 10px;
    margin-top: 20px;
    color: #fff;
    position: absolute;
    top: 440px;
    right: 40px;
    background-color: rgba(0, 0, 0, .7);
    z-index: 3;
}

#consultation .content .point {
    margin-left: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    color: red;
}

#consultation .content .point-text {
    margin-left: 30px;
    font-size: 0.9rem;
}

#consultation .btn-flex {
    text-align: center;
    margin-top: 100px;
}


#consultation .btn {
    font-size: 2rem;
    border: 3px solid #333;
    border-radius: 50px;
    background-color: #192ae1;
    padding: 30px 70px;
    text-align: center;
    color: #fff;
    transition: all .7s ease;
    position: relative;
}

#consultation .btn:hover {
    color: #192ae1;
    background-color: #fff;
    border: 3px solid #192ae1;
}

#consultation .btn::before {
    content: "＼当日からOK／";
    color: #333;
    text-align: center;
    position: absolute;
    top: -60%;
    left: 23%;
}

/*   preparation   */
#preparation .flex {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

#preparation img {
    margin-top: 20px;
    margin-left: 70px;
    width: 350px;
    height: 350px;
}

#preparation .text {
    margin-top: 30px;
    font-size: 2rem;
    font-weight: 600;
    color: #192ae1;
    text-align: center;
    margin-top: 30px;
}

#preparation .title {
    font-size: 4rem;
    text-align: center;
    padding: 30px 0;
}

#preparation .naiyou {
    text-align: center;
    font-size: 1.5rem;
    margin-top: 30px;
}

#preparation .bg {
    width: 100vw;
    height: 750px;
    background-color: aquamarine;
}

/*   free   */
#free .free-title {
    margin-top: 2rem;
    font-weight: 800;
    font-size: 3rem;
    text-align: center;
}

#free .text {
    text-align: center;
    font-weight: 300;
    font-size: 1.5rem;
    margin-top: 1.5rem;
}

#free .Apply-button {
    display: flex;
    justify-content: center;
    align-items: center;
}

#free .Apply-button .button {
    font-size: 4rem;
    font-weight: 600;
    color: #fff;
    background-color: red;
    padding: 20px 100px;
    border: 3px solid #000;
    border-radius: 100px;
    margin-top: 50px;
    transition: all .7s ease;
}

#free .Apply-button .button:hover {
    color: red;
    background-color: #fff;
    border: 3px solid red;
}

/*     footer      */
#footer {
    margin-top: 50px;
    background-color: #ddd;
}

#footer .flex {
    display: flex;
    justify-content: space-around;
}

#footer .content {
    margin-top: 30px;
    padding: 10px;
}

#footer .content .title {
    font-size: 1.2rem;
    color: #000;
    font-weight: 300;
    text-align: center;
    margin-bottom: 20px;
}

#footer li {
    color: #000;
    text-align: center;
    padding: 3px;
}

#footer li a {
    color: #000;
    border-bottom: 1px solid #000;
    transition: all .8 ease;
}

#footer li a:hover {
    border-bottom: none;
}

#footer .copyright {
    text-align: center;
}

/*  sp   */
@media screen and (max-width:600px) {

    /* 共通 */
    .wrapper {
        width: auto;
        max-width: 100%;
        margin: 0 auto;
    }

    .section-title {
        margin: 20px 0 20px 0;
        font-size: 2rem;
        text-align: center;
        color: #333;
        font-weight: 600;
    }

    /* ヘッダー */
    header {
        width: auto;
        height: auto;
    }

    header .site-title {
        width: 150px;
        height: 150px;
        margin: 0 30px 0 0;
    }

    /* バーガー */
    .toggle-btn {
        top: 0;
        left: 280px;
    }

    nav .nav-title {
        width: 150px;
        height: 100px;
        margin: 15px 0 0 10px;
    }

    /* メイン */
    #mainvisual {
        width: auto;
        height: 600px;
    }

    #mainvisual .fade li img {
        width: auto;
        height: 400px;
    }

    #mainvisual .title {
        text-align: center;
        color: red;
        font-weight: 800;
        font-size: 1.5rem;
    }

    #mainvisual .text a::before {
        right: 20px;
    }

    #mainvisual .text a {
        font-size: 1.5rem;
        padding: 20px 50px 20px 50px;
        top: 450px;
        right: 25px;
    }

    #mainvisual .fade li {
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
    }

    #mainvisual .fade li {
        width: 100%;
    }

    /* 選ばれる理由 */

    #reason .white-box {
        width: 100%;
    }

    #reason .white-box2 {
        width: 100%;
    }

    #reason .white-box3 {
        width: 100%;
    }

    #reason .box-title {
        font-size: 2rem;
    }

    #reason .content img {
        width: 80px;
        height: 80px;
    }

    #reason p {
        padding-top: 10px;
        font-size: 1.2rem;
        color: #333;
    }

    #reason .box {
        margin-left: 5px;
    }

    /* こんな方におすすめ */
    #osusume .content {
        flex-direction: column;
        align-items: center;
    }

    #osusume img {
        width: auto;
        height: 300px;
    }

    #osusume .text {
        margin-top: 40px;
        margin-left: 15px;
        font-weight: 800;
        font-size: 1.2rem;
    }

    #osusume .text .ue {
        margin: 0 0 20px 0;
    }

    #osusume .text .sita {
        margin: 0 0 20px;
    }

    /* スクールの概要 */
    #overview .bg {
        flex-direction: column;
        height: 1250px;
    }

    #overview .block {
        width: 300px;
        height: 400px;
        background-color: #fff;
        border-radius: 20px;
        left: 40px;
    }

    #overview .block2 {
        width: 300px;
        height: 400px;
        background-color: #fff;
        border-radius: 20px;
        top: 500px;
        left: 40px;
    }

    #overview .block3 {
        width: auto;
        height: 250px;
        background-color: #fff;
        border-radius: 20px;
        top: 950px;
        left: 0;
    }

    #overview .block li {
        font-size: 1.5rem;
        color: #192ae1;
        font-weight: 500;
        padding: 10px;
    }

    #overview .block-title {
        margin-top: 30px;
        text-align: center;
        font-weight: 500;
        font-size: 2rem;
        color: red;
    }

    #overview .block2 .flex {
        flex-direction: column;
        align-items: center;
        padding: 5px 0;
    }

    #overview .block2 dt {
        margin-top: 10px;
        font-size: 1.8rem;
        font-weight: 300;
    }

    #overview .block2 dd {
        font-size: 1.3rem;
        font-weight: 500;
    }

    #overview .block-title {
        margin-top: 30px;
        text-align: center;
        font-weight: 700;
        font-size: 2rem;
        color: red;
    }

    #overview .block li {
        font-size: 1rem;
        color: #192ae1;
        font-weight: 300;
        padding: 10px;
    }

    #overview .block3 p {
        font-size: 1.3rem;
        font-weight: 600;
        text-align: center;
        color: #333;
        margin-top: 15px;
    }

    #overview .block3 .btn {
        font-size: 1rem;
        padding: 10px 40px;
    }

    #overview .block3 .btn::after {
        content: "→";
        color: #192ae1;
        position: absolute;
        top: 50%;
        right: 10px;
        transform: translateY(-50%);
    }

    /* 無料相談できること */
    #consultation .flex {
        flex-direction: column;
        padding: 10px;
    }

    #consultation .content-title {
        font-size: 2rem;
        font-weight: 800;
    }



    #consultation .content .point-text {
        font-size: 0.8rem;
    }

    #consultation .content .point-Area {
        top: 500px;
        right: 50px;
    }

    #consultation .btn {
        font-size: 2rem;
        padding: 20px 20px;
        text-align: center;
    }

    #consultation .btn::before {
        top: -70%;
        left: 15%;
    }

    /* ご用意いただく物 */
    #preparation .flex {
        flex-direction: column;
        align-items: center;
    }

    #preparation .title {
        font-size: 3rem;
        padding: 30px 0 0 0;
    }

    #preparation img {
        margin: 40px 0 0 15px;
        width: 300px;
        height: auto;
    }

    #preparation .naiyou {
        text-align: center;
        font-size: 1.3rem;
        margin-top: 40px;
    }

    #preparation .bg {
        width: auto;
        height: 1200px;
        background-color: aquamarine;
    }

    #preparation .text {
        margin-top: 30px;
        font-size: 1.5rem;
        font-weight: 600;
        color: #192ae1;
        text-align: center;
        margin-left: 10px;
    }

    /* free */
    #free {
        padding: 0 10px;
    }

    #free .free-title {
        margin-top: 1.5rem;
        font-weight: 700;
        font-size: 2rem;
    }

    #free .text {
        font-weight: 400;
        font-size: 1.2rem;
        margin-top: 1.2rem;
    }

    #free .Apply-button .button {
        font-size: 2rem;
        font-weight: 600;
        padding: 20px 20px;
        margin-top: 40px;
    }

    /* フッター */
    #footer .flex {
        flex-direction: column;
    }


}