@charset "UTF-8";
@import url('common.css');

/* CSS Document */


@media (min-width:1400px) {
	#main {
		width: 1400px;
		margin-left: auto;
		margin-right: auto;
		margin-top: 20px;
		padding-bottom: 100px;
	}

	#main h3 {
		text-align: center;
		font-size: 24px;
	}

	.main_img {
		width: 100%;
		height: 750px;
		display: flex;
	}

	.main_img img {
		width: 100%;
		height: auto;
		object-fit: cover;
	}

	.works-list-box {
		width: 1400px;
		height: auto;
		display: flex;
		flex-flow: row wrap;
		position: relative;
		padding-left: 30px;
		gap: 30px 60px;
	}

	.works-list-box .works-list-item {
		width: 406px;
		height: 580px;
		display: block;
		position: relative;
		cursor: pointer;
	}

	.works-list-item::after {
		content: "";
		width: 1px;
		height: 580px;
		background: #b5b5b5;
		position: absolute;
		top: 0;
		right: -30px;
	}

	.works-list-item:last-child::after {
		content: none;
	}

	.works-list-box .works-list-item .works-photo {
		width: 406px;
		height: 490px;
		overflow: hidden;
	}

	.works-list-box .works-list-item .works-photo img {
		flex-grow: 1;
		object-fit: cover;
		max-width: 406px;
		height: 490px;
		margin: 0;
		padding: 0;
		border: none;
		vertical-align: bottom;
		/* transition: 1s all; */
		transition: transform 0.5s ease-out;
		/* ←ここ変更 */
		width: 100%;
	}

	.works-list-item:hover .works-photo img {
		transform: scale(1.2, 1.2);
		/* transition: 1s all; */
		transform: scale(1.05);
	}

	.works-list-box .works-caption {
		width: 406px;
		height: 90px;
		display: block;
	}

	.works-list-item .works-caption-name {
		font-size: 18px;
		line-height: 48px;
		/* color: rgb(112, 99, 45); */
		color: #8E7B2D;
	}

	.works-list-item .works-caption-plce {
		font-size: 14px;
		line-height: 20px;
	}

	.works-list-item .works-caption-strc {
		font-size: 14px;
		line-height: 20px;
	}
}

@media (max-width:1399px) and (min-width:601px) {
	#main {
		width: 100%;
		margin-left: auto;
		margin-right: auto;
		margin-top: 20px;
		padding-bottom: 100px;
		padding-left: 20px;
		padding-right: 20px;
	}

	#main h3 {
		text-align: center;
		font-size: 24px;
	}

	.main_img {
		width: 100%;
		height: 750px;
		display: flex;
	}

	.main_img img {
		width: 100%;
		height: auto;
		object-fit: cover;
	}

	.works-list-box {
		/* 	width: 100%;
	height: auto;
	display: flex;
	flex-flow: row wrap;
	position: relative;
	justify-content: flex-start;
	gap: 30px 30px;
	padding-left: 5.5vw;
	margin-bottom: 100px; */
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 35px;
		padding-left: 0;
		height: 100%;
	}

	.works-list-box .works-list-item {
		/* 	width: 40vw;
	min-height: 50vw;
	display: block;
	position: relative;
	cursor: pointer;
	margin-bottom: 30px; */
		width: 40vw;
		display: flex;
		flex-direction: column;
	}

	/*.works-list-item::after {
  content: "";
  width: 1px;
  height: 50vw;
  background: #b5b5b5;
  position: absolute;
  top: 0;
	right: -30px;
}*/
	.works-list-item:last-child::after {
		content: none;
	}

	.works-list-box .works-list-item .works-photo {
		width: 40vw;
		height: 45vw;
		overflow: hidden;
	}

	.works-list-box .works-list-item .works-photo img {
		flex-grow: 1;
		object-fit: cover;
		max-width: 40vw;
		height: 45vw;
		margin: 0;
		padding: 0;
		border: none;
		vertical-align: bottom;
		/* transition: 1s all; */
		transition: transform 0.5s ease-out;
		/* ←ここ変更 */
		width: 100%;
	}

	.works-list-item:hover .works-photo img {
		transform: scale(1.2, 1.2);
		/* transition: 1s all; */
		transform: scale(1.05);
	}

	.works-list-box .works-caption {
		width: 100%;
		height: auto;
		display: block;
	}

	.works-list-item .works-caption-name {
		font-size: 18px;
		line-height: 48px;
		/* color: rgb(112, 99, 45); */
		color: #8E7B2D;
	}

	.works-list-item .works-caption-plce {
		font-size: 14px;
		line-height: 20px;
	}

	.works-list-item .works-caption-strc {
		font-size: 14px;
		line-height: 20px;
	}

}

@media (max-width:600px) {
	#main {
		width: 100%;
		margin-left: auto;
		margin-right: auto;
		margin-top: 20px;
		padding-bottom: 100px;
		padding-left: 20px;
		padding-right: 20px;
	}

	#main h3 {
		text-align: center;
		font-size: 24px;
	}

	.main_img {
		width: 100%;
		height: 750px;
		display: flex;
	}

	.main_img img {
		width: 100%;
		height: auto;
		object-fit: cover;
	}

	.works-list-box {
		/* 	width: 100%;
	height: auto;
	display: flex;
	flex-flow: row wrap;
	position: relative;
	justify-content: flex-start;
	gap: 30px 30px;
	padding-left: 4vw;
	margin-bottom: 100px; */
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 20px;
		padding-left: 0;
		height: 100%;
	}

	.works-list-box .works-list-item {
		width: 40vw;
		display: flex;
		flex-direction: column;
	}

	/*.works-list-item::after {
  content: "";
  width: 1px;
  height: 50vw;
  background: #b5b5b5;
  position: absolute;
  top: 0;
	right: -30px;
}*/
	.works-list-item:last-child::after {
		content: none;
	}

	.works-list-box .works-list-item .works-photo {
		width: 40vw;
		height: 45vw;
		overflow: hidden;
	}

	.works-list-box .works-list-item .works-photo img {
		flex-grow: 1;
		object-fit: cover;
		max-width: 40vw;
		height: 45vw;
		margin: 0;
		padding: 0;
		border: none;
		vertical-align: bottom;
		/* transition: 1s all; */
		transition: transform 0.5s ease-out;
		/* ←ここ変更 */
		width: 100%;
	}

	.works-list-item:hover .works-photo img {
		transform: scale(1.2, 1.2);
		/* transition: 1s all; */
		transform: scale(1.05);
	}

	.works-list-box .works-caption {
		width: 100%;
		/* height: 90px; */
		height: auto;
		display: block;


	}

	.works-list-item .works-caption-name {
		font-size: 2.5vw;
		line-height: 2em;
		/* color: rgb(112, 99, 45); */
		color: #8E7B2D;

	}

	.works-list-item .works-caption-plce {
		font-size: 2vw;
		line-height: 2em;
	}

	.works-list-item .works-caption-strc {
		font-size: 2vw;
		line-height: 1.5em;
		height: auto;
	}

}