/* About Page Styles */
#aboutPage {
  padding-top: 0;
}

.wrap {
  max-width: 100vw;
  padding: 0;
}

#fixedPage {
  padding: 0;
}

#creative-planning,
#furusato-tax,
#d2c-business,
#food-planning,
#global-solution,
#designated-management,
#food-service {
  padding-top: 100px !important;
  margin-top: -100px !important;
}

.sp-only {
  display: none;
}
.kaigyo{
  display: inline-block;
}

@media (max-width: 768px) {
  .sp-only {
    display: block;
  }
}
@media (max-width: 920px) {
  .main-slogan{
    .sp-only{
      display: block;
    }
  }
  
}

.about-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}
/* .view-all-btn {
  margin-top: 40px;
  display: block;
  text-align: center;
  background: linear-gradient(to right, #489FB2, #487DB2);
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease;
} */
.logo-wrap {
  margin-top: 6rem;
  .logo-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: 0.1rem;
    position: relative;
    width: fit-content;
    margin: 0 auto;

    &::after{
      content: "";
      display: block;
      width: calc(100% + 60px);
      margin-left: -30px;
      height: 0.5px;
      background: #333;
      margin-top: 2rem;
      position: absolute;
      top: 50%;
      left: 0;
      z-index: -1;
    }
  }
  .logo-cards { 
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 4rem;
    .logo-card {
      width: 200px;
      height: 150px;
      background: #fff;
      a{
        display: block;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px;
        img {
          width: 80%;
          height: 80%;
          object-fit: contain;
        }
      }
    }
  }
}
/* Hero Section */
.hero-section {
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(to right, #489FB2, #487DB2);
  margin-top: -80px;


  .hero-content {
    padding: 80px 0;
    margin: 0 auto;
    width: 100%;
    p{
      color: #fff;
      line-height: 1.7;
      letter-spacing: 0.05em;
      text-align: justify;

    }
    .purpose-section,
    .value-section {
      margin-bottom: 6rem;
    }
    .main-slogan {
      font-size: 2.5rem;
      margin: 3rem 0;
      line-height: 1.7;
      text-align: center;
      font-weight: normal;
      letter-spacing: 0.1em;
    
      &.en {
        font-size: 3rem;
        margin-bottom: 1rem;

      }
    }
    .slogan-ja {
      font-size: 1.75rem;
      margin-bottom: 3rem;
      text-align: center;
      letter-spacing: 0.1em;

    }
    .description {
      font-size: 1rem;
      line-height: 2rem;
      margin-bottom: 2rem;
      letter-spacing: 0.05em;
    }
    .value-list {
      color: #fff;
      li {
        font-size: 1rem;
        list-style: disc;
        margin-left: 1em;
        line-height: 2rem;
        letter-spacing: 0.05em;
      }
    }
  }
}



.section-title.en {
  color: #fff;
  text-align: center;
  margin-bottom: 30px;
  font-size: 2.5rem;
  font-weight: bold;
  letter-spacing: 0.1rem;
}




/* What we do Section */
.what-we-do-section {
  padding: 100px 20px;
  text-align: center;
  background: #fff;

  .section-title.en {
    color: #487db2;
    margin-bottom: 60px;
  }

  .business-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;

    .category-item {
      background: linear-gradient(to right, #489FB2, #487DB2);
      padding: 4px 10px;
      font-weight: bold;
      color: #fff;
      text-decoration: none;
      display: block;
    }
  }

}

/* Business Detail Sections */
.business-detail-section {
  padding: 100px 0 200px;
  background: rgba(72, 159, 178, 0.08);

  &:nth-child(even) {
    background: white;
  }

    .section-title {
      color: #333;
      text-align: center;
      margin-bottom: 4rem;
      font-size: 2rem;
    }

    .section-description {
      color: #333;
      margin-bottom: 60px;
      margin-left: auto;
      margin-right: auto;
      line-height: 1.8;
      letter-spacing: 0.05em;
      text-align: justify;
    }

    .business-list {
      color: #333;
      margin-bottom: 60px;
      margin-left: auto;
      margin-right: auto;
      line-height: 1.8;
      li {
        font-size: 1rem;
        list-style: disc;
        margin-left: 1em;
        line-height: 2rem;
      }
    }

    .business-cards {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 40px;
      margin: 0 auto;
      padding: 0 20px;

      .business-card {
        max-width: 400px;
        height: 100%;

        .card-image {
          margin-bottom: 1rem;


          img {
            width: 100%;
            height: 100%;
            object-fit: cover;
          }
        }

        .card-content {

          p {
            color: #333;
            line-height: 1.6;
            font-weight: bold;
            font-size: 1.125rem;
            letter-spacing: 0.05em;
          }
        }
      }
    }
  
}


/* Executive Messages Section */
.executive-messages-section {
  background: linear-gradient(to right, #489FB2, #487DB2);
  padding: 100px 0;

  .main-slogan {
    font-size: 4rem;
    margin-bottom: 50px;
    line-height: 1.7;
    color: white;
    text-align: center;
  }

  .message-content {
    text-align: left;
    margin: 0 auto;

    p {
      color: white;
      font-size: 1rem;
      line-height: 2rem;
      margin-bottom: 2rem;
      letter-spacing: 0.05em;
      text-align: justify;
    }

    .message-sign {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 20px;
      margin-top: 3rem;
      margin-bottom: 0;

      img {
        width: 90px;
        height: 90px;
        border-radius: 50%;
        object-fit: cover;
        flex-shrink: 0;
      }

      p {
        margin-bottom: 0;
        text-align: right;
        line-height: 1.8;
      }
    }
  }
}

/* Company Info Section */
.company-info-section {
  padding: 100px 20px 0;
  background: white;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;

  .company-profile,
  .access-map {
    .section-title.en {
      color: #487db2;
      margin-bottom: 40px;
      text-align: center;
    }
  }

  .company-profile {
    .company-table {
      width: 100%;
      border-collapse: collapse;

        tr {
          &:nth-child(odd) {
            background: rgba(0, 0, 0, 0.02);
          }
        }

      td {
        padding: 15px 10px;
        vertical-align: top;

        &.label {
          font-weight: bold;
          color: #333;
          width: 120px;
        }

        &.value {
          color: #333;
          line-height: 1.6;
        }
      }
    }
  }

  .access-map {
    .map-iframe {
      width: 100%;
      height: 300px;
      iframe {
        width: 100%;
        height: 100%;
      }
    }
  }
}

/* Family & Client Section */
.family-client-section {
  padding: 100px 20px;

  .section-title.en {
    color: #487db2;
    margin-bottom: 40px;
  }
  .family-section {
    margin-bottom: 80px;

    .family-description {
      color: #333;
      line-height: 1.8;
      margin: 0 auto;
      text-align: center;
      font-size: 1.5rem;
      margin: 3rem 0 2rem;
    }


    .family-logos {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 40px;

      .logo-item {
        max-width: 200px;
        width: 100%;
        height: 160px;

        a {
          display: block;
          width: 100%;
          height: 100%;
          display: flex;
          align-items: center;
          justify-content: center;
          background: rgba(0, 0, 0, 0.02);
        }

        img {
            width: 60%;
            height: 50%;
            object-fit: contain;
        }
      }
    }
  }

  .client-section {
    text-align: center;

    .client-description {
      line-height: 1.8;
      max-width: 1000px;
      margin: 0 auto;
      text-align: justify;
      letter-spacing: 0.05em;
      font-size: 1rem;
    }
  }
}


/* Responsive Design */
@media (max-width: 768px) {
  footer{
    padding: 38px 20px !important;
  }
  
  .section-title.en {
    font-size: 2rem;
  }
  .logo-wrap {
    .logo-title {
      font-size: 1.25rem;
    }
    .logo-cards {
      gap: 20px;
      .logo-card {
        width: 150px;
        height: 120px;
      }
    }
  }
  
  .hero-section {
    .hero-content {
      padding: 100px 0 0 ;

      .main-slogan {
        font-size: 1.25rem;
    
        &.en {
          font-size: 1.5rem;
        }
      }
      .slogan-ja {
        font-size: 1.25rem;
      }
      .description {
        font-size: 0.875rem;
        line-height: 1.7;
        letter-spacing: 0.05em;
      }
      .value-list {
        li{

          font-size: 0.875rem;
          line-height: 1.7;
          letter-spacing: 0.05em;
        }
      }
    }
  }
  .hero-bg{
    img{
      width: 100%;
      height: 150px;
      object-fit: cover;
    }
  }
  
  .what-we-do-section {
    padding: 60px 0;
    .business-categories {
      gap: 15px;
      .category-item {
        font-size: 0.875rem;
      }
    }
  }

  .business-detail-section {
    padding: 0 0 140px;
    .section-title {
      font-size: 1.375rem;
      margin-bottom: 2rem;
    }
    .section-description {
      line-height: 1.7;
      letter-spacing: 0.05em;
    }
    .business-list {
      li{
        font-size: 0.875rem;
        line-height: 1.7;
        letter-spacing: 0.02em;
      }
    }
      .business-cards {
        grid-template-columns: 1fr;
        gap: 30px;
        .business-card {
          .card-content {
            p{
              font-size: 0.875rem;
              line-height: 1.7;
              letter-spacing: 0.05em;
            }
          }
        }
      }
  }
  
  .company-info-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .family-client-section {
    .family-section {
      .family-logos {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
      }
    }
  }
  
  .executive-messages-section {
    .main-slogan {
      font-size: 2rem;
    }
    .message-content {
      p{
        font-size: 0.875rem;
        line-height: 1.7;
        letter-spacing: 0.05em;
      }

      .message-sign {
        img {
          width: 70px;
          height: 70px;
        }

        p {
          font-size: 0.8125rem;
        }
      }
    }

  }
  .family-client-section {
    .family-section {
      .family-description {
        font-size: 1.25rem;
      }
      .family-logos {
        gap: 20px;

        .logo-item {
          max-width: 150px;
          height: 120px;
        }
      }
    }
    .client-section {
      .client-description {
        font-size: 0.875rem;
        line-height: 1.7;
        letter-spacing: 0.05em;
      }
    }
  }
}

