@charset "utf-8";
/* CSS Document */
@media (max-width:1024px) {
h1{font-size: 2.4rem; line-height: 1.8em;}
h2{font-size: 1.8rem; line-height: 1.7em;}
h3{font-size: 1.6rem; line-height: 1.6em;}
p{font-size: 1.4rem; line-height: 1.5em}
a{font-size: 1.4rem; line-height: 1.5em}
ul{margin: 14px 0;}
li{list-style: none; font-size: 1.4rem; line-height: 1.5em}
small{font-size: 1.0rem;}
	
/* iOSでのデフォルトスタイルをリセット */
input[type="submit"],
input[type="button"] {
  border-radius: 0;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
}
input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
  display: none;
}
input[type="submit"]::focus,
input[type="button"]::focus {
  outline-offset: -2px;
}

#pcNavi ul{
		display: none;
	}
	
#hamburger{
		display: block;
	}

/*========= ナビゲーションのためのCSS ===============*/

#g-nav{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
  top:0;
  left: -120%;
  width:60%;
  height: 100vh;/*ナビの高さ*/
  background:#999;
    /*動き*/
  transition: all 0.6s;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive{
    left: 0;
}


/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999; 
    width:100%;
    height: 100vh;/*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top:30%;
    left:50%;
    transform: translate(-50%,-50%);
}

/*リストのレイアウト設定*/

#g-nav li{
  text-align: left; 
}

#g-nav li a{
  color: #333;
  text-decoration: none;
  padding:10px 0 10px 10%;
  display: inline-flex;
  letter-spacing: 0.1em;
  font-weight: bold;
}

/*========= ボタンのためのCSS ===============*/
.openbtn{
  position:fixed;
  z-index: 9999;/*ボタンを最前面に*/
  top:10px;
  left: 10px;
  cursor: pointer;
  width: 50px;
  height:50px;
}
  
/*×に変化*/  
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
  background-color: #666;
    width: 45%;
  }

.openbtn span:nth-of-type(1) {
  top:15px; 
}

.openbtn span:nth-of-type(2) {
  top:23px;
}

.openbtn span:nth-of-type(3) {
  top:31px;
}

.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.openbtn.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}
	
.ropeLeft, .ropeRight{
	width: 60%;	
	margin: 0;
	padding: 26px 0;
}

.ropeLeft {	text-align: left; margin:auto 0 0 0 ;}
.ropeRight {	text-align: right; margin:0 0 0 auto;}

	
	
header{
	border-top: #434343 10px solid;
	padding: 26px 0;
}

#pcNavi{
	display: flex;
	align-items: center;
	width: 94%;
	text-align: center;
	margin: 0 auto;
}

#pcNavi a{
	width: 60%;
	text-align: center;
	margin: 0 auto;
}

#pcNavi ul{
	display: none;
}



.border{
	border: #000000 solid 1px;
	width: 40%;
	text-align: center;
	margin: 20px auto;
}



#topContainer2{
	width: 100%;
	text-align: center;
	background-color: #F9F9F9;
	padding: 60px 0;
}

#topContainer2 h1{
	text-align: center;
}


.topContainer2Box{
	width: 90%;
	text-align: center;
	margin: 20px auto;	
}

.flex{
	display: flex;
	flex-wrap: wrap;
}

.flexBox{
	width: 60%;
	text-align: center;
	margin: 0 auto;
}

.topContainer2Box .flex .flexBox img{
	width: 40%;
	text-align: center;
	margin: 20px auto 10px auto;
}

#topContainer3{
	width: 90%;
	text-align: center;
	margin: 0 auto;
	padding: 60px 0;
}

#topContainer3 h1{
	text-align: center;
}

#topContainer3 .flex img{
	width: 25%;
	margin: 12.5%;
	padding: 0;
}


#topContainer4{
	background-color: #F9F9F9;
	padding: 60px 0;
	text-align: center;
	margin: auto;
}

#topContainer4 h1{
	text-align: center;
}

#topContainer4 .flex{
	width: 60%;
	text-align: center;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
}

#topContainer4 .flex a{
	width: 100%;
	margin: 10px auto;
	padding: 0;
}

#topContainer5{
	margin: 60px auto;
}

#topContainer5 h1{
	text-align: center;
}

#topContainer5 .youtube{
	width: 90%;
	text-align: center;
	margin: 40px auto;
}

#topContainer5 .flex{
	width: 90%;
	margin: 20px auto;
}

#topContainer5 .flex a{
	width: 100%;
	margin: 20px auto;
}

#topContainer6{
	background-color: #434343;
	margin: 60px auto;
	padding: 30px 0;
}

#topContainer6 h1, #topContainer6 h2{
	color: #FFFFFF;
	text-align: center;
	margin: 20px 0;
}

#topContainer6 h2{
	margin: 20px auto;
}

.storyBox {
	width: 90%;
	margin: auto;
}

.storyBox p{
	color: #FFFFFF;
}

.whiteBox{
	width: 90%;
	text-align: center;
	margin: 30px auto 40px auto;
	padding: 30px;
	border: #FFFFFF 1px solid;
}

.whiteBox p, .whiteBox h2{
	color: #FFFFFF;
}


#topContainer7{
	width: 100%;
	text-align: center;
	margin: auto;
}

#topContainer7 h1, #topContainer7 h3{
	text-align: center;	
	margin: 0 auto;
}

#topContainer7 img{
	width: 30%;
	text-align: center;
	margin: 60px auto;
}

footer{
	background-color: #434343;
	color: #FFFFFF;
	text-align: center;
	padding: 10px 0;
}	
	
#bodyServices h1{
	margin: 0 0 40px 0;
}

.servicesTextBox{
	width: 90%;
	height: auto;
	margin: auto;
}

.leftLine{
	display: block;
	width: 30%;
	height: auto;
	text-align: left;
	margin: 60px 0;
	border: solid 2px #707070;
}

.rightLine{
	display: block;
	width: 30%;
	height: auto;
	text-align: left;
	margin: 60px 0 60px 70%;
	padding: 0;
	border: solid 2px #707070;
}

#serviceContainer2, #serviceContainer4{
	width: 90%;
	height: auto;
	text-align: center;
	margin: auto;
} 

#serviceContainer2, #serviceContainer4{
	width: 90%;
	height: auto;
	text-align: center;
	margin: auto;
} 

#serviceContainer3, #serviceContainer5{
	background-color: #F9F9F9;
	padding: 60px 0;
}		
	
 #galleryContainer2{
	width: 90%;
	margin: 60px auto;
}

 #galleryContainer2 .youtube,  #galleryContainer2 img{
	margin:  0 0 60px 0;
}	
	
}/*  max-width:1024px */

@media screen and (min-width:1024px) {

}
