/* CSS Document */

html {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 14px;
	overflow: hidden visible;
	box-sizing: border-box;
}
body {
	margin: 0 0;
	padding: 0 0;
	background-size: 100vw 100vh;
	background-attachment: fixed;
}
h1 {
	font-family: 'Kosugi Maru', sans-serif;
	font-size: 1.5rem;
}
h2 {
	font-family: 'Kosugi Maru', sans-serif;
	font-size: 1.2rem;
}
p {
	font-size: 1rem;
}
table {
	width: 100%;
}
th, td {
	padding: 2px;
	vertical-align: top;
	text-align: left;
	border-bottom: 1px dashed #aaa;
	font-weight: normal;
}
.wrapper {
	min-height: 100vh;
	position: relative;
	box-sizing: border-box;
	padding-bottom: 110px;
}
.bg-slider {
	margin-top: 56px;
	width: 100%;
	height: 50vw;
	max-height: 500px;
	box-shadow: 0 1px 2px black;
	background-color: rgba(255, 255, 255, 0.8);
	background-position:center center;
	background-size: cover;
	display: flex;
	overflow: hidden;
}
.bg-slider-half {
	height: 25vw;
	max-height: 250px;
	object-position: 50% 70%;
}
.bg-slider p {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 15px;
	color: #fff;
	font-family: 'Kosugi Maru', sans-serif;
	font-size: 2rem;
	line-height: 1.5;
	font-weight: bold;
	text-align: center;
	display: grid;
	place-items: center;
	background-color: rgba(10, 10, 10, 0.3);
}
#card article {
	min-width: 260px;
	max-width: 920px;
	background-color: rgba(255, 255, 255, 0.9);
	border-radius: 10px;
	box-shadow: 0 1px 2px black;
	padding: 20px;
	margin: 20px auto;
	position: relative;
	overflow: hidden;
}
@media screen and (max-width: 980px) {
	#card article {
		border-radius: 0;
	}
}
#card article :first-child {
	margin-top: 0;
}
#card article :last-child {
	margin-bottom: 0;
}
#card article img.mainpict {
	display: block;
	text-align: center;
	margin: 0;
	border-radius: 8px;
	object-fit: cover;
}
#card article .bgimg {
	position: absolute; 
	right: 0; 
	bottom: 0;
	z-index: -1;
}
footer {
	width: 100%; 
	box-sizing: border-box;
	background-color: white; 
	box-shadow: 0 1px 5px black;
	padding: 15px 15px 15px 15px;
	position: absolute;
	bottom: -20px;
}
address {
	font-style: normal;
}
.copyright {
	font-size: 0.8rem;
	text-align: center;
	margin: 0;
}
.mt10 {
	margin-top: 10px;
}
.mt15 {
	margin-top: 15px;
}
.mt20 {
	margin-top: 20px;
}
.mt25 {
	margin-top: 25px;
}
.mt30 {
	margin-top: 30px;
}

.inner {
	width: 100%;
	max-width: 980px;
	margin: 0 auto;
}
.inner:after {
	content: "";
	clear: both;
	display: block;
}

.slick-slide {
	height: 50vw;
	max-height: 400px;
	min-height: 350px;
	object-fit: cover;
}
 
/* header */
#top-head {
	top: -155px;
	position: absolute;
	width: 100%;
	margin: 100px auto 0;
	padding: 20px 0 0;
	height: 55px;
	background: #fff;
	box-shadow: 0 1px 5px black; 
	line-height: 1;
	z-index: 999;
}
#top-head a,
#top-head {
	color: #646464;
	text-decoration: none;
}
#top-head .inner {
	position: relative;
}
#top-head .logo {
	height: 35px;
	float: left;
	font-size: 36px;
	margin-bottom: 10px;
}
#global-nav ul {
	list-style: none;
	position: absolute;
	right: 0;
	bottom: 0;
	font-size: 14px;
}
#global-nav ul li {
	float: left;
}
#global-nav ul li a {
	padding: 0 12px;
	position: relative;
	display: inline-block;
	text-decoration: none;
}
 
/* Fixed */
#top-head.fixed {
	margin-top: 0;
	top: 0;
	position: fixed;
	padding-top: 10px;
	height: 45px;
	background: #fff;
	/*background: rgba(255,255,255,.7);*/
	transition: top 0.65s ease-in;
	-webkit-transition: top 0.65s ease-in;
	-moz-transition: top 0.65s ease-in;
}
#top-head.fixed .logo {
	font-size: 24px;
	color: #333;
}
#top-head.fixed #global-nav ul li a {
	color: #333;
	padding: 0 12px;
	position: relative;
	display: inline-block;
	text-decoration: none;
}
#top-head #global-nav ul li a::after,
#top-head.fixed #global-nav ul li a::after {
	position: absolute;
	bottom: -10px;
	left: 0;
	content: '';
	width: 100%;
	height: 2px;
	background: #646464;
	transform: scale(0, 1);
	transform-origin: right top;
	transition: transform .3s;
}
#top-head #global-nav ul li a:hover::after,
#top-head.fixed #global-nav ul li a:hover::after {
	transform-origin: left top;
	transform: scale(1, 1);
}
 
/* Toggle Button */
#nav-toggle {
	display: none;
	position: absolute;
	right: 12px;
	top: 14px;
	width: 34px;
	height: 36px;
	cursor: pointer;
	z-index: 101;
}
#nav-toggle div {
	position: relative;
}
#nav-toggle span {
	display: block;
	position: absolute;
	height: 4px;
	width: 100%;
	background: #666;
	left: 0;
	-webkit-transition: .35s ease-in-out;
	-moz-transition: .35s ease-in-out;
	transition: .35s ease-in-out;
}
#nav-toggle span:nth-child(1) {
	top: 0;
}
#nav-toggle span:nth-child(2) {
	top: 11px;
}
#nav-toggle span:nth-child(3) {
	top: 22px;
}

@media screen and (max-width: 860px) {	
	#top-head,
	.inner {
		width: 100%;
		padding: 0;
	}
	#top-head {
		top: 0;
		position: fixed;
		margin-top: 0;
	}
	/* Fixed reset */
	#top-head.fixed {
		padding-top: 0;
		background: transparent;
	}
	#mobile-head {
		background: #fff;
		box-shadow: 0 1px 5px black; 
		width: 100%;
		height: 56px;
		z-index: 999;
		position: relative;
	}
	#top-head.fixed .logo,
	#top-head .logo {
		height: 27px;
		position: absolute;
		left: 13px;
		top: 13px;
		color: #333;
		font-size: 26px;
	}
	#global-nav {
		position: absolute;
		/* 開いてないときは画面外に配置 */
		top: -500px;
		background: #333;
		width: 100%;
		text-align: center;
		padding: 10px 0;
		-webkit-transition: .5s ease-in-out;
		-moz-transition: .5s ease-in-out;
		transition: .5s ease-in-out;
	}
	#global-nav ul {
		list-style: none;
		position: static;
		right: 0;
		bottom: 0;
		font-size: 14px;
		padding: 0;
	}
	#global-nav ul li {
		float: none;
		position: static;
	}
	#top-head #global-nav ul li a,
	#top-head.fixed #global-nav ul li a {
		width: 100%;
		display: block;
		color: #fff;
		padding: 18px 0;
		text-decoration: none;
	}
	#nav-toggle {
		display: block;
	}
	/* #nav-toggle 切り替えアニメーション */
	.open #nav-toggle span:nth-child(1) {
		top: 11px;
		-webkit-transform: rotate(315deg);
		-moz-transform: rotate(315deg);
		transform: rotate(315deg);
	}
	.open #nav-toggle span:nth-child(2) {
		width: 0;
		left: 50%;
	}
	.open #nav-toggle span:nth-child(3) {
		top: 11px;
		-webkit-transform: rotate(-315deg);
		-moz-transform: rotate(-315deg);
		transform: rotate(-315deg);
	}
	/* #global-nav スライドアニメーション */
	.open #global-nav {
		/* #global-nav top + #mobile-head height */
		-moz-transform: translateY(556px);
		-webkit-transform: translateY(556px);
		transform: translateY(556px);
	}
}

.indent-1em { text-indent: 1em; }
.indent-2em { text-indent: 2em; }
.indent-3em { text-indent: 3em; }
.indent-4em { text-indent: 4em; }
.indent-5em { text-indent: 5em; }