@charset "utf-8";

/* header: ヘッダー */
/* header {
    height: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 8px;
    background-color: rgba(255, 255, 255, 1);
    text-align: left;
}
header .header_left {
    display: flex;
    justify-content: space-between;
    width: 100%;
}
header .header_right {
} 
header img {
    display: block;
}
header h1 {
}
header .header_left a {
    display: block;
    width: fit-content;
}
header h1 .logo_image {
    width: 80px;
    height: auto;
}
*/
header {
    display: block;
    background-color: rgba(255, 255, 255, 1);
    padding: unset;
}
header .header_upper {
    height: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 8px;
    background-color: rgba(255, 255, 255, 1);
    text-align: left;
}
header .header_upper .header_left {
    display: flex;
    justify-content: space-between;
    width: 100%;
}
header .header_upper .header_right {
}
header .header_upper img {
    display: block;
    /* margin: auto; */
}
header .header_upper h1 {
}
header .header_upper .header_left a {
    display: block;
    width: fit-content;
}
header .header_upper h1 .logo_image {
    width: 80px;
    height: auto;
}
header .header_lower {
    background-color: rgba(255, 255, 255, 1);
    color: rgba(0, 0, 0, 1);
    /* margin: auto 7%;
    margin-right: 0; */
}
.header_menu {
    display: flex;
    justify-content: flex-end;
}
.header_menu .logout_image,
.header_menu .notice_image {
    width: 32px;
    height: auto;
}
.header_menu .logout_button,
.header_menu .notice_button {
    cursor: pointer;
}
.header_menu .logout_button:hover,
.header_menu .notice_button:hover {
    filter: invert(50%);
}
.header_menu_block {
    display: block;
    margin: auto;
    margin-right: 16px;
}


/* notification: 通知 */
.notification {
    position: fixed;
    top: 0;
    right: -100%; /* 画面外に隠す */
    width: 25%;
    height: 100vh;
    background: rgba(255, 255, 255, 1);
    transition: right 0.4s ease;
    z-index: 5; /* 通知を他の要素の上に表示する */
}
.notification_content {
    padding: 20px;
}
.close_button {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    z-index: 5;
}
.notification_content p {
    color: rgba(55, 55, 155, 1);
    font-weight: 600;
    font-size: 18px;
    display: flex;
    justify-content: center;
}
.notification_content dl {
    padding-top: 20px;
}
.notication_block {
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(117, 117, 117, 0.5);
    width: 90%;
}
.notification_content dt img {
    margin-right: 2px; 
}
.notication_block_title{
    color: rgba(117, 117, 117, 1);
    font-size: 18px;
    font-weight: 600;
    padding-left: 2%;
    padding-bottom: 5px;
}
.notication_block ul li{
    padding-left: 30px;
}
.notication_block .level_2 {
    color: rgba(255, 77, 0, 1);
}


/* hamburger: ハンバーガーメニュー */
.hamburger {
    display : block;
    position: relative;
    z-index : 999;
    width : 40px;
    height: 20px;
    cursor: pointer;
    align-items: flex-start;
}
.hamburger .hamburger_bar {
    display: block;
    position: absolute;
    width: 30px;
    height: 2px ;
    right: 8px;
    background: rgba(0, 0, 0, 1);
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}
.hamburger .hamburger_bar:nth-child(1) {
    top: 0;
}
.hamburger .hamburger_bar:nth-child(2) {
    top: 10px;
}
.hamburger .hamburger_bar:nth-child(3) {
    top: 20px;
}
.hamburger.active {
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    -webkit-transition-delay: 0.6s;
    -o-transition-delay: 0.6s;
    transition-delay: 0.6s;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}
.hamburger.active .hamburger_bar:nth-child(2) {
    width: 0px;
}
.hamburger.active .hamburger_bar:nth-child(1),
.hamburger.active .hamburger_bar:nth-child(3) {
    -webkit-transition-delay: 0.3s;
    -o-transition-delay: 0.3s;
    transition-delay: 0.3s;
}
.hamburger.active .hamburger_bar:nth-child(1) {
    -webkit-transform: translateY(14px);
    -ms-transform: translateY(14px);
    -o-transform: translateY(14px);
    transform: translateY(14px);
}
.hamburger.active .hamburger_bar:nth-child(3) {
    -webkit-transform: translateY(-6px) rotate(90deg);
    -ms-transform: translateY(-6px) rotate(90deg);
    -o-transform: translateY(-6px) rotate(90deg);
    transform: translateY(-6px) rotate(90deg);
}


/* nav: ナビゲーション */
nav.global_menu {
    position: fixed;
    z-index : 999;
    top  : 48px;
    /* left : 0; */
    right: 0;
    color: rgba(0, 0, 0, 1);
    background: rgba(255, 255, 255, 1);
    transform: translateX(100%);
    transition: all .9s;
    /* width: 100%; */
    width: 30%;
    height: 100vh;
    margin: 0 auto;
    padding: 0 24px;
}
nav.global_menu ul li {
    list-style-type: none;
    padding: 0 24px 4px;
    width: 100%;
}
nav.global_menu ul li:last-child {
    padding-bottom: 16px;
}
nav.global_menu ul li a {
    display: block;
    text-decoration :none;
}
nav.global_menu .toggle_title a::after {
    content: "";
    border: 0;
    border-top: solid 1px #282837;
    border-right: solid 1px #282837;
    display: inline-block;
    z-index: 999;
    transform: translateY(0%) rotate(45deg);
    height: 7.71px;
    width: 7.71px;
    position: absolute;
    right: 10px;
    margin: 10px;
}
nav.global_menu ul li a::after {
    content: "";
    border: 0;
    border-top: solid 1px #282837;
    border-right: solid 1px #282837;
    display: inline-block;
    z-index: 999;
    transform: translateY(0%) rotate(45deg);
    height: 7.71px;
    width: 7.71px;
    position: absolute;
    right: 32px;
    margin: 10px;
}


/* toggle_contents: アコーディオンメニュー */
.toggle_contents {
	border-bottom: 1px solid rgba(217, 217, 217, 1);
}
.toggle_contents:first-child {
}
.toggle_title {
	position: relative;
	/* padding: 5px 2%; */
    padding: 8px 0;
	cursor: pointer;
	font-size: 16px;
    display: flex;
    justify-content: space-between;
    color: rgba(40, 40, 55, 1);
}
.toggle_title a {
	text-decoration: none;
    color: rgba(40, 40, 55, 1);
}
.toggle_contents dd ul li a {
    color: rgba(102, 102, 102, 1);
}
.toggle_contents dd ul li a:hover,
.toggle_contents dt a:hover {
    color: rgba(0, 102, 192, 1);
}
.toggle_contents dd {
	display: none;
}
.toggle_contents:last-child .toggle_button {
    opacity: 0; /* 透明 */
}
.toggle_button:before, 
.toggle_button:after {
    content: "";
    display: block;
    width: 12px;
    height: 1px;
    border-radius: 1px;
    background: #202020;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}
.toggle_button:after {
    background: #202020;
    transform: translateY(-50%) rotate(90deg);
    transition: 0.5s;
}
.toggle_button.open:after {
    transform: translateY(-50%) rotate(180deg);
    transition: 0.5s;
}

/* このクラスを、jQueryで付与・削除する */
nav.global_menu.active {
    transform: translateY(0%);
}


/* ===============================================================
    knowledge
    =============================================================== */
.header_knowledge {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 1);
    color: rgba(0, 0, 0, 1);
    margin: auto 7%;
    margin-right: 0;
}
.header_knowledge .function {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 4px;
}
.header_knowledge .function img {
    width: 32px;
    margin-top: -3px;
}
.header_knowledge .function p {
    font-size: 20px;
    font-weight: bold;
    margin-left: 8px;
}
.header_knowledge nav {
    margin-right: 8px;
}
.header_knowledge nav ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.header_knowledge nav ul li {
    /* padding: 16px; */
    background-color: rgba(255, 255, 255, 1);
    vertical-align: middle;
    text-align: left;
    /* margin: 16px 16px 16px 32px; */
    /* margin: 0 32px; */
    /* border: 1px solid rgba(5, 194, 209, 1); */
    /* border-radius: 8px; */
}
.header_knowledge nav ul li:hover {
    opacity: 70%;
}
.header_knowledge nav ul li.selected {
    /* border-bottom: 4px solid rgba(23, 90 ,147, 1);
    box-sizing: border-box; */
    /* outline: 4px solid rgba(23, 90 ,147, 1);
    outline-offset: -10px; */
    background: linear-gradient(transparent 88%, rgba(23, 90 ,147, 1) 0%);
}
.header_knowledge nav ul li.selected a {
    color: rgba(23, 90 ,147, 1);
}
.header_knowledge nav ul li a {
    display: block;
    color: rgba(0, 0, 0, 1);
    height: 100%;
    width: 100%;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 16px;
}
.header_knowledge nav ul li a img {
    vertical-align: middle;
    margin-top: -3px;
    width: 28px;
    height: auto;
}
.header_knowledge nav ul li.selected a img {
    filter: brightness(0) saturate(100%) invert(26%) sepia(98%) saturate(928%) hue-rotate(181deg) brightness(87%) contrast(89%);
}
.header_knowledge nav ul li a svg {
    vertical-align: middle;
    /* margin-top: -3px; */
    width: 28px;
    height: 28px;
}
.header_knowledge nav ul li.selected a svg {
    stroke: rgba(23, 90 ,147, 1);
}
.header_knowledge nav ul li a span {
    font-weight: bold;
}


/* ===============================================================
    responsive
    =============================================================== */
@media screen and (max-width: 959px) { /* device tablet */
    nav.global_menu ul li a {
        padding: 8px 0;
    }
    nav.global_menu ul li:last-child  {
        padding-bottom: 24px;
    }
    .notification {
        width: 100%;
    }
    nav.global_menu {
        width: 100%;
    }

    /* ===============================================================
        knowledge
        =============================================================== */
    .header_knowledge nav ul li a {
        text-align: center;
    }
    .header_knowledge nav ul li a span {
        display: block;
        font-size: 0.6rem;
    }
}
@media screen and (max-width: 559px) { /* device smartphone */
    nav.global_menu ul li a {
        padding: 8px 0;
    }
    nav.global_menu ul li:last-child  {
        padding-bottom: 24px;
    }
    .notification {
        width: 100%;
    }
    nav.global_menu {
        width: 100%;
    }

    /* ===============================================================
        knowledge
        =============================================================== */
    .header_knowledge {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: auto;
    }
    .header_knowledge nav {
        position: fixed;
        display: flex;
        width: 100%;
        bottom: 0;
        background: #fff;
        box-shadow: 0px 0 10px 0 rgba(0, 0, 0, 0.1);
        /* border-radius: 1rem 1rem 0 0; */
        z-index: 1;
        margin-right: unset;
    }
    .header_knowledge nav ul {
        justify-content: center;
        width: 100%;
    }
    /* .header_knowledge nav ul li {
        width: 25%;
    } */
    .header_knowledge nav ul .u_width_33per {
        width: 33%;
    }
    .header_knowledge nav ul .u_width_25per {
        width: 25%;
    }
    .header_knowledge nav ul li a {
        text-align: center;
    }
    .header_knowledge nav ul li a span {
        display: block;
        font-size: 0.55rem;
    }
}