html {
  scroll-behavior: smooth;
  scroll-padding: 58px;
}
:root {
  --main-green: #036235;
  --bg-green: #53846a;
  --accent-orange: #c97a30;
  --brown: #754c2e;
  --base-bg: #f6f5eb;
}

body {
  margin: 0;
  font-family: 'Hiragino Kaku Gothic ProN', sans-serif;
  background: var(--base-bg);
  color: var(--brown);
}

/* TOPセクション */
.top-header {
  background: var(--base-bg);
  padding: 20px 0;
}
.top-nav {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
  padding: 0 20px;
}

.menu-left,
.menu-right {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
}

.menu-left li a,
.menu-right li a {
  text-decoration: none;
  color: var(--brown);
  font-weight: bold;
}

.top-title {
  text-align: center;
}

.logo {
  width: 210px;
}

.catch {
/*  margin: 5px 0;*/
margin: 0;
  font-size: .7rem;
}

.farm-name img{
  width:100%;
}
/* ハンバーガーアイコン */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 30px;
  height: 25px;
  cursor: pointer;
  z-index: 1001;
  margin: 0 10px;
}

.hamburger span {
  background: var(--main-green);
  height: 3px;
  margin: 3px 0;
  width: 100%;
  display: block;
  transition: 0.4s;
}

/* 開いた状態（X印に） */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ナビゲーションメニュー初期設定（PC） */
.nav-list {
  display: none;
  background: white;
  position: absolute;
  width: 100%;
  z-index: 2;
  top: 80px;
  right: 0%;
  overflow: hidden;
  transition: all 0.6s;
}
.top-header {
  background-color: #f6f5eb;
  padding: 20px;
  text-align: center;
  position: relative;
}

.mobile-menu-icon {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 20px;
}

.mobile-menu {
  display: none;
  flex-direction: row;
  align-items: center;
  position: relative;
  padding: 0 10px;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
}

.mobile-menu li {
  margin: 10px 0;
}

.mobile-menu a {
  color: #036235;
  text-decoration: none;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .mobile-menu {
    display: block;
  }
 .menu-left, .menu-right {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .top-header {
    padding: 0;
    display:flex;
    flex-direction: row;
    align-items: center;
    justify-content:flex-start;
  }
  .top-nav {
    display:none;
  }

  .nav-list.active {
      display: flex;
      flex-direction: column;
  }
  .top-title {
    display: flex;
    order: -1;
    text-align: center;
    padding: 7px 0px;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .nav-list li a {
    display: block;
    padding: 10px;
    color: var(--brown);
    text-decoration: none;
  }
  .logo {
    width: 140px;
  }
}
@media screen and (max-width: 480px) {
  .top-title .farm-name {
    font-size: 1.2rem;
  }
}
/* Heroセクション */

.hero-bg {
  position: relative;
}
.hero-text .subtitle {
  font-size: 1.6rem;
  color: #fff;
    text-shadow: 2px 2px darkgray;
}
.hero-text {
  position: absolute;
  top: 24%;
  left:10%;
  display:flex;
  flex-direction: column;
  align-items: center;
  flex-wrap: nowrap;
}
.hero-text h2 {
  font-size: 2.5rem;
  margin-top: 1rem;
      padding: 10px;
    border-radius: 14px;
    background: #53846a;
      color: #fff;
}

.hero-message {
  position: absolute;
  top: 46%;
  left: 65%;
  background: url('../images/blob.svg') no-repeat;
  background-position-x: center;
  background-position-y: bottom;
  background-size: cover;
  width: 400px;
  height: 400px;
}
.hero-message p{
  color: #53846a;
  margin-top: 25%;
  margin-left: 24%;
  font-size: 1rem;
  line-height: 1.8;
}
.hero-message img{
  display:block;
  width: 33%;
  position: absolute;
  top: 50%;
  left: 49%;
}
.hero-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1280px;
  margin: 0 auto;
}

.hero-grid img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
@media screen and (max-width: 768px) {
  .hero-text {
    top: 35%;
    left: 6%;
    padding: 5px;
  }
  .hero-text h2 {
    font-size: 1.5rem;
  }
  .hero-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-message {
    width: 360px;
    height: 360px;
    top: 80%;
    left: 0%;
  }
  .hero-images {
    justify-content: center;
  }
}

@media screen and (max-width: 480px) {
  .hero-section {
    width: 100%;
    height:550px;

  }
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-text {
    top: 28%;
    left: 0%;
  }
  .hero-text h2 {
    font-size: 1.3rem;
    text-align: center;
  }
  .hero-text .subtitle {
    font-size: 1rem;
  }
  .hero-message {
    font-size: 0.95rem;
  }
    .hero-images {
    justify-content: center;
  }

}

/*****************************/
/* BLOGセクション　*/
#blog-section {
  background: var(--base-bg);
  margin: 100px 20px;
}
.container {
  width: 100%;
  height:auto;
  position: relative;
}
.section-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 40px;
  color: var(--brown);
}

.blog-cards {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.blog-card {
  background: var('--base-bg');
  /*border-radius: 8px;*/
  overflow: hidden;
  width: 300px;
/*  box-shadow: 0 0 10px rgba(0,0,0,0.1);*/
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-date {
  font-size: 0.9rem;
  color: #666;
/*  margin: 10px 15px 5px;*/
}

.blog-text {
  font-size: 1rem;
/*  padding: 0 15px 15px;*/
  color: var(--brown);
}
.tractor img{
  width: 80px;
  position: absolute; 
    top: 386px;
    left: 954px;
}
/********************/
/* CONCEPTセクション */
#concept-section {
  background: #f6f5eb;
  margin: 80px 20px;
  text-align: center;
}
.concept-description {
  font-size: 1.1rem;
/*  max-width: 800px;*/
  margin: 0 auto 40px;
  color: var(--brown);
  line-height: 1.8;
}
.concept-image-block {
  position: relative;
  max-width: 100%;
}
.concept-image-block img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(65%);
}
.concept-overlay-text {
  position: absolute;
  top: 18%;
  left: 33%;
  color: #fff;
  padding: 10px 20px;
  font-size: 1.8rem;
}
.concept-icons {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: -3% 0;
  flex-wrap: wrap;
}
.concept-item {
  text-align: center;
  width: 200px;
  display: flex;
    flex-direction: column;
    align-items: center;
}
.concept-item img {
  width: 150px;
  height: 150px;
  margin-bottom: 10px;
  border-radius: 50%;
  z-index: 1;
  filter: none;
  background: #f5f0df;
}
.concept-item p {
  font-size: 1rem;
  color: var(--brown);
}
.concept-link {
  margin-top: 60px;
}
.btn-link {
  display: inline-block;
  background: var(--main-green);
  color: #fff;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
}
/* 矢印付きbutton006 */
.button006 a {
  background:  var(--main-green);
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0 auto;
  max-width: 240px;
  padding: 14px 25px;
    border-radius: 10px;
  color: white;
  transition: 0.3s ease-in-out;
  font-weight: 500;
  text-decoration: none;
}
.button006 a:before {
  content: '';
  position: absolute;
  top: calc(50% - 2px);
  right: 1em;
  transform: translateY(calc(-50% - 2px)) rotate(30deg);
  width: 12px;
  height: 2px;
  background-color: white;
  transition: 0.3s;
}
.button006 a:after {
  content: '';
  position: absolute;
  top: 50%;
  right: 1em;
  transform: translateY(-50%);
  width: 35px;
  height: 2px;
  background-color: white;
  transition: 0.3s;
}
.button006 a:hover:before, .button006 a:hover:after {
  right: .5em;
}
.button006 a:hover {
  background: var(--bg-green);
  color: white;
}

/********************/
/* MESSAGEセクション */
#message-section {
  background:  var(--base-bg);
  color: var(--brown);
  padding: 80px 20px;
}
.message-inner {
  display:flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;

}
.message-content {
  display: flex;
  gap: 40px;
    align-items: center;
    flex-wrap: nowrap;
    position: relative;
    justify-content: space-evenly;
}

.message-vertical-text {
  writing-mode: vertical-rl;
      font-size: 2rem;
    letter-spacing: 0.35em;

  font-weight: bold;
  color: var(--brown);
}

.message-block {
  flex: 1;
  max-width: 430px;
}

.message-top-illustration img {
  width: 100%;
  max-width: 500px;
  margin-bottom: 20px;
}

.message-main p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.message-image img {
  width: 520px;
  height: auto;
  border-radius: 10px;
}

.message-main .btn-link {
  background: var(--accent-orange);
  color: #fff;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
}
/********************/
/* SUPPORTセクション */
.color-white{color: white;}
.color-green{color:var(--main-green);}
.color-brown{color:var(--brown);}
.color-base-bg{background-color: var(--base-bg);}
.color-bg-green{background-color: var(--bg-green);}
.color-accent-orange{color:var(--accent-orange);}

#support-section {
  background-color: var(--bg-green);
  /*
  background-image: url('../images/green-bg.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;*/
  padding: 80px 20px;
  text-align: center;
}
/***** タイトル装飾 *****/
.support-main-title {
  text-align: center;
  font-size: 1.8rem;
  margin: 0 auto;
  color: white;

  position: relative;
  width: fit-content;
  padding: 12px 16px;
  border-bottom: 2px solid white;
 /* background-color: #ffffff;*/
}
.support-main-title::before {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 15px;
  height: 15px;
  box-sizing: border-box;
  background-color: var(--bg-green); /* 背景色と同じ色を指定 */
  rotate: 135deg;
  translate: -50%;
}
.support-main-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  z-index: 0;
  width: 15px;
  height: 15px;
  box-sizing: border-box;
  border: 2px solid;
  border-color: #fff #fff transparent transparent;
  background-color:var(--bg-green);
  rotate: 135deg;
  translate: -50%;
}
/* ココまで */
.large-font {
  font-size: 34px;
}
.section-subtitle {
  color: #fff;
      padding-top: 18px;
}
.support-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}

.support-card {
      position: relative;
  background: white;
    width: 368px;
    padding: 28px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  text-align: left;
      display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}
.support-card p {
  color: var(--brown);
}
.support-img {
  position: relative;
}
.support-img img{

  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
/*  background: #2c3e50;*/
  height: 17vh;
}
  /* セパレーター　*/

.support-img::before {
  position: absolute;
  content: '';
  left: 50%;
  z-index: 10;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #fff;
  transform: translateX(-50%) translateY(50%);
  bottom: 15px;
}
.support-icon {
  position: absolute;
  left: 43%;
  z-index: 10;
  width: 100px;
  height: 100px;
}
.support-subtitle {
  color: var(--brown);
  font-weight: bold;
      margin-top: 33px;
  /*margin-bottom: 5px;*/
}

.support-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--brown);
  font-weight: bold;
}
/*******************************/
/* JOBセクション                */
#job-section {
  background: var(--base-bg);
  padding: 80px 20px;
  text-align: center;
}
.with-decoration {
  background-image: url('../images/grass-wide-pattern.png');
  background-repeat: no-repeat;
/*  background-size: contain;*/
  background-position: center center;

}
.job-intro {
  font-size: 1rem;
  margin: 20px 0 40px;
  line-height: 1.8;
  color: var(--brown);
}
.job-timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 30px;
}
.job-period {
  width: 180px;
  background: var(--base-bg);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.08);
  text-align: center;
}
.job-period:hover {
  transform: translateY(-5px);
}
.job-period img {
  width: 100px;
  height: auto;
  margin-bottom: 10px;
}
.job-period h3 {
  font-size: 1rem;
  color: var(--accent-orange);
  margin: 10px 0 5px;
}
.job-period p {
  font-size: 0.95rem;
  color: var(--brown);
}
.job-note {
  font-size: 0.9rem;
  color: #666;
  margin: 20px 0;
}
.job-links {
  display: flex;
  gap: 60px;
  justify-content: center;
  margin: 50px 0;
}
.job-links-btn {
  width:270px;
/*  margin: 0 auto;*/
}
.job-cta {
  position: relative;
  width: 100%;
  height: 200px;
  background-image: url('../images/job-cta-image.jpg');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  margin: 20px auto;
}
.cta-filter {
    background:linear-gradient(to top, rgba(255, 255, 255, 0.678) 0%,rgba(0, 0, 0, 0.822) 100%);
}
.job-cta-inner {
  position: absolute;
  top: 8%;
  left: 21%;
  display:flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
}
.job-apply-btn {
  display: block;
  background: var(--main-green);
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  padding: 20px 30px;
  margin: 0 auto;
  max-width: 400px;
  transition: background 0.3s;
}

.job-apply-btn:hover {
  background: #024d2a;
}

.job-apply-content p {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 10px;
}
.job-apply-content {
  width:150px;
  height: 150px;
  background: url('../images/blob.svg') no-repeat;
  background-position-x: center;
  background-position-y: bottom;
  background-size: cover;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 1.4rem;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.apply-link a {
  display: flex;
  justify-content: space-around;
  align-items: center;
   padding: 14px 20px;
  color: white;
  transition: 0.3s ease-in-out;
  text-decoration: none;
  font-size: 20px;
}
.apply-link a:before {
  content: '';
  position: absolute;
  top: calc(50% - 2px);
  right: -1em;
  transform: translateY(calc(-50% - 2px)) rotate(30deg);
  width: 12px;
  height: 2px;
  background-color: white;
  transition: 0.3s;
}
.apply-link a:after {
  content: '';
  position: absolute;
  top: 50%;
  right: -1em;
  transform: translateY(-50%);
  width: 35px;
  height: 2px;
  background-color: white;
  transition: 0.3s;
}
.apply-link a:hover:before, .apply-link a:hover:after {
  right: -1.5em;
}
.apply-link a:hover {
  color: white;
}
/*******************************/
/* ACCESSセクション             */
.access-section {
  background: var(--base-bg);
  padding: 80px 20px;
  text-align: center;
  display: flex;
    flex-direction: column;
    align-items: center;
}
.access-map img {
  max-width: 42%;
  height: auto;
  margin-bottom: 30px;
}
.access-section .job-links-btn {
  margin: 0 auto;
}
.access-info {
  color: var(--brown);
  margin: 38px;
}
.access-logo-block {
  background-image: url('../images/grass-wide-pattern.png');
  background-repeat: repeat;
}
.access-logo-block .catch {
  margin: 5px 0;
  font-size: 1rem;
}
.access-logo-block .farm-name {
  width: 25%;
  margin: 0 auto;
}
.address {
  font-size: 1rem;
  margin: 20px 0;
}
.sns-icons a {
  margin: 0 10px;
  font-size: 1.5rem;
  color: var(--main-green);
}
.sns-icons a:hover {
  color: var(--accent-orange);
}
/*******************************/
/* ONLINEセクション             */
.online-section {
  background: var(--base-bg);
  padding: 60px 20px;
  text-align: center;
}
.online-link-container {
  width: 743px;
  height: 130px;
  margin: 0 auto;
/*  padding: 20px 40px;*/
  border: solid 2px var(--brown);
  border-radius: 10px;
  display:flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-evenly;
}
.online-img {
  width:22%;
}
.online-img img{
  width: 100%;
  margin-bottom: 47px;
}

.online-link-text {
  width: 100%;
  display: inline-block;
  background: var(--base-bg);
  color: var(--brown);
  text-decoration: none; 
  font-weight: bold;
  font-size: 1.5rem;
}
.online-link-container:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgb(0 0 0 / 15%), 0 0 5px rgb(0 0 0 / 10%);
/*  background: var(--bg-green);*/
}
.online-vegetables {
  width:18%;
}
.online-vegetables img{
  width:66%;
}
/*******************************/
/* FOOTERセクション             */
.site-footer {
  background: var(--base-bg);
  padding: 25px 0 0 0;
  text-align: center;
  color: var(--brown);
  position: relative;
  border-top: solid 1px #888;
}

.footer-menus ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-menus a {
  color: var(--brown);
  text-decoration: none;
  font-weight: bold;
}

.footer-illustration img {
  max-width: 100%;
  height: auto;
  margin-top: 30px;
}
.curved {
  position: relative;
  background-color: #51322a;
/*  background-image: url(../images/farm.jpg);*/
  background-position: center;
  background-size: cover;
  height: 10vh;
  border-top-left-radius: 50% 40%;
  border-top-right-radius: 50% 40%;
/*  filter: brightness(25%);*/
}

.footer-copy {
  padding-top: 80px;
  font-size: 0.9rem;
  color: #888;
}

/* トップに戻るボタン */
.back-to-top {
  position: fixed;
  bottom: 50px;
  right: 30px;
  width: 70px;
  height: 70px;
  background: var(--bg-green);
  color: var(--accent-orange);
  border-radius: 50%;
  box-shadow: 0px 5px 9px 0px rgba(0, 0, 0, 0.35);
}
/* Font Awesome */
.back-to-top::before {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f787';
  font-size: 30px;
  color: var(--accent-orange);
  position: absolute;
  top: 37%;
  left: 50%;
  translate: -50%;
/*  transform: rotate(-45deg);*/
}
.back-to-top::after {
  content: 'TOP';
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
  position: absolute;
  margin: auto;
  text-align: center;
  width: 100%;
  top: 11%;
  left: 50%;
  translate: -50%;
}

/* --- タブレット対応（〜768px） --- */
@media screen and (max-width: 768px) {

  .tractor img{
    width: 80px;
    top: 1140px;
    left: 216px;
  }
  .blog-cards, .support-cards, .job-timeline {
    flex-direction: column;
    align-items: center;
  }

  .concept-icons {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .concept-overlay-text{
    font-size: 16px;
    font-weight: bold;
    top: 2%;
    left: 22%;
}
  .message-inner {
    flex-direction: column;
  }
  .message-content {
    flex-direction: column;
    align-items: center;
  }

  .message-vertical-text {
    writing-mode: horizontal-tb;
    font-size: 1.2rem;
    margin-bottom: 20px;
  }

.support-icon {
    top: 168px;
    left: 41%;
}
.support-img img {
  height:auto;
}
.access-logo-block .farm-name {
  width: 100%;
}
.access-map img {
    max-width: 71%;
}    
.address, .job-links {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
.job-cta {
  background-position: left;
}
.job-apply-content {
    width: 90px;
    height: 90px;
}
.site-footer {
  padding: 10px 0 0 0;
}
  .footer-menus ul {
    flex-direction: column;
    gap: 10px;
  }

  .back-to-top {
    right: 8px;
    bottom: 56px;
  }
}
/* --- スマホ対応（〜480px） --- */
@media screen and (max-width: 480px) {


  .farm-name img{
    width:80%;
  }

  .blog-card,
  .support-card,
  .job-period {
    width: 100%;
    max-width: 300px;
    padding: 15px;
  }

  .btn-link, .online-link-btn, .job-apply-btn {
    width: 85%;
    padding: 15px;
    font-size: 1rem;
  }

  .message-image img {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .access-logo-block .farm-name {
    font-size: 1.1rem;
  }
  .job-cta-inner {
    top: 0; 
    left: 0;
    flex-wrap: wrap;
  }
  .job-apply-content{
    font-size: 1rem;
  }
  .job-apply-content ul {

    flex-direction: column;
    gap: 5px;
  }
  .online-link-container {
    width: 100%;
  }
    .footer-copy {
      font-size: 0.8rem;
    }
}
