@charset "utf-8";

body.is-checked {
  overflow: hidden;
}

.header {
  display: none; 
}
@media screen and (min-width: 1200px) {
  .header {
    display: block; 
  }
  .header__buttons {
    flex-grow: 1;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: end;
  }
  .header__bottom {
    padding: 27px 20px 23px;
    display: flex;
    align-items: center;
    gap: 60px;
    justify-content: center;
  }

  .header__logo {
    width: 144px;
  }
  .header__open {
    display: none; 
  }
}

.header__top {
  padding: 16px 28px 0 28px;
  display: flex;
  align-items: center;
}

.header__logo {
  aspect-ratio: 144/102;
  width: 93px;
  height: auto;
  transition: opacity 0.3s;
}
.header__logo:hover {
  opacity: 0.6;
}

.header__btn {
  padding: 8px 10px;
  border-radius: 5px;
  width: 310px;
  height: 70px;
  background: #F87654;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.header__btn::before {
  content: "";
  background: url('../images/icon-tel.svg') center / contain no-repeat;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}
.header__btn p{
  color: #FFFFFF;
}
.header__btn:hover {
  opacity: 0.7;
}
.header__btn-line {
  width: 200px;
  background: #02B902;
}
.header__btn-line::before {
  content: "";
  background: url('../images/icon-line.svg') center / contain no-repeat;
  width: 30px;
  height: 30px;
}
.header__btn-mail {
  width: 200px;
  background: #10A690;
}
.header__btn-mail::before {
  content: "";
  background: url('../images/icon-mail.svg') center / contain no-repeat;
  width: 30px;
  height: 22px;
}


.header__link {
  line-height: 1;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.header__link p {
  transition: color 0.3s;
}
.header__link:hover p{
  color: #10A690;
}

.header__open {
  position: relative;
  width: 60px;
  height: 60px;
  cursor: pointer;
  background: #F77754;
  position: fixed;
  top: 9px;
  right: 10px;
  border-radius: 10px;
  z-index: 999999997;
  transition: opacity 0.3s;
}
.header__open.is-checked {
  z-index: 1000000000;
}

.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;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding-block: 17px;
  border-bottom: 1px dotted #EFF0EF;
  text-align: center;
}
.header__content-link div p {
  color: #655542;
}
.header__content-link:hover {
  background: #F8F8F8;
}

.header__sp {
  position: fixed;
  top: 0;
  left: 0;
  padding: 7px 0;
  background: #fff;
  width: 100%;
  z-index: 90;
  display: flex;
  align-items: center;
}
@media screen and (min-width: 1200px) {
  .header__sp {
    display: none; 
  }
}