/* 
  ADEAC2.0→3.0へのテキスト移行に関するスタイル
 */

/* タイトルが並ぶ箇所の行間 */
.ht-header-content {
	line-height: 1.25;
}

/* タイトルが並ぶ箇所の上下余白は本文よりも少なめにしている */
.ht-header-content p {
	margin-top: 0.5rem;
	margin-bottom: 0.5rem;
}

/* 上のスタイルの最後の要素のみ下余白をなくし、間延びしないようにしている */
.ht-header-content p:last-child{
	margin-bottom: 0;
}

/* ページの見出しを大きめにしている。hタグが使われていないのでこのクラスに対して明示的な値を指定。上下余白も調整 */
.this-page-title{
	font-size: 1.15rem;
	line-height: 1.4;
	padding-top: 0.25rem;
	padding-bottom: 0.25rem;
}

/* ページ番号は右寄せ、かつ、スタートを直前のタイトル行と同じラインにするため、マイナスの上余白をとっている。 */
.ht-guide-page-no {
	text-align: right;
	margin-top: -1.75rem;
	margin-bottom: 0.75rem;
}

/* 一番下の行に余白を設定 */
.ht-main-content {
	padding-bottom: 3rem;
}

/* 一番下の行に余白を設定 目次も */
/* 目次は上部に余白も設定 */
.ht-toc-main-content {
	margin-top: 2rem;
	padding-bottom: 3rem;
}

/* 挿入画像の幅は250px固定(旧画面を踏襲) */
.ht-main-content img
{
	width: 250px;
}

/* brで行間を多めにとり、読みやすくする */
.ht-main-content br {
	display: block;
	content: "";
	margin: 1.25rem 0;
}

/* 挿入画像とキャプションがcenterタグで囲まれており、ここはbrの高さを少なめにとって、画像とキャプションの間が離れすぎないようにしている。 */
.ht-main-content center br {
	display: block;
	content: "";
	margin: 0.25rem 0 !important;
}

/* 同上、かつ、centerタグ内の最後のbrは高さ無しにしている。centerの直下にbrがあるので。間延びしないように。 */
.ht-main-content center br:last-child{
	display: block;
	content: "";
	margin: 0 !important;}

/* tableタグ内のbrは行間を開けないようにする */
.ht-main-content table br {
	display: block;
	content: "";
	margin: 0;
}

/* セル内の縦方向は中央を基本とする */
.ht-main-content table tr td {
	vertical-align: middle;
}

/* 朔北社が作った表専用の調整。マクロで「old-cols」とする必要アリ */
.old-cols tr td {
	border-left: 1px solid #000;
}

/* テスト：箇条書き（itemize）のとき、brの行間を空けない */
.itemize br {
	margin: 0;
}

.nopadding tr td {
	padding: 0px;
}

/* border=1の設定が利かないので、代用として設定。マクロあり。 */
.border1 tr td {
	border: 1px solid #000;
}

.btn {
	margin: 0.5rem;
}

.underspace {
	margin-bottom: 1.5rem;
}

