/* Main Visual */
.main_visual {
  background-image: url(../images/main_visual_pc_bg.jpg);
  background-size: cover;
}

@media screen and (min-width: 640px) {
  .main_visual {
    background-image: url(../images/main_visual_pc_bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
}

.main_visual_inner {
  max-width: 1366px;
  margin: 0 auto;
  position: relative;

  img {
    display: block;
  }
}

/* Override */
.bl_cont_ttl {
  margin-bottom: 5rem;
}

.blocked_text {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;

  span {
    display: block;
    margin-right: 1rem;
    white-space: nowrap;
  }
}

.mt-wide {
  margin-top: 140px;
}

.mb-0 {
  margin-bottom: 0;
}

@media screen and (min-width: 768px) {
  .mt-wide {
    margin-top: 200px;
  }
}

.mt-large {
  margin-top: 100px;
}

.mt-medium {
  margin-top: 60px;
}

.mt-short {
  margin-top: 20px;
}

.narrow-text {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.text-center {
  text-align: center;
}

.button-ghost-black {
  span {
    position: relative;
    display: inline-block;
    width: 400px;
    max-width: 100%;
    border: 1px solid #101319;
    font-family: "Fjalla One", sans-serif;
    text-decoration: none;
    text-align: center;
    line-height: 48px;
    color: #101319;
    z-index: 1;
    background-color: #fff;

    .logo {
      display: block;
      /* margin: 18px auto; */
      width: 100%;
      height: auto;
      fill: #000;
      transition: 0.3s fill;
    }
  }

  &:hover {
    text-decoration: underline;
    color: inherit;
  }

  &:hover span {
    color: #fff;

    .logo {
      fill: #fff;
    }
  }

  span::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    content: "";
    background: #101319;
    transform: scaleX(0);
    transition: 0.3s cubic-bezier(0.455, 0.03, 0.515, 0.955) transform;
    transform-origin: right;
    z-index: -1;
  }

  &:hover span::before {
    transform: none;
    transform-origin: left;
  }
}

img {
  height: auto;
}

.solution_example {
  padding: 2rem;
  margin-top: 3rem;
  color: #182460;
  line-height: 1.8;

  .layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .ex_link {
    display: inline-block;
    margin-top: 15px;
  }

  video {
    display: block;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
  }

  h3 {
    font-weight: bold;

    span {
      display: block;
    }

    .product_name {
      display: flex;
      flex-wrap: nowrap;
      align-items: flex-start;
      gap: 1rem;
      line-height: 1.2;
      font-size: 2.5rem;

      &::before {
        content: "■";
        display: block;
        /* width: 2rem;
        aspect-ratio: 1 / 1;
        margin-top: 0.6rem;
        background-color: #182460; */
      }
    }
  }
}

@media screen and (min-width: 640px) {
  .thin_content {
    max-width: 810px;
    margin-left: auto;
    margin-right: auto;
  }

  .solution_example {
    max-width: var(--inner-width);
    margin-top: 5rem;
    padding: 4rem;

    .layout {
      grid-template-columns: 1fr 1fr;
      gap: 6rem;
      row-gap: 10rem;
    }

    figure {
      display: flex;
      align-items: center;
      justify-content: center;
    }

    h3 {
      .product_name {
        font-size: 3.5rem;
        /* white-space: nowrap; */

        /* &::before {
          width: 3rem;
          margin-top: 0.6rem;
        } */
      }

      .caps {
        font-size: 1.8rem;
      }
    }
  }
}

.conclusion {
  margin-top: 2rem;
  color: white;

  dt {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    font-size: 2.8rem;
    font-weight: 600;

    &::before {
      content: "■";
      display: block;
      color: #ce1d7a;
    }
  }

  dd {
    margin-top: 1rem;
    font-size: 2rem;
    font-weight: 500;
  }
}

@media screen and (min-width: 640px) {
  .conclusion {
    margin-top: 3rem;
    padding-left: 7rem;

    dt {
      font-size: 3.2rem;
    }

    dd {
      font-size: 2.4rem;
    }
  }
}