@charset "UTF-8";

/* L1 ########################################  ######################################## */
/* L2 ****************************************  **************************************** */
/* L3 ========================================  ======================================== */
/* L4 ----------------------------------------  ---------------------------------------- */

:target {
	scroll-margin-top: 8em;
}

/* L1 ######################################## particle js ######################################## */

#particles::before {
	content: "";
	position: fixed;
	z-index: 0;
	inset-block-start: 0;
	inset-inline-start: 0;
	inline-size: 100%;
	block-size: 100%;
	background: rgba(255, 255, 255, 0.8);
}

/* L1 ######################################## ショートカット ######################################## */

#shortcut {
	list-style-type: none;
	display: flex;
	gap: 2px;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	margin: 0;
	padding-block: 8px;
	padding-inline: 0 2%;
	background-color: #ae9c5e;
	background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 50%, transparent 50%), linear-gradient(to right, rgba(0, 0, 0, 0.05) 50%, transparent 50%);
	background-size: 3px 3px;
}

#shortcut li {
	padding: 0;
	font-family: "Ubuntu Condensed", sans-serif;
	font-size: clamp(0.7rem, 0.482rem + 1.09vw, 1.3rem);
	border-radius: 5px;
	background: #ffffff;
	background-image: linear-gradient(0, rgba(0, 0, 0, 0.02) 0, rgba(0, 0, 0, 0.01) 100%);
}

#shortcut li a {
	display: block;
	padding: 0 0.4em;
	color: #008ccf !important;
	text-decoration: none;
}

/* L1 ######################################## テイチク社史 ######################################## */

#history {
	display: flex;
	flex-direction: column;
	gap: 1em;
    position: relative;
	max-inline-size: 1200px;
    margin: 3em auto;
}

/* L2 **************************************** イントロダクション **************************************** */

#intro {

}

#intro div.title {
	font-family: "Zen Maru Gothic", sans-serif;
	font-weight: bold;
	text-align: center;
	line-height: 1.4;
}

#intro div.title .main {
	color: #008ccf;
	font-size: 280%;
	text-shadow: 2px 2px 0 #ffffff, -2px -2px 0 #ffffff, -2px 2px 0 #ffffff, 2px -2px 0 #ffffff, 0px 2px 0 #ffffff,  0 -2px 0 #FFF, -2px 0 0 #ffffff, 2px 0 0 #ffffff;
}

#intro div.title .main,
#intro div.title .main span.br {
	text-decoration: underline;
	text-decoration-thickness: 0.4em;
	text-decoration-color: #eeeeee;
	text-underline-offset: -0.2em;
	text-decoration-skip-ink: none;
}

#intro div.title .sub {
	font-size: 130%;
}

#intro .time {
	inline-size: fit-content;
	margin: 1em auto;
	padding: 0.2em 1em;
	color: #ffffff;
	font-size: 150%;
	text-align: center;
	background: #cc0000;
	border-radius: 2em;
}

#intro .main-image {
	inline-size: fit-content;
	margin: 2em auto;
}

#intro .main-image figure {
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#intro .main-image img {
	max-inline-size: 750px;
	inline-size: 100%;
	block-size: auto;
}


#intro ul {
	position: relative;
	inset-inline-start: -15px;
	inline-size: fit-content;
	margin: 2em auto;
}

#intro ul li:first-child::before {
	content: "\f05a  more";
	margin-inline-end: 0.3em;
	padding: 0.3em 0.5em;
	color: #ffffff;
	font-family: "Ubuntu Condensed", "Font Awesome 6 Free";
	font-weight: 800;
	text-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
	border-radius: 20px;
	background: rgba(252, 132, 22, 0.95);
}


/* L2 **************************************** 年別セクション **************************************** */

#history section {
	display: flex;
	gap: 1em;
}

@media (max-width: 768px) {
	#history section {
		display: block;
	}
}


#history > section:nth-child(even) {
	flex-direction: row-reverse;
}

/* L2 **************************************** 西暦・和暦 **************************************** */

#history .year {
	flex-shrink: 0;
	z-index: 10;
	line-height: 1.0;
}

@media (max-width: 768px) {
	#history .year {
		position: sticky;
		inset-block-start: 8em;
		margin-inline: -4%;
		padding: 0.5em;
		background: rgba(255, 255, 255, 0.98);
		background-image: linear-gradient(0, rgba(0, 0, 0, 0.02) 0, rgba(0, 0, 0, 0.01) 100%);
		border-block: 1px solid #cccccc;
	}
}

section h1 {
	position: sticky;
	width: fit-content;
	margin-inline: auto;
	inset-block-start: 8em;
}

section h1 span.ad {
	display: block;
	color: #999999;
	padding-inline-end: 0.2em;
	font-family: "Ubuntu Condensed", sans-serif;
	font-size: clamp(1.25rem, -1.932rem + 15.91vw, 10rem);
	font-style: italic;
	text-align: center;
	letter-spacing: -0.05em;
}

section h1 span.ja {
	display: block;
	position: relative;
	margin-block-start: -0.7em;
	color: #008ccf;
	font-family: "Zen Maru Gothic", sans-serif;
	font-size: clamp(0.688rem, -0.062rem + 3.75vw, 2.75rem);
	font-weight: bold;
	text-align: right;
	text-shadow: 2px 2px 0 #ffffff, -2px -2px 0 #ffffff, -2px 2px 0 #ffffff, 2px -2px 0 #ffffff, 0px 2px 0 #ffffff,  0 -2px 0 #ffffff, -2px 0 0 #ffffff, 2px 0 0 #ffffff;
}

@media (max-width: 768px) {
	section h1 span.ja {
		margin-block-start: -0.1em;
		text-align: center;
		text-shadow: none;
	}
}

section h2 {
	block-size: fit-content;
	margin-block: 1em;
	margin-inline-end: auto;
	inset-block-start: 5em;
	font-size: 130%;
	letter-spacing: 0.5em;
	text-decoration: underline;
	text-decoration-thickness: 0.4em;
	text-decoration-color: #eeeeee;
	text-underline-offset: -0.2em;
	text-decoration-skip-ink: none;
}

section h2::before {
	margin-inline-end: 0.3em;
	font-family: "Font Awesome 6 Free";
	font-weight: 800;
}

section .history h2::before {
	content: "\f022";
}

section .release h2::before {
	content: "\f51f";
}

/* L2 **************************************** 内容 **************************************** */

#history .contents {
	inline-size: 100%;
}

/* L3 ======================================== 主なできごと ======================================== */


#history .history ul {
	list-style-type: none;
	padding-inline-start: 0;
	font-size: 110%;
	border-top: 1px dotted #cccccc;
}

#history .history li {
	display: flex;
	align-items: center;
	padding-block: 0.6em;
	border-bottom: 1px dotted #cccccc;
}

#history .history li:nth-child(odd) {
	background: rgba(0, 0, 0, 0.005);
}

#history .history li:nth-child(even) {
	background: rgba(0, 0, 0, 0.02);
}

#history .date {
	flex-shrink: 0;
	inline-size: 5.5em;
	text-align: center;
}

#history .event {
	padding-inline-start: 0.8em;
	border-left: 1px solid #cccccc;
}

/* L3 ======================================== 主なリリース ======================================== */

#history .release ul {
	list-style-type: none;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 5px;
	padding-inline-start: 0;
}

#history .release li {
	position: relative;
	display: grid;
	grid-template-rows: subgrid;
	grid-row: span 2;
	row-gap: 0;
	border: 1px solid #cccccc;
	background: rgba(240, 240, 240, 0.85);
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
}

#history .release li:has(.jacket) {
	grid-row: span 3;
}

#history .release li:has(.jacket):not([data-no-popup]) {
	cursor: pointer;
}

#history .release span {
	padding-inline: 6%;
}

#history .release .artist {
	padding-block-start: 0.4em;
	color: #008ccf;
	font-weight: bold;
}

#history .release .music {
	padding-block-end: 0.4em;
}

#history .music::before {
	content: "\f001";
	margin-inline-end: 0.3em;
	font-family: "Font Awesome 6 Free";
	font-weight: 800;
}

#history .release .jacket {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	background: #000000;
}

#history .release li:not([data-no-popup]):not([data-only-jacket]) .jacket::after {
	content: "\f05a  more";
	position: absolute;
	inset-block-end: 5px;
	inset-inline-end: 5px;
	padding: 0.1em 4%;
	color: #ffffff;
	font-family: "Ubuntu Condensed", "Font Awesome 6 Free";
	font-size: 100%;
	font-weight: 800;
	text-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
	border-radius: 20px;
	background: rgba(252, 132, 22, 0.95);
	animation: vibration 5s infinite;
}

@keyframes vibration {
	0% { transform: translate(0px, 0px) rotateZ(0deg) }
	94% { transform: translate(0px, 0px) rotateZ(0deg) }
    94.5% { transform: translate(1px, 1px) rotateZ(1deg) }
    95% { transform: translate(0px, 1px) rotateZ(0deg) }
    95.5% { transform: translate(1px, 0px) rotateZ(-1deg) }
    96% { transform: translate(0px, 0px) rotateZ(0deg) }
    96.5% { transform: translate(1px, 1px) rotateZ(1deg) }
    97% { transform: translate(0px, 1px) rotateZ(0deg) }
    97.5% { transform: translate(1px, 0px) rotateZ(-1deg) }
    98% { transform: translate(0px, 0px) rotateZ(0deg) }
    98.5% { transform: translate(1px, 1px) rotateZ(1deg) }
    99% { transform: translate(0px, 1px) rotateZ(0deg) }
    99.5% { transform: translate(1px, 0px) rotateZ(-1deg) }
    100% { transform: translate(0px, 0px) rotateZ(0deg) }
}

#history .release li.loaded img {
	block-size: auto;
	inline-size: 100%;
}

#history .release  li.loaded img.tall {
	max-block-size: 200px;
	block-size: auto;
	inline-size: auto;
}

#history .release img[src$=".gif"] {
	background-size: cover;
}

#history .release img[src$="TECH-8.gif"] { background-image: url(https://www.teichiku.co.jp/artist/kan8/discography/jacket/genuine/TECH-8.jpg); }
#history .release img[src$="TECH-18.gif"] { background-image: url(https://www.teichiku.co.jp/artist/kan8/discography/jacket/genuine/TECH-18.jpg); }
#history .release img[src$="TECH-38.gif"] { background-image: url(https://www.teichiku.co.jp/artist/kan8/discography/jacket/genuine/TECH-38.jpg); }
#history .release img[src$="TECI-8005.gif"] { background-image: url(https://www.teichiku.co.jp/artist/kan8/discography/jacket/genuine/TECI-8005.jpg); }
#history .release img[src$="TECI-804.gif"] { background-image: url(https://www.teichiku.co.jp/artist/kan8/discography/jacket/genuine/TECI-804.jpg); }

/* L1 ######################################## 作品詳細 ######################################## */

#detail {
	display: flex;
	justify-content: center;
	align-items: center;
	position: fixed;
	inset-block-start: 0;
	inset-inline-start: 0;
	block-size: 100%;
	inline-size: 100%;
	padding-inline: 0;
	z-index: 300;
	color: #ffffff;
	background: transparent;
	transition: background-color 0.3s linear;
}

#detail.opened {
	background: rgba(0, 0, 0, 0.85)
}

#detail .close-button {
	position: absolute;
	inset-block-start: 15px;
	inset-inline-end: 20px;
}

#detail > i {
	font-size: 200%;
}

#detail .container {
	overflow: hidden;
	inline-size: 0;
	padding-inline: 2%;
	transform: scale(0);
	transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#detail .container.opened {
	inline-size: auto;
	transform: scale(1);
}


#detail .artist-music {
	margin-block-end: 1em;
	padding: 0.4em 1em;
	font-size: 120%;
	font-weight: bold;
	background: #008ccf;
}

#detail .media {
	display: flex;
	justify-content: center;
	gap: 5px;
	text-align: center;
}

@media (max-aspect-ratio: 1/1) {
	#detail .media {
		flex-direction: column;
		max-inline-size: 45vh;
		inline-size: 90vw;
		margin-inline: auto;
	}
}

#detail .media a {
	display: inline-block;
	position: relative;
}

#detail .media a::after {
	content: "\f0c1";
	position: absolute;
	inset-block-start: 0.4em;
	inset-inline-end: 0.2em;
	margin-inline-end: 0.3em;
	font-family: "Font Awesome 6 Free";
	font-size: 150%;
	font-weight: 800;
	text-shadow: 0 0 10px rgba(0, 0, 0, 1.0);
}

#detail .media img {
	max-block-size: 400px;
	block-size: 30vw;
	inline-size: auto;
	border: 1px solid #ffffff;
}

@media (max-aspect-ratio: 1/1) {
	#detail .media img {
		max-block-size: none;
		block-size: auto;
		inline-size: 100%;
	}
	
	#detail .media img.tall {
		max-block-size: none;
		block-size: 45vh;
		inline-size: auto;
	}
}

@media (min-aspect-ratio: 1325/725) {
	#detail .media img {
		block-size: 55vh;
	}
}

#detail .youtube {
	overflow: hidden;
	margin-inline: auto;
	border: 1px solid #ffffff;
}

@media (max-aspect-ratio: 1/1) {
	#detail .youtube {
		inline-size: 100%;
	}
}

#detail iframe {
	inline-size: auto;
	max-block-size: 400px;
	block-size: 30vw;
	aspect-ratio: 16/9;
}

@media (max-aspect-ratio: 1/1) {
	#detail iframe {
		max-block-size: none;
		block-size: auto;
		inline-size: 100%;
	}
}

@media (min-aspect-ratio: 1325/725) {
	#detail iframe {
		block-size: 55vh;
	}
}
