/* ==================== HERO Section ==================== */
.hero{
    margin: 3rem 4rem 6rem;
}

.hero-content {
    display: flex;
    gap: 45px;
    align-items: center;
    margin: 0 auto;
    justify-content: center;
}

.hero-text {
    width: 55%;
    padding-left: 3rem;
}

.hero-text > h1,h2,p{
    display: inline-block;
    margin-bottom: 0;
}

.hero-text p:first-child {
    font-size: 1.2rem;
    color: #70B3B1;
    background-color:#EDF6EE ;
    border-radius: 1rem;
    margin-bottom: 1rem;
}

.hero-text h1 {
    font-size: 2.6rem;
    color: #4C9D81;
    margin-top: 0;
    line-height: 1.3;
    font-weight: 400;
    background-color:#EDF6EE ;
    border-radius: 1rem;
    margin-bottom: 1rem;
}

.hero-text h2 {
    font-size: 2.8rem;
    color: #4C9D81;
    margin-bottom: 20px;
    margin-top: 0;
    line-height: 1.3;
    letter-spacing: 0.7rem;
    font-weight: 400;
    background-color:#EDF6EE ;
    border-radius: 1rem;
}

.hero-text p {
    font-size: 1.1rem;
    color: #7a6c5a;
    line-height: 1.8;
    margin-bottom: 12px;
}

.hero-img {
    width: 48%;
    height: 382px;
    background-image: url(/wp-content/themes/nyuts/assets/img/farmer1.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.9;
    border-radius: 50px;
    border-bottom-right-radius: 0;
    flex-shrink: 0;
    margin-right: 2rem;
}



/* ==================== Wave Section ==================== */
.wave-divider-section {
  padding: 40px 30px 30px;
  background-color: transparent;
}

.wave-section {
  position: relative;
  margin: 0;
  padding: 0;
  background: transparent;
  display: block;
  width: 100%;
  margin-top: 4.7rem;
}

.wave-front {
    margin-bottom: -6rem;
}

.wave-front-sp{
    display: none;
}

/*
.wave-front-end-sp{
  display: none;
}
*/
.wave-items {
  position: absolute;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 5rem;
  flex-wrap: wrap;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
  bottom:-3.5rem;
}

.wave-item {
  position: relative;
  flex-shrink: 0;
}

.wave-item.item-shop{
    width: 70px;
    top: 4.3rem;
    right: 0.8rem;
}


.wave-item.item-woman-shopping{
    left: 3.2rem;
}

.wave-item.photo1 {
  height: 130px;
  bottom: 0.1rem;
}

.wave-item.photo2{
  height: 130px;
  bottom: -0.2rem;
}


.wave-items.endcta{
    gap:17rem;
    bottom: 2.5rem;
}

.wave-item.vege_org {
    bottom: 0.6rem;
}

.wave-section-end{
    position: relative;
    margin: 0;
    padding: 0;
    background: transparent;
    display: block;
    width: 100%;
    top:0.45rem;
}

/* ==================== レスポンシブ ==================== */
@media (max-width: 1024px) {
  .hero {
    margin: 3rem 2rem;
  }

  .hero-content {
    gap: 30px;
  }

  .hero-text,
  .hero-img {
    padding-left: 0;
  }

  .hero-img {
    height: 300px;
    margin-right: 0;
  }

  .entry-cta {
    padding: 50px 2rem;
    margin: 3rem 2rem;
  }

  .entry-cta-inner {
    flex-direction: column;
    gap: 30px;
  }

  .project {
    padding: 50px 2rem;
    margin: 3rem 2rem;
  }

  .project-img {
    height: 250px;
    margin-top: 2rem;
  }

  .farmer,
  .store,
  .shopping {
    padding: 50px 2rem;
    margin: 3rem 2rem;
  }

  .farmer-content,
  .store-content,
  .shopping-content {
    flex-direction: column;
    gap: 30px;
  }

  .farmer-img,
  .store-img,
  .shopping-img,
  .farmer-text,
  .store-text,
  .shopping-text {
    width: 100%;
  }

  .farmer-img,
  .store-img,
  .shopping-img {
    height: 260px;
  }

/*
  .cta {
    margin: 3rem;
    padding: 60px 2rem;
  }
*/

.wave-section{
  width:100%;
  margin-top: 10rem;
}

.wave-section-end{
  margin-top: -3rem;
}

.wave-items.endcta {
    gap: 14rem;
    bottom: 1.5rem;
}

  .wave-items {
      width: 100%;
      gap: 3.6rem;
}
}

@media (max-width: 1023px) {
  .hero-content {
      flex-direction: column;
      gap: 30px;
  }

  .hero-text,
  .hero-img {
    width: 80%;
    padding-left: 0;
  }

  .wave-section{
    margin-top: 6.6rem;
  }

  .wave-items {
      gap: 2rem;
  }

  .wave-items.endcta {
      gap: 9rem;
      bottom: 0.5rem;
  }
  
 .wave-item.photo1,.wave-item.photo2{
   width:120px;
   margin-left:1rem;
 }  
}


@media (max-width: 768px) {
  .hero {
    margin: 2rem 1.5rem;
  }

  .hero-content {
    gap: 25px;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text h2 {
    font-size: 2.2rem;
    letter-spacing: 0.4rem;
  }

  .hero-img {
    height: 250px;
  }

  .entry-cta {
    padding: 40px 1.5rem;
    margin: 2.5rem 1.5rem;
  }

  .entry-cta-block {
    padding: 30px 25px;
  }

  .project {
    padding: 40px 1.5rem;
    margin: 2.5rem 1.5rem;
  }

  .project h2 {
    font-size: 1.8rem;
  }

  .project-img {
    height: 220px;
  }

  .farmer,
  .store,
  .shopping {
    padding: 40px 1.5rem;
    margin: 2.5rem 1.5rem;
  }

  .farmer-img,
  .store-img,
  .shopping-img {
    height: 250px;
  }

  .farmer-text h3,
  .store-text h3,
  .shopping-text h3 {
    font-size: 1.6rem;
  }

  .cta {
    margin: 2.5rem 1.2rem;
    padding: 50px 1.5rem 68px;
  }

  .cta h2 {
    font-size: 1.6rem;
  }

  .btn-group,
  .cta-buttons {
    flex-wrap: wrap;
  }
 
 .wave-section{
    gap:1rem;
  }

  .wave-item.photo1,.wave-item.photo2{
     display: none;
 }  

  .wave-section-end{
    display: block;
    margin-top:-4rem;
  }

  .wave-items.endcta {
    gap: 7.5rem;
  }
}

@media (max-width: 480px) {
  .hero {
    margin: 2rem 1rem;
  }

  .hero-content {
    gap: 20px;
  }

  .hero-text h1 {
    font-size: 1.6rem;
  }

  .hero-text h2 {
    font-size: 1.8rem;
    letter-spacing: 0.2rem;
  }

  .hero-text p:first-child,
  .hero-text p {
    font-size: 1rem;
  }

  .hero-img {
    height: 200px;
  }

  .entry-cta {
    padding: 30px 1rem;
    margin: 2rem 1rem;
  }

  .entry-cta-block {
    padding: 25px;
  }

  .entry-cta-title {
    font-size: 0.9rem;
  }

  .project {
    padding: 30px 1rem;
    margin: 2rem 1rem;
  }

  .project h2 {
    font-size: 1.5rem;
  }

  .project p {
    font-size: 1rem;
  }

  .project-img {
    height: 111px;
  }

  .farmer,
  .store,
  .shopping {
    padding: 30px 1rem;
    margin: 2rem 1rem;
  }

  .farmer-img,
  .store-img,
  .shopping-img {
    height: 220px;
  }

  .farmer-text h3,
  .store-text h3,
  .shopping-text h3 {
    font-size: 1.4rem;
  }

  .farmer-text p,
  .store-text p,
  .shopping-text p {
    font-size: 1rem;
  }

  .btn {
    padding: 0.9rem 2rem;
    font-size: 0.85rem;
  }

  .btn-group {
    gap: 15px;
  }

  /*
  .cta {
    margin: 2rem 1rem 0;
    padding: 40px 1rem;
  }
*/

  .cta h2 {
    font-size: 1.4rem;
  }

  .cta p {
    font-size: 0.85rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

   svg.wave-front{
    display: none;
  }

  .wave-front-sp{
    display: block;
    width: 100%;
}

/*  .wave-front-end-sp{
    display: block;
    margin-bottom:0.45rem;
    width: 100%;
  }
*/
  .wave-items {
    gap: 1.2rem;
    margin-bottom: 4rem;
  }

  .wave-item.photo1,
  .wave-item.photo2 {
    display: none;
  }

  .wave-item.item-shop {
    display: none;
  }

  .wave-item.item-woman-shopping,
  .wave-item.item-woman-box {
    left: 0;
  }

  .wave-items.endcta {
    gap: 3.3rem;
    margin-bottom: -0.35rem;
  }

  svg.wave-front-end{
    display: none;
    margin-bottom:1rem;
  }
}


* {
    font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
}


/* Badge */
.badge-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: #FFC509;
    color: #fff;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 3rem auto 1rem;
    width: fit-content;
    position: relative;
}

.badge-wrap i {
    color: #70B3B1;
    font-size: 1.4rem;
    position: absolute;
    top: -14px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    /* margin-bottom: 0; */
}

/* About Section */
.about-section {
    background: linear-gradient(to bottom, 
    #EDF6EE 0%,
    #EDF6EE 68%,
    #FFE899 85%,
    #FFE084 90%);
    padding: 6rem 8rem;
    /* margin-bottom: 16rem; */
    margin-block: 0;
    
}

.section-title {
    font-size: inherit;
    color: #4C9D81;
    text-align: center;
    margin: 0 0 3rem;
    font-weight: 400;
    width: 100%;
}


.about-grid {
    display: flex;
    /* grid-template-columns: 1fr 1fr; */
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
    align-items: flex-end;
}

.about-text {
  word-break: auto-phrase;
  text-wrap: balance;
  text-align: center;
  display: block;
}

p.about-desc {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 3rem 1rem;
  color: #957C59;
  font-size: 1.1rem;
}


.about-catch {
    font-size: 1.5rem;
    font-weight: 500;
    color: #84BEBC;
}

.catch {
    font-size: 1.8rem;
    color: #84BEBC;
    margin: 3rem 0 3rem 3rem;
    line-height: 1.4;
    font-weight: 400;
    display: inline-block;
    text-align: left;
}

.desc {
    font-size: 18px;
    color: #957c59;
    line-height: 1.8;
    margin: 1rem auto;
    margin-left: 6rem;
    width: max-content;
    display: block;
    text-align: left;
}

.about-img {
    text-align: center;
    width: fit-content;
    height: 20px;
    margin-left: 1rem;
    padding-top: 3rem;
    display: inline-block;
    text-align: left;
}

.about-img img {
   width: 190px;
   max-width: 280px;
   margin-top: -5rem;
}

/* Buttons */
.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 0 auto;
    display: block;
    width: fit-content;
}

.btn-link.teal {
    background: #70B3B1;
    color: #fff;
}

.btn-link.teal:hover {
    background: #4C9D81;
    transform: translateY(-2px);
}

.btn-link.yellow {
    background: #FFC509;
    color: #fff;
}

.btn-link.yellow:hover {
    background: #e6b308;
    transform: translateY(-2px);
}

.btn-link.light {
    background: #EDF6EE;
    color: #9AC984;
    border: 1px solid #9AC984;
}

.btn-link.light:hover {
    background: #e0ebe2;
}

/* Gradient Divider */
.gradient-bar {
    background: linear-gradient(to bottom, 
        #EDF6EE 0%, 
        #EDF6EE 38%,
        #F3F8EB 88%,
        #FFE084 100%);
    height: 60px;
    width: 100%;
}

/* Yellow Bar */
.yellow-bar {
    background: #FFC509;
    height: 16px;
    width: 100%;
}

/* Room Section */
.room-section {
    background: #EDF6EE;
    padding: 1rem 30px;
    margin-top: 0;
    margin-bottom: 0;
}

.room-box {
    max-width: 1200px;
    margin: 3rem auto;
}

.room-sub {
    font-size: 18px;
    color: #84BEBC;
    text-align: center;
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.room-label {
    font-size: 28px;
    color: #70B3B1;
    text-align: center;
    margin: 0 0 2.5rem;
    font-weight: 400;
    position: relative;
    padding-bottom: 1rem;
}

.room-label::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: #70B3B1;
}

/* Posts Grid */
.posts-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.post-item {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.post-item:hover {
    transform: translateY(-4px);
}

.post-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #f5f5f5;
}

.post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.post-item:hover .post-img img {
    transform: scale(1.05);
}

.post-info {
    padding: 1rem;
}

.post-date {
    font-size: 0.75rem;
    color: #8e8a86;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.post-info h5 {
    font-size: 0.9rem;
    color: #473c34;
    margin: 0;
    font-weight: 600;
    line-height: 1.4;
}

/* osanpo Section */
   /*.osanpo-section {
  background: #fff; 
  padding: 0; 
}*/

.osanpo-box {
    max-width: 1200px;
    margin: 3rem auto 5rem;
    display: grid;
    grid-template-columns: 0.6fr 1fr;
    gap: 4rem;
    align-items: flex-start;
    justify-items: center;
}

/*
.osanpo-box.reverse {
    grid-template-columns: 1fr 1fr;
}
*/

.osanpo-sub {
    font-size: 18px;
    color: #84BEBC;
    margin: 0 0 0.5rem;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.osanpo-title {
    font-size: 28px;
    color: #70B3B1;
    margin: 0 0 1.5rem;
    font-weight: 400;
    line-height: 1.4;
}

.osanpo-text {
    font-size: 16px;
    color: #84BEBC;
    line-height: 1.6;
    margin: 0 0 2rem;
}

.osanpo-left,
.osanpo-right {
    display: flex;
    flex-direction: column;
}

.osanpo-right {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: start;
}

.osanpo-box.reverse .osanpo-right {
    display: flex;
    flex-direction: column;
}

.osanpo-box.reverse .osanpo-left {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

/* Card Item */
.card-item {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.card-item:hover {
    transform: translateY(-4px);
}

.card-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #f5f5f5;
}

.card-img img {
  /*  width: 100%; */
  /*  height: 100%; */
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    border: none;
}

.card-item:hover .card-img img {
    transform: scale(1.05);
}

.card-title {
    padding: 1rem;
    font-size: 0.9rem;
    color: #473c34;
    margin: 0;
    font-weight: 600;
}

/* Web Shop Section */
.webshop-section {
    background: #EDF6EE;
    padding: 3rem 30px 4rem;
    text-align: center;
}

.webshop-sub {
    font-size: 18px;
    color: #84BEBC;
    margin: 2rem 0 0;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.webshop-title {
    font-size: 28px;
    color: #84BEBC;
    margin: 1rem 0 2rem;
    font-weight: 400;
    line-height: 1.6;
}

.webshop-content {
    max-width: 1200px;
    margin: 0 auto 2rem;
    display: flex;
    justify-content: center;
}

.webshop-logo {
    display: flex;
    justify-content: center;
}

.webshop-logo img {
    width: 180px;
    height: auto;
}

.webshop-text {
    font-size: 18px;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}


/* Responsive */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
/*
    .posts-row {
        grid-template-columns: repeat(2, 1fr);
    }
*/
    .osanpo-box {
        grid-template-columns: 0.6fr 1fr;
        gap: 3rem;
        margin-top: 0;
    }


    .osanpo-right,
    .osanpo-box.reverse .osanpo-left {
        margin: 1rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 36px;
        margin-bottom: 2rem;
    }

    .catch {
        font-size: 20px;
    }

    .osanpo-box {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin-top: 0;
    }

    .osanpo-right{
      margin: 2rem;
      grid-template-columns: 1fr;
  }

    .webshop-logo img {
        width: 140px;
    }
}

@media (max-width: 480px) {
  .about-section{
    margin:0;
    padding:0;
  }

  .section-title {
      font-size: 28px;
      width: 100%;
      padding: 0;
      margin: 0;
  }

.container{
  padding: 1rem 0;
  margin-inline: 0;
}

  .desc{
  margin-inline: 2rem;
  padding-inline:0;
  max-width: fit-content;
  }
  .about-grid{
    display:grid;
    justify-items:center;
    margin-inline: 0;
    padding: auto 0;
  }

  .btn-link {
      padding: 0.8rem 1.5rem;
      font-size: 0.9rem;
  }

  .webshop-logo img {
      width: 120px;
  }

  .gradient-bar {
      height: 40px;
  }

  /*
  .osanpo-box.reverse{
    grid-template-columns:1fr;
  }
*/
  .posts-row {
  grid-template-columns: 1fr;
  }
}
