* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

footer img {
    height: 128px;
}

.content {
    max-width: 960px;
    margin: 0 auto;
}

.kyosai {
    padding: 18px 4px;
    text-align: center;
    font-size: 130%;
    font-weight: bold;
    background:linear-gradient(to left, #005AFF, #0C94E8);
    color: white;
}

.title {
    padding: 16px 0 0px 0;
    color: #5C2D91;
    text-align: center;
    font-weight: bold;
    text-shadow: -2px -2px 0 white, -2px 0 0 white, -2px 2px 0 white,
                    0 -2px 0 white,                  0 2px 0 white,
                2px -2px 0 white,  2px 0 0 white,  2px 2px 0 white;
    background-image: url('./img/title.png');
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
}

.title .size1 {
    font-size: 250%;
}

.title .size1 .outer {
    position: absolute;
    display: flex;
    background-color: yellow;
    color: black;
    font-size: 50%;
    line-height: 16px;
    width: 64px;
    height: 64px;
    border-radius: 64px;
}

.title .size1 .inner {
    margin: auto;
    margin-bottom: 10px;
}

.title .size1 .spacer {
    display: inline-block;
    width: 72px;
}

.title .size1 div span {
    font-size: 50%;
}

.title .size2 {
    font-size: 150%;
}

.title .size3 {
    font-size: 300%;
    margin-bottom: 1%;
}
.bottom {
    font-size: 80%;
    background-image: url('./img/filter.png');
    background-size: cover;
    box-shadow: -2px -10px 10px white;
}

.text {
    text-align: center;
    padding: 1% 0% 0% 0%;
    color: #221E1F;
}

.main {
    margin-top: 8px;
}

.main h1 {
    text-align: center;
    font-size: 20px;
    color: #005BAB  ;
}

.centre {
    text-align: center;
    color: #221E1F;
}

.main .flex {
    display: flex;
    justify-content: space-around;
    padding: 8px;
}

.main .flex .flex-content {
    width: 50%;
}

.main .flex .flex-content .kai {
    padding: 0 16px;
    background:linear-gradient(to left, #005AFF, #0C94E8);
    display: inline-block;
    border-radius: 8px;
    color: white;
    font-weight: bold;
}

.main .flex .flex-content .date {
    font-weight: bold;
    font-size: 200%;
}

.main .flex .flex-content .time {
    font-weight: bold;
}

span.small {
    font-size: 70%;
}
span.small_y {
    font-size: 50%;
}

.main .flex .register {
    text-align: center;
    margin-top: 4px;
}

.main .flex .register a{
    background:linear-gradient(to left, #005AFF, #0C94E8);
    color: white;
    font-weight: bold;
    border-radius: 8px;
    padding: 8px;
    text-decoration: none;
}

.main table {
    margin-top: 16px;
    font-weight: bold;
    width: 100%;
    border-collapse: collapse;
}

.main table .teacher {
    font-size: 80%;
}

.main table .margin-bottom td, .main table td.day {
    padding-bottom: 8px;
}

.nowrap {
    white-space: nowrap;
}

span.red {
    color: red;
}

span.bold {
    font-weight: bold;
}

ul, ol {
    list-style-position: inside;
}

.details ul {
    margin: 8px;
    color: #221E1F;
}

.theme-color {
    color: #009b90;
}

@media screen and (max-width: 700px) {
    .title .size1 {
        font-size: 160%;
    }
    .title .size1 .outer {
        font-size: 40%;
        line-height: 12px;
        width: 32px;
        height: 32px;
        border-radius: 32px;
    }
    .title .size1 .inner {
        margin: auto;
    }
    .title .size1 .spacer {
        display: inline-block;
        width: 34px;
    }
    .title .size2 {
        font-size: 90%;
    }
    .title .size3 {
        font-size: 150%;
        margin-bottom: 4%;
    }
    .text {
        padding: 1% 5% 1% 5%;
        font-size: 80%;

    }
    .main .flex {
        flex-flow: column;
    }
    
    .main .flex .flex-content {
        width: 100%;
        margin-bottom: 16px;
    }

    .main .flex .register {
        text-align: left;
    }
    .details li {
        padding: 1%;
        font-size: 70%;
    }

    footer img {
        height: 48px;
    }

    .kyosai {
        padding: 16px 4px;
        text-align: center;
        font-size: 100%;
        font-weight: bold;
        background:linear-gradient(to left, #005AFF, #0C94E8);
        color: white;
    }
}
