@charset "utf-8";
/* レイアウトのためのCSS */
body {
    overflow-x: hidden;
    font-family: 'Kosugi Maru', sans-serif;
    color: #333;
    font-size: 1rem;
    line-height: 1.85;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    word-wrap: break-word;
    letter-spacing: 0.2em;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    color: #333;
    text-decoration: none;
    outline: none;
}

img {
    width: 100%;
    height: auto;
}

* {
    box-sizing: border-box
}

/* font-family */
.header-utility li:last-child a, .header-area dl, #page-top span, h1 span,h2 span {
    font-family: 'Lato', sans-serif;
}

.container {
    width: 100%;
    padding: 0px 15px;
    margin: 0 auto;
}

header {
    height: 85px;
    margin: 0 auto;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    background-color: rgba(255, 248, 64, 1);
}

h1 span,h2 span{
    font-size: 3.5vw;
    text-transform: uppercase;
    display: block;
    
}

h1,h2{
    text-align: center;
    margin: 0 0 50px 0;
    font-size: 1.1vw;
    line-height: 1.5;
}

@media screen and (max-width: 1130px) {
    h1,h2 {
        font-size: 0.9rem;
    }

    h1 span,h2 span {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 768px) {
    h1,h2 {
        font-size: 0.8rem;
    }

    h1 spam,h2 span {
        font-size: 2rem;
    }
}

h3 {
    text-align: center;
    padding: 10px;
    margin-top: 25px;
}

p {
    padding-top: 20px;
    text-align: center;
}

@media screen and (max-width: 768px) {
    p {
        font-size: 1rem;
    }
}

.header-left {
    float: left;
}

.header-logo{
    width:150px;
    padding-top:25px;
}

.menu-icon {
    color: black;
    float: right;
    padding: 20px 20px;
    font-size: 35px;
    display: none;
}

@media screen and (max-width: 920px) {
    .menu-icon {
        display: block;
    }
}

.header-right {
    float: right;
}

@media screen and (max-width: 920px) {
    .header-right {
        display: none;
    }
}

.header-right ul li {
    display: inline-block;
    float: left;
    padding: 35px 15px;
}

.header-right a {
    text-decoration: none;
    color: black;
}

.menu-modal-wrapper {
    position: fixed;
    top: 85px;
    right: 0;
    width: 100%;
    z-index: 50;
    text-align: center;
    background-color: #00aaff;
    border-radius: 1px;
    display: none;
}

.menu-modal li {
    list-style: none;
    padding: 10px 10px;
    margin-right: 30px;
}

.menu-modal li a {
    text-decoration: none;
    color: white;
}

.inner {
    width: 100%;
    margin: 0 auto;
    padding: 70px;
}

@media screen and (max-width: 940px) {
    .inner {
        padding: 70px 30px;
    }
}

.course-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.course-list section {
    width: 28%;
    background: #fff;
    position: relative;
    box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.1);
    margin: 0 0 50px 0;
    padding: 20px 20px 50px 20px;
    border-radius: 10px;
}

.course-list section:nth-child(2) {
    animation-delay: 0.2s;
}

.course-list section:nth-child(3) {
    animation-delay: 0.4s;
}

@media screen and (max-width: 840px) {
    .course-list section {
        width: 46%;
    }
}

@media screen and (max-width: 545px) {
    .course-list section:nth-child(2), .course-list section:nth-child(3) {
        animation-delay: 0s;
    }
}

.course-list section .bg-yellow {
    background: #ff0;
    display: inline-block;
    position: absolute;
    left: -5px;
    top: -5px;
    z-index: 2;
    padding: 3px 5px;
    font-size: 0.9rem;
}

@media screen and (max-width: 545px) {
    .course-list section .bg-yellow {
        position: static;      /* ← absolute解除 */
        display: inline-block;
        margin-bottom: 8px;    /* 写真との間 */
        font-size: 0.9rem;
    }
}

.course-list section .course-img {
    padding-top: 70%;
    background-size: cover !important;
}

.course-list section:nth-of-type(1) .course-img {
    background: url("../img/yurukawa-1.JPG") no-repeat center;
    background-size: cover;
}

.course-list section:nth-of-type(2) .course-img {
    background: url("../img/copic-1.JPG") no-repeat center;
    background-size: cover;
}

.course-list section:nth-of-type(3) .course-img {
    background: url("../img/slider/slider-img4.JPG") no-repeat center;
    background-size: cover;
}

.course-list section h3 {
    font-size: 1.3rem;
    text-align: center;
    border-bottom: 5px double #333;
    margin: 30px 0 0 0;
    padding: 0 0 20px 0;
}

@media screen and (max-width: 1090px) {
    .course-list section h3 {
        font-size: 0.8rem;
    }
}

.menu-wrapper {
    text-align: center;
    margin: 50px 0px 50px 0px;
}

.slide {
    display: none;
    width: 60%;
    margin: 0 auto;
    border-radius: 10px;
}

.active {
    display: block;
}

.thumbnail-btn {
    width: 10vw;
    height: 10vw;
    object-fit: cover;
    margin: 5px;
    border-radius: 5px;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 90%;
    background-color: rgb(213, 228, 235);
    margin: 0 auto;
}

table th, table td {
    text-align: center;
    width: 25%;
    padding: 15px 0;
    border: solid 2px white;
    font-size: 0.85rem;
}

@media screen and (max-width: 840px) {
    table {
        width: 100%;
    }

    table th, table tb {
        font-size: 2vw;
    }
}

footer {
    width: 100%;
    padding-top: 25px;
    padding-bottom: 10px;
    text-align: center;
    background-color: #00aaff;
}

footer img {
    width: 125px;
}

footer p {
    color: #ffffff;
    font-size: 14px;
}

@media screen and (max-width: 940px) {
    small {
        text-align: center;
    }

    #page-top {
        position: relative;
        text-align: center;
        right: inherit;
        bottom: inherit;
        margin: 50px auto 30px auto;
        width: 80px;
        animation: none !important;
        transform: none !important;
        opacity: 1;
    }
}