@charset "utf-8";

@import url("https://unpkg.com/sanitize.css");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");
@import url("animation.css");
@import url("inview.css");

:root {
    --primary-color: #f8bd21;
    --secondary-color: #49403d;
    --primary-text-color: #eeebe9;
}

html,body {
	font-size: 13px;
}

@media screen and (min-width:900px) {
	html, body {
		font-size: 16px;
	}
}

body {
	font-family: 'Yu Gothic', 'Meiryo', sans-serif;
	-webkit-text-size-adjust: none;
	background: #fefefe;
	color: #101010;
	line-height: 2;
}

figure {margin: 0;}
dd {margin: 0;}
nav {margin: 0;padding: 0;}
table {border-collapse:collapse;}
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}
video {max-width: 100%;}
iframe {width: 100%;}
input {font-size: 1rem;}

a {
	color: #101010;
	transition: 0.3s;
}

a:hover {
	opacity: 0.8;
}

main > section,
main > article {
	padding: 2% 5%;
}

#container {
	max-width: 1800px;
	margin: 0 auto;
	overflow-x: hidden;
}

header a {color: inherit;}
header {
	background: #ffe000;
	color: #101010;
	text-align: center;
	padding: 20px 5% 20px 5%;
}

@media screen and (min-width:400px) {
	header {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding-right: 65px;
	}
}

#logo img {display: block;}
#logo {
	margin: 0;
	margin-bottom: 5%;
	width: 100px;
}

@media screen and (min-width:400px) {
	#logo {
		margin-bottom: 0;
	}
}

header .btn {
	padding: 0; margin: 0;
	list-style: none;
}

header .btn li a {
	display: block;text-decoration: none;
	background: #ffe000;
	color: ##101010;
	border-radius: 3px;
	padding: 0.5rem 1.5rem;
}

#menubar {display: none;}
#menubar ul {list-style: none;margin: 0;padding: 0;}
#menubar a {display: block;text-decoration: none;}

.large-screen #menubar {display: block;flex: 1;}
.small-screen #menubar.display-block {display: block;}

#menubar_hdr.display-none {display: none;}

.ddmenu_parent ul {display: none;}
a.ddmenu {cursor: default;}

a.ddmenu::before {
	font-family: "Font Awesome 6 Free";
	content: "\f078";
	font-weight: bold;
	margin-right: 1em;
	font-size: 0.8rem;
}

.large-screen #menubar > nav > ul {
	display: flex;
	margin-left: 30px;
	font-size: 0.9rem;
	letter-spacing: 0.1em;
}
.large-screen #menubar li a {
	padding: 10px;
}

.large-screen #menubar ul ul,
.small-screen #menubar ul ul {
	animation: opa1 0.5s 0.1s both;
}

.large-screen #menubar ul ul {
	position: absolute;z-index: 100;
	border-radius: 10px;
	overflow: hidden;
	text-align: center;
	color: #fff;
}

.large-screen #menubar ul ul a {
	color: inherit;
	background: rgba(0,0,0,0.7);
	padding: 10px 20px;
}

.small-screen #menubar.display-block {
	position: fixed;overflow: auto;z-index: 100;
	left: 0px;top: 0px;
	width: 100%;
	height: 100%;
	padding: 100px 20px 20px;
	background: rgba(0,0,0,0.9);
	text-align: center;
	animation: animation1 0.2s both;
	color: #fff;
}

.small-screen #menubar a {
	color: inherit;
	padding: 10px;
}

#menubar_hdr {
	animation: opa1 0s 0.2s both;
	position: fixed;z-index: 101;
	cursor: pointer;
	right: 10px;
	top: 20px;
	padding: 16px 14px;
	width: 46px;
	height: 46px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	background: var(--primary-color);
}

#menubar_hdr span {
	display: block;
	transition: 0.3s;
	border-top: 2px solid var(--primary-text-color);
}

#menubar_hdr.ham span:nth-of-type(1),
#menubar_hdr.ham span:nth-of-type(3) {
	transform-origin: center center;
	width: 20px;
}

#menubar_hdr.ham span:nth-of-type(1){
	transform: rotate(45deg) translate(3.8px, 5px);
}

#menubar_hdr.ham span:nth-of-type(3){
	transform: rotate(-45deg) translate(3.8px, -5px);
}

#menubar_hdr.ham span:nth-of-type(2){
	display: none;
}

#mainimg-box {
	width: 100%;
	height: 0;
	padding-top: 45%;
	position: relative;z-index: -1;
}
#mainimg {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
}

#contents {
	flex: 1;
}

main h2 {
	text-align: center;
	font-size: 2.8rem;
	font-weight: normal;
	letter-spacing: 0.1em;
	margin-bottom: 2em;
}

main h2 span {
	display: block;
	font-size: 0.3em;
	opacity: 0.5;
	letter-spacing: 0.5em;
}
main h2.normal {
	text-align: left;
	font-size: 2rem;
	border-bottom: 1px solid #d1d3d3;
	margin-bottom: 0.5em;
}

#footermenu {
	margin: 0;
	padding: 20px;
	text-align: center;
	font-size: 0.8rem;
}

#footermenu li {
	display: inline-block;
	padding: 0 10px;
}

footer small {font-size: 100%;}
footer {
	font-size: 0.7rem;
	background: var(--primary-color);
	color: var(--primary-text-color);
	text-align: center;
	padding: 20px;
}

footer a {color: inherit;text-decoration: none;}
footer .pr {display: block;}

.list-normal .list {
	padding-top: 1rem;
	padding-right: 0;
	padding-left: 0;
	padding-bottom: 2rem;
}

.list-normal .list figure {
	margin-bottom: 1rem;
}

.list-normal .list h4 {
	margin: 0;
	margin-bottom: 0.5em;
	font-size: 1.3rem;
}

.list-normal .list p {
	margin: 0;
	font-size: 0.9rem;
	padding-top: 0px;
}

@media screen and (min-width:900px) {

.list-normal .list div {
	flex: 1;
}

.list-normal .list {
	display: flex;
	align-items: center;
}

.list-normal .list figure {
	margin-bottom: 0;
	width: 40%;
	margin-right: 2rem;
}

}

.list-half .list {
	display: flex;
	flex-direction: column;
	margin-bottom: 5rem;
}

.list-half .list h4 {
	margin: 0;
	font-size: 1.5rem;
}

.list-half .image-l img, .list-half .image-r img {
	border-radius: 10px;
	box-shadow: 5px 5px 5px rgba(0,0,0,0.1);
}

@media screen and (min-width:900px) {

.list-half .list {
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}

.list-half .image-l, .list-half .image-r {
	width: 30%;
}

.list-half .image-r {
	margin-left: 2rem;
}

.list-half .image-l {
	order: -1;
	margin-right: 2rem;
}

.list-half .text{
	flex: 1;
}

}

.list-half .list-re {
	background: #e7f1f1;
	margin-top: -2rem;
	margin-bottom: 5rem;
	padding: 2rem;
	font-size: 0.9rem;
	border-radius: 10px;
	position: relative;
}
.list-half .list-re::before {
	content: "▲";
	font-size: 30px;
	color: #e7f1f1;
	position: absolute;
	top: -1.2em;
	left: calc(50% - 0.5em);
	transform: scale(1.5, 0.8);
}

.list-grid .list {
	position: relative;
    display: grid;
    grid-template-rows: auto 1fr auto;
	margin-bottom: 1rem;
}

.list-grid .list h4 {
	margin: 0;
}

.list-grid .list .text p {
	margin: 0;
	font-size: 0.8em;
	line-height: 1.5;
}

.list-grid .list figure {
	margin-bottom: 1rem;
}

.list-grid .btn a {
	display: block;text-decoration: none;
	text-align: center;
	background: var(--primary-color);
	color: var(--primary-text-color);
	padding: 5px 10px;
	margin-top: 1rem;
}

@media screen and (min-width:900px) {

.list-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

.list-grid .list {
	margin-bottom: 0;
}

}

.new {
	margin: 0;
	display: flex;
	flex-wrap: wrap;
}

.new dt,
.new dd {
	padding: 5px 0;
}

.new dt {
	width: 8em;
}

.new dt span {
	display: none;
}

.new dd {
	width: calc(100% - 8em);
}

@media screen and (min-width:900px) {

.new dt {
	width: 14em;
	display: flex;
	justify-content: space-between;
}

.new dt span {
	display: inline-block;
	width: 7em;
	background: #999;
	color: #fff;
	font-size: 0.8em;
	text-align: center;
	margin-right: 1em;
	align-self: flex-start;
	line-height: 1.8;
	position: relative;top: 0.4em;
	border-radius: 2px;
}

.new dt span.icon-bg1 {
	background: #cd0000;
}

.new dt span.icon-bg2 {
	background: #006acd;
}

.new dd {
	width: calc(100% - 14em);
}

}

.faq dt {
	border-radius: 3px;
	margin-bottom: 1rem;
	background: #fff;
	border: 1px solid #ccc;
	text-indent: -2rem;
	padding: 5px 1em 5px 3em;
}

.faq dt::before {
	font-family: "Font Awesome 5 Free";
    content: "\f059";
	padding-right: 1rem;
}

.faq dd {
	padding: 5px 1rem 30px 3rem;
}

.openclose {
	cursor: pointer;
}

.thumbnail-view {
	max-width: 1000px;
	margin: 0 auto 1rem;
	text-align: center;
}

.thumbnail {
	display: flex;
	justify-content: center;
	margin-bottom: 2rem;
}

.thumbnail img {
	width: 100px;
	margin: 2px;
	cursor: pointer;
	transition: 0.3s;
}
.thumbnail img:hover {
	opacity: 0.8;
}

.back {
	text-align: center;
}
.back a {
	text-decoration: none;display: inline-block;
	padding: 0.5rem 2rem;
	border-radius: 30px;
	background: #eee;
}
.back a::before {
	font-family: "Font Awesome 5 Free";
	content: "\f0d9";
	padding-right: 0.8em;
	font-weight: bold;
	opacity: 0.5;
}

.bg1 {
	background: var(--secondary-color);
	color: var(--primary-text-color);
}

.bg1 a {
	color: inherit;
}

.ta1 caption {
	font-weight: bold;
	padding: 10px 5px;
	background: #555;
	margin-bottom: 15px;
	border-radius: 5px;
	color: #fff;
}

.ta1 {
	width: 100%;
	margin: 0 auto 2em;

.pagetop-show {display: block;}

.pagetop a {
	display: block;text-decoration: none;text-align: center;z-index: 99;
	position: fixed;	
	right: 20px;		
	bottom: 20px;		
	background: rgba(0,0,0,0.3);	
	width: 50px;		
	line-height: 50px;	
	color: #fff;		
}

.clearfix::after {content: "";display: block;clear: both;}
.color-check, .color-check a {color: #ff0000 !important;}
.color-theme, .color-theme a {color: var(--secondary-color) !important;}
.l {text-align: left !important;}
.c {text-align: center !important;}
.r {text-align: right !important;}
.ws {width: 100%;display: block;}
.wl {width: 100%;display: block;}
.mb0 {margin-bottom: 0px !important;}
.mb30 {margin-bottom: 30px !important;}
.mb5rem {margin-bottom: 5rem !important;}
.look {display: inline-block;padding: 0px 10px;background: #eee;border: 1px solid #ccc; border-radius: 3px;margin: 5px 0; word-break: break-all;}
.small {font-size: 0.75em;}
.large {font-size: 2em; letter-spacing: 0.1em;}
.pc {display: none;}
.dn {display: none !important;}
.block {display: block !important;}

@media screen and (min-width:900px) {
	.ws {width: 50%;display: inline;}
	.sh {display: none;}
	.pc {display: block;}
}
