@charset "utf-8";

/* -----------------------------------------------------------------------
 初期設定
----------------------------------------------------------------------- */
:root {
	--main-text-color: #000;
	--text-link-color: #01468F;
	--footer-bgcolor: #0A385B;
}

html {
	font-size: 62.5%; 
}
body {
	background-color: #fff;
	line-height: 1.5;
	font-family: 'Noto Sans JP', "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN","HiraKakuProN-W3", "メイリオ", Meiryo, "MS Pゴシック", "MS PGothic", sans-serif;
	color: var(--main-text-color);
}
html, body, h1, h2, h3, h4, h5, h6, p, figure, dl, dt, dd, ul, li, ol {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
ul, ol {
	list-style: none;
}
em {
	font-style: normal;
}
header, footer, main, nav, article, aside, section, div, p {
	display: block;
	box-sizing: border-box;
}
h1, h2, h3, h4, h5, h6 {
	font-weight: bold;
}
img {
	display: block;
	margin: auto;
	max-width: 100%;
	height: auto;
	border: none;
}
a {
	transition: opacity .3s ease;
	text-decoration: none;
	color: var(--text-link-color);
}
a:hover {
	text-decoration: none;
}
button {
	background-color: rgba(255, 255, 255, 0);
	border: none;
	font-family: inherit;
	font-size: 100%;
}
@media screen and (max-width: 767px) {
	body {
		font-size: 4.26667vw;/* 幅375pxで16px */
	}
	p {
		line-height: 1.625;
	}
}
@media screen and (min-width: 768px), print {
	body {
		min-width: 900px;
		font-size: 180%;
		font-size: 1.8rem;
	}
	a:hover {
		opacity: .7;
	}
}

/* -----------------------------------------------------------------------
 基本設定
----------------------------------------------------------------------- */
[class|="inner"] {
	margin: auto;
}
[class|="flx"] {
	display: flex;
}
[class|="ttl"] {
	display: block;
	margin-bottom: 1em;
	font-weight: bold;
}
.underline {
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}
@media screen and (max-width: 767px) {
	.only-pc {
		display: none;
	}
}
@media screen and (min-width: 768px), print {
	.only-sp {
		display: none;
	}
	[href^="tel:"] {
		pointer-events: none;
	}
	[class|="flxpc"] {
		display: flex;
	}
}


/* -----------------------------------------------------------------------
 header
----------------------------------------------------------------------- */
.inner-header {
	max-width: 1325px !important;
}
.logo-header {
	padding: 1em 1em 1em 0;
}
.flx-topnav {
	align-items: stretch;
	justify-content: space-between;
	text-align: center;
}
@media screen and (max-width: 767px) {
	.flxpc-header{
		height: 1.8em;
	}
	.img-header-logo {
		width: 43.2vw;
	}
	.flx-topnav {
		display: none;
	}
	/*.flx-topnav {
		bottom: 0;
		left: 0;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	.flx-topnav span{
		width: 49.8%;
		margin-bottom: 1px;
	}
	.flx-topnav a{
		font-size: 3.46vw;
		background: #f2f2f2;
		padding: .5em;
		color: #000;
		display: block;
	}
	.flx-topnav a.top-menu_order{
		background: #FFFF60!important;
		border: 2px solid #000;
		border-radius: 50px;
		margin: .5em auto;
		font-weight: bold;
	}*/
}
@media screen and (min-width: 768px), print {
	.flxpc-header{
		justify-content: space-between;
		height: 40px;
	}
	.img-header-logo {
		margin: 0;
	}
	.logo-header{
		width: 240px;
	}
	.flx-topnav {
		width: 520px;
		margin-bottom: 30px;
		padding: 1em 0 0 0;
	}
	.flx-topnav a{
		color: #000;
		font-size: 14px;
	}
	.flx-topnav a.top-menu_order{
		background: #FFFF60!important;
		border: 2px solid #000;
		border-radius: 5px;
		font-weight: bold;
		padding: .2em 1.2em .3em 1.2em;
	}
}
/* -----------------------------------------------------------------------
 footer
----------------------------------------------------------------------- */
.footer {
	text-align: center;
}
.flx-footer-link {
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	padding: 1em 0;
}
.flx-footer-link li {
	margin: 0 1em;
}
.flx-footer-link a {
	color: var(--main-text-color);
}
.nikkei-footer {
	padding: 1em 0;
	background-color: var(--footer-bgcolor);
	color: #fff;
}
.img-footer-logo {
	display: inline-block;
	vertical-align: middle;
}
.copyright {
	vertical-align: middle;
}
@media screen and (max-width: 767px) {
	.flx-footer-link a {
		font-size: 3.73333vw;
	}
	.nikkei-footer {
		padding-bottom: 26vw;
	}
	.copyright {
		font-size: 3.2vw;
	}
	.img-footer-logo {
		width: 15.2vw;
		margin-right: .75em;
	}
}
@media screen and (min-width: 768px), print {
	.flx-footer-link a,
	.copyright {
		font-size: 14px;
	}
	.img-footer-logo {
		width: 69px;
		margin-right: 2.5em;
	}
}

/* -----------------------------------------------------------------------
 modal
----------------------------------------------------------------------- */
.modal-window {
	display: none;
	height: 100vh;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 10000;
}
.modal-overlay {
	position: absolute;
	width: 100%;
	height: 100vh;
	background: rgba(0,0,0,.5);
}
.modal-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	background: #fff;
	box-sizing: border-box;
	overflow-y: scroll;
}
.modal-close {
	position: absolute;
}
@media screen and (max-width: 767px) {
	.modal-content {
		width: 87%;
		max-height: 80vh;
		padding: 3.5em 1.6em 2.5em;
	}
	.modal-close {
		top: 1.5em;
		right: 1.25em;
	}
	.modal-close img {
		width: 6.72vw;
		height: 4.18667vw;
	}
}
@media screen and (min-width: 768px), print {
	.modal-overlay {
		cursor: pointer;
	}
	.modal-content {
		width: 650px;
		max-height: 700px;
		padding: 5em 2em 3em;
	}
	.modal-close {
		top: 24px;
		right: 20px;
	}
	.modal-close img {
		width: 36px;
		height: 23px;
	}
	.modal-content-txt-area {
		padding: 0 1em;
		box-sizing: border-box;
	}
}