﻿/* PAGE TITLE */
#page_title{
	padding-left: 5%;
}
#page_title figure img{
	width: 90%;
	max-width: 160px;
}
#link_bt.links_bt{
	position: absolute;
	z-index: 3;
	width: 20%;
	max-width: 100px;
	left: 50%;
	bottom: 100%;
	transform: translateX(-50%);
}
#link{
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	animation-name: fadeout;
	animation-duration: 0.5s;
	animation-timing-function: ease;
	animation-fill-mode:forwards;
}
#link .bg_wrap{
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	opacity: 0;
	z-index: 9997;
	transition: all 0.5s;
}
#link .bg_wrap .close_bt{
	position: absolute;
	top: 40px;
	right: 40px;
	width: 40px;
	height: 40px;
	cursor: pointer;
}	
#link ul{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	width: 60%;
	max-width: 800px;
	max-height: 800px;
	opacity: 0;
	z-index: 9999;
	overflow: auto;
	transition: all 0.5s;
}
#link ul li{
	padding: 2%;
}
#link.on{
	z-index: 9998;
	animation-name: fadein;
	animation-duration: 0.5s;
	animation-timing-function: ease;
	animation-fill-mode:forwards;
}
#link.on .bg_wrap,#link.on ul{
	opacity: 1;
}

/* INTRO */
#intro{
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	animation-name: fadeout;
	animation-duration: 0.5s;
	animation-timing-function: ease;
	animation-fill-mode:forwards;
}
#intro .bg_wrap{
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	opacity: 0;
	z-index: 9997;
	transition: all 0.5s;
}
#intro .bg_wrap .close_bt{
	position: absolute;
	top: 40px;
	right: 40px;
	width: 40px;
	height: 40px;
	cursor: pointer;
}	

#intro .overflow{
	position: fixed;
	width: 80%;
	max-width: 600px;
	top: 10%;
	left: 10%;
	z-index: 9999;
	opacity: 0;
	pointer-events: auto;
}
#intro h2{
	text-align: center;
}
#intro h2 img{
	width: 250px;
	max-width: 100%;
	height: auto;
}
#intro #intro_wrap{
	max-width: 600px;
	max-height: 800px;
	margin: 20px auto;
	overflow:auto;
	-webkit-overflow-scrolling: touch;
	padding: 10px 10px 0;
	box-sizing: border-box;
}
#intro #intro_wrap::-webkit-scrollbar{ 
    width: 2px;
}
#intro #intro_wrap::-webkit-scrollbar-track-piece:end{
    background: #fff;
}
#intro #intro_wrap figure{
	margin-bottom: 30px;
	text-align: center;
}
#intro #intro_wrap p{
	font-size: 14px;
}
#intro #intro_wrap #intro_txt{
	margin-bottom: 20px;
}
#intro #intro_wrap #footer_box{
	text-shadow: 0 1px 2px rgba(0,0,0,0.2);
	padding: 10px;
	line-height: 2;
	margin-bottom: 10px;
}
#intro.on{
	z-index: 9998;
	animation-name: fadein;
	animation-duration: 0.5s;
	animation-timing-function: ease;
	animation-fill-mode:forwards;
}
#intro.on .bg_wrap,#intro.on .overflow{
	opacity: 1;
}
#top_return.retop{
	width: 50px;
	height: 50px;
	bottom: -200px;
	right: 20px;
	transition: all 0.5s;
	cursor: pointer;
}
#top_return.retop span{
	width: 100%;
	height: 100%;
}

.cate .retop{
	text-align: right;
	padding: 30px 0;
}
.cate .retop span{
	display: inline-block;
	border-bottom: 1px solid;
	cursor: pointer;
}
@media all and (-ms-high-contrast: none){
	.pager li a span{
		padding-top: 5px;
	}
	.cate_list li a{
		padding-top: 15px;
	}
	#info_box dl{
		padding-top: 15px;
	}
	#sitemap_box ul li a{
		padding-top: 17px;
	}
	#copyright{
		padding-top: 6px;
	}
}

@media screen and (min-width: 769px){
.pointer{cursor: pointer}
#wrap{
	overflow: hidden;
	-webkit-text-size-adjust: 100%;
}
#pc_menu{
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	animation-name: fadeout;
	animation-duration: 0.5s;
	animation-timing-function: ease;
	animation-fill-mode:forwards;
}
#pc_menu .bg_wrap{
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	opacity: 0;
	z-index: 9997;
	transition: all 0.5s;
}
#pc_menu .bg_wrap .close_bt{
	position: absolute;
	top: 40px;
	right: 40px;
	width: 40px;
	height: 40px;
	cursor: pointer;
}	
#pc_menu ul{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	width: 60%;
	max-width: 800px;
	max-height: 800px;
	opacity: 0;
	z-index: 9999;
	overflow: auto;
	transition: all 0.5s;
}
#pc_menu ul li{
	padding: 2%;
}
#pc_menu.on,#link.on{
	z-index: 9998;
	animation-name: fadein;
	animation-duration: 0.5s;
	animation-timing-function: ease;
	animation-fill-mode:forwards;
}
#pc_menu.on .bg_wrap,#pc_menu.on ul{
	opacity: 1;
}

/* ----- PCメイン（左） ----- */
#main_left{
	position: fixed;
	top: 0;
	left: 0;
	width: 40%;
	height: 100%;
	min-height: 800px;
	overflow: hidden;
	box-sizing: border-box;
	z-index: 9;
	/*box-shadow: -5px 0 10px rgba(0,0,0,0.2) inset;*/
}
#main_left img{
	z-index: 0;
}
#main_left #footer_txt{
	position: absolute;
	padding: 5%;
	width: 80%;
	box-sizing: border-box;
	left: 10%;
	top: 10%;
	z-index: 1;
}
#main_left #left_link{
	top: 70%;
	left: 50%;
	transform: translate(-50%,-50%);
}
/* ----- PCメイン（右） ----- */
#main_right{
	width: 60%;
	margin-left: 40%;
}
#main_right header{
}
#main_right header,#main_right main #page_container,#page_title{
	padding-right: 100px;
}
header h1{
}
#pc_tel img{
	width: 60px;
	height: auto;
}

/* ----- PCメニューバー ----- */
/*
#left_bar{
	width: 100px;
	height: 100%;
	position: fixed;
	top: 0;
	right: 0;
	box-sizing: border-box;
}
*/
#left_bar div{
	position: fixed;
	right: 15px;
	width: 70px;
	box-sizing: border-box;
	padding: 10px;
	border-radius: 8px;
}
#left_bar #menu_bt{
	top: 5%;
}
#left_bar #scroll{
	bottom: 5%;
	transition: all 0.5s;
}
#left_bar #scroll img{
	animation-name: fadeinloop;
	animation-duration: 2s;
	animation-timing-function: ease;
	animation-iteration-count: infinite;
}
#left_bar #scroll.hide{
	bottom: 5%;
	animation-name: fadein;
	animation-duration: 1s;
	animation-timing-function: ease;
}
}
/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
	main{
		background-color: transparent!important;
	}
	header h1{
		padding: 2vh 0;
		position: relative;
		border-bottom: none;
		-webkit-transform: translate(0, 0);
		-ms-transform: translate(0, 0);
		transform: translate(0, 0);
		left: 0;
		z-index: 2;
		width: 100%;
	}
	header h1 a{
		height: 18vh;
		padding: 1vh 0;
		text-align: center;
		position: relative;
	}
	header #top_header .tel_bt a,header #top_header .intro_bt a{
		padding: 5%;
		display: inline-block;
		box-sizing: border-box;
	}
	#link ul{
		top: 10%;
		left: 10%;
		transform: translate(0);
		width: 80%;
	}
	#page_title{
		padding-left: 0;
	}
/* ----- PCメイン（左） ----- */
	#main_left{
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		min-height: auto;
		overflow: hidden;
		/*box-shadow: -5px 0 10px rgba(0,0,0,0.2) inset;*/
		z-index: -1;
	}
/* ----- PCメイン（右） ----- */
	#main_right{
		margin-left: 0;
		padding-bottom: 130px;
		z-index: 1;
		box-sizing: border-box;
		background-color: transparent;
		position: fixed;
		width: 100%;
		height: 100%;
		max-width: 768px;
		top: 0;
		overflow: auto;
		-webkit-overflow-scrolling: touch;
		left: 50%;
		-webkit-transform: translate(-50%, 0);
		-ms-transform: translate(-50%, 0);
		transform: translate(-50%, 0);
	}
	#main_right::-webkit-scrollbar{ 
		width: 2px;
	}
	#main_right::-webkit-scrollbar-track-piece:end{
		background: #fff;
	}
	#page_container{
		padding-bottom: 80px;
	}
	#main_menu{
		position: fixed;
		width: 100%;
		bottom: 0;
		left: 0;
		z-index: 99;
	}

/* ----- PCメニューバー ----- */
	#left_bar{
		width: 100px;
		height: 100%;
		position: fixed;
		top: 0;
		right: 0;
		box-sizing: border-box;
	}
	.pager li:not(.prev){
		display: none;
	}
}

/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
	#page_title figure img{
		max-width: 100px;
	}
	#link .bg_wrap .close_bt,#intro .bg_wrap .close_bt{
		position: absolute;
		top: 20px;
		right: 20px;
		width: 30px;
		height: 30px;
		cursor: pointer;
	}	
	#intro #intro_wrap{
		max-height: 400px;
	}

/* ----- PCメイン（右） ----- */
	#main_right{
		padding-bottom: 100px;
	}
}

/* ---------- animation ---------- */
@keyframes fadein {
	0% {opacity: 0;}
	100% {opacity: 1;}
}
@keyframes fadeout {
	0% {opacity: 1;}
	100% {opacity: 0;z-index: -1}
}
@keyframes fadeinloop {
	0% {opacity: 0.3;}
	50% {opacity: 1;}
	100% {opacity: 0.3;}
}


/* PAGE07 */
#page7 #map iframe{
	width: 100%;
	height: 400px;
}

/* PAGE08 */
#page8 #contact_box {
	margin-bottom: 30px;
	padding: 20px 10px;
}
#page8 .caution_box {
	padding: 0 2%;
	margin-bottom: 50px;
}
#page8 .caution_box p{
	display: block;
	margin-left: 15px;
	margin-bottom: 10px;
	position: relative;
}
#page8 .caution_box p:last-of-type{
	margin-left: auto;
}
#page8 .caution_box p::before{
	display: block;
	content: "●";
	position: absolute;
	top: 0;
	left: -20px;
}
#page8 .caution_box p:last-of-type::before{
	display: none;
}
#page8 .tel_btn {
	text-align: center;
	font-weight: bold;
	padding: 2% 0;
	font-size: 18px;
}
#page8 .tel_btn span {
	font-size: 10px;
}
#page8 .form {
	text-align: center;
}
#page8 .form h3 {
	padding:5px 3%;
	text-align: center;
}
#page8 .form input {
	padding: 5px;
	width:94%;
	margin-bottom: 5px;
	border:none;
	border-bottom: 1px solid;
}
#page8 .form textarea {
	padding: 5px;
	width:94%;
	margin-bottom: 20px;
	border:none;
	border-bottom: 1px solid;
}
#page8 .form input[type="button"],
#page8 .form input[type="reset"] {
	width:40%;
	margin:0 2%;
	padding: 10px;
	background-size: 100%;
	letter-spacing: 1px;
	font-family: "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
	-webkit-appearance: none;
	border: none;
	border-bottom: 1px solid;
	cursor: pointer;
}
#page8 .form input:disabled{
	cursor: auto;
}
#page8 .g-recaptcha > div{
	margin: 0 auto;
} 
@media all and (-ms-high-contrast: none){
#page8 .form input[type="button"],
#page8 .form input[type="reset"] {
	padding-top: 14px;
}
}


/* PAGE09 */
#page9 .box_wrap{
	background-color: rgba(255,255,255,0.70);
}
#page9 .box_wrap .box:last-of-type{
	margin-bottom: 0;
}
#page9 .box_wrap .box p a{
	display: inline-block;
	padding: 5px;
	margin: 5px;
	border-radius: 3px;
}
@media screen and (-ms-high-contrast: none){
#page9 .box_wrap .box p{
	padding: 10px 0;
}
#page9 .box_wrap .box p a{
	padding-top: 10px;
}
}
@supports (-ms-ime-align:auto) {
#page9 .box_wrap .box p{
	padding: 10px 0;
}
}


/* PAGE10 */
#page10 #sitemap_box {
	padding: 3%;
}
#page10 .box_wrap{
	background-color: rgba(255,255,255,0.70);
	margin-bottom: 30px;
	padding: 10px;
}
#page10 ul li {
	text-align: center;
	margin: 3% 0;
	transition: ease 0.3s;
}
#page10 ul li a {
	display: block;
	padding: 10px 0;
}
#page10 ul li:hover {
	transform: translateY(-5px);
}
@media screen and (-ms-high-contrast: none){
#page10 ul li a {
	padding-top: 16px;
}
}