@charset "utf-8";

/* ******************************************
	General
****************************************** */


@media screen and (max-width:600px) {

}



/* *******************
	works
******************* */
#works {
	padding-top: 150px;
}
#works .wrap {
	width: 90%;
}

.works_list {
	padding: 0;
	margin: 0;
	list-style: none;

	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: flex-start;
}
.works_list li {
	width: 32%;
	padding: 0;
	margin: 0;
	margin-bottom: 25px;
	margin-right: 2%;
}
.works_list li:nth-child(3n){
	margin-right: 0;
}
.works_list li a {
	display: block;
}
.works_list li picture {
	width: 100%;
	padding: 0;
	margin: 0;
	overflow: hidden;
	aspect-ratio: 6/4;
	margin-bottom: 8px;
}
.works_list li picture img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.works_list p {
	text-align: left;
}

@media screen and (max-width:1024px) {
}
@media screen and (max-width:768px) {
}
@media screen and (max-width:600px) {
  .works_list li {
    width: 48%;
    margin-right: 4%;
  }
  .works_list li:nth-child(3n){
    margin-right: 4%;
  }
  .works_list li:nth-child(2n){
    margin-right: 0;
  }
}
@media screen and (max-width:450px) {
}



.tabs .tabs__item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  background-color: #e6e6e6;
  color: #313332;
  /* font-size: clamp( 11px, 3.5vw, 16px ); */
  /* font-weight: bold; */
  transition: all 0.2s ease;
  cursor: pointer;
}
.tabs.tabs--type .tabs__list {
  width: 100%;
  border-bottom: 1px solid #313332;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.tabs.tabs--type .tabs__item {
  position: relative;
  overflow: hidden;
	width: calc(100%/3);
}
.tabs.tabs--type .tabs__item:hover,
.tabs.tabs--type .tabs__item:has(input:focus) {
  background-color: #dddddd;
}
.tabs.tabs--type input {
  border: 0 !important;
  clip: rect( 0, 0, 0, 0 ) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  white-space: nowrap !important;
  width: 1px !important;
}

.tabs.tabs--type .tabs__content {
  overflow: hidden;
  position: absolute;
  height: 0;
}

.tabs.tabs--type .tabs__list:has(#type-s01 > input:checked) ~ #type-s01__content,
.tabs.tabs--type .tabs__list:has(#type-s02 > input:checked) ~ #type-s02__content,
.tabs.tabs--type .tabs__list:has(#type-s03 > input:checked) ~ #type-s03__content {
  overflow: visible;
  position: static;
  height: auto;
  padding: 2rem 0;
}

.tabs.tabs--type .tabs__item:has(input:checked),
.tabs.tabs--type .tabs__item:has(input:focus:checked) {
  background-color: #313332;
  color: #fff;
}

@media screen and (max-width:1024px) {
}
@media screen and (max-width:768px) {
}
@media screen and (max-width:600px) {
}
@media screen and (max-width:450px) {
	.tabs.tabs--type .tabs__item {
		width: 50%;
	}
}



/* *******************
	works_ba
******************* */
#works_ba {}
#works_ba .works_list li .slider picture {
  position: relative;
}
#works_ba .works_list li .slider picture::after {
  position: absolute;
  top: 42px;
  left: 8px;
  font-size: 30px;
  font-family: "Borel", cursive;
  font-weight: 400;
  font-style: normal;
  text-shadow:1px 1px 0 #fff,-1px 1px 0 #fff,1px -1px 0 #fff,-1px -1px 0 #fff;
}
#works_ba .works_list li .slider picture.before::after {
  content: 'Before';
  color: #c40018;
}
#works_ba .works_list li .slider picture.after::after {
  content: 'After';
  color: #0083d5;
}
