@charset "utf-8";

body.is-checked {
  overflow: hidden;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  width: 100%;
  height: auto;
  background: #FFFFFF;
  border-radius: 0 0 10px 10px;
}

.header__inner {
  display: flex;
}

.header__logo {
  padding: 10px 20px;
  border-right: 1px solid rgba(101, 85, 66, 0.1);
  display: grid;
  place-items: center;
}
@media screen and (min-width: 1300px) {
  .header__logo {
  padding: 19px 20px
  }
}
.header__logo img {
  aspect-ratio: 226 / 60;
  width: 226px;
  height: auto;
  transition: opacity 0.3s;
}
.header__logo img:hover {
  opacity: 0.6;
}

.header__wrap {
  flex-grow: 1;
}

.header__top {
  display: none;
}
@media screen and (min-width: 1300px) {
  .header__top {
    padding: 6px 12px;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: end;
    border-bottom: 1px solid rgba(101, 85, 66, 0.1);
  }
}

.header__bottom {
  display: none;
}
@media screen and (min-width: 1300px) {
  .header__bottom {
    padding: 16px;
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: end;
  }
}

.header__tel-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.header__tel-link::before {
  margin-left: 5px;
  content: "";
  background: url('../images/icon-tel.svg') center / contain no-repeat;
  width: 16px;
  height: 16px;
}

.header__link {
  line-height: 1;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  display: flex;
  gap: 5px;
  align-items: center;
}
.header__link p {
  transition: color 0.3s;
}
.header__link:hover p{
  color: #F7934A;
}
.header-item.open .header__link p {
  color: #F7934A;
}
.header__link-icon {
  position: relative;
  padding-right: 15px;
}
.header__link-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  background: url('../images/icon-down.svg') center / contain no-repeat;
  width: 13px;
  height: 13px;
}

.header-item {
  position: relative;
}
.header-item:hover {
  cursor: pointer;
}
.megaMenu {
  background-color: #FFFFFF;
  border-radius: 10px;
  left: 0;
  top:calc(100% + 25px);
  height: 0;
  overflow: hidden;
  position: absolute;
  text-align: center;
  transition: height .3s;
  width: 165px;
}
.megaMenu-large {
  width: 252px;
}
.megaMenu-list {
  padding: 27px 30px 0;
}
.megaMenu.open {
  height: 103px;
  border: 1px solid #EEEDEB;
}
.megaMenu-large.open {
  height: 139px;
}
.megaMenu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(101, 85, 66, 0.8) !important;
}
.megaMenu-item p {
  transition: color 0.3s;
}
.megaMenu-item::before {
  content: "";
  width: 10px;
  height: 1px;
  background: rgba(255, 164, 55, 0.8);
}
.megaMenu-item + .megaMenu-item {
  margin-top: 20px;
}
.megaMenu-item:hover p{
  color: #F7934A;
}

.header__btn {
  display: none;
}
@media screen and (min-width: 1300px) {
.header__btn {
  display: grid;
  place-items: center;
  border-radius: 0 0 10px 0;
  text-align: center;
  width: 130px;
  height: auto;
  background: url('../images/bg_header-btn') center / cover;
}
}
.header__btn:hover {
  opacity: 0.7;
}

.header__open {
  position: relative;
  width: 60px;
  height: 60px;
  cursor: pointer;
  background: #F7934A;
  position: fixed;
  top: 9px;
  right: 10px;
   z-index: 999999997;
  transition: opacity 0.3s;
}
@media screen and (min-width: 1300px) {
  .header__open {
	display: none; 
  }
}
.header__open.is-checked {
  z-index: 1000000000;
}
.header__open:hover {
  opacity: 0.8;
}

.header__bar {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 1px;
  background: #fff;
  transition: transform 0.3s linear, top 0.3s linear;
}
.header__bar:nth-of-type(1){
    top: 17px;
}
.header__bar:nth-of-type(2){
    top: 24px;
}
.header__bar:nth-of-type(3){
    top: 31px;
}
.header__open.is-checked > .header__bar:nth-of-type(1) {
    top: 33px;
    transform: rotate(45deg) translateX(-50%);
    left: 43%;
}
.header__open.is-checked > .header__bar:nth-of-type(2) {
    display: none;
}
.header__open.is-checked > .header__bar:nth-of-type(3) {
    top: 16px;
    transform: rotate(-45deg) translateX(-50%);
    left: 43%;
}

.header__open-text {
  position: absolute;
  bottom: 8px;
  left: 52%;
  transform: translateX(-50%);
  font-size: 10px;
  line-height: 1;
  color: #fff;
  width: max-content;
}

.header__content {
  width: 100%;
  max-width: 400px;
  height: 100%;
  position: fixed;
  top: 0;
  right: 0;
  padding: 100px 50px 80px;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s linear;
  overflow: auto;
  z-index: 999999999;
}
.header__content.is-checked {
  opacity: 1;
  pointer-events: auto;
}

.header__content-menu {
  display: flex;
  flex-direction: column;
}

.header__content-link {
  font-size: 14px;
  padding-block: 17px;
  border-bottom: 1px dotted #EFF0EF;
  text-align: center;
}
.header__content-link div p {
  color: #655542;
}
.header__content-link:hover {
  background: rgba(255, 227, 191, 0.15);
}
