.headtitle {
	font-size : 12.0pt;
}

/* 基本情報と流派特典は同じ幅にする */
#base, #privilege {
	width : 700px;
}

#base .item {
	width : 80px;
}

#base .basename {
	width : 240px;
}

#base .basewide {
	width : 100%;
	box-sizing : border-box;
}

#base .baseinput {
	width : 60px;
}

/* 流派紋は縦長の欄にする */
#baseimgtd {
	text-align : center;
	vertical-align : middle;
	width : 200px;
}

#displayImage {
	max-width : 190px;
	max-height : 260px;
}

#baseimgtd input[type=file] {
	width : 200px;
}

/* 設定欄は、流派紋の欄に合わせて伸びた行の高さいっぱいに広げる */
#basememotd {
	position : relative;
	height : 170px;
}

/* 枠が見えるよう、セルの内側に少し余白を残す */
#base\.memo {
	position : absolute;
	top : 2px;
	left : 2px;
	width : calc(100% - 4px);
	height : calc(100% - 4px);
	box-sizing : border-box;
	overflow-y : auto;
	resize : none;
}

#privilege .item {
	width : 120px;
}

#privilege textarea {
	width : 100%;
	box-sizing : border-box;
	height : 40px;
	overflow-y : auto;
}

#members .memberurl {
	width : 120px;
}

#members .membername {
	width : 110px;
}

/* 名前（元のシートへのリンク）は折り返さない */
#members td.membername {
	min-width : 110px;
	white-space : nowrap;
}

#members .membershort {
	width : 70px;
}

/* 元のシートから取り込む項目は入力できないので、入力欄に見せない */
#members input.imported {
	border : none;
	background : transparent;
}

/* 構成員の表も基本情報・流派特典と同じ幅にし、余った幅は備考欄に回す */
#members {
	width : 700px;
}

#members td.membermemotd {
	width : 100%;
}

/* ↑↓×ボタンと見出しは折り返さず、備考欄の幅を縮めて収める */
#members th,
#members td:last-child {
	white-space : nowrap;
}

#members .membermemo {
	width : 100%;
	min-width : 120px;
	box-sizing : border-box;
	height : 26px;
	overflow-y : auto;
}

#ninpou textarea {
	overflow-y : auto;
}

@media (max-width: 840px) {
	/* 基本情報と流派特典は「項目名｜入力欄」の2列にして画面の幅に収める */
	#base, #privilege {
		width : auto;
	}

	#base .item, #privilege .item {
		width : auto;
	}

	#baseimgtd {
		width : auto;
	}

	/* 「項目名｜入力欄」の2列では入力欄が幅いっぱいになるので、枠が見えるよう余白の分を引く */
	#basememotd {
		height : 120px;
	}

	#base\.memo {
		width : calc(100% - 4px) !important;
		max-width : calc(100% - 4px) !important;
	}

	#displayImage {
		max-width : 100%;
		max-height : 200px;
	}

	#baseimgtd input[type=file] {
		width : auto;
		max-width : 100%;
	}

	/* 構成員と流派忍法は表の中だけを横スクロールする */
	#members .memberurl {
		width : 110px;
	}

	#members {
		width : auto;
	}

	#members td.membermemotd {
		width : auto;
	}

	#members .membermemo {
		width : 200px;
	}
}
