/* ==================== HERO セクション ==================== */
.hero{
    margin: 3rem 4rem;
}

.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;
}

/* ==================== HERO 直下 CTA ==================== */
.entry-cta {
    padding: 60px ;
}

.entry-cta-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    justify-content: space-between;
}

.entry-cta-block {
    flex: 1;
    background: #f5ffff;
    box-shadow: 0 2px 5px rgba(154, 201, 132);
    border-radius: 40px;
    padding: 35px 30px;
    text-align: center;
    border-bottom-right-radius: 0;
}

.entry-cta-label {
    color: #9AC984;
    letter-spacing: 0.15em;
    margin-bottom: 10px;
    font-weight: 600;
}

.entry-cta-title {
    font-size: 1.4rem;
    color: #4C9D81;
    margin-bottom: 18px;
    font-weight: 600;
    line-height: 1.5;
}

.entry-cta-btn {
    margin-top: 10px;
    width: 100%;
    text-align: center;
}

/* ==================== プロジェクトセクション ==================== */
.project {
    background: #fff;
    padding: 60px 30px;
    text-align: center;
}

.project-label {
    font-size: 0.9rem;
    color: #9AC984;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 15px;
}

.project h2 {
    font-size: 2.2rem;
    color: #4C9D81;
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 600;
}

.project p {
    font-size: 1.1rem;
    color: #7a6c5a;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

.btn-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.btn {
    padding: 1rem 3rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    border: 2px solid;
    cursor: pointer;
    white-space: nowrap;
}

a.btn {
    display: block;
    width: auto;
}

.btn-outline {
    background: #edf6ee;
    color: #9ac984;
    border-color: #98c582;
}

.btn-outline:hover {
   background: #edf6ee;
    color: #4c9d81;
    border-color: #70b3b1;
}

.btn-fill {
   background: #70b3b1;
    color: #fff;
    border-color: #9AC984;
}

.btn-fill:hover {
    background: #9ac984;
}

.project-img {
    width: 100%;
    height: 280px;
    background-image: url(/wp-content/themes/nyuts/assets/img/farm.jpeg);
    background-size: 100%;
    object-fit: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50px;
    border-bottom-right-radius: 0;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 3rem;
    padding: 1rem 0;
    opacity: 0.98;
    align-items: center;
}

/* ==================== ファーマーセクション ==================== */
.farmer,.store, .shopping{
    padding: 60px 30px;
}

.farmer-content,.store-content,.shopping-content {
    display: flex;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.farmer-img,.store-img,.shopping-img {
    width: 46%;
    height: 330px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.9;
    border-radius: 50px;
    border-bottom-right-radius: 0;
    flex-shrink: 0;
}

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

.farmer-label,.store-label,.shopping-label {
    font-size: 0.85rem;
    color: #9AC984;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 15px;
}

.farmer-text h3,
.store-text h3,
.shopping-text h3{
    font-size: 1.8rem;
    color: #4C9D81;
    margin-bottom: 20px;
    font-weight: 600;
}

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

.farmer-text .btn,
.store-text .btn,
.shopping-text .btn {
    margin: 20px auto;
    text-align: center;
    padding: 1rem 6rem;
}

.farmer-img{
    background:url(/wp-content/themes/nyuts/assets/img/farmwork.jpeg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat; 
}

/* ==================== 店舗セクション ====================  */
.store-img {
    background:url(/wp-content/themes/nyuts/assets/img/shopworker.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat; 
}

/* ==================== ショッピングセクション ==================== */

.shopping-img {
    background:url(/wp-content/themes/nyuts/assets/img/nyutsnokalogo.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

/* ==================== CTA セクション ==================== */
.cta {
    background: linear-gradient(135deg, #4C9D81 0%, #3a7d66 100%);
    padding: 80px 30px;
    text-align: center;
    margin: 60px auto;
    max-width: 1200px;
    border-radius: 40px;
    margin-bottom: -3.2rem;
    display: grid;
}

.cta h2 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 600;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.cta .btn {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    border-color: #fff;
    margin-inline:1rem;
}

.cta .btn:hover {
    background: rgba(255, 255, 255, 0.35);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    margin: 25px;
}

/* ==================== 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: 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;
  margin-top: -8rem;
}

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

.wave-item.item-shop{
    width: 70px;
    top: 2rem;
    right: 2.2rem;
}

.wave-item.item-woman-box{
     left: 4rem;
}

.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:11rem;
    bottom: 1rem;
}

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

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

  .hero-content {
    flex-direction: column;
    gap: 30px;
  }

  .hero-text,
  .hero-img {
    width: 100%;
    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: 280px;
  }

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

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

@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;
    padding: 50px 1.5rem;
  }

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

  .btn-group,
  .cta-buttons {
    flex-wrap: wrap;
  }

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

  .wave-items.endcta {
    gap: 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:1rem;
    width: 100%;
  }

  .wave-items {
    gap: 1.2rem;
  }

  .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: -1rem;
  }

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