@charset "utf-8";

/* メインビジュアル自体は崩さない */
.p-content-header--kv {
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Fund Monitor LP 本文エリア */
.p-content-header--kv + .fm-fundmonitor-main {
  margin-top: 0;
  padding-top: 0;
}

.fm-fundmonitor-main .p-block__inner {
  margin-top: 0;
}

/* PDF掲載エリア */
.fm-lp-pdf {
  width: 100%;
  max-width: none;
  margin: -72px auto 52px;
}

/* PDFラベル */
.fm-lp-pdf__title {
  margin: 0 0 12px;
  padding: 0;
  background: transparent;
  color: #003b70;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.fm-lp-pdf__title-main {
  display: inline;
}

.fm-lp-pdf__title-br {
  display: inline;
}

/* PCではスマホ用広告タイトルを非表示 */
.fm-lp-pdf__sp-ad-title {
  display: none;
}

/* PDFビューアー */
.fm-lp-pdf .c-pdf-viewer {
  width: 100%;
  height: 430px;
  min-height: 430px;
  max-height: 430px;
}

/* ボタン中央寄せ */
.fm-lp-pdf .c-pdf-viewer__actions,
.fm-lp-pdf__actions {
  justify-content: center;
  margin-top: 16px;
}

/* 次の見出しとの間隔 */
.fm-lp-pdf + script + .c-head-lg {
  margin-top: 0;
}

@media screen and (max-width: 767px) {
  .fm-lp-pdf {
    margin: -24px auto 34px;
  }

  .fm-lp-pdf__title {
    margin: 0 0 12px;
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
  }

  .fm-lp-pdf__title-main {
    display: inline;
  }

  .fm-lp-pdf__title-br {
    display: inline;
  }

  .fm-lp-pdf__sp-ad-title {
    display: block;
    margin-top: 8px;
    color: #222;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.5;
  }

  .fm-lp-pdf .c-pdf-viewer {
    display: none;
  }

  .fm-lp-pdf .c-pdf-viewer__actions,
  .fm-lp-pdf__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
  }

  .fm-lp-pdf .c-pdf-viewer__button {
    flex: 0 0 auto;
    width: 120px;
    min-width: 0;
    min-height: 32px;
    margin-top: 0;
    padding: 0 8px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
  }

  .fm-lp-pdf .c-pdf-viewer__button--secondary {
    background: #f3f7fb;
    color: #0068b7;
  }
}

@media screen and (max-width: 374px) {
  .fm-lp-pdf .c-pdf-viewer__actions,
  .fm-lp-pdf__actions {
    gap: 6px;
  }

  .fm-lp-pdf .c-pdf-viewer__button {
    width: 112px;
    min-height: 32px;
    padding: 0 6px;
    font-size: 0.95rem;
  }

  .fm-lp-pdf__title-main {
    display: block;
  }

  .fm-lp-pdf__title-br {
    display: block;
  }
}