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

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

p.left{
	text-align: left;
	display: inline-block; /*センターに左寄せの魔法*/
}


/*ヘッダー
-------------------------------------*/
.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: auto; /* メニューの縦横長さの指定 */
	text-align: center; /* メニューの文字列の配置(中央寄せ) */
	margin: 0.5rem;
	padding: 0.5rem;
	border: solid 3px #6091d3; /*枠線*/
	border-radius: 10px; /*角の丸み*/
	background-color: #eff7ff; /* メニューの背景色 */
}
nav li a {
	text-decoration: none; /* メニュー項目の装飾(下線を消す) */
	font-weight: bold; /* 太文字 */
    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,#close  {
    display: block;
    width: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
/* スマホ時はメニューを非表示 */
#navi {
    display: none;
}
}
    
/*メイン画像
-------------------------------------*/
.mainimg img {
    width: 100vw;
}

.mainimg2 {
	width: 100vw;
	text-align: center;
	background-color: #f4f4f4;
}
.mainimg2 img {
	width: auto;
}

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

/*キャッチコピー
-------------------------------------*/
.catch {
    width: 750px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 2.0rem;
}
.catch h2 {
	text-align: center;
	line-height: 1.7;
    padding-bottom: 2rem;
}
.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 {
	text-align: center;
    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;
}
.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;
	}
/*最初のタイトル部分
-------------------------------------*/
.catch {
    width: 100%;
    margin: 0 auto;
    padding: 0 2.0rem;
}
.catch h2 {
		padding: 2rem;
		font-size: 2rem;
	}
.under {
		border-bottom: 0.3rem solid #000;
		padding: 0.1rem;
	}
/*フォントのサイズ調整
-------------------------------------*/
h1, h2, h3, h4, h5, h6 {
		font-size: 2rem;
		line-height: 1.7;
		font-weight: normal;
}
}

/*観望会とかのテーブル枠指定
-------------------------------------*/
table{
  border-collapse: collapse;
  width: 100%;
}
/*テーブル枠その1
-------------------------------------*/
.tb01 th,
.tb01 td{
  padding: 10px;
  border: solid 1px #ccc;
  text-align:center;
  box-sizing:border-box;
}
.tb01 th {
  background: #e95388;
  color: #fff;
}
.tb01 td {
	background-color: #fff;
}
@media screen and (max-width: 768px) {
  .tb01 .head{
    display:none;
  }
  .tb01 {
    width: 100%;
  }
  table.tb01 td {
    display: block;
    width: 100%;
    border-bottom:none;
  }
  table.tb01 td:first-child{
    background: #ea618e;
    color:#fff;
    font-weight:bold;
  }
  table.tb01 td:before{
    content: attr(data-label);
    color: #999;
    display: block;
  }
  .tb01 tr:last-child{
    border-bottom: solid 1px #ccc;
  }
}
/*テーブル枠その２
-------------------------------------*/
.tb02 th,
.tb02 td{
	background: #fff;
	padding: 10px;
	border: solid 1px #ccc;
	text-align:left;
	box-sizing:border-box;
}
.tb02 th {
	background: #ff7bac;
	color: #fff;
}
.tb02 td:first-child{
	background: #f2a0a1;
	color:#333;
	font-weight:bold;
	text-align:center;
}
@media screen and (max-width: 768px) {
	.tb02 {
		width: 100%;
	}
	table.tb02 th,
	table.tb02 td {
		display: block;
		width: 100%;
		border-bottom:none;
	}
	.tb02 tr:last-child{
		border-bottom: solid 1px #ccc;
	}
}

/*目次
-------------------------------------*/
.mokuzi th,
.mokuzi td{
	border: 5px #fff double;
	background-color: #dcdcdc;
	padding: 5px 5px;
	text-align: center;
	box-sizing:border-box;
}

@media screen and (max-width: 768px) {
	.mokuzi {
		width: 100%;
	}
	table.mokuzi th,
	table.mokuzi td {
		display: block;
		width: 100%;
		border-bottom:none;
	}
	.mokuzi tr:last-child{
		border-bottom: 5px #fff double;
	}
}

/*改造カメラ用テーブル
-------------------------------------*/
.ir_cam th {
	font-size: 1.2em;
	text-align: center;
	background: #9932cc;
	border: solid 2px #ccc;
	color: #fff;
	padding: 10px;
}
.ir_cam td {
	background: #fff;
	border: solid 2px #ccc;
	padding: 10px;
}

@media screen and (max-width: 768px) {
	table.ir_cam th {
	font-size: 1em;
	text-align: center;
	background: #9932cc;
	border: solid 2px #ccc;
	color: #fff;
	padding: 10px;
	}
}