/* 2024年公開版の原文・構成を保ったスマートフォン表示調整 */
img {
	max-width: 100%;
	height: auto;
}

@media screen and (max-width: 900px) {
	body {
		float: none;
		overflow-x: hidden;
	}
	#container,
	nav {
		width: 100%;
	}
	header {
		height: 115px;
	}
	#main,
	article#line,
	.box1,
	div.box_busho {
		width: 100%;
	}
	#main {
		width: calc(100% - 30px);
		overflow: visible;
	}
	nav {
		margin-bottom: 38px;
	}
	ul#navi {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 100px));
		justify-content: center;
		gap: 8px;
		width: calc(100% - 20px);
		height: auto;
	}
	ul#navi li,
	ul#navi li.mg1,
	ul#navi li.mg2 {
		width: 100%;
		height: auto;
		aspect-ratio: 1;
		margin: 0;
		float: none;
	}
	ul#navi li img {
		width: 100%;
		height: auto;
	}
	ul#navi li a.nav-instagram-tile {
		width: 100%;
		height: 100%;
	}
	section {
		display: block;
	}
	section h2 {
		margin-bottom: 32px;
	}
	figure.zu1 {
		width: 100%;
	}
	article#line > section > figure.imgLft {
		float: none;
		width: min(100%, 320px);
		margin: 0 auto 22px;
		text-align: center;
	}
	div.box_busho {
		box-sizing: border-box;
		overflow: hidden;
		margin-bottom: 24px;
		background: #fff;
		border: 1px solid #e5e5e5;
		border-radius: 8px;
		box-shadow: 0 4px 14px rgba(0, 0, 0, .06);
	}
	div.box_busho figure.imgLft {
		float: none;
		width: 100%;
		margin: 0 0 16px;
		text-align: center;
	}
	div.box_busho figure.imgLft img {
		display: block;
		width: 100%;
		aspect-ratio: 4 / 3;
		margin: 0 auto;
		object-fit: cover;
	}
	div.box_busho h3 {
		margin: 0;
		padding: 0 16px 10px;
		font-size: 20px;
		line-height: 1.35;
	}
	div.box_busho p {
		margin: 0;
		padding: 0 16px 18px;
		font-size: 15px;
		line-height: 1.85;
	}
	div#member,
	table#name1,
	table#name2 {
		width: 100%;
	}
	table#name1,
	table#name2 {
		float: none;
		margin: 0 0 25px;
	}
	#member_profile {
		width: 100%;
	}
	ul.past {
		display: flex;
		flex-wrap: wrap;
		gap: 22px;
		width: 100%;
	}
	ul.past li.mg1,
	ul.past li.mg2 {
		width: 150px;
		margin: 0;
		float: none;
	}
	.threelines {
		box-sizing: border-box;
		width: 33.333%;
		padding: 0 15px;
	}
	.history-scroll {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
	table#history {
		min-width: 820px;
	}
}

@media screen and (max-width: 520px) {
	#main {
		width: calc(100% - 20px);
	}
	header {
		height: 105px;
	}
	ul#navi {
		grid-template-columns: repeat(4, minmax(0, 82px));
		gap: 5px;
	}
	p {
		font-size: 15px;
		line-height: 1.85;
	}
	.threelines {
		width: 100%;
		padding: 0 0 25px 20px;
		float: none;
	}
	ul.past {
		justify-content: center;
	}
	figure.zu1 {
		margin-bottom: 30px;
	}
}
