@charset "UTF-8";

/* ==========================================================================
   Setting
========================================================================== */
:root {
  --white: #FFF;
  --l-gray: #EDEBE7;
  --gray: #A2A2A2;
  --d-gray: #707070;
  --black: #191818;
  --border1: #707070;
  --border2: #DEDEDE;
  --color1: #413C35;
  --color2: #776D6D;
  --red: #dd301d;

  --font1: 'Poppins', sans-serif;
  --font2: 'Josefin Sans', sans-serif;
  --mincho: 'しっぽり明朝', 'Shippori Mincho', serif;
}

/* ==========================================================================
   Loading
========================================================================== */
body #container::before {
  content: '';
  width: 100%;
  height: 100%;
  background: var(--l-gray);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: 1s cubic-bezier(.39, .575, .565, 1);
}
body.loaded #container::before {
  opacity: 0;
  pointer-events: none;
}

/*  Animation
================ */
.fadein,
.fadein-up,
.fadein-down {
  opacity: 0;
  animation-duration: .6s;
  animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1);
  animation-fill-mode: forwards;
}

@keyframes fadeIn {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}
.fadein.animated {
  animation-name: fadeIn;
}

@keyframes fadeInUp {
  0%   { opacity: 0; transform: translate3d(0, 2rem, 0); }
  100% { opacity: 1; transform: translate3d(0, 0, 0); }
}
.fadein-up.animated {
  animation-name: fadeInUp;
}

@keyframes fadeInDown {
  0%   { opacity: 0; transform: translate3d(0, -2rem, 0); }
  100% { opacity: 1; transform: translate3d(0, 0, 0); }
}
.fadein-down.animated {
  animation-name: fadeInDown;
}


/* ==========================================================================
   Base
========================================================================== */
html {
  font-size: 81.3%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
@media (max-width: 374px) {
  html { font-size: 3.475vw;
  }
}
@media (min-width: 992px) {
  html { font-size: 75%;
  }
}
@media (min-width: 1440px) {
  html { font-size: 87.5%;
  }
}

body {
  font-family: sans-serif;
  line-height: 1.571;
  background: var(--l-gray);
  color: var(--black);
}
@media (min-width: 992px) {
  body {
    font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
  }
}
/* ==========================================================================
   Header
========================================================================== */
#siteHeader {
  height: 3.1em;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  transition: mix-blend-mode .4s;

  color: var(--white);
  mix-blend-mode: difference;
}

.inner-header {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

#logo {
  font-size: 1em;
  line-height: 1.6;
  margin: 0;
  flex: 0 0 calc(111px + 40px);
  position: relative;
}
#logo .logo__inner {
  display: block;
  color: inherit;
  margin: 0 20px;
  position: relative;
}
#logo .logo__inner img {
  display: inline-block;
  vertical-align: middle;
}
#logo .logo__inner img.logo-color {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: .2s;
}

@media (min-width: 992px) {
  #siteHeader {
    height: 4.5em;
  }
  #logo {
    flex: 0 0 calc(111px + 90px);
  }
  #logo .logo__inner {
    margin: 0 45px;
  }
}

/* ==========================================================================
   Global Navigation
========================================================================== */
nav a {
  display: block;
  text-decoration: none;
}
nav ul {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 0;
  margin: 0;
}
nav ul li a {
  display: block;
  color: inherit;
  text-decoration: none;
  line-height: 1.25;
  padding: .75em 1em;
}
nav ul li ul.sub-menu li a,
nav ul li ul.children li a {
  padding-left: 30px;
}
nav ul li a span,
nav ul li a em {
  display: block;
  font-style: normal;
}


.gNav {
  flex: 1 1 100%;
  max-width: 100%;
  height: 100%;
}
.gNav__inner {
  display: flex;
  width: 100%;
  height: 100%;
}
.gNav .navBar {
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.gNav .navBar ul {
  display: flex;
  justify-content: flex-end;
  margin: 0;
}
.gNav .navBar ul li a {
  line-height: 1;
  padding: .4em 1em .2em;
}
.gNav .navBar ul li a span {
  display: block;
}
.gNav .navBar ul.main-nav li a span {
  position: relative;
}
.gNav .navBar ul.main-nav li a span::after {
  content: '';
  display: block;
  width: 0;
  height: 1px;
  background: currentColor;
  position: absolute;
  top: 100%;
  left: 0;
  transition: width .6s cubic-bezier(0.190, 1.000, 0.220, 1.000);
}
.gNav .navBar ul.main-nav li a:hover span::after {
  width: 100%;
}

/* Sub Navigation */
.gNav .navBar .sub-nav li a {
  background: currentColor;
  position: relative;
}
.gNav .navBar .sub-nav li a::before {
  content: '';
  display: block;
  width: 0;
  height: 100%;
  background: var(--color1);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  transition: width .6s cubic-bezier(0.190, 1.000, 0.220, 1.000);
}
.gNav .navBar .sub-nav li a:hover::before {
  width: 100%;
}
.gNav .navBar .sub-nav li a span {
  color: var(--white);
  mix-blend-mode: difference;
  position: relative;
  z-index: 3;
}

/* ==========================================================================
   PC Global Navigation
========================================================================== */
@media(min-width: 992px){
  .gNav{
    display: block !important;
    height: auto;
  }
  .gNav .navBar{
    margin-right: 45px;   
  }
  .gNav .has-children > .sub-menu{
    position: absolute;
  }
  .gNav.megaMenu .has-children > .sub-menu {
    top: 100%;
    right: 0;
    left: 0;
  }
  .gNav.megaMenu .has-children > .sub-menu > ul {
    padding: 45px 60px;
  }
  .nav-btn {
    display: none;
  }
}

/* ==========================================================================
   SP Global Navigation
========================================================================== */
@media(max-width: 991px){
  body.gNavOpen #siteHeader {
    mix-blend-mode: normal;
  }


  .gNav{
    position: fixed;
    top: 0;
    right: 0;
    left: 0;

    display: none;
  }
  .gNav__inner {
    width: 100%;
    height: 100%;
    background: var(--black);
    color: var(--white);
    position: absolute;
    top: 0;
    right: 0;
      
    opacity: 0;
    transform: translateY(-100%);
    transition: all 1s cubic-bezier(0.190, 1.000, 0.220, 1.000);

    mix-blend-mode: difference;
  }
  .gNav .navBar {
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
    padding: 5em 0;
  }
  .gNav .navBar > ul {
    flex-direction: column;
    opacity: 0;
    transform: translateY(1em);
    margin: 0 20px;
    font-size: 1.857em;
    transition: all 1s .5s cubic-bezier(0.190, 1.000, 0.220, 1.000);
  }
  .gNav .navBar > ul + ul {
    margin-top: .375em;
  }
  .gNav .navBar ul li {
    margin: .375em 0;
  }
  .gNav .navBar .sub-menu ul li {
    flex: 0 0 50%;
  }

  /* OPEN */
  .gNav.on .gNav__inner{
      opacity: 1;
      transform: translateY(0);
  }
  .gNav.on ul {
      opacity: 1;
      transform: translateY(0);
  }

  /* Nav Btn */
  .nav-btn {
    background: currentColor;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1.6em;
    height: 1.6em;
    border-radius: 100%;
    position: fixed;
    top: 1.5em;
    right: 20px;
    z-index: 2;
    transition: .5s;
  }
}

/* ==========================================================================
   MAIN
========================================================================== */
#main.no-header {
  padding: 6em 0 6em;
}
@media(min-width: 768px){
  #main.no-header {
    padding: 8em 0 6.5em;
  }
}
@media(min-width: 992px){
  #main.no-header {
    padding: 11em 0 7em;
  }
}


#main.side-header {
  padding: 8.5em 0 6em;
}
@media(min-width: 768px){
  #main.side-header {
    padding: 10.5em 0 6.5em;
  }
}
@media(min-width: 992px){
  #main.side-header {
    padding: 13.5em 0 7em;
  }
}


#main > section,
#main > article > section {
  border-top: 1px solid var(--border1);
}
#main section.no-border {
  border-top: 0!important;
}



#main-bottom > a {
  display: block;
  background: var(--color1);
  color: var(--white);
}
#main-bottom > a:hover {
  background: var(--black);
}


.js-fix-wrapper {
  height: 100%;
  position: relative;
}

/* ==========================================================================
   Footer
========================================================================== */
#siteFooter {
  clear: both;
  overflow: hidden;
}

#siteFooter .footer-bottom {
  font-size: .857rem;
}
#siteFooter .footer-bottom .navBar {
  padding: 2.5em 20px;
}
#siteFooter .footer-bottom .navBar ul {
  margin: 0 -1em;
}
#siteFooter .footer-bottom .navBar ul li a span {
  position: relative;
}
#siteFooter .footer-bottom .navBar ul li a span::after {
  content: '';
  display: block;
  width: 0;
  height: 1px;
  background: currentColor;
  position: absolute;
  top: 100%;
  left: 0;
  transition: width .6s cubic-bezier(0.190, 1.000, 0.220, 1.000);
}
#siteFooter .footer-bottom .navBar ul li a:hover span::after {
  width: 100%;
}
#siteFooter .copyright {
  text-align: center;
  border-top: 1px solid currentColor;
  padding: 2rem 20px;
  font-weight: 700;
  font-size: .714rem;
}

@media(min-width: 992px){
  #siteFooter .footer-bottom__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  #siteFooter .footer-bottom .navBar {
    padding: 4rem 45px;
  }
  #siteFooter .copyright {
    text-align: right;
    border-top: 0;
    padding: 4rem 45px;
  }
}

/* ==========================================================================
   PC Footer Navigation
========================================================================== */
@media(min-width: 992px){
  .fNav .navBar > ul {
    flex-wrap: nowrap;
  }
  .fNav .navBar > ul > li {
    flex-basis: 100%;
  }
  .fNav .sub-menu ul li {
    flex: 0 0 100%;
  }
}