/*************************************************/
/*


　基本設定


*/
/*************************************************/

/*---------------------------------------initial--*/

*{
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	-o-box-sizing:border-box;
	-ms-box-sizing:border-box;
	box-sizing:border-box;
	margin:0;padding:0;
	-webkit-text-size-adjust:100%;
}

body{
	font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", YuGothic, "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif;
	font-size:90%;
	font-style:normal;
	font-weight:normal;
	color:#333;
	text-align:left;
	line-height:1.9;
	background:#fff;
	background-image: url(img/back.png);
}

/*---------------------------------------h--*/

h1{
	font-size:300%;
	text-align: center;
	margin: 40px auto;
	line-height: 1em;
}

h2{
	text-align: center;
	width: 300px;
	margin:40px auto;
	position: relative;
	padding: 1em;
	border-top: solid 2px black;
	border-bottom: solid 2px black;
}
h2:before, h2:after{
	content: '';
	position: absolute;
	top: -7px;
	width: 2px;
	height: -webkit-calc(100% + 14px);
	height: calc(100% + 14px);
	background-color: black;
}

h2:before {left: 7px;}
h2:after {right: 7px;}

h2.siro{
	background:#fff;
}

h3{
	font-size:120%;
	font-style:bold;
	margin: 0.5em 0 ;
	line-height: 1.3em;
	text-align: center;
}

h5{
	border: 1px solid;
	font-size:100%;
	font-style:bold;
	margin: 0 0 20px;
	text-align: left;
	padding: 0 0 0 5px;
	width: 30px;
}


/*---------------------------------------img--*/

img{
    width:auto;
    height:auto;
    max-width:100%;
    max-height:100%;
    border:0px;
	vertical-align:text-bottom;
	margin:0;
}

/*---------------------------------------link--*/

a:link{
	color:#333;
	text-decoration:underline;
	border-bottom:dashed 1px;
	text-decoration:none;
}
a:visited{
	color:#333;
	font-style:normal;
}
a:hover{
	color:#bbb;
	font-style:normal;
}
a:active{
}

a{outline:none;}

/*---------------------------------------button--*/

a.button {
	width:100%;
	padding: 1em;
	margin:0.5em 0;
	display: inline-block;

	font-size: 90%;
	vertical-align:middle;
	text-align: center;
	text-decoration: none;
	line-height: 1.3em;
	outline: none;

	border: solid 2px #333;
	background-color: #333;
	color: #fff;
	border-radius: 2px;

}

a.button:hover {
	background-color: #fff;
	border: solid 2px #333;
	color: #001a43;
	border-radius: 2px;
}

a.siro:hover {
	border: solid 2px #C07A00;
	background-color: #Fff;
	color: #C07A00;
	border-radius: 2px;
}

a.button::before,
a.button::after {
	position: absolute;
	z-index: -1;
	display: block;
	content: '';
}
a.button,
a.button::before,
a.button::after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
/*************************************************/
/*


　レイアウト


*/
/*************************************************/

.section{
	width:100%;
	margin: 0 0 60px 0;
	padding: 0;
	text-align:center;
}

.w900{
	max-width: 900px;
	height:auto;
	margin: 0 auto;

}

.content{
	display: inline-block;
    text-align: center;
	padding: 0;
	margin: 0 auto;
	width: 100%;
}

.section p{
	text-align: left;
	vertical-align: top;
	display: inline-block;
	line-height: 2.2em;
	padding: 0 30px;
}

/*************************************************/
/*


　セクション


*/
/*************************************************/


/*---------------------------------------top--*/
#top{
	height:400px;
	background: url(img/top.jpg) center top / cover no-repeat;
}

/*---------------------------------------access--*/
#access p{
	margin-bottom: 40px;
}

#map{
	position: relative;
	padding-bottom: 25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}

#map iframe{
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
	border: 0;
}


/*---------------------------------------fotter--*/
.fotter{
	height:490px;
	width:auto;
	margin: 0;
	padding-top:100px;
	text-align: center;
	background: url(img/footer.png) center bottom / contain no-repeat;
}

/*************************************************/
/*


　パーツ


*/
/*************************************************/

/*---------------------------------------面クリック--*/
.menclick{
	position:relative;
}
.menclick img{
	width: 100%;
	height: auto;
	max-width: 900px;
	margin: 0;
}
.mentext{
    position: relative;
    z-index: 1;
    text-align: center;

	margin-top: 1em;
	padding-bottom:20px;
	color:#000;

}

.mentext img{
	width:200px;
	height: 200px;
	border: solid 2px;
	border-radius:200px;
	padding: 0;
	margin-bottom: 12px;
}

.mentxet h3{
	text-align:center;
}

.mentext a{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-indent:-999px;
	border:0;
    z-index: 2;
}

.mentext:hover {
	transition-duration:.2s;
}

/*---------------------------------------モーダルウィンドウ--*/
#overlay {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 9;
    background-color: rgba(0, 0, 0, .65);
}
#modal {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 99;
    transform: translate(-50%, -50%);
    max-width: 70vw;
    max-height: 70vh;
    box-sizing: border-box;
    padding: 32px;
    border-radius: 8px;
    background-color: #fff;
	background-image: url(img/back.png);
}
.active {
    display: block !important;
}

/*************************************************/
/*


　部分指定


*/
/*************************************************/

.max50{
	display: inline-block;
	text-align: left;
	margin: 15px;
	background:#fff;
	background-image: url(img/back.png);
}

.mt50{
    margin-top: 50px;
}

.bgc{
	margin: 0 0 20px;
	vertical-align: top;
	border-radius: 10px;
	padding: 1.5em;
}

p.center{
	width: 100%;
	height: auto;
	padding: 20px;
	text-align: center;
	font-style: bold;
	font-weight: bold;
	line-height: 2.8em;
	border-radius: 6px;
	margin-bottom: 10px;
}

p.center span{
	display: inline-block;
}

img.sasie{
	display:block;
	margin: 50px auto;
}

span.left{
	position:relative;
	display: inline-block;
	right: 200px;
}

span.right{
	position:relative;
	display: inline-block;
	left: 200px;
}

span.kakoi{
	font-size:90%;
	padding: 4px 8px;
	border: 1px solid;
}

.ue {
    font-size: 50%;
    vertical-align: super;
}
