
/* =========================
  ヘッダー
========================= */
.p-header {
  width: 100%;
  position: fixed;
  z-index: 2000;
  width: 100%;
}

.p-header__inner {
  width: 1307px;
  display: -webkit-box;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  margin-inline: auto;
}
@media screen and (max-width: 1366px) {
  .p-header__inner {
    width: 95.6808199122vw;
  }
}
@media screen and (max-width: 768px) {
  .p-header__inner {
    margin: 16px;
  }
}

.p-header__logo {
  width: 214px;
  max-width: 100%;
  padding: 24.6px 26.4px 20.9px 20.6px;
  //background-color: #ffffff;
  border-radius: 5px;
}
@media screen and (max-width: 768px) {
  .p-header__logo {
    padding: 12px 13px 12px 10px;
  }
}

.p-header__logo:hover {
  transform: scale(1.05);
  //box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.p-header__right {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: auto;
  height: 68px;
  padding-block: 25px 23px;
  padding-inline: 34px 10px;
  background-color: #ffffff;
  border-radius: 5px;
  gap: 33px;
  font-size: 14px;
  font-weight: 400;
}
@media screen and (max-width: 767px) {
  .p-header__right {
    display: none;
  }
}

.p-header__nav {
  display: -webkit-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  letter-spacing: 0.5px;
}
.p-header__nav a {
  position: relative;
  text-decoration: none;
  color: inherit;
}
.p-header__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background-color: #555;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}
.p-header__nav a:hover::after {
  transform: scaleX(1);
  opacity: 0.5;
}
.p-header__nav a:hover p {
  opacity: 0.5;
}

.p-header__contact::after {
  display: none;
}
.p-header__contact {
  display: -webkit-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  border-radius: 3px;
  padding-block: 12px 13px;
  padding-inline: 18px 23px;
  background-color: #5fb38d;
  color: #ffffff;
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0.5px;
  gap: 7px;
  transition: transform 0.3s ease;
  transform-origin: center;
}
.p-header__contact:hover {
  transform: scale(1.05);
  opacity: 1;
}

.p-header__icon {
  margin-top: 2px;
  width: 16.72px;
  height: 13.38px;
}
.p-header__contact p {
  color: #ffffff;
}
/* =========================
   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;
  -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;
  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%;
  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: -moz-fit-content;
  height: fit-content;
  padding-block: 120px 40px;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.c-drawer__list {
  display: -webkit-box;
  display: flex;
  flex-direction: column;
  row-gap: 31px;
  margin-bottom: 40px;
  width: -moz-fit-content;
  width: fit-content;
  align-items: start;
}
.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;
}
