@charset "utf-8";
/********************
 CMS TOPページ用CSS
 ********************/

.cmn-main {
  padding-block-start: 0;
}
@media (width <= 760px) {
  .cmn-main {
    overflow: hidden;
  }
}

.top-heroWrap {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 1366/768;
  overflow: hidden;
}
@media (width <= 760px) {
  .top-heroWrap {
    width: auto;
    height: 100dvh;
  }
}

.top-hero {
  display: block;
  width: 100%;
  height: 100%;
}
@media (width <= 760px) {
  .top-hero {
    position: absolute;
    top: 0;
    left: 50vw;
    translate: -50% 0
  }
}

.top-heroBox {
  position: absolute;
  /* top: 22.4vw; */
  top: 39.84%;
  left: 42.31%;
  z-index: 10;
  opacity: 1;
  transition: opacity 1s ease-in-out;
  &.is-hidden {
    opacity: 0;
  }
  & img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
@media (width <= 760px) {
  .top-heroBox {
    top: 53%;
    left: 48%;
    translate: -50% -50%;
  }
}

.top-heroBox_01 {
  width: 15.37vw;
  height: auto;
  aspect-ratio: 210/123;
  opacity: 0;
  transition: opacity 1.5s ease-out;
  .is-slideActive & {
    opacity: 1;
  }
}
@media (width <= 760px) {
  .top-heroBox_01 {
    width: min(64vw,270px);
  }
}

.top-heroBox_02 {
  width: 15.08vw;
  height: auto;
  aspect-ratio: 206/51;
  margin-block-start: 3.66vw;
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  transition: opacity 1s ease-in-out 2.5s, clip-path 1s ease-in-out 2.5s;
  .is-slideActive & {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}
@media (width <= 760px) {
  .top-heroBox_02 {
    width: min(63vw,265px);
    margin-block-start: min(13.33vw,56px);
  }
}

.top-hero_slider {
  position: relative;
  height: 100%;
  & li {
    position: absolute;
    top: 0;
    left: 0;
    /* width: 100vw;
    height: 100%; */
    width: auto;
    height: 100%;
    aspect-ratio: 1366/768;
  }
}

.top-heroSlide1 {
  position: relative;
  top: 7.91vw;
  right: -29.87vw;
  rotate: 45deg;
  transform-origin: right top;
  z-index: 4;
  width: 100%;
  height: 100%;
  transition: background 1s ease-in-out 2.5s;
  /* transition: top 1.5s ease-out, left 1.5s ease-out, rotate 1.5s ease-out; */
  &::before {
    position: absolute;
    top: 0;
    left: -100vw;
    display: block;
    width: 100vw;
    height: 100%;
    background-color: var(--hover-color);
    opacity: 0;
    transition: left 1s ease-in-out 2.5s,width 1s ease-in-out 2.5s,opacity 0s 1.5s;
    content: "";
  }
  .is-slideActive & {
    background-color: rgba(255,255,255,0);
    &::before {
      left: 100%;
      width: 9.66%;
      opacity: 1;
    }
  }
  & img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
@media (width <= 760px) {
  .top-heroSlide1 {
    
  }
}

[class^="top-heroSlide1_"] {
  position: absolute;
  height: auto;
  clip-path: polygon(0 0, 25px 0, 25px 100%, 0 100%);
  opacity: 0;
  transition: clip-path 1.5s ease-out, opacity 1.5s ease-out, left 1s ease-in-out;
  .is-slideActive & {
    opacity: 1;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}

.top-heroSlide1_01 {
  top: 0;
  left: 43.92%;
  z-index: 3;
  width: 29.28%;
  aspect-ratio: 1;
  .is-slideOut & {
    left: 119.84%;
  }
}
/* @media (width <= 760px) {
  .top-heroSlide1_01 {
    left: 43.92%;
    width: 29.28%;
  }
} */

.top-heroSlide1_02 {
  /* top: 14.64vw; */
  top: 26.04%;
  left: 58.57%;
  z-index: 4;
  width: 14.64%;
  aspect-ratio: 1;
  .is-slideOut & {
    left: 149.12%;
  }
}
/* @media (width <= 760px) {
  .top-heroSlide1_02 {
    top: 26.04%;
    left: 58.57%;
    width: 14.64%;
  }
} */

.top-heroSlide1_03 {
  /* top: 14.64vw; */
  top: 26.04%;
  left: 29.28%;
  z-index: 5;
  width: 29.28%;
  aspect-ratio: 1;
  .is-slideOut & {
    left: 134.48%;
  }
}
/* @media (width <= 760px) {
  .top-heroSlide1_03 {
    top: 26.04%;
    left: 29.28%;
    width: 29.28%;
  }
} */

.top-heroSlide1_04 {
  /* top: 14.64vw; */
  top: 26.04%;
  left: 29.28%;
  z-index: 7;
  width: 29.28%;
  aspect-ratio: 400/36;
  .is-slideOut & {
    left: 119.84%;
  }
}
/* @media (width <= 760px) {
  .top-heroSlide1_04 {
    top: 26.04%;
    left: 29.28%;
    width: 29.28%;
  }
} */

.top-heroSlide1_05 {
  /* top: 29.28vw; */
  top: 52.08%;
  left: 14.64%;
  z-index: 1;
  width: 29.28%;
  aspect-ratio: 1;
  .is-slideOut & {
    left: 163.76%;
  }
}
/* @media (width <= 760px) {
  .top-heroSlide1_05 {
    top: 52.08%;
    left: 14.64%;
    width: 29.28%;
  }
} */

.top-heroSlide1_06 {
  /* top: 29.28vw; */
  top: 52.08%;
  left: 14.64%;
  z-index: 2;
  width: 14.64%;
  aspect-ratio: 1;
  .is-slideOut & {
    left: 177.96%;
  }
}
/* @media (width <= 760px) {
  .top-heroSlide1_06 {
    top: 52.08%;
    left: 14.64%;
    width: 14.64%;
  }
} */

.top-heroSlide1_07 {
  /* top: 41.73vw; */
  top: 74.35%;
  left: 0;
  z-index: 11;
  width: 43.92%;
  aspect-ratio: 600/32;
  .is-slideOut & {
    left: 100%;
  }
}
/* @media (width <= 760px) {
  .top-heroSlide1_07 {
    top: 74.35%;
    width: 43.92%;
  }
} */

.top-heroSlide1_08 {
  /* top: 43.92vw; */
  top: 78.13%;
  left: 0;
  z-index: 10;
  width: 29.28%;
  aspect-ratio: 1;
  .is-slideOut & {
    left: 163.32%;
  }
}
/* @media (width <= 760px) {
  .top-heroSlide1_08 {
    top: 78.13%;
    width: 29.28%;
  }
} */

.top-heroSlide1_09 {
  /* top: 45.39vw; */
  top: 80.73%;
  left: 14.64%;
  z-index: 12;
  width: 14.64%;
  aspect-ratio: 200/18;
  .is-slideOut & {
    left: 186.97%;
  }
}
/* @media (width <= 760px) {
  .top-heroSlide1_09 {
    top: 80.73%;
    left: 14.64%;
    width: 14.64%;
  }
} */

.top-heroSlide1_10 {
  /* top: 14.64vw; */
  top: 26.04%;
  left: 58.57%;
  z-index: 6;
  width: 41.43%;
  aspect-ratio: 566/600;
  .is-slideOut & {
    transition: opacity 1s ease-in-out;
  }
  .is-hidden & {
    opacity: 0;
  }
}
/* @media (width <= 760px) {
  .top-heroSlide1_10 {
    top: 26.04%;
    left: 58.57%;
    width: 41.43%;
  }
} */

.top-heroSlide1_11 {
  /* top: 30.75vw; */
  top: 53.64%;
  left: 73.21%;
  z-index: 9;
  width: 23.87%;
  aspect-ratio: 326/18;
  .is-slideOut & {
    left: 154.1%;
  }
}
/* @media (width <= 760px) {
  .top-heroSlide1_11 {
    top: 54.69%;
    left: 73.21%;
    width: 23.87%;
  }
} */

.top-heroSlide1_12 {
  /* top: 27.45vw; */
  top: 49.05%;
  left: 58.57%;
  z-index: 8;
  width: 20.94%;
  aspect-ratio: 286/25;
  .is-slideOut & {
    left: 133.16%;
  }
}
/* @media (width <= 760px) {
  .top-heroSlide1_12 {
    top: 27.45%;
    left: 58.57%;
    width: 20.94%;
  }
} */

.top-heroSlide2 {
  position: relative;
  scale: 1;
  z-index: 3;
  &::before {
    position: absolute;
    top: 0;
    left: -100vw;
    z-index: 1;
    display: block;
    width: 100vw;
    height: 100%;
    background-color: #E8E867;
    transition: left 1s ease-in-out 5s,width 1s ease-in-out 5s;
    content: "";
  }
  &::after {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    background-color: #FFF;
    opacity: 1;
    transition: opacity 1s ease-in-out;
    content: "";
  }
  &.is-slideActive {
    &::before {
      left: 100vw;
      width: 1.46vw;
    }
    &::after {
      opacity: 0;
    }
  }
  & > div {
    display: contents;
  }
  & > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
  }
}
@media (width <= 760px) {
  .top-heroSlide2 {
    /* & > img {
      position: relative;
      top: 0;
      left: -33%;
    } */
  }
}

[class^="top-heroSlide2_"] {
  position: absolute;
  z-index: 1;
  height: auto;
  clip-path: polygon(0 0, 25px 0, 25px 100%, 0 100%);
  transition: clip-path 4s ease-in-out 1s, left 1s ease-in-out 5s;
  .is-slideActive & {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}

.top-heroSlide2_01 {
  /* top: 2.56vw; */
  top: 4.56%;
  left: -15.3%;
  width: 30.45%;
  aspect-ratio: 1;
  .is-slideActive & {
    left: 115.23%;
  }
}

.top-heroSlide2_02 {
  /* top: 17.79vw; */
  top: 31.64%;
  left: 0;
  width: 30.45%;
  aspect-ratio: 1;
  .is-slideActive & {
    left: 130.45%;
  }
}

.top-heroSlide2_03 {
  /* top: 17.79vw; */
  top: 31.64%;
  left: -15.3%;
  width: 21.82%;
  aspect-ratio: 298/17;
  .is-slideActive & {
    left: 115.23%;
  }
}

.top-heroSlide2_04 {
  /* top: 19.69vw; */
  top: 34.9%;
  left: -15.3%;
  width: 11.64%;
  aspect-ratio: 159/9;
  .is-slideActive & {
    left: 115.23%;
  }
}

.top-heroSlide2_05 {
  /* top: 31.33vw; */
  top: 55.6%;
  left: -15.3%;
  width: 30.45%;
  aspect-ratio: 416/24;
  .is-slideActive & {
    left: 115.23%;
  }
}

.top-heroSlide2_06 {
  /* top: 33.67vw; */
  top: 59.9%;
  left: 0;
  width: 15.23%;
  aspect-ratio: 208/12;
  .is-slideActive & {
    left: 130.45%;
  }
}

.top-heroSlide3 {
  position: relative;
  z-index: 2;
  /* opacity: 0; */
  & > div {
    display: contents;
  }
  & > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
  }
}
@media (width <= 760px) {
  .top-heroSlide3 {
    /* left: -25%; */
    & > div {
      position: absolute;
      top: 0%;
      /* left: -26.5%; */
      left: -24%;
      display: block;
      width: 100%;
      height: 100%;
    }
    /* & > img {
      position: relative;
      top: 0;
      left: calc(50% - 1220px);
    } */
  }
}

[class^="top-heroSlide3_"] {
  position: absolute;
  height: auto;
  clip-path: polygon(0 0, 25px 0, 25px 100%, 0 100%);
  transition: clip-path 1s ease-in-out;
  .is-slideActive & {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}
@media (width <= 760px) {
  [class^="top-heroSlide3_"] {
    transition: clip-path 1s ease-in-out 0.3s;
  }
}

.top-heroSlide3_txt {
  /* top: 28.55vw; */
  top: 48.7%;
  left: 64.57%;
  z-index: 10;
  width: 13.25%;
  aspect-ratio: 181/94;
  & > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
@media (width <= 760px) {
  .top-heroSlide3_txt {
    top: 52%;
    width: min(48vw,230px);
  }
}

.top-heroSlide3_01 {
  /* top: 7.83vw; */
  top: 13.93%;
  left: 84.77%;
  z-index: 1;
  width: 30.45%;
  aspect-ratio: 1;
}
@media (width <= 760px) {
  .top-heroSlide3_01 {

  }
}

.top-heroSlide3_02 {
  /* top: 23.06vw; */
  top: 41.02%;
  left: 69.55%;
  z-index: 2;
  width: 30.45%;
  aspect-ratio: 1;
}

.top-heroSlide3_03 {
  /* top: 23.06vw; */
  top: 41.02%;
  left: 69.55%;
  z-index: 2;
  width: 15.23%;
  aspect-ratio: 1;
}

.top-heroSlide3_04 {
  /* top: 23.06vw; */
  top: 41.02%;
  left: 69.55%;
  z-index: 3;
  width: 21.82%;
  aspect-ratio: 298/17;
}

.top-heroSlide3_05 {
  /* top: 24.96vw; */
  top: 44.4%;
  left: 69.55%;
  z-index: 4;
  width: 11.64%;
  aspect-ratio: 159/9;
}

.top-heroSlide3_06 {
  /* top: 36.6vw; */
  top: 65.1%;
  left: 69.55%;
  z-index: 5;
  width: 30.45%;
  aspect-ratio: 416/24;
}

.top-heroSlide3_07 {
  /* top: 38.95vw; */
  top: 69.27%;
  left: 84.77%;
  z-index: 6;
  width: 15.23%;
  aspect-ratio: 208/12;
}

.top-lead {
  position: relative;
  /* min-height: 100dvh; */
  padding-block-start: 7.32vw;
}
@media (width <= 760px) {
  .top-lead {
    padding-block-start: 36.8vw;
    padding-block-end: 26.67vw;
  }
}

.top-lead_contents {
  width: 42.39vw;
  margin-inline: auto;
  & img {
    width: 100%;
  }
}
@media (width <= 760px) {
  .top-lead_contents {
    width: 100%;
    padding-inline: 2.67vw;
  }
}

/* .top-lead_ttl {
  font-size: 2.78vw;
  font-weight: 600;
  line-height: 1.67;
  text-align: center;
  clip-path: polygon(0 0,0 0,0 100%, 0 100%);
  transition: clip-path 2s ease-in-out;
  .is-active & {
    clip-path: polygon(0 0,100% 0, 100% 100%, 0 100%);
  }
}
@media (width <= 760px) {
  .top-lead_ttl {
    font-size: 9.33vw;
    line-height: 1.82;
    text-align: left;
  }
}

.top-lead_txt {
  margin-block-start: 3.66vw;
  clip-path: polygon(0 0,0 0,0 100%, 0 100%);
  transition: clip-path 2s ease-in-out;
  .is-active & {
    clip-path: polygon(0 0,100% 0, 100% 100%, 0 100%);
  }
  & p {
    font-size: 1.46vw;
    letter-spacing: -0.05em;
    line-height: 2.2;
    text-align: center;
    & + p {
      margin-block-start: 1.46vw;
    }
  }
}
@media (width <= 760px) {
  .top-lead_txt {
    margin-block-start: 15.2vw;
    & P {
      font-size: 4.53vw;
      line-height: 2;
      text-align: left;
      & + p {
        margin-block-start: 8vw;
      }
    }
  }
} */

.top-lead_bg {
  display: contents;
  & div {
    position: absolute;
    z-index: -1;
    clip-path: polygon(0 0,0 0,0 100%, 0 100%);
    transition: clip-path 2s ease-in-out;
    &:nth-child(1) {
      top: 0;
      left: -14.64vw;
      width: 29.28vw;
    }
    &:nth-child(2) {
      top: 14.64vw;
      left: 0;
      width: 29.28vw;
    }
    &:nth-child(3) {
      top: 29.28vw;
      left: 14.64vw;
      width: 14.64vw;
    }
    &:nth-child(4) {
      top: 10.98vw;
      right: 0;
      width: 29.28vw;
    }
    .is-active & {
      clip-path: polygon(0 0,100% 0, 100% 100%, 0 100%);
    }
  }
  & img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
  }
}
@media (width <= 760px) {
  .top-lead_bg {
    & div {
      &:nth-child(1) {
        left: -40vw;
        width: 80vw;
      }
      &:nth-child(2) {
        top: 40vw;
        width: 80vw;
      }
      &:nth-child(3) {
        top: 80vw;
        left: 40vw;
        width: 40vw;
      }
      &:nth-child(4) {
        top: 120vw;
        width: 80vw;
      }
    }
  }
}

.top-section {
  width: 100%;
  height: auto;
  aspect-ratio: 1366/800;
  padding-block: 7.32vw;
  padding-inline-start: 4.61vw;
  &[data-top="business"] {
    background-color: #D6E5E6;
  }
  &[data-top="products"] {
    padding-inline: 4.61vw;
    background-color: #DEECED;
  }
  &[data-top="pickup"] {
    translate: 0 -1px;
    aspect-ratio: auto;
    /* padding-block-start: 5.86vw;
    padding-inline: 4.61vw; */
    padding-block-start: 0;
    padding-inline: 0;
    background-color: #DEECED;
    visibility: visible;
    overflow: hidden;
  }
  &[data-top="news"] {
    aspect-ratio: auto;
    padding-inline: 4.61vw;
  }
}
@media (width <= 760px) {
  .top-section {
    aspect-ratio: auto;
    padding-block: 26.67vw;
    padding-inline-start: 2.67vw;
    &[data-top="products"] {
      padding-inline: 2.17vw;
      padding-block-start: 36.53vw;
    }
    /* &[data-top="pickup"] {
      padding-block-start: 18.67vw;
      padding-inline: 2.17vw;
    } */
    &[data-top="news"] {
      padding-inline: 2.17vw;
    }
  }
}

.top-mediaBox {
  display: grid;
  align-items: start;
  gap: 0 5.12vw;
  grid-template-columns: 1fr 51.24vw;
}
@media (width <= 760px) {
  .top-mediaBox {
    gap: 21.33vw 0;
    grid-template-columns: 100%;
  }
}

.top-mediaBox_link {
  & > div {
    padding-inline-start: 8.05vw;
    clip-path: polygon(0 0,0 0,0 100%, 0 100%);
    transition: clip-path 2s ease-in-out;
    &.is-active {
      clip-path: polygon(0 0,100% 0, 100% 100%, 0 100%);
    }
  }
}
@media (width <= 760px) {
  .top-mediaBox_link {
    & > div {
      padding-inline-start: 0;
    }
  }
}

.top-mediaBox_ttl {
  position: relative;
  padding-inline-start: 4.76vw;
  font-size: 2.64vw;
  font-weight: 600;
  line-height: 1.67;
  &::before, &::after {
    position: absolute;
    top: calc(50% + 0.15vw);
    translate: 0 -50%;
    display: block;
    height: auto;
    content: "";
  }
  &::before {
    left: 0;
    width: 3.29vw;
    aspect-ratio: 45/18;
    background-image: linear-gradient(to right, #E0E0E0 0%, #E0E0E0 40%, #2B4E76 40%, #2B4E76 100%);
    background-position: 38% 0;
    background-size: 200% 100%;
    transition: all 0.3s ease-out;
  }
  &::after {
    left: 1.32vw;
    width: 0.66vw;
    aspect-ratio: 1/2;
    background-color: #909090;
    clip-path: polygon(0% 0%, 100% 50%, 0% 100%);
    transition: all 0.3s ease-out;
  }
}
@media (width <= 760px) {
  .top-mediaBox_ttl {
    padding-inline-start: 17.33vw;
    font-size: 8vw;
    &::before {
      width: 12vw;
    }
    &::after {
      left: 5.1vw;
      width: 2.4vw;
    }
  }
}
@media (hover: hover) {
  .top-mediaBox_link:hover {
    & .top-mediaBox_ttl {
      color: #00A0BE;
      &::before {
        background-image: linear-gradient(to right, #6AD6EA 0%, #6AD6EA 40%, #E8E867 40%, #E8E867 100%);
        background-position: 0 0;
      }
      &::after {
        /* left: 9.6vw; */
        left: 2.6vw;
        background-color: #00A0BE;
      }
    }
  }
}

.top-mediaBox_en {
  margin-block-end: 4.25vw;
  font-size: 7.32vw;
  line-height: 0.95;
  clip-path: polygon(0 0,0 0,0 100%, 0 100%);
  transition: clip-path 2s ease-in-out;
  &.is-active {
    clip-path: polygon(0 0,100% 0, 100% 100%, 0 100%);
  }
  & span {
    display: block;
    & + span {
      margin-block-start: 2.34vw;
    }
  }
  & path {
   transition: fill 0.3s ease-in-out;
  }
}
@media (width <= 760px) {
  .top-mediaBox_en {
    margin-block-end: 16vw;
    font-size: 18.67vw;
  }
}
@media (hover: hover) {
  .top-mediaBox_link:hover {
    & .top-mediaBox_en path {
      fill: #00A0BE;
    }
  }
}

.top-mediaBox_txt {
  margin-block-start: 1.1vw;
  /* font-size: clamp(10px, 1.231px + 1.154vw, 16px); */
  /* font-size: clamp(8px, -2.033px + 1.32vw, 16px); */
  font-size: 1.17vw;
  letter-spacing: 0.015em;
  line-height: 1.81;
  color: var(--txt-main-color);
}
@media (width <= 760px) {
  .top-mediaBox_txt {
    margin-block-start: 8vw;
    font-size: 4.27vw;
  }
}

.top-mediaBox_img {
  position: relative;
  overflow: hidden;
  &::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    translate: -100% 0;
    display: block;
    width: 100%;
    height: 100%;
    background-color: #E8E867;
    transition: translate 2s ease-in-out;
    content: "";
  }
  & img {
    position: relative;
    z-index: 1;
    translate: -200% 0;
    width: 100%;
    height: 100%;
    aspect-ratio: 700/600;
    object-fit: cover;
    transition: translate 2s ease-in-out;
  }
  &.is-active {
    &::before {
      translate: 0 0;
    }
    & img {
      translate: 0 0;
    }
  }
}

.top-productsBox {
  position: relative;
}

.top-productsBox_en {
  position: absolute;
  top: -5.49vw;
  left: 0;
  z-index: 10;
  color: #FFF;
  font-size: 7.32vw;
  line-height: 0.95;
  clip-path: polygon(0 0,0 0,0 100%, 0 100%);
  transition: clip-path 2s ease-in-out;
  &.is-active {
    clip-path: polygon(0 0,100% 0, 100% 100%, 0 100%);
  }
  & span {
    display: block;
    & + span {
      margin-block-start: 2.34vw;
    }
  }
}
@media (width <= 760px) {
  .top-productsBox_en {
    top: -12.6vw;
    font-size: 18.4vw;
  }
}

.top-productsBox_img {
  & img {
    width: 100%;
    height: auto;
    object-fit: cover;
    opacity: 0;
    transition: opacity 2s ease-in-out;
  }
  &.is-active {
    & img {
      opacity: 1;
    }
  }
}
@media (width <= 760px) {
  .top-productsBox_img {
    & img {
      aspect-ratio: 355/304;
    }
  }
}

.top-searchBox {
  position: absolute;
  top: 34.77vw;
  left: 50%;
  translate: -50% 0;
  display: grid;
  gap: 0 0.73vw;
  grid-template-columns: 16.11vw 1fr 5.86vw;
  align-items: end;
  width: 74.67vw;
  padding-block: 2.2vw;
  padding-inline: 2.05vw;
  border-radius: 0.47vw;
  background-color: #2B4E76;
}
@media (width <= 760px) {
  .top-searchBox {
    top: 68vw;
    left: 0;
    translate: none;
    grid-template-columns: 100%;
    width: 100%;
    padding-block: 8vw;
    padding-inline: 4.53vw;
    border-radius: 1.6vw;
  }
}

.top-searchBox_ttl {
  color: #FFF;
  font-size: max(1.32vw,10px);
}
@media (width <= 760px) {
  .top-searchBox_ttl {
    font-size: 4.27vw;
  }
}

/* .top-searchBox_cateWrap {
  position: relative;
  margin-block-start: 1.1vw;
  &::after {
    position: absolute;
    top: 50%;
    right: min(0.66vw,9px);
    rotate: 45deg;
    translate: 0 -50%;
    display: block;
    width: min(0.59vw,8px);
    height: auto;
    aspect-ratio: 1;
    border-block-end: 2px solid #707070;
    border-inline-end: 2px solid #707070;
    content: "";
  }
}
@media (width <= 760px) {
  .top-searchBox_cateWrap {
    margin-block-start: 3.2vw;
    &::after {
      right: 2.4vw;
      width: 2.13vw;
    }
  }
} */

.top-searchBox_cate {
  width: 100%;
  height: 3.66vw;
  margin-block-start: 1.1vw;
  padding-inline: min(0.88vw,12px);
  border: 1px solid #E0E0E0;
  border-radius: 0;
  background-color: #FFF;
  color: var(--txt-black-color);
  font-size: 1.32vw;
}
@media (width <= 760px) {
  .top-searchBox_cate {
    height: auto;
    aspect-ratio: 320/40;
    margin-block-start: 3.2vw;
    padding-inline: 3.2vw;
    font-size: 4.27vw;
  }
}

.top-searchBox_input {
  width: calc(100% - 2.2vw);
  margin-inline-start: 2.2vw;
}
@media (width <= 760px) {
  .top-searchBox_input {
    width: 100%;
    margin-block-start: 2.67vw;
    margin-inline-start: 0;
  }
}

.top-searchBox_word {
  width: 100%;
  height: 3.66vw;
  margin-block-start: 1.1vw;
  padding-inline: 1.33vw;
  border: none;
  background-color: #FFF;
  box-shadow: 1px 1px 2px rgba(0,0,0,.2) inset;
  font-size: 1.32vw;
}
@media (width <= 760px) {
  .top-searchBox_word {
    height: auto;
    aspect-ratio: 320/40;
    margin-block-start: 3.2vw;
    padding-inline: 2.67vw;
    font-size: 4.27vw;
  }
}

.top-searchBox_submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
  aspect-ratio: 80/50;
  border-radius: 0.29vw;
  background-color: #707070;
  color: #FFF;
  font-size: 1.17vw;
  font-weight: 500;
  transition: background .3s ease-out, color .3s ease-out;
}
@media (width <= 760px) {
  .top-searchBox_submit {
    aspect-ratio: 320/40;
    margin-block-start: 6.4vw;
    border-radius: 1.07vw;
    font-size: 4.27vw;
  }
}
@media (hover: hover) {
  .top-searchBox_submit:hover {
    background-color: #FFF;
    color: var(--txt-black-color);
  }
}

.top-productsContents {
  display: grid;
  grid-template-columns: 1fr 40.41vw;
  width: 74.67vw;
  margin-block-start: 10.98vw;
  margin-inline: auto;
}
@media (width <= 760px) {
  .top-productsContents {
    grid-template-columns: 100%;
    width: 100%;
    margin-block-start: 73.33vw;
    padding-inline: 2.67vw;
  }
}

.top-productsContents_ttl {
  clip-path: polygon(0 0,0 0,0 100%, 0 100%);
  transition: clip-path 2s ease-in-out;
  &.is-active {
    clip-path: polygon(0 0,100% 0, 100% 100%, 0 100%);
  }
}

.top-productsContents_link {
  position: relative;
  padding-inline-start: 4.76vw;
  font-size: 2.64vw;
  font-weight: 600;
  line-height: 1.67;
  &::before, &::after {
    position: absolute;
    top: calc(50% + 0.15vw);
    translate: 0 -50%;
    display: block;
    height: auto;
    content: "";
  }
  &::before {
    left: 0;
    width: 3.29vw;
    aspect-ratio: 45/18;
    background-image: linear-gradient(to right, #E0E0E0 0%, #E0E0E0 40%, #2B4E76 40%, #2B4E76 100%);
    background-position: 38% 0;
    background-size: 200% 100%;
    transition: all 0.3s ease-out;
  }
  &::after {
    left: 1.32vw;
    width: 0.66vw;
    aspect-ratio: 1/2;
    background-color: #909090;
    clip-path: polygon(0% 0%, 100% 50%, 0% 100%);
    transition: all 0.3s ease-out;
  }
}
@media (width <= 760px) {
  .top-productsContents_link {
    padding-inline-start: 17.33vw;
    font-size: 8vw;
    &::before {
      width: 12vw;
    }
    &::after {
      left: 5.1vw;
      width: 2.4vw;
    }
  }
}
@media (hover: hover) {
  .top-productsContents_link:hover {
    color: #00A0BE;
    &::before {
      background-image: linear-gradient(to right, #6AD6EA 0%, #6AD6EA 40%, #E8E867 40%, #E8E867 100%);
      background-position: 0 0;
    }
    &::after {
      /* left: 9.6vw; */
      left: 2.6vw;
      background-color: #00A0BE;
    }
  }
}

.top-mediaTxtBox {
  & > div {
    padding-inline-start: 1.46vw;
    border-inline-start: 1px solid #2B4E76;
  }
  [data-top="products"] & {
    display: grid;
    gap: 1.83vw 1.46vw;
    grid-template-areas: 'areaA areaB' 'areaA areaC';
    grid-template-columns: 24.22vw 17.19vw;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    &.is-active {
      opacity: 1;
    }
    & > div {
      &:nth-child(1) {
        grid-area: areaA;
      }
      &:nth-child(2) {
        grid-area: areaB;
      }
      &:nth-child(3) {
        grid-area: areaC;
      }
    }
  }
  [data-top="pickup"] & {
    display: flex;
    gap: 0 4.39vw;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    width: 63.69vw;
    margin-block-start: 7.32vw;
    margin-inline: auto;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    &.is-active {
      opacity: 1;
    }
  }
}
@media (width <= 760px) {
  .top-mediaTxtBox {
    & > div {
      padding-inline-start: 5.33vw;
    }
    [data-top="products"] & {
      gap: 9.33vw 0;
      grid-template-areas: 'areaA' 'areaB' 'areaC';
      grid-template-columns: 100%;
      margin-block-start: 10.67vw;
    }
    [data-top="pickup"] & {
      flex-direction: column;
      gap: 10.67vw 0;
      justify-content: flex-start;
      width: 100%;
      margin-block-start: 12vw;
    }
  }
}

.top-mediaTxtBox_en {
  color: #2B4E76;
  font-size: max(0.95vw,10px);
  font-weight: 600;
}
@media (width <= 760px) {
  .top-mediaTxtBox_en {
    font-size: 3.47vw;
  }
}

.top-mediaTxtBox_list {
  display: flex;
  margin-block-start: 1.32vw;
  [data-top="products"] & {
    flex-direction: column;
    gap: 1.32vw 0;
  }
  [data-top="pickup"] & {
    gap: 0 1.98vw;
  }
}
@media (width <= 760px) {
  .top-mediaTxtBox_list {
    margin-block-start: 5.87vw;
    [data-top="products"] & {
      flex-direction: unset;
      flex-wrap: wrap;
      gap: 5.87vw;
    }
    [data-top="pickup"] & {
      flex-wrap: wrap;
      gap: 5.87vw;
    }
  }
}

.top-arrowLink {
  position: relative;
  display: inline-block;
  padding-inline-end: 2.03vw;
  font-size: max(1.39vw,10px);
  font-weight: 600;
  line-height: 1.33;
  &::before, &::after {
    position: absolute;
    top: 0.7em;
    right: 0;
    translate: 0 -50%;
    width: 1.46vw;
    height: auto;
    aspect-ratio: 1;
    content: "";
  }
  &::before {
    border-radius: 50%;
    background-color: transparent;
    border: 1px solid #2B4E76;
    transition: background 0.3s ease-out;
  }
  &::after {
    background-color: #2B4E76;
    mask: url(/cms/wp-content/themes/ndc/assets/img/common/icn_link_arrow.svg) no-repeat 100% 0 / 200% 100%;
    transition: mask 0.3s ease-out, background 0.3s ease-out;
  }
}
@media (width <= 760px) {
  .top-arrowLink {
    padding-inline-end: 8vw;
    font-size: 4.8vw;
    &::before, &::after {
      width: 5.33vw;
    }
  }
}
@media (hover: hover) {
  .top-arrowLink:hover {
    color: var(--hover-color);
    &::before {
      border-color: var(--hover-color);
      background-color: var(--hover-color);
    }
    &::after {
      background-color: #FFF;
      mask-position: 0 0;
    }
  }
}

.top-pickupBox {
  position: relative;
  margin-inline: 4.61vw;
}
@media (width <= 760px) {
  .top-pickupBox {
    margin-inline: 2.17vw;
  }
}

.top-pickupBox_en {
  /* position: absolute;
  top: -5.12vw;
  left: 0; */
  color: #FFF;
  font-size: 7.32vw;
  line-height: 0.95;
  clip-path: polygon(0 0,0 0,0 100%, 0 100%);
  transition: clip-path 2s ease-in-out;
  &.is-active {
    clip-path: polygon(0 0,100% 0, 100% 100%, 0 100%);
  }
  & span {
    display: block;
  }
}
@media (width <= 760px) {
  .top-pickupBox_en {
    /* top: -13.33vw; */
    font-size: 18.67vw;
  }
}

/* PICKUP start */
.top-pickup {
  width: calc(100% - 4.61vw);
  margin-inline-start: 4.61vw;
  overflow: hidden;
  position: relative;
}
@media (max-width: 760px) {
  .top-pickup {
    width: calc(100% - 2.17vw);
    margin-inline-start: 2.17vw;
  }
}

.galary {
  width: 100%;
  position: relative;
  height: 16.2vw; /* 1枚の画像幅より高さを計算 */ 
}
@media (max-width: 760px) {
  .galary {
    height: 59vw;
  }
}

.galary-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 0.5s ease-in-out;
}

.galary-slide {
  /* PC用: 8枚表示 (100% / 4.5) */
  width: calc(100% / 4.5);
  /* height: calc(100% - 2vw); */
  aspect-ratio: 3 / 2;
  position: absolute;
  top: 0;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), z-index 0s, left 0.3s;
  cursor: grab;
}
@media (max-width: 760px) {
  .galary-slide {
    /* スマホ・タブレット用 (768px以下): 2枚表示 (100% / 1.5) */
    width: calc(100% / 1.20);
  }
}

.galary-slide:active {
  cursor: grabbing;
}

.top-pickup_link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.top-pickup_img {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #ddd; 
}

.top-pickup_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.4);
  transition: filter 0.5s;
  user-select: none;
  -webkit-user-drag: none; 
}

.galary-slide.active {
  z-index: 100 !important;
  /* transform: scale(1.1) translateY(-15px); */
}

.galary-slide.active .top-pickup_img img {
  filter: brightness(1);
}

.galary-scrollbar {
  display: flex;
  justify-content: center;
  gap: 0;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1vw 4.61vw 1vw 0 ;
  z-index: 110;
}
@media (max-width: 760px) {
  .galary-scrollbar {
    padding-inline-end: 2.17vw;
  }
}

.nav-line {
  flex: 1;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

.nav-line:hover {
  background-color: #ccc;
}

.nav-line.active {
  background-color: #2B4E76;
  transform: scaleY(1.5);
}
/* PICKUP end */


.top-newsBox {
  & > div {
    margin-block-start: 5.12vw;
    margin-inline: 7.91vw;
  }
}
@media (width <= 760px) {
  .top-newsBox {
    & > div {
      margin-block-start: 13.33vw;
      margin-inline: 0;
    }
  }
}

.top-newsBox_en {
  color: #173055;
  line-height: 0.95;
  clip-path: polygon(0 0,0 0,0 100%, 0 100%);
  transition: clip-path 2s ease-in-out;
  &.is-active {
    clip-path: polygon(0 0,100% 0, 100% 100%, 0 100%);
  }
}
/* @media (width <= 760px) {
  .top-newsBox_en {
    
  }
} */

.top-newsBox_ttl {
  font-size: 1.39vw;
  font-weight: 600;
  text-align: center;
  color: var(--txt-black-color);
  opacity: 0;
  transition: opacity 2s ease-in-out;
  &:not(:first-of-type) {
    /* margin-block-start: min(6.59vw,90px); */
    margin-block-start: 6.59vw;
  }
  &.is-active {
    opacity: 1;
  }
  & span {
    display: inline-block;
    /* padding-block-end: min(0.44vw,6px);
    border-block-end: min(0.29vw,4px) solid;
    border-image: linear-gradient(to right, #2B4E76 0%, #2B4E76 min(2.78vw,38px), #D0D0D0 min(2.78vw,38px), #D0D0D0 100%) 1; */
    padding-block-end: 0.44vw;
    border-block-end: 0.29vw solid;
    border-image: linear-gradient(to right, #2B4E76 0%, #2B4E76 2.78vw, #D0D0D0 2.78vw, #D0D0D0 100%) 1;
  }
}
@media (width <= 760px) {
  .top-newsBox_ttl {
    font-size: 5.07vw;
    text-align: left;
    &:not(:first-of-type) {
      margin-block-start: 21.33vw;
    }
    & span {
      padding-inline-end: 1.6vw;
      border-block-end-width: 1.07vw;
      border-image: linear-gradient(to right, #2B4E76 0%, #2B4E76 10.13vw, #D0D0D0 10.13vw, #D0D0D0 100%) 1;
    }
  }
}

.top-newsList {
  /* margin-block-start: min(2.2vw,30px); */
  margin-block-start: 2.2vw;
  border-block: 2px solid #F0F0F0;
  opacity: 0;
  transition: opacity 2s ease-in-out;
  &.is-active {
    opacity: 1;
  }
  & li {
    display: flex;
    /* gap: 0 min(1.46vw,20px);
    padding-block: min(1.1vw,15px); */
    gap: 0 1.46vw;
    padding-block: 1.1vw;
    &:not(:last-child) {
      border-block-end: 1px solid #F0F0F0;
    }
  }
}
@media (width <= 760px) {
  .top-newsList {
    margin-block-start: 10.67vw;
    & li {
      flex-wrap: wrap;
      gap: 2.67vw;
      justify-content: space-between;
      padding-block: 5.33vw 4vw;
    }
  }
}

.top-news_cate {
  align-self: start;
  flex-shrink: 0;
  /* width: min(8.35vw,114px);
  padding-block: min(0.22vw,3px); */
  width: 8.35vw;
  padding-block: 0.22vw;
  border-radius: 2px;
  background-color: #E6F1F2;
  /* font-size: clamp(10px, 4.983px + 0.66vw, 14px); */
  font-size: 1.02vw;
  text-align: center;
  color: var(--txt-black-color);
  &[data-cate="ir"] {
    background-color: #5BB0D6;
    color: #FFF;
  }
  &[data-cate="imp"] {
    background-color: #2B4E76;
    color: #FFF;
  }
}
@media (width <= 760px) {
  .top-news_cate {
    width: 30.4vw;
    padding-block: 0.8vw 1.07vw;
    font-size: 3.2vw;
  }
}

.top-news_date {
  color: #5374B4;
  /* font-size: clamp(12px, 6.983px + 0.66vw, 16px); */
  font-size: 1.17vw;
}
@media (width <= 760px) {
  .top-news_date {
    font-size: 4.27vw;
  }
}

.top-news_ttl {
  /* font-size: clamp(12px, 6.983px + 0.66vw, 16px); */
  color: var(--txt-main-color);
  font-size: 1.17vw;
  transition: color 0.3s ease-out;
}
@media (width <= 760px) {
  .top-news_ttl {
    font-size: 4.27vw;
  }
}
@media (hover: hover) {
  .top-news_ttl:hover {
    color: var(--hover-color);
  }
}

.top-news_more {
  margin-block-start: 0.73vw;
  text-align: right;
  opacity: 0;
  transition: opacity 2s ease-in-out;
  &.is-active {
    opacity: 1;
  }
  & a {
    position: relative;
    display: inline-block;
    /* padding-block: min(0.37vw,5px) min(0.44vw,6px);
    padding-inline: min(1.46vw,20px) min(2.71vw,37px); */
    padding-block: 0.37vw 0.44vw;
    padding-inline: 1.46vw 2.71vw;
    border-radius: 9999px;
    background-color: #F0F0F0;
    font-size: 0.95vw;
    line-height: 1.33;
    font-weight: 600;
    text-align: right;
    transition: background 0.3s ease-out, color 0.3s ease-out;
    &::after {
      position: absolute;
      top: 50%;
      /* right: min(0.81vw,11px); */
      right: 0.81vw;
      translate: 0 -50%;
      /* width: min(1.46vw,20px); */
      width: 1.46vw;
      height: auto;
      aspect-ratio: 1;
      background: var(--txt-black-color);
      mask: url(/cms/wp-content/themes/ndc/assets/img/common/icn_link_arrow.svg) no-repeat 100% 0 / 200% 100%;
      transition: background 0.3s ease-out, mask 0.3s ease-out;
      content: "";
    }
  }
}
@media (width <= 760px) {
  .top-news_more {
    margin-block-start: 2.67vw;
    text-align: center;
    & a {
      padding-block: 1.07vw 1.33vw;
      padding-inline: 5.33vw 9.87vw;
      font-size: 3.47vw;
      &::after {
        right: 3.2vw;
        width: 5.33vw;
      }
    }
  }
}
@media (hover: hover) {
  .top-news_more {
    & a:hover {
      background-color: var(--hover-color);
      color: #FFF;
      &::after {
        background-color: #FFF;
        mask-position: 0 0;
      }
    }
  }
}

.top-news_announce {
  opacity: 0;
  transition: opacity 2s ease-in-out;
  &.is-active {
    opacity: 1;
  }
  & a {
    display: flex;
    align-items: center;
    justify-content: center;
    /* width: min(13.69vw,187px); */
    width: 13.69vw;
    height: auto;
    aspect-ratio: 187/54;
    /* margin-block-start: min(5.12vw,70px); */
    margin-block-start: 5.12vw;
    margin-inline: auto;
    /* border-radius: min(0.44vw,6px); */
    border-radius: 0.44vw;
    background-color: #F0F0F0;
    font-size: 1.39vw;
    font-weight: 600;
    transition: background 0.3s ease-out, color 0.3s ease-out;
    & span {
      position: relative;
      padding-inline-end: 2.2vw;
      &::before, &::after {
        position: absolute;
        top: calc(50% + 1px);
        right: 0;
        translate: 0 -50%;
        width: 1.46vw;
        height: auto;
        aspect-ratio: 1;
        content: "";
      }
      &::before {
        border-radius: 50%;
        background-color: #2B4E76;
        transition: background 0.3s ease-out;
      }
      &::after {
        background-color: #FFF;
        mask: url(/cms/wp-content/themes/ndc/assets/img/common/icn_link_arrow.svg) no-repeat 100% 0 / 200% 100%;
        transition: mask 0.3s ease-out, background 0.3s ease-out;
      }
    }
  }
}
@media (width <= 760px) {
  .top-news_announce {
    & a {
      width: 48.97vw;
      margin-block-start: 18.67vw;
      border-radius: 1.6vw;
      font-size: 5.07vw;
      & span {
        padding-inline-end: 8vw;
        &::before, &::after {
          top: calc(50% + 0.27vw);
          width: 5.33vw;
        }
      }
    }
  }
}
@media (hover: hover) {
  .top-news_announce {
    & a:hover {
      background-color: var(--hover-color);
      color: #FFF;
      & span {
        &::before {
          background-color: #FFF;
        }
        &::after {
          background-color: #2B4E76;
          mask-position: 0 0;
        }
      }
    }
  }
}


.top-en_our {
  width: 14.35vw;
  & svg {
    width: 100%;
  }
}
@media (width <= 760px) {
  .top-en_our {
    width: 37.07vw;
  }
}
.top-en_strength {
  width: 36.46vw;
  & svg {
    width: 100%;
  }
}
@media (width <= 760px) {
  .top-en_strength {
    width: 93.60vw;
  }
}
.top-en_business {
  width: 34.99vw;
  & svg {
    width: 100%;
  }
}
@media (width <= 760px) {
  .top-en_business {
    width: 94.66vw;
  }
}
.top-en_products {
  width: 37.26vw;
  & svg {
    width: 100%;
  }
}
@media (width <= 760px) {
  .top-en_products {
    width: 94.66vw;
  }
}
.top-en_pickup {
  width: 28.62vw;
  & svg {
    width: 100%;
  }
}
@media (width <= 760px) {
  .top-en_pickup {
    width: 73.07vw;
  }
}
.top-en_news {
  display: block;
  width: 20.28vw;
  & svg {
    width: 100%;
  }
}
@media (width <= 760px) {
  .top-en_news {
    width: 51.73vw;
  }
}