
/* =Reset default browser CSS.
Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {border: 0;font-family: inherit;font-size: 100%;font-style: inherit;font-weight: inherit;margin: 0;outline: 0;padding: 0;vertical-align: baseline;}
:focus {outline: 0;}

ol, ul {list-style: none;}
table {border-collapse: separate;border-spacing: 0;}
caption, th, td {font-weight: normal;text-align: left;}
blockquote:before, blockquote:after,q:before, q:after {content: "";}
blockquote, q {quotes: "" "";}
a img{border: 0;}
figure{margin:0}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;}
/* -------------------------------------------------------------- */

/* リンク設定
------------------------------------------------------------*/
a{color:#76B1DD;text-decoration:none;}
a:hover{color:#0071BC;}
a:active, a:focus{outline:0;}


/* -------------------------------- 

Primary style

-------------------------------- */
body, html {
  /* important */
  height: 100%;
}

html * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font: 13px/1.7 Arial, Helvetica, sans-serif;
  background-color: #333333;
}

p {
	margin-bottom: 0.5em;
}

/* -------------------------------- 

Modules - reusable parts of our design

-------------------------------- */
#wrapper {
  /* you need to assign a min-height to the main content so that the children can inherit it*/
  height: 100%;
  position: relative;
  z-index: 3;
}

#main-bg {
  position: relative;
  min-height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}
#main-bg h1  {
  position: absolute;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  width: 90%;
  max-width: 1024px;
  text-align: center;
  font-size: 40px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  color: white;
}

h2 {
	background-color: #FFF;	/*背景色（古いブラウザだとここの色のみが出ます）*/
	background-image: -webkit-gradient(linear, left top, left bottom, from(#FFF), to(#e6e6e6));	/*グラデーション*/
	background-image: -webkit-linear-gradient(#FFF, #e6e6e6);	/*同上*/
	background-image: linear-gradient(#FFF, #e6e6e6);			/*同上*/
	color: #548b18;	/*文字色*/
	border-top: 1px solid #d2d2d2;		/*上の線の幅、線種、色*/
	border-right: 1px solid #d2d2d2;	/*右の線の幅、線種、色*/
	border-left: 1px solid #d2d2d2;		/*左の線の幅、線種、色*/
	margin:  12px auto 15px;
	padding: 5px 10px 5px 15px;	/*左から、上、右、下、左側への余白*/
	clear: both;
	border-bottom: 5px solid #548b18;	/*下側の線の幅、線種、色*/
	font-size:  125%;
}

h3 {
	background-color: #FFF;	/*背景色（古いブラウザだとここの色のみが出ます）*/
	background-image: -webkit-gradient(linear, left top, left bottom, from(#f3f4bd), to(#b1d68c));	/*グラデーション*/
	background-image: -webkit-linear-gradient(#f3f4bd, #b1d68c);	/*同上*/
	background-image: linear-gradient(#f3f4bd, #b1d68c);			/*同上*/
	color: #3e3a39;	/*文字色*/
	border-top: 4px solid #b4d24b;		/*上の線の幅、線種、色*/
	border-right: 1px solid #cadd67;	/*右の線の幅、線種、色*/
	border-left: 1px solid #cadd67;		/*左の線の幅、線種、色*/
	margin:  12px auto 15px;
	padding: 3px 10px 3px 15px;	/*左から、上、右、下、左側への余白*/
	clear: both;
	border-bottom: 4px solid #8ec31e;	/*下側の線の幅、線種、色*/
	font-size:  115%;
}

.photo {
  position: relative;
  min-height: 100%;
  padding: 4em 0;
  line-height: 1.6;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

#contents  {
  width:  100%;
  margin:  0;
  padding:  0;
  color: #3d3536;
}

#cont-01 {
  background-color: #99a478;
}

#cont-02 {
  background-color: #F9E9B3;
}

#cont-03 {
  background-color: #C2D0FE;
}

#cont-01 article,
#cont-02 article,
#cont-03 article {
	background: #fff;
	padding: 50px 52px;
	height: 800px;
	margin: 0 auto;
	width: 920px;
	border-bottom:  solid 2px #4FA289;
}

img.frame  {
border:4px solid #fff;
box-shadow:0 0 2px rgba(0, 0, 0, 0.5);
-webkit-box-shadow:0 0 2px rgba(0, 0, 0, 0.5);
}

.alignleft{
float:left;
clear:left;
margin:3px 10px 10px 1px;
}

.alignright{
float:right;
clear:right;
margin:3px 1px 10px 10px;
}



/*************
/* フッター
*************/
#footer{
	clear:both;
	padding:20px auto 5px;
	overflow:hidden;
	background:#3d3536;
	color: #a6989a;
	font-size: 75%;
}

#footer a  {
	color:#a6989a;
}

#footer a:hover  {
	color:#FFFFFF;
}

#logo-ft  {
	width:  240px;
	height:  auto;
	margin:  0 10px 10px;
}

#footer ul  {
	margin:0 0 10px 5px;
}

#footer ul li  {
	padding:0 7px 0 5px;
	margin-bottom:3px;
	list-style:none;
	border-bottom:0;
	display:inline-block;
	border-right:1px solid #fff;
}

#footer .copyright{
	font-size:12px;
	padding:  3px auto;
	text-align:  center;
}



/* PC タブレット */
@media only screen and (max-width: 1024px) {
#main-bg h1  {
    font-size: 36px;
  }

#cont-01 article,
#cont-02 article,
#cont-03 article {
	background: #fff;
	padding: 5% 5%;
	height: 2000px;
	margin: 0 auto;
	width: 90%;
}

}


/* スマートフォン 横(ランドスケープ) */
@media only screen and (max-width: 840px) {
#main-bg h1  {
    font-size: 32px;
  }


}


@media screen and (max-width: 640px) {

img.frame  {
	border-width:2px;
}

.alignleft,.alignright  {
	float:none;
	display:block;
	margin:0 auto 10px;
}
	

}


/* スマートフォン 縦(ポートレート) */
@media only screen and (max-width:480px){

}



