.slpg-mobile-hero {
  display: none;
}

@media all and (max-width: 767px) {
  html,
  body {
    overflow-x: hidden;
  }

  body {
    min-width: 0;
  }

  .p-top-kv {
    height: auto;
    min-height: 0;
    padding: 60px 0 0;
    overflow: visible;
  }

  .slpg-mobile-hero {
    display: block;
    width: 100%;
    background: #fff;
  }

  .slpg-mobile-hero__visual {
    position: relative;
    height: min(68svh, 620px);
    min-height: 470px;
    overflow: hidden;
    background: #15212a;
  }

  .slpg-mobile-hero__visual > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 36% center;
    filter: saturate(.82) contrast(.96);
    animation: slpg-mobile-hero-in 1.1s cubic-bezier(.45, .05, .3, .93) both;
  }

  .slpg-mobile-hero__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 22, 30, .05) 22%, rgba(9, 22, 30, .76) 100%);
  }

  .slpg-mobile-hero__copy {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 30px;
    color: #fff;
    animation: slpg-mobile-copy-in .8s cubic-bezier(.39, .575, .565, 1) .25s both;
  }

  .slpg-mobile-hero__eyebrow {
    display: block;
    margin-bottom: 15px;
    font-size: 10px;
    line-height: 1;
    letter-spacing: .18em;
    opacity: .78;
  }

  .slpg-mobile-hero__copy h1 {
    margin: 0;
    font-family: urw-din-bold, sans-serif;
    font-size: clamp(44px, 15vw, 68px);
    font-weight: 700;
    line-height: .84;
    letter-spacing: -.035em;
  }

  .slpg-mobile-hero__copy p {
    margin: 20px 0 0;
    padding-left: 2px;
    font-size: 15px;
    line-height: 1.65;
    letter-spacing: .16em;
  }

  .slpg-mobile-hero__film {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    height: 92px;
    border-bottom: 1px solid rgba(18, 37, 48, .12);
  }

  .slpg-mobile-hero__film button {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border: 0;
    border-right: 1px solid #fff;
    background: #dfe6e7;
    cursor: pointer;
  }

  .slpg-mobile-hero__film button:last-child {
    border-right: 0;
  }

  .slpg-mobile-hero__film button::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    background: #fff;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .35s cubic-bezier(.39, .575, .565, 1);
  }

  .slpg-mobile-hero__film button.is-active::after {
    transform: scaleX(1);
  }

  .slpg-mobile-hero__film img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.65) contrast(.92);
  }

  .slpg-mobile-hero__film span {
    position: absolute;
    left: 9px;
    bottom: 7px;
    color: #fff;
    font-family: rigid-square, sans-serif;
    font-size: 10px;
    line-height: 1;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .45);
  }

  .p-top-sec1 {
    padding: 76px 24px 70px;
  }

  .p-top-sec1__bg {
    top: 215px;
    right: 0;
    width: 88%;
    height: calc(100% - 155px);
  }

  .p-top-sec1__copy-main .c-copy-text1 {
    padding-right: 0;
    white-space: normal;
    font-size: clamp(29px, 8.5vw, 38px) !important;
    line-height: 1.38 !important;
  }

  .p-top-sec1__body {
    padding-top: 30px;
  }

  .c-sentence1,
  .c-sentence2 {
    font-size: 15px;
    line-height: 1.9;
  }

  .p-top-sec1__body-sentence {
    padding-bottom: 18px;
  }

  .p-top-sec1__body-link,
  .p-top-sec2__body-link,
  .p-top-sec4__body-link {
    text-align: left;
  }

  .c-link-btn {
    padding: 13px 24px;
  }

  .c-link-btn__text {
    font-size: 15px;
  }

  .p-top-sec2 {
    padding: 70px 24px 74px;
  }

  .p-top-sec2__body-services {
    padding-top: 42px;
  }

  .c-column__item {
    padding: 0 0 28px 30px;
  }

  .c-column__item-title {
    padding-top: 18px;
    font-size: 19px;
    line-height: 1.35;
  }

  .c-column__item-sentence {
    padding-top: 12px;
    font-size: 14px;
    line-height: 1.8;
  }

  .p-top-sec3 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-left: 0;
    padding: 66px 20px 70px;
    background: #f4f6f5;
  }

  .p-top-sec3__bg,
  .p-top-sec3__bg--1,
  .p-top-sec3__bg--2 {
    position: relative;
    inset: auto;
    width: 100%;
    transform: none !important;
  }

  .p-top-sec3__bg--1 {
    aspect-ratio: 4 / 5;
    background: url("pic/h_img2.jpg") center / cover no-repeat;
  }

  .p-top-sec3__bg--1 img {
    visibility: hidden;
  }

  .p-top-sec3__bg--3 {
    display: none;
  }

  .p-top-sec3__bg img {
    display: block;
    aspect-ratio: 4 / 5;
    height: auto;
    object-fit: cover;
    filter: saturate(.72) contrast(.94);
  }

  .p-top-sec3__iphone {
    grid-column: 1 / -1;
    z-index: 2;
    margin: -34% auto 0;
    width: 43%;
    filter: drop-shadow(0 16px 24px rgba(17, 35, 44, .18));
  }

  .p-top-sec3 .slpg-home-recent {
    grid-column: 1 / -1;
    margin: 22px -20px -70px;
    padding: 28px 24px 36px !important;
    min-height: 68px;
    font-size: 14px;
    line-height: 1.8;
  }

  .p-top-sec4 {
    padding: 72px 20px 76px;
  }

  .p-top-sec4__title {
    text-align: left;
  }

  .p-top-sec4__body-news {
    padding-top: 36px;
  }

  .c-news-column__item a {
    align-items: flex-start;
  }

  .c-news-column__item-text-sentence {
    font-size: 14px;
    line-height: 1.65;
  }

  .p-top-sec5 {
    margin: 0;
    padding: 0 0 72px;
  }

  .p-top-sec5__bg {
    padding-top: 68%;
  }

  .p-top-sec5__bg-img-obj.img0 {
    background-image: url(pic/h_img4.jpg);
    background-position: center 32%;
  }

  .p-top-sec5__contents {
    padding: 44px 24px 0;
  }

  .p-top-sec5__contents.is-shown .p-top-sec5__contents-head {
    transition-delay: .04s;
  }

  .p-top-sec5__contents.is-shown .p-top-sec5__contents-title {
    transition-delay: .09s;
  }

  .p-top-sec5__contents.is-shown .p-top-sec5__contents-sentence {
    transition-delay: .14s;
  }

  .p-top-sec5__contents.is-shown .p-top-sec5__contents-link {
    transition-delay: .19s;
  }

  .p-top-sec5__contents-title .c-copy-text2 {
    display: block;
    font-size: 31px;
    line-height: 1.35;
  }

  .p-top-sec5__contents-sentence {
    padding-top: 22px;
  }

  .p-top-sec5__contents-sentence li {
    margin: 0 0 16px;
    padding-left: 2px;
  }

  #show5 {
    margin: 0 !important;
  }

  .l-gf {
    padding: 48px 20px 38px;
  }

  .l-gf__link-item {
    margin-right: 0;
  }

  @keyframes slpg-mobile-hero-in {
    from { opacity: 0; transform: scale(1.08); }
    to { opacity: 1; transform: scale(1); }
  }

  @keyframes slpg-mobile-copy-in {
    from { opacity: 0; transform: translateX(22px); }
    to { opacity: 1; transform: translateX(0); }
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 767px) {
  .slpg-mobile-hero__visual > img,
  .slpg-mobile-hero__copy {
    animation: none;
  }
}
