/*============================
	header
============================*/

header {
  z-index: 999;
  position: fixed;
  top: 0;
  left: 50%;
  width: 100%;
  height: 115px;
  padding: 0;
  transition: 0.5s;
  -webkit-transform: translate(-50%);
  -ms-transform: translate(-50%);
  transform: translate(-50%);
  /* box-shadow: 10px 10px 15px rgba(0, 0, 0, .1); */
}

header.active {
  background: #fff;
  box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.1);
}

.hd__inner {
  margin: 0 auto;
  max-width: 1400px;
}

.hd__h1 {
  font-size: 1.1rem;
  letter-spacing: 0.075em;
  margin-bottom: 15px;
}

.hd__left {
  /* width: 20%; */
  flex: 0 1 auto;
}

.hd__right {
  width: 80%;
  flex: 1 1 auto;
  max-width: 890px;
}

.hd__logo {
  width: 100%;
  /* max-width: 120px; */
}

.hd__contact {
  flex: 0 1 160px;
  max-width: 160px;
}

.hd__contact a {
  display: block;
  width: 100%;
  line-height: 115px;
  background: #a8a164;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  padding: 0 10px;
  font-size: 1.8rem;
  letter-spacing: 0.2em;
}

/***** g-nav PC ▼*****/

.g-nav__pc {
  text-align: center;
  margin: 0 auto 0 0;
  max-width: 600px;
  width: 60%;
}

.g-nav__li {
  position: relative;
  z-index: 9;
  flex: 1 1 auto;
  padding: 0 5px;
}

.g-nav__li:last-child {
  border: none;
}

.g-nav__li a {
  white-space: nowrap;
  font-size: 1.6rem;
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  transition: 0.5s;
}

.g-nav__li .font-en {
  display: block;
}

.g-nav__li .ja {
  position: absolute;
  bottom: -40px;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  color: #fec8cd;
  font-size: 1.4rem;
  display: none;
}

.g-nav__li a:hover {
  opacity: 0.8;
}

.g-nav__li:hover .ja {
  display: block;
  opacity: 0;
  animation: navAppear 0.5s forwards;
}

.g-nav__li.sub-triger {
  position: relative;
}

.sub-triger:hover .sub-nav {
  display: block;
  opacity: 1;
}

.sub-nav {
  position: absolute;
  background: #f6f6f6;
  padding: 20px 10%;
  width: 100%;
  min-width: 170px;
  left: 0;
  top: 90px;
  /* -webkit-transform: translate(-50%);
    -ms-transform: translate(-50%);
    transform: translate(-50%); */
  display: none;
  opacity: 0;
  transition: 0.5s;
  animation: sub-navAppear 0.5s forwards;
  text-align: left;
}

.sub-nav02 {
  min-width: 240px;
}

@keyframes sub-navAppear {
  0% {
    opacity: 0%;
  }

  100% {
    opacity: 1;
  }
}

.g-nav__pc--ul .sub-nav__li {
  margin: 0 0 10px;
}

.g-nav__pc--ul .sub-nav__li a {
  font-size: 1.3rem;
  line-height: 1;
  letter-spacing: 0;
  margin: 0 auto 20px;
}

.g-nav__pc--ul .sub-nav__li a:hover {
  color: #ff9f65;
}

/* g-nav 伸びるボーダー */

.g-nav__pc--ul li a::before {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: #fec8cd;
  left: 50%;
  bottom: -5px;
  border-radius: 1px;
  transition: 0.5s;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: -1;
}

.g-nav__pc--ul li a:hover:before {
  width: 100px;
}

.g-nav__pc--ul .sub-nav__li a:hover::before {
  display: none;
}

.g-nav__pc--ul li a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: -22px;
  width: 50px;
  height: 64px;
  background: url(../img/cmn/nav_ico.png) no-repeat center bottom/contain;
  display: none;
  opacity: 0.5s;
}

.g-nav__pc--ul li a:hover::after {
  display: block;
  opacity: 0;
  animation: navAppear 0.5s forwards;
}

@keyframes navAppear {
  0% {
    opacity: 0%;
  }

  100% {
    opacity: 1;
  }
}

/***** g-nav ▲*****/

/***** ハンバーガー ▼*****/

.hd__menu {
  font-weight: bold;
  font-size: 1rem;
  z-index: 999;
  width: 62px;
  height: 62px;
  transition: 0.5s;
  margin: 0 0 0 auto;
  padding: 25px 0;
  background: #a8a164;
}

/* .hd__menu.active {
    background: #00528d;
} */

.hd__hamburger {
  width: 40px;
  height: 10px;
  margin: 0 auto;
  cursor: pointer;
}

.hd__hamburger span {
  background: #fff;
  height: 2px;
  width: 100%;
  left: 0;
}

.hd__hamburger.active span {
  background: #fff;
}

.hd__menu .hd__menu--txt {
  font-size: 1rem;
  text-align: center;
  color: #fff;
  font-weight: bold;
  transition: 0.5s;
  margin-top: 5px;
}

/* .hd__gnav--sp.active .hd__menu--txt {
    
} */

.hd__hamburger--top {
  top: 0;
  transition: 0.5s;
}

.hd__hamburger--middle {
  top: 42.5%;
  transition: 0.5s;
}

.hd__hamburger--bottom {
  bottom: 0;
  transition: 0.5s;
}

.hd__hamburger.active .hd__hamburger--top {
  transform: translateY(4px) rotate(45deg);
}

.hd__hamburger.active .hd__hamburger--middle {
  display: none;
}

.hd__hamburger.active .hd__hamburger--bottom {
  transform: translateY(-4px) rotate(-45deg);
}

/***** sp nav *****/
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(000, 000, 000, 0.5);
  opacity: 0;
  display: none;
  transition: 0.5s;
}

html.active body:before {
  opacity: 0;
  z-index: 999;
  display: block;
  animation-name: BgAppear;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
}

@keyframes BgAppear {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes BgHide {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.g-nav__bg {
  position: fixed;
  top: 0;
  right: -120%;
  height: 100vh;
  transition: all 0.5s;
  background: #fff;
  overflow: auto;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  padding: 60px 10% 100px;
  margin-top: 62px;
  z-index: 9999;
}

.g-nav__bg--inner {
  width: fit-content;
  margin: 0 auto;
}

.g-nav__bg.active {
  right: 0;
}

.g-nav__h1 {
  display: block;
  margin: 0 0 30px;
  line-height: 1.6;
  font-size: 1rem;
  letter-spacing: 0;
  text-align: center;
}

/* .g-nav__sp{
    width: -moz-fit-content;
    width: fit-content;
    margin: 0 auto;
} */
.g-nav__sp-ul {
  margin-bottom: 40px;
  text-align: center;
}

.g-nav__bg .g-nav__li {
  border: none;
  padding: 0;
}

.g-nav__bg .g-nav__li::before {
  display: none;
}

.g-nav__bg .g-nav__li a {
  font-size: 1.8rem;
  height: 100%;
  display: block;
  margin-bottom: 20px;
  font-weight: bold;
  padding: 0;
  line-height: 1;
  background: none;
  border: none;
  color: #111;
}

.g-nav__bg .g-nav__li.sub a {
  font-size: 1.6rem;
}

.g-nav__sp-ul .sub-triger a {
  margin-bottom: 10px;
}

.g-nav__bg .sub-nav__li a {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.g-nav__sp ul span {
  font-size: 2.4rem;
  margin-right: 10px;
}

.g-nav__tel {
  font-size: 2.6rem;
  margin-bottom: 5px;
  line-height: 1;
  text-align: center;
  margin-bottom: 15px;
}

.g-nav__tel .small {
  font-size: 2rem;
}

.g-nav__tel--txt {
  font-size: 1.4rem;
  margin-bottom: 5px;
}

.g-nav__tel img {
  width: 20px;
  margin-right: 10px;
  vertical-align: middle;
}

.g-nav__time {
  margin-bottom: 30px;
  font-size: 1.4rem;
  text-align: center;
}

.g-nav__contact img {
  width: 18px;
  margin-right: 10px;
  vertical-align: baseline;
}

.g-nav__contact a {
  display: block;
  width: 260px;
  margin: 0 auto 20px;
  max-width: 100%;
  line-height: 50px;
  height: auto;
  font-weight: bold;
  letter-spacing: 0.05em;
  text-align: center;
  background: #a8a164;
  color: #fff;
  padding: 0 10px;
  font-size: 1.6rem;
}

.hd__icowrap {
  display: flex;
  margin-right: 30px;
}
.hd__ico {
  font-size: 1rem;
  white-space: nowrap;
}
.hd__ico img {
  width: 40px;
  display: block;
  margin: 0 auto;
}
.hd__blog {
  margin-right: 15px;
}
@media screen and (max-width: 1040px) {
  header .pc {
    display: none;
  }

  header .sp {
    display: block;
  }

  .hd__h1 {
    font-size: 1rem;
    letter-spacing: 0;
    position: absolute;
    margin-bottom: 0;
    top: 5px;
    left: 0;
    padding: 0 1%;
    letter-spacing: 0;
    line-height: 1.2;
    white-space: normal;
  }

  .hd__left {
    padding: 0;
    flex: 0 1 auto;
    background: none;
    height: auto;
  }

  .hd__flex--sp.sp {
    display: block;
  }

  .hd__gnav--sp {
    display: block;
  }

  .hd__h1.sp {
    position: absolute;
    top: 10px;
    left: 0;
    padding: 0 3%;
    display: block;
    color: #111;
    text-align: left;
    font-size: 1rem;
    letter-spacing: 0;
    line-height: 1.4;
    white-space: normal;
    text-align: left;
  }

  header {
    height: 62px;
    position: fixed;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    padding: 0 0 0 1%;
    background: #fff;
  }

  header .inner {
    padding: 0 1%;
  }

  .hd__flex {
    align-items: center;
  }

  .hd__logo {
    width: 200px;
    min-width: auto;
    max-width: none;
    height: auto;
    position: relative;
    z-index: 999;
    margin: 0;
    flex: 0 0 auto;
  }

  .hd__flex {
    display: flex;
  }

  .hd__tel img {
    margin-right: 10px;
  }

  .g-nav__time {
    font-size: 1.2rem;
  }

  .hd__flex--sp.sp {
    display: flex;
    align-items: center;
  }

  .hd__tel--ico {
    display: block;
    margin: 0 20px 0 auto;
    width: 24px;
  }

  .hd__tel--ico img {
    vertical-align: middle;
  }
}

@media screen and (max-width: 767px) {
  header {
    height: 52px;
    padding: 0 0 0 10px;
  }

  .hd__left {
    width: auto;
  }

  .hd__right {
    width: auto;
  }

  .hd__hamburger span {
    height: 1px;
  }

  .g-nav__bg {
    width: 100vw;
    padding: 40px 10% 100px;
    margin-top: 52px;
  }

  .g-nav__bg .g-nav__li a {
    font-size: 1.6rem;
    margin-bottom: 20px;
  }

  .g-nav__sp-ul .sub-triger a {
    margin-bottom: 10px;
  }

  .g-nav__bg .sub-nav__li a {
    margin-bottom: 10px;
  }

  .g-nav__tel {
    font-size: 2.2rem;
  }

  .g-nav__tel img {
    width: 18px;
  }

  .hd__logo {
    max-width: none;
    width: 150px;
  }

  .g-nav__contact.sp a {
    margin: 0 15%;
    width: 70%;
  }

  header .hd__tel--ico {
    margin: 5px 15px 0 auto;
    width: 18px;
  }

  .hd__tel--ico img {
    vertical-align: baseline;
  }

  .g-nav__contact a {
    max-width: 100%;
    width: 200px;
    font-size: 1.4rem;
  }

  .hd__menu {
    width: 52px;
    height: 52px;
    padding: 20px 0;
  }

  .hd__hamburger {
    width: 30px;
  }
  .hd__icowrap {
    display: flex;
    margin-right: 15px;
  }
  .hd__ico {
    font-size: 1rem;
    white-space: nowrap;
	text-align: center;
  }
  .hd__ico img {
    width: 30px;
    display: block;
    margin: 0 auto;
  }
  .hd__blog {
    margin-right: 10px;
  }
}

/*============================
	footer
============================*/
footer {
  padding: 30px 0 0;
  background: #a8a164;
}

.ft__nav {
  max-width: 680px;
  margin: 0 auto 30px;
}

.ft-nav__li {
  flex: 1 1 auto;
  letter-spacing: 0.05em;
  white-space: nowrap;
  line-height: 1;
  border-right: solid 1px #fff;
  text-align: center;
}
.ft-nav__li a {
  color: #fff;
  display: block;
  width: 100%;
  height: 100%;
}
.ft-nav__li:last-child {
  border: none;
}

.ft__copyright {
  font-size: 1.1rem;
  text-align: center;
  line-height: 45px;
  background: #fff;
  color: #a8a164;
}

.ft__copyright a {
  color: #a8a164;
}

@media screen and (max-width: 1040px) {
  footer {
    padding: 25px 0 0;
  }

  .ft__nav {
    max-width: 600px;
    margin: 0 auto 25px;
  }

  .ft-nav__li {
    border-right: solid 1px #fff;
  }

  .ft__copyright {
    font-size: 1rem;
    line-height: 40px;
  }
}

@media screen and (max-width: 767px) {
  footer {
    padding: 25px 0 0;
  }

  .ft__nav {
    max-width: 100%;
    margin: 0 auto 25px;
  }

  .ft-nav__li {
    border-right: none;
    margin-bottom: 10px;
  }

  .ft__copyright {
    font-size: 1rem;
    line-height: 30px;
  }
}

/*============================
	page top /side btn
============================*/
.js-pagetop {
  right: 2%;
  bottom: 100px;
  width: 60px;
  z-index: 99;
  position: fixed;
  opacity: 0;
  transition: 0.5s;
}

.js-pagetop.active {
  opacity: 1;
}

/*.side__btnwrap {
  position: fixed;
  right: 2%;
  top: 40%;
  width: fit-content;
}*/
.side__btnwrap {
  position: fixed;
  right: 2%;
  top: 25%;
  width: fit-content;
}

.side__btn {
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  text-align: center;
  color: #a8a164;
  line-height: 1;
  white-space: nowrap;
}
.side__btn a {
  color: #a8a164;
}
.side__btn img {
  width: 40px;
  display: block;
  margin: 0 auto 10px;
}

.side__blog {
  margin-bottom: 20px;
}

/* .js-pagetop::before {
    position: absolute;
    content: "";
    width: 1px;
    height: 110px;
    background: #626262;
    left: 49%;
    bottom: 100px;
    animation: scrollAnime 2s 0s infinite;
    -webkit-transform: translate(-50%);
    -ms-transform: translate(-50%);
    transform: translate(-50%);
} */

@keyframes pagetopAnime {
  0% {
    height: 110px;
  }

  50% {
    height: 130px;
  }

  100% {
    height: 110px;
  }
}

@media screen and (max-width: 1040px) {
  .js-pagetop {
    right: 1%;
    bottom: 100px;
    width: 40px;
  }
  .side__btnwrap {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .js-pagetop {
    right: 1%;
    bottom: 100px;
    width: 30px;
  }
}