@import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css);
@import url(https://fonts.googleapis.com/css?family=Modern+Antiqua);

/* reset */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{margin:0;padding:0;}
address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;}
ul{list-style:none;}
table{border-collapse:collapse;border-spacing:0;}
caption,th{text-align:left;}
q:before,q:after{content:'';}
object,embed{vertical-align:top;}
legend{display:none;}
h1,h2,h3,h4,h5,h6{font-size:100%;}
img,abbr,acronym,fieldset{border:0;}

body{
	font: 14px/1.9 'Noto Sans JP', Arial, Verdana, 游ゴシック, YuGothic,'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', メイリオ, Meiryo,sans-serif;
	font-weight: 300;
	-webkit-text-size-adjust:100%;
	overflow-x: hidden;
	color: #000;
}

@media only screen and (min-width: 550px){
	body{
	}
}

a{
	color: #0066ff;
	text-decoration: none;
}

a:hover, .active{
  text-decoration: underline;
}

a:active, a:focus,input:active, input:focus{outline:0;}


/* ヘッダー
------------------------------------------------------------*/
#mainnav a{
	color: #000;
	font-family: 'Modern Antiqua', 'Noto Sans JP',serif;
}


/* フッター
------------------------------------------------------------*/
#footer{
	clear: both;
	padding: 0px 10px 100px 0;
	text-align: center;
	font-size: 12px;
}


/* 共通
------------------------------------------------------------*/
h1, h2{
	font-family: 'Modern Antiqua', 'Noto Sans JP',serif;
}
h1{
	float: left;
	padding-left: 20px;
	margin-top: 5px;
}


img{
	max-width: 100%;
	height: auto;
}

section{
  clear: both;
}

section h2{
	width: 60%;
	margin: 70px auto;
	font-size: 22px;
	font-weight:normal;
	text-align: center;
}

section h2 span {
	padding-bottom: 20px;
	border-bottom: 3px solid #000;
}

.inner{
	width: 80%;
	margin: 0 auto;
	padding-bottom: 50px;
}

#sec03 .inner, #sec04 .inner{
	border-bottom: 1px solid #a0a0a0;
}

.innerS{
	width: 60%;
	margin: 0 auto;
	padding-bottom: 80px;
}

a:hover {
	opacity: 0.7 ;
}

/* SEC02 Gallery
------------------------------------------------------------*/
#sec02{
	padding: 0 !important;
}

#sec02 header{
	display: none;
}

#gallery{
	overflow: hidden;
}

#gallery li{
	float: left;
	width: calc(100%/3);
	line-height: 0;
}
#gallery li.full{
	width: 100%;
}


#gallery img{
	display: block;
	width: 100%;
	height: auto;
}


/* SEC03 BRAND
------------------------------------------------------------*/
.col4 .img{
	margin: 0 auto;
}



/* SEC04 PROJECT
------------------------------------------------------------*/
#sec04{
	padding-bottom: 0 !important;
}

.article{
	clear: both;
	overflow: hidden;
	padding-bottom: 50px;
}

.article img{
	float: left;
	margin: 5px 20px 20px;
}

.article p{
	margin-bottom: 20px;
}



/* SEC05 COMPANY
------------------------------------------------------------*/
#sec05{
	margin-top: 20px;
}

#sec05 h2{
	margin: 10px auto 0 auto;
	font-size: 30px;
	font-family: 'Courier New', Courier, monospace;
}

#sec05 h2 span{
	border: none;
	padding: 0;
}

#sec05 .inner{
	padding-top: 0;
	margin-top: 0;
}

#sec05 p{
	margin-bottom: 5px;
}

.col2 li{
	display: inline-block;
	width: 100%;
  margin: 10px 0;
}

#map{
	position: relative;
	padding-bottom: 75%;
	height: 0;
	overflow: hidden;
	z-index: 0;
}

#map iframe{
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
	border: 0;
}



/* RESPONSIVE 設定
------------------------------------------------------------*/

@media only screen and (min-width: 100%){
	body{
		font-size:14px;
	}
	
	#wrapper{
		overflow: hidden;
	}
	
	#content{
		width: 100%%;
	}
	
	#sidebar{
		width: 12%;
		position: fixed;
		top: 0;
		right: 4%;
		background: #fff;
	}
	
  a#menu{
		display:none;
	}	

	.panel{
		display:block !important;
	}
	
	#sidebar h1{
		padding: 30px 0;
	}

	#mainnav li{
		font-size: 14px;
		padding: 10px 0;
	}
	
	#sns{
		margin-top: 50px;
	}
	
	#sns li{
		display: inline-block;
		padding-right: 10px;
	}

	#sns a:hover img{
		opacity: .8;
	}
	
	/* SEC03 BRAND
	-----------------*/
	.col4{
		text-align: center;
	}

	.col4 li{
		display: inline-block;
		width: 18%;
		padding: 0 3%;
		vertical-align: top;
		text-align: left;
	}
	
	#map iframe{
		height: 200px !important;
  }
	
  #footer{
		padding: 10px 10px 70px 0;
	}
}
#wrapper{
	width: 100%;
	max-width: 550px;
	display: block;
	margin: auto;
	position: relative;
	box-shadow: 0 0 15px rgb(131, 131, 131);
	background-color: rgb(255, 255, 255);
	overflow: hidden;
}

@media only screen and (min-width: 641px){
	.col2 li{
		width: 60%;
		vertical-align: top;
	}
	.col2 li:first-child{
		width: 35%;
		padding-right: 4%;
	}
}

@media only screen and (max-width: 640px){
	.innerS{
		width: 94%;
		padding-bottom: 30px;
	}
	#gallery li{
		float: none;
		width: 100%;
	}
	.article img{
		float: none;
		display: block;
		margin: 0 auto 20px;
	}
	#map iframe{
		width: 96% !important;
		left: 2%;
	}
}

	#sidebar{
		position: fixed;
		width: 100%;
		max-width: 550px;
		z-index:500;
	}
	
	#sidebarWrap{
		position: relative;
		width: 100%;
		height: 60px;
		background: #fff;
		border-bottom: 1px solid #ccc;
	}
	
	#sidebar h1{
		text-align: center;
		padding-top: 15px;
	}
	
	#sidebar h1 img{
		width: auto !important;
		max-height: 25px;
	}

/*--グロナビ------------------------*/

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

#g-nav{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:absolute;
    z-index: 999;
    /*ナビのスタート位置と形状*/
	top:61px;
    right: -100%;
	width:100%;
    height: 100vh;/*ナビの高さ*/
	background:#ffffff;
    /*動き*/
	transition: all 0.4s ;
}
@media only screen and (min-width: 550px){
	#g-nav{
		/*position:fixed;にし、z-indexの数値を大きくして前面へ*/
		position:absolute;
		z-index: 999;
		/*ナビのスタート位置と形状*/
		top:61px;
		right: -100%;
		width:100%;
		height: 100vh;/*ナビの高さ*/
		background:#ffffff;
		/*動き*/
		transition: all 0.4s ;
		opacity: 0;
		visibility:hidden;
	}
	}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive{
    right: 0;
}
@media only screen and (min-width: 550px){
	#g-nav.panelactive{
		right: 0;
		opacity: 1;
		visibility: visible;
	}
	}

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

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

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

#g-nav li{
  list-style: none;
  text-align: center;
  width: 100%;
}

#g-nav li.gnaviLast{
	margin-bottom: 40px;
}


#g-nav li a{
  color: #333;
  text-decoration: none;
  padding:10px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
  vertical-align: middle;
}

@media only screen and (min-width: 550px){
	#g-nav li a{
		font-size: 1.2em;
		color: #333;
		text-decoration: none;
		padding:10px;
		display: block;
		text-transform: uppercase;
		letter-spacing: 0.1em;
		font-weight: bold;
		vertical-align: middle;
		position: relative;
		display: inline-block;
}
}

@media only screen and (min-width: 550px){
	#g-nav li a::after {
	position: absolute;
	left: 0;
	content: '';
	width: 100%;
	height: 4px;
	background: #ffd800;
	bottom: 6px;
	transform: scale(0, 1);
	transform-origin: right top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の右端*/
	transition: transform 0.3s;  /*変形の時間*/
	}
	
	#g-nav li a:hover::after {
	transform: scale(1, 1);     /*ホバー後、x軸方向に1（相対値）伸長*/
	transform-origin: left top; /*左から右に向かう*/
	}

	#g-nav li a:hover{
	opacity: 1 ;
	}

	#g-nav li.gnaviIcon a::after {
		left: 50px;
		width: 84%;
		background: #ff0000;
		bottom: 9px;
	}
}

#g-nav li a img{
 vertical-align: middle;
 margin-right: 10px;
}	

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

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

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

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

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

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

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


/*--メイン------------------------*/
#main{
	display: block;
	max-width: 100%;
	height: 700px;
	background-image: url(../images/mainBack.jpg);
	background-size:contain;
	background-repeat: no-repeat;	
}

@media only screen and (min-width: 550px){
	#main{
		width: 100%;
		max-width: 550px;
		height: 1040px;
		background-image: url(../images/mainBack.jpg);
		background-size:contain;
		background-repeat: no-repeat;	
	}
}




#slider{
	padding-top: 220px;
	display: block;
}
@media only screen and (min-width: 550px){
	#slider{
		padding-top: 350px;
	}
}
#slider .sliderLi{
	margin-right: 10px;
	width: 100%;
}

#slider img{
	display: block;
	max-width: 100%;
    height: 100vw;
	object-fit: cover;
}
@media only screen and (min-width: 550px){
	#slider img{
	max-height: 520px;
}
}
/*--画像------------------------*/
#imgZone p{
	margin: 0;
	padding: 0;
	height: auto;
	vertical-align:top;
}
#imgZone p img{
	vertical-align:top;
}

#nagare p{
	margin: 0;
	padding: 0;
	height: auto;
	vertical-align:top;
}
#nagare p img{
	vertical-align:top;
}

/*--問い合わせ------------------------*/
div.contact{
	display: block;
	max-width: 100%;
	height: 280px;
	background-image: url(../images/contact.jpg);
	background-size:contain;
	background-repeat: no-repeat;
	padding-top: 160px;
}
@media only screen and (min-width: 550px){
	div.contact{
		width: 100%;
		max-width: 550px;
		height: 405px;
		background-image: url(../images/contact.jpg);
		background-size:contain;
		background-repeat: no-repeat;
		padding-top: 240px;
	}
}

div.contact ul{
	display: block;
	width: 80%;
	margin: auto;
	padding: auto;
}

div.contact ul li{
	width: 100%;
	margin-bottom: 10px;
}

div.contact ul li img{
	max-width: 0%;
	width: 100%;
	vertical-align:top;
	max-width: initial;
}

.animation{
	animation-timing-function: ease-in-out;
	animation-iteration-count: infinite;
	animation-direction: alternate;
	animation-duration: 1.2s;
  }
  
  .keyframe6 {
	animation-name: poyopoyo;
  }
  
  @keyframes poyopoyo {
	0%, 40%, 60%, 80% {
	  transform: scale(1.0);
	}
	50%, 70% {
	  transform: scale(0.95);
	}
  }

/*--↓FAQ------------------------*/
.questions{
    background-color: #fff5bc;
    padding:10px 20px;
}
.questions .questions_wrapper{
    max-width:550px;
    margin: 0 auto;
}
.questions .questions_wrapper .questions_content{
    background-color: #fff;
    margin:20px 0;
    padding:10px 60px 10px 20px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
}
.questions .questions_wrapper .questions_content .question{
    color:#000;
    text-indent: -1em;
    padding-left:1em;
    margin-left:1em;
    position:relative;
}
.questions .questions_wrapper .questions_content .question::before{
    content:"Q.";
	color:#f00;
    text-decoration: none;
    display: inline-block;
    margin-right:10px;
	font-size: 20px;
}
.questions .questions_wrapper .questions_content .question::after{
    content: "";
    position: absolute;
    right: -25px;
    top: 30%;
    transition: all 0.2s ease-in-out;
  /*   要素の動きを指定 */
    display: block;
    width: 12px;
    height: 12px;
    border-top: solid 4px #ffe137;
    border-right: solid 4px #ffe137;
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
  /* transform: rotateで要素の角度を指定 */
}
.questions .questions_wrapper .questions_content .question:hover{
    text-decoration:none;
    cursor:pointer;
}
.questions .questions_wrapper .questions_content .answer{
    margin-top:15px;
    text-indent: -1em;
    padding-left:1em;
    margin-left:1em;
}
.questions .questions_wrapper .questions_content .answer::before{
    content:"A.";
	color:#00f;
    text-decoration: none;
    display: inline-block;
    margin-right:1em;
	font-size: 20px;
}
.questions .questions_wrapper .questions_content .open:after {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 45%;
  /* openクラスがついた時の要素の角度を指定 */
}


/*--ついてくるボタン------------------------*/
#float-button__wrap {
	width: 100%;
    max-width: 550px;
    height: auto;
	margin: auto;
    position: fixed;
    bottom: -1px;
    left: 50%;
	transform: translateX(-50%);
	display: block;
	background: rgba(0,0,0,0.6);
}

#float-button__wrap ul{
	margin: auto;
	margin-top: 10px;
	padding-bottom: 10px;
	display: block;
}

#float-button__wrap ul li{
	float: left;
	object-fit: cover;
	margin-left: 9px;
	padding-bottom: 10px;
}

#float-button__wrap ul li#buttonLeft{
	width: 58%;
}
#float-button__wrap ul li#buttonRight{
	width: 35%;
}

@media only screen and (min-width: 550px){
#float-button__wrap ul li#buttonLeft{
	width: 58%;
	margin-left: 13px;
}
#float-button__wrap ul li#buttonRight{
	width: 35%;
	margin-left: 13px;
}
}

#float-button__wrap a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

/*---背景---------------------------*/
.fix-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../images/pcBack.jpg) ;
	background-position: left top;
	background-repeat: no-repeat;
	background-size: 100% auto;
}


/*---フォーム---------------------------*/
.form__content {
    background-color: #fff;
    border-radius: 0.8rem;
    padding: 1rem 1rem 1.6rem;
    margin: 1rem 1rem 0;
    border-radius: 0.8rem;
    border: 1px solid #251e1c;
    -webkit-box-shadow: 0px 0px 0.2rem 0 rgb(0 0 0 / 35%);
    box-shadow: 0px 0px 0.2rem 0 rgb(0 0 0 / 35%);
}

.form__content--title {
    text-align: center;
    color: #0094dd;
    font-size: 1.4rem;
    font-weight: 800;
	display: block;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

.form__content--title span {
    display: block;
    font-size: 1.2em;
    line-height: 1.1;
}

.wpcf7 .screen-reader-response {
    position: absolute;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    word-wrap: normal !important;
}

.form__table {
    margin: 1.6rem 0 0;
    font-size: 1.5rem;
    font-weight: 500;
    position: relative;
}

dl {
    display: block;
    margin-block-start: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

dt {
    font-weight: normal;
}

dt {
    display: block;
}

label[for] {
    cursor: pointer;
}

.form__table--list dt label {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    line-height: 1;
    font-weight: 600;
	font-size: 16px;
}
.form__table--list dt label span {
    font-size: 14px;
    color: #fff;
    background-color: #ea6000;
    margin: 0 0 0 0.4rem;
	padding: 2px 4px 4px 2px;
}

.form__table--list dd {
    margin: 0.4rem 0 0;
}

dd {
    display: block;
    margin-inline-start: 40px;
}

.wpcf7-form-control-wrap {
    position: relative;
}

.form__table--list dd textarea, .form__table--list dd input {
    display: block;
    border: 1px solid #8b8c90;
    padding: 0.3rem;
    background-color: #f3f3f4;
    border-radius: 0.4rem;
	width: 95%;
}

@media only screen and (min-width: 550px){
.form__table--list dd textarea, .form__table--list dd input {
	display: block;
    border: 1px solid #8b8c90;
    padding: 0.3rem;
    background-color: #f3f3f4;
    border-radius: 0.4rem;
	width: 98%;
}
}

.form__table #send {
    display: block;
    color: rgba(0,0,0,0);
    text-indent: -9999;
    line-height: -9999;
    width: 85%;
    height: 4.9rem;
    background-image: url(../images/send-btn-blue@2x.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    margin: 1.6rem auto 0;
    -webkit-box-shadow: 0px 0px 0.2rem 0 rgb(0 0 0 / 35%);
    box-shadow: 0px 0px 0.2rem 0 rgb(0 0 0 / 35%);
    border-radius: 0.5rem;
}

@media only screen and (min-width: 550px){
.form__table #send {
    display: block;
    color: rgba(0,0,0,0);
    text-indent: -9999;
    line-height: -9999;
    width: 400px;
    height: 116px;
    background-image: url(../images/send-btn-blue@2x.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    margin: 1.6rem auto 0;
    -webkit-box-shadow: 0px 0px 0.2rem 0 rgb(0 0 0 / 35%);
    box-shadow: 0px 0px 0.2rem 0 rgb(0 0 0 / 35%);
    border-radius: 0.5rem;
}
}

.form__table--list:not(:first-of-type) {
    margin: 0.8rem 0 0;
}

.form .wpcf7-spinner {
    margin: 0;
    position: absolute;
    bottom: 1.5rem;
    right: 0;
}

.wpcf7 form.init .wpcf7-response-output, .wpcf7 form.resetting .wpcf7-response-output, .wpcf7 form.submitting .wpcf7-response-output {
    display: none;
}

.form .wpcf7-response-output {
    border: 2px solid #d7000f !important;
    padding: 0.3rem 1rem !important;
    margin: 1rem 0 0 !important;
    font-weight: 600;
    color: #d7000f;
    text-align: justify;
}

.form__privacy {
    width: auto;
    height: 8.5rem;
    border-radius: 0.4rem;
    border: 1px solid #8b8c90;
    padding: 1rem;
    margin: 1.6rem auto 0;
    overflow: scroll;
	display: block;
	overflow-x: hidden;
}

.form__privacy--title {
    font-size: 1.0rem;
    font-weight: 600;
}

.form__privacy--txt {
    font-size: 0.8em;
    margin: 1rem 0 0;
}

.form__privacy--txt a {
    color: #3060cb;
    text-decoration: underline;
}

input:hover,textarea:hover {
	opacity: 0.7 ;
}

input,textarea {
	 font-size:16px; 
	}
