/* ************************************************ 
 *	全体
 * ************************************************ */
body,div,pre,blockquote,ul,
form,fieldset,input,textarea,select,option, 
dl,dt,dd,ol,h1,h2,h3,h4,h5,h6,
embed,object {
	padding: 0;
	margin: 0;
	list-style: none;
}
img {
    vertical-align: 0;
    padding: 0;
    border: 0;
}
img{
	max-width: 100%;
	height: auto;
	width /***/:auto;
	}

img { -ms-interpolation-mode: bicubic; }

a:hover img {
    opacity: 0.8;
    filter: alpha(opacity=80);
    -moz-opacity: 0.8;

}
.pc {
	display: none;
}

/************タブレット切り替え***************/
@media screen and (max-width: 989px){

}


body {
    font-family: "Noto Sans JP", serif;
    font-size: 15px;
    line-height: 1.7;
    font-weight: 400;
	margin: 0;
	padding: 0;
	color: #111111;
	}
#wrapper {
    display: flex;
    flex-flow: nowrap;
}

/* スマホヘッダーメニュー */
#hmenu_sp {
	background-color: #111;
	position: fixed;
	color: #fff;
	width: 100%;
    z-index: 100;
}
#hmenu_sp h1 {
	margin: 0;
	padding: 0;
}
#hmenu_sp h1 img {
	width: 130px;
}

/* メニューのスタイル */
.spmenu {
  position: fixed;
  top: 0;
  right: -100%; /* 初期状態では画面の外に隠れている */
  width: 300px;
  height: 100%;
  background-color: #ffffffeb;
  color: #000;
  transition: right 0.3s ease; /* スライドインのアニメーション */
  padding: 20px;
  box-sizing: border-box;
  z-index: 10;
}

/* メニューが開いているとき */
.spmenu.open {
  right: 0;
}

/* ボタンのスタイル */
.hamburger {
	position: fixed;
	top: 10px;
	right: 20px;
	width: 30px;
	cursor: pointer;
	z-index: 20;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #999;
  margin: 5px 0;
  transition: 0.4s;
}

/* バツ印に変化するスタイル */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* メニューリストのスタイル */
.spmenu ul {
	list-style-type: none;
	padding: 0;
	margin-top: 30px;
}
.spmenu li {
  padding: 0 0 5px;
}
.spmenu ul:last-child li:last-child {
	display: flex;
	margin: 0 5px 0 0;
}
.spmenu ul:last-child li:last-child img {
	margin: 0 5px 0 0;
}
.spmenu li a {
  color: #333;
  text-decoration: none;
  display: block;
}
.mBox {
    overflow-y: auto;
    height: 90vh;
}
input#s {
    width: 8vw;
    padding: 2px 20px 4px;
    border-radius: 30px;
    border: 1px solid #777;
    font-size: 14px;
}
input#s::placeholder {
	color: #c7c7c7;
	font-size: 14px;
	vertical-align: middle;
}
#searchsubmit {
    padding: 3px 5px;
}
input#sr {
    width: 120px;
    padding: 3px 20px 6px;
    border-radius: 30px;
    border: 1px solid #777;
}
input#sr::placeholder {
	color: #c7c7c7;
	font-size: 14px;
	vertical-align: middle;
}

/* メニュー */
#menu {
    text-align: center;
    padding: 0;
    margin: 0 auto;
    background-color: #262626;
    color: #FFFFFF;
    width: 20%;
}
#menu h1 {
    margin: 0 auto;
	padding: 0;
    max-width: 200px;
}
#menu ul {
	margin: 0;
	padding: 0;
	font-size: 130%;
	letter-spacing: 0.1em;
	/* text-indent: 0.5em; */
}
#menu li {
    margin: 0 0 15px;
    padding: 0;
    text-align: left;
    line-height: 1.3;
}
#menu li span {
    font-size: 60%;
}
#menu li:last-child {
    text-align: center;
    margin: 20px 0 0 0;
}
#menu a:link {
	color: #fff;
	text-decoration: none;
}
#menu a:visited {
	color: #fff;
	text-decoration: none;
}
#menu a:hover {
	color: red;
	text-decoration: none;
}
.menuBox {
    position: fixed;
    width: 20%;
}
.menuBox p {
    color: #999999;
	text-align: left;
	display: block;
	width: 130px;
	margin: 0 auto 15px;
}

/* フッター */
#footer {
    margin: 0;
    padding: 5%;
    background-color: #000;
    color: #fff;
    z-index: 1;
    position: relative;
	line-height: 2.5em;
}
.finner {
    margin: 0 0 10%;
    padding: 0;
    /* display: block; */
    /* flex-wrap: wrap; */
    /* float: left; */
}
.finner h2 {
    width: 100%;
}
.finner ul {
    width: 50%;
    margin: 0 0 15px;
    float: left;
	font-size: 1.0em;
    font-family: Zen Kaku Gothic New;
}
address {
    font-style: normal;
    text-align: center;
    padding: 5px 0;
    margin: 0;
    background-color: #000000;
    color: #FFFFFF;
    clear: both;
}
#footer a:link {
    color: #fff;
    text-decoration: none;    
}
#footer a:visited {
    color: #fff;
    text-decoration: none;    
}
#footer a:hover {
    color: #888;
    text-decoration: none;        
}

.fotup {
	position: fixed;
	bottom: 0px;
	width: 100%;
	border-bottom: 5px solid #000;
}
.fotup img {
	width: 100px;
	right: 0;
	position: absolute;
	bottom: 0;
}

.up {
	width: 100%;
	position: relative;
}
.up img {
	width: 100px;
	right: 0;
	position: absolute;
	bottom: 0;
}

a:link {
    color: #000;
    text-decoration: none;    
}
a:visited {
    color: #000;
    text-decoration: none;    
}
a:hover {
    color: #888;
    text-decoration: none;        
}

/************PC***************/
@media screen and (min-width: 768px){
	
.sp {
	display: none;
}
.pc {
	display: initial;
}
	
/* スマホヘッダーメニュー */
#hmenu_sp {
	/*
	display: none;
	*/
}
#hmenu_sp {
	background-color: transparent;
	position: fixed;
	color: #fff;
	width: 100%;
    z-index: 100;
}
#hmenu_sp h1 {
	display: none;
}

/* メニューのスタイル */
.spmenu {
  position: fixed;
  top: 0;
  right: -100%; /* 初期状態では画面の外に隠れている */
  width: 600px;
  height: 100%;
  background-color: #ffffffeb;
  color: #000;
  transition: right 0.3s ease; /* スライドインのアニメーション */
  padding: 20px;
  box-sizing: border-box;
  z-index: 10;
}

/* メニューが開いているとき */
.spmenu.open {
  right: 0;
}

/* ボタンのスタイル */
.hamburger {
    position: fixed;
    top: 40px;
    right: 40px;
    width: 70px;
    cursor: pointer;
    z-index: 20;
}
	
.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #a7a7a7;
    margin: 15px 0;
    transition: 0.4s;
}

/* バツ印に変化するスタイル */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(15px, -15px);
}

/* メニューリストのスタイル */
.mBox {
    display: flex;
    flex-wrap: wrap;
	margin: 0 50px;
}
.mBox strong {
    font-size: 20px;
}
.spmenu ul {
	list-style-type: none;
	padding: 0;
	margin-top: 120px;
	width: 50%;
}
.spmenu ul:last-child li {
	padding-bottom: 10px;
}
.spmenu li {
  padding: 0 0 5px;
}
.spmenu li a {
  color: #333;
  text-decoration: none;
  display: block;
}
	
/* メニュー */
#menu {
    text-align: center;
    padding: 0;
    margin: 0 auto;
    background-color: #191919;
    color: #FFFFFF;
    width: 20%;
    border-right: 1px solid #fff;
	display: inherit !important;
}
#menu h1 {
    margin: 0 auto;
    padding: 0;
    max-width: 200px;
}
#menu h1 img {	
width: 100%;
/*width: 90%;*/
}
#menu ul {
    margin: 0;
    padding: 0;
    font-family: Zen Kaku Gothic New;
	font-weight: 300;
	font-size:1.6em;
    letter-spacing: 0.05em;
	/*font-size: 130%;*/
    /* text-indent: 0.5em; */
}
#menu li {
    margin: 0 0 18px;
    padding: 0;
}

#menu li:nth-of-type(1) a:link {
	color: #fff;
	text-decoration: none;
	display: block;
	width: 130px;
	margin: 0 auto;
}
#menu li:nth-of-type(1) a:visited {
	color: #fff;
	text-decoration: none;
	display: block;
}
#menu li:nth-of-type(1) a:hover {
	color: #fff;
	text-decoration: none;
	background: linear-gradient(to top, #B51D8C 20%, transparent 20%);
	display: block;
}

#menu li:nth-of-type(2) a:link {
	color: #fff;
	text-decoration: none;
	display: block;
	width: 130px;
	margin: 0 auto;
}
#menu li:nth-of-type(2) a:visited {
	color: #fff;
	text-decoration: none;
	display: block;
}
#menu li:nth-of-type(2) a:hover {
	color: #fff;
	text-decoration: none;
	background: linear-gradient(to top, #D10404 20%, transparent 20%);
	display: block;
}

#menu li:nth-of-type(3) a:link {
	color: #fff;
	text-decoration: none;
	display: block;
	width: 130px;
	margin: 0 auto;
}
#menu li:nth-of-type(3) a:visited {
	color: #fff;
	text-decoration: none;
	display: block;
}
#menu li:nth-of-type(3) a:hover {
	color: #fff;
	text-decoration: none;
	background: linear-gradient(to top, #049AD1 20%, transparent 20%);
	display: block;
}

#menu li:nth-of-type(4) a:link {
	color: #fff;
	text-decoration: none;
	display: block;
	width: 130px;
	margin: 0 auto;
}
#menu li:nth-of-type(4) a:visited {
	color: #fff;
	text-decoration: none;
	display: block;
}
#menu li:nth-of-type(4) a:hover {
	color: #fff;
	text-decoration: none;
	background: linear-gradient(to top, #036703 20%, transparent 20%);
	display: block;
}

#menu li:nth-of-type(5) a:link {
	color: #fff;
	text-decoration: none;
	display: block;
	width: 130px;
	margin: 0 auto;
}
#menu li:nth-of-type(5) a:visited {
	color: #fff;
	text-decoration: none;
	display: block;
}
#menu li:nth-of-type(5) a:hover {
	color: #fff;
	text-decoration: none;
	background: linear-gradient(to top, #8D8C8C 20%, transparent 20%);
	display: block;
}
.menuBox {
    position: fixed;
    width: 20%;
}


/* フッター */
#footer {
    margin: 0;
    padding: 5% 0 0 20%;
    background-color: #000;
    color: #fff;
    z-index: 1;
    position: relative;
}
.finner {
    margin: 0 0 10%;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}
.finner h2 {
    width: 100%;
}
.finner ul {
    width: 24%;
}
address {
	font-style: normal;
	text-align: center;
	padding: 5px 0;
	margin: 0;
	background-color: #000000;
    color: #FFFFFF;
}
#footer a:link {
    color: #fff;
    text-decoration: none;    
}
#footer a:visited {
    color: #fff;
    text-decoration: none;    
}
#footer a:hover {
    color: #888;
    text-decoration: none;        
}
.fotup {
	position: fixed;
	bottom: 0px;
	width: 100%;
	border-bottom: 3px solid #000;
}
.fotup img {
	width: 100px;
	right: 0;
	position: absolute;
	bottom: 0;
	}
.up {
	width: 100%;
	position: relative;
	}
.up img {
	width: 100px;
	right: 0;
	position: absolute;
	bottom: 0;
	}
a:link {
    color: #000;
    text-decoration: none;
	}
a:visited {
    color: #000;
    text-decoration: none;
	}
a:hover {
    color: #888;
    text-decoration: none;
	}
}

