@charset "utf-8";

html, body{
  height: 100%;
}

body{ 
  font-family: "Noto Sans JP", sans-serif; 
  position: relative;
}

img{
  width: 100%;
  height: auto;
}

.login-wrapper {
  display: none;
  position: fixed;
  top: 0px;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 1000;
  background-color: #ffffff;
  transition-duration: 1s;
  transition-timing-function: ease-in-out;
  -webkit-transition-duration: 1s;
  -webkit-transition-timing-function: ease-in-out;
}


.login {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
}

.login .input {
  margin-top: 80px;
  border-bottom: solid rgba(0, 0, 0, 0.6) 1px;
  max-width: 200px;
  margin-right: auto;
  margin-left: auto;
}

.login .input input{
  text-align: center;
  width: 100%;
  height: 30px;
}

.login .error{
  display:none;
  font-size: 0.8rem;
  color: #d1294a
}

.login .input input::-webkit-input-placeholder{
  font-size: 12px;
  text-align: center;
  color: #ccc;
}

.login .input input::-moz-placeholder{
  font-size: 12px;
  text-align: center;
  color: #ccc;
}

.login .input input:-ms-input-placeholder{
  font-size: 12px;
  text-align: center;
  color: #ccc;
}

.login .input input::-ms-input-placeholder{
  font-size: 12px;
  text-align: center;
  color: #ccc;
}

.login .input input::placeholder{
  font-size: 12px;
  text-align: center;
  color: #ccc;
}

.login .body-logo{
  max-width: 200px;
  margin-right: auto;
  margin-left: auto;
}


.login .btn {
  margin-top: 20px;
  margin-right: auto;
  margin-left: auto;
  width: 140px;
  text-align: center;
  font-size: 12px;
}

.login .btn a {
  text-decoration: none;
  transition-duration: 1s;
  display: block;
  line-height: 18px;
  position: relative;
  color: #000;
}

.login .btn a span{
  position: relative;
}

.login .btn a::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(197, 188, 193);
  transform: skew(-20.5deg);
}



.login .btn a:hover {
  color: rgb(225, 230, 218);
}



.login .top-contact {
  margin-top: 100px;
  color: #3b3333;
}



header {
  padding-top: 50px;
  padding-bottom: 150px;
}

ul {
  margin: 0;
  padding: 0;
}


.logo  {
  float: left;
  width: 20%;
  margin-top: 40px;
  margin-left: 75px;
}

.global-nav {
  float: right;
  margin-top: 50px;
  margin-right: 75px;
}

.global-nav li {
  float: left;
  font-size: 13px;
  list-style: none;
  justify-content: space-evenly;
  position: relative;
  padding-right: 36px;
  padding-left: 30px;
}

.global-nav li::after {
  background: url(assets/images/pencil.png) no-repeat center;
  display: block;
  content: "";
  background-size: contain;
  position: absolute;
  top: 50%;
  right: 0;
  width: 6px;
  height: 12px;
  margin-top: -6px;
}

.global-nav li:last-child{
  padding-right: 0;
}

.global-nav li:last-child::after{
  display: none;
}

.global-nav li a {
  color: black;
}


.global-nav li a:hover {
  opacity:0.5;
}

.global-nav a.active{
  color: rgb(15, 105, 69);
  display: inline-block;
}

.container {
  flex-wrap: wrap;
  clear: both;
  display: flex;
  margin-bottom: 30px;
  padding-right: 40px;
  padding-left: 40px;
}

.box {
  font-weight: bold;
  text-align: center;
  margin: 20px 35px;
  width: calc(20% - 70px); 
  color: #000;
}

.box-img {
  padding-top: 100%;
  width: 100%;
  height: 0;
  position: relative;
}

.box-img::before {
  background-color: rgba(148, 104, 87, 0.1);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block; 
  content: "";
}

.box-img::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block; 
  content: "";
  background: url(assets/images/triangle_white.svg) no-repeat 0 0;
  background-size: 100% 100%;
  z-index: 2;
}

.box-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


.grid-item {
  background-position: center bottom;
  background-size: cover;
}

.box-project {
  font-size: 12px;
  margin-top: 2em;
  letter-spacing: 0.2em;
}


.box-client, .box-view-more{
  font-size: 9px;
  letter-spacing: 0.1em;
}

.box-client {
  margin-top: 1em;
}

.box-view-more {
  margin-top: 2em;
  text-align: right;
}

.box-view-more::after {
  display: inline-block;
  margin-left: 1em;
  content: "\f105";
  font-family: "Font Awesome 6 Free";
  font-weight: 700;
}


/*about*/
.wrapper {
  margin-right: auto;
  margin-left: auto;
  max-width: 680px;
}

.text {
  font-size: 16px;
  color: #3b3333;
  margin-top: 50px;
  line-height: 2em;
}

table {
  margin: 70px auto;
  color: #3b3333;
  width: 100%;  
  font-size: 13px;
  text-align: center;
  line-height: 2em;
  vertical-align: middle;
}

th, td {          
  text-align: left;
  padding-top: 1em;
}

th {
  width: 100px;
  font-weight: normal;   
}

tr:first-child th,tr:first-child td {
  padding-top: 0;
}

/*contact*/
.contact-wrapper {
  margin-right: auto;
  margin-left: auto;
  max-width: 700px;
  height: 400px;
  font-size: 14px;
  color: #3b3333;
  margin-top: 50px;
  line-height: 6em;
  letter-spacing: 0.15em;
}


.company-name {
  line-height: 2em;
}

.section {
  width: 70%;
  margin-right: auto;
  margin-left: auto;
}


.section .box-project, .section .box-client{
  text-align: center;
}

.section .box-project {
  font-size: 16px;
}

.section .box-client{
  font-size: 14px;
}

.section-img {
  margin-top: 80px;
}

.section-img:first-child {
  margin-top: 0;
}

.section-video {
  position: relative;
}

.section-video::before {
  width: 100%;
  height: 0;
  padding-top: 56.25%;
  content: "";
  display: block;
}

 .section-video iframe {
  width: 100% !important;
  height: 100% !important;
  position: absolute;
  top: 0;
  left: 0;
}

.section-text {
  width: 95%;
  margin-right: auto;
  margin-left: auto;
  padding-top: 40px;
  font-size: 16px;
  line-height: 2em;
  letter-spacing: 0.1em;
}


/*フッター*/
footer{
  float: right;
  bottom: 0;
  margin: 150px 40px 10px 30px;
  color: #231815;
  font-size: 12px;
}



.copyright:after {
  content: "";
  background: url(assets/images/pencil.png) no-repeat center;
  display: inline-block;
  background-size: contain;
  vertical-align: middle;
  margin-left: 6px;
  width: 8px;
  height: 14px;
}

.lum-lightbox.lum-open {
  z-index: 10;
}

.lum-close-button {
  right: 20px;
  top: 20px;
}

@media screen and (max-width: 1400px) {
  .box {
    width: calc(25% - 70px); 
  }
}

@media screen and (max-width: 1100px) {
  .box {
    width: calc(33.33% - 70px); 
  }
}

@media screen and (max-width: 991px) {
  .logo{
    width: 200px;
    margin-top: 42px;
  }

  .global-nav {
    top: 16px;
    position: fixed;
    right: -100%;
    width: 70%;
    margin-left: auto;
    /* メニューを縦に */
    display: flex;
    flex-direction: column;
    color: #efefef;
    transition: .3s;
    z-index: 10;
  }

  .global-nav::before {
   content: "";
   display: block;
   position: absolute;
   top: 0;
   left: 0;
   background-color: white;
   width: 100%;
   height: 100%;
  }



  .global-nav li {
    padding-right: 0;
    padding-left: 0;
    float: none;
    width: 100%;
    /* メニューテキスト位置をリスト内中心に */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    position: relative;
  }

  .global-nav li:first-child {
    padding-top: 2em;
  }

  .global-nav li:last-child {
    padding-bottom: 2em;
  } 


  .global-nav li::after {
    display: none;
  }

  .global-nav a.active {
    transform: translateY(0.0em);
  }

  .global-nav li a {
    display: block !important;
    padding-top: 1em;
    padding-bottom: 1em;
  }

  .nav-btn {
    /* ボタンの配置位置  */
    position: absolute;
    top: 32px;
    right: 16px;
    /* ボタンの大きさ  */
    width: 40px;
    height: 40px;
    /* 最前面に */
    z-index: 10;
    background-color: white;/* わかりやすいように */
  }

  .btn-line {
    display: block;
    position: relative;  /* バーガー線の位置基準として設定 */
    margin-right: auto;
    margin-left: auto;
    width: 65%;  /* 線の長さと高さ */
    height: 1px;
    background-color: black;  /* バーガー線の色 */
    transition: .2s;
  }
  /****** 上下のバーガー線 *****/
  .btn-line::before,
  .btn-line::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: black;
    transition: .5s;
    left: 0;
  }
  .btn-line::before {
    /* 上の線の位置 */
    transform: translateY(-8px);
  }
  .btn-line::after {
    /* 下の線の位置 */
    transform: translateY(8px);
  }
  header {
    padding-top: 0;
  }

  .global-nav.open {
  right: 0;
  }
  .btn-line.open {
    background-color: transparent;  	/* 真ん中の線を透明に */
  }
  .btn-line.open::before ,
  .btn-line.open::after {
    content: "";
    transition: .2s;
  }
  .btn-line.open::before {
    transform: rotate(45deg);  /* 上の線を傾ける */
  }
  .btn-line.open::after {
    transform: rotate(-45deg);  /* 下の線を傾ける */
  }
}

@media screen and (max-width: 800px) {
  .box {
    width: calc(50% - 70px); 
  }

  .wrapper {
    margin-right: auto;
    margin-left: auto;
    width: 80%;
  }
  
  .text {
    font-size: 14px;
  }

  .contact-wrapper {
    margin-right: auto;
    margin-left: auto;
    width: 90%;
}


@media screen and (max-width: 500px) {
  .box {
    width: calc(100% - 70px);   
  }
  
  footer {
    float: none;
    text-align: center;
    margin-right: 0;
    margin-left: 0;
    font-size: 8px;
  }

  .section {
    width: 90%;
  }

  .section-text {
    font-size: 14px;
  }
}
}