@charset "utf-8";
/* CSS Document */

.sm {
    display: inline-block;
}

#contents-container {
    background-color: #e0dfcf;    
}

header {
    text-align: right;
    padding-top: 10px;
    padding-right: 10px;
    font-size: 14px;
    font-weight: 600;
    line-height: 120%;
    background-color: #fff;
}

header .back {
    position: absolute;
    display: inline-block;
    top: 12px;
    left: 10px;
    font-size: 20px;
}

header .back-text {
    position: absolute;
    display: inline-block;
    top: 0px;
    font-size: 12px;
}

header .back a {
    color: #000;
}
header .back a:hover {
    color: #f00;
}

header .lang {
    position: absolute;
    top: 6px;
    left: 80px;
}

header .lang a {
    display: inline-block;
    padding: 3px 10px;
    font-size: 16px;
    line-height: 130%;
    color: #000;
    border: 2px solid #000;    
}

header .lang a:hover {
    color: #f00;
    border-color: #f00;
}

main {
    position: relative;
    padding-left: 5px;
    padding-right: 5px;
}

.logo {
    position: absolute;
    top: -10px;
    right: 5px;
    max-width: 25px;
}
.header-title {
    background-color: #037aae;
    border-bottom: 5px solid #1fb8df;
}


.header-title .code {
    display: inline-block;
    margin-left: 10px;
    padding: 3px 15px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background-color: #1799cb;
    border: 2px solid #148bb0;
    border-radius: 15px;
    box-shadow: 3px 3px 0px 0px #000;
    
}
.header-title h1 {
    display: inline-block;
    margin-left: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    line-height: 130%;
    font-size: 18px;
    color: #fff;
    vertical-align: middle;
}

.title-block {
    display: inline-block;
    margin-top: 10px;
    border: 3px solid #37a089;
    border-radius: 8px;
    background: linear-gradient(to right, #aeddef, #eaf6fd);
    box-shadow: 3px 5px 5px 0px #aaa;
}

.title-block h2 {
    display: inline-block;
    padding: 0px 5px;
    font-size: 18px;
}

.section-margin01 {
    margin-top: 10px;
}


.chemical-01-block {
    margin-top: 20px;
}


.chemical-01-article-box {
    margin-top: -8px;
    margin-left: 10px;
    padding: 12px 10px 5px 10px;
    font-size: 14px;
    border: 2px solid #37a089;
    border-radius: 8px;
    background-color: #fff;
}

.chemical-01-text-indent {
    text-indent: -1em;
    padding-left: 1em;
}

.chemical-01-point01 {
    color: #47aad1;
}

.chemical-01-point02 {
    color: #8fc4de;
}

.text-bold {
    font-weight: bold;
}

.aside-slide {
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    max-width: 400px;
}

.aside-slide img {
    max-width: 400px;
}

.aside-slide .comment {
    font-size: 14px;
}

footer {
    margin-top: 30px;
    padding-right: 10px;
    border-top: 1px solid #000;
}

.copyright {
    font-size: 12px;
    text-align: right;
}

@media (min-width: 600px) {

    .sm {
        display: none;
    }

    header {
        padding-top: 20px;
        padding-right: 20px;
        font-size: 16px;
        line-height: 150%;
    }

    header .back {
        top: 8px;
        left: 15px;
        font-size: 24px;
    }
    header .lang {
        position: absolute;
        top: 5px;
        left: 120px;
    }

    header .lang a {
        display: inline-block;
        padding: 3px 15px;
        font-size: 16px;
        line-height: 130%;
        color: #000;
        border: 2px solid #000;    
    }

    main {
        position: inherit;
        max-width: 650px;
        margin: 0px auto;
    }

    .logo {
        position: absolute;
        top: 95px;
        right: 10px;
        max-width: 30px;
    }

    .header-title .code {
        padding: 0px 15px;
        font-size: 20px;
    }
    
    .header-title h1 {
        font-size: 24px;
    }
    
    .chemical-01-block {
        margin-top: 20px;
    }
    
    .chemical-01-article-box {
        font-size: 16px;
    }
    
}

@media (min-width: 800px) {
    .header-title h1 {
        font-size: 32px;
    }
    
    .logo {
        top: 110px;
        max-width: 40px;
    }
}


@media (min-width: 1050px) {
    
    main {
        max-width: 1050px;
        padding-left: 10px;
        padding-right: 10px;
        display: flex;
        justify-content: space-between;
    }
    
    .logo {
        max-width: 45px;
    }
    
    .article-block {
        max-width: 600px;
    }
    
    aside {
        margin-top: 60px;
        max-width: 400px;
    }
}
