@charset "utf-8";

/*ページレイアウト　始まり*/
html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  padding-top: 120px;
  z-index: 1; /*要素の重り　数字の大きいものが上に　static（初期値）には効果なし（relative,absolute,fixed,は有効）*/
}

/*ヘッダー内レイアウト　始まり*/
header {
  display: flex; /*横並びに*/
  width: 100%;
  height: 100px;
  background-color: #fff;
  font-size: 62.5%;
  align-items: center;
  padding: 10px;
  position: fixed; /*要素の位置を指定（fixedは固定）*/
  border-bottom: 3px solid #cccccc;
  top: 0;
  left: 0;
  z-index: 2; /*要素の重り　数字の大きいものが上に　static（初期値）には効果なし（relative,absolute,fixed,は有効）*/
}

.img1 {
  border-radius: 10px; /*角を丸くする*/
  float: left; /*左寄せ*/
  width: 80px;
  height: 80px;
}

.title {
  color: #000;
  margin-right: auto;
  padding-top: 60px;
}
/*ヘッダー内レイアウト 終わり*/

/*メインレイアウト　始まり*/
.top7 img {
  /*トップ画像レイアウト用*/
  width: 100%;
  height: 300px; /*表示する高さ*/
  object-fit: cover;
  object-position: 50% 50%;
  overflow: auto;
}

.hr1 {
  /* 区切り線の設定グラデーション */
  margin: 40px;
  height: 5px;
  background: #000;
  background-image: -webkit-linear-gradient(left, #000, #ddd, #000);
  background-image: -moz-linear-gradient(left, #000, #ddd, #000);
  background-image: -o-linear-gradient(left, #000, #ddd, #000);
}

.aboutus {
  /*トップ会社案内*/
  background: url(http://itsuki-construction.com/img/main.jpg) center top no-repeat;
  background-size: cover;
  width: 100%;
  margin-top: 20px;
  padding: 120px 0;
  text-align: center;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.aboutus p {
  display: inline-block;
  margin-top: 40px;
  color: #fff;
  font-size: 18px;
	text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, -1px 1px 0 #000,
    1px -1px 0 #000, 0px 1px 0 #000, 0-1px 0 #000, -1px 0 0 #000, 1px 0 0 #000;
  line-height: 2;
  text-align: left;
}
.top {
  font-family: "游明朝", "游明朝体";
  font-weight: 700;
  color: #fff;
	text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, -1px 1px 0 #000,
    1px -1px 0 #000, 0px 1px 0 #000, 0-1px 0 #000, -1px 0 0 #000, 1px 0 0 #000;
  -webkit-text-stroke: 0.5px #fff;
  font-size: 50px;
  margin-left: 10px;
}

.design2 {
  /*ｈ２項目デザイン*/
  margin-top: 80px;
  font-family: "游ゴシック", "Yu Gothic";
  color: #000;
  text-align: center;
  position: relative;
}
.design2 span {
  display: block;
  font-family: "Oswald";
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}

.business {
  /*事業案内*/
  margin: 10px auto 0;
}
.business ul {
  letter-spacing: -0.4em; /*文字間の余白調整*/
  list-style: none;
  text-align: center;
  position: relative;
}
.business ul li {
  margin: 20px; /*縦並びレイアウト調整用に追加*/
  max-width: 340px;
  width: 100%;
  position: relative;
  display: inline-block;
  letter-spacing: normal;
  vertical-align: top; /*インライン要素に対して位置揃え（ブロック要素には不可）*/
}
.business ul li:after {
  /*iｍｇシャドウ設定*/
  content: "";
  background: #000;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 10px;
  left: 10px;
}
.business ul li + li {
  margin-left: 20px; /*縦並びレイアウトずれのため変更　４０→２０*/
}
.business ul li a {
  /*アンカーサイズ、位置調整*/
  background: center center no-repeat;
  height: 340px;
  display: -webkit-flex;
  display: flex;
  position: relative;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
  text-decoration: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  z-index: 1; /*２から１へ変更（文字のヘッダーへの映り込み対応）*/
}
.business ul li a p {
  color: #fff;
  font-family: "游ゴシック", "Yu Gothic";
  font-size: 28px;
  font-weight: bold;
}
.business ul li a:before {
  /*グレーで画像貼り付け位置設定*/
  content: "";
  background: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 1;
  z-index: -1;
}
.business ul li a:after {
  content: "";
  background: url() center no-repeat;
  width: 64px;
  height: 27px;
  display: block;
  position: absolute;
  right: 20px;
  bottom: 20px;
  opacity: 1;
}
.business ul li.shop a {
  background-image: url(http://itsuki-construction.com/img/himeji2.jpg);
  background-size: cover; /*元画像の縦横比は保持して、要素をちょうどよく覆うサイズに調整*/
}
.business ul li.keiten a {
  background-image: url(http://itsuki-construction.com/img/joutou-n78.jpg);
  background-size: cover; /*元画像の縦横比は保持して、要素をちょうどよく覆うサイズに調整*/
}
.business ul li a:hover p,
.business ul li a:hover:after,
.business ul li a:hover:before {
  /*マウスオーバーで文字隠し＆img表示*/
  display: none;
}

.design1 {
  /*ｈ２項目デザイン*/
  margin-top: 80px;
  font-family: "游ゴシック", "Yu Gothic";
  color: #000;
  text-align: center;
  position: relative;
}
.design1 span {
  display: block;
  font-family: "Oswald";
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}

/*スライダーレイアウト*/

/*メインレイアウト　終わり*/

/*フッターレイアウト　始まり*/
footer {
  margin: 10px auto;
  padding: 10px;
  height: 160px;
  color: #fff;
  background-color: #000;
  border-top: 2px solid #dcdcdc;
  font-size: 13px;
}
.design05 {
  margin: auto;
}
.top5 {
  font-size: 15px;
  margin: 10px;
  text-align: center;
}
/*フッターレイアウト　終わり*/

/*ページレイアウト　終わり*/

/*ーーーーーーーーーーーーーーーーーーーーーーー*/

/*マウスオーバーで文字　始まり*/
.over {
  width: 400px;
  height: 300px;
  overflow: hidden; /*はみ出した要素の処理（hiddenは隠す指定）*/
  margin: 10px 8px 10px 16px;
  position: relative; /*要素の位置を指定（relativeは相対的に位置表示）*/
}
.over .caption {
  font-size: 130%;
  color: #fff;
  text-align: center; /*ブロック要素に有効、インライン要素には不可（span,a,などは×）*/
  padding-top: 80px;
}
.over .mask {
  width: 100%;
  height: 100%;
  position: absolute; /*要素の位置を指定（absoluteは親要素に対して絶対位置指定、親要素はrelative,fixed,で）*/
  top: 0;
  left: 0;
  opacity: 0; /* 透明度の指定、（0は透明、表示させない　0.0~1.0の範囲で） */
  background-color: rgba(0, 0, 0, 0.4);
  -webkit-transform: rotateX(-90deg) rotateY(-90deg);
  transform: rotateX(-90deg) rotateY(-90deg);
  -webkit-transition: all 0.6s ease;
  transition: all 0.6s ease;
}
.over:hover .mask {
  -webkit-transform: rotateX(0deg);
  transform: rotateX(0deg) rotateY(0);
  opacity: 1; /* ホバーで表示する */
}
/*マウスオーバーで文字 終わり*/
/*
  <div class="over">
	  <img src="http://localhost/hp/img/minami.jpg" alt="飲食店" class="" />
	  <div class="mask">
		  <div class="caption">飲食店</div>
	  </div>
  </div>
*/

/*会社概要テーブル用*/
table {
  border: 2px #000 solid;
}
.design01 {
  margin: auto;
  width: 90%;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 62.5%;
}
.design01 th {
  padding: 10px;
  background: #e9faf9;
  border: solid 1px #778ca3;
}
.design01 td {
  padding: 10px;
  border: solid 1px #778ca3;
}
/*会社概要テーブル用　ここまで*/

/*Works用*/
.top6 {
  text-align: center;
  font-size: 62.5%;
}
.pic_frame {
  display: inline-block;
  padding: 15px;
}
#works {
  padding: 10px;
}
/*Works用　ここまで*/

/*business用　ここから*/
.design3 {
  /*ｈ２項目デザイン*/
  margin-top: 80px;
  font-family: "游ゴシック", "Yu Gothic";
  color: #000;
  text-align: center;
  position: relative;
}
.design3 span {
  display: block;
  font-family: "Oswald";
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}

.business2 { /*トップ会社案内*/
  background: url(http://itsuki-construction.com/business/himeji2.jpg) center top no-repeat;
  background-size: cover;
  width: 100%;
  margin-top: 20px;
  padding: 120px 0;
  text-align: center;
  box-sizing: border-box;
}
.business2 p {
  display: inline-block;
  margin-top: 40px;
  color: #fff;
  text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, -1px 1px 0 #000,
    1px -1px 0 #000, 0px 1px 0 #000, 0 -1px 0 #000, -1px 0 0 #000, 1px 0 0 #000;
  font-size: 18px;
  line-height: 2;
  text-align: left;
}
.business3 {
  /*事業案内*/
  background: url(http://itsuki-construction.com/img/joutou-n78.jpg) center top no-repeat;
  background-size: cover;
  width: 100%;
  margin-top: 20px;
  padding: 120px 0;
  text-align: center;
  box-sizing: border-box;
}
.business3 p {
  display: inline-block;
  margin-top: 40px;
  color: #fff;
  text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, -1px 1px 0 #000,
    1px -1px 0 #000, 0px 1px 0 #000, 0-1px 0 #000, -1px 0 0 #000, 1px 0 0 #000;
  font-size: 18px;
  line-height: 2;
  text-align: left;
}
/*business用　ここまで*/

/*インスタロゴデザイン*/
.list{
  text-align: center;
}

.img2{
  width: 75%;
}