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

.c-hamb {
  position: fixed;
  z-index: 20001;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
          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;
          transform: translate(-50%, -50%);
}

/* 3本線 */
.c-hamb__icon--bar {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: #333333;
          transform-origin: center;
  transition: transform 0.3s ease, opacity 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%;
          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;
          transform: translateY(-50%) rotate(-45deg);
}

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

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

.c-drawer__list {
  display: flex;
          flex-direction: column;
  row-gap: 31px;
  margin-bottom: 40px;
  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;
          transform: scaleX(0);
          transform-origin: center;
  transition: transform 0.3s ease;
  opacity: 0.5;
}
.c-drawer__list li a:hover::after {
          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 {
  position: fixed;
  z-index: 2000;
  width: 100%;
  top: 0;
  left: 0;
}

.p-header__wrapper {
  width: 100%;
  margin-inline: auto;
}

.p-header__inner {
  width: 1336px;
  display: flex;
          flex-direction: row;
          align-items: center;
  margin-inline: auto;
          justify-content: space-between;
}
@media screen and (max-width: 1366px) {
  .p-header__inner {
    width: 97.803806735vw;
    margin-left: 0;
  }
}

.p-header__left {
  width: 257px;
  height: 90px;
}

.p-header__logo {
  width: 257px;
  height: 90px;
}
.p-header__logo img {
  width: 100%;
  height: 100%;
     object-fit: cover;
  transition: transform 0.3s ease;
}
.p-header__logo img:hover {
          transform: scale(1.05);
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.p-header__right {
  margin-top: 15px;
  display: flex;
          flex-direction: row;
          align-items: center;
  width: auto;
  height: 60px;
  padding-block: 5px;
  padding-inline: 47px 10px;
  background-color: #ffffff;
  border-radius: 5px;
  gap: 33px;
}
@media screen and (max-width: 767px) {
  .p-header__right {
    display: none;
  }
}

.p-header__nav {
  margin-top: 3px;
  display: flex;
          flex-direction: row;
          align-items: center;
  gap: 40px;
}
.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: #05a173;
          transform: translateX(-50%) scaleX(0);
          transform-origin: center;
  transition: transform 0.3s ease;
}
.p-header__nav > a:not(.p-header__contact):hover p {
  color: #05a173;
}
.p-header__nav > a:not(.p-header__contact):hover p::after {
          transform: translateX(-50%) scaleX(1);
}

.p-header__contact {
  margin-top: -3px;
  display: flex;
          flex-direction: row;
          align-items: center;
  border-radius: 3px;
  padding-block: 19px 17px;
  padding-inline: 21px 21px;
  background-color: #05a173;
  gap: 7px;
  transition: transform 0.3s ease;
          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: 12px;
  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;
}
