@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 img {
	width: 100vw;
}

/*メインコンテンツ
-------------------------------------*/
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;
	padding: 1rem 0;
	background-color: #101841;
}
.copyright a {
	color: #fff;
	text-decoration: none;
	display: inline;
}

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

/*文字の装飾
-------------------------------------*/
.highlight {
	background: -webkit-linear-gradient(transparent 70%, #f6eb3e 70%);
	background: -o-linear-gradient(transparent 70%, #f6eb3e 70%);
	background: linear-gradient(transparent 70%, #f6eb3e 70%);
	font-weight: bold;
}

.underline {
	border-bottom: 1px solid #000;
}

.marker_full{
	font-weight: bold;
	background:linear-gradient(transparent 0%, #f6eb3e 0%) repeat scroll 0 0;
}

/*オレンジ色のボタン
-------------------------------------*/
.btn_orange a {
	color: #fff;
	font-size: 2.4rem;
	font-weight: bold;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 460px;
	height: 82px;
	border-radius: 5px;
	background: #ff7300;
}

.submit-button {
	height: 72px;
	max-width: 410px;
	width: 80%;
	font-size: 2.4rem;
	font-weight: bold;
	text-align: center;
	color: #ffffff !important;
	border-color: #ffa41c !important;
	background-color: #ff7300 !important;
	border-radius: 5px;
}
.submit-button:hover {
	color: #eeeeee !important;
	border-color: #fa8900 !important;
	background-color: #fa8900 !important;
}


/*固定ボックス
-------------------------------------*/
.flex{
	display: flex;
	flex-wrap: wrap;
}

.fixed_box {
	width: 100%;
	height: 110px;
	background: #333;
	z-index: 10;
	transition: all .5s ease;
}
.fixed_box_fixed {
	position: fixed;
	bottom:0;
	left:0;
}
.fixed_box .box {
	align-items: center;
	justify-content: space-between;
	padding: 20px;
	width: 100%;
	max-width:1340px;
	height: 100%;
	margin: 0 auto;
}
.fixed_box .title {
	width: 30%;
	color: #ffeb00;
	font-weight: bold;
	font-size: 2.0vw;
	text-align: center;
	padding: 0.5em 1em;
	border: 1px solid #ffeb00;
}
.fixed_box .tel {
	width: 30%;
	text-align: center;
}
.fixed_box .tel .txt1 {
	color: #fff;
	font-weight: bold;
	font-size: 2.0vw;
	margin: 0 auto;
}
.fixed_box .tel .txt2 {
	color: #fff;
	font-weight: bold;
	font-size: 1.5vw;
	margin: 0 auto;
}
.fixed_box .btn {
	max-width: 410px;
	width: 30%;
	margin: 0;
}
.fixed_box .btn a {
	font-size: 2.0vw;
	width: 100%;
	height: 50px;
}

@media screen and (max-width: 768px) {
	.fixed_box {
		height: 80px;
	}
	.fixed_box .box {
		margin-left: 10px;
		margin-right: 10px;
		width: 100%;
	}
	.fixed_box .title {
		width: 30%;
		font-size: 2.0vw;
		padding:0.5em;
	}
	.fixed_box .tel {
		width: 30%;
		text-align: center;
	}
	.fixed_box .tel .txt1 {
		font-size: 2.0vw;
		margin: 0 auto;
	}
	.fixed_box .tel .txt2 {
		font-size: 1.5vw;
		margin: 0 auto;
	}
	.fixed_box .btn {
		width: 30%;
		margin: 0;
	}
	.fixed_box .btn a {
		font-size: 2.0vw;
	}
}

@media screen and (max-width: 480px) {
	.fixed_box {
		height: 42vw;
	}
	.fixed_box .box {
		padding: 4vw 0;
		width: 85vw;
	}
	.fixed_box .title {
		width: 80vw;
		font-size: 3.2vw;
		padding: 0.5em;
		margin-left: 5vw;
		margin-bottom: 0vw;
	}
	.fixed_box .tel {
		width: 80vw;
		text-align: center;
		margin-top: 1vw;
	}
	.fixed_box .tel .txt1 {
		font-size: 5vw;
		margin: 0 auto;
	}
	.fixed_box .tel .txt2 {
		font-size: 3vw;
		margin: 0 auto;
	}
	.fixed_box .btn {
		width: 100%;
		margin-left: 5vw;
	}
	.fixed_box .btn a {
		font-size: 4vw;
		height: 40px;
	}
}



/* 幅768px以下の表示
-------------------------------------*/
@media screen and (max-width: 768px){

	/*ヘッダー
	-------------------------------------*/
	.header-box {
		display: none;
	}	

	/*お問い合わせ
	-------------------------------------*/
	.table th {
		width: 100%;
		display: block;
	}
	.table td {
		display: block;
	}

	/*オレンジ色のボタン
	-------------------------------------*/
	.btn_orange a {
		font-size: 4.8vw;
		width: 100%;
		height: auto;
		padding: 1em;
		border-radius: 2.5vw;
	}

}
