/* ---- General ---- */

body {
	line-break: strict;
}

#ac-globalfooter .ac-gf-sosumi a {
	line-break: normal;
}

/* Adjusted styles */
.nowrap .more:after {
	display: inline-block;
}

@media only screen and (max-width: 340px) {
	.ribbon-content {
		width: 86%;
	}
}
@media only screen and (max-width: 734px) {
	.ribbon-content:has(.small-10) {
		min-width: 320px;
	}
}

/* JP Styles */
.section-hero .icon-after::after,
.section-hero .more::after {
	top: -0.075em;
}

.compare-link.icon-wrapper .icon-after.icon-chevronright::after {
	position: relative;
	top: -0.075em;
}

.page-overview .compare-table .section-pricesticky .template-item-link {
	margin-top: 2px;
}

/* price align */
.page-overview .section-buy .compare-pricing-from {
	line-height: 1.47059;
}

.page-overview .section-summary .badge-unit {
	font-size: 48px;
}

@media only screen and (max-width: 1068px) {
	.page-overview .section-summary .badge-unit {
		font-size: 40px;
	}
}

@media only screen and (max-width: 735px) {
	.page-overview .selector-dropdown:lang(ja) {
		letter-spacing: -0.022em;
	}
	.page-overview .section-summary .badge-unit {
		font-size: 32px;
		white-space: nowrap;
	}
	.page-overview .section-carriers .compare-row .compare-rowheader-style {
		margin-bottom: 44px;
	}
	.page-overview .section-carriers .column-content {
		width: auto;
		margin-top: auto;
	}
	.page-overview .section-carriers .image-carrier {
		margin-top: 0;
		float: none;
	}
}

@media only screen and (max-width: 320px) {
	.page-overview .section-summary .icon-badge .badge-value .badge-unit {
		font-size: 28px;
	}
}

.page-overview .compare-section.section-summary .compare-column strong {
	display: inline-block;
}

.ac-gf-sosumi ul:first-child li small, .ac-gf-sosumi ul li small.subglyph {
	display: inline;
}

.page-overview .compare-columnheader-span p, .page-overview .compare-columnheader-span ul, .page-overview .compare-columnheader-one p, .page-overview .compare-columnheader-one ul, .page-overview .compare-column-span p, .page-overview .compare-column-span ul, .page-overview .compare-column-one p, .page-overview .compare-column-one ul {
	padding-left: 0;
}

@media only screen and (max-width: 375px) {
	.page-overview .compare-table .section-buy .template-dynamic-price {
		font-size: 16px;
	}
}
@media only screen and (max-width: 360px) {
	.page-overview .compare-table .section-buy .template-dynamic-price {
		font-size: 15px;
	}
}
@media only screen and (max-width: 340px) {
	.page-overview .compare-table .section-buy .template-dynamic-price {
		font-size: 14px;
	}
}

/* button */
.page-overview .compare-table .section-buy .template-buy-button .button {
	padding-top: 9px;
	padding-bottom: 7px;
}

/* review mode */

@media only screen and (max-width: 734px) {
	.ribbon .column {
		width: 100%;
		max-width: 350px;
	}
	.ribbon .column p {
		max-width: 100%;
	}
}

@media only screen and (min-width: 735px) {
	.page-overview .compare-table .section-summary .span-pipe {
		padding-left: 3px;
	}
}

.page-overview .compare-table .section-buy .compare-row:first-child span span.nowrap {
	display: inline-block;
}

.page-overview .compare-table .section-pricesticky .template-buy-button .button {
	padding-top: 9px;
	padding-bottom: 7px;
}

#ac-globalfooter .ac-gf-sosumi ol li:last-child, #ac-globalfooter .ac-gf-sosumi ol li:nth-last-child(2) {
	list-style: none;
	margin-left: -17px;
}
