/*
 * n01_site.css - n01darts.com top page / blog
 */

* {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
	font-size: 16px;
	line-height: 1.7;
	color: #1f2933;
	background-color: #ffffff;
	-webkit-font-smoothing: antialiased;
}

a {
	color: #0f7a55;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

img {
	max-width: 100%;
	height: auto;
}

h1, h2, h3, h4 {
	margin: 0;
	line-height: 1.3;
	font-weight: 700;
}

p {
	margin: 0 0 1em;
}

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

.narrow {
	max-width: 780px;
}

/* ---------- header ---------- */

#site_header {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	z-index: 10;
	background-color: #0b1320;
	color: #e6edf3;
	padding-top: env(safe-area-inset-top);
}

#site_header .container {
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	min-height: 60px;
}

#site_logo {
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	padding: 12px 0;
}

#site_logo img {
	height: 26px;
	width: auto;
	display: block;
}

#site_nav {
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	margin: 0 -8px;
	font-size: 14px;
}

#site_nav a {
	color: #c7d0da;
	padding: 8px;
	white-space: nowrap;
}

#site_nav a:hover {
	color: #ffffff;
	text-decoration: none;
}

#site_nav a.lang {
	margin-left: 8px;
	padding: 4px 12px;
	border: 1px solid #3b4654;
	border-radius: 999px;
	color: #ffffff;
}

#site_nav a.lang:hover {
	border-color: #ffffff;
}

/* ---------- buttons ---------- */

.button {
	display: inline-block;
	padding: 12px 24px;
	border-radius: 8px;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
	background-color: #0f8a5f;
	color: #ffffff;
	border: 2px solid #0f8a5f;
	margin: 0 12px 12px 0;
}

.button:hover {
	background-color: #0b6f4c;
	border-color: #0b6f4c;
	text-decoration: none;
}

.button.ghost {
	background-color: transparent;
	color: #ffffff;
	border-color: #6b7785;
}

.button.ghost:hover {
	background-color: rgba(255, 255, 255, 0.08);
	border-color: #ffffff;
}

.button.light {
	background-color: #ffffff;
	color: #0f7a55;
	border-color: #0f8a5f;
}

.button.light:hover {
	background-color: #eef7f2;
}

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

#hero {
	background-color: #0b1320;
	background-image: -webkit-linear-gradient(top, #0b1320 0%, #0f2a2a 100%);
	background-image: linear-gradient(180deg, #0b1320 0%, #0f2a2a 100%);
	color: #e6edf3;
	padding: 64px 0 24px;
}

#hero .container {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-align-items: center;
	align-items: center;
}

#hero_text {
	-webkit-flex: 1 1 420px;
	flex: 1 1 420px;
	padding-right: 32px;
	padding-bottom: 40px;
}

#hero_image {
	-webkit-flex: 1 1 380px;
	flex: 1 1 380px;
	padding-bottom: 40px;
}

#hero_image img {
	display: block;
	width: 100%;
	max-width: 560px;
	margin: 0 auto;
}

#hero h1 {
	font-size: 40px;
	letter-spacing: -0.01em;
	margin-bottom: 20px;
}

#hero h1 span {
	color: #5ee0a0;
}

#hero .lead {
	font-size: 17px;
	color: #c7d0da;
	margin-bottom: 28px;
}

#hero .sub_links {
	font-size: 14px;
	color: #8b97a5;
}

#hero .sub_links a {
	color: #c7d0da;
	text-decoration: underline;
}

/* ---------- stats ---------- */

#stats {
	background-color: #0f2a2a;
	color: #ffffff;
	padding: 8px 0 24px;
}

#stats .container {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
}

.stat {
	-webkit-flex: 1 1 150px;
	flex: 1 1 150px;
	padding: 20px 12px;
	text-align: center;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat .num {
	font-size: 36px;
	font-weight: 700;
	line-height: 1.1;
	color: #5ee0a0;
}

.stat .num small {
	font-size: 18px;
	margin-left: 2px;
}

.stat .label {
	font-size: 14px;
	color: #c7d0da;
	margin-top: 6px;
}

/* ---------- sections ---------- */

.section {
	padding: 72px 0;
}

.section.alt {
	background-color: #f5f7f9;
}

.section_head {
	max-width: 720px;
	margin: 0 auto 40px;
	text-align: center;
}

.section_head h2 {
	font-size: 30px;
	margin-bottom: 12px;
}

.section_head p {
	color: #5b6572;
	font-size: 16px;
	margin: 0;
}

.eyebrow {
	display: block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #0f8a5f;
	margin-bottom: 8px;
}

.grid {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	margin: -12px;
}

.grid > * {
	margin: 12px;
}

.col3 > * {
	-webkit-flex: 1 1 280px;
	flex: 1 1 280px;
}

.col2 > * {
	-webkit-flex: 1 1 400px;
	flex: 1 1 400px;
}

.card {
	display: block;
	background-color: #ffffff;
	border: 1px solid #e3e8ee;
	border-radius: 12px;
	padding: 24px;
	color: #1f2933;
}

a.card:hover {
	text-decoration: none;
	border-color: #0f8a5f;
	box-shadow: 0 6px 20px rgba(15, 42, 42, 0.08);
}

.card h3 {
	font-size: 19px;
	margin-bottom: 8px;
}

.card p {
	color: #5b6572;
	font-size: 15px;
	margin: 0;
}

.card .icon {
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background-color: #e8f5ee;
	color: #0f8a5f;
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	-webkit-justify-content: center;
	justify-content: center;
	margin-bottom: 16px;
}

a.icon:hover {
	opacity: 0.8;
	text-decoration: none;
}

.card .icon svg {
	width: 24px;
	height: 24px;
	stroke: currentColor;
	fill: none;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.card .more {
	display: inline-block;
	margin-top: 14px;
	font-weight: 700;
	color: #0f7a55;
}

.product .icon {
	width: 56px;
	height: 56px;
	background-color: #0b1320;
}

.product .icon img {
	width: 32px;
	height: 32px;
}

.product.tournament .icon {
	background-color: #00443a;
}

.product.league .icon {
	background-color: #373100;
}

.product.darts .icon {
	background-color: #0a246a;
}

.product .links {
	margin-top: 16px;
	font-size: 14px;
}

.product .links a {
	display: inline-block;
	margin: 0 12px 4px 0;
	font-weight: 700;
}

/* ---------- darts ---------- */

#darts .container {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-align-items: flex-start;
	align-items: flex-start;
}

#darts_text {
	-webkit-flex: 1 1 380px;
	flex: 1 1 380px;
	padding-right: 32px;
	padding-bottom: 24px;
}

#darts_text h2 {
	font-size: 30px;
	margin-bottom: 16px;
}

#darts_text p {
	color: #5b6572;
}

#darts_list {
	-webkit-flex: 1 1 420px;
	flex: 1 1 420px;
}

.check_list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.check_list li {
	position: relative;
	padding: 10px 0 10px 36px;
	border-bottom: 1px solid #e3e8ee;
}

.check_list li:last-child {
	border-bottom: 0;
}

.check_list li:before {
	content: "";
	position: absolute;
	left: 2px;
	top: 16px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background-color: #0f8a5f;
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E");
	background-size: 12px 12px;
	background-position: center;
	background-repeat: no-repeat;
}

.check_list strong {
	display: block;
}

.check_list span {
	color: #5b6572;
	font-size: 15px;
}

/* ---------- pricing ---------- */

.price_box {
	background-color: #ffffff;
	border: 1px solid #e3e8ee;
	border-radius: 12px;
	padding: 32px;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-align-items: center;
	align-items: center;
}

.price_box .free {
	-webkit-flex: 0 0 220px;
	flex: 0 0 220px;
	text-align: center;
	padding: 12px 24px 12px 0;
	border-right: 1px solid #e3e8ee;
	margin-right: 24px;
}

.price_box .free .num {
	font-size: 48px;
	font-weight: 700;
	line-height: 1;
	color: #0f8a5f;
}

.price_box .free .num small {
	font-size: 20px;
}

.price_box .free .label {
	font-size: 14px;
	color: #5b6572;
	margin-top: 6px;
}

.price_box .desc {
	-webkit-flex: 1 1 300px;
	flex: 1 1 300px;
}

.price_box .desc p {
	color: #5b6572;
	margin-bottom: 8px;
}

.price_box .desc ul {
	margin: 0 0 12px;
	padding-left: 20px;
	color: #5b6572;
}

/* ---------- blog cards ---------- */

.post_card {
	display: block;
	background-color: #ffffff;
	border: 1px solid #e3e8ee;
	border-radius: 12px;
	overflow: hidden;
	color: #1f2933;
}

.post_card:hover {
	text-decoration: none;
	border-color: #0f8a5f;
	box-shadow: 0 6px 20px rgba(15, 42, 42, 0.08);
}

.post_card .thumb {
	display: block;
	width: 100%;
	height: auto;
	background-color: #f5f7f9;
}

.post_card .body {
	padding: 16px 20px 20px;
}

.post_card .meta {
	font-size: 13px;
	color: #5b6572;
	margin-bottom: 6px;
}

.post_card .meta .cat {
	display: inline-block;
	padding: 1px 8px;
	border-radius: 999px;
	background-color: #e8f5ee;
	color: #0f7a55;
	font-weight: 700;
	margin-right: 8px;
}

.post_card .meta .cat.league {
	background-color: #f6f1d6;
	color: #6b5d00;
}

.post_card h3 {
	font-size: 17px;
}

.center {
	text-align: center;
}

.section .center .button {
	margin-top: 32px;
}

/* ---------- api ---------- */

#api .card {
	background-color: #0b1320;
	border-color: #0b1320;
	color: #e6edf3;
	padding: 40px;
}

#api .card h2 {
	font-size: 26px;
	margin-bottom: 12px;
}

#api .card p {
	color: #c7d0da;
}

#api .card code {
	display: inline-block;
	font-family: Menlo, Consolas, monospace;
	font-size: 14px;
	background-color: rgba(255, 255, 255, 0.1);
	padding: 4px 10px;
	border-radius: 4px;
	word-break: break-all;
}

#api .card a {
	color: #5ee0a0;
}

/* ---------- footer ---------- */

#site_footer {
	background-color: #0b1320;
	color: #8b97a5;
	padding: 40px 0 calc(40px + env(safe-area-inset-bottom));
	font-size: 14px;
}

#site_footer .container {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	-webkit-align-items: center;
	align-items: center;
}

#site_footer a {
	color: #c7d0da;
	margin-right: 20px;
}

#site_footer .footer_logo {
	-webkit-flex: 0 0 100%;
	flex: 0 0 100%;
	text-align: center;
	margin-bottom: 24px;
}

#site_footer .footer_logo a {
	display: inline-block;
	margin: 0;
}

#site_footer .footer_logo img {
	display: block;
	width: 160px;
	height: auto;
}

#site_footer .links {
	margin-bottom: 12px;
}

#site_footer .copy {
	margin-bottom: 12px;
}

/* ---------- blog / article ---------- */

.page_head {
	background-color: #0b1320;
	color: #e6edf3;
	padding: 48px 0;
}

.page_head h1 {
	font-size: 32px;
}

.page_head p {
	color: #c7d0da;
	margin: 8px 0 0;
}

.page_head .meta {
	font-size: 14px;
	color: #8b97a5;
	margin-bottom: 12px;
}

.page_head .meta .cat {
	display: inline-block;
	padding: 1px 10px;
	border-radius: 999px;
	background-color: rgba(255, 255, 255, 0.12);
	color: #ffffff;
	font-weight: 700;
	margin-right: 10px;
}

.breadcrumb {
	font-size: 13px;
	color: #8b97a5;
	margin-bottom: 16px;
}

.breadcrumb a {
	color: #c7d0da;
}

.post {
	padding: 48px 0 72px;
}

.post h2 {
	font-size: 24px;
	margin: 48px 0 16px;
	padding-bottom: 8px;
	border-bottom: 2px solid #0f8a5f;
}

.post h3 {
	font-size: 20px;
	margin: 40px 0 12px;
	padding-left: 12px;
	border-left: 4px solid #0f8a5f;
}

.post h2 + h3, .post h3:first-child, .post h2:first-child {
	margin-top: 0;
}

.post img {
	display: block;
	max-width: 100%;
	height: auto;
	border: 1px solid #e3e8ee;
	border-radius: 8px;
	margin: 8px 0 16px;
}

.post .note {
	background-color: #f5f7f9;
	border-left: 4px solid #c7d0da;
	border-radius: 0 8px 8px 0;
	padding: 16px 20px;
	margin: 0 0 24px;
	font-size: 15px;
}

.post .note p:last-child, .post .note ul:last-child {
	margin-bottom: 0;
}

.post .note ul {
	padding-left: 20px;
}

.post .box {
	font-family: Menlo, Consolas, monospace;
	font-size: 14px;
	background-color: #0b1320;
	color: #e6edf3;
	border-radius: 8px;
	padding: 16px 20px;
	margin: 0 0 24px;
	white-space: pre-wrap;
}

.post ul {
	margin: 0 0 1em;
}

.post table {
	border-collapse: collapse;
	width: 100%;
	margin-bottom: 24px;
}

.post th, .post td {
	border: 1px solid #e3e8ee;
	padding: 10px 14px;
	text-align: left;
	vertical-align: top;
}

.post th {
	background-color: #f5f7f9;
	white-space: nowrap;
}

.post_foot {
	margin-top: 48px;
	padding-top: 24px;
	border-top: 1px solid #e3e8ee;
	font-size: 14px;
}

.contact_list {
	list-style: none;
	padding: 0;
	margin: 0 0 24px;
}

.contact_list li {
	padding: 8px 0;
	border-bottom: 1px solid #e3e8ee;
}

/* ---------- responsive ---------- */

@media (max-width: 720px) {
	#site_header .container {
		padding-bottom: 6px;
	}

	#site_nav {
		width: 100%;
		font-size: 13px;
		margin: 0 -6px;
	}

	#site_nav a {
		padding: 6px;
	}

	#site_nav a.lang {
		margin-left: 4px;
	}

	#hero {
		padding-top: 40px;
	}

	#hero h1 {
		font-size: 30px;
	}

	#hero_text {
		padding-right: 0;
		padding-bottom: 24px;
	}

	#hero_image {
		padding-bottom: 16px;
	}

	.section {
		padding: 48px 0;
	}

	.section_head h2, #darts_text h2 {
		font-size: 24px;
	}

	.stat .num {
		font-size: 30px;
	}

	.price_box {
		padding: 24px;
	}

	.price_box .free {
		-webkit-flex: 1 1 100%;
		flex: 1 1 100%;
		border-right: 0;
		border-bottom: 1px solid #e3e8ee;
		margin: 0 0 16px;
		padding: 0 0 16px;
	}

	#api .card {
		padding: 24px;
	}

	.page_head h1 {
		font-size: 24px;
	}

	.post h2 {
		font-size: 20px;
	}

	.post h3 {
		font-size: 18px;
	}
}

@media print {
	#site_header, #site_footer, .page_head, #hero, #stats {
		background: #ffffff;
		color: #000000;
	}
}

/* ---------- contact form ---------- */

.contact_form label {
	display: block;
	font-weight: 700;
	margin: 20px 0 6px;
}

.contact_form input[type="text"], .contact_form input[type="email"], .contact_form select, .contact_form textarea {
	display: block;
	width: 100%;
	font: inherit;
	color: #1f2933;
	background-color: #ffffff;
	border: 1px solid #c7d0da;
	border-radius: 8px;
	padding: 10px 12px;
}

.contact_form textarea {
	resize: vertical;
	min-height: 160px;
}

.contact_form input:focus, .contact_form select:focus, .contact_form textarea:focus {
	outline: 2px solid #0f8a5f;
	outline-offset: 0;
	border-color: #0f8a5f;
}

.contact_form p {
	margin-top: 24px;
}

.contact_form .button {
	min-width: 160px;
}

.contact_form .hp {
	position: absolute;
	left: -10000px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.msg {
	display: none;
	border-radius: 8px;
	padding: 14px 18px;
	margin: 0 0 24px;
	font-weight: 700;
}

.msg.ok {
	background-color: #e8f5ee;
	color: #0b6f4c;
	border: 1px solid #0f8a5f;
}

.msg.ng {
	background-color: #fdecec;
	color: #a11d1d;
	border: 1px solid #e05252;
}

/* ---------- pricing ---------- */

.pricing .lead {
	font-size: 17px;
	color: #5b6572;
}

.pricing .plan {
	background-color: #f5f7f9;
	border: 1px solid #e3e8ee;
	border-radius: 12px;
	padding: 24px;
	margin: 0 0 24px;
}

.pricing .plan.free {
	background-color: #e8f5ee;
	border-color: #0f8a5f;
}

.pricing .plan_price {
	font-size: 28px;
	font-weight: 700;
	color: #0f8a5f;
	line-height: 1.2;
	margin-bottom: 8px;
}

.pricing .plan p {
	margin: 0;
	color: #5b6572;
}

.price_table td:nth-child(n+2), .price_table th:nth-child(n+2) {
	text-align: right;
	white-space: nowrap;
}

.price_table td:first-child {
	font-weight: 700;
}
