/* ========================================================
 Header (fixed化) 
 ======================================================== */
.l_header {
  position: fixed;
  /* absolute → fixed */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  background: rgba(255, 255, 255, 0.85);
  /* 少しだけ白を強める */
  backdrop-filter: blur(6px);
  /* ガラス感（対応ブラウザのみ） */
}

.l_header__caption_pc h2 {
  padding: 0px 0 5px 0;
  margin-bottom: 0;
  font-size: clamp(11px, 1vw, 13px);
}

.l_header__caption_sp {
  display: none;
}

.l_header__inner {
  /* max-width: 1080px; */
  margin: 0 auto;
  padding: 0 0 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.l_header__brand {
  margin-bottom: 0;
}

.l_header__brandLink {
  display: inline-flex;
  align-items: center;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
  color: #333;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(24px,2.5vw,32px);
  font-weight: bold;
}

.l_header__logo {
  width: 150px;
  display: block;
}

.l_header__nav {
  margin-left: auto;
}

.l_header__menu {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.l_header__link {
  color: #111;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .06em;
  position: relative;
  padding: 8px 2px;
}

.l_header__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 2px;
  background: var(--orcher);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.l_header__link:hover::after {
  transform: scaleX(1);
}

.l_header__link:hover {
  opacity: 1;
}

.l_header__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 18px;
  border-radius: 0;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .06em;
  white-space: nowrap;
}

.l_header__btn--recruit {
  background: var(--fuji);
  color: #fff;
}

.l_header__btn--contact {
  background: var(--fuji);
  /* 青 */
  color: #fff;
}

/* ========== SP toggle ========== */
.l_header__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.l_header__toggleLines {
  display: block;
  width: 22px;
  height: 2px;
  background: #111;
  position: relative;
  margin: 0 auto;
}

.l_header__toggleLines::before,
.l_header__toggleLines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: #111;
}

.l_header__toggleLines::before {
  top: -7px;
}

.l_header__toggleLines::after {
  top: 7px;
}

/* ========== Drawer ========== */
html.is-locked,
html.is-locked body {
  overflow: hidden;
}

.l_drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.l_header.is-drawer-open .l_drawer {
  display: block;
}

.l_drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .35);
}

.l_drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  /* width: min(86vw, 360px); */
  width: 100%;
  height: 100%;
  background: #fff;
  padding: 18px 18px 22px;
  box-shadow: -12px 0 32px rgba(0, 0, 0, .16);
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 14px;
}

.l_drawer__close {
  align-self: flex-end;
  border: 0;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.l_drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 auto;
  width: 100%;
  /* align-items: center; */
}

.l_drawer__link {
  text-decoration: none;
  color: #111;
  font-weight: 700;
  padding: 12px 10px;
  /* border-bottom: 1px solid rgba(0, 0, 0, .08); */
  text-align: center;
}

.l_drawer__btn {
  margin-top: 4px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 14px;
  font-weight: 800;
  letter-spacing: .06em;
}

.l_drawer__btn--recruit {
  background: var(--fuji);
  color: #fff;
}

.l_drawer__btn--contact {
  background: #000;
  color: #fff;
}

/* =========================
   お問い合わせを目立たせる（アイコンなし）
========================= */

.l_header__btn--contact {
  height: 80px;
  /* ← 少し大きめ */
  padding: 0 26px;
  /* 少しだけ大きく */
  font-weight: 800;
  letter-spacing: .08em;
  /* 既存カラー */
  color: #fff;

  box-shadow: 0 12px 24px rgba(0, 0, 0, .15);
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

/* hover */
.l_header__btn--contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(0, 0, 0, .2);
  opacity: .95;
}


/* =========================
   Drawer：全画面（強制）
========================= */
.l_drawer {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999 !important;
  display: none;
  height: 100vh;
}

.l_header.is-drawer-open .l_drawer {
  display: block !important;
}

.l_drawer__overlay {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, .35) !important;
}

/* “白いパネル”を画面いっぱいにする */
.l_drawer__panel {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;

  background: #fff !important;
  padding: 110px 20px 40px !important;
  /* ヘッダー分あける：必要なら調整 */
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-direction: column !important;
  gap: 14px !important;
}

/* ナビを中央寄せで大きく */
.l_drawer__nav {
  width: min(520px, 100%) !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

.l_drawer__link {
  font-size: 18px !important;
  padding: 16px 14px !important;
  text-align: center !important;
}

/* もし×ボタンが残っていても非表示にする（保険） */
.l_drawer__close {
  display: none !important;
}


/* =========================
   トグルボタンを固定＆×に変形（ズレ防止）
========================= */

/* ふだん */
.l_header__toggle {
  position: relative;
  z-index: 10000;
}

/* 開いた時：トグルを画面右上に固定（ここが“ズレ対策”の肝） */
.l_header.is-drawer-open .l_header__toggle {
  position: fixed !important;
  top: 26px !important;
    right: 5px !important;
  z-index: 100000 !important;
}

/* 三本線 → × */
.l_header.is-drawer-open .l_header__toggleLines {
  background: transparent !important;
}

.l_header.is-drawer-open .l_header__toggleLines::before {
  top: 0 !important;
  transform: rotate(45deg) !important;
}

.l_header.is-drawer-open .l_header__toggleLines::after {
  top: 0 !important;
  transform: rotate(-45deg) !important;
}

/* アニメ */
.l_header__toggleLines,
.l_header__toggleLines::before,
.l_header__toggleLines::after {
  transition: transform .2s ease, background-color .2s ease, top .2s ease;
}


/* SP：ボタン感をもっと出す（ドロワー内の「お問い合わせ」も目立たせたい場合） */
@media (max-width:768px) {

  .l_drawer__link[href$="/contact"],
  .l_drawer__link[href$="/contact/"] {
    background: var(--fuji);
    color: #fff;
    border-radius: 999px;
    border-bottom: 0;
    margin-top: 8px;
    padding: 14px 12px;
    font-weight: 800;
  }

  .l_header__nav {
    display: none;
  }

  .l_header__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }


  .l_header__caption_sp {
    display: block;
  }

  .l_header__caption_sp h2 {
    font-size: 10.5px;
        padding: 5px 10px;
        margin-bottom: 0;
  }

  .l_header__caption_pc {
    display: none;
  }
}







/* =======================================================================
    HEROセクション
======================================================================= */
.fv-yamamura {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: #f8f4ea;
}

/* 画像：左側 */
.fv-yamamura__slider {
  position: absolute;
  inset: 0 auto 0 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.fv-yamamura__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.5s ease, transform 6s ease;
}

.fv-yamamura__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

/* 画像の上に薄く重ねる */
.fv-yamamura__slider::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0) 55%, #f8f4ea 100%),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.18));
  z-index: 2;
  pointer-events: none;
}

/* 文字：右側 */
.fv-yamamura__content {
  position: relative;
  z-index: 3;
  width: min(600px, 44%);
  margin-left: auto;
  padding: 170px 2vw 100px 40px;
  color: #2b2824;
}

.fv-yamamura__label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 28px;
  font-size: 20px;
  letter-spacing: .12em;
  color: #b6922d;
}

.fv-yamamura__label::before {
  content: "";
  width: 46px;
  height: 1px;
  background: #b6922d;
}

.fv-yamamura__title {
  margin: 0 0 32px;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(26px, 4vw, 50px);
  line-height: 1.65;
  letter-spacing: .08em;
  font-weight: 600;
}

.fv-yamamura__text {
  margin: 0;
  font-size: 16px;
  line-height: 2.2;
  letter-spacing: .08em;
}

.fv-yamamura__buttons {
  display: flex;
  gap: 16px;
  margin-top: 42px;
}

.fv-yamamura__buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 15px 24px;
  border: 1px solid #b6922d;
  background: #b6922d;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  letter-spacing: .08em;
}

.fv-yamamura__buttons a:nth-child(2) {
  background: #76599b;
  border-color: #76599b;
}

@media (max-width: 900px) {
  .fv-yamamura {
    min-height: auto;
    padding-top: 68vw;
  }

  .fv-yamamura__slider {
    width: 100%;
    height: 68vw;
  }

  .fv-yamamura__slider::after {
    background: linear-gradient(180deg, rgba(255,255,255,0) 55%, #f8f4ea 100%);
  }

  .fv-yamamura__content {
    width: 100%;
    padding: 36px 24px 56px;
  }

  .fv-yamamura__buttons {
    /* flex-direction: column; */
  }

  .fv-yamamura__buttons a {
    width: 100%;
  }
}

@media screen and (max-width:425px) {
  .fv-yamamura__buttons {
    flex-direction: column;
  }
}

/* PC大画面対策 */
/* 1440px以上：画像と文字を1:1にする */
@media (min-width: 1440px) {

  .fv-yamamura {
    min-height: 820px;
    display: flex;
    background: #f8f4ea;
            padding: 0;
  }

  .fv-yamamura__slider {
    position: relative;
    width: 50%;
    height: auto;
    min-height: 820px;
    inset: auto;
    transform: none;
  }

  .fv-yamamura__slider::after {
    background:
      linear-gradient(90deg, rgba(255,255,255,0) 55%, #f8f4ea 100%),
      linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.12));
  }

  .fv-yamamura__content {
    width: 50%;
    margin: 0;
    padding: 0 6vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }

  .fv-yamamura__title {
    font-size: clamp(48px, 3.8vw, 68px);
    line-height: 1.5;
  }

  .fv-yamamura__text {
    font-size: 17px;
  }
}