@charset "utf-8";

/**** 共通 */

/** フォント */
/*@import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css);*/
@import url(../notosansjp/notosansjp.css);
body {
    font-family: 'Noto Sans JP', sans-serif;
}

/** フォントサイズ:pcはピクセル単位をhtmlルートのフォントの大きさを1remとする単位(size62.5%=10px、1px=0.1rem)で表す。spは62.5%固定でrem使用可。 */
html {
    font-size:62.5%;
}
body {
    font-size:1.6rem;
}

@media all and (-ms-high-contrast:none) { /** ie11 */
    wbr {
        display:inline-block;   /** wbrでうまく改行されない */
    }
}

a, a:hover, a:active, a:visited {
    color:inherit;
    text-decoration: none;
}

/** 丸矢右 */
.app-circle-chevron-right { /** 丸 */
    display:inline-block;
    position:relative;
    border-radius:50%;

    /** サイズ */
    width:2.6rem;
    height:2.6rem;

    /** 色 */
    background-color:black;
}
.app-circle-chevron-right::after {  /** 矢印 */
    content:'';
    display:block;
    width:33%;
    height:33%;
    position:absolute;
    border-style:solid;
    transform:translate(100%, 100%) rotate(-45deg);
    top:0px;

    /** サイズ */
    left:-0.2rem;
    border-width:0 0.2rem 0.2rem 0;
    
    /** 色 */
    border-color:white;
}

/** 下線マーカー */
.app-marker {
    background-image: linear-gradient(transparent 60%, #fff591 60%);
}

@media (min-width:992px) { /** pc */
    body > header, main, body > footer {
        max-width:120.0rem;
        margin-left:auto;
        margin-right:auto;
        display:block;  /** for ie11 */
    }

    /** トップへ戻るボタンは非表示かつ高さなし */
    .app-to-top {
        display:none;
        width:0;
        height:0;
    }

    /** pcで隠す */
    .app-hide-pc {
        display:none !important;
    }
}
@media (max-width:991.98px) { /** sp */
    /** トップへ戻るボタン */
    .app-to-top {
        display:none;   /** デフォルト非表示 */
        width:3.0rem;
        height:3.0rem;
        position:fixed;
        bottom:1.5rem;
        right:1.0rem;
        z-index:3;
        opacity:0.95;
        background-color:#7fc34a;
        border-radius:50%;
    }
    .app-to-top::after {    /** 矢印 */
        content:'';
        width:0.9rem;
        height:0.9rem;
        border-color:white;
        border-style:solid;
        position:absolute;
        top:1.2rem;
        left:1.1rem;
        border-width:0 0 0.2rem 0.2rem;
        transform:rotate(135deg);
    }

    /** spで隠す */
    .app-hide-sp {
        display:none !important;
    }
}

/**** ヘッダ */
body > header {
    border-style:solid;
    border-color:#008a2b;
    border-width:0;
}
body > header ul {
    list-style:none;
    padding:0;
    margin:0;
}
body > header li {
    margin:0;
    padding:0;
}


/*** ブランドロゴ */
.app-brand h2, .app-brand ul, .app-brand li {
    display: inline-block;
}
.app-logo {
    text-indent:100%;
    overflow:hidden;
    white-space: nowrap;
    margin:0;
    position:relative;
    display:inline-flex !important; /* for ie11 */
}
.app-logo img {
    position:absolute;
    top:0.2rem;
    left:0.2rem;
    height:calc(100% - 0.2rem);
}

/** タイトルとサイトマップ */
.app-title {
    margin:0;
    overflow:hidden;
    white-space: nowrap;
    background-image: url(../image/anzeninfo_SP_title.png);
    background-repeat: no-repeat;
    background-size: contain;
    display:inline-flex; /* for ie11 */
}
.app-map ul, .app-map li {
    display:inline-block;
}
.app-map li {
    position:relative;
}
.app-map li::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-color: transparent transparent transparent #008b2a;
}

@media (min-width:992px) { /** pc */
    body > header {
        border-top-width:0.6rem;
    }
    .app-brand {
        position:relative;
    }
    .app-logo {
        font-size:3.2rem;
    }
    .app-title-map {
        position:relative;
    }
    .app-title {
        margin-left:calc(50% - 40.2rem - 3.0rem);
        width:40.2rem;
        height:7.4rem;
        text-indent:40.2rem;
        background-color:white;
    }
    .app-map {
        position:absolute;
        right:0;
        bottom:0;
        font-size:1.6rem;
    }
    .app-map li {
        margin-left:3.2rem;
    }
    .app-map li::before {
        top:0.6rem;
        left:-1.4rem;
        border-width:0.6rem;
    }
    .app-map a {
        font-weight:bolder;
    }
    .app-search {
        display:inline-block;
    }
    .app-map:after {
        content:'';
        display:block;
        clear:both;
    }
    .app-search {
        margin:0 0.4rem 0 0.8rem;
        font-size:1.6rem;
    }
    .app-search input {
        height:2.8rem;
        width:16.0rem;
    }
    .app-search button {
        font-size:1.4rem;
        padding:0.2rem 1.0rem;
        line-height:2.2rem;
        border-radius:0.4rem;
        margin:0 0 0 0.4rem;
        border-width:0.1rem;
        width:5.4rem;
    }
}
@media (max-width:1054.98px) { /** pc タイトルロゴずれ */
    .app-title {
        margin-left:calc(100% - 40.2rem - 55.0rem);
    }
}
@media all and (-ms-high-contrast:none) { /** ie11 */
    .app-search button { /** ボタンがずれる */
        padding:0.6rem 1.0rem 0 1.0rem;
    }
}
@media (max-width:991.98px) { /** sp */
    body > header {
        border-top-width:10px;
    }
    .app-logo {
        font-size:24px;
    }
    .app-title-map {
        position:relative;
    }
    .app-title {
        text-indent:100vw;
        width:calc(100vw - 126px); /** 6 + 8 + 112 */
        height:14.0417vw; /** 74px / width vw(8 + 402 + 5 + 112) */
        margin:5px 6px 5px 8px;
    }
    .app-to-home {
        position:absolute;
        right:12px;
        bottom:44px;
    }
    .app-to-inquiry {
        position:absolute;
        top:-30px;
        right:6px;
    }
    .app-search {
        margin-right:12px;
        margin-left:12px;
    }
    .app-search input {
        border-radius:4px;
        border-width:1px;
        width:calc(100% - 8px - 72px);
    }
    .app-search button {
        width:72px;
        border-radius:4px;
        margin:0 0 0 8px;
        border-width:1px;
    }
    _::-webkit-full-page-media, _:future, :root .app-search button {    /** ios safari */
        height:32px;
    }
    .app-map li {
        font-size:14px;
        margin-left:20px;
    }
    .app-map li::before {
        top:5px;
        left:-12px;
        border-width: 5px;
    }
    .app-map .app-to-home li {
        background-color:#008a2b;
        padding-left:34px;
        padding-right:16px;
        border-radius:18px;
        color:white;
        font-size:14px;
        line-height:34px;
        font-weight: bolder;
    }
    .app-map .app-to-home li::before {
        top: 8px;
        left: 10px;

        width: 18px;
        height: 18px;
        border-style:none;
        content:'';
        background-repeat: no-repeat;
        background-image:url(../image/anzeninfo_SP_homeicon.png);
        background-size:contain;
        display:inline-block;
    }
}

/*** メニュー */
.app-menu > li > section {
    display: none;
}
.app-menu > li.active > section {
    display: block;
    padding:2.0rem;
}
nav > .app-menu section a {
    color:white;
}
nav > .app-menu {
    width:100%;
    display:flex;
    flex-wrap:wrap;
    max-width:100%;
    margin:0;
    padding:0;
    justify-content: space-between;
}
nav > .app-menu > li {
    max-width:100%;
    flex: 0 0 auto;
}
nav > .app-menu > li {
    padding:0;
}
nav > .app-menu h2 {
    padding:0;
    line-height:4.8rem;
    margin:0;
}
nav > .app-menu h2:hover {
    cursor:pointer;
}
nav > .app-menu > li > h2 { /** 薄い線と三角はメニュー項目に中心をおく */
    position:relative;
}

/** 薄い線 */
nav > .app-menu > li > h2::before {
    position:absolute;
    content:'';
    display:none;
}
nav > .app-menu > li.active > h2::before,
.app-in-menu-statistics nav > .app-menu > li.app-statistics > h2::before,
.app-in-menu-case nav > .app-menu > li.app-case > h2::before,
.app-in-menu-teaching nav > .app-menu > li.app-teaching > h2::before,
.app-in-menu-chemical nav > .app-menu > li.app-chemical > h2::before
{
    display:block;
}
nav > .app-menu > li.app-statistics > h2::before {
    background-color: #9fd9b0;
}
nav > .app-menu > li.app-case > h2::before {
    background-color: #afd3f3;
}
nav > .app-menu > li.app-teaching > h2::before {
    background-color: #f5b8b5;
}
nav > .app-menu > li.app-chemical > h2::before {
    background-color: #cbc4e3;
}

/** サブメニュー背景 */
nav > .app-menu > li.active.app-statistics > section {
    background-color:#008a2b;
    opacity:0.95;
}
nav > .app-menu > li.active.app-case > section {
    background-color:#3790e2;
    opacity:0.95;
}
nav > .app-menu > li.active.app-teaching > section {
    background-color:#e75047;
    opacity:0.95;
}
nav > .app-menu > li.active.app-chemical > section {
    background-color:#9282c3;
    opacity:0.95;
}

nav > .app-menu > li > section li {
    padding:0.5rem 0.5rem 0.5rem 2.0rem;
    border-style:dashed;
    border-color:white;
    border-width:0 0 0.1rem 0;
}
nav > .app-menu > li > section li::before { /** リストアイテムの丸 */
    content:'';
    position:absolute;
    border-color:white;
    border-style:solid;
    border-radius:50%;
    border-width:0.4rem;
    margin-left:-1.5rem;
    margin-top:0.75rem;
}

nav > .app-menu > li > section li a {
    text-decoration: none;
}

/** 各種教材・ツールのサブメニュー */
nav > .app-menu .app-teaching section h3 {
    width:100%;
    margin-top:0.3rem;
    margin-bottom:0.6rem;
    padding:0.8rem 0;
    font-size:1.8rem;
    color:white;
    font-weight:bolder;
    border-style:solid;
    border-color:white;
    border-width:0 0 0.1rem 0;
}
nav > .app-menu .app-teaching section h4 {
    color:black;
    background-color:#fff5f6;
    border-radius:0.3rem;
    font-size:1.4rem;
    font-weight:normal;
    word-break:keep-all;
    text-align: center;
}

@media (min-width:992px) { /** pc */
    nav {
        box-shadow: 0 1.6rem 1.6rem -1.2rem rgba(0, 0, 0, 0.1);
        position: relative;
        z-index:2;
    }
    nav > .app-menu {
        height:calc(4.2rem + 1.8rem * 2);
        max-width:100.0rem;
        margin-left:auto;
        margin-right:auto;
        position:relative;  /** サブメニューの位置対策 */
    }
    nav > .app-menu > li {
        width:auto;
    }
    nav > .app-menu > li > img {
        position:absolute;
        width:4.0rem;
        height:4.0rem;
        top:calc(50% - 3.6rem / 2);
        margin-left:4.0rem;
    }
    nav > .app-menu > li > h2 {
        padding-left:9.1rem;    /** 40 + 36 + 15 */
        padding-right:4.3rem;
        height:4.2rem;
        border-style:solid;
        border-color:#e3e3e3;
        border-width:0 0 0 0.1rem;
        margin-top:1.8rem;
        font-size:1.8rem;
        font-weight: bolder;
    }
    nav > .app-menu > li:last-of-type h2 {
        border-width:0 0.1rem 0 0.1rem;
    }
    nav > .app-menu > li > h2::before { /** 薄い線 */
        bottom:-1.8rem;
        left:10%;
        width:80%;
        height:0.8rem;
    }
    nav > .app-menu > li.active > h2::after { /** 三角 */
        position:absolute;
        content:'';
        bottom:-1.9rem; /** -(18px * 2 + 1) +1はie11用 */
        left:calc(50% - 0.8rem);
        width:1.2rem;
        height:1.2rem;
        border-style:solid;
        border-width:0 0.8rem 1.3rem 0.8rem;
    }
    nav > .app-menu > li.active > section {
        position:absolute;
        width:100%;
        top:calc(4.2rem + 1.8rem * 2);
        left:0;
        border-bottom-right-radius:1.5rem;
        border-bottom-left-radius:1.5rem;
        z-index:2;
    }

    nav > .app-menu > li.active.app-statistics > h2::after {
        border-color: transparent transparent #008a2b transparent;
        opacity:0.95;
    }
    nav > .app-menu > li.active.app-case > h2::after {
        border-color: transparent transparent #3790e2 transparent;
        opacity:0.95;
    }
    nav > .app-menu > li.active.app-teaching > h2::after {
        border-color: transparent transparent #e75047 transparent;
        opacity:0.95;
    }
    nav > .app-menu > li.active.app-chemical > h2::after {
        border-color: transparent transparent #9282c3 transparent;
        opacity:0.95;
    }
    nav > .app-menu > li > section > ul {
        display:flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    nav > .app-menu > li > section > ul::after {
        content:'';
        display:block;
        width:30%;
    }
    nav > .app-menu > li.app-teaching > section > ul {
        display:block;
        flex-wrap: inherit;
        justify-content: inherit;
    }
    nav > .app-menu > li.app-teaching > section > ul::after {
        display:none;
    }

    nav > .app-menu > li > section > ul > li {
        padding:1.0rem 0.5rem 1.0rem 2.0rem;
        width:30%;
    }
    nav > .app-menu > li.app-teaching > section > ul > li {
        padding:0.5rem 0.5rem 0.5rem 2.0rem;
        width:auto;
        min-width:20%;
    }

    nav > .app-menu > li > section li {
        display:inline-block;
    }

    nav > .app-menu > li.app-teaching > section li {
        border-style:none;
    }
    nav > .app-menu > li.app-teaching > section li a {
        text-decoration: underline;
    }
    nav > .app-menu .app-teaching.active section {
        display:flex;
        flex-wrap:wrap;
    }
    nav > .app-menu .app-teaching section h4 {
        padding:0.6rem 1.5rem;
        width:10.2rem;
        margin-top:1.0rem;
        margin-bottom:1.0rem;
        margin-right:1.0rem;
        display:flex;
        justify-content: center;
        align-items: center;
    }
    nav > .app-menu .app-teaching section ul {
        width:calc(100% - 10.2rem - 1.0rem);
        margin-top:1.0rem;
        margin-bottom:1.0rem;
    }
    nav > .app-menu .app-teaching .app-other-industry + ul {
        display:inline-flex;
        flex-wrap:wrap;
    }
}
@media (min-width:992px) and (-ms-high-contrast:none) { /** pc and ie11 */
    nav > .app-menu > li.active > h2::after {
        left:50%;
    }
}
@media (max-width:991.98px) { /** sp */
    nav > .app-menu > li > h2::before { /** 薄い線 */
        bottom:0;
        width:70%;
        height:4px;
        left:0;
    }
    nav > .app-menu > li {
        width:100%;
        background-color:white;
        position:relative;
    }

    nav > .app-menu > li > img {
        position:absolute;
        z-index:1;
        width:30px;
        height:30px;
        margin-top:9px;
        margin-left:19px;
    }
    nav > .app-menu {
        height:calc(48px * 4);
    }
    nav > .app-menu > li {
        z-index:2;
        background-color:transparent;
    }
    nav > .app-menu > li > h2 {
        background-color:white;
        height:48px;
        border-style:solid;
        border-color:#d8d8d8;
        border-width: 0 0 1px 0;
        font-size:18px;
        padding-left:64px;
        font-weight: bolder;
    }
    nav > .app-menu > li:last-of-type {
        box-shadow: 0 16px 16px -6px rgba(0, 0, 0, 0.1);
    }
    /** 開閉矢印 */
    nav > .app-menu > li::after {
        content:'';
        width:9px;
        height:9px;
        position:absolute;
        border-color:#008b32;
        border-style:solid;
        border-width:0 0 2px 2px;
        transform:rotate(-45deg);
        top:18px;
        right:18px;
    }
    nav > .app-menu > li.active::after {
        transform:rotate(135deg);
        top:22px;
    }
    nav > .app-menu .app-teaching section h3 {
        margin-top:18px;
    }
    nav > .app-menu .app-teaching section h3:first-of-type {
        margin-top:8px;
    }
    nav > .app-menu .app-teaching section h4 {
        margin-top:16px;
        padding:6px 10px;
        width:128px;
    }

    nav > .app-menu > li.active > section {
        padding:5px 20px;
    }
    nav > .app-menu > li > section li {
        padding:10px 5px 10px 20px;
    }
    nav > .app-menu > li > section ul:last-of-type li:last-of-type {
        border-style:none;
    }
}

/*** フッタ */
body > footer {
    display:flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height:4.4rem;
}
@media (min-width:992px) { /** pc */
    body > footer {
        border-style:solid;
        border-color:#e9f6d8;
        border-width:0 0 0.3rem 0;
    }
}
@media (max-width:991.98px) { /** sp */
    body > footer {
        font-size:12px;
    }
}