@charset "utf-8";

:root {
	--geisei-navy: rgb(32, 60, 94);
	--geisei-blue: rgb(138, 189, 221);
	--geisei-gray: rgb(86, 99, 105);
	--onestop-green: rgb(157, 177, 0);
	--onestop-orange: rgb(255, 99, 2);
}

@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab&display=swap');

a,
a > * {
	-webkit-transition: initial;
	transition: initial;
}

dl dd {
	line-height: 200%;
}

.button {
	position: relative;
	padding: 0;
	border: 2px solid var(--geisei-navy);
	border-radius: 8px;
	border-radius: 0.5em;
	background-color: var(--geisei-navy);
	color: white;
	font-size: 100%;
	line-height: 100%;
	-webkit-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;
}

.button:last-child,
.button:only-child {
	margin-bottom: 0;
}

.button:hover,
.button:focus {
	border-color: var(--geisei-blue);
	background-color: white;
	color: var(--geisei-blue);
}

.button.rounded {
	border-radius: 3rem;
}

.button.extended {
	width: 100%;
}

.button.large {
	font-size: 125%;
}

.button.small {
	font-size: 90%;
}

.button.wide {
	min-width: 300px;
	min-width: 18.75em;
	max-width: 50%;
	width: 50%;
}

@media print,
screen and (max-width: 63.9375em),
screen and (min-width: 64em) and (orientation:portrait) {

	.button.wide {
		width: 100%;
		max-width: 75vw;
	}
}

@media print,
screen and (max-width: 39.9375em) {

	.button.wide {
		max-width: inherit;
	}
}

.button > * {
	-webkit-transition: none;
	transition: none;
}

.button > span {
	position: relative;
	width: 100%;
	padding: 0.85em 1em;
	padding-right: 2em;
}

.button > span {
	content: none;
}

.button > span::before {
	display: block;
	position: absolute;
	top: calc(50% - 0.5em/4);
	right: 1em;
	z-index: 2;
	width: 0.5em;
	height: 0.5em;
	border: 2px solid white;
	border-top: none;
	border-right: none;
	content: '';
	-webkit-transform: translate(-50%, -50%) rotate(-45deg);
	transform: translate(-50%, -50%) rotate(-45deg);
}

.button[href^="http"] > span::before {
	border-right: 2px solid white;
	border-left: none;
}

.button:hover > span::before {
	border-color: var(--geisei-blue);
}

.notes {
	font-size: 14px;
	font-size: 87.5%;
}

.accordion-check {
	display: none;
}

.accordion-label {
	display: block;
}

.accordion-content {
	display: block;
	position: relative;
	height: 0;
	padding: 0 10px;
	border: 1px solid #333;
	opacity: 0;
	-webkit-transition: 0.5s;
	transition: 0.5s;
	visibility: hidden;
}

.accordion-check:checked + .accordion-label + .accordion-content {
	height: auto;
	width: 100%;
	opacity: 1;
	visibility: visible;
}

#page:not(.information) .contents .details .row:only-child {
	padding-bottom: calc(60px + 420px);
	padding-bottom: calc(3.75em + 26.25em);
}

.details.tax-return h2,
.details.tax-return h3,
.details.tax-return h4,
.details.tax-return h5,
.details.tax-return h6 {
	font-size: inherit;
	line-height: 125%;
}

.details.tax-return h3 > span {
	letter-spacing: -0.025em !important;
}

@media print,
screen and (max-width: 39.9375em) {
	.details.tax-return h3 > span span {
		display: inline;
	}
}

.details.tax-return .underline {
	border-bottom-style: solid;
	border-bottom-width: 2px;
	font-weight: 700;
}

.details.tax-return .row .inner {
	padding: 80px;
	padding: 5em;
	background-color: white;
}

#page.page.bespoke.tax-return .details.tax-return .row .inner {
	padding-top: 0;
}

@media print,
screen and (max-width: 39.9375em) {
	.details.tax-return .row .inner {
		padding: calc(100vw/12);
	}
}

.details.tax-return .row ~ .row .inner {
	padding-top: 0 !important;
}

.details.tax-return .row .cell {
	padding-bottom: 0 !important;
}

#page.page.bespoke.tax-return .details.tax-return .row:first-child .block {
	border-radius: 0;
	background: none;
}

#page.page.bespoke.tax-return .details.tax-return .row:first-child .block::before {
	content: none;
}

.details.tax-return .block:not(:last-child) {
	margin-bottom: 60px;
	margin-bottom: 3.75em;
}

.details.tax-return .row:first-child .block h3 {
	margin-bottom: 80px !important;
	margin-bottom: 2em !important;
}

#page.page.bespoke.tax-return .details.tax-return .row:first-child .block p {
	padding: inherit;
	font-size: 100%;
}

.details.tax-return .block em {
	color: var(--geisei-navy) !important;
}

.details.tax-return .block ul {
	margin-left: 0;
}

#page.page.bespoke.tax-return .details.tax-return .block ul > li {
	margin-right: 0;
}

#page.page.bespoke.tax-return .details.tax-return .block ul.notes > li:not(:last-child) {
	margin-bottom: 0.75em;
}

@media print,
screen and (max-width: 39.9375em) {

	.details.tax-return .block > h4,
	.details.tax-return .block > h5,
	.details.tax-return .block > h6 {
		text-justify: inter-ideograph !important;
		text-align: justify !important;
	}
}

.details.tax-return .block > h4 {
	position: relative;
	margin-bottom: 1em !important;
	padding-bottom: 0.75em;
	color: var(--geisei-navy) !important;
	font-size: 30px;
	font-size: 187.5%;
}

@media print,
screen and (min-width: 40em) {
	body:not(.rms) .details.tax-return .block > h4 {
		text-align: center !important;
	}
}

@media print,
screen and (min-width: 75em) {
	.rms .details.tax-return .block > h4 {
		text-align: center !important;
	}
}

.details.tax-return .block > h4::after {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	width: auto;
	height: 2px;
	background-color: var(--geisei-navy);
	content: '';
}

@media print,
screen and (min-width: 75em) {
	.details.tax-return .block > h4 + p {
		text-align: center;
	}
}

.rms .details.tax-return .intro .block > h3 {
	color: var(--geisei-navy);
	font-size: 36px;
	font-size: 225%;
	font-weight: 700;
	line-height: 100%;
}

@media print,
screen and (min-width: 40em) {
	.rms .details.tax-return .intro .block > h3 {
		text-align: center;
	}
}

@media print,
screen and (max-width: 63.9375em),
screen and (min-width: 64em) and (orientation:portrait) {
	.rms .details.tax-return .intro .block > h3 {
		line-height: 125%;
	}
}

@media print,
screen and (min-width: 75em) {
	.rms .details.tax-return .intro .block > h3 > span span {
		display: inline;
	}
}

.details.tax-return .row:first-child .block > h4 + p + ul > li {
	position: relative;
	background-color: rgba(138, 189, 221, 0.2);
	line-height: 150%;
}

.details.tax-return .row:first-child .block > h4 + p + ul > li {
	padding: 40px;
	padding: 2.5em;
	padding-bottom: calc(40px - (20px*1.5)/4);
	padding-bottom: calc(2.5em - (1.25em*1.5)/4);
	padding-left: calc(40px*2 + 40px);
	padding-left: calc(2.5em*2 + 2.5em);
}

@media print,
screen and (max-width: 63.9375em),
screen and (min-width: 64em) and (orientation:portrait) {
	.details.tax-return .row:first-child .block > h4 + p + ul > li {
		padding: 30px;
		padding: 1.875em;
		padding-bottom: calc(30px - (20px*1.5)/4);
		padding-bottom: calc(1.875em - (1.25em*1.5)/4);
		padding-left: calc(30px*2 + 40px);
		padding-left: calc(1.875em*2 + 2.5em);
	}
}

/*@media print,
screen and (max-width: 39.9375em) {
	.details.tax-return .row:first-child .block > h4 + p + ul > li {
		padding: 20px;
		padding: 1.25em;
		padding-bottom: calc(20px - (20px*1.5)/4);
		padding-bottom: calc(1.25em - (1.25em*1.5)/4);
		padding-left: calc(20px*2 + 40px);
		padding-left: calc(1.25em*2 + 2.5em);
	}
}*/

#page.page.bespoke.tax-return .details.tax-return .row:first-child .block > h4 + p + ul > li {
	border-radius: 32px;
	border-radius: 2em;
}

.details.tax-return .row:first-child .block > h4 + p + ul > li:not(:last-child) {
	margin-bottom: 1em;
}

.details.tax-return .row:first-child .block > h4 + p + ul > li::before {
	position: absolute;
	top: 50%;
	left: 30px;
	left: 1.875em;
	z-index: 2;
	width: 40px;
	width: 2.5em;
	height: 40px;
	height: 2.5em;
	content: url('../images/onestop/icn_onestop_check.svg');
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}

.details.tax-return .row:first-child .block > h4 + p + ul > li em {
	font-size: 20px;
	font-size: 125%;
	font-weight: 500;
}

.details.tax-return .block p ~ *[class]:not(p):not(.notes):not(.annotation),
.details.tax-return .block p ~ figure {
	margin-top: 1.5em;
}

.details.tax-return .block ul.notes {
	padding-left: 1em;
}

.details.tax-return .block ul.annotation {
	display: block;
	margin-top: 1em;
}

.details.tax-return .row:first-child .block ul.annotation {
	margin-top: 20px;
	margin-top: 1.428571428571429em;
}

.details.tax-return .block ul.annotation > li {
	position: relative;
	padding-left: 1.25em;
	text-indent: -1em;
	line-height: 150%;
}

.details.tax-return .block ul.annotation > li::before {
	content: '※';
}

.details.tax-return .certificate .block h4 + ul {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-flow: row wrap;
	flex-flow: row wrap;
	gap: 20px;
	gap: 1.25em;
	margin: 0;
}

.details.tax-return .certificate .block h4 + ul > li {
	-webkit-box-flex: 0;
	-ms-flex: 0 1 auto;
	flex: 0 1 auto;
	max-width: calc((100% - 20px*3)/4);
	max-width: calc((100% - 1.25em*3)/4);
	margin: 0 !important;
	padding: 0 !important;
}

@media print,
screen and (max-width: 63.9375em),
screen and (min-width: 64em) and (orientation: portrait) {
	.details.tax-return .certificate .block h4 + ul > li {
		max-width: calc((100% - 20px*2)/3);
		max-width: calc((100% - 1.25em*2)/3);
	}
}

@media print,
screen and (max-width: 39.9375em) {
	.details.tax-return .certificate .block h4 + ul > li {
		max-width: 100%;
	}
}

.details.tax-return .certificate .block h4 + ul > li::before {
	content: none !important;
}
