@charset "UTF-8";
/**
 * SCSS Mixins
 *
 * 利用例:
 * @use 'mixin' as m;
 *
 * .example {
 *   font-size: 14px;
 *   @include m.mq('pc') {
 *     font-size: 18px;
 *   }
 * }
 */
/**
 * フォント
 *
 * 各ファイルで font-family 文字列を直書きせず、これらの mixin を使う。
 * 利用例:
 * .example { @include m.serif; }
 *
 * - serif    … 英字セリフ（EB Garamond）
 * - serif-jp … 和文明朝（Noto Serif JP）
 * - sans-jp  … 和文ゴシック（Noto Sans JP）
 */
/* =========================================================
   共通ヘッダー（トップ／下層ページ共通・全ページ読込）
   - 常時白背景・濃色テキスト
   挙動JS: トップ = common/js/top.js / 下層 = common/js/header.js
   ========================================================= */
/* スクリーンリーダー専用（サイト全体で利用可能にしておく） */
.u-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ドロワー展開中のスクロールロック（top.css 非読込の下層ページ用） */
body.is-active {
  overflow: hidden;
  block-size: 100%;
}

/* 固定ヘッダー分のオフセット（下層ページのみ。トップはMVが重なる想定で付けない） */
/* ---------- ヘッダーバー ---------- */
.l-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 99;
}

.p-header {
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  color: #4c4948;
  transition: background-color 0.4s ease, box-shadow 0.4s ease, color 0.4s ease, min-height 0.4s ease;
}
@media (max-width: 767px) {
  .p-header {
    align-items: flex-start;
    min-height: auto;
    padding-inline: 0;
    background-color: transparent;
    box-shadow: none;
    gap: 0;
  }
}
@media (min-width: 768px) {
  .p-header {
    align-items: flex-start;
    min-height: 80px;
    gap: 0;
  }
}

.p-header__inner {
  display: contents;
}

.p-header__logo-link {
  position: relative;
  z-index: 100;
  /* ドロワーより前面（開いてもロゴは見える） */
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  text-decoration: none;
  border: 0;
}
@media (max-width: 767px) {
  .p-header__logo-link {
    background-color: #fff;
    padding: 13px 20px 23px;
    border-radius: 0 0 12px 0;
  }
}
@media (min-width: 768px) {
  .p-header__logo-link {
    background-color: #fff;
    padding: 20px clamp(24px, 3%, 40px) 40px clamp(24px, 3%, 40px);
    border-radius: 0 0 16px 0;
    width: 260px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.p-header__logo-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.p-header__logo {
  max-width: 100px;
  margin: 0;
  font-size: 0;
  line-height: 0;
  transition: max-width 0.4s ease;
}
@media (min-width: 768px) {
  .p-header__logo {
    max-width: 150px;
  }
}

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

/* ---------- メニューコンテナ ---------- */
.p-header__menu-container {
  display: contents;
  /* SP: ハンバーガーをヘッダー直下の flex 要素にする */
}
@media (min-width: 768px) {
  .p-header__menu-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(24px, 2.0833333333vw, 40px);
    align-self: flex-start;
    min-height: 80px;
    flex: 1;
    min-width: 0;
    -webkit-margin-start: -1px;
    margin-inline-start: -1px;
    /* ロゴ枠とのサブピクセル隙間を消す */
    padding: 0 84px 0 25px;
    background-color: #fff;
  }
}

/* ---------- PCナビ ---------- */
.p-header__pc-nav {
  display: none;
}
@media (min-width: 768px) {
  .p-header__pc-nav {
    display: block;
    flex: 1;
    min-width: 0;
  }
}

.p-header__pc-menu-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-header__pc-menu-item {
  position: relative;
  flex-shrink: 0;
}

.p-header__pc-menu-link {
  display: inline-block;
  font-family: "EB Garamond", serif;
  font-size: 16px;
  letter-spacing: 0.18em;
  line-height: 1;
  color: inherit;
  white-space: nowrap;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

@media (any-hover: hover) {
  .p-header__pc-menu-link:hover {
    opacity: 0.6;
  }
}
/* BRAND / SALON のトグル（一覧へのリンク兼ホバー下層トリガー）。button由来のreset互換も維持 */
.p-header__pc-menu-toggle {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.p-header__pc-menu-item--has-child > .p-header__pc-menu-toggle::before {
  content: "＋";
  -webkit-margin-end: 0.35em;
  margin-inline-end: 0.35em;
  font-size: 0.95em;
  line-height: 1;
}

.p-header__pc-menu-item--has-child:hover > .p-header__pc-menu-toggle::before,
.p-header__pc-menu-item--has-child:focus-within > .p-header__pc-menu-toggle::before {
  content: "－";
}

/* PCドロップダウン */
.p-header__pc-submenu {
  position: absolute;
  inset-block-start: 100%;
  inset-inline-start: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 130px;
  margin: 0;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  background-color: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 5;
}

.p-header__pc-menu-item--has-child:hover .p-header__pc-submenu,
.p-header__pc-menu-item--has-child:focus-within .p-header__pc-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.p-header__pc-submenu-link {
  display: block;
  font-family: "EB Garamond", serif;
  font-size: 14px;
  letter-spacing: 0.06em;
  line-height: 1.4;
  color: #4c4948;
  white-space: nowrap;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

@media (any-hover: hover) {
  .p-header__pc-submenu-link:hover {
    opacity: 0.6;
  }
}
/* ---------- ONLINE SHOP ボタン（PC） ---------- */
.p-header__shop-btn {
  display: none;
}
@media (min-width: 768px) {
  .p-header__shop-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 9px 18px;
    border: 1px solid #009245;
    color: #009245 !important;
    font-family: "EB Garamond", serif;
    font-size: 16px;
    letter-spacing: 0.18em;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  }
}

.p-header__shop-btn-icon {
  flex-shrink: 0;
}

@media (any-hover: hover) {
  .p-header__shop-btn:hover {
    background-color: #009245;
    color: #fff !important;
  }
  .p-header__shop-btn:hover .p-header__shop-btn-icon {
    color: #fff;
  }
}
/* ---------- ハンバーガー（SP） ---------- */
.p-header__hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  width: 50px;
  height: 25px;
  z-index: 100;
  background: none;
  padding: 0;
  border: 0;
  cursor: pointer;
  color: #4c4948;
  align-self: center;
  margin-right: 15px;
}
@media (min-width: 768px) {
  .p-header__hamburger-btn {
    display: none;
  }
}

.p-header__hamburger-line {
  position: relative;
  display: block;
  width: 35px;
  height: 1px;
  background-color: currentColor;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.p-header__hamburger-line::before,
.p-header__hamburger-line::after {
  position: absolute;
  inset-inline-end: 0;
  inset-inline-start: auto;
  display: block;
  width: 50px;
  height: 100%;
  background-color: currentColor;
  content: "";
  transition: inherit;
}

.p-header__hamburger-line::before {
  inset-block-start: -13px;
}

.p-header__hamburger-line::after {
  inset-block-start: 13px;
}

/* 開いた状態（×） */
.p-header__hamburger-btn[aria-expanded=true] .p-header__hamburger-line {
  background-color: transparent;
}

.p-header__hamburger-btn[aria-expanded=true] .p-header__hamburger-line::before,
.p-header__hamburger-btn[aria-expanded=true] .p-header__hamburger-line::after {
  inset-block-start: 0;
  width: 50px;
  inset-inline-end: 0;
  inset-inline-start: auto;
  background-color: #4c4948;
  /* 明るいドロワー上では常に濃色の× */
}

.p-header__hamburger-btn[aria-expanded=true] .p-header__hamburger-line::before {
  transform: rotate(25deg);
}

.p-header__hamburger-btn[aria-expanded=true] .p-header__hamburger-line::after {
  transform: rotate(-25deg);
}

/* ---------- ドロワー（SP） ---------- */
.p-header__nav {
  display: none;
  /* JS の fadeIn で表示 */
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  z-index: 10;
  background-color: #fff;
  overflow-y: auto;
}
@media (min-width: 768px) {
  .p-header__nav {
    display: none !important;
    /* PCではドロワーを使わない */
  }
}

.p-header__nav::before {
  content: "";
  position: fixed;
  inset-block: 0;
  inset-inline-start: 0;
  width: 7px;
  background-color: #009245;
}

.p-header-nav__wrapper {
  position: relative;
  padding: 84px 24px 48px;
  display: flex;
  flex-direction: column;
  background: #F2F2F2;
  border-left: 15px solid #009245;
}

.p-header-nav__logo-container {
  display: none;
  /* ヘッダーバーのロゴを前面表示するため非表示 */
}

.p-header-nav__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
}

.p-header-nav__item {
  -webkit-border-after: 1px solid #e5e5e5;
  border-block-end: 1px solid #e5e5e5;
}

.p-header-nav__link {
  display: block;
  padding: 18px 6px;
  font-family: "EB Garamond", serif;
  font-size: 18px;
  letter-spacing: 0.1em;
  line-height: 1.4;
  color: #4c4948;
  text-decoration: none;
}

/* アコーディオン見出し（BRAND / SALON）— サブメニューは右へスライド */
.p-header-nav__accordion {
  display: flex;
  flex-direction: row;
  align-items: center;
  overflow: hidden;
}

.p-header-nav__link--toggle {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.35em;
  cursor: pointer;
  list-style: none;
}

.p-header-nav__link--toggle::-webkit-details-marker {
  display: none;
}

.p-header-nav__link--toggle::before {
  content: "＋";
  flex-shrink: 0;
  font-size: 16px;
  line-height: 1;
  color: #4c4948;
}

.p-header-nav__accordion.is-open > .p-header-nav__link--toggle::before,
.p-header-nav__accordion[open] > .p-header-nav__link--toggle::before {
  content: "－";
}

.p-header-nav__sub {
  overflow: hidden;
  flex: 1;
  min-width: 0;
  transition: max-width 0.35s ease, opacity 0.35s ease;
}

.p-header-nav__sublist {
  margin: 0;
  padding: 18px 6px;
  list-style: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(14px, 5vw, 28px);
  white-space: nowrap;
}

.p-header-nav__sublink {
  display: block;
  padding: 0;
  font-family: "EB Garamond", serif;
  font-size: 15px;
  letter-spacing: 0.08em;
  line-height: 1.4;
  color: #4c4948;
  text-decoration: none;
}

/* ---------- ONLINE SHOP ボタン（SP・ドロワー内） ---------- */
.p-header-nav__shop {
  -webkit-margin-before: 28px;
  margin-block-start: 28px;
}

.p-header-nav__shop-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 18px;
  color: #009245 !important;
  border: 1px solid #009245;
  font-family: "EB Garamond", serif;
  font-size: 20px;
  letter-spacing: 0.1em;
  line-height: 1;
  text-decoration: none;
  border-radius: 2px;
}

.p-header-nav__copyright {
  margin: 24px 0 0;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #8a8a8a;
}

/* =========================================================
   リクルートページ用（libs/header-nav-recruit.php）
   ========================================================= */
/* ---------- テキストロゴ「オフィスShu」 ---------- */
.p-header__logo--recruit {
  display: flex;
  align-items: baseline;
  gap: 8px;
  max-width: none;
  line-height: 1;
  color: #4c4948;
}

.p-header__logo-recruit-txt {
  font-size: 10px;
  letter-spacing: 0.2em;
}

.p-header__logo-recruit-name {
  font-family: "EB Garamond", serif;
  font-size: 30px;
  letter-spacing: 0.3em;
}

@media (min-width: 768px) {
  .p-header__logo-recruit-name {
    font-size: 38px;
  }
}
/* ---------- MAIN SITE ボタン（塗りつぶし） ---------- */
@media (min-width: 768px) {
  .p-header__shop-btn--fill {
    background-color: #009245;
    border-color: #009245;
    color: #fff !important;
  }
}
@media (any-hover: hover) {
  .p-header__shop-btn--fill:hover {
    background-color: #fff;
    color: #009245 !important;
  }
}
/*# sourceMappingURL=header.css.map */