/* CSS Document */

@charset "UTF-8";

@import url('style.css');

/*----------------------------------------------------------------------
建築家に会える見学会
-----------------------------------------------------------------------*/
#latest p:first-of-type {
	display: table;
	margin: 1em auto 3em;
	font-size: 1.375em;
	font-weight: 700;
}

main article.past {
	margin-top: 60px;
	padding-left: calc((1100px - 100%) / -1) !important;
	padding-right: calc((1100px - 100%) / -1) !important;
	border-top: 1px solid #999;
}

main article.past > h3 {
	margin-bottom: 1.25rem;
	text-align: center;
}

main article.past > div {
	display: flex;
	gap: 16px 30px;
}

@media screen and (max-width: 860px) {
	main article.past > div {
		flex-direction: column;
	}
}

main article.past > div > img {
	aspect-ratio: 5 / 3;
}

main article.past > div > div {
	display: grid;
	place-content: center;
}

main article.past > div > div > h4 {
	margin-bottom: 1em;
	font-size: 1.25em;
}

/*----------------------------------------------------------------------
イベントindex
-----------------------------------------------------------------------*/
.event-index article a:first-of-type {
	float: left !important;
	width: 450px;
	margin-right: 50px;
	overflow: hidden;
}

.event-index article a:first-of-type img {
	width: 100%;
}

.event-index article a:hover img {
	filter:alpha(opacity=80);
	opacity: 0.8;
}

.event-index article p, .event-index article ul {
	clear: none !important;
	overflow: hidden;
}

.event-index article ul.square {
	padding: 0;
}

.event-index article ul.square li:first-of-type > strong {
	font-size: 1.3em;;
	font-weight: 800;
}

.event-index article p:last-of-type {
	margin-bottom: 0;
}

@media screen and (min-width: 960px) {
	.event-index article h2, .event-index article p, .event-index article ul {
		margin-left: 500px;
	}
}

@media screen and (max-width: 960px) {
	.event-index article a:first-of-type {
		float: none !important;
		width: 100%;
		margin: 0em 0em 0.5em;
	}
}

@media screen and (max-width: 736px) {
	.event-index article p:last-of-type {
		display: -webkit-box;
		overflow: hidden; 
		-webkit-line-clamp: 3;
		-webkit-box-orient: vertical;
		text-align: left;
	}

	.event-index article  ul li:first-of-type {
		font-weight: bold;
	}

	.event-index article  ul li a {
		display: inline;
		margin-right: 0 !important;
	}
}

.event-index a.link-button {
	margin-top: 2.5rem;
}

/*----------------------------------------------------------------------
リンクボタン
-----------------------------------------------------------------------*/
a.more {
	display: block;
	margin: 3em auto 0em;
	padding: 16px 32px;
	background-color: #FFF;
	border: 2px solid #CAD0D9;
	letter-spacing: 1px;
	text-align: center;
	text-decoration: none;
}
a.more:visited {
	color: #242414;
}
a.more:hover {
	background-color: #D98572;
	color: #FFF;
	transition: 0.4s;
}

a.more span {
	display: inline-block;
	position: relative;
}
a.more span::after {
	position: absolute;
	content: "\f35a";
	font-family: "Font Awesome 5 Free";
	font-size: 1.125em;
	font-weight: 900;
	top: 50%;
	left: -1.66em;
	transform: translateY(-50%);
}

@media screen and (min-width: 1160px) {
	a.more {
		max-width: 480px;
	}
}

@media screen and (max-width: 1160px) and (min-width: 736px) {
	a.more {
		max-width: 400px;
	}
}

/*----------------------------------------------------------------------
参加お申し込み
-----------------------------------------------------------------------*/
article#apply > p > small {
	font-weight: 500;
}

table.GlobalSign {
	margin-top: 1.5em;
}

/*----------------------------------------------------------------------
建築家プロフィール
-----------------------------------------------------------------------*/
article.data {
	padding-top: 40px;
	border-top: 1px solid #BBB;
}

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:first-of-type::before {
	content: "";
}

article.data ul.disc li:nth-of-type(2) {
	clear: left;
}

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

#Architect {
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	gap: 20px 30px;
	margin-top: 1.25em;
	padding-left: calc((1100px - 100%) / -1) !important;
	padding-right: calc((1100px - 100%) / -1) !important;
}

#Architect div > p {
	margin-bottom: 1.25em;
}

#Architect img {
	border-radius: 50%;
}

@media screen and (max-width: 1200px) and (min-width: 900px) {
	#Architect img {
		width: 180px;
	}
}

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

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

#Architect img {
		width: 30%;
	}
}

@media screen and (max-width: 736px) {
	#Architect 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%;
	}
}

/*----------------------------------------------------------------------
2024_1006追加
-----------------------------------------------------------------------*/
main.event-index h2 {
	padding: 0;
	border-left: 0;
	line-height: 1.4;
}

main.events h1::after {
	content: attr(data-subtitle);
	display: block;
	margin-top: 0;
	font-size: 1.5rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	color: #333;
}

main.events picture+ul.square {
	margin-top: 1.75rem;
}
