/* ==========================================================================
   Kinpa Konbu — 共通スタイル
   承認済みホームページ画像（深緑・黄色・アイボリーの 3 色）に準拠。
   基本 3 色（経営者指定）: メイン #47845E / アクセント #FFE135 / 背景 #FFF9F0
   それ以外の淡色（カード背景など）は承認画像から採取した値です。
   ========================================================================== */

:root {
	/* 基本 3 色 */
	--k-green: #47845e;
	--k-yellow: #ffe135;
	--k-ivory: #fff9f0;

	/* 派生色（承認画像から採取・調整） */
	--k-green-dark: #3a7050;      /* ナビ帯・押下時 */
	--k-green-ink: #2f6345;       /* 白背景上の緑文字（コントラスト確保） */
	--k-yellow-ink: #e9b600;      /* 「韓国語」など黄色の文字（アイボリー上で読める濃さ） */
	--k-yellow-soft: #fff2a8;     /* ナビの現在地タブ */
	--k-text: #1f2a37;            /* 本文: 濃い紺寄りの墨色 */
	--k-text-muted: #4b5563;
	--k-surface: #fffdf9;         /* パネル */
	--k-line: #efe4d3;
	--k-peach: #fcebd8;
	--k-blue: #e3ebec;
	--k-beige: #f6ecdf;
	--k-mint: #edf3e2;
	--k-tag: #f6e6d0;
	--k-shadow: 0 2px 6px rgba(120, 90, 50, 0.08), 0 8px 24px rgba(120, 90, 50, 0.06);

	/* 外部 Web フォントは使わず端末の日本語フォント（Mac: ヒラギノ丸ゴ / Windows: BIZ UDPゴシック・メイリオ / Android・iOS: 標準） */
	--k-font: "Hiragino Maru Gothic ProN", "ヒラギノ丸ゴ ProN", "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic UI", "Meiryo", "Noto Sans JP", "Noto Sans CJK JP", system-ui, sans-serif;
	--k-radius: 14px;
	--k-radius-lg: 22px;
	--k-container: 1240px;
	--k-gutter: 16px;
	--k-gap: 14px;
	--k-section-space: 28px;
}

@media (min-width: 768px) {
	:root { --k-gutter: 24px; --k-gap: 16px; --k-section-space: 28px; }
}

/* ---- ベース ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--k-font);
	font-weight: 500;
	font-size: 16px;
	line-height: 1.7;
	color: var(--k-text);
	background: var(--k-ivory);
	overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--k-green); outline-offset: 2px; border-radius: 6px; }
button, input, select { font: inherit; }
h1, h2, h3 { font-weight: 800; line-height: 1.35; }

.k-container { width: 100%; max-width: calc(var(--k-container) + var(--k-gutter) * 2); margin-inline: auto; padding-inline: var(--k-gutter); }
.k-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.k-skip-link { position: absolute; left: -9999px; }
.k-skip-link:focus { left: 8px; top: 8px; z-index: 100; padding: 8px 12px; background: #fff; }
.k-main { display: block; padding-bottom: calc(var(--k-section-space) * 1.5); }
.k-main:focus { outline: none; }

.k-svg { width: 1.25em; height: 1.25em; flex: none; vertical-align: middle; }

/* ---- 黄色の矢印丸・チェック丸 ---- */
.k-arrow { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--k-yellow); color: #fff; flex: none; box-shadow: 0 1px 2px rgba(150, 110, 0, 0.25); }
.k-arrow .k-svg { width: 18px; height: 18px; stroke-width: 3; }
.k-chip { display: inline-block; margin-left: 8px; padding: 0 10px; border-radius: 999px; background: var(--k-yellow); color: var(--k-text); font-size: 0.75rem; font-weight: 800; line-height: 1.9; vertical-align: middle; }

/* ==========================================================================
   ヘッダー
   ========================================================================== */
.k-header__inner {
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-areas: "brand toggle" "search search";
	gap: 10px 12px;
	align-items: center;
	padding-block: 10px 12px;
}
.k-header__brand { grid-area: brand; min-width: 0; }
.k-header__search { grid-area: search; }
.k-nav-toggle { grid-area: toggle; }
.k-member-shortcuts { display: none; }

.k-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.k-brand__mark { flex: none; width: 58px; }
.k-brand__mark img { display: block; width: 100%; height: auto; }
.k-brand__text { display: flex; flex-direction: column; min-width: 0; }
.k-brand__name { font-weight: 800; font-size: clamp(1rem, 4.3vw, 2rem); line-height: 1.25; letter-spacing: 0.01em; white-space: nowrap; }
@media (max-width: 374px) { .k-brand__name { white-space: normal; word-break: keep-all; overflow-wrap: anywhere; } }
.k-brand__tagline { font-weight: 800; font-size: clamp(0.6875rem, 2.9vw, 1.125rem); padding-left: 0.6em; }
.k-brand__logo { max-height: 90px; width: auto; }

.k-search { display: flex; align-items: center; border: 2px solid #c9c9c3; border-radius: 999px; background: #fff; box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04); }
.k-search:focus-within { border-color: var(--k-green); }
.k-search__submit { display: flex; align-items: center; justify-content: center; width: 46px; height: 44px; padding: 0 0 0 6px; border: 0; background: transparent; color: var(--k-green); cursor: pointer; }
.k-search__submit .k-svg { width: 24px; height: 24px; stroke-width: 2.6; }
.k-search__input { flex: 1; min-width: 0; height: 44px; border: 0; padding: 0 14px 0 2px; font-size: 1rem; background: transparent; color: var(--k-text); }
.k-search__input::placeholder { color: #555; }
.k-search__input:focus { outline: none; }

.k-nav-toggle { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 52px; height: 52px; border: 0; border-radius: var(--k-radius); background: var(--k-green); color: #fff; cursor: pointer; }
.k-nav-toggle__label { font-size: 0.625rem; font-weight: 700; line-height: 1; margin-top: 2px; }

.k-member-shortcuts { list-style: none; margin: 0; padding: 0; gap: 26px; }
.k-member-shortcuts__link { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 0.875rem; font-weight: 700; text-decoration: none; }
.k-member-shortcuts__link .k-svg { width: 34px; height: 34px; stroke-width: 1.8; color: var(--k-text); }
.k-member-shortcuts__link:hover .k-svg { color: var(--k-green); }

@media (min-width: 1024px) {
	.k-header__inner { grid-template-columns: auto minmax(300px, 1fr) auto; grid-template-areas: "brand search member"; gap: 28px; padding-block: 14px 16px; }
	.k-brand__mark { width: 118px; margin-top: -4px; }
	.k-member-shortcuts { grid-area: member; display: flex; }
	.k-nav-toggle { display: none; }
	.k-header__search { max-width: 420px; justify-self: end; width: 100%; }
}

/* ---- グローバルナビ（緑の帯） ---- */
.k-nav { display: none; }
.k-nav.is-open { display: block; }
.k-nav > .k-container { padding-bottom: 8px; }
.k-nav__list, .k-nav .menu { list-style: none; margin: 0; padding: 8px; background: var(--k-green-dark); border-radius: var(--k-radius-lg); }
.k-nav li { position: relative; display: flex; flex-wrap: wrap; align-items: center; }
.k-nav a { flex: 1; display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 16px; color: #fff; font-weight: 800; font-size: 1.0625rem; text-decoration: none; border-radius: var(--k-radius); }
.k-nav a:hover { background: rgba(255, 255, 255, 0.12); }
.k-nav .current-menu-item > a, .k-nav a[aria-current="page"] { background: var(--k-yellow-soft); color: var(--k-text); box-shadow: 0 3px 0 rgba(0, 0, 0, 0.15); }
.k-nav .k-svg--home { width: 22px; height: 22px; }
.k-nav__sub-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: transparent; color: #fff; cursor: pointer; }
.k-nav__sub-toggle .k-svg { stroke-width: 3; }
.k-nav .sub-menu { display: none; width: 100%; list-style: none; margin: 0; padding: 4px 0 8px 16px; }
.k-nav .is-sub-open > .sub-menu { display: block; }
.k-nav .sub-menu a { min-height: 40px; font-size: 0.9375rem; font-weight: 700; }

@media (min-width: 1024px) {
	.k-nav { display: block; }
	.k-nav > .k-container { max-width: none; padding-inline: 10px; }
	.k-nav__list, .k-nav .menu { display: flex; justify-content: space-between; padding: 4px 8px 4px 70px; border-radius: 999px; }
	.k-nav__list > li { flex: 1; justify-content: center; flex-wrap: nowrap; }
	.k-nav__list > li > a { flex: none; padding: 8px 16px; font-size: 1.1875rem; }
	.k-nav__list > li:first-child > a { padding-inline: 28px; }
	.k-nav__sub-toggle { width: 28px; margin-left: -10px; }
	.k-nav .sub-menu { position: absolute; top: calc(100% + 6px); left: 0; z-index: 20; min-width: 230px; padding: 8px; background: var(--k-surface); border-radius: var(--k-radius); box-shadow: var(--k-shadow); }
	.k-nav .sub-menu a { color: var(--k-text); padding: 8px 12px; }
	.k-nav .sub-menu a:hover { background: var(--k-beige); }
	.k-nav li:hover > .sub-menu, .k-nav li:focus-within > .sub-menu, .k-nav .is-sub-open > .sub-menu { display: block; }
}

/* ==========================================================================
   トップ: メインビジュアル
   ========================================================================== */
.k-hero {
	position: relative;
	overflow: hidden;
	padding-block: 16px 8px;
	background:
		radial-gradient(60% 55% at 10% 105%, #f5e8d4 0 60%, transparent 61%),
		radial-gradient(55% 45% at 75% 108%, #f3e4cd 0 60%, transparent 61%),
		var(--k-ivory);
}
.k-hero__inner { display: grid; gap: 8px; align-items: center; }
.k-hero__title { margin: 8px 0 14px; font-size: clamp(1.75rem, 8vw, 3.25rem); line-height: 1.28; letter-spacing: 0.03em; }
.k-hero__title-line { display: block; white-space: nowrap; }
.k-hero__em { font-style: normal; color: var(--k-yellow-ink); text-shadow: 0 2px 0 #fff3c4; }
.k-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-weight: 800; font-size: clamp(0.9375rem, 3.8vw, 1.25rem); }
.k-checklist li { display: flex; align-items: center; gap: 10px; }
.k-checklist .k-svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--k-yellow-ink); color: #fff; stroke-width: 3.4; }
.k-hero__visual { text-align: center; }
.k-hero__image { width: 100%; max-width: 740px; height: auto; }

@media (min-width: 900px) {
	.k-hero { padding-block: 12px 4px; }
	.k-hero__inner { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: 8px; }
	.k-hero__copy { padding-left: 5%; }
	.k-hero__title { font-size: clamp(2.25rem, 3.6vw, 3.25rem); }
	.k-checklist { font-size: clamp(1rem, 1.45vw, 1.25rem); }
}

/* ==========================================================================
   セクション見出し
   ========================================================================== */
.k-section { margin-top: var(--k-section-space); }
.k-section-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-bottom: 14px; }
.k-section-heading__title { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-size: clamp(1.25rem, 4.6vw, 1.75rem); }
.k-section-heading__lead { margin: 0; font-weight: 700; font-size: clamp(0.875rem, 3.4vw, 1.0625rem); }
.k-section-heading__more { margin-left: auto; display: inline-flex; align-items: center; gap: 2px; font-weight: 700; font-size: 0.9375rem; text-decoration: none; }
.k-section-heading__more .k-svg { width: 18px; height: 18px; stroke-width: 2.6; }

.k-section-heading--pill .k-section-heading__title { padding: 6px 26px 6px 20px; border-radius: 999px; background: var(--k-green); color: #fff; box-shadow: 0 2px 0 rgba(0, 0, 0, 0.08); }
.k-section-heading--pill .k-section-heading__icon { width: 32px; height: 32px; }
.k-section-heading--pill .k-svg--search { stroke-width: 3; }
.k-section-heading__sparkle { width: 40px; height: 40px; margin: -14px -14px 0 0; color: var(--k-yellow-ink); stroke-width: 3.2; flex: none; }
.k-section-heading--bar { margin: -6px -6px 14px; padding: 8px 18px; border-radius: var(--k-radius-lg) var(--k-radius-lg) var(--k-radius) var(--k-radius); background: var(--k-green); }
.k-section-heading--bar .k-section-heading__title { color: #fff; }
.k-section-heading--bar .k-section-heading__icon { width: 36px; height: 36px; color: var(--k-yellow); }
.k-section-heading--plain .k-section-heading__icon { width: 30px; height: 30px; stroke-width: 2.4; }
.k-section-heading--plain { padding-bottom: 6px; border-bottom: 2px solid var(--k-line); }

/* ==========================================================================
   分類カード
   ========================================================================== */
.k-term-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--k-gap); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.k-term-grid__item { min-width: 0; }
.k-term-card {
	position: relative; display: flex; flex-direction: column; align-items: center; height: 100%;
	padding: 12px 10px 36px; text-align: center; text-decoration: none; border-radius: var(--k-radius-lg);
	background: var(--k-beige); box-shadow: var(--k-shadow); transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.k-term-card:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(120, 90, 50, 0.12), 0 12px 28px rgba(120, 90, 50, 0.08); }
.k-term-card__icon { display: flex; align-items: flex-end; justify-content: center; height: 64px; }
.k-term-card__icon img { max-height: 64px; width: auto; }
.k-term-card__name { margin-top: 2px; font-weight: 800; font-size: clamp(1.125rem, 4.6vw, 1.5rem); line-height: 1.3; }
.k-term-card__desc { margin-top: 2px; font-weight: 700; font-size: 0.8125rem; line-height: 1.5; }
.k-term-card .k-arrow { position: absolute; right: 12px; bottom: 10px; }
/* 公開中の教材が無い分類（準備中）: リンクにせず、少し薄く表示 */
.k-term-card.is-empty { opacity: 0.62; cursor: default; }
.k-term-card.is-empty:hover { transform: none; box-shadow: var(--k-shadow); }
.k-term-card.is-empty .k-chip { margin-left: 6px; font-size: 0.6875rem; }

/* 対象: 桃・青灰・ベージュの繰り返し（承認画像の配色順） */
.k-term-grid--audience .k-term-grid__item:nth-child(3n+1) .k-term-card { background: var(--k-peach); }
.k-term-grid--audience .k-term-grid__item:nth-child(3n+2) .k-term-card { background: var(--k-blue); }
.k-term-grid--audience .k-term-grid__item:nth-child(3n) .k-term-card { background: var(--k-beige); }
.k-term-grid--audience .k-term-card { padding-top: 14px; min-height: 168px; }

/* 学習内容: 1 枚目桃・4 枚目若草、他ベージュ */
.k-term-grid--subjects .k-term-card { padding: 8px 8px 30px; flex-direction: column; }
.k-term-grid--subjects .k-term-card__icon { height: 50px; }
.k-term-grid--subjects .k-term-card__icon img { max-height: 50px; }
.k-term-grid--subjects .k-term-card__name { font-size: clamp(1rem, 4.2vw, 1.3125rem); }
.k-term-grid--subjects .k-term-grid__item:nth-child(1) .k-term-card { background: var(--k-peach); }
.k-term-grid--subjects .k-term-grid__item:nth-child(4) .k-term-card { background: var(--k-mint); }
.k-term-grid--subjects .k-arrow { bottom: 8px; right: 8px; width: 24px; height: 24px; }

/* 資格・試験 */
.k-term-grid--exams .k-term-card { padding: 12px 10px 34px; background: var(--k-beige); }
.k-term-grid--exams .k-term-card__icon { height: 66px; }
.k-term-grid--exams .k-term-card__icon img { max-height: 66px; }
.k-term-grid--exams .k-term-card__name { font-size: clamp(1.125rem, 4.6vw, 1.625rem); }
.k-term-grid--exams .k-term-card__desc { font-size: 0.9375rem; }

@media (min-width: 768px) {
	.k-term-grid--audience { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.k-term-grid--subjects { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	.k-term-grid--audience { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.k-term-grid--audience .k-term-card__desc { font-size: 0.875rem; }
}

/* ==========================================================================
   パネル（中段・下段の 2 列）
   ========================================================================== */
.k-panel { display: block; padding: 16px; border-radius: var(--k-radius-lg); background: var(--k-surface); box-shadow: var(--k-shadow); text-decoration: none; }
.k-home-grid { display: grid; gap: var(--k-section-space) 22px; margin-top: var(--k-section-space); align-items: start; }
.k-home-grid__side { display: grid; gap: 18px; }
@media (min-width: 1024px) {
	.k-home-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.k-home-grid--middle .k-panel--subjects { padding: 18px 16px 16px; }
	.k-home-grid--bottom { align-items: stretch; }
}
.k-panel--subjects .k-section-heading { margin-bottom: 12px; }

/* マイページ */
.k-member__head { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 14px; padding-bottom: 12px; }
.k-member__icon { width: 46px; height: 46px; stroke-width: 1.8; }
.k-member__title { margin: 0; font-size: clamp(1.25rem, 4.8vw, 1.75rem); }
.k-member__title small { font-size: 0.6em; font-weight: 800; }
.k-member__lead { margin: 2px 0 0; font-weight: 700; font-size: 0.9375rem; }
.k-member__image img { display: block; width: 120px; height: auto; }
.k-member__features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.k-member__feature, .k-member__feature a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; text-decoration: none; }
.k-member__feature { min-height: 96px; padding: 10px 6px; border-radius: var(--k-radius); background: var(--k-beige); font-weight: 700; font-size: 0.9375rem; line-height: 1.4; }
.k-member__feature .k-svg { width: 32px; height: 32px; color: var(--k-text); }
.k-member__feature .k-svg--heart, .k-member__feature .k-svg--chart { color: var(--k-green); }
.k-member__note { margin: 12px 0 0; padding: 8px 12px; border-radius: var(--k-radius); background: #fffbe0; font-size: 0.875rem; font-weight: 700; }
.k-panel--member.is-coming-soon .k-member__feature { opacity: 0.92; cursor: default; }
@media (min-width: 600px) {
	.k-member__features { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
	.k-member__head { grid-template-columns: auto 1fr; padding-right: 76px; }
	.k-member__icon { width: 36px; height: 36px; }
	.k-member__image { position: absolute; top: -4px; right: -6px; }
	.k-member__image img { width: 80px; }
	.k-member__title { font-size: 1.25rem; }
	.k-member__title small { display: block; font-size: 0.7em; }
	.k-term-grid--exams .k-term-card__name { font-size: 1.0625rem; }
	.k-panel--guide { gap: 10px; padding: 14px; }
	.k-guide__image img { width: 64px; }
}

/* 学習ガイド */
.k-panel--guide { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 16px 20px; }
.k-guide__icon { width: 44px; height: 44px; stroke-width: 1.8; }
.k-guide__text { display: flex; flex-direction: column; }
.k-guide__title { font-weight: 800; font-size: clamp(1.25rem, 4.8vw, 1.75rem); line-height: 1.3; }
.k-guide__lead { font-weight: 700; font-size: 0.9375rem; }
.k-guide__image img { display: block; width: 86px; height: auto; }
a.k-panel--guide:hover { box-shadow: 0 4px 10px rgba(120, 90, 50, 0.12), 0 12px 28px rgba(120, 90, 50, 0.08); }

/* 新着プリント */
.k-panel--latest { padding-top: 12px; }
.k-rows { list-style: none; margin: 0; padding: 0; }
.k-row { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "icon body dl" "icon date dl"; gap: 0 12px; align-items: center; padding: 10px 4px; border-bottom: 1px solid var(--k-line); }
.k-row:last-child { border-bottom: 0; }
.k-row__icon { grid-area: icon; display: flex; align-items: center; justify-content: center; width: 44px; height: 40px; border-radius: 6px; background: var(--k-green); color: #fff; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.04em; box-shadow: 3px -3px 0 #fff, 3px -3px 0 1px var(--k-line); }
.k-row__body { grid-area: body; min-width: 0; }
.k-row__title { font-weight: 800; font-size: 1rem; text-decoration: none; }
.k-row__title:hover { color: var(--k-green-ink); text-decoration: underline; }
.k-row__date { grid-area: date; font-weight: 700; font-size: 0.875rem; }
.k-row__download { grid-area: dl; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--k-green); border-radius: 50%; }
.k-row__download:hover { background: var(--k-mint); }
.k-row__download .k-svg { width: 30px; height: 30px; stroke-width: 2.4; }
@media (min-width: 768px) {
	.k-row { grid-template-columns: auto 1fr auto auto; grid-template-areas: "icon body date dl"; gap: 0 16px; }
	.k-row__date { font-size: 1rem; }
}

/* 注目の資格・試験対策 */
.k-panel--exams { padding: 6px 6px 14px; }
.k-panel--exams .k-term-grid { padding-inline: 8px; }

/* ==========================================================================
   ラベル・ボタン
   ========================================================================== */
.k-badges { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.k-badge { padding: 0 12px; font-size: 0.75rem; font-weight: 700; line-height: 1.8; border-radius: 999px; background: var(--k-tag); }

.k-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 22px; border-radius: 999px; font-weight: 800; text-decoration: none; cursor: pointer; border: 2px solid var(--k-green); }
.k-button .k-svg { width: 22px; height: 22px; stroke-width: 2.6; }
.k-button--primary { background: var(--k-green); color: #fff; box-shadow: 0 3px 0 var(--k-green-dark); }
.k-button--primary:hover { background: var(--k-green-dark); }
.k-button--secondary { background: #fff; color: var(--k-green-ink); }
.k-button--secondary:hover { background: var(--k-mint); }
.k-button--ghost { background: transparent; border-color: transparent; color: var(--k-green-ink); text-decoration: underline; }
.k-button__meta { font-weight: 700; font-size: 0.8125rem; opacity: 0.9; }
.k-actions { display: grid; gap: 10px; }
.k-actions--compact { padding: 0 12px 12px; }
.k-actions--compact .k-button { width: 100%; min-height: 44px; padding: 6px 12px; font-size: 0.875rem; }
/* 日本語の語の途中で折り返さない（折り返し位置は <wbr> の「無料／ダウンロード」の間だけ） */
.k-button__label { word-break: keep-all; overflow-wrap: normal; }
@media (max-width: 599px) {
	.k-actions--compact .k-button { gap: 4px; padding: 6px 8px; font-size: 0.8125rem; line-height: 1.35; }
	.k-actions--compact .k-button .k-svg { width: 18px; height: 18px; flex: none; }
}
.k-note { font-size: 0.8125rem; font-weight: 700; color: var(--k-text-muted); }

/* ==========================================================================
   教材一覧
   ========================================================================== */
.k-page-header { margin-block: 14px 20px; }
.k-page-header__title { display: inline-block; margin: 0; padding: 4px 24px; border-radius: 999px; background: var(--k-green); color: #fff; font-size: clamp(1.375rem, 5vw, 1.875rem); }
.k-page-header__desc { margin-top: 8px; font-weight: 700; }
.k-page-header__count { margin: 8px 0 0; font-weight: 700; color: var(--k-text-muted); }

.k-filter { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 24px; padding: 16px; border-radius: var(--k-radius-lg); background: var(--k-surface); box-shadow: var(--k-shadow); }
.k-filter__field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.k-filter__label { font-size: 0.8125rem; font-weight: 800; color: var(--k-green-ink); }
.k-filter__select { width: 100%; min-height: 44px; padding: 8px 10px; border: 2px solid var(--k-line); border-radius: var(--k-radius); background: #fff; color: var(--k-text); }
.k-filter__actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; align-items: end; }
@media (min-width: 1024px) {
	.k-filter { grid-template-columns: repeat(5, minmax(0, 1fr)) auto; }
	.k-filter__actions { grid-column: auto; }
}

.k-card-grid { display: grid; gap: var(--k-gap); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .k-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .k-card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.k-card { display: flex; flex-direction: column; border-radius: var(--k-radius-lg); overflow: hidden; background: var(--k-surface); box-shadow: var(--k-shadow); }
.k-card__link { flex: 1; display: block; text-decoration: none; }
.k-card__media { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1.414; margin: 10px 10px 0; border-radius: var(--k-radius); background: var(--k-beige); overflow: hidden; }
.k-card__media img { width: 100%; height: 100%; object-fit: contain; }
.k-card__placeholder { display: flex; align-items: center; justify-content: center; width: 64px; height: 56px; border-radius: 8px; background: var(--k-green); color: #fff; font-weight: 800; }
.k-card__body { padding: 10px 12px 12px; }
.k-card__title { margin: 0; font-size: 0.9375rem; line-height: 1.5; }

.k-empty { padding: 32px 16px; text-align: center; border-radius: var(--k-radius-lg); background: var(--k-surface); box-shadow: var(--k-shadow); font-weight: 700; }

.k-pagination { margin-top: 32px; }
.k-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.k-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; border-radius: 999px; background: var(--k-surface); box-shadow: var(--k-shadow); font-weight: 800; text-decoration: none; }
.k-pagination .current { background: var(--k-green); color: #fff; }

.k-breadcrumb { margin-top: 14px; font-size: 0.8125rem; font-weight: 700; }
.k-breadcrumb__list { list-style: none; display: flex; flex-wrap: wrap; margin: 0; padding: 0; }
.k-breadcrumb a { color: var(--k-green-ink); }
.k-breadcrumb__item + .k-breadcrumb__item::before { content: "›"; margin: 0 6px; color: var(--k-text-muted); }

/* ==========================================================================
   教材詳細
   ========================================================================== */
.k-worksheet__header { margin-block: 14px 20px; }
.k-worksheet__title { margin: 0 0 8px; font-size: clamp(1.375rem, 5vw, 2rem); }
.k-worksheet__layout { display: grid; gap: 24px; }
@media (min-width: 1024px) {
	.k-worksheet__layout { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: start; }
	.k-worksheet__side { position: sticky; top: 16px; }
}
.k-worksheet__side { padding: 18px; border-radius: var(--k-radius-lg); background: var(--k-surface); box-shadow: var(--k-shadow); }
/* スマホ・タブレット（1 列）: ダウンロードボタンを教材名のすぐ下に出し、A4 プレビューの下に埋もれないようにする。
   ボタンは 1 組だけ（複製しない）で、表示順だけを変える。 */
@media (max-width: 1023px) {
	.k-worksheet__layout { display: flex; flex-direction: column; gap: 16px; }
	.k-worksheet__side { display: contents; }
	.k-worksheet__side > .k-actions { order: 1; padding: 14px; border-radius: var(--k-radius-lg); background: var(--k-surface); box-shadow: var(--k-shadow); }
	.k-worksheet__side > .k-note { order: 2; margin: -6px 0 0; }
	.k-worksheet__preview { order: 3; }
	.k-worksheet__meta { order: 4; padding: 18px; border-radius: var(--k-radius-lg); background: var(--k-surface); box-shadow: var(--k-shadow); }
	.k-worksheet__meta > :first-child { margin-top: 0; }
	.k-worksheet__meta > :last-child { margin-bottom: 0; }
}
@media (min-width: 600px) and (max-width: 1023px) {
	.k-worksheet__side > .k-actions { grid-template-columns: 1fr 1fr; }
	.k-worksheet__side > .k-actions > .k-button--primary { grid-column: 1 / -1; }
}
.k-preview { margin: 0; }
.k-preview__frame { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1.414; border-radius: var(--k-radius-lg); background: var(--k-surface); box-shadow: var(--k-shadow); overflow: hidden; }
.k-preview__frame img { width: 100%; height: 100%; object-fit: contain; }
.k-preview__frame iframe { width: 100%; height: 100%; border: 0; }
.k-preview__empty { display: flex; flex-direction: column; align-items: center; gap: 10px; font-weight: 700; color: var(--k-text-muted); }
.k-preview__caption { margin-top: 8px; text-align: center; }

.k-info { margin: 16px 0; }
.k-info__row { display: grid; grid-template-columns: 7em 1fr; gap: 8px; padding: 8px 0; border-bottom: 1px dashed var(--k-line); }
.k-info dt { font-weight: 800; color: var(--k-green-ink); }
.k-info dd { margin: 0; font-weight: 700; }
.k-worksheet__goal h2, .k-worksheet__series h2, .k-worksheet__related h2 { font-size: 1.1875rem; }
.k-worksheet__content, .k-worksheet__series, .k-worksheet__related { margin-top: var(--k-section-space); }
.k-series { margin: 0; padding-left: 1.5em; font-weight: 700; }
.k-prose > * + * { margin-top: 1em; }

/* お知らせ */
.k-post-list { list-style: none; margin: 0; padding: 0; }
.k-post-list__item { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--k-line); font-weight: 700; }

/* フッター（承認画像に無いため最小構成） */
.k-footer { padding-block: 24px; background: var(--k-green); color: #fff; font-size: 0.875rem; font-weight: 700; }
.k-footer a { color: #fff; }
.k-footer__list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 12px; padding: 0; }
.k-footer__copy { margin: 0; }

/* ==========================================================================
   みんなの作品ひろば（0.3.0）: 家族向けに柔らかく。色・角丸・影は既存トークンを使う
   ========================================================================== */
.k-gallery { padding-bottom: 32px; }
.k-gallery__intro { max-width: 46em; margin-top: 12px; font-weight: 700; }
.k-gallery__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.k-empty--soft { background: var(--k-peach); box-shadow: none; }

.k-badge--season { background: var(--k-mint); color: var(--k-green-ink); }
.k-badge--state { background: var(--k-tag); }
.k-badge--recruiting { background: var(--k-yellow); color: var(--k-text); }
.k-badge--showing, .k-badge--always { background: var(--k-green); color: #fff; }
.k-badge--upcoming { background: var(--k-blue); }
.k-badge--ended { background: #ececec; color: var(--k-text-muted); }

.k-event-feature { display: grid; gap: 16px; padding: 16px; border-radius: var(--k-radius-lg); background: var(--k-surface); box-shadow: var(--k-shadow); border-top: 6px solid var(--k-yellow); }
.k-event-feature__media img, .k-event__media img { display: block; width: 100%; height: auto; max-height: 320px; object-fit: contain; border-radius: var(--k-radius); background: var(--k-beige); }
.k-event-feature__title { margin: 8px 0 6px; font-size: clamp(1.25rem, 4.6vw, 1.625rem); }
.k-event-feature__title a { text-decoration: none; }
.k-event-feature__title a:hover { color: var(--k-green-ink); text-decoration: underline; }
.k-event-feature__lead { margin: 0 0 8px; font-weight: 700; }
.k-event-feature .k-button { margin-top: 6px; }
.k-event-feature .k-button .k-svg { width: 18px; height: 18px; }
@media (min-width: 768px) {
	.k-event-feature:has(.k-event-feature__media) { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: center; padding: 20px; }
}
.k-event-dates { display: grid; gap: 4px; margin: 8px 0; }
.k-event-dates > div { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.k-event-dates dt { font-weight: 800; color: var(--k-green-ink); }
.k-event-dates dt::after { content: "："; }
.k-event-dates dd { margin: 0; font-weight: 700; }

.k-event__header { margin-block: 14px 16px; }
.k-event__title { margin: 8px 0; font-size: clamp(1.375rem, 5vw, 2rem); }
.k-event__intro { display: grid; gap: 16px; padding: 16px; border-radius: var(--k-radius-lg); background: var(--k-surface); box-shadow: var(--k-shadow); }
@media (min-width: 768px) {
	.k-event__intro:has(.k-event__media) { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: start; }
}

/* 作品ギャラリー: スマホ 2 列 → タブレット 3 列 → PC 4 列 */
.k-artworks { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--k-gap); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .k-artworks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .k-artworks { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.k-artwork { display: flex; flex-direction: column; min-width: 0; padding: 10px; border-radius: var(--k-radius-lg); background: #fff; box-shadow: var(--k-shadow); }
.k-artwork:nth-child(4n+1) { background: #fffdf6; }
.k-artwork__figure { margin: 0; flex: 1; }
.k-artwork__media { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; border-radius: var(--k-radius); background: var(--k-beige); overflow: hidden; }
.k-artwork__img { display: block; width: 100%; height: 100%; object-fit: contain; }
.k-artwork__caption { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 8px 2px 0; }
.k-artwork__title { font-weight: 800; font-size: 0.9375rem; line-height: 1.45; }
.k-artwork__pen { font-weight: 700; font-size: 0.8125rem; color: var(--k-text-muted); }
.k-artwork__kind { margin-top: 4px; }
.k-artwork__ws { display: flex; align-items: flex-start; gap: 4px; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--k-line); font-size: 0.75rem; font-weight: 700; color: var(--k-green-ink); }
.k-artwork__ws .k-svg { flex: none; width: 16px; height: 16px; margin-top: 2px; }

.k-gallery-rules { display: grid; gap: var(--k-gap); }
@media (min-width: 1024px) { .k-gallery-rules { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: start; } }
.k-gallery-rules__title { margin: 0 0 8px; font-size: 1.125rem; color: var(--k-green-ink); }
.k-steps { margin: 0; padding-left: 1.4em; font-weight: 700; }
.k-steps li + li { margin-top: 6px; }
.k-gallery-rules .k-checklist { list-style: none; margin: 0; padding: 0; display: block; font-weight: 700; font-size: inherit; }
.k-gallery-rules .k-checklist li { display: flex; align-items: flex-start; gap: 8px; }
.k-gallery-rules .k-checklist li + li { margin-top: 6px; }
.k-gallery-rules .k-checklist .k-svg { flex: none; width: 20px; height: 20px; margin-top: 4px; padding: 2px; border-radius: 50%; background: var(--k-yellow); color: inherit; stroke-width: 3; }
.k-gallery-rules__takedown { margin: 12px 0 0; padding: 10px 12px; border-radius: var(--k-radius); background: var(--k-ivory); font-size: 0.9375rem; font-weight: 700; }

.k-event-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 768px) { .k-event-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.k-event-list__link { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; min-height: 52px; padding: 10px 16px; border-radius: var(--k-radius); background: var(--k-surface); box-shadow: var(--k-shadow); font-weight: 800; text-decoration: none; }
.k-event-list__link:hover { background: var(--k-mint); }
.k-event-list__meta { display: inline-flex; gap: 6px; }

/* ==========================================================================
   共通「戻る」ボタン（トップページ以外）
   ========================================================================== */
.k-backbar { padding-top: 12px; }
.k-back {
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 18px 6px 8px;
	border: 2px solid var(--k-green); border-radius: 999px; background: #fff; color: var(--k-green-ink);
	font-weight: 800; font-size: 0.9375rem; text-decoration: none; box-shadow: 0 2px 0 rgba(58, 112, 80, 0.18);
}
.k-back:hover { background: var(--k-mint); }
.k-back:active { transform: translateY(1px); box-shadow: none; }
.k-back__icon { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--k-yellow); color: var(--k-text); }
.k-back__icon .k-svg { width: 18px; height: 18px; stroke-width: 3; }
.k-backbar + .k-container .k-breadcrumb, .k-backbar + .k-archive .k-breadcrumb, .k-backbar + .k-worksheet .k-breadcrumb { margin-top: 8px; }

@media print {
	.k-header, .k-footer, .k-filter, .k-actions, .k-backbar { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
	* { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* 0.3.5: はじめての方へ（会員機能の公開前にマイページの代わりに表示） */
.k-panel--howto { padding: 16px 20px; }
.k-howto__title { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: clamp(1.25rem, 4.8vw, 1.5rem); }
.k-howto__title .k-svg { width: 32px; height: 32px; color: var(--k-green); }
.k-howto__steps { margin: 0; padding-left: 1.4em; display: grid; gap: 6px; }
.k-howto__steps strong { display: block; }
.k-howto__steps span { font-size: 0.9375rem; }
.k-howto__links { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.k-howto__note { margin: 10px 0 0; padding: 8px 12px; border-radius: var(--k-radius); background: #fffbe0; font-size: 0.875rem; font-weight: 700; }

/* 0.3.5: 対象カードの下の学年リンク（小学生 → 1〜6年生） */
.k-term-children { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 14px 0 0; padding: 10px 14px; border-radius: var(--k-radius); background: var(--k-surface); box-shadow: var(--k-shadow); }
.k-term-children__label { font-weight: 800; }
.k-term-children__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.k-term-children a { display: inline-block; min-width: 44px; min-height: 36px; padding: 6px 10px; border-radius: 999px; background: #fff; border: 2px solid var(--k-green); color: var(--k-text); font-weight: 800; font-size: 0.875rem; line-height: 1.4; text-align: center; text-decoration: none; }
.k-term-children a:hover, .k-term-children a:focus-visible { background: var(--k-green); color: #fff; }

/* 0.3.5: 年齢・学年ページの入口 */
.k-grade-nav { margin: 0 0 12px; }
.k-grade-nav__title, .k-start-path__title { margin: 0 0 8px; font-size: 1.25rem; }
.k-start-path__title small { font-size: 0.75em; font-weight: 700; color: var(--k-text-muted); }
.k-grade-nav__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.k-grade-nav__link { display: flex; flex-direction: column; height: 100%; padding: 10px 12px; border-radius: var(--k-radius); background: #fff; border: 2px solid var(--k-green); color: var(--k-text); text-decoration: none; }
.k-grade-nav__link:hover, .k-grade-nav__link:focus-visible { background: #f1f7f2; }
.k-grade-nav__name { font-weight: 800; font-size: 1.0625rem; }
.k-grade-nav__desc { font-size: 0.8125rem; line-height: 1.5; }
.k-grade-note { margin: 0 0 12px; padding: 10px 14px; border-radius: var(--k-radius); background: #fffbe0; font-size: 0.9375rem; }
.k-start-path { margin: 0 0 16px; padding: 14px 16px; border-radius: var(--k-radius); background: #fff; border: 2px dashed var(--k-green); }
.k-start-path__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.k-start-path__item { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.k-start-path__step { flex: 0 0 auto; padding: 0 10px; border-radius: 999px; background: var(--k-yellow); font-weight: 800; font-size: 0.8125rem; line-height: 1.9; }
.k-start-path__item a { font-weight: 700; overflow-wrap: anywhere; }
@media (min-width: 768px) {
	.k-grade-nav__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* 0.3.6（2026-11-10 修正版）: ヘッダー右の学習ガイド（スマホはメニューの中にあるため非表示） */
.k-header__guide { display: none; }
@media (min-width: 1024px) {
	.k-header__guide { grid-area: member; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 1.0625rem; text-decoration: none; color: var(--k-text); white-space: nowrap; }
	.k-header__guide .k-svg { width: 30px; height: 30px; color: var(--k-green); stroke-width: 1.8; }
	.k-header__guide:hover { color: var(--k-green-ink); }
	.k-member-shortcuts + .k-header__guide { display: none; }
}

/* 0.3.6（2026-11-10 修正版）: トップの構成 — 対象 5 枚・学習内容 5 枚＋学習ガイド・新着は全幅 */
@media (min-width: 1024px) {
	.k-term-grid--audience { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.k-home-grid--middle { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
	.k-home-grid--middle .k-term-grid--subjects { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
	.k-home-grid--middle .k-term-grid--subjects .k-term-card__desc { font-size: 0.75rem; }
	.k-home-grid--single { grid-template-columns: minmax(0, 1fr); }
}
.k-panel--guide { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px; padding: 16px; }
.k-panel--guide .k-section-heading { margin-bottom: 10px; }
.k-guide__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.k-guide__links a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 12px; border-radius: var(--k-radius); background: #fff; border: 1px solid var(--k-line); font-weight: 800; text-decoration: none; color: var(--k-text); }
.k-guide__links a:hover, .k-guide__links a:focus-visible { border-color: var(--k-green); }
.k-guide__links .k-svg { width: 24px; height: 24px; flex: none; color: var(--k-green); }
.k-guide__links span { flex: 1; }
.k-guide__links .k-guide__next { width: 18px; height: 18px; color: var(--k-text-muted); }
.k-panel--guide .k-guide__image img { width: 96px; }
@media (max-width: 599px) { .k-panel--guide .k-guide__image { display: none; } .k-panel--guide { grid-template-columns: minmax(0, 1fr); } }

/* 0.3.6（2026-11-10 修正版）: 小学生の入口ページ */
.k-landing__header { text-align: center; margin: 10px 0 8px; }
.k-landing__title { display: inline-flex; align-items: center; gap: 12px; margin: 0; font-size: clamp(1.5rem, 6vw, 2.5rem); line-height: 1.25; }
.k-landing__title small { font-size: 0.6em; }
.k-landing__icon img { display: block; width: clamp(48px, 12vw, 76px); height: auto; }
.k-landing__grades { max-width: 760px; margin: 0 auto 26px; text-align: center; }
.k-landing__pill { display: inline-block; margin: 0 0 16px; padding: 6px 32px; border-radius: 999px; background: var(--k-green); color: #fff; font-size: clamp(1.0625rem, 4.5vw, 1.5rem); }
.k-landing__grade-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.k-landing__grade { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 72px; padding: 10px 14px; border-radius: var(--k-radius); background: #fff6d6; border: 2px solid #f0dc9a; color: var(--k-text); font-weight: 800; font-size: clamp(1.125rem, 5vw, 1.875rem); text-decoration: none; box-shadow: var(--k-shadow); }
.k-landing__grade:hover, .k-landing__grade:focus-visible { border-color: var(--k-green); }
.k-landing__grade .k-svg { flex: none; width: 30px; height: 30px; padding: 5px; border-radius: 50%; background: var(--k-green); color: #fff; stroke-width: 3; }
.k-landing__note { display: flex; justify-content: center; align-items: center; gap: 6px; margin: 14px 0 0; font-weight: 700; }
.k-landing__note .k-svg { width: 22px; height: 22px; color: var(--k-yellow-ink); }
.k-landing__first { max-width: 760px; margin: 0 auto 28px; padding: 14px; border-radius: var(--k-radius-lg); background: var(--k-surface); box-shadow: var(--k-shadow); }
.k-landing__first-title { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; padding: 6px 14px; border-radius: 999px; background: #eef4ef; font-size: clamp(1.25rem, 5vw, 1.75rem); }
.k-landing__first-title .k-svg { width: 32px; height: 32px; stroke-width: 1.4; }
.k-landing__cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.k-landing__card { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 12px; border-radius: var(--k-radius); background: #fff; border: 2px solid var(--k-line); color: var(--k-text); text-decoration: none; }
.k-landing__card:hover, .k-landing__card:focus-visible { border-color: var(--k-green); }
.k-landing__card-title { font-weight: 800; border-bottom: 4px solid #fff0a8; padding-bottom: 6px; }
.k-landing__card-art { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; min-height: 64px; }
.k-landing__tile { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border: 2px solid #c9dccf; border-radius: 8px; font-size: 1.75rem; font-weight: 700; }
.k-landing__bubble { padding: 6px 12px; border: 2px solid var(--k-text); border-radius: 18px; background: #fff; font-weight: 700; }
.k-landing__card-ws { font-size: 0.8125rem; color: var(--k-text-muted); }
.k-page-header--list { margin-top: 8px; }
@media (max-width: 479px) { .k-landing__cards { grid-template-columns: minmax(0, 1fr); } }

/* 0.3.6 修正（2026-11-10 完成イメージとの照合） */
@media (min-width: 1024px) {
	/* ナビの帯はページの幅（ロゴ〜学習ガイド）にそろえる。広い画面で項目が間延びしない */
	.k-nav > .k-container { max-width: calc(var(--k-container) + var(--k-gutter) * 2); padding-inline: var(--k-gutter); }
	.k-nav__list, .k-nav .menu { padding: 4px 8px; }
}
/* 対象カードの色（完成イメージ: 幼児 桃・小学生 若草・中学生 ベージュ・高校生 桃・大人 青灰） */
.k-term-grid--audience .k-term-grid__item .k-term-card.k-term--toddler { background: var(--k-peach); }
.k-term-grid--audience .k-term-grid__item .k-term-card.k-term--elementary { background: var(--k-mint); }
.k-term-grid--audience .k-term-grid__item .k-term-card.k-term--junior-high { background: var(--k-beige); }
.k-term-grid--audience .k-term-grid__item .k-term-card.k-term--high-school { background: var(--k-peach); }
.k-term-grid--audience .k-term-grid__item .k-term-card.k-term--adult { background: var(--k-blue); }
.k-term-grid--audience .k-term--elementary .k-arrow, .k-term-grid--audience .k-term--high-school .k-arrow,
.k-term-grid--subjects .k-term--vocabulary .k-arrow, .k-term-grid--subjects .k-term--conversation .k-arrow { background: var(--k-green); }
.k-panel--guide .k-guide__image img { width: 120px; height: auto; }
.k-landing__card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; border-bottom: 4px solid #fff0a8; padding-bottom: 6px; }
.k-landing__card-head .k-landing__card-title { border-bottom: 0; padding-bottom: 0; }
.k-landing__card-face img { display: block; width: 40px; height: auto; }
