@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
:root {
	--bg-color: #dfdfdf;
	--bg-color-focus: color-mix(in srgb, var(--bg-color) 70%, #000000 30%);
	--base-color: #ffffff; 
	--base-color-focus: color-mix(in srgb, var(--base-color) 70%, #000000 30%);
	--dark-color: #222222;
	--dark-color-focus: color-mix(in srgb, var(--dark-color) 70%, #000000 30%);
	--accent-color: #0097e6;
	--accent-color-focus: color-mix(in srgb, var(--accent-color) 70%, #000000 30%);
	scroll-behavior: smooth;
}
#loader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: white;
	opacity: 1;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
}
#content {
    display: none;
}
.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}
.btn {
    border-radius: 30px;
}
p {
    font-size: clamp(1rem, 3vw, 130%);
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins',sans-serif;
}
body{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: var(--bg-color);
}
header {
    width: 100%;
    height: 8vh;
    background-color: var(--dark-color);
    position: absolute;
    top: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding-top: 0.5rem;
}
#home .title-container a h1 {
    font-size: 190%;
    font-weight: bold;
    color: #fff;
}
.login-icon {
    position: absolute;
    right: 1%;
    width: 4.5vh;
    height: 4.5vh;
    padding: 0 1%;
    border-radius: 50%;
    color: var(--base-color);
    background-color: var(--accent-color);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .2s;
    display: none;
}
.login-icon:hover {
    width: 8rem;
    border-radius: 50px;
}
.login-icon i {
}
.login-icon p {
    position: relative;
    right: 10%;
    display: block;
}
.login-icon:hover .login-icon p {
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
}
main .title-container {
    margin: 5% auto 0 auto;
}
main {
    width: 100%;
    height: auto;
    position: absolute;
    top: 8vh;
    margin: 0 auto;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.active-tab {
    opacity: 1;
    display: block;
}
/* footer {
    width: 100%;
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    margin: 0 auto;
    z-index: 100;
} */
footer {
    width: 100%;
    height: 8vh;
    background-color: var(--dark-color);
    margin: 0 auto;
	margin-top: 25%;
    color: var(--base-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
	position: relative;
	bottom: 0;
}
footer p {
    display: block;
    margin: 0;
	color: var(--base-color);
    font-size: 0.8rem;
}
.border-line {
    width: 90vw;
    height: 3px;
	border-top: solid 2px var(--dark-color);
    margin: 5% auto;
}
main .icon {
    display: block;
    margin: 0 auto;
    margin-bottom: 7%;
}
.icon .icon {
    border-radius: 50%;
    border:  6px solid var(--accent-color);
    transition: .2s;
}
.text-wrapper {
    padding: 0 5%;
}
.top-wrapper, .middle-wrapper {
    width: 90%;
    margin: 10% auto;
    text-align: center;
}
.top-wrapper h1, .middle-wrapper h1 {
    font-size: 5vw;
}
.bottom-wrapper {
    width: 90%;
    margin: 10% auto;
    text-align: center;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.bottom-wrapper div {
    width: 40%;
    height: 30%;
    background-color: var(--accent-color);
    border-radius: 16px;
    margin: 0 2%;
    padding: 2% 0;
    color: var(--base-color);
    cursor: pointer;
    transition: all .5s;
    box-shadow: 5px 5px 25px 5px var(--accent-color-focus);
}
.bottom-wrapper div:hover {
    transform: scale(110%);
}
.gray-out {
    background-color: gray;
}
@media screen and (min-width:767px) and (max-width:1023px) {
    .top-wrapper h1, .middle-wrapper h1 {
        font-size: 4vw;
    }
	.main-wrapper {
		width: 50%;
		margin:0 auto;
		overflow-x: hidden;
	}
}
@media screen and (min-width:1024px) {
    .top-wrapper h1, .middle-wrapper h1 {
        font-size: 3vw;
    }
	.main-wrapper {
		width: 50%;
		margin:0 auto;
		overflow-x: hidden;
	}
} 
@media screen and (max-width:767px) {
    .bottom-wrapper {
        width: 90%;
        margin: 10% auto;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .bottom-wrapper div {
        width: 80%;
        height: 30%;
        background-color: var(--accent-color);
        border-radius: 16px;
        margin: 2% 2%;
        padding: 2% 0;
        color: var(--base-color);
        cursor: pointer;
        transition: all .5s;
    }
}
    .profile {
        width: 100%;
        height: auto;
        margin: 5% auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    .name-container {
        display: flex;
        width: 90%;
        height: auto;
        text-align: center;
        position: relative;
        bottom: 50px;
    }
    .name-change {
        width: 1.5em;
        height: 1.5em;
        position: relative;
        top: 0.4em;
        right: 30vw;
    }
    .name-container h1 {
        position: relative;
        left: 0.3em;
        right: 0;
        display: block;
        width: auto;
        height: auto;
        margin: 0 auto;
    }
    .icon-container {
        width: 40px;
        height: 40px;
        position: relative;
        bottom: 45px;
        right: -17vw;
        font-size: 1.7em;
        background-color: var(--base-color);
        border-radius: 50%;
        text-align: center;
        vertical-align: middle;
        border: 6px solid var(--accent-color);
        transition: .2s;
        cursor: pointer;
    }
    .icon-container:active {
        transform: scale(120%);
    }
    .icon .icon:active {
        transform: scale(120%);
    }
    .icon-container * {
        transform: translateY(0.5px);
    }
	#profile-icon, #email {
		display: flex;
	    justify-content: center;
	}
	#profile-icon img {
		border-radius: 50%;
	}
	.fa-pen {
		transition: all .3s;
	}
    .fa-pen:active {
        transform: scale(120%);
    }
	.profile-message-container {
		width: 100%;
		margin: 0 auto;
	}
	#sortable-container {
		width: 100%;
		height: auto;
		margin: 0 auto;
	}
	#profile-message {
		display: block;
		width: 100%;
		height: auto;
		margin: 0 auto;
		background-color: var(--base-color);
		padding: 5% 5%;
		border-radius: 8px;
	}
    .links {
        width: 100%;
        height: 50px;
        margin: 0 auto;
        margin-top: 5%;
        padding: 0 auto;
    }
    .links ul {
        display: flex;
        width: 60vw;
        height: 100%;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        padding: 0;
    }
    .link-list {
        list-style: none;
        width: 20%;
        height: 100%;
        z-index: 1;
    }
    .link-list a {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        width: 100%;
        height: 70%;
        text-align: center;
        font-weight: 500;
    }
    .link-list a .icon {
        width: 100%;
        display: block;
        line-height: 80px;
        font-size: 1em;
        text-align: center;
        transition: .3s;
        color: var(--dark-color);
    }

    .artworks-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        width: 100%;
        height: auto;
        margin: 5% auto;
    }
    .artworks-container {
        width: 90%;
        height: auto;
        overflow: hidden;
        margin: 0 auto;
        padding: 0;
    }
    .artworks-container .row {
        width: 100%;
        height: 100%;
        padding: 0;
        margin: 2% auto;
    }
   .artworks-container .row .col {
        width: 150px;
        height: 150px;
        margin: 2% auto;
        padding: 0;
   }
   .work {
        width: 100%;
        height: 100%;
        cursor: pointer;
    }
   .work img {
        position: relative;
        top: 0;
        left: 0;
        z-index: 0;
        width: 150px;
        height: 150px;
        object-position: top;
        object-fit: cover;
        transition: all .5s;
        z-index: 2;
        border-radius: 2px;
   }
   .work .pen-icon {
        display: block;
        position: relative;
        top: -50%;
        left: 0;
        z-index: 1;
   }
   .edit-bg {
        background-color: var(--bg-color);
        opacity: 0.5;
        z-index: 0;
   }
   .edit-bg:active {
        opacity: 0.3;
        transform: scale(110%);
   }
   .blank-image {
        position: relative;
        width: 150px;
        height: 150px;
        opacity: 0.5;
        z-index: 0;
        margin: 0 auto;
        text-align: center;
        background-color: var(--base-color);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: all .5s;
        border-radius: 2px;
   }
   .blank-image .pen-icon {
        position: relative;
        top: 0;
        z-index: 1;
        opacity: 1;
        color: var(--dark-color);
   }
   .blank-image:active {
        opacity: 0.3;
        transform: scale(110%);
    }

    .info-wrapper {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    #infomation {
        width: 100%;
        height: auto;
        margin: 5% auto;
    }
    .infomation {
        margin-top: 5%;
        color: var(--dark-color);
        background-color: var(--bg-color);
        width: 90%;
        max-height: 45vh;
        overflow-y: scroll;
        border-radius: 8px;
        /*IE(Internet Explorer)・Microsoft Edgeへの対応*/
        /* -ms-overflow-style: none; */
        /*Firefoxへの対応*/
        /* scrollbar-width: none;
        margin: 5% auto; */
    }
    .info-change {
        margin: 0 5%;
    }

    .eye-container {
        height: auto;
        position: relative;
		bottom: 37px;
		right: -75vw;
    }
    .eye {
        position: relative;
        top: 0;
        right: 0;
        font-size: 24px;
        transition : all .2s;
        opacity: 1;
    }
    .login-box{
        display: flex;
        justify-content: center;
        flex-direction: row;
        width: 90%;
        height: auto;
        padding: 0;
    }
    .login-header {
        text-align: center;
        margin: 3% 0;
    }
    .header{
        color: var(--dark-color);
        font-size: 30px;
        font-weight: 600;
        margin-top: 5%;
    }
    .input-box .input-field {
        width: 100%;
        height: 2rem;
        font-size: 0.9rem;
        padding: 15px 10px;
        margin: 2% auto;
        border-radius: 30px;
        border: none;
        box-shadow: 0px 5px 10px 1px rgba(0,0,0, 0.05);
        outline: none;
        transition: .1s;
    }
    /* .input-box:has(textarea)  {
        width: 100%;
        height: 50%;
        padding: 0;
        border: none;
        box-shadow: 0px 5px 10px 1px rgba(0,0,0, 0.05);
        outline: none;
        transition: .1s;
    } */
    .input-box textarea {
        width: 100%;
        height: 100%;
        font-size: 15px;
        padding: 15px 20px;
        margin: 0;
        border-radius: 10px;
        border: none;
        outline: none;
        overflow-y: scroll;
        transition: .1s;
    }
    ::placeholder{
        font-weight: 500;
        color: var(--dark-color);
        opacity: 0.5;
    }
    .input-field:focus, .input-field-s:focus {
        border: var(--bg-color-focus);
    }
    textarea:focus{
        border: var(--bg-color-focus);
    }
    .forgot{
        display: flex;
        justify-content: space-between;
        margin-bottom: 40px;
    }
    section{
        font-size: 14px;
        color: var(--dark-color);
    }
    #check{
        margin-right: 10px;
    }
    a{
        text-decoration: none;
    }
    a:hover{
        text-decoration: underline;
    }
    section a{
        color: var(--dark-color);
    }
    .input-submit{
        position: relative;
    }
    .submit-btn{
        width: 100%;
        height: 2rem;
        background: var(--dark-color);
        border: none;
        border-radius: 30px;
        cursor: pointer;
        transition: .3s;
    }
    .input-submit label{
        position: absolute;
        top: 45%;
        left: 50%;
        color: var(--base-color);
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        cursor: pointer;
    }
    .submit-btn:hover{
        background: var(--dark-color);
    }
    .sign-up-link{
        text-align: center;
        font-size: 15px;
        margin-top: 20px;
    }
    .sign-up-link a{
        color: var(--dark-color);
        font-weight: 600;
    }

    .contact-us {
        width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .contact-us form {
        width: 90%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
    .contact-us form :is(input, textarea) {
        display: block;
        margin: 2% auto;
    }

    .settings-wrapper {
        width: 100%;
        height: auto;
        margin: 5% auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .settings-wrapper .input-submit {
        margin-top: 3%;
        width: 90%;
    }
    .settings-wrapper .header {
        margin: 0 auto;
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    .settings-wrapper  .container {
        margin: 5% auto;
        width: 100%;
        height: auto;
        vertical-align: middle;
    }
    .col, .col-3 {
        display: flex;
        margin: 3% auto;
        justify-content: left;
        align-items: center;
    }
    .col-3 {
        justify-content: right;
    }
    .col h6 {
        margin: auto 0;
        height: 0.9rem;
        padding: 0;
        font-size: 0.9rem;
        text-align: left;
        vertical-align: middle;
    }
    .logout-btn {
        background-color: rgb(187, 0, 0);
    }
    .logout-btn:hover{
        background: rgb(187, 0, 0);
    }

    .disabled {
        display: none;
    }

    h2, h3, h4, h5, h6 {
        font-size: auto;
    }
    .profile-container {
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 90%;
        height: 100%;
    }
    .profile-container .login-box{
        width: 100%;
        height: 100%;
    }
    .icon a {
        display: block;
        width: 100%;
        height: 100%;
    }
    .icon a i {
        position: relative;
        bottom: -40px;
        right: 25px;
    }
    .name {
        width: auto;
		display: flex;
		justify-content: center;
        margin: 0 auto;
    }
	.name h5 {
		margin: 0 auto;
	}
    .link-container {
        margin: 0 auto 2%;
        width: 90%;
        height: auto;
        display: flex;
        flex-direction: column;
    }
    .link-container form {
        display: flex;
        justify-content: center;
        width: 100%;
        margin: 2% auto;
    }
    .link-wrapper {
        display: flex;
        justify-content: space-around;
        align-items: center;
        margin: 0 5%;
        width: 32px;
        height: 32px;
    }
    .link-wrapper input {
        margin: auto 5%;
    }
	.link-wrapper a img {
		transition: all .2s;
	}
	.link-wrapper a img:hover {
		transform: scale(130%);
	}
    .input-field-s {
        width: 70%;
        height: 1rem;
        font-size: 17px;
        padding: 15px 10px;
        margin-bottom: 0;
        border-radius: 30px;
        border: none;
        box-shadow: 0px 5px 10px 1px rgba(0,0,0, 0.05);
        outline: none;
        transition: .2s;
        font-size: 0.75rem;
    }
    .link-container form div {
        margin: auto 2%;
    }
	.link-delete-btn {
		width: 2rem;
		height: 2rem;
		display: flex;
		justify-content: center;
		align-items: center;
		border-radius: 50%;
		background-color: rgb(187, 0, 0);
		color: var(--base-color);
		transition: all .3s;
	}
	.link-delete-btn:active {
		transform: scale(120%);
	}
	textarea[disabled] {
		background-color: var(--base-color);
	}

    .feedback-container {
        width: 90%;
        height: auto;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

.float {
    width: 50vw;
    height: 50vw;
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 20;
}
.main-float {
    width: 5rem;
    height: 5rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: relative;
    top: 5rem;
    left: 5rem;
    z-index: 20;
    background-color: var(--accent-color);
    color: var(--base-color);
    border-radius: 50%;
    transition: .3s;
}
.main-float .float-text {
    display: block;
    width: 10rem;
    opacity: 1;
    transition: all .3s;
    position: absolute;
    left: -6.6rem;
    bottom: 1rem;
    transform: rotateZ(-180deg);
    opacity: 0;
    font-weight: bold;
}
.sub-float .float-text {
    display: block;
    width: 10rem;
    opacity: 1;
    transition: all .3s;
    position: absolute;
    top: 1.4rem;
    left: -0.3rem;
    opacity: 0;
    font-weight: bold;
}
.open-float.float-text {
    top: -1.5rem;
    left: -0.3rem;
    opacity: 1;
}
.main-float:active {
    /* width: 10rem;
    border-radius: 30px; */
    background-color: var(--accent-color-focus);
}
.sub-float.open-float:active {
    /* width: 10rem;
    border-radius: 30px; */
    background-color: var(--accent-color-focus);
}
.sub-float.close.open-float:active {
    /* width: 10rem;
    border-radius: 30px; */
    background-color: color-mix(in srgb, rgb(187, 0, 0) 70%, #000000 30%);
}

.sub-float:nth-child(2) {
    width: 4rem;
    height: 4rem;   
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: relative;
    bottom: -0.5rem;
    left: 5.5rem;
    z-index: 19;
    background-color: var(--accent-color);
    color: var(--base-color);
    border-radius: 50%;
    transition: .3s;
    opacity: 0;
}
.sub-float:nth-child(3) {
    width: 4rem;
    height: 4rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: relative;
    bottom: 3.3rem;
    left: 5.5rem;
    z-index: 19;
    background-color: var(--accent-color);
    color: var(--base-color);
    border-radius: 50%;
    transition: .3s;
    opacity: 0;
    background-color: rgb(187, 0, 0);
}
.sub-float:nth-child(4) {
    width: 4rem;
    height: 4rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: relative;
    bottom: 7.5rem;
    left: 5.5rem;
    z-index: 19;
    background-color: var(--accent-color);
    color: var(--base-color);
    border-radius: 50%;
    transition: .3s;
    opacity: 0;
}
.main-float:active {
    background-color: var(--accent-color-focus);
}

.open-float.main-float {
    background-color: var(--accent-color-focus);
    transform: rotateZ(180deg);
}
.open-float.sub-float:nth-child(2) {
    bottom: 7rem;
    left: 5.5rem;
    opacity: 1;
}
.open-float.sub-float:nth-child(3) {
    bottom: 3.3rem;
    left: -2rem;
    opacity: 1;
}
.open-float.sub-float:nth-child(4) {
    bottom: 13rem;
    left: 0;
    opacity: 1;
}

.link {
    width: 80%;
    margin: 5% 0;
    text-overflow: ellipsis;
    text-decoration: underline;
    overflow: hidden;
}
.link a {
    text-overflow: ellipsis;
    text-decoration: underline;
    color: var(--accent-color);
}
.news-container {
	margin: 5% auto;
}
.news-container .title-container {
	display: flex;
	justify-content: center;
	margin: 0 auto;
	
}
.news-container form .input-box {
	width: 100%;
	margin: 2% auto;
}
.news-container form .input-box .input-field-s {
	width: 100%;
	margin: 0 auto;
}
.news-timeline {
	width: 90%;
	height: auto;
	margin: 5% auto;
	padding: 5% 3%;
	background-color: var(--base-color);
	border-radius: 8px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.news {
	width: 95%;
	height: auto;
	margin: 0 auto;
	border-top: solid 1px var(--dark-color);
	overflow-y: hidden;
	transition: all .5s;
	cursor: pointer;
}
.news:last-child {
	border-bottom: solid 1px var(--dark-color);
}
.news-title :is(h6, p) {
	height: 1rem;
	margin: auto;
	text-overflow: ellipsis;
	font-size: 0.8rem;
}
.news-title h6 {
	text-align: left;
	margin: auto;
	margin-left: 2%;
}
.news-title p {
	width: 100%;
	flex-basis: 100%;
	text-align: right;
	margin: 2% 0;
}
.news-title div:has(i) {
	margin: auto 2%;
}
.news-extend .news-body {
	height: 100%;
	opacity: 1;
	display: block;
}
.news-title {
	height: 3rem;
	margin: 4% auto;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-around;
	text-overflow: ellipsis;
}
.news-body {
	display: none;
	margin: 2% auto;
	opacity: 0;
	transition: all .5s;
}

.pillow-talk-container {
	    margin: 0 auto;
	    display: flex;
	    flex-direction: column;
	    justify-content: center;
	    align-items: center;
	    width: 90%;
	    height: 100%;
}
#voice-body {
	width: 100%;
	margin: 0 auto;
}
.pillow-talk-container :is(.input-submit, .login-box) {
	width: 100%;
	margin: 2% auto;
}