@import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css);
@import url(https://fonts.googleapis.com/css?family=Modern+Antiqua);

/* reset */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{margin:0;padding:0;}
address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;}
ul{list-style:none;}
table{border-collapse:collapse;border-spacing:0;}
caption,th{text-align:left;}
q:before,q:after{content:'';}
object,embed{vertical-align:top;}
legend{display:none;}
h1,h2,h3,h4,h5,h6{font-size:100%;}
img,abbr,acronym,fieldset{border:0;}

body{
	font: 14px/1.9 'Noto Sans JP', Arial, Verdana, 游ゴシック, YuGothic,'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', メイリオ, Meiryo,sans-serif;
	font-weight: 300;
	-webkit-text-size-adjust:100%;
	overflow-x: hidden;
	color: #000;
	background: #fff;
}

a{
	color: #0066ff;
	text-decoration: none;
}

a:hover, .active{
  text-decoration: underline;
}

a:active, a:focus,input:active, input:focus{outline:0;}


/* ヘッダー
------------------------------------------------------------*/
#mainnav a{
	color: #000;
	font-family: 'Modern Antiqua', 'Noto Sans JP',serif;
}

img  {
width: 200%;
height: 130px;
}


/* フッター
------------------------------------------------------------*/
#footer{
	clear: both;
	padding: 50px 10px 50px 0;
	text-align: center;
	font-size: 12px;
}


/* 共通
------------------------------------------------------------*/
h1, h2{
	font-family: 'Modern Antiqua', 'Noto Sans JP',serif;
}

img{
	max-width: 100%;
	height: auto;
}

section{
  clear: both;
}

section h2{
	width: 60%;
	margin: 70px auto;
	font-size: 22px;
	font-weight:normal;
	text-align: center;
}


.inner{
	width: 80%;
	margin: 0 auto;
	padding-bottom: 50px;
}

#sec03 .inner, #sec04 .inner{
	border-bottom: 1px solid #a0a0a0;
}

.innerS{
	width: 50%;
	margin: 0 auto;
	padding-bottom: 80px;
}

.button--1{
    --color : #7d90ef ;
}
.button--2{
    --color : #e0b753 ;
}
.button--3{
    --color : #9465c9 ;
}
.button{
    position : relative ;
    width : 280px ;
    height : 80px ;
    text-decoration : none ;
    font-family: 'Teko', sans-serif;
}
.button__left{
    position : relative ;
    z-index : 2 ;
    width : calc( 75% - 3px ) ;
    height : 100% ;
    box-sizing : border-box ;
    padding : 4px 0 ;
    border-radius : 4px 0 0 4px ;
    box-shadow : 0 0 24px rgba(115,150,165,.3) ;
    color : #555 ;
    background : #fff ;
}
.button__left::before{
    content : '' ;
    position : absolute ;
    top : 0 ;
    right : -3px ;
    width : 4px ;
    height : 100% ;
    box-sizing : border-box ;
    border-top : solid 32px #FFF ;
    border-bottom : solid 32px #FFF ;
    background : #555 ;
    clip-path : path('M4,78v-4c-1.1,0-2-.9-2-2s.9-2,2-2v-4c-1.1,0-2-.9-2-2s.9-2,2-2v-4c-1.1,0-2-.9-2-2s.9-2,2-2v-4c-1.1,0-2-.9-2-2s.9-2,2-2v-4c-1.1,0-2-.9-2-2s.9-2,2-2v-4c-1.1,0-2-.9-2-2s.9-2,2-2v-4c-1.1,0-2-.9-2-2s.9-2,2-2v-4c-1.1,0-2-.9-2-2s.9-2,2-2v-4c-1.1,0-2-.9-2-2s.9-2,2-2V2c-1.1,0-2-.9-2-2H0V80H2c0-1.1,.9-2,2-2Z') ;
}
.button__left::after{
    content : '' ;
    position : absolute ;
    top : 0 ;
    right : 0 ;
    bottom : 0 ;
    margin : auto 0 ;
    width : 20px ;
    height : 16px ;
    background : #555 ;
}
.button__title{
    position : relative ;
    display : inline-block ;
    height : 10px ;
    font-size : 12px ;
    line-height : 10px ;
    letter-spacing : 2px ;
    padding : 0 0 4px 12px ;
}
.button__title::before{
    content : '' ;
    position : absolute ;
    left : 0 ;
    bottom : 0 ;
    width : 100% ;
    height : 1px ;
    background : var(--color) ;
}
.button__text{
    position : relative ;
    display : inline-block ;
    height : 26px ;
    line-height : 17px ;
    padding-left : 10px ;
    font-size : 14px ;
    margin-top : 4px ;
    letter-spacing : 6px ;
}

.button__barcode{
    position : absolute ;
    top : 0 ;
    right : 32px ;
    bottom : 0 ;
    margin : auto 0 ;
    width : 30px ;
    height : 10px ;
    box-sizing : border-box ;
   
}
.button__right{
    position : absolute ;
    z-index : 2 ;
    top : 0 ;
    right : 0 ;
    width : calc( 25% - 3px ) ;
    height : 100% ;
    border-radius : 0 4px 4px 0 ;
    background : var(--color) ;
    transform-origin : bottom left ;
    box-shadow : 0 0 24px rgba(115,150,165,.3) ;
    transition : all ease .5s ;
}
.button__right::before{
    content : '' ;
    position : absolute ;
    top : 0 ;
    left : -3px ;
    width : 4px ;
    height : 100% ;
    box-sizing : border-box ;
    border-top : solid 32px var(--color) ;
    border-bottom : solid 32px var(--color) ;
    background : #555 ;
    transform : rotate(180deg) ;
    clip-path : path('M4,78v-4c-1.1,0-2-.9-2-2s.9-2,2-2v-4c-1.1,0-2-.9-2-2s.9-2,2-2v-4c-1.1,0-2-.9-2-2s.9-2,2-2v-4c-1.1,0-2-.9-2-2s.9-2,2-2v-4c-1.1,0-2-.9-2-2s.9-2,2-2v-4c-1.1,0-2-.9-2-2s.9-2,2-2v-4c-1.1,0-2-.9-2-2s.9-2,2-2v-4c-1.1,0-2-.9-2-2s.9-2,2-2v-4c-1.1,0-2-.9-2-2s.9-2,2-2V2c-1.1,0-2-.9-2-2H0V80H2c0-1.1,.9-2,2-2Z') ;
}
.button__right::after{
    content : '' ;
    position : absolute ;
    z-index : 1 ;
    top : 0 ;
    left : 0 ;
    bottom : 0 ;
    margin : auto 0 ;
    width : 40px ;
    height : 16px ;
    background : #555 ;
}
.button__materials{
    position : absolute ;
    z-index : 2 ;
    top : 0 ;
    right : -12px ;
    bottom : 0 ; 
    margin : auto 0 ;
    text-align : center ;
    width : 56px ;
    height : 24px ;
    font-size : 15px ;
    letter-spacing : 3px ;
    color : #fff ;
    background : var( --color ) ;
    transform : rotate( -90deg);
}
.button__materials::before,
.button__materials::after{
    content : '' ;
    position : absolute ;
    top : -8px ;
    width : 0 ;
    height : 0 ;
    border-top : solid 0 transparent ;
    border-bottom : solid 8px var(--color) ;
}
.button__materials::before{
    border-left : solid  0 transparent ;
    border-right : solid 12px  transparent ;
    left : 18px ;
}
.button__materials::after{
    border-left : solid 12px transparent ;
    border-right : solid 0 transparent ;
    right : 18px ;
}
.arrow{
    position : absolute ;
    z-index : 1 ;
    top : 0 ;
    bottom : 0 ;
    right : 50px ;
    margin : auto 0 ;
    width : 16px ;
    height : 16px ;
    background : var(--color) ;
}
.arrow::before,
.arrow::after{
    content : '' ;
    position : absolute ;
    right : -16px ;
    width : 16px ;
    height : 16px ;
    background : var(--color) ;
}
.arrow::before{
    top : -8px ;
    transform-origin : bottom right ; 
    transform : skew( 30deg ) ;
}
.arrow::after{
    bottom : -8px ;
    transform-origin : top right ; 
    transform : skew( -30deg ) ;
}
.button:hover{
    animation : move .4s ease ;
    animation-fill-mode : forwards ;
}
.button:hover .button__right{
    animation : cut .4s ease-out ;
    animation-fill-mode : forwards ;
}
@keyframes move{
    0%  {
        transform : scaleY( 0.98 ) scaleX(1.02);
    }
    30%{
        transform : scaleY( 0.98 ) scaleX(1.02);
    }
    50% {
        transform : scaleY( 1) scaleX(1);
    }
    100%{
        transform : scaleY( 1) scaleX(1);
    }
}
@keyframes cut{
    0%  {
        top : 0 ;
        right : 0 ;
        transform : rotate( 0 ) ;
    }
    30%{
        top : 0 ;
        right : 0 ;
        transform : rotate( 0 ) ;
    }
    50% {
        top : 0 ;
        right : 0 ;
        transform : rotate( 35deg ) ;
    }
    100%{
        top : 8px ;
        right : -8px ;
        transform : rotate( 45deg ) ;
    }
}





/* 本体には関係ないスタイル */
.container{
    width : 100% ;
    height : 600px ;
    display : flex ;
    flex-direction : column ;
    justify-content : center ;
    align-items : center ;
    background : #FFF ;
}
.button:not(:last-child){
    margin-bottom : 60px ;
}

/*コンテンツ（ヘッダーとフッター以外を囲むブロック）
---------------------------------------------------------------------------*/
#contents {
	overflow: hidden;
	padding: 50px 3%;	/*上下、左右へのブロック内の余白*/
}
/*コンテンツ内にあるh2(見出し)タグの指定*/
#contents h2 {
	clear: both;
	margin-bottom: 30px;
	font-size: 24px;		/*文字サイズ*/
	text-align: center;		/*文字をセンタリング*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くする指定*/
}
#contents h2 span {
	display: inline-block;
	background: url(../images/line1.png) repeat-x center bottom / auto 2px;	/*下線画像の読み込み。2pxは画像の高さの指定。*/
	padding: 0px 30px;	/*上下、左右への余白。文字の両サイドをここで空ける分だけ、下線が見えます。*/
}
/*コンテンツ内にあるh3(見出し)タグの指定*/
#contents h3 {
	clear: both;
	margin-bottom: 30px;
	font-size: 18px;		/*文字サイズ*/
	text-align: center;		/*文字をセンタリング*/
}
/*コンテンツ内にあるp(段落)タグ設定*/
#contents p {
	padding: 0px 20px 30px;	/*上、左右、下への余白*/
}
/*他。微調整。*/
#contents p + p {
	margin-top: -5px;
}
#contents h2 + p,
#contents h3 + p {
	margin-top: -10px;
}

/*listブロック
---------------------------------------------------------------------------*/
/*各ブロックごとの設定*/
.list {
	overflow: hidden;
	font-size: 90%;		/*文字サイズ*/
	margin-bottom: 50px;	/*ブロックの下に空けるスペース*/
}
/*各ブロックごとの設定（サムネイルタイプへの追加指定）*/
.list.thumb {
	width: 20%;			/*画像幅*/
	margin: 0 2% 35px;
	padding-top: 1%;
	float: left;		/*画像を左に回り込み*/
	text-align: center;
}
/*画像の設定*/
.list img {
	border-radius: 60%;	/*円形にする指定*/
	width: 20%;			/*画像の幅*/
	float: left;		/*画像を左に回り込み*/
	margin-right: 3%;	/*画像の右に空けるスペース*/
}
/*画像の設定（サムネイルタイプへの追加指定）*/
.list.thumb img {
	margin: 0;
	float: none;
	width: 20%;		/*画像の幅*/
}
/*マウスオン事*/
.list a:hover img {
	transition: 0.5s;
	opacity: 0.7;	/*透明度。70%色が出た状態。*/
}
/*マウスオン事（サムネイルタイプへの追加指定）*/
.list.thumb a:hover img {
	transform: scale(1.05);	/*ほんの少し画像を大きくする指定*/
}
/*h4タグ*/
.list h4 {
	font-size: 140%;	/*文字サイズ*/
}
/*h4タグ（サムネイルタイプへの追加指定）*/
.list.thumb h4 {
	font-size: 100%;	/*文字サイズ*/
}
/*p(段落)タグ*/
.list p {
	padding: 0 !important;
	line-height: 2;
}


/* SEC02 Gallery
------------------------------------------------------------*/
#sec02{
	padding: 0 !important;
}

#sec02 header{
	display: none;
}

#gallery{
	overflow: hidden;
}

#gallery li{
	float: left;
	width: calc(100%/3);
	line-height: 0;
}
#gallery li.full{
	width: 100%;
}


#gallery img{
	display: block;
	width: 100%;
	height: auto;
}


/* SEC03 BRAND
------------------------------------------------------------*/
.col4 .img{
	margin: 0 auto;
}



/* SEC04 PROJECT
------------------------------------------------------------*/
#sec04{
	padding-bottom: 0 !important;
}

.article{
	clear: both;
	overflow: hidden;
	padding-bottom: 50px;
}

.article img{
	float: left;
	margin: 5px 20px 20px;
}

.article p{
	margin-bottom: 20px;
}



/* SEC05 COMPANY
------------------------------------------------------------*/
#sec05 p{
	margin-bottom: 5px;
}

.col2 li{
	display: inline-block;
	width: 100%;
  margin: 20px 0;
}

#map{
	position: relative;
	padding-bottom: 75%;
	height: 0;
	overflow: hidden;
	z-index: 0;
}

#map iframe{
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
	border: 0;
}



/* RESPONSIVE 設定
------------------------------------------------------------*/

@media only screen and (min-width: 800px){
	body{
		font-size:14px;
	}
	
	#wrapper{
		width: 100%;
	}
	
	#content{
		width: 80%;
	}
	
	#sidebar{
		width: 12%;
		position: fixed;
		top: 0;
		right: 4%;
		background: #fff;
	}
	
  a#menu{
		display:none;
	}	

	.panel{
		display:block !important;
	}
	
	#sidebar h1{
		padding: 30px 0;
	}

	#mainnav li{
		font-size: 14px;
		padding: 10px 0;
	}
	
	#sns{
		margin-top: 50px;
	}
	
	#sns li{
		display: inline-block;
		padding-right: 10px;
	}

	#sns a:hover img{
		opacity: .8;
	}
	
	/* SEC03 BRAND
	-----------------*/
	.col4{
		text-align: center;
	}

	.col4 li{
		display: inline-block;
		width: 18%;
		padding: 0 3%;
		vertical-align: top;
		text-align: left;
	}
	
	#map iframe{
		height: 200px !important;
  }
	
  #footer{
		padding: 30px 10px 70px 0;
	}
}


@media only screen and (min-width: 641px){
	.col2 li{
		width: 60%;
		vertical-align: top;
	}
	.col2 li:first-child{
		width: 35%;
		padding-right: 4%;
	}
}

@media only screen and (max-width: 640px){
	.innerS{
		width: 94%;
		padding-bottom: 30px;
	}
	#gallery li{
		float: none;
		width: 100%;
	}
	.article img{
		float: none;
		display: block;
		margin: 0 auto 20px;
	}
	#map iframe{
		width: 96% !important;
		left: 2%;
	}
}

@media only screen and (max-width: 799px){
	#sidebar{
		position: fixed;
		width: 100%;
		z-index:500;
	}
	
	#sidebarWrap{
		position: relative;
		width: 100%;
		height: 60px;
		background: #fff;
		border-bottom: 1px solid #ccc;
	}
	
	#sidebar h1{
		text-align: center;
		padding-top: 15px;
	}
	
	#sidebar h1 img{
		width: auto !important;
		max-height: 35px;
	}
	
  a#menu{
  	display: inline-block;
  	position: relative;
  	width: 40px;
  	height: 40px;
  	margin: 10px;
	}

	#menuBtn{
  	display: block;
  	position: absolute;
  	top: 50%;
  	left: 50%;
  	width: 18px;
  	height: 2px;
  	margin: -1px 0 0 -7px;
  	background: #000;
  	transition: .2s;
	}

	#menuBtn:before, #menuBtn:after{
  	display: block;
  	content: "";
  	position: absolute;
  	top: 50%;
  	left: 0;
  	width: 18px;
  	height: 2px;
  	background: #000;
  	transition: .3s;
	}

	#menuBtn:before{
  	margin-top: -7px;
	}

	#menuBtn:after{
  	margin-top: 5px;
	}

	a#menu .close{
  	background: transparent;
	}

	a#menu .close:before, a#menu .close:after{
  	margin-top: 0;
	}

	a#menu .close:before{
  	transform: rotate(-45deg);
  	-webkit-transform: rotate(-45deg);
	}

	a#menu .close:after{
  	transform: rotate(-135deg);
  	-webkit-transform: rotate(-135deg);
	}

	.panel{
		width: 100%;
		display: none;
		overflow: hidden;
		position: relative;
		left: 0;
		top: -10px;
		z-index: 100;
	}

	#mainnav{
		position: absolute;
		top: 0;
		width: 100%;
		text-align: right;
	}

	#mainnav ul{
		border-bottom: 1px solid #ccc;
		background: #fff;
		text-align: left;
	}

	#mainnav li a{
		position: relative;
		display: block;
		padding: 15px 25px;
		border-bottom: 1px solid #ccc;
		color: #000;
		font-weight: 400;
	}
	#mainnav li a:before{
		display: block;
		content: "";
		position: absolute;
		top: 50%;
		left: 5px;
		width: 6px;
		height: 6px;
		margin: -4px 0 0 0;
		border-top: solid 2px #000;
		border-right: solid 2px #000;
		-webkit-transform: rotate(45deg);
		transform: rotate(45deg);
	}
	#mainnav #sns li{
		display: inline-block;
	}
	#mainnav #sns li a{
		position: relative;
		display: inline-block;
		padding: 15px 10px 0;
		border: 0;
	}
	#mainnav #sns li a:before{
		border: 0;
	}
	.col4 li{
		margin: 0 auto 50px;
		display: block;
		text-align: center;
	}
	section h2{
		margin: 55px auto;
	}
}