/*
Theme Name: 2chiikipf2026
Author URI: https://www.mlit.go.jp/2chiiki_pf/
Description: 2Chiiki Platform Theme
Version: 1.0.0
*/

@charset "utf-8";

/*=========================================*/
/* author */
/*=========================================*/

.eyecatch {
	width: 100vw;
	margin-top: 48px;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	overflow: hidden;
	aspect-ratio: 2400 / 460;
	max-height: 230px;
}

/* 中のimgはブロックにフィット */
.eyecatch img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	margin: auto;
	max-width: 1200px;

}

.members_profile_area {
	display: flex;
	margin: 48px auto;
	gap: 0 24px;
}

.profile_area_left,
.profile_area_right {
	display: flex;
	align-items: center;
	gap: 0 24px;
}

.profile_logo {
	width: 82px;
	height: 82px;
}

.profile_logo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
}

.profile_name h1 {
	font-size: 23px;
	font-weight: bold;
}

.favorite {
	background-color: transparent;
	border: 0;
}

button.linkMessage {
	background-color: #2EA9E0;
	width: 208px;
}

p.subtitle-en {
	padding-top: 0;
	text-align: left;
}

h2.subtitle-jp {
	text-align: left;
	margin-bottom: 24px;
}


/* 枠とか */
div.members_wrap {
	border-radius: 5px;
	border: solid 1px #d8d8d8;
	padding: 32px;
}

ul.deta_list {
	margin-bottom: 24px;
}

ul.deta_list>li::before,
div.member_label::before {
	content: "■";
	color: #2EA9E0;
	padding-right: 10px;
}

ul.deta_list>li,
div.member_label,
dl.detail_list {
	font-weight: 500;
	font-style: Medium;
	font-size: 15px;
	line-height: 25px;
	overflow-wrap: break-word;
}

dl.detail_list {
	display: flex;
	flex-direction: row;
	gap: 0 40px;
	margin-bottom: 0px;
}

ul.members-list {
	margin-bottom: 24px;
}

ul.members-list li {
	padding-left: 26px;
	overflow-wrap: anywhere;
}

ul.members-list li a,
dl.detail_list a {
	color: #2EA9E0;
}

ul.members-list li a:hover,
dl.detail_list a:hover {
	color: #666;
}

div.map {}

div.map iframe {
	width: 263px;
	min-height: 394px;
	height: 100%;
}

/* basicinfo */
div.basicinfo {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	justify-content: space-between;
	gap: 0 40px;
	margin-bottom: 48px;
}


div.basicinfo div.members_wrap {
	width: calc(100% - 263px);
	box-sizing: border-box;
}

img.attach_icon:hover {
	filter: invert(42%) sepia(2%) saturate(34%) hue-rotate(2deg) brightness(90%) contrast(86%);
}


/* effort */
div.effort {
	padding: 80px;
	margin-bottom: 40px;
}

div.effort dl.detail_list {
	padding-left: 26px;
	font-weight: normal;

}

div.effort .members-tag-area {
	padding: 0;
	margin: 24px 0px;
	height: auto;
	overflow: auto;
	flex-wrap: wrap;
}

div.effort>div:first-child {
	margin-bottom: 80px;
}

div.author-list h2.subtitle-jp,
div.author-list p.subtitle-en {
	/* text-align: center; */
}

div.author-case-area {
	justify-content: space-between;
	display: flex;
	gap: 40px;
	flex-direction: column;
}

div.author-list {
	margin: 0;
}

div.author-list .item-box {
	width: 440px;
}


@media (max-width: 960px) {

	/* .eyecatch {
		height: 62px;
	} */

	div.members_profile_area {
		flex-direction: column;
	}

	div.profile_area_left,
	div.profile_area_right {
		display: flex;
		flex-direction: row;
	}

	div.profile_area_right {
		margin-top: 16px;
		justify-content: center;
	}

	.profile_name h1 {
		font-size: 16px;
	}

	div.message_area button {
		width: 208px;
	}

	div.profile_logo {
		width: 54px;
		height: 54px;
	}

	div.basicinfo {
		flex-direction: column;
	}

	h2.subtitle-jp {
		margin-top: 8px;
	}

	div.basicinfo div.members_wrap {
		margin-bottom: 40px;
		width: 100%;
		padding: 24px 16px;
	}

	dl.detail_list {
		gap: 0 20px;
		margin-bottom: 0;
	}

	div.map iframe {
		width: 100%;
	}

	div.effort {
		padding: 24px 16px;

	}

	div.effort .members-tag-area {
		margin: 0;
		padding: 24px 0;
		height: auto;
		overflow: auto;
		flex-wrap: wrap;
	}

	div.effort dl {
		flex-direction: column;
	}


	div.author-case-area {
		flex-direction: column;
		display: flex;
	}

	div.author-case-area h2.subtitle-jp,
	div.author-case-area p.subtitle-en {
		text-align: center;
	}

	div.author-list {
		flex-direction: column;
		align-items: center;
	}

	div.author-list .item-box {
		width: 100%;
		margin: auto;

	}
}