/* ==================================================
   共通スタイル（下層ページ用）
   about / archive / company / contact / recruit / services / privacy
   ================================================== */
:root {
  --color-primary: #58813a;
  --color-secondary: #a3c849;
  --color-dark: #2a2e33;
  --color-light-bg: #f9fbf9;
  --color-white: #ffffff;
  --font-display: 'Outfit', sans-serif;
  --font-watermark: 'Oswald', sans-serif;
  --font-ja: 'Noto Sans JP', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-ja);
  color: #333;
  line-height: 1.8;
  background-color: var(--color-white);
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; height: auto; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.header-inner { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo img { height: 42px; }
.nav-menu { display: flex; list-style: none; gap: 28px; align-items: center; }
.nav-menu a { font-weight: 700; color: var(--color-dark); font-size: 0.92rem; }
.nav-btn { background: var(--color-primary); color: #fff !important; padding: 10px 24px; border-radius: 4px; }

/* ハンバーガーメニュー（モバイル用） */
.hamburger {
  display: none;
  width: 32px;
  height: 24px;
  position: relative;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
  padding: 0;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--color-dark);
  border-radius: 3px;
  position: absolute;
  left: 0;
  transition: all 0.3s ease-in-out;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 10px; }
.hamburger span:nth-child(3) { top: 20px; }

.hamburger.is-active span:nth-child(1) { transform: translateY(10px) rotate(45deg); background-color: var(--color-primary); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); background-color: var(--color-primary); }

.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-overlay.is-active { display: block; opacity: 1; }

/* Responsive: モバイルナビゲーション */
@media (max-width: 992px) {
  .hamburger { display: block; }

  nav { display: contents; }

  .nav-menu {
    display: flex;
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background-color: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 30px 40px;
    gap: 20px;
    box-shadow: -5px 0 20px rgba(0,0,0,0.15);
    transition: right 0.35s ease;
    z-index: 1050;
  }

  .nav-menu.is-active { right: 0; }

  .nav-menu li { width: 100%; border-bottom: 1px solid #f0f0f0; padding-bottom: 12px; }

  .nav-menu a { font-size: 1.05rem; display: block; }
}

/* WP管理バー表示時（ログイン中）にヘッダーが管理バーと重ならないよう位置を調整 */
body.admin-bar header { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar header { top: 46px; }
}

/* Page Hero */
.page-hero {
  margin-top: 80px;
  background: linear-gradient(135deg, #1f2918, #364e23);
  padding: 70px 0;
  color: var(--color-white);
  position: relative;
}
.page-hero h1 { font-size: 2.4rem; font-weight: 800; }
.page-hero-en { font-family: var(--font-display); font-size: 0.95rem; color: var(--color-secondary); font-weight: 700; letter-spacing: 0.2em; }

/* Breadcrumbs */
.breadcrumbs { padding: 14px 0; background-color: var(--color-light-bg); font-size: 0.85rem; border-bottom: 1px solid #eee; }
.breadcrumbs ol { list-style: none; display: flex; gap: 8px; }
.breadcrumbs li+li::before { content: "/"; margin-right: 8px; color: #aaa; }

/* Footer */
footer { background-color: var(--color-dark); color: #fff; padding: 70px 0 25px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-info img { height: 38px; margin-bottom: 20px; filter: brightness(0) invert(1); }
.footer-info p { color: #bbb; font-size: 0.9rem; }
.footer-links h4 { font-size: 1.05rem; margin-bottom: 16px; color: var(--color-secondary); font-weight: 700; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #bbb; font-size: 0.9rem; }
.copyright { text-align: center; padding-top: 25px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 0.8rem; color: #888; }
