@charset 'UTF-8';

/*
一般的なスタイル
================================================ */
html {
    font-size: 100%;
}
body {
	color: #555;
	font-family: sans-serif;
}
:root {
	--main-color: #000;
	--sub-color: #fff;
	--sub-hover-color: #eaeaea;
}
/*
共通
================================================ */
p {
	line-height: 1.7;
}
img {
	width: 100%;
}
/* Layout */
.wrapper {
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
	padding: 0 1rem;
}
.home_btn {
	display: inline-block;
	width: 250px;
	text-align: center;
	text-decoration: none;
	line-height: 60px;
	outline: none;
	color: black;
	background-color: #fff;
	position: relative;
	border: 1px solid black;
	transition: color 0.5s ease;
	margin: 0 auto;
}
.home_btn:hover {
	color: white;
}
.home_btn:hover::before {
	transform: scaleX(1);
	transform-origin: left;
}
.home_btn::before {
	position: absolute;
  top: 0;
  left: 0;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: black;
  transform: scaleX(0);
  transform-origin: right;
  transition: all 0.5s ease;
  transition-property: transform;
}
.home_btn .text {
	position: relative;
}
	
	
.section-title {
	text-align: center;
}
.section-title h2 {
	font-size: 2rem;
	letter-spacing: .3em;
	font-family: itc-avant-garde-gothic-pro, sans-serif;
	font-weight: 300;
	font-style: normal;
}
.section-title p {
	font-size: .8rem;
	letter-spacing: .8em;
}
/*
ヘッダー
================================================ */
header {
	display: flex;
	justify-content: space-between;
	/* 固定表示　*/
	position: fixed;
	width: 100%;
	z-index: 2;
}
header h1 img {
	width: 8rem;
	padding: 1rem;
}
.animate__slideInLeft {
	-webkit-animation-duration: 1s;
	animation-delay: .75s;
}
header nav button {
	color: white;
	font-family: urw-din, sans-serif;
	font-weight: 600;
	font-style: normal;
	font-size: .8rem;
	margin: 15px 15px 0 0;
	padding: 1rem 1.5rem 1rem 1.5rem;
	background: black;
}
header nav ul {
	color: white;
	width: 0;
	position: absolute;
	top: 77px;
	right: -3px;
	transition: .5s;
	padding: .7rem 0;
	background: black;
}
header nav li {
	font-family: urw-din, sans-serif;
	font-weight: 600;
	font-style: normal;
	font-size: .7rem;
	line-height: 2rem;
	list-style: none;
	text-align: center;
}
header nav a {
	width: 50%;
}
header nav a:hover {
	color: var(--sub-hover-color);
}
header nav .open-menu {
	width: 50%;
}

/*
ホームメイン
================================================ */
.home-main {
	display: block;
	padding: 100px 0 5rem 0;
	max-width: 450px;
	text-align: center;
	position: relative;
	overflow: hidden;
}
.animate__rotateIn {
	width: 80%;
	-webkit-animation-duration: 1.25s;
	animation-duration: 1.25s;
	animation-timing-function: ease-out;
}
.animate__fadeIn {
	font-family: itc-avant-garde-gothic-pro, sans-serif;
	font-weight: 300;
	font-style: normal;
	letter-spacing: .1em;
	font-size: 3rem;
	color: var(--main-color);
	text-shadow: 1px 0 0 #fff,0 1px 0 #fff,-1px 0 0 #fff,0 -1px 0 #fff,3px 3px 0 #fff;
	position: absolute;
	top: 12.5rem;
	left: 1.75rem;
	text-align: left;
	-webkit-animation-duration: 2s;
	animation-duration: 2s;
	animation-delay: 2s;
}
.home-content-job {
	font-family: urw-din, sans-serif;
	font-weight: 200;
	font-style: normal;
	font-size: 1.125rem;
	color: var(--main-color);
	padding: 0 2.1rem;
	margin-bottom: 1.25rem;
	text-align: center;
}
.home-content-job span {
	color: var(--sub-hover-color);
}
.home-content {
	font-size: .8rem;
	font-style: normal;
	color: var(--main-color);
	text-align: justify;
	padding: 0 2.1rem;
	margin: 0 0 5rem;
}
.grid {
	display: grid;
	width: 80vw;
	margin: 0 auto;
	gap: 2vw;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	margin-bottom: 50px;
}
.item {
	width: 100%;
    height: 100%;
	margin-bottom: 2rem;
    object-fit: cover;
    object-position: center;
}
.item img {
	border: 1px solid var(--main-color);
}
.item time {
	margin-top: 10px;
}
.grid p {
	color: var(--main-color);
	font-size: .8rem;
}
.grid p span {
	font-size: .6rem;
}

/*
ポートフォリオ
================================================ */
#portforio {
	background: var(--sub-hover-color);
	padding: 150px 0 1rem;
}
#portforio .section-title {
	color:  var(--main-color);
	margin-bottom: 3.5rem;
}
#portforio time, #portforio i {
	font-size: .6rem;
	color: var(--main-color);
	margin-bottom: 10px;
}
#portforio p {
	font-size: .8rem;
}
.portforio-image {
	width: 70%;
	box-shadow: 0 1px 5px -2px rgb(100 100 100 / 20%);
}
.back-home {
	text-align: center;
}
.fa-sort-up {
	font-size: 1.1rem;
}
.fa-chevron-up {
	color: var(--main-color);
}

/* 各詳細ページ
--------------------------------------------- */
.portforio-page-image {
	background-color: var(--sub-hover-color);
	padding: 7rem 1rem 4rem;
}
.portforio-page-image p {
	color: var(--main-color);
	margin-bottom: 10px;
	font-size: .8rem;
	line-height: 1.4;
	max-width: 500px;
}
.portforio-page-image img {
	border: 1px solid var(--main-color);
	max-width: 500px;
}
.portforio-page-image i, .portforio-page-image time {
	font-size: .6rem;
	color: var(--main-color);
	margin-bottom: 10px;
}
.page-grid {
	display: grid;
	width: 100%;
	margin: 0 auto;
	gap: 4vw;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	margin-bottom: 20px;
}
.single-image {
	max-width: 900px;
}

/* スナップ（現在非公開）
--------------------------------------------- */
#snap .section-title {
	color: var(--main-color);
	padding: 150px 0 1.5rem;
}

/* 自己紹介
--------------------------------------------- */
#about .section-title {
	color: var(--main-color);
	padding: 150px 0 1.5rem;
}
#about-text {
	padding: 0 2rem;
	text-align: center;
}
#about-text img {
	margin-bottom: 1.5rem;
	width: 250px;
}
#about-text p {
	color: var(--main-color);
	font-size: .8rem;
	margin-bottom: .8rem;
}

/* お問い合わせ
--------------------------------------------- */
#contact {
	width: 100vw;
	background: var(--sub-hover-color);
}
table {
	width: 100%;
}
.form-item {
	padding: 24px 2rem;
	display: flex;
	flex-wrap: wrap;
}
.form-item-top {
	margin-top: 1.5rem;
}
.form-item td {
	width: 100%;
}
.form-item-label {
	width: 100%;
	color: var(--main-color);
	letter-spacing: 0.05em;
	font-weight: normal;
	font-size: 1rem;
	margin-bottom: .5rem;
}
.form-iem-label .ismsg {
	margin-top: 8px;
	margin-bottom: auto;
}
.form-item-input {
	border: 1px solid #ddd;
	border-radius: 6px;
	padding-left: 1em;
	padding-right: 1em;
	height: 48px;
	width: 100%;
	background: var(--sub-color);
	font-size: .9rem;
}
.form-item-textarea {
	border: 1px solid #ddd;
	border-radius: 6px;
	padding: 1rem;
	height: 216px;
	flex: 1;
	width: 100%;
	background: var(--sub-color);
	font-size: .9rem;
}
.form-btn {
	border-radius: 6px;
	margin: 10px 0 2rem;
	margin-left: auto;
	margin-right: auto;
	padding: 15px;
	width: 200px;
	display: block;
	letter-spacing: 0.05em;
	background: var(--sub-color);
	color: var(--main-color);
	font-weight: bold;
	font-size: .9rem;
}
.error-position {
	margin: 25px 2rem 0;
	color: red;
	line-height: 1.5;
}
#contact .section-title {
	color: var(--main-color);
	padding: 150px 0 1rem;
}

/* お問い合わせの確認
--------------------------------------------- */
#check {
	width: 100vw;
	background: var(--sub-hover-color);
	color: var(--main-color);
	padding: 120px 2rem 120px;
}
.check-name {
	font-size: 1rem;
	margin-bottom: .8rem;
	padding-bottom: .5rem;
	border-bottom: var(--main-color) 1px solid;
}
.check-item {
	font-size: .8rem;
	margin-bottom: 2rem;
	color: var(--main-color);
}
.form-btn-check {
	border-radius: 6px;
	margin: 10px 0;
	margin-left: auto;
	margin-right: auto;
	padding: 15px;
	width: 200px;
	display: block;
	letter-spacing: 0.05em;
	background: var(--main-color);
	color: var(--sub-color);
	font-weight: bold;
	font-size: .9rem;
}

/* THANKS
--------------------------------------------- */
#thanks {
	width: 100vw;
	background: var(--sub-hover-color);
	color: var(--main-color);
	padding: 120px 2rem 120px;
}
.content-title {
	font-family: 'Noto Serif JP', serif;
	font-size: 2.5rem;
	margin-bottom: 2rem;
	color: var(--main-color);
}
#thanks p {
	font-size: .8rem;
	margin-top: .7rem;
}
.thanks-end {
	padding-bottom: 4rem;
}



/* フッター
--------------------------------------------- */
footer {
	color: var(--main-color);
	background: var(--sub-color);
	text-align: center;
	font-size: .6rem;
	padding: 1.5rem 0;
}

/*
デスクトップサイズ
================================================ */
@media (min-width: 534px) {
	.back-home {
		display: none;
	}
}

@media (min-width: 600px) {
/*ヘッダー========================== */
	.main-nav a {
	width: 20vw;
}
/*メイン========================== */
	.main-nav.open-menu {
	width: 20vw;
}
	.animate__rotateIn {
		max-width: 350PX;
	}
	.animate__fadeIn {
		position: absolute;
		top: 12.5rem;
		left: 0;
	}
	.home-content {
		text-align: center;
		padding: 0 6rem;
		font-size: .9rem;
	}
	.home-content-job {
		font-size: 1.2rem;
	}
	.item img {
		transition: .4s;
	}
	
	
	div.item-img {
		display: block;
		position: relative;
	}
	div.item-img::before {
		content: "";
		display: block;
		width: 100%;
		height: 100%;
		background: black;
		position: absolute;
		left: 0;
		top: 0;
		opacity: 0;
		transition: all .3s ease-in-out;
	}
	div.item-img img {
		width: 100%;
		vertical-align: middle;
	}
	.item a:hover div.item-img::before {
		opacity: .6;
	}
	.item a:hover div.item-img img {
		
	}
	
	
	
	.item:hover img {
		/*transform: scale(1.075);
		box-shadow: 0 0 2rem rgba(0, 0, 0, .5);
		z-index: 1;
		position: relative;*/
	}
	.grid p {
		font-size: .9rem;
}
	.grid p span {
		font-size: .7rem;
}
	
/*メイン========================== */
	#about-text {
		display: flex;
		justify-content: center;
		align-items: center;
	}
	#about img {
		max-width: 250px;
	}
	#about-text div {
		text-align: left;
		vertical-align: middle;
	}
	
/*お問い合わせ========================== */
	#contact .section-title {
	padding-bottom: 2rem;
}
	table {
		width: 60vw;
		max-width: 750px;
		margin: 0 auto;
		background: var(--sub-color);;
		border-radius: 6px;
	}
	.form-item-label {
		color: var(--main-color)
	}
	.form-item-input, .form-item-textarea{
		background: #eaedf2;
	}
	.form-btn {
		margin-bottom: 2.5rem;
		background: var(--main-color);
		color: var(--sub-color);
	}
	form {
		padding-bottom: 4rem;
	}
	
	.content-width {
		max-width: 550px;
		margin: 0 auto;
	}
	.form-btn-check-flex {
		display: flex;
		justify-content: space-between;
		max-width: 550px;
		margin: 0 auto;
	}
}