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

.sm {
    display: inline-block;
}

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

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: -15px;
    right: 5px;
    max-width: 25px;
}
.header-title {
    background-color: #8C6C4C;
    border-bottom: 5px solid #1fb8df;
}


.header-title .code {
    display: inline-block;
    margin-left: 10px;
    padding: 3px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background-color: #AC784F;
    border: 2px solid #9A6C46;
    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: 20px;
    margin-left: auto;
    margin-right: auto;
    width: 17em;
    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;
}

.article-02-block {
    margin-top: -15px;
}

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


.certification-01-article-box {
    margin-top: -8px;
    padding: 12px 10px 5px 10px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    border: 3px solid #37a089;
    border-radius: 8px;
    background-color: #fff;
}

.certification-02-block {
    margin-top: 20px;
}


.certification-02-article-box {
    position: relative;
    padding: 10px 10px 12px 10px;
    font-size: 14px;
    border: 2px solid #bc7841;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 5px 5px 8px 0px #888;
}

.certification-02-text-section {
    padding: 5px;
}

.certification-02-title {
    font-size: 18px;
    font-weight: bold;    
}

.certification-02-url {
    position: absolute;
    bottom: 3px;
    padding: 0px;
    line-height: 120%;
}

.certification-02-url a {
    color: #000;
}
.certification-02-url a:hover {
    color: #f00;
}

.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: 650px) {

    .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 25px;
        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: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .logo {
        max-width: 45px;
    }
    
    .article-01-block {
        max-width: 750px;
        margin: 0 auto;
    }
    
    .article-02-block {
        display: flex;
        
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: stretch;
    }
    .article-02-block::after {
        margin-left: auto;
        margin-right: auto;
        content: "";
        display: block;
        width: 48%;
    }
    
    .certification-02-block {
        margin-top: 40px;
        margin-left: auto;
        margin-right: auto;
        width: 48%;
    }
    .certification-02-article-box {
        height: 95%;
    }
    
    aside {
        margin-top: 60px;
        max-width: 400px;
    }
}
