﻿@charset UTF-8;
/* ================================================ */
/*               全体設定                */
/* ================================================ */

body {
	/*	width: 100%;*/
	font-size: 16px;
	line-height: 1.6;
	color: #333;
	background-color:#fff;
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", sans-serif, Verdana, "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", Sans-Serif;
}

/*PCは全セクションそのままです*/

/*===============================================
PC : 画面の横幅が769px以上
=================================================*/


/* ================================================ */
/*ヘッダー*/
/* ================================================ */

.header {
	width: 100%;
	margin: 0 auto;
	border-bottom: 1px solid #DADADA;
}

.header h1{
	padding-top: 60px;
	text-align: center;
	margin-bottom: 30px;
}

.drawer-menu a{
	text-decoration: none;
	font-size: 14px;
	font-weight: bold;
	color: #333;
	display: block;
	margin: 20px 10px;
}

.drawer-menu a:hover{
  opacity: 0.7;
}

/* ================================================ */
/*メインコンテンツ*/
/* ================================================ */
.content-wrapper{
	width: 80%;
	margin: 0 auto;
}

.content-inner{
	text-align: center;
}
.content-inner h2{
	text-align: center;
	padding: 60px 0;
}

.works-detail{
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
}

.works-detail li{
	width: calc(100% / 3);/*3等分*/
	margin-bottom: 60px;
}

.works-detail img{
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
}

.works-detail img:hover{
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.works-detail a{
	text-decoration: none;
}

.works-detail figure{
	text-align:center;
}

.works-detail figcaption{
	color:grey;
	font-size:14px;
	padding: 4px;
}

.works-detail:after {
	content: '';
	clear: both;
	display: block;
}

.profile-detail{
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	margin-left: 18%;
}

.profile-detail img{
	margin: 10px auto;
}

.profile-detail-text{
	margin:0 6%;
}

.profile-detail-text h3{
	font-weight: bold;
	text-align: left;
	margin-bottom: 20px;
}

.profile-detail-text p{
	text-align: left;
	margin-bottom: 30px;
}

.btn{
	width: 300px;
	margin: 20px auto;
}

.btn a{
	display: block;
	font-weight: bold;
	color: #333;
	background-color: #ebf875;
	padding: 20px 0px 20px 0px;
	text-decoration: none;
	border-radius: 8px;
	text-align: center;
	transition-property: all;
	transition: 0.2s linear;
	position: relative

}
.btn a:hover {
  opacity: 0.7;
}

.insta-btn:before {
  content: "";
  display: inline-block;
  width: 25px;
  height: 25px;
  margin: 0px 0px 0px -30px;
  background: url(" ../images/icon_instagram.png") no-repeat;
  background-size: contain;
  vertical-align: middle;
  position: absolute;
}

.insta-btn:after, .link-btn:after {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f054';
  display: inline-block;
  background-size: contain;
  vertical-align: middle;
  position: absolute;
  padding:0px 0px 0px 30px;
}

/* ================================================ */
/*TOPへ戻るボタン*/
/* ================================================ */

#page_top{
  width: 90px;
  height: 90px;
  position: fixed;
  right: 0;
  bottom: 0;
  background: #AAA9A9;
  border-radius: 50%;
}
#page_top a{
  position: relative;
  display: block;
  width: 90px;
  height: 90px;
  text-decoration: none;
}
#page_top a::before{
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f102';
  font-size: 25px;
  color: #fff;
  position: absolute;
  width: 25px;
  height: 25px;
  top: -40px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}
#page_top a::after{
  content: 'PAGE TOP';
  font-size: 13px;
  color: #fff;
  position: absolute;
  top: 45px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}

#pageTop a:hover {
  text-decoration: none;
  opacity: 0.6;
}

/* ================================================ */
/*フッター*/
/* ================================================ */
footer {
	text-align: center;
	font-size: 12px;
	color: #999;
	padding: 32px 0;
}

/* ================================================ */
/*works_detail*/
/* ================================================ */

.projects-img{
	margin: 60px auto 30px;
	width: 600px;
}

.projects-text p{
	width: 600px;
	margin: 10px auto;
	text-align: center;
}

.projects-text h3{
	font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

/*ここからメディアクエリで各デバイスサイズに書き分け*/

/*================================================
Tablet : 画面の横幅が768pxまで
==================================================*/
@media screen and (max-width: 768px){

	.header h1 img{
		width: 80%;
	}

	.content-wrapper{
		width: 100%;
	}


	.content-inner h2{
		text-align: center;
		padding: 40px;
	}

	.content-inner h2 img{
			width: 30%;
		}

	p {
		font-size: 14px;
		}



	.works-detail li{
		width: 100%;
		display: block;
		margin:20px auto;
	}

	.profile-detail{
		width: 70%;
		display: block;
		margin: 0 auto;
	}
	.profile-detail img{
		width: 30%;
	}

	.profile-detail-text{
		margin: 0;
	}

	.profile-detail-text h3{
		font-weight: bold;
		text-align: center;

		font-size: 14px;
	}

	.profile-detail-text p{
		text-align: left;
		margin: 5% 10%;
		font-size: 13px !important;
		padding: 0 !important;
	}

	.btn{
		width: 250px;
		margin: 20px auto;
	}

}




/*================================================
Smartphone :  画面の横幅が640pxまで
=================================================*/
@media screen and (max-width:640px){

	.header h1 img{
		width: 80%;
	}

	.content-inner h2{
		text-align: center;
		padding: 30px 0 20px;
	}

	p {
		font-size: 13px;
		padding: 0 5px;
	}

	.works-detail figcaption{
		color:grey;
		font-size:14px;
		padding: 4px;
	}

	.profile-detail{
		width: 100%;
		display: block;
		margin:0 auto;
	}


	.projects-img{
	  	margin: 30px auto 0px;
		max-width: 100%;
		height: auto;
	}

	.projects-img img{
        max-width: 70%;
        height: auto;
	}

	.projects-text p{
		max-width: 70%;
		margin: 10px auto 40px;
		text-align: center;
	}

	.projects-text h3{
	font-weight: bold;
    text-align: center;
    margin: 10px 5%;
    font-size: 12px !important;
}

}
