body {
  min-width: auto;
  overflow-x: clip;
}

#wrapper {
  background-color: #33393b !important;
  letter-spacing: 0.05em;
  .inner {
    padding: 0 33px;
  }
}
/* PC表示制御 */
@media screen and (min-width: 769px) {
  .sp-only {
    display: none !important;
  }
}

/* SP表示制御 */
@media screen and (max-width: 768px) {
  .pc-only {
    display: none !important;
  }
}

@media screen and (max-width: 979px) {
  #wrapper section.pageKV p.lead {
    letter-spacing: 0.02em;
    font-size: 19px;
  }
}

#wrapper .leadSection {
  padding: 0 0 60px;
  .contents {
    display: grid;
    gap: 30px;
    > img {
      width: 100%;
      height: auto;
    }
  }
  .lead {
    text-align: justify;
    font-size: 17px;
    font-weight: 400;
    line-height: 200%;
    color: #fff;
    letter-spacing: 0.03em;
  }
  .description {
    text-align: justify;
    font-size: 16px;
    font-weight: 400;
    line-height: 200%;
    color: #fff;
  }
}

#wrapper .featureSection {
  padding-bottom: 60px;
  img {
    width: 100%;
    height: auto;
  }
}
#wrapper .c-sectionTitle {
  font-size: 22px;
  font-weight: 400;
  line-height: 168.182%;
}
#wrapper .featureHead {
  display: grid;
  gap: 30px;
  .description {
    font-size: 16px;
    font-weight: 400;
    line-height: 200%;
    letter-spacing: 0.8px;
  }
  > img {
    width: 100%;
    height: auto;
  }
}
#wrapper .featureList {
  display: grid;
  gap: 30px;
  margin-top: 30px;
}
#wrapper .c-featureArticle {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: #000;
  border-radius: 30px;
  overflow: hidden;
  .contents {
    display: grid;
    gap: 10px;
    order: 2;
    padding: 30px;
  }
  .title {
    font-size: 18px;
    font-weight: 500;
    line-height: 177.778%;
    letter-spacing: 0.54px;
    color: #fff;
  }
  .description {
    text-align: justify;
    font-size: 16px;
    font-weight: 400;
    line-height: 200%;
    letter-spacing: 0.8px;
  }
  > img {
    order: 1;
    width: 100%;
    height: auto;
  }
}

#wrapper .introductionSection {
  padding-bottom: 60px;
  .contents {
    display: grid;
    gap: 40px;
    margin-top: 30px;
  }
  .movie {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 30px;
    overflow: hidden;
    cursor: pointer;
    > img {
      width: 100%;
      height: auto;
    }
  }
}

@media screen and (min-width: 769px) {
  #wrapper {
    .inner {
      max-width: 1098px;
      margin: 0 auto;
      padding: 0 90px;
    }

    .leadSection {
      padding: 130px 0 150px;
      .contents {
        grid-template-columns: 1fr calc(33.33% - 60px);
        grid-template-rows: auto auto;
        gap: 60px;
        grid-template-areas:
          "lead lead"
          "img description";
        > img {
          grid-area: img;
          max-width: 722px;
        }
      }
      .lead {
        grid-area: lead;
        font-size: 22px;
        line-height: 236.364%;
        letter-spacing: 0.05em;
      }
      .description {
        grid-area: description;
        font-size: 18px;
        line-height: 188.889%;
      }
    }
    .c-sectionTitle {
      font-size: 30px;
      line-height: 146.667%;
    }
    .featureSection {
      padding-bottom: 150px;
    }
    .featureHead {
      gap: 60px;
      .description {
        font-size: 18px;
        line-height: 188.889%;
        letter-spacing: 0.54px;
      }
    }
    .featureList {
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      margin-top: 60px;
      .item {
        display: contents;
      }
    }
    .c-featureArticle {
      .title {
        line-height: 177.778%;
        letter-spacing: 0.54px;
      }
    }
    .introductionSection {
      padding-bottom: 150px;
      .contents {
        gap: 80px;
        margin-top: 60px;
      }
    }
  }
}

/* movie */
.ytmovie {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: none;
}

.thumb {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.c-movie {
  position: relative;
  transition: opacity 0.3s ease;
  &::before {
    --iconWidth: 60px;
    --iconHeight: 60px;
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: var(--iconWidth);
    height: var(--iconHeight);
    border-radius: 50%;
    background: url(/products/softrobotics/tetote/img/ico_movie_play.svg) no-repeat center center / var(--iconWidth) var(--iconHeight);
    box-shadow: 0px 1.2px 12px 0px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
  }
  &.is-played::before {
    display: none;
  }
}

@media screen and (min-width: 769px) {
  .c-movie {
    &::before {
      --iconWidth: 80px;
      --iconHeight: 80px;
    }
  }
}
@media (any-hover: hover) {
  .c-movie:hover {
    opacity: 0.7;
    &::before {
      transform: translate(-50%, -50%) scale(0.8);
    }
  }
}
