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

通信販売ページ用のCSS
*/

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

/* セクション */
#platforms {
  border-image: conic-gradient(#f0f8f9 0 0) fill 0 / 0 / 0 100vw;
  margin-bottom: 0;
  padding: 130px 0;
  & > p {
    line-height: 1.35;
  }
}

/* 紹介文 */
.introduction {
  font-size: 2.5rem;
  font-weight: 700;
}

/* 販売プラットフォームリスト */
.platform-list {
  display: grid;
  gap: 40px 0;
  grid-template-columns: repeat(3, 1fr);
  justify-content: center;
  width: 100%;
  max-width: 960px;
  margin: 60px auto 0;
  list-style: none;
  padding: 0;
  & > li {
    margin: 0;
    position: relative;
    /* マウスホバー時にリンク背景を変更 */
    &:hover {
      & a {
        background-color: #99d2e2;
      }
    }
  }
  & a {
    display: block;
    color: var(--cocoon-text-color);
    height: 100%;
    text-decoration: none;
    padding: 10px;
    transition: background-color .3s ease-in-out;
    /* 項目全体をリンク範囲にする */
    &::after{
      display: block;
      content: "";
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      position: absolute;
    }
  }
  /* 項目テキスト */
  & p {
    margin-top: 1rem;
    margin-bottom: 0;
  }
}

/* サムネイル */
.thumbnail {
  background-color: #fff;
  border: 3px solid #0096fa;
  border-radius: 15px;
  min-height: 123px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 300px;
  /* ロゴ画像 */
  & picture, & img {
    display: block;
  }
  /* ロゴテキスト */
  & > p {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    margin: 0;
  }
  /* ヤフオク ロゴテキスト */
  & .y-auc {
    color: #f03;
  }
}

/* 親テーマのスタイルを打消し */
.article ul li, .article ol li {
  margin: 0;
}

/* 1100px未満 */
@media (width < 1100px) {
  .platform-list {
    grid-template-columns: repeat(2, 1fr);
    max-width: 660px;
    column-gap: 20px;
  }
}

/* 1024px未満 */
@media (width < 1024px) {
  #platforms {
    & > p {
      padding-inline: 32px;
    }
  }
}

/* 834px以下 */
@media (width <= 834px) {
  .article ul {
    padding-inline: 0;
  }
  #platforms {
    padding-block: 64px 120px;
    & .introduction {
      font-size: 2rem;
      line-height: 1.5;
    }
  }
  .platform-list {
    margin-top: 48px;
  }
}

/* 640px以下 */
@media (width <= 640px) {
  .platform-list {
    display: flex;
    flex-direction: column;
    max-width: 300px;
    & p {
      line-height: 1.5;
    }
  }
  .thumbnail {
    width: 100%;
  }
}

/* 520px以下 */
@media (width <= 520px) {
  #platforms .introduction {
    font-size: 1.5rem;
    text-align: justify;
  }
}
