@charset "UTF-8";

body {
    margin: 0vw 15vw;
    padding: 0;
    text-align: center;
    font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", 'メイリオ', Meiryo, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'ＭＳ Ｐゴシック', 'Osaka', sans-serif;
    color: #666666;
}

@media screen and (max-width: 1600px) {
    body {
        margin: 0vw 10vw;
    }
}

@media screen and (max-width: 1200px) {
    body {
        margin: 0vw 5vw;
    }
}

@media screen and (max-width: 568px) {
    body {
        margin: 0vw 3vw 20vw 3vw;
    }
}

/* =======================================================
h要素
======================================================= */
h1 {
    position: relative;
    color: var(--thema-color-text);
    margin: 16px 0px 25px 0px;
    padding-bottom: 10px;
    font-size: 56px;
    font-weight: normal;
    line-height: 1;
    font-family: 'Noto Serif JP', serif;
}

@media screen and (max-width: 568px) {
    h1 {
        font-size: 32px;
    }
}

h1:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 7px;
    opacity: 0.4;
    background: repeating-linear-gradient(-45deg, var(--thema-color-sub-1), var(--thema-color-sub-1) 2px, #fff0 2px, #fff0 4px);
}


h2 {
    position: relative;
    margin-top: 70px;
    padding: 0.3rem;
    text-align: center;
    background: var(--thema-color-text);
    color: #ffffff;
    font-size: 28px;
    font-weight: normal;
    letter-spacing: 8px;
    font-family: 'Zen Maru Gothic', sans-serif;
}

@media screen and (max-width: 568px) {
    h2 {
        font-size: 20px;
    }
}

h2:before,
h2:after {
    position: absolute;
    content: '';
}

h2:before {
    top: -30px;
    left: calc(50% - 31px);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--thema-color-base-1);
}

h2:after {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--thema-color-base-1);
}

h2 i {
    font-size: 1.1rem;
    position: absolute;
    z-index: 1;
    top: -19px;
    left: calc(50% - 33px);
    width: 72px;
    height: 60px;
    text-align: center;
}

h2.covid19 i {
    font-size: 1.1rem;
    position: absolute;
    z-index: 1;
    top: -19px;
    left: calc(50% - 36px);
    width: 72px;
    height: 60px;
    text-align: center;
}

h2 span {
    position: relative;
    z-index: 1;
}


h3 {
    margin-top: 0px 0px 14px 0px;
    font-size: 24px;
    font-weight: normal;
    line-height: 1.5;
    text-align: center;
    color: var(--thema-color-text);
    background: linear-gradient(#ffffff00 70%, var(--thema-color-base-2) 100%);
    border-radius: 50px;
}

@media screen and (max-width: 568px) {
    h3 {
        font-size: 18px;
    }
}


h3.small {
    margin-top: 0px 0px 14px 0px;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    color: var(--thema-color-text);
    background: linear-gradient(#ffffff00 0%, var(--thema-color-base-2) 100%);
    border-radius: 50px;
}


@media screen and (max-width: 568px) {
    h3.small {
        font-size: 16px;
    }
}


h4 {
    margin: auto;
    margin-top: 0px;
    margin-bottom: 10px;
    padding: 5px 0px 5px 0px;
    text-align: center;
    font-size: 20px;
    font-weight: normal;
    line-height: 1.2;
    color: var(--thema-color-text);
    background-color: var(--thema-color-base-3);
    border-radius: 6px;
}

h4:first-letter {
    font-size: 1.5em;
    color: var(--thema-color-4);
    font-weight: 500;
    z-index: 1;
}

@media screen and (max-width: 568px) {
    h4 {
        font-size: 16px;
    }
}

h4.lesson {
    margin: auto;
    margin-top: 55px;
    margin-bottom: 12px;
    padding-top: 5px;
    padding-bottom: 5px;
    text-align: center;
    font-size: 20px;
    font-weight: normal;
    line-height: 1.2;
    color: var(--thema-color-text);
    background-color: var(--thema-color-base-2);
    border-radius: 6px;
}

@media screen and (max-width: 568px) {
    h4.lesson {
        font-size: 16px;
    }
}


h5 {
    margin: 14px 0px 10px 0px;
    padding: 0px 0px 3px 2px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: var(--thema-color-base-2);
    text-align: center;
    color: var(--thema-color-text);
}

@media screen and (max-width: 568px) {
    h5 {
        font-size: 14px;
    }
}


/* =======================================================
p要素
======================================================= */
p {
    margin: 0.5em 0em 3em 0em;
    text-align: center;
    font-size: 16px;
}

@media screen and (max-width: 568px) {
    p {
        font-size: 14px;
    }
}

p.concept {
    margin: 20px 15px 0px 15px;
    text-align: center;
    font-size: 20px;
    line-height: 1.4;
}

@media screen and (max-width: 568px) {
    p.concept {
        font-size: 14px;
        text-align: left;
    }
}

p.class {
    margin: 0em 0em 3em 0em;
    text-align: left;
    font-size: 16px;
    line-height: 22px;
}

@media screen and (max-width: 568px) {
    p.class {
        font-size: 14px;
        line-height: 20px;
    }
}


/*--------------------------------------------------------
  基本パーツデザイン設定
--------------------------------------------------------*/

/* リンク文字色 */
a:link {
    color: #a5a5a5;
    text-decoration: underline;
}

a:visited {
    color: #a5a5a5;
    text-decoration: underline;
}

a:hover {
    color: #B50000;
    text-decoration: none;
}

a:active {
    color: #B50000;
    text-decoration: none;
}


hr {
    width: 100%;
    border-style: none;
    margin: 30px
}


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

dl {
    margin-bottom: 20px;
}

dt {
    float: left;
    text-align: left;
    line-height: 1.4;
    font-weight: bold;
    padding: 5px 0px 2px 15px;
}

@media screen and (max-width: 568px) {
    dt {
        float: none;
        max-width: 100%;
        box-sizing: border-box;
    }
}

dd {
    padding: 5px 0px 2px 17em;
    text-align: left;
    line-height: 1.4;
    border-bottom-width: 1px;
}

dl::after {
    content: ".";
    clear: both;
    height: 0;
    display: block;
    visibility: hidden;
}


/* =======================================================
フッター
======================================================= */
#footerMain p {
    margin: 0;
    padding: 10px;
    font-size: 0.9em;
    text-align: center;
    background: var(--thema-color-base-1);
    color: #ffffff;
}

#footerExtra ul {
    font-size: 0.8em;
    margin: 30px 0px;
    padding: 0;
    list-style-type: none;
    text-align: left;
}

#footerExtra li a {
    padding: 10px;
    background-color: #e2e2e2;
    color: #757575;
    text-decoration: none;
}