@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;500&display=swap');

#contents .body {
	position: relative;
	overflow: hidden;
	}

#contents .body::before {
	content: "";
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	height: 100vh;
	background: url(/images/co2/background.jpg) no-repeat center center;
	background-size: cover;
	}

#footer {
	position: relative;
	background-color: #fff;
	z-index: 3;
	}

#contents .entry-contents {
	padding: 48px 24px;
	z-index: 2;
	}

#contents .entry-contents h1 {
	width: 560px;
	margin: auto;
	}

#calculator {
	margin: 40px auto 8px auto;
	width: 70%;
	min-width: 720px;
	background-color: rgba(255,255,255,.6);
	border: 1px solid rgba(0,0,0,.1);
	border-radius: 24px;
	-webkit-backdrop-filter: blur(8px);
	-ms-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	box-shadow: 0 0 0 1px #fff inset;
	font-family: 'Oswald', 'Noto Sans JP', sans-serif;
	font-weight: 400;
	}

body.en-US #calculator {
	font-weight: 300;
	}

#lane {
	display: flex;
	justify-content: start;
	align-items: stretch;
	width: calc(100% - 48px);
	height: 80px;
	margin: 0 24px;
	background: url(/images/co2/vessel.png) no-repeat right center;
	background-size: auto 56px;
	text-align: center;
	}

#lane dt {
	position: relative;
	flex-basis: 11%;
	font-weight: bold;
	line-height: 80px;
	opacity: .6;
	}

#lane dd {
	position: relative;
	flex-basis: 12%;
	}

	#lane dt::after,
	#lane dd::after {
		content: "";
		position: absolute;
		right: 0;
		bottom: 0;
		height: 9px;
		border-left: 1px dotted rgba(0,0,0,.4);
		}

#lane dd a {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 80px;
	}

#lane dd a.selected {
	background-color: rgba(230,0,18,.1);
	color: #e60012;
	}

#lane dd a i {
	display: flex;
	flex-direction: column;
	position: relative;
	height: 24px;
	margin-top: 4px;
	justify-content: center;
	align-items: center;
	font-size: 11px;
	line-height: 12px;
	color: #000 !important;
	opacity: .5;
	pointer-events: none;
	}

#lane dd a i::before,
#lane dd a i::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 4px;
	height: 4px;
	margin: 0 0 4px;
	border-left: 1px solid rgba(0,0,0,.6);
	border-bottom: 1px solid rgba(0,0,0,.6);
	}

#lane dd a i::after {
	width: 2px;
	height: 2px;
	margin: 0 0 4.4px 6px;
	transform-origin: 0 100%;
	transform: rotate(-135deg);
	}

#lane dd a i span {
	display: block;
	}

#lane dd a i span.to {
	padding-left: .8em;
	}

#input {
	display: flex;
	justify-content: space-between;
	width: calc(100% - 48px);
	margin: 0 24px;
	background-color: #fff;
	border: 1px solid rgba(0,0,0,.1);
	border-radius: 12px 12px 0 0;
	}

	#input div {
		position: relative;
		padding: 24px;
		}

	#input div::after {
		content: "";
		position: absolute;
		left: 0;
		bottom: 0;
		height: 9px;
		border-left: 1px dotted rgba(0,0,0,.4);
		}

		#input div:first-child::after {
			display: none;
			}

	#input .port {
		width: 30%;
		}
		body.en-US #input .port {
			width: 33%;
			}

	#input .type {
		width: 22%;
		}
		body.en-US #input .type {
			width: 19%;
			}

	#input .size {
		width: 18%;
		}
		body.en-US #input .size {
			width: 15%;
			}

#input dt {
	padding-bottom: 8px;
	font-size: 14px;
	color: #777;
	}

#input dd {
	position: relative;
	white-space: nowrap;
	}

	#input .port dd::after {
		content: "";
		position: absolute;
		top: 4px;
		right: 0;
		width: 24px;
		height: 24px;
		background: url(/images/arrow_down.svg) no-repeat 0 0;
		background-size: 24px;
		pointer-events: none;
		}

#input select {
	padding: 0 24px;
	height: 24px;
	background: url(/images/co2/icon_location.svg) no-repeat -2px center;
	background-size: 24px;
	border: none;
	border-bottom: 1px solid rgba(0,0,0,.1);
	border-radius: 0;
	font-size: inherit;
	line-height: 24px;
	font-weight: 400;
	}
	#input select:invalid { color: rgba(0,0,0,.4) }
	#input select option { color: #000 }
	#input select option:first-child, #input select option:disabled { color: rgba(0,0,0,.4) }

body.en-US #input select {
	font-weight: 300;
	}

#input input[type="radio"] {
	display: inline-block;
	width: 24px;
	height: 24px;
	background: url(/images/co2/check.svg) no-repeat center center rgba(0,0,0,.1);
	background-size: 16px;
	border-radius: 12px;
	box-sizing: border-box;
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	appearance: none;
	outline: none;
	}

#input input[type="radio"]:checked {
	background-color: #e60012;
	}

#input input[type="radio"]:checked::before {
	display: none;
	}

#input span {
	display: inline-block;
	margin: 0 12px 0 4px;
	}

#input input[type="radio"]:checked + span {
	color: #e60012;
	}

#result {
	display: table;
	position: relative;
	width: calc(100% - 48px);
	margin: 0 24px 24px 24px;
	background-color: rgba(134, 174, 216, .07);
	border: 1px solid rgba(0,0,0,.1);
	border-top: none;
	border-radius: 0 0 12px 12px;
	}

#result::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	border: 1px solid rgba(255,255,255,.7);
	border-radius: 0 0 12px 12px;
	pointer-events: none;
	}

#result dl {
	display: table-cell;
	flex-direction: column;
	justify-content: center;
	padding: 24px;
	}

#result dt {
	margin-top: 8px;
	font-size: 14px;
	line-height: 16px;
	color: #999;
	}

	#result dt:first-of-type {
		margin-top: 0;
		}

#result dd {
	font-size: 92%;
	}

#result dd span {
	display: inline-block;
	white-space: nowrap;
	}

#result figure {
	display: table-cell;
	position: relative;
	padding: 24px;
	white-space: nowrap;
	vertical-align: middle;
	text-align: center;
	}

	#result figure::after {
		content: "";
		position: absolute;
		left: 0;
		bottom: 0;
		height: 9px;
		border-left: 1px dotted rgba(0,0,0,.4);
		}

#result var {
	display: inline-block;
	margin: 4px 0;
	font-size: 44px;
	line-height: 56px;
	font-weight: bold;
	color: #000;
	}

	#calculator.invalid #result var {
		opacity: .3;
		}

#result-distance::after,
#result-emission::after {
	content: "km";
	display: inline-block;
	margin-top: 24px;
	font-size: 20px;
	line-height: 20px;
	}

#result-emission::after {
	content: "kg";
	}

#result figcaption {
	color: #86aed8;
	}

#sidebar {
	display: none;
	}

#documents {
	display: flex;
	column-gap: 48px;
	width: 70%;
	min-width: 720px;
	padding: 0 24px;
	box-sizing: border-box;
	margin: auto;
	font-size: 82%;
	}

#documents dt {
	display: block;
	position: relative;
	margin-top: 16px;
	font-size: 120%;
	font-weight: bold;
	}

#documents dt small {
	display: block;
	margin-top: 8px;
	font-size: 13px;
	font-weight: 300;
	}

#reference {
	flex-basis: 58%;
	}

#reference dd {
	position: relative;
	margin-top: 8px;
	padding-left: 3em;
	line-height: 20px;
	}

	body.en-US #reference dd {
	padding-left: 0;
		}

#reference dd i {
	position: absolute;
	top: 0;
	left: 0;
	}

	body.en-US #reference dd i {
		display: block;
		position: static;
		margin-bottom: 4px;
		}

#reference em {
	display: block;
	margin-top: 8px;
	padding-left: 1em;
	text-indent: -1em;
	line-height: 20px;
	}

	body.en-US #reference em {
		padding-left: 2ex;
		text-indent: -2ex;
		}

#disclaimer {
	flex-basis: 42%;
	}

#disclaimer dd {
	position: relative;
	margin-top: 8px;
	padding-left: 1.5em;
	line-height: 20px;
	}

#disclaimer dd::before {
	content: "";
	position: absolute;
	top: 6px;
	left: 4px;
	width: 8px;
	height: 8px;
	background-color: #000;
	border-radius: 4px;
	}





/* ////////// under 1280 ////////// */

@media screen and (max-width: 1280px) {

body.en-US #lane dd a i {
	font-size: 10px;
	}

#input {
	font-size: 90%;
	}
	body.en-US #input {
		font-size: 84%;
		}

#input div {
	padding: 24px 16px;
	}

#input .port {
	width: 27%;
	}

#input .type {
	width: 22%;
	}

#input .size {
	width: 24%;
	}

}





/* ////////// under 767 ////////// */

@media screen and (max-width: 767px) {

#contents .entry-contents {
	padding: 32px 12px;
	}

#contents .entry-contents h1 {
	width: auto;
	}

#calculator {
	width: auto;
	min-width: auto;
	margin: 56px auto 8px auto;
	border-radius: 16px;
	}

#lane {
	display: block;
	position: relative;
	width: auto;
	height: auto;
	margin: 0 12px;
	padding: 12px 0;
	background: none;
	}

#lane::before {
	content: "";
	position: absolute;
	top: -49px;
	left: 0;
	width: 100%;
	height: 56px;
	background: url(/images/co2/vessel.png) no-repeat center bottom;
	background-size: auto 56px;
	pointer-events: none;
	}

#lane::after {
	content: "1";
	position: absolute;
	top: 7px;
	left: -5px;
	width: 20px;
	height: 20px;
	border-radius: 10px;
	background-color: #000;
	font-size: 10px;
	line-height: 20px;
	color: #fff;
	pointer-events: none;
	}

#lane dt {
	position: absolute;
	top: 12px;
	bottom: 12px;
	left: 0;
	width: 72px;
	background-color: rgba(0,0,0,.06);
	border-radius: 4px;
	line-height: 40px;
	}

#lane dt::after {
	display: none;
	}

#lane dd {
	margin-left: 84px;
	}

#lane dd::before {
	content: "";
	position: absolute;
	top: 19px;
	left: 0;
	width: 0;
	height: 5px;
	border-left: 1px solid  rgba(0,0,0,.4);
	}

#lane dd::after {
	left: -12px;
	top: 21px;
	width: 11px;
	height: 0;
	border-bottom: 1px dotted rgba(0,0,0,.4);
	}

#lane dd a {
	justify-content: start;
	flex-direction: row;
	height: auto;
	padding: 8px;
	box-sizing: border-box;
	border-radius: 4px;
	}

#lane dd a i {
	flex-direction: row;
	align-items: center;
	margin: 0 0 0 1em;
	}

#lane dd a i::before,
#lane dd a i::after {
	display: none;
	}

#lane dd a i span.to {
	padding-left: .6ex;
	}

#lane dd a i span.to::before {
	content: "-";
	margin-right: .6ex;
	}

#input {
	display: block;
	position: relative;
	margin: 0 12px;
	width: auto;
	border-radius: 8px 8px 0 0;
	}

#input::after {
	content: "2";
	position: absolute;
	top: -5px;
	left: -5px;
	width: 20px;
	height: 20px;
	border-radius: 10px;
	background-color: #000;
	font-size: 10px;
	line-height: 20px;
	text-align: center;
	color: #fff;
	pointer-events: none;
	}

#input div {
	display: flex;
	align-items: center;
	padding: 12px 16px 12px 0;
	width: 100% !important;
	border-bottom: 1px solid #ddd;
	box-sizing: border-box;
	}

#input div::after {
	display: none;
	}

#input dt {
	width: 88px;
	padding: 0 16px 0 4px;
	font-size: 80%;
	line-height: 16px;
	text-align: center;
	box-sizing: border-box;
	}

#input dd {
	width: calc(100% - 64px);
	}

#input select {
	border: none;
	}

#result {
	display: flex;
	flex-wrap: wrap;
	width: auto;
	margin: 0 12px 12px 12px;
	border-radius: 0 0 8px 8px;
	}

#result::after {
	border-radius: 0 0 8px 8px;
	}

#result figure {
	flex-grow: 1;
	padding: 4px 12px 12px 12px !important;
	}

	#result figure#total-distance::after {
		display: none;
		}

#total-distance {
	order: 1;
	}

#total-emission {
	order: 2;
	}

#result-detail {
	order: 3;
	width: 100%;
	padding: 0 !important;
	}

#result dt {
	margin: 0;
	padding: 12px 12px 0 12px;
	border-top: 1px solid #ddd;
	}

#result dd {
	padding: 2vw 12px 12px 12px;
	}

#result var {
	margin: 0;
	font-size: 9vw;
	}

#documents {
	flex-direction: column;
	width: auto;
	min-width: auto;
	padding: 0 12px;
	}

}





/* ////////// under 360 ////////// */

@media screen and (max-width: 480px) {

#lane dd a {
	font-size: 4.5vw;
	}

#lane dd a i span {
	font-size: 2.8vw;
	}

}