@charset "UTF-8";
/* 
Theme Name: Level Architects
*/

html{
  margin-top: 0 !important;
  font-size: 100%;
  scroll-behavior: smooth;
}

body{
  color: #000;
  /* font-family: "Yu Gothic", "Yu Gothic Medium", "YuGothic", sans-serif; */
  font-family: "Zen Kaku Gothic New", sans-serif;
}

a{
  text-decoration: none;
  color: #000;
}

img{
  max-width: 100%;
  vertical-align: bottom;
  object-fit: cover;
}

li{
  list-style: none;
}

/*-------------------------------------------
TOPページ
-------------------------------------------*/

.container{
  margin: 0 auto;
  max-width: 1920px;
  display: flex;
}

/*-------------------------------------------
HEADER
-------------------------------------------*/

.header{
  width: 17.4%;
  max-width: 334px;
  padding-top: 17px;
  padding-bottom: 17px;
  padding-left: 32px;
  padding-right: 10px;
}

.header__logo{
  font-size: 1.25rem;
  font-weight: bold;
  font-family: "DM Sans", sans-serif;
  line-height: 1;
}

.header__logo span{
  font-size: 2rem;
}

.header__nav{
  margin-top: 258px;
}

.header__nav__list > li{
  margin-top: 30px;
}

.header__nav__list > li:first-of-type{
  margin-top: 0;
}

.header__nav__list > li > a{
  font-family: "DM Sans", sans-serif;
  text-transform: capitalize;
  color: #486284;
}

.header__nav__list .sub-menu{
  padding-left: 13px;
}

.header__nav__list .sub-menu li a{
  font-size: 0.875rem;
  font-family: "DM Sans", sans-serif;
  color: #486284;
}

.header__sns{
  margin-top: 29px;
  display: flex;
  gap: 18px;
}

main{
  width: 82.6%;
  max-width: 1586px;
}

.mv{
  height: 100vh;
  background-image: image-set(
    url(img/mv1x.png) 1x,
    url(img/mv2x.png) 2x
  );
  background-image: -webkit-image-set(
    url(img/mv1x.png) 1x,
    url(img/mv2x.png) 2x
  );
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.language-switching{
  position: absolute;
  top: 23px;
  right: 52px;
  display: flex;
  gap: 0.5em;
  z-index: 9999; 
}

.language-switching li + li::before {
  content: "/";
  margin-right: 0.5em;
  color: #0B0A0A;
}

.language-switching li a{
  font-family: "DM Sans", sans-serif;
  color: #0B0A0A;
}

.language-switching.fff li + li::before {
  color: #fff;
}

.language-switching.fff li a{
  color: #fff;
}

.language-switching li a {
  font-weight: normal; 
}

.language-switching li a.active {
  font-weight: bold;
}

.language-switching a img {
    display: none !important;
}

.language-switching a {
    padding-left: 0 !important;
    background: none !important;
}

/*-------------------------------------------
Profileページ
-------------------------------------------*/

.profile{
  padding-right: 9%;
  padding-left: 7.7%;
  position: relative;
}

.division-border{
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.division-border span{
  display: inline-block;
  width: 1px;
  height: 100%;
}

.division-border span:first-of-type{
  background: linear-gradient(to bottom, rgba(71, 71, 71, 0.9) 0%, #ffffff 100%);
}

.division-border span:nth-of-type(2){
  background: linear-gradient(to bottom, rgba(71, 71, 71, 0.75) 0%, #ffffff 100%);
}

.division-border span:nth-of-type(3){
  background: linear-gradient(to bottom, rgba(71, 71, 71, 0.6) 0%, #ffffff 100%);
}

.division-border span:nth-of-type(4){
  background: linear-gradient(to bottom, rgba(71, 71, 71, 0.45) 0%, #ffffff 100%);
}

.division-border span:nth-of-type(5){
  background: linear-gradient(to bottom, rgba(71, 71, 71, 0.3) 0%, #ffffff 100%);
}

.division-border span:nth-of-type(6){
  background: linear-gradient(to bottom, rgba(71, 71, 71, 0.15) 0%, #ffffff 100%);
}

.division-border span:last-of-type{
  background: linear-gradient(to bottom, rgba(71, 71, 71, 0.05) 0%, #ffffff 100%);
}

.profile__inner{
  margin: 0 auto;
  max-width: 1316px;
  display: flex;
  justify-content: space-between;
  padding-top: 131px;
  padding-bottom: 247px;
}

.profile__image{
  width: 30%;
}

.profile__image__list{
  margin-top: 75px;
}

.profile__image__list li{
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
}

.profile__image__list li{
  margin-top: 100px;
}

.profile__image__list li:first-of-type{
  margin-top: 0;
}

.profile__image__list li div{
  width: 43.2%;
}

.profile__image__2,
.profile__image__4,
.profile__image__6{
  transform: translateY(237px);
}

.profile__image__6{
  margin-bottom: 237px;
}

.profile__text{
  width: 58.8%;
}

.profile__title{
  font-size: 3rem;
  font-weight: bold;
  font-family: "IBM Plex Mono", monospace;
}

.profile__title span{
  font-size: 2rem;
  font-weight: normal;
}

.profile__career{
  margin-top: 37px;
  line-height: 1.5;
  letter-spacing: 0.03125em;
  font-weight: 400;
}

.profile__block{
  margin-top: 71px;
}

.profile__block__title{
  font-size: 2rem;
  font-weight: 500;
  color: #1B1B1B;
  line-height: 1.333;
}

.profile__block__description{
  margin-top: 37px;
  color: #1B1B1B;
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.58;
}

.profile__block__description span{
  font-weight: 500;
}

/*-------------------------------------------
Galleryトップページ
-------------------------------------------*/

.gallery{
  padding-right: 8%;
  padding-left: 7.5%;
  position: relative;
}

.gallery__inner{
  margin: 0 auto;
  max-width: 1344px;
  padding-top: 63px;
  padding-bottom: 34px;
}

.gallery__title{
  text-transform: capitalize;
  font-size: 2rem;
  font-weight: bold;
}

.gallery__list{
  margin-top: 58px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 5%;
  row-gap: 102px;
}

.gallery__list li{
  /* width: 29.7%; */
  transition: .3s;
}

.gallery__list li img{
  width: 100%;
  height: 100%;
}

.gallery__list li:hover{
  transform: scale(1.05);
  outline: 1px solid rgba(0, 0, 0, 0.8);
  outline-offset: 10px;
}

/*-------------------------------------------
Gallery詳細ページ
-------------------------------------------*/

.detail{
  padding-left: 4.35%;
  position: relative;
}

.detail__inner{
  padding-top: 139px;
  padding-bottom: 103px;
}

.detail__top{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-right: 5%;
}

.detail__top__description{
  width: 21%;
  border: 1px solid #000;
  padding-top: 28px;
  padding-bottom: 27px;
  padding-left: 34px;
  padding-right: 33px;
}

.detail__top__description__title{
  font-size: 1.25rem;
  font-weight: bold;
  color: #333;
}

.detail__top__description__block1{
  margin-top: 20px;
  font-weight: 500;
  color: #333;
  line-height: 1.5;
}

.detail__top__description__block2{
  margin-top: 20px;
  font-weight: 500;
  color: #333;
  line-height: 2;
}

.detail__top__img{
  width: 72%;
  max-width: 1024px;
  height: 682px;
}

.detail__top__img img{
  width: 100%;
  height: 100%;
}

.detail__list{
  margin-top: 125px;
}

.detail__list li{
  width: 190px;
  height: 190px;
  padding: 0 6.5px;
}

.detail__list li img{
  width: 100%;
  height: 100%;
}

.open{
  cursor: pointer;
}

#close{
  font-size: 2.25rem;
  line-height: 1;
  padding: 5px;
  cursor: pointer;
  position: absolute;
  top: 0;
  right: 0;
}

#mask {
  background: rgba(0, 0, 0, .6);
  position: fixed;
  inset: 0;
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
}

#modal {
  background: #fff;
  max-width: 1500px;
  padding: 2.5rem;
  border-radius: 10px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  text-align: center;
}

#modal img{
  width: 100%;
  height: 100%;
}

.detail__separator{
  margin: 0 auto;
  margin-top: 138px;
  max-width: 944px;
}

.detail__separator span{
  display: block;
}

.detail__separator span:first-of-type{
  width: 100%;
  height: 1px;
  background-color: #000;
}

.detail__separator span:nth-of-type(2){
  margin: 0 auto;
  margin-top: 7px;
  width: 95%;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.8);
}

.detail__separator span:nth-of-type(3){
  margin: 0 auto;
  margin-top: 7px;
  width: 88%;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.6);
}

.detail__separator span:last-of-type{
  margin: 0 auto;
  margin-top: 7px;
  width: 86%;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.4);
}

.detail__relation{
  margin: 0 auto;
  margin-top: 86px;
  max-width: 1344px;
  display: flex;
  justify-content: space-between;
}

.detail__relation li{
  width: 29.7%;
  transition: .3s;
}

.detail__relation li img{
  width: 100%;
  height: 100%;
}

.detail__relation li:hover{
  transform: scale(1.05);
  outline: 1px solid rgba(0, 0, 0, 0.8);
  outline-offset: 10px;
}

/*-------------------------------------------
Contactページ
-------------------------------------------*/

.contact{
  padding-left: 7.2%;
  position: relative;
}

.contact__inner{
  padding-top: 63px;
  padding-bottom: 63px;
}

.contact__title{
  text-transform: capitalize;
}

.contact__box{
  margin: 0 auto;
  margin-top: 107px;
  max-width: 800px;
}

.wpcf7-form p {
  font-size: 1rem;
  font-weight: 700;
  color: #203244;
  letter-spacing: .1em;
  margin-bottom: 31px;
}

.wpcf7-form p .asterisk{
  color: #5E99D9;
}

/* .wpcf7-form p > label span.title{

} */

.wpcf7 input::placeholder{
  color: rgba(32, 50, 68, 0.3);
  font-size: 1.25rem;
  font-weight: 500;
}

.wpcf7 textarea::placeholder{
  color: rgba(32, 50, 68, 0.3);
  font-size: 1.25rem;
  font-weight: 500;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea{
  display: block;
  width: 100%;
  padding: 12px;
  border: 1px solid #203244;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 1.25rem;
}

/* .wpcf7-form-control-wrap.acceptance-39 {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: bold;
  letter-spacing: .1em;
  line-height: 1;
  color: #203244;
} */

.wpcf7-acceptance {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: bold;
  letter-spacing: .1em;
  line-height: 1;
  color: #203244;
}

.wpcf7-submit{
  margin-top: 50px !important;
  position: relative;
  z-index: 10;
}

.contact__privacy{
  margin-top: 70px;
  background-color: #F6F8F9;
  border-radius: 3px;
  padding: 20px;
  color: #203244;
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 1.7;
}

.contact__privacy p{
  margin-bottom: 0;
}

.wpcf7-form .wpcf7-acceptance input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 30px;
  height: 30px;
  border-radius: 4px;
  border: 1px solid #203244;
  margin-right: 16px;
  position: relative;
  cursor: pointer;
  transform: translateY(7px);
  margin-top: -7px;
}

.wpcf7-form .wpcf7-acceptance input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 2px;
  width: 12px;
  height: 18px;
  border-right: 4px solid #203244;
  border-bottom: 4px solid #203244;
  transform: rotate(45deg);
}

.wpcf7-submit{
  margin: 0 auto;
  display: block;
  background-color: #203244;
  color: #fff;
  border-radius: 12px;
  width: 50%;
  max-width: 399px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: .05em;
  line-height: 1;
  padding: 15px;
}

/*-------------------------------------------
レスポンシブ
-------------------------------------------*/
@media screen and (max-width: 1500px) {

  /*-------------------------------------------
  HEADER
  -------------------------------------------*/

  .header__nav{
    margin-top: 200px;
  }

  .header__nav__list > li{
    margin-top: 25px;
  }

  .header__nav__list .sub-menu{
    padding-left: 11px;
  }

  /*-------------------------------------------
  Profileページ
  -------------------------------------------*/

  .profile{
    padding-right: 7%;
    padding-left: 7%;
  }

  .profile__inner{
    padding-top: 100px;
    padding-bottom: 200px;
  }

  .profile__title{
    font-size: 2.5rem;
  }

  .profile__title span{
    font-size: 1.75rem;
  }

  .profile__block__title{
    font-size: 1.75rem;
  }

  .profile__block__description{
    font-size: 1.35rem;
  }

  /*-------------------------------------------
  Galleryトップページ
  -------------------------------------------*/

  .gallery{
    padding-right: 7%;
    padding-left: 7%;
  }

  .gallery__list{
    row-gap: 90px;
  }

  /*-------------------------------------------
  Gallery詳細ページ
  -------------------------------------------*/

  .detail{
    padding-left: 6%;
    padding-right: 2%;
  }

  .detail__inner{
    padding-top: 120px;
    padding-bottom: 100px;
  }

  .detail__top{
    padding-right: 0;
  }

  .detail__top__description{
    width: 25%;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 25px;
    padding-right: 25px;
  }

  .detail__top__description__title{
    font-size: 1.125rem;
  }

  .detail__top__description__block1{
    font-size: 0.875rem;
    margin-top: 15px;
  }

  .detail__top__description__block2{
    font-size: 0.875rem;
    margin-top: 15px;
  }

  .detail__top__img{
    width: 70%;
    height: 600px;
  }

  .detail__list{
    margin-top: 100px;
  }

  .detail__separator{
    margin-top: 110px;
  }

  .detail__relation{
    margin-top: 80px;
  }

  /*-------------------------------------------
  Contactページ
  -------------------------------------------*/

  .contact{
    padding-left: 7%;
    padding-right: 7%;
  }

  .contact__inner{
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .contact__box{
    margin-top: 100px;
  }
  
}

@media screen and (max-width: 768px) {}