@charset "UTF-8";

/* header.css
   SP（〜767px）：SPカンプ
   768〜1023px：SP と同じ構成のまま SP の値 × $tablet-scale（768px で SP と同じ大きさ）
   1024px〜：PCカンプ（ナビ表示） */
.p-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(252, 246, 239, 0.6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: translate 0.5s ease;
}

.p-header.is-hidden {
  translate: 0 -100%;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .p-header {
    background-color: rgba(252, 246, 239, 0.92);
  }
}

.p-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 4.375rem 0.875rem 1.25rem;
}

@media (min-width: 768px) {
  .p-header__inner {
    padding: 1.5625rem 10.9375rem 2.1875rem 3.125rem;
  }
}

@media (min-width: 1024px) {
  .p-header__inner {
    padding: 2.25rem 6.25rem 2.25rem 6rem;
  }
}

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

@media (min-width: 1024px) {
  .p-header__brand {
    flex-direction: row-reverse;
    align-items: center;
    column-gap: 1.125rem;
  }
}

.p-header__catch {
  font-size: max(0.5rem, 8px);
  line-height: 1.75;
  color: #000000;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .p-header__catch {
    font-size: max(1.25rem, 8px);
  }
}

@media (min-width: 1024px) {
  .p-header__catch {
    font-size: max(0.8125rem, 8px);
    font-weight: 400;
    line-height: 1.5384615385;
  }
}

.p-header__logo {
  width: 7.6875rem;
  aspect-ratio: 624/84;
}

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

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

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

.p-header__logo img {
  object-fit: contain;
}

.p-header__nav {
  display: none;
}

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

.p-header__nav .c-nav-link--line.is-current p:last-child::after {
  scale: 1 1;
}

/*----------------------------------
  ドロワーアイコン
-----------------------------------*/
.p-drawer__icon {
  cursor: pointer;
  position: fixed;
  z-index: 102;
  display: grid;
  place-items: center;
  top: 0.375rem;
  right: 0.875rem;
  width: 2.25rem;
  height: 2.25rem;
  transition: translate 0.5s ease;
}

.p-drawer__icon.is-hidden {
  translate: 0 calc(-100% - 1.25rem);
}

@media (min-width: 768px) {
  .p-drawer__icon {
    top: 0.9375rem;
    right: 2.1875rem;
    width: 5.625rem;
    height: 5.625rem;
  }
}

@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.5625rem;
}

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

.p-drawer__icon--bar1,
.p-drawer__icon--bar2,
.p-drawer__icon--bar3 {
  height: 1px;
  width: 1.625rem;
  background: #521f00;
  transition: all 0.5s ease;
}

@media (min-width: 768px) {

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

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

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

.p-drawer__icon.js-show .p-drawer__icon--bar2 {
  visibility: hidden;
  scale: 0 1;
}

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

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

/*----------------------------------
  ドロワーメニュー
  ヘッダーの下に全画面で表示（ヘッダーのロゴを見せたまま開く：XD「01-TOP – 4」）
-----------------------------------*/
.p-drawer {
  position: fixed;
  z-index: 101;
  overflow-y: auto;
  top: 3.4375rem;
  right: 0;
  width: 100%;
  height: calc(100svh - 3.4375rem);
  background: #fcf6ef;
  padding: 4.125rem 1.25rem 5rem;
  visibility: hidden;
  translate: 101%;
  transition: translate 0.5s ease, visibility 0.5s ease;
}

@media (min-width: 768px) {
  .p-drawer {
    top: 8.59375rem;
    height: calc(100svh - 8.59375rem);
    padding: 10.3125rem 3.125rem 12.5rem;
  }
}

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

.p-drawer__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 5rem;
}

@media (min-width: 768px) {
  .p-drawer__list {
    row-gap: 12.5rem;
  }

  .p-drawer__list .c-nav-link p:first-child {
    font-size: max(2.1875rem, 8px);
  }

  .p-drawer__list .c-nav-link p:last-child {
    font-size: max(3.125rem, 8px);
  }
}