@charset "UTF-8";
/* =============================================
   有限会社丸勝農場  復元版スタイルシート
   Base colors: 深緑 #13330A ／ ベージュ #F1EFED
   Fonts: Noto Sans JP (本文) / Teko (英字見出し)
   ============================================= */

:root {
  --green: #13330a;
  --green-dark: #0c2306;
  --beige: #f1efed;
  --beige-warm: #f7f5f1;
  --text: #333;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: var(--text);
  font-size: 15px;
  line-height: 1.9;
  background: #fff;
}
img { max-width: 100%; height: auto; border: none; vertical-align: bottom; }
a { color: var(--green); text-decoration: none; transition: opacity .3s; }
a:hover { opacity: .75; }
ul, ol { list-style: none; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ---------- 見出し ---------- */
.block-title-style {
  text-align: center;
  font-family: 'Teko', sans-serif;
  font-weight: 500;
  font-size: 56px;
  letter-spacing: .06em;
  color: var(--green);
  line-height: 1.1;
}
.block-title-sub-style {
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  margin: 6px 0 40px;
  color: var(--text);
}
.main-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--green);
  border-left: 5px solid var(--green);
  padding-left: 14px;
  margin: 40px 0 20px;
}
.paragraph-style { text-align: center; margin-bottom: 24px; }
.paragraph-style-fs15 .paragraph-style { font-size: 15px; }

/* ---------- ボタン ---------- */
.btn-wrap { text-align: center; margin: 30px 0 0; }
.btn.btn-default {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 54px;
  border-radius: 40px;
  position: relative;
  transition: background .3s;
}
.btn.btn-default::after {
  content: "";
  position: absolute;
  right: 22px; top: 50%;
  width: 7px; height: 7px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translateY(-50%) rotate(45deg);
}
.btn.btn-default:hover { background: var(--green-dark); opacity: 1; }

/* ---------- トップページ ヒーロー ---------- */
header.fullscreen { position: relative; }
.mainvisual_wrapper {
  position: relative;
  min-height: 100vh;
  background: url(../img/top_about.png) center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mainvisual_wrapper::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(19, 51, 10, .35);
}
.fs_logo_wrap {
  position: absolute;
  top: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}
.fs_logo_wrap h1 { line-height: 0; }
.fs_logo_wrap img {
  width: 120px;
  filter: drop-shadow(0 0 6px rgba(255,255,255,.9)) drop-shadow(0 0 14px rgba(255,255,255,.6));
}
.bx-caption { position: relative; z-index: 2; padding: 0 20px; text-align: center; opacity: 0; transition: opacity 1.2s; }
.mainvisual_wrapper.video-done .bx-caption { opacity: 1; }
.bx-caption img.pc_txt_img { max-width: 760px; width: 90%; filter: drop-shadow(0 2px 8px rgba(0,0,0,.35)); }

/* モーションロゴ（オープニング動画） */
.video_area {
  position: absolute; inset: 0;
  z-index: 4;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  opacity: 1;
  transition: opacity 1.2s;
}
.video_area video { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.mainvisual_wrapper.video-done .video_area { opacity: 0; pointer-events: none; }

/* ---------- グローバルナビ ---------- */
nav.gnav {
  background: #fff;
  border-bottom: 1px solid #e5e2dc;
  position: relative;
  z-index: 100;
}
nav.gnav .menu-main-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
nav.gnav .menu-item > a {
  display: block;
  padding: 20px 26px;
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  position: relative;
}
nav.gnav .menu-item > a::after {
  content: "";
  position: absolute;
  left: 26px; right: 26px; bottom: 12px;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transition: transform .3s;
}
nav.gnav .menu-item > a:hover::after,
nav.gnav .current-menu-item > a::after { transform: scaleX(1); }
nav.gnav .menu-item > a:hover { opacity: 1; color: var(--green); }
.fix_nav_logo { display: none; }
nav.gnav.fixed {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  padding: 0 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
  animation: navdown .3s;
}
@keyframes navdown { from { transform: translateY(-100%);} to { transform: translateY(0);} }
nav.gnav.fixed .fix_nav_logo { display: block; margin-right: auto; line-height: 0; }
nav.gnav.fixed .fix_nav_logo img { height: 46px; width: auto; }
nav.gnav.fixed .menu-main-container { margin: 0 auto; }
.sp_header-info { display: none; }

/* ---------- 下層ページ ヘッダー ---------- */
header.subpage .head_inner_wrap { padding: 18px 24px; }
header.subpage .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}
header.subpage .site_title {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
header.subpage .head_logo { line-height: 0; }
header.subpage .head_logo img { height: 86px; width: auto; }
header.subpage .header-btn .btn { padding: 12px 36px; font-size: 14px; }

/* ---------- ページタイトル帯 ---------- */
.pagetitle {
  background: linear-gradient(rgba(19,51,10,.45), rgba(19,51,10,.45)), url(../img/top_sns.jpg) center / cover no-repeat;
  padding: 90px 20px;
  text-align: center;
}
.pagetitle h1 span {
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: .1em;
  text-shadow: 0 1px 6px rgba(0,0,0,.4);
}
.breadcrumbs {
  background: var(--beige);
  font-size: 12px;
  padding: 8px 0;
  color: #666;
}
.breadcrumbs a { color: #666; text-decoration: underline; }

/* ---------- セクション共通 ---------- */
main > section > div[class*="column-"],
main > section > .top_column { padding: 90px 0; }
.block_mb0 { padding-bottom: 40px !important; }
.column3-pt0 { padding-top: 0 !important; }
.bg-beige { background: var(--beige); }
.bg-texture {
  background:
    radial-gradient(rgba(19,51,10,.045) 1px, transparent 1.5px),
    var(--beige-warm);
  background-size: 22px 22px;
}

/* トップ Work セクション */
.top_work .select-lay { text-align: center; }
.top_work .txt-editor img { max-width: 640px; width: 100%; margin-top: 36px; }

/* 2カラム（About / Career） */
.column-2 .container-fluid { padding: 0; }
.column-2 .row {
  display: flex;
  flex-wrap: wrap;
  min-height: 520px;
}
.column-2 .media-column {
  width: 50%;
  min-height: 420px;
  background-size: cover;
  background-position: center;
}
.column-2 .left-visual-left  { background-image: url(../img/top_about.png); }
.column-2 .right-visual-right { background-image: url(../img/top_career.png); order: 2; }
.column-2 .left-visual-right,
.column-2 .right-visual-left {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--beige);
  padding: 70px 40px;
}
.column-2 .column2_full_inner { max-width: 480px; }
.col2sp.media-column { display: none; }

/* トップ Column（コラム） */
.top_column .update-tile {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}
.update-tile > li { width: calc(33.333% - 20px); min-width: 260px; }
.update-tile .photo { position: relative; overflow: hidden; border: 1px solid #e5e2dc; background: #fff; }
.update-tile .photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.update-tile .cat {
  position: absolute;
  left: 0; bottom: 0;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  padding: 3px 14px;
}
.update-tile .date { font-size: 13px; color: #888; margin-top: 10px; }
.update-tile h2 { font-size: 15px; font-weight: 700; margin-top: 4px; line-height: 1.6; }
.update-tile .cat.sp { display: none; }

/* トップ SNS */
.top_sns { background: var(--beige); }
.top_sns .select-lay { text-align: center; }
.top_sns .txt-editor img { width: 180px; margin: 10px 0 30px; }
.top_sns figure.photo img { max-width: 860px; width: 100%; }

/* CONTACT 帯 */
.contact_area { background: #fff; }

/* ---------- テーブル ---------- */
.txt-editor table {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
  margin: 10px 0 20px;
}
.txt-editor td {
  border: 1px solid #d9d5cd;
  padding: 14px 20px;
  vertical-align: top;
}
.txt-editor tr td:first-child {
  background: var(--beige);
  font-weight: 700;
  width: 30% !important;
}
.txt-editor tr td:last-child { width: 70% !important; }

/* About ページ */
.update-box .update-tile figure.photo img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
figure.photo { text-align: center; margin-bottom: 30px; }
.table_block figure.photo img { max-width: 860px; width: 100%; }
.txt-editor p { margin-bottom: 1.4em; }
.newmap { margin-top: 30px; }
.newmap iframe { width: 100%; height: 420px; border: 0; }

/* Career ページ */
.career-lead figure.photo img { max-width: 860px; width: 100%; }

/* ---------- お問い合わせフォーム ---------- */
#contact { padding: 70px 20px 90px; }
#contact .select-free h4 { font-size: 20px; color: var(--green); margin-bottom: 16px; }
#contact .select-free { text-align: center; margin-bottom: 40px; }
.form-wrap { max-width: 860px; margin: 0 auto; }
.wpcf7-form table { border-collapse: collapse; width: 100%; background: #fff; }
.wpcf7-form td { border: 1px solid #d9d5cd; padding: 14px 20px; }
.wpcf7-form tr td:first-child { background: var(--beige); font-weight: 700; width: 32%; }
.wpcf7-form td p { margin: 0; }
.required-mark { color: #c0392b; font-size: 12px; margin-left: 6px; }
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
  font-size: 15px;
}
.wpcf7-form textarea { min-height: 200px; resize: vertical; }
.wpcf7-form .submit-wrap { text-align: center; margin-top: 36px; }
.wpcf7-form input[type="submit"] {
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 80px;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  transition: background .3s;
}
.wpcf7-form input[type="submit"]:hover { background: var(--green-dark); }

/* ---------- フッター ---------- */
.foot_nav { background: var(--beige); }
.foot_nav_inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 22px 20px;
}
.foot_nav_inner a {
  display: block;
  padding: 4px 22px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
footer.footer {
  background: var(--green);
  text-align: center;
  padding: 50px 20px 30px;
}
footer.footer .foot-logo img { width: 130px; margin-bottom: 24px; }
footer.footer .copy { color: rgba(255,255,255,.85); font-size: 12px; }

/* ---------- ページトップ ---------- */
#page-top {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
#page-top.show { opacity: 1; pointer-events: auto; }
#page-top img { width: 56px; }

/* ---------- ハンバーガー（スマホ） ---------- */
.hamburger {
  display: none;
  position: fixed;
  top: 14px; right: 14px;
  z-index: 300;
  width: 48px; height: 48px;
  background: var(--green);
  border-radius: 50%;
}
.hamburger__icon,
.hamburger__icon::before,
.hamburger__icon::after {
  content: "";
  position: absolute;
  left: 13px;
  width: 22px; height: 2px;
  background: #fff;
  transition: .3s;
}
.hamburger__icon { top: 23px; }
.hamburger__icon::before { left: 0; top: -7px; }
.hamburger__icon::after { left: 0; top: 7px; }
body.menu-open .hamburger__icon { background: transparent; }
body.menu-open .hamburger__icon::before { transform: rotate(45deg); top: 0; }
body.menu-open .hamburger__icon::after { transform: rotate(-45deg); top: 0; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 900px) {
  .column-2 .media-column,
  .column-2 .left-visual-right,
  .column-2 .right-visual-left { width: 100%; }
  .column-2 .right-visual-right { order: 0; }
}
@media (max-width: 768px) {
  body { font-size: 14px; }
  .block-title-style { font-size: 42px; }
  main > section > div[class*="column-"],
  main > section > .top_column { padding: 60px 0; }
  .hamburger { display: block; }
  nav.gnav { position: fixed; inset: 0; background: rgba(19,51,10,.96); transform: translateX(100%); transition: transform .35s; display: flex; align-items: center; justify-content: center; border: none; }
  body.menu-open nav.gnav { transform: translateX(0); }
  nav.gnav .menu-main-container { flex-direction: column; text-align: center; }
  nav.gnav .menu-item > a { color: #fff; font-size: 18px; padding: 14px; }
  nav.gnav .menu-item > a::after { display: none; }
  nav.gnav.fixed { padding: 0; box-shadow: none; animation: none; }
  nav.gnav.fixed .fix_nav_logo { display: none; }
  .sp_header-info { display: block; margin-top: 20px; }
  .sp_header-info .btn { background: #fff; color: var(--green); }
  .sp_header-info .btn::after { border-color: var(--green); }
  header.subpage .head_logo img { height: 60px; }
  header.subpage .header-btn { display: none; }
  .pagetitle { padding: 60px 20px; }
  .pagetitle h1 span { font-size: 22px; }
  .update-tile > li { width: 100%; }
  .col2sp.media-column { display: block; margin-bottom: 24px; }
  .col2sp.media-column img { width: 100%; }
  .column-2 .left-visual-left, .column-2 .right-visual-right { display: none; }
  .txt-editor tr td:first-child, .wpcf7-form tr td:first-child { width: 100% !important; display: block; border-bottom: none; }
  .txt-editor tr td:last-child, .wpcf7-form td { width: 100% !important; display: block; }
  .wpcf7-form input[type="submit"] { width: 100%; padding: 16px 0; }
  #page-top img { width: 44px; }
}

/* ===== 2026-10 ブラッシュアップ ===== */
.mainvisual_wrapper::before { background: linear-gradient(180deg, rgba(10,28,6,.25) 0%, rgba(10,28,6,.55) 55%, rgba(10,28,6,.65) 100%); }
.hero-catch { color:#fff; font-weight:700; font-size: clamp(30px, 5.2vw, 64px); letter-spacing:.08em; line-height:1.3; text-shadow:0 2px 14px rgba(0,0,0,.45); margin:0 0 28px; }
.hero-catch span { display:block; font-size:.42em; font-weight:500; letter-spacing:.14em; margin-top:.5em; }
.hero-lead { color:#fff; font-size: clamp(13px, 1.25vw, 16px); line-height:2.1; letter-spacing:.06em; text-shadow:0 1px 8px rgba(0,0,0,.5); margin:0; }
@media (max-width: 767px){ .hero-lead br { display:none; } .hero-lead { text-align:left; max-width: 30em; margin:0 auto; } }
.sns-links { list-style:none; display:flex; justify-content:center; gap:28px; flex-wrap:wrap; padding:0; margin:0 0 36px; }
.sns-links a { display:flex; flex-direction:column; align-items:center; gap:8px; color:var(--green, #13330A); text-decoration:none; font-size:13px; letter-spacing:.05em; }
.sns-links svg { width:56px; height:56px; padding:14px; box-sizing:content-box; border-radius:50%; background:#13330A; color:#fff; transition:transform .2s, background .2s; }
.sns-links a:hover svg { transform:translateY(-3px); background:#2a5a1a; }
