@charset 'utf-8';
/*
Theme Name: T/Y DESIGN Inc.
Theme URI: 
Author: T/Y DESIGN Inc.
Author URI: http://www.tydesign.co.jp/
Description: T/Y DESIGN Inc.のWordPressテーマです
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

.alignleft   { display:inline; float:left;  }
.alignright  { display:inline; float:right; }
.aligncenter { display:block; margin-right:auto; margin-left:auto; }

blockquote.alignleft,   .wp-caption.alignleft,   img.alignleft   { margin:0.4em 1.6em 1.6em     0; }
blockquote.alignright,  .wp-caption.alignright,  img.alignright  { margin:0.4em 0     1.6em 1.6em; }
blockquote.aligncenter, .wp-caption.aligncenter, img.aligncenter { clear:both; margin-top:0.4em; margin-bottom:1.6em; }
@media (max-width: 767px) {
	.alignleft, .alignright { display:block; margin-left:auto; margin-right:auto; text-align:center; float:none; }
	blockquote.alignleft,   .wp-caption.alignleft,   img.alignleft,
	blockquote.alignright,  .wp-caption.alignright,  img.alignright  { margin-left:auto; margin-right:auto; }
}


/*
	Commons
*/

@keyframes fadeIn {
	0% { opacity:0; } 100% { opacity:1; }
}

/*
html {
	min-height: 100%;
}
*/
body {
	background: #000 url(img/bg.jpg) no-repeat center top;
}
@media( max-width:768px ) {
	html {
		font-size: 13px;
	}
}



/*
Background, Always fixed, below all.
*/
.bg {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: -1;
}
.bg:after {
	content: ' ';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: calc(100% - 450px);
	min-width: 72%;
	background-color: rgba(0,0,0,.75);
}
.home .bg:after {
	background-color: transparent;
}
.bg-logo {
	position: absolute;
	right: 220px;
	bottom: 100px;
}
.bg-logo img {
	vertical-align: bottom;
}
@media( max-width:768px ) {
	.bg:after {
		width: 100%;
	}
	.bg-logo {
		right: 50%;
		bottom: 50%;
		transform: translate(50%,70%);
	}
}



/*
Main Header
*/
.main-header {
	position: relative;
	z-index: 15;
}
@media( min-width:769px ) {
	.main-header {
		display: none;
	}
}



/*
Main Navigation
*/
.main-nav {
	position: fixed;
	bottom: 40px;
	right: 50px;
	z-index: 50;
	font-size: .714rem;
	background-color: rgba(0,0,0,.9);
}
.main-nav ul {
	min-width: 480px;
	margin-top: -1px;
	margin-bottom: 0;
	padding-left: 0;
	list-style: none;
}
.main-nav ul li {
	padding-left: 0;
}
.main-nav ul li a {
	display: block;
	margin-left: -1px;
	padding: 3px 2px;
	border: 1px solid #333;
	color: #999;
	text-align: center;
	line-height: 1;
	-webkit-transition: all .1s linear 0s;
	transition: all .1s linear 0s;
}
.main-nav ul li a:hover {
	color: white;
	text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff;
	text-decoration: none;
}
@media( min-width:769px ) {
	.main-nav.collapse {
		display: block;
	}
}
@media( max-width:768px ) {
	.main-nav {
		top: 50px;
		left: 0;
		right: 0;
		bottom: auto;
		box-shadow: 0 15px 15px rgba(0,0,0,.8);
	}
	.main-nav ul {
		min-width: 0;
	}
	.main-nav ul li a {
		margin-top: -1px;
		padding-top: 20px;
		padding-bottom: 20px;
	}
}



/*
Main Footer
*/
.main-footer {
	clear: both;
	position: fixed;
	right: 0;
	bottom: 0;
}
.copyright {
	margin: 0;
	padding: .2em .5em;
	font-size: .857rem;
	color: #999;
	background-color: rgba(0,0,0,.9);
}
@media( max-width:768px ) {
	.main-footer {
		position: static;
	}
}



/*
Main Image
*/
.main-image {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	z-index: 1;
	width: 450px;
	max-width: 28%;
	overflow: hidden;
}
.home .main-image {
	overflow: visible;
}
.main-image img {
	position: relative;
	z-index: 1;
	opacity: 0;
	-ms-animation: fadeIn .25s ease-out 0s forwards;
	animation: fadeIn .25s ease-out 0s forwards;
}
@media( max-width:768px ) {
	.main-image {
		max-width: 10%;
	}
	.main-image img {
		width: auto;
		height: 100%;
	}
	.home .main-image {
		max-width: none;
		width: 50%;
		margin-top: -22%;
		transform: scale(.5);
		transform-origin: left center;
	}
}



/*
Main Contents
*/
.main-content {
	float: right;
	width: calc(100% - 450px);
	min-width: 72%;
	padding-bottom: 150px;
	font-family: 'Noto Serif SC', serif;
	font-size: .786rem;
	color: white;
}
@media( max-width:768px ) {
	.main-content {
		width: 100%;
		min-height: 70vh;
		padding-bottom: 50px;
	}
	.main-content.has-main-image {
		width: 90%;
		margin: 0 auto;
		float: none;
	}
}
@media( min-width:992px ) {
	.main-content .container {
		max-width: 750px;
	}
}
@media( min-width:1200px ) {
	.main-content .container {
		max-width: 840px;
	}
}



/* Main Content Header */
.main-content-header {
	margin-bottom: 15px;
	padding: 15px;
	text-align: right;
}
.main-content-header-title {
	margin: 0;
	font-size: 1.286rem;
	font-family: 'Noto Serif SC', serif;
	letter-spacing: .1rem;
	color: rgba(255,255,255,.8);
}
.main-content-header-title-en {
	margin: 0;
	font-size: 1.786rem;
	font-family: 'Sorts Mill Goudy', serif;
	color: white;
}

/* デザイナーページのみ特殊 */
.main-content-header-designer .main-content-header-title {
	margin-top: -15px;
	padding-right: 70px;
	font-size: 3rem;
	color: #970000;
}
.main-content-header-designer .main-content-header-title ruby {
	display: inline-block;
	-webkit-ruby-position: after;
	-moz-ruby-position: after;
	-ms-ruby-position: after;
	ruby-position: after;
}
.main-content-header-designer .main-content-header-title rt {
	color: rgba(255,255,255,.9);
	font-size: .712rem;
	transform: scale(.8);
}
.main-content-header-designer .main-content-header-title .ruby span {
	display: inline-block;
}



/* Main Content Header */
.main-content-subheader {
	margin-bottom: 15px;
	padding: 15px;
}
.main-content-subheader-title {
	margin: 0 0 5px;
	font-size: 1.786rem;
	font-family: 'Noto Serif SC', serif;
	letter-spacing: .2rem;
	color: white;
}
.main-content-subheader-title-en {
	margin: 0;
	font-size: .714rem;
	font-family: 'Sorts Mill Goudy', serif;
	color: rgba(255,255,255,.8);
}



/* Main Content Table */
.main-content table {
	margin-bottom: 10px;
}
.main-content th,
.main-content td {
	padding: 5px;
}
.main-content th {
	min-width: 100px;
	font-weight: normal;
}
.main-content td {
	border-left: 1px solid #be0000;
}



/*
Home Gallery
*/
.home-gallery {
	position: absolute;
	width: 540px;
	margin-left: -270px;
}
.home-gallery-1 {
	top: 10%;
	left: 27%;
	z-index: 3;
	transform: scale(.9);
}
.home-gallery-2 {
	top: 42%;
	left: 33%;
	z-index: 2;
	opacity: .7;
	transform: scale(.64);
}
.home-gallery-3 {
	top: 71%;
	left: 96%;
	z-index: 1;
	opacity: .4;
	transform: scale(.36);
}
.home-gallery > ul {
	animation: main-image-rotate 15s linear 0s infinite;
}
.home-gallery-2 > ul {
	animation-duration: 24s;
}
.home-gallery-3 > ul {
	animation-duration: 40s;
}
.home-gallery > ul > li {
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
}
.home-gallery > ul > li:nth-child(1)  { transform: translateY(-50%) rotate(  0deg); }
.home-gallery > ul > li:nth-child(2)  { transform: translateY(-50%) rotate( 24deg); }
.home-gallery > ul > li:nth-child(3)  { transform: translateY(-50%) rotate( 48deg); }
.home-gallery > ul > li:nth-child(4)  { transform: translateY(-50%) rotate( 72deg); }
.home-gallery > ul > li:nth-child(5)  { transform: translateY(-50%) rotate( 96deg); }
.home-gallery > ul > li:nth-child(6)  { transform: translateY(-50%) rotate(120deg); }
.home-gallery > ul > li:nth-child(7)  { transform: translateY(-50%) rotate(144deg); }
.home-gallery > ul > li:nth-child(8)  { transform: translateY(-50%) rotate(168deg); }
.home-gallery > ul > li:nth-child(9)  { transform: translateY(-50%) rotate(192deg); }
.home-gallery > ul > li:nth-child(10) { transform: translateY(-50%) rotate(216deg); }
.home-gallery > ul > li:nth-child(11) { transform: translateY(-50%) rotate(240deg); }
.home-gallery > ul > li:nth-child(12) { transform: translateY(-50%) rotate(264deg); }
.home-gallery > ul > li:nth-child(13) { transform: translateY(-50%) rotate(288deg); }
.home-gallery > ul > li:nth-child(14) { transform: translateY(-50%) rotate(312deg); }
.home-gallery > ul > li:nth-child(15) { transform: translateY(-50%) rotate(336deg); }
.home-gallery img {
	height: auto;
}
.home-gallery > ul > li > a {
	display: block;
	width: 80px;
	height: 45px;
	background-color: black;
	text-align: center;
}
.home-gallery > ul > li > a img {
	vertical-align: bottom;
}

@keyframes main-image-rotate {
	0% { transform: rotate(0deg); } 100% { transform:rotate(359deg); }
}




/*
Index Page
*/
.index-message {
	opacity: 0;
	-ms-animation: fadeIn 2.5s ease-out 3s forwards;
	animation: fadeIn 2.5s ease-out 3s forwards;
}



/*
Case Category List
*/
.case-category-list {
	margin: 0;
	padding: 0;
	height: calc(100vh - 300px);
	max-height: 540px;
}
.case-category-list > li {
	width: 50%;
	padding: .2em 0;
	list-style: none;
	font-size: 1.428rem;
}
.case-category-list > li > a {
	text-decoration: none;
	color: #eee;
}
.case-category-list > li > a:hover {
	color: #b80016;
}
.case-category-list > li > a small {
	font-size: 50%;
	font-family: Sans-serif;
	vertical-align: middle;
	color: #999;
}
@media( max-width:768px ) {
	.case-category-list > li {
		width: auto;
	}
}
@media( max-width:850px ) {
	.case-category-list {
		height: auto;
		max-height: none;
	}
}



/* Gallery Images */
.gallery {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 100;
	visibility: hidden;
	opacity: 0;
	background-color: rgba(0,0,0,.5);
	transition: all .2s linear 0s;
}
.gallery.active {
	visibility: visible;
	opacity: 1;
}
.gallery-image {
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 1;
	width: 80%;
	transform: translate(-50%,-50%);
	visibility: hidden;
	opacity: 0;
	transition: all .2s linear 0s;
	cursor: pointer;
}
.gallery-image.active {
	visibility: visible;
	opacity: 1;
}
.gallery-image img {
	max-width: 100%;
	max-height: 100%;
}
.gallery .progress {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 150px;
	height: .25rem;
	transform: translate(-50%,-50%);
}



/* Order List */
.order-list {
	margin: 0 0 10px;
	padding-left: 0;
}
.order-list li {
	position: relative;
	margin-left: 4em;
	padding: 8px 16px;
	border-left: 2px solid #8f0000;
	list-style: none;
	counter-increment: order-list;
}
.order-list li:before {
	content: '0' counter(order-list);
	display: inline-block;
	position: absolute;
	margin-left: -4em;
}



/* Unordered List Red */
.unorder-list-red {
	padding: 20px 30px;
	border: 1px solid #8f0000;
}
.unorder-list-red li {
	position: relative;
	margin-left: 1.5em;
	list-style: none;
}
.unorder-list-red li:before {
	content: ' ';
	display: inline-block;
	position: absolute;
	width: 4px;
	height: 4px;
	margin-left: -1.5em;
	border-radius: 2px;
	background-color: #8f0000;
	top: 10px;
}



/* Service List */
.service-list {
	display: inline-block;
	width: 36%;
	margin-right: 5%;
	vertical-align: middle;
}
.service-list-content {
	display: none;
	width: 54%;
	vertical-align: middle;
}
.service-list-content.active {
	display: inline-block;
}
.service-list li a {
	color: white;
	text-decoration: none;
}
.service-list li:hover {
	background-color: rgba(255,255,255,.1);
}
@media( max-width:768px ) {
	.service-list {
		display: block;
		width: auto;
	}
	.service-list-content {
		width: auto;
		padding: 2em;
	}
	.service-list-content.active {
		display: block;
	}
	.unorder-list-red li:before {
	top: 7px;
	}

}



/* FAQ contents */
.faq-title {
	position: relative;
	margin-left: 1.5em;
	margin-bottom: 0;
	padding: .5em;
	cursor: pointer;
}
.faq-title:hover {
	background-color: rgba(255,255,255,.2);
}
.faq-title:before {
	content: 'Q';
	display: inline-block;
	position: absolute;
	top: 0;
	margin-left: -1.5em;
	padding: .2em;
	color: #8d0000;
	font-size: 150%;
}
.faq-content {
	height: 0;
	background-color: rgba(127,127,127,.4);
	visibility: hidden;
	opacity: 0;
	transition: opacity .2s linear 0s;
}
.faq-content.active {
	height: auto;
	margin: 1em 0;
	padding: 2em 3em;
	visibility: visible;
	opacity: 1;
}



/* Form */
.table-form .form-control {
	border-color: transparent;
	background-color: #454545;
	color: white;
}
.form-icon.required {
	color: #ff0000;
}
@media( max-width:768px ) {
	.table-form,
	.table-form tbody,
	.table-form tr,
	.table-form tr th,
	.table-form tr td {
		display: block;
		width: 100%;
	}
	.table-form tr th {
		padding-bottom: 0;
	}
	.table-form tr td {
		padding-bottom: 1.5em;
		border-top-color: transparent;
		border-left: 0;
	}
}



/* Flow Content */
.flow-content-title {
	margin-top: 1em;
	margin-bottom: 1em;
	font-size: 1.428rem;
}
.flow-content-title em {
	margin-left: 1.5em;
	font-size: 40%;
	font-style: normal;
	color: rgba(255,255,255,.8);
}
.flow-content {
	display: flex;
	position: relative;
	padding: 2em 3em;
	background-color: rgba(127,127,127,.4);
}
.flow-content > div {
	margin-left: 1em;
	margin-right: 1em;
}
.flow-image-open {
	position: absolute;
	bottom: -50px;
	left: 50%;
	transform: translateX(-50%);
}
@media( max-width:768px ) {
	.flow-content {
		padding: 1.5em;
	}
}

/* edit layout case */


.list-unstyled.ver.case_layout li {
	width: calc(100%/3);
	box-sizing: border-box;
	padding: 0 1%;
}

@media( max-width:768px ) {
	.list-unstyled.ver.case_layout li {
	width: 100%;
	padding: 0;
}
}

/* Fade In Content */
.fade-in-content:nth-child(1) {
	counter-reset: fade-in-content;
}
.fade-in-content {
	counter-increment: fade-in-content;
	opacity: 0;
	animation: fadeIn .5s linear 0s forwards;
	/* animation-delay: calc( ( counter(fade-in-content) - 1 ) * 1s); */
}
.fade-in-content:nth-child(1) { animation-delay: calc( .2s + 1s * ( 1 - 1 ) ); }
.fade-in-content:nth-child(2) { animation-delay: calc( .2s + 1s * ( 2 - 1 ) ); }
.fade-in-content:nth-child(3) { animation-delay: calc( .2s + 1s * ( 3 - 1 ) ); }
.fade-in-content:nth-child(4) { animation-delay: calc( .2s + 1s * ( 4 - 1 ) ); }
.fade-in-content:nth-child(5) { animation-delay: calc( .2s + 1s * ( 5 - 1 ) ); }
.fade-in-content:nth-child(6) { animation-delay: calc( .2s + 1s * ( 6 - 1 ) ); }

.table-form {color:rgb(255, 255, 255);}
