/*
Theme Name: Smile Link LP 農業特化
Theme URI: https://smile-l.co.jp
Author: SMILE LINK Solutions
Description: 株式会社スマイルリンク・ソリューションズ コーポレートLP用テーマ（制作会社デザインハンドオフを移植）
Version: 1.33
Text Domain: smile-link-lp
*/

/* ===================================
   SMILE LINK - Landing Page Styles
   =================================== */

/* --- 追加分（2026-09-26 改訂版で新規に増えたクラス。元CSSに定義が無かったため
   既存のデザイントークンに合わせて追加） --- */
.industries-consultation {
  max-width: 640px;
  margin: 40px auto 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-mid);
}

.optional-services {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--text-mid);
}
.optional-services li {
  position: relative;
  padding-left: 16px;
}
.optional-services li + li {
  margin-top: 6px;
}
.optional-services li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
}

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

:root {
  --primary: #F5A623;
  --primary-dark: #E89012;
  --primary-light: #FFF5E1;
  --text-dark: #2A2A2A;
  --text-mid: #555555;
  --text-light: #7A7A7A;
  --bg-white: #FFFFFF;
  --bg-cream: #FAFAF7;
  --bg-gray: #F4F4F0;
  --border: #E8E8E4;
  --border-light: #F0F0EC;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.06);
  --shadow-lg: 0 20px 48px rgba(0,0,0,0.08);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Yu Gothic', sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.75;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

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

.accent { color: var(--primary); }

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========== Header =========== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(255,255,255,0.97);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 88px;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: auto;
  height: 56px;
}
.logo-img {
  height: 56px !important;
  width: auto !important;
  max-height: 56px;
  display: block;
  object-fit: contain;
}
.nav {
  display: flex;
  gap: 28px;
}
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  position: relative;
  padding: 4px 0;
}
.nav a:hover { color: var(--primary); }
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.nav a:hover::after { transform: scaleX(1); }
.header-cta {
  background: var(--primary);
  color: white;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: all .2s ease;
}
.header-cta:hover { background: var(--primary-dark); transform: translateY(-1px); }

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  transition: all .3s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========== Hero =========== */
.hero {
  position: relative;
  padding: 140px 0 100px;
  background: var(--bg-cream);
  overflow: hidden;
}
.hero-bg-shape {
  position: absolute;
  top: 0; left: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.06), rgba(245, 166, 35, 0.01));
  clip-path: polygon(0 0, 100% 0, 70% 100%, 0 100%);
  z-index: 0;
}
.hero::before {
  content: '';
  position: absolute;
  top: 20%;
  left: -60px;
  width: 200px;
  height: 200px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.08;
  filter: blur(60px);
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  padding: 6px 16px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 999px;
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  color: var(--text-dark);
}
.hero-lead {
  font-size: 17px;
  color: var(--text-mid);
  margin-bottom: 40px;
  line-height: 2;
}
.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition: all .25s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 8px 20px rgba(245, 166, 35, 0.25);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(245, 166, 35, 0.35);
}
.btn-secondary {
  background: white;
  color: var(--text-dark);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}
.btn-large {
  padding: 20px 48px;
  font-size: 17px;
}

.hero-visual {
  position: relative;
}
.hero-image-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #FFE9C4 0%, #FFF5E1 100%);
  box-shadow: var(--shadow-lg);
}
.hero-image-frame::before {
  content: '';
  position: absolute;
  top: -20px; right: -20px;
  width: 120px; height: 120px;
  border: 3px solid var(--primary);
  border-radius: var(--radius-md);
  z-index: -1;
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: white;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--border-light);
}
.hero-badge-num {
  font-size: 42px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.hero-badge-num span {
  font-size: 14px;
  color: var(--text-dark);
  font-weight: 700;
}
.hero-badge-text {
  font-size: 13px;
  color: var(--text-mid);
  font-weight: 500;
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text-light);
  z-index: 2;
}
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: var(--text-light);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 100%;
  background: var(--primary);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { top: -100%; }
  100% { top: 100%; }
}

/* =========== Section Head =========== */
.section-head {
  text-align: center;
  margin-bottom: 60px;
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-eyebrow .line {
  width: 30px;
  height: 1px;
  background: var(--primary);
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 15px;
  color: var(--text-mid);
  max-width: 620px;
  margin: 0 auto;
  line-height: 2;
}

/* =========== Strengths =========== */
.strengths {
  padding: 80px 0;
  background: white;
  position: relative;
  z-index: 2;
  margin-top: -40px;
}
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 48px 24px;
}
.strength-card {
  text-align: center;
  padding: 12px 20px;
  border-right: 1px solid var(--border-light);
  transition: transform .3s ease;
}
.strength-card:last-child { border-right: none; }
.strength-card:hover { transform: translateY(-4px); }
.strength-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.strength-icon svg { width: 44px; height: 44px; }
.strength-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}
.strength-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.9;
}

/* =========== Problems =========== */
.problems {
  padding: 100px 0;
  background: var(--bg-cream);
}
.problems-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.problem-card {
  background: white;
  padding: 32px 20px;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid var(--border-light);
  transition: all .3s ease;
}
.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.problem-icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  color: var(--primary);
}
.problem-icon svg { width: 100%; height: 100%; }
.problem-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
}
.problem-card p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.85;
}
.problems-arrow {
  text-align: center;
  padding: 24px;
  background: white;
  border-radius: var(--radius-md);
  border: 2px dashed var(--primary);
  color: var(--primary);
  font-weight: 700;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* =========== Service =========== */
.service { padding: 100px 0; background: white; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  transition: all .3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.service-num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 34px;
  font-weight: 900;
  color: var(--primary);
  opacity: 0.25;
  letter-spacing: -0.02em;
  z-index: 1;
}
.service-image {
  padding: 32px 24px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}
.service-image-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFE9C4, #FFF5E1);
  color: var(--primary);
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  display: block;
  background: linear-gradient(135deg, #FFE9C4, #FFF5E1);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}
.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  padding: 16px 24px 12px;
  text-align: center;
}
.service-card p {
  font-size: 13.5px;
  color: var(--text-mid);
  padding: 0 24px 28px;
  line-height: 1.9;
  text-align: center;
}

/* =========== Reason =========== */
.reason {
  padding: 100px 0;
  background: var(--bg-cream);
  position: relative;
}
.reason-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.reason-card {
  background: white;
  padding: 40px 28px;
  border-radius: var(--radius-md);
  text-align: center;
  transition: all .3s ease;
  border-top: 3px solid transparent;
}
.reason-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--primary);
}
.reason-icon {
  width: 88px; height: 88px;
  margin: 0 auto 24px;
  background: var(--primary-light);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-8deg);
  transition: transform .3s ease;
}
.reason-icon svg { width: 48px; height: 48px; transform: rotate(8deg); }
.reason-card:hover .reason-icon { transform: rotate(0deg); }
.reason-card:hover .reason-icon svg { transform: rotate(0deg); }
.reason-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
}
.reason-card p {
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.9;
}

/* =========== Flow =========== */
.flow { padding: 100px 0; background: white; }
.flow-track {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  position: relative;
}
.flow-track::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--primary) 10%, var(--primary) 90%, transparent);
  z-index: 0;
}
.flow-step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.flow-num {
  display: inline-block;
  font-size: 14px;
  font-weight: 900;
  color: white;
  background: var(--primary);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.flow-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 20px;
  background: white;
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.flow-icon::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: var(--primary-light);
  z-index: -1;
  opacity: 0;
  transition: opacity .3s ease;
}
.flow-step:hover .flow-icon::after { opacity: 1; }
.flow-icon svg { width: 44px; height: 44px; }
.flow-step h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}
.flow-step p {
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.8;
  padding: 0 4px;
}

/* =========== Industries =========== */
.industries { padding: 100px 0; background: var(--bg-cream); }
.industries-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}
.industry-item {
  background: white;
  padding: 24px 12px;
  border-radius: var(--radius-md);
  text-align: center;
  transition: all .3s ease;
  border: 1px solid var(--border-light);
}
.industry-item:hover {
  transform: translateY(-4px);
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}
.industry-item:hover span { color: white; }
.industry-item:hover .industry-icon svg { stroke: white; }
.industry-icon {
  width: 56px; height: 56px;
  margin: 0 auto 12px;
}
.industry-icon svg { width: 100%; height: 100%; transition: stroke .3s ease; }
.industry-item span {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  transition: color .3s ease;
}

/* =========== Price =========== */
.price { padding: 100px 0; background: white; }
.price-table-wrap {
  max-width: 780px;
  margin: 0 auto;
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.price-table thead th {
  background: var(--text-dark);
  color: white;
  padding: 18px 28px;
  font-weight: 700;
  font-size: 15px;
  text-align: left;
}
.price-table thead th:last-child {
  background: var(--primary);
}
.price-table tbody td {
  padding: 22px 28px;
  border-bottom: 1px solid var(--border-light);
  font-size: 15px;
}
.price-table tbody td:first-child {
  font-weight: 700;
  color: var(--text-dark);
  background: var(--bg-cream);
  width: 45%;
}
.price-table tbody td strong {
  color: var(--primary);
  font-size: 20px;
  font-weight: 900;
  margin-right: 4px;
}
.price-table tbody tr:last-child td { border-bottom: none; }
.price-note {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 16px;
  text-align: right;
}

/* =========== FAQ =========== */
.faq { padding: 100px 0; background: var(--bg-cream); }
.faq-container { max-width: 860px; }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: box-shadow .3s ease;
}
.faq-item[open] {
  box-shadow: var(--shadow-sm);
  border-color: var(--primary);
}
.faq-item summary {
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  list-style: none;
  transition: background .2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--bg-cream); }
.faq-q, .faq-a {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 15px;
}
.faq-q { background: var(--primary); color: white; }
.faq-a { background: var(--text-dark); color: white; }
.faq-question {
  flex: 1;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-dark);
}
.faq-toggle {
  flex-shrink: 0;
  color: var(--primary);
  transition: transform .3s ease;
}
.faq-toggle svg { width: 20px; height: 20px; }
.faq-item[open] .faq-toggle { transform: rotate(180deg); }
.faq-answer {
  padding: 4px 28px 24px 84px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  animation: fadeIn .3s ease;
}
.faq-answer .faq-a {
  margin-left: -64px;
}
.faq-answer p {
  color: var(--text-mid);
  font-size: 14.5px;
  line-height: 2;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========== News =========== */
.news { padding: 100px 0; background: white; }
.news-list {
  max-width: 860px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}
.news-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 8px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  transition: background .2s ease;
}
.news-item:hover { background: var(--bg-cream); }
.news-date {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.02em;
  min-width: 90px;
}
.news-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--primary);
  color: white;
  letter-spacing: 0.05em;
  min-width: 68px;
  text-align: center;
}
.news-tag.tag-event { background: #4A90E2; }
.news-tag.tag-media { background: #7B7B7B; }
.news-title {
  flex: 1;
  min-width: 240px;
  font-size: 14.5px;
  color: var(--text-mid);
  text-decoration: none;
  display: inline-block;
  line-height: 1.8;
  transition: color .2s ease;
}
.news-title:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* =========== CTA Banner =========== */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, #2A2A2A 0%, #3A3A3A 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.15;
  filter: blur(80px);
}
.cta-banner-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.cta-banner-eyebrow {
  font-size: 12px;
  color: var(--primary);
  letter-spacing: 0.2em;
  margin-bottom: 12px;
  font-weight: 500;
}
.cta-banner-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.cta-banner-content > p {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
}
.cta-banner-actions {
  display: flex;
  gap: 20px;
}
.cta-contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 18px 24px;
  border-radius: var(--radius-md);
  transition: all .3s ease;
}
.cta-contact-item:hover {
  background: rgba(245, 166, 35, 0.15);
  border-color: var(--primary);
  transform: translateY(-2px);
}
.cta-contact-icon {
  width: 44px; height: 44px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cta-contact-item strong {
  display: block;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: white;
}
.cta-contact-item small {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-top: 2px;
  display: block;
}

/* =========== Contact Form =========== */
.contact { padding: 100px 0; background: var(--bg-cream); }
.contact-container { max-width: 780px; }
.contact-form {
  background: white;
  padding: 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}
.form-row {
  margin-bottom: 24px;
}
.form-row label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}
.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.required {
  font-size: 10px;
  background: var(--primary);
  color: white;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
  display: inline-block;
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  background: var(--bg-cream);
  transition: all .2s ease;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.1);
}
.form-row textarea {
  resize: vertical;
  min-height: 140px;
  font-family: inherit;
  line-height: 1.8;
}
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.checkbox-item {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin: 0 !important;
  padding: 10px 20px;
  background: var(--bg-cream);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: all .2s ease;
  font-weight: 500 !important;
  font-size: 14px !important;
}
.checkbox-item:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.checkbox-item input {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  cursor: pointer;
}
.checkbox-item input:checked + span {
  color: var(--primary);
}
.form-privacy .checkbox-item {
  border: none;
  background: transparent;
  padding: 0;
}
.form-privacy .checkbox-item:hover { color: inherit; }
.form-submit {
  text-align: center;
  margin-top: 32px;
}
.form-success {
  text-align: center;
  padding: 40px 20px;
}
.form-success svg { margin: 0 auto 20px; }
.form-success h3 {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 12px;
}
.form-success p {
  color: var(--text-mid);
}

/* =========== Footer =========== */
.footer {
  background: #1F1F1F;
  color: rgba(255,255,255,0.75);
  padding: 80px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  padding-bottom: 60px;
}
.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  height: 36px;
}
.footer-logo-img {
  height: 36px !important;
  width: auto !important;
  max-height: 36px;
  display: block;
  object-fit: contain;
}
.footer-company {
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
  font-size: 14px;
}
.footer-address {
  font-size: 13px;
  line-height: 1.9;
  color: rgba(255,255,255,0.6);
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-col h4 {
  font-weight: 700;
  color: white;
  margin-bottom: 18px;
  font-size: 14px;
  letter-spacing: 0.05em;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col a {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  transition: color .2s ease;
}
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-license {
  display: flex;
  gap: 24px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
}
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

/* =========== Back to Top =========== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all .3s ease;
  z-index: 50;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-4px);
}

/* =========== Responsive =========== */
@media (max-width: 1024px) {
  .service-grid,
  .reason-grid,
  .problems-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .industries-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .flow-track {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 12px;
  }
  .flow-track::before { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  html { scroll-padding-top: 84px; }
  .header-inner { height: 72px; gap: 16px; }
  .logo { height: 48px; }
  .logo-img { height: 48px !important; max-height: 48px; }
  .nav {
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: white;
    flex-direction: column;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    border-bottom: 1px solid transparent;
    transition: max-height .3s ease, border-color .3s ease;
  }
  .nav.is-open {
    max-height: 400px;
    border-bottom-color: var(--border);
  }
  .nav a {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-light);
    font-size: 15px;
  }
  .nav a::after { display: none; }
  .header-cta { display: none; }
  .menu-toggle { display: flex; }

  .hero { padding: 100px 0 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-title { text-align: center; }
  .hero-content { text-align: center; }
  .hero-cta-group { justify-content: center; }
  .hero-lead br { display: none; }
  .hero-scroll { display: none; }
  .hero-badge { bottom: -12px; left: 12px; padding: 14px 18px; }
  .hero-badge-num { font-size: 32px; }

  .strengths { padding: 40px 0 60px; }
  .strengths-grid {
    grid-template-columns: 1fr;
    padding: 32px 20px;
    gap: 0;
  }
  .strength-card {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding: 28px 8px;
  }
  .strength-card:last-child { border-bottom: none; }

  .problems, .service, .reason, .flow, .industries, .price, .faq, .news, .contact {
    padding: 70px 0;
  }
  .section-head { margin-bottom: 44px; }
  .problems-grid,
  .service-grid,
  .reason-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .flow-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;
  }
  .flow-icon { width: 76px; height: 76px; }
  .flow-icon svg { width: 36px; height: 36px; }

  .price-table thead { display: none; }
  .price-table tbody tr {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
  }
  .price-table tbody tr:last-child { border-bottom: none; }
  .price-table tbody td {
    display: block;
    padding: 6px 20px;
    border: none;
  }
  .price-table tbody td:first-child {
    background: transparent;
    padding-top: 12px;
    width: auto;
  }

  .faq-item summary { padding: 18px 20px; gap: 14px; }
  .faq-q, .faq-a { width: 30px; height: 30px; font-size: 13px; }
  .faq-question { font-size: 14.5px; }
  .faq-answer { padding: 4px 20px 20px 64px; gap: 14px; }
  .faq-answer .faq-a { margin-left: -50px; }

  .news-item { padding: 20px 0; gap: 12px; }
  .news-title { flex-basis: 100%; }

  .cta-banner-inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .cta-banner-actions { flex-direction: column; }
  .cta-contact-item { justify-content: center; }

  .contact-form { padding: 32px 24px; }
  .form-row-2col { grid-template-columns: 1fr; gap: 0; }
  .form-row-2col > div { margin-bottom: 24px; }
  .btn-large { padding: 16px 32px; font-size: 15px; }

  .footer { padding: 60px 0 0; }
  .footer-inner { padding-bottom: 40px; }
  .footer-cols { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; text-align: left; }

  .back-to-top { bottom: 20px; right: 20px; width: 44px; height: 44px; }
}

@media (max-width: 480px) {
  .problems-grid,
  .service-grid,
  .reason-grid,
  .flow-track,
  .industries-grid {
    grid-template-columns: 1fr;
  }
  .hero-title { font-size: 2rem; }
  .section-title { font-size: 1.5rem; }
}

/* --- Contact Form 7 用の追加スタイル（実際に生成されるマークアップに合わせて調整） --- */
.contact-form .wpcf7-form-control-wrap {
  display: block;
}
.contact-form .wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: #E85A5A;
}

/* お問い合わせ種別（チェックボックス群）をピル型に */
.checkbox-group .wpcf7-form-control.wpcf7-checkbox {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.checkbox-group .wpcf7-list-item {
  margin: 0;
}
.checkbox-group .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--bg-cream);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: all .2s ease;
  font-weight: 500;
  font-size: 14px;
}
.checkbox-group .wpcf7-list-item label:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.checkbox-group .wpcf7-list-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  cursor: pointer;
}

/* プライバシーポリシー同意チェック */
.form-privacy .wpcf7-list-item label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
}
.form-privacy .wpcf7-list-item-label {
  white-space: nowrap;
}

/* 送信ボタン（CF7は<input type="submit">を生成するためアイコンは省略） */
.form-submit input.wpcf7-submit {
  border: none;
}
.wpcf7-spinner {
  margin-left: 10px;
}

/* CF7標準の完了/エラーメッセージ */
.wpcf7-response-output {
  margin: 20px 0 0 !important;
  padding: 14px 18px !important;
  border-radius: var(--radius-sm);
  font-size: 14px;
  border: 1.5px solid var(--border) !important;
}
.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.unaccepted .wpcf7-response-output,
.wpcf7-form.spam .wpcf7-response-output,
.wpcf7-form.aborted .wpcf7-response-output {
  border-color: #E85A5A !important;
  color: #E85A5A;
  background: #FFF3F3;
}
/* 送信成功時は独自の.form-successを表示するので、CF7標準メッセージは隠す */
.wpcf7-form.sent .wpcf7-response-output {
  display: none;
}

/* --- お知らせ 記事詳細ページ (single.php) --- */
.news-single {
  background: var(--bg-cream);
  padding: 160px 0 100px; /* 固定ヘッダー分の余白を確保 */
}
.news-single-container {
  max-width: 780px;
}
.news-single-article {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  padding: 48px;
}
.news-single-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.news-single-title {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 900;
  line-height: 1.5;
  color: var(--text-dark);
  margin-bottom: 28px;
}
.news-single-thumb {
  margin-bottom: 32px;
}
.news-single-thumb img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
}
.news-single-body {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.9;
}
.news-single-body p {
  margin-bottom: 1.4em;
}
.news-single-body h2 {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text-dark);
  margin: 1.6em 0 0.8em;
}
.news-single-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 1.4em 0 0.6em;
}
.news-single-body a {
  color: var(--primary);
  text-decoration: underline;
}
.news-single-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}
.news-single-body ul,
.news-single-body ol {
  margin: 0 0 1.4em 1.4em;
}
.news-single-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
  transition: color .2s ease;
}
.news-single-back:hover {
  color: var(--primary);
}

@media (max-width: 768px) {
  .news-single {
    padding: 130px 0 70px;
  }
  .news-single-article {
    padding: 32px 24px;
  }
}

/* --- お知らせ一覧へのリンク --- */
.news-more {
  text-align: center;
  margin-top: 32px;
}

/* --- お知らせ一覧ページ (home.php) --- */
.news-archive {
  background: var(--bg-cream);
  padding: 160px 0 100px;
}
.news-archive-container {
  max-width: 860px;
}
.news-archive .news-list {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  padding: 8px 32px;
}
.news-pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 36px;
}
.news-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: white;
  color: var(--text-mid);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s ease;
}
.news-pagination .page-numbers:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.news-pagination .page-numbers.current {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}
.news-pagination .page-numbers.dots {
  border: none;
  background: none;
}

@media (max-width: 768px) {
  .news-archive {
    padding: 130px 0 70px;
  }
  .news-archive .news-list {
    padding: 4px 16px;
  }
}

/* =========== 特定技能 農業 6か月短期雇用（固定ページ埋め込みセクション） =========== */
.agri-feature {
  --agri-green: #4C9A3C;
  --agri-green-dark: #2F6F2B;
  --agri-green-light: #EAF5E1;
  --agri-line: #D3E6C3;
  position: relative;
  overflow: hidden;
  padding: 90px 0 200px;
  background: linear-gradient(180deg, #E3F1D6 0%, #F2F9EA 48%, #FAFAF7 100%);
  border-top: 1px solid var(--agri-line);
}
.agri-feature--page {
  padding-top: 150px; /* 固定ヘッダー分 */
}
/* 右上の太陽 */
.agri-feature::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -90px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,166,35,.32) 0%, rgba(245,166,35,.12) 42%, rgba(245,166,35,0) 70%);
  pointer-events: none;
}
/* 下部の丘 */
.agri-feature::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 170px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 170' preserveAspectRatio='none'%3E%3Cpath d='M0 95 C240 40 480 40 720 82 S1200 135 1440 72 V170 H0Z' fill='%23CFE8B8' fill-opacity='.6'/%3E%3Cpath d='M0 125 C300 72 600 72 900 108 S1260 146 1440 104 V170 H0Z' fill='%239CCF78' fill-opacity='.55'/%3E%3Cpath d='M0 152 C360 114 720 124 1080 144 S1380 156 1440 140 V170 H0Z' fill='%236BAE52' fill-opacity='.5'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
  pointer-events: none;
}
.agri-feature > .container {
  position: relative;
  z-index: 1;
}

/* --- 見出しまわり --- */
.agri-head {
  text-align: center;
  margin-bottom: 44px;
}
.agri-badge {
  display: inline-block;
  padding: 7px 18px;
  border-radius: 999px;
  background: var(--agri-green);
  color: white;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 22px;
  box-shadow: 0 4px 12px rgba(76,154,60,.3);
}
.agri-voice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  max-width: 760px;
  margin: 0 auto 22px;
}
.agri-avatar {
  flex: 0 0 auto;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--agri-green);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.agri-avatar svg {
  display: block;
  width: 100%;
  height: 100%;
}
.agri-bubble {
  position: relative;
  background: white;
  border: 2.5px solid var(--agri-green);
  border-radius: 20px;
  padding: 16px 24px;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.7;
  color: var(--text-dark);
  text-align: left;
  box-shadow: var(--shadow-sm);
}
.agri-bubble::before,
.agri-bubble::after {
  content: "";
  position: absolute;
  top: 50%;
  border-style: solid;
  border-color: transparent;
}
.agri-bubble::before {
  left: -17px;
  margin-top: -10px;
  border-width: 10px 15px 10px 0;
  border-right-color: var(--agri-green);
}
.agri-bubble::after {
  left: -12px;
  margin-top: -8px;
  border-width: 8px 12px 8px 0;
  border-right-color: white;
}
.agri-title {
  font-size: clamp(1.7rem, 3.6vw, 2.8rem);
  font-weight: 900;
  line-height: 1.5;
  margin-bottom: 20px;
}
.agri-nowrap {
  display: inline-block;
  white-space: nowrap;
}
.agri-brand {
  color: var(--agri-green-dark);
}
.agri-mark {
  font-style: normal;
  background: linear-gradient(transparent 60%, #FFD98A 60%);
  padding: 0 0.08em;
}
.agri-lead {
  max-width: 700px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 2;
  color: var(--text-mid);
}

/* --- 1年のうち6か月（図解） --- */
.agri-timeline {
  background: white;
  border: 1px solid var(--agri-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 30px 32px 22px;
  margin-bottom: 36px;
}
.agri-timeline-title {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 900;
  margin-bottom: 22px;
}
.agri-timeline-title span {
  color: var(--agri-green-dark);
  background: linear-gradient(transparent 62%, var(--agri-green-light) 62%);
  padding: 0 .1em;
}
.agri-months {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 6px;
  max-width: 820px;
  margin: 0 auto;
}
.agri-bracket {
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  padding: 5px 4px;
}
.agri-bracket--top {
  grid-column: 1 / -1;
  color: var(--text-light);
  border: 2px solid #CBD2C0;
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  margin-bottom: 2px;
}
.agri-bracket--bottom {
  grid-column: 4 / span 6;
  color: var(--agri-green-dark);
  border: 2px solid var(--agri-green);
  border-top: none;
  border-radius: 0 0 10px 10px;
  margin-top: 2px;
  font-size: 14px;
}
.agri-m {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: white;
  background: repeating-linear-gradient(45deg, #F0F2EB, #F0F2EB 6px, #E7EAE0 6px, #E7EAE0 12px);
  border: 1.5px dashed #D2D8C8;
}
.agri-m--on {
  border: none;
  box-shadow: 0 3px 8px rgba(76,154,60,.28);
}
.agri-m:nth-of-type(4) { background: #A9D98A; }
.agri-m:nth-of-type(5) { background: #8CCB6A; }
.agri-m:nth-of-type(6) { background: #70BA4E; }
.agri-m:nth-of-type(7) { background: #5AAA3F; }
.agri-m:nth-of-type(8) { background: #479A33; }
.agri-m:nth-of-type(9) { background: #338A27; }
.agri-legend {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 16px 0 0;
  padding: 0;
  font-size: 12.5px;
  color: var(--text-mid);
}
.agri-legend li {
  display: flex;
  align-items: center;
  gap: 7px;
}
.agri-legend li::before {
  content: "";
  width: 16px;
  height: 12px;
  border-radius: 3px;
}
.agri-legend-off::before {
  background: #E7EAE0;
  border: 1.5px dashed #C9D0BE;
}
.agri-legend-on::before {
  background: linear-gradient(90deg, #A9D98A, #338A27);
}

/* --- 4つの数字カード --- */
.agri-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}
.agri-stat {
  background: white;
  border: 1px solid var(--agri-line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 22px 18px 24px;
  text-align: center;
}
.agri-stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--agri-green-light);
  color: var(--agri-green);
  margin-bottom: 10px;
}
.agri-stat-icon svg {
  width: 24px;
  height: 24px;
}
.agri-stat-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 4px;
}
.agri-stat-value {
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1.3;
  color: var(--agri-green-dark);
  margin-bottom: 8px;
  white-space: nowrap;
}
.agri-stat-value span {
  font-size: 1rem;
  font-weight: 700;
  margin-left: 2px;
}
.agri-stat-value--text {
  font-size: 1.7rem;
}
.agri-stat-note {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-mid);
}

/* --- 費用カード＋受入れ条件カード --- */
.agri-columns {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
  margin-bottom: 40px;
}
.agri-card {
  background: white;
  border: 1px solid var(--agri-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 30px 32px 28px;
}
.agri-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 900;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--agri-green);
}
.agri-card-title small {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light);
}
.agri-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--agri-green-light);
  color: var(--agri-green);
  flex: 0 0 auto;
}
.agri-card-icon svg {
  width: 20px;
  height: 20px;
}
.agri-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
}
.agri-price-name {
  font-weight: 700;
  font-size: 15px;
}
.agri-price-amount strong {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
}
.agri-price-amount span {
  font-size: 13px;
  color: var(--text-mid);
  margin-left: 4px;
}
.agri-note {
  margin-top: 16px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--text-light);
}
.agri-note a {
  color: var(--primary-dark);
  text-decoration: underline;
}
.agri-note--center {
  text-align: center;
}
.agri-check {
  list-style: none;
  margin: 0;
  padding: 0;
}
.agri-check li {
  position: relative;
  padding: 10px 0 10px 32px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--text-mid);
  border-bottom: 1px solid var(--border-light);
}
.agri-check li:last-child {
  border-bottom: none;
}
.agri-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--agri-green);
}
.agri-check li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 20px;
  width: 8px;
  height: 4px;
  border-left: 2.5px solid white;
  border-bottom: 2.5px solid white;
  transform: rotate(-45deg);
}
.agri-check strong {
  color: var(--text-dark);
}

/* --- 流れ（4ステップ＋期間バー） --- */
.agri-flow {
  margin-bottom: 44px;
}
.agri-flow-title {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 900;
  margin-bottom: 26px;
}
.agri-steps {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.agri-steps li {
  position: relative;
  background: white;
  border: 1px solid var(--agri-line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 26px 18px 20px;
}
.agri-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50px;
  right: -17px;
  border-style: solid;
  border-width: 7px 0 7px 10px;
  border-color: transparent transparent transparent var(--agri-green);
}
.agri-step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6FBA4F, #3F8F36);
  color: white;
  margin-bottom: 12px;
  box-shadow: 0 4px 10px rgba(76,154,60,.3);
}
.agri-step-icon svg {
  width: 26px;
  height: 26px;
}
.agri-step-num {
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--primary-dark);
  margin-bottom: 4px;
}
.agri-steps h4 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 8px;
}
.agri-steps p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-mid);
}
.agri-phase {
  display: flex;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.agri-phase-seg {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 14px 12px;
  text-align: center;
}
.agri-phase-seg span {
  font-size: 12.5px;
  font-weight: 500;
}
.agri-phase-seg strong {
  font-size: 1.15rem;
  font-weight: 900;
}
.agri-phase-seg--prep {
  flex: 1;
  color: var(--agri-green-dark);
  background: repeating-linear-gradient(45deg, #EEF6E6, #EEF6E6 8px, #E2EFD6 8px, #E2EFD6 16px);
  border: 2px dashed #B7D6A0;
  border-right: none;
  border-radius: 14px 0 0 14px;
}
.agri-phase-seg--work {
  flex: 1.7;
  color: white;
  background: linear-gradient(90deg, #5AAA3F, #2F7F2B);
  clip-path: none;
}
.agri-phase-seg--work span {
  opacity: .92;
}

/* --- 相談ボタン --- */
.agri-cta {
  text-align: center;
}
.agri-cta .agri-note {
  color: var(--text-mid);
}
.agri-tel {
  display: block;
  margin-top: 18px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
}
.agri-tel:hover {
  color: var(--primary);
}

@media (max-width: 960px) {
  .agri-stats,
  .agri-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .agri-steps li::after {
    display: none;
  }
  .agri-columns {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .agri-feature {
    padding: 64px 0 150px;
  }
  .agri-feature--page {
    padding-top: 120px;
  }
  .agri-feature::before {
    width: 300px;
    height: 300px;
    top: -110px;
    right: -100px;
  }
  .agri-feature::after {
    height: 120px;
  }
  .agri-voice {
    gap: 12px;
  }
  .agri-avatar {
    width: 58px;
    height: 58px;
    border-width: 2.5px;
  }
  .agri-bubble {
    font-size: 0.95rem;
    padding: 12px 16px;
  }
  .agri-timeline {
    padding: 24px 16px 18px;
  }
  .agri-months {
    gap: 4px;
  }
  .agri-m {
    height: 40px;
    font-size: 12px;
  }
  .agri-bracket {
    font-size: 12px;
  }
  .agri-bracket--bottom {
    font-size: 12px;
  }
  .agri-stats,
  .agri-steps {
    grid-template-columns: 1fr;
  }
  .agri-card {
    padding: 24px 20px 20px;
  }
  .agri-price-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .agri-phase-seg {
    padding: 14px 6px;
  }
  .agri-phase-seg strong {
    font-size: 0.92rem;
    white-space: nowrap;
  }
  .agri-phase-seg--prep {
    flex: 1.25;
  }
  .agri-phase-seg--work {
    flex: 1.2;
  }
}


/* ===== ヒーロー横スクロール（v1.10） ===== */
.hero-slider{position:relative}
.hero-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.hero-track::-webkit-scrollbar{display:none}
.hero-slide{flex:0 0 100%;min-width:100%;scroll-snap-align:start;display:flex;flex-direction:column;justify-content:center}
.hero-slide > .hero{width:100%}
.hero-slide--banner{background:linear-gradient(180deg,#FFF8E8,#F3F8EC);align-items:center}
.hero-banner-link{display:block;width:100%;max-width:1600px;line-height:0}
.hero-banner-link img{width:100%;height:auto;display:block}
.hero-banner-link:hover img{opacity:.96}
.hero-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:5;width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.9);color:#E89012;font-size:28px;line-height:1;cursor:pointer;box-shadow:0 2px 10px rgba(0,0,0,.18)}
.hero-arrow--prev{left:12px}.hero-arrow--next{right:12px}
.hero-dots{position:absolute;left:0;right:0;bottom:14px;display:flex;justify-content:center;gap:10px;z-index:5}
.hero-dots button{width:12px;height:12px;border-radius:50%;border:0;padding:0;background:rgba(0,0,0,.25);cursor:pointer}
.hero-dots button.is-active{background:#F5A623;transform:scale(1.2)}
@media (max-width:768px){.hero-arrow{display:none}}
@media (prefers-reduced-motion:reduce){.hero-track{scroll-behavior:auto}}

/* プライバシー同意：チェックと文言を同じ行の中央に揃える（CF7のacceptance対応） */
.form-row.form-privacy { text-align: center; }
.form-privacy .wpcf7-form-control-wrap { display: block; }
.form-privacy .wpcf7-form-control.wpcf7-acceptance { display: block; }
.form-privacy .wpcf7-list-item { display: inline-block; margin: 0; }
.form-privacy .wpcf7-list-item label {
  display: inline-flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.form-row.form-privacy input[type="checkbox"] {
  width: 20px;
  height: 20px;
  padding: 0;
  flex: none;
  accent-color: var(--primary);
}
.form-privacy .wpcf7-list-item-label { white-space: normal; }
@media (max-width: 480px) { .form-privacy .wpcf7-list-item label { font-size: 13px; } }

/* 同意チェック：マークアップが多少違っても確実に横並び・中央になるよう補強 */
.contact-form .form-row.form-privacy,
.contact-form .form-privacy {
  display: flex !important;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.contact-form .form-privacy .wpcf7-form-control-wrap,
.contact-form .form-privacy .wpcf7-form-control,
.contact-form .form-privacy .wpcf7-list-item,
.contact-form .form-privacy label {
  display: inline-flex !important;
  align-items: center;
  width: auto !important;
  margin: 0 !important;
}
.contact-form .form-privacy label { gap: 10px; flex-wrap: nowrap; }
.contact-form .form-privacy input[type="checkbox"] {
  width: 20px !important;
  height: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: none;
}


/* h1内のキーワード副題（見た目は従来のラベルのまま） */
.hero-title .hero-eyebrow {
  display: block;
  width: fit-content;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0;
  margin-bottom: 24px;
}
@media (max-width: 900px) { .hero-title .hero-eyebrow { margin-left: auto; margin-right: auto; } }
/* FAQの質問を見出し(h3)にしても見た目を変えない */
h3.faq-question { margin: 0; line-height: 1.6; }


/* 農業・漁業ページへの文字リンク */
.agri-textlink { text-align: center; margin: 24px auto 0; font-size: 15px; font-weight: 700; }
.agri-textlink a { color: var(--primary-dark, #E89012); text-decoration: underline; text-underline-offset: 4px; }
.agri-textlink a:hover { opacity: .8; }

/* 固定ヘッダーにバナーの上部が隠れないよう、ヘッダーの高さ分の余白を確保 */
.hero-slide--banner { padding-top: 89px; justify-content: flex-start; }
@media (max-width: 768px) { .hero-slide--banner { padding-top: 73px; } }
.hero-arrow { margin-top: 44px; }
.hero-dots { bottom: 10px; }


/* フッターのプライバシーポリシーリンク */
.footer-privacy { font-size: 13px; }
.footer-privacy a { color: inherit; text-decoration: underline; text-underline-offset: 3px; opacity: .85; }
.footer-privacy a:hover { opacity: 1; }
/* 本文ページ（プライバシーポリシー等）の見出し・リスト */
.news-single-body h2 { font-size: 1.25rem; margin: 2em 0 .6em; padding-left: 12px; border-left: 4px solid var(--primary); }
.news-single-body ul { margin: .6em 0 1em 1.4em; list-style: disc; }
.news-single-body li { margin-bottom: .4em; }

/* 同意チェック内の「プライバシーポリシー」だけをリンク（下線付き）にする */
.contact-form .form-privacy a {
  color: var(--primary-dark, #E89012);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
}
.contact-form .form-privacy a:hover { opacity: .8; }
