body {
    font-family: "Noto Serif JP", serif;
    color: #595879;
    font-size: 15px;
}

.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

@media only screen and (max-width: 768px) {
    h2 {
        margin-bottom: 24px;
    }
}

html {
    scroll-behavior: smooth;
}

.pagetop {
    box-shadow: 0 4px 6px rgb(0 0 0 / 30%);
    height: 50px;
    width: 50px;
    position: fixed;
    right: 30px;
    bottom: 30px;
    background: #fff;
    border: solid 2px #000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.pagetop__arrow {
    height: 10px;
    width: 10px;
    border-top: 3px solid #000;
    border-right: 3px solid #000;
    transform: translateY(20%) rotate(-45deg);
}

@media (hover: hover) and (pointer: fine) {
    .pagetop:hover, .pagetop:hover .pagetop__arrow {
        border-color: #3293e7;
    }
}

/* header */

.logo-image {
    width: 100px;
    height: auto;
    padding: 0;
    justify-content: center;
}

header {
    font-size: 24px;
    font-weight: 700;
    padding: 15px 0 15px;
}

header .container {
    max-width: 1600px;
}

.flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}
.header_menu li {
    margin-left: 30px;
}
.header_menu li a {
    transition: .3s;
}
.header_menu li a:hover {
    color: #80ba4a;
    transition: .3s;
}

@media only screen and (max-width: 768px) {
    header .container {
        justify-content: center;
    }
    .header_menu li {
        font-size: 20px;
        margin: 20px 10px 0;
    }
}

.hero {
    background-image: url(./image/img1.jpg);
    background-position: center;
    background-size: cover;
}

.hero .container {
    max-width: 1600px;
    padding: 150px 0 180px;
}

.hero h1 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero h1 .large {
    font-size: 54px;
    color: rgb(250, 0, 0);
}

.hero li {
    font-size: 24px;
    color: #ffffff;
    font-weight: 700;
    background-color: #ffb800;
    display: inline-block;
    margin-bottom: 8px;
}

@media only screen and (max-width: 768px) {
    .hero {
        height: 260px;
        width: 100%;
    }
    .hero .container {
        padding: 25px 0 160px;
    }
    .hero h1 {
        font-size: 20px;
        line-height: 1.5;
        margin-bottom: 10px;
    }
    .hero h1 .large {
        font-size: 30px;
    }
    .hero li {
        font-size: 15px;
        padding: 5px;
        margin-bottom: 6px;
    }
}

/* Profile */
.Profile {
    background-color: #f7f7ff;
    padding: 30px 0 30px;
}

.heading {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 5px;
}

h2 {
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
}

.column-2 {
    width: 48%;
}

.Profile_img {
    background-image: url(./image/profileimage.jpg);
    background-position: center;
    background-size: cover;
    height: 400px;
    border-radius: 20px;
}

.Profile dl {
    max-width: 900px;
    margin-left: auto;
}

.Profile dt {
    width: 35%;
    padding: 20px 0;
    font-weight: 600;
    border-bottom: solid 1px #d2ecba;
}

.Profile dd {
    width: 65%;
    padding: 20px 0;
    border-bottom: solid 1px #d2ecba;
}

@media only screen and (max-width: 768px) {
    .Profile .flex {
        flex-wrap: wrap;
    }
    .Profile_img {
        height: 300px;
        margin-bottom: 15px;
    }
    .Profile .column-2 {
        width: 100%;
    }
    .Profile dl {
        font-size: 12px;
    }
    .Profile dt {
        width: 35%;
        padding: 20px 0;
        font-weight: 600;
        border-bottom: solid 1px #d2ecba;
    }
    .Profile dd {
        width: 65%;
        padding: 20px 0;
        border-bottom: solid 1px #d2ecba;
    }
}

/* Lesson */

.Lesson {
    padding: 30px 0;
}

.Lesson .row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px 0;
}

.Lesson .col {
    width: 49%;
    background-color: #f7f7ff;
    border: solid 1px #e7e7e7;
    padding: 40px 30px;
}

.Lesson .contents {
    font-size: 16px;
    font-weight: 700;
    color: #edba38;
    margin-bottom: 10px;
}

.Lesson h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 19px;
}

.Lesson .text {
    line-height: 1.6;
}

@media only screen and (max-width: 768px) {
    .Lesson .row {
        gap: 16px;
    }
    .Lesson .col {
        width: 100%;
        padding: 20px 16px;
    }
    .Lesson .text {
        font-size: 15px;
    }
    .Lesson h3 {
        font-size: 18px;
        margin-bottom: 14px;
    }
}

/* Contact */

.Contact {
    background-color: #262384;
}

.Contact .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.Contact .col {
    width: 50%;
}

.Contact .col:first-child {
    padding: 16px 47px 16px 10%;
}

.Contact .heading {
    text-align: left;
    color: #ffffff;
}

.Contact h2 {
    text-align: left;
    color: #ffffff;
    margin-bottom: 30px;
}

.Contact .text {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.6;
}

/* footer */
.footer {
    background-color: #f7f7ff;
    padding: 30px 0 10px;
    text-align: center;
}

.footer .logo-image {
    width: auto;
    height: 200px;
    margin-bottom: 20px;
}

@media only screen and (max-width: 768px) {
    .Contact .row {
        flex-wrap: wrap;
    }
    .Contact .col {
        width: 100%;
    }
    .Contact .col:first-child {
        padding: 30px 0px;
        width: 90%;
        margin: auto;
    }
}

.footer-copy {
    display: block;
    text-align: center;
    font-size: 10px;
    padding: 10px;
}
