@charset "UTF-8";

/* ==================================================
shared
================================================== */
#wrapper {
	margin: 0;
	min-height: 100dvh;
	padding: 50px 20px 0;
	position: relative;
}
#wrapper::before {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 70%;
	background: url("../images/main/bg_top.jpg") no-repeat center top;
	background-size: cover;
	z-index: -1;
}
#wrapper::after {
	content: "";
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	height: 30%;
	background: url("../images/main/bg_btm.jpg") no-repeat center top;
	background-size: cover;
	z-index: -1;
}

/* container_body
============================== */
#container_body {
	width: 90%;
	max-width: 560px;
	margin: 0 auto 20px;
	background-color: #ffffff;
	border-radius: 20px;
	padding: 20px 0;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}
#container_gnavi {
	position: fixed;
	top: 25%;
	left: 50%;
	transform: translateX(320px); 
}
#main {
	padding: 0 30px 30px;
}
#contents {
	padding: 0 0 40px;
}
/* header
============================== */
header {
	text-align:center;
	padding: 10px 0;
	position: relative;
}
header #head_access {
	position: absolute;
	top: 5px;
	left: 24px;
}
header #head_access a {
	display: block;
	text-align: center;
	text-decoration: none;
	font-size: 0.75rem;
	letter-spacing: 0.05em;
	font-weight: bold;
	color: #3e9653;
	background: url("../images/header/hnavi_icon_access.png") no-repeat top center;
	padding-top: 32px;
	min-width: 34px;
}


/* navToggle
============================== */
.navToggle {
    display: none;
    position: absolute;
    right: 15px;
    top: 0;
    width: 55px;
    height: 55px;
    cursor: pointer;
    z-index: 3;
    text-align: center;
}
 
.navToggle span {
    display: block;
    position: absolute;
    border-bottom: solid 2px #2e77bb;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
    left: 8px;
}
 
.navToggle span:nth-child(1) {
    top: 7px;
	width: 36px;
}
 
.navToggle span:nth-child(2) {
    top: 15px;
	width: 30px;
}
 
.navToggle span:nth-child(3) {
    top: 24px;
	width: 24px;
}
 
.navToggle span:nth-child(4) {
    border: none;
    color: #2e77bb;
    font-size: 0.75rem;
    font-weight: bold;
	text-transform:uppercase;
    top: 32px;
	left:8px;
}

.globalMenuSp .gnavi_ttl {
	margin: 0 0 20px;
	font-weight: bold;
	color: #000000;
	font-size: 1.5rem;
	background: url("../images/main/ttl_en_menu.png") no-repeat left top;
	padding-top: 25px;
}
.globalMenuSp ul {
	list-style:none;
}
.globalMenuSp ul li {
	margin: 0 0 30px;
	padding-left: 26px;
	position: relative;
	line-height: 1.2;
}
.globalMenuSp ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.6em;
	width: 16px;
	height: 2px;
	background-color: #C299FF;
}
.globalMenuSp ul li a {
	display:block;
	text-decoration:none;
	color:#000000;
}
.globalMenuSp ul li span {
	display: inline-block;
	padding: 0 5px;
	position: relative;
	background-image: linear-gradient(rgba(220, 194, 255, 0.5), rgba(220, 194, 255, 0.5)); /* マーカー色 */
	background-repeat: no-repeat;
	background-position: left bottom;
	background-size: 0% 8px;
	transition: background-size 0.3s ease;
}
.globalMenuSp ul li a:hover span {
	background-size: 100% 8px;
}

/* pankuzu
============================== */
#pankuzu {
	background-color:#FFFFFF;
	color:#666;
	padding:20px;
	font-size:76%;
}
#pankuzu a {
	color:#333333;
}
#pankuzu a:hover {
	color:#666666;
}

/* pnavi
============================== */
#pnavi {
	position:fixed;
	right:0;
	bottom:70px;
	z-index:100;
}
#pnavi a {
	background:url(../images/main/pnavi.gif) no-repeat left top;
	display:block;
	width:30px;
	height:130px;
}
#pnavi span {
	display:block;
	width:30px;
	height:130px;
	position:relative;
	z-index:-1;
	overflow:hidden;
}

/* foot_body
============================== */
#foot_body {
	text-align: center;
}
#foot_body h2 {
	margin: 0 !important;
	padding: 0 !important;
}
#foot_body h2 img {
	width: 150px;
	height: auto;
}
#foot_body .foot_add {
	padding: 15px 0 20px;
	border-bottom: 2px solid #c3defc;
}
#foot_body .foot_add_ttl {
	margin: 0 0 10px;
}
#foot_body .foot_add_ttl span {
	display: inline-block;
	font-weight: bold;
	font-size: 1.5rem;
}
#foot_body .foot_add_cnt {
	margin: 0 0 20px;
}
#foot_body .foot_add_map {
	margin-bottom: 0 !important;
}
#foot_body .foot_add_map a{
	text-decoration: none;
	display: flex;
	justify-content:center;
	align-items:center;
	max-width: 220px;
	min-height: 42px;
	border: 1px solid #2e77bb;
	background-color: #ecf5fc;
	color: #000000;
	margin: 0 auto;
	border-radius: 25px;
	position: relative;
}
#foot_body .foot_add_map a::before {
	position: absolute;
	top: 0;
	left: 0;
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	background: #2e77bb;
	transform: scaleX(0);
	transition: all 0.3s ease;
	transition-property: transform;
	border-radius: 25px;
	z-index: 0;
}
#foot_body .foot_add_map a:hover {
	color: #ffffff;
}
#foot_body .foot_add_map a:hover::before {
	transform: scaleX(1);
}
#foot_body .foot_add_map span {
	position: relative;
	display: inline-block;
	padding-left: 30px;
	z-index: 1;
}
#foot_body .foot_add_map span::after {
	position: absolute;
	top: 50%;
	left: 0;
	content: "";
	background: url("../images/main/map_icon.png") no-repeat left center;
	width: 20px;
	height: 26px;
	margin-top: -13px;
}
#foot_body .foot_add_map a:hover span::after {
	background-image: url("../images/main/map_icon_wht.png");
}
#foot_body #foot_add_detail {
	border-bottom: none;
	padding-bottom: 10px;
}
#foot_add_detail p {
	padding-top: 44px;
	background-position: top center;
	background-repeat: no-repeat;
	margin: 0 0 20px;
	font-size: 1.25rem;
	font-weight: bold;
}
#foot_add_detail p a {
	color: #333333;
	text-decoration: none;
	display: inline-block;
}
#foot_add_detail .foot_add_tel {
	background-image: url("../images/footer/foot_icon_tel.png");
}
#foot_add_detail .foot_add_mail {
	background-image: url("../images/footer/foot_icon_mail.png");
}
#foot_add_detail .foot_add_time {
	background-image: url("../images/footer/foot_icon_time.png");
}
#foot_body .note_txt {
	font-size: 0.875rem;
}

/* top用 */
#foot_body.foot_top h2 img {
	width: inherit;
}
#foot_body.foot_top .foot_add {
	padding: 20px 0 30px;
	border-bottom: 3px solid #c3defc;
}
#foot_body.foot_top #foot_add_detail p {
	font-size: 1.5rem;
}
#foot_body.foot_top .foot_add_map a{
	min-height: 50px;
}

/* footer
============================== */
footer {
	clear:both;
	padding: 0 0 10px;
}
footer address {
	font-size: 0.75rem;
	font-style:normal;
	text-align:center;
	width: 560px;
	margin: 0 auto;
	background-color: #10023f;
	color:#ffffff;
	padding: 2px 5px;
	border-radius: 1.5em;
}

/* topcontrol
============================== */
#topcontrol,
#topcontrol p {
	width:40px;
	height:40px;
}
#topcontrol {
	z-index:100;
}
#topcontrol p {
	display:block;
	background:#000;
	color:#fff;
	border-radius:3px;
	position: relative;
}
#topcontrol p::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0px 6px 10px 6px;
	border-color: transparent transparent #fff transparent;
}
#topcontrol p span {
	text-transform: uppercase;
	text-align:center;
	font-size:0.75rem;
	display:block;
	overflow:hidden;
	text-indent:-9999px;
	white-space:nowrap;
	text-align:left;
}


/* ==================================================
clearfix
================================================== */
.globalMenuSp:after,
#container:after,
footer:after {
	content: ""; 
	display: table;
	clear: both;
}


/* ==================================================
media - 1280 -
================================================== */
@media screen and (max-width: 1280px) {
	#container_gnavi {
		display: none;
	}
	.navToggle {
		display: block;
	}
	.navToggle.active {
		z-index: 100;
	}

	#container_gnavi{
		position: fixed;
		inset: 0;
		display: none;
		justify-content: center;
		align-items: center;
		background: rgba(0,0,0,0.5);
		z-index: 999;
	}

	#container_gnavi.active{
		display: flex;
	}

	.globalMenuSp{
		width: 90%;
		max-width: 420px;
		background: #fff;
		border-radius: 20px;
		padding: 40px 20px;
	}
	/* 表示時 */
	#container_gnavi.active{
		display: flex;
		justify-content: center;
		align-items: center;
		transform: none;
	}

	/* メニュー本体 */
	.globalMenuSp{
		width: 90%;
		max-width: 420px;
		background: #ffffff;
		border-radius: 20px;
		padding: 40px 20px;
		transform: translateY(-30px);
		opacity: 0;
		transition: 0.3s ease;
	}

	/* active時アニメーション */
	#container_gnavi.active .globalMenuSp{
		transform: translateY(0);
		opacity: 1;
	}

	.globalMenuSp .gnavi_ttl {
		background-size: auto 23px;
		padding-top: 3px;
	}
	/* メニューリスト */
	.globalMenuSp ul{
		list-style: none;
		padding: 0;
		margin: 0;
	}

	.globalMenuSp ul li{
		border-bottom: 1px solid #eee;
		padding: 0;
		margin-bottom: 0;
	}
	.globalMenuSp li::before{
		display: none;
	}

	.globalMenuSp li:last-child{
		border-bottom: none;
	}

	.globalMenuSp a{
		display: block;
		padding: 15px 0;
		text-align: center;
		font-size: 1.1rem;
		text-decoration: none;
		color: #333;
		transition: 0.2s;
	}

	.globalMenuSp a:hover{
		color: #2e77bb;
	}
	/* 1本目を消す */
	.navToggle.active {
		z-index: 9999;
	}
	.navToggle.active span:nth-child(1) {
		opacity: 0;
	}

	/* 2本目 */
	.navToggle.active span:nth-child(2) {
		top: 14px;
		left: 8px;
		width: 36px;
		transform: rotate(45deg);
	}

	/* 3本目 */
	.navToggle.active span:nth-child(3) {
		top: 14px;
		left: 8px;
		width: 36px;
		transform: rotate(-45deg);
	}
	.navToggle.active span {
		border-bottom-color: #ffffff;
	}
	.navToggle.active span:nth-child(4) {
		color: #ffffff;
	}
	

}

