@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;
}

.alpha a:hover img {
  opacity: 0.7;
  filter: alpha(opacity=70);
  -ms-filter: "alpha(opacity=70)";
}

/*フォント
-------------------------------------*/
.red {color: red;}

/*ヘッダー
-------------------------------------*/
header {
    position: fixed;
    width: 100%;
    min-width: 1280px;
    height: 60px;
    background: #fff;
    z-index: 9999;
    top: 0;
    overflow: hidden;
}
.header {
	display: flex;
    flex-direction: row;
    padding: 0 0 0 0;
	height: 60px;
	background-color: #fff;
	position: fixed;
	z-index: 1;
}
h1 {
	padding-top:5px;
}
.header-box {
	margin-left: auto;
	margin-top: 8px;
}
.contact-button {
	padding: 1rem;
	border: 2px solid #000;
}
nav {max-width: 900px;}
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;
}
.mainimg {
	padding: 60px 0 0 0;
	text-align: center;
}
.mainimg img{
	max-width: 1280px;
}
@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: 10px;
    right: 12px;
}
h1{width: 250px;}
nav ul {
	flex-direction: column;
}
.header li {
	padding-top: 0;
}
/* スマホ時はMENUボタンを表示 */
#open,#close  {
    display: block;
    width: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
/* スマホ時はメニューを非表示 */
#navi {
    display: none;
}
}
    
/*メイン画像
-------------------------------------*/
.mainimg img {
    width: 100vw;
}

/*メインコンテンツ
-------------------------------------*/
main {

}
section {
	margin: 3rem 0;
	padding: 3rem 0;
}
.gray-back {
	background-color: #f4f4f4;
}

/*キャッチコピー
-------------------------------------*/
.catch {
    text-align: center;
}
.catch h2 {

}
.under {
    border-bottom: 0.4rem solid #000;
}
.center {
	text-align: center;
}

/*申し込みの流れ
-------------------------------------*/
.flow.row {
	margin-bottom: 3rem;
}


/*スペック
-------------------------------------*/
.spec {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.spec table:first-of-type {
    border-left: 1px solid #707070;
}
.spec table {
    max-width: 600px;
    width: 100%;
    color: #232532;
    font-size: 15px;
    border-collapse: collapse;
    border-spacing: 0;
    border-bottom: 1px solid #707070;
}
.spec table th, .spec table td {
    font-weight: 500;
    line-height: 2.2;
    padding: 4px 18px;
}
.spec table th {
    width: 158px;
    text-align: left;
    background: #f3f4fa;
    border: 1px solid #707070;
    box-sizing: border-box;
}
.spec table td {
    border: 1px solid #707070;
}
.spec table th, .spec table td {
    font-weight: 500;
    line-height: 2.2;
    padding: 4px 18px;
}
/*補助金
-------------------------------------*/
.hojokin {
	margin: 20px auto;
	text-align: center;
	max-width: 1200px;
	padding: 0 0 10px 0;
	border: solid 2px #FF0004;}
.hojokin h3 {
	color: #fff;
	font-weight: bold;
	padding: 5px;
	background-color: red;}
.hojokin a {
	display: contents;}
.corplink {padding: 3rem 0 0 0;}

/*フッター
-------------------------------------*/
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: #000;
    color: #fff;
}
.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;
}
}