@import url(base.css);

/* @group common */

:root {
  --border-radius: 4px;
  --gap: 10px;
}

@media screen and (max-width:750px) {
	:root {
	  --border-radius: 2px;
	  --gap: 6px;
	}
}

html {
	margin: 0;
	padding: 0;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	padding: 0;
	
	background-color: #222;
	
	color: #fff;
}

body.light {
	color: #333;
}



img {
	vertical-align: bottom;
}




/* @end */

/* @group header */



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

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

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

/* @end */



/* @group section */



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

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

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

/* @end */



#work {
	
}

#work header {
	max-width: 1280px;
	margin-inline: auto;
	padding-right: calc(100vw * 0.035);
	padding-left: calc(100vw * 0.035);
}



#work.dark header h1 svg path {
	fill: #fff;
}

#work.light header h1 svg path {
	fill: #000;
}

#work header h1 {
	display: flex;
}

#work header a {
	padding: 20px;
	display: block;
	opacity: 0.75;
}

#work header a:hover {
	opacity: 1;
}

#work header a svg {
	display: block;
	vertical-align: bottom;
}


@media (hover: hover){

	#work header a {
		transition: all 0.2s ease-out;
	}
	
	
	
	#work header a:hover {
		transition: all 0.1s ease-in;
	}

	
}


#work main {
	max-width: 1280px;
	margin-inline: auto;
	padding-right: calc(100vw * 0.04);
	padding-left: calc(100vw * 0.04);
	margin-top: calc(100vw * 0.04);
}



#work .meta {
	margin: 2em 15px;
}


#work .meta h2 {
	font-size: 2.5rem;
	display: flex;
	align-items: flex-end;
	font-weight: 600;
}

#work .meta h2 strong {
	/*display: block;*/
	font-weight: 600;
	letter-spacing: 0.1em;
	margin-right: 0.5em;
	line-height: 1em;
	font-feature-settings: "palt";
}

#work .meta h2 span {
	/*display: block;*/
	font-weight: 400;
	font-size: 50%;
	font-feature-settings: "palt";
}

#work #direction {
	display: flex;
	margin-top: 0.2rem;
	font-size: 1rem;
	align-items: flex-end;
	justify-content: space-between;
}

#work #direction strong {
	font-weight: 600;
	margin-right: 0.25rem;
	margin-left: 0.25rem;
}

#work #direction > div  {

	
}

#work #direction ul {
	list-style: none;
	margin-right: 2rem;
}



#work #direction ul .copyright {
	margin-top: 1em;
	font-size: 0.9em;
	font-weight: 400;
	letter-spacing: 0.05em;
	opacity: 0.5;
	margin-bottom: 1em;
}

#work #direction ul .summary {
	margin-top: 1.5rem;
	font-size: 1.25em;
	font-weight: 300;
	letter-spacing: 0.1em;
	white-space: nowrap;
}

#work #direction ul .client span,
#work #direction ul .contents span {
	font-weight: 500;
	display: inline-block;
	/*background-color: #fff;*/
	border-radius: 3px;
	color: #fff;
	padding-right: 0.35em;
	padding-left: 0.35em;
	margin-bottom: 0.25em;
	opacity: 0.6;
	border-width: 1.5px;
	border-style: solid;
	margin-right: 0.25em;
	font-size: 0.75em;
}

#work #direction ul .client {
	margin-top: 2rem;
}



#work #direction ul .client span i {
	font-weight: 300;
	font-style: normal;
}

#work #direction ul .contents {
	margin-top: 0.2rem;
}


#work #direction ul .contents span {
	
}

#work #direction ul .client span {
	background-color: #fff;
}

.light#work #direction ul .client span {
	background-color: #000;
}

.dark#work #direction ul .client span,
.dark#work #direction ul .contents span {
	color: #fff;
	border-color: rgba(255, 255, 255, .35);
}

.light#work #direction ul .client span,
.light#work #direction ul .contents span {
	color: rgba(0, 0, 0, .75);
	border-color: rgba(0, 0, 0, .25);
}



#work #direction p {
	max-width: 640px;
	font-weight: 300;
	line-height: 2em;
	font-size: 1.1rem;
}



#work section > div {
	padding-top: 3rem;
}

#work .work figure img {
	width: 100%;
}

#work .work figure figcaption {
	font-size: 12px;
	margin: 12px;
	opacity: 0.65;
}

#work .work figure figcaption.text {
	font-size: 1rem;
	opacity: 1;
	margin-bottom: 2rem;
	margin-top: 1.5rem;
}



#work .work .col1-1 {
}

#work .work .col2-1 {
	display: flex;
	gap: 40px;
	justify-content: space-between;
}

#work .work .col2-2 {
	display: flex;
	gap: calc(100vw * 0.04);
	justify-content: space-between;
}

#work .work .col4-2 {
	display: flex;
	gap: calc(100vw * 0.04);
	justify-content: space-between;
}

#work .work .col2-1 figure {
	width: 100%;
}


@media (width < 1080px) {
	#work .work .col2-1 {
		display: block;
	}
	#work .work .col2-1 figure {
		margin-top: 40px;
	}
	
}


@media (width < 640px) {
	#work section > div {
		padding-top: 1rem;
	}
	#work .meta h2 {
		font-size: 2rem;
		display: block;
	}
	#work .meta h2 strong {
		display: block;
	}
	
	#work .work .col2-1 {
		display: block;
		margin-top: 0;
	}
	
	#work #direction {
		display: block;
	}
	
	#work #direction p {
		margin-top: 2rem;
	}

	#resource .grid > div {
		margin-bottom: calc(100vw * 0.04);
	}
	#work .work .col2-1 figure {
		margin-top: 20px;
	}
	#work .work figure figcaption.text {
		text-align: left;
	}
}


#work .work .col-text {
	margin-right: 3rem;
	margin-left: 3rem;
	line-height: 2em;
	margin-bottom: 1rem;
}

#work .work .col-text h3 {
	font-weight: 600;
	margin-bottom: 2rem;
	font-size: 1.5rem;
}

#work .work .col-text p {
	margin-top: 1rem;
}

#work .work .col-text ul {
	margin-top: 1rem;
	padding-left: 1rem;
}

@media (width < 640px) {
	#work .work .col-text {
		margin-right: 1rem;
		margin-left: 1rem;
	}
}