@charset "UTF-8";
/*
 Theme Name: Minochi AI Web
 Theme URI:
 Author: Seishoh
 Template: lightning
 Version: 1.0.0
*/


/* =========================================
   適用範囲の限定設定
   ログイン・登録・プロフィールページ
   ========================================= */
.post-101 .entry-content,
.post-99 .entry-content,
.post-117 .entry-content {
	max-width: 600px;
	margin: 30px auto;
	padding: 40px 30px;
	background-color: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	box-shadow: 0 5px 15px rgba(0,0,0,0.05);
	text-align: center;
}

/* =========================================
   ログイン・登録フォームのスタイル
   ========================================= */
#wpmem_login, #wpmem_reg, .wpmem_msg {
	text-align: center;
	width: 100% !important;
}
#wpmem_login fieldset,
#wpmem_reg fieldset {
	border: none;
	padding: 0;
	margin: 0;
}
#wpmem_login legend,
#wpmem_reg legend {
	font-size: 1.4rem;
	font-weight: bold;
	color: #333;
	margin: 0 auto 30px;
	display: block;
	width: 100%;
	padding: 0;
}
#wpmem_login legend::before {
	content: "🔒";
	display: block;
	font-size: 3rem;
	margin-bottom: 15px;
}
#wpmem_reg legend::before {
	content: "👤";
	display: block;
	font-size: 3rem;
	margin-bottom: 15px;
}
#wpmem_login label, #wpmem_reg label {
	display: block;
	text-align: left;
	font-size: 0.95rem;
	color: #444;
	margin-bottom: 5px;
	font-weight: 600;
}
.div_text { margin-bottom: 20px; }
#wpmem_login input[type="text"],
#wpmem_login input[type="password"],
#wpmem_reg input[type="text"],
#wpmem_reg input[type="password"],
#wpmem_reg input[type="email"] {
	width: 100%;
	box-sizing: border-box;
	padding: 12px 15px;
	font-size: 1rem;
	border: 1px solid #ccc;
	border-radius: 4px;
	background: #f9f9f9;
	transition: all 0.3s;
}
input:focus {
	background: #fff;
	border-color: #444;
	outline: none;
}
input[type="submit"] {
	background-color: #444;
	color: #fff;
	border: none;
	padding: 12px 50px;
	font-size: 1rem;
	border-radius: 4px;
	cursor: pointer;
	transition: opacity 0.3s;
	width: 100%;
	max-width: 300px;
}
input[type="submit"]:hover { opacity: 0.8; }
.link-text {
	margin-top: 15px;
	font-size: 0.9rem;
}
.link-text a {
	text-decoration: none;
	color: #444;
	border-bottom: 1px solid #ccc;
}
.link-text-register a {
	color: #d9534f;
	border-bottom-color: rgba(217,83,79,0.3);
	font-weight: bold;
}
.req { color: #d9534f; margin-left: 4px; }
.req-text { font-size: 0.85rem; color: #666; text-align: right; margin-bottom: 20px; }

/* =========================================
   プロフィールページ
   ========================================= */
.post-117 .entry-content > ul {
	list-style: none;
	padding: 0;
	margin: 20px 0 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 15px;
	border: none;
}
.post-117 .entry-content > ul li a {
	display: block;
	padding: 12px 30px;
	background-color: #444;
	color: #fff;
	text-decoration: none;
	border-radius: 4px;
	font-size: 0.95rem;
	transition: all 0.3s;
	min-width: 180px;
}
.post-117 .entry-content > ul li a:hover {
	opacity: 0.8;
	transform: translateY(-2px);
}
.post-117 .entry-content > ul li a[href*="logout"] {
	background-color: #fff;
	color: #d9534f;
	border: 1px solid #d9534f;
}
.post-117 .entry-content > ul li a[href*="logout"]:hover {
	background-color: #d9534f;
	color: #fff;
}


/* =========================================
   会員数表示セクション
   ========================================= */
.sango-member-box {
	background-color: #f7f9fb;
	border: 1px solid #e1e8ed;
	border-radius: 8px;
	padding: 2em;
	margin: 2em 0;
	box-shadow: 0 3px 6px rgba(0,0,0,0.05);
}
.sango-member-box__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5em;
	text-align: center;
}
.sango-member-box__icon {
	font-size: 3em;
	color: #6bb6ff;
	background: #fff;
	width: 80px;
	height: 80px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.sango-member-box__text {
	font-size: 0.95em;
	line-height: 1.8;
	margin-bottom: 1em;
	color: #333;
}
.sango-member-box__status {
	background: #fff;
	padding: 1em 2em;
	border-radius: 50px;
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: center;
	gap: 0.3em;
	box-shadow: 0 2px 5px rgba(0,0,0,0.05);
	border: 2px solid #6bb6ff;
}
.status-label { font-weight: bold; font-size: 0.9em; color: #555; }
.status-count { font-size: 1.6em; font-weight: bold; color: #333; line-height: 1; margin: 0 0.1em; }
.status-unit { font-size: 0.9em; font-weight: bold; }
.status-date { font-size: 0.8em; color: #888; margin-left: 0.5em; }
@media screen and (min-width: 768px) {
	.sango-member-box__inner { flex-direction: row; text-align: left; }
	.sango-member-box__icon { margin-right: 1em; }
}


/* =========================================
   レッスン完了ボタン・進捗
   ========================================= */
.lesson-complete-btn {
	display: block;
	width: 100%;
	max-width: 100%;
	padding: 18px 0;
	margin: 20px 0;
	font-size: 1.1em;
	font-weight: bold;
	text-align: center;
	letter-spacing: 0.05em;
	color: #555;
	background-color: #f0f0f0;
	border: none;
	border-radius: 8px;
	box-shadow: 0 4px 0 #cccccc;
	transition: all 0.2s ease;
	cursor: pointer;
	position: relative;
	top: 0;
}
.lesson-complete-btn:hover {
	background-color: #e6e6e6;
	transform: translateY(2px);
	box-shadow: 0 2px 0 #cccccc;
}
.lesson-complete-btn:active {
	transform: translateY(4px);
	box-shadow: none;
}
.lesson-complete-btn.completed {
	background-color: #4CAF50;
	color: #ffffff;
	box-shadow: 0 4px 0 #2E7D32;
}
.lesson-complete-btn.completed:hover {
	background-color: #58bb5c;
	box-shadow: 0 2px 0 #2E7D32;
}
.check-icon { font-size: 1.2em; margin-left: 8px; vertical-align: middle; }

.back-to-list-btn {
	display: block;
	width: 100%;
	padding: 12px 0;
	text-align: center;
	text-decoration: none;
	color: #666;
	background-color: transparent;
	border: 2px solid #ddd;
	border-radius: 8px;
	font-weight: bold;
	transition: all 0.3s;
}
.back-to-list-btn:hover {
	background-color: #f9f9f9;
	color: #333;
	border-color: #ccc;
}

.my-lesson-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: 600px;
	margin: 0 auto;
}
.lesson-item {
	display: flex;
	justify-content: space-between;
	padding: 15px;
	text-decoration: none;
	border-radius: 8px;
	border: 1px solid #ddd;
	transition: opacity 0.3s;
}
.lesson-item:hover { opacity: 0.8; }
.lesson-item.status-incomplete {
	background-color: #FFF;
	color: #555;
	border-left: 5px solid #ccc;
}
.lesson-item.status-completed {
	background-color: #e8f5e9;
	color: #2e7d32;
	border-left: 5px solid #4CAF50;
}
@media screen and (max-width: 768px) {
	.my-lesson-list { width: 93%; }
}

.member-label {
	background-color: #ff5252;
	color: #fff;
	font-size: 11px;
	padding: 2px 6px;
	border-radius: 3px;
	margin-right: 6px;
	vertical-align: middle;
	display: inline-block;
	line-height: 1.2;
	font-weight: normal;
}


/* =========================================
   タブスタイル (sgb/tab 互換) - モダンデザイン
   ========================================= */

.wp-block-sgb-tab {
	margin: 1.8em 0;
}

/* ピル型コンテナ */
.post-tab {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 4px;
	padding: 5px;
	background: #f1f5f9;
	border-radius: 12px;
	border-bottom: none;
	margin-bottom: 12px;
}
.post-tab label {
	padding: 8px 22px;
	cursor: pointer;
	font-weight: 700;
	font-size: .88rem;
	color: #64748b;
	background: transparent;
	border: none;
	border-radius: 8px;
	margin: 0;
	transition: background .2s, color .2s, box-shadow .2s;
	user-select: none;
	line-height: 1.4;
}
.post-tab label:hover {
	background: rgba(255, 255, 255, .65);
	color: #1e293b;
}
.post-tab label.tab-active {
	background: #fff;
	color: #1e293b;  /* JS の inline style（白文字）に上書きされる */
	box-shadow: 0 1px 5px rgba(0, 0, 0, .1);
}

/* タブコンテンツ */
.wp-block-sgb-tab-item { display: none; }
.wp-block-sgb-tab-item.tab-active { display: block; }


/* =========================================
   要約ブロック余白 (sgb/block-simple)
   ========================================= */

.wp-block-sgb-block-simple {
	margin-top: 1.5em !important;
	margin-bottom: 1.5em !important;
}
.sgb-box-simple__title {
	padding: 10px 16px;
	font-weight: 700;
	font-size: .92rem;
	letter-spacing: .04em;
}
.sgb-box-simple__body {
	padding: 16px 20px;
	line-height: 1.8;
}
.sgb-box-simple--with-border .sgb-box-simple__body {
	border: 2px solid;
	border-top: none;
	border-radius: 0 0 6px 6px;
}


/* =========================================
   吹き出し (sgb/say 互換)
   ========================================= */

.wp-block-sgb-say {
	margin: 2em 0;
	clear: both;
}
.sgb-block-say {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}
.sgb-block-say--right {
	flex-direction: row-reverse;
}

/* アバター */
.sgb-block-say-avatar {
	flex-shrink: 0;
	text-align: center;
	width: 72px;
}
.sgb-block-say-avatar img {
	width: 72px !important;
	height: 72px !important;
	border-radius: 50% !important;
	border: 3px solid #eaedf2;
	display: block;
	object-fit: cover;
}
.sgb-block-say-avatar__name {
	font-size: .72rem;
	color: #64748b;
	margin-top: 5px;
	font-weight: 700;
	line-height: 1.3;
}

/* 吹き出しテキスト全体 */
.sgb-block-say-text {
	position: relative;
	flex: 1;
	min-width: 0;
}

/* 吹き出し本体 */
.sgb-block-say-text__content {
	position: relative;
	padding: 14px 18px;
	border: 2px solid #d5d5d5;
	border-radius: 12px;
	background: #fff;
	line-height: 1.8;
	font-size: .93rem;
	color: #334155;
}
.sgb-block-say-text__content p:last-child {
	margin-bottom: 0;
}

/* 矢印（左向き：アバター左・吹き出し右）*/
.sgb-block-say--left .sgb-block-say-text__before,
.sgb-block-say--left .sgb-block-say-text__after {
	position: absolute;
	display: block;
	top: 18px;
	width: 0;
	height: 0;
	border: 8px solid transparent;
	border-left-width: 0;
	/* border-right-color は inline style で設定済み */
}
.sgb-block-say--left .sgb-block-say-text__before {
	left: -10px;
}
.sgb-block-say--left .sgb-block-say-text__after {
	left: -7px;
	border-width: 6px 8px 6px 0;
}

/* 矢印（右向き：アバター右・吹き出し左）*/
.sgb-block-say--right .sgb-block-say-text__before,
.sgb-block-say--right .sgb-block-say-text__after {
	position: absolute;
	display: block;
	top: 18px;
	right: -10px;
	width: 0;
	height: 0;
	border: 8px solid transparent;
	border-right-width: 0;
	/* border-left-color は inline style で設定済み */
}
.sgb-block-say--right .sgb-block-say-text__after {
	right: -7px;
	border-width: 6px 0 6px 8px;
}

@media (max-width: 600px) {
	.sgb-block-say { gap: 10px; }
	.sgb-block-say-avatar { width: 56px; }
	.sgb-block-say-avatar img { width: 56px !important; height: 56px !important; }
}


/* =========================================
   LP スタイル (mai- prefix)
   ========================================= */

.mai-lp * { box-sizing: border-box; }
.mai-lp, .mai-members-top { font-family: -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Noto Sans JP', 'Meiryo', sans-serif; }

.mai-container {
	max-width: 860px;
	margin: 0 auto;
	padding: 0 20px;
}

/* セクション共通 */
.mai-section { padding: 56px 0; }
.mai-section--alt { background-color: #f6f8fc; }
.mai-section__tag {
	display: inline-block;
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .12em;
	color: #2563eb;
	text-transform: uppercase;
	margin-bottom: 10px;
}
.mai-section__title {
	font-size: 1.6rem;
	font-weight: 800;
	color: #1e293b;
	line-height: 1.45;
	margin: 0 0 18px;
}
.mai-section__lead {
	font-size: 1rem;
	color: #64748b;
	line-height: 1.85;
	margin-bottom: 32px;
}

/* ヒーロー */
.mai-hero {
	background: linear-gradient(155deg, #eef4ff 0%, #e8f2ff 50%, #f8faff 100%);
	padding: 72px 0 64px;
	text-align: center;
}
.mai-hero__badge {
	display: inline-block;
	background: #2563eb;
	color: #fff;
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .14em;
	padding: 5px 18px;
	border-radius: 20px;
	margin-bottom: 28px;
}
.mai-hero__title {
	font-size: clamp(1.65rem, 5vw, 2.5rem);
	font-weight: 800;
	color: #1e293b;
	line-height: 1.55;
	margin: 0 0 16px;
}
.mai-hero__title em {
	font-style: normal;
	color: #2563eb;
}
.mai-hero__sub {
	font-size: 1rem;
	color: #64748b;
	margin-bottom: 28px;
}
.mai-hero__tags {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
}
.mai-tag {
	display: inline-block;
	border: 1.5px solid #93c5fd;
	color: #1d4ed8;
	font-size: .8rem;
	font-weight: 700;
	padding: 4px 14px;
	border-radius: 20px;
	background: rgba(255,255,255,.7);
}

/* メッセージ */
.mai-message {
	max-width: 680px;
	margin: 0 auto;
}
.mai-message__heading {
	font-size: 1.05rem;
	font-weight: 800;
	color: #1e293b;
	margin-bottom: 20px;
	padding-bottom: 14px;
	border-bottom: 2px solid #e2e8f0;
}
.mai-message p {
	color: #475569;
	line-height: 1.9;
	margin-bottom: 16px;
	font-size: .96rem;
}

/* AI格差 */
.mai-gap-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	max-width: 740px;
	margin: 0 auto 28px;
}
.mai-gap-card {
	border-radius: 14px;
	padding: 28px 24px;
	text-align: center;
}
.mai-gap-card--have {
	background: #eff6ff;
	border: 2px solid #bfdbfe;
}
.mai-gap-card--havenot {
	background: #fff;
	border: 2px solid #e2e8f0;
}
.mai-gap-card__icon { font-size: 2rem; margin-bottom: 10px; }
.mai-gap-card__label {
	font-size: .76rem;
	font-weight: 700;
	letter-spacing: .1em;
	color: #94a3b8;
	margin-bottom: 8px;
}
.mai-gap-card__title {
	font-size: 1rem;
	font-weight: 800;
	color: #1e293b;
	margin-bottom: 10px;
	line-height: 1.4;
}
.mai-gap-card__body { font-size: .88rem; color: #64748b; line-height: 1.75; }

/* ゴール */
.mai-goal-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-top: 32px;
}
.mai-goal-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 26px 20px;
	text-align: center;
}
.mai-goal-card__icon { font-size: 2.2rem; margin-bottom: 12px; }
.mai-goal-card__title {
	font-size: .95rem;
	font-weight: 800;
	color: #1e293b;
	margin-bottom: 8px;
}
.mai-goal-card__body { font-size: .86rem; color: #64748b; line-height: 1.75; }

/* 習熟度表 */
.mai-level-tables__note {
	background: #eff6ff;
	border-left: 4px solid #2563eb;
	padding: 14px 18px;
	font-size: .88rem;
	color: #475569;
	line-height: 1.75;
	border-radius: 0 6px 6px 0;
	margin-bottom: 28px;
}
.mai-table-title {
	font-size: .95rem;
	font-weight: 800;
	color: #1e293b;
	margin: 28px 0 10px;
}
.table-scroll-wrapper { overflow-x: auto; margin-bottom: 20px; }
.ai-level-table {
	width: 100%;
	border-collapse: collapse;
	font-size: .87rem;
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 1px 6px rgba(0,0,0,.07);
}
.ai-level-table thead { background: #1e3a5f; color: #fff; }
.ai-level-table th { padding: 12px 14px; text-align: left; font-weight: 700; font-size: .83rem; }
.ai-level-table td {
	padding: 12px 14px;
	border-bottom: 1px solid #f1f5f9;
	vertical-align: top;
	line-height: 1.6;
	color: #334155;
}
.ai-level-table tr:last-child td { border-bottom: none; }
.ai-level-table .col-level {
	font-weight: 700;
	color: #1e40af;
	white-space: nowrap;
	width: 64px;
}

/* 概要テーブル */
.mai-overview-table {
	width: 100%;
	border-collapse: collapse;
	font-size: .9rem;
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 1px 6px rgba(0,0,0,.07);
}
.mai-overview-table td {
	padding: 14px 18px;
	border-bottom: 1px solid #f1f5f9;
	vertical-align: top;
	line-height: 1.75;
	color: #334155;
}
.mai-overview-table tr:last-child td { border-bottom: none; }
.mai-overview-table td:first-child {
	width: 130px;
	font-weight: 700;
	color: #1e293b;
	background: #f8fafc;
	border-right: 1px solid #e2e8f0;
	white-space: nowrap;
}

/* ルール */
.mai-rules-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	margin-top: 28px;
}
.mai-rule-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 24px 20px;
}
.mai-rule-card__num {
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .14em;
	color: #2563eb;
	margin-bottom: 8px;
}
.mai-rule-card__title {
	font-size: .97rem;
	font-weight: 800;
	color: #1e293b;
	margin-bottom: 8px;
}
.mai-rule-card__body { font-size: .86rem; color: #64748b; line-height: 1.75; }

/* CTA */
.mai-cta {
	text-align: center;
	padding: 72px 0;
	background: linear-gradient(160deg, #eff6ff 0%, #e8f2ff 100%);
}
.mai-cta__title {
	font-size: 1.25rem;
	font-weight: 800;
	color: #1e293b;
	margin-bottom: 8px;
	line-height: 1.5;
}
.mai-cta__sub {
	font-size: .93rem;
	color: #64748b;
	margin-bottom: 28px;
}
.mai-cta__btn {
	display: inline-block;
	background: #2563eb;
	color: #fff !important;
	font-size: 1.05rem;
	font-weight: 700;
	padding: 16px 52px;
	border-radius: 8px;
	text-decoration: none !important;
	transition: opacity .2s, transform .2s;
}
.mai-cta__btn:hover { opacity: .85; transform: translateY(-1px); }


/* =========================================
   会員トップ スタイル
   ========================================= */
.mai-post-list {
	list-style: none;
	padding: 0;
	margin: 0;
	border-top: 1px solid #e2e8f0;
}
.mai-post-list__item { border-bottom: 1px solid #e2e8f0; }
.mai-post-list__link {
	display: flex;
	align-items: baseline;
	gap: 14px;
	padding: 14px 0;
	text-decoration: none;
	color: #1e293b;
	transition: color .2s;
}
.mai-post-list__link:hover { color: #2563eb; }
.mai-post-list__date { font-size: .78rem; color: #94a3b8; white-space: nowrap; }
.mai-post-list__title { font-size: .93rem; line-height: 1.5; }

.mai-cat-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-top: 20px;
}
.mai-cat-card {
	display: block;
	background: #fff;
	border-radius: 10px;
	text-decoration: none;
	box-shadow: 0 2px 10px rgba(0,0,0,.08);
	transition: transform .2s;
	overflow: hidden;
}
.mai-cat-card:hover { transform: translateY(-3px); }
.mai-cat-card__inner { padding: 22px; text-align: center; }
.mai-cat-card__title { font-size: 1rem; font-weight: 800; color: #1e293b; margin: 0; }

.mai-links-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	margin-top: 20px;
}
.mai-link-btn {
	display: block;
	text-align: center;
	padding: 14px;
	background: #fff;
	border: 1.5px solid #e2e8f0;
	border-radius: 8px;
	font-size: .9rem;
	font-weight: 700;
	color: #1e293b;
	text-decoration: none;
	transition: border-color .2s, color .2s;
}
.mai-link-btn:hover { border-color: #2563eb; color: #2563eb; }

.mai-more-link { color: #2563eb; font-weight: 700; font-size: .9rem; text-decoration: none; }
.mai-more-link:hover { text-decoration: underline; }

.mai-notice {
	background: #eff6ff;
	border-left: 4px solid #2563eb;
	padding: 12px 18px;
	border-radius: 0 6px 6px 0;
	font-size: .9rem;
	color: #475569;
	margin-top: 16px;
	line-height: 1.7;
}

/* FAQ */
.mai-faq { max-width: 720px; margin: 0 auto; }
.mai-faq__item { border-bottom: 1px solid #e2e8f0; }
.mai-faq__q {
	padding: 16px 4px;
	font-size: .95rem;
	font-weight: 700;
	color: #1e293b;
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}
.mai-faq__q::-webkit-details-marker { display: none; }
.mai-faq__q::after { content: '+'; font-size: 1.3rem; color: #2563eb; flex-shrink: 0; }
details[open] .mai-faq__q::after { content: '−'; }
.mai-faq__a { padding: 0 4px 18px 16px; font-size: .9rem; color: #64748b; line-height: 1.85; }


/* =========================================
   レスポンシブ
   ========================================= */
@media (max-width: 768px) {
	.mai-section { padding: 40px 0; }
	.mai-hero { padding: 52px 0 44px; }
	.mai-gap-grid { grid-template-columns: 1fr; }
	.mai-goal-grid { grid-template-columns: 1fr; }
	.mai-rules-grid { grid-template-columns: 1fr; }
	.mai-cat-grid { grid-template-columns: 1fr; }
	.mai-links-grid { grid-template-columns: 1fr; }
	.mai-overview-table td:first-child { width: 90px; font-size: .82rem; }
}


/* =========================================
   投稿・固定ページ 本文タイポグラフィ
   対象: .entry-content（記事・固定ページの本文エリア）
   ライトブルー基調（#4ab8f5 / #c8e8f8）。見出し・リスト・引用・表・リンクを整える。
   ※ LP・会員トップは .entry-content の外で出力されるため影響なし。
   ========================================= */

/* 本文 基本 */
.entry-content {
	font-size: 1rem;
	line-height: 1.9;
	color: #334155;
	word-wrap: break-word;
}
.entry-content > *:first-child { margin-top: 0; }

/* 段落 */
.entry-content p {
	margin: 0 0 1.4em;
	line-height: 1.9;
}

/* 見出し h2：淡い青背景＋左ボーダー */
.entry-content h2 {
	font-size: 1.5rem;
	font-weight: 800;
	color: #1e293b;
	line-height: 1.45;
	margin: 2.4em 0 1em;
	padding: 0.5em 0.8em;
	background: #eaf6fd;
	border-left: 6px solid #4ab8f5;
	border-radius: 0 6px 6px 0;
}

/* 見出し h3：下線アクセント＋四角マーカー */
.entry-content h3 {
	font-size: 1.25rem;
	font-weight: 800;
	color: #1e293b;
	line-height: 1.5;
	margin: 2em 0 0.8em;
	padding-bottom: 0.4em;
	border-bottom: 2px solid #c8e8f8;
}
.entry-content h3::before {
	content: "";
	display: inline-block;
	width: 0.55em;
	height: 0.55em;
	margin-right: 0.5em;
	background: #4ab8f5;
	border-radius: 2px;
	vertical-align: middle;
}

/* 見出し h4：細い左ボーダー */
.entry-content h4 {
	font-size: 1.1rem;
	font-weight: 800;
	color: #1d4ed8;
	line-height: 1.5;
	margin: 1.8em 0 0.6em;
	padding-left: 0.6em;
	border-left: 4px solid #93c5fd;
}

/* リンク */
.entry-content a {
	color: #2563eb;
	text-decoration: underline;
	text-underline-offset: 0.15em;
	text-decoration-thickness: 1px;
	transition: color .2s;
}
.entry-content a:hover { color: #1d4ed8; }

/* リスト 共通 */
.entry-content ul,
.entry-content ol {
	margin: 0 0 1.5em;
	line-height: 1.9;
}
.entry-content li { margin-bottom: 0.5em; }
.entry-content li:last-child { margin-bottom: 0; }
.entry-content li > ul,
.entry-content li > ol { margin: 0.5em 0 0; }

/* 箇条書き（ul）：青い丸マーカー */
.entry-content ul {
	list-style: none;
	padding-left: 1.5em;
}
.entry-content ul > li { position: relative; }
.entry-content ul > li::before {
	content: "";
	position: absolute;
	left: -1.2em;
	top: 0.65em;
	width: 0.5em;
	height: 0.5em;
	background: #4ab8f5;
	border-radius: 50%;
}

/* 番号リスト（ol） */
.entry-content ol {
	list-style: decimal;
	padding-left: 1.6em;
}
.entry-content ol > li::marker {
	color: #2563eb;
	font-weight: 700;
}

/* 引用 */
.entry-content blockquote {
	margin: 1.6em 0;
	padding: 1em 1.4em;
	background: #f4fbfe;
	border-left: 4px solid #4ab8f5;
	border-radius: 0 6px 6px 0;
	color: #475569;
}
.entry-content blockquote p:last-child { margin-bottom: 0; }

/* テーブル */
.entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.6em 0;
	font-size: .95rem;
}
.entry-content th,
.entry-content td {
	padding: 12px 14px;
	border: 1px solid #e2e8f0;
	text-align: left;
	vertical-align: top;
	line-height: 1.7;
}
.entry-content th,
.entry-content thead th {
	background: #eaf6fd;
	color: #1e293b;
	font-weight: 700;
}
.entry-content tbody tr:nth-child(even) td { background: #f8fafc; }

/* 強調・区切り・コード */
.entry-content strong { font-weight: 800; color: #1e293b; }
.entry-content hr {
	border: none;
	border-top: 2px dashed #cbd5e1;
	margin: 2.4em 0;
}
.entry-content code {
	background: #f1f5f9;
	padding: 0.15em 0.4em;
	border-radius: 4px;
	font-size: .9em;
	color: #be123c;
}

/* 機能ページ（ログイン101 / 申請99 / プロフィール117）は本文装飾を無効化 */
.post-101 .entry-content ul > li::before,
.post-99 .entry-content ul > li::before,
.post-117 .entry-content ul > li::before { content: none; }
.post-117 .entry-content li { margin-bottom: 0; }

/* レスポンシブ */
@media (max-width: 768px) {
	.entry-content h2 { font-size: 1.3rem; }
	.entry-content h3 { font-size: 1.15rem; }
	.entry-content table { font-size: .88rem; }
}


/* =========================================
   コース一覧・学習状態（会員トップ / LP）
   ========================================= */

/* 状態グループ見出し */
.mai-course-group-title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 1.05rem;
	font-weight: 800;
	color: #1e293b;
	margin: 28px 0 14px;
	padding-left: 12px;
	border-left: 5px solid #94a3b8;
}
.mai-course-group-title--in_progress { border-left-color: #2563eb; }
.mai-course-group-title--completed   { border-left-color: #16a34a; }
.mai-course-group-title--not_started { border-left-color: #94a3b8; }
.mai-course-group-count {
	font-size: .78rem;
	font-weight: 700;
	color: #fff;
	background: #94a3b8;
	border-radius: 20px;
	padding: 2px 10px;
}
.mai-course-group-title--in_progress .mai-course-group-count { background: #2563eb; }
.mai-course-group-title--completed   .mai-course-group-count { background: #16a34a; }

/* コースカードのグリッド */
.mai-course-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	margin-top: 8px;
}

/* コースカード */
.mai-course-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	box-shadow: 0 2px 10px rgba(0,0,0,.06);
	overflow: hidden;
	transition: transform .2s, box-shadow .2s;
}
.mai-course-card:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0,0,0,.1); }
.mai-course-card[data-status="completed"] { border-color: #bbf7d0; background: #f6fef9; }
.mai-course-card[data-status="in_progress"] { border-color: #bfdbfe; }

.mai-course-card__main {
	display: block;
	padding: 20px 20px 16px;
	text-decoration: none;
	color: inherit;
	flex: 1;
}
.mai-course-card__badge {
	display: inline-block;
	font-size: .72rem;
	font-weight: 700;
	color: #fff;
	background: #94a3b8;
	border-radius: 20px;
	padding: 3px 12px;
	margin-bottom: 10px;
}
.mai-course-card[data-status="in_progress"] .mai-course-card__badge { background: #2563eb; }
.mai-course-card[data-status="completed"]   .mai-course-card__badge { background: #16a34a; }
.mai-course-card__badge--public { background: #0ea5e9; }

.mai-course-card__title {
	display: block;
	font-size: 1.02rem;
	font-weight: 800;
	color: #1e293b;
	line-height: 1.45;
	margin-bottom: 6px;
}
.mai-course-card__desc {
	display: block;
	font-size: .85rem;
	color: #64748b;
	line-height: 1.6;
	margin-bottom: 10px;
}
.mai-course-card__count {
	display: inline-block;
	font-size: .78rem;
	color: #94a3b8;
	font-weight: 700;
}

/* 完了トグルボタン */
.mai-course-complete {
	display: block;
	width: 100%;
	padding: 11px 0;
	font-size: .88rem;
	font-weight: 700;
	color: #2563eb;
	background: #eff6ff;
	border: none;
	border-top: 1px solid #e2e8f0;
	cursor: pointer;
	transition: background .2s, color .2s;
}
.mai-course-complete:hover { background: #dbeafe; }
.mai-course-card[data-status="completed"] .mai-course-complete {
	color: #16a34a;
	background: #f0fdf4;
}
.mai-course-card[data-status="completed"] .mai-course-complete::before { content: "✔ "; }

/* LP用：ボタンなしのリンクカード */
.mai-course-card--link { padding-bottom: 4px; }
.mai-course-card--link .mai-course-card__main { padding-bottom: 18px; }

/* 会員限定ゲート（単一投稿の本文差し替え） */
.mai-gate {
	max-width: 560px;
	margin: 30px auto;
	padding: 32px 24px;
	text-align: center;
	background: #f4fbfe;
	border: 2px dashed #93c5fd;
	border-radius: 12px;
}
.mai-gate__lead {
	font-size: 1.05rem;
	font-weight: 800;
	color: #1e293b;
	margin: 0 0 18px;
}
.mai-gate__btn {
	display: inline-block;
	background: #2563eb;
	color: #fff !important;
	font-size: 1rem;
	font-weight: 700;
	padding: 13px 40px;
	border-radius: 8px;
	text-decoration: none !important;
	transition: opacity .2s;
}
.mai-gate__btn:hover { opacity: .85; }
.mai-gate__sub { font-size: .85rem; color: #64748b; margin: 16px 0 0; }

@media (max-width: 768px) {
	.mai-course-grid { grid-template-columns: 1fr; }
}


/* =========================================================
   ソフト＆フレンドリー リデザイン（2026-06-17）
   角丸・余白・柔らかい影・丸ゴシック見出し・ペールカラー
   ※ 既存スタイルを後置きで上書き
   ========================================================= */

:root {
	--mai-sky:        #4ab8f5;
	--mai-sky-d:      #2f9fe6;
	--mai-sky-50:     #eef8ff;
	--mai-sky-100:    #d9effe;
	--mai-mint:       #54d4b6;
	--mai-mint-50:    #e8fbf4;
	--mai-sun:        #ffce6a;
	--mai-cream:      #fff6e8;
	--mai-coral:      #ff9d8a;
	--mai-ink:        #41506b;
	--mai-ink-strong: #283650;
	--mai-muted:      #8090a8;
	--mai-bg:         #ffffff;
	--mai-bg-soft:    #f3faff;
	--mai-line:       #e7eef7;
	--mai-r:          22px;
	--mai-r-sm:       14px;
	--mai-pill:       999px;
	--mai-sh:         0 14px 34px rgba(74,150,220,.13);
	--mai-sh-sm:      0 6px 18px rgba(74,150,220,.10);
	--mai-head:       'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', 'Quicksand', -apple-system, 'Noto Sans JP', sans-serif;
}

/* 見出しは丸ゴシックで親しみを */
.mai-hero__title,
.mai-section__title,
.mai-cta__title,
.mai-course-card__title,
.mai-course-group-title,
.mai-gap-card__title,
.mai-goal-card__title,
.mai-rule-card__title,
.mai-message__heading,
.mai-table-title,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.archive-header-title,
.entry-title {
	font-family: var(--mai-head);
	letter-spacing: .01em;
}

body, .mai-lp, .mai-members-top {
	-webkit-font-smoothing: antialiased;
	color: var(--mai-ink);
}

/* タグ見出しのアクセント色を統一 */
.mai-section__tag { color: var(--mai-sky-d); }

/* ---- セクション背景：淡い水色 ---- */
.mai-section--alt { background-color: var(--mai-bg-soft); }

/* ---- ボタン類：ふっくらしたピル型 ---- */
.mai-cta__btn,
.mai-gate__btn {
	background: linear-gradient(135deg, var(--mai-sky) 0%, var(--mai-sky-d) 100%);
	border-radius: var(--mai-pill);
	box-shadow: 0 10px 22px rgba(74,184,245,.35);
	padding: 16px 46px;
	border: none;
}
.mai-cta__btn:hover,
.mai-gate__btn:hover { transform: translateY(-2px); opacity: 1; box-shadow: 0 14px 26px rgba(74,184,245,.42); }

/* ---- ヒーロー：やわらかいグラデと丸み ---- */
.mai-hero {
	background: radial-gradient(120% 120% at 50% 0%, #eaf6ff 0%, #f3fbff 45%, #ffffff 100%);
	border-radius: 0 0 36px 36px;
}
.mai-hero__badge {
	background: linear-gradient(135deg, var(--mai-sky) 0%, var(--mai-sky-d) 100%);
	border-radius: var(--mai-pill);
}
.mai-hero__title em { color: var(--mai-sky-d); }
.mai-tag {
	border: none;
	background: #fff;
	color: var(--mai-sky-d);
	box-shadow: var(--mai-sh-sm);
	border-radius: var(--mai-pill);
	font-weight: 700;
}

/* ---- カード共通：大きめ角丸・柔らかい影・浮き上がり ---- */
.mai-gap-card,
.mai-goal-card,
.mai-rule-card,
.mai-cat-card,
.mai-link-btn,
.sango-member-box,
.mai-overview-table,
.ai-level-table {
	border-radius: var(--mai-r) !important;
	box-shadow: var(--mai-sh-sm) !important;
	border: 1px solid var(--mai-line) !important;
}
.mai-goal-card,
.mai-rule-card { transition: transform .2s, box-shadow .2s; }
.mai-goal-card:hover,
.mai-rule-card:hover { transform: translateY(-4px); box-shadow: var(--mai-sh) !important; }
.mai-gap-card--have { background: var(--mai-sky-50); border-color: var(--mai-sky-100) !important; }
.mai-goal-card__icon,
.mai-gap-card__icon { transform: scale(1.05); }

/* アクセント小物の色味 */
.mai-rule-card__num { color: var(--mai-sky-d); }
.mai-message__heading { border-bottom-color: var(--mai-sky-100); }
.mai-level-tables__note,
.mai-notice { background: var(--mai-sky-50); border-left-color: var(--mai-sky); border-radius: 0 var(--mai-r-sm) var(--mai-r-sm) 0; }
.ai-level-table thead { background: var(--mai-sky-d); }

/* ---- リンクボタン（その他のご案内）---- */
.mai-link-btn { border-radius: var(--mai-pill) !important; font-weight: 700; }
.mai-link-btn:hover { border-color: var(--mai-sky); color: var(--mai-sky-d); background: var(--mai-sky-50); }

/* ---- お知らせ等の投稿リスト ---- */
.mai-post-list { border-top: none; }
.mai-post-list__item { border-bottom: 1px dashed var(--mai-line); }
.mai-post-list__link:hover { color: var(--mai-sky-d); }
.mai-post-list__link:hover .mai-post-list__title { color: var(--mai-sky-d); }
.mai-more-link { color: var(--mai-sky-d); }

/* ---- FAQ ---- */
.mai-faq__q::after { color: var(--mai-sky-d); }
.mai-faq__item { border-bottom: 1px dashed var(--mai-line); }

/* ---- 会員数ボックス ---- */
.sango-member-box { background: var(--mai-sky-50); }
.sango-member-box__icon { color: var(--mai-sky); }
.sango-member-box__status { border-color: var(--mai-sky); border-radius: var(--mai-pill); }

/* =========================================================
   コースカード（会員トップ）— リンクカード化
   ========================================================= */
.mai-course-card,
.mai-course-card--link {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 22px 22px 20px;
	background: #fff;
	border: 1px solid var(--mai-line);
	border-radius: var(--mai-r);
	box-shadow: var(--mai-sh-sm);
	text-decoration: none;
	color: inherit;
	transition: transform .2s, box-shadow .2s;
	overflow: hidden;
}
.mai-course-card--link:hover { transform: translateY(-4px); box-shadow: var(--mai-sh); }
.mai-course-card .mai-course-card__main { padding: 0; }

.mai-course-card__badge {
	align-self: flex-start;
	background: var(--mai-sky-100);
	color: var(--mai-sky-d);
	border-radius: var(--mai-pill);
	padding: 4px 14px;
	font-size: .74rem;
	font-weight: 700;
}
.mai-course-card[data-status="in_progress"] .mai-course-card__badge { background: var(--mai-sky); color: #fff; }
.mai-course-card[data-status="completed"]   .mai-course-card__badge { background: var(--mai-mint); color: #fff; }
.mai-course-card[data-status="completed"] { background: var(--mai-mint-50); border-color: #bdeede; }
.mai-course-card__badge--public { background: var(--mai-sky); color: #fff; }

.mai-course-card__title { font-size: 1.06rem; font-weight: 800; color: var(--mai-ink-strong); line-height: 1.5; }
.mai-course-card__desc  { font-size: .85rem; color: var(--mai-muted); line-height: 1.6; }
.mai-course-card__count { margin-top: 4px; font-size: .76rem; font-weight: 700; color: var(--mai-sky-d); }

/* 状態グループ見出し */
.mai-course-group-title { border-left: none; padding-left: 0; gap: 8px; color: var(--mai-ink-strong); }
.mai-course-group-count { background: var(--mai-sky); }
.mai-course-group-title--in_progress .mai-course-group-count { background: var(--mai-sky); }
.mai-course-group-title--completed   .mai-course-group-count { background: var(--mai-mint); }
.mai-course-group-title--not_started .mai-course-group-count { background: #b7c2d4; }

/* =========================================================
   コースページ（アーカイブ）— 完了アクション枠
   ========================================================= */
.mai-course-action {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin: 0 0 28px;
	padding: 20px 24px;
	background: var(--mai-sky-50);
	border: 1px solid var(--mai-sky-100);
	border-radius: var(--mai-r);
}
.mai-course-action.is-done { background: var(--mai-mint-50); border-color: #bdeede; }
.mai-course-action__status { font-weight: 700; color: var(--mai-ink-strong); font-size: .95rem; }
.mai-course-complete {
	flex-shrink: 0;
	border: none;
	cursor: pointer;
	border-radius: var(--mai-pill);
	padding: 12px 30px;
	font-size: .92rem;
	font-weight: 800;
	color: #fff;
	background: linear-gradient(135deg, var(--mai-sky) 0%, var(--mai-sky-d) 100%);
	box-shadow: 0 8px 18px rgba(74,184,245,.32);
	transition: transform .2s, box-shadow .2s, opacity .2s;
}
.mai-course-complete:hover { transform: translateY(-2px); }
.mai-course-complete:disabled { opacity: .6; }
.mai-course-action.is-done .mai-course-complete {
	background: #fff;
	color: var(--mai-mint);
	border: 2px solid var(--mai-mint);
	box-shadow: none;
}

/* =========================================================
   アーカイブ（カテゴリー/タグ/レベル等）の投稿一覧
   アイキャッチ非表示（#3）＋ 枠＋左右パディング（#2）
   ※ メインの投稿一覧 .vk_posts-mainSection 全体に適用
   ========================================================= */

/* アイキャッチ非表示 */
.vk_posts-mainSection .vk_post_imgOuter { display: none !important; }

/* 各記事＝ふんわりカード。画像非表示なので横並び解除し block に。十分な内側余白。 */
.vk_posts-mainSection .vk_post {
	display: block !important;
	box-sizing: border-box;
	width: 100% !important;
	margin: 0 0 16px !important;
	padding: 22px 26px !important;
	background: #fff;
	border: 1px solid var(--mai-line);
	border-radius: var(--mai-r-sm);
	box-shadow: var(--mai-sh-sm);
	transition: transform .2s, box-shadow .2s;
}
.vk_posts-mainSection .vk_post:hover { transform: translateY(-3px); box-shadow: var(--mai-sh); }

/* 本文ブロックは全幅・余白リセット（画像横の余白を引き継がない） */
.vk_posts-mainSection .vk_post_body,
.vk_posts-mainSection .media-body {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	flex: 1 1 100% !important;
}
.vk_posts-mainSection .vk_post_title { margin-top: 0; font-size: 1.05rem; line-height: 1.5; }
.vk_posts-mainSection .vk_post_title a { color: var(--mai-ink-strong); }
.vk_posts-mainSection .vk_post_title a:hover { color: var(--mai-sky-d); }
.vk_posts-mainSection .vk_post_date { color: var(--mai-muted); font-size: .8rem; margin: 6px 0; }
.vk_posts-mainSection .vk_post_excerpt { color: var(--mai-ink); font-size: .9rem; line-height: 1.8; margin-bottom: 12px; }
.vk_posts-mainSection .vk_post_btn {
	border-radius: var(--mai-pill);
	background: linear-gradient(135deg, var(--mai-sky) 0%, var(--mai-sky-d) 100%);
	border: none;
	padding: 8px 22px;
	font-weight: 700;
}
.vk_posts-mainSection .vk_post_btn:hover { opacity: .9; }

.archive-header-title { font-weight: 900; color: var(--mai-ink-strong); }
.archive-header { padding: 0 4px; }

/* =========================================================
   本文タイポグラフィ：丸み・水色アクセントに調整
   ========================================================= */
.entry-content h2 {
	background: var(--mai-sky-50);
	border-left: 6px solid var(--mai-sky);
	border-radius: var(--mai-r-sm);
}
.entry-content h3 { border-bottom-color: var(--mai-sky-100); }
.entry-content h3::before { background: var(--mai-sky); border-radius: 50%; }
.entry-content ul > li::before { background: var(--mai-sky); }
.entry-content blockquote { background: var(--mai-sky-50); border-left-color: var(--mai-sky); border-radius: 0 var(--mai-r-sm) var(--mai-r-sm) 0; }
.entry-content a { color: var(--mai-sky-d); }
.entry-content th, .entry-content thead th { background: var(--mai-sky-50); }

/* 会員限定ゲート */
.mai-gate { background: var(--mai-sky-50); border: 2px dashed var(--mai-sky-100); border-radius: var(--mai-r); }

/* =========================================================
   グローバルヘッダー/ナビを少しやわらかく（Lightning）
   ========================================================= */
.global-nav-area a,
.gMenu a { font-weight: 700; }
.btn, .wp-block-button__link, button[type="submit"], input[type="submit"] {
	border-radius: var(--mai-pill);
}

/* 基盤講座セクションの補助 */
.mai-section__note {
	text-align: center;
	color: var(--mai-muted);
	font-size: .95rem;
	margin: -6px 0 26px;
}
.mai-coming-soon {
	text-align: center;
	color: var(--mai-sky-d);
	font-weight: 700;
	background: var(--mai-sky-50);
	border: 1px dashed var(--mai-sky-100);
	border-radius: var(--mai-r);
	padding: 28px 20px;
}


/* =========================================================
   見栄え強化：ガワの現代化＋奥行き・色（2026-06-17 追補）
   ========================================================= */

/* ページ全体をほんのり色付きに（真っ白を回避） */
body {
	background-color: #eef6fc;
	background-image:
		radial-gradient(40rem 40rem at 110% -10%, rgba(84,212,182,.10), transparent 60%),
		radial-gradient(46rem 46rem at -10% 8%, rgba(74,184,245,.14), transparent 60%);
	background-attachment: fixed;
}

/* ---- ヘッダー：すっきりモダン（見た目のみ調整） ---- */
#site-header {
	background: rgba(255,255,255,.88);
	-webkit-backdrop-filter: saturate(140%) blur(10px);
	backdrop-filter: saturate(140%) blur(10px);
	box-shadow: 0 4px 20px rgba(74,150,220,.10);
	border-bottom: none;
}
#site-header-container { padding-top: 12px; padding-bottom: 12px; }

/* ---- グローバルナビ（PC）：ピル型ホバー ---- */
#global-nav .global-nav-list > .menu-item > a {
	border-radius: var(--mai-pill);
	padding: 8px 16px;
	font-weight: 700;
	color: var(--mai-ink);
	transition: background .2s, color .2s;
}
#global-nav .global-nav-list > .menu-item > a:hover,
#global-nav .global-nav-list > .current-menu-item > a {
	background: var(--mai-sky-50);
	color: var(--mai-sky-d);
}

/* ---- スマホメニュー（VK Mobile Nav）：押せるボタンらしく ----
   背景は background-color のみ指定し、VK のハンバーガーアイコン(background-image)と
   開閉アイコン切替はそのまま残す。白地＋水色ボーダー＋影でボタンと分かるように。 */
.vk-mobile-nav-menu-btn {
	background-color: #ffffff !important;
	color: var(--mai-sky-d) !important;
	border: 2px solid var(--mai-sky) !important;
	border-radius: 14px !important;
	box-shadow: 0 8px 22px rgba(74,184,245,.32) !important;
	font-weight: 800 !important;
}
.vk-mobile-nav-menu-outer {
	background: rgba(255,255,255,.98) !important;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	box-shadow: 0 -8px 30px rgba(40,54,80,.14) !important;
	border-radius: 22px 22px 0 0;
}
.vk-mobile-nav-menu-outer .vk-mobile-nav-menu li a,
.vk-mobile-nav-menu-outer li a {
	border-bottom: 1px solid var(--mai-line) !important;
	font-weight: 700;
	padding: 16px 20px !important;
}
.vk-mobile-nav-menu-outer li a:hover { background: var(--mai-sky-50) !important; color: var(--mai-sky-d) !important; }

/* ---- ヒーロー：装飾シェイプで奥行き ---- */
.mai-hero { position: relative; overflow: hidden; }
.mai-hero::before,
.mai-hero::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	filter: blur(6px);
	opacity: .55;
	z-index: 0;
	pointer-events: none;
}
.mai-hero::before {
	width: 240px; height: 240px;
	background: radial-gradient(circle at 30% 30%, #bfe6ff, #7ccbff);
	top: -70px; right: -50px;
}
.mai-hero::after {
	width: 180px; height: 180px;
	background: radial-gradient(circle at 30% 30%, #c8f5e8, #8fe6cf);
	bottom: -60px; left: -40px;
}
.mai-hero .mai-container { position: relative; z-index: 1; }

/* セクション見出しタグをピル化 */
.mai-section__tag {
	background: var(--mai-sky-50);
	padding: 5px 16px;
	border-radius: var(--mai-pill);
	color: var(--mai-sky-d);
}

/* ---- カードの奥行きを少し強める ---- */
.mai-course-card--link,
.mai-goal-card,
.mai-gap-card,
.mai-rule-card,
.mai-cat-card { box-shadow: 0 10px 26px rgba(74,150,220,.12) !important; }

/* ---- FAQ：カード型アコーディオン ---- */
.mai-faq { display: flex; flex-direction: column; gap: 12px; }
.mai-faq__item {
	background: #fff;
	border: 1px solid var(--mai-line);
	border-radius: var(--mai-r-sm);
	box-shadow: var(--mai-sh-sm);
	overflow: hidden;
	transition: box-shadow .2s;
}
.mai-faq__item[open] { box-shadow: var(--mai-sh); }
.mai-faq__q { padding: 18px 20px; }
.mai-faq__q::after {
	width: 26px; height: 26px;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--mai-sky-50); border-radius: 50%;
	transition: transform .2s;
}
.mai-faq__item[open] .mai-faq__q::after { transform: rotate(45deg); }
.mai-faq__a { padding: 0 20px 20px; }

/* ---- CTA：奥行きのあるグラデ ---- */
.mai-cta {
	background:
		radial-gradient(30rem 30rem at 80% -20%, rgba(84,212,182,.18), transparent 60%),
		linear-gradient(160deg, #e9f5ff 0%, #eafaf4 100%);
	border-radius: 36px 36px 0 0;
}

/* ---- フッターをやわらかく ---- */
.site-footer { box-shadow: 0 -6px 24px rgba(74,150,220,.06); }

/* ---- コースページのカードに少し色味（ホバー） ---- */
.archive .vk_posts .vk_post:hover,
.category .vk_posts .vk_post:hover { border-color: var(--mai-sky-100); }


/* =========================================================
   メリハリ強化 v2（2026-06-17）
   白カードを色背景で“浮かせる”＋鮮やかウェルカム帯
   ========================================================= */

/* 背景：はっきりめの淡彩グラデ（白カードを引き立てる） */
body {
	background:
		radial-gradient(52rem 34rem at 100% -6%, rgba(84,212,182,.22), transparent 58%),
		radial-gradient(58rem 42rem at -12% 2%, rgba(74,184,245,.30), transparent 55%),
		linear-gradient(180deg, #dde9fa 0%, #e8f1fb 55%, #eef4fa 100%) !important;
	background-attachment: fixed !important;
}

/* 会員トップ／LP：各セクションを白カードに（メリハリの主役） */
.mai-members-top .mai-section,
.mai-members-top .mai-section--alt,
.mai-lp .mai-section,
.mai-lp .mai-section--alt { background: transparent; padding: 18px 0; }

.mai-members-top > .mai-section > .mai-container,
.mai-lp > .mai-section > .mai-container {
	background: #ffffff;
	border-radius: 26px;
	box-shadow: 0 20px 44px rgba(38,72,130,.13);
	padding: 40px 44px;
}
@media (max-width: 768px) {
	.mai-members-top > .mai-section > .mai-container,
	.mai-lp > .mai-section > .mai-container { padding: 26px 20px; border-radius: 20px; }
}

/* ウェルカム帯（鮮やかグラデ＝上部の色アンカー） */
.mai-welcome { max-width: 860px; margin: 22px auto 4px; padding: 0; }
.mai-welcome__inner {
	position: relative;
	overflow: hidden;
	border-radius: 26px;
	padding: 36px 40px;
	background: linear-gradient(120deg, #2f9bff 0%, #4ab8f5 44%, #5fd3bf 100%);
	box-shadow: 0 20px 44px rgba(47,155,255,.34);
	color: #fff;
}
.mai-welcome__inner::after {
	content: ""; position: absolute; right: -50px; top: -60px;
	width: 220px; height: 220px; border-radius: 50%;
	background: rgba(255,255,255,.16);
}
.mai-welcome__inner::before {
	content: ""; position: absolute; right: 70px; bottom: -70px;
	width: 150px; height: 150px; border-radius: 50%;
	background: rgba(255,255,255,.12);
}
.mai-welcome__hi { position: relative; font-size: .9rem; font-weight: 700; opacity: .96; margin: 0 0 8px; letter-spacing: .04em; }
.mai-welcome__title { position: relative; font-family: var(--mai-head); font-size: 1.7rem; font-weight: 900; margin: 0 0 8px; line-height: 1.4; }
.mai-welcome__sub { position: relative; font-size: .9rem; opacity: .92; margin: 0; }
@media (max-width: 768px) {
	/* ウェルカムと各セクションの左右余白を 14px に統一 */
	.mai-welcome { padding: 0 14px; }
	.mai-welcome__inner { padding: 24px 18px; }
	.mai-welcome__title { font-size: 1.32rem; }
	.mai-members-top .mai-section,
	.mai-lp .mai-section { padding-left: 14px; padding-right: 14px; }
}

/* セクションタグ：濃い単色ピル（白文字）でくっきり */
.mai-members-top .mai-section__tag,
.mai-lp .mai-section__tag {
	background: linear-gradient(135deg, var(--mai-sky) 0%, var(--mai-sky-d) 100%);
	color: #fff;
	box-shadow: 0 6px 14px rgba(74,184,245,.30);
}
/* セクション見出し：下にグラデのアクセントバー */
.mai-members-top .mai-section__title,
.mai-lp .mai-section__title { position: relative; padding-bottom: 16px; }
.mai-members-top .mai-section__title::after,
.mai-lp .mai-section__title::after {
	content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
	width: 56px; height: 4px; border-radius: 999px;
	background: linear-gradient(90deg, var(--mai-sky), var(--mai-mint));
}
/* 左寄せ見出し（メッセージ等）はバーも左に */
.mai-message__heading { padding-bottom: 16px; }

/* 白カードの中でコースカードを目立たせる（白on白の回避） */
.mai-members-top .mai-course-card--link {
	background: #f6fafe;
	border: 1px solid #e4eef9;
}
.mai-members-top .mai-course-card--link:hover { background: #fff; }

/* グループ見出しに左アクセント（メリハリ） */
.mai-course-group-title {
	background: var(--mai-sky-50);
	border-radius: 999px;
	padding: 8px 18px;
	display: inline-flex;
}
.mai-course-group-title--completed { background: var(--mai-mint-50); }

/* 「準備中」枠を少し主張させる */
.mai-coming-soon { background: linear-gradient(135deg, #eef8ff, #f3fbf8); border-color: var(--mai-sky-100); }


/* =========================================================
   修正（2026-06-17）：投稿一覧ボタンの重なり／単一投稿の白カード
   ========================================================= */

/* #1 コース投稿一覧：アイキャッチ非表示後の「続きを読む」重なりを解消 */
.archive .vk_posts .vk_post,
.category .vk_posts .vk_post {
	display: block !important;   /* media レイアウトの横並びを解除 */
	position: relative;
}
.archive .vk_posts .vk_post_body,
.category .vk_posts .vk_post_body {
	width: 100% !important;
	max-width: 100% !important;
	padding-left: 0 !important;
}
.archive .vk_posts .vk_post_btnOuter,
.category .vk_posts .vk_post_btnOuter {
	position: static !important;
	width: 100% !important;
	margin: 14px 0 0 !important;
	text-align: right !important;
	top: auto !important; right: auto !important; bottom: auto !important; left: auto !important;
	transform: none !important;
}
.archive .vk_posts .vk_post_btn,
.category .vk_posts .vk_post_btn { display: inline-block; }
.archive .vk_posts .vk_post_excerpt,
.category .vk_posts .vk_post_excerpt { margin-top: 8px; }

/* #2 単一投稿：本文ボックスを白カード化（背景＋パディング） */
.single .entry-full {
	background: #ffffff;
	border-radius: 26px;
	box-shadow: 0 20px 44px rgba(38,72,130,.12);
	padding: 42px 46px;
	margin-bottom: 28px;
}
@media (max-width: 768px) {
	.single .entry-full { padding: 26px 18px; border-radius: 18px; }
}


/* =========================================================
   学習状態タブ（会員トップ コース）
   ========================================================= */
.mai-tabs__navwrap { display: flex; justify-content: center; margin-bottom: 26px; }
.mai-tabs__nav {
	display: inline-flex;
	gap: 4px;
	padding: 6px;
	background: #eaf2fb;
	border-radius: 999px;
	box-shadow: inset 0 1px 3px rgba(40,72,130,.06);
	flex-wrap: wrap;
	justify-content: center;
}
.mai-tabs__btn {
	border: none;
	background: transparent;
	cursor: pointer;
	border-radius: 999px;
	padding: 10px 22px;
	font-weight: 800;
	font-size: .92rem;
	color: #6b7a93;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: background .2s, color .2s, box-shadow .2s;
}
.mai-tabs__btn:hover { color: var(--mai-sky-d); }
.mai-tabs__btn.is-active {
	background: #fff;
	color: var(--mai-sky-d);
	box-shadow: 0 6px 16px rgba(74,150,220,.20);
}
.mai-tabs__count {
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: .72rem;
	font-weight: 800;
	background: #d4e6f8;
	color: #3a6ea5;
	border-radius: 999px;
}
.mai-tabs__btn.is-active .mai-tabs__count { background: var(--mai-sky); color: #fff; }
.mai-tabs__panel { display: none; }
.mai-tabs__panel.is-active { display: block; animation: maiTabFade .25s ease; }
@keyframes maiTabFade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.mai-tabs__empty { text-align: center; color: var(--mai-muted); padding: 26px 0; }


/* =========================================================
   コースカタログ：絞り込み／カードのレベル・タグ／ダッシュボード導線
   ========================================================= */

/* カードのバッジ群・レベル・メタ */
.mai-course-card__badges { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.mai-course-card__level {
	font-size: .72rem; font-weight: 800; padding: 4px 12px; border-radius: 999px;
	background: #fff3d6; color: #c98a16;
}
.mai-course-card__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.mai-course-card__tags { font-size: .74rem; color: #94a3b8; font-weight: 700; }

/* サブ見出し（学習中／新着） */
.mai-course-subhead {
	font-family: var(--mai-head);
	font-size: 1.05rem; font-weight: 900; color: var(--mai-ink-strong);
	margin: 8px 0 16px; display: flex; align-items: center; gap: 8px;
}

/* すべてのコースを見るボタン */
.mai-allcourses-btn {
	display: inline-block; text-decoration: none;
	background: linear-gradient(135deg, var(--mai-sky), var(--mai-sky-d));
	color: #fff !important; font-weight: 800; font-size: .98rem;
	padding: 14px 40px; border-radius: 999px;
	box-shadow: 0 12px 26px rgba(74,184,245,.34);
	transition: transform .2s;
}
.mai-allcourses-btn:hover { transform: translateY(-2px); }

/* カタログ：絞り込みUI */
.mai-filter {
	background: #f4f9fe; border: 1px solid var(--mai-line);
	border-radius: 18px; padding: 18px 20px; margin-bottom: 26px;
}
.mai-filter__search {
	width: 100%; box-sizing: border-box; border: 1px solid #d8e6f4; border-radius: 999px;
	padding: 12px 18px; font-size: .95rem; background: #fff; margin-bottom: 14px;
}
.mai-filter__search:focus { outline: none; border-color: var(--mai-sky); }
.mai-filter__row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.mai-filter__label { font-size: .8rem; font-weight: 800; color: var(--mai-muted); min-width: 42px; }
.mai-filter__group { display: flex; gap: 8px; flex-wrap: wrap; }
.mai-chip {
	border: 1px solid #d8e6f4; background: #fff; cursor: pointer;
	border-radius: 999px; padding: 7px 16px; font-size: .84rem; font-weight: 700; color: #5a6b85;
	transition: all .15s;
}
.mai-chip:hover { border-color: var(--mai-sky); color: var(--mai-sky-d); }
.mai-chip.is-active {
	background: linear-gradient(135deg, var(--mai-sky), var(--mai-sky-d));
	color: #fff; border-color: transparent; box-shadow: 0 6px 14px rgba(74,184,245,.30);
}


/* =========================================================
   コースアーカイブ：ステップ番号で「順番」を明示
   ========================================================= */
.mai-course-archive .vk_posts { counter-reset: maistep; }
.mai-course-archive .vk_posts .vk_post {
	counter-increment: maistep;
	border-left: 5px solid var(--mai-sky-100);
}
.mai-course-archive .vk_posts .vk_post_title {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}
.mai-course-archive .vk_posts .vk_post_title::before {
	content: "STEP " counter(maistep);
	flex-shrink: 0;
	background: linear-gradient(135deg, var(--mai-sky), var(--mai-sky-d));
	color: #fff;
	font-size: .7rem;
	font-weight: 800;
	letter-spacing: .06em;
	padding: 7px 14px;
	border-radius: 999px;
	line-height: 1;
	box-shadow: 0 5px 12px rgba(74,184,245,.32);
}
