:root {
    --color_1:#aaa2ee;
    --color_2:#5E35B1;
    --bg-color:#e3f2fd;
}
body{
    background-color: var(--bg-color);
    margin: 0px;
}

.header{
    font-weight: bold;
    color: var(--color_2);
    text-align: center;
    padding: 10px 0%;
    margin: 20px 5%;
    border: solid 5px var(--color_1);
    border-radius: 10px;
}
.header small{
    font-size: 50%;
    margin-left: 10px;
}

.link :hover{
    color: var(--color_2);
    text-decoration: underline;
}
.link a{
    color: black;

}

.footer{
    padding: 20px 0px;;
    background-color: var(--color_1);
    text-align: center;
}
.footer address{
    margin-top: 5px;
}

.pre-box-mainimg{
    background-color: gray;
    text-align: center;
    padding: 350px 0px;
}
.page-top{
    margin-left: 5%;
}
.top-img{
    margin-left: 5%;
    width: 25%;
    height: auto;
}
.main-area{
    margin: 0 10%;
}
.main-area h2{
    border-bottom: dotted 3px var(--color_2);
    padding-left: 20px;
    padding-bottom: 2px;
    padding-top: 10px;
    color: var(--color_2);
}
.section .section-contents{
    margin: 0 10px;
}

/* demo */
.se-demopage .section-contents{
    display: grid;
    grid-template-columns: 1fr 3fr;
    height: auto;
    position: relative;
}
#demo_link{
    text-align: center;
    vertical-align:middle;
    font-size: 150%;
    border: solid 5px var(--color_1);
    border-radius: 10px;
    color: var(--color_2);
    /* 中心配置関連 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* マウス関連 */
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    cursor:pointer;
}
#demo_text{
    margin-left: 5%;
}
.se-demopage dt{
    font-weight: bold;
    margin: 5px;
}
.se-demopage dd{
    padding-left: 5px;
}

/* func */
h3{
    color: var(--color_2);
    text-decoration: underline dotted var(--color_2) 3px;
}
.se-func dt{
    font-weight: bold;
    margin: 5px;
    margin-top: 15px;
}
.se-func dd{
    margin: 5px;
}
.se-func .func-card{
    display: grid;
    grid-template-columns: 1fr 3fr;
}
.func-card img{
    width: 100%;
    height: auto;
}
.func-card dl{
    padding-left: 30px;
}
.se-func small{
    margin-left: 20px;
    font-weight: normal;
}
.se-func br{
    display: none;
}

/* future */
.se-future small{
    margin-left: 20px;
    font-weight: normal;
}
.se-future br{
    display: none;
}

/* bad */
.se-bad small{
    margin-left: 20px;
    font-weight: normal;
}
.se-bad br{
    display: none;
}

/* how to */
.se-howto .stic table{
    display: inline;
}
.se-howto .stic td{
    text-align: center;
    border: 3px black solid;
    font-weight: bold;
    font-size: large;
}
.se-howto .stic th{
    border-bottom: 2px black solid;
}
.se-howto .stic hr{
    display: none;
}

/* ee */
.se-ee .ee-card{
    display: grid;
    grid-template-columns: 1fr 3fr;
}
.ee-card img{
    width: 100%;
    height: auto;
}
.ee-card p{
    padding-left: 30px;
}

/* --------- モバイル向け表示 ----------- */
@media screen and (max-width: 980px){
    .main-area{
        margin: 0 10px;
    }
    .mobile-non{
        display: none;
    }
    .top-img{
        width: 80%;
        height: auto;
    }
    .se-demopage .section-contents{
        display: grid;
        grid-template-columns: 1fr;
    }
    #demo_link{
        padding: 20px 0;
        font-size: 300%;
    }
    .se-func h3{
        padding-top: 20px;
    }
    .se-func h4{
        padding-top: 20px;
    }
    .se-func .func-card{
        display: grid;
        grid-template-columns: 1fr;
    }
    .se-func br{
        display: inline;
    }
    .se-future br{
        display: inline;
    }
    .se-bad br{
        display: inline;
    }
    .se-howto ol{
        padding-left: 5em;
    }
    .se-howto .stic{
        font-size: 150%;
    }
    .se-howto .stic td{
        font-size: 170%;
    }
    .se-ee .ee-card{
        display: grid;
        grid-template-columns: 1fr;
    }
    .ee-card p{
        padding-left: 5px;
    }
}