/* 
 * header.css
 * ヘッダーコンポーネントのスタイル
 */

:root {
  --design-width: 1440; /* PCデザインの基準幅 */
  --root-font-size: 16; /* ルートフォントサイズ */
  --design-width-sp: 375; /* スマホデザインの基準幅 */
}

header.header {
  position: fixed;
  width: 100%;
  z-index: 1000;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  padding: 20px;
}
.s header.header {
  padding: 0px;
  height: 62px;
}
header.header._menu {
  padding-bottom: 10px;
  background-color: #fff;
  background-image: url('../img/page_bg.jpg');
  background-blend-mode: multiply;
  background-size: 100%;
  background-repeat: repeat;
}
.s header.header._menu {
  background-size: 200%;
}

.header-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.32);
  box-shadow: 0px 7px 20px 0px rgba(90, 67, 44, 0.21);
  backdrop-filter: blur(30px);
  border-radius: 9999px;
  max-width: 1400px;
  margin-inline: auto;
  padding: 15px 40px;
}
.s .header-menu {
  border-radius: 0;
  padding: 12px 20px;
}
.header-toggle {
  position: relative;
  display: none;
  z-index: 2;
}
.s .header-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.s .header-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 27px;
  height: 12px;
  position: relative;
}

.s .header-toggle span {
  display: block;
  width: 27px;
  height: 2px;
  background: #841b2a;
  transition: transform 0.3s ease;
}

body.s.menu-open .header-toggle span:first-child {
  transform: translateY(5px) rotate(45deg);
}
body.s.menu-open .header-toggle span:last-child {
  transform: translateY(-5px) rotate(-45deg);
}

.header-nav {
  padding: 0 20px;
}
.s .header-nav {
  display: none;
}
.header-nav-list {
  display: flex;
  gap: 30px;
  justify-content: center;
}

.header-nav-item > a {
  color: rgba(51, 51, 51, 1);
  text-decoration: none;
  font-weight: bold;
  font-size: clamp(
    calc(16 / var(--root-font-size) * 1rem),
    calc(20 / var(--design-width) * 100vw),
    calc(20 / var(--root-font-size) * 1rem)
  );
  letter-spacing: -5%;
}

body.s.menu-open .header-nav {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #f9f8f4;
  padding: 60px 0 0;
}
body.s .header-nav-list {
  display: flex;
  flex-direction: column;
  position: absolute;
  padding: 0 40px 40px;
  width: 100%;
  gap: 0;
}
body.s .header-nav-item {
  border-bottom: solid 1px #ead6bf;
  padding: 40px 0 30px;
}
/* body.s .header-nav-item:first-child {
  padding: 0 0 30px;
} */
.header-logo {
  position: relative;
  z-index: 2;
}
.header-logo img {
  width: 122px;
}
