@charset "utf-8";

/* ==================================================
PC
================================================== */

/* レイアウト */
#mymainback {
	width: auto;
	max-width: none;
	margin: 0px;
}

.top_main_box {
	width: var(--content-width, 1080px);
	max-width: calc(100% - 40px);
	margin-left: auto;
	margin-right: auto;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}

#top_contents_wrap {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
	-webkit-box-align: stretch;
	    -ms-flex-align: stretch;
	        align-items: stretch;
}
#top_contents_wrap .box_main {
	-webkit-box-ordinal-group: 12;
	    -ms-flex-order: 11;
	        order: 11;
	width: calc(100% - 60px - var(--sidebar1-width, 300px));
}
#top_contents_wrap .box_side {
	-webkit-box-ordinal-group: 11;
	    -ms-flex-order: 10;
	        order: 10;
	width: var(--sidebar1-width, 300px);
}
#top_contents_wrap .box_side > div {
	margin-bottom: 20px;
}
#top_contents_wrap .box_side > div:last-child,
#top_contents_wrap .box_side > div:empty {
	margin-bottom: 0px !important;
}

/* MV */
#mainimg {
	margin-bottom: 40px;
	line-height: 1;
}
#mainimg img {
	width: 100%;
	height: auto;
	vertical-align: top;
}

/* 本号の特集（ワープロライク） */
#main_body > div:last-child,
#main_body > div:last-child > *:last-child {
	margin-bottom: 0px;
}

#main_body h2.ttl_pickup {
	margin: 0px 0px 0.5em;
	padding: 15px 20px 15px 50px;
	font-size: 3.2rem;
	background: none;
	border: none;
	border-bottom: 2px solid #d0d0d0;
	position: relative;
}
#main_body h2.ttl_pickup::before,
#main_body h2.ttl_pickup::after {
	display: none;
}
#main_body h2.ttl_pickup::before {
	content: '';
	display: block;
	width: 15px;
	height: 15px;
	border-radius: 100%;
	background: #083895;
	color: #ffffff;
	position: absolute;
	left: 20px;
	top: calc(0.5em + 18px);
	pointer-events: none;
}
#main_body h2 span[lang="en"] {
	font-family: serif;
	font-size: 2.4rem;
	margin-left: 1em;
	opacity: 0.25;
}

#main_body div[class*="detail_"] a {
	display: block;
	border-left: 8px solid #122b4c;
	background: url("/img/sites/koho/common/icon-arrow-circle-white.png") no-repeat right 20px top 50%,
				url("/img/sites/koho/top/bg-menu.png") repeat-y right 0px top 0px #2e6b9e;
	color: #ffffff;
	font-size: 2.4rem;
	font-weight: bold;
	text-decoration: none;
	margin: 1em 0px;
	padding: 26px 60px 26px 40px;
	-webkit-transition: opacity 0.5s;
	-o-transition: opacity 0.5s;
	transition: opacity 0.5s;
}
#main_body div[class*="detail_"] a:hover,
#main_body div[class*="detail_"] a:focus {
	text-decoration: underline;
	opacity: 0.75;
}

/* 関連情報 */
#top_kanren_bg {
	margin-top: 60px;
	background: #fbfbfb;
}
#top_kanren_bg:not(:has(.kanren_list a)) {
	display: none;
}

#top_kanren {
	padding: 50px 50px 60px;
}
#top_kanren h2 {
	margin: 0px 0px 40px;
	font-size: 2.4rem;
}

#top_kanren .kanren_list {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	-webkit-box-pack: start;
	    -ms-flex-pack: start;
	        justify-content: flex-start;
	-webkit-box-align: start;
	    -ms-flex-align: start;
	        align-items: flex-start;
	gap: 30px 52px;
}
#top_kanren .kanren_list a {
	display: block;
	width: 206px;
}
#top_kanren .kanren_list img {
	width: 206px;
	max-width: 100%;
	height: auto;
	vertical-align: top;
}

/* 編集委員 */
#top_member {
	margin-top: 60px;
	padding: 50px 50px 60px;
	background: #f6f6f6;
}
#top_member:not(:has(.member_list .free_box)) {
	display: none;
}

#top_member h2 {
	margin: 0px 0px 40px;
	font-size: 2.4rem;
}

#top_member .member_list {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	-webkit-box-pack: start;
	    -ms-flex-pack: start;
	        justify-content: flex-start;
	-webkit-box-align: start;
	    -ms-flex-align: start;
	        align-items: flex-start;
	gap: 30px 49px;
}
#top_member .member_list .free_box {
	display: block;
	margin: 0px;
	padding: 0px;
	width: 208px;
}
#top_member .member_list .free_box:nth-child(2) {
	margin-right: 45%;
}

#top_member .member_list .free_box p {
	margin: 0px;
	text-align: center;
	font-size: 2rem;
	line-height: 1.5;
}
#top_member .member_list .free_box p:has(img) {
	margin-bottom: 0.5em;
}

#top_member .member_list .free_box a {
	color: inherit;
}
#top_member .member_list .free_box img {
	width: 100% !important;
	max-width: 208px;
	height: auto !important;
	vertical-align: top;
}

/* 背景色変更 */
/* 共通 */
.color_change #main_body h2 span[lang="en"] {
	opacity: 1;
}
/* 黒 */
.color_black #main_body div[class*="detail_"] a {
	background: #333333 !important;
}
/* 青 */
.color_blue #main_body div[class*="detail_"] a {
	background: #0000aa !important;
}
/* 背景色変更 ここまで */

/* ==================================================
PC ここまで
================================================== */


/* ==================================================
スマートフォン
================================================== */
@media screen and (max-width: 1080px) {

	/* レイアウト */
	#mymainback {
		margin-bottom: 60px;
	}

	.top_main_box {
		width: auto;
		max-width: none;
		margin-left: var(--mymainback-margin-side, 15px);
		margin-right: var(--mymainback-margin-side, 15px);
	}

	#top_contents_wrap {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		    -ms-flex-direction: column;
		        flex-direction: column;
		-ms-flex-wrap: nowrap;
		    flex-wrap: nowrap;
	}
	#top_contents_wrap .box_main {
		-webkit-box-ordinal-group: 11;
		-ms-flex-order: 10;
		order: 10;
		width: auto;
	}
	#top_contents_wrap .box_side {
		-webkit-box-ordinal-group: 12;
		-ms-flex-order: 11;
		order: 11;
		width: auto;
	}

	/* サイドバー（展開） */
	#top_contents_wrap .box_side {
		display: none;
	}
	.spm_sitemenu_open #top_contents_wrap .box_side {
		display: block;
		border-top: 1px solid #555;
		border-bottom: 1px solid #555;
		background: #fff;
		padding: 20px var(--mymainback-margin-side, 15px) 40px;
		position: absolute;
		top: 85px;
		left: 0px;
		right: 0px;
		z-index: 999;
		-webkit-box-sizing: border-box;
		        box-sizing: border-box;
		width: 100%;
		height: calc(100vh - 86px);
		height: calc(100dvh - 86px);
		overflow-y: auto;
	}
	@media screen and (max-width: 540px) {
		.spm_sitemenu_open #top_contents_wrap .box_side {
			top: 80px;
			height: calc(100vh - 81px);
			height: calc(100dvh - 81px);
		}
	}

	/* MV */
	#mainimg {
		margin-bottom: 20px;
	}

	/* 本号の特集（ワープロライク） */
	#main_body h2.ttl_pickup {
		padding: 16px 20px 16px 30px;
		font-size: 2.4rem;
	}
	#main_body h2.ttl_pickup::before {
		width: 12px;
		height: 12px;
		left: 10px;
	}
	#main_body h2 span[lang="en"] {
		font-size: 1.6rem;
	}

	#main_body div[class*="detail_"] a {
		font-size: 1.8rem;
		padding: 15px 50px 15px 15px;
		border-left-width: 5px;
	}

	/* 関連情報 */
	#top_kanren_bg {
		margin-top: 40px;
	}

	#top_kanren {
		padding: 30px 15px;
	}
	#top_kanren h2 {
		font-size: 2rem;
		margin-bottom: 20px;
	}

	#top_kanren .kanren_list {
		gap: 20px;
	}
	#top_kanren .kanren_list a {
		width: calc(50% - 10px);
		max-width: 206px;
	}
	#top_kanren .kanren_list img {
		width: 100%;
	}

	/* 編集委員 */
	#top_member {
		padding: 30px 15px;
	}
	#top_member h2 {
		font-size: 2rem;
		margin-bottom: 20px;
	}

	#top_member .member_list {
		gap: 20px;
	}
	#top_member .member_list .free_box {
		width: calc(25% - 15px);
		max-width: 208px;
	}

	#top_member .member_list .free_box p {
		font-size: 1.4rem;
	}

	@media screen and (max-width: 540px) {
		#top_member .member_list .free_box {
			width: calc(50% - 10px);
		}
		#top_member .member_list .free_box:nth-child(2) {
			margin-right: 0px;
		}
	}

}
/* ==================================================
スマートフォン ここまで
================================================== */