@charset "UTF-8";

/* 投稿 */

/* アイキャッチ */
.single-content-inner .eye-catch-contents .wp-block-cover {
    border-radius: var(--pt-soft-radius);
}

.eye-catch-contents .wp-block-cover{
    text-align: center;
}


.eye-catch-contents h1{
	width: fit-content;
    background: linear-gradient(0deg, var(--pt-button-bg) 0%,var(--pt-button-bg) 50%, transparent 50%);
    padding: 0.2rem;
	margin-top: 1rem;
	display: inline;
	box-decoration-break: clone;
}

/*.eye-catch-contents h1,*/
.eye-catch-contents h2,
.eye-catch-contents h3 {
    width: fit-content;
    /*background: #263560;*/
    padding: 0.2rem;
	margin-top: 1rem;
}


.eye-catch-contents p {
    /*width: fit-content;
    color: var(--pt-headings-color);
    background: white;*/
    padding: 0.2rem;
	margin-top: 1rem;
	padding-left: 2rem;
}

/* アイキャッチ2 */
.single-hero-inside {
    margin-top: var(--gasp-sp-32);
}
.single-hero-inside img {
    box-shadow: 0 0 10px #d3d3d3;
}
@media screen and (min-width: 1025px) {
    .single-hero-inside {
        margin-left: var(--gasp-sp-96);
        margin-right: var(--gasp-sp-96);
    }
}

/* ===== 2026-08-28 ソリューション動画アイキャッチ ここから ===== */
/* 目的: SOLUTION投稿6本のアイキャッチ（.eye-catch-contents のカバー）の背景を動画にする。
   仕組み: single.js の同日追記ブロックが、対象投稿でカバーに .gasp-eyecatch-movie を付けて <video> を挿入する。
   JSが動かない回・スマホ幅(768px未満)・省データ・reduced-motion・動画の読み込み失敗時はクラスが付かず、
   従来どおりアイキャッチ画像が出る（安全側）。 */
.gasp-eyecatch-movie {
    position: relative;
    overflow: hidden;
}
.gasp-eyecatch-movie > .gasp-eyecatch-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    /* 「少し暗く」（岡田指示 8/28）: 動画に焼き込まずCSSで減光＝数値だけで後から調整できる。
       この上に既存のグレー被せ(50%)も重なる */
    filter: brightness(0.6) saturate(0.85);
}
/* 元のアイキャッチ画像は、動画の再生が始まってから隠す（それまでは従来表示＝安全側） */
.gasp-eyecatch-movie.gasp-eyecatch-playing > .wp-block-cover__image-background {
    visibility: hidden;
}
/* 白抜きタイトル（岡田指示 8/28）: 動画のときはマーカー帯（上の .eye-catch-contents h1）をやめて白文字。
   動画が無いページ（CASE等）は従来のマーカー帯のまま */
.gasp-eyecatch-movie h1 {
    background: none;
    color: #fff;
    width: auto;
    display: block;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}
.gasp-eyecatch-movie h3,
.gasp-eyecatch-movie p {
    color: #fff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}
/* ===== 2026-08-28 ソリューション動画アイキャッチ ここまで ===== */

/* 2026-10-05 の「関連する取り組みカードの動画化」の見た目は、固定ページ32・34と共用するため assets/css/card-video.css へ移した */
