/* ===== ブランドカラー・基本設定 ===== */
:root {
  --orange: #ff8800;
  --orange-deep: #a95000;
  --green: #173f35;
  --ink: #24362f;
  --muted: #626b64;
  --paper: #fffdf9;
  --line: #dedfd7;
  --sans: "Noto Sans JP", sans-serif;
  --serif: "Noto Serif JP", "Yu Mincho", serif;
  --english: Georgia, "Times New Roman", serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body {
  margin: 0; color: var(--ink); background: var(--paper);
  font-family: var(--sans); font-size: 1rem; line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid var(--orange-deep); outline-offset: 6px; }
::selection { color: var(--green); background: #ffd49e; }
.container { width: min(1120px, calc(100% - 96px)); margin-inline: auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; z-index: 100; top: 1rem; left: 1rem;
  padding: 0.75rem 1rem; color: white; background: var(--green); transform: translateY(-200%);
}
.skip-link:focus { transform: translateY(0); }
/* ===== ヘッダー ===== */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; flex-direction: column; gap: 0.25rem; }
.brand-name { color: var(--orange-deep); font-family: var(--english); font-size: clamp(1.2rem, 2vw, 1.7rem); font-weight: 700; letter-spacing: 0.025em; line-height: 1.3; }
.brand-caption { color: var(--muted); font-size: 0.75rem; letter-spacing: 0.06em; }
.header-socials { display: flex; align-items: center; gap: 0.25rem; }
.header-socials a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; font-size: 1.15rem; transition: color 180ms, background-color 180ms; }
.header-socials a:hover { color: var(--orange-deep); background: #fff0dd; }
/* ===== メインビジュアル ===== */
.hero { position: relative; isolation: isolate; background: radial-gradient(ellipse at 100% 0%, rgb(255 136 0 / 20%), transparent 55%), radial-gradient(ellipse at 100% 100%, rgb(23 63 53 / 8%), transparent 45%), var(--paper); }
.hero-inner { min-height: min(760px, 88svh); display: flex; flex-direction: column; justify-content: center; padding-block: clamp(72px, 9vw, 128px); }
.eyebrow { color: var(--orange-deep); font-family: var(--sans); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.17em; line-height: 1.6; }
.hero-eyebrow { display: flex; align-items: center; gap: 1rem; margin-bottom: 2.5rem; }
.hero-eyebrow::before { content: ""; flex: 0 0 42px; height: 2px; background: var(--orange); }
.hero h1 { font-family: var(--serif); font-size: clamp(2.75rem, 6.6vw, 5.6rem); font-weight: 500; line-height: 1.55; letter-spacing: 0.025em; }
.hero h1 > span { display: block; }
.hero h1 strong { font-weight: inherit; text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: 0.2em; }
.hero-subtitle { margin-top: 2rem; font-size: clamp(0.9375rem, 1.6vw, 1.25rem); letter-spacing: 0.08em; }
.hero-bottom { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 2rem; margin-top: 4rem; }
.hero-description { color: var(--muted); line-height: 2; }
.text-link { display: inline-flex; align-items: center; gap: 1rem; font-size: 0.875rem; font-weight: 500; }
.round-arrow { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--green); border-radius: 50%; transition: color 180ms, background-color 180ms; }
.text-link:hover .round-arrow { color: white; background: var(--green); }
.hero-rule { height: 6px; background: linear-gradient(to right, var(--orange) 0 72%, var(--green) 72% 100%); }
/* ===== 共通セクション ===== */
.section { padding-block: clamp(72px, 9vw, 120px); }
.section-heading .eyebrow { margin-bottom: 1.5rem; }
h2 { font-family: var(--serif); font-size: clamp(1.875rem, 3.5vw, 3rem); font-weight: 500; line-height: 1.7; letter-spacing: 0.035em; }
.section-intro { max-width: 660px; margin-top: 1.5rem; color: var(--muted); line-height: 2; }
/* ===== 事業内容 ===== */
.business-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; margin-top: 3.5rem; }
.business-item { padding-top: 1.5rem; border-top: 1px solid var(--green); }
.business-meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: 0.75rem; letter-spacing: 0.07em; }
.business-number { color: var(--orange-deep); font-family: var(--english); font-size: 2rem; line-height: 1; }
.business-item h3 { margin-top: 2.25rem; font-family: var(--serif); font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-weight: 500; line-height: 1.8; }
.business-item > p { margin-top: 1.25rem; color: var(--muted); }
.business-item .business-tags { margin-top: 2rem; padding-top: 1rem; color: var(--green); border-top: 1px solid var(--line); font-size: 0.8125rem; line-height: 1.9; }
/* ===== 会社概要 ===== */
.company { background: #f0f3ef; }
.company-grid { display: grid; grid-template-columns: 0.85fr 1.3fr; align-items: start; gap: 5rem; }
.company-message { margin-top: 2rem; color: var(--green); font-family: var(--serif); font-size: 1.125rem; line-height: 2; }
.company-table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: left; }
.company-table tr { border-bottom: 1px solid #ccd5cd; }
.company-table tr:first-child { border-top: 1px solid var(--green); }
.company-table th, .company-table td { padding: 1.4rem 0; vertical-align: top; font-size: 0.9375rem; overflow-wrap: anywhere; }
.company-table th { width: 28%; padding-right: 1rem; font-weight: 500; }
.company-table td { color: #46584e; }
/* ===== 公式SNS ===== */
.social-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.social-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 3rem; border: 1px solid var(--line); }
.social-card { min-height: 152px; display: flex; align-items: center; flex-wrap: wrap; gap: 0.75rem; padding: 1.5rem; transition: background-color 180ms, color 180ms; }
.social-card + .social-card { border-left: 1px solid var(--line); }
.social-card:hover { color: var(--orange-deep); background: #fff2e1; }
.social-icon { font-size: 1.5rem; }
.social-card > span:not(.visually-hidden) { font-weight: 500; }
.external-icon { margin-left: auto; color: var(--orange-deep); font-size: 0.8rem; }
/* ===== お問い合わせ ===== */
.contact { padding-block: clamp(64px, 8vw, 104px); color: white; background: var(--green); }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 4rem; }
.contact .eyebrow { margin-bottom: 1.5rem; color: #ffb45f; }
.contact h2 { font-size: clamp(1.875rem, 3.3vw, 2.8rem); }
.contact-description { margin-top: 1.5rem; color: #d5dfd9; }
.contact-action { flex: 0 1 340px; }
.contact-button { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 2rem; color: #18362b; background: var(--orange); font-weight: 600; transition: background-color 180ms, transform 180ms; }
.contact-button:hover { background: #ffa52f; transform: translateY(-3px); }
.contact-button:focus-visible { outline-color: white; }
.contact-action > p { margin-top: 1rem; color: #d5dfd9; font-size: 0.8125rem; text-align: center; }
/* ===== フッター ===== */
.site-footer { padding-block: 2rem; }
.footer-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.footer-brand { font-family: var(--english); font-size: 1.25rem; font-weight: 700; letter-spacing: 0.03em; }
.footer-inner small { margin-left: auto; color: var(--muted); font-size: 0.75rem; }
.back-top { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; }
/* ===== タブレット ===== */
@media (max-width: 960px) {
  .container { width: calc(100% - 64px); }
  .business-grid, .company-grid { gap: 2.5rem; }
  .company-grid { grid-template-columns: 1fr 1.4fr; }
  .social-heading { display: block; }
  .social-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .social-card { min-height: 108px; }
  .social-card:nth-child(3) { border-left: 0; }
  .social-card:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .contact-inner { align-items: flex-start; flex-direction: column; gap: 2.5rem; }
  .contact-action { flex: auto; width: min(100%, 420px); }
}
/* ===== スマートフォン ===== */
@media (max-width: 640px) {
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: auto; flex-wrap: wrap; gap: 0.75rem; padding-block: 1.25rem; }
  .header-socials { gap: 0; }
  .hero-inner { min-height: auto; padding-block: 64px 56px; }
  .hero-eyebrow { margin-bottom: 2rem; font-size: 0.75rem; }
  .hero h1 { font-size: clamp(2rem, 7.5vw, 3rem); line-height: 1.75; letter-spacing: 0; }
  .hero-subtitle { max-width: 24em; margin-top: 1.75rem; line-height: 1.9; letter-spacing: 0.02em; }
  .hero-bottom { align-items: flex-start; flex-direction: column; gap: 1.75rem; margin-top: 2.5rem; }
  .business-grid, .company-grid { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
  .business-grid { margin-top: 2.5rem; }
  .business-item h3 { margin-top: 1.5rem; }
  .company-message { margin-top: 1.25rem; }
  .company-table th { width: 26%; }
  .company-table th, .company-table td { font-size: 0.875rem; }
  .social-card { gap: 0.5rem; padding: 1.25rem 1rem; font-size: 0.875rem; }
  .social-icon { font-size: 1.25rem; }
  .contact-button { min-height: 68px; padding-inline: 1.5rem; }
  .footer-inner { gap: 1rem; }
  .footer-brand { flex: 1 1 75%; }
  .footer-inner small { order: 3; width: 100%; margin-left: 0; }
  .back-top { margin-left: auto; }
}
/* 写真と動画 */
figure { margin: 0; }
img, video { display: block; max-width: 100%; }
.hero { background: var(--green); color: white; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(10 29 24 / 78%), rgb(10 29 24 / 36%)); }
.hero .eyebrow { color: #ffc581; }
.hero-description { color: #f3f4ed; }
.hero .round-arrow { border-color: #fff; }
.hero-rule { position: relative; }
.farm-media { margin-top: 64px; }
.experience-photo img { width: 100%; height: auto; }
.youtube-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 40px; }
.youtube-item iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: var(--green); }
.video-link { display: inline-block; padding-block: 12px; color: var(--orange-deep); font-size: .875rem; }
.instagram-reel { width: min(100%, 540px); margin: 48px auto 0; }
.instagram-reel .instagram-media { width: 100% !important; min-width: 0 !important; max-width: 100% !important; margin: 0 !important; }
figcaption { color: var(--muted); margin-top: 12px; font-size: .875rem; }
.company-photo { width: min(100%, 340px); height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 62%; margin-top: 32px; }
.closing-photo img { width: 100%; height: clamp(220px, 32vw, 420px); object-fit: cover; object-position: center 52%; }
video:focus-visible { outline: 3px solid var(--orange-deep); outline-offset: 6px; }
@media (max-width: 640px) {
  .hero-photo { object-position: 60% center; }
  .hero::after { background: rgb(10 29 24 / 60%); }
  .farm-media { margin-top: 40px; }
  .youtube-grid { grid-template-columns: minmax(0, 1fr); }
  .company-photo { width: min(100%, 340px); }
}
/* アニメーションを控える設定に対応 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
