@charset "utf-8";

body {
	margin: 0px;
	padding: 0px;
	color: #666;	/*全体の文字色*/
	font-size: 16px;	/*文字サイズ*/
	line-height: 2;		/*行間*/
	background: #ffffff;
}
h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,form,figure,form {margin: 0px;padding: 0px;font-size: 100%;font-weight: normal;}
ul {list-style-type: none;}
ol {padding-left: 40px;padding-bottom: 20px;}
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}
table {border-collapse:collapse;font-size: 100%;border-spacing: 0;}
video {max-width: 100%;}
iframe {width: 100%;}

a {
	color: #666;		/*リンクテキストの色*/
	transition: 0.5s;	/*マウスオン時の移り変わるまでの時間設定。0.5秒。*/
}
a:hover {
	color: #484848;			/*マウスオン時の文字色*/
	text-decoration: none;	/*マウスオン時に下線を消す設定。残したいならこの１行削除。*/
}

.inner {
	max-width: 1500px;	/*サイトの最大幅*/
	margin: 0 auto;
	padding: 0 3%;		/*上下、左右へのボックス内の余白*/
}

header {
	height: 100x;	/*ヘッダーの高さ*/
	color: #fff;	/*文字色*/
}
header a {
	color: #fff;	/*リンクテキストの文字色*/
}


.contents {
	clear: both;overflow: hidden;
	padding-top: 40px;		/*上に空けるボックス内の余白*/
	padding-bottom: 40px;	/*下に空けるボックス内の余白*/
}
/*コンテンツのh2タグ設定*/
.contents h2 {
	clear: both;
	margin-bottom: 20px;	/*見出しの下に空けるスペース*/
	padding: 10px 20px;		/*上下、左右への余白*/
	font-size: 20px;		/*文字サイズ*/
	background: #202020;	/*背景色*/
	color: #fff;			/*文字色*/
	border-radius: 5px;		/*角丸のサイズ*/
	letter-spacing: 0.1em;	/*文字間隔を少し広くとる設定*/
}
/*h2タグの１文字目の設定。左側のアクセントラインです。*/
.contents h2::first-letter {
	border-left: 3px solid #fff;	/*左の線の幅、線種、色*/
	padding-left: 15px;				/*線と文字列との間に空ける余白*/
}
/*h2タグに「class="simple"」を指定した場合の追加設定。大文字でセンタリングされる見出しです。*/
.contents h2.simple {
	background: none;padding: 0;
	font-size: 48px;	/*文字サイズ*/
	text-align: center;	/*文字を中央に*/
	color: #202020;		/*文字色*/
}
.contents h2.simple::first-letter {
	border: none;
	padding: 0;
}
.contents h2.simple + p {
	margin-top: -20px;
}
/*コンテンツのh3タグ設定*/
.contents h3 {
	clear: both;
	margin-bottom: 20px;	/*見出しの下に空けるスペース*/
	padding: 6px 15px;		/*上下、左右への余白*/
	font-size: 18px;		/*文字サイズ*/
    font-weight: bold;
	border: 1px solid #ccc;		/*枠線の幅、線種、色*/
	border-radius: 5px;		/*角丸のサイズ*/
	background: #fff;		/*背景色*/
	color: #333;			/*文字色*/
}
/*h3タグの１文字目への設定。左側のアクセントラインです。*/
.contents h3::first-letter {
	border-left: 3px solid #606060;	/*左の線の幅、線種、色*/
	padding-left: 15px;				/*線と文字列との間に空ける余白*/
}
/*コンテンツの段落タグ設定*/
.contents p {
	padding: 0px 20px 20px;	/*上、左右、下への余白*/
}
/*他*/
.contents h2 + p,
.contents h3 + p {
	margin-top: -10px;
}
.contents section + section {
	margin-top: 30px;
}
.contents p + p {
	margin-top: -8px;
}

footer {
	clear: both;
	font-size: 12px;	/*文字サイズ*/
	color: #000000;	/*文字色*/
}
/*リンクテキスト*/
footer a {
	color: #000000;	/*文字色*/
	text-decoration: none;
}
/*リンクのマウスオン時*/
footer a:hover {
	color: #fff;
}
footer .pr {display: block;}

/*box1（１カラムボックス）
---------------------------------------------------------------------------*/
/*ボックス１個あたりの設定*/
.box1 {
	overflow: hidden;
	background: #fff;		/*背景色*/
	color: #666;			/*文字色*/
	margin: 0 2% 20px;		/*上、左右、下へのボックスの外に空けるスペース*/
	border: 1px solid #eeeae2;	/*枠線の幅、線種、色*/
	padding: 3%;
}
/*box1内のh4(見出し)タグ*/
.box1 h4 {
	color: #484848;		/*文字色*/
	font-size: 24px;	/*文字サイズ*/
	border-bottom: 2px dotted #484848;	/*下線の幅、線種、色*/
	margin-bottom: 10px;	/*下に空けるスペース*/
}
/*box1内のp(段落)タグ*/
.box1 p {padding: 0 !important;line-height: 1.5;}
.box1 p a {color: #666;}
/*box2内のbtn1。本体の設定はこの下の下のブロックにあります。*/
.box1 p.btn1 {margin-top: 20px;}

/*box2（３カラムボックス）
---------------------------------------------------------------------------*/
/*ボックス１個あたりの設定*/
.box2 {
	position: relative;
	width: 24.5%;		/*ボックスの幅*/
	float: left;		/*左に回り込み*/
	text-align: center;	/*内容をセンタリング*/
	padding: 3%;		/*ボックス内の余白*/
	padding-bottom: 75px;	/*下の余白だけ上書き*/
	background: #fff;		/*背景色*/
	border: 1px solid #eeeae2;	/*枠線の幅、線種、色*/
	margin: 0 0 20px 2%;		/*上、右、下、左へのボックスの外に空けるスペース*/
	line-height: 1.5;	/*行間*/
	color: #666;		/*文字色*/
}
/*box2内の日付*/
.box2 span.date {
	position: absolute;
	left: -10px;	/*左から-10pxの場所に配置*/
	top: -10px;		/*上から-10pxの場所に配置*/
	background: #484848;	/*背景色*/
	color: #fff;			/*文字色*/
	font-size: 12px;		/*文字サイズ*/
	width: 50px;			/*幅*/
	line-height: 50px;		/*高さ*/
	border-radius: 50%;		/*円形にする*/
	text-align: center;		/*文字をセンタリング*/
	transform: rotate(-20deg);	/*回転の角度*/
}
/*box2内のp(段落)タグ*/
.box2 p {
	padding: 0 !important;
	height: 4.5em;		/*高さ。*/
	overflow: hidden;	/*オーバーした分は非表示に。*/
	font-size: 14px;	/*文字サイズ*/
	text-align: left;	/*文字を左よせ*/
}
/*段落タグにリンクが設定された場合の文字色*/
.box2 p a {
	color: #666;
}
/*box2内のh4(見出し)タグ*/
.box2 h4 {
	color: #484848;	/*文字色*/
	height: 1.5em;	/*高さ*/
	overflow: hidden;	/*オーバーした分は非表示に。*/
}
/*box2内のfigure(画像)タグ*/
.box2 figure {
	margin-bottom: 5px;	/*下に空けるスペース*/
}
/*box2内のbtn1。本体の設定はこの下のブロックにあります。*/
.box2 p.btn1 {
	height: auto;
	position: absolute;
	bottom: 30px;	/*box2の下から30pxの場所に配置*/
	width: 80%;		/*ボタンの幅*/
}
.box2 p.btn1 a {
	display: block;
	padding: 5px 0;	/*上下、左右へのボタン内の余白*/
}

/*box1、box2のfigure写真共通設定
---------------------------------------------------------------------------*/
.box1 figure a:hover,.box2 figure a:hover {
	opacity: 0.8;	/*マウスオン時に80%透明度にする*/
}

/*btn1
---------------------------------------------------------------------------*/
p.btn1 a {
	text-decoration: none;display: inline-block;
	border: 1px solid transparent;	/*枠線の幅、線種、色。transparentは透明の事。*/
	background: #606060;	/*背景色*/
	color: #fff !important;	/*文字色*/
	border-radius: 3px;		/*角丸のサイズ*/
	padding: 5px 30px;		/*上下、左右へのボタン内の余白*/
	text-align: center;		/*文字をセンタリング*/
}
/*マウスオン時*/
p.btn1 a:hover {
	border: 1px solid #606060;	/*枠線の幅、線種、色。*/
	background: #fff;			/*背景色*/
	color: #606060 !important;	/*文字色*/
}

/*コピーライト
---------------------------------------------------------------------------*/
#copyright {
	clear: both;
	text-align: center;
	font-size: 12px;	/*文字サイズ*/
	color: #000000;		/*文字色*/
}
/*リンクテキスト*/
#copyright a {text-decoration: none;color: #000000;}

/*画面幅1050px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:1050px){}
/*画面幅900px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:900px){
/*contents
---------------------------------------------------------------------------*/
/*h2タグに「class="simple"」を指定した場合の追加設定。大文字でセンタリングされる見出しです。*/
.contents h2.simple {
	font-size: 30px;	/*文字サイズ*/
}
}
/*画面幅700px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:700px){
/*contents
---------------------------------------------------------------------------*/
.contents {
	padding-top: 20px;		/*上に空けるボックス内の余白*/
	padding-bottom: 20px;	/*下に空けるボックス内の余白*/
}
.contents section + section {
	margin-top: 20px;
}
/*box1（１カラムボックス）
---------------------------------------------------------------------------*/
/*ボックス１個あたりの設定*/
.box1 {
	margin: 0 0 20px 0;		/*上、右、下、左へのボックスの外に空けるスペース*/
}

/*box2（３カラムボックス）
---------------------------------------------------------------------------*/
/*ボックス１個あたりの設定*/
.box2 {
	width: auto;		/*ボックスの幅*/
	float: none;		/*左に回り込み*/
	padding: 3%;		/*余白の上書き*/
	margin: 0 0 20px 0;		/*上、右、下、左へのボックスの外に空けるスペース*/
	line-height: 2;	/*行間*/
}
/*box2内のp(段落)タグ*/
.box2 p {
	height: auto;	/*高さ。*/
	font-size: 100%;		/*文字サイズ*/
	margin-bottom: 15px;
}
/*box2内のh4(見出し)タグ*/
.box2 h4 {
	height: auto;	/*高さ*/
}
/*box2内のbtn1*/
.box2 p.btn1 {
	position: static;
	width: 99%;		/*ボタンの幅*/
}
}
/*画面幅480px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:480px){

/*全体の設定
---------------------------------------------------------------------------*/
body {
	font-size: 12px;	/*文字サイズ*/
}
/*contents
---------------------------------------------------------------------------*/
/*コンテンツのh2タグ設定*/
.contents h2 {
	padding: 5px 10px;	/*上下、左右への余白*/
	font-size: 14px;	/*文字サイズ*/
	margin-bottom: 10px;
}
/*コンテンツのh3タグ設定*/
.contents h3 {
	padding: 3px 10px;	/*上下、左右への余白*/
	font-size: 12px;	/*文字サイズ*/
	margin-bottom: 10px;
}
/*h2タグに「class="simple"」を指定した場合の追加設定。大文字でセンタリングされる見出しです。*/
.contents h2.simple {
	font-size: 18px;	/*文字サイズ*/
}
/*コンテンツの段落タグ設定*/
.contents p {
	padding: 0px 10px 10px;	/*上、左右、下への余白*/
}
/*他*/
.contents h2 + p,
.contents h3 + p {
	margin-top: -5px;
}
/*box1とbox2
---------------------------------------------------------------------------*/
/*h4(見出し)タグ*/
.box1 h4,.box2 h4 {
	font-size: 16px;	/*文字サイズ*/
}
}
