/* 麻雀研究：トップ専用。共通style.cssの後に読み込む。 */
body.home {
	--home-green: #176b4d;
	--home-dark: #0f5132;
	--home-bg: #f7f8f6;
	--home-surface: #ffffff;
	--home-text: #222222;
	--home-muted: #666666;
	--home-border: #dce3dd;
	--home-gold: #c59a3d;
	--home-width: 1080px;
	--home-space: 32px;
	margin: 0;
	padding: 0;
	width: auto;
	background: var(--home-bg);
	color: var(--home-text);
	font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
	font-size: 16px;
	line-height: 1.8;
}
.home *, .home *::before, .home *::after {
	/*box-sizing: border-box;*/
}
.home a {
	text-underline-offset: 0.2em;
}
.home a:focus-visible {
	outline: 3px solid var(--home-green);
	outline-offset: 4px;
}

.home .home-nav .home-nav__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	width: calc(100% - 32px);
	max-width: var(--home-width);
	height: auto;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}
.home .home-nav li, .home .home-nav li:hover {
	width: auto;
	min-width: 0;
	height: auto;
	margin: 0;
	border: 0;
	list-style: none;
}
.home .home-nav a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 8px 4px;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	text-align: center;
	text-decoration: none;
}
.home .home-nav a:hover {
	background: var(--home-green);
	color: #fff;
}
.home .home-nav a:focus-visible {
outline-color: #fff;
outline-offset: -4px;
}
.home .home-main {
	display: block;
	width: calc(100% - 32px);
	max-width: var(--home-width);
	margin: 20px auto 48px;
	padding: 0;
	overflow-wrap: anywhere;
}
.home .home-main section {
	display: block;
	width: auto;
	margin: 0;
	padding: 0;
	background: transparent;
}
.home .home-main h1, .home .home-main h2, .home .home-main h3 {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--home-text);
	font-weight: 700;
	line-height: 1.5;
}
.home .home-main p {
	margin: 0;
}
.home .home-main ul, .home .home-main ol {
	margin: 0;
	padding: 0;
	list-style: none;
}
.home .home-main li {
	margin: 0;
	padding: 0;
	list-style: none;
	min-width: 0;
}
.home .home-main .home-hero {
	padding: 24px 16px;
	border: 1px solid var(--home-border);
	border-top: 4px solid var(--home-green);
	border-radius: 16px;
	background: #eef4ef;
}
.home .home-main .home-hero__title {
	font-size: clamp(26px, 3.2vw, 36px);
}
.home .home-main .home-hero__lead {
	max-width: 58em;
	margin-top: 16px;
}
.home .home-main .home-quick {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin-top: 24px;
}
.home .home-quick__link {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: 16px 8px;
	border: 1px solid var(--home-green);
	border-radius: 8px;
	background: #fff;
	color: var(--home-dark);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.5;
	text-align: center;
	text-decoration: none;
	box-sizing: border-box
}
.home .home-quick__link:hover {
	background: #e1eee5;
	color: var(--home-dark);
}
.home .home-quick__link--primary {
	background: var(--home-green);
	color: #fff;
}
.home .home-quick__link--primary:hover {
	background: var(--home-dark);
	color: #fff;
}
.home .home-main .home-section {
	margin-top: var(--home-space);
}
.home .home-main .home-section__title {
	margin-bottom: 16px;
	padding-left: 12px;
	border-left: 4px solid var(--home-green);
	font-size: clamp(22px, 2.5vw, 26px);
}
.home .home-main .home-section__intro {
	margin: -4px 0 20px;
}
.home .home-main .home-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 12px;
}
.home .home-grid > li {
	display: flex;
}
.home .home-card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
	padding: 16px;
	border: 1px solid var(--home-border);
	border-radius: 12px;
	background: var(--home-surface);
	color: var(--home-text);
	text-decoration: none;
	transition: border-color 0.15s, background-color 0.15s;
}
.home .home-card:hover {
	border-color: var(--home-green);
	background: #f0f6f1;
	color: var(--home-text);
}
.home .home-main .home-card__title {
	color: var(--home-dark);
	font-size: 20px;
}
.home .home-main .home-card__desc {
	color: var(--home-muted);
	font-size: 15px;
}
.home .home-card__more {
	margin-top: auto;
	padding-top: 6px;
	color: var(--home-dark);
	font-size: 14px;
	font-weight: 700;
}
.home .home-card--compact {
	padding: 16px;
}
.home .home-main .home-card--compact .home-card__title {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-size: 18px;
}
.home .home-card__arrow {
	flex: 0 0 auto;
}
.home .home-main .home-steps {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 12px;
}
.home .home-main .home-step {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	padding: 16px;
	border: 1px solid var(--home-border);
	border-top: 3px solid var(--home-gold);
	border-radius: 12px;
	background: #fff;
}
.home .home-step__number {
	padding: 4px 10px;
	border-radius: 6px;
	background: #f5edd9;
	color: #6e531f;
	font-size: 13px;
	font-weight: 700;
}
.home .home-main .home-step__title {
	font-size: 20px;
}
.home .home-step p {
	font-size: 15px;
}
.home .home-text-link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--home-dark);
	font-weight: 700;
	text-decoration: underline;
}
.home .home-text-link:hover {
	color: var(--home-green);
}
.home .home-step .home-text-link {
	margin-top: auto;
}
.home .home-main .home-note {
	margin-top: 16px;
	color: var(--home-muted);
	font-size: 14px;
}
.home .home-main .home-section__more {
	margin-top: 16px;
	text-align: right;
}
/* 配信されるins/iframeに固定高・overflow・装飾を指定しない。 */
.home .home-ad {
	margin: 48px 0;
	padding: 24px 0;
	border-top: 1px solid var(--home-border);
	border-bottom: 1px solid var(--home-border);
	text-align: center;
}
.home .home-main .home-ad__label {
	margin-bottom: 12px;
	color: var(--home-muted);
	font-size: 12px;
	text-align: center;
}
.home .home-ad__space {
	min-height: 280px;
}
.home .home-main .home-ad + .home-section {
	margin-top: 0;
}
.home .home-main .home-updates__list {
	border-top: 1px solid var(--home-border);
}
.home .home-main .home-updates__list li {
	display: grid;
	gap: 4px;
	padding: 16px 0;
	border-bottom: 1px solid var(--home-border);
}
.home .home-updates time {
	color: var(--home-muted);
	font-size: 14px;
	font-variant-numeric: tabular-nums;
}
.home .home-updates p {
	font-size: 15px;
}
@media (min-width: 640px) {
body.home {
	--home-space: 48px;
}
.home .home-nav .home-nav__list {
	grid-template-columns: repeat(6, minmax(0, 1fr));
}
.home .home-main {
	margin-top: 24px;
	margin-bottom: 64px;
}
.home .home-main .home-hero {
	padding: 32px;
}
.home .home-main .home-quick {
	gap: 12px;
}
.home .home-quick__link {
	font-size: 16px;
}
.home .home-main .home-grid--categories,  .home .home-main .home-grid--guides {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}
.home .home-main .home-updates__list li {
	grid-template-columns: 120px minmax(0, 1fr);
	gap: 16px;
}
}
@media (min-width: 960px) {
.home .home-main .home-grid--categories,  .home .home-main .home-grid--guides,  .home .home-main .home-grid--growth,  .home .home-main .home-steps {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}
}
@media (prefers-reduced-motion: reduce) {
.home .home-card {
	transition: none;
}
}
