@charset "UTF-8";

/* ヘッダー
***************************************************************/

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: all 0.3s ease;
}

.header_inner {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 21px 50px;
  background-color: #fcfaec;
  transition: all 0.3s ease;
}

.logo_content .logo {
  display: block;
}

.logo_content .logo img {
  width: 126px;
}

/* ハンバーガーメニュー非表示 */
.toggle-menu {
  display: none;
}

/* ヘッダーリンク */
.header_nav {
  flex: 1;
}

.global_nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.global_nav ul {
  display: flex;
  gap: 30px;
  text-align: center;
}

.global_nav .left li {
  position: relative;
}

.global_nav .left li::after {
  content: "";
  position: absolute;
  display: inline-block;
  top: 3px;
  right: -15px;
  width: 1px;
  height: 19px;
  background-image: url(../../images/header_line.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.global_nav .left li:last-of-type:after {
  display: none;
}

.global_nav .left li a {
  font-size: 14px;
  line-height: 1;
  transition: all 0.3s ease;
}

.global_nav .right {
  display: flex;
  gap: 20px;
}

.global_nav .right .box1 {
  width: 251px;
  height: 80px;
  background-color: #6c5d47;
  border-radius: 10px;
  padding: 8px 20px;
  transition: all 0.3s ease;
}

.global_nav .right li a {
  display: flex;
  gap: 20px;
  color: #fff;
}

.global_nav .right li a img {
  width: 40px;
}

.global_nav .right li a p.title {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1;
  font-weight: bold;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.global_nav .right li a p.text1 {
  font-size: 24px;
  font-weight: 500;
}

.global_nav .right li a p.text2 {
  margin-top: 1px;
  font-size: 12px;
  line-height: 14px;
  font-weight: 500;
}

.global_nav .right .box2 {
  width: 97px;
  height: 80px;
  background-color: #ff9a01;
  border-radius: 10px;
  padding: 10px 20px 8px;
  transition: all 0.3s ease;
}

.global_nav .right .box2 .img_wrap {
  position: relative;
}

.global_nav .right .box2 img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
  transition: all 0.3s ease;
}

.global_nav .right li.box2 a p.title {
  margin-top: 45px;
}

/* ヘッダー追従 */

header.fixed {
  padding: 30px 30px 0;
}

header.fixed .header_inner {
  padding: 12px 30px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(34, 34, 34, 0.1);
}

@media screen and (max-width: 1180px) {
  .global_nav .right .box1 {
    display: none;
  }
}

@media screen and (max-width: 880px) {
  .global_nav .right .box2 {
    display: none;
  }

  .global_nav ul {
    gap: 20px;
  }
}

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

  .global_nav .left li a:hover {
    color: #ff9a01;
  }

  .global_nav .right .box1 a {
    pointer-events: none;
  }

  .global_nav .right .box2:hover {
    background-color: #ff7b01;
  }
}

@media screen and (max-width: 767px) {
  .header_inner {
    padding: 15px 20px;
  }

  .logo_content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 100;
  }

  .logo_content .logo img {
    width: 163px;
  }

  /* ヘッダー追従 */

  header.fixed {
    padding: 10px 10px 0;
  }

  header.fixed .header_inner {
    padding: 15px;
  }

  /* ハンバーガーメニュー */
  .toggle-menu {
    display: inline-block;
    width: 40px;
    height: 36px;
    position: relative;
    z-index: 100;
  }

  .toggle-menu::after {
    content: "MENU";
    display: inline-block;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
    color: #6c5d47;
    font-size: 10px;
    -webkit-text-stroke: 0.5px #6c5d47;
    line-height: 12px;
    font-family: "Poiret One", sans-serif;
  }

  .toggle-menu .toggle-line {
    display: block;
    position: absolute;
    top: 10px;
    left: 10px;
    margin: auto;
    text-indent: -9999px;
    width: 20px;
    height: 2px;
    background-color: #6c5d47;
    border-radius: 5px;
  }

  .toggle-menu .toggle-line::before,
  .toggle-menu .toggle-line::after {
    content: "";
    position: absolute;
    left: 0;
    width: 20px;
    height: 2px;
    background-color: #6c5d47;
    border-radius: 5px;
    transition: 0.3s;
  }

  .toggle-menu .toggle-line::before {
    top: -7px;
    -webkit-animation: menu-barTop 0.6s forwards;
    animation: menu-barTop 0.6s forwards;
  }

  .toggle-menu .toggle-line::after {
    top: 7px;
    -webkit-animation: menu-barBottom 0.6s forwards;
    animation: menu-barBottom 0.6s forwards;
  }

  .header_nav {
    position: fixed;
    top: 0;
    left: 0;
    padding: 0 15px 100px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
    background-color: #fcfaec;
    z-index: 90;
    -webkit-transform: translateX(100%);
    -ms-transform: translateX(100%);
    transform: translateX(100%);
    -webkit-transition: 0.3s ease-out;
    transition: 0.3s ease-out;
  }

  .global_nav {
    margin-top: 80px;
    padding: 0 30px 30px;
  }

  .open .toggle-menu {
    -webkit-transition: all 0.5s linear 1s;
    transition: all 0.5s linear 1s;
  }

  .open .toggle-menu::after {
    content: "CLOSE";
  }

  .open .toggle-menu .toggle-line {
    height: 0;
    background-color: #000;
  }

  .open .toggle-menu .toggle-line::before {
    background-color: #6c5d47;
    -webkit-animation: active-menu-barTop 0.6s forwards;
    animation: active-menu-barTop 0.6s forwards;
    transform: rotate(-45deg);
    top: 0;
  }

  .open .toggle-menu .toggle-line::after {
    background-color: #6c5d47;
    -webkit-animation: active-menu-barBottom 0.6s forwards;
    animation: active-menu-barBottom 0.6s forwards;
    transform: rotate(45deg);
    top: 0;
  }

  .open .header_nav {
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
    overflow: auto;
  }

  .global_nav ul {
    flex-flow: column;
  }

  .global_nav ul li a {
    color: #6c5d47;
  }

  /* ヘッダーリンク */

  .global_nav {
    display: block;
    padding: 0;
    margin-top: 69px;
  }

  .global_nav ul {
    flex-flow: column;
    gap: 0;
  }

  .global_nav .left {
    text-align: left;
  }

  .global_nav .left li::after {
    display: none;
  }

  .global_nav .left li a {
    font-size: 16px;
    line-height: 2;
    font-weight: 500;
    padding: 15px 0 16px;
    border-bottom: 1px solid #6c5d47;
    display: block;
    transition: all 0.3s ease;
  }

  .global_nav .right {
    margin-top: 40px;
    flex-flow: column;
  }

  .global_nav .right .box1 {
    width: 100%;
    height: 80px;
    padding: 8px 0;
  }

  .global_nav .right li a {
    display: flex;
    gap: 28px;
    color: #fff;
    justify-content: center;
  }

  .global_nav .right li a img {
    width: 40px;
  }

  .global_nav .right li a p.text1 {
    font-weight: bold;
  }

  .global_nav .right .box2 {
    width: 100%;
  }
}
