@charset "utf-8";

/*全体設定*/

/************▼windows10+IE11.0（パララックスでマウススクロールでガタガタする）対策ＣＳＳ編*********** */
/************対策ＨＴＭＬ編は.htmlにjavascriptを追加したがどうも効いていないようす。この対策CSS編が有効な模様。だが、このCSS対策によりページトップに戻るキーが使えなくなった）*********** */
html{
 overflow: hidden;
 height: 100%;
}
body{
 overflow: auto;
 height: 100%;
}
/************▲windows10+IE11.0（パララックスでマウススクロールでガタガタする）対策ＣＳＳ編*********** */

@media screen and (min-width: 780px){  
  .pc { display:block; }
  .sp { display:none; }
}
@media screen and (max-width: 780px){  
  .pc { display:none; }
  .sp { display:block; }
}


div#all_contents{
	color: #333333;
	font-family: "ヒラギノ明朝 ProN W3",'Hiragino Mincho ProN',"ＭＳ Ｐ明朝",'MS PMincho',"ＭＳ 明朝",'MS Mincho',serif;
	font-size: 1rem;
	line-height: 1.5em; 
	background-image: url(../img/kabe_b.jpg);
	background-size:contain;
	}

a.gosi {
	color: #eee;
	text-decoration: none; 
	font-family:'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック','MS PGothic',sans-serif;
	font-weight: bold;
	}
a{
	color: #ccc;
}
a:hover{
	color: white;
}

a:link{
	text-decoration: none;
}
a:visited{
	color: #ccc;
}

.taiyo a{
	color:#eb6100;
}
.taiyo a:hover{
	color:#b44b01;
}

h1, h2 {
	font-size: 1.5em;
	margin-top: 0;
	margin-bottom: 25px;
	line-height: 1; 
	text-align: center;
	font-family:'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック','MS PGothic',sans-serif;
	font-weight: bold;
	}
	
h2{
	text-align: left;
	font-size: 1.3em;
	}
	
span.midashi{
	font-weight: bold;
	font-family:'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック','MS PGothic',sans-serif;
}
.icon{
	float: right;
	margin-top: 10px;
	margin-right: 15px;
}
.icon img{
	width: 40px;
}

.icon2 img{
	width: 40px;	
}
.icon_ex, .icon_ex2{
	float: right;
	margin-top: 10px;
	line-height: 1.3;
	font-size: 14px;
	font-family:'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック','MS PGothic',sans-serif;
}
.explain .icon img{
	width: 40%;
	height: auto;
}

/*------ .wrapper（前面スクロール部） 設定------*/
.wrapper {
	width: 72%;
	margin: 0 auto;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	}
.wrapper02 {
	clear: both;
	width: 72%;
	margin: 0 auto;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	}

#main .wrapper {
padding: 60px 0 60px 0; 
}

#earthing-primary .wrapper {
padding: 60px 0 60px 0; 
height:1000px; 
}
#earthing-primary .wrapper img{
	 /*width: 400px;
	 float: right;
	 display: block;*/
	 margin: 5px 0 0px 60px;
 }
 
.wide img{
	 width: 30%;
	 display: block;
	 margin: -24px auto 60px auto;
	 padding-left: 130px;
 }
.wide02{
	 margin:auto;
	 width:100%;
 }
 
.wide02 img{
	 width: 85%;
	 /*float: left;*/
	 display: block;
	 margin: 10px auto 40px 0 !important;
	 padding-right: 20px;
 }
@media screen and (min-width: 1500px){ 
 .wide02 img{
	 width: 75%;
	 /*float: left;*/
	 display: block;
	 margin: 10px auto 40px 0 !important;
	 padding-right: 20px;
 }
}
@media screen and (max-width: 960px){ 
.wide02 img{
	 width: 65%;
	 /*float: left;*/
	 display: block;
	 margin: -20px auto 40px 0 !important;
	 padding-right: 20px;
 }
}

.wide03{
	 margin:auto;
	 width:72%;
	 display: flex;
 }
 
.wide03 img{
	 width: 40%;
	 float: left;
	 display: block;
	 margin: -84px auto 40px 0;
	 padding-right: 90px;
 }
.source{
	 clear:both;
 }

#sun-primary .wide img{
	 margin-top: -140px;
 }
 
img#small{
	 width: 70px;
 }
 
#sun-primary .wrapper {
padding: 60px 0 60px 0; 
}

#sun-primary .wrapper02 {
padding: 30px 0 60px 0; 
}

#sun-primary .wrapper img{
	 width: 600px;
	 float: right;
	 margin: 5px 0 0 30px;
 }

#sun-primary .wrapper .icon img{
	width: 40px;
	float: right;
	margin-left: 10px;
}
  
.explain span#float{
	display: block;
	text-align: left;
	margin: auto;
	width: 100%;
	position: relative;
	top: 750px;
	left: 0;
	z-index: 1000;
	font-weight: bold;
	font-family:'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック','MS PGothic',sans-serif;
	}


/*------ :after（向こう面固定部） 設定------*/
section:after, header:after {
	content: "";
	display: block;
	height: 500px;
	width: 100%;
	padding:0;
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.6); }
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px), only screen and (min-device-width: 320px) and (max-device-width: 480px) {
	section:after, header:after {
      background-attachment: scroll; 
	 }
}

header:after {
	width: 100%;
	height: 0;
    /* 表示画像の高さ ÷ 表示画像の幅 × 100 */
    padding-top: 45.5%;
    background: url(../img/main.jpg) 0 0 no-repeat;
    background-size: contain;
}
#main:after {
	background-image: url(../img/earthing04.jpg);
}
#earthing-primary:after {
	height: 678px;
	background-image: url(../img/sungazing01.jpg);
background-size: 1643px 678px;
}

#sun-primary:after {
	height: 600px;
	background-image: url(../img/sungazing03.jpg);
	background-size: 1729px 735x;
	background-attachment: scroll !important;
}

/*-----１３６０ｐｘより大きいデバイス-----
@media only screen and (min-width: 1360px) {
	.wrapper {
	width: 990px;
	}
	
	 .wide img{
	 width: 980px;
 }
}
---------------------------------------*/

/*.button{
	width:800px;
	margin:auto;
}*/

/*まずはお決まりのボックスサイズ算出をborer-boxに 
*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}*/


.btn,
a.btn,
button.btn {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
}

.btn--orange,
a.btn--orange {
  color: #fff;
  background-color: #eb6100;
  margin-right: 70px;
  margin-left: 20px; 
}
.btn--orange:hover,
a.btn--orange:hover {
  color: #fff;
  background: #f56500;
  margin-right: 70px;
  margin-left: 20px; 
}

a.btn--radius {
   border-radius: 100vh;
}

.button{
	margin: auto;
	width:600px;
}

.stone{
	width:800px;
	margin:auto;
}
.stone_left{
	float:left;
}
.stone_left img{
	width:360px;
	/*margin: 0 0 50px 50px;*/
}
.stone_right{
	float:left;
}
.stone_right img{
	width:360px;
	margin: 0 0 50px 50px;
}
.earthing{
	float: left;
	width: 50%;
}

@media screen and (max-width: 1380px){  
.earthing-img img{
	width:40%;
	margin: 5px 0 0 65px!important;}
}
@media screen and (min-width: 1381px){  
.earthing-img img{
	width:300px;
	margin: 5px 0 0px 65px!important;}
}
@media screen and (max-width: 960px){  
.earthing-img img{
	width:260px;
	margin: 5px 0 0px 20px!important;}
}

.info{
	width:360px;
	margin:auto;
}

.info-left{
	float:left;
}