@charset "UTF-8";

*, *::before, *::after {
	box-sizing: border-box;
	color: #000000;
}
html {
	height: 100%;
	font-size: 62.5%; /* 10px */
}
body {
	width: 100%;
	height: 100%;
	overflow-x: hidden;
	margin: auto;
	font-size: 14px;
	position: relative;
	color: #000;
	background-color: #fff;
	font-family: 'Noto Sans JP', sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-text-size-adjust: 100%;
	word-wrap: break-word;
	word-break: break-word;
	font-feature-settings: "palt";
	letter-spacing: 0.06em;
	z-index: 0;
	line-height: 1;
}
body * {
	z-index: 0;
}
img {
	width: 100%;
	height: auto;
}
a {
    text-decoration: none;
	pointer-events: auto;
}
/*a:hover {
    opacity: 0.5;
    transition: 0.5s;
}*/

header, footer, main {
    width: 100%;
}
article {
    width: 100%;
    height: auto;
    position: relative;
}
article>section,header section,footer section {
    max-width: 1200px;
	min-width: 768px;
    width: 90%;
    margin: 0 auto;
	position: relative;
}

.left {
    float: left;
}
.right {
    float: right;
}
.flex {
    display: flex;
	flex-wrap: wrap;
    justify-content: space-between;
}

.pc {
	display: inherit;
}
.sp, .tab {
	display: none !important;
}

/* header --------------------------------------- */
header {
    height: 150px;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9998;
	background: rgba(255,255,255, 0.8);
}
header section {
	margin: 37.5px auto; /* (150-75)/2 */
	display: flex;
	justify-content: space-between;
	align-items: center;
}
#header-left, #header-right {
	position: relative;
	display: flex;
	align-items: center;
}
#header-left img {
	width: auto;
	height: 75px;
}

nav {
}
nav ul {
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	align-items: center;
}
nav ul li {
	color: #fff;
	background: #004896;
	border-radius: 25px;
	width: 185px;
	display: list-item;
	position: relative;
	text-align: center;
	font-size: 11px;
    font-weight: bold;
    margin-left: 20px;
    padding: 1.2em 0;
	transition: 0.3s;
}
nav ul li:hover {
	color: #fff484;
	background: #e50012;
}
nav ul li:after {
	content: '';
	display: block;
	width: 6px;
	height: 9px;
	position: absolute;
	right: 11px;
	top: 50%;
	transform: translateY(-50%);
	background: url(../img/menu-arrow.png) center center no-repeat;
	background-size: contain;
}
nav ul li:hover:after {
	background: url(../img/menu-arrow-h.png) center center no-repeat;
	background-size: contain;
}


/* footer --------------------------------------- */
footer {
    background: url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
	background-attachment: fixed;
}
footer section {
	width: 100%;
	max-width: unset;
	min-width: unset;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
footer section img {
	margin-bottom: -2px;
}
div#copyright {
	width: 100%;
	padding-bottom: 50px;
	background: #e50012;
}
div#copyright p {
	color: #fff;
	font-size: 14px;
	text-align: center;
}

/* responsive --------------------------------------- */
@media screen and (max-width: 1280px){
	header {
		height: 150px;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 9998;
		background: rgba(255,255,255, 0.8);
	}
	header section {
		margin: 17px auto;
		flex-direction: column;
		justify-content: space-between;
		align-items: center;
	}
	#header-left img {
		width: auto;
		height: 65px;
	}
	#header-right {
		margin-top: 10px;
	}
	nav ul li {
		margin: 0 3px;
	}
}

@media screen and (max-width: 1024px){
	.tab {
		display: inherit;
	}
	article>section {
		max-width: unset;
		min-width: unset;
	}
}
@media screen and (max-width: 768px){
	html {
		font-size: 50%; /* 8px */
	}
	.pc {
		display: none !important;
	}
	.sp {
		display: inherit !important;
	}
	article>section {
		width: 95%;
		max-width: unset;
		min-width: unset;
	}

	header section {
		width: 100%;
		max-width: unset;
		min-width: unset;
		margin: 14px auto;
	}
	#header-right {
		margin-top: 5px;
	}
	#header-left img {
		height: clamp(40px, calc(32.857142857142854px + 2.232142857142857vw), 50px);
	}
	header nav ul {
		margin: 0 auto;
		position: relative;
		flex-wrap: wrap;
		justify-content: center;
	}
	header nav ul li {
		width: clamp(154px, calc(81.85714285714286px + 22.544642857142858vw), 255px);
		font-size: 10px;
		padding: 1em;
		margin: 5px 2px 0;
	}
	nav ul li:after {
		width: 5px;
		height: 8px;
		position: absolute;
		right:6px;
	}

	footer {
		padding: 50px 0 0;
		background-size: auto 200%;
		background-attachment: local;
	}
	footer section {
		display: block;
		overflow: hidden;
	}
	footer section img {
		width: 200%;
	}
	p#copyright {
		max-width: unset;
		min-width: unset;	
	}	
}
@media screen and (max-width: 499px){
	br.tab {
	}
}