@charset "utf-8";
/*------------------------------------------------------------
	detail
------------------------------------------------------------*/
#main {
	padding-bottom: 9.2rem;
}
#main .pageTitle {
	margin-bottom: 0;
}
#main .topArea {
	margin-bottom: 4.5rem;
	padding: 4.2rem 0 3.5rem;
	background: var(--color-white);
}
/* 枠線と高さの固定を外し、画像を横幅いっぱいに表示する */
#main .topArea .logoBox {
	margin: 0 auto 1.4rem;
	max-width: 65rem;
}
#main .topArea .logoBox img {
	width: 100%;
	height: auto;
}
#main .topArea .hTitle {
	margin-bottom: 1.5rem;
	font-size: 4rem;
	font-weight: 700;
	text-align: center;
}
#main .topArea .inner .btnBox {
	margin: 0 auto;
	width: fit-content;
}
#main .topArea .inner .btnBox button {
	appearance:none;
    -moz-appearance:none;
    -webkit-appearance:none;
    border-radius: 1.3rem;
    height: 4.1rem;
    border: none;
    box-sizing: border-box;
	color: var(--color-text);
    font-size: 1.5rem;
    padding: 0 3.3rem 0.2rem 5.2rem;
    width: 100%;
    text-align: center;
    background: var(--color-bg-gray3) url(../img/common/icon07.png) no-repeat left 1.5rem center / 1rem;
	box-shadow: 0 0.2rem 0.5rem rgba(139, 139, 139, 0.4);
	cursor: pointer;
	transition: opacity 0.3s;
}
@media all and (min-width: 897px) {
	#main .topArea .inner .btnBox button:hover {
		opacity: 0.7;
	}
}
#toc-content {
	margin: 0 auto;
	width: fit-content;
	display: none;
}
#toc-content .toc-list {
	margin-top: 4rem;
	counter-reset: toc-counter;
}
#toc-content .toc-list > li {
	margin-bottom: 1rem;
	padding-left: 2em;
	position: relative;
	counter-increment: toc-counter;
}
#toc-content .toc-list a:hover {
	opacity: 0.7;
}
#toc-content .toc-list > li:last-child {
	margin-bottom: 0;
}
#toc-content .toc-list > li a {
	color: var(--color-primary);
	font-weight: 700;
	text-decoration: underline;
}
#toc-content .toc-list > li::before {
	content: counter(toc-counter) ". ";
    position: absolute;
    left: 0;
    font-weight: 700;
}
#toc-content .toc-list ol {
	counter-reset: sub-counter;
}
#toc-content .toc-list ol li {
	margin: 0.5rem 2em;
	padding-left: 2.5em;
	position: relative;
	counter-increment: sub-counter;
}
#toc-content .toc-list ol li:last-child {
	margin-bottom: 0;
}
#toc-content .toc-list ol li::before {
	content: counter(toc-counter) "-" counter(sub-counter) ". ";
    position: absolute;
    left: 0;
    font-weight: 400;
}
#main .comAreaBox .outArea:not(:last-child) {
	margin-bottom: 3.4rem;
}
#main .comAreaBox .area .subBox {
	margin: -0.3rem auto 1.9rem;
	max-width: 34.2rem;
}
#main .comAreaBox .area .subBox .headLine04 {
	margin-bottom: 0.5rem;
	text-align: left;
}
#main .comAreaBox .area .subBox .textList {
	border: 1px solid var(--color-text);
}
#main .comAreaBox .area .subBox .textList li {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	border-bottom: 1px solid var(--color-text);
}
#main .comAreaBox .area .subBox .textList li:last-child {
	border-bottom: none;
}
#main .comAreaBox .area .subBox .textList li .lText {
	padding: 1rem 0 1rem 1.4rem;
	width: 22rem;
	color: var(--color-primary);
	font-weight: 700;
	background: var(--color-primary-light);
	border-right: 1px solid var(--color-text);
}
#main .comAreaBox .area .subBox .textList li .rText {
	padding: 0.6rem 1.8rem 0.5rem 0.5rem;
	width: calc(100% - 22rem);
	color: var(--color-primary);
	font-weight: 700;
	text-align: right;
}
#main .comAreaBox .area .subBox .textList li .rText .number {
	margin-right: 1.1rem;
	font-size: 1.8rem;
}
#main .comAreaBox .area .textUl {
	margin: -0.2rem 1rem 3rem;
	padding: 2rem 3.2rem 2.4rem;
	background: var(--color-primary-light);
}
/* 2行目以降を「1：」の幅だけ下げ、本文の頭をそろえる */
#main .comAreaBox .area .textUl li {
	padding-left: 1.6em;
	text-indent: -1.6em;
	line-height: 2;
	font-weight: 700;
}
#main .comAreaBox .area .textUl li a {
	color: var(--color-primary);
}
#main .comAreaBox .area .textUl li a:hover {
	opacity: 0.7;
}
#main .comAreaBox .area .comBtn {
	margin-bottom: 4.1rem;
}
#main .comAreaBox .area .bgTextBox {
	margin: -0.2rem auto 2.1rem;
	padding: 1.5rem 1.5rem 1.6rem;
	max-width: 41.5rem;
	background: var(--color-primary-light);
}
#main .comAreaBox .area .bgTextBox .subText {
	color: var(--color-primary);
	font-weight: 700;
	text-align: center;
}
#main .comAreaBox .area .bgTextBox .subText a {
	color: var(--color-primary);
	text-decoration: underline;
}
#main .comAreaBox .area .bgTextBox .subText a:hover {
	opacity: 0.7;
}
#main .comAreaBox .area .bgTextBox + .comText {
	margin-bottom: 3.2rem;
}
#main .comAreaBox .area .logoBox {
	margin: 0 auto 1.5rem;
	width: 25rem;
}
@media all and (max-width: 896px) {
	#main {
		padding-bottom: 5.2rem;
	}
	#main .topArea {
		margin-bottom: 2.7rem;
		padding: 3.5rem 0 3.2rem;
	}
	#main .topArea .logoBox {
		margin: 0 -0.8rem 1.8rem;
		max-width: inherit;
	}
	#main .topArea .hTitle {
		margin-bottom: 1rem;
		font-size: 4.5rem;
	}
	#main .topArea .inner .btnBox button {
		border-radius: 0.6rem;
		height: 4.3rem;
		font-size: 1.55rem;
		padding: 0 3.5rem 0.3rem 5.4rem;
	}
	#toc-content {
		margin: 0;
		width: auto;
	}
	#toc-content .toc-list {
		margin-top: 2rem;
	}
	#main .comAreaBox .outArea:not(:last-child) {
		margin-bottom: 3.1rem;
	}
	#main .comAreaBox .area .subBox {
		margin: -0.7rem 0 1.4rem;
		max-width: inherit;
	}
	#main .comAreaBox .area .subBox .headLine04 {
		margin-bottom: 0.9rem;
		font-size: 1.5rem;
	}
	#main .comAreaBox .area .subBox .textList li .lText {
		padding: 0.7rem 0 0.7rem 1rem;
		width: 15.1rem;
		line-height: 1.17;
		font-feature-settings: "palt";
		-moz-font-feature-settings: "palt";
	}
	#main .comAreaBox .area .subBox .textList li .rText {
		padding: 0.6rem 2rem 1.2rem 0.5rem;
		width: calc(100% - 15.1rem);
		font-size: 1.4rem;
	}
	#main .comAreaBox .area .subBox .textList li .rText .number {
		font-size: 2.2rem;
	}
	#main .comAreaBox .area .textUl {
		margin: -1.2rem 1rem 2.3rem;
		padding: 2.6rem 2.5rem 2.7rem;
	}
	#main .comAreaBox .area .textUl li {
		margin-bottom: 1.8rem;
		line-height: 1.2;
	}
	#main .comAreaBox .area .textUl li:last-child {
		margin-bottom: 0;
	}
	#main .comAreaBox .area .comBtn {
		margin: 0 -2.1rem 4.1rem;
		width: auto !important;
	}
	#main .comAreaBox .area .comBtn a {
		margin: 0 auto;
		max-width: 32.5rem;
	}
	#main .comAreaBox .area .bgTextBox {
		margin: -0.8rem 0 2.5rem;
		padding: 1.8rem 0.5rem;
		max-width: inherit;
	}
	#main .comAreaBox .area .bgTextBox .subText {
		line-height: 1.8;
	}
	#main .comAreaBox .area .bgTextBox + .comText {
		margin-bottom: 4.4rem;
	}
	#main .comAreaBox .area .logoBox {
		margin: 1.3rem auto 3.6rem;
		width: 22rem;
	}
		#main .comAreaBox .area .subArea .noteUl li {
		text-align: justify;
	}
}
/*------------------------------------------------------------
	ブローカーページ追加分(テンプレートにない部品)
------------------------------------------------------------*/
/* ページ上部の説明文(ブローカー名の下、目次ボタンの上) */
#main .topArea .descBox {
	margin: 0 auto 2.4rem;
	max-width: 65rem;
}

#main .topArea .descBox p {
	font-weight: 500;
	line-height: 1.8;
	text-align: center;
}

#main .topArea .descBox p + p {
	margin-top: 0.8rem;
}

/* 目次がないページでは、説明文の下の余白をなくして上下の白い部分をそろえる */
#main .topArea .descBox:last-child {
	margin-bottom: 0;
}

/* 上部のロゴ画像をリンクにする場合 */
#main .topArea .logoBox a {
	display: block;
}
#main .topArea .logoBox a:hover {
	opacity: 0.7;
}
/* 本文中の強調(旧ページの underline-strong の置き換え) */
/* 行間が詰まっているため、下線ではなく文字の下側4割に黄色を重ねる */
#main .comAreaBox .comText strong {
	font-weight: 700;
	background: linear-gradient(transparent 60%, var(--color-marker) 60%);
}
/* 重要な注意の強調(旧ページの underline-strong-text-red の置き換え) */
#main .comAreaBox .comText strong.red {
	color: var(--color-red);
}
/* 「・」付きの箇条書き(文字の大きさと太さは noteUl に合わせる) */
#main .comAreaBox .area .dotUl {
	margin-bottom: 2.5rem;
}
#main .comAreaBox .area .dotUl li {
	padding-left: 1em;
	position: relative;
	font-size: 1.2rem;
	font-weight: 500;
}
#main .comAreaBox .area .dotUl li::before {
	position: absolute;
	top: 0;
	left: 0;
	content: '・';
}
/* 表のセルの中の箇条書きは下の余白なし、中央寄せのセルでも左寄せにする */
#main .comAreaBox .area .tableBox .dotUl {
	margin-bottom: 0;
	text-align: left;
}
/* 本文中の画像 */
#main .comAreaBox .area .photoBox {
	margin: 0 auto 2.5rem;
	text-align: center;
}
#main .comAreaBox .area .photoBox img {
	max-width: 100%;
	height: auto;
}
/* PCで半分の幅にする画像 */
#main .comAreaBox .area .photoBox.half {
	max-width: 50%;
}
/* 表のあとに文章が続く場合の余白 */
#main .comAreaBox .area .tableBox:not(:last-child) {
	margin-bottom: 2.5rem;
}
/* 口座開設ボタンがエリアの最後にある場合は下の余白をなくす */
#main .comAreaBox .area .comBtn:last-child {
	margin-bottom: 0;
}
/* 3列以上の表(tableBox に multi を追加で付けたときだけ効く) */
#main .comAreaBox .area .tableBox.multi th {
	width: auto;
}
#main .comAreaBox .area .tableBox.multi thead th {
	text-align: center;
}
#main .comAreaBox .area .tableBox.multi td {
	padding-left: 1rem;
	padding-right: 1rem;
	text-align: center;
}
@media all and (max-width: 896px) {
	#main .topArea .descBox {
		margin: 0 0 2rem;
		max-width: inherit;
	}
	#main .comAreaBox .area .photoBox.half {
		max-width: 100%;
	}
	/* スマホでは表の枠の中で横にスクロールさせる */
	#main .comAreaBox .area .tableBox.multi {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
	/* 列が多い表は最小の幅を持たせて文字がつぶれないようにする */
	#main .comAreaBox .area .tableBox.multi table {
		min-width: 60rem;
	}
	#main .comAreaBox .area .tableBox.multi td {
		padding-left: 0.8rem;
		padding-right: 0.8rem;
	}
}
