@charset "utf-8";

/* ============ サイト共通パーツ制御 ============ */
/* 表示領域固定 */
html,body {
	width: 100%;
	height: 100%;
	overflow: hidden;
	opacity: 1;
}

/* ヘッダー・フッター制御 */
#Contents {
	padding: 0!important;
}

#HeaderArea1,
#HeaderArea2,
#TopicPath,
#Contents > div:nth-child(2):has(.hht-breadcrumb-list) {
	position: relative;
	top: -300px;
	transition-property: top;
	transition-duration: 180ms;
	transition-timing-function: linear;
}
#TopicPath,
#Contents > div:nth-child(2):has(.hht-breadcrumb-list) {
	z-index: 2;
	background: #ffffff;
}
[data-status="start"] #HeaderArea1,
[data-status="start"] #HeaderArea2,
[data-status="start"] #TopicPath,
[data-status="start"] #Contents > div:nth-child(2):has(.hht-breadcrumb-list) {
	top: 0px;
}

#FatMenuLevel1,.FatMenu {
	display: none;
}
#FooterArea {
	position: fixed;
	left: 0px;
	bottom: -300px;
	z-index: 2;
	width: 100%;
	transition-property: bottom;
	transition-duration: 180ms;
	transition-timing-function: linear;
}
[data-status="end"] #FooterArea {
	bottom: 0px;
}

/* 公式ボタン非表示 */
body > .hht-nc21-2 {
	display: none;
}
/* ============ /サイト共通パーツ制御 ============ */



/* ============ メインコンテンツ =========== */
/* ======== 表示領域制御 ======== */
#micro {
	width: auto;
}

#micro main {
	position: fixed;
	left: 0;
	top: 0;
	z-index: 0;
	display: block;
	width: 100%;
	height: 100%;
	background: #333333;
}
/* ======== /表示領域制御 ======== */


/* ======== 各シーン制御（背景画像パスはHTMLにて設定） ======== */
/* 表示領域 */
#micro main > section {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 0;
	opacity: 0;
	display: block;
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	transition-property: opacity;
	transition-duration: 500ms;
	transition-timing-function: linear;
}
#micro main > section.fitBG {
	background-size: contain;
	background-position: center top;
}

/* 表示制御 */
[data-page="1"] #micro main > section:nth-child(1),
[data-page="2"] #micro main > section:nth-child(2),
[data-page="3"] #micro main > section:nth-child(3),
[data-page="4"] #micro main > section:nth-child(4),
[data-page="5"] #micro main > section:nth-child(5)
{
	z-index: 1;
	opacity: 1;
}
/* ======== /各シーン制御（背景画像パスはHTMLにて設定） ======== */


/* ======== メインコンテンツレイアウト ======== */
/* ==== 倍率表示部分 ==== */
#micro main > section > p {
	position: absolute;
	right: calc( 50% - 1275px / 2 );
	top: 30px;
	display: flex;
	justify-content: center;
	align-items: center;
	min-width: 6em;
	height: 2em;
	padding: 0 10px;
	line-height: 1;
	font-size: 20px;
	background-color: rgba(255,255,255,0.75);
}
@media all and ( max-width: 1305px ) {
#micro main > section > p {
	right: 15px;
}
}
@media all and ( max-height: 550px ) {
#micro main > section > p {
	top: calc( 100vh / 550 * 30 );
	font-size: calc( 100vh / 550 * 20 );
}
}
@media all and ( max-width: 767px ) {
#micro main > section > p {
	top: 10px;
	font-size: 16px;
}
}
/* ==== 説明部分 ==== */
/* 領域定義 */
#micro main > section > div {
	position: absolute;
	left: calc( 50% - 1275px / 2 );
	bottom: 15px;
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: flex-start;
}
@media all and ( max-width: 1305px ) {
#micro main > section > div {
	left: 15px;
}
}

/* テキスト領域 */
#micro main > section > div > div {
	width: 600px;
	margin: 0;
	padding: 15px 20px;
	font-size: 16px;
	background-color: rgba(0,0,0,0.65);
	box-sizing: border-box;
	border-radius: 10px;
}

#micro main > section > div > div * {
	color: #ffffff;
	line-height: 1.2;
}

#micro main > section > div > div > * {
	width: 100%;
}

#micro main > section > div > div > h1,
#micro main > section > div > div > p > em {
	display: block;
	padding: 0 0 10px;
	font-size: 1.44em;
	font-weight: bold;
	font-style: normal;
}

#micro main > section > div > div > p > strong {
	display: block;
	padding: 0 0 10px;
	font-size: 1.6em;
	font-weight: bold;
	font-style: normal;
}

/* テキスト内画像 */
#micro main > section > div > div > figure {
	display: flex;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: flex-start;
	width: 100%;
}
#micro main > section > div > div > figure > img {
	width: 200px;
	height: auto!important;
	margin: 0 20px 0 0;
}

/* 縮尺スケール */
#micro main > section > div > img {
	width: auto!important;
	height: 5.25vh!important;
	margin: 40px 0 0;
}
@media all and ( min-aspect-ratio: 1280 / 980 ) {
#micro main > section > div > img {
	height: calc( 5.25vw * 980 / 1280 )!important;
}
}

/* レスポンシブ対応（テキストと縮尺スケールの位置関係） */
@media all and ( max-width: 767px ) {
#micro main > section > div {
	left: 0;
	bottom: 40px;
	flex-direction: column-reverse;
	width: 100%;
}
#micro main > section > div > div {
	width: 100%;
	margin: 10px 0 0;
	padding: 10px 15px;
	font-size: 14px;
	border-radius: 0px;
}
#micro main > section > div > div > figure > img {
	width: 100px;
	height: auto!important;
	margin: 0 10px 0 0;
}
#micro main > section > div > div > h1,
#micro main > section > div > div > p > em {
	padding: 0 0 5px;
}
#micro main > section > div > div > p > strong {
	padding: 0 0 5px;
}

#micro main > section > div > img {
	margin: 0px 0 0 15px;
}
}
/* ============ /メインコンテンツレイアウト =========== */



/* ============ シーン制御系 =========== */
/* ======== 配置設定 ======== */
#btnNext,#btnPrev,#gauge {
	position: absolute;
	right: calc( 50% - 1275px / 2 );
	z-index: 2;
	color: #ffffff;
}
#btnBack {
	position: absolute;
	left: calc( 50% - 1275px / 2 );
	z-index: 2;
	color: #ffffff!important;
}
@media all and ( max-width: 1305px ) {
#btnNext,#btnPrev,#gauge {
	right: 15px;
}
#btnBack {
	left: 15px;
}
}


/* ======== ボタン設定 ======== */
#btnNext,#btnPrev {
	width: 100px;
	height: 100px;
	background: rgba(0,0,0,0.75);
	border-radius: 10px;
	cursor: pointer;
	overflow: hidden;
}
#btnNext {
	bottom: 20px;
}
#btnPrev {
	top: 90px;
}
@media all and ( max-height: 550px ) {
#btnNext,#btnPrev {
	width: calc( 100vh / 550 * 100 );
	height: calc( 100vh / 550 * 100 );
}
#btnNext {
	bottom: calc( 100vh / 550 * 20 );
}
#btnPrev {
	top:  calc( 100vh / 550 * 90 );
}
}
[data-status="end"] #btnNext,[data-status="start"] #btnPrev {
	z-index: 0;
	opacity: 0;
	cursor: default;
}
#btnNext:hover,#btnPrev:hover {
	background: rgba(50,50,50,0.75);
}
#btnNext::before,#btnPrev::before {
	position: absolute;
	left: 0;
	display: block;
	width: 100%;
	text-align: center;
	font-size: 16px;
	line-height: 2;
	font-weight: bold;
}
@media all and ( max-height: 550px ) {
#btnNext::before,#btnPrev::before {
	font-size: calc( 100vh / 550 * 16 );
}
}
#btnNext::before {
	top: 0;
	content: "Next";
}
#btnPrev::before {
	bottom: 0;
	content: "Prev";
}

[lang="ja"]    #btnNext::before { content: "つぎ へ"; }
[lang="en"]    #btnNext::before { content: "Next"; }
[lang="zh-cn"] #btnNext::before { content: "下一个"; }
[lang="zh-tw"] #btnNext::before { content: "下一個"; }
[lang="ko"]    #btnNext::before { content: "다음"; }
[lang="ru"]    #btnNext::before { content: "Сле."; }

[lang="ja"]    #btnPrev::before { content: "まえ へ"; }
[lang="en"]    #btnPrev::before { content: "Prev"; }
[lang="zh-cn"] #btnPrev::before { content: "上一个"; }
[lang="zh-tw"] #btnPrev::before { content: "上一個"; }
[lang="ko"]      #btnPrev::before { content: "이전"; }
[lang="ru"]      #btnPrev::before { content: "Пред."; }

#btnNext > div,#btnPrev > div {
	position: absolute;
	left: 15%;
	width: 70%;
	height: 10%;
	opacity: 0;
	animation-name: btnArrowBlink;
	animation-duration: 1500ms;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}
@keyframes btnArrowBlink {
	0% { opacity: 0.8; }
	100% { opacity: 0; }
}
#btnNext > div:nth-of-type(1) {
	bottom: 45%;
}
#btnNext > div:nth-of-type(2) {
	bottom: 30%;
	animation-delay: 150ms;
}
#btnNext > div:nth-of-type(3) {
	bottom: 15%;
	animation-delay: 300ms;
}
#btnPrev > div:nth-of-type(1) {
	top: 45%;
}
#btnPrev > div:nth-of-type(2) {
	top: 30%;
	animation-delay: 150ms;
}
#btnPrev > div:nth-of-type(3) {
	top: 15%;
	animation-delay: 300ms;
}
#btnNext > div::before,#btnPrev > div::before,
#btnNext > div::after,#btnPrev > div::after {
	content: "";
	position: absolute;
	top: 0;
	display: block;
	width: 50%;
	height: 100%;
	background: #ffffff;
	overflow: hidden;
}
#btnNext > div::before,#btnPrev > div::before {
	left: 0;
	transform-origin: right top;
}
#btnNext > div::after,#btnPrev > div::after {
	right: 0;
	transform-origin: left top;
}
#btnNext > div::before,#btnPrev > div::after {
	transform: skewY(24deg);
}
#btnNext > div::after,#btnPrev > div::before {
	transform: skewY(-24deg);
}

#btnBack {
	top: 30px;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 2.6em;
	padding: 0 15px 0 10px;
	background: rgba(0,0,0,0.75);
	border-radius: 10px;
	cursor: pointer;
	overflow: hidden;
	font-size: 20px;
	text-decoration: none!important;
}
@media all and ( max-height: 550px ) {
#btnBack {
	top:  calc( 100vh / 550 * 30 );
}
}
#btnBack:hover {
	background: rgba(50,50,50,0.75);
}
#btnBack::after {
	display: block;
	line-height: 1;
	font-weight: bold;
}
@media all and ( max-height: 550px ) {
#btnBack {
	font-size: calc( 100vh / 550 * 20 );
}
}
#btnBack::after {
	margin: 0 0 0 10px;
	content: "Back";
}
[lang="ja"] #btnBack::after {
	padding: 0.2em 0 0;
}

[lang="ja"]    #btnBack::after { content: "トップ へ"; }
[lang="en"]    #btnBack::after { content: "TOP PAGE"; }
[lang="zh-cn"] #btnBack::after { content: "首页"; }
[lang="zh-tw"] #btnBack::after { content: "首頁"; }
[lang="ko"]    #btnBack::after { content: "상단"; }
[lang="ru"]    #btnBack::after { content: "Вершина"; }

#btnBack > span {
	position: relative;
	display: block;
	width: 8px;
	height: 60%;
	margin: 0 2px 0 0;
	opacity: 0;
	animation-name: btnArrowBlinkBack;
	animation-duration: 1500ms;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}
@keyframes btnArrowBlinkBack {
	0% { opacity: 0.8; }
	100% { opacity: 0; }
}
#btnBack > span:nth-of-type(1) {
	animation-delay: 300ms;
}
#btnBack > span:nth-of-type(2) {
	animation-delay: 150ms;
}
#btnBack > span:nth-of-type(3) {
}
#btnBack > span::before,#btnBack > span::after {
	content: "";
	position: absolute;
	left: 0;
	display: block;
	width: 100%;
	height: 50%;
	background: #ffffff;
	overflow: hidden;
}
#btnBack > span::before {
	top: 1px;
	transform-origin: left bottom;
}
#btnBack > span:after {
	bottom: 1px;
	transform-origin: left top;
}
#btnBack > span::before {
	transform: skewX(-30deg);
}
#btnBack > span:after {
	transform: skewX(30deg);
}

/* ボタンレスポンシブ */
@media all and ( max-width: 767px ) {
#btnNext,#btnPrev {
	right: calc( 50% - 40px );
	width: 80px!important;
	height: 80px!important;
	background: rgba(0,0,0,0.75);
}
#btnNext {
	bottom: 40px!important;
}
#btnPrev {
	top: 70px!important;
}
#btnNext,#btnPrev {
	opacity: 0;
	z-index: 0;
}
[data-status="start"] #btnNext,[data-status="end"] #btnPrev {
	opacity: 1;
	z-index: 2;
}
#btnNext:hover,#btnPrev:hover {
	background: rgba(0,0,0,0.75);
}
#btnNext::before,#btnPrev::before {
	font-size: 16px!important;
}

#btnBack {
	top: 10px;
	font-size: 16px;
}
}


/* ======== ゲージ設定 ======== */
/* ゲージ本体 */
#gauge {
	top: calc( 50% - 85px );
	height: 240px;
}
@media all and ( max-height: 550px ) {
#gauge {
	top: calc( 50% - 100vh / 550 * 85 );
	height: calc( 100vh / 550 * 240 );
}
}
#gauge > ol {
	position: absolute;
	right: 0px;
	top: 0px;
	width: 60px;
	height: 100%;
	margin: 0;
	padding: 0;
	background: rgba(0,0,0,0.5);
	border-radius: 10px;
}
#gauge > ol > li {
	position: relative;
	list-style: none;
	cursor: pointer;
}
#gauge[data-max="3"] > ol > li {
	height: 33.33%;
}
#gauge[data-max="4"] > ol > li {
	height: 25%;
}
#gauge[data-max="5"] > ol > li {
	height: 20%;
}
#gauge > ol > li::before,
#gauge > ol > li::after {
	content: "";
	position: absolute;
	display: block;
	background: rgba(255,255,255,0.8);
	overflow: hidden;
}
#gauge > ol > li::before {
	left: calc( 50% - 2px );
	top: 0%;
	width: 4px;
	height: 100%;
}
#gauge > ol > li:first-child::before {
	top: 50%;
	height: 50%;
}
#gauge > ol > li:last-child::before {
	height: 50%;
}
#gauge > ol > li::after {
	left: 25%;
	top: calc( 50% - 1px );
	width: 50%;
	height: 2px;
}
#gauge > ol > li:first-child::after,
#gauge > ol > li:last-child::after {
	left: 10px;
	width: calc( 100% - 20px );
}
#gauge > ol > li:hover::after {
	background: rgba(255,0,0,0.8);
}

/* ゲージ現在位置 */
#guageCurrent {
	position: absolute;
	right: 0;
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 60px;
	cursor: pointer;
	transition-property: top;
	transition-timing-function: linear;
	transition-duration: 180ms;
	transition-delay: 0ms;
}
[data-max="3"] #guageCurrent {
	height: 33.33%;
}
[data-max="4"] #guageCurrent {
	height: 25%;
}
[data-max="5"] #guageCurrent {
	height: 20%;
}
#guageCurrent::before,#guageCurrent::after {
	content: "";
	display: block;
	width: 0;
	height: 0;
	overflow: hidden;
	border-style: solid;
	border-color: transparent;
	border-width: 0 22px;
}
#guageCurrent::before {
	border-bottom-color: #ff0000;
	border-bottom-width: 6px;
}
#guageCurrent::after {
	border-top-color: #ff0000;
	border-top-width: 6px;
}
[data-page="1"] [data-max="3"] #guageCurrent {
	top: 0%;
}
[data-page="2"] [data-max="3"] #guageCurrent {
	top: 33.33%;
}
[data-page="3"] [data-max="3"] #guageCurrent {
	top: 66.67%;
}
[data-page="1"] [data-max="4"] #guageCurrent {
	top: 0%;
}
[data-page="2"] [data-max="4"] #guageCurrent {
	top: 25%;
}
[data-page="3"] [data-max="4"] #guageCurrent {
	top: 50%;
}
[data-page="4"] [data-max="4"] #guageCurrent {
	top: 75%;
}
[data-page="1"] [data-max="5"] #guageCurrent {
	top: 0%;
}
[data-page="2"] [data-max="5"] #guageCurrent {
	top: 20%;
}
[data-page="3"] [data-max="5"] #guageCurrent {
	top: 40%;
}
[data-page="4"] [data-max="5"] #guageCurrent {
	top: 60%;
}
[data-page="5"] [data-max="5"] #guageCurrent {
	top: 80%;
}

/* 虫眼鏡 */
#btnGuageNext,#btnGuagePrev {
	position: absolute;
	display: block;
	width: 60px;
	height: 60px;
	right: 65px;
	background-color: rgba(0,0,0,0.5);
	background-repeat: no-repeat;
	background-position: 65% 62%;
	background-size: 65%;
	border-radius: 50%;
	cursor: pointer;
}
#btnGuageNext:hover,#btnGuagePrev:hover {
	background-color: rgba(50,50,50,0.5);
}
#btnGuageNext {
	bottom: 0;
	background-image: url(/image/jp/science-edu/micro/content/icon-zoom-out.png);
}
.reverse #btnGuageNext {
	background-image: url(/image/jp/science-edu/micro/content/icon-zoom-in.png);
}
#btnGuagePrev {
	top: 0;
	background-image: url(/image/jp/science-edu/micro/content/icon-zoom-in.png);
}
.reverse #btnGuagePrev {
	background-image: url(/image/jp/science-edu/micro/content/icon-zoom-out.png);
}

@media all and ( max-height: 550px ) {
#btnGuageNext,#btnGuagePrev {
	width: calc( 100vh / 550 * 60 );
	height: calc( 100vh / 550 * 60 );
}
}

/* ゲージレスポンシブ */
@media all and ( max-width: 767px ) {
/* ゲージ本体 */
#gauge {
	right: 0;
	top: auto;
	bottom: 0;
	width: 100%;
	height: 40px;
	background-color: rgba(0,0,0,0.65);
}
#gauge > ol {
	right: 20px;
	display: flex;
	justify-content: flex-start;
	width: calc( 100% - 40px );
	height: 30px;
	background: transparent;
}
#gauge > ol > li {
	height: 30px;
}
#gauge[data-max="3"] > ol > li {
	width: 33.33%;
	height: 30px;
}
#gauge[data-max="4"] > ol > li {
	width: 25%;
	height: 30px;
}
#gauge[data-max="5"] > ol > li {
	width: 20%;
	height: 30px;
}
#gauge > ol > li::before,
#gauge > ol > li::after {
	background: rgba(255,255,255,0.8);
}
#gauge > ol > li::before {
	left: 0%;
	top: calc( 50% - 2px );
	width: 100%;
	height: 4px;
}
#gauge > ol > li:first-child::before {
	left: 50%;
	top: calc( 50% - 2px );
	width: 50%;
	height: 4px;
}
#gauge > ol > li:last-child::before {
	width: 50%;
	height: 4px;
}
#gauge > ol > li::after {
	left: calc( 50% - 1px );
	top: 10%;
	width: 2px;
	height: 80%;
}
#gauge > ol > li:first-child::after,
#gauge > ol > li:last-child::after {
	left: calc( 50% - 1px );
	top: 0px;
	width: 2px;
	height: 100%;
}
#gauge > ol > li:hover::after {
	background: rgba(255,255,255,0.8);
}

/* ゲージ現在位置 */
#guageCurrent {
	right: auto!important;
	top: 0px!important;
	flex-direction: row;
	height: 30px!important;
	transition-property: left;
}
[data-max="3"] #guageCurrent {
	width: calc( ( 100% - 40px ) / 3 );
}
[data-max="4"] #guageCurrent {
	width: calc( ( 100% - 40px ) / 4 );
}
[data-max="5"] #guageCurrent {
	width: calc( ( 100% - 40px ) / 5 );
}
#guageCurrent::before,#guageCurrent::after {
	border-width: 15px 0;
}
#guageCurrent::before {
	border-bottom-color: transparent;
	border-bottom-width: 15px;
	border-right-color: #ff0000;
	border-right-width: 6px;
}
#guageCurrent::after {
	border-top-color: transparent;
	border-top-width: 15px;
	border-left-color: #ff0000;
	border-left-width: 6px;
}
[data-page="1"] [data-max="3"] #guageCurrent {
	left: 20px;
}
[data-page="2"] [data-max="3"] #guageCurrent {
	left: calc( 20px + ( 100% - 40px ) / 3 );
}
[data-page="3"] [data-max="3"] #guageCurrent {
	left: calc( 20px + ( 100% - 40px ) / 3 * 2 );
}
[data-page="1"] [data-max="4"] #guageCurrent {
	left: 20px;
}
[data-page="2"] [data-max="4"] #guageCurrent {
	left: calc( 20px + ( 100% - 40px ) / 4 );
}
[data-page="3"] [data-max="4"] #guageCurrent {
	left: calc( 20px + ( 100% - 40px ) / 4 * 2 );
}
[data-page="4"] [data-max="4"] #guageCurrent {
	left: calc( 20px + ( 100% - 40px ) / 4 * 3 );
}
[data-page="1"] [data-max="5"] #guageCurrent {
	left: 20px;
}
[data-page="2"] [data-max="5"] #guageCurrent {
	left: calc( 20px + ( 100% - 40px ) / 5 );
}
[data-page="3"] [data-max="5"] #guageCurrent {
	left: calc( 20px + ( 100% - 40px ) / 5 * 2 );
}
[data-page="4"] [data-max="5"] #guageCurrent {
	left: calc( 20px + ( 100% - 40px ) / 5 * 3 );
}
[data-page="5"] [data-max="5"] #guageCurrent {
	left: calc( 20px + ( 100% - 40px ) / 5 * 4 );
}

/* 虫眼鏡 */
#btnGuageNext,#btnGuagePrev {
	z-index: 2;
	width: 50px;
	height: 40px;
	background-color: transparent;
	background-size: auto 30px;
	background-position: center top;
	border-radius: 0;
}
#btnGuageNext:hover,#btnGuagePrev:hover {
	background-color: transparent;
}
#btnGuageNext {
	right: 0;
}
#btnGuagePrev {
	right: auto;
	left: 0;
	top: auto;
}
}
/* ============ /シーン制御系 =========== */
