@charset "UTF-8";
html{
  height: 100%;
}
body{
  position:fixed;
	*font-size: small;
	*font: x-small;
	font-size: 14px;
	line-height: 1.5;
	color: #4D4D4D;
	font-family: 'Noto Sans JP', sans-serif;
	text-align: center;
	width: 100%;
  height: 100%;
	margin: 0;
	padding: 0;
	background: #e8e3de;
}
body *,
body *::before,
bory *::after{
  box-sizing: border-box;
}
h1,h2,h3,h4,h5,p,ul,ol,li,img,table,th,td,dl,dt,dd{margin: 0px;padding: 0px;font-size: 14px;}
li{list-style-type: none;}
table{border-collapse: collapse;}
a{cursor: pointer;color: #000;text-decoration: none;}
img{vertical-align: top;border: 0;max-width: 100%;height: auto;}
a img{vertical-align: bottom;-webkit-backface-visibility: hidden;-ms-backface-visibility: hidden;backface-visibility: hidden;}
#wrap {
  overflow: hidden;
  position: relative;
  text-align: left;
  padding: 0 0 60px 0;
  height: 100%;
}
@media only screen and (max-width:767px) {
#wrap {
  padding: 60px 0 50px 0;
}
}


/*------------------------------------------------------------
	header
------------------------------------------------------------*/
header{
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  height: 100px;
}
header .logo{
  padding: 50px 0 0 40px;
  width: 230px;
}
@media only screen and (max-width:768px) {
header{
  height: 60px;
}
header .logo{
  padding: 20px 0 0 20px;
  width: 210px;
}
}


/*------------------------------------------------------------
	container
------------------------------------------------------------*/
#container{
  width: 100%;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
}
@media only screen and (max-width:767px) {
#container{
  align-content: center;
}
}


/*------------------------------------------------------------
	contents
------------------------------------------------------------*/
#contents{
  width: 100%;
  height: 100%;
}
@media only screen and (max-width:767px) {
#contents{
  height: auto;
}
}


/*------------------------------------------------------------
	menu
------------------------------------------------------------*/
#menu{
  height: 100%;
}
#menu .img{
  max-width: 970px;
  width: 100%;
  margin: 0 auto;
  height: calc(100% - 160px);
}
#menu .img::before{
  content: "";
  display: block;
  height: 100%;
  width: calc(100% + (100vw - 100%)/2);
  background: url("/img/top/img_top.jpg") center;
  background-size: cover;
}
#menu ul{
  display: flex;
  max-width: 970px;
  width: 100%;
  margin: 40px auto 0;
}
#menu ul li{
  width: calc(50% - 30px);
  margin-right: 60px;
  height: 60px;
}
#menu ul li:nth-child(2n){
  margin-right: 0;
}
#menu ul li a{
  position: relative;
  display: block;
  font-weight: bold;
  padding-bottom: 12px;
  font-size: 16px;
  border-bottom: 1px solid #333;
}
#menu ul li a::before{
  content: "";
  position: absolute;
  right: 4px;
  bottom: -2px;
  width: 1px;
  height: 12px;
  background: #333;
  transform: rotate(-45deg);
}
@media only screen and (max-width:1526px) {
#menu{
  padding-left: 280px;
}
#menu .img{
  max-width: 100%;
}
#menu .img::before{
  width: calc(100%);
}
#menu ul{
  max-width: 100%;
  padding-right: 50px;
}
}
@media only screen and (max-width:767px) {
#menu{
  padding-left: 0;
}
#menu .img{
  max-height: 250px;
  height: calc(100vh - 245px);
}
#menu ul{
  margin: 30px auto 0;
  padding: 0 20px;
}
#menu ul li{
  width: calc(50% - 15px);
  margin-right: 30px;
}
#menu ul li a{
  font-size: 14px;
}
}


/*------------------------------------------------------------
	footer
------------------------------------------------------------*/
footer{
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  height: 60px;
  padding: 0 0 0 30px;
}
footer p{
  font-size: 12px;
  margin-top: 3px;
}
footer p:first-child{
  margin-top: 0;
}
@media only screen and (max-width:768px) {
footer{
  padding: 0 0 0 20px;
  height: 50px;
}
footer p{
  font-size: 10px;
  margin-top: 0;
}
}


/*------------------------------------------------------------
	title
------------------------------------------------------------*/
.title_bg{
  background-color: #FFF;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
/*  display: none;*/
}
.title{
  height: 14px;
  width: 250px;
  background-image: url("/img/top/logo_bc.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: none;
}
@media screen and (max-width: 767px) {
  .title{
    width: 50%;
  }
}
