@import url('https://fonts.googleapis.com/earlyaccess/notosanstc.css');
@import url('https://fonts.googleapis.com/css?family=Baloo');
@import url('https://fonts.googleapis.com/css?family=Fredoka+One');
@import url('https://fonts.googleapis.com/css?family=Lato:400,700|Mukta+Vaani:700|Staatliches');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');



body {
    --f-b: #767bcf;
    --f-b2: #313478;
    --f-b3: #a9aceb;
    --f-p: #ff36b9;
    --f-p2: #ff1f8a;
    --f-p3: #b2d2ff;
    --f-p5: #ffbdfa;
    --f-y: #ffe100;
    --b1: #36d0ff;
    --b2: #ffcccc;
    --color-link-hover: #fff;
    --color-title: #fff;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    margin: auto;
}

@media (max-width:768px) {
    .br_d {
        display: none;
    }
}

@media (min-width:55em) {
    .br_s {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .hidden-sm {
        display: none;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .hidden-md {
        display: none;
    }
}

@media (min-width: 1200px) {
    .hidden-lg {
        display: none !important;
    }
}



#double {
    background: url(../img/bg-3.png) center / cover no-repeat, #fff;
    text-align: center;
    position: relative;
    /*  height:100vh;
    overflow-x: hidden; */
    overflow: hidden;
}

#double h3 {
    margin: 0;
    color: #198754;
    font-family: "GenSenMaruGothicTWH";
    text-shadow: -1px -1px 0px #fff, 1px -1px 0px #fff, -2px 0px 0px #fff, -1px 1px 0px #fff, 0px 3px 0px #fff, 0px -3px 0px #fff, 2px 2px 0px #fff, -2px -2px 0px #fff, 3px 0px 0px #fff, -3px 0px 0px #fff;

}

#double h4 {
    color: #ff4752;
    font-family: "GenSenMaruGothicTWH";
}

.doubletit {
    position: relative;
    width: fit-content;
    margin: 2em auto;
}

.doubletit:last-of-type::before,
.doubletit:last-of-type::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 100%;
    width: 8vw;
    height: 8vw;
    max-width: 75px;
    max-height: 75px;
    background: url(../img/title-1.png) center / auto 100% no-repeat;
}

.doubletit::after {
    left: 100%;
    right: unset;
    transform: scaleX(-1);
}

#double ul {
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    flex-wrap: wrap;
    list-style: none;
    width: var(--box-width);
    margin: 2em auto;
}

#double ul li {
    width: 50%;
    text-align: left;
    position: relative;
    margin-top: 8vh;
}

#double img {
    width: 75%;
    float: right;
    margin-right: -2vw;
    /* position: absolute; */
    top: 0;
    right: -3vw;
    clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
}

#double ul li:last-child img {
    top: 0;
    left: -3vw;
    float: left;
    margin-right: unset;
    margin-left: -2vw;
}

#double ul li p {
    z-index: 1;
    position: absolute;
    top: -8vh;
    padding: 2vh 1vw;
    border-radius: 1em;
    border: solid 3px;
    background: rgba(25, 135, 84, 0.9);
    color: #fff;
    font-size: 1.2em;
    width: 90%;
    left: 0vw;
}

#double ul li p strong {
    display: block;
    font-size: 1.5em;
    font-weight: 500;
    font-family: 'DFHeiStd9';
}

#double ul li:last-child p {
    background: rgba(255, 71, 83, 0.9);
    left: auto;
    right: 0vw;
}


@media (max-width:768px) {

    #double ul li {
        margin-top: 0vh;
    }

    #double img {
        width: 100%;
    }

    #double ul li p {
        position: relative;
        top: 0;
        padding: 2vh 2vw;
        width: 102%;
        background: rgba(255, 255, 255, 0.8);
        color: rgba(25, 135, 84, 0.9);
    }

    #double ul li:last-child p {
        top: 5vh;
        background: rgba(255, 255, 255, 0.8);
        color: rgba(255, 71, 83, 0.9);
    }
}



/* --------------------------- */
#double-leam {
    background: url(../img/bg-1.png) center / cover no-repeat, #fce1bc;
    text-align: center;
    position: relative;
    padding-top: 5vh;
    height: auto;
    overflow: hidden;
}

#double-leam h3 {
    color: #e83935;
    font-family: "GenSenMaruGothicTWH";
    text-shadow: -1px -1px 0px #fff, 1px -1px 0px #fff, -2px 0px 0px #fff, -1px 1px 0px #fff, 0px 3px 0px #fff, 0px -3px 0px #fff, 2px 2px 0px #fff, -2px -2px 0px #fff, 3px 0px 0px #fff, -3px 0px 0px #fff;
}

#double-leam h4 {
    background-color: #ff4752;
    color: #fff;
    font-size: 1.35em;
    padding: 1vh 1vw;
    margin: 1vh 0;
    text-align: center;

}

#double-leam h5 {
    color: #006934;
    font-size: 1.5em;
    font-family: 'DFHeiStd9';
    line-height: 1;
    text-align: left;
    margin-top: -2vw;
    text-shadow: -1px -1px 0px #fff, 1px -1px 0px #fff, -2px 0px 0px #fff, -1px 1px 0px #fff, 0px 3px 0px #fff, 0px -3px 0px #fff, 2px 2px 0px #fff, -2px -2px 0px #fff, 3px 0px 0px #fff, -3px 0px 0px #fff;
}

#double-leam h5 span {
    font-size: 180%;
    font-style: italic;
}

#double-leam h6 {
    font-style: italic;
    font-size: 0.95em;
    text-align: center;
    color: #198754;
    position: relative;
    margin-top: 2vh;
}

#double-leam h6 span::before {
    content: '/';
    color: #198754;
    font-weight: 900;
    padding-right: 1vw;
}

#double-leam h6 span::after {
    content: '/';
    color: #198754;
    font-weight: 900;
    padding-left: 1vw;
}

#double-leam p strong {
    color: #e83935;
    display: block;
    font-size: 1.12em;
    font-family: 'DFHeiStd9';
    font-weight: 500;
}

#double-leam section {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
    width: var(--box-width);
    margin: 2em auto;
}

#double-leam section>div {
    width: calc((100% - 2em)/2);
    margin: 1em .5em;
    padding: 0 1.5em 2em;
    background: #fff;
    border-radius: 1em;
    border: #198754 solid 3px;
    font-size: 1.2em;
    text-align: left;
}

#double-leam section>p {
    width: fit-content;
    margin: 0 auto;
}

@media (max-width:1800px) and (min-width:1440px) {
    #double-leam section>div {
        font-size: 1.5em;
    }
}

@media (max-width:992px) {
    #double-leam section>div {
        width: 100%;
    }
}

@media (max-width:768px) {
    #double-leam h6 {
        font-size: 1.2em;
        line-height: 1.4;
    }

    #double-leam h6 span {
        font-size: 0.8em;
    }


}