@charset "utf-8";

body{width: 830px;}

.header_inner:after {
	content: " ";
	display: block;
	clear: both;
}

@media screen and (min-width: 721px) {
	#header {
		padding: 0px 0 15px 0;
		background-color: #fff;
		z-index: 990;
		position: relative;
	}

	.header_inner {
		padding: 0;
		width: calc(100% - 40px);
		max-width: 1000px;
		margin: auto;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		align-items: center;
		justify-content: flex-end;
	}
	.header_inner:after {
	content: " ";
	display: block;
	clear: both;
	}

	.header_inner div{
		max-width: 48%;
		width: 48%;
	}
	.header_inner div.logo{
		text-align: left;
	}
	.header_inner div.catalog{
		text-align: right;
	}


	.navi-area {
		display: flex;
		flex-wrap: wrap;

		justify-content: space-around;

		width: 100%;
	}

}

@media screen and (max-width: 720px) {

	body{width: 100%;max-width: 100%;font-size:16px;}
	p, dt, dd, th, td {font-size:16px;}
	img{max-width:100%;}

	#header {
		padding: 10px 5px;
		background-color: #fff;
		box-sizing: border-box;
		position: fixed;
		z-index: 990;
		width: 100%;
		height: 5.5em;
		box-shadow: 0px 0px 6px 3px #eaeaea;
	}

	.header_inner {
		display: block;
	}
	.header_inner div{
		max-width: 100%;
		width: 100%;
	}
	.header_inner div.logo{
		text-align: center;
	}
	.header_inner div.catalog{
		text-align: center;
	}


	.main_visual {
		padding-top: 5.5em;
		position: relative;
		margin-bottom: 40px;
	}


	.navi-area {
		display: flex;
		flex-wrap: wrap;
		justify-content: flex-start;
		width: 100%;
	}
	.navi-area div{
		max-width: 24%;
		width: 24%;
		list-style: none;
		border: 1px solid white;
		box-sizing: border-box;
	}
	.navi-area div a{
		padding:4px 5px;
	}

}
