/*
Theme Name: twain_theme_2026_8
Author: yojirosugimoto
Description: theme for Twain inc.
Version: 1.2
*/

*{
	padding: 0;
	margin: 0;
}
html{
	height: 100%;
	width: 100%;
}
body{
	background-color: #f6f6f3;
	height: 100%;
	width: 100%;
	font-size: 12px;
	font-family: "Work Sans", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
	text-rendering: optimizeLegibility;
	-webkit-transition: background-color .41s;
	-o-transition: background-color .41s;
	transition: background-color .41s;
}
a{
	color: #231815;
	text-decoration: none;
}
a::selection,
h1::selection,
h2::selection,
h3::selection,
p::selection,
span::selection,
li::selection,
div::selection,
br::selection,
img::selection {
	background: transparent;
	color: #afafaf;
}
a::-moz-selection,
h1::-moz-selection,
h2::-moz-selection,
h3::-moz-selection,
p::-moz-selection,
span::-moz-selection,
li::-moz-selection,
div::-moz-selection,
br::-moz-selection,
img::-moz-selection {
	background: transparent;
	color: #afafaf;
}

@media (min-width: 761px){
.sp-only{
	display: none;	
}

/*----------
wrapper
----------*/
.wrapper{
	height: auto;
	position: relative;
	margin: 0 auto;
	width: 980px;
}
.menu{
	height: auto;
	position: fixed;
	top: 70px;
	width: 180px;
}
.menu-head{
	height: 132px;
	margin-bottom: 20px;
	position: relative;
	width: 180px;
}
.menu-head--description{
	top: 90px;
	font-size: 10px;
	font-weight: 400;
	left: 0;
	line-height: 1.4em;
	position: absolute;
	opacity: 0;
	-webkit-transition: opacity .5s, top .5s;
	-o-transition: opacity .5s, top .5s;
	transition: opacity .5s, top .5s;
}
.menu-head--logo{
	position: relative;
	opacity: 0;
	-webkit-transition: opacity .5s, top .5s;
	-o-transition: opacity .5s, top .5s;
	transition: opacity .5s, top .5s;
}
.menu-head--logo--item{
	height: auto;
	width: 160px;
}

/*----------
gnav
----------*/
.gnav{
	height: auto;
	width: 180px;
}
.gnav--inner{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	position: relative;
	top: 0px;
	height: auto;
	padding-left: 70px;
	width: 0%;
	-webkit-transition: width 1.5s cubic-bezier(.03,.74,0,.99);
	-o-transition: 			width 1.5s cubic-bezier(.03,.74,0,.99);
	transition:					width 1.5s cubic-bezier(.03,.74,0,.99);
}
.gnav--inner--item{
	border-top: 1px solid #00000066;
	height: 29px;
	list-style-type: none;
	overflow: visible;
	opacity: 0;
	position: relative;
	top: 0px;
	width: 100%;
	-webkit-transition:	opacity .5s, top .5s; 
	-o-transition: 			opacity .5s, top .5s; 
	transition:					opacity .5s, top .5s; 
}

.gnav--inner--item--link{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	color: #00000044;
	font-weight: 700;
	height: 100%;
	left: 0;
	padding: 8px 0 12px 10px;
	position: absolute;
	top: 0;
	width: 100%;
	-webkit-transition: color .1s;
	-o-transition: color .1s;
	transition: color .1s;
}
.gnav--inner--item--link:hover,
.gnav--inner--item--link.present{
	color: #231815;
}
.gnav--inner--item--news{
	left: -70px;
	opacity: 0;
	position: relative;
	top: 0;
	-webkit-transition: opacity .5s, top .5s;
	-o-transition: opacity .5s, top .5s;
	transition: opacity .5s, top .5s;		
}
.gnav--inner--item--link--image{
	height: auto;
	top: 0px;
	width: 180px;
}
.gnav--sns{
	border-top: 1px solid #00000066;
	height: auto;
	padding-top: 10px;
	position: relative;
	top: 0;
	width: 100%;
	opacity: 0;
	-webkit-transition: opacity .5s, top .5s;
	-o-transition: opacity .5s, top .5s;
	transition: opacity .5s, top .5s;	
}
.gnav--sns--link{
	display: inline-block;
	font-style: italic;
	font-weight: 400;
	margin-right: 10px;
}
.gnav--sns--link:hover{
	text-decoration: underline;
}
.back{
	opacity: 0;
	position: relative;
	margin-top: 20px;
	text-align: right;
	top: 0;
	-webkit-transition: opacity .5s, top .5s;
	-o-transition: opacity .5s, top .5s;
	transition: opacity .5s, top .5s;		
}

/*----------
sumblist
----------*/
.sumblist{
	float: right;
	height: auto;
	margin: 70px 0;
	position: relative;
	top: 0px;
	width: 780px;
	opacity: 0;
	-webkit-transition: opacity .5s, top .5s;
	-o-transition: opacity .5s, top .5s;
	transition: opacity .5s, top .5s;	
}
.sumblist--inner{
	overflow: auto;
	height: auto;
	width: 100%;
}
.sumblist--inner--item{
	height: 132px;
	float: left;
	list-style-type: none;
	opacity: 0;
	position: relative;
	margin-right: 20px;
	margin-bottom: 20px;
	top: 0;
	width: 180px;
	-webkit-transition: opacity .3s, top .5s;
	-o-transition: opacity .3s, top .5s;
	transition: opacity .3s, top .5s;
}
.sumblist--inner--item:nth-child(4n){
	margin-right: 0;
}
.sumblist--inner--item:hover{
	opacity: .7 !important;
}
.sumblist--inner--item--link{
	display: block;
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}
.sumblist--inner--item--link--image{
	height: 100%;
	left: 0;
	line-height: 0;
	position: absolute;
	top: 0;
	width: 100%;
}

/*----------
content
----------*/
.content{
	float: right;
	height: auto;
	margin: 70px 0;
	opacity: 0;
	overflow: auto;	
	position: relative;
	top: 0;
	width: 780px;
	-webkit-transition: opacity .5s, top .5s;
	-o-transition: opacity .5s, top .5s;
	transition: opacity .5s, top .5s;	
}
.content--contact{
	height: 150px;
}
.content--head{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	border-top: 1px solid #00000066;
	float: left;
	font-weight: 700;
	height: auto;
	margin-right: 20px;
	padding-top: 3px;
}

.content--inner{
	float: left;
	height: auto;
	line-height: 18px;
	margin-right: 20px;
	width: 180px;
}
.content--inner.en{
	margin-right: 0;
}

/*----------
works
----------*/
.works--text{
	height: auto;
	float: left;
	margin-right: 20px;
	overflow: auto;
	width: 180px;
}
.works--text.end{
	margin-right: 0;
}
.works--text--inner{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	border-top: 1px solid #00000066;
	font-weight: 300;
	height: auto;
	padding-top: 10px;
	width: 100%;
}
.works--text--inner.title{
	font-weight: 700;
}
.works--images{
	clear: both;
	height: auto;
	width: 100%;
}
.works--images img{
	height: auto;
	margin-bottom: 20px;
	width: 100%;
}

/*----------
map
----------*/
.map{
	height: 608px;
	width: 580px;
}

/*----------
news
----------*/
.news{
	opacity: 0;
	position: relative;
	top: 0;
	-webkit-transition: opacity .5s, top .5s;
	-o-transition: opacity .5s, top .5s;
	transition: opacity .5s, top .5s;
}
.news--head{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	border-top: 1px solid #00000066;
	float: left;
	font-weight: 700;
	height: auto;
	margin-right: 20px;
	padding-top: 3px;
}
.news--images{
	float: left;
	height: auto;
	width: 380px;
}
.news--images--image{
	height: auto;
	margin-bottom: 20px;
	width: 380px;
}

/*----------
set
----------*/
/* 高さをコンテンツに合わせ、セクション間はmargin-bottomで空ける(About用) */
.content--section{
	overflow: hidden;
	margin-bottom: 36px;
}
.row150{
	min-height: 152px;
	overflow: hidden;
}
.row300{
	min-height: 304px;
	overflow: hidden;
}
.row450{
	min-height: 456px;
	overflow: hidden;
}
.row600{
	min-height: 608px;
	overflow: hidden;
}
.onecol{
	width: 180px;
}
.twocol{
	width: 380px;
}
.outer-link{
	color: #afafaf;
	display: block;
	margin-top: 10px;
	-webkit-transition: color .3s;
	-o-transition: color .3s;
	transition: color .3s;
}
.outer-link:hover{
	color: #00000066;
	text-decoration: underline;
}
/*----------
copyright
----------*/
.copyright{
	color: rgba(0,0,0,.5);
	clear: both;
	float: right;
	font-weight: 400;
	letter-spacing: .02em;
	margin-top: 20px;
	opacity: 0;
	position: relative;
	top: 0;
	-webkit-transition: opacity .5s, top .5s;
	-o-transition: opacity .5s, top .5s;
	transition: opacity .5s, top .5s;
}
}




/*---------------sp-------------------*/




@media(max-width: 760px){
.wrapper{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	height: 100%;
	padding: 20px;
	width: 100%;
}
.pc-only{
	display: none;	
}
/*----------
menu
----------*/
.menu{
	height: auto;
	width: 100%;
}
.menu-head{
	height: auto;
	padding-top: 40px;
	width: 100%;
}
.menu-head--logo{
	height: auto;
	margin-bottom: 100px;
	position: relative;
	top: 0px;
	width: 100%;
	opacity: 0;
	-webkit-transition: opacity .5s, top .5s;
	-o-transition: opacity .5s, top .5s;
	transition: opacity .5s, top .5s;
}
.menu-head--logo--item{
	height: auto;
	width: 90%;
}
.menu-head--description{
	font-size: 13px;
	font-style: italic;
	height: auto;
	line-height: 18px;
	margin-bottom: 30px;
	position: relative;
	top: 0;
	width: 100%;
	opacity: 0;
	-webkit-transition: opacity .5s, top .5s;
	-o-transition: opacity .5s, top .5s;
	transition: opacity .5s, top .5s;	
}
/*----------
gnav
----------*/
.gnav{
	height: auto;
	position: relative;
	top: 0;
	width: 100%;
}
.gnav--inner{
	height: auto;
	width: 0%;
	position: relative;
	top: 0;
	-webkit-transition: width 1.5s cubic-bezier(.03,.74,0,.99);
	-o-transition: 			width 1.5s cubic-bezier(.03,.74,0,.99);
	transition:					width 1.5s cubic-bezier(.03,.74,0,.99);
}
.gnav--inner--item{
	border-top: 1px solid #00000066;
	height: 40px;
	list-style-type: none;
	opacity: 0;
	overflow: visible;
	padding-top: 10px;
	position: relative;
	top: 0;
	-webkit-transition:	opacity .5s, top .5s; 
	-o-transition: 			opacity .5s, top .5s; 
	transition:					opacity .5s, top .5s; 
	width: 100%;
}
.gnav--inner--item--link{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	color: #00000044;
	font-size: 14px;
	font-weight: 700;
	padding-left: 20px;
}
.gnav--inner--item--link.present{
	color: #231815;
}
.gnav--sns{
	border-top: 1px solid #00000066;
	padding-top: 10px;
	-webkit-transition: width .3s;
	-o-transition: width .3s;
	transition: width .3s;
	width: 85%;
}
.gnav--sns--link{
	margin-right: 20px;
	font-style: italic;
}

/*----------
sumblist
----------*/
.sumblist{
	height: auto;
	margin-top: 40px;
	overflow: auto;
	position: relative;
	top: 0;
	width: 100%;
	opacity: 0;
	-webkit-transition: opacity .5s, top .5s;
	-o-transition: opacity .5s, top .5s;
	transition: opacity .5s, top .5s;
}
.sumblist--inner{
	height: auto;
	overflow: auto;
	padding-bottom: 10px;	
	position: relative;
	width: 100%;
}
.sumblist--inner--item{
	float: left;
	height: auto;
	list-style-type: none;
	margin-right: 4%;
	margin-bottom: 16px;
	width: 48%;
}
.sumblist--inner--item:nth-child(2n){
	margin-right: 0;
}
.sumblist--inner--item--link{
	height: 100%;
	width: 100%;
}
.sumblist--inner--item--link--image{
	height: auto;
	width: 100%;
}
.to-top{
	bottom: 20px;
	display: inline-block;
	right: 20px;
	height: auto;
	position: fixed;
	text-align: right;
	width: 100%;
}
.to-top--image{
	opacity: 0;
	height: auto;
	width: 24px;
	-webkit-transition: opacity .75s;
	-o-transition: opacity .75s;
	transition: opacity .75s;
}
/*----------
works
----------*/
.works{
	margin-top: 40px;
}
.works--text{
	height: auto;
	float: left;
	margin-right: 20px;
	overflow: auto;
	width: 100%;
}
.works--text.end{
	margin-right: 0;
	margin-bottom: 40px;
}
.works--text--inner{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	font-weight: 300;
	height: auto;
	padding-top: 0;
	padding-left: 20px;
	width: 100%;
}
.works--text--inner.title{
	border-top: 1px solid #00000066;
	font-weight: 700;
	margin-bottom: 40px;
	padding-left: 0;
	padding-top: 10px;
	width: 100%;
}
.works--images{
	clear: both;
	height: auto;
	width: 100%;
}
.works--images img{
	height: auto;
	margin-bottom: 20px;
	width: 100%;
}
/*----------
content
----------*/
.content{
	height: auto;
	opacity: 0;
	overflow: auto;	
	position: relative;
	margin-top: 40px;
	top: 0;
	width: 100%;
	-webkit-transition: opacity .5s, top .5s;
	-o-transition: opacity .5s, top .5s;
	transition: opacity .5s, top .5s;	
}
.content--contact{
	height: 150px;
}
.content--head{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	border-top: 1px solid #00000066;
	font-weight: 700;
	height: auto;
	margin-bottom: 40px;
	padding-top: 3px;
}

.content--inner{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	height: auto;
	line-height: 18px;
	margin-bottom: 40px;
	margin-right: 20px;
	padding-left: 20px;
	width: 100%;
}
.content--inner.en{
	margin-right: 0;
}

/*----------
map
----------*/
.map{
	height: 430px;
	margin-bottom: 40px;
	width: 100%;
}


/*----------
news
----------*/
.news{
	margin-bottom: 20px;
	opacity: 0;
	position: relative;
	top: 0;
	-webkit-transition: opacity .5s, top .5s;
	-o-transition: opacity .5s, top .5s;
	transition: opacity .5s, top .5s;
}
.news--head{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	border-top: 1px solid #00000066;
	margin-bottom: 20px;
	font-weight: 700;
	height: auto;
	padding-top: 3px;
}
.news--images{
	height: auto;
	width: 100%;
}
.news--images--image{
	height: auto;
	margin-bottom: 20px;
	width: 100%;
}

/*----------
set
----------*/
.outer-link{
	color: #00000066;
	display: block;
	margin-top: 10px;
	text-decoration: underline;
	-webkit-transition: color .3s;
	-o-transition: color .3s;
	transition: color .3s;
}

/*----------
copyright
----------*/
.copyright{
	color: #afafaf;
	display: block;
	font-weight: 400;
	margin-top: 40px;
	padding-bottom: 26px;
	text-align: left;
}
}