@charset "utf-8";


/*PC・タブレット・スマホ共通設定
---------------------------------------------------------------------------*/

/*全体の設定
---------------------------------------------------------------------------*/
body {
	margin: 0px;
	padding: 0px;
	font: 14px/2 "メイリオ", Meiryo, "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro";	/*文字サイズ、行間、フォントファミリー*/
	color: #666;	/*全体の文字色*/
	background: #eef5f9;	/*背景色*/
}
h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,form,figure{
	margin: 0px;
	padding: 0px;
}
ul{
	list-style-type: none;
}
img {
	border: none;
	vertical-align: bottom;
}
input,textarea,select {
	font-size: 1em;
}
form {
	margin: 0px;
}
table {
	border-collapse:collapse;
	font-size: 100%;
	border-spacing: 0;
}

/*リンク（全般）設定
---------------------------------------------------------------------------*/
a {
	color: #666;	/*リンクテキストの色*/
}
a:hover {
	color: #7badc9;			/*マウスオン時の文字色*/
	text-decoration: none;	/*マウスオン時に下線を消す設定。残したいならこの１行削除。*/
}

/*コンテナー（HPを囲むブロック）
---------------------------------------------------------------------------*/
#container {
	width: 950px;	/*コンテナー幅*/
	margin: 20px auto 0px;
}

/*ヘッダー（サイト名ロゴが入ったブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
	/*background: #7badc9 url(../images/bg1.png);	背景色と背景のドット画像（古いブラウザ用）*/
	/*background: url(../images/header_bg.png) no-repeat right center, url(../images/bg1.png), #7badc9;	背景画像の読み込み＆背景画像の読み込み＆背景色指定*/
	background: #7badc9 url(../images/header.jpg);
	border-radius: 8px;	/*角丸のサイズ*/
	height: 130px;		/*ヘッダーの高さ*/
	-webkit-box-shadow: 1px 3px 5px rgba(0,0,0,0.2);	/*影の設定。右・下・ぼかし幅・色の設定。左4つの数字がRGBでの色指定で最後の小数点が透明度。*/
	box-shadow: 1px 3px 5px rgba(0,0,0,0.2);			/*同上*/
	margin-bottom: 20px;	/*ヘッダーとメニューの間のスペース*/
	position: relative;
}
/*ロゴ画像*/
header #logo img {
	position: absolute;
	left: 30px;
	top: 25px;
}


/*メインコンテンツ（左側ブロック）
---------------------------------------------------------------------------*/
#main {
	float: left;	/*左側に流し込み*/
	width: 620px;	/*コンテンツ幅*/
	padding-bottom: 30px;
}
/*１カラム利用時でのmainコンテンツ*/
.c1 #main {
	float: none;
	width: 100%;
}
/*mainコンテンツのh2タグの設定*/
#main h2 {
	clear: both;
	margin-bottom: 15px;
	font-size: 100%;
	color: #FFF;		/*文字色*/
	background: #7badc9 url(../images/bg1.png);	/*背景色と背景のドット画像（古いブラウザ用）*/
	background: url(../images/mark1.png) no-repeat 10px center, url(../images/bg1.png), #7badc9;	/*背景画像の読み込み＆背景画像の読み込み＆背景色指定*/
	padding: 5px 40px;	/*左から上下、左右への余白*/
	border-radius: 8px;	/*角丸のサイズ*/
	letter-spacing: 0.1em;
}
/*mainコンテンツのh3タグの設定*/
#main h3 {
	clear: both;
	margin-bottom: 15px;
	font-size: 100%;
	background: #FFF;	/*背景色（古いブラウザだとここの色のみが出ます）*/
	background: -webkit-gradient(linear, left top, left bottom, from(#FFF), to(#ebebeb));	/*グラデーション*/
	background: -webkit-linear-gradient(#FFF, #ebebeb);	/*同上*/
	background: linear-gradient(#FFF, #ebebeb);			/*同上*/
	padding: 4px 15px;	/*上下、左右への余白*/
	border: 1px solid #bcbcbc;	/*枠線の幅、線種、色*/
	border-radius: 8px;		/*角丸のサイズ*/
	letter-spacing: 0.1em;	/*文字間隔を少し広めにとる設定。*/
}
/*mainコンテンツの段落タグ設定*/
#main p {
	padding: 0.5em 15px 1em;
	line-height: 1.8em;
}
#main p + p {
	padding-top: 0px;
}
#main h2 + p,
#main h3 + p {
	padding-top: 0px;
	margin-top: -5px;
}


/*サブコンテンツ
---------------------------------------------------------------------------*/
#sub {
	float: right;	/*右側に回り込み*/
	width: 300px;	/*サブコンテンツ幅*/
	padding-bottom: 30px;
}
/*１カラム利用時でのsubコンテンツ*/
.c1 #sub {
	display: none;	/*表示させない設定*/
}
/*subコンテンツ内のh2タグ設定*/
#sub h2 {
	font-size: 100%;
	padding-bottom: 10px;		/*下への余白*/
}
/*subコンテンツのh2タグの１文字目への設定*/
#sub h2::first-letter {
	border-left: 3px solid #7badc9;	/*左側のアクセント用ラインの幅、線種、色*/
	padding-left: 10px;	/*アクセントラインと文字の間にとる余白*/
}

/*サブコンテンツ内のメニュー
---------------------------------------------------------------------------*/
/*メニュー全体の設定*/
#sub ul.submenu {
	margin-bottom: 15px;	/*メニューブロックの下に空けるスペース*/
	border-top: solid 1px #e4e4e4;	/*上の線の線種、幅、色*/
}
/*メニュー１個ごとの設定*/
#sub ul.submenu li {
	background: #fff;	/*背景色*/
	border-bottom: solid 1px #e4e4e4;	/*下の線の線種、幅、色*/
	font-size: 13px;
	letter-spacing: -1px;
}
#sub ul.submenu li a {
	text-decoration: none;
	display: block;
	padding: 2px 10px;	/*メニュー内の余白。上下、左右への設定。*/
}

/*サブコンテンツ内のbox1
---------------------------------------------------------------------------*/
#sub .box1 {
	padding: 7px;			/*ボックス内の余白*/
	margin-bottom: 15px;	/*ボックスの下に空けるスペース*/
	background: #e4e4e4;	/*背景色*/
	border: solid 1px #d1d1d1;	/*線の線種、幅、色*/
	border-radius: 8px;	/*角丸のサイズ*/
}
/*box1内のメニューの設定*/
#sub .box1 ul.submenu {
	margin-bottom: 0px;
}

/*フッター設定
---------------------------------------------------------------------------*/
footer {
	width: 950px;
	margin: 0px auto;
	clear: both;
	text-align: center;
}
footer .pr {
	display: block;
	font-size: 70%;
}
footer a {
	text-decoration: none;
}


/*PAGE TOP設定
---------------------------------------------------------------------------*/
#pagetop {
	clear: both;
}
#pagetop a {
	color: #FFF;		/*文字色*/
	font-size: 10px;	/*文字サイズ*/
	background: #333;	/*背景色*/
	text-decoration: none;
	text-align: center;
	width: 50px;	/*ボックス幅*/
	height: 50px;
	line-height: 50px;
	display: block;
	float: right;
}
/*マウスオン時*/
#pagetop a:hover {
	background-color: #666;	/*背景色*/
	color: #FFF;			/*文字色*/
}

/*広告設定*/
.ad1 {
 text-align: center;
 padding-top: 8px;
 padding-bottom: 8px;
}
.ad2 {
 text-align: center;
 padding-top: 8px;
 padding-bottom: 30px;
}
.ad3 {
 padding-top: 8px;
 padding-bottom: 8px;
}


/*その他
---------------------------------------------------------------------------*/
.look {
	background: #dcdcdc;
}
.mb15,
.mb1em {
	margin-bottom: 15px;
}
.clear {
	clear: both;
}
ul.disc {
	padding: 0em 25px 1em;
	list-style: disc;
}
.color1 {
	color: #7badc9;
}
.pr {
	font-size: 10px;
}
.btn {
	font-size: 13px;
}
.wl {
	width: 96%;
}
.ws {
	width: 50%;
}
.c {
	text-align: center;
}
.r {
	text-align: right;
}
figcaption {
	font-size: 11px;
}
img {
	max-width: 100%;
	height: auto;
}



/*ここからタブレット用（481px～800px）環境の設定
---------------------------------------------------------------------------*/
/*表示を切り替えるウィンドウサイズの指定*/
@media (min-width:481px) and (max-width:800px){

/*コンテナー（HPを囲むブロック）
---------------------------------------------------------------------------*/
#container {
	width: auto;
	margin: 15px;
}

/*ヘッダー（サイト名ロゴが入ったブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
	/*background: url(../images/header_bg.png) no-repeat right center/50%, url(../images/bg1.png), #7badc9;*/
	background: #7badc9 url(../images/header.jpg);
}


/*main,subコンテンツ
---------------------------------------------------------------------------*/
#main, #sub {
	float: none;
	width: auto;
	clear: both;
}


/*フッター設定
---------------------------------------------------------------------------*/
footer {
	width: auto;
	margin: 15px;
}

/*その他
---------------------------------------------------------------------------*/
/*<body class="s-n">指定の場合にsubブロックを表示させない設定*/
body.s-n #sub {
	display: none;
}

}



/*ここからスマートフォン用（480px以下）環境の設定
---------------------------------------------------------------------------*/
/*表示を切り替えるウィンドウサイズの指定*/
@media (max-width : 480px){

/*コンテナー（HPを囲むブロック）
---------------------------------------------------------------------------*/
#container {
	width: auto;
	margin: 10px;
}

/*ヘッダー（サイト名ロゴが入ったブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
	/*background: #7badc9 url(../images/bg1.png);*/
	background: #7badc9 url(../images/header.jpg);
	height: 80px;
}
/*ロゴ画像*/
header #logo img {
	position: absolute;
	left: 20px;
	top: 28px;
	width: 60%;
}


/*main,subコンテンツ
---------------------------------------------------------------------------*/
#main, #sub {
	float: none;
	width: auto;
	clear: both;
}

/*mainコンテンツ
---------------------------------------------------------------------------*/
/*mainコンテンツの段落タグ設定*/
#main p {
	padding: 0.5em 5px 1em;	/*左から、上、左右、下への余白*/
}


/*フッター設定
---------------------------------------------------------------------------*/
footer {
	width: auto;
	margin: 15px;
}


/*その他
---------------------------------------------------------------------------*/
.ws {
	width: 96%;
}
/*<body class="s-n">指定の場合にsubブロックを表示させない設定*/
body.s-n #sub {
	display: none;
}


}
