@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic&display=swap');
:root {
    --bg-color: #b9e6f0;
    --dark-color: #222222;
    --accent-color: #e8ae3a;
    scroll-behavior: smooth;
	color: var(--dark-color);
}
#bg-image {
    position: fixed;
    top: -15vw;
    right: -150%;
    width: 300%;
    height: 300%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.1;
    background-attachment: fixed;
    transition: all 0.2s;
}
body {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    font-family: "Zen Maru Gothic", serif;
    font-weight: 400;
    font-style: normal;
	/* font-family: "momochidori", sans-serif;
	font-weight: 400;
	font-style: normal; */
    background-color: var(--bg-color);
}
a {
	color: initial;
}
i {
	display: block;
	height: 100%;
	margin: 0 auto;
}
header {
    width: 100%;
    height: 55px;
    background-color: #ffffff;
	display: flex;
	justify-content: center;
	flex-direction: row;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 999;
}
header div {
	margin: 0 auto;
	width: auto;
	display: flex;
	justify-content: center;
}
.hamburger {
  width: 30px;
  height: 30px;
  position: absolute;
  top: 11px;
  left: 15px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger i {
  display: flex;
  justify-content: center;
  text-align: center;
  line-height: 30px;
  width: 30px;
  height: 30px;
  position: absolute;
  top: 0;
  left: 0;
  transition: 0.4s;
}
.hamburger i:nth-child(2) {
	opacity: 0;
}

/* クリック時の変形 */
.hamburger.active i:nth-child(1) {
  transform: rotate(360deg);
  opacity: 0;
}
.hamburger.active i:nth-child(2) {
  transform: rotate(360deg);
  opacity: 1;
}
#sidebar {
	width: 55%;
	height: 100%;
	position: fixed;
	top: 0;
	left: -100%;
	background-color: #ffffff;
	z-index: 99;
	transition: 0.8s;
}
#sidebar.active {
	left: 0;
}
#sidebar a {
	text-decoration: none;
}
#sidebar section {
	width: 70%;
	height: 100%;
	display: flex;
	justify-content: left;
	flex-direction: column;
	margin: 0 auto;
	margin-top: 55px;
	padding: 10% 5%;
}
#sidebar section div {
    height: 5%;
    justify-content: center;
    display: flex;
	border-bottom: solid 1px var(--dark-color);
	cursor: pointer;
	transition: all 0.5s;
}
#sidebar section div:hover {
	background-color: #eeeeee;
}
#sidebar section div a {
	width: 96%;
	height: 2rem;
	display: block;
	padding: 5% 2%;
	text-align: left;
}

.logo {
	display: block;
	margin: 0 auto
}
main {
	margin-top: 55px;
    width: 90%;
    height: 100%;
	padding: 0 5%;
}
#live-status {
	position: relative;
	z-index: 98;
}
#welcome-message {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
	transition: all 1s;
	opacity: 0;
}
.announce-modal {
	position: relative;
	top: 37.5%;
	left: 12.5%;
	z-index: 9999;
	background-color: #ffffff;
	width: 65%;
	height: 25%;
	border-radius: 10px;
	padding: 7% 5%;
	text-align: center;
	display: flex;
	justify-content: space-around;
	align-items: center;
	flex-direction: column;
}
.announce-modal p {
	margin: 4% 0;
}
/* 表示状態（フェードイン） */
#welcome-message.show {
  opacity: 1;
}
/* 非表示状態（フェードアウト） */
#welcome-message.hide {
  opacity: 0;
}

button {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	border-style: none;
	width: auto;
	height: 2rem;
	padding: 2% 5%;
	border-radius: 16px;
	cursor: pointer;
}

input[type="text"] {
	margin: 5% auto;
	width: auto;
	height: 2rem;
	border-radius: 16px;
	padding: 0 3%;
	border: 1px solid var(--dark-color);
	transition: all 1s;
}
.form-container {
	width: 80%;
	margin: 0 auto;
	padding: 5% 8%;
	border-radius: 10px;
	background-color: #ffffff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.btn-primary {
	background-color: #3377ff;
	color: #ffffff;
	transition: all 0.2s;
}
.btn-primary:hover {
	background-color: #1155dd;
}
.btn-primary:active {
	transform: scale(120%);
}
.bg {
	width: 100vw;
	height: 100vh;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 0;
	background-color: black;
	opacity: 0.5;
	cursor: pointer;
}
.label-container {
	width: 90%;
	margin: 5% auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
	border-top: 1px solid var(--dark-color);
}
.label-container h2 {
	margin-bottom: 1%;
}
.label-container p {
	margin-top: 1%;
}
#live-status {
	margin: 0 auto;
}
section:has(.character-container) {
    width: 95%;
    height: 95%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.preview-icon {
    display: none;
    overflow: hidden;
}
.character-container {
    width: 100%;
    height: 100%;
}
.character-container img {
	display: block;
	margin: 0 auto;
}
.character-container div {
	position: absolute;
	background-color: none;
	opacity: 1;
	width: 350px;
	height: 450px;
	top: 280px;
	left: 50%;
	transform: translate(-50%, -50%);
}
#play-sound-btn {
	background-color: none;
	opacity: 0.8;
	width: 20%;
	height: 8%;
	position: relative;
	top: 35%;
	left: 50%;
	transform: translateX(-55%);
}
.name-container {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}
.name-container * {
	height: 1rem;
    display: block;
    margin: 2% auto;
}
.link-container {
	width: 70%;
	margin: 3% auto;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}
.link-container a {
	width: 40px;
	height: 100%;
	margin: auto 1%;
	display: flex;
	justify-content: center;
	align-items: center;
	text-decoration: none;
	color: initial;
	transition: all 0.2s;
}
.link-container a:hover {
	transform: scale(120%);
}
.profile-msg-container {
	width: 90%;
	margin: 0 auto;
	text-align: center;
}
.data-container {
	width: 80%;
	margin: 2% auto;
	padding: 5% 8%;
	border-radius: 10px;
	background-color: #ffffff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.archives-container {
	display: flex;
	width: 80%;
	height: 65vh;
	margin: 0 auto;
	overflow-y: hidden;
	padding: 5% 8%;
	border-radius: 10px;
	background-color: #ffffff;
}
.archives-container div * {
	width: 100%;
	text-decoration: none;
	text-overflow: ellipsis;
}
.playlist-grid {
	display: flex;
	width: 100%;
	height: 100%;
	flex-direction: column;
	flex-wrap: nowrap;
	overflow-y: scroll;
}
.video-card {
	width: 50%;
	margin-bottom: 3%;
	border-bottom: 1px solid var(--dark-color);
}
.video-card a {
	height: 1rem;
}
.video-card a p {
	height: 100%;
	margin: 0;
}
.data-row {
	width: 100%;
	margin: 4% 0;
	padding-bottom: 4%;
	margin-top: 0;
	display: flex;
	flex-direction: row;
	justify-content: left;
	border-bottom: 1px solid var(--dark-color);
}
.data-title {
	width: 7rem;
	margin-right: 2%;
	text-align: left;
	border-right: 1px solid var(--dark-color);
}
.data {
	margin-right: 0;
	text-align: left;
}
.story-container {
	width: 85%;
	height: 45vh;
	margin: 2% auto;
	padding: 5% 5%;
	border-radius: 10px;
	background-color: #ffffff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	overflow: hidden;
	text-align: center;
}
.story-container div {
	width: 100%;
	height: 100%;
	overflow-y: scroll;
	margin: 0 auto;
}

footer {
	margin-top: 15%;
	width: 100%;
	height: 16vh;
	background-color: #ffffff;
	display: flex;
	justify-content: center;
	flex-direction: column;
}
footer .link-container {
	margin: 0 auto;
	justify-content: center;
	align-items: center;
}
footer .link-container a i {
	line-height: 50px;
}
.credit-container {
	height: 2rem;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
}
.join-content:first-child {
	border-top: solid 1px var(--dark-color);
}
.join-content {
	padding: 2% 0;
	width: 95%;
	text-align: center;
	border-bottom: solid 1px var(--dark-color);
}
.join-content :is(h2, p) {
	margin: 1% 0;
}
.join-content .btn-primary {
	margin: 2% auto;
}
@media screen and (min-width:760px) {
	#sidebar {
		width: 30vw;
	}
	#bg-image {
		top: -15vw;
		right: -100%;
		width: 200%;
		height: 200%;
	}
}
@media screen and (min-width:1024px) {
	main {
		width: 75%;
		margin: 0 auto;
		margin-top: 55px;
	}
	#sidebar {
		width: 25vw;
	}
	#bg-image {
    	top: -15vw;
		right: -75%;
		width: 150%;
		height: 150%;
	}
}

.map-container {
	width: 100%;
	height: 800px;
	margin: 0;
}
.map-container iframe {
	display: block;
	width: 90%;
	height: 100%;
	margin: 0 auto;
	border-radius: 16px;
	border-style: none;
}

div:has(.title-hebikura) {
	width: 50%;
	height: 100%;
	margin: 0 auto;
	display: flex;
	justify-content: center;
}
.title-hebikura {
	display: block;
	width: 100%;
	height: 100%;
}
.intro-container {
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
}