:root {
  --main1: #24593A;
  --main2: #F6F3EA;
  --main3: #FFFFFF;
  --sub1: #C9CFC1;
  --sub2: #4E5D52;
  --sub3: #E4EEDF;
  --accent: #EC0409;
  --accent-hover: #C80308;
  --overlay: rgba(36, 89, 58, 0.8);
  --tbd: #FFF1B8;
  --radius-lg: 24px;
  --radius: 12px;
  --wrap: 1120px;
  --font-body: "Noto Sans JP", sans-serif;
  --font-head: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  --font-en: "Poppins", "Noto Sans JP", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--main3);
  color: var(--main1);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.tbd { background: var(--tbd); padding: 0 4px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- photo frames (shows a label until the image file is added) ---------- */
.ph { position: relative; overflow: hidden; background: var(--sub3); border-radius: var(--radius); }
.ph::after {
  content: attr(data-label);
  position: absolute; inset: 0;
  display: grid; place-items: center;
  padding: 8px; text-align: center;
  font-size: 12px; line-height: 1.5; color: var(--sub2);
}
.ph img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 28px;
  border-radius: 999px; border: 1px solid var(--sub2);
  font-weight: 500; font-size: 15px; text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--main1); border-color: var(--main1); color: var(--main3); }
.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--main3); }
.btn--accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn--light { border-color: var(--main3); color: var(--main3); }
.btn--light:hover { background: var(--main3); color: var(--main1); }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 46px; width: auto; }
.logo__ja { font-family: var(--font-head); font-weight: 700; font-size: 26px; letter-spacing: 0.12em; }
.logo__en { font-family: var(--font-en); font-size: 11px; letter-spacing: 0.2em; color: var(--sub2); }
.nav ul { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-size: 14px; }
.nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 6px; }
.nav__en { font-family: var(--font-en); font-weight: 500; letter-spacing: 0.08em; }
.nav .btn { min-height: 42px; padding: 0 20px; font-size: 14px; }
.menu-btn { display: none; }

/* ---------- hero ---------- */
.hero { padding: 8px 0 0; }
.hero__panel {
  position: relative; overflow: hidden;
  min-height: 680px; padding: 56px;
  background: var(--main2); border-radius: var(--radius-lg);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero__title {
  position: relative; z-index: 2;
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(26px, 7vw, 64px); line-height: 1.4; letter-spacing: 0.04em;
}
.hero__lead { position: relative; z-index: 2; margin-top: 20px; font-size: clamp(15px, 1.8vw, 19px); font-weight: 500; letter-spacing: 0.08em; }
.hero__photos .ph { position: absolute; box-shadow: 0 10px 30px rgba(36, 89, 58, 0.12); animation: float 9s ease-in-out infinite; }
.hero__photos .p1 { width: 22%; aspect-ratio: 4 / 3; top: 7%; left: 29%; }
.hero__photos .p2 { width: 14%; aspect-ratio: 3 / 4; top: 6%; right: 5%; animation-delay: -2s; }
.hero__photos .p3 { width: 16%; aspect-ratio: 4 / 3; top: 17%; left: 5%; animation-delay: -4s; }
.hero__photos .p4 { width: 17%; aspect-ratio: 4 / 3; top: 44%; right: 5%; animation-delay: -6s; }
.hero__photos .p5 { width: 14%; aspect-ratio: 4 / 3; bottom: 6%; right: 5%; animation-delay: -1s; }
.hero__photos .p6 { width: 12%; aspect-ratio: 1 / 1; top: 10%; left: 56%; animation-delay: -5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .hero__photos .ph { animation: none; } html { scroll-behavior: auto; } }

/* ---------- sections ---------- */
.section { padding: 120px 0 0; }
.label { display: flex; align-items: baseline; gap: 16px; margin-bottom: 24px; }
.label__en { font-family: var(--font-en); font-weight: 500; font-size: clamp(32px, 4.5vw, 52px); line-height: 1; letter-spacing: 0.02em; }
.label__ja { font-size: 14px; color: var(--sub2); white-space: nowrap; }
.label__ja::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--main1); vertical-align: middle; }
.heading { font-family: var(--font-head); font-weight: 700; font-size: clamp(24px, 3.2vw, 36px); line-height: 1.6; letter-spacing: 0.06em; }
.body p + p { margin-top: 1.4em; }

.panel { background: var(--main2); border-radius: var(--radius-lg); padding: clamp(32px, 6vw, 80px); }

/* about */
.about { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.about .heading { margin-bottom: 32px; }
.about__photos { position: relative; aspect-ratio: 1 / 1.05; }
.about__photos .ph { position: absolute; }
.about__photos .a1 { width: 78%; aspect-ratio: 4 / 3; top: 0; right: 0; }
.about__photos .a2 { width: 58%; aspect-ratio: 4 / 3; bottom: 0; left: 0; border: 6px solid var(--main2); }

/* message */
.message { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 64px; align-items: start; }
.message .ph { aspect-ratio: 4 / 5; max-width: 320px; border-radius: var(--radius-lg); }
.message .heading { margin-bottom: 32px; }
.message__sign { margin-top: 32px; text-align: right; font-family: var(--font-head); font-weight: 500; }
.message__sign small { display: block; font-size: 13px; color: var(--sub2); }

/* service */
.services { display: grid; gap: 24px; margin-top: 48px; }
.service {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center;
  padding: 32px; background: var(--main2); border-radius: var(--radius-lg);
}
.service .ph { aspect-ratio: 16 / 10; }
.service__no { font-family: var(--font-en); font-weight: 500; font-size: 15px; color: var(--sub2); }
.service__title { font-family: var(--font-head); font-weight: 700; font-size: clamp(20px, 2.4vw, 24px); line-height: 1.6; margin: 8px 0 16px; }
.service:nth-child(even) .ph { order: 2; }

/* case */
.case { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; margin-top: 48px; padding: 32px; background: var(--main2); border-radius: var(--radius-lg); }
.case .ph { aspect-ratio: 4 / 3; }
.tag { display: inline-block; padding: 2px 14px; border-radius: 999px; background: var(--main3); font-size: 13px; }
.case__title { font-family: var(--font-head); font-weight: 700; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.6; margin: 12px 0; }
.case__lead { color: var(--sub2); }
.case dl { margin-top: 24px; border-top: 1px solid var(--sub1); }
.case dl > div { display: grid; grid-template-columns: 7em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--sub1); }
.case dt { font-weight: 500; }

/* company */
.company { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 48px; }
.company-table > div { display: grid; grid-template-columns: 7em 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--sub1); }
.company-table > div:first-child { border-top: 1px solid var(--sub1); }
.company-table dt { color: var(--sub2); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start; }
.stat { padding: 24px; background: var(--main2); border-radius: var(--radius); }
.stat__label { font-weight: 500; }
.stat__desc { font-size: 13px; line-height: 1.6; color: var(--sub2); }
.stat__num { margin-top: 12px; font-family: var(--font-en); font-weight: 500; font-size: 48px; line-height: 1; }
.stat__num small { margin-left: 4px; font-family: var(--font-body); font-size: 15px; color: var(--sub2); }
.note { margin-top: 12px; font-size: 12px; color: var(--sub2); }

/* farmers */
.farmers { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; background: var(--main1); color: var(--main3); border-radius: var(--radius-lg); }
.farmers .ph { border-radius: 0; min-height: 360px; }
.farmers__text { padding: clamp(32px, 6vw, 72px); display: flex; flex-direction: column; justify-content: center; }
.farmers .label__ja { color: var(--sub3); }
.farmers .label__ja::before { background: var(--main3); }
.farmers .label { flex-direction: column; gap: 6px; }
.farmers .heading { margin-bottom: 24px; }
.farmers .btn { margin-top: 32px; align-self: flex-start; }

/* contact */
.contact { text-align: center; }
.contact .label { justify-content: center; }
.contact .heading { margin-bottom: 24px; }
.contact__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 40px; }
.contact__tel { margin-top: 20px; font-size: 14px; color: var(--sub2); }

/* ---------- footer ---------- */
.footer { margin-top: 120px; padding: 64px 0 32px; background: var(--main1); color: var(--main3); }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer__name { display: flex; align-items: center; gap: 16px; font-family: var(--font-head); font-weight: 700; font-size: 22px; letter-spacing: 0.1em; }
.footer__logo { height: 40px; width: auto; }
.footer__info { margin-top: 12px; font-size: 14px; line-height: 1.9; }
.footer__nav ul { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.footer__nav a { text-decoration: none; font-size: 14px; letter-spacing: 0.06em; }
.footer__nav a:hover { text-decoration: underline; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.25); font-size: 12px; }
.footer .tbd { color: var(--main1); }

/* ---------- sub pages ---------- */
.page-head { padding: 64px 0 40px; }
.page-head .heading { margin-top: 8px; }
.form-wrap { padding: 32px; background: var(--main2); border-radius: var(--radius-lg); }
.form-placeholder { display: grid; place-items: center; min-height: 420px; padding: 24px; border: 2px dashed var(--sub1); border-radius: var(--radius); background: var(--main3); text-align: center; color: var(--sub2); }
.form-wrap iframe { display: block; width: 100%; max-width: 760px; height: 1000px; margin: 0 auto; border: 0; border-radius: var(--radius); background: var(--main3); }
.order-box { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 32px; }
.order-box > div { padding: 24px; border: 1px solid var(--sub1); border-radius: var(--radius); }
.order-box h2 { font-size: 16px; font-weight: 500; margin-bottom: 8px; }
.prose h2 { font-family: var(--font-head); font-size: 20px; margin: 40px 0 12px; }
.prose ol, .prose ul.dots { padding-left: 1.4em; }
.prose ul.dots { list-style: disc; }
.prose li + li { margin-top: 4px; }
.center { text-align: center; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav { position: fixed; inset: 72px 0 auto 0; background: var(--main3); padding: 24px 16px 32px; border-bottom: 1px solid var(--sub1); display: none; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav a:not(.btn) { display: block; padding: 12px 4px; font-size: 16px; }
  .nav .btn { margin-top: 12px; width: 100%; }
  .menu-btn {
    display: grid; place-items: center; width: 48px; height: 48px;
    background: none; border: 0; padding: 0; cursor: pointer; color: var(--main1);
  }
  .menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s; }
  .menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
  .menu-btn span::before { top: -7px; }
  .menu-btn span::after { top: 7px; }
  .menu-btn[aria-expanded="true"] span { background: transparent; }
  .menu-btn[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

  .hero__panel { min-height: 0; padding: 24px 24px 40px; }
  .hero__photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 32px; }
  .hero__photos .ph { position: relative; inset: auto; width: auto; aspect-ratio: 1 / 1; animation: none; box-shadow: none; }
  .hero__photos .p4, .hero__photos .p5, .hero__photos .p6 { display: none; }

  .section { padding-top: 88px; }
  .about, .message, .company, .farmers, .case { grid-template-columns: 1fr; gap: 32px; }
  .about__photos { aspect-ratio: 1 / 0.9; }
  .message .ph { width: 72%; max-width: 300px; }
  .logo img { height: 38px; }
  .service { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
  .service:nth-child(even) .ph { order: 0; }
  .case { padding: 20px; }
  .farmers .ph { min-height: 240px; }
  .order-box { grid-template-columns: 1fr; }
  .form-wrap { padding: 16px; }
  .form-wrap iframe { height: 1150px; }
}
@media (max-width: 480px) {
  .label { flex-direction: column; gap: 4px; }
  .contact .label { align-items: center; }
  .stats { grid-template-columns: 1fr; }
  .company-table > div, .case dl > div { grid-template-columns: 1fr; gap: 2px; }
  .contact__actions .btn { width: 100%; }
}

a[href^="tel:"] { white-space: nowrap; }
.nowrap { white-space: nowrap; }

/* ---------- contact form ---------- */
.contact-form { max-width: 760px; margin: 0 auto; padding: clamp(8px, 3vw, 24px); }
.field { margin: 0 0 24px; padding: 0; border: 0; min-width: 0; }
.field__label { display: block; margin-bottom: 8px; padding: 0; font-weight: 500; }
.req, .opt { display: inline-block; margin-left: 8px; padding: 0 8px; border-radius: 4px; font-size: 12px; font-weight: 500; vertical-align: 2px; }
.req { background: var(--accent); color: var(--main3); }
.opt { background: var(--sub3); color: var(--sub2); }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="tel"], .contact-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--sub1); border-radius: 8px;
  background: var(--main3); color: var(--main1); font: inherit; font-size: 16px;
}
.contact-form textarea { resize: vertical; min-height: 160px; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--main1); outline-offset: 1px; border-color: var(--main1); }
.choice { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; }
.choice input { width: 18px; height: 18px; accent-color: var(--main1); flex: none; }
.field__error { display: none; margin-top: 6px; font-size: 13px; color: var(--accent); }
.has-error .field__error { display: block; }
.has-error input[type="text"], .has-error input[type="email"], .has-error input[type="tel"], .has-error textarea { border-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.turnstile { display: flex; justify-content: center; min-height: 70px; margin: 8px 0 12px; }
.form-status { min-height: 1.6em; margin-bottom: 12px; text-align: center; font-size: 14px; color: var(--sub2); }
.form-status.is-error { color: var(--accent); }
.btn--submit { min-width: 240px; cursor: pointer; }
.btn--submit:disabled { opacity: 0.5; cursor: not-allowed; }
.form-done { padding: 48px 16px; text-align: center; }
.form-done .heading { margin-bottom: 16px; }
button.btn { font: inherit; font-weight: 500; }
