@charset "UTF-8";
/* CSS Document */

html {
  font-size: 62.5%; /* 16px * 62.5% = 10px */
  width: 100%;
  box-sizing: border-box;
}
body {
  color: #111; /* RGB */
  font-family: 'Outfit', 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 2.4rem;
  text-align: left;
  background-color: #fefefe;
}
.none {
  display: none;
}
.break:after {
  content: "\A";
  white-space: pre;
}

/* ヘッダー */
.header {
  height: 60px;
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
}
.logo {
  position: fixed;
  top: 15px;
  left: 24px;
  width: 60px;
  height: 30px;
}
.logo a {
  display: inline-block;
  width: 100%;
  height: 100%;
}
.logo a img {
  width: 100%;
  height: 100%;
}

/* ========= ナビゲーション=============== */
#nav {
  display: none;
  position: fixed;
  z-index: -1;
  top: 0;
  width: 100%;
  height: 100vh;
  transition: all 0.3s;
  background-color: #111111;
}
/* アクティブクラスがついたら透過なしにして最前面へ */
#nav.panelactive{
  display: block;
  z-index: 999;
}
/* ナビゲーション */
#nav ul {
  z-index: 999;
  margin-top: 20vh;
}
#nav.panelactive ul {
  display: block;
}
/*リストのレイアウト設定*/
#nav li {
  text-align: center;
  margin: 0 auto;
}
#nav li a {
  padding: 30px;
  display: block;
  font-weight: 300;
  font-size: 2rem;
  letter-spacing: 0.1rem;
  color: #fefefe;
}

/*========= ボタンのためのCSS ===============*/
.openbtn1{
  position: absolute;
  z-index: 9999;/*ボタンを最前面に*/
  top: 0;
  right: 10px;
  width: 60px;
  height: 60px;
}
/*×に変化*/  
.openbtn1 span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 19.5px;
  height: 1px;
  background-color: #333;
  width: 35%;
}
.openbtn1 span:nth-of-type(1) {
  top:22px; 
}
.openbtn1 span:nth-of-type(2) {
  top:29px;
}
.openbtn1 span:nth-of-type(3) {
  top:36px;
}
.openbtn1.active span:nth-of-type(1) {
  top: 23px;
  left: 22px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
  background-color: #fefefe;
}
.openbtn1.active span:nth-of-type(2) {
  opacity: 0;
}
.openbtn1.active span:nth-of-type(3) {
  top: 35px;
  left: 22px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
  background-color: #fefefe;
}

@media(min-width: 600px) {
  .header {
    height: 80px;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
    position: fixed;
    z-index: 999;
    display: flex;
  }
  .header-wrapper {
    height: 80px;
    width: 100%;
    margin: 0 auto;
    z-index: 999;
    display: flex;
  }
  .logo {
    position: relative;
    width: 88px;
    height: 80px;
    left: 0;
    top: 0;
    margin-left: 6%;
  }
  .logo:hover {
    opacity: 0.5;
  }
  .logo a {
    width: 88px;
    height: 44px;
    margin-top: 19px;
  }
  #nav {
    display: block;
    position: relative;
    z-index: 999;
    top: 0;
    width: calc( 88% - 88px );
    height: 80px;
    background: none;
    transition: none;
    margin-right: 6%;
  }
  #nav ul {
    z-index: 999;
    margin: 0;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 0 50px;
    width: 100%;
    height: 80px;
  }
  #nav li {
    margin: 0;
    height: 80px;
  }
  #nav li a {
    padding: 0;
    margin-top: 26px;
    display: inline-block;
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 2.6rem;
    color: #111;
  }
  #nav li:first-child {
    display: none;
  }
  .openbtn1 {
    display: none;
  }
  .under-line {
    display: inline-block;
    position: relative;
  }
  .under-line::after {
    background-color: #333;
    bottom: 0;
    content: '';
    display: block;
    height: 1px;
    left: 0;
    position: absolute;
    transition: .5s all;
    width: 0;
  }
  .under-line:hover::after {
    width: 100%;
  }
}

/* フッター（コンタクト） */
.footer {
  width: 100%;
  background-color: #191919;
  padding: 80px 0 10px;
  text-align: center;
  color: #fff;
}
.footer h2 {
  font-size: 2rem;
  font-weight: 500;
  padding-bottom: 40px;
  letter-spacing: 0.1rem;
}
.contact {
  position: relative;
  width: 220px;
  height: 50px;
  border: solid 1px #fefefe;
  margin: 0 auto;
}
.contact::after {
  content: "";
  background-color: #fefefe;
  position: absolute;
  width: 50px;
  height: 1px;
  top: 24.5px;
  right: -36px;
}
.contact::before {
  content: "";
  background-color: #fefefe;
  position: absolute;
  width: 5px;
  height: 5px;
  top: 22.5px;
  right: -36px;
  border-radius: 10px;
}
.contact a {
  display: inline-block;
  width: 100%;
  height: 100%;
  font-weight: 200;
  text-align: center;
  line-height: 5rem;
  letter-spacing: 0.1rem;
}
.footer small {
  display: block;
  padding: 100px 24px 0 0;
  font-weight: 200;
  color: #707070;
  text-align: right;
}

@media(min-width: 1000px) {
  .footer {
    padding: 100px 0 20px;
  }  
  .footer h2 {
    font-size: 2.6rem;
    padding-bottom: 60px;
    letter-spacing: 0.1rem;
  }
  .contact:hover {
    background-color: #fefefe;
    color: #111;
    transition: 0.5s;
  }
  .footer small {
    padding-top: 140px;
  }
}
