#header {
  background-color: rgba(180, 161, 115, .9);
  width: 100%;
  height: 8rem;
  color: #fff;
  position: relative;
  z-index: 100;
}

@media(max-width:768px) {
  #header {
    background-color: transparent;
    height: 50px;
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    transition: .3s;
  }
}

#header.fixed,
#header.subpage {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
}

@media(max-width:768px) {

  #header.fixed,
  #header.subpage {
    opacity: 1;
    pointer-events: all;
  }
}

#header .common__inner {
  height: 100%;
  justify-content: space-between;
  align-items: center;
}

@media(max-width:1000px) {
  #header .common__inner {
    width: 100%;
  }
}

@media(max-width:768px) {
  .header__sp {
    background-color: rgba(180, 161, 115, .9);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 2.5%;
    z-index: 100;
    transition: .2s;
  }
}

.header__logo {
  display: block;
  width: 20.5rem;
}

@media(max-width:768px) {
  .header__logo {
    width: 140px;
  }
}

@media(max-width:768px) {
  .header__hamburger-sp {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    position: relative;
  }

  .header__hamburger-sp .header__line-sp,
  .header__hamburger-sp::before,
  .header__hamburger-sp::after {
    content: "";
    background-color: #fff;
    width: 30px;
    height: 1px;
    position: absolute;
    transition: .3s;
  }

  .header__hamburger-sp::before {
    top: 15px;
    transform-origin: top left;
  }

  .header__hamburger-sp::after {
    bottom: 15px;
    transform-origin: bottom left;
  }

  .header__hamburger-sp.transform::before,
  .header__hamburger-sp.transform::after {
    width: 55%;
  }

  .header__hamburger-sp.transform::before {
    transform: rotate(45deg);
  }

  .header__hamburger-sp.transform::after {
    transform: rotate(-45deg);
  }

  .header__line-sp {
    transform: translateY(-50%);
    top: 50%;
  }

  .header__hamburger-sp .header__line-sp.transform {
    transform: scale(0);
  }
}

.header__contents {
  display: flex;
  align-items: center;
}

@media(max-width:768px) {
  .header__contents {
    background-color: #fff;
    width: 100%;
    height: 100%;
    min-height: max-content;
    color: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 0;
    position: fixed;
    top: 0;
    left: 0;
    transform: translateY(-100%);
    z-index: 50;
    overflow-y: scroll;
    transition: .3s ease-out;
  }

  .header__contents.show {
    transform: none;
  }
}

@media(max-width:768px) {
  .header__nav {
    width: 100%;
    margin: 0 0 4rem;
  }
}

.header__nav-list {
  display: flex;
}

@media(max-width:768px) {
  .header__nav-list {
    flex-direction: column;
  }
}

.header__nav-item {
  letter-spacing: .02em;
  white-space: nowrap;
  padding: 1rem 3rem;
  position: relative;
  transition: .1s;
}

@media(min-width:769px) {
  .header__nav-item:hover {
    background-color: rgba(0, 0, 0, .6);
  }
}

@media(max-width:850px) {
  .header__nav-item {
    padding: 1rem 2.2rem;
  }
}

@media(max-width:768px) {
  .header__nav-item {
    width: 100%;
    font-size: max(20px, 3rem);
    border-bottom: solid 2px #b4a173;
    padding: 0;
    margin-right: 0;
  }

  .header__nav-sp-item:nth-of-type(2) {
    border-bottom: solid .5px #b4a173;
  }
}

@media(max-width:768px) {
  .header__nav-item::after {
    display: none;
  }

  .header__nav-item a {
    display: block;
    width: 100%;
    padding: 4rem;
  }
}

.header__nav-item span {
  cursor: pointer;
  position: relative;
}

@media(max-width:768px) {
  .header__nav-item span {
    display: block;
    padding: 4rem;
  }

  .header__nav-item span::after {
    content: "";
    border-right: 2rem solid transparent;
    border-top: 2rem solid #b4a173;
    border-left: 2rem solid transparent;
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    right: 0;
    transition: .3s;
  }

  .appear.header__nav-item span::after {
    transform: translate(-50%, -50%) rotate(180deg);
  }
}

.sub-nav {
  background-color: rgba(0, 0, 0, .6);
  width: 100%;
  border-top: solid 1px #8f8a7f;
  text-align: center;
  padding: 1.2rem;
  position: absolute;
  bottom: 0;
  left: 50%;
  opacity: 0;
  transform: translate(-50%, 100%);
  pointer-events: none;
  transition: .1s;
}

@media(min-width:769px) {
  .header__nav-item:hover .sub-nav {
    opacity: 1;
    pointer-events: all;
  }
}

@media(max-width:768px) {
  .sub-nav {
    width: 100%;
    max-height: 0;
    background-color: transparent;
    color: #000;
    text-align: left;
    padding: 0;
    position: static;
    opacity: 0;
    transform: none;
    pointer-events: all;
    transition: .1s;
  }

  .appear .sub-nav {
    opacity: 1;
    max-height: 100rem;
    transition: .3s;
  }
}

.sub-nav-list {
  width: 100%;
  margin-bottom: -2rem;
}

@media(max-width:768px) {
  .sub-nav-list {
    margin-bottom: 0;
  }
}

.sub-nav-list-item {
  width: 100%;
  margin-bottom: 2rem;
  transition: .3s;
}

@media(min-width:769px) {
  .sub-nav-list-item:hover {
    color: #bebebe;
  }
}

@media(max-width:768px) {
  .sub-nav-list-item {
    border-top: solid .5px #b4a173;
    margin: 0;
  }
}

.header__btn-wrapper {
  display: flex;
  margin-left: 4rem;
}

@media(max-width:1000px) {
  .header__btn-wrapper {
    margin-left: 0;
  }
}

@media(max-width:768px) {
  .header__btn-wrapper {
    display: none;
  }
}

.header__btn-inner {
  display: grid;
  gap: .4rem;
  margin-right: .8rem;
}

.header__btn {
  font-size: max(12px, 1.4rem);
  letter-spacing: .02em;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: .3s;
}

.header__btn--white {
  width: 8.7rem;
  height: 2.3rem;
  min-width: 60px;
  min-height: 16px;
  border: solid 1px #fff;
}

@media(min-width:769px) {
  .header__btn--white:hover {
    background-color: #fff;
    color: #000;
  }
}

.header__btn--black {
  background-color: #000;
  width: 14.9rem;
  height: 4.9rem;
  min-width: 120px;
  min-height: 34px;
}

@media(min-width:769px) {
  .header__btn--black:hover {
    background-color: #3e3e3e;
  }
}

.header__btn--black::before {
  content: "";
  background-image: url("../../images/email_icon.png");
  background-position: center;
  background-repeat: repeat;
  background-size: contain;
  width: 2.2rem;
  height: 1.6rem;
  margin-right: 1.5rem;
}