@charset "utf-8";
/*
 * Shomonzとは（page-about.php）専用スタイル
 *
 * functions.php の my_styles() で is_page('about') のときだけ読み込む。
 * 依存に 'my-style' を指定しているため style.css より後に読まれる。
 *
 * すべてのルールを .about 配下に限定している。style.css を直接いじると
 * 全ページに波及するため、打ち消しもここで完結させる。
 *
 * 打ち消しが必要な style.css の指定:
 *   h1,h2,h3,h4,h5,p { margin: 2em 0 }  … 見出し・段落の余白が過大になる
 *   a { display: inline-block }          … 本文中のリンクで行送りが崩れる
 *   h1 { font-size: 2rem } ほか          … サイズが合わない
 * いずれもクラスを前置した詳細度（0,1,1）で勝てる。
 */

.about {
	--about-green-50: #f0fdf4;
	--about-green-100: #dcfce7;
	--about-green-600: #16a34a;
	--about-green-700: #15803d;
	--about-green-900: #14532d;
	--about-sand-50: #fdfcf9;
	--about-sand-100: #f9f6f0;
	--about-sand-200: #f0ebe0;
	--about-sand-300: #e0d8c8;
	--about-ink: #1a1a1a;
	--about-ink-light: #4a4a4a;
	--about-ink-muted: #6b6b6b;
	--about-font-display: 'Shippori Mincho', 'Yu Mincho', serif;
	--about-font-body: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', sans-serif;
	--about-shadow: 0 1px 2px rgba(20, 83, 45, 0.04), 0 10px 30px rgba(20, 83, 45, 0.05);

	font-family: var(--about-font-body);
	color: var(--about-ink);
	background: var(--about-sand-50);
	line-height: 1.9;
	/* 禁則処理：小書きの仮名が行頭に来るのを防ぐ */
	line-break: strict;
	-webkit-font-smoothing: antialiased;
}

/* ---- style.css の素の要素セレクタを打ち消す ---- */

.about h1,
.about h2,
.about h3,
.about h4,
.about p,
.about ul,
.about ol,
.about li,
.about table {
	margin: 0;
	padding: 0;
}

.about ul,
.about ol {
	list-style: none;
}

.about a {
	display: inline;
	color: var(--about-green-700);
	text-decoration: underline;
	text-underline-offset: 0.2em;
	text-decoration-thickness: 1px;
	transition: color 0.2s;
}

.about a:hover {
	color: var(--about-green-600);
}

/* ---- 共通レイアウト ---- */

.about-container {
	max-width: 960px;
	margin: 0 auto;
	padding: 0 24px;
}

.about-container--narrow {
	max-width: 720px;
}

.about-section {
	padding: 76px 0;
}

.about-section--alt {
	background: var(--about-sand-100);
	border-top: 1px solid var(--about-sand-200);
	border-bottom: 1px solid var(--about-sand-200);
}

.about .about-eyebrow,
.about .about-kicker {
	margin: 0 0 10px;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--about-green-600);
}

.about h1,
.about h2 {
	font-family: var(--about-font-display);
	font-weight: 700;
	color: var(--about-green-900);
	letter-spacing: 0.01em;
}

.about h1 {
	font-size: clamp(1.9rem, 5.4vw, 2.7rem);
	line-height: 1.4;
	margin: 0 0 22px;
}

.about h2 {
	font-size: clamp(1.35rem, 3.6vw, 1.8rem);
	line-height: 1.5;
	margin: 0 0 18px;
}

.about h3 {
	font-family: var(--about-font-body);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.6;
	color: var(--about-ink);
	margin: 0 0 8px;
}

.about p {
	font-size: 0.95rem;
}

.about p + p {
	margin-top: 1.1em;
}

.about .about-intro,
.about .about-lead {
	color: var(--about-ink-light);
}

.about .about-lead {
	font-size: clamp(1rem, 2.6vw, 1.1rem);
	margin: 0 0 34px;
}

.about .about-lead strong {
	color: var(--about-green-900);
}

.about .about-intro {
	margin: 0 0 30px;
}

.about .about-note {
	margin-top: 26px;
	font-size: 0.85rem;
	color: var(--about-ink-muted);
}

.about .about-callout {
	margin-top: 28px;
	padding: 18px 22px;
	border-left: 3px solid var(--about-green-600);
	background: #fff;
	border-radius: 0 10px 10px 0;
	font-size: 0.9rem;
	color: var(--about-ink-light);
}

.about .about-callout strong {
	color: var(--about-green-900);
}

.about .about-inline-link {
	margin-top: 24px;
	font-size: 0.9rem;
}

/* ---- hero ---- */

.about-hero {
	padding: 72px 0 64px;
	background:
		radial-gradient(circle at 88% 6%, var(--about-green-50) 0%, rgba(240, 253, 244, 0) 46%),
		var(--about-sand-50);
	border-bottom: 1px solid var(--about-sand-200);
}

.about-pillars {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}

.about-pillars li {
	padding: 20px 18px;
	background: #fff;
	border: 1px solid var(--about-sand-200);
	border-radius: 14px;
	box-shadow: var(--about-shadow);
}

.about-pillar-value {
	display: block;
	font-family: var(--about-font-display);
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.2;
	color: var(--about-green-700);
}

.about-pillar-value small {
	font-size: 0.85rem;
	margin-left: 3px;
	color: var(--about-ink-light);
}

.about-pillar-name {
	display: block;
	margin-top: 6px;
	font-size: 0.85rem;
	font-weight: 700;
	line-height: 1.5;
}

.about-pillar-note {
	display: block;
	font-size: 0.75rem;
	line-height: 1.6;
	color: var(--about-ink-muted);
}

/* ---- 誰のためか ---- */

.about-cards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}

.about-cards li {
	padding: 22px 22px 24px;
	background: #fff;
	border: 1px solid var(--about-sand-200);
	border-radius: 14px;
}

.about-cards p {
	font-size: 0.88rem;
	color: var(--about-ink-light);
}

/* ---- 学べること ---- */

.about-subjects {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
}

.about-subjects li {
	padding: 18px 20px 20px;
	background: #fff;
	border: 1px solid var(--about-sand-200);
	border-radius: 12px;
}

.about-subject-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 6px;
}

.about-subject-head h3 {
	margin: 0;
}

.about-tag {
	flex-shrink: 0;
	padding: 3px 9px;
	border-radius: 999px;
	font-size: 0.65rem;
	font-weight: 700;
	line-height: 1.6;
	white-space: nowrap;
}

.about-tag--site {
	background: var(--about-green-50);
	color: var(--about-green-700);
}

.about-tag--app {
	background: var(--about-sand-200);
	color: var(--about-ink-light);
}

.about-subjects p {
	font-size: 0.85rem;
	color: var(--about-ink-light);
}

/* ---- 表（レベル・比較） ---- */

.about-table-scroll {
	overflow-x: auto;
	/* 横スクロールする領域はキーボードでも操作できるよう tabindex="0" を付けている。
	   その分フォーカスリングが出るので、見た目を整えておく。 */
	outline-offset: 2px;
	-webkit-overflow-scrolling: touch;
	border: 1px solid var(--about-sand-200);
	border-radius: 12px;
	background: #fff;
}

.about-table-scroll:focus-visible {
	outline: 2px solid var(--about-green-600);
}

.about-table {
	width: 100%;
	min-width: 620px;
	border-collapse: collapse;
	font-size: 0.85rem;
}

.about-table--compare {
	min-width: 780px;
}

.about-table th,
.about-table td {
	padding: 13px 16px;
	text-align: left;
	vertical-align: top;
	line-height: 1.7;
	border-bottom: 1px solid var(--about-sand-200);
}

.about-table thead th {
	background: var(--about-sand-100);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--about-ink-light);
	white-space: nowrap;
}

.about-table tbody th {
	font-weight: 700;
	color: var(--about-green-900);
	white-space: nowrap;
}

.about-table tbody tr:last-child th,
.about-table tbody tr:last-child td {
	border-bottom: 0;
}

.about-table td {
	color: var(--about-ink-light);
}

.about-table .is-ours {
	background: var(--about-green-50);
	color: var(--about-green-900);
	font-weight: 500;
}

.about-table thead .is-ours {
	background: var(--about-green-100);
	color: var(--about-green-900);
}

.about .about-table-hint {
	display: none;
	margin: 0 0 8px;
	font-size: 0.75rem;
	color: var(--about-ink-muted);
}

/* ---- 4ステップ ---- */

.about-steps4 {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
	counter-reset: about-step;
}

.about-steps4 li {
	position: relative;
	padding: 20px 18px;
	background: #fff;
	border: 1px solid var(--about-sand-200);
	border-radius: 12px;
}

.about-steps4 li::before {
	counter-increment: about-step;
	content: counter(about-step);
	display: block;
	font-family: var(--about-font-display);
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--about-green-600);
	margin-bottom: 4px;
}

.about-steps4 li > span {
	display: block;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.5;
	color: var(--about-green-900);
}

.about-steps4 p {
	margin-top: 6px;
	font-size: 0.8rem;
	line-height: 1.75;
	color: var(--about-ink-light);
}

.about .about-facts {
	margin-top: 26px;
}

.about-facts li {
	position: relative;
	padding-left: 22px;
	font-size: 0.88rem;
	line-height: 1.85;
	color: var(--about-ink-light);
}

.about-facts li + li {
	margin-top: 8px;
}

.about-facts li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: 0.75em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--about-green-600);
}

/* ---- 毎日5分 ---- */

.about .about-statement {
	margin: 0 0 24px;
	padding: 20px 24px;
	background: #fff;
	border: 1px solid var(--about-sand-200);
	border-radius: 14px;
	font-family: var(--about-font-display);
	font-size: clamp(1.05rem, 3vw, 1.3rem);
	font-weight: 700;
	line-height: 1.7;
	color: var(--about-green-900);
	text-align: center;
}

.about-section p strong {
	color: var(--about-green-900);
}

/* ---- 9STEPチップ ---- */

.about-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.about-chips li {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 7px 14px 7px 8px;
	background: #fff;
	border: 1px solid var(--about-sand-300);
	border-radius: 999px;
	font-size: 0.85rem;
	font-weight: 500;
	line-height: 1.6;
}

.about-chip-no {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--about-green-600);
	color: #fff;
	font-size: 0.65rem;
	font-weight: 700;
	line-height: 1;
}

.about .about-cta-inline {
	margin-top: 30px;
}

/* ---- 提供しているもの ---- */

.about-offers {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}

.about-offers li {
	display: flex;
	flex-direction: column;
	padding: 24px;
	background: #fff;
	border: 1px solid var(--about-sand-200);
	border-radius: 14px;
	box-shadow: var(--about-shadow);
}

.about-offers h3 {
	font-size: 1.02rem;
	color: var(--about-green-900);
}

.about-offers p {
	flex-grow: 1;
	font-size: 0.85rem;
	color: var(--about-ink-light);
}

.about .about-offer-link {
	margin-top: 16px;
	align-self: flex-start;
	font-size: 0.85rem;
	font-weight: 700;
	text-decoration: none;
}

.about-offer-link::after {
	content: " →";
}

/* ---- ボタン・CTA ---- */

.about .about-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 30px;
	border-radius: 999px;
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.5;
	text-align: center;
	text-decoration: none;
	transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
}

.about .about-button,
.about .about-button--primary {
	background: var(--about-green-600);
	border: 1px solid var(--about-green-600);
	color: #fff;
}

.about .about-button:hover,
.about .about-button--primary:hover {
	background: var(--about-green-700);
	border-color: var(--about-green-700);
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(22, 163, 74, 0.22);
}

.about .about-button--ghost {
	background: #fff;
	border: 1px solid var(--about-green-600);
	color: var(--about-green-700);
}

.about .about-button--ghost:hover {
	background: var(--about-green-50);
	border-color: var(--about-green-700);
	color: var(--about-green-900);
}

.about-cta {
	padding: 76px 0 84px;
	background: linear-gradient(180deg, var(--about-sand-100) 0%, var(--about-green-50) 100%);
	border-top: 1px solid var(--about-sand-200);
	text-align: center;
}

.about-cta p {
	color: var(--about-ink-light);
}

.about-cta-buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 30px;
}

/* ---- レスポンシブ ---- */

@media screen and (max-width: 860px) {
	.about-cards,
	.about-subjects,
	.about-offers {
		grid-template-columns: 1fr;
	}

	.about-steps4 {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* 比較表は min-width:780px。.about-container の左右padding 24px を足すと
   ビューポート828px以下で横スクロールが始まるため、その手前から案内を出す。 */
@media screen and (max-width: 828px) {
	.about .about-table-hint {
		display: block;
	}
}

@media screen and (max-width: 600px) {
	/* レベル表は横スクロールをやめ、行ごとのカードに積み替える。
	   スクロールのままだと「レッスンが届くペース」が画面外に隠れてしまう。 */
	.about-table--levels,
	.about-table--levels thead,
	.about-table--levels tbody,
	.about-table--levels tr,
	.about-table--levels th,
	.about-table--levels td {
		display: block;
	}

	.about-table--levels {
		min-width: 0;
	}

	.about-table--levels thead {
		display: none;
	}

	.about-table--levels tbody tr {
		padding: 14px 16px 16px;
		border-bottom: 1px solid var(--about-sand-200);
	}

	.about-table--levels tbody tr:last-child {
		border-bottom: 0;
	}

	.about-table--levels tbody th {
		padding: 0 0 8px;
		border: 0;
		font-size: 1rem;
		white-space: normal;
	}

	.about-table--levels tbody td {
		padding: 0;
		border: 0;
		line-height: 1.8;
	}

	.about-table--levels tbody td::before {
		content: attr(data-label) "：";
		margin-right: 4px;
		font-weight: 700;
		color: var(--about-ink);
	}

	.about-section {
		padding: 56px 0;
	}

	.about-hero {
		padding: 48px 0 44px;
	}

	.about-container {
		padding: 0 18px;
	}

	.about-pillars {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.about-pillars li {
		display: flex;
		align-items: baseline;
		gap: 12px;
		padding: 14px 16px;
	}

	.about-pillar-value {
		font-size: 1.5rem;
	}

	.about-pillar-name {
		margin-top: 0;
	}

	.about-pillar-note {
		display: none;
	}

	.about-steps4 {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.about-steps4 li {
		padding: 14px 16px;
	}

	.about-cta {
		padding: 56px 0 64px;
	}

	.about-cta-buttons {
		flex-direction: column;
	}

	.about .about-button {
		width: 100%;
	}
}
