body{
  font-family: serif;
  background-color: white;
}

.cursor-effect{
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all  0.5s ease;
}

/*ヘッダー*/

.header{
	display: flex;
	justify-content:space-between;
	padding: 0 3%;
	position: relative;
	z-index: 0;
}

.header-img__link{/*この<div>がないと横の空白が全てリンクになる*/
	margin: 5px 0;
}

.header-img__link a img{
	opacity: 1;
	transition: 0.1s;
}

.header-img__link a img:hover{
	opacity: 0.5;
}

.header img{
	width: 300px;
	height: 90px;
}

.header-side__position{
	display: flex;
}

.header-estimate{
	height: 50px;
	margin: auto 5%;
	background-color: #FAAB02;
	border: solid 1px #585858;
	border-radius: 5px;	
	-webkit-transition: all 0.8s ease;
	-moz-transition: all 0.8s ease;
	-o-transition: all 0.8s ease;
	transition: all  0.8s ease;
}

.header-estimate:hover{
	background-color: #974312;
	cursor: pointer;
	border-radius: 0px;
}

.header-estimate img{
	display: none;
}

.header-estimate__decoration{
	width: 100px;
	font-size: 20px;
	font-weight: bold;
	text-align: center;
	padding: 15px 10px;
	text-decoration: none;
	color: white;
	display: block;
}

.header-contact{
	height: 40px;/*高さを指定しないと下のお問い合わせリンクとかぶるため*/
	margin: auto 0;
	padding: 0 3%;
	width: 260px;
}

.header-contact__time{
	color: #848484;
}

.header-contact__tel{
	margin: 5px 0 0 0;
	font-size: 20px;
	color: #0404B4;
	 /*ウィンドウ縮小時、flexの影響で文字が崩れてしまい、下にかぶるため横幅を指定（場所はこのクラス限定）*/
}

.header-contact a{
	text-decoration: none;
	color: #0404B4;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all  0.5s ease;
}

.header-contact a:hover{
	color: #81DAF5;
}

/*ナビゲーション*/

.nav-menu{
	background: linear-gradient(white, #0404B4);
}

.nav-menu ul{
	display: flex;
	justify-content: space-around;
	
}

.nav-menu li{
	border: solid #BDBDBD 1px;
	height: 50px;
	width: 500px;
	text-align: center;
	line-height: 50px;
	border-width: 0 0.5px;
}

.nav-menu li a{
	font-size: 20px;
	text-decoration: none;
	color: white;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all  0.5s ease;
}

.nav-menu li a:hover{
	color: #B43104;
}

/*メインイメージ*/

#main-image {
	width: 100%;
	height: 400px;
	margin: 0 auto;
	overflow: hidden;
	position: relative;
}

#main-image .slide-image{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.main-image__frame{
	height: 40px;
	background: linear-gradient(#0404B4, white);
}

/*メイン情報:会社説明*/

.main-explanation{
	width: 80%;
	padding: 20px;
	margin: 30px auto;
	background-image:url(../img/griffin-bg.png);
	-moz-background-size: 100%;
	-webkit-background-size: 100%;
	-o-background-size:100%;
	-ms-background-size:100%;
}

.main-explanation h1{
	padding: 20px;
	font-size: 28px;
	text-align: center;
	color: #08088A;
}

.main-explanation p{
	font-size: 20px;
	width: 60%;
	margin: auto;
	line-height: 25px;
}

/*コンセプト*/

.main-infomation{
	background-color:#E7EEFB;
	padding: 50px 0;
}

.main-infomation__title{
	font-size: 45px;
	text-align: center;
	color: #0B0B61;
}

.main-infomation__list{
	display: flex;
	flex-wrap: wrap;
}

.main-infomation__columns{
	width: 350px;
	margin: 30px auto;
}

.main-infomation__columns img{
	display: block;
	width: 250px;
	margin: auto;
	border: 10px solid #633211;
	border-radius: 100%;
	box-shadow:0px 0px 10px #3B0B0B;
}

.main-infomation__columns h3{
	font-size: 25px;
	font-weight: bold;
	text-align: center;
	margin: 30px 0 10px 0;
}

.main-infomation__columns p{
	padding: 10px 0px 35px 40px;
}

/*メイン情報:遷移リンク*/

.main-category{
	width: 400px;
	height: 200px;
	margin: auto;
}

.main-category:hover{
	opacity: 0.7;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all  0.3s ease;
}

.main-category img{
	width: 400px;
	height: 200px;
	border-radius: 5px;
}

.main-category__item{
	position: relative;
}

.main-category__bar{
	position: absolute;
	top: 80%;
	width: 400px;
	font-size: 20px;
	font-weight: bold;
	padding: 10px 0;
	color: white;
	border-radius: 0 0 5px 5px;
	text-align: center;
	background-color: antiquewhite;
	background-color:rgba(100,50,0,0.8)
}

/*最新情報*/

.latest-info{
	margin: 50px auto 20px;
	border: solid 3px #FBEFEF;
	border-radius: 10px;
	width: 75vw;
}

.latest-info__content h2{
	padding: 10px;
	font-size: 25px;
	text-align: center;
	background-color: #FBEFEF;
}

.latest-info__article{
	display: flex;
}

.latest-info__article img{
	width: 200px;
	height: 200px;
	display: block;
	margin: 40px 20px;
	border: 2px solid #BDBDBD;
}

.latest-info__article h3{
	text-align: center;
	font-size: 20px;
	margin: 20px auto;
}

.latest-info__sentences{
	margin: 20px auto;
}

.latest-info__sentences{
  line-height: 20px;
}

/*リンクエフェクト*/
.article-link{
	display: flex;
	justify-content: center;
	width: 100%;
}

.article-link__recruit{
	margin: 10px 40px 30px;
	overflow: hidden;
}

.article-link__recruit a{
  position: relative;
  display: block;
  text-align: center;
  font-size: 22px;
  text-decoration: none;
  color: black;
  font-weight: bold;
  background-color: ;
  border: 1px solid #8A2908;
  border-radius: 3px;
  transition: .4s;
  padding: .5vw 2vw;
}

.article-link__recruit a:before{
	content: "";
	z-index: -1;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: -100%;
	background-color: #8A2908;
	transition: .4s;
	border-radius: 3px;
}

.article-link__recruit a:hover{
	color: white;
	background-color: #8A2908;
	border-radius: 3px;
}

.article-link__recruit a:hover:before{
	left: 0;
}

/*見積りリンク*/

.quote-image__link{
	margin: 30px;
  text-align: center;
}

.quote-image__link img{
	border: solid 2px #BDBDBD;
	border-radius: 5px;
	width: 400px;
}

.quote-image__link a{
	margin: auto;
	margin-bottom: 60px;
}

.quote-image__link a:hover{
	opacity: 0.5;
	-webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

/*フッター*/

.footer{
	background-color: #0B0B61;
}

.footer-category{
	display: flex;
	justify-content: center;
	height: 100px;
}

.footer-category__item{
	margin: auto 0;
	width: 150px;
	text-align: center;
	font-size: 20px;
	color: white;
	list-style: none;
}

.footer-category a{
	text-decoration: none;
	margin: auto 0;
	color: white;
}

.footer-category__item a{
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all  0.5s ease;
}

.footer-category__item a:hover{
	color: #F7B16B;
}

.footer-category__bar{
	border: solid white 1px;
	border-width: 0 2px 0 0;
}


/* ========== iPad版の設定 =========== */


@media(max-width: 768px){
	
	.header img{
		width: 250px;
		height: 70px;
	}
	
	.header-estimate{
		height: 30px;
	}

	.header-estimate__decoration{
		width: 60px;
		font-size: 15px;
		line-height: 0px;
	}
	
	.header-contact{
		width: 200px;
	}
	
	.header-contact__time{
		font-size: 15px;
	}
	
	.header-contact__tel{
		width: 180px;
		font-size: 18px;
	}
	
	.nav-menu li a{
		font-size: 15px;
	}
	
	.nav-menu li{
		height: 40px;
		line-height: 40px;
	}
	
/*メイン*/
	
	.main-explanation{
		width: 75%;
		padding: 20px;
		margin: 30px auto;
		background-image: url(../img/griffin-bg_mobile.png);
		-moz-background-size: 100%;
		-webkit-background-size: 100%;
		-o-background-size:100%;
		-ms-background-size:100%;
	}
	
	.latest-info img{
		width: 150px;
		height: 150px;
		margin-right: 0;
	}
	
	.latest-info__sentences{
		margin: 20px;
	}
}
	
@media(max-width: 600px){
	
	.header-side__position{
		display: block;
		margin-right: 2%;
	}
	
	.header-estimate{
		margin: 10px auto;
		width: 80px;
	}
	
	.header-contact{
		width: 150px;
	}
	
	.header-contact__time{
		font-size: 12px;
	}
	
	.header-contact__tel{
		width: 150px;
		font-size: 14px;
	}
  
  .latest-info__article{
    display: block;
  }
  
  .latest-info__article img{
    width: 50vw;
    margin: 20px auto;
  }
	
	.article-link__recruit{
		width: auto;
	}
	
	.article-link__recruit a{
		font-size: 18px;
		border: 2px solid #8A2908;
	}
  
  .quote-image__link img{
    width: 90%;
  }
	
/*フッター*/
	
	.footer-category{
		height: 80px;
		font-size: 15px;
	}
	
	.footer-category__item{
		padding: 0 2%;
	}
	
	.footer-category a{
		font-size: 15px;
	}
}	
/* ========== SP版の設定 =========== */
	
@media(max-width: 414px){
	
	.header{
		margin: 0;
		padding: 0;
		display: block;
		height: 130px;
	}
	
	.header-img__link a img{
		width:90%;
		height: 100px;
		margin-left: 20px;
	}
	
	.header-contact{
		display: flex;
		margin: 0;
		padding: 0;
		width: 100%;
		height: 20px;
	}
	
	.header-contact p{
		margin: 0 auto;
		font-size: 15px;
	}
	
	.header-contact__time{
		width: 160px;
	}
	
	.header-contact__tel{
		width: 155px;
	}
	
	.header-side__position{
		margin: 0;
	}
	
	.header-estimate{
		width: 120px;
		height: 100px;
		position: fixed;
		bottom: 0;
		right: 0;
		margin: 0px;
		background: rgba(240,120,030,0.8);
		border-radius: 0px;
		z-index: 1;
	}
	
	.header-estimate a{
		width: 120px;
		height: 100px;
		font-size: 21px;
		font-weight: bold;
		padding: 0;
	}
	
	.header-estimate img{
		display: block;
		width: 50px;
		height: 50px;
		margin: 10px auto 20px;
	}

	
/*ナビ*/
	
	.nav-menu__list{
		display: flex;
		flex-wrap: wrap;
	}
	
	.nav-menu li{
		width: 206px;
		height: 30px;
		line-height: 30px;
	}
	
	.nav-menu li a{
		font-size: 15px;
	}
	
/*メインイメージ*/
	
	#main-image{
		width: 100%;
		height: 250px; /*画像の表示領域*/
	}
	
	#main-image img{
		height: 250px; /*画像自体の大きさ　ここがないと画像のフォーカスがズレる*/
	}
	
	.image1{
		width: 400px;
	}
	
	.image2{
		width: 600px;
	}
	
/*メイン*/
	.main-explanation{
		width: 100%;
		margin: 20px auto;
		padding: 0px;
		background-image: url(../img/griffin-bg_mobile.png);
	}
	
	.main-explanation h1{
		padding: 10px;
		font-size: 22px;
		text-align: center;
	}
	
	.main-explanation p{
		width: 370px;
		padding: 0 10px 10px;
		font-size: 16px;
		line-height: 25px;
	}
	
/*コンセプト*/
	
	.main-infomation__title{
		font-size: 40px;
	}
	
	.main-infomation__columns img{
		width: 250px;
		height: 200px;
		border: 5px solid #633211;
		border-radius: 75px;
	}
	
	.main-infomation__columns h3{
		font-size: 28px;
	}
	
	.main-infomation__columns p{
		font-size: 16px;
		width: 250px;
		margin: 10px auto 0;
		padding: 0px;
		line-height: 20px;
	}
	
/*リンク*/
	
	.main-category{
		width: 300px;
		height: 150px;
		margin: auto;
	}
	
	.main-category img{
		width: 300px;
		height: 150px;
	}
	
	.main-category__bar{
		width: 300px;
	}
	
/*最新情報*/
	
	.latest-info{
      width: 90%;
	}
	
	.latest-info__content h2{
		font-size: 30px;
	}
	
	.latest-info__article img{
		width: 70%;
		margin: 20px auto;
	}
	
	.article-link__recruit{
		margin: auto;
	}
	
  .article-link__recruit a{
      font-size: 4.5vw;
      border: 1.5px solid #8A2908;
    padding: 1.5vw 3vw;
  }

/*リンク情報*/
	.quote-image__link{
		margin: 15vw 0;
	}
  
	.quote-image__link a{
		margin-bottom: 40px;
	}

/*フッター*/
	
	.footer{
		position: relative;
		overflow: hidden;
	}
	
	.footer-category{
		display: block;
		height: 200px;
		margin: auto;
	}
	
	.footer-category__item{
		width: 130px;
		margin: 10px auto;
		padding: 10px 0 0;
		list-style:square;
		text-align: left;
	}
	
	.footer-category__item a{
		font-size: 20px;
	}
	
	.footer-category__bar{
		border-width: 0;
	}
	
}

@media(max-width: 375px){

  .header-img__link a img{
    width:100%;
    margin-left: auto;
  }
	
	.nav-menu li{
		width: 186px;
	}
	
	.nav-menu li a{
		font-size: 18px;
	}
	
	.main-explanation p{
		width: 300px;
	}
	
	.article-link__recruit{
		margin: 10px 27px;
	}
	
	.quote-image__link img{
		width: 90%;
	}

	.quote-image__link a{
		width: 250px;
		margin-bottom: 40px;
	}

}
	