/* ============================================================
   浜田グリーンハウス — 採用サイト
   Design tokens
   ============================================================ */
:root {
  --rice: #faf6ec;
  --paper: #fffdf8;
  --moss-900: #1e3b24;
  --moss-800: #274a2d;
  --moss-700: #3c6e3f;
  --moss-500: #6b9c5e;
  --leaf-300: #b7d39a;
  --leaf-100: #e6efd9;
  --plum: #8e3b4a;
  --plum-dark: #6e2c38;
  --soil-900: #33261a;
  --soil-700: #5c4632;
  --ink: #26301f;
  --muted: #5c6653;
  --line: rgba(30, 59, 36, 0.14);
  --shadow-soft: 0 20px 46px rgba(30, 59, 36, 0.14);
  --shadow-tag: 0 10px 24px rgba(51, 38, 26, 0.16);
  --radius-tag: 6px 18px 6px 18px;
  --container: 1160px;
}

@font-face { font-display: swap; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
  line-height: 1.85;
  background: var(--rice);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }
h1, h2, h3, p, dl, ul { margin-top: 0; }
h1, h2, h3, .font-serif {
  font-family: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-weight: 700;
  color: var(--moss-900);
}

:focus-visible {
  outline: 3px solid var(--plum);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- shared bits ---------- */
.eyebrow-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--moss-700);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}
.eyebrow-tag svg { width: 16px; height: 16px; flex: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 58px;
  padding: 14px 28px;
  border-radius: var(--radius-tag);
  font-weight: 700;
  font-size: 1.02rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #fff;
  background: var(--moss-800);
  box-shadow: 0 14px 28px rgba(30, 59, 36, 0.28);
}
.btn-primary:hover { background: var(--moss-900); }
.btn-outline {
  color: var(--moss-900);
  background: var(--paper);
  border-color: var(--moss-700);
}
.btn-outline:hover { background: var(--leaf-100); }
.btn-plum {
  color: #fff;
  background: var(--plum);
  box-shadow: 0 14px 28px rgba(142, 59, 74, 0.3);
}
.btn-plum:hover { background: var(--plum-dark); }
.icon-call::before { content: "☎"; }
.icon-chat::before { content: "💬"; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 246, 236, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-name {
  font-family: "Shippori Mincho B1", serif;
  font-weight: 700;
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  color: var(--moss-900);
  letter-spacing: 0.03em;
  line-height: 1.3;
}
.brand-name .brand-sub {
  display: block;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--moss-700);
  margin-top: 1px;
}
.nav-toggle { display: none; border: 0; background: transparent; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 6px 0; background: var(--moss-900); transition: 0.2s; }
.global-nav { display: flex; align-items: center; gap: 8px; font-size: 0.96rem; font-weight: 700; color: var(--moss-900); }
.global-nav a { padding: 8px 14px; border-radius: 999px; transition: background 0.2s ease, color 0.2s ease; }
.global-nav a:hover { background: var(--leaf-100); color: var(--moss-700); }
.global-nav a.nav-cta { background: var(--plum); color: #fff; margin-left: 6px; }
.global-nav a.nav-cta:hover { background: var(--plum-dark); }

/* ---------- hero : image + catchcopy only ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero-media {
  position: relative;
  min-height: 88vh;
  background-image: url("../images/harvest-worker-1.jpg");
  background-size: cover;
  background-position: 62% 30%;
  display: flex;
  align-items: flex-end;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(20,38,24,.62) 0%, rgba(20,38,24,.18) 38%, rgba(20,38,24,0) 62%);
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding-bottom: 76px;
  max-width: 760px;
}
.hero-eyebrow {
  color: var(--leaf-300);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: 0 0 16px;
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.6vw, 3.35rem);
  line-height: 1.55;
  margin: 0;
  text-shadow: 0 4px 20px rgba(0,0,0,.4);
}

.leaf-divider { display: block; width: 100%; height: 46px; margin-top: -2px; position: relative; z-index: 2; }
.leaf-divider path { fill: var(--rice); }

/* CTA strip directly below the hero */
.hero-cta-strip {
  background: var(--moss-900);
  padding: 26px 0;
  position: relative;
}
.hero-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.hero-cta-text { color: var(--leaf-100); font-weight: 700; font-size: 0.98rem; }
.hero-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- section shells ---------- */
.section { padding: 90px 0; position: relative; }
.section-heading { max-width: 700px; margin: 0 0 44px; }
.section-heading.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-heading h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 1.5; margin: 8px 0 12px; }
.section-heading p { color: var(--muted); }

/* ---------- jobs ---------- */
/* ---------- intro / seo copy block ---------- */
.intro-seo { background: var(--rice); padding: 56px 0 20px; }
.intro-seo-inner { max-width: 780px; margin: 0 auto; text-align: center; }
.intro-seo h2 { font-size: clamp(1.35rem, 2.4vw, 1.65rem); margin-bottom: 16px; }
.intro-seo p { color: var(--muted); font-size: 0.97rem; }
.area-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
}
.area-chips li {
  background: var(--leaf-100);
  color: var(--moss-800);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
}

.jobs { background: var(--rice); }
.job-list { display: flex; flex-direction: column; gap: 46px; }
.job-row {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 0;
  align-items: stretch;
  background: var(--paper);
  border-radius: 4px 34px 4px 34px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}
.job-row.reverse { grid-template-columns: 1.05fr 1fr; }
.job-row.reverse .job-photo { order: 2; }
.job-photo { position: relative; min-height: 340px; }
.job-photo img { width: 100%; height: 100%; object-fit: cover; }
.job-tag-label {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--plum);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 3px 14px 3px 14px;
  box-shadow: var(--shadow-tag);
}
.job-row.reverse .job-tag-label { background: var(--moss-700); }
.job-copy { padding: 44px 42px; display: flex; flex-direction: column; justify-content: center; }
.job-copy h3 { font-size: 1.5rem; margin-bottom: 6px; }
.job-copy .job-sub { color: var(--muted); font-weight: 700; margin-bottom: 20px; }
.job-facts { display: grid; gap: 0; }
.job-facts div { padding: 13px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 88px 1fr; gap: 14px; }
.job-facts dt { color: var(--moss-700); font-weight: 700; }
.job-facts dd { margin: 0; color: var(--ink); }
.job-copy .job-cta { margin-top: 24px; }

/* ---------- day timeline (appeal) ---------- */
.day {
  background: linear-gradient(180deg, var(--rice) 0%, var(--paper) 100%);
}
.day-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.day-line::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--moss-500) 0 10px, transparent 10px 18px);
}
.day-step { position: relative; text-align: left; }
.day-time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--moss-800);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 18px rgba(30,59,36,.24);
}
.day-step:nth-child(2) .day-time { background: var(--plum); box-shadow: 0 8px 18px rgba(142,59,74,.28); }
.day-step:nth-child(4) .day-time { background: var(--moss-700); }
.day-step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.day-step p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ---------- reasons (why here) ---------- */
.reasons { background: var(--paper); }
.reason-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.reason-photo { border-radius: 4px 30px 4px 30px; overflow: hidden; box-shadow: var(--shadow-soft); }
.reason-photo img { width: 100%; height: 100%; object-fit: cover; }
.reason-list { display: flex; flex-direction: column; gap: 26px; }
.reason-item { display: flex; gap: 16px; }
.reason-mark {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid var(--plum);
  color: var(--plum);
  display: grid; place-items: center;
  font-family: "Shippori Mincho B1", serif;
  font-weight: 700;
}
.reason-item h3 { font-size: 1.08rem; margin-bottom: 4px; }
.reason-item p { color: var(--muted); margin: 0; }

/* ---------- gallery ---------- */
.work { background: linear-gradient(180deg, var(--paper), var(--rice)); }
.gallery-wall { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 130px; gap: 14px; }
.gallery-item {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(51,38,26,.14);
  background: #ddd;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.g1 { grid-column: span 3; grid-row: span 2; }
.g2 { grid-column: span 3; grid-row: span 2; transform: rotate(1.2deg); }
.g3 { grid-column: span 2; grid-row: span 1; transform: rotate(-1deg); }
.g4 { grid-column: span 2; grid-row: span 1; }
.g5 { grid-column: span 2; grid-row: span 1; transform: rotate(1deg); }

/* ---------- FAQ ---------- */
.faq { background: var(--paper); }
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--rice);
  border: 1px solid var(--line);
  border-radius: 4px 20px 4px 20px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 20px 56px 20px 24px;
  position: relative;
  font-weight: 700;
  color: var(--moss-900);
  font-size: 1.02rem;
  cursor: pointer;
  font-family: "Shippori Mincho B1", serif;
}
.faq-q::before { content: "Q"; color: var(--plum); margin-right: 10px; }
.faq-q::after {
  content: "+";
  position: absolute;
  right: 22px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--moss-700);
  transition: transform .2s ease;
}
.faq-item.is-open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  color: var(--muted);
}
.faq-item.is-open .faq-a { max-height: 240px; }
.faq-a-inner { padding: 0 24px 22px 24px; }
.faq-a-inner::before { content: "A"; color: var(--moss-700); font-weight: 700; margin-right: 10px; font-family: "Shippori Mincho B1", serif; }

/* ---------- contact ---------- */
.contact { position: relative; background: var(--moss-900); color: var(--leaf-100); overflow: hidden; }
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 88% 10%, rgba(183,211,154,.16), transparent 40%);
  pointer-events: none;
}
.contact-inner { position: relative; }
.contact .section-heading h2 { color: #fff; }
.contact .section-heading p { color: var(--leaf-100); opacity: .85; }
.contact-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.contact-box {
  background: var(--paper);
  border-radius: 4px 30px 4px 30px;
  padding: 40px 34px;
  text-align: center;
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.contact-label {
  display: inline-block;
  color: var(--plum);
  font-weight: 700;
  letter-spacing: .04em;
  margin-bottom: 6px;
}
.call-badge {
  width: min(190px, 60%);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: linear-gradient(155deg, var(--leaf-100), var(--paper));
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  margin: 6px 0 18px;
}
.call-badge svg { width: 42%; height: 42%; color: var(--plum); }
.phone-number {
  display: block;
  color: var(--moss-900);
  font-family: "Shippori Mincho B1", serif;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: .02em;
}
.contact-box p { color: var(--muted); margin: 12px 0 0; }
.qr-frame {
  width: min(190px, 60%);
  aspect-ratio: 1 / 1;
  margin: 6px 0 18px;
  border-radius: 16px;
  background: white;
  padding: 10px;
  box-shadow: 0 8px 18px rgba(0,0,0,.1);
  display: grid;
}
.qr { width: 100%; height: 100%; object-fit: contain; aspect-ratio: 1 / 1; border-radius: 4px; }
.contact-note { text-align: center; font-weight: 700; margin: 26px 0 0; opacity: .9; }
.contact-hours { text-align: center; margin-top: 8px; opacity: .75; font-size: .92rem; }


.fixed-cta { display: none; }

.site-footer { background: var(--soil-900); color: #f2ead9; padding: 40px 0; }
.footer-inner { text-align: center; }
.footer-brand { font-family: "Shippori Mincho B1", serif; font-size: 1.35rem; font-weight: 700; margin-bottom: 6px; }
.footer-inner p { margin: 4px 0; opacity: .85; }
.footer-link { margin-top: 12px; font-size: .9rem; }
.footer-link a { text-decoration: underline; }

/* ---------- privacy page ---------- */
.page-hero {
  background:
    linear-gradient(90deg, rgba(250,246,236,.97), rgba(250,246,236,.9)),
    url("../images/top-banner.png");
  background-size: cover;
  background-position: center;
  padding: 100px 0 84px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 2.9rem); margin: 0 0 14px; }
.page-hero p { color: var(--muted); font-weight: 700; max-width: 640px; margin: 0 auto; }
.policy { background: linear-gradient(180deg, var(--rice), var(--paper)); }
.policy-card {
  max-width: 880px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px 30px 4px 30px;
  padding: 46px;
  box-shadow: var(--shadow-soft);
}
.policy-card h2 { font-size: 1.25rem; margin: 32px 0 10px; }
.policy-card h2:first-child { margin-top: 0; }
.policy-card p, .policy-card li { color: var(--ink); }
.policy-card a { color: var(--moss-700); font-weight: 700; text-decoration: underline; }
.policy-card ul { padding-left: 1.3em; }
.policy-date { margin-top: 34px; color: var(--muted); }
.policy-back { text-align: center; margin-top: 34px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .global-nav {
    display: none;
    position: absolute; top: 78px; left: 16px; right: 16px;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--paper); border-radius: 16px; padding: 10px;
    box-shadow: var(--shadow-soft);
  }
  .global-nav.is-open { display: flex; }
  .global-nav a { padding: 14px 16px; }
  .global-nav a.nav-cta { margin-left: 0; text-align: center; }

  .hero-media { min-height: 640px; align-items: flex-end; }
  .hero-copy { padding-bottom: 56px; }
  .hero-cta-inner { justify-content: center; text-align: center; }

  .job-row, .job-row.reverse { grid-template-columns: 1fr; }
  .job-row.reverse .job-photo { order: 0; }
  .job-photo { min-height: 260px; }
  .job-copy { padding: 32px 26px; }

  .day-line { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .day-line::before { display: none; }

  .reason-wrap { grid-template-columns: 1fr; }
  .reason-photo { order: -1; min-height: 260px; }

  .gallery-wall { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 120px; }
  .g1, .g2 { grid-column: span 4; grid-row: span 2; transform: none; }
  .g3, .g4, .g5 { grid-column: span 2; transform: none; }

  .contact-panel { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .header-inner { min-height: 66px; }
  .global-nav { top: 66px; }
  .section { padding: 64px 0; }
  .hero-media { min-height: 560px; }
  .hero h1 { font-size: 1.7rem; }
  .hero-copy { padding-bottom: 40px; }
  .hero-cta-strip { padding: 20px 0; }
  .hero-cta-actions { flex-direction: column; width: 100%; }
  .hero-cta-actions .btn { width: 100%; }
  .day-line { grid-template-columns: 1fr; }
  .gallery-wall { grid-template-columns: repeat(2, 1fr); }
  .g1, .g2 { grid-column: span 2; }
  .g3, .g4, .g5 { grid-column: span 2; grid-row: span 1; }
  .fixed-cta {
    display: block; position: fixed; z-index: 45; left: 14px; right: 14px; bottom: 14px;
    background: var(--plum); color: #fff; text-align: center; font-weight: 700;
    border-radius: 999px; padding: 15px 18px; box-shadow: 0 14px 30px rgba(110,44,56,.35);
  }
  .site-footer { padding-bottom: 92px; }
  .policy-card { padding: 28px 20px; }
}
