@charset "UTF-8";

html {
  font-size: 100%;
}
body {
  /*color: #050507;*/
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 300;
  animation: bgchange 20s ease infinite;/*変化の時間を変更したい場合は20sの部分を好きな時間に変更*/
}
/*bodyの背景の色変化*/
@keyframes bgchange{
      0%   {background:#2e6583;}/*変化させたい色*/
      25%  {background:#02324c;}/*変化させたい色*/
      50%  {background:#1c2930;}/*変化させたい色*/
      75%  {background:#053d5c;}/*変化させたい色*/
      90%  {background:#035684;}/*変化させたい色*/
      100% {background:#2e6583;}/*変化させたい色*/
 }
a {
  color: #fff;
  text-decoration: none;
}
img {
  max-width: 100%;
  vertical-align: bottom;
}
li {
  list-style: none;
}
p dl dt dd{
	text-align: left;
}


/*-------------------------------------------
about
-------------------------------------------*/
.about{
	margin: 0 auto;
	width: 800px;
}
.about_text{
	margin: 100px ;
	text-align: left;
	font-size: 1.5rem;
}
.about_text dd{
	padding:0 0 30px 15%;
}

/*-------------------------------------------
プライバシーポリシー
-------------------------------------------*/
.info-text{
	margin: 100px ;
	text-align: left;
	
	
}
.info-text dd{
	padding:0 0 30px 5%;
}

/* h1タグ用 */
.site-title {
  font-size: 6.25rem;
  font-weight: 300;
  letter-spacing: 0.03em;
  margin:0 auto;
  padding-top: 100px;
}
/* h2タグ用 */
.section-title {
  border-bottom: solid 1px #fff;
  /* 下線をテキストと同じ幅にあわせるために設定 */
  display: inline-block;
  font-size: 3.75rem;
  font-weight: 300;
  letter-spacing: 0.03em;
  margin-bottom: 45px;
}
/* コンテンツ幅を設定するための共通クラス */
.wrapper {
  /*max-width: 800px;*/
  padding: 0 30px;
  margin: 0 auto;
}
/* MainとFooter全体を囲むクラス */
.container {
  /*background: #050507;*/
  color: #fff;
  text-align: center;
}

/*
サイドボタン
初期状態は「translateY(60px);」で画面の右側に隠しておく
Galleryのタイトルが画面下にきたタイミングで、jQueryでCSSを変更してボタンをスライドしながら表示する
Accessのタイトルが画面下にきたタイミングで、jQueryでCSSを変更してボタンをスライドしながら非表示にする
※main.jsの「サイドボタンを表示」を参照
*/
#side-btn {
  border: solid 1px #fff;
  position: fixed;
  right: -144px;
  bottom: 200px;
  transform: rotate(-90deg) translateY(60px);
  transition: 0.6s;
  z-index: 30;
}
#side-btn a {
  width: 165px;
  font-size: 0.875rem;
  display: inline-block;
  letter-spacing: 0.1em;
  padding: 15px 0;
  transition: 0.3s;
}
#side-btn a:last-of-type {
  border-left: solid 1px #fff;
}
#side-btn a:hover {
  opacity: 0.7;
}

/*
Accessの背景画像
初期状態は「display: none;」で非表示にしておく
Accessのタイトルが画面下にきたタイミングで、jQueryのfadeInで表示する
Contactのタイトルが画面下にきたタイミングで、jQueryのfadeOutで非表示にする
「position: fixed;」で固定し「width: 100vw;」「height: 100vh;」で全画面表示する
※main.jsの「Accessの背景画像を表示」を参照
*/
.bg {
  background: url("../img/bg.jpg") center center repeat !important;
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  display: none;
  z-index: 10;
}

/*
フェード表示
InformationとGalleryの画像を下からふわっと表示させるためのクラス
「transform: translate(0, 50%);」で下にさげた状態で、
「opacity: 0;」で非表示にしておく
*/
.fadein {
  opacity: 0;
  transform: translate(0, 50%);
  transition: 2s;
}
/*
fadeinクラスの要素が画面下にきたタイミングで、jQueryのinviewにてshowクラスを追加して
「transform: translate(0, 0);」と「opacity: 1;」で表示させる
※main.jsの「フェード表示」を参照
*/
.fadein.show {
  transform: translate(0, 0);
  opacity: 1;
}

/*-------------------------------------------
ヘッダー
-------------------------------------------*/
/*
ヘッダーロゴ
初期状態は「display: none;」で非表示にしておく
所定のスクロール位置にきたらjQueryのfadeInで表示する
※main.jsの「ロゴ、ハンバーガーメニューの表示」を参照
*/
.logo {
  width: 140px;
  line-height: 1px;
  position: fixed;
  top: 35px;
  left: 30px;
  /* 一番上にくるように設定 */
  z-index: 40;
  
}
.logo a {
  display: block;
}

/*
ハンバーガ―メニュー
初期状態は「display: none;」で非表示にしておく
所定のスクロール位置にきたらjQueryのfadeInで表示する
※main.jsの「ロゴ、ハンバーガーメニューの表示」を参照
*/
.hamburger {
  width: 42px;
  height: 42px;
  cursor: pointer;
  position: fixed;
  top: 20px;
  right: 25px;
  /* 一番上にくるように設定 */
  z-index: 40;

}
.hamburger span {
  width: 30px;
  height: 1px;
  background-color: #fff;
  position: absolute;
  left: 6px;
  transition: 0.5s ease-in-out;
}
.hamburger span:nth-child(1) {
  top: 11px;
}
.hamburger span:nth-child(2) {
  top: 21px;
}
.hamburger span:nth-child(3) {
  top: 31px;
}
.hamburger.active span:nth-child(1) {
  top: 21px;
  left: 6px;
  transform: rotate(-45deg);
}
.hamburger.active span:nth-child(2),
.hamburger.active span:nth-child(3) {
  top: 21px;
  transform: rotate(45deg);
}
#navi {
  width: 100%;
  background-color: #fff;
  color: #050507;
  position: fixed;
  top: 0;
  left: 0;
  text-align: center;
  transform: translateY(-100%);
  transition: 0.6s;
  /* ロゴ、ハンバーガーより下でAccessページの背景画像よりも上にくるよう設定 */
  z-index: 30;
}
#navi ul {
  width: 100%;
  background-color: #050507;
  padding: 80px 0 30px 0;
}
#navi ul li {
  padding: 10px 0;
}
#navi ul li a {
  display: block;
}
/*
メニュー表示
ハンバーガーメニューがクリックされた際に、jQueryで#naviにactiveクラスを追加して、
メニューを上から下にスライドさせて表示する
*/
#navi.active {
  transform: translateY(0%);
}

/*-------------------------------------------
Mainvisual
-------------------------------------------*/
#mainvisual {
  display: flex;
  justify-content: center;
  /* スクロールで画像を拡大させた際に、横スクロールが出ないよう設定 */
  overflow-x: hidden;
}
/*
スクロールしたタイミングでjQueryにて画像を拡大するが、
その際に画像が縮まないよう「flex-shrink: 0;」を設定する
*/
#mainvisual img {
  width: calc(100%/3);
  height: 100vh;
  flex-shrink: 0;
  object-fit: cover;
}

/*-------------------------------------------
Information
-------------------------------------------*/
#information {
  margin-bottom: 140px;
}
#information p {
  margin: 5%;
}

/*-------------------------------------------
Gallery
-------------------------------------------*/
#gallery {
  margin-bottom: 480px;
}


/*-------------------------------------------
Access
-------------------------------------------*/
/*
「z-index: 20;」でコンテンツが背景画像の上にくるようにする
※デフォルトのposition（static）では、z-indexを指定できないため。
「position: relative;」設定する
*/
#access {
  margin-bottom: 480px;
  position: relative;
  z-index: 20;
}


/*-------------------------------------------
Contact
-------------------------------------------*/
/*
「z-index: 20;」でコンテンツが背景画像の上にくるようにする
*/
#contact {
  margin-bottom: 200px;
  position: relative;
  z-index: 20;
}
#contact .btn {
  width: 400px;
  border: solid 1px #7d7d7d;
  color: #fff;
  display: block;
  padding: 30px 0;
  margin: 0 auto 20px auto;
  position: relative;
  transition: 0.3s;
}
/*
ボタン矢印
*/
#contact .btn::before,
#contact .btn::after {
  content: "";
  position: absolute;
  right: -40px;
  height: 1px;
  background-color: #fff;
  transition: 0.3s;
}
/*
矢印の直線部分
*/
#contact .btn::before {
  width: 120px;
  top: 48px;
}
/*
矢印の先端部分
「rotate(25deg)」で角度をつける
*/
#contact .btn::after {
  width: 15px;
  top: 45px;
  transform: rotate(25deg);
}
#contact .btn:hover {
  opacity: 0.7;
}
#contact .btn:hover::before,
#contact .btn:hover::after {
  right: -50px;
}

/*-------------------------------------------
Footer
-------------------------------------------*/
#footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-top: solid 1px #fff;
  font-size: 0.75rem;
  padding: 80px 30px;
  text-align: left;
}
#footer p {
  line-height: 1.6;
}
#footer .sns {
  display: flex;
  align-items: center;
  margin-top: 30px;
}
#footer .sns li {
  margin-right: 15px;
}
#footer .copyright {
  display: flex;
  align-items: center;
}
#footer .copyright li:last-child {
  margin-left: 30px;
}

/*-------------------------------------------
SP
-------------------------------------------*/
@media screen and (max-width: 900px) {
  .site-title {
    font-size: 3rem;
    margin: 50px 0;
  }
  .section-title {
    font-size: 2rem;
  }

/*-------------------------------------------
about
-------------------------------------------*/
.about{
	margin: 0 auto;
	width: 100%;
}
.about_text{
	margin: 100px 5% ;
	text-align: left;
	font-size: 1.5rem;
}
.about_text dd{
	padding:0 0 30px 15%;
}

/*-------------------------------------------
プライバシーポリシー
-------------------------------------------*/
.info-text{
	margin: 0 5% ;
	text-align: left;
	
	
}
.info-text dd{
	padding:0 0 30px 5%;
}

  /*-------------------------------------------
  Information
  -------------------------------------------*/
  #information {
    margin-bottom: 80px;
  }

  /*-------------------------------------------
  Gallery
  -------------------------------------------*/
  #gallery {
    margin-bottom: 280px;
  }

  /*-------------------------------------------
  Access
  -------------------------------------------*/
  #access {
    margin:100px 20% 280px;
  }

  /*-------------------------------------------
  Contact
  -------------------------------------------*/
  #contact .btn {
    width: 100%;
  }
  /*
  スマホの時は矢印を消す
  */
  #contact .btn::before,
  #contact .btn::after {
    content: none;
  }

  /*-------------------------------------------
  Footer
  -------------------------------------------*/
  #footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 60px 30px;
  }
  #footer .sns {
    margin-bottom: 30px;
  }
}




  /*-------------------------------------------
  施工事例
  -------------------------------------------*/
.content {
  max-width: 1000px;
  height: 698px;
  margin: 100px auto;
  position: relative;
  color: #000;
  
}
/*
【要素の重ね合わせ（子要素）】
「position: absolute;」と「left」で左に配置。
*/
.text {
  max-width: 680px;
  background-color: #fff;
  padding: 84px 160px 84px 84px;
  position: absolute;
  left: 0;
}
.text_r {
  max-width: 680px;
  background-color: #fff;
  padding: 84px 160px 84px 84px;
  position: absolute;
  right: 0;
}
.text p {
  line-height: 1.8;
  margin-bottom: 35px;
}
.text_r p {
  line-height: 1.8;
  margin-bottom: 35px;
}
/*
「display: inline-block;」で下線をテキスト幅に合わせる。
*/
.text .title {
  border-bottom: solid 1px #35383a;
  display: inline-block;
  font-size: 1.875rem;
  font-weight: normal;
  margin-bottom: 30px;
}
.text_r .title {
  border-bottom: solid 1px #35383a;
  display: inline-block;
  font-size: 1.875rem;
  font-weight: normal;
  margin-bottom: 30px;
}
.text .large {
  font-size: 1.875rem;
}
.text_r .large {
  font-size: 1.875rem;
}


/*
【要素の重ね合わせ（子要素）】
「position: absolute;」と「top」「right」で、
親要素の上から140px、右から20pxに配置。
*/
.img {
  max-width: 400px;
  position: absolute;
  top: 140px;
  right: 20px;
}
.img_l {
  max-width: 400px;
  position: absolute;
  top: 140px;
  left: 20px;
}
/*
「vertical-align: bottom;」で、画像の下の隙間を消す。
「top」を指定してもOK。
（※画像の下の隙間を消す方法は、実務でもよく使うので
覚えておいてください。）
*/
.img img {
  vertical-align: bottom;
}
.img_l img {
  vertical-align: bottom;
}

/*-------------------------------------------
SP
-------------------------------------------*/
@media screen and (max-width: 1000px) {
  /*
  スマホ時はテキストエリアと画像を縦に並べるので、
  「position: static;」で位置の固定を解除する。
  「height: auto;」で高さの固定も解除する。
  */
  .content {
    height: auto;
    position: static;
    margin: 0;
  }
  .text {
    max-width: 100%;
    padding: 60px 20px;
    position: static;
  }
  .text_r {
    max-width: 100%;
    padding: 60px 20px;
    position: static;
  }
  .img {
    max-width: 100%;
    position: static;
  }
  .img_l {
    max-width: 100%;
    position: static;
  }
}



/* --------------------------------
 * contact
 * -------------------------------- */

.contact_us{
	margin-bottom: 200px;
	padding:80px 0 100px;
	letter-spacing:0.2rem;
	font-size: 1.8rem;
	}

.contact_h2{
	color: #000;
	text-align: center;
}

.contact-from{
	width:50%;
	margin:50px auto 0;
	}

.contact-from input[type=text],
.contact-from textarea{
	display:block;
	width:100%;
	margin-bottom:10px;
	padding:15px;
	outline:none;
	border:1px solid rgba(0,0,0,0.15);
	border-radius:0;
	background-color:rgba(255,255,255,0.6);
	color:#fff;
	font-size: 1.5rem;
	}

.contact-from ::-webkit-input-placeholder{
	color: rgba(255,255,255,0.6);
	opacity:1;
	}
	
.contact-from :-ms-input-placeholder{
	color: rgba(255,255,255,0.6);
	opacity:1;
	}

.contact-from ::-moz-placeholder{
	color: rgba(255,255,255,0.6);
	opacity:1;
	}

.contact-from textarea{
	height:250px;
	}

.contact-from input[type=text]:focus,
.contact-from textarea:focus{
	box-shadow:0 0 8px rgba(0,0,0,0.2) inset;
	}


.contact-from input[type=submit]{
	display:block;
	width:100%;
	margin:40px auto 0;
	padding:15px;
	border:1px solid rgba(0,0,0,0.23);
	border-radius:5px;
	background-color:rgba(1,0,0,0.2);
	color:rgba(255,255,255,0.6);
	cursor:pointer;
	}

.contact-from input[type=submit]:hover{
	background-color:rgba(0,0,0,0.8);
	}

/* --------------------------------
 * smart phone　　contact
 * -------------------------------- */


	
@media (max-width:768px){
	
	
	/*contact*/
	#access{
		margin: 100px 0 280px;
	}
	.contact_us{
		padding: 80px 0 80px;
	}
	
	.contact-from{
		width:80%;
		}
	
	.contact-from input[type=text],
	.contact-from textarea{
	font-size: 1rem;
	}
	
	
	}
	