/* 表示画面側 */

.tiptap-contents {
  padding-top: 15px;
}

.tiptap-contents .entry_main_image-link {
  border-bottom: none;
}

.tiptap-contents blockquote {
  margin-left: 10px;
  margin-right: 10px;
}

/* 親テーマの上書き */
.header-logo {
  max-width: 220px;
}

.entry-info-container {
  line-height: 1.5;
  font-size: 12px;
}

.entry-info-container .entry-new {
  vertical-align: 1px;
}

.entry-info-container .entry-date,
.entry-info-container .entry-labels,
.entry-info-container .entry-labels li {
  display: inline-block;
  vertical-align: middle;
}

.entry-info-container .entry-date,
.entry-info-container .entry-labels {
  margin-bottom: 7px;
}

.entry-info-container .entry-date,
.entry-info-container .entry-category {
  margin-right: 1rem;
}

.entry-info-container .entry-labels {
  line-height: 1.5;
}

.entry-info-container .entry-category {
  font-weight: bold;
}

.select2 {
  min-width: 100%;
}

@media screen and (min-width: 768px) {

  .entry-info-container .entry-date,
  .entry-info-container .entry-date time,
  .entry-header .entry-labels,
  .entry-header .entry-labels span {
    font-size: 14px;
    line-height: 1.5;
  }

  .entry-header .entry-labels {
    margin-top: 1px;
  }

  .entry-info-container .entry-date {
    vertical-align: top;
  }

}

/* Tailwind prose の img 天地マージンを上書き（上:0.5em / 下:1em） */
.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)) {
  margin-top: 0.5em;
  margin-bottom: 1em;
}

/* 記事本文 h2 のフォントサイズ調整（768px以上で 28px） */
@media (min-width: 768px) {
  .acms-entry h2:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) {
    font-size: 28px;
  }
}

/* サイト全体フォント（note.com の PrimaryEmojiFont パターン） */
/* ❤（U+2764）のみ Apple Color Emoji をローカル参照し、他の文字には影響させない */
@font-face {
  font-family: "PrimaryEmojiFont";
  src: local("Apple Color Emoji");
  unicode-range: U+2764;
}

html,
body {
  font-family:
    PrimaryEmojiFont,
    "Helvetica Neue",
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "Apple Color Emoji",
    "noto color emoji",
    Arial,
    "Segoe UI Emoji",
    "Segoe UI Symbol",
    Meiryo,
    sans-serif;
}

/* 記事内に自由入力で埋め込む #podcast-list のリスト整形 */
/* （Tailwind JITが本文HTMLをスキャンしないため .list-none / .!pl-0 が効かない） */
#podcast-list ul {
  padding: 0;
}
#podcast-list ul li {
  list-style: none;
}

/* 記事本文 p のフォントサイズ調整（スマホ時のみ 1em に縮小） */
/* acms-editor.css 側で 1.15em が指定されているが、スマホ時は詰まりすぎるため上書き */
@media (max-width: 767px) {
  .acms-entry p:not(:where([class~=not-editor-style], [class~=not-editor-style] *)) {
    font-size: 1em;
  }
}
