﻿:root {
  --main-color1: #301B28;
  --main-color2: #523634;
  --main-color3: #B6452C;
  --main-color4: #DDC5A2;
}
* {
	margin: 0;
	padding: 0;
}
body{
	font-size: 14px;
	line-height: 2.0;
	color: var(--main-color1);
	text-align: center;
	background: -webkit-repeating-linear-gradient(-45deg, #f8f8ff, #f8f8ff 3px,#f1f1ff 3px, #f1f1ff 7px);
	background: repeating-linear-gradient(-45deg,#f8f8ff, #f8f8ff 3px,#f1f1ff 3px, #f1f1ff 7px);
	box-sizing: border-box;
}
a {
	color: var(--main-color3);
}
a:visited {
	color: var(--main-color3);
}
img {
	border: none;
	vertical-align: top;
}
#wrapper {
	width: 800px;
	background: var(--main-color1);
	margin: 0 auto;
	box-sizing: border-box;
}
#navigation {
	position: relative;
	font-size: 12px;
	width: 100%;
	padding-left: 0px;
	margin-bottom: 6px;
	background-color: var(--main-color1);
	box-sizing: border-box;
	box-shadow: 0px 3px 6px -2px #555;
}
#navicommand {
	display: flex;
}
#navicommand2 {
	display: none;
}
#navigation ul {
	margin : 0px 10px ;
	padding : 0;
	width: 100%;
	flex-wrap: no-wrap;
	justify-content: flex-start;
}
#navigation li {
	display: inline-block;
	width: 75px;
	line-height: 30px;
	vertical-align : middle;
	text-align : center;
	list-style-type: none;
}
#navigation li a {
	display: inline-block;
	width: 100%;
	text-decoration :none;
	color : #ffffff;
}
#navigation li a:hover {
	color: var(--main-color4);
	background-color: var(--main-color2);
	border-radius: 3px;
}
#navigation li.selected {
	color: #ffffff;
	background-image: linear-gradient(0deg, var(--main-color2) 0%, var(--main-color3) 100%);
	background-image: -webkit-linear-gradient(0deg, var(--main-color2) 0%, var(--main-color3) 100%);
	border-radius: 3px;
}
#navigation li.selected a {
	color: #ffffff;
	background-image: linear-gradient(0deg, var(--main-color2) 0%, var(--main-color3) 100%);
	background-image: -webkit-linear-gradient(0deg, var(--main-color2) 0%, var(--main-color3) 100%);
	border-radius: 3px;
}
#content {
	overflow: auto !important;
	overflow /**/: hidden;
	width: 100%;
	padding-bottom 30px;
	text-align: left;
	}

#footer {
	clear: both;
	color: #FFFFFF;
	background: var(--main-color1);
	text-align: center;
	line-height: 24px;
}
.pc { display: block !important; }
.sp { display: none !important; }
.hamburger-menu {
	position: relative;
	display: none;
}
.menu-btn {
	position: absolute;
	top: -36px;
	right: 3px;
	display: flex;
	height: 30px;
	width: 30px;
	justify-content: center;
	align-items: center;
	z-index: 90;
	background-color: var(--main-color1);
}
.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
	content: '';
	display: block;
	height: 2px;
	width: 13px;
	border-radius: 2px;
	background-color: #ffffff;
	position: absolute;
}
.menu-btn span:before {
	bottom: 4px;
}
.menu-btn span:after {
	top: 4px;
}
#menu-btn-check:checked ~ .menu-btn span {
	background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
}
#menu-btn-check:checked ~ .menu-btn span::before {
	bottom: 0;
	transform: rotate(45deg);
}
#menu-btn-check:checked ~ .menu-btn span::after {
	top: 0;
	transform: rotate(-45deg);
}
#menu-btn-check {
	display: none;
}
.menu-content {
	width: 12em;
	height: auto; 
	position: absolute;
	right: 0;
	top: -4px;
	z-index: 80;
	background-color: var(--main-color1);
	opacity: 0.8;
	border-radius: 3px;
	transform: scaleX(0);
	transform-origin: right top;
	transition: all 0.5s;/*アニメーション設定*/
}

.menu-content ul {
	padding: 10px 15px 10px;
}
.menu-content ul li {
	border-bottom: solid 1px #ffffff;
	list-style: none;
}
.menu-content ul li a {
	display: block;
	width: 100%;
	font-size: 12px;
	box-sizing: border-box;
	color:#ffffff;
	text-decoration: none;
	text-align: left;
	padding: 5px 15px 5px 0;
	position: relative;
}
.menu-content ul li a::before {
	content: "";
	width: 5px;
	height: 5px;
	border-top: solid 2px #ffffff;
	border-right: solid 2px #ffffff;
	transform: rotate(45deg);
	position: absolute;
	right: 11px;
	top: 15px;
}
.menu-content ul li a:hover {
	color: var(--main-color4);
	background-color: var(--main-color2);
	border-radius: 3px;
}

#menu-btn-check:checked ~ .menu-content {
	transform: scaleX(1);
}
.icon-pdf {
	content: "";
	width: 22px;
	height: 22px;
	padding: 2px;
	margin: 1px 4px;
	border-radius: 3px;
	background-color: var(--main-color3);
	background-image: url(/images/icon-pdf-w.svg);
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}
.icon-word {
	content: "";
	width: 22px;
	height: 22px;
	padding: 2px;
	margin: 1px 4px;
	border-radius: 3px;
	background-image: url(/images/icons8-microsoft-word-2019.svg);
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}
.icon-excel {
	content: "";
	width: 22px;
	height: 22px;
	padding: 2px;
	margin: 1px 4px;
	border-radius: 3px;
	background-image: url(/images/icons8-microsoft-excel-2019.svg);
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

.icon-mail {
	content: "";
	width: 22px;
	height: 22px;
	padding: 2px;
	margin: 1px 4px;
	border-radius: 3px;
	background-color: var(--main-color3);
	background-image: url(/images/icon-envelope-w.svg);
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}
.icon-angles-right {
	content: "";
	width: 22px;
	height: 22px;
	padding: 2px;
	margin: 1px 4px;
	border-radius: 3px;
	background-color: var(--main-color3);
	background-image: url(/images/icon-angles-right-w.svg);
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}
.icon-music {
	content: "";
	width: 22px;
	height: 22px;
	padding: 2px;
	margin: 1px 4px;
	border-radius: 3px;
	background-color: var(--main-color3);
	background-image: url(/images/icon-music-w.svg);
	background-size: 18px;
	background-position: center;
	background-repeat: no-repeat;
}

@media only screen and (max-width: 800px) {
    #wrapper {
	width: 100%;
    }
   #navicommand {
	display: none;
   }
   #navicommand2 {
	display: flex;
   }

   .hamburger-menu {
	display: block;
   }
    .pc { display: none !important; }
    .sp { display: block !important; }

}

