@charset "UTF-8";

/* header.css */
/*----------------------------------
  画面枠（menma.jp参考：上下左右に常に枠を表示）
-----------------------------------*/
.p-frame {
  position: fixed;
  z-index: 103;
  inset: 0;
  background: linear-gradient(to right, #eb6016 0%, #e83439 100%);
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) top/100% 8px no-repeat, linear-gradient(#000 0 0) bottom/100% 8px no-repeat, linear-gradient(#000 0 0) left/8px 100% no-repeat, linear-gradient(#000 0 0) right/8px 100% no-repeat, radial-gradient(circle at 100% 100%, transparent 10px, #000 calc(10px + 0.5px)) left 8px top 8px/10px 10px no-repeat, radial-gradient(circle at 0 100%, transparent 10px, #000 calc(10px + 0.5px)) right 8px top 8px/10px 10px no-repeat, radial-gradient(circle at 100% 0, transparent 10px, #000 calc(10px + 0.5px)) left 8px bottom 8px/10px 10px no-repeat, radial-gradient(circle at 0 0, transparent 10px, #000 calc(10px + 0.5px)) right 8px bottom 8px/10px 10px no-repeat;
  mask: linear-gradient(#000 0 0) top/100% 8px no-repeat, linear-gradient(#000 0 0) bottom/100% 8px no-repeat, linear-gradient(#000 0 0) left/8px 100% no-repeat, linear-gradient(#000 0 0) right/8px 100% no-repeat, radial-gradient(circle at 100% 100%, transparent 10px, #000 calc(10px + 0.5px)) left 8px top 8px/10px 10px no-repeat, radial-gradient(circle at 0 100%, transparent 10px, #000 calc(10px + 0.5px)) right 8px top 8px/10px 10px no-repeat, radial-gradient(circle at 100% 0, transparent 10px, #000 calc(10px + 0.5px)) left 8px bottom 8px/10px 10px no-repeat, radial-gradient(circle at 0 0, transparent 10px, #000 calc(10px + 0.5px)) right 8px bottom 8px/10px 10px no-repeat;
}

/*----------------------------------
  ヘッダー
-----------------------------------*/
.p-header {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  right: 1rem;
}

@media (min-width: 768px) {
  .p-header {
    top: 1.625rem;
    left: 1.25rem;
    right: 1.25rem;
  }
}

.p-header__inner {
  width: 100%;
  height: inherit;
}

.p-header__contents {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 82.875rem);
  margin-inline: auto;
  height: 3.75rem;
  padding-inline: 0.625rem;
  border-radius: 0.625rem;
  background-color: #ffffff;
  transition: box-shadow 0.3s ease;
}

@media (min-width: 768px) {
  .p-header__contents {
    height: 4.375rem;
    padding-inline: 0.625rem 1rem;
  }
}

.p-header.is-scrolled .p-header__contents {
  box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.08);
}

.p-header__logo {
  width: 10.625rem;
  aspect-ratio: 240/59;
}

@media (min-width: 768px) {
  .p-header__logo {
    width: 15rem;
  }
}

.p-header__logo a {
  display: block;
  height: 100%;
}

.p-header__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.p-header__nav {
  display: none;
}

@media (min-width: 1024px) {
  .p-header__nav {
    display: flex;
    align-items: center;
    column-gap: 2rem;
  }
}

.p-header__list {
  display: flex;
  align-items: center;
  column-gap: 2.5rem;
}

.p-header__item p {
  color: #333333;
  font-size: max(0.875rem, 11.2px);
}

@media (min-width: 0px) {
  .p-header__item p {
    font-size: 0.875rem;
  }
}

.p-header__item p {
  font-weight: 600;
  line-height: 1.4285714286;
  letter-spacing: 0.03em;
}

@media (any-hover: hover) {
  .p-header__item:hover {
    opacity: 1;
  }

  .p-header__item:hover p {
    color: #e83439;
  }
}

.p-header__contact {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 0.5rem;
  width: 10rem;
  height: 2.9375rem;
  border: 1px solid #e83439;
  border-radius: 0.3125rem;
  background-color: #e83439;
  color: #ffffff;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.p-header__contact p {
  color: #ffffff;
  font-size: max(0.875rem, 11.2px);
}

@media (min-width: 0px) {
  .p-header__contact p {
    font-size: 0.875rem;
  }
}

.p-header__contact p {
  font-weight: 600;
  line-height: 1.6428571429;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

@media (any-hover: hover) {
  .p-header__contact:hover {
    opacity: 1;
    background-color: #ffffff;
    color: #e83439;
  }

  .p-header__contact:hover p {
    color: #e83439;
  }

  .p-header__contact:hover .p-header__contact-icon {
    display: none;
  }

  .p-header__contact:hover .p-header__contact-icon--hover {
    display: block;
  }
}

.p-header__contact .p-header__contact-icon {
  flex-shrink: 0;
  width: 0.89375rem;
  height: auto;
  aspect-ratio: 14.3/10.75;
  object-fit: contain;
}

.p-header__contact .p-header__contact-icon--hover {
  display: none;
}

/*----------------------------------
  ドロワーアイコン
-----------------------------------*/
.p-drawer__icon {
  cursor: pointer;
  position: fixed;
  z-index: 102;
  top: 1.625rem;
  right: 1.625rem;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.3125rem;
  background-color: #e83439;
}

@media (min-width: 768px) {
  .p-drawer__icon {
    top: 2.5625rem;
    right: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .p-drawer__icon {
    display: none;
  }
}

.p-drawer__icon--bar {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  row-gap: 0.3125rem;
}

.p-drawer__icon--bar1,
.p-drawer__icon--bar2,
.p-drawer__icon--bar3 {
  height: 2px;
  width: 1.25rem;
  background: #ffffff;
  border-radius: 100vmax;
  transition: translate 0.4s ease, rotate 0.4s ease, opacity 0.4s ease;
}

.p-drawer__icon.js-show .p-drawer__icon--bar1 {
  rotate: 45deg;
  translate: 0 calc(2px + 0.3125rem);
}

.p-drawer__icon.js-show .p-drawer__icon--bar2 {
  opacity: 0;
}

.p-drawer__icon.js-show .p-drawer__icon--bar3 {
  rotate: -45deg;
  translate: 0 calc(-2px - 0.3125rem);
}

/*----------------------------------
  ドロワーメニュー
-----------------------------------*/
.p-drawer {
  position: fixed;
  z-index: 101;
  overflow-y: auto;
  top: 0;
  right: 0;
  width: 85vw;
  height: 100svh;
  padding: 6.25rem 1.875rem 3.75rem;
  background: #ffffff;
  visibility: hidden;
  translate: 101%;
  transition: translate 0.5s ease, visibility 0s linear 0.5s;
}

@media (min-width: 768px) {
  .p-drawer {
    width: 26.25rem;
    padding: 7.5rem 3.125rem 3.75rem;
  }
}

.p-drawer.js-show {
  visibility: visible;
  translate: 0;
  transition: translate 0.5s ease, visibility 0s linear 0s;
}

.p-drawer__list {
  display: flex;
  flex-direction: column;
  margin-bottom: 2.5rem;
}

.p-drawer__item {
  width: 100%;
  padding-block: 1.125rem;
  border-bottom: 1px solid #e5e5e5;
  text-align: center;
}

.p-drawer__item p {
  color: #292a29;
  text-align: center;
  font-size: max(0.9375rem, 12px);
}

@media (min-width: 0px) {
  .p-drawer__item p {
    font-size: 0.9375rem;
  }
}

.p-drawer__item p {
  font-weight: 600;
  line-height: 1.4666666667;
  letter-spacing: 0.028em;
  transition: color 0.3s ease;
}

@media (any-hover: hover) {
  .p-drawer__item:hover {
    opacity: 1;
  }

  .p-drawer__item:hover p {
    color: #e83439;
  }
}

.p-drawer__btn {
  display: flex;
  justify-content: center;
}

.p-drawer__btn .p-header__contact {
  width: 100%;
  height: 3.5rem;
}