/* ブログ一覧・記事ページ（2026-11-22 作り替え） */
.fl-blog {
	--fl-bg: #141414;
	--fl-card: #1f1f1f;
	--fl-card2: #262626;
	--fl-line: #333;
	--fl-text: #f3f3f3;
	--fl-muted: #b9b9b9;
	--fl-yellow: #faec00;
	--fl-yellow2: #cfc400;
	--fl-en: 'Montserrat', sans-serif;
	background: var(--fl-bg);
	color: var(--fl-text);
	padding-bottom: 96px;
	flex: 1 1 100%;
	width: 100%;
	min-width: 0;
}
.fl-blog *, .fl-blog *::before, .fl-blog *::after { box-sizing: border-box; }
.fl-blog a { text-decoration: none; }
.fl-blog img { max-width: 100%; height: auto; }
.fl-sp { display: none; }

/* 見出しエリア（下層ページと同じ作り） */
.fl-hero {
	position: relative;
	min-height: 400px;
	display: flex;
	align-items: center;
	background: #000 var(--fl-hero-img) center / cover no-repeat;
	isolation: isolate;
}
.fl-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .55) 55%, rgba(0, 0, 0, .35) 100%);
}
.fl-hero__inner { width: 100%; max-width: 1200px; margin: 0 auto; padding: 72px 24px 64px; }
.fl-hero__label { margin: 0 0 14px; font-family: var(--fl-en); font-size: 17px; line-height: 1.6; color: var(--fl-yellow); }
.fl-blog .fl-hero__title { margin: 0 0 16px; font-family: var(--fl-en); font-size: 56px; line-height: 1.2; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: #fff; }
.fl-hero__sub { margin: 0; font-size: 17px; line-height: 1.9; color: #fff; }

.fl-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* パンくず */
.fl-crumbs { padding: 22px 0 0; font-size: 13px; line-height: 1.7; color: var(--fl-muted); }
.fl-crumbs a { color: var(--fl-muted); }
.fl-crumbs a:hover { color: var(--fl-yellow); }
.fl-crumbs .aioseo-breadcrumb-separator { margin: 0 .5em; opacity: .6; }

.fl-blog__lead, .fl-blog__term { margin: 28px 0 0; font-size: 15px; line-height: 1.9; color: var(--fl-muted); }
.fl-blog__term { color: var(--fl-text); font-weight: 700; }
.fl-blog__term a { margin-left: 1em; font-weight: 400; font-size: 13px; color: var(--fl-yellow); }
.fl-blog__empty { margin: 48px 0; }

/* カード */
.fl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 32px; }
.fl-card { min-width: 0; }
.fl-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--fl-card);
	border: 1px solid var(--fl-line);
	border-radius: 12px;
	overflow: hidden;
	color: var(--fl-text);
	transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.fl-card__link:hover, .fl-card__link:focus-visible { transform: translateY(-4px); border-color: var(--fl-yellow); box-shadow: 0 14px 30px rgba(0, 0, 0, .45); color: var(--fl-text); }
.fl-card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0c0c0c; }
.fl-card__media img.fl-card__img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.fl-card__link:hover .fl-card__img { transform: scale(1.04); }
.fl-card__noimg { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.fl-card__noimg img { width: 46%; opacity: .5; }
.fl-card__new { padding: 2px 8px; border-radius: 4px; background: var(--fl-yellow); color: #111; font-family: var(--fl-en); font-size: 11px; font-weight: 800; letter-spacing: .08em; line-height: 1.4; }
.fl-card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 22px; }
.fl-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 10px; font-size: 12px; line-height: 1.5; }
.fl-card__meta time { font-family: var(--fl-en); font-weight: 600; letter-spacing: .06em; color: var(--fl-yellow); }
.fl-card__cat { padding: 2px 9px; border: 1px solid #4a4a4a; border-radius: 999px; color: var(--fl-muted); }
.fl-blog .fl-card__title {
	margin: 0 0 10px;
	font-family: inherit;
	font-size: 16px;
	line-height: 1.65;
	font-weight: 700;
	letter-spacing: .02em;
	text-transform: none;
	color: #fff;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.fl-card__excerpt { margin: 0 0 16px; font-size: 13px; line-height: 1.8; color: var(--fl-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fl-card__more { margin-top: auto; font-size: 13px; font-weight: 700; color: var(--fl-yellow); }
.fl-card__more::after { content: "→"; margin-left: .5em; display: inline-block; transition: transform .25s ease; }
.fl-card__link:hover .fl-card__more::after { transform: translateX(4px); }

/* 各ページ先頭の 1 件（PC は 2 列 × 2 段の大きなカード） */
.fl-grid--main .fl-card--feature { grid-column: span 2; grid-row: span 2; }
.fl-card--feature .fl-card__media { flex: none; }
.fl-card--feature .fl-card__body { flex: 1 1 auto; padding: 26px 30px 30px; }
.fl-blog .fl-card--feature .fl-card__title { font-size: 22px; line-height: 1.6; -webkit-line-clamp: 3; }
.fl-card--feature .fl-card__excerpt { font-size: 14px; line-height: 1.9; -webkit-line-clamp: 6; }

/* ページ送り */
.fl-pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin: 56px 0 0; }
.fl-pager .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border: 1px solid #444;
	border-radius: 999px;
	font-family: var(--fl-en);
	font-size: 14px;
	font-weight: 600;
	color: var(--fl-text);
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.fl-pager a.page-numbers:hover { border-color: var(--fl-yellow); color: var(--fl-yellow); }
.fl-pager .page-numbers.current { background: var(--fl-yellow); border-color: var(--fl-yellow); color: #111; }
.fl-pager .page-numbers.dots { border-color: transparent; min-width: 24px; padding: 0; }

/* 記事ページ ------------------------------------------------------------ */
.fl-post__head { background: linear-gradient(180deg, #0d0d0d 0%, #1a1a1a 100%); border-bottom: 1px solid #262626; }
.fl-post__headin { max-width: 900px; margin: 0 auto; padding: 8px 24px 140px; }
.fl-post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 26px 0 16px; font-size: 13px; line-height: 1.5; color: var(--fl-muted); }
.fl-post__cat { padding: 3px 12px; border-radius: 999px; background: var(--fl-yellow); color: #111; font-weight: 700; font-size: 12px; }
.fl-post__cat:hover { background: #fff; color: #111; }
.fl-post__date { font-family: var(--fl-en); font-weight: 600; letter-spacing: .06em; color: #fff; }
.fl-post__mod time { font-family: var(--fl-en); letter-spacing: .04em; }
.fl-blog .fl-post__title { margin: 0; font-family: inherit; font-size: 30px; line-height: 1.6; font-weight: 700; letter-spacing: .02em; text-transform: none; color: #fff; }

.fl-post__wrap { max-width: 900px; margin: -100px auto 0; padding: 0 24px; position: relative; }
.fl-paper { background: #000; color: #e6e6e6; border: 1px solid #2a2a2a; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.fl-paper__eyecatch { margin: 0; background: #0c0c0c; }
.fl-paper__eyecatch img { display: block; width: 100%; height: auto; }
.fl-paper__in { padding: 44px 56px 52px; }

/* 目次 */
.fl-toc { margin: 0 0 40px; padding: 22px 26px; background: #121212; border: 1px solid #2e2e2e; border-left: 5px solid var(--fl-yellow2); border-radius: 8px; }
.fl-toc__title { margin: 0 0 10px; font-weight: 700; font-size: 15px; color: #fff; }
.fl-toc ol { margin: 0; padding-left: 1.4em; font-size: 14.5px; line-height: 1.8; }
.fl-toc li { margin: .25em 0; }
.fl-toc a { color: #d6d6d6; text-decoration: none; }
.fl-toc a:hover { color: var(--fl-yellow); text-decoration: underline; }

/* 本文 */
.fl-post .fl-paper .fl-entry { font-size: 16.5px; line-height: 1.95; letter-spacing: .02em; color: #e6e6e6; word-break: normal; overflow-wrap: anywhere; }
.fl-post .fl-paper .fl-entry > *:first-child { margin-top: 0; }
.fl-post .fl-paper .fl-entry > *:last-child { margin-bottom: 0; }
.fl-post .fl-paper .fl-entry p { margin: 0 0 1.5em; }
.fl-post .fl-paper .fl-entry :is(h2, h3, h4, h5, h6) { font-family: inherit; text-transform: none; letter-spacing: .02em; color: #fff; scroll-margin-top: 110px; }
.fl-post .fl-paper .fl-entry h2 { margin: 2.6em 0 1.1em; padding: .7em 1em .7em 1.1em; font-size: 1.36em; line-height: 1.55; font-weight: 700; color: #fff; background: #1f1f1f; border-left: 6px solid var(--fl-yellow); border-radius: 6px; }
.fl-post .fl-paper .fl-entry h3 { margin: 2.2em 0 1em; padding: .15em 0 .55em .85em; font-size: 1.18em; line-height: 1.6; font-weight: 700; border-left: 4px solid var(--fl-yellow); border-bottom: 1px solid #333; }
.fl-post .fl-paper .fl-entry h4 { margin: 1.9em 0 .8em; padding-left: .75em; font-size: 1.06em; line-height: 1.6; font-weight: 700; border-left: 3px solid var(--fl-yellow2); }
.fl-post .fl-paper .fl-entry :is(h5, h6) { margin: 1.6em 0 .6em; font-size: 1em; font-weight: 700; }
.fl-post .fl-paper .fl-entry a { color: var(--fl-yellow); text-decoration: underline; text-decoration-color: rgba(250, 236, 0, .55); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.fl-post .fl-paper .fl-entry a:hover { color: #fff; }
.fl-post .fl-paper .fl-entry strong, .fl-post .fl-paper .fl-entry b { font-weight: 700; color: #fff; background: linear-gradient(transparent 62%, rgba(250, 236, 0, .32) 62%); }
.fl-post .fl-paper .fl-entry :is(ul, ol) { margin: 0 0 1.6em; padding-left: 1.5em; }
.fl-post .fl-paper .fl-entry li { margin: .35em 0; }
.fl-post .fl-paper .fl-entry ul li::marker { color: var(--fl-yellow); }
.fl-post .fl-paper .fl-entry ol li::marker { color: #bbb; font-weight: 700; }
.fl-post .fl-paper .fl-entry figure { margin: 1.8em 0; }
.fl-post .fl-paper .fl-entry img { border-radius: 8px; }
.fl-post .fl-paper .fl-entry figcaption { margin-top: .6em; font-size: 13px; line-height: 1.6; color: #9a9a9a; text-align: center; }
.fl-post .fl-paper .fl-entry .wp-block-table { overflow-x: auto; }
.fl-post .fl-paper .fl-entry table { width: 100%; margin: 0 0 1.6em; border-collapse: collapse; font-size: 15px; line-height: 1.7; }
.fl-post .fl-paper .fl-entry :is(th, td) { padding: .7em .9em; border: 1px solid #333; text-align: left; vertical-align: top; }
.fl-post .fl-paper .fl-entry th, .fl-post .fl-paper .fl-entry thead td { background: #1a1a1a; font-weight: 700; color: #fff; }
.fl-post .fl-paper .fl-entry :is(hr, .wp-block-separator) { margin: 2.6em 0; border: 0; height: 1px; background: #333; opacity: 1; }
.fl-post .fl-paper .fl-entry blockquote { margin: 1.8em 0; padding: 1em 1.3em; background: #121212; border-left: 4px solid #555; color: #ccc; }
.fl-post .fl-paper .fl-entry .wp-block-embed__wrapper iframe, .fl-post .fl-paper .fl-entry iframe { max-width: 100%; }
.fl-post .fl-paper .fl-entry .wp-block-embed.is-type-video .wp-block-embed__wrapper iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; }
/* 記事内の赤文字（直接指定）は黒背景だと沈むので少し明るく。赤いボタン（背景色の指定あり）は対象外 */
.fl-post .fl-paper .fl-entry :is([style*="color:#d60000"], [style*="color: #d60000"], [style*="color:red"], [style*="color: red"]):not([style*="background"]) { color: #ff5c5c !important; }

/* タグ */
.fl-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 40px 0 0; padding: 26px 0 0; border-top: 1px solid #2a2a2a; list-style: none; }
.fl-tags li { margin: 0; }
.fl-tags a { display: inline-block; padding: 5px 12px; border-radius: 999px; background: #1c1c1c; color: #ccc; font-size: 13px; line-height: 1.5; }
.fl-tags a:hover { background: var(--fl-yellow); color: #111; }

/* お問い合わせの案内 */
.fl-cta { margin: 48px 0 0; padding: 40px 44px; border-radius: 16px; background: #1d1d1d; border: 1px solid #333; border-top: 4px solid var(--fl-yellow); text-align: center; }
.fl-cta__label { margin: 0 0 6px; font-family: var(--fl-en); font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--fl-yellow); text-transform: uppercase; }
.fl-cta__title { margin: 0 0 12px; font-size: 22px; line-height: 1.6; font-weight: 700; color: #fff; }
.fl-cta__text { margin: 0 auto 24px; max-width: 620px; font-size: 14px; line-height: 1.9; color: var(--fl-muted); }
.fl-cta__btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 620px; margin: 0 auto; }
.fl-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 10px 18px; border-radius: 8px; font-size: 15px; font-weight: 700; line-height: 1.4; transition: opacity .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease; }
.fl-blog a.fl-btn--line { background: #06c755; color: #fff; }
.fl-blog a.fl-btn--tel { background: var(--fl-yellow); color: #111; font-family: var(--fl-en); letter-spacing: .04em; }
.fl-blog a.fl-btn--tel::before { content: "TEL"; margin-right: .6em; font-size: 12px; }
.fl-blog a.fl-btn--ghost { border: 1px solid #5a5a5a; color: #fff; }
.fl-blog a.fl-btn:hover { opacity: .85; }
.fl-blog a.fl-btn--ghost:hover { opacity: 1; border-color: var(--fl-yellow); color: var(--fl-yellow); }
.fl-cta__note { margin: 18px 0 0; font-size: 13px; color: var(--fl-muted); }

/* 前後の記事 */
.fl-postnav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 40px 0 0; }
.fl-postnav__item { display: block; padding: 18px 22px; border: 1px solid var(--fl-line); border-radius: 12px; background: var(--fl-card); color: var(--fl-text); transition: border-color .2s ease; }
.fl-postnav__item:hover { border-color: var(--fl-yellow); color: var(--fl-text); }
.fl-postnav__next { text-align: right; }
.fl-postnav__label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 700; color: var(--fl-yellow); }
.fl-postnav__prev .fl-postnav__label::before { content: "← "; }
.fl-postnav__next .fl-postnav__label::after { content: " →"; }
.fl-postnav__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; line-height: 1.7; }

/* 関連記事 */
.fl-related { margin: 64px 0 0; }
.fl-blog .fl-related__title { display: flex; flex-direction: column; gap: 4px; margin: 0; font-family: inherit; font-size: 22px; line-height: 1.5; font-weight: 700; text-transform: none; color: #fff; }
.fl-related__title span { font-family: var(--fl-en); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--fl-yellow); }
.fl-related .fl-grid { margin-top: 24px; gap: 20px; }
.fl-related .fl-card__title { font-size: 15px; }

.fl-back { margin: 48px 0 0; text-align: center; }
.fl-back .fl-btn { min-width: 260px; }

/* タブレット */
@media (max-width: 1024px) {
	.fl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
	.fl-related .fl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
	.fl-related .fl-card__excerpt { display: none; }
	.fl-grid--main .fl-card--feature { grid-column: span 2; grid-row: auto; }
	.fl-card--feature .fl-card__body { padding: 22px 26px 26px; }
	.fl-blog .fl-card--feature .fl-card__title { font-size: 19px; }
	.fl-blog .fl-hero__title { font-size: 46px; }
}

/* スマホ */
@media (max-width: 767px) {
	.fl-sp { display: inline; }
	.fl-blog { padding-bottom: 64px; }
	.fl-hero { min-height: 260px; }
	.fl-hero__inner { padding: 48px 20px 40px; }
	.fl-hero__label { font-size: 14px; margin-bottom: 8px; }
	.fl-blog .fl-hero__title { font-size: 36px; margin-bottom: 10px; }
	.fl-hero__sub { font-size: 15px; }
	.fl-wrap { padding: 0 16px; }
	.fl-grid, .fl-related .fl-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 22px; }
	.fl-related .fl-grid { gap: 12px; }
	.fl-related .fl-card__link { display: grid; grid-template-columns: 40% minmax(0, 1fr); }
	.fl-related .fl-card__media { aspect-ratio: auto; min-height: 100%; }
	.fl-related .fl-card__media img.fl-card__img { position: absolute; inset: 0; }
	.fl-related .fl-card__body { padding: 12px 14px; }
	.fl-related .fl-card__meta { margin-bottom: 6px; }
	.fl-related .fl-card__cat, .fl-related .fl-card__excerpt, .fl-related .fl-card__more { display: none; }
	.fl-blog .fl-related .fl-card__title { margin: 0; font-size: 14px; line-height: 1.6; }
	.fl-grid--main .fl-card--feature { grid-column: auto; }
	.fl-card--feature .fl-card__body { padding: 18px 20px 22px; }
	.fl-blog .fl-card--feature .fl-card__title { font-size: 18px; }
	.fl-pager { gap: 6px; margin-top: 40px; }
	.fl-pager .page-numbers { min-width: 40px; height: 40px; padding: 0 10px; font-size: 13px; }
	.fl-pager__txt { display: none; }
	.fl-post__headin { padding: 4px 16px 96px; }
	.fl-blog .fl-post__title { font-size: 22px; line-height: 1.6; }
	.fl-post__wrap { margin-top: -72px; padding: 0 12px; }
	.fl-paper { border-radius: 12px; }
	.fl-paper__in { padding: 26px 20px 32px; }
	.fl-post .fl-paper .fl-entry { font-size: 16px; line-height: 1.9; }
	.fl-post .fl-paper .fl-entry h2 { font-size: 1.2em; padding: .65em .85em; }
	.fl-post .fl-paper .fl-entry h3 { font-size: 1.1em; }
	.fl-toc { padding: 18px 18px; margin-bottom: 30px; }
	.fl-cta { padding: 30px 18px; }
	.fl-cta__title { font-size: 19px; }
	.fl-cta__btns { grid-template-columns: minmax(0, 1fr); }
	.fl-postnav { grid-template-columns: minmax(0, 1fr); }
	.fl-postnav__next { text-align: left; }
	.fl-back .fl-btn { min-width: 0; width: 100%; }
}
