/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* AVのミカタ */
.site-title {
  font-family: "memoir", sans-serif;
  font-weight: 900;
  font-style: normal;
}

/* エントリータイトル */
.entry-title {
  font-family: "zen-maru-gothic", sans-serif;
  font-weight: 500;
  font-style: normal;
}

/* description */
.entry-content p {
  font-family: "biz-udpgothic", sans-serif;
  font-weight: 400;
  font-style: normal;
}

body.archive .ast-archive-description {
	padding:1rem !important;
}
.site-content section.ast-archive-description {
	margin-bottom: .1rem !important;
}
/* 投稿ページの余白をコンパクトに整える */
.single-post #primary {
  margin: 0 !important;
  padding: 0 !important;
}

.single-post .ast-separate-container .ast-article-post {
  padding: 1em !important;
}
.ast-separate-container .ast-article-single {
	padding:0 !important;
}

/* =========================
  Age Gate：安全に見た目だけ整える
  （テキストを消さない版）
========================= */

/* 白いカードを中央に */
.age-gate,
.age-gate-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* カード（白い箱） */
.age-gate__content,
.age-gate-content,
.age-gate form {
  text-align: center;
}

/* ボタンだけ整える（影響を最小化） */
.age-gate button,
.age-gate-wrapper button,
.age-gate input[type="submit"]{
  background: #111;
  color: #fff;
  border: 1px solid #444;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 15px;
}

/* hover */
.age-gate button:hover,
.age-gate-wrapper button:hover,
.age-gate input[type="submit"]:hover{
  background: #fff;
  color: #000;
}

/* サムネ動画枠を 16:9 で固定 */
.thumb-media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px; /* 好み */
}

/* =========================================
   抜粋の中で「最初の p 以外」は全部非表示
========================================= */
.ast-blog-single-element.ast-excerpt-container p:not(:first-of-type) {
  display: none !important;
}

/* =========================================
   最初の p だけを 4行で … 省略表示
   （br があっても崩れない完全版）
========================================= */
.ast-blog-single-element.ast-excerpt-container p:first-of-type br {
  display: none !important;
}

.ast-blog-single-element.ast-excerpt-container p:first-of-type {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 4 !important; /* ←3行なら3 */
  overflow: hidden !important;

  text-overflow: ellipsis !important;
  word-break: break-word !important;
}

/* サムネ動画を枠いっぱいに「中央基準」で表示 */
.thumb-media{
  position: relative;
  overflow: hidden;
}

.thumb-media > video.js-thumb-video{
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
  object-fit: cover !important;
  object-position: center center !important;

  /* 右上だけ見える原因になりがちな指定を殺す */
  transform: none !important;
  transform-origin: center center !important;
}

/* サイドバーウィジット内に表示される広告の調整用 */
.widget {
	padding: 0 !important;
}

.side-bar-widget-link .side-bar-widget-title-adj {
  font-size: 0.7rem;
  font-weight: bold;
  /*color: #add8e6;*/
  line-height: 1.4; /* ←ここ下げる */
  letter-spacing: -0.04em;
  display: inline-block;
}

.side-bar-widget-link:hover .side-bar-widget-title-adj {
  color: #FFA57E !important;
}

.side-bar-widget-link img {
  display: block;
  margin-bottom: 4px;
  margin-left: auto;
  margin-right: auto;
}