﻿@charset "UTF-8";

/*
 * 基準価額チャート全体
 */
 #qfcht_chartWrapper *{
	margin: 0;
	padding: 0;
}

#qfcht_chartWrapper {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size: 12px;
	box-sizing: border-box;
	width: 100%;
	min-height: 550px;
	margin: 0 auto;
	overflow: hidden;
	display: flex;
	display: -moz-flex;
	display: -o-flex;
	display: -webkit-flex;
	display: -ms-flex;
	justify-content: flex-start;
	-moz-justify-content: flex-start;
	-o-justify-content: flex-start;
	-webkit-justify-content: flex-start;
	-ms-justify-content: flex-start;
}

#qfcht_chartWrapper.row {
	flex-direction: row;
	-moz-flex-direction: row;
	-o-flex-direction: row;
	-webkit-flex-direction: row;
	-ms-flex-direction: row;
}
#qfcht_chartWrapper.row.reverse {
	flex-direction: row-reverse;
	-moz-flex-direction: row-reverse;
	-o-flex-direction: row-reverse;
	-webkit-flex-direction: row-reverse;
	-ms-flex-direction: row-reverse;

}

#qfcht_chartWrapper.column {
	flex-direction: column;
	-moz-flex-direction: column;
	-o-flex-direction: column;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
}
#qfcht_chartWrapper.column.reverse {
	flex-direction: column-reverse;
	-moz-flex-direction: column-reverse;
	-o-flex-direction: column-reverse;
	-webkit-flex-direction: column-reverse;
	-ms-flex-direction: column-reverse;
}


/*
 * 期間指定
 */
#qfcht_chartWrapper .qfcht_term_area {
	margin: 0 auto 0 auto;
	white-space: nowrap;
	width: 100%;
}
#qfcht_chartWrapper .qfcht_zoom_controls {
	display: flex;
	display: -moz-flex;
	display: -o-flex;
	display: -webkit-flex;
	display: -ms-flex;
	justify-content: space-around;
	height: 36px;
    list-style: none;
    text-align: center;
    box-sizing: border-box;
    padding: 0;
    clear: both;
	margin: 0;
}

#qfcht_chartWrapper .qfcht_zoom_controls.left {
	margin-right: 15px;
}
#qfcht_chartWrapper .qfcht_zoom_controls.right {
	margin-left: 15px;
}

#qfcht_chartWrapper .qfcht_zoom_controls li {
    text-align: center;
	font-size: 1.0rem;
    width: 100%;
	background-color: rgba(247, 247, 247, 1.0);
	margin: auto;
	cursor: pointer;
}
#qfcht_chartWrapper .qfcht_zoom_controls li a {
	box-sizing: border-box;
	border: 1px solid #BBB;
	padding: 5px 0 5px 0;
}

#qfcht_chartWrapper .qfcht_zoom_controls li:nth-child(n+2) {
	margin-left: 10px;
}

#qfcht_chartWrapper .qfcht_zoom_controls li.qfcht_active,
#qfcht_chartWrapper .qfcht_zoom_controls li.qfcht_active:hover {
	background-color: #bbb;
	cursor: default;
}

#qfcht_chartWrapper .qfcht_zoom_controls li.vertical {
	margin: 0;
	padding: 0;
	display: inline;
}

#qfcht_chartWrapper .qfcht_zoom_controls li a {
	color: #777777;
	text-decoration: none;
	display: block;
	width: 100%;
	height: 100%;
	cursor: pointer;
	position: relative;
 }

#qfcht_chartWrapper .qfcht_zoom_controls li a:link,
#qfcht_chartWrapper .qfcht_zoom_controls li a:visited{
	color: #777;
}

#qfcht_chartWrapper .qfcht_zoom_controls li a.qfcht_active{
	pointer-events: none;
	cursor: default;
	z-index: 1;
	color: #fff;
}

#qfcht_chartWrapper .qfcht_zoom_controls_label {
	margin: 20px 0;
	text-align: right;
}
#qfcht_chartWrapper .qfcht_zoom_controls_label li {
	display: none;
	font-size: 1.0rem;
}
#qfcht_chartWrapper .qfcht_zoom_controls_label li.qfcht_active {
	display: block;
}


/**
 * 期間範囲指定
 */
#qfcht_chartWrapper .qfcht_term_area .qfcht_range_date_base {
	list-style-type: none;
	display: flex;
	display: -moz-flex;
	display: -o-flex;
	display: -webkit-flex;
	display: -ms-flex;
	border: 1px solid #ccc;
	margin: 15px auto 0 0;
}

#qfcht_chartWrapper .qfcht_term_area .qfcht_range_date_controls {
	list-style-type: none;
	text-align: left;
	width :50%;
	display: flex;
	display: -moz-flex;
	display: -o-flex;
	display: -webkit-flex;
	display: -ms-flex;
	flex-flow: column nowrap;
	justify-content: space-around;
	box-sizing: border-box;
	vertical-align:middle;
	padding: 10px 0 10px 0;
}
#qfcht_chartWrapper .qfcht_term_area .qfcht_range_date_controls.left {
	margin-left: 0;
	margin-right: auto;
	text-align: left;
	display: table;
	width: 100%;
}
#qfcht_chartWrapper .qfcht_term_area .qfcht_range_date_controls.right {
	margin-left: auto;
	margin-right: 0;
	text-align: left;
	display: table;
	width: 100%;
}
#qfcht_chartWrapper .qfcht_term_area .qfcht_range_date_controls.left li {
	margin-left: 0;
	margin-right: 15px;
	margin-top: 20px;
}
#qfcht_chartWrapper .qfcht_term_area .qfcht_range_date_controls.right li {
	margin-left: 15px;
	margin-right: 0;
	margin-top: 20px;
}
#qfcht_chartWrapper .qfcht_term_area .qfcht_range_date_controls.left label {
	margin-left: 0;
	margin-right: 15px;
	display: table-row;
}
#qfcht_chartWrapper .qfcht_term_area .qfcht_range_date_controls.right label {
	margin-left: 15px;
	margin-right: 0;
	display: table-row;
}
#qfcht_chartWrapper .qfcht_term_area .qfcht_range_date_controls.left select,
#qfcht_chartWrapper .qfcht_term_area .qfcht_range_date_controls.right select {
	min-width: 60px;
}
#qfcht_chartWrapper .qfcht_term_area .qfcht_range_date_controls li {
	margin-left: 20px;
}

#qfcht_chartWrapper .qfcht_term_area .qfcht_range_date_controls div{
	margin-top: 5px;
	font-size: 1.25rem;
}

#qfcht_chartWrapper .qfcht_term_area .qfcht_range_date_controls input {
	display: none;
}

#qfcht_chartWrapper .qfcht_term_area .qfcht_range_date_controls .qfcht_range_label {
	position: relative;
	padding: 0 25px 0 25px;
}
#qfcht_chartWrapper .qfcht_term_area .qfcht_range_date_controls .qfcht_range_label:hover::after {
	border-color: #359;
}

#qfcht_chartWrapper .qfcht_term_area .qfcht_range_date_controls .qfcht_range_label::after,
#qfcht_chartWrapper .qfcht_term_area .qfcht_range_date_controls .qfcht_range_label::before{
	position: absolute;
	content: "";
	display: block;
	top: 50%;
}
#qfcht_chartWrapper .qfcht_term_area .qfcht_range_date_controls .qfcht_range_label::after {
	left: 0;
	margin-top: -10px;
	width: 16px;
	height: 16px;
	border: 2px solid #ccc;
	border-radius: 50%;
}
#qfcht_chartWrapper .qfcht_term_area .qfcht_range_date_controls .qfcht_range_label::before {
	left: 5px;
	margin-top: -5px;
	width: 10px;
	height: 10px;
	background: #00AA00;
	border-radius: 50%;
	opacity: 0;
}
#qfcht_chartWrapper .qfcht_term_area .qfcht_range_date_controls input:checked + .qfcht_range_label:before {
	opacity: 1;
}

#qfcht_chartWrapper .qfcht_term_area .qfcht_range_date_controls qfcht_range_date_label  {
	height: 50px;
}

#qfcht_chartWrapper .qfcht_term_area .qfcht_range_date_controls .qfcht_range_year,
#qfcht_chartWrapper .qfcht_term_area .qfcht_range_date_controls .qfcht_range_month,
#qfcht_chartWrapper .qfcht_term_area .qfcht_range_date_controls .qfcht_range_day {
	padding-right: 10px;
	font-size: 1.0rem;
	height: 25px;
}

#qfcht_chartWrapper .qfcht_term_area .qfcht_range_date_controls .qfcht_range_date_label::after {
	content: attr(data-item);
	margin-left: 5px;
	margin-right: 15px;
}

#qfcht_chartWrapper .qfcht_term_area .iconChart {
	height: 20px;
	margin: auto 30px auto auto;
	padding: 15px 20px 15px 50px;
	background: #44AA44;
	background-image: url(../img/chart_arrow.png);
	background-repeat: no-repeat;
	background-position: 5% center;
	cursor: pointer;
}
#qfcht_chartWrapper .qfcht_term_area .iconChart:hover {
	background-color: rgba(68, 170, 68, 0.7);
}
#qfcht_chartWrapper .qfcht_term_area .iconChart::after {
	content: "チャート表示";
	color: #fff;
}
#qfcht_chartWrapper .qfcht_term_area .qfcht_range_date_controls li::last-child {
	clear: both;
}



/*
 * 数値読取／チャート
 */
#qfcht_chartWrapper .qfcht_field {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	width: 100%;
	overflow: hidden;
	min-width: 100px;
	display: flex;
	display: -moz-flex;
	display: -o-flex;
	display: -webkit-flex;
	display: -ms-flex;
	justify-content: flex-start;
	-moz-justify-content: flex-start;
	-o-justify-content: flex-start;
	-webkit-justify-content: flex-start;
	-ms-justify-content: flex-start;
}

#qfcht_chartWrapper .qfcht_field.row {
	flex-direction: row;
	-moz-flex-direction: row;
	-o-flex-direction: row;
	-webkit-flex-direction: row;
	-ms-flex-direction: row;
}
#qfcht_chartWrapper .qfcht_field.row.reverse {
	flex-direction: row-reverse;
	-moz-flex-direction: row-reverse;
	-o-flex-direction: row-reverse;
	-webkit-flex-direction: row-reverse;
	-ms-flex-direction: row-reverse;
}

#qfcht_chartWrapper .qfcht_field.column {
	flex-direction: column;
	-moz-flex-direction: column;
	-o-flex-direction: column;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
}
#qfcht_chartWrapper .qfcht_field.column.reverse {
	flex-direction: column-reverse;
	-moz-flex-direction: column-reverse;
	-o-flex-direction: column-reverse;
	-webkit-flex-direction: column-reverse;
	-ms-flex-direction: column-reverse;
}


/*
 * 数値読取
 */
#qfcht_chartWrapper .qfcht_overview_area {
	width: 100%;
	margin-bottom: 10px;
	margin-top: 30px;
}

#qfcht_chartWrapper .qfcht_overview_area ul {
    display: table;
    padding: 0;
    margin: 4px 0;
    list-style: none;
    width: 100%;
    border-bottom: 1px solid #ccc;
	table-layout: fixed;
}

#qfcht_chartWrapper .qfcht_overview_area ul li{
	display: table-cell;
	text-align: center;
	font-size: 1.0rem;
	width: 100%;
	vertical-align: bottom;
}


/*
 * チャート
 */
#qfcht_chartWrapper #qfcht_container {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	overflow: hidden;
	margin-top: 10px;
}

#qfcht_chartWrapper .qfcht_error_message_area {
	box-sizing:		border-box;
	vertical-align:	middle;
	display:		table;
	height:			100%;
	margin:			auto;
	padding:		0;
	color:			red;
}
#qfcht_chartWrapper .qfcht_error_message_area div {
	display:		table-cell;
}

#qfcht_chartWrapper .highcharts-legend {
	cursor: default;
	pointer-events: none;
}


/**
 *
 * レスポンシブ　(max-width: 768px) 
 *
 */
@media screen and (max-width: 768px) {
	#qfcht_chartWrapper .qfcht_zoom_controls li {
		font-size: 0.7rem;
		min-width: 35px;
		margin-left: 0px;
		height: 26px;
	}
	#qfcht_chartWrapper .qfcht_zoom_controls li:nth-child(1),
	#qfcht_chartWrapper .qfcht_zoom_controls li:nth-child(2),
	#qfcht_chartWrapper .qfcht_zoom_controls li:nth-child(3),
	#qfcht_chartWrapper .qfcht_zoom_controls li:nth-child(7),
	#qfcht_chartWrapper .qfcht_zoom_controls li:last-child {
		display: none;
	}
	#qfcht_chartWrapper .qfcht_overview_area {
		display: none;
	}
	#qfcht_chartWrapper .qfcht_term_area .qfcht_range_date_base {
		display: none;
	}
	#qfcht_chartWrapper .highcharts-crosshair {
		/* display: none; */
	}
}
