/*
 * n01.css.child.css
 *
 * Copyright (C) 1996-2021 by Ohno Tomoaki. All rights reserved.
 */

body {
	-webkit-text-size-adjust: 100%;
	-ms-content-zooming: none;
	
	font-family: Arial;
	background-color: #ffffff;
	color: #000;

	--color: #0a246a;
}

html {
	min-height: calc(100% + env(safe-area-inset-top));
	padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

#header {
	padding-top: env(safe-area-inset-top);
}

#article {
	cursor: default;
}

#time{
	width: 100%;
	text-align: center;
	color: #808080;
	word-break: break-word;
}

.title {
	width: 100%;
	text-align: center;
	color: #808080;
	word-break: break-word;
}

.name_table {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	table-layout: fixed;
}

.name_table a {
	color: #000;
}

.link_name {
	cursor: pointer;
}

.link_name:hover {
	text-decoration: underline;
}

#p1_name {
	font-weight: bold;
	text-align: center;
	vertical-align: middle;
	word-wrap: break-word;
}
#p2_name {
	font-weight: bold;
	text-align: center;
	vertical-align: middle;
	word-wrap: break-word;
}

.title_table {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	background-color: var(--color);
}
.subtitle {
	font-weight: bold;
	color: #ffffff;
}

.totals {
	cursor: pointer;
}
.accordion_box {
	padding-left: 1.0vmin;
}

.accordion {
	position: relative;
	display: inline-block;
	width: 0px;
	height: 0px;
	border-top: 1.4vmin solid #fff;
	border-right: 1.4vmin solid transparent;
	border-bottom: 1.4vmin solid transparent;
	border-left: 1.4vmin solid transparent;
	top: 0.6vmin;
	transition: all 0.2s ease-in-out;
}

.accordion.open {
	-webkit-transform: rotate(180deg);
	transform: rotate(180deg);
	top: -0.85vmin;
}

.stats_table {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

.stats_table td {
	text-align: center;
	vertical-align: middle;
}

.name_table td.name_center {
	width: 50%;
}

.stats_table td.center {
	color: #404040;
	width: 50%;
}

.header_table {
	width: 100%;
	table-layout: fixed;
}

.header_table td {
	vertical-align: middle;
}

.p1_name {
	text-align: left;
	width: 43%;
	word-wrap: break-word;
}

.p2_name {
	text-align: right;
	width: 43%;
	word-wrap: break-word;
}

.player_name {
	width: 43%;
	word-wrap: break-word;
	padding: 1px;
}

.player_name .p1_name, .player_name .p1_order {
	text-align: left;
	width: 100%;
}

.player_name .p2_name, .player_name .p2_order {
	text-align: right;
	width: 100%;
}

.player_name .win {
	font-weight: bold;
}

.player_name .lose {
	color: #808080;
}

.player_name .order {
	font-weight: normal;
}

.leg {
	text-align: center;
	width: 14%;
	white-space: nowrap;
}

.score_table {
	width: 100%;
	text-align: center;
	background-color: #ffffff;
}
.score_table th {
	vertical-align: middle;
	font-weight: normal;
	border: 1px solid #555555;
	background-color: #eee;
}
.score_table td {
	vertical-align: middle;
	font-weight: normal;
	border: 1px solid #555555;
}

.score_none {
	background-color: #eee;
}
.score_input {
	width: 18%;
	background-size: 100% 100%;
	background-repeat: no-repeat;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}
.score_left {
	width: 23%;
	background-size: 80% 100%;
	background-position-x: 50%;
	background-repeat: no-repeat;
}
.score_round {
	width: 18%;
	background-color: #eee;
}

#canvas_ton {
	color: #a0a0a0;
}
.ton, .hioff {
	background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIj48ZWxsaXBzZSBjeD0iNTAiIGN5PSI1MCIgcng9IjQ1IiByeT0iNDUiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzgwODA4MCIgc3Ryb2tlLW9wYWNpdHk9IjAuNCIgc3Ryb2tlLXdpZHRoPSIyLjUiIHZlY3Rvci1lZmZlY3Q9Im5vbi1zY2FsaW5nLXN0cm9rZSIvPjwvc3ZnPg==");
	background-size: 100% 100%;
	background-size: min(100%, 22vmin) 100%;
	background-position: center;
	background-repeat: no-repeat;
}
.hioff {
	background-size: 83% 100%;
	background-size: min(83%, 22vmin) 100%;
}

hr, .sep {
	page-break-after: always;
}

#tooltip {
	position: absolute;
	display: none;
	border: 1px solid #808080;
	background-color: #fff;
	color: #000;
	opacity: 0.9;
	z-index: 9999;
}

.p_name img {
	vertical-align: middle;
}

#share {
	text-align: center;
	font-size: 0px;
}

.fb-like, .fb-share-button {
	margin: 0 0 0 10px;
}

#qr_icon {
	background-color: #fff;
	cursor: pointer;
}

#qrcode {
	background-color: #fff;
}

.modal_window {
	font-size: 30px;
	width: 80%;
	position: fixed;
	display: none;
	z-index: 10;
	box-shadow: 0 10px 30px rgba(0,0,0,0.8);
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
}

#modal-overlay {
	z-index: 9 ;
	display: none ;
	position: fixed ;
	top: 0 ;
	left: 0 ;
	width: 100% ;
	height: 120% ;
	background-color: rgba(0,0,0,0.5);
}

/* ===== Cricket (score.html のマーク表示) ===== */
.cricket .c_marks { width: 30%; }
.cricket .c_score { width: 14%; }
.cricket .score_table .score_round { width: 12%; }

.cricket .win  { color: #000000; font-weight: bold; }
.cricket .lose { color: #999999; }

.cricket .leg_mpr {
	display: block;
	color: #999999;
	font-weight: normal;
	font-size: 0.82em;
}

.cricket .marks {
	display: flex;
	justify-content: center;
	align-items: flex-end;
	gap: 0.4em;
	line-height: 1;
}
.cricket .dart {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.cricket .dnum {
	font-size: 0.42em;
	color: #666666;
	line-height: 1.2;
}
.cricket .dmark_wrap {
	position: relative;
	width: 0.95em;
	height: 0.95em;
}
.cricket .dmark_wrap .dmark {
	position: absolute;
	top: 0;
	left: 0;
}
.cricket .dmark.gray {
	background-color: #ccc;
}
.cricket .dmark {
	width: 0.95em;
	height: 0.95em;
	background-color: #000000;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	mask-size: contain;
	-webkit-mask-position: center;
	mask-position: center;
}
.cricket .dmark.m1 {
	-webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 180'><line fill='none' stroke='black' stroke-linecap='round' stroke-miterlimit='10' stroke-width='16' x1='152.59' y1='27.41' x2='27.41' y2='152.59'/></svg>");
	mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 180'><line fill='none' stroke='black' stroke-linecap='round' stroke-miterlimit='10' stroke-width='16' x1='152.59' y1='27.41' x2='27.41' y2='152.59'/></svg>");
}
.cricket .dmark.m2 {
	-webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 180'><line fill='none' stroke='black' stroke-linecap='round' stroke-miterlimit='10' stroke-width='16' x1='152.59' y1='27.41' x2='27.41' y2='152.59'/><line fill='none' stroke='black' stroke-linecap='round' stroke-miterlimit='10' stroke-width='16' x1='152.59' y1='152.59' x2='27.41' y2='27.41'/></svg>");
	mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 180'><line fill='none' stroke='black' stroke-linecap='round' stroke-miterlimit='10' stroke-width='16' x1='152.59' y1='27.41' x2='27.41' y2='152.59'/><line fill='none' stroke='black' stroke-linecap='round' stroke-miterlimit='10' stroke-width='16' x1='152.59' y1='152.59' x2='27.41' y2='27.41'/></svg>");
}
.cricket .dmark.m3 {
	-webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 180'><line fill='none' stroke='black' stroke-linecap='round' stroke-miterlimit='10' stroke-width='16' x1='152.59' y1='27.41' x2='27.41' y2='152.59'/><line fill='none' stroke='black' stroke-linecap='round' stroke-miterlimit='10' stroke-width='16' x1='152.59' y1='152.59' x2='27.41' y2='27.41'/><circle fill='none' stroke='black' stroke-linecap='round' stroke-miterlimit='10' stroke-width='16' cx='90' cy='90' r='65.81'/></svg>");
	mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 180'><line fill='none' stroke='black' stroke-linecap='round' stroke-miterlimit='10' stroke-width='16' x1='152.59' y1='27.41' x2='27.41' y2='152.59'/><line fill='none' stroke='black' stroke-linecap='round' stroke-miterlimit='10' stroke-width='16' x1='152.59' y1='152.59' x2='27.41' y2='27.41'/><circle fill='none' stroke='black' stroke-linecap='round' stroke-miterlimit='10' stroke-width='16' cx='90' cy='90' r='65.81'/></svg>");
}
