/* Scaffolding */

*{
	font-family: Verdana, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
}

html,body{
	width:100%;
	height:100%;
}

p{
	margin:0;
}

body{
	font-weight: 400;
	color: #222;
}

h1, h2, h3, h4, h5, h6 {
	font-weight:700;
}

.mincho{
	font-family: "ヒラギノ明朝 ProN W6", "HiraMinProN-W6", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
}

a {
  color: #228B22;
  text-decoration: none;
}

.mgn_tb10{
	margin:10px 0;
}


/* Backgrounds */

.bg-holder {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: 50% 50%;
  color: #fff;
}

.bg-holder .content {
  color: #fff;
  text-align: center;
  position: relative;
  top: 70%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}


h1{
	font-size:3em;
}

h2 {
  font-size: 32px;
}

.txt{
	font-size:2em;
	line-height:1.2;
}

.center{
	text-align:center;
}

.pic1 {
  background-image:url(../img/bg.jpg);
}

.pic2 {
  background-image:url(../img/index_2.jpg);
}

.pic3 {
  background-image:url(../img/index_9.jpg);
}

.col{
	width:36%;
	margin:0 2%;
}


.col2{
	width:56%;
	margin:0 2%;
}

.col3{
	width:29%;
	margin:0 2%;
}



.f_left{
	float:left;
}

.f_right{
	float:right;
}

.cf:before,
.cf:after{
  content:"";
  display: table;
}
.cf:after{
  clear:both;
}
/*IE6,7対策 （haslayout対策）*/
.cf{
  *zoom:1;
}

/*-トップに戻る-*/
.page-top{
    position:fixed;
    bottom:20px;
    right:20px;
    font-size:77%;
}

.page-top a{
    background:#000;
    text-decoration:none;
    color:#fff;
    width:100px;
    padding:30px 0;
    text-align:center;
    display:block;
    border-radius:5px;
}

.page-top a:hover{
    text-decoration:none;
    background:#1a1a1a;
}
@media (min-width: 768px) {
  .pic1 {
  background-image:url(../img/bg.jpg);
  }
  .pic2 {
  background-image:url(../img/index_2.jpg);
  }
  .pic3 {
  background-image:url(../img/index_9.jpg);
  }
}


/* Content Sections */

section {
  padding: 48px;
}

section .content {
  margin: 0 auto;
  max-width:960px;
}

.content{
	max-width:960px;
	margin:0 auto;
}

.bg_black{
	background:#000;
}

.bg_linen{
	background:#faf0e6;
}

/* Intro */

.intro h1 {
  margin: 0;
  line-height: 1.5;
}

.intro p {
  margin: 0;
  font-size: 24px;
}

.cta {
  margin-top: 32px;
}

.btn-cta {
  color: #fff;
  font-size: 16px;
  border: 2px solid #fff;
  border-radius: 4px;
  padding: 8px 16px;
  margin: 0 4px;
  text-decoration: none;
}

.btn-cta:hover {
  background-color: white;
  color: #228B22;
  text-decoration: none;
}

/* 固定するのは「position: fixed;」です。 */
#navi {
	width:100%;
  height: 50px;
  position: fixed;
  z-index: 999;
background:#000;
}
/* スクロールする場所：固定ナビゲーションの高さ＋余白をpadding-topに指定したりします。 */

#navi ul{
	text-align:right;
}

#navi ul li{
display: inline;
margin: 0 10px;
	list-style:none;
	font-weight:bold;
	color:#F90;
}

#navi ul li a{
	color:#fff;
}


.wrap{
	width:80%;
	max-width:960px;
	margin:0 auto;
}

.flt_left{
	float:left;
}

 .button-error {
color: white;
            border-radius: 4px;
            text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
            background: rgb(202, 60, 60); 
   }


/* Footer */

.footer {
  text-align: center;
	word-wrap:break-word;
}


 /* 幅480px以上のスタイル*/ 
@media screen and (min-width: 480px){
.sp_only{
	display:none;
}
}

 /* 幅480px以下のスタイル*/ 
@media screen and (max-width: 480px){
.sp_none{
	display:none;
}
.wrap {
  width: 100%;
  margin: 0;
}

.col,.col2{
	width:100%;
	margin:0;
}
.col3,.spbutton{
	width:100%;
	margin:10px 0;
}


h1{
	font-size:2em;
}

.intro h1 {
  line-height:1.2;
}

h2 {
    font-size: 1.2em;
}




.f_left,.f_right{
	float:none;
}

.page-top a{
	opacity:0.5;
}
  .pic1 {
  background-image:url(../img/sbg.jpg);
  }
  .pic2 {
  background-image:url(../img/sindex_2.jpg);
  }
  .pic3 {
  background-image:url(../img/sindex_9.jpg);
  }


}

#menu {
	width: 100%;
	max-width: 960px;
	margin: 0 auto;
	padding: 0;
}
#menu li{
	display: block;
	float: left;
	width: 12.5%;
	margin: 0;
	padding: 0;
}
#menu li a {
	display: block;
	padding: 20px 0 20px;
	background-color: #000;
	color: #FFF;
	text-align: center;
	text-decoration: none;
	border-right:1px solid #000;
}
#menu li:last-child a{
	border: none;
}
#menu li a:hover{
	background: #000;
}
#toggle {
	display: none;
}

/* 画面サイズが768px以下の場合に適用 */
@media only screen and (max-width: 768px) {
	#menu li {
		width: 25%;
		border-bottom: 1px solid #000;
	}
}

/* 画面サイズが480px以下の場合に適用 */
@media only screen and (max-width: 480px) {
	#menu {
		display: none;
	}
	#menu li {
		width: 100%;
	}
	#toggle {
		display: block;
		position: relative;
		width: 100%;
		background: #000;
	}
	#toggle a{
		display: block;
		position: relative;
		padding: 20px 0 20px;
		border-bottom: 1px solid #000;
		color:#FFF;
		text-align: center;
		text-decoration: none;
	}
	#toggle:before {
		display: block;
		content: "";
		position: absolute;
		top: 50%;
		left: 10px;
		width: 30px;
		height: 30px;
		margin-top: -15px;
		background: #FFF;
	}
	#toggle a:before, #toggle a:after {
		display: block;
		content: "";
		position: absolute;
		top: 50%;
		left: 10px;
		width: 30px;
		height: 6px;
		background: #000;
	}
	#toggle a:before {
		margin-top:-9px;
	}
	#toggle a:after {
		margin-top: 3px;
	}
}
