@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{
}
/*-------------------------------------------------slider---*/

.slider-wrap{
  width: 100%;
}

.slider{
  z-index: 1;
	/*↑z-indexの値をh1のz-indexの値よりも小さくして背景に回す*/
}

.slider-item01 {
  background:url(../images/slide-1.jpg);
}

.slider-item02 {
  background:url(../images/slide-2.jpg);
}

.slider-item03 {
  background:url(../images/slide-3.jpg);
}

.slider-item {
  padding-top: 50vw;
  background-repeat: no-repeat;/*背景画像をリピートしない*/
  background-position: center;/*背景画像の位置を中央に*/
  background-size: cover;/*背景画像が.slider-item全体を覆い表示*/
}

/*-------------------------------------------------slider矢印設定---*/

.slick-prev, 
.slick-next {
  position: absolute;
  z-index: 3;
  top: 50%;
  cursor: pointer;/*マウスカーソルを指マークに*/
  outline: none;/*クリックをしたら出てくる枠線を消す*/
  border-top: 2px solid #fff;/*矢印の色*/
  border-right: 2px solid #fff;/*矢印の色*/
  height: 20px;
  width: 20px;
  font-size: 0;
  line-height: 0;
}

.slick-prev {/*戻る矢印の位置と形状*/
    left:2.5%;
    transform: rotate(-135deg);
}

.slick-next {/*次へ矢印の位置と形状*/
    right:2.5%;
    transform: rotate(45deg);
}

/*-------------------------------------------------sliderドット設定---*/

.slick-dots {
  position: relative;
  z-index: 3;
  text-align:center;
  margin:-5rem 0 0 0;/*ドットの位置*/
}

.slick-dots li {
    display:inline-block;
  margin:0 1rem;
}

.slick-dots button {
    color: transparent;
    outline: none;
    width:8px;/*ドットボタンのサイズ*/
    height:8px;/*ドットボタンのサイズ*/
    display:block;
    border-radius:50%;
    background:#fff;/*ドットボタンの色*/
}

.slick-dots .slick-active button{
    background:#333;/*ドットボタンの現在地表示の色*/
}

/*-------------------------------------------------first-view-text---*/
#first-view{
  margin-bottom: 15rem;
}

.first-view-text{
  margin-top: -2rem;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

/*-------------------------------------------------vision---*/
#hello{
  max-width: 1256px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 15rem;
}

.hello-image img{
  width: 50%;
  margin-left: 25%;
  margin-right: 25%;
}

.hello-text{
  margin-top: 3rem;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
  text-align: justify;
}

/*-------------------------------------------------Works---*/
#works{
  text-align: center;
  max-width: 1170px;
  margin-left: auto;
  margin-right: auto;
  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;	/* マスクを表示する */
}

/*-------------------------------------------------Service---*/
#service{
  text-align: center; 
}

#service h2{
  color: #fff;
}

#service p{
  color: #fff;
}

.service-inner{
  padding: 15rem 0rem 15rem 0rem;
}

.service-outbox{
  width: 70%;
  margin: auto;
  margin-top: 8rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.service-box{
  width: 33%;
  margin-bottom: 8rem;
}

.service-image{
  background-color: #ffffff;
  border-radius: 30px;
  box-shadow: 6px 6px 6px 0px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  width: 45%;
}


/*--------------------------------------------- NEWS---*/
#news{
  max-width: 1150px;
  margin: auto;
  margin-top: 15rem;
  text-align: center;
  margin-bottom: 15rem;
}

.news-wrap{
  display: flex;
  justify-content: space-between;
  margin: 4rem auto 4rem auto;
  height: auto;
  text-align: left;
}


/* ------------------------------------------------NEWS----*/
ul#viewPosts {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    border: none;
    justify-content: space-between;
    gap: 20px;
    margin: 0;
}
li.posts {
    width: 23%;
    margin: 0;
    padding: 0;
}
li.posts a {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    background: #FFF;
    box-shadow: 0 0 3px 0 rgb(0 0 0 / 12%), 0 2px 3px 0 rgb(0 0 0 / 22%);
    cursor: pointer;
    transition: 0.2s ease-in-out;
    border-radius: 3px;
}
li.posts a:hover {
    box-shadow: 0 15px 30px -5px rgb(0 0 0 / 15%), 0 0 5px rgb(0 0 0 / 10%);
    transform: translateY(-4px);
}
li.posts a img {
    margin-bottom: 15px;
    object-fit: cover;
    height: 13vw;
    border-radius: 3px 3px 0 0;
}
time.postTime {
    display: block;
    margin: 0 0 3px;
    color: #333;
    font-size: 1.1rem;
    padding: 0 20px;
    position: relative;
    font-family: sans-serif;
    letter-spacing: 0.3rem;
}

p.postTitle {
    padding: 0px 20px 0;
    font-size: 1.6rem;
    line-height: 1.56;
    color: #333;
    margin-bottom: 1.2rem;
    letter-spacing: 0.1rem;
}
@media screen and (max-width: 767px) {
/* （ここにモバイル用スタイルを記述） */
li.posts {
    width: 100%;
}

li.posts a img {
    height: 60vw;
}
}

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

.profile-wrap{
  width: 100%;
  height: 500px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 8rem;
  padding-left: 8rem;
  background-image: url(../images/profile-back.jpg);
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 10px;
}

.profile-text{
  width: 42%;
  margin-bottom: 4rem;
}

.bold{
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

.smoll{
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
/*--------------------------------------------- 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;
}

/*--------------------------------------------- slider---*/
.slider-wrap{
  padding-left: 0;
  width: 100%;
}
  
.slider-item {
  padding-top: 100vw;
  border-radius: 0 0 0 0;
}

/*--------------------------------------------- first-view---*/
#first-view{
  margin-bottom: 8rem;
}

/*-------------------------------------------------vision---*/
#hello{
  display: block;
  margin: 0 auto 5rem auto;
  max-width: 1256px;
  
}

.hello-image img{
  width: 90%;
  margin-left: 5%;
  margin-right: 5%;
  margin-bottom: 1rem;
}

.hello-text{
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
}

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

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

.lineup{
  width: 100%;
  text-align: center;
}

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


/*-------------------------------------------------SERVICE---*/
#service p{
  color: #fff;
  font-size: 1.4rem;
}
.service-box{
  width: 45%;
  margin-bottom: 6rem;
}
  
.service-image{
  background-color: #ffffff;
  border-radius: 30px;
  box-shadow: 6px 6px 6px 0px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  width: 80%;
}

/*--------------------------------------------- BLOG---*/
#news{
  text-align: center;
  margin-bottom: 5rem;
  padding: 2rem;
}

.news-wrap{
  display: block;
  justify-content: space-between;
}

.news-item{
  width: 100%;
  margin-bottom: 2rem;
}

/*--------------------------------------------- Profile---*/
#profile{
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10rem;
  max-width: 1150px;
}

.profile-wrap{
  width: 100%;
  height: auto;
  padding-top: 4rem;
  padding-left: 3rem;
  padding-bottom: 5rem;
  background-image: url(../images/profile-back.jpg);
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 0px;
  text-align: justify;
}
  .profile-text{
  width: 62%;
  margin-bottom: 2rem;
}

.bold{
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

.smoll{
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
  
/*--------------------------------------------- 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;
}
