/* 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;
}

/* custom */
.series_title {
  margin-top: 8rem;
  padding: 1rem 3rem;
  background-color: var(--ixs-blue-text);

  img {
    display: block;
  }
}

.series_content {
  padding: 3rem;
  color: var(--ixs-blue-text);
}

.gray_bg {
  margin-top: 4rem;
  padding: 2.2rem;
  background-color: var(--ixs-gray-light);
}

figcaption {
  font-size: 1.2rem;
  font-weight: 600;
}

@media screen and (min-width: 640px) {
  figcaption {
    font-size: 1.8rem;
    font-weight: 600;
  }
}

dl {
  color: #000;
}

dt {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 2rem;

  &::before {
    content: "";
    flex-shrink: 0;
    display: block;
    width: 1.6rem;
    height: 1.6rem;
    background-color: #000;
    border-radius: 0.2rem;
  }
}

h3.with_square {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.5rem;
  margin-top: 4rem;
  font-weight: 600;
  font-size: 2rem;
  color: var(--ixs-blue-text);

  &::before {
    content: "";
    flex-shrink: 0;
    display: block;
    width: 1rem;
    height: 1rem;
    background-color: var(--ixs-blue-text);
    border-radius: 0.2rem;
  }
}

.partnership {
  background-color: var(--ixs-blue-bg);
  padding: 2rem 3rem;
  color: #000;

  h4 {
    position: relative;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.6;

    img {
      display: block;
    }
  }

  p {
    margin-top: 2rem;
    font-size: 1.4rem;
    line-height: 1.8;
  }

  .logo {
    display: block;
    margin-bottom: 2rem;
    float: left;
    max-width: 50%;
  }

  .balloon {
    display: block;
    float: right;
    max-width: 40%;
  }

  .text {
    display: block;
    clear: both;
  }

  figure {
    width: 284px;
    flex-shrink: 0;
  }

  figcaption {
    font-weight: normal;
    font-size: 1rem;
    margin-top: 0.5rem;
    line-height: 1.6;
  }
}

@media screen and (min-width: 769px) {

  h3.with_square {
    gap: 0.6rem;
    margin-top: 6rem;
    font-size: 2.8rem;

    &::before {
      width: 2rem;
      height: 2rem;
    }
  }

  .partnership {
    display: flex;
    flex-wrap: nowrap;
    gap: 6rem;
    padding: 3rem 4rem;

    h4 {
      font-size: 2.4rem;
    }

    p {
      margin-top: 2rem;
      font-size: 1.4rem;
      line-height: 1.8;
    }

    .indent {
      display: inline-block;
      padding-left: 6rem;
    }

    .logo {
      float: none;
      display: block;
      margin-bottom: 3rem;
      text-align: left;
    }

    .balloon {
      float: none;
      position: absolute;
      width: inherit;
      right: 0;
      bottom: 3rem;

      img {
        display: block;
        width: 220px;
      }
    }

    figure {
      width: 284px;
      flex-shrink: 0;
    }

    figcaption {
      font-weight: normal;
      font-size: 1rem;
      margin-top: 0.5rem;
      line-height: 1.6;
    }
  }
}

.services {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

dd {
  margin-top: 1rem;
}

/* Scroll hints */
.js-scrollable {

  img {
    display: block;
    width: 1000px;
    max-width: inherit;
  }
}