/* ===========================
   single post actions
   =========================== */

.p-singlePost__actions {
  padding: 40px 0 80px;
}

.p-singlePost__actionRow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

@media screen and (max-width: 1099.98px) {
  .p-singlePost__actions {
    padding: 20px 0 80px;
  }
  .p-singlePost__actionRow {
    flex-direction: column;
    align-items: center;
  }
}

.p-singlePost__share,
.p-singlePost__like {
  display: flex;
  align-items: center;
  gap: 12px;
}

.p-singlePost__shareLabel,
.p-singlePost__likeLabel {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  color: #000000;
}

/* コンテンツ内のプラグイン自動追加分を非表示 */
.p-singlePost__contents .wpulike,
.p-singlePost__contents .a2a_kit {
  display: none;
}

/* AddToAny 調整 */
.p-singlePost__share .a2a_kit {
  line-height: 1;
}
.p-singlePost__share .a2a_kit a {
  display: inline-block;
  text-decoration: none;
}

/* ===========================
   WP ULike ハートボタン
   =========================== */

.p-singlePost__like .wpulike {
  display: inline-flex;
  padding: 0;
}

.p-singlePost__like .wp_ulike_general_class {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #e84c7b;
  border-radius: 50px;
  padding: 6px 24px 6px 20px;
  transition: opacity 0.2s ease;
  border: none;
  box-shadow: none;
  cursor: pointer;
}

.p-singlePost__like .wpulike button.wp_ulike_btn.wp_ulike_put_text {
  padding: 0 4px;
  min-width: 20px;
}

@media (any-hover: hover) {
  .p-singlePost__like .wp_ulike_general_class:hover {
    opacity: 0.8;
  }
}

.p-singlePost__like .wp_ulike_btn {
  display: flex;
  align-items: center;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  line-height: 1;
}

/* "いいね" テキストを非表示にしてハートを表示 */
.p-singlePost__like .wp_ulike_btn span {
  display: none;
}

.p-singlePost__like .wp_ulike_btn::before {
  content: "♥";
  color: #ffffff;
  font-size: 18px;
  line-height: 1;
}

/* いいね済みの状態 */
.p-singlePost__like .wp_ulike_is_liked .wp_ulike_btn::before {
  content: "♥";
  color: #ffffff;
}

/* カウント数 */
.p-singlePost__like .count-box {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  min-width: 1ch;
}

/* ===========================
   お問い合わせ
   =========================== */

.p-singlePost__contact {
  margin-top: 32px;
  text-align: center;
}

.p-singlePost__contactLink {
  display: inline-block;
  width: 307px;
  padding: 14px 0;
  background: #ffffff;
  border: 2px solid #004167;
  border-radius: 30px;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  color: #004167;
  text-decoration: none;
  position: relative;
  transition: opacity 0.2s ease;
}

@media (any-hover: hover) {
  .p-singlePost__contactLink:hover {
    opacity: 0.7;
  }
}

.p-singlePost__contactLink::after {
  content: "→";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 15px;
  width: 23px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  border: 1px solid #004167;
  display: grid;
  place-items: center;
  color: #004167;
  font-size: 12px;
}

@media screen and (max-width: 1099.98px) {
  .p-singlePost__contactLink {
    width: 100%;
    max-width: 307px;
  }
}
