@charset "utf-8";

/* すべてのページに適用される設定 */
body {
    background-color: rgb(250, 233, 233);
    margin: 0 0 0 0;
}

.btn-flat-vertical-border {
    position: relative;
    display: inline-block;
    font-weight: bold;
    padding: 0.5em 1em;
    text-decoration: none;
    border-left: solid 4px #668ad8;
    border-right: solid 4px #668ad8;
    color: #668ad8;
    background: #e1f3ff;
    transition: .4s;
}

.btn-flat-vertical-border:hover {
    background: #668ad8;
    color: #FFF;
}

.flex-box {
    display: flex;
    gap: 10px 30px;
}

P {
    line-height: 1.7;
}


/* すべてのページに適用-ヘッダー */
.nav ul {
    margin: 30px 0 30px 0;
    list-style-type: none;
    display: flex;
    justify-content: center;
    gap: 40px;
}

a:link {
    color: #253958;
    text-decoration: none;
}

a:visited {
    color: #253958;
    text-decoration: none;
}

a:hover {
    color: #253958;
    text-decoration: underline;
}

a:active {
    color: #253958;
    text-decoration: underline;
}

/* すべてのページに適用-メイン */
.items {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.sentence {
    text-align: left;
    max-width: 300px;
}

.heading2 {
    font-size: 32px;
    font-family: "Dela Gothic One", sans-serif;
    font-weight: 400;
    font-style: normal;
    border-left: 10px solid #253958;
    border-bottom: 3px solid #253958;
    padding: 5px;
}

.items img {
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 1);
}

.school img {
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 1);
}

.landing img {
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 1);
}

.flex-image img {
    border-radius: 30%;
    padding: 5px;
}

.logo {
    text-align: center;
}

main {
    margin: 0px 50px 90px 50px;
    max-width: 1000px;
}

img {
    max-width: 100%;
}

/* すべてのページに適用-フッター */
.gotop {
    text-align: center;
}

.copyright {
    margin-top: 20px;
    margin-bottom: 0;
    padding-top: 30px;
    padding-bottom: 30px;
    background-color: #253958;
    color: #ffffff;
    text-align: center;
}


.header {
    border-top: 10px solid #253958;
    /* background-color: #253958;
    height: 10px; */
}

/*モバイル対応*/
@media(max-width: 767px) {
    .nav ul {
        flex-wrap: wrap;
        gap: 20px;
    }

    main {
        padding: 0 4%;
    }

    /*index.html*/
    .hero.index {
        padding: 28vh 0;
    }

    /*menu.html*/
    .items {
        grid-template-columns: 1fr 1fr;
    }
}