@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; }
}
