@charset "utf-8";

html{
  font-size: 62.5%;
}

body{
  background-color: #ffffff;
}

h1{
}

h2{
  font-size: 7.0rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 0.3rem;
  line-height: 8rem;
  color: #333333;
  margin-bottom: 2rem;
}

h3{
  font-size: 3.6rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  letter-spacing: 0.2rem;
  color: #333333;
}

p{
  font-size: 1.6rem;
  letter-spacing: 0.1rem;
  line-height: 3.5rem;
  font-family: 'Noto Sans JP', sans-serif;
  color: #333333;
}

a{
  text-decoration: none;
  font-size: 1.5rem;
  color: #333333;
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0.3rem;
}

#header{
  height: 70px;
  padding-top: 27px;
  padding-left: 5%;
}

.logo{
}


/*-------------------------------------------------Works---*/
#works{
  text-align: center;
  max-width: 1170px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 20rem;
  margin-bottom: 20rem;
}

.lineup-wrap{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 7rem 10px 5rem 10px;
}

.lineup{
  width: 30%;
  margin-bottom: 5rem;
  overflow: hidden;
  position:	relative;	/* 相対位置指定 */
}

.works-image{
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

.lineup .caption {
  font-size: 1.6rem;
  text-align: center;
  padding-top: 50%;
  color: #fff;
}
.lineup .mask {
  width: 100%;
  height:	 100%;
  border-radius: 10px;
  position: absolute;	/* 絶対位置指定 */
  top: 0;
  left: 0;
  opacity: 0;	/* マスクを表示しない */
  background-color: rgba(0,0,0,0.4);	/* マスクは半透明 */
  -webkit-transition:	all 0.2s ease;
  transition: all 0.2s ease;
}
.lineup:hover .mask {
  opacity: 1;	/* マスクを表示する */
}


/*--------------------------------------------- footer---*/
#footer{
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 15rem;
  max-width: 1150px;
}

.footer-wrap{
  text-align: center;
}

.info-wrap{
  
}

.company{
  font-size: 2.0rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

#footer .smoll{
  margin-top: 3rem;
}

.footer-menu-copy{
  max-width: 1256px;
  margin: auto;
  padding-top: 2rem;
  padding-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-menu ul{
  display: flex;
  list-style: none;
}

.footer-menu li a{
  font-size: 1.3rem;
}

.footer-menu li a::after{
  content: "";
    display: inline-block;
    width: 1px;
    height: 1.5rem;
    background-color: #585858;
    margin: 0 3rem;
    opacity: .50;
}

.copy p{
  font-size: 1.0rem;
  
}
/*------------------------------------------------ ナビゲーションCSS ---*/

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

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive{
    bottom: 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:50%;
    left:50%;
    transform: translate(-50%,-50%);
}

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

#g-nav li{
	list-style: none;
    text-align: center;
    font-size: 1.6rem;
}

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

#g-nav li a:hover{
	color: #d53e04;
}


/*----------------------------- ボタンのためのCSS ---*/
.openbtn{
	position:fixed;
    z-index: 9999;/*ボタンを最前面に*/
	top:15px;
	right: 60px;
	cursor: pointer;
    width: 50px;
    height:50px;
}
	
/*×に変化*/	
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
	background-color: #585858;
  	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);
    background-color: #585858;
    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);
    background-color: #585858;
    width: 30%;
}

/*-------------------------------- ボタン ---*/
/*== ボタン共通設定 */
.btn{
    /*アニメーションの起点とするためrelativeを指定*/
    position: relative;
  overflow: hidden;
    /*ボタンの形状*/
  border-radius: 30px;
  text-decoration: none;
  display: inline-block;
    border: 1px solid #333333;/* ボーダーの色と太さ */
    padding: 10px 80px;
    text-align: center;
    outline: none;
    /*アニメーションの指定*/   
    transition: ease .2s;
}

/*ボタン内spanの形状*/
.btn span {
  position: relative;
  z-index: 3;/*z-indexの数値をあげて文字を背景よりも手前に表示*/
  color:#333333;
}

.btn:hover span{
  color:#fff;
}

/*== 背景が流れる（左から右） */
.bgleft:before {
  content: '';
    /*絶対配置で位置を指定*/
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
    /*色や形状*/
  background:#333333;/*背景色*/
  width: 100%;
  height: 100%;
    /*アニメーション*/
  transition: transform .6s cubic-bezier(0.8, 0, 0.2, 1) 0s;
  transform: scale(0, 1);
  transform-origin: right top;
}

/*hoverした際の形状*/
.bgleft:hover:before{
  transform-origin:left top;
  transform:scale(1, 1);
}

/*-------------------------------- ボタンW ---*/

/*== ボタン共通設定 */
.btn-w{
    /*アニメーションの起点とするためrelativeを指定*/
    position: relative;
  overflow: hidden;
    /*ボタンの形状*/
  border-radius: 30px;
  text-decoration: none;
  display: inline-block;
    border: 1px solid #fff;/* ボーダーの色と太さ */
    padding: 10px 80px;
    text-align: center;
    outline: none;
    /*アニメーションの指定*/   
    transition: ease .2s;
  margin-top: 4rem;
}

/*ボタン内spanの形状*/
.btn-w span {
  position: relative;
  z-index: 3;/*z-indexの数値をあげて文字を背景よりも手前に表示*/
  color:#fff;
}

.btn-w:hover span{
  color:#333333;
}

/*== 背景が流れる（左から右） */
.bgleft-w:before {
  content: '';
    /*絶対配置で位置を指定*/
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
    /*色や形状*/
  background:#fff;/*背景色*/
  width: 100%;
  height: 100%;
    /*アニメーション*/
  transition: transform .6s cubic-bezier(0.8, 0, 0.2, 1) 0s;
  transform: scale(0, 1);
  transform-origin: right top;
}

/*hoverした際の形状*/
.bgleft-w:hover:before{
  transform-origin:left top;
  transform:scale(1, 1);
}
/*---------------------------------------------------------------------- mobile---*/
@media(max-width: 767px){


#header{
  height:50px;
  padding-top: 20px;
}


/*-------------------------------------------------Works---*/
#works{
  margin: 5rem 0 5rem 0;
  text-align: center;
  padding: 2rem;
}

.lineup-wrap{
  display: flex;
  margin: 0 auto 3rem auto;
}

.lineup{
  width: 48%;
  text-align: center;
  margin-bottom: 2rem;
}

.works-image{
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}



  
/*--------------------------------------------- footer---*/
#footer{
}
  
.footer-wrap{
}

.info-wrap{
}


.footer-menu-copy{
  display: block;
  padding: 3rem;
}

.footer-menu ul{
  display: flex;
}

.footer-menu li a{
  font-size: 1.2rem;
  margin-right: 1rem;
}

.footer-menu li a::after{
  content: "";
    display: none;
}

.copy p{
  font-size: 1.0rem;
  
}
  
  /*----------------------------- ヘッダーメニューボタンのためのCSS ---*/
.openbtn{
	top:10px;
	right: 20px;
	cursor: pointer;
    width: 50px;
    height:50px;
}
