@charset "UTF-8";

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

.home .header {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  z-index: 999;
  background-color: #fcc900;
}

.subpage .header {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  z-index: 999;
  background-color: #fcc900;
}

.header.active {
  box-shadow: 10px 10px 15px rgba(0, 0, 0, .1);
}

.header.kv {
  margin-top: 0;
}

.hd__inner {
  margin: 0 auto;
  width: 100%;
  height: 52px;
  position: relative;
  transition: .3s ease-out;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 0 2%;
}


.hd__flex {
  display: flex;
  width: 100%;
  transition: .3s ease-out;
}


.hd__left {
  width: 100%;
  flex: 0 1 auto;
  position: relative;
  transition: .3s ease-out;
}


.hd__right {
  width: 100%;
  transition: .3s ease-out;
}

.hd__logo {
  width: 100%;
  max-width: 100px;
  z-index: 9999;
  position: relative;
}

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

.g-nav__pc--ul li::before {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: #378567;
  left: 50%;
  bottom: -1em;
  transition: .5s;
  transform: translate(-50%);
  z-index: -1;
}

.g-nav__pc--ul li:hover:before {
  width: 50%;
}

.g-nav__pc--ul li.active a::before {
  width: 100%
}

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

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

/***** g-nav ▲*****/
.hd__menu {
  pointer-events: none;
}



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

.hd__menu {
  z-index: 999;
  width: 52px;
  height: 52px;
  transition: .5s;
  margin: 0 0 0 auto;
  cursor: pointer;
  position: relative;
  pointer-events: all;
  background: #ab0c20;
}

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

.hd__hamburger {
  width: 30px;
  height: 15px;
  margin: 0 auto;
  cursor: pointer;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hd__ham--line {
  background: #fff;
  height: 1px;
}

.hd__menu.active .hd__ham--line {
  background: #fff;
}


.hd__hamburger--top {
  width: 100%;
  top: 0;
  left: 50%;
  transition: .5s;
  transform: translate(-50%)
}

.hd__hamburger--middle {
  width: 100%;
  top: 50%;
  transition: .5s;
  transform: translate(0, -50%);
}

.hd__hamburger--bottom {
  width: 100%;
  bottom: 0;
  left: 50%;
  transition: .5s;
  transform: translate(-50%)
}

.hd__menu.active .hd__hamburger--top {
  top: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
}

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

.hd__menu.active .hd__hamburger--bottom {
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.hd__menu--txt {
  position: absolute;
  top: 75%;
  left: 50%;
  color: #fff;
  width: 90%;
  font-size: 1.2rem;
  transform: translate(-50%, -50%);
  text-align: center;
}

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

}

html.active body:before {
  opacity: 0;
  z-index: 999;
  display: block;
  animation-name: BgAppear;
  animation-duration: .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: 52px;
  right: -120%;
  height: 100vh;
  min-width: 100vw;
  transition: all .5s;
  background: #fff;
  overflow: auto;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  padding: 60px 10% 100px;
  z-index: 999;
}

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

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

.g-nav__sp-ul {
  width: fit-content;
  margin: 0 auto 40px;
}

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

.g-nav__bg .g-nav__li,
.g-nav__bg .g-nav__li a {
  font-size: 1.4rem;
  height: 100%;
  display: block;
  padding: 0;
  line-height: 1;
  margin-bottom: 1em;
  font-weight: 500;
  background: none;
  border: none;
  text-align: center;
}

.g-nav__bg .g-nav__li p {
  line-height: 1;
}

.g-nav__sp-ul .sub-triger a {
  margin-bottom: 1em;
}

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

.g-nav__tel {
  max-width: 180px;
  margin: 0 auto 20px;
}

.g-nav__mail {
  width: 200px;
  margin: 0 auto;
}



@media screen and (min-width:768px) {
  .header {
    padding: 0;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translate(-50%);
  }

  .header.active {
    box-shadow: 10px 10px 15px rgba(0, 0, 0, .1);
  }

  .hd__inner {
    height: 62px;
    padding: 0 0 0 2%;
  }

  .hd__left {
    width: 45%;
  }

  .hd__right {
    width: auto;
  }

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

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

  .hd__menu {
    width: 62px;
    height: 62px;
  }


  .hd__hamburger {
    margin: 0 0 0 auto;
    width: 40px;
    height: 20px;
  }

  .hd__ham--line {

    height: 2px;
  }

  /***** sp nav *****/

  .g-nav__bg {
    top: 62px;
    right: -120%;
    height: 100vh;
    min-width: 50vw;
    padding: 120px 10% 100px;
  }

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

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

  .g-nav__sp-ul {
    width: fit-content;
    margin: 0 auto 40px;
  }

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

  /* 
    .g-nav__li a::before {
        display: none;
    } */

  .g-nav__bg .g-nav__li,
  .g-nav__bg .g-nav__li a {
    font-size: 1.6rem;
    height: 100%;
    display: block;
    padding: 0;

    line-height: 1;
    margin-bottom: 1.5em;
    background: none;
    border: none;
    text-align: center;
  }


  .g-nav__bg .g-nav__li i {
    display: inline-block;
    margin: 0 0 0 .5em;
  }

  .g-nav__bg .g-nav__li.sub a {
    font-size: 1.4rem;
    margin-bottom: 1em;
  }

  .g-nav__sp-ul .sub-triger a {
    margin-bottom: 1em;
  }

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

  .g-nav__tel {
    max-width: 180px;
    margin: 0 auto 20px;
  }

  .g-nav__mail {
    width: 220px;
    margin: 0 auto;
  }

}

@media screen and (min-width:1025px) {
  .home .header {
    position: absolute;
    top: 760px;
    right: 0;
    width: 100%;
    z-index: auto;
    background-color: #fcc900;
  }

  .subpage .header {
    height: 130px;
  }

  .header .pc {
    display: block;

  }

  .header .flex {
    display: flex;
    justify-content: flex-start;
  }

  .header {
    padding: 20px 1%;
    background: none;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    height: auto;
  }

  .header.active {
    box-shadow: none;
  }

  .hd__inner {
    max-width: 1720px;
    display: block;
    height: auto;
  }


  .hd__left {
    width: 17%;
  }


  .hd__right {
    width: 75%;
  }

  .hd__logo {
    max-width: 303px;
  }

  .hd__mid {
    flex: 1 1 auto;
    margin-right: 2.5%;
    padding: 20px 0 0;
  }

  .hd__sns {
    width: fit-content;
    margin: 0 0 20px auto;
  }

  .hd__sns--li {
    margin-left: 10px;
  }

  .hd__sns--li img {
    width: auto;
  }

  .hd__tel {
    max-width: 230px;
    min-width: 160px;
    margin-right: 1.5%;
  }

  .hd__btn {
    max-width: 150px;
    min-width: 100px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
  }


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

  .g-nav__pc {
    text-align: center;
    width: 100%;
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-end;
    max-width: 1085px;
    align-items: center;
    margin: 0 0 0 auto;
    transition: .3s ease-out;
  }

  .g-nav__pc--ul {
    width: 100%;
    margin: 0 0 0 auto;
    position: relative;
  }

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

  .g-nav__li a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    transition: .3s ease-out;
    line-height: 1;
    text-align: center;
    padding: 0 5px 0;
    white-space: nowrap;
    border-right: solid 1px #111;
  }

  .g-nav__li .font-en {
    display: block;
    font-size: 1.8rem;
    margin-bottom: .5em;
  }

  .g-nav__li:last-child a {
    border: none;
    padding: 0 0 0 5px;
  }

  .g-nav__li a:hover {
    opacity: 1;
    color: #ab0c20;
  }

  .g-nav__li img {
    width: auto;
    position: absolute;
    top: 25%;
    left: 50%;
    display: block;
    transform: translate(-50%, -50%);

  }

  /* .g-nav__li .hv {
    opacity: 0;
}

.g-nav__li a:hover .hv {
    opacity: 1;
}

.g-nav__li a:hover .default {
    opacity: 0;
} */

  .g-nav__li .font-en {
    font-size: 1.2rem;
    display: block;
    letter-spacing: .1em;
    margin-top: 1em;
    line-height: 1;
    white-space: nowrap;
    position: relative;
  }


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


  .g-nav__pc .sub-triger {
    padding-bottom: 50px;
    margin-bottom: -50px;
  }

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

  .sub-nav {
    position: absolute;
    width: fit-content;
    left: 50%;
    top: 67px;
    min-width: 120px;
    background: #7f7137;
    -webkit-transform: translate(-50%);
    -ms-transform: translate(-50%);
    transform: translate(-50%);
    display: none;
    opacity: 0;
    transition: .5s;
    padding: 1em;
    animation: sub-navAppear .5s forwards;
  }

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

    100% {
      opacity: 1;
    }
  }

  .g-nav__pc--ul .sub-nav__li a {
    line-height: 1.2;
    white-space: nowrap;
    font-weight: 400;
    color: #fff;
    padding: 0 1em;
    border: none;
    text-align: center;
    position: relative;
  }

  .g-nav__pc--ul .sub-nav__li a::before {
    content: "";
    position: absolute;
    width: 1px;
    height: 1.2em;
    background: #fff;
    right: 0;
    top: 50%;
    transform: translate(0, -50%) rotate(25deg);
  }

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

  /* 
.g-nav__pc--ul .sub-nav__li a:hover {
    color: #fff;
} */

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

  .g-nav__pc--ul .sub-nav__li:last-child a {
    margin-bottom: 0;
    padding-bottom: 0;
  }

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

  .g-nav__pc--ul .g-nav__li::before {
    content: "";
    position: absolute;
    width: 0;
    height: 1.5px;
    background: #ab0c20;
    left: 50%;
    bottom: -.5em;
    transition: .5s;
    z-index: -1;
    opacity: 0;
    transform: translate(-50%);
  }

  .g-nav__pc--ul .g-nav__li:hover:before {
    opacity: 1;
    width: 50%;
  }

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

  .g-nav__pc--ul .g-nav__li.sub-triger::before {
    width: 100%
  }

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


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


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

  .hd__menu {
    width: 40px;
    height: 22px;
    transition: .5s;
    margin: 0 auto;
  }

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

  .hd__ham--line {
    background: #fff;
    height: 2px;
  }

  .hd__menu.active .hd__ham--line {
    background: #fff;
  }

  /***** sp nav *****/

  .g-nav__bg {
    top: 0;
    min-width: 50vw;
    padding: 120px 10% 100px;
  }

  .g-nav__sp-ul {
    width: fit-content;
    margin: 0 auto 40px;
  }

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

  .g-nav__bg .g-nav__li,
  .g-nav__bg .g-nav__li a {
    font-size: 1.6rem;
    margin-bottom: 1.5em;
  }

  .g-nav__mail {
    width: 240px;
    margin: 0 auto;
  }



}


/*============================
	footer
============================*/
.footer {
  padding: 60px 0 30px;
}

.ft__logo {
  max-width: 160px;
  margin: 0 auto 20px;
}

.ft__h3 {
  padding: 0 2em;
  width: fit-content;
  margin: 0 auto 15px;
  position: relative;
  font-size: 1.4rem;
  line-height: 1.6;
}

.ft__h3::before {
  content: '';
  position: absolute;
  width: 1.5em;
  height: 1px;
  background-color: #111;
  left: 0;
  top: 50%;
  transform: translate(0, -50%);
}

.ft__h3::after {
  content: '';
  position: absolute;
  width: 1.5em;
  height: 1px;
  background-color: #111;
  right: 0;
  top: 50%;
  transform: translate(0, -50%);
}

.ft__tel {
  max-width: 280px;
  margin: 0 auto 20px;
}

.ft__mail {
  max-width: 240px;
  margin: 0 auto;
}

.ft__navwrap {

  margin-bottom: 20px;
}

.ft-nav__li a {
  display: block;
  white-space: nowrap;
  line-height: 1;
  font-size: 1.4rem;
  width: fit-content;
  margin: 0 auto 1.5em;
  position: relative;
  white-space: nowrap;

}

.ft__sns {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.ft__sns--li {
  margin: 0 5px;
}

.ft__copyright {
  font-size: 1rem;
  text-align: center;
}

@media screen and (min-width:768px) {
  .footer {
    padding: 60px 0 30px;
  }

  .ft__logo {
    width: 30%;
    max-width: 180px;
    margin: 0;
  }

  .ft__tright {
    width: 65%;
  }

  .ft__h3 {
    margin: 0 auto 20px;
    font-size: 2rem;
  }

  .ft__h3::after {
    content: '';
    position: absolute;
    width: 1.5em;
    height: 1px;
    background-color: #111;
    right: 0;
    top: 50%;
    transform: translate(0, -50%);
  }

  .ft__tel {
    width: 50%;
    max-width: 280px;
    margin: 0;
  }

  .ft__mail {
    width: 45%;
    max-width: 220px;
    margin: 0;
  }

  .ft__navwrap {
    margin-bottom: 20px;
  }

  .ft__nav {
    flex-wrap: wrap;
  }


  .ft-nav__li p {
    line-height: 1;
  }

  .ft-nav__li a {
    padding: 0 1em;
    font-size: 1.3rem;
    margin: 0 auto 1em;
    border-right: solid 1px #111;
  }

  .ft-nav__li:last-child a,
  .ft-nav__li:last-child p {
    border: none;
  }

  .ft__sns {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
  }

  .ft__sns--li {
    margin: 0 5px;
  }

  .ft__copyright {
    font-size: 1rem;
  }

}

@media screen and (min-width:1025px) {
  .footer {
    padding: 80px 0;
  }

  .ft__logo {
    width: 30%;
    max-width: 262px;
    margin: 0;
  }

  .ft__tright {
    width: 65%;
    max-width: 700px;
  }

  .ft__h3 {
    margin: 0 auto 20px;
    font-size: 3.2rem;
  }

  .ft__tel {
    width: 50%;
    max-width: 340px;
    margin: 0;
  }

  .ft__mail {
    width: 45%;
    max-width: 295px;
    margin: 0;
  }

  .ft__navwrap {
    margin-bottom: 20px;
  }

  .ft-nav__li a {
    font-size: 1.6rem;
    font-weight: bold;
    margin: 0 auto;
  }


  .ft__sns {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
  }

  .ft__sns--li {
    margin: 0 5px;
  }

  .ft__copyright {
    font-size: 1rem;
  }

}




/*============================
	page top /side btn
============================*/

.side__btn {
  min-width: 64px;
  min-width: 35px;
  width: 3.33%;
  right: 0;
  bottom: 30px;
  position: fixed;
  z-index: 9;
}


@media screen and (min-width:768px) {

  .js-pagetop a {
    width: 40px;
    bottom: 0;
  }



  .side__btn {
    min-width: 40px;
    width: 3.33%;
    right: 0;
    bottom: auto;
    top: 240px;
  }

}

@media screen and (min-width:1025px) {

  .js-pagetop a {
    width: 50px;
    bottom: 0;
  }


  .side__btn {
    min-width: 64px;
    min-width: 45px;
    width: 3.33%;
    right: 0;
    top: 240px;
  }

}