﻿@charset "utf-8";

body {
	margin: 0 auto;
	font-size:1.1vw;
	background-color: white;
	font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

h1 {
	color: #330000;
	font-size:3vw;
}
h2 {
	color: #330000;
	font-size:2vw;
}
h3 {
	color: #330000;
	font-size:1.6vw;
}
h4 {
	color: #222222;
	font-size:1.2vw;
	margin: 0;
}
h5 {
	color: #222222;
	font-size:1.1vw;
	margin: 0;
}
p {
	color: #000000;
	font-size:1.0vw;
	margin: 0;
}

.clearfix::after {
	content: "";
	display: block;
	clear: both;
}

.kasen1 {
	display: inline-block;
	width: 80%;
	height: 5px;
	border-bottom: 2px dotted #6091d3;
}

/********************************************/
/*****  レイアウト                     ******/
/********************************************/
#fix {
	width: 100%;
	height: 5vw;
	magin-top: 0;
	position: fixed;
	z-index: 1;
}
#container {
	display: inline-block;
	margin-top: 5vw;
	width: 100%;
	height: auto;
	overflow:hidden;
	background-color: white;
    	/* box-shadow: 2px 0 4px gray;/*影*/*/
}

#sideBar {
	float: left;
	width: 20%;
	height: auto;
	margin: 0 auto;
	text-align: left;
	padding-left: 2%;
	padding-bottom: 10000px;
	margin-bottom: -10000px;
	background-color: #e6e6fa;
}

#main {
	float: right;
	width: 75%;
	height: auto;
	margin: 0 auto;
	text-align: center;
	padding: 1%;
}

/********************************************/
/*****  ヘッダー                       ******/
/********************************************/
#header {
	display: inline-block;
	width: 100%;
	height: 5vw;
	background-color: #e6e6fa;
}
#header .logo {
	float: left;
	width: 30%;
	margin-left: 3%;
	top: 50%;
	position: relative;
	transform: translateY(-50%);
}
#header .logo img {
	width: 100%; /*画像サイズ指定*/
	height: auto;
}

#header .txt {
	float: left;
	width: 30%;
	margin-left: 3%;
	text-align: left;
	top: 50%;
	position: relative;
	transform: translateY(-50%);
}

#header .contact {
	float: right;
	width: 20%;
	margin-right: 3%;
	top: 50%;
	position: relative;
	transform: translateY(-50%);
}
#header .contact img {
	width: 100%; /*画像サイズ指定*/
	height: auto;
}

/********************************************/
/*****  キャッチ画像                   ******/
/********************************************/
#catch img {
	width: 100%;
	height: auto;
	/*margin-bottom: 5%;*/
}

/********************************************/
/*****  フッター                       ******/
/********************************************/
#footer {
	display: inline-block;
	width: 100%;
	height: 10%;
	text-align: center;
	background-color: #4682b4;
}

#footer p{
	color: white;
	font-size:1.0vw;
	position: relative;
	top: 50%;
	transform: translateY(-50%);
}

/********************************************/
/*****  リスト                         ******/
/********************************************/
/*--- １列 ---*/
.list1 {
	display: inline-block;
	width: 100%;
	height: auto;
	text-align: left;
	margin-top: 0;
	margin-bottom: 10%;
}
.list1 ul {
	width: 100%;
	margin: 0 auto;
	color: black;
	list-style:  none;
	padding-left: 1.50vw; 
}
.list1 ul li{
	padding: 1%;
	float: left;
	width: 100%;
}
.list1 ul li:before {
	content:  "";     /* 空の要素作成 */
	width:  0.5vw;               /* 幅指定 */
	height:  0.5vw;              /* 高さ指定 */
	display:  inline-block;     /* インラインブロックにする */
	background-color: #F44336;  /* 背景色指定 */
	border-radius:  50%;        /* 要素を丸くする */
}
.list1 ul li a{
	text-decoration: none;
	color: #4a3a15;
}
.list1 ul li a:hover {
	color: #008080;
	font-weight: bold;
}

/********************************************/
/*****  トップへ戻る                   ******/
/********************************************/
#page_top{
	width: 40px;
	height: 40px;
	position: fixed;
	right: 0;
	bottom: 50px;
	background: #003a75; /*ボタンの色*/
	opacity: 0.6;
	border-radius: 50%; /*角の丸み*/
}
#page_top a{
	position: relative;
	display: block;
	width: 40px;
	height: 40px;
	text-decoration: none;
}

#page_top a::after{
	content: '▲';
	font-size: 14px;
	font-weight: bold;
	color: #fff;
	position: absolute;
	top: 10px;
	bottom: 0;
	right: 0;
	left: 0;
	margin: auto;
	text-align: center;
}

/********************************************/
/*****  お問い合わせ                   ******/
/********************************************/
#form-area {
	width: 70%;
	margin: 0 auto;
}
/* for table */
#form-tbl {
	margin-left: 1.5em;
	text-align: left;
}
#form {
	border-collapse: collapse;
	margin: 1em 0;
}
#form th, #form td {
	border: 1px solid #666;
	padding: 8px;
}
#form th {
	white-space: nowrap;
	background: #e8e8e8;
}
#form td {
	background: #fff;
}
p.btn input {
	width: 110px;
	height: 32px;
}

/* for message */
p.msg {
	color: #dd0000;
	margin: 2em;
}
span.msg {
	color: #dd0000;
}

/* for back-button */
form.back {
	margin-top: 2em;
}

/* スマホ用 */
@media only screen and (max-width: 480px) {
	#body { margin-left: 0; }
	
	/* 投稿フォーム */
	#form-tbl { margin: 0 auto; text-align: center; }
	#form { width: 96%; margin: 10px auto; }
    #form th, #form td {
    	text-align: left;
		width: 100%;
        display: block;
        padding: 6px 3px;
        border-top: none;
    }
    #form tr:first-child th	{ border-top: 1px solid #666; }
    p.btn input { width: 10em; }
    
	/* 小見出し */
	h2 { margin: 1em 3px; width: 90%; }
	
	/* サンクス */
	p.msg { margin: 1em auto; }
}

/********************************************/
/*****  ブロック                       ******/
/********************************************/
/*--- １列 ---*/
.block1 {
	display: inline-block;
	width: 80%;
	background-color: white;
}
.block1 .item1 {
	width: 100%;
	margin: 0 auto;
	text-align: center;
}
.block1 .item1 img {
	width: 45%; /*画像サイズ指定*/
	height: auto;
}
.block1 .item2 {
	width: 70%;
	margin: 0 auto;
	text-align: left;
}

/*--- ２列 50%-50%---*/
.block2 {
	display: inline-block;
	width: 80%;
	background-color: white;
}
.block2 .item1 {
	float: left;
	width: 48%;
	text-align: left;
	margin-right: 2%;
}
.block2 .item1 img {
	width: 100%; /*画像サイズ指定*/
	height: auto;
}
.block2 .item2 {
	float: right;
	width: 48%;
	text-align: center;
	margin-left: 2%;
}
.block2 .item2 img {
	width: 100%; /*画像サイズ指定*/
	height: auto;
}

/*--- ２列 15%-85%---*/
.block3 {
	display: inline-block;
	width: 80%;
	background-color: white;
}
.block3 .item1 {
	float: left;
	width: 13%;
	text-align: right;
	margin-right: 2%;
}
.block3 .item2 {
	float: right;
	width: 83%;
	text-align: left;
	margin-left: 2%;
}


