@charset "utf-8";

.mL30 {
	margin-left: 30px;
}

.right {
	text-align: right;
}

.center {
	text-align: center;
}

.font-pop {
	font-family: "HGP創英角ﾎﾟｯﾌﾟ体";
}

hr {
	margin: 30px 0;
	border: none;
	border-bottom: solid 1px #56445d;
}

h1 {
	position: relative;
	text-align: center;
}

h1 img {
	width: 360px;
	height: auto;
}

ul.menu {
	display: flex;
	position: absolute;
	top: 8px;
}

ul.menu li {
	display: inline-block;
	padding: 0 10px;
}


article {
	position: relative;
	margin: 60px auto 60px;
	border: solid 1px #56445d;
	padding: 39px;
	width: 960px;
	height: auto;
}

.radioflex {
	display: flex;
	flex-wrap: wrap;
}

.radiobtn {
	display: block;
	width: 50%;
}

.radiobtn.flex33 {
	width: calc(100% * 1/3);
}


.radiobtn span {
	display: inline-block;
	cursor: pointer;
	background-color: #f2ffe7;
	padding: 8px;
	width: 100%;
	color: #56445d;
	text-align: center;
}

.radiobtn span:hover {
	background-color: #548687;
	color: #fff;
}

input[type=radio]:checked+label span {
	background-color: #56445d;
	color: #fff;
}

#r_normal:checked~.check>.check2 {
	display: none;
}

#r_advance:checked~.check>.check1 {
	display: none;
}

.check {
	margin-top: 10px;
	width: 100%;
}

.check1>p {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}


.check1 input[type=checkbox] {
	display: none;
}

.check1 input+label {
	display: inline-block;
	position: relative;
	cursor: pointer;
	margin: 6px 6px 6px 0;
	border: solid 1px #56445d;
	border-radius: 0px;
	background-color: #f2ffe7;
	padding: 4px 4px 4px 8px;
	width: 80px;
	height: 36px;
	color: #56445d;
	text-align: left;
}

.check1 input+label:hover {
	background-color: #548687;
	color: #fff;
}

.check1 input:checked+label {
	background-color: #56445d;
	color: #fff;
}

.check1 input+label::before {
	display: inline-block;
	position: absolute;
	right: 8px;
	bottom: 2px;
	content: "OFF";
	font-size: 10px;
}

.check1 input:checked+label::before {
	content: "ON";
}

.check1 select {
	border: solid 1px var(--primary-color-main);
	background-color: var(--background-nav);
	width: 180px;
	height: 36px;
	color: var(--text-color);
}

.check1 input[type=text] {
	border: solid 1px var(--primary-color-main);
	background-color: var(--background-nav);
	padding: 4px 6px;
	width: 180px;
	height: 36px;
	color: var(--text-color);
}

.check1 input[type=date] {
	border: solid 1px var(--primary-color-main);
	background-color: var(--background-nav);
	height: 36px;
	color: var(--text-color);
}

input {
	color: #56445d;
}

div.center {
	margin-top: 20px;
}

.submit {
	cursor: pointer;
	border: none;
	background-color: #56445d;
	padding: 10px;
	width: 200px;
	color: #fff;
	font-size: 18px;
}

.submit:hover {
	background-color: #548687;
}


.inputsql {
	padding: 4px 6px;
	width: 100%;
}

:placeholder-shown {
	color: #548687;
}

table.result {
	border-collapse: collapse;
	width: 100%;
}

table.result th {
	background-color: #548687;
	padding: 4px;
	color: #fff;
}

table.result td {
	border: solid 1px #56445d;
	padding: 4px;
	color: var(--text-color);
}

@media screen and (min-width: 961px) {
	table.result td {
		width: 14%;
	}

	table.result td:nth-of-type(1) {
		width: 17%;
	}

	table.result td:nth-of-type(4) {
		width: 50%;
	}


	table.result tr:nth-of-type(2n) td {
		background-color: #f2ffe7;
		color: var(--text-color);
	}

	@media (prefers-color-scheme: dark) {
		html.Dark table.result tr:nth-of-type(2n) td {
			background-color: #515a49;
		}
	}
}

@media screen and (max-width: 960px) {
	article {
		margin-top: 20px;
		border: none;
		padding: 2%;
		width: 100%;
	}

	h1 img {
		width: 70%;
		max-width: 360px;
	}

	.check1>p {
		gap: 0px;
	}

	table.result {
		border-right: solid 1px #56445d;
		border-bottom: solid 1px #56445d;
	}

	table.result td {
		border-right: none;
		border-bottom: none;
		background-color: #fff;
	}

	table.result tr {
		display: flex;
		flex-wrap: wrap;
	}

	table.result td:nth-of-type(1) {
		background-color: #f2ffe7;
		width: 30%;
	}

	table.result td:nth-of-type(2) {
		background-color: #f2ffe7;
		width: 30%;
	}

	table.result td:nth-of-type(3) {
		background-color: #f2ffe7;
		width: 40%;
	}

	table.result td:nth-of-type(4) {
		width: 100%;
	}

	table.result th:nth-of-type(1),
	table.result th:nth-of-type(2) {
		width: 30%;
	}

	table.result th:nth-of-type(3) {
		width: 40%;
	}

	table.result th:nth-of-type(4) {
		width: 100%;
	}
}

/* デレステ歴史年表 */
.afacad {
	font-family: "Afacad Flux", sans-serif !important;
}


.db2 {

	/*	background-image: linear-gradient(67.5deg, rgb(215, 215, 215) 0%, rgb(215, 215, 215) 46%, rgb(198, 198, 198) 46%, rgb(198, 198, 198) 49%, rgb(181, 181, 181) 49%, rgb(181, 181, 181) 56%, rgb(164, 164, 164) 56%, rgb(164, 164, 164) 61%, rgb(146, 146, 146) 61%, rgb(146, 146, 146) 75%, rgb(129, 129, 129) 75%, rgb(129, 129, 129) 84%, rgb(112, 112, 112) 84%, rgb(112, 112, 112) 100%), linear-gradient(22.5deg, rgb(215, 215, 215) 0%, rgb(215, 215, 215) 46%, rgb(198, 198, 198) 46%, rgb(198, 198, 198) 49%, rgb(181, 181, 181) 49%, rgb(181, 181, 181) 56%, rgb(164, 164, 164) 56%, rgb(164, 164, 164) 61%, rgb(146, 146, 146) 61%, rgb(146, 146, 146) 75%, rgb(129, 129, 129) 75%, rgb(129, 129, 129) 84%, rgb(112, 112, 112) 84%, rgb(112, 112, 112) 100%), linear-gradient(112.5deg, rgb(215, 215, 215) 0%, rgb(215, 215, 215) 46%, rgb(198, 198, 198) 46%, rgb(198, 198, 198) 49%, rgb(181, 181, 181) 49%, rgb(181, 181, 181) 56%, rgb(164, 164, 164) 56%, rgb(164, 164, 164) 61%, rgb(146, 146, 146) 61%, rgb(146, 146, 146) 75%, rgb(129, 129, 129) 75%, rgb(129, 129, 129) 84%, rgb(112, 112, 112) 84%, rgb(112, 112, 112) 100%), linear-gradient(90deg, rgb(194, 200, 227), rgb(137, 139, 166));
	background-blend-mode: overlay, overlay, overlay, normal;
	*/
	min-height: 100vh;
}

.db2_main {
	display: flex;
	margin: 0 auto;
	box-shadow: 0px 0px 15px -5px #777777;
	background-color: #fff;
	width: 1100px;
	min-height: 100vh;
}

.db2_profile {
	position: sticky;
	top: 0;
	width: 340px;
}

.sls_modoru {
	display: flex;
	align-items: center;
	gap: 5px;
	margin: 20px 0 0 20px;
	border-radius: 8px;
	background-color: #D9D9D9;
	padding: 0px 10px 0 5px;
	width: fit-content;
	height: 40px;
	font-size: 14px;
}

.sls_modoru img {
	height: 18px;
}

.prof_main {
	margin-top: 10px;
	text-align: center;
}

.prof_main img {
	border-radius: 8px;
	width: 120px;
	height: 120px;
}

.mainname {
	margin-top: 10px;
	height: 30px;
	color: #2c2c2c;
	font-weight: 600;
	font-size: 25px;
	line-height: 30px;
	text-align: center;
}

.maineng {
	margin-top: 5px;
	color: #bebebe;
	font-weight: 500;
	font-size: 18px;
	line-height: 20px;
	text-align: center;
}


.prof_table {
	margin: 10px auto;
	border-top: solid 2px;
	border-collapse: collapse;
	width: 280px;
	table-layout: fixed;
	text-align: center
}

.sls_summary.cool,
.prof_table.cool {
	border-color: #4665c8;
}

.prof_table.cool th {
	color: #4665c8;
}

.sls_summary.passion,
.prof_table.passion {
	border-color: #bd8a1a;
}

.prof_table.passion th {
	color: #bd8a1a;
}

.sls_summary.cute,
.prof_table.cute {
	border-color: #d1598b;
}

.prof_table.cute th {
	color: #d1598b;
}

.sls_summary.staff,
.prof_table.staff {
	border-color: #2a7744;
}

.prof_table.staff th {
	color: #2a7744;
}

.sls_summary.collabo,
.prof_table.collabo {
	border-color: #666666;
}

.prof_table.collabo th {
	color: #666666;
}


.prof_table th {
	vertical-align: baseline;
	border-bottom: solid 1px #D9D9D9;
	padding: 7px 0;
	width: 110px;
	font-size: 14px;
	line-height: 20px;
}

.prof_table td {
	vertical-align: baseline;
	border-bottom: solid 1px #D9D9D9;
	padding: 7px 0;
	color: #2c2c2c;
	font-size: 14px;
	line-height: 20px;
}

.db2_history {
	display: flex;
	flex-direction: column;
	gap: 20px;
	border-left: solid 2px #4d4d4d;
	padding-top: 10px;
	padding-bottom: 15vh;
	padding-left: 20px;
}


.db2_history li::before {
	position: absolute;
	top: calc(50% - 4px);
	left: -25px;
	border-radius: 10px;
	background-color: #1e1e1e;
	width: 8px;
	height: 8px;
	content: "";
}

.db2_year {
	position: sticky;
	top: 0;
	z-index: 1;
	background-color: #fff;
	color: oklch(0.8 0 25);
	font-weight: 500;
	font-size: 100px;
	line-height: 80px;
	font-family: "Afacad Flux", sans-serif;
}

.db2_date {
	color: oklch(0.5 0 25);
	font-weight: 600;
	font-size: 20px;
	line-height: 20px;
	font-family: "Afacad Flux", sans-serif;
}

.db2_history .db2_year::before {
	top: calc(50% - 8px);
	left: -29px;
	width: 16px;
	height: 16px;
}

.db2_content {
	display: flex;
	position: relative;
	align-items: center;
	gap: 15px;
}

.db2_content img {
	width: 60px;
	height: 60px;
}

.db2_eventtype {
	color: #333;
	font-size: 14px;
	line-height: 20px;
}

.db2_eventname {
	color: #2c2c2c;
	font-weight: 600;
	font-size: 20px;
	line-height: 26px;
	text-align: left;
}

.idol_select {
	margin: 50px auto 30px;
	border: solid 1px #d9d9d9;
	padding: 6px;
	width: 400px;
	color: #1e1e1e;
	font-size: 16px;
}

.idol_select option {
	color: #1e1e1e;
}

.sls_form_type {
	display: flex;
	justify-content: center;
	gap: 30px;

}

.sls_form_type input {
	display: none;
}


.sls_btn img {
	filter: contrast(70%) grayscale(40%);
	cursor: pointer;
	width: 180px;
}

.sls_btn img:hover {
	filter: contrast(85%) grayscale(0%);
}

input[type="radio"]:checked+.sls_btn img {
	filter: none;
}

.sls_details {
	margin: 20px auto;
	width: 280px;
}

.sls_summary {
	cursor: pointer;
	border: solid 2px;
	border-radius: 6px;
	padding: 7px;
	font-size: 15px;
	line-height: 1;
}


@media screen and (max-width:960px) {}

@media screen and (max-width:640px) {
	.sls_form_type {
		flex-wrap: wrap;
		gap: 5vw;
	}

	.sls_btn {
		width: fit-content;
	}

	.sls_btn img {
		width: 40vw;
	}

	.idol_select {

		margin: 20px auto;
		width: 85vw;
	}

	.idol_select option {
		width: auto;
	}

	.sls_modoru {
		display: none;
		margin: 15px 0 0 15px;
		height: 30px;
	}

	.sls_modoru img {
		height: 14px;
	}

	.db2_main {
		flex-direction: column;
	}

	.db2_profile {
		position: relative;
		width: 100vw;
	}

	.prof_main {
		display: grid;
		grid-template-rows: auto;
		grid-template-columns: 20vw auto;
		grid-column-gap: 0px;
		grid-row-gap: 0px;
		align-items: center;
		margin: 15px 15px 0;
		width: auto;
	}

	.prof_main img {
		grid-area: 1 / 1 / 3 / 2;
		width: 20vw;
		height: 20vw;
	}

	.prof_main .mainname {
		grid-area: 1 / 2 / 2 / 3;
		margin-top: 15px;
	}

	.prof_main .maineng {
		grid-area: 2 / 2 / 3 / 3;
		margin: 0 0 5px;

	}

	.prof_table {
		margin: 20px 15px auto;
		width: calc(100% - 30px);
	}

	.prof_table th, .prof_table td {
		padding: 6px 0;
		font-size: 13px;
		line-height: 18px;
	}

	.db2_main>div:last-child {
		margin: 15px;
	}

	.db2_history {
		gap: 15px;
		padding-left: 15px;
	}

	.db2_history li::before {

		left: -20px;
	}

	.db2_history .db2_year::before {

		left: -22px;
	}

	.db2_content img {
		width: 12vw;
		height: 12vw;
	}

	.db2_year {
		margin-left: -2px;
		font-size: 75px;
		line-height: 65px;
	}

	.db2_date {
		font-size: 18px;
		line-height: 18px;
	}

	.db2_eventtype {
		font-size: 12px;
		line-height: 18px;
	}

	.db2_eventname {
		font-size: 16px;
		line-height: 1.4;
	}

	.sls_details {
		margin: 15px;
		width: auto;
	}

	.sls_summary {
		border-radius: 6px;
		padding: 6px;
		font-size: 13px;
	}


}