@charset "euc-jp";

main.is-fluid {
  border-bottom: none;
}

#shopping-guide {
  @media screen and (max-width: 999px) {
    padding-bottom: 24px;
  }

  > *:first-child {
    margin-top: 36px;

    @media screen and (min-width: 1000px) {
      margin-top: 0;
    }
  }

  h2 {
    position: relative;
    margin-top: 64px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--bordercolor_secondary);
    font-size: 24px;

    @media screen and (min-width: 1000px) {
      margin-top: 80px;
      font-size: 22px;
    }

    &::before {
      content: "";
      display: inline-block;
      background-repeat: no-repeat;
      background-size: auto;
      background-position-x: right;
      background-position-y: center;
      width: 29px;
      height: 27px;
      vertical-align: -5px;
      margin-right: 8px;
    }

    &[data-icon="truck"]::before {
      background-image: url("https://www.tsuku-shin.jp/colorme/icon/truck.svg");
    }

    &[data-icon="return"]::before {
      background-image: url("https://www.tsuku-shin.jp/colorme/icon/return.svg");
    }

    &[data-icon="en"]::before {
      background-image: url("https://www.tsuku-shin.jp/colorme/icon/en.svg");
    }

    &[data-icon="paper"]::before {
      background-image: url("https://www.tsuku-shin.jp/colorme/icon/paper.svg");
    }

    + dl {
      margin-top: -8px;

      dt:first-child h3 {
        margin-top: 2em;
      }
    }
  }

  h3 {
    margin-top: 40px;
    font-weight: 500;
    line-height: 1.5;

    @media screen and (max-width: 999px) {
      font-size: 18px;
    }

    &::before {
      content: "¢£";
      color: var(--key_color);
    }
  }

  h4 {
    margin: 0.2em 0 0 -7px;
    font-family: inherit;
    line-height: 1.875;
    color: var(--key_color);

    &::before {
      content: "¡Î";
    }

    &::after {
      content: "¡Ï";
    }
  }

  a[target="_blank"] {
    font-weight: bold;
    color: var(--key_color);

    &[target="_blank"]::before {
      content: "";
      position: relative;
      left: -3px;
      bottom: 2px;
      display: inline-block;
      width: 0.5em;
      height: 0.5em;
      margin-right: 3px;
      border-top: 1px solid rgb(238, 75, 19);
      border-right: 1px solid rgb(238, 75, 19);
      background: none;
      transform: rotate(45deg);
    }
  }

  dd,
  dd > p {
    margin: 1em 0;
    text-box-trim: trim-both;
    line-height: 1.875;
  }

  small {
    font-size: 0.8125rem;
    line-height: 1.69;
  }

  img {
    display: block;
    margin: 1rem 0;
  }

  table {
    width: 100%;
    margin: 0.75rem 0;
    border: 1px solid #b7b7b7;
  }

  th {
    padding: 15px 14px;
    background-color: var(--sub_key_color);
    font-weight: normal;

    @media screen and (min-width: 1000px) {
      padding: 15px;
    }
  }

  td {
    text-align: center;
  }

  table[data-content="postage-list"] tr,
  table[data-content="cash-on-delivery"] tbody > tr {
    border-bottom: 1px solid #b7b7b7;
  }

  table[data-content="postage-list"] {
    margin-bottom: 5em;

    th {
      width: 238px;
      text-align: left;
      line-height: 1.875;
      word-break: auto-phrase;

      @media screen and (min-width: 1000px) {
        width: 480px;
      }
    }

    td {
      text-align: center;
      vertical-align: middle;
    }
  }

  section[data-content="specified-commercial-transactions"] h3 {
    margin: 2em 0 0;
  }

  table[data-content="cash-on-delivery"] {
    margin-bottom: 3.125rem;

    th {
      width: 50%;
    }

    tr > *:first-child {
      border-right: 1px solid #b7b7b7;
    }

    td {
      padding: 1em;
    }
  }

  img.mb_only {
    display: none;
  }
}
