@charset "utf-8";
/*** peatixStatus.php用スタイルシート ***/

:root {
	--color-btn-ticket: #c4a956; /* ボタンの色 */
	--color-btn-ticket-hover: #dfbd6a; /* ボタンの色（ホバー） */
	--color-date-header: #683e1c; /* 日ごとに分けて表示するときの日付の色 */
	
	font-family: "Noto Sans JP", sans-serif;
	font-weight: 400;
	font-size: 11pt;
	line-height: 1.6em;
	color: #000;
	text-underline-position: under;
}

.center {
	text-align: center;
}

.right {
	text-align: right;
}

.flex {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0 3rem;
}

body {
	width: 95%;
	max-width: 1140px;
	margin: auto;
}

div#lastModified {
	width: 100%;
	text-align: center;
}

/*
div#lastModified > h3 {
	display: inline-block;
	margin: 0;
}
*/

div#containers {
	margin-top: 0.5rem;
}

div.container > h2.date { /* 日ごとに表示するときの日付 */
	width: 100%;
	margin: 0 0 1rem 0;
	padding: 0.4rem 0.5rem;
/*
	color: #005ead;
*/
	color: var(--color-date-header);
	font-size: 1.5rem;
	border-bottom: 1px dotted #005ead;
}

div.event {
	width: 100%;
}

div.event > h2 {
	width: 100%;
	margin: 0.5rem auto;
}

div.event:not(.dummy) {
	margin-bottom: 1rem;
}

div.ticketTables {
	gap: 1em;
}

div.ticketTables > div {
	flex-basis: 30rem;
}

table.peatixSlotStatus {
	border-collapse: collapse;
}

table.peatixSlotStatus tr > * {
	padding: 0.2em 0.3em;
	border: solid 1px #aaa;
}

table.peatixSlotStatus th {
	white-space: nowrap;
	background-color: #ddd;
}

table.peatixSlotStatus {
	width:100%;
}

a.btn-ticket {
	display: inline-block;
	box-sizing: border-box;
	width:100%;
	margin-bottom: 0.3rem;
	padding: 10px;
	color: #fff;
	background-color: var(--color-btn-ticket);
	font-size: 1.1rem;
	font-weight: bold;
	line-height: 1.2rem;
	text-align: center;
	vertical-align: middle;
	border-radius: 0.5rem;
	transition: color 0.15s ease-in-out,
		background-color 0.15s ease-in-out;
}

a.btn-ticket > span {
	display: inline-block;
	line-height: 1.5em;
}

a.btn-ticket span:not(:first-child) {
	margin-left: 1em;
}

@media (hover: hover) and (pointer: fine) {
	/* PCの場合 */
	a.btn-ticket:not(.disabled):hover {
		background-color: var(--color-btn-ticket-hover);
		cursor: pointer;
	}
}

@media (hover: none) and (pointer: coarse) {
	/* スマホ等の場合 */
	a.btn-ticket:not(.disabled):active {
		background-color: var(--color-btn-ticket-hover);
		cursor: pointer;
	}
}

table.peatixSlotStatus td span {
	display: inline-block;
}

table.peatixSlotStatus td span:not(:first-child) {
	margin-left: 1ex;
}

div.noSlot {
	width: 100%;
	text-align: center;
	margin-bottom: 2rem;
}

footer {
	margin: 1.5rem;
}
