@charset 'UTF-8';

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
　　CORE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
　　VARIABLE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
　　PATH
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
　　COLOR
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
　　FONT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
　　LAYOUT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
　　EASING
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
　　MIXIN
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
　　Animation
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
　　MIXIN
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
　　HEADER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

header {
  display: -ms-flex;
  display: -ms-flexbox;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  width: 1200px;
  margin: 0 auto;
  padding: 35px 40px;
  -ms-flex-pack: justify;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -ms-flex-align: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  position: relative;
}
h1 {
  position: absolute;
  top: 40%;
  z-index: 1000;
}

header .l-logo img {
  width: 100%;
}

header #menu_btn {
  display: none;
}

header nav {
  font-weight: 600;
  margin-left: auto;
}

header nav ul {
  font-size: 25px;
  font-size: 1.6rem;
  display: -ms-flex;
  display: -ms-flexbox;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  margin-bottom: 25px;
  padding-bottom: 10px;
  text-align: center;
  -ms-flex-pack: start;
  -webkit-box-pack: start;
  -webkit-justify-content: flex-start;
  justify-content: flex-start;
}

header nav ul:first-of-type {
  font-size: 20px;
  font-size: 1.6rem;
  padding-top: 10px;
  padding-bottom: 0;
  align-items: center;
  -ms-flex-pack: end;
  -webkit-box-pack: end;
  -webkit-justify-content: flex-end;
  justify-content: flex-end;
}

header nav ul:first-of-type li {
  padding-right: 40px;
  text-align: left;
  line-height: 1.4;
}

header nav ul:first-of-type li.l-lang {
  margin-left: 28px;
  padding: 0 10px;
}

header nav ul:last-of-type {
  margin-bottom: 0;
}

header nav ul li {
  padding-right: 34px;
}

header nav ul li:last-of-type {
  padding: 0;
}
/*header nav ul li:last-of-type {
  padding: 0;
  font-size: 0.8em;
  border: 4px solid #be0006;
}*/

header nav ul li a {
  color: #424242;
}

/*header nav ul li:last-of-type a {
  display: block;
  width: 100%;
  height: 100%;
  padding: 6px;
  color: #be0006;
}*/

header nav ul .l-lang {
  font-family: YakuHanJP, '游ゴシック', 'Yu Gothic', YuGothic, 'メイリオ', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', 'Lucida Grande', 'Osaka', 'Verdana', 'ＭＳ Ｐゴシック', sans-serif;
  padding: 0 10px;
  border-right: 1px solid #fff;
  border-left: 1px solid #fff;
}

header nav ul .l-lang a {
  position: relative;
  display: inline-block;
}

header nav ul .l-lang a.active {
  cursor: default;
  pointer-events: none;
  color: #3c3c3c;
}

header nav ul .l-lang a.active::after {
  position: absolute;
  top: 50%;
  display: block;
  content: ':';
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
}

header nav ul .l-lang a:first-of-type {
  padding-right: 10px;
}

header nav ul .l-lang a:first-of-type.active::after {
  right: -3px;
}

header nav ul .l-lang a:last-of-type {
  padding-left: 10px;
}

header nav ul .l-lang a:last-of-type.active::after {
  left: -3px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
　　FOOTER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

footer {
  width: 100%;
  text-align: left;
  letter-spacing: 0;
  background: #fff;
}

footer > div {
  width: 1200px;
  margin: 0 auto;
}

footer figure figcaption {
  font-size: 19px;
  font-size: 1.2rem;
  padding-bottom: 12px;
  color: #999;
}

footer p small {
  font-size: 19px;
  font-size: 1.2rem;

  color: #333;
}
footer figure img{
  width: 42px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
　　UNIQUE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

@media screen and (max-width: 768px) {
  header {
    position: relative;
    width: 100%;
    padding: 40px 20px;
  }
  h1 {
    top: 20%;
  }

  header .l-logo {
    width: 18%;
  }

  header #menu_btn {
    position: absolute;
    z-index: 4;
    top: 50%;
    right: 20px;
    display: block;
    width: 60px;
    padding: 0;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    border: none;
    background: none;
  }
  header #menu_btn img {
    display: block;
    width: 100%;
  }
  
  header nav {
    position: absolute;
    z-index: 3;
    top: 20%;
    left: 0;
    display: -ms-flex;
    display: -ms-flexbox;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    visibility: hidden;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -webkit-flex-direction: column-reverse;
    flex-direction: column-reverse;
    width: 100%;
    height: 100vh;
    -webkit-transition: all .85s cubic-bezier(.19, 1, .22, 1);
    transition: all .85s cubic-bezier(.19, 1, .22, 1);
    pointer-events: none;
    opacity: 0;
    -ms-flex-pack: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    
    justify-content: end;
    -ms-flex-align: end;
    -webkit-box-align: end;
    -webkit-align-items: end;
    
/*
    justify-content: center;
    -ms-flex-align: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
*/
    align-items: center;
    -ms-flex-direction: column-reverse;
  }

  header nav ul {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0;
    padding-bottom: 0;
    text-align: center;
  }
  header .nav-case{
    width: 100%;
    height: 90vh;
    position: absolute;
    bottom: 0;
  }
  header nav .nav-case ul:first-of-type {
    width: 100%;
    height: 90vh;
    padding: 0 6% 6%;
    font-size: 1.7rem;
    overflow-y: auto;
  }

  header nav ul:first-of-type li {
    padding-right: 0;
  }

  header nav ul:first-of-type li.l-lang {
    margin-left: 0;
  }

    header nav ul li:last-of-type {
        border-bottom: 1px solid #f8ebe4;
    }
/*
  header nav ul li:last-of-type {
    margin-top: 20px;
    font-size: 1em;
    text-align: center;
  }
  header nav ul li:last-of-type a {
    padding: 20px 10px;
    text-align: center;
  }
*/
    
  header nav ul li {
    border-top: 1px solid #f8ebe4;
  }
  header nav ul li a {
    display: inline-block;
    width: 100%;
    padding: 24px 0;
  }

  header nav ul li:last-of-type {
    padding-bottom: 0;
  }

  header nav ul .l-lang {
    border: none;
  }
  .noscroll h1 {
    -webkit-transition: all .85s cubic-bezier(.19, 1, .22, 1);
    transition: all .85s cubic-bezier(.19, 1, .22, 1);
    pointer-events: none;
    opacity: 0;
  }

  footer {
    min-width: 0;
  }
  header nav ul li:nth-child(4) {
    border-bottom: 1px solid #f8ebe4;
  }

  footer figure figcaption {
    line-height: 1.5;
  }
  header nav ul li {
    position: relative;
  }
  header nav ul li:after {
    content: '';
    display: inline-block;
    position: absolute;
    right: 4%;
    width: 20px;
    height: 31px;
    margin-top: 8%;
    background: url(../img/nav_sp_btn.png) no-repeat;
    background-size: 70%;
  }
    
/*
  header nav ul li:last-child:after {
    content: none;
  }
*/
    
  .nab_br {
    display: none;
  }
}

@media screen and (max-width: 768px) and (max-width: 768px) {
  header {
    width: 100%;
  }
  body.active {
    position: fixed;
    height: 100vh;
    z-index: 9999;
  }
  body header nav.active {
    position: absolute;
    bottom: 0;
    left: 0;
    visibility: visible;
    justify-content: end;
    vertical-align: bottom;
    pointer-events: all;
    opacity: 1;
    background: #ffffff;
    overflow-y: scroll;
    transform: translateZ(0);
  }
}

@media screen and (max-width: 500px) {
  header .l-logo {
    width: 24%;
  }
}

@media screen and (max-width: 400px) {
  h1 {
    top: 28%;
  }

}
