
/* SEO記事：目次・詳細の共通スタイル */
#top_img { min-height: 500px; display: block; }
@media (max-width: 768px) { #top_img { min-height: 300px; } }

section { margin: 0 !important; padding: 0 !important; display: flow-root; }

.seo-wrap { padding: 20px 0 80px; }

.stitle {
    padding: 0.8em 1em;
    color: #ffffff !important;
    font-weight: 800;
    letter-spacing: 0.1em;
    background: linear-gradient(90deg, rgba(0, 106, 191, 0.6) 0%, rgba(0, 242, 255, 0.2) 100%);
    box-shadow: 0 5px 15px rgba(0, 242, 255, 0.2);
}

/* 目次カード */
.article-card {
    margin-bottom: 40px !important;
    padding: 36px 40px;
    border: 1px solid rgba(0, 242, 255, 0.3);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}
.article-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 15, 35, 0.88);
    z-index: 0;
}
.article-card > * { position: relative; z-index: 1; }
.article-card:hover {
    border-color: #00f2ff;
    box-shadow: 0 16px 40px rgba(0, 242, 255, 0.22);
}

.article-card h1 {
    color: #ffffff !important;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.5;
    margin: 0 0 18px;
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.3);
}
@media (max-width: 768px) {
    .article-card { padding: 24px; }
    .article-card h1 { font-size: 18px !important; }
}

.article-excerpt {
    color: rgba(255,255,255,0.88);
    font-size: 15px;
    line-height: 1.8;
    margin: 0 0 22px;
}

.read-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    min-width: 220px;
    padding: 14px 24px;
    background: linear-gradient(135deg, #006aff 0%, #00f2ff 100%);
    border-radius: 4px;
    text-decoration: none !important;
    color: #fff !important;
    font-weight: 800;
    letter-spacing: 0.08em;
    transition: 0.3s;
}
.read-btn:hover { filter: brightness(1.12); color: #fff !important; }
.read-btn span { margin-left: 12px; font-size: 20px; }

.article-thumb {
    width: 100%;
    max-height: 240px;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    margin-bottom: 22px;
    display: block;
}

/* 詳細本文 */
.article-body {
    color: rgba(255,255,255,0.92);
    font-size: 16px;
    line-height: 2;
    padding: 20px 0 40px;
}
.article-body h1 {
    color: #fff !important;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.5;
    margin: 10px 0 28px;
    text-shadow: 0 0 12px rgba(0, 242, 255, 0.35);
}
.article-body h2 {
    color: #fff !important;
    font-size: 22px;
    font-weight: 800;
    margin: 48px 0 18px;
    padding: 0.7em 0.9em;
    background: linear-gradient(90deg, rgba(0, 106, 191, 0.55) 0%, rgba(0, 242, 255, 0.12) 100%);
    border-left: 5px solid #00f2ff;
}
.article-body h3 {
    color: #00f2ff !important;
    font-size: 18px;
    font-weight: 800;
    margin: 32px 0 12px;
}
.article-body p { margin: 0 0 1.1em; }
.article-body img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 8px 0 24px;
}
.article-body ul, .article-body ol {
    margin: 0 0 1.4em;
    padding-left: 1.4em;
}
.article-body li { margin: 0.3em 0; }

.article-toc {
    background: rgba(0, 15, 35, 0.75);
    border: 1px solid rgba(0, 242, 255, 0.28);
    border-radius: 12px;
    padding: 22px 28px;
    margin: 0 0 36px;
}
.article-toc .toc-label {
    color: #00f2ff;
    font-weight: 800;
    margin-bottom: 10px;
}
.article-toc a {
    color: #fff !important;
    text-decoration: none;
    display: block;
    padding: 4px 0;
    line-height: 1.7;
}
.article-toc a:hover { color: #00f2ff !important; }

.article-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 1.6em;
    background: rgba(0, 15, 35, 0.55);
}
.article-table th, .article-table td {
    border: 1px solid rgba(0, 242, 255, 0.28);
    padding: 12px 14px;
    color: #fff;
    vertical-align: top;
}
.article-table th {
    background: rgba(0, 106, 191, 0.45);
    font-weight: 800;
    white-space: nowrap;
}

.cta-panel {
    margin: 48px 0 20px;
    padding: 36px;
    background: rgba(0, 15, 35, 0.85);
    border: 1px solid rgba(0, 242, 255, 0.4);
    border-radius: 15px;
    text-align: center;
}
.cta-panel .cta-lead {
    color: #00f2ff;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 14px;
}
.cta-panel p { color: #fff; }

.back-link {
    display: inline-block;
    margin: 20px 0 40px;
    color: #00f2ff !important;
    font-weight: 700;
}

@media (max-width: 768px) {
    .article-body h1 { font-size: 22px !important; }
    .article-body h2 { font-size: 18px !important; }
    .read-btn { width: 100%; box-sizing: border-box; }
}


/* ========================================
   記事カード デザイン比較用
======================================== */


/* ------------------------------
   No.1
   画像を大きく・できるだけ見切れず表示
------------------------------ */

.article-card-type01 .article-thumb-wrap01 {
	width: 100%;
	margin-bottom: 25px;
	text-align: center;
	overflow: hidden;
}

.article-card-type01 .article-thumb-wrap01 img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 520px;
	object-fit: contain;
	object-position: center;
	margin: 0 auto;
}


/* ------------------------------
   No.2
   左：画像
   右：タイトル・本文・ボタン
------------------------------ */

.article-card-type02 {
	display: flex;
	align-items: stretch;
	gap: 35px;
}

.article-card-type02 .article-thumb-wrap02 {
	width: 42%;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.article-card-type02 .article-thumb-wrap02 img {
	display: block;
	width: 100%;
	height: 100%;
	max-height: 420px;
	object-fit: contain;
	object-position: center;
}

.article-card-type02 .article-card-content02 {
	width: 58%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}


/* ------------------------------
   スマホ
------------------------------ */

@media screen and (max-width: 767px) {

	.article-card-type01 .article-thumb-wrap01 img {
		max-height: none;
	}


	.article-card-type02 {
		display: block;
	}

	.article-card-type02 .article-thumb-wrap02 {
		width: 100%;
		margin-bottom: 20px;
	}

	.article-card-type02 .article-thumb-wrap02 img {
		width: 100%;
		height: auto;
		max-height: none;
		object-fit: contain;
	}

	.article-card-type02 .article-card-content02 {
		width: 100%;
	}

}
