/* =====================================================
   TOP Page Styles
===================================================== */

/* ----- Hero Section ----- */
.hero {
  position: relative;
  height: 682px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero__bg .video-wrap{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
 position: absolute;
  bottom: 0;
  left: 0;
  width: 50%;
  height: 40%;
  background: rgba(0, 28, 65, 0.35);
  clip-path: polygon(0 0, 0 0, 100% 100%, 0 100%);
      width: 70%;
    height: 57%;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 400px 64px 60px;
  color: var(--color-white);
  max-width: 600px;
  height: 100%;
  
}

.hero__title {
  font-size: 4.8rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.05em;
}

.hero__logo {
  margin-top: 40px;
  max-width: 368px;
}

.hero__logo img {
  width: 100%;
  height: auto;
}

.hero__text {
  margin-top: 24px;
  font-size: 1.4rem;
  line-height: 1.8;
}

/* ----- News Section ----- */
.news {
  position: relative;
  z-index: 10;
  margin-left: 64px;
  margin-top: 64px;
}

.news__inner {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  background-color: #f4f4f4;
  padding: 32px 40px;
}

.news__header {
  flex-shrink: 0;
  min-width: 100px;
}

.news__title-en {
  font-family: var(--font-en);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.2;
}

.news__title-ja {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: #249336;
  margin-top: 4px;
  letter-spacing: -0.03em;
}

.news-list {
  max-height: 400px;
  overflow-y: auto;
}
.news-list .news-list__item:nth-child(n+3) {
  display: none;

}
.news-list__link {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: 4px 0;
}
@media screen and (max-width: 768px) {
  .news-list__link {
    flex-direction: column;
    gap: 8px;
  }
}
.news-list__date {
  font-family: var(--font-en);
  font-size: 1.6rem;
  font-weight: 600;
  color: #45ac56;
  white-space: nowrap;
  letter-spacing: -0.03em;

}

.news-list__title {
  font-size: 1.6rem;
  color: var(--color-text);
  letter-spacing: -0.03em;
  font-weight: normal;
}

/* ----- About Section ----- */
.about {
  padding: 100px 0 0;
  margin-bottom: -200px;
}
@media screen and (max-width: 768px) {
  .about {
    margin-bottom: 0px;
  }
}
.about__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.about__content {
  position: relative;
}


.about__text {
  padding-top: 0;
}

.about__header {
  display: flex;
  align-items: baseline;
  gap: 24px;
}

.about__title-en {
  font-family: var(--font-en);
  font-size: 8.8rem;
  font-weight: 700;
  background: linear-gradient(90deg, #9ec231 0%, #45ac56 55%, #249336 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  letter-spacing: -0.02em;
}

.about__title-ja {
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--color-navy);
}

.about__subtitle {
  margin-top: 24px;
  font-size: 3.3rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.5;
}

.about__line {
  width: 100%;
  max-width: 720px;
  height: 3px;
  background: linear-gradient(90deg, #9ec231 0%, #45ac56 55%, #249336 100%);
  margin-top: 24px;
}

.about__desc {
  margin-top: 32px;
  font-size: 1.5rem;
  line-height: 2;
  color: var(--color-text);
}

.about__btn {
  margin-top: 40px;
}
@media screen and (max-width: 768px) {
  .about__btn {
    margin-top: 20px;
    margin-bottom: 40px;
  }
}

.about__image{
  margin-right: calc(50% - 50vw);
padding-right:calc(50vw - 50% - 50px);
  display: flex;
  justify-content: flex-end;
  position: relative;
  z-index: 1;
}

.about__image .img {
  
  width: 600px;
  /* position: absolute; */
  /* width: calc(100% - 40px);
  padding-left: calc(100% - 500px); */
  
}

@media screen and (max-width: 768px) {
  .about__image{
    margin-right: 0;
    padding-right: 0;
    justify-content: center;
  }
  .about__image .img {
    width: 100%;
  }
}

.about__image .img img{
  max-width: 100%;
  height: auto;
  display: inline-block;
 }

/* ----- Service Section ----- */
.service {
  position: relative;
  padding: 100px 0 80px;
  background-color: #f3f3f3;
}

.service__bg {
  display: none;
}

.service__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.service__header {
  color: var(--color-navy);
}

.service__title-en {
  font-family: var(--font-en);
  font-size: 8.8rem;
  font-weight: 700;
  background: linear-gradient(90deg, #9ec231 0%, #45ac56 55%, #249336 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  letter-spacing: -0.02em;
}

.service__subtitle {
  margin-top: 16px;
  font-size: 3.1rem;
  font-weight: 700;
  color: var(--color-navy);
}

.service__line {
  width: 300px;
  height: 3px;
  background: linear-gradient(90deg, #9ec231 0%, #45ac56 55%, #249336 100%);
  margin-top: 24px;
}

.service__text {
  margin-top: 32px;
  font-size: 1.5rem;
  line-height: 2;
  color: var(--color-text);
}

.service__btn {
  margin-top: 24px;
}

.service__btn .btn {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.service__btn .btn:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.service__images {
  
  margin-top: 40px;
}

.service__image {
  overflow: hidden;
}

.service__image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.service__image:hover img {
  transform: scale(1.05);
}

.service__grid {
  display: none;
}

.service__card {
  background-color: var(--color-white);
  overflow: hidden;
}

.service__card-image {
  aspect-ratio: 314 / 297;
  overflow: hidden;
}

.service__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service__card:hover .service__card-image img {
  transform: scale(1.05);
}

.service__card-title {
  padding: 16px;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  color: var(--color-text);
}

/* ----- One Stop ----- */
.onestop {
  margin-top: 80px;
  text-align: center;
  padding: 0;
  background-color: transparent;
}

.onestop__label {
  font-size: 3.1rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.3;
}

.onestop__symbol {
  font-size: 3.1rem;
  font-weight: 700;
  color: var(--color-navy);
  margin: 8px 0;
  line-height: 1.3;
}

.onestop__title {
  font-size: 3.1rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.3;
}

/* ----- Product Section ----- */
.product {
  padding: 100px 0;
  background-color: #f3f3f3;
}

.product__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.product__header {
  margin-bottom: 48px;
}

.product__title-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.product__title-line {
  display: block;
  width: 4px;
  height: 60px;
  background: linear-gradient(180deg, #9ec231 0%, #45ac56 55%, #249336 100%);
  flex-shrink: 0;
}

.product__title-en {
  font-family: var(--font-en);
  font-size: 1.6rem;
  font-weight: 700;
  color: #9ec231;
  line-height: 1.8;
  letter-spacing: 0.01em;
}

.product__title-ja {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-top: 0;
  letter-spacing: 0.05em;
}

.product__grid {
  
}

.product__card {
  background-color: transparent;
  overflow: hidden;
}

.product__card-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

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

.product__card-body {
  padding: 24px;
}

.product__card-title {
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--color-navy);
  letter-spacing: -0.02em;
}

.product__card-text {
  margin-top: 12px;
  font-size: 1.5rem;
  line-height: 2;
  color: var(--color-text);
}

.product__btn {
  margin-top: 48px;
}

/* ----- Responsive (iPad) ----- */
@media screen and (max-width: 1024px) {
  .hero {
    height: 550px;
  }

  .hero__title {
    font-size: 3.6rem;
  }

  .hero__content {
    padding: 60px 40px;
  }

  .news {
    margin-right: 40px;
    max-width: 600px;
  }

  .about__content {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .about__title-en {
    font-size: 6rem;
  }

  .about__subtitle {
    font-size: 2.4rem;
  }

  .service__title-en {
    font-size: 6rem;
  }

  .service__subtitle {
    font-size: 2.4rem;
  }

  .service__images {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
  }

  .onestop__label,
  .onestop__symbol,
  .onestop__title {
    font-size: 2.4rem;
  }

  .product__grid {
    gap: 24px;
  }
}

/* ----- Responsive (Smartphone) ----- */
@media screen and (max-width: 768px) {
  .hero {
    height: auto;
    min-height: 400px;
  }

  .hero__overlay {
    /* width: 100%;
    clip-path: none; */
  }

  .hero__content {
    padding: 48vw 20px 20px;
  }

  .hero__title {
    font-size: 2.8rem;
  }

  .hero__logo {
    max-width: 280px;
  }

  .hero__text {
    font-size: 1.3rem;
  }

  .news {
    margin: 0 16px 0;
  }

  .news__inner {
    flex-direction: column;
    gap: 16px;
    padding: 24px;
  }

  .news__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .news__date {
    font-size: 1.4rem;
  }

  .news__text {
    font-size: 1.4rem;
  }

  .about {
    padding: 48px 0;
  }

  .about__inner {
    padding: 0 20px;
  }

  .about__content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about__text {
    padding-top: 0;
    order: 1;
  }

  .about__image {
    order: 0;
  }

  .about__title-en {
    font-size: 4.8rem;
  }

  .about__subtitle {
    font-size: 2rem;
  }

  .service {
    padding: 48px 0;
  }

  .service__inner {
    padding: 0 20px;
  }

  .service__title-en {
    font-size: 4.8rem;
  }

  .service__subtitle {
    font-size: 2rem;
  }

  .service__images {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .onestop {
    margin-top: 40px;
    padding: 0;
  }

  .onestop__label,
  .onestop__symbol,
  .onestop__title {
    font-size: 2rem;
  }

  .product {
    padding: 48px 0;
  }

  .product__inner {
    padding: 0 20px;
  }

  .product__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .product__title-ja {
    font-size: 2rem;
  }

  .cta-banner {
    grid-template-columns: 1fr;
  }

  .cta-banner__item {
    height: 200px;
  }

  .cta-banner__title-en {
    font-size: 2.8rem;
  }
}
