@charset "UTF-8";
@import url(nav.css);
@import url("https://fonts.googleapis.com/css?family=Crimson+Text:400,600,700");
@import url("https://fonts.googleapis.com/css?family=Karla:400,700&display=swap");
/* ==================================
    HEADER
================================== */
/* ==================================
    HEADER　下層ページ
================================== */
#header_lower {
  position: relative;
  width: 100%;
  background: white;
  padding: 0;
  z-index: 10;
  box-sizing: border-box;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

#header_lower #hd_container {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
  align-self: center;
  width: 100%;
  height: 100px;
  padding: 0 20px;
  box-sizing: border-box;
}

#header_lower #hd_logo {
  max-width: 176px;
  width: 17.6%;
}

#header_lower #hd_box {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-end;
  align-content: flex-start;
  align-items: flex-start;
  max-width: 1200px;
  width: 82.4%;
  height: 120px;
}

#header_lower #upside {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin: 20px 20px 0 0;
  background: none;
  font-size: 93%;
  line-height: 24px;
}

#header_lower #upside a.contact {
  display: inline-block;
  margin: 0 0 0 40px;
  padding: 0 0 0 21px;
  background: url(../images/common/hd_icon01.png) no-repeat left center;
  background-size: 16px auto;
  color: #805611;
}

#header_lower #upside a.recruit {
  display: inline-block;
  margin: 0 0 0 40px;
  padding: 0 0 0 15px;
  background: url(../images/common/hd_icon02.png) no-repeat left center;
  background-size: 10px auto;
  color: #805611;
}

#header_lower #upside p.lang {
  margin: 0 0 0 40px;
  font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  line-height: 20px;
}

#header_lower #upside p.lang a {
  color: #c9c9c9;
}

#header_lower #upside p.lang a.active {
  color: #1e1e1e;
}

#sp_header_lower {
  display: none;
}

@media screen and (max-width: 1240px) {
  #header_lower {
    position: relative;
    width: 100%;
  }
  #header_lower #hd_container {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    align-self: center;
    width: 100%;
    height: 100px;
    padding: 0 20px;
    box-sizing: border-box;
  }
}

@media screen and (max-width: 980px) {
  #header_lower {
    display: none;
  }
  #sp_header_lower {
    display: block;
    position: relative;
    z-index: 1001;
    width: 100%;
  }
  #sp_header_lower #sp_hd_cnt {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
    padding-top: 10%;
  }
  #sp_header_lower #sp_hd_cnt #sp_hd_logo {
    position: absolute;
    max-width: 246px;
    width: 25.10204%;
    top: 23%;
    left: 3%;
    box-sizing: border-box;
    z-index: 2;
  }
  #sp_header_lower #sp_hd_cnt #sp_hd_logo img {
    width: 100%;
  }
}

@media screen and (max-width: 640px) {
  #sp_header_lower {
    width: 100%;
    padding: 0;
  }
  #sp_header_lower #sp_hd_cnt {
    padding-top: 14%;
  }
  #sp_header_lower #sp_hd_cnt #sp_hd_logo {
    position: absolute;
    max-width: 220px;
    width: 34.375%;
    top: 23%;
    left: 3%;
    box-sizing: border-box;
    z-index: 2;
  }
  #sp_header_lower #sp_hd_cnt #sp_hd_logo img {
    width: 100%;
  }
}

/* ==================================
    追従ヘッダー　調整
================================== */
#header_lower.is-animation,
#sp_header_lower.is-animation {
  position: fixed;
  top: 0;
  background: white;
  padding: 0;
  z-index: 10;
}

#header_lower.is-animation #hd_container,
#sp_header_lower.is-animation #hd_container {
  display: flex;
  box-sizing: border-box;
  animation-duration: .8s;
  animation-name: slidein;
  animation-direction: alternate;
}

#header_lower.is-animation #sp_hd_cnt,
#sp_header_lower.is-animation #sp_hd_cnt {
  display: flex;
  height: 0px;
  padding-top: 10%;
}

#header_lower.is-animation #hd_logo,
#sp_header_lower.is-animation #hd_logo {
  max-width: 176px;
  width: 17.6%;
}

#header_lower.is-animation #sp_hd_logo,
#sp_header_lower.is-animation #sp_hd_logo {
  position: absolute;
  max-width: 220px;
  width: 22.44898%;
  top: 3%;
  left: 2%;
}

#header_lower.is-animation #sp_hd_logo img,
#sp_header_lower.is-animation #sp_hd_logo img {
  width: 100%;
}

#header_lower.is-animation #hd_box,
#sp_header_lower.is-animation #hd_box {
  display: flex;
}

#header_lower.is-animation #gnav,
#sp_header_lower.is-animation #gnav {
  display: block;
  width: 100%;
  position: relative;
  z-index: 100;
  background: none;
}

#header_lower.is-animation #gnav ul,
#sp_header_lower.is-animation #gnav ul {
  width: 100%;
}

#header_lower.is-animation #gnav ul li a,
#sp_header_lower.is-animation #gnav ul li a {
  padding: 17px 0 25px;
}

#header_lower.is-animation #gnav ul .child,
#sp_header_lower.is-animation #gnav ul .child {
  position: relative;
  transition: all 0.2s ease-out;
}

#header_lower.is-animation #gnav ul .child:hover .sub,
#sp_header_lower.is-animation #gnav ul .child:hover .sub {
  display: block;
  transition: all 0.8s ease-out;
}

#header_lower.is-animation #gnav ul .child .sub,
#sp_header_lower.is-animation #gnav ul .child .sub {
  display: none;
  width: 100%;
  left: 0;
  top: 100%;
  transition: all 0.2s ease-out;
  z-index: 10000;
}

#header_lower.is-animation #gnav ul .child .sub li,
#sp_header_lower.is-animation #gnav ul .child .sub li {
  display: block;
  width: 100%;
  margin: 0 0 3px;
}

#header_lower.is-animation #gnav ul .child .sub li a,
#sp_header_lower.is-animation #gnav ul .child .sub li a {
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  align-self: center;
  width: 100%;
  height: 50px;
  padding: 0;
  margin: 0;
  background-color: rgba(248, 248, 248, 0.5);
}

#header_lower.is-animation #gnav ul .child .sub li a:hover:after,
#sp_header_lower.is-animation #gnav ul .child .sub li a:hover:after {
  content: none;
}

@media screen and (max-width: 980px) {
  #sp_header_lower.is-animation #sp_hd_logo {
    position: absolute;
    max-width: 220px;
    width: 22.44898%;
    top: 3%;
    left: 2%;
  }
  #sp_header_lower.is-animation #sp_hd_logo img {
    width: 100%;
  }
}

@media screen and (max-width: 640px) {
  #sp_header_lower.is-animation #sp_hd_cnt {
    display: flex;
    height: 0px;
    padding-top: 14%;
  }
  #sp_header_lower.is-animation #sp_hd_logo {
    position: absolute;
    max-width: 220px;
    width: 22.44898%;
    top: 3%;
    left: 2%;
  }
  #sp_header_lower.is-animation #sp_hd_logo img {
    width: 100%;
  }
}

@keyframes slidein {
  from {
    height: 0px;
  }
  to {
    height: 90px;
  }
}

/* ==================================
    GNAV
================================== */
#gnav {
  display: block;
  width: 100%;
  position: relative;
  z-index: 100;
}

#gnav ul {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-end;
  width: 100%;
}

#gnav ul li {
  width: 14.2%;
  text-align: center;
  position: relative;
}

#gnav ul li a {
  display: block;
  position: relative;
  padding: 17px 0 33px;
  font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  font-size: 108%;
  font-weight: 500;
  color: #1e1e1e;
  letter-spacing: 0.1em;
}

#gnav ul li a:hover {
  text-decoration: none;
}

#gnav ul li a:hover:after {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 3px;
  background: #b77c1b;
  bottom: 0px;
}

#gnav ul .child {
  position: relative;
  transition: all 0.2s ease-out;
}

#gnav ul .child:hover .sub {
  display: block;
  transition: all 0.8s ease-out;
}

#gnav ul .child .sub {
  display: none;
  width: 100%;
  left: 0;
  top: 100%;
  transition: all 0.2s ease-out;
  z-index: 10000;
}

#gnav ul .child .sub li {
  display: block;
  width: 100%;
  margin: 0 0 3px;
}

#gnav ul .child .sub li a {
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  align-self: center;
  width: 100%;
  height: 50px;
  padding: 0;
  margin: 0;
  background-color: rgba(255, 255, 255, 0.8);
}

#gnav ul .child .sub li a:hover:after {
  content: none;
}

@media screen and (max-width: 1240px) {
  #gnav ul li {
    width: auto;
    padding: 0 2%;
  }
  #gnav ul li a {
    padding: 17px 0px 40px;
    font-size: 100%;
    font-weight: 500;
    letter-spacing: 0em;
    word-break: keep-all;
  }
  #gnav ul .child {
    position: relative;
    transition: all 0.2s ease-out;
  }
  #gnav ul .child .sub {
    display: none;
    width: 100%;
    left: 0;
    top: 100%;
    transition: all 0.2s ease-out;
    z-index: 10000;
  }
  #gnav ul .child .sub li {
    display: block;
    width: 100%;
    margin: 0 0 3px;
  }
  #gnav ul .child .sub li a {
    width: 100%;
    height: 50px;
  }
}

#sp_gnav {
  display: none;
}

@media screen and (max-width: 980px) {
  #sp_gnav {
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    width: 100%;
    z-index: 2;
    padding: 10.5% 0 0 0;
    box-sizing: border-box;
  }
  #sp_gnav .lang {
    text-align: center;
    padding: 3% 0;
    color: #fff;
  }
  #sp_gnav .lang a {
    font-size: 139%;
    color: #f2f2f2;
    letter-spacing: 5px;
  }
  #sp_gnav .lang .active {
    font-size: 154%;
  }
  #sp_gnav .lang span {
    padding: 0 3%;
  }
  #sp_gnav ul {
    width: 100%;
  }
  #sp_gnav ul li {
    width: 100%;
    position: relative;
  }
  #sp_gnav ul li a {
    display: block;
    position: relative;
    padding: 3% 0 3% 5%;
    font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    font-size: 16px;
    font-weight: 500;
    color: #f5f5f5;
    letter-spacing: 0.1em;
    box-sizing: border-box;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  #sp_gnav ul li a:hover {
    text-decoration: none;
  }
  #sp_gnav ul li a:hover:after {
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 3px;
    background: #b77c1b;
    bottom: 0px;
  }
  #sp_gnav ul .child .sub {
    display: block;
    width: 100%;
  }
  #sp_gnav ul .child .sub li {
    display: block;
    width: 100%;
    margin: 0 0 3px;
  }
  #sp_gnav ul .child .sub li a {
    width: 100%;
    height: auto;
    padding: 2% 0 2% 10%;
    box-sizing: border-box;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0);
  }
  #sp_gnav ul .child .sub li a:last-of-type {
    border-top: 1px solid rgba(255, 255, 255, 0);
  }
  #sp_gnav ul .child .sub li a:hover:after {
    content: none;
  }
}

@media screen and (max-width: 640px) {
  #sp_gnav .lang {
    text-align: center;
    padding: 3% 0;
    color: #fff;
  }
  #sp_gnav .lang a {
    font-size: 14px;
    color: #f2f2f2;
    letter-spacing: 5px;
  }
  #sp_gnav .lang .active {
    font-size: 20px;
  }
  #sp_gnav ul {
    width: 100%;
  }
  #sp_gnav ul li {
    width: 100%;
    position: relative;
  }
  #sp_gnav ul li a {
    padding: 4% 0 4% 5%;
    font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    font-size: 14px;
  }
  #sp_gnav ul li a:hover {
    text-decoration: none;
  }
  #sp_gnav ul li a:hover:after {
    content: none;
  }
  #sp_gnav ul .child .sub li a {
    width: 100%;
    height: auto;
    padding: 2% 0 2% 10%;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0);
  }
  #sp_gnav ul .child .sub li a:last-of-type {
    border-top: 1px solid rgba(255, 255, 255, 0);
  }
  #sp_gnav ul .child .sub li a:hover:after {
    content: none;
  }
}
