
/* =========================
   Hamburger
========================= */
.p-header__hamb {
  cursor: pointer;
  -webkit-transition: -webkit-transform 0.25s ease;
  transition: -webkit-transform 0.25s ease;
  transition: transform 0.25s ease;
  transition: transform 0.25s ease, -webkit-transform 0.25s ease;
  -webkit-transform-origin: center;
          transform-origin: center;
}
.p-header__hamb:hover {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}
@media screen and (min-width: 768px) {
  .p-header__hamb {
    display: none;
  }
}

.c-hamb {
  position: fixed;
  z-index: 2001;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-color: #ffffff;
  border-radius: 5px;
}
@media screen and (min-width: 769px) {
  .c-hamb {
    top: 14px;
  }
}

/* 3本線を確実にボタン中央に固定する “基準箱” */
.c-hamb__icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 18px;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

/* 3本線 */
.c-hamb__icon--bar {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: #333333;
  -webkit-transform-origin: center;
          transform-origin: center;
  -webkit-transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
  transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transition: transform 0.3s ease, opacity 0.3s ease, -webkit-transform 0.3s ease;
}

/* 上・中・下 */
.c-hamb__icon--bar:nth-of-type(1) {
  top: 0;
}

.c-hamb__icon--bar:nth-of-type(2) {
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

.c-hamb__icon--bar:nth-of-type(3) {
  bottom: 0;
}

/* 開いた時：× */
.c-hamb.js-show .c-hamb__icon--bar:nth-of-type(1) {
  top: 50%;
  -webkit-transform: translateY(-50%) rotate(45deg);
          transform: translateY(-50%) rotate(45deg);
}
.c-hamb.js-show .c-hamb__icon--bar:nth-of-type(2) {
  opacity: 0;
}
.c-hamb.js-show .c-hamb__icon--bar:nth-of-type(3) {
  top: 50%;
  bottom: auto;
  -webkit-transform: translateY(-50%) rotate(-45deg);
          transform: translateY(-50%) rotate(-45deg);
}

.c-drawer {
  position: fixed;
  z-index: 3001;
  top: 0;
  right: 0;
  width: 75%;
  height: 100vh;
  height: 100svh;
  background: #e7d7e6;
  overflow-y: auto;
  -webkit-transform: translateX(101%);
          transform: translateX(101%);
  pointer-events: none;
  visibility: hidden;
  -webkit-transition: visibility 0s linear 0.5s, -webkit-transform 0.5s ease;
  transition: visibility 0s linear 0.5s, -webkit-transform 0.5s ease;
  transition: transform 0.5s ease, visibility 0s linear 0.5s;
  transition: transform 0.5s ease, visibility 0s linear 0.5s, -webkit-transform 0.5s ease;
}
.c-drawer.js-show {
  -webkit-transform: translateX(0);
          transform: translateX(0);
  pointer-events: auto;
  visibility: visible;
  -webkit-transition: visibility 0s, -webkit-transform 0.5s ease;
  transition: visibility 0s, -webkit-transform 0.5s ease;
  transition: transform 0.5s ease, visibility 0s;
  transition: transform 0.5s ease, visibility 0s, -webkit-transform 0.5s ease;
}

.c-drawer__body {
  width: 100%;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  padding-block: 120px 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.c-drawer__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  row-gap: 31px;
  margin-bottom: 40px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
          align-items: center;
}
.c-drawer__list li a {
  position: relative;
  display: inline-block;
  color: #333333;
  text-decoration: none;
  font-family: "Noto Sans JP";
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.56px;
}
.c-drawer__list li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  -webkit-transform: scaleX(0);
          transform: scaleX(0);
  -webkit-transform-origin: center;
          transform-origin: center;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
  opacity: 0.5;
}
.c-drawer__list li a:hover::after {
  -webkit-transform: scaleX(1);
          transform: scaleX(1);
}
.c-drawer__list li a:hover {
  opacity: 0.7;
}

.c-drawer__cta svg {
  width: 100% !important;
  height: 100% !important;
}
.c-drawer__cta .c-button {
  margin-top: 45px;
}

/* =========================
  ヘッダー
========================= */
.p-header {
  padding-block: 16px;
  position: fixed;
  z-index: 4000;
  width: 100%;
  top: 0;
  left: 0;
}

.p-header__wrapper {
  width: 1366px;
  margin-inline: auto;
}
@media screen and (max-width: 1366px) {
  .p-header__wrapper {
    width: 100vw;
  }
}

.p-header__inner {
  width: 1328px;
  padding-block: 0 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-inline: auto;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  border-bottom: 1px solid #c5c5c5;
}
@media screen and (max-width: 1366px) {
  .p-header__inner {
    width: 97.2181551977vw;
  }
}

.p-header__left {
  width: 85px;
  height: 63px;
}

.p-header__logo {
  width: 85px;
  height: 63px;
}
.p-header__logo img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}
.p-header__logo img:hover {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}

.p-header__right {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: auto;
  height: 60px;
  gap: 33px;
}
@media screen and (max-width: 767px) {
  .p-header__right {
    display: none;
  }
}

.p-header__nav {
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 42px;
}
@media screen and (max-width: 1366px) {
  .p-header__nav {
    gap: 3.074670571vw;
  }
}
@media screen and (max-width: 767px) {
  .p-header__nav {
    display: none;
  }
}
.p-header__nav > a:not(.p-header__contact) p {
  position: relative;
  display: inline-block;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}
.p-header__nav > a:not(.p-header__contact) p::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background-color: #333333;
  -webkit-transform: translateX(-50%) scaleX(0);
          transform: translateX(-50%) scaleX(0);
  -webkit-transform-origin: center;
          transform-origin: center;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}
.p-header__nav > a:not(.p-header__contact):hover p {
  color: #333333;
}
.p-header__nav > a:not(.p-header__contact):hover p::after {
  -webkit-transform: translateX(-50%) scaleX(1);
          transform: translateX(-50%) scaleX(1);
}

.p-header__contact {
  margin-top: -3px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-radius: 5px;
  padding-block: 7px;
  padding-inline: 25px 24px;
  background-color: #2c2c2c;
  gap: 7px;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
  -webkit-transform-origin: center;
          transform-origin: center;
}
.p-header__contact:hover {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
  opacity: 1;
}
.p-header__contact p {
  position: relative;
}
.p-header__contact p::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 10px;
  top: 50%;
  left: 0;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  background-image: url("../images/icon_mail.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.p-header__icon {
  margin-top: 2px;
  width: 17px;
  height: 14px;
}
.p-header__icon img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
