.tm-color-primary {
    color: #999999; 
}

.tm-btn-primary {
    background-color: #999999;
}

.tm-header {
    color: #cccccc;
    background-color: #eeeeee;
    opacity:0.9;
    left: -340px;
    width: 340px;
    left: -340px;
    transition: all 0.3s ease;
}

.tm-header.show {
    left: 0;
}

.tm-header-wrapper {
    padding: 15px;
}

.navbar-toggler {
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    border-radius: 0;
    background-color: #eeeeee;
    opacity:0.5;
    top: 5px;
}

.tm-header .navbar-toggler .menu-open {
    display: inline;
}

.tm-header.show .navbar-toggler .menu-open {
    display: none;
}

.tm-header .navbar-toggler .menu-close {
    display: none;
}

.tm-header.show .navbar-toggler .menu-close {
    display: inline;
}

.tm-main {
    padding: 40px 10px 10px 10px;
    margin-left: 0;
    width: 100%;
}

.tm-main .profile {
    margin-left: 20px;
    margin-right: 20px;
}

.tm-main .profile .name {
    font-weight: bold;
    font-size: 1.5rem;
}

.tm-main .profile .portrait {
	width: 60%;
	max-width: 200px;
}

.years-old {
    font-weight: normal;
    font-size: 1rem;
}

.tm-site-header .title {
    font-weight: normal;
    font-size: 1rem;
}

.tm-site-logo {
    width: 200px;
    height: 200px;
    border-radius: 0;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tm-site-logo .logo {
    width:200px;
}

.tm-nav-link {
    color: #999999;
}

.tm-nav-link.sub {
	font-size: 1rem;
	height: 40px;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 50px;
}

.tm-nav-item:hover .tm-nav-link,
.tm-nav-item.active .tm-nav-link {
    color: #666666;
}

.tm-copyright {
   color: #999999;
   text-align: center;
   margin-top: 2rem;
}

a {
   color: #999999;
}

a:hover { 
    color: #4fc4ff;
}

.ad-space-side {
    border: 0px;
    width:300px;
    height:80px;
    /*
    margin-left: 4px;
    margin-right: 0;
    */
    text-align: center;
    margin-bottom: 5px;
    background-color:#eeeeee;
}

.indexPageTitle {
	color: #999999;
}

#footerArea {
	display: none;
	margin-top: 40px;;
}

.footer {;
	width: 100%;
	text-align: center;
}

.subTitleArea {
	width: 100%;
	text-align: center;
	color: #999999;
	display: none;
	margin-bottom: 30px;;
}

#subTitleAreaTop {
	display: none;
}

.subTitleAreaTop {
	width: 100%;
	text-align: center;
	color: #4fc4ff;
}

.subTitleAreaFooter {
	width: 100%;
	text-align: center;
	color: #aaaaaa;
	margin-top: 1rem;
}

.subTitleAreaNext {
	width: 100%;
	text-align: center;
	color: #cccccc;
	margin-bottom: 1rem;
	display: none;
	cursor: pointer;
}

.illustNumber {
	width: 100%;
	text-align: center;
	color: #cccccc;
	display: none;
	margin-bottom: 10px;
}

.footerAdArea {
	width: 100%;
	text-align: center;
	line-height: 1.2rem;
	margin-bottom: 20px;
}

.footerAdArea .example {
	width: 20%;
	max-width: 80px;
	opacity: 0.7;
}

.footerAdArea .space {
	height: 5px;
}

.mainImageBack {
	/*
	height: 260px;
	position: relative;
	overflow: hidden;
	*/
}

.mainImageMessage {
	white-space: nowrap;
	color: #999999;
	margin-top: 0px;
	margin-bottom: 10px;
	text-align: center;
}

.mainImageMessage a {
	color: #4fc4ff;
}

.mainImageMessage.en {
	white-space: normal;
}

.goodsArea {
	width: 100%;
	text-align: center;
	line-height: 1.2rem;
	margin-bottom: 20px;
	margin-top: 2rem;
	display: none;
}

.goodsArea .example {
	width: 20%;
	max-width: 80px;
	opacity: 0.7;
}

.goodsArea .space {
	height: 5px;
}

#mainIllust {
	width: 100%;
}

#mainImageArea {
	/*max-width:500px;*/
	margin-left: auto;
	margin-right: auto;
	box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.35);
}

#mainImageArea.top {
	box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0)!important;
}

#mainImageArea .mainImage {
	cursor: pointer;
}

#subImageClose {
	text-align:right;
	display:none;
	cursor: pointer;
	margin-top: -35px;
	margin-bottom: 20px;
}

.subIllustLinkArea {
	margin-left: auto;
	margin-right: auto;
}

.subIllustBack {
	display:none;
}

.subIllust {
	width: 100%;
	margin-top: 2rem;
}

.subImageArea {
	margin-bottom: 40px;
	display: none;
}

.subImageTable {
	margin-left: auto;
	margin-right: auto;
}

.subImageBack {
	padding-left: 5px;
	padding-right: 5px;
	padding-top: 10px;
	padding-bottom: 10px;
	text-align:center;
}

.subImage {
	width: calc( 100vw / 6 );
	box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.35);
	/*border: 1px solid #cccccc;*/
	opacity: 0.4;
}

.subImage.selected {
	border: 1px solid #0088cc!important;
	opacity: 0.9;
}

.goods {
	color: #cccccc;
	margin-top: 50px;
}

.goods .end {
	clear: both;
}

.goods h2 {
	/*float: left;*/
	font-size: 1.5rem;
	text-align: center;
}

.goods h3 {
	margin-top: 1rem;
}

.goods h4 {
	color: #cccccc;
	text-align: center;
	font-size: 1rem;
	font-weight: normal;
	margin-top: 1rem;
}

.goods .titleImage {
	margin-bottom: 10px;
	width: 100%;
}

.goods .subLabel {
	font-size: 1rem;
	color: #aaaaaa;
	text-align: right;
	line-height: 1rem;
	margin-top: 5px;
}

.goods .subLabel b {
	color: #4fc4ff;
	font-size: 0.8rem;
}

.goods .label {
	float: left;
	margin-left: 5px;;
	margin-right: 5px;
}

.goods .label2 {
	color: #FF5050;
}

.goods h2 a {
	color: #cccccc;
}

.goods h2.selected a {
	color: #999999;
}

.goods h4.size {
	font-size: 1.5rem;
}

.goods .list {
	/*clear: both;*/
	margin-top: 1rem;
	margin-left: auto;
	margin-right: auto;
}

.goods .list .item {
	/*float: left;*/
	max-width: 95px;
	margin-top: 5px;
	margin-right: 5px;
}

.goods .list .item.first {
	max-width: 295px;
	margin-left: auto;
	margin-right: auto;
}

.goods .list.portfolio .item {
	max-width: calc( calc( 100vw - 70px ) / 2 );
	height: calc( calc( calc( 100vw - 70px ) / 2 ) * 1.3);
	float: left;
	margin-top: 0px;
	margin-left: 5px;
	margin-right: 5px;
}

.goods.illusts .list.portfolio .item {
	max-width: calc( calc( 100vw - 70px ) / 2 );
	height: calc( calc( calc( 100vw - 70px ) / 2 ) * 1.45);
}

.goods .list .item.main {
	max-width: 295px;
	width: 295px;
	height: 295px;
	position: relative;
	overflow: hidden;
	margin-left: auto;;
	margin-right: auto;
}

.goods .list .item img {
	border-radius: 10px;
}

.goods .list .item.border-line img {
	border: 1px solid #cccccc;
}

.goods .list .item.main img {
	width: 295px;
	height: 295px;
	position: absolute;
	top: 0px;
	left: 0px;
}

.goods .list .item.sub {
	max-width: 295px;
	width: 295px;
	height: 295px;
	position: relative;
	overflow: hidden;
	margin-left: auto;;
	margin-right: auto;
}

.goods .list .item.sub img {
	width: 205px;
	height: 205px;
	position: absolute;
	top: 50px;
	left: 40px;
}

.goods .list .item.tote {
	max-width: 295px;
	width: 295px;
}

.goods .list.sizeS .item.tote {
	width: 295px;
	height: 295px;
	position: relative;
	overflow: hidden;
	margin-left: auto;;
	margin-right: auto;
}

.goods .list.sizeS .item.tote img {
	width: 295px;
	height: 295px;
	position: absolute;
	top: 0px;
	left: 0px;
}

.goods .list.sizeM .item.tote {
	width: 295px;
	height: 355px;
	position: relative;
	overflow: hidden;
	margin-left: auto;;
	margin-right: auto;
}

.goods .list.sizeM .item.tote img {
	width: 410px;
	height: 410px;
	position: absolute;
	top: -30px;
	left: -60px;
}

.goods .list.sizeL .item.tote {
	width: 295px;
	height: 355px;
	position: relative;
	overflow: hidden;
	margin-left: auto;;
	margin-right: auto;
}

.goods .list.sizeL .item.tote img {
	width: 410px;
	height: 410px;
	position: absolute;
	top: -30px;
	left: -60px;
}

.fadeup {
    animation: fadeup 1s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}

@keyframes fadeup {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }
    80% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.loopZoomMainImage {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #ffffff;
}

.loopZoomMainImage::before,
.loopZoomMainImage::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    opacity: 0;
}

.loopZoomMainImage::before {
    background-image: url('/illust/img/main_visual1.png');
    animation: bgLoopAnime1 10s linear infinite;
}

.loopZoomMainImage::after {
    background-image: url('/illust/img/main_visual2.png');
    animation: bgLoopAnime2 10s linear infinite;
}

.content {
    height: 100%;
    position: relative;
    z-index: 2;
}

.content .logoArea {
    width: 40%;
    max-width: 300px;
    margin-top: 70px;
    margin-left: auto;
    margin-right: auto;
}

.content .logoArea .logo {
    width: 100%;
}

.content .messageArea {
    width: 90%;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
    top: calc( 100vh - 370px );
    position: relative;
    padding: 1rem;
}

.content .messageArea .message {
    width: 100%;
}

.subMessageArea {
    width: 100%;
    background-image: url('/illust/img/sky.png');
    background-size: 120%;
    text-align: center;
    opacity: 0.5;
}

.subMessageArea .message {
    width: 80%;
    max-width: 400px;
    margin-top: 40px;
    margin-bottom: 40px;
}

@keyframes bgLoopAnime1 {
    0% {
        opacity: 0;
        transform: scale(1.15);
    }
    5% {
        opacity: 1;
    }
    45% {
        opacity: 1;
    }
    50% {
        opacity: 0;
        transform: scale(1.0);
    }
    100% {
        opacity: 0;
    }
}

@keyframes bgLoopAnime2 {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 0;
        transform: scale(1.15);
    }
    55% {
        opacity: 1;
    }
    95% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: scale(1.0);
    }
}

.activityTable td {
    border-bottom: 1px solid #cccccc;
    color: #666666;
     padding: 5px;
}

.activityTable td.date {
     white-space: nowrap;
}

.activityTable .activityImage img {
     max-height: 70px;
     margin: 5px;
}

@media (min-width: 550px) {
    #mainImageArea {
        max-width: 480px;
    }
    .subIllustLinkArea {
        max-width: 480px;
    }
    .self-intro {
        max-width: 300px;
    }
    .loopZoomMainImage::before {
        background-image: url('/illust/img/main_visual1_h.png');
        animation: bgLoopAnime1 10s linear infinite;
    }
    .loopZoomMainImage::after {
        background-image: url('/illust/img/main_visual2_h.png');
        animation: bgLoopAnime2 10s linear infinite;
    }
    .content .messageArea {
        top: calc( 100vh - 500px );
    }
    .goods .list.portfolio .item {
        max-width: calc( calc( 100vw - 105px ) / 4 );
        height: calc( calc( calc( 100vw - 105px ) / 4 )  * 1.3);
    }
    .goods.illusts .list.portfolio .item {
        max-width: calc( calc( 100vw - 105px ) / 4 );
        height: calc( calc( calc( 100vw - 105px ) / 4 ) * 1.45);
    }
}

@media (max-width: 550px) {
    #mainImageArea {
        max-width: 320px;
    }
    .subIllustLinkArea {
        max-width: 320px;
    }
}