﻿@media screen  and (max-width:600px) {
	#small-top {
		display: block;	
	}
	#page-name {
		display: block;	
		font-weight: bold;
		font-size: 1em;
		margin: 15px 30px 0px 5px;
	}
	#page-name span {
		font-size: 0.4em;
	}
	
    #openbutton {
        display: block;
    }
    #closebutton {
        display: none;
	}

	#menu-position {
		display: none;
	}
	#menu-box {
		display: none;
		position: absolute;
		z-index: 99999;
	}
	ul#menu-list li{
		display: block;
		text-align: left;
		border-bottom: 1px solid #888888;
	}

	.sub-menu {
		left: -500px;
	}
	
	#breadcrumb {
        display: none;
	}
	article {
		margin: 10px 0px;
	}
	.responsive {
		margin-left: -20px;
	}
	.go-prev {
		margin-top: 300px;
		display: block;
		left: -15px;
		position: fixed;
		cursor: pointer;
	}

	.go-next {
		margin-top: 300px;
		display: block;
		right: -15px;
		position: fixed;
		cursor: pointer;
	}

	.comment-box {
		margin-top: 20px;
		width: 100%;

	}
}

@media screen and (min-width:601px) {
	#small-top {
		display: none;
	}
	#page-name {
		display: none;
		margin-right: 30px;	
	}

	#openbutton {
        display: none;
    }
    #closebutton {
        display: none;
	}
	#menu-box {
		display: block;
		position: relative;
		z-index: 99999;
	}

	#menu-position {
		height: 0px;
	}

	ul#menu-list li{
		display: inline-block;
		margin-top: 3px;
	}
	ul#menu-list li li{
		margin-top: 0px;
		color: #ffffff;
	}
	li#safety {
		display:none;
	}
	#breadcrumb {
        display: block;
	}
	article {
		margin: 10px 10px;
	}
	.responsive {
		margin-left: 0px;
	}
	.go-prev {
		display: none;
	}
	.go-next {
		display: none;
	}

	.pic-row {
		display: flex;
		justify-content: space-between;
	}

	.youtube-row {
		display: flex;
		justify-content: space-around;

	}

	.comment-box {
		width: 80%;
		margin: auto;
		border: 1px dotted #000;
		padding: 8px;
	}

	.footer-setting{
		max-width:1280px;

		margin: 0 auto;

		text-align: center;
		margin-top:150px;	
		position:fixed; 
		bottom:0px; 
		width:100%;
		background-color: #fff;
	}	
}

.page-width{
	max-width:1280px;
	margin: 0 auto;
}

.decon-cat {
	font-size: 1.4em;
}
.decon-qa {
	margin: 2em 0em 0em 0em;
}

.decon-q {
	font-size: 1.3em;
	cursor: pointer;
}

.decon-a {
	display: none;
	margin: 2em 0em 0em 1em;
}

.decon-comment {
	margin: 0.5em 0em 0em 1em;
	font-size: 0.9em;

}
.pic-row img {
	max-width: 90%; 
	padding:3px;
}

#go-prev, #go-next {
	cursor: pointer; 
	color:#777777;
	opacity:0.3;
}

#breadcrumb {
	font-size: smaller;
	margin: 0px 0px 10px 10px;
}

#breadcrumb .w3-button {
	padding: 4px 8px !important;
}

#breadcrumb a:hover {
    background-color: gold;
}

#breadcrumb a {
	text-decoration: none;
	margin: 0px 8px 2px 0px;

}

.contents-box {
	margin: 0px 4px;
} 
.ppe-usage-video {
	display: none;
	clear: both;
}

.youtube {
  position:relative;
  width: 100%;
  max-width: 560px;
}

.youtube::before {
  content: "";
  display: block;
  width: 100%;
  padding-top: 56.25%;
}

.youtube iframe{
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

.longurl{word-break: break-all;}

.article-bar {
	margin:0px 0px 0px 0px;
}

.article-tag {
	margin:20px 0px 10px 0px;
}

li#safety {
	background-color: #3f51b5 !important;
	color:white !important;	
	cursor: pointer !important;
}

li#safety:hover {
	background-color: #87ceeb !important;
	color:white !important;	
}

#page-name span {
	font-size: small; 
	vertical-align: middle;
}

#content {
	padding: 0px !important;
}

#openbutton {
	margin: 13px 13px 0px 0px;
	cursor: pointer;
}

span:only-child#openbutton {
	margin: 12px 5px 0px 0px;
	cursor: pointer;
}

#closebutton {
	margin: 13px 13px 0px 0px;
	cursor: pointer;
}

.sub-menu {
	display: none;
	margin-left: 0px;
	border-right: 1px solid #fff;
}


ul#menu-list li:hover .sub-menu{
	position: absolute;
	display: block;
}

ul#menu-list li.active, ul#menu-list li.active > a{
	background-color: #E91E63 !important;
	color:white !important;
}

ul#menu-list li {
	background-color: #cccccc;
	padding: 15px;
	cursor: default;
}

ul#menu-list li:first-child {
	cursor: pointer;
}

/****************************************************/
ul#menu-list li.active a {
	color:#ffffff !important;
}
ul#menu-list li:not(.active) a:hover {
	background-color:#ffdddd;
}
ul#menu-list li.active a:hover {
	background-color:#ffdddd;
}
/****************************************************/

ul#menu-list li a{
	color: black !important;
	text-decoration: none;
	margin: 10px 2px 3px 2px;
}

a, a:link {
	color: navy;
	z-index: -1;
}

a:hover {
	background-color:#ffdddd;
}

/*
ul#menu-list li:hover .sub-menu ul{
	display: block;
	padding: 0px;
}
*/
ul#menu-list li:hover .sub-menu ul li{
	display: block;
	padding: 15px;
	border-top: 1px solid #ffffff;
	text-align: left;
	margin-bottom: -1px !important;
	cursor: pointer;
}

ul#menu-list li:hover .sub-menu ul li:not(.current){
	background-color: #999999;
	color:white !important;
}

ul#menu-list li:hover .sub-menu ul li:not(.current) a {
	background-color: #999999;
	color:white !important;
}

ul#menu-list li:hover .sub-menu ul li:not(.current) a:hover {
	background-color:#ffdddd;
	color:black !important;
}

ul#menu-list li:hover .sub-menu ul li:hover{
	background-color:#ffdddd;
	color:black !important;
}


ul#menu-list li:hover .sub-menu ul li:hover a{
	color:black !important;
}

ul#menu-list li:hover .sub-menu ul li:not(.current) li a {
	background-color: #999999;
	color:white !important;
}

.sub-menu li.current,.sub-menu li.current a,.sub-menu li.current:hover,.sub-menu li.current a:hover{
	background-color:#ffdddd !important;
	color:black !important;
}

.sub-menu-2 li.current{
	background-color:#ffdddd !important;
	color:black !important;

}

ul#menu-list li.active li.current a,ul#menu-list li.active li:hover a {
	background-color:#ffdddd !important;
	color:black !important;
}

.shinchaku-list div:first-child{
	width: 100px; 
	padding: 0px !important;
	margin-left: 0px !important;
}

.min-link-item {
	background-color:#eeeeee;
	padding: 4px;
	margin: 0px 5px 0px 0px;
}



#flashcontent {
	border: solid 1px #DDD;
	height: 180px;
	margin: 0px auto;
}


.question {
	margin-bottom:6px;
}
.answer {
	display: none;
	padding:16px; 
	margin-bottom:16px
}

sup {
	z-index: -1;
}

#scroll-top{
	position:fixed;
	right: 20px;
	bottom:30px;
	cursor:pointer;
	color:#777777;
	opacity:0.7;
	display:none;
}

/* 独自マークのリスト https://www.webantena.net/css/ol-list-circled-decimal/ */
ul.custum-style {
	position: relative;
    padding: 0
}
ul.custum-style li  {
    list-style: none;
    list-style-position:outside;
    margin:0;
	padding-left:1.25em;
}
ul.custum-style li span {
    position: absolute;
    left:0;
	margin:0;
}

/* カッコ付きのリスト　https://webnetamemo.com/coding/css/201507161181 */
ol.list_parentheses{
	padding:1em 0 0 1em;
	margin:0;
}
   
ol.list_parentheses > li{
	list-style-type:none;
	list-style-position:inside;
	counter-increment: cnt;
	margin: 0.3em 0 0 0
}
ol.list_parentheses > li:before{
	display: marker;
	content: "(" counter(cnt) ") ";
/*	color: #3f51b5; */
}

ol.list_parentheses .list-content{
	margin: 0 0 0 2em;
}

ol.list_parentheses > li span{
/*	color: #3f51b5;*/
	font-weight: bold
}

/* 片カッコ付きのリスト */
ol.list_katakakko{
	padding:0 0 0 1em;
	margin:0;
}
   
ol.list_katakakko li{
	list-style-type:none;
	list-style-position:inside;
	counter-increment: cnt;
/*	margin: 1em 0 0 0*/
}
ol.list_katakakko li:before{
	display: marker;
	content: counter(cnt) ") ";
/*	color: #3f51b5;*/
}

ol.list_katakakko .list-content{
	margin: 0 0 0 2em;
}

ol.list_katakakko li span{
/*	color: #3f51b5;*/
	font-weight: bold
}

/* 〇のリスト https://benri-no1.com/list/　*/
 ul.list205 {
  padding: 0.3em 0;
  list-style-type: none;
  border: none;
}
 ul.list205 li {
  position:relative;
  padding: 0.3em 0 0.3em 1.6em;
  line-height: 1.5;
}
 ul.list205 li:before{
  content: '';
  position: absolute;
  background-color: #fff;
  border: 2px solid #000;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  left: 6px;
  top: 10px;
}

ul.normal li {
	list-style-type:disc;
	list-style-position: outside;
}

.left-contents{
	width:70%;
	height: 300px;
}
.right-navi {
	width: 30%;
/*	background-color: lightyellow*/
}
