@charset "UTF-8";

/* ************************************************************************************************

   共通

   ************************************************************************************************ */
/***** ローディングアニメーション *****/
#loading {
  width: 100vw;
  height: 100vh;
  transition: all 1s;
  background-color: #222;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
}

.spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  -webkit-transform-origin: center;
          transform-origin: center;
  width: 120px;
  height: 120px;
}

.type5{
  width:20px;
  height:20px;
  border-radius:50%;
  background-color: #ccc;
  animation:spinner5_1 1.2s infinite linear forwards;
}

  @keyframes spinner5_1{
    0%{
      opacity:.2;
      transform:translate(-50%, -50%) rotate(0) scale(.5);
    }
    50%{
      opacity:1;
      box-shadow:21px 21px #fff, -21px -21px #fff, 21px -21px #fff, -21px 21px #fff;
      transform:translate(-50%, -50%) rotate(180deg) scale(1);
    }
    100%{
      opacity:.2;
      transform:translate(-50%, -50%) rotate(360deg) scale(.5);
    }
  }

.loaded {
  opacity: 0;
  visibility: hidden;
}


/***** ホバーアニメーション *****/
.access__tel:hover,
.recruit__tel:hover,
.news__ttl a:hover {
  color: #ccc;
  transition: .3s;
}

.header-nav__item--second li,
.news__ttl a{
  transition: .3s;
}

a:hover img {
  opacity: .6;
  transition: .6s;
}

img{
  transition: .6s;
}


/***** ボタン *****/
.btn1, .btn2{
  display: block;
  width: 219px;
  height: 54px;
  border: 2px solid #222;
  background-color: #fff;
  margin: 0 auto;
  text-align: center;
  line-height: 50px;
  position: relative;
  z-index: 2;
  color: #222;
  font-weight: 600;
  overflow: hidden;
  -webkit-transition: all .3s;
  transition: all .3s;
}

.btn1{
  font-family: 'Franklin';
  font-size: 1.6rem;
}

.btn1::before, .btn2::before,
.btn1::after, .btn2::after {
  position: absolute;
  z-index: -1;
  display: block;
  content: '';
}

.btn1, .btn2,
.btn1::before, .btn2::before,
.btn1::after, .btn2::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .3s;
  transition: all .3s;
}

.btn1:hover,
.btn2:hover {
  color: #fff;
}

.btn1::after,
.btn2::after {
  top: -100%;
  width: 100%;
  height: 100%;
}

.btn1:hover::after,
.btn2:hover::after {
  top: 0;
  background-color: #222;
}


/***** ヘッダースクロール *****/
header.hide{
    top: -90px;
}


/***** ヘッダードロップダウンメニュー *****/
 /* .works > li.header-nav__list--single {
    position: relative;
    will-change: transform;
}

li.header-nav__list--single ul.header-nav__item--second {
    position: absolute;
    top: 66px;
    width: 200px;
    background: rgba(255,255,255,0.4);
    -webkit-transition: all .2s;
    transition: all .2s;
    text-align: left;
    font-size: 12px;
    padding-top: 15px;
    padding-bottom:10px;
    opacity: 0;
    visibility: hidden;
}

li.header-nav__list--single:hover ul.header-nav__item--second {
    top: 53px;
    visibility: visible;
    opacity: 1;
    -webkit-transition: all .5s ease;
    transition: all .5s ease;
}

.header-nav__item--second li {
    line-height: 3;
    padding: 0 10px;
} */


/***** ナビゲーションアニメーション *****/
.header-nav__list::after {
  border-bottom: solid 2px #fff;
  bottom: 0;
  content: "";
  display: block;
  transition: all .3s ease;
  -webkit-transition: all .3s ease;
  width: 0;
}

.header-nav__list:hover::after {
  width: 100%;
}

.header-nav__list, .header-nav__list--single {
    position: relative;
}

.header-nav__list::before {
    border-top: solid 2px #fff;
    top: 0;
    content: "";
    display: block;
    width: 0;
    transition: all .3s ease;
    -webkit-transition: all .3s ease;
    position: absolute;
    right: 0;
}

.header-nav__list:hover::before {
  width: 100%;
}


/***** ハンバーガーメニュー *****/
#nav-drawer {
  position: relative;
}

.nav-unshown {
  display:none;
}

#nav-open {
  display: inline-block;
  width: 30px;
  height: 22px;
  vertical-align: middle;
}

#nav-open span, #nav-open span:before, #nav-open span:after {
  position: absolute;
  height: 3px;/*線の太さ*/
  width: 25px;/*長さ*/
  border-radius: 3px;
  background: #fff;
  display: block;
  content: '';
  cursor: pointer;
}
#nav-open span:before {
  bottom: -8px;
}
#nav-open span:after {
  bottom: -16px;
}

/*ハンバーガーメニュー閉じる用のカバー*/
#nav-close {
  display: none;/*はじめは隠しておく*/
  position: fixed;
  z-index: 99;
  top: 0;/*全体に広がるように*/
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: .3s ease-in-out;
}

/*ハンバーガーメニュー中身*/
#nav-content {
  overflow: auto;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 9999;/*最前面に*/
  width: 90%;/*右側に隙間を作る（閉じるカバーを表示）*/
  max-width: 330px;/*最大幅（調整してください）*/
  height: 100%;
  background: rgba(255, 255, 255, 0.8);/*背景色*/
  transition: .3s ease-in-out;/*滑らかに表示*/
  -webkit-transform: translateX(-105%);
  transform: translateX(105%);/*右に隠しておく*/
}

#header-sp {
  margin-top: 10rem;
  position: relative;
}

.header-sp__list {
  margin-bottom: 4rem;
}

.header-sp__item {
  display: block;
  text-align: center;
  margin-bottom: .8rem;
}

#nav-input:checked ~ #nav-close {
  display: block;/*カバーを表示*/
  opacity: .5;
}

#nav-input:checked ~ #nav-content {
  -webkit-transform: translateX(0%);
  transform: translateX(0%);/*中身を表示（左へスライド）*/
  box-shadow: 6px 0 25px rgba(0,0,0,.15);
}

#nav-input2:checked ~ #nav-content {
  display: none;
}


/***** ページトップに戻るボタン *****/
#page_top{
  width: 50px;
  height: 50px;
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  background: #fff;
  transform: rotate(45deg);
  z-index: 50;
}

#page_top:hover{
  opacity: 0.6;
}

#page_top a{
  position: relative;
  display: block;
  width: 60px;
  height: 60px;
  text-decoration: none;
}
#page_top a::before{
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f106';
  font-size: 3rem;
  color: #222;
  position: absolute;
  width: 25px;
  height: 25px;
  top: 0;
  bottom: 20px;
  right: 20px;
  left: 0;
  margin: auto;
  text-align: center;
  transform: rotate(-45deg);
}


/* ************************************************************************************************

   index.html

   ************************************************************************************************ */

/***** メニュー / ホバーすると文字が出てくる *****/
.works__item {
  position: relative;
  min-width: 310px;
  max-width: 330px;
  width: 100%;
  height: 220px;
  color: #ffffff;
  text-align: left;
  background-color: #000000;
  margin: 0 auto 5rem;
}
.works__item * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.4s ease-in;
  transition: all 0.4s ease-in;
}
.works__item img {
  position: relative;
  max-width: 100%;
  vertical-align: top;
}
.works__item figcaption {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
}
.works__item figcaption:before,
.works__item figcaption:after {
  width: 1px;
  height: 0;
}
.works__item figcaption:before {
  right: 0;
  top: 0;
}
.works__item figcaption:after {
  left: 0;
  bottom: 0;
}
.works__item h3 {
  margin: 0 0 5px;
  font-weight: 700;
  text-transform: uppercase;
}
.works__item p {
  margin: 0 0 15px;
}
.works__item a {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 1;
  padding: 2rem 3rem;
}
.works__item:before,
.works__item:after,
.works__item figcaption:before,
.works__item figcaption:after {
  position: absolute;
  content: '';
  background-color: #ffffff;
  z-index: 1;
  -webkit-transition: all 0.4s ease-in;
  transition: all 0.4s ease-in;
  opacity: 0.8;
}
.works__item:before,
.works__item:after {
  height: 3px;
  width: 0%;
}
.works__item:before {
  top: 2px;
  left: 0;
}
.works__item:after {
  bottom: 0;
  right: 0;
}
.works__item:hover img,
.works__item.hover img {
  opacity: 0.4;
}
.works__item:hover figcaption,
.works__item.hover figcaption {
  opacity: 1;
}
.works__item:hover figcaption:before,
.works__item.hover figcaption:before,
.works__item:hover figcaption:after,
.works__item.hover figcaption:after {
  height: 100%;
}
.works__item:hover:before,
.works__item.hover:before,
.works__item:hover:after,
.works__item.hover:after {
  width: 100%;
}
.works__item:hover:before,
.works__item.hover:before,
.works__item:hover:after,
.works__item.hover:after,
.works__item:hover figcaption:before,
.works__item.hover figcaption:before,
.works__item:hover figcaption:after,
.works__item.hover figcaption:after {
  opacity: 0.1;
}

@media screen and (max-width: 559px){
  .works__item:hover img,
  .works__item.hover img {
    opacity: 1;
  }
  .works__item:hover figcaption,
  .works__item.hover figcaption {
    opacity: 0;
  }
  .works__item:hover:before,
  .works__item.hover:before,
  .works__item:hover:after,
  .works__item.hover:after,
  .works__item:hover figcaption:before,
  .works__item.hover figcaption:before,
  .works__item:hover figcaption:after,
  .works__item.hover figcaption:after {
    opacity: 0;
  }
}


/* ************************************************************************************************

   concept.html

   ************************************************************************************************ */

/***** スライダー *****/
.swiper-container{
  padding-bottom: 5rem !important;
}

.swiper-button-next, .swiper-button-prev {
  display: none !important;
}

.swiper-pagination-bullet-active{
  background: #ccc !important;
}

.swiper-slide img{
  width: 100%;
  max-width: 100%;
  border: 6px solid #fff;
}
