/*Theme Name:ポートフォリオ*/
body{
	font-family: "Zen Kaku Gothic New", sans-serif;
	font-weight: 400;
	font-style: normal;
	margin: 0;
	padding: 0;
	font-size: 16px;
	line-height: 1.3rem;
	color: #363A34;
	background-color: #F3F1EB;
}


h1, h2, h3, p,ul,li{
	padding: 0;
	margin: 0;
}
a{
	text-decoration: none;
}
img{
	display: block;
}
h2{
	font-size: 1.875rem;
	padding: 20px 0 5px;
	text-align: center;
}
h3{
	font-size: 15px;
	text-align: center;
	position: relative;
	margin-bottom: 30px;
}
h3::before{
	content: '';
	border-top: 1px solid #363A34;
	display: block;
	position: absolute;
	width: 150px;
	top: calc(50% - 0.5px);
	left: calc(50% - 75px);
}
h3 span{
	background-color: #F3F1EB;
	padding: 0 5px;
	position: relative; 
}

.container{
	padding: 0 20px;
	max-width: 1100px;
	margin: auto;
}

/* ヘッダー */
header{
	position: fixed;
	width: 100%;
	height: auto;
	z-index: 999;
	background-color: rgba(243, 241, 235, 0.8);
	
}
.header_logo img{
	width: 40px;
}
.header_container{
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
	padding: 18px;
}

.menu_button {
	position: absolute;
	right: 20px;
	z-index: 200;
	width: 26px;
	height: 21px;
	border: none;
	cursor: pointer;
	background: transparent;
	
}
.bar {
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: #363A34;
	border-radius: 5px;
	display: inline-block;
	transition: all .4s;
}
.bar1 {
	top: 0;
	width: 18px;
}
.bar2 {
	top: 10px;
}
.bar3 {
	bottom: 0px;
	width: 18px;
	transform: translateX(8px);
}

.menu_button.active .bar1 {
	width: 26px;
	transform: translateY(9px) rotate(-45deg);
}
.menu_button.active .bar2 {
  opacity: 0;
}
.menu_button.active .bar3 {
	width: 26px;
	transform: translateY(-9px) rotate(45deg);
}
.nav_wrapper {
	width: 100%;
	height: 100%;
	transition: all 0.2s;
	transform: translate(100%);
	position: fixed;
	top: 0;
	right: 0;
	z-index: 100;
	background: rgba(201, 92, 67, 0.9);
}
.nav_wrapper.open {
	transform: translate(0);
}
.nav {
	padding: 50% 0;
	list-style: none;
	text-align: center;
	height: 100%;
	overflow: auto;
	scrollbar-width: none;
}
.nav a{
	color: #F3F1EB;
	font-size: 25px;
	font-weight: bold;
	position: relative;
}
.nav a::after{
	position: absolute;
	content: '';
	width: 100%;
	height: 2px;
	left: 0;
	bottom: -3px;
	background: #F3F1EB;
	transform: scale(0,1);
	transform-origin: right top;
	transition: transform 0.3s;
}
.nav a:hover::after{
	transform-origin: left top;
	transform: scale(1,1);
}
.nav_item{
	font-size: 1.22rem;
	font-weight: bold;
	padding: 30px;
}


.menu_pc_list{
	display: flex;
	list-style: none;
}
.menu_pc_list a{
	color: #363A34;
	position: relative;
}
.menu_pc_list a::after{
	position: absolute;
	content: '';
	width: 100%;
	height: 2px;
	left: 0;
	bottom: -3px;
	background: #C95C43;
	transform: scale(0,1);
	transform-origin: right top;
	transition: transform 0.3s;
}
.menu_pc_list a:hover::after{
	transform-origin: left top;
	transform: scale(1,1);
}
.menu_item{
	font-size: 1.22rem;
	font-weight: bold;
	padding: 0 50px;
}


.menu_pc{
	display: none;
}


/*mv*/
.mv{
	width: 100%;
	height: 100vh;
	position: relative;
	overflow-x: hidden;
}
.mv_logo{
	z-index: 10;
	width: 95%;
	height: auto;
	top: 50%;
	position: absolute;
	transform: translate(-50%,-50%);
	left: 50%;
}
.flower_top{
	position: absolute;
	width: 130%;
	transform: translate(-50%,0);
	left: 50%;
	top: 20px;
}
.flower_bottom{
	position: absolute;
	width: 120%;
	transform: translate(-50%,0);
	left: 45%;
	bottom: 0;
}
.right, .left{
	width: 45%;
	position: absolute;
}
.right{
	right: -15%;
	top: 23%;
	transform: translate(0,-50%);
}
.left{
	left: -15%;
	bottom: 5%;
	transform: translate(0,-50%);
}




/* works */
.works_item_area{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.works_item{
	width: 100%;
	background-color: #FFFFFF;
	background-size: contain;
	margin-bottom: 50px;
	box-shadow: 0 8px 8px rgba(0, 0, 0, 0.15);
	transition: transform 0.35s ease-in-out;
}
.works_item:hover{
	transform: scale(1.05);
	box-shadow: 0 10px 10px rgba(0, 0, 0, 0.25);
}
.works_item ul{
	list-style: none;
}
.works_image img{
	width: 90%;
	height: auto;
	padding-top: 13%;
	margin: auto;
}
.works_title{
	color: #363A34;
	padding: 10px 0 0 20px;
}
.works_type{
	color: #757A72;
	padding-left: 20px;
	padding-bottom: 50px;
}




/*ボタン*/
.button{
	text-align: right;
	padding-bottom: 40px;
	padding-right: 20px;
}
.btn_link{
	position: relative;
	color: #363A34;
}
.btn_link::before{
	content: '';
	position: absolute;
	bottom: -5px;
	left: 15%;
	width: 110%;
	height: 1px;
	background-color: #363A34;
	transition: all .3s;
}
.btn_link::after{
	content: '';
	position: absolute;
	bottom: -1px;
	right: -27%;
	width: 20%;
	height: 1px;
	background-color: #363A34;
	transform: rotate(35deg);
	transition: all .3s;
}
.btn_link:hover::before{
	left: 23%;
}
.btn_link:hover::after{
	right: -35%;
}

.form_link{
	position: relative;
	color: #363A34;
}
.form_link::before{
	content: '';
	position: absolute;
	bottom: -5px;
	left: 15%;
	width: 105%;
	height: 1px;
	background-color: #363A34;
	transition: all .3s;
}
.form_link::after{
	content: '';
	position: absolute;
	bottom: 0px;
	right: -22%;
	width: 20%;
	height: 1px;
	background-color: #363A34;
	transform: rotate(35deg);
	transition: all .3s;
}
.form_link:hover::before{
	left: 23%;
}
.form_link:hover::after{
	right: -30%;
}






/* profile */
.profile{
	background-color: #EDE6D3;
}
.profile h3 span{
	background-color: #EDE6D3;
}
.illust img{
	width: 55%;
	height: auto;
	margin: 0 auto;
}
.name{
	font-size: 1.25rem;
}
.name span{
	font-size: 0.875rem;
	padding: 0 15px;
}
.text{
	padding: 30px 10px;
}
.syoukaibun{
	padding: 20px 0;
}
.syoukaibun p{
	padding: 10px 0;
}

/*contact*/
.contact p{
	display: inline-block;
	text-align: left;
	padding:  20px 20px 30px;
}
.contact_text{
	margin: auto;
	text-align: center;
}

/*フッター*/
footer{
	position: relative;
	margin-top: 60px;
}
footer img{
	position: absolute;
	width: 50px;
	height: auto;
	transform: translate(-50%, -50%);
	left: 50%;
}
.copy {
	background-color: #7a895f;
	text-align: center;
	padding: 50px 0 10px;
}
.copy small{
	font-size: 10px;
	color: #F3F1EB;
}




/*レスポンシブ*/
@media(min-width:768px){
	body{
		font-size: 23px;
		line-height: 35px;
	}
	.header_logo img{
		width: 50px;
	}
	.menu_button{
		width: 45px;
		height: 35px;
	}
	.bar1{
		width: 30px;
	}
	.bar2{
		top: 17px;
	}
	.bar3{
		width: 30px;
		transform: translateX(15px);
	}
	.menu_button.active .bar1 {
		width: 45px;
		transform: translateY(16px) rotate(-45deg); 
	}
	.menu_button.active .bar3 {
		width: 45px;
		transform: translateY(-16px) rotate(45deg); 
	}
	.nav li {
		margin: 80px 0;
	}
	.nav li a {
		font-size: 35px;
	}
/*mv*/
	.mv_logo{
		width: 75%;
	}
	.flower_top{
		width: 110%;
		top: 0px;
	}
	.flower_bottom{
		width: 100%;
		left: 50%;
	}
	.right{
		width: 35%;
	}
	.left{
		width: 35%;
		left: -5%;
	}
	
	.container{
		padding: 0 50px;
	}
	h2{
		font-size: 2.4rem;
		padding-top: 50px;
		margin-bottom: 0;
	}
	h3{
		font-size: 25px;
		margin-bottom: 80px;
	}
	h3::before{
		width: 200px;
		top: calc(50% - 0.5px);
		left: calc(50% - 100px);
	}
	
/*works*/
	.works_item_area{
		display: flex;
		justify-content: space-between;
		max-width: 1100px;
		margin: auto;
	}	
	.works_item{
		width: 48%;
	}
	.works_title{
		font-size: 18px;
	}
	.works_type{
		font-size: 18px;
	}
	.works_item{
		margin-bottom: 100px;
		width: 48%;
	}
	.button{
		padding-bottom: 80px;
	}
	.btn_link::after{
		bottom: 1px;
	}
	.form_link::after{
		bottom: 3px;
	}
	.name{
		font-size: 30px;
	}
	.name span{
		font-size: 23px;
	}
	.syoukaibun{
		font-size: 20px;
		padding: 50px 0;
	}
	.contact p{
		padding-bottom: 50px;
	}
	.copy small{
		font-size: 16px;
	}
}

@media(min-width:1024px){
/*mv*/
	.mv_logo{
		width: 45%;
	}
	.flower_top{
		width: 70%;
		left: 25%;
	}
	.flower_bottom{
		width: 60%;
		left: 75%;
	}
	.right{
		width: 23%;
		left: 85%;
	}
	.left{
		width: 23%;
	}
	
	.profile_container{
		display: grid;
		grid-template-columns: 40% 60%;
		max-width: 1100px;
	}
	.illust img{
		width: 90%;
		height: auto;
	}
}

@media(min-width:1200px){
	.menu_button{
		display: none; 
	}
	.menu_pc{
		display: block;
	}
}

@media(min-width:1440px){
	.flower_top{
		width: 60%;
	}
	.flower_bottom{
		width: 50%;
	}
	.left{
		left: -5%;
		bottom: 20%;
	}
}

@media(min-width:1980px){
	.container{
		padding: 0 300px;
	}
	.works_item_area{
		max-width:1320px; 
	}
}







