.tm-color-primary {
    color: #999999; 
}

.tm-btn-primary {
    background-color: #999999;
}

.tm-header {
    color: #cccccc;
    background-color: #eeeeee;
}

.tm-main {
    padding: 40px 10px 10px 10px;
}

.profile .name {
    font-weight: bold;
    font-size: 1.5rem;
}

.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-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;
    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;
	*/
}

.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;
}

.goods h2 {
	float: left;
	font-size: 1.5rem;
}

.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;
}

.goods .subLabel a b {
	color: #4fc4ff;
}

.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;
}

.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 .item.main {
	max-width: 295px;
	width: 295px;
	height: 295px;
	position: relative;
	overflow: hidden;
	margin-left: auto;;
	margin-right: auto;
}

.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;
}

@media (max-width: 991px) {
    .navbar-toggler {
        background-color: transparent;
        opacity:1;
    }
}

@media (min-width: 990px) {
    .subImage {
        width: calc( 100vw / 8 );
    }
}

@media (min-width: 550px) {
    #mainImageArea {
        max-width: 480px;
    }
    .subIllustLinkArea {
        max-width: 480px;
    }
    .self-intro {
        max-width: 300px;
    }
}

@media (max-width: 550px) {
    #mainImageArea {
        max-width: 320px;
    }
    .subIllustLinkArea {
        max-width: 320px;
    }
}

.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);
  }
}