@charset "UTF-8";
/*
Template Name: works
Theme Name: Gifted Style
Author: Hashikure@Polyphony

お仕事依頼ページ用のCSS
*/

/* タイトル */
.entry-title {
  color: #65abbe;
  &::before {
    background-image: url(../imgs/icon02.svg);
    width: 57px;
    height: 53px;
  }
}

.entry-content {
  border-image: conic-gradient(#f0f8f9 0 0) fill 0 / 0 / 0 100vw;
  padding: 70px 0 140px;
  max-width: 980px;
}

.article {
  & h2 {
    font-family: YuGothic, "Yu Gothic", Meiryo, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
    font-weight: 700;
  }
  & .introduction {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 100px;
  }
  & .pc-small {
    font-size: 0.75em;
  }
}

.wp-block-media-text {
  gap: 60px;
  &:not(:last-child) {
    margin-bottom: 65px;
  }
  &:last-child {
    margin-bottom: 0;
  }
  & > .wp-block-media-text__content {
    padding: 0;
    & h2 {
      background-color: #65abbe;
      color: #fff;
      font-size: 1.5rem;
      padding: 13px 18px;
      margin: 0 0 24px;
    }
  }
  & > .wp-block-media-text__media {
    & a:hover {
      opacity: .8;
    }
  }
}

/* -----
レスポンシブ対応
-----*/
@media (width < 1160px) {
  .entry-content {
    width: calc(100% - 186px);
  }
  .wp-block-media-text {
    gap: 32px;
  }
}

@media (width < 900px) {
  .entry-content {
    width: 100%;
    padding-inline: 24px;
  }
  .wp-block-media-text {
    gap: 48px;
  }
}

@media (width <= 834px) {
  .entry-content {
    padding-block: 64px 120px;
  }
}

@media (width <= 520px) {
  .article {
    & .introduction {
      font-size: 1rem;
      margin-bottom: 72px;
    }
    & .pc-small {
      font-size: 1em;
    }
  }
  .wp-block-media-text {
    gap: 16px;
    & >.wp-block-media-text__content {
      & h2 {
        margin-bottom: 16px;
        text-align: center;
      }
    }
  }
}