
/* ===== 採用ページ ヘッダー＆スマホメニュー（2026-11 追加） ===== */
.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:#fff;
  box-shadow:0 2px 16px rgba(0,0,0,.06);
}
/* PCメニュー */
.site-header-nav a{
  position:relative;
  font-weight:700;
  letter-spacing:.06em;
  color:#222;
  transition:color .2s ease;
}
.site-header-nav a::after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:8px;
  height:2px;
  background:#005c35;
  transform:scaleX(0);
  transition:transform .25s ease;
}
.site-header-nav a:hover{ color:#005c35; }
.site-header-nav a:hover::after{ transform:scaleX(1); }
/* 会社見学はボタン */
.site-header-nav a[href="#visit"]{
  padding:10px 22px;
  margin-left:4px;
  background:#005c35;
  color:#fff;
  border-radius:999px;
  box-shadow:0 4px 12px rgba(0,92,53,.25);
  transition:background .2s ease,transform .2s ease;
}
.site-header-nav a[href="#visit"]::after{ display:none; }
.site-header-nav a[href="#visit"]:hover{ background:#00482a; color:#fff; transform:translateY(-1px); }

/* 電話・FAX */
.header-contact{
  align-self:center;
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:0;
  padding:0 24px 0 22px;
  border-left:1px solid #e3e9e5;
}
.header-contact a,
.header-contact span{
  display:block;
  padding:0;
  background:none !important;
  text-align:left;
}
.header-contact a{
  color:#222 !important;
  font-size:18px;
  font-weight:700;
  letter-spacing:.03em;
}
.header-contact a::before{
  content:"";
  display:inline-block;
  width:15px;height:15px;
  margin-right:6px;
  vertical-align:-1px;
  background:#005c35;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") no-repeat center/contain;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") no-repeat center/contain;
}
.header-contact span{
  color:#888 !important;
  font-size:12px;
  font-weight:500;
  padding-left:21px;
}

/* ハンバーガーボタン（PCでは非表示） */
.nav-toggle{ display:none; }

@media (max-width:780px){
  .site-header{ padding:10px 0 10px 20px; min-height:64px; }
  .header-contact{ display:none !important; }
  .site-header::after{ white-space:nowrap; }
  .site-header::after{ order:2; margin-left:auto; font-weight:700; letter-spacing:.1em; }
  .nav-toggle{
    order:3;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:6px;
    width:64px;height:64px;
    margin:-10px 0;
    border:none;
    background:#005c35;
    cursor:pointer;
    flex-shrink:0;
  }
  .nav-toggle span{
    display:block;
    width:26px;height:2px;
    background:#fff;
    border-radius:2px;
    transition:transform .3s ease,opacity .2s ease;
  }
  .nav-toggle small{ color:#fff; font-size:9px; letter-spacing:.15em; line-height:1; margin-top:2px; }
  .site-header.is-menu-open .nav-toggle span:nth-child(1){ transform:translateY(8px) rotate(45deg); }
  .site-header.is-menu-open .nav-toggle span:nth-child(2){ opacity:0; }
  .site-header.is-menu-open .nav-toggle span:nth-child(3){ transform:translateY(-8px) rotate(-45deg); }

  /* 開いたメニュー */
  .site-header-nav{
    display:flex !important;
    position:fixed;
    top:64px; left:0; right:0;
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-start;
    gap:0;
    margin:0;
    padding:8px 24px 100px;
    background:#fff;
    box-shadow:0 16px 30px rgba(0,0,0,.12);
    font-size:16px;
    opacity:0;
    visibility:hidden;
    transform:translateY(-12px);
    transition:opacity .25s ease,transform .25s ease,visibility .25s;
    bottom:0;
    overflow-y:auto;
  }
  .site-header.is-menu-open .site-header-nav{
    opacity:1;
    visibility:visible;
    transform:none;
  }
  .site-header-nav a{
    padding:16px 32px 16px 4px;
    border-bottom:1px solid #e3e9e5;
  }
  .site-header-nav a::after{
    left:auto; right:8px; bottom:auto; top:50%;
    width:7px; height:7px;
    background:none;
    border-top:2px solid #005c35;
    border-right:2px solid #005c35;
    transform:translateY(-50%) rotate(45deg);
  }
  .site-header-nav a:hover::after{ transform:translateY(-50%) rotate(45deg); }
  .site-header-nav a[href="#visit"]{
    margin:20px 0 0;
    padding:16px;
    text-align:center;
    border-bottom:none;
  }
  /* メニュー下に電話ボタン */
  .site-header.is-menu-open .header-contact{
    display:flex !important;
    z-index:1001;
    position:fixed;
    left:24px; right:24px;
    bottom:24px;
    padding:0;
    border:none;
  }
  .site-header.is-menu-open .header-contact a{
    padding:14px;
    text-align:center;
    border:1.5px solid #005c35;
    border-radius:999px;
    background:#fff !important;
    color:#005c35 !important;
  }
  .site-header.is-menu-open .header-contact span{ display:none; }
  body.is-menu-open{ overflow:hidden; }
}
