/**
 * WordPress化時に追加するスタイル
 */

/**
 * base
 */
#wpadminbar {
  position: fixed !important;
}

#header {
  margin-top: var(--wp-admin--admin-bar--height);
}

/**
 * ブロック
 */
.wp-block-image img {
  width: 100%;
  height: auto;
}

/**
 * 会社概要
 */
.p-company-member a[target="_blank"],
#company .c-modal a[target="_blank"] {
  display: inline-flex;
  align-items: center;
}
.p-company-member a[target="_blank"]::after,
#company .c-modal a[target="_blank"]::after {
  content: url(../img/common/icn-new-window.svg);
  display: inline-block;
  margin-left: 0.5rem;
  width: 0.6em;
}

/**
 * お知らせ
 */
@media screen and (min-width: 1024px) {
  .c-category-nav .c-category-nav__list {
    flex-wrap: wrap;
    row-gap: 1.5rem;
  }
}

/**
 * 導入事例のご紹介
 */
#project-detail .p-project-detail__content * + h2 {
  margin-top: clamp(5rem, 3.0434782609rem + 8.6956521739vw, 10rem);
}

#project-detail
  .p-project-detail__content
  *
  + .wp-block-lazyblock-speech-paragraph {
  margin-top: clamp(3rem, 2.2173913043rem + 3.4782608696vw, 5rem);
}

/**
 * ウエイクアップからのお知らせ
 */
#news-detail .p-news-detail__content * + h2 {
  margin-top: clamp(5rem, 3.0434782609rem + 8.6956521739vw, 10rem);
}
#news-detail .p-news-detail__content * + .wp-block-lazyblock-speech-paragraph {
  margin-top: clamp(3rem, 2.2173913043rem + 3.4782608696vw, 5rem);
}

/* テーブル */
.p-news-detail__content figure.wp-block-table {
  max-width: 100%;
  overflow-x: auto;
  margin: 0;
}

/* リンクカード */
.c-embed-post > a[target="_blank"]::after {
  content: none;
}
