/*----- [ Initial Settings ] -----*/
:root {	
	--height-column-default: 46rem;

	--any-border-radius: 10px;

	--color-column-rule: #cccccc;
	--color-separate-line: #cccccc;
	--color-background-attention: #f0f8ff;
	--color-background-attention-shadow: #D6D6D6;

	--font-hiragino-marugo: 'Hiragino Maru Gothic W4 JIS2004';
}


/*----- [ Parts ] -----*/
/* Spacer */
.spc {
	margin-bottom: 1rem;
}
.spc.num.justify-1 {
	letter-spacing: calc(1rem / 3);
	margin-bottom: calc(1rem - (1rem / 3));
}
.spc.num.justify-2 {
	letter-spacing: calc(1rem / 2);
	margin-bottom: calc(1rem - (1rem / 2));
}
.spc.num.justify-3 {
	letter-spacing: calc(1rem / 4);
	margin-bottom: calc(1rem - (1rem / 4));
}
.spc.num.justify-4 {
	letter-spacing: calc(1rem / 5);
	margin-bottom: calc(1rem - (1rem / 5));
}
.spc-r {
	margin-bottom: 0.8rem;
}
.spc-r.num.justify-1 {
	letter-spacing: calc(0.8rem / 3);
	margin-bottom: calc(0.8rem - (0.8rem / 3));
}
.spc-r.num.justify-2 {
	letter-spacing: calc(0.8rem / 2);
	margin-bottom: calc(0.8rem - (0.8rem / 2));
}
.spc-r.num.justify-3 {
	letter-spacing: calc(0.8rem / 4);
	margin-bottom: calc(0.8rem - (0.8rem / 4));
}
.spc-r.num.justify-4 {
	letter-spacing: calc(0.8rem / 5);
	margin-bottom: calc(0.8rem - (0.8rem / 5));
}

/* Tate Chu Yoko */
.tcy {
	-webkit-text-combine: horizontal;
	-ms-text-combine-horizontal: all;
	text-combine-upright: all;
}

/* Ruby */
.ruby {
	transform: translateX(-0.5rem);
	font-size: 0.5rem;
}


/*----- [ Column ] -----*/
.column {
	writing-mode: vertical-rl;

    height: var(--height-column-default);
    columns: 2;

/*	max-height: 2900rem;*/
/*	column-width: 18rem;*/
/*	column-count: 145;*/
	
    column-gap: 2rem;
    column-rule: solid 1px var(--color-column-rule);
	width: 100%;
}


/*----- [ Promulgation ] -----*/
/* 1 */
.promulgation-1-declare {
	text-indent: 0;
}
.promulgation-1-sign {
	margin: 2rem 1rem 0;
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: 0.5rem;
}
.promulgation-1-date {
	margin-top: 4rem;
}
.promulgation-1-minister {
	margin-left: 1rem;
	padding-top: 9rem;
}
.promulgation-1-text {
	text-indent: 0;
}

/* 2 */
.promulgation-2-declare {
	margin: 0;
	text-indent: 1rem;
	font-size: 1.1rem;
}
.promulgation-2-sign {
	margin: 1rem 2rem 0;
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: 0.5rem;
}
.promulgation-2-date {
	margin-top: 2rem;
}
.promulgation-2-minister {
	margin-top: 4rem;
}
.promulgation-2-minister.option {
	margin-top: 2.5rem;
}
.promulgation-2-lawnum {
	margin: 0 1rem 0 0;
}
.promulgation-2-text {
	margin: 0;
	text-indent: 1rem;
}

/* 3 */
.promulgation-3-declare {
	margin: 0;
	text-indent: 0;
	font-size: 1rem;
}
.promulgation-3-sign {
	margin: 0 2rem;
	letter-spacing: 1rem;
}
.promulgation-3-date {
	margin-top: 1rem;
}
.promulgation-3-minister {
	margin-top: 8rem;
}
.promulgation-3-minister.option {
	margin-top: 10rem;
}
.promulgation-3-lawnum {
	margin: 0 1rem 0 0;
}
.promulgation-3-lawtitle {
	margin-top: 3rem;
}
.promulgation-3-text {
	margin: 0;
	text-indent: 1rem;
}
.c-supplementary-provisions + .promulgation-3-text {
	margin-right: 1rem;
}


/* 4 */
.promulgation-4-declare {
	margin: 1rem 0 0; 
	text-indent: 0;
	font-size: 1rem;
}
.promulgation-4-sign {
	margin: 1rem 2rem 0;
	letter-spacing: 1rem;
}
.promulgation-4-sign.option {
	margin: 2rem 2rem 0;
	letter-spacing: 1rem;
}
.promulgation-4-date {
	margin-top: 2rem;
}
.promulgation-4-date.option {
	margin-top: 4rem;
}
.promulgation-4-minister {
	margin-top: 9rem;
}
.promulgation-4-minister.option {
	margin-bottom: 2rem;
	text-align: right;
}
.promulgation-4-lawnum {
	margin: 0 1rem 0 0;
}
.promulgation-4-lawtitle {
	margin-top: 3rem;
}
.promulgation-4-text {
	margin: 0;
	text-indent: 1rem;
}
.c-supplementary-provisions + .promulgation-4-text {
	margin-right: 1rem;
}


/*----- [ Separator ] -----*/
.separate-volume {
	margin: 1.5rem 1rem 0;
}
.separate-line {
	margin: 2rem;
	border-right: dotted 10px var(--color-separate-line);
	border-top: 0;
	border-bottom: 0;
	border-left: 0;
}


/*----- Table Of Contents -----*/
.c-top {
	margin: 0;
	text-indent: 0;
}
.c-lawtitle {
	margin-top: 0;
	text-indent: 0;
}
.promulgation-2-text + .c-lawtitle {
	margin: 0 1rem 0 0;
	text-indent: 0;
}
.promulgation-3-text + .c-lawtitle {
	margin: 3rem 1rem 0 0;
	text-indent: 0;
}
.c-part {
	margin-top: 5rem;
	text-indent: -4rem;
}
.c-chapter {
	margin-top: 6rem;
	text-indent: -4rem;
}
/*.c-chapter.option {
	margin-top: 7rem;
	text-indent: -6rem;
}
.c-chapter.option-2 {
	margin-top: 8rem;
	text-indent: -6rem;
}*/
.c-section {
	margin-top: 7rem;
	text-indent: -4rem;
}
/*.c-section.option {
	margin-top: 8rem;
	text-indent: -5rem;
}
.c-section.option-2 {
	margin-top: 9rem;
	text-indent: -6rem;
}*/
.c-subsection {
	margin-top: 8rem;
	text-indent: -4rem;
}
.c-division {
	margin-top: 9rem;
	text-indent: -4rem;
}
.c-supplementary-provisions {
	margin-top: 5rem;
	text-indent: -4rem;
}

/* 2 */
.c2-top {
	margin: 0;
	text-indent: 0;
}
.c2-chapter {
	margin-top: 5rem;
	text-indent: -4rem;
}
.c2-chapter.option {
	margin-top: 6rem;
	text-indent: -5rem;
}
.c2-section {
	margin-top: 6rem;
	text-indent: -4rem;
}
.c2-subsection {
	margin-top: 7rem;
	text-indent: -4rem;
}
.c2-division {
	margin-top: 8rem;
	text-indent: -4rem;
}
.c2-supplementary-provisions {
	margin-top: 5rem;
	text-indent: -4rem;
}


/*----- [ Format-1 ] -----*/
.f1-lawtitle {
	margin: 0 2rem;
	text-indent: 0;
}
.f1-part {
	margin: 6rem 2rem 0 0;
	text-indent: -4rem;
}
.f1-chapter {
	margin: 7rem 2rem 0 0;
	text-indent: -4rem;
}
.f1-section {
	margin: 8rem 2rem 0 0;
	text-indent: -4rem;
}
.f1-subsection {
	margin: 9rem 2rem 0 0;
	text-indent: -4rem;
}
.f1-division {
	margin: 10rem 2rem 0 0;
	text-indent: -4rem;
}
.f1-supplementary-provisions {
	margin: 3rem 2rem 0 0;
}

.f1-article {
	margin: 1rem 0 0;
}
.f1-article[id] {
	margin: 1rem 1rem 0 0;
	text-indent: -1rem;
}
:is(
	.f1-part,
	.f1-chapter,
	.f1-section,
	.f1-subsection,
	.f1-division,
	.f1-supplementary-provisions
) + .f1-article[id] {
	margin-right: 2rem;
}

.f1-items {
	margin: 3rem 0 0;
	text-indent: -1rem;
}
.f1-items.option {
	margin: 3rem 0 0;
	text-indent: 0;
}

.f1-article.sp {
	margin: 1rem 0 0 0;
	text-indent: 0;
}
.f1-article.sp[id] {
	margin: 1rem 1rem 0 0;
	text-indent: -1rem;
}
.f1-supplementary-provisions + .f1-article.sp[id] {
	margin-right: 2rem;
}
.f1-article.sp.option[id] {
	margin: 0 1rem 0 0;
	text-indent: 0;
}


/*----- [ Format-2 ] -----*/
.f2-lawtitle {
	margin: 0 2rem;
	text-indent: 0;
}
.f2-part {
	margin: 6rem 2rem 0 0;
	text-indent: -4rem;
}
.f2-chapter {
	margin: 7rem 2rem 0 0;
	text-indent: -4rem;
}
.f2-section {
	margin: 8rem 2rem 0 0;
	text-indent: -4rem;
}
.f2-subsection {
	margin: 9rem 2rem 0 0;
	text-indent: -4rem;
}
.f2-division {
	margin: 10rem 2rem 0 0;
	text-indent: -4rem;
}
.f2-supplementary-provisions {
	margin: 3rem 2rem 0 0;
}

.f2-article {
	margin: 1rem 0 0;
	text-indent: 1rem;
}
.f2-article[id] {
	margin: 1rem 1rem 0 0;
	text-indent: -1rem;
}
:is(
	.f2-part,
	.f2-chapter,
	.f2-section,
	.f2-subsection,
	.f2-division
) + .f2-article[id] {
	margin-right: 2rem;
}
.f2-items {
	margin: 2rem 0 0;
	text-indent: -1rem;
}

.f2-supplementary-provisions + .f2-article.sp[id] {
	margin-right: 2rem;
}
.f2-supplementary-provisions + .f2-article.sp[id].option {
	margin: 0 2rem 0 0;
	text-indent: 1rem;
}
.f2-article.sp[id].option + .f2-article.sp[id].option {
	margin: 0;
	text-indent: 1rem;
}


/*----- [ Format-3 ] -----*/
.f3-lawtitle {
	margin: 0 2rem;
	text-indent: 0;
}
.f3-part {
	margin: 6rem 2rem 0 0;
	text-indent: -4rem;
}
.f3-chapter {
	margin: 7rem 2rem 0 0;
	text-indent: -4rem;
}
.f3-chapter.option {
	margin: 8rem 2rem 0 0;
	text-indent: -5rem;
}
.f3-section {
	margin: 8rem 2rem 0 0;
	text-indent: -4rem;
}
.f3-section.option {
	margin: 9rem 2rem 0 0;
	text-indent: -5rem;
}
.f3-subsection {
	margin: 9rem 2rem 0 0;
	text-indent: -4rem;
}
.f3-division {
	margin: 10rem 2rem 0 0;
	text-indent: -4rem;
}
.f3-supplementary-provisions {
	margin: 3rem 2rem 0 0;
}

.f3-heading {
	margin: 1rem 1rem 0 0;
}
:is(
	.f3-part,
	.f3-chapter,
	.f3-section,
	.f3-subsection,
	.f3-division,
	.f3-supplementary-provisions
) + .f3-heading {
	margin-right: 2rem;
}
.f3-heading + .f3-heading {
	margin-right: 0;
}
.f3-heading + .f3-heading.mixed {
	margin-right: 1rem;
}

.f3-article {
	margin: 1rem 0 0;
	text-indent: -1rem;
}
.f3-article.option {
	margin: 0 2rem 0 0;
	text-indent: 1rem;
}
.f3-article.option-2 {
	margin: 1rem 0 0 0;
	text-indent: 1rem;
}
.f3-article.sp.option {
	margin: 1rem 0 0;
	text-indent: 1rem;
}
.f3-article[id] {
	margin-right: 1rem;
}
:is(
	.f3-part,
	.f3-chapter,
	.f3-section,
	.f3-subsection,
	.f3-division,
	.f3-supplementary-provisions
) + .f3-article[id] {
	margin-right: 2rem;
}
.f3-heading + .f3-article[id] {
	margin-right: 0;
}
.f3-heading.option + .f3-article[id] {
	margin-right: 1rem;
}
.f3-heading.option.ins.mixed + .f3-heading.mixed + .f3-article[id] {
	margin-right: 1rem;
}
.f3-items {
	margin: 2rem 0 0;
	text-indent: -1rem;
}
.f3-subitems {
	margin: 3rem 0 0;
	text-indent: -1rem;
}
.f3-subitems.option {
	margin: 4rem 0 0;
	text-indent: -1rem;
} 


/*----- [ BlockQuote ] -----*/
.refer {
	margin: 1rem 1rem 0 2rem;
	padding: 0.8rem;
}

/* Refer 1 */
.r1-lawtitle {
	margin: 0;
	text-indent: 0;
}
.r1-article {
	margin: 0;
	text-indent: 0;
}
.r1-article[id] {
	margin: 0 0.8rem 0 0;
	text-indent: 0;
}
.r1-items {
	margin: 0.8rem 0 0;
	text-indent: 0;
}

/* Refer 2 */
.r2-lawtitle {
	margin: 0;
	text-indent: 0;
}
.r2-part {
	margin: calc(0.8rem * 6) 0.8rem 0 0;
	text-indent: calc(0.8rem * -4);
}
.r2-chapter {
	margin: calc(0.8rem * 7) 0.8rem 0 0;
	text-indent: calc(0.8rem * -4);
}
.r2-section {
	margin: calc(0.8rem * 8) 0.8rem 0 0;
	text-indent: calc(0.8rem * -4);
}
.r2-subsection {
	margin: calc(0.8rem * 9) 0.8rem 0 0;
	text-indent: calc(0.8rem * -4);
}
.r2-division {
	margin: calc(0.8rem * 10) 0.8rem 0 0;
	text-indent: calc(0.8rem * -4);
}
.r2-supplementary-provisions {
	margin: calc(0.8rem * 3) 0.8rem 0 0;
}

.r2-article {
	margin: 0.8rem 0 0;
	text-indent: 0;
}
.r2-article[id] {
	margin: 0.8rem 0.8rem 0 0;
	text-indent: -0.8rem;
}
.r2-items {
	margin: calc(0.8rem * 3) 0 0;
	text-indent: -0.8rem;
}

/* Refer 3 */
.r3-lawtitle {
	margin: 0;
	text-indent: 0;
}
.r3-part {
	margin: calc(0.8rem * 6) 0.8rem 0 0;
	text-indent: calc(0.8rem * -4);
}
.r3-chapter {
	margin: calc(0.8rem * 7) 0.8rem 0 0;
	text-indent: calc(0.8rem * -4);
}
.r3-chapter.option {
	margin: calc(0.8rem * 8) 0.8rem 0 0;
	text-indent: calc(0.8rem * -5);
}
.r3-section {
	margin: calc(0.8rem * 8) 0.8rem 0 0;
	text-indent: calc(0.8rem * -4);
}
.r3-subsection {
	margin: calc(0.8rem * 9) 0.8rem 0 0;
	text-indent: calc(0.8rem * -4);
}
.r3-division {
	margin: calc(0.8rem * 10) 0.8rem 0 0;
	text-indent: calc(0.8rem * -4);
}
.r3-supplementary-provisions {
	margin: calc(0.8rem * 3) 0.8rem 0 0;
}

.r3-heading {
	margin: 0.8rem 0.8rem 0 0;
	text-indent: 0;
}
.r3-article {
	margin: 0.8rem 0 0;
	text-indent: -0.8rem;
}
.r3-article.option {
	margin: 0;
	text-indent: 0.8rem;
}
:is(
	.r3-lawtitle + .r3-article.option,
	.r3-supplementary-provisions + .r3-article.option
) {
	margin: 0 0.8rem 0 0;
	text-indent: 0.8rem;
}
.r3-article.option + .r3-article[id].option {
	margin: calc(0.8rem * 2) 0 0;
	text-indent: -0.8rem;
}
.r3-article.option-2 {
	margin: 0.8rem 0 0;
	text-indent: 0.8rem;
}
.r3-article[id] {
	margin-right: 0.8rem;
}
.r3-heading + .r3-article[id] {
	margin-right: 0;
}
.r3-heading.option + .r3-article[id] {
	margin-right: 0.8rem;
}

.r3-items {
	margin: calc(0.8rem * 2) 0 0;
	text-indent: -0.8rem;
}
.r3-subitems {
	margin: calc(0.8rem * 3) 0 0;
	text-indent: -0.8rem;
}


/*----- [ Bottom Container ] -----*/
.footer-content.lawdata {
	writing-mode: horizontal-tb;
    width: 100%;
	margin: 4rem auto 3rem;
	break-inside: avoid;
}


/*----- [ Attention ] -----*/
.attention {
	width: 100%;
	margin: 0 auto;
	padding: 1rem calc(0.8rem * 1.5) 1rem calc(0.8rem * 4.5);

	background-color: var(--color-background-attention);
	border: none;
	border-radius: var(--any-border-radius);
	box-shadow: 5px 5px 10px 0px var(--color-background-attention-shadow);
}
.attention-text {
	font-size: 0.8rem;
	font-family: sans-serif;
	width: 100%;
	margin: 0 auto;
	text-indent: calc(0.8rem * -2);
	text-align: justify;
}
@container (width > 600px) and (width <= 1000px) {
	.attention {
		max-width: calc(0.8rem * 45);
		padding-left: calc(0.8rem * 2.5);
		padding-right: calc(0.8rem * 1.5);
	}
	.attention-text	{
		font-family: sans-serif;
	}
}
@container (width > 1000px) {
	.attention {
		max-width: calc(0.8rem * 45);
		padding-left: calc(0.8rem * 2.5);
		padding-right: calc(0.8rem * 1.5);
	}
	.attention-text {
		font-family: var(--font-hiragino-marugo), sans-serif;
	}
}


/*----- [ Global Navi ] -----*/
.global-navi.in-singular-lawdata {
    width: 100%;
	margin: 2rem auto 0;
}
