@charset "UTF-8";

/* header.css（header＋drawer） */
/*----------------------------------
  ヘッダー
  ・SP（〜767px）：上部の帯＋ロゴ＋ドロワーアイコン
  ・768〜1023px：SP と同じ構成のまま拡大（値 × $tablet-scale）
  ・1024px〜：PC デザイン（ナビ・お問い合わせボタン）
-----------------------------------*/
.p-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.p-header--top {
  background-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.p-header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  box-shadow: 0 0.25rem 1.25rem rgba(100, 90, 99, 0.08);
}

.p-header__bar {
  display: flex;
  align-items: center;
  height: 1.375rem;
  padding-inline: 1.25rem;
  background-color: #b1045a;
}

@media (min-width: 768px) {
  .p-header__bar {
    height: 2.4475rem;
    padding-inline: 2.225rem;
  }
}

@media (min-width: 1024px) {
  .p-header__bar {
    height: 1.375rem;
    padding-inline: max(2.25rem, (100% - 85.375rem) / 2 + 2.25rem);
  }
}

.p-header__catch {
  overflow: hidden;
  color: #ffffff;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: max(0.625rem, 8px);
  font-weight: 460;
  line-height: 1.4;
}

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

@media (min-width: 768px) {
  .p-header__catch {
    font-size: max(1.1125rem, 10px);
    font-weight: 460;
    line-height: 1.4;
  }
}

@media (min-width: 1024px) {
  .p-header__catch {
    font-size: max(0.625rem, 10px);
    font-weight: 460;
    line-height: 1.4;
  }
}

.p-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.875rem;
  padding-inline: 1.25rem 4.75rem;
}

@media (min-width: 768px) {
  .p-header__inner {
    height: 6.8975rem;
    padding-inline: 2.225rem 8.455rem;
  }
}

@media (min-width: 1024px) {
  .p-header__inner {
    max-width: 85.375rem;
    height: 5.3125rem;
    margin-inline: auto;
    padding-inline: 2.25rem 0.625rem;
  }
}

.p-header__inner::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0;
  height: 1px;
  background-color: #bdb39d;
  pointer-events: none;
}

@media (min-width: 1024px) {
  .p-header__inner::after {
    left: 1.5625rem;
    right: 1.625rem;
  }
}

.p-header__logo a {
  display: block;
  transition: opacity 0.3s ease;
}

@media (any-hover: hover) {
  .p-header__logo a:hover {
    opacity: 0.7;
  }
}

.p-header__logo img {
  width: 7.875rem;
  height: auto;
}

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

@media (min-width: 1024px) {
  .p-header__logo img {
    width: 11.25rem;
  }
}

.p-header__logo a p {
  color: #3a3a3a;
  white-space: nowrap;
  font-size: max(1rem, 12.8px);
  font-weight: 500;
  line-height: 1.5;
}

@media (min-width: 0px) {
  .p-header__logo a p {
    font-size: 1rem;
  }
}

@media (min-width: 768px) {
  .p-header__logo a p {
    font-size: max(1.78rem, 10px);
    font-weight: 500;
    line-height: 1.5;
  }
}

@media (min-width: 1024px) {
  .p-header__logo a p {
    font-size: max(1.25rem, 10px);
    font-weight: 500;
    line-height: 1.45;
  }
}

.p-header__nav {
  display: none;
}

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

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

.p-header__item {
  position: relative;
  display: block;
  padding-block: 0.25rem;
}

.p-header__item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: #d00168;
  scale: 0 1;
  transform-origin: right center;
  transition: scale 0.4s ease;
  pointer-events: none;
}

@media (any-hover: hover) {
  .p-header__item:hover::after {
    scale: 1 1;
    transform-origin: left center;
  }
}

.p-header__item p {
  color: #3a3a3a;
  font-size: max(0.875rem, 10px);
  font-weight: 500;
  line-height: 1.4285714286;
}

.p-header__item.is-current::after {
  scale: 1 1;
}

/*----------------------------------
  お問い合わせボタン（ヘッダー・ドロワー共通）
-----------------------------------*/
.p-header__contact {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 0.625rem;
  width: 11.25rem;
  height: 3.75rem;
  border: 1px solid #d00168;
  border-radius: 0.625rem;
  background-color: #d00168;
  transition: background-color 0.3s ease;
}

.p-header__contact img {
  width: 1.1875rem;
  height: auto;
  aspect-ratio: 19.2/14.4;
}

.p-header__contact p {
  color: #ffffff;
  font-size: max(0.875rem, 10px);
  font-weight: 500;
  line-height: 1.4285714286;
  transition: color 0.3s ease;
}

@media (any-hover: hover) {
  .p-header__contact:hover {
    background-color: #b1045a;
  }
}

/*----------------------------------
  ドロワーアイコン（1024px 未満で表示）
-----------------------------------*/
.p-drawer__icon {
  cursor: pointer;
  position: fixed;
  z-index: 102;
  top: 1.9375rem;
  right: 1.25rem;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.5rem;
  background-color: #d00168;
}

@media (min-width: 768px) {
  .p-drawer__icon {
    top: 3.44875rem;
    right: 2.225rem;
    width: 4.895rem;
    height: 4.895rem;
    border-radius: 0.89rem;
  }
}

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

.p-drawer__icon:focus-visible {
  outline: 2px solid #b1045a;
  outline-offset: 2px;
}

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

@media (min-width: 768px) {
  .p-drawer__icon--bar {
    row-gap: 0.55625rem;
  }
}

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

@media (min-width: 768px) {

  .p-drawer__icon--bar1,
  .p-drawer__icon--bar2,
  .p-drawer__icon--bar3 {
    width: 2.225rem;
  }
}

.p-drawer__icon.js-show .p-drawer__icon--bar1 {
  rotate: 45deg;
  translate: 0 0.4375rem;
}

@media (min-width: 768px) {
  .p-drawer__icon.js-show .p-drawer__icon--bar1 {
    translate: 0 0.77875rem;
  }
}

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

.p-drawer__icon.js-show .p-drawer__icon--bar3 {
  rotate: -45deg;
  translate: 0 -0.4375rem;
}

@media (min-width: 768px) {
  .p-drawer__icon.js-show .p-drawer__icon--bar3 {
    translate: 0 -0.77875rem;
  }
}

/*----------------------------------
  ドロワーメニュー
-----------------------------------*/
.p-drawer {
  position: fixed;
  z-index: 101;
  top: 0;
  right: 0;
  width: 86vw;
  max-width: 26.25rem;
  height: 100svh;
  padding: 6.875rem 2rem 3rem;
  overflow-y: auto;
  background-color: #faf6f8;
  visibility: hidden;
  translate: 101% 0;
  transition: translate 0.5s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.5s;
}

@media (min-width: 768px) {
  .p-drawer {
    max-width: 46.725rem;
    padding: 12.2375rem 3.56rem 5.34rem;
  }
}

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

.p-drawer.js-show {
  visibility: visible;
  translate: 0 0;
}

.p-drawer__list {
  display: flex;
  flex-direction: column;
}

.p-drawer__item {
  display: block;
  padding-block: 1.125rem;
  border-bottom: 1px solid #bdb39d;
}

@media (min-width: 768px) {
  .p-drawer__item {
    padding-block: 2.0025rem;
  }
}

.p-drawer__item p {
  color: #3a3a3a;
  text-align: center;
  font-size: max(0.9375rem, 12px);
  font-weight: 500;
  line-height: 1.4666666667;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
}

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

@media (min-width: 768px) {
  .p-drawer__item p {
    font-size: max(1.66875rem, 10px);
    font-weight: 500;
    line-height: 1.4666666667;
    letter-spacing: 0.1em;
  }
}

@media (any-hover: hover) {
  .p-drawer__item:hover p {
    color: #d00168;
  }
}

.p-drawer__btn {
  margin-block-start: 2.25rem;
}

@media (min-width: 768px) {
  .p-drawer__btn {
    margin-block-start: 4.005rem;
  }
}

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

@media (min-width: 768px) {
  .p-drawer__btn .p-header__contact {
    height: 6.23rem;
    border-radius: 1.1125rem;
    column-gap: 1.1125rem;
  }
}

@media (min-width: 768px) {
  .p-drawer__btn .p-header__contact img {
    width: 2.11375rem;
  }
}

.p-drawer__btn .p-header__contact p {
  font-size: max(0.875rem, 11.2px);
  font-weight: 500;
  line-height: 1.4285714286;
}

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

@media (min-width: 768px) {
  .p-drawer__btn .p-header__contact p {
    font-size: max(1.5575rem, 10px);
    font-weight: 500;
    line-height: 1.4285714286;
  }
}