/* CSS Document */

@charset "UTF-8";

@import url('style.css');

/*----------------------------------------------------------------------
horizontal
-----------------------------------------------------------------------*/
div.horizontal {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	direction: rtl;
	gap: 1rem;
	margin-top: 4rem;
}

.horizontal > div {
	display: flex;
	justify-content: center;
	flex-direction: column;
	direction: ltr !important;
}

.horizontal > img {
	height: auto;
}

.horizontal+img {
	margin-top: 4rem;
}

@media screen and (max-width: 736px) {
	.horizontal > img {
		max-height: 66vh;
		object-fit: cover;
	}

	.horizontal p br {
		display: none;
	}

	img+.horizontal, picture+.horizontal, .horizontal+img, .horizontal+picture {
		margin-top: 2rem;
	}
}

/*----------------------------------------------------------------------
main-top
-----------------------------------------------------------------------*/
#main-top > div {
	width: 220px;
}

#main-top > picture {
	width: calc(100% - 220px);
	height: 100%;
}

@media screen and (max-width: 1000px) {
	#main-top > div {
		width: 0;
		transform: translateX(-220px);
		transition: 0.5s;
	}

	#main-top > picture {
		width: 100%;
	}
}

#main-top:not(.works-index) {
	height: 890px;
}
@media screen and (max-width: 736px) {
	#main-top:not(.works-index) {
		width: 100%;
		height: calc(72vh + 66px);
	}
}

/*----------------------------------------------------------------------
見出し
-----------------------------------------------------------------------*/
h1 {
	position: absolute;
	font-size: 2.125rem;
	color: #333;
	text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.83);
}

h1::after {
	content: attr(data-subtitle);
	display: block;
	margin-top: 50px;
	font-size: 22px;
	text-indent: 1.25em;
}

#main-top > h1 {
	bottom: 30px;
	left: 50px;
	width: 500px;
	max-width: 80vw;
	z-index: 10;
}
@media screen and (max-width: 736px) {
	#main-top > h1 {
		bottom: 30px;
		left: 20px;
	}
}

#main-top > h1 > img {
	object-fit: contain;
	object-position: bottom;
}

#main-top:not(.works-index) h1::after {
	margin: 0;
}

/*----------------------------------------------------------------------
メイン
-----------------------------------------------------------------------*/
main {
	display: flex;
	gap: 40px;
	width: 100%;
}

@media screen and (max-width: 900px) {
	main {
		gap: 0;
	}
}

/*----------------------------------------------------------------------
パンくずリスト
-----------------------------------------------------------------------*/
#TopicPath {
	margin-bottom: 120px;
}

@media screen and (min-width: 1160px) {
	#TopicPath {
		margin-left: calc((100vw - 1160px) / 2 + 192px);
	}
}
@media screen and (max-width: 1160px) {
	#TopicPath {
		margin-left: 0;
	}
}
@media screen and (max-width: 736px) {
	#TopicPath {
		margin-bottom: 50px;
	}
}

/*----------------------------------------------------------------------
サイド - スライドショー
-----------------------------------------------------------------------*/
main > section#slide {
	position: sticky;
	top: 100px;
	height: 100vh;
	width: 36%;
	min-width: 360px;
	max-width: 600px;
	padding: 60px 20px;
	background: #F8F8F8;
}

@media screen and (max-width: 900px) {
	main > section#slide {
		display: none;
	}
}

/*----------------------------------------------------------------------
コンテンツ
-----------------------------------------------------------------------*/
section#contents {
	width: 64%;
	padding-left: 30px;
}

section#contents > h2 {
	margin-bottom: 23px;
	font-size: 28px;
	font-weight: 700;
	letter-spacing: 0.09em;
}

section#contents > article:not(.data) > p {
	padding: 0px 90px;
}

@media screen and (min-width: 1200px) {
	section#contents > article:not(.data) > div p {
		padding: 0px 40px;
	}
}

p.tagline {
	margin-bottom: 50px;
	padding: 0px 90px;
	font-size: 1rem;
	font-weight: 400;
}

section#contents > article img.s {
	display: table;
	min-width: 200px;
	margin: 86px auto 0px;
}

@media screen and (max-width: 1200px) {
	p.tagline, section#contents > article:not(.data) p {
		padding: 0px 20px;
	}
}

@media screen and (min-width: 900px) {
	section#contents {
		width: 100%;
		padding: 0;
	}
}

@media screen and (max-width: 900px) {
	section#contents {
		width: 100%;
		padding: 0;
	}

	section#contents > h2 {
		padding: 0px 20px;
	}
}

/*----------------------------------------------------------------------
DETAILS
-----------------------------------------------------------------------*/
article.data {
	padding: 40px;
	border-top: 1px solid var(--primary-text-color);
}

article.data h3 {
	margin: 40px 0px 10px;
	font-family: 'Archivo', sans-serif;
	font-size: 22px;
	font-weight: 800;
	letter-spacing: 0.16em;
}
article.data h3:first-of-type {
	margin-top: 0;
}

article.data > p {
	font-weight: 500;
}

article.data ul.disc {
	display: flow-root;
}

article.data ul.disc li {
	float: left;
}
article.data ul.disc li::before {
	color: var(--primary-text-color);
}

article.data ul.disc li:not(:last-of-type) {
	margin-right: 0.9375em;
}

article.data > #Architect {
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	gap: 20px 30px;
}

article.data > #Architect  h4 {
	margin-bottom: 0.5rem;
	font-size: 1.25rem;
	line-height: 1.6;
}
@media screen and (min-width: 900px) {
	article.data > #Architect  h4 {
		margin-top: 1.25rem;
	}
}

article.data img {
	border-radius: 50%;
}

@media screen and (max-width: 1200px) and (min-width: 900px) {
	article.data img {
		width: 180px;
	}
}

@media screen and (max-width: 1200px) {
	article.data {
		padding: 30px 20px;
	}
}

@media screen and (max-width: 900px) {
	article.data > #Architect {
		flex-direction: column;
	}

article.data img {
		width: 30%;
	}
}

@media screen and (max-width: 736px) {
	article.data img {
		width: 35%;
	}
}

/*----------------------------------------------------------------------
経歴
-----------------------------------------------------------------------*/
fieldset {
	display: flex;
	justify-content: space-between;
	border: none;
}

fieldset div {
	width: 5em;
	line-height: 1.8;
}

fieldset p, fieldset ul {
	width: calc(100% - 5em);
}

fieldset > ul > li:nth-of-type(n+2) {
	margin-top: 6px;
}

@media screen and (max-width: 736px) {
	fieldset {
		flex-direction: column;
	}

	fieldset div {
		width: 100%;
	}

	fieldset p, fieldset ul {
		width: 100%;
	}
}

/*----------------------------------------------------------------------
カル－セルリンク
-----------------------------------------------------------------------*/
@media screen and (min-width: 736px) {
	.lSSlideOuter {
		margin-top: 130px;
	}
}

/*----------------------------------------------------------------------
2024_1218追加
-----------------------------------------------------------------------*/
#Architect > div {
	width: 100%;
}

#Architect fieldset:last-of-type {
	margin-top: 1.5rem;
}

#Architect fieldset a {
	padding-left: 0.5rem;
	white-space: nowrap;
}

#Architect fieldset a::before {
	content: "\f508";
	margin-right: 0.75rem;
	font-family: "Font Awesome 6 Free";
	font-size: 1.125rem;
	font-weight: 600;
}
