

/*==========================================
 修正
===========================================*/
#footer{
	text-align: left;
}

#footer > div{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
	width: 80%;
	margin: 0 auto;
}

#footer > div p a span{
	font-size: 0.8em;
}

@media only screen and (max-width: 800px){
	#footer > div{
		width: 90%;
		flex: none;
	}
	#footer > div p{
		width: 100%;
		display: block;
		text-align: center;
	}
	
	#footer > div p:first-of-type{
		order:2;
		padding-top: 10px;
	}
}
/*==========================================
 共通
===========================================*/
/**********
 common
**********/
/* margin */
.mBtmNone{ margin-bottom:none;}
.mBtm10{ margin-bottom:10px;}
.mBtm20{ margin-bottom:20px;}
.mBtm30{ margin-bottom:30px;}

.mTop5{ margin-top:5px;}
.mTop10{ margin-top:10px;}
.mTop20{ margin-top:20px;}
.mTop30{ margin-top:30px;}

/* padding */
.pBtmNone{ padding-bottom:none;}
.pBtm05{ padding-bottom:5px;}
.pBtm10{ padding-bottom:10px;}
.pBtm20{ padding-bottom:20px;}
.pBtm30{ padding-bottom:30px;}

.pTop10{ padding-top:10px;}
.pTop20{ padding-top:20px;}
.pTop30{ padding-top:30px;}

/* color */
.cRed { color:#e24000;}
.cOrg { color:#c60;}
.cGry { color:#666;}
.cBrwn{ color:#553b27;}
.cDred{ color:#990000;}
.cBlue{ color:#0059B9;}
.cGren{ color:#39954a;}
.cBGren{ color:#00a29e;;}


/* fontsize */
.fs120{ font-size:120%;}
.fs80{ font-size:80%;}


/** border **/
.underB{
	padding-bottom:20px;
	margin-bottom:20px;
	border-bottom:1px dotted #56503d;
}

/** align **/
.aCenter{ text-align:center;}
.aLeft{ text-align:left}
.aRight{ text-align:right;}


/** padding margin none **/
.pmNone{
	padding:0;
	margin:0;
}

/** margin center set **/
.centerSet{
	margin:0 auto;
}


/**********
 表示切り替え
**********/

/** visible 選択項目のみ表示 **/
.visible_mb{ display:block;}
.visible_tb{ display:none;}
.visible_pc{ display:none;}

@media only screen and (min-width: 641px) and (max-width: 799px) {
.visible_mb{ display:none;}
.visible_tb{ display:block;}
.visible_pc{ display:none;}
}

@media only screen and (min-width: 800px) {
.visible_mb{ display:none;}
.visible_tb{ display:none;}
.visible_pc{ display:block;}
}

/** visible 選択項目のみ表示しない **/
.hidden_mb{ display:none;}
.hidden_tb{ display:block;}
.hidden_pc{ display:block;}

@media only screen and (min-width: 641px) and (max-width: 799px) {
.hidden_mb{ display:block;}
.hidden_tb{ display:none;}
.hidden_pc{ display:block;}
}

@media only screen and (min-width: 800px) {
.hidden_mb{ display:block;}
.hidden_tb{ display:block;}
.hidden_pc{ display:none;}
}

@media print{
.visible_mb{ display:none;}
.visible_tb{ display:none;}
.visible_pc{ display:block;}
.hidden_mb{ display:block;}
.hidden_tb{ display:block;}
.hidden_pc{ display:none;}
}

/**********
 オンマウスでフェード
**********/
.fade_on{
	/*変化にかかる時間とタイミング、進行具合を指定*/
	transition: all 0.3s ease 0s;
}

/*オンマウス時に実行*/
.fade_on:hover,
.fade_on:active {
	/*透明度具合を指定*/
	opacity: 0.7;
	filter: alpha(opacity=70);
	-ms-filter: "alpha(opacity=70)";
}



/* ボタン */
a.linkbtn {
    background: #eee;
    border-radius: 3px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 15px auto 0;
    max-width: 280px;
    padding: 10px 25px;
    color: #313131;
    transition: 0.3s ease-in-out;
    font-weight: 500;
}
a.linkbtn:after {
  content: "";
  position: absolute;
  top: 50%;
  bottom: 0;
  right: 2rem;
  font-size: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: right 0.3s;
  width: 6px;
  height: 6px;
  border-top: solid 2px currentColor;
  border-right: solid 2px currentColor;
  transform: translateY(-50%) rotate(45deg);
}
a.linkbtn:hover {
  background: #000;
  color: #FFF;
	text-decoration: none;
}
a.linkbtn:hover:after {
  right: 1.4rem;
}



/**********
 flexWrap
**********/
.flexWrap{
	display:flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content: space-between;
	justify-content: space-between;
}


/*==========================================
sidebar
===========================================*/

#sidebar h1 img{
	width: 100%;
	max-width: 150px;
	margin: 0 auto;
}


@media only screen and (max-width: 799px){
	#sidebar h1 img{
		width: 100%;
		max-width: 150px;
		margin: 0 auto;
		max-height: 40px;
	}
	#sidebar h1 img.hidden_pc{
		display: inline-block;
	}
	
	#sidebarWrap{
		height: 70px;
	}
}



/*==========================================
見出し
===========================================*/
h2.title span{
	display: block;
	font-size: 1.6rem;
}



/*==========================================
サイドメニュー
===========================================*/

.toggle-btn {
	display: none;
}

.global-nav__list li{
	padding-bottom: 15px;
}

.global-nav__list li.global-nav_line{
	border-top:1px solid #999;
	padding-top: 30px;
	margin-top: 10px;
}


@media only screen and (min-width: 800px) {
	.global-nav {
		display: block !important;
		font-weight: bold;
	}
}

@media only screen and (max-width: 799px){
	
	.toggle-btn {
		display: block;
		width: 50px;
		height: 50px;
		position: absolute;
		right: 20px;
		top: 20px;
		z-index:9999;
	}

	.toggle-btn__line {
		  background: #000;
		  display: block;
		  height: 3px;
		  position: absolute;
		  transition: transform 0.5s;
		  width: 100%;
	}

	.toggle-btn__line--top {
	  top: 3px;
	}

	.toggle-btn__line--center {
	  top: 15px;
	}

	.toggle-btn__line--bottom {
	  top: 27px;
	}

	.toggle-btn__line--top.active {
		top: 15px;
		transform: rotate(45deg);
		background: #fff;
	}
	.toggle-btn__line--center.active {
		  transform: scaleX(0);
	}
	.toggle-btn__line--bottom.active {
		top: 15px;
		transform: rotate(135deg);
		background: #fff;
	}

	/* global-nav メニュー部分　*/
	.global-nav {
		display: none;
		position: fixed;
		top: 0;
		background: rgba(0, 0, 0, 0.8);
		width: 100%;
		height: 100%;
		z-index:500;
	}

	.global-nav__inner {
		display: flex;
		justify-content: center;
		align-items: center;
		width: 100%;
		height: 100vh;
	}

	.global-nav__item {
		margin-bottom: 10px;
	}

	.global-nav__item a {
		color: #fff;
		font-size: 2.2rem;
		font-weight: bold;
		text-decoration: none;
		transition: 0.5s;
	}

	.global-nav__item a:hover {
		opacity: 0.7;
	}
	
	.global-nav__list li.global-nav_line{
		border-top:1px solid #fff;
		padding-top: 15px;
		margin-top: 0;
	}

}


/*==========================================
パララックス　ベース
===========================================*/

.app {
    width: 100%;
    height: 64vh;
	max-height: 700px;
    background-image:url(../images/works_c_01m_02.jpg);
    background-repeat: no-repeat;
    background-size: 150%;
    background-position: center top;
}

@media only screen and (min-width: 980px) and (max-width: 1200px) {
	.app {
		max-height: 500px;
	}
}
@media only screen and (max-width: 980px){
	.app {
		height: 220px;
	}
}



