@charset "UTF-8";
@import url("grid.css");

img {
	max-width:100%;
	height: auto;/*高さ自動*/
}
a {
    display:block;
    color: #666;
    text-decoration-line: none;
}
a:hover { 
    color: #999;
}

/*ヘッダー
-------------------------------------*/
.header {
	display: flex;
    flex-direction: row;
    padding: 2rem 0 0 0;
}
.header-box {
	margin-left: auto;
	margin-top: 8px;
}
.contact-button {
	padding: 1rem;
	border: 2px solid #000;
}
nav ul {
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
	margin: 1rem 0 0 0;
}
nav li {
	flex: 1 0 auto;
}
nav li a {
    text-decoration: none;
    text-align: center;
    width: 100%;
}
nav a:hover {
    background-color: #f7f7f7;    
}
nav a {
    padding: 0.5rem;
}

@media screen and (min-width: 768px){
/* PC時はMENUボタンを非表示 */
#open,#close {
    display: none !important;
}

#navi {
    display: block !important;
}
}

@media screen and (max-width: 768px){
.header {
	flex-direction: column;
    margin-bottom: 10px;
}
.header #open,#close  {
    position: absolute;
    top: 20px;
    right: 12px;
}
nav ul {
	flex-direction: column;
}
.header li {
	padding-top: 0;
}
/* スマホ時はMENUボタンを表示 */
#open {
    display: block;
    background: url(../img/button.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
#close  {
    display: block;
    background: url(../img/button2.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
/* スマホ時はメニューを非表示 */
#navi {
    display: none;
}
}
    
/*メイン画像
-------------------------------------*/
.mainimg{
position: relative;
}

.mainimg{
    background-image: url(../img/mainimg.jpg);
    height: 580px;
    background-position: center;
    background-size: cover;
}

.mainimg .catch {
    height: 170px;
    position: absolute;
    left: 0;
    padding: 40px 0;
    right: 0;
    top: 0%;
    background-color: #FFF;
    bottom: 0;
    margin: auto;
    opacity: 0.86;
}

.mainimg img {
    width: 100vw;
}

.mainimg  .catch h2 {
    font-size: 30px;
    max-width: 1200px;
    width: 100%;
	margin: auto;

}
.mainimg  .catch p {
    font-size: 18px;
	padding-top: 15px;
    max-width: 1200px;
    width: 100%;
	margin: auto;
	padding-left: 20px;
	padding-right: 20px;
}


/*メインコンテンツ
-------------------------------------*/
main {
    margin: 5rem 0 0 0;
}
/*
section {
	margin: 5rem 0;
	padding: 3rem 0;
}
*/
.gray-back {
	background-color: #f4f4f4;
}

/*キャッチコピー
-------------------------------------*/
.catch {
    text-align: center;
}
.catch h2 {
    padding-bottom: 1rem;
}
.under {
    border-bottom: 0.4rem solid #000;
    padding:0 1rem 1rem 1rem;
}
.center {
	text-align: center;
	margin-bottom: 4rem;
}

/*申し込みの流れ
-------------------------------------*/
.flow.row {
	margin-bottom: 3rem;
}

/*フッター
-------------------------------------*/
footer {
    background-color: #f7f7f7;
    padding: 5rem 0;
}
footer h4 {
    border-bottom: 3px solid #ccc;
}

/*お問い合わせ
-------------------------------------*/
.contact-box {
	border: 1px solid #ccc;
	text-align: center;
	padding: 2rem 0;
}
.table {
	margin: 4rem 0;
}
.table th {
	width: 250px;
}

/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center!important;
    padding: 1rem 0;
    background-color: #000;
}
.copyright a {
    color: #fff;
    text-decoration: none;
	display: inline;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 15px;
    right: 15px;
}
#pagetop a {
    display: block;
    background: #000;
    color: #fff;
    width: 50px;
    padding: 10px 5px;
    text-align: center;
}
#pagetop a:hover {
    background: #666;
}

/* 幅768px以下の表示
-------------------------------------*/
@media screen and (max-width: 768px){
	
/*ヘッダー
-------------------------------------*/
.header-box {
	display: none;
}	
/*お問い合わせ
-------------------------------------*/
.table th {
	width: 100%;
	display: block;
}	
.table td {
	display: block;
}
}

 /*footer*/


.footer{
padding: 40px  0 0;
background-color:#e3ebf4;
font-size: 14px;
 height: 350px;
}

.f_link ul{
	max-width: 1200px;
	width: 100%;
	display: flex;
	display:-webkit-box;/*--- Androidブラウザ用 ---*/
    display:-ms-flexbox;/*--- IE10 ---*/
    display: -webkit-flex;/*--- safari（PC）用 ---*/

	justify-content: space-between;
	-webkit-justify-content: space-between;
    -ms-flex-pack: space-between;
	align-items: flex-start;
	-webkit-align-items: flex-start;
    -ms-flex-align: start;
	flex-wrap:wrap;
	-ms-flex-wrap : wrap; /*for IE10*/
	-webkit-flex-wrap : wrap; /*for old webkit browser*/
	margin: 0 auto;
}

.f_link li{
    text-align: center;
    padding: 0px 3px 0px 0px;
	
}

.f_link li span{
	font-size: 12px;}

address{margin-top: 15px;
max-width: 900px;
	width: 100%;
	margin: 0 auto;}


address {

}

.foot_logo{
	float:left;
margin: 0 auto;}	

address ul{
    display: flex;
	display:-webkit-box;/*--- Androidブラウザ用 ---*/
    display:-ms-flexbox;/*--- IE10 ---*/
    display: -webkit-flex;/*--- safari（PC）用 ---*/
    justify-content: space-between;
	-webkit-justify-content: space-between;
    -ms-flex-pack: space-between;
	align-items: flex-start;
	-webkit-align-items: flex-start;
    -ms-flex-align: start;
	flex-wrap:wrap;
	-ms-flex-wrap : wrap; /*for IE10*/
	-webkit-flex-wrap : wrap; /*for old webkit browser*/
}

address ul:nth-child(2){
    max-width: 900px;
    width: 100%;
    margin: 0 auto;	
    display: flex;
	display:-webkit-box;/*--- Androidブラウザ用 ---*/
    display:-ms-flexbox;/*--- IE10 ---*/
    display: -webkit-flex;/*--- safari（PC）用 ---*/
	justify-content: space-between;
	-webkit-justify-content: space-between;
    -ms-flex-pack: space-between;
    align-items: center;
	-webkit-align-items: center;
    -ms-flex-align: center;
    flex-wrap:wrap;
	-ms-flex-wrap : wrap; /*for IE10*/
	-webkit-flex-wrap : wrap; /*for old webkit browser*/
}

address ul li{
	margin: 0 auto 20px;
	width: 50%;
}
address ul:nth-child(2) li{
	width: 33%;
	text-align: center;
}

.copyright{
	background-color: #0C1B42;
	color: #fff;
	padding: 5px;
	text-align: center;
	font-size: 12px;
}

.add_info{
	float:right;
    font-family: cursive;
}

.f_link a:hover{text-decoration: underline;}


.spContact {
	display:none;
}


 address li{
    list-style: none;
}


.pls_bn{
    width: 900px;
    margin: auto;
}

	.mainimg .catch .under .sp{
	display: none;
	}	  

input[type="checkbox"], input[type="radio"] {
     margin-right: 5px;
}


@media screen and (max-width:1000px){

	
.spContact {
	display:block;
    position: fixed;
    bottom: 0px;
    right: 0;
	width: 100%;
	margin:0 auto 0;
    display:-webkit-box;/*--- Androidブラウザ用 ---*/
    display:-ms-flexbox;/*--- IE10 ---*/
    display: -webkit-flex;/*--- safari（PC）用 ---*/
	display:flex;
	z-index: 99;
}
.fBtnReq { /* 資料請求 */
	width:100%;
	margin:0;
	background:#316A8A;
	position:relative;
	font-size:94%;
	letter-spacing: -0.1em;
}
.fBtnInq { /* 来場予約 */
	width:50%;
	margin:0;
	background:#123806;
	position:relative;
	font-size:94%;
	border-right:1px solid #567848;
}
.fBtnTel { /* 電話問い合わせ */
	width:50%;
	margin:0;
	background:#F24814;
	position:relative;
	font-size:94%;
}
.fBtnReq span,
.fBtnInq span,
.fBtnTel span {
  font-size:60%;
}
.fBtnReq a,
.fBtnInq a,
.fBtnTel a {
  display: block;
  overflow: hidden;
  margin: 0;
  padding:11px 0;
  text-align:center;
  font-size:16px;
  font-weight:700;
}

.fBtnReq a:link,
.fBtnReq a:active,
.fBtnReq a:visited,
.fBtnInq a:link,
.fBtnInq a:active,
.fBtnInq a:visited,
.fBtnTel a:link,
.fBtnTel a:active,
.fBtnTel a:visited {color: #fff;text-decoration: none;}
.fBtnReq a:hover,
.fBtnInq a:hover {color: #fff; background:#294370; text-decoration:none;}

.fBtnTel a:hover {color: #fff; background:#ef6d45; text-decoration:none;}



	.f_link li{
		width: 33%;
	margin: 10px 0;}

.contact{
	display:none;}	

.copyright{
	margin-bottom:50px;}
	
	
}




@media screen and (max-width:1200px){
.mainimg .catch {
	height: 200px;}
}

@media screen and (max-width:1000px){
	
.mainimg .catch h2 {
    font-size: 25px;
}	
	
	
.mainimg .catch {
 padding-left: 30px;
padding-right: 30px;

	}	
	
	
.foot_logo {
    float: inherit;
    margin: 0 auto;
		text-align: center;
}
	
.pls_bn {
    width: 100%;
}

.add_info {
    float: inherit;


}	
	
address ul li {
    margin: 20px auto 20px;
 }	
	
.footer {
     height: 400px;
    padding-left: 20px;
    padding-right: 20px;
}	
	
	.copyright{
	
	padding-left: 10px;
	padding-left: 10px;}	

	
	
}
@media screen and (max-width:820px){
	
	.foot_logo{
		float:none;
		text-align:center;}
	
.mainimg .catch h2 {
    font-size: 22px;
}	
	
	
	.mainimg .catch .under .sp{
	display: block;
	}	
	.mainimg .catch .under {
	border-bottom: none;
	}
	
	.mainimg .catch h2{
    border-bottom: 0.4rem solid #000;
	}	
	
	
}

	
@media screen and (max-width:690px){
	
.footer {
    height: 820px;
}	
	
	.top_con_btn2 {
    width: 100%;
	
}
.top_con_btn2,
.top_con_btn2 a{
	line-height: 0em !important;}
	

address ul,
address ul:nth-child(2){
	display: block;}
	
	address ul li,
	address ul:nth-child(2) li{
		width: fit-content;
	}	

	
.open{
    width: 50%;
    margin: auto;
}	
	
.mainimg .catch {
    height: 270px;
}	

.mainimg .catch p {
     text-align: left;
}	
	
	
	}


@media screen and (max-width: 480px) {
	
	
.mainimg {
    height: 370px;
 }	
	
	.open{
		text-align: center;
	}

.footer {
    height: 750px;
}	
	
	.more{
   
    padding: 0px 5px;
    width: 20%;
    right: 0;
}
	
	.f_link li{
		width: 50%;
	letter-spacing: -0.05em;}
	
	address ul{
		display: block;
		text-align: center;
	}
	
	address ul li{
		margin: 20px auto;
	}
	
	.tob_btn_h{
		font-size: 18px;
}
	
.mainimg .catch h2 {
    font-size: 18px;
}	

.mainimg .catch p {
	font-size: 15px;}	
	
}

@media screen and (max-width: 300px) {
.footer {
    height: 790px;
}
.mainimg .catch {
    height: 330px;
}	
	
}
