@charset "UTF-8";

.p-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 108px;
  padding-inline: 36px 29px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  z-index: 100;
}
.p-header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  background: #000000;
  z-index: -1;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
.p-header.is-active::after {
  opacity: 0.92;
}

.p-header__logo {
  margin-top: 15px;
  width: clamp(160px, 17.1666666667vw, 206px);
  aspect-ratio: 206/48;
}
.p-header__logo img {
  -o-object-fit: contain;
     object-fit: contain;
}

.p-header__menu {
  color: #ffffff;
  display: none;
}
@media screen and (min-width:1200px) {
  .p-header__menu {
    margin-top: 30px;
        height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 20px;
  }
}
@media screen and (min-width:1300px) {
  .p-header__menu {
    gap: clamp(20px, 2.635431918vw, 36px);
  }
}

.p-header__menu-link {
  color: #ffffff;
  font-size: clamp(13px, 1.0248901903vw, 14px);
  letter-spacing: 0.03em;
  font-weight: 600;
}
.p-header__btn {
  padding-block: 11px 13px;
  padding-inline: 46px 24px;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.6428571429;
  letter-spacing: 0.05em;
  font-weight: 600;
  border: 1px solid #F57D01;
  background: #F57D01;
  border-radius: 5px;
  text-align: center;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
    overflow: hidden;
  position: relative;
}
.p-header__btn::before {
  content: "";
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  left: 14px;
  width: 15px;
  height: 10px;
  background: url(../images/icon-mail.svg) no-repeat center center/contain;
}
.p-header__btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%; /* 初期位置：左の外側に隠しておく */
  width: 100%;
  height: 100%;
  /* 半透明の白いグラデーションで光を作る */
  background: -webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), color-stop(50%, rgba(255, 255, 255, 0.4)), to(rgba(255, 255, 255, 0)));
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
  -webkit-transform: skewX(-25deg);
          transform: skewX(-25deg); /* 光の帯を斜めに傾ける */
  -webkit-transition: left 0.6s ease;
  transition: left 0.6s ease; /* 光が通り過ぎる速度 */
  z-index: 1;
}
@media (any-hover: hover) {
  .p-header__btn:hover {
    color: #ffffff;
    opacity: 1;
  }
  .p-header__btn:hover::after {
    left: 150%;
  }
}