/* ========================================
   madamefigaro.jp Article Styles
   Scope: .article-content
   ======================================== */

/* 基本的な要素リセット */
.article-content > *:first-child {
  margin-top: 0 !important;
}

.article-content > *:last-child {
  margin-bottom: 0 !important;
}

/* リンク */
.article-content a {
  color: #50a07f;
  text-decoration: underline;
}

.article-content a:hover {
  text-decoration: none;
}

/* 画像の基本スタイル */
.article-content img {
  max-width: 100%;
  height: auto;
  outline: none;
  display: block;
}

.article-content figure {
  margin: 0;
  padding: 0;
}

/* figImageクラス */
.article-content .figImage {
  margin-top: 3.07692rem;
}

.article-content .figImage + * {
  margin-top: 2.30769rem;
}

/* キャプション全般 */
.article-content .figImage figcaption,
.article-content .photo .caption,
.article-content .entryCaption,
.article-content .add-caption-image .caption,
.article-content .movieBox .caption,
.article-content figcaption {
  font-size: 0.84615rem;
  line-height: 1.54545;
  letter-spacing: 0.04em;
  margin-top: 0.76923rem;
  color: #888;
}

/* mt-image-centerクラス */
.article-content .mt-image-center {
  display: block;
  margin: 0 auto 20px;
  text-align: center;
}

/* 段落スタイル */
.article-content p {
  font-size: 1.07692rem;
  letter-spacing: 0.06em;
  line-height: 1.78571;
  margin: 0;
}

.article-content p + p {
  margin-top: 1.5em;
}

/* 空のpタグを非表示 */
.article-content p:empty {
  display: none;
}

/* 見出し */
.article-content h2,
.article-content h3 {
  font-size: 1.15385rem;
  font-weight: bold;
  letter-spacing: 0.06em;
  line-height: 1.46667;
  margin: 1.92308rem 0 0.76923rem;
}

/* 引用 */
.article-content blockquote {
  display: block;
  margin: 2.69231rem 0;
  padding-left: 0.92308rem;
  border-left: #dcdcdc 10px solid;
}

.article-content blockquote p {
  font-size: 1.15385rem;
  font-weight: bold;
  letter-spacing: 0.06em;
  line-height: 1.46667;
}

/* 太字 */
.article-content b,
.article-content strong {
  font-weight: bold;
}

/* リスト */
.article-content ul > li {
  list-style: square;
}

.article-content ol > li {
  list-style: decimal;
}

/* whatpager関連 */
.article-content .whatpager-pager {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  border-bottom: #dcdcdc 1px solid;
  padding: 0 0 0.92308rem;
  margin: 2.69231rem 0 3.07692rem;
}

.article-content .whatpager-pager p {
  font-family: 'Crimson Pro', serif;
  font-size: 0.92308rem;
  font-weight: 200;
  line-height: 1;
  margin: 0;
}

.article-content .whatpager-pager p a {
  color: #898989;
  text-decoration: none;
}

.article-content .whatpager-pager p + p {
  margin-top: 0;
}

.article-content .whatpager-pager .scroll {
  width: 1.15385rem;
  margin-left: 0.38462rem;
}

.article-content .whatpager-pager .scroll a {
  display: block;
  height: 0;
  padding-top: 100%;
  overflow: hidden;
  position: relative;
}

.article-content .whatpager-pager .scroll a:before {
  content: "";
  display: block;
  box-sizing: border-box;
  width: 0.53846rem;
  height: 0.53846rem;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -0.13462rem 0 0 -0.26923rem;
  border-top: #a0a0a0 1px solid;
  border-right: #a0a0a0 1px solid;
  transform: rotate(-45deg);
}

/* borderBoxクラス */
.article-content .borderBox {
  margin: 30px auto;
}

.article-content .borderBox .inner {
  padding: 20px;
  background: unset;
  border: 1px solid #ccc;
  font-size: 1.07692rem;
  line-height: 1.78571;
  margin: auto;
}

/* entry-related-box */
.article-content .entry-related-box {
  padding: 0;
  margin: 0;
}

.article-content .entry-related-box .inner {
  padding: 20px;
  border: 1px solid #ccc;
  margin: 0;
  background: unset;
}

.article-content .entry-related-box p.head {
  margin-bottom: 10px;
}

.article-content .entry-related-box p + p {
  margin: 0;
}

/* copyクラス */
.article-content .copy {
  font-size: 0.84615rem;
  letter-spacing: 0.04em;
  margin-top: 2.09091em;
  color: #666;
}

/* ========================================
   レスポンシブ対応（813px以上）
   ======================================== */
@media (min-width: 813px) {
  .article-content .figImage {
    margin-top: 4.61538rem;
  }

  .article-content .figImage + * {
    margin-top: 3.84615rem;
  }

  .article-content .figImage figcaption,
  .article-content .photo .caption,
  .article-content .entryCaption,
  .article-content .add-caption-image .caption,
  .article-content .movieBox .caption,
  .article-content figcaption {
    font-size: 12px;
    line-height: 1.66667;
  }

  .article-content p {
    font-size: 18px;
    line-height: 1.88889;
  }

  .article-content h2,
  .article-content h3 {
    font-size: 18px;
    letter-spacing: 0.04em;
    line-height: 1.88889;
    margin: 1.53846rem 0 0.92308rem;
  }

  .article-content blockquote {
    margin: 3.46154rem 0;
    padding-left: 1.23077rem;
  }

  .article-content blockquote p {
    font-size: 18px;
    letter-spacing: 0.04em;
    line-height: 1.55556;
  }

  .article-content .whatpager-pager {
    margin: 4.61538rem 0;
  }

  .article-content .whatpager-pager p {
    font-size: 15px;
    font-weight: 500;
  }

  .article-content .whatpager-pager .scroll {
    width: 20px;
  }

  .article-content .whatpager-pager .scroll a:before {
    width: 8px;
    height: 8px;
    margin: -2px 0 0 -4px;
  }

  .article-content .copy {
    font-size: 12px;
    margin-top: 0.76923rem;
  }

  .article-content .borderBox .inner {
    font-size: 16px;
    line-height: 1.88889;
    padding: 25px 30px;
  }

  .article-content .entry-related-box .inner {
    margin: 0 0 30px;
    padding: 25px 30px;
  }
}
