@charset "UTF-8";
/* CSS Document */
h1{
	margin: 0;
}
h2{
	font-size: 2.8rem;
	letter-spacing: .2rem;
    position: absolute;
    text-align: center;
    top: 1.4rem;
    right: 0;
    left: 0;
	margin: 0;
    z-index: 99;
}
h2 span{
	display: block;
	color: #f7089c;
	font-size: 1rem;
}
@media screen and (min-width: 768px) {
h2 span{
	display: block;
	color: #f7089c;
	font-size: 1.5rem;
}
}
#character h2{
    font-size: 2.8rem;
    letter-spacing: .2rem;
    position: absolute;
    text-align: center;
    top: -1.8rem;
    right: 0;
    left: 0;
    margin: 0;
    z-index: 99;
}
section{
	position: relative;
	padding: 32px 16px;
}
section#mv{
    margin-bottom: 16px;
	padding: 0;
}
section#character{
	padding: 0 16px 16px;
}
.box{
	padding: 32px 16px 16px;
	border-radius: 8px;
	background-color: #fff;
}
@media screen and (min-width: 768px) {
    .box {
        padding: 60px 40px 40px;
    }
}
#about .box {
    padding: 32px 16px 24px;
    border-radius: 8px;
    background-size: cover;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: left;
}
@media screen and (min-width: 768px) {
    #about .box {
        padding: 60px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    #about h3 {
        font-size: 3rem;
        margin-bottom: 30px;
    }
    #about p {
        font-size: 1.8rem;
        max-width: 800px;
        line-height: 1.8;
        margin-bottom: 40px;
    }
}
#about p{
	color: #fff;
	text-shadow: 2px 2px 0px #666, -2px 2px 0px #666, 2px -2px 0px #666, -2px -2px 0px #666;
}
#about a, .btn-common {
	display: flex;
    justify-content: space-evenly;
    align-items: center;
	text-align: center;
	text-decoration: none;
	width: 120px;
	margin: auto;
	padding: 1rem 4rem 1rem 3rem;
	font-weight: bold;
	background: #f7089c;
	color: #fff;
	border-radius: 100vh;
	position: relative;
	transition: 0.5s;
}
#about a::before, .btn-common::before {
	content: '';
	width: 7px;
	height: 7px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	transform: rotate(45deg);
}
#about a:hover, .btn-common:hover {
	background: #fa6bc3;
	color: #fff;
}
#about img{
	width: 30%;
    margin: 0 35%;
}
#about h3{
    text-align: center;
    font-weight: 700;
    font-size: 2rem;
    color: #fff;
    text-shadow: 5px 5px 10px #f7089c, -5px 5px 10px #f7089c, 5px -5px 10px #f7089c, -5px -5px 10px #f7089c;
}
#character .box{
	padding: 0 0 16px 0;
}
#character .box img{
	border-radius: 8px 8px 0 0;
}
#character p{
	position: relative;
	padding: 0 16px;
}
#character p:first-child{
	padding: 0;
}
#character .open-modal-btn{
    width: 50px;
    height: 50px;
    padding: 8px 13px;
    border-radius: 50%;
    border: 0;
    position: absolute;
    bottom: 10px;
    right: 10px;
	background-color: #f3f3f6;
}
#character h3{
	color: #f7089c;
	font-size: 2.8rem;
	letter-spacing: .2rem;
    text-align: center;
    top: 1.4rem;
    right: 0;
    left: 0;
	margin: 0;
}
#character h3 span{
	display: block;
	font-size: 1rem;
}

/* Tabs */
.tab-content {
	display: none;
}
.tab-content.active {
	display: block;
}
.tab-buttons {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 20px;
	flex-wrap: wrap;
}
.tab-buttons button {
	padding: 5px;
	border: 2px solid #ddd;
	background: #fff;
	cursor: pointer;
	border-radius: 8px;
	width: 60px;
	height: 60px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}
.tab-buttons button:disabled {
	border-color: #f7089c;
	cursor: default;
}
.tab-buttons button img {
	max-width: 100%;
	max-height: 100%;
	object-fit: cover;
}
@media screen and (min-width: 768px) {
    #character .box {
        padding: 60px 40px 40px;
        display: flex;
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }
    #character .box img{
        border-radius: 8px;
    }
    .tab-content {
        width: 100%;
        display: none;
    }
    .tab-content.active {
        display: flex;
        flex-direction: row;
        gap: 60px;
        align-items: center;
    }
    .tab-content p:first-child {
        width: 40%;
        flex-shrink: 0;
        margin: 0;
    }
    .tab-content .char-info {
        flex: 1;
        text-align: left;
    }
    #character h3 {
        font-size: 3.8rem;
        margin-bottom: 20px;
    }
    .tab-buttons {
        width: 100%;
        flex-direction: row;
        justify-content: center;
        margin-top: 20px;
        gap: 20px;
    }
    .tab-buttons button {
        width: 80px;
        height: 80px;
    }
}

#book h3{
	color: #333;
	text-shadow: none;
}
#book .image-container{
	text-align: center;
}
#book img{
	width: 50%;
}
@media screen and (min-width: 768px) {
    #book .box {
        display: flex;
        gap: 40px;
        align-items: center;
        flex-wrap: wrap;
    }
    #book h3 {
        width: 100%;
        text-align: left;
        font-size: 2.4rem;
    }
    #book .image-container {
        width: 300px;
        flex-shrink: 0;
    }
    #book .image-container img {
        width: 100%;
    }
    #book .book-info {
        flex: 1;
        text-align: left;
    }
    #book p {
        margin-bottom: 30px;
    }
    #book .btn-common {
        margin: 0;
    }
}
#staff dl, #spec dl {
    display: flex;
    flex-wrap: wrap;
}
#staff dl dt, #spec dl dt{
	width: 30%;
	margin: 0 0 5px;
    font-weight: bold;
}
#staff dl dd, #spec dl dd{
	width: 70%;
	margin: 0 0 5px;
    margin-inline-start: 0;
}
@media screen and (min-width: 768px) {
    #staff dl, #spec dl {
        display: grid;
        grid-template-columns: 200px 1fr;
        gap: 15px 20px;
        margin: 0 200px;
    }
    #staff dl dt, #spec dl dt, #staff dl dd, #spec dl dd {
        width: auto;
        margin: 0;
    }
}
.modal {
	display: none;
	position: fixed;
	z-index: 1;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgb(0, 0, 0);
	background-color: rgba(0, 0, 0, 0.4);
	z-index: 100;
}
.modal-content {
	background-color: #fefefe;
	margin: 15% auto;
	padding: 20px;
	border: 1px solid #888;
	width: 80%;
	border-radius: 8px;
}
.wrapper .modal-content {
    width: 410px;	
}
.close-btn {
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
}
.close-btn:hover,
.close-btn:focus {
	color: black;
	text-decoration: none;
	cursor: pointer;
}
.modal-open {
	overflow: hidden;
}