/* サービス一覧 */
section {
  position: relative;
}

.media-button {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 2rem;
  position: relative;
  font-weight: 500;
  &::after {
    --arrow-chevron: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="11" height="18" viewBox="0 0 11 18" fill="none"><path d="M1.66699 1.70837L10.0003 9.00003L1.66699 16.2917" stroke="%23161616" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    content: "";
    align-self: flex-end;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    background: var(--arrow-chevron) no-repeat left -1.25rem center, var(--arrow-chevron) no-repeat center center;
    background-size: .6875rem 1.125rem;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 2rem;
    margin: auto;
  }
  &[target="_blank"] {
    &::after {
      width: 1.0625rem;
      height: 1.0625rem;
      background: url(../images/icon-blank.svg) no-repeat center center;
      background-size: 100% 100%;
    }
  }
}

.media-icon {
  flex-shrink: 0;
  width: 4rem;
  line-height: 0;
}

.media-account {
  color: #85858E;
  font-size: var(--font-size-s);
  font-weight: 400;
  line-height: 2;
}

.owndmedia-item {
  width: 100%;
}

.owndmedia-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 10.625rem;
  padding: 3.62rem 4rem 3.62rem 5.5rem;
}

.owndmedia-logo {
  width: 25.875rem;
  text-align: center;
  line-height: 0;
}

@media (width >= 992px) {
  .media-button {
    &:hover {
      &::after {
        --arrow-chevron: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="11" height="18" viewBox="0 0 11 18" fill="none"><path d="M1.66699 1.70837L10.0003 9.00003L1.66699 16.2917" stroke="%23f57" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
        background-position: center center, right -1.25rem center;
        transition: .3s;
      }
    }
  }
}

@media (width < 992px) {
  .media-button {
    padding: 1.5rem 1rem;
    &::after {
      right: 1rem;
    }
  }
  .media-icon {
    width: 3rem;
  }
  .owndmedia-button {
    flex-wrap: wrap;
  }
  .owndmedia-logo {
    width: 100%;

    & svg {
      max-width: 100%;
    }
  }
  .owndmedia-button-title {
    flex: 1;
  }
}

@media (width < 768px) {
  .owndmedia-button {
    padding: 2rem 1.5rem;
    gap: 1rem;
  }
}
