/* body {
  font-family: "Shippori Mincho", serif;
} */

/*
*   header  
*/

header {
  width: 100%;
  height: 60rem;
  color: white;
  font-family: "Shippori Mincho", serif;
}

.header_fixed {
  display: flex;
  justify-content: space-between;
  position: fixed;
  z-index: 999;
  width: 128rem;
  height: 10rem;
  background: linear-gradient(rgba(30, 30, 30, 1), rgba(30, 30, 30, 0));
  padding: 0 5rem 0 3rem;
  font-family: "Noto Sans JP";
}

.logo {
  width: 26.4rem;
  height: 4.6rem;
  margin: 2.7rem 8.9rem 1.6rem 0;
}

.menu ul {
  display: flex;
}

.menu ul li {
  width: 12.5rem;
  height: 7.8rem;
  text-align: center;
  border-bottom: none;
}

.menu ul li:nth-of-type(2) {
  margin-left: -0.2rem;
}

.menu ul li:nth-of-type(3) {
  margin-left: -1rem;
}

.menu ul li:nth-of-type(5) {
  margin-left: -0.2rem;
}

.menu ul li:nth-of-type(6) {
  margin-left: -1rme;
}

.menu ul li:hover {
  border-bottom: 2px solid white;
}

.header_link_button {
  color: white;
  font-size: 2rem;
  padding-top: 3.6rem;
  padding-bottom: 4.2rem;
}

.main_title_wrap {
  position: relative;
}

.main_title_img {
  width: 100%;
  height: 60rem;
  z-index: 999;
}

.main_title_text_wrap {
  position: absolute;
  top: 62.5%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  width: 40rem;
  display: inline-block;
  overflow: hidden;
}

.main_title_ja,
.contact_title_jp {
  font-size: 5rem;
  font-weight: bold;
  padding-bottom: 1.5rem;
  letter-spacing: 0.3em;
  border-bottom: 1px solid white;
  margin-right: -0.3em;
}

.main_title_en {
  margin-top: 1.1rem;
  font-size: 3rem;
  font-weight: bold;
  letter-spacing: 0.3em;
}

.hamburger {
  display: none;
}

.hamburger_menu {
  display: none;
}

@media screen and (max-width: 680px) {
  header {
    width: 100%;
    height: 19rem;
  }

  .header_fixed {
    background-color: #2B1C01;
    width: 100%;
    height: 4rem;
    padding: 0.1rem 0 0.6rem 1rem;
  }

  .logo {
    width: 19.2rem;
    height: 3.3rem;
    margin: 0;
  }

  .main_title_img {
    width: 100%;
    height: 15rem;
    margin-top: 4rem;
  }

  .main_title_text_wrap {
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 21rem;
  }

  .main_title_ja {
    font-size: 2.6rem;
    padding-bottom: 0.1rem;
    letter-spacing: 0.4em;
  }

  .main_title_en {
    margin-top: 0;
    margin-left: -0.8rem;
    font-size: 1.6rem;
    letter-spacing: 0.3em;
    margin-right: -0.7em;
  }

  .contact_title_jp {
    font-size: 2.6rem;
    letter-spacing: 0.4em;
    font-weight: bold;
    padding-bottom: 0.1rem;
    white-space: nowrap;
    text-align: justify;
    margin-right: 0;
    border-bottom: 1px solid white;
  }

  .menu {
    display: none;
  }

  .hamburger_menu {
    display: block;
    background-color: #2B1C01;
    background-image: url(../img/hamburger.png);
    background-repeat: no-repeat;
    /* 画像を繰り返さない */
    background-position: top 7.4rem left -2.3rem;
    background-size: 112%;
    position: fixed;
    top: 0;
    right: -105%;
    /* 初期状態では画面の外に隠れている */
    width: 37.5rem;
    height: 100%;
    transition: right 0.3s ease;
    /* スライドインのアニメーション */
    padding: 6rem 2rem;
    z-index: 999;
    font-weight: bold;
  }

  .hamburger_menu.open {
    right: 0;
  }

  .ham_logo {
    display: block;
    width: 24.8rem;
    height: auto;
    margin: 0 auto;
  }

  .ham_main_title_text_wrap {
    text-align: center;
    color: white;
    width: 31.5rem;
    height: 6.9rem;
    margin: 0 auto;
  }

  .hamburger_menu ul li:nth-of-type(5) {
    margin-top: 0; /* -1rem */
  }

  .hamburger_menu ul li:nth-of-type(6) {
    margin-top: -0.1rem;
  }

  .hamburger_menu ul li:nth-of-type(7) {
    margin-top: -0.2rem;
  }

  .hamburger_menu ul li:nth-of-type(8) {
    margin-top: -0.9rem;
  }

  .ham_main_title_text_wrap:hover {
    background: linear-gradient(rgba(256, 256, 256, 0), rgba(256, 256, 256, 0.6));
  }

  .ham_text_wrap {
    margin-top: -0.3rem;
  }

  .ham_main_title_ja {
    display: inline-block;
    letter-spacing: 0.3em;
    width: 21rem;
    font-size: 2.8rem;
    padding-left: 0.885rem;
    border-bottom: 1px solid white;
  }

  .ham_contact {
    white-space: nowrap;
    display: inline-block;
    letter-spacing: 0.3em;
    width: 21rem;
    font-size: 2.8rem;
    margin-left: 0;
    border-bottom: 1px solid white;
  }

  .ham_main_title_en {
    text-align: center;
    margin-top: -0.1rem;
    font-size: 1.6rem;
    letter-spacing: 0.32em;
    padding-left: 0.4rem;
  }

  /* ボタンのスタイル */
  .hamburger {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: 4rem;
    height: 4rem;
    cursor: pointer;
    z-index: 9999;
    transition: transform 0.5s ease;
    background-color: #ffffff;
    padding-top: 0.5rem;
  }

  .hamburger span {
    display: block;
    height: 0.1rem;
    width: 50%;
    background-color: #707070;
    margin: 0.7rem auto;
    transition: all 0.3s;
    z-index: 9999;
  }

  .hamburger.active {
    background-color: #2B1C01;
  }

  .hamburger.active span {
    background-color: white;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(0.6rem, 0.6rem);
    width: 100%;
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(0.6rem, -0.6rem);
    width: 100%;
  }
}

/*
*   anchor link
*/

.gotop {
  display: none;
  position: fixed;
  bottom: 5rem;
  right: 5rem;
  z-index: 10000;
}

.gotop_img {
  width: 8.2rem;
  height: 8.2rem;
}

@media screen and (max-width: 680px) {

  .gotop {
    /* display: block; */
    position: fixed;
    bottom: 3rem;
    right: 3rem;
    z-index: 998;
  }

  .gotop_img {
    width: 3rem;
    height: 3rem;
  }
}

/*
*   footer
*/

footer {
  display: flex;
  background-color: #2B1C01;
  width: 100%;
  height: 20rem;
  border-top: 1px solid white;
  /* margin: 20rem 0 0 0; */
}

.footer_logo {
  width: 29.5rem;
  height: 16.5rem;
  margin: 1.5rem 0 2rem 5rem;
  padding: 3rem 5rem 2.4rem 0;
  border-right: 1px solid white;
}

.footer_right {
  color: white;
  margin-left: 5rem;
  margin-top: 1.5rem;
  width: 88.45rem;
}

.company_name {
  font-family: "Noto Sans JP";
  font-size: 2rem;

}

.address {
  font-family: "Noto Sans JP";
  font-size: 2rem;
  line-height: 1.45em;
  margin-bottom: 8.6rem;
}

.br {
  display: none;
}

.space {
  display: inline;
}

.copyright {
  font-family: "Noto Sans JP";
  font-size: 1.5rem;
  line-height: 1.4em;
  margin-right: 5rem;
  text-align: right;
}

@media screen and (max-width: 680px) {
  footer {
    flex-direction: column;
    height: 34.9rem;
    padding: 5rem 0;
    text-align: center;
  }

  .footer_logo {
    width: 24.5rem;
    height: 11.1rem;
    margin: 0 auto;
    padding: 0;
    border: none;
  }

  .footer_right {
    width: 31.4rem;
    margin: 0 3.1rem;
  }

  .company_name {
    margin-top: 5.6rem;
    font-size: 1.5rem;
  }

  .address {
    font-size: 1.5rem;
    line-height: 1.4em;
    margin-bottom: 2.45rem;
  }

  .br {
    display: block;
  }

  .space {
    display: none;
  }

  .copyright {
    font-size: 1rem;
    margin: 0;
    text-align: center;
  }
}