@import url('https://fonts.googleapis.com/css2?family=BIZ+UDPGothic:wght@400;700&display=swap');
@font-face {
    font-family: 'LINEseed';
    src: url('../../webfonts/webfonts/LINESeedJP_OTF_Rg.woff2') format('woff2');
    font-weight: 400;
}
@font-face {
    font-family: 'LINEseed';
    src: url('../../webfonts/webfonts/LINESeedJP_OTF_Bd.woff2') format('woff2');
    font-weight: 600;
}
@font-face {
    font-family: 'LINEseed';
    src: url('../../webfonts/webfonts/LINESeedJP_OTF_Eb.woff2') format('woff2');
    font-weight: 800;
}

:root {
    --main: #1a2649;
    --orange: #f18d5f;
    --red: #e72f45;
    --imp: #eeea3b;
    --blue: #58c3e6;
    --green: #3eb694;
    --pink: #e4b5d3;
}

* {
    font-family: 'LINEseed', sans-serif;
    font-weight: 600;
    font-style: normal;
    color: var(--main);
}
body {background: var(--orange);}
.bg_pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--orange);
    opacity: 0.4;
    z-index: -1;
}
.Paper {
    background-image:  linear-gradient(#ffffffab 2px, transparent 2px),
    linear-gradient(90deg, #ffffffab 2px, transparent 2px),
    linear-gradient(#ffffffab 1px, transparent 1px),
    linear-gradient(90deg, #ffffffab 1px, var(--orange) 1px);
    background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
    background-position: -2px -2px, -2px -2px, -1px -1px, -1px -1px;
}
#Title {
    text-align: center;
    padding: 2rem .25rem;
    border-top: 2px solid var(--main);
    border-bottom: 2px solid var(--main);
    margin: 2rem 0;
    background: #3f62ad;

    * {color: #FFF;}

    h1 {
        font-size: 2rem;
        font-weight: 800;
        line-height: 140%;
        letter-spacing: 0.25rem;

        span { display: block;}
    }

    p {
        font-size: .9rem;
        line-height: 130%;
        margin-top: 1rem;

        span { display: block;}
    }
}
article > section {
    position: relative;
    width: 94%;
    text-align: center;
    padding: 2rem .5rem;
    border-radius: 15px;
    border: 2px solid var(--main);
    margin: 3rem auto;
    background: #FFF;
    right: 5px;

    > span {
        display: inline-block;
        padding: .25rem 1rem;
        border-radius: 30px;
        border: 2px solid var(--main);
        margin-bottom: 1rem;
        background: var(--pink);
    }

    h2 {
        font-size: 2rem;
        font-weight: 800!important;
        -webkit-text-stroke: 1px var(--main);
        color: white;
        text-shadow:
        4px 4px 0 var(--main),
        -1px -1px 0 var(--main),
        1px -1px 0 var(--main),
        -1px 1px 0 var(--main),
        1px 1px 0 var(--main);
        margin-bottom: 2rem;

        strong {
            font-size: 3rem;
            font-weight: 800!important;
        }
        strong:nth-of-type(1) { color: var(--imp)}
        strong:nth-of-type(2),
        strong:nth-of-type(3) { color: var(--orange)}
        strong:nth-of-type(4) {
            font-size: 3.5rem;
            color: var(--red)
        }

        span { display: block;}
    }

    p {
        font-size: .85rem;
        margin-bottom: .5rem;

        strong { background: linear-gradient(transparent 50%, var(--imp) 50%);}
        strong.big { font-size: 120%;}

        span { display: block;}
    }

    dl {
        display: flex;
        justify-content: center;
        padding-top: 1rem;
        border-top: 2px dotted var(--main);
        margin: 1rem auto 0;

        dt { margin-right: 1rem;}

        dd {
            color: #FFF;
            padding: 0 .5rem;
            background: #3f62ad;
        }
    }

}
section.common dd {
    background: linear-gradient(to right, #3f62ad 0%, var(--orange) 100%);
    background-repeat: no-repeat;
    background-position: left bottom;
}

article > section::after {
    height: 100%;
    width: 100%;
    content: "";
    position: absolute;
    padding: 2rem .5rem;
    border-radius: 15px;
    border: 2px solid var(--main);
    margin: 3rem auto;
    background: var(--red);
    top: -35px;
    right: -12px;
    z-index: -1;
}
article > section:nth-of-type(2)::after { background: var(--blue);}
article > section:nth-of-type(3)::after { background: var(--green);}
article > section:nth-of-type(4)::after,
article > section:nth-of-type(5)::after { background: var(--imp);}



@media screen and (min-width: 1024px) {
    article > section { width: 700px;
        h2 {
            font-size: 2.8rem;

            strong { font-size: 3.8rem;}
        }
    }
    article > section > span::before,
    article > section > span::after {
        position: absolute;
        content: "";
        display: inline-block;
        width: 22px;
        height: 140px;
    }
    article > section:first-of-type > span::before {
        background-image: url('../../img/exam/ss2026/1-11.svg');
        background-position: center;
        background-size: contain;
        left: -70px;
        top: -90px;
    }
    article > section:first-of-type > span::after {
        background-image: url('../../img/exam/ss2026/1-70.svg');
        background-position: center;
        background-size: contain;
        right: -90px;
        top: 250px;
    }
    article > section:nth-of-type(2) > span::before {
        background-image: url('../../img/exam/ss2026/1-51.svg');
        background-position: center;
        background-size: contain;
        left: -150px;
        top: -40px;
    }
    article > section:nth-of-type(2) > span::after {
        background-image: url('../../img/exam/ss2026/1-21.svg');
        background-position: center;
        background-size: contain;
        right: -17px;
        bottom: -40px;
        transform:rotate(90deg);
    }
    article > section:nth-of-type(3){
        > span::before {
            background-image: url('../../img/exam/ss2026/1-07.svg');
            background-position: center;
            background-size: contain;
            left: -42px;
            top: 30px;
            transform:rotate(90deg);
        }
        > span::after {
            background-image: url('../../img/exam/ss2026/1-61.svg');
            background-position: center;
            background-size: contain;
            right: -50px;
            bottom: -40px;
        }
    }

    article > section:nth-of-type(4) {
        > span::before {
            background-image: url('../../img/exam/ss2026/1-44.svg');
            background-position: center;
            background-size: contain;
            left: -50px;
            top: 40px;
        }
        > span::after {
            background-image: url('../../img/exam/ss2026/1-01.svg');
            background-position: center;
            background-size: contain;
            right: -17px;
            bottom: -40px;
            transform:rotate(90deg);
        }
    }

    article > section:nth-of-type(5) {
        > span::before {
            background-image: url('../../img/exam/ss2026/1-76.svg');
            background-position: center;
            background-size: contain;
            left: -100px;
            top: 40px;
        }
        > span::after {
            background-image: url('../../img/exam/ss2026/1-24.svg');
            background-position: center;
            background-size: contain;
            right: -100px;
            bottom: -10px;
        }
    }

    h1 span,
    h2 span,
    p span { display: inline!important;}
    p { font-size: 1rem!important;}
    dl * { font-size: 1.3rem;}

}


aside {
    width: 94%;
    padding: 2rem .5rem;
    border-radius: 15px;
    border: 2px solid var(--main);
    margin: 3rem auto;
    background: #FFF;
}

aside ul {
    width: 95%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0 auto !important;
}
aside ul li {
    width: 48%;
    margin-bottom: 10px!important;
}
aside ul li a img {
    display: block;
    width: 100%;
    height: auto;
}
/*Tab*/
@media print, screen and (min-width: 1024px) {
    aside { max-width: 950px!important;}
    aside ul li { width: 24%;}
}


footer {
    margin-top: 20px!important;
    background: #3f62ad;
}
footer .footer_inner {
    display: flex;
    justify-content: space-between;
    padding: 20px 20px;
    margin: 0 auto;
}

footer ul {}
footer ul#SNS { display: flex;}
footer ul li img {
    width: 25px;
    height: 25px;
    margin-left: .5em!important;
    filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%) contrast(103);
}
footer a { display: block;}
/*Tab*/
@media print, screen and (min-width: 1024px) {
    footer .footer_inner { max-width: 950px;}
    footer ul:not(#SNS) { display: flex;}
    footer ul:not(#SNS) li { margin-right: 1rem;}
}
