@charset "utf-8";

/*========== シミュレーション ==========*/
/* reset */
#fund-detail-simulation *,
#fund-detail-simulation ::before,
#fund-detail-simulation ::after {
  font-size: var(--font-size);
  background-repeat: no-repeat; /* Set `background-repeat: no-repeat` to all elements and pseudo elements */
  box-sizing: inherit;
}


/*========== 共通 ==========*/
html #fund-detail-simulation {
  font-size: var(--font-size);
  font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "Meiryo UI", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
body #fund-detail-simulation {
  font-size: 1.6rem;
  line-height: 1;
  color: #000000;
}
/* AccumulationInvestmentSimulationFund を開いたときに fund-detail-simulation の上に重ねる */
#AccumulationInvestmentSimulationFund {
  position: relative;
  z-index: 10;
}
#AccumulationInvestmentSimulationFund[open] {
  z-index: 1000; /* 重なり順を最前に */
}
#AccumulationInvestmentSimulationFund[open] #AccumulationInvestmentSimulationFundList {
  position: absolute;
  top: 100%; /* 見出し（summary）の直下に表示 */
  left: 0;
  right: 0;
  width: 100%;
  max-height: 60vh;
  overflow: auto;
  background: #FFFFFF;
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  border: 1px solid #DEDEDE;
}
#fund-detail-simulation {
  position: relative; /* オーバーレイの基準とする */
  z-index: 1;        /* アコーディオンより低く */
}
/* ClearFix */
#fund-detail-simulation .cf:after {
  content: "";
  display: table;
  clear: both;
}
#fund-detail-simulation a:hover {
  opacity: 0.6;
}
#fund-detail-simulation ul, .font0 {
  font-size: 0;
}
#fund-detail-simulation .normal {
  font-weight: 400;
}
#fund-detail-simulation .bold {
  font-weight: 700;
}
#fund-detail-simulation .text-right {
  text-align: right;
}
#fund-detail-simulation .high {
  color: #FF0000;
}
#fund-detail-simulation .low {
  color: #0000FF;
}
#fund-detail-simulation .zero {
  color: #FFA500;
}
  /* 20221124 add */
#fund-detail-simulation .black {
  color: #000000;
}

#fund-detail-simulation a {
  display: inline-block;
  text-decoration: none;
  color: #000000;
  background-color: transparent; /* Remove the gray background on active links in IE 10 */
}

#fund-detail-simulation a:active,
#fund-detail-simulation a:hover {
  outline-width: 0; /* Remove the outline when hovering in all browsers */
}
#fund-detail-simulation a:hover {
  cursor: pointer;
}

#fund-detail-simulation button,
#fund-detail-simulation input,
#fund-detail-simulation optgroup,
#fund-detail-simulation select,
#fund-detail-simulation textarea {
  font: inherit; /* Specify font inheritance of form elements */
}

#fund-detail-simulation optgroup {
  font-weight: bold; /* Restore the font weight unset by the previous rule */
}

#fund-detail-simulation button {
  overflow: visible; /* Address `overflow` set to `hidden` in IE 8/9/10/11 */
}

#fund-detail-simulation button,
#fund-detail-simulation select {
  text-transform: none; /* Firefox 40+, Internet Explorer 11- */
}

/* Apply cursor pointer to button elements */
#fund-detail-simulation button,
#fund-detail-simulation [type="button"],
#fund-detail-simulation [type="reset"],
#fund-detail-simulation [type="submit"],
#fund-detail-simulation [role="button"] {
  cursor: pointer;
}

/* Remove inner padding and border in Firefox 4+ */
#fund-detail-simulation button::-moz-focus-inner,
#fund-detail-simulation [type="button"]::-moz-focus-inner,
#fund-detail-simulation [type="reset"]::-moz-focus-inner,
#fund-detail-simulation [type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/* Replace focus style removed in the border reset above */
#fund-detail-simulation button:-moz-focusring,
#fund-detail-simulation [type="button"]::-moz-focus-inner,
#fund-detail-simulation [type="reset"]::-moz-focus-inner,
#fund-detail-simulation [type="submit"]::-moz-focus-inner {
  outline: 1px dotted ButtonText;
}

#fund-detail-simulation button,
html #fund-detail-simulation [type="button"], /* Prevent a WebKit bug where (2) destroys native `audio` and `video`controls in Android 4 */
#fund-detail-simulation [type="reset"],
#fund-detail-simulation [type="submit"] {
  -webkit-appearance: button; /* Correct the inability to style clickable types in iOS */
}

/* Remove the default button styling in all browsers */
#fund-detail-simulation button,
#fund-detail-simulation input,
#fund-detail-simulation select,
#fund-detail-simulation textarea {
  background-color: transparent;
  border-style: none;
}

#fund-detail-simulation li {
  list-style: none;
}

/*========== 共通パーツ ==========*/
/* コンテンツ */
#fund-detail-simulation .content {
  margin: 25px 0;
  padding : 0 10px;
}
#fund-detail-simulation .content .content-title {
  font-size: var(--font-size);
  font-weight: 700;
  border-bottom: 2px solid transparent;
  padding-bottom: 18px;
  margin-bottom: 12px;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px;
  align-items: baseline;
}
#fund-detail-simulation .content .content-title .sub-text {
  font-size: calc(var(--font-size) * 0.875);
  font-weight: 400;
}
/* スイッチ */
#fund-detail-simulation .swich {
  display: flex;
  margin-bottom: 20px;
}
#fund-detail-simulation .swich li {
  flex-basis: 140px;
  font-size: 1.4rem;
  line-height: 38px;
  text-align: center;
}
#fund-detail-simulation .swich li:first-child,
#fund-detail-simulation .swich li:first-child a {
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}
#fund-detail-simulation .swich li:last-child,
#fund-detail-simulation .swich li:last-child a {
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}
#fund-detail-simulation .swich li a {
  display: block;
  background: linear-gradient(to top, #F2F2F2, #FFFFFF);
  border: solid 1px #DEDEDE;
  font-size: calc(var(--font-size) * 0.875);
}
#fund-detail-simulation .swich li:not(:last-child) a {
  border-right: none;
}
#fund-detail-simulation .swich li.active a,
#fund-detail-simulation .swich li:hover a {
  color: #FFFFFF;
  opacity: 1;
}
#fund-detail-simulation .swich li.active a {
  cursor: default;
}
#fund-detail-simulation .fund-list-swich li a {
  white-space: nowrap;
  padding: 0 3px;
}

/*========== シミュレーション ==========*/
/* レンジ入力 */
#fund-detail-simulation input[type=range]::-ms-tooltip{
  display:none;
}
#fund-detail-simulation input[type=range]::-moz-range-track{
  height:0;
}
#fund-detail-simulation input[type=range]:focus,
#fund-detail-simulation input[type=range]:focus::-webkit-slider-thumb,
#fund-detail-simulation input[type=range]:active,
#fund-detail-simulation input[type=range]:active::-webkit-slider-thumb {
  outline: none;
}
#fund-detail-simulation .range-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: var(--font-size);
  margin-bottom: 20px;
}
#fund-detail-simulation .range-row .input-wrap {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}
#fund-detail-simulation .range-row label {
  display: inline-block;
  margin-right: 9px;
  vertical-align: middle;
  letter-spacing: 2px;
}
#fund-detail-simulation .range-row .disp-val {
  display: inline-block;
  margin-right: 34px;
  font-size: var(--font-size);
}
#fund-detail-simulation .range-row .disp-val span {
  display: inline-block;
  margin-right: 10px;
  padding: 0 14px;
  box-sizing: border-box;
  width: 100px;
  line-height: 2.5;
  border: 1px solid #CCCCCC;
  border-radius: 4px;
  text-align: right;
  font-size: var(--font-size);
}
#fund-detail-simulation .range-row button.minus,
#fund-detail-simulation .range-row button.plus {
  display: inline-block;
  width: 40px;
  line-height: 2.5;
  border: 1px solid #CCCCCC;
  border-radius: 4px;
  background: linear-gradient(to top, #F2F2F2, #FFFFFF);
  font-size: var(--font-size);
}
#fund-detail-simulation .range-row .input-range {
  display: inline-block;
  position: relative;
  margin: 0 30px;
  width: 555px;
  max-width: 100%; /* ラベル+disp-val+ボタン分を引く */
  height: 40px;
  vertical-align: bottom;
  font-size: 1.6rem;
}
#fund-detail-simulation .range-row .input-range input[type="range"] {
  width: 100%;
  -moz-appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background: none;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  -ms-touch-action : none ;
  touch-action : none ;
}
/* Firefox向けつまみ */
#fund-detail-simulation .range-row .input-range input[type=range]::-moz-range-thumb {
  background-color: #fff;
  background: url('../img/range-thumb-inner.png') center / 50%, linear-gradient(to top, rgba(243, 243, 243, 1), #FFFFFF);
  background-repeat: no-repeat;
  border: #CCCCCC solid 1px;
  box-shadow: 0 0 4px #CCCCCC;
  -moz-appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  z-index: 20;
  position: relative;
}
/* Edge,Chrome向けつまみ */
#fund-detail-simulation .range-row .input-range input[type="range"]::-webkit-slider-thumb {
  background-color: #fff;
  background: url('../img/range-thumb-inner.png') center / 50%, linear-gradient(to top, rgba(243, 243, 243, 1), #FFFFFF);
  background-repeat: no-repeat;
  border: #CCCCCC solid 1px;
  box-shadow: 0 0 4px #CCCCCC;
  -moz-appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  position: relative;
  width: 40px;
  height: 40px;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  z-index: 20;
  position: relative;
}
/* Chrome・FireFox向け 溝のスタイル */
#fund-detail-simulation .range-row .input-range .range-base,
#fund-detail-simulation .range-row .input-range .range-active {
  width: 100%;
  height: 10px;
  position: absolute;
  left: 0;
  top: 50%;
  background-color: #EDEDED;
  transform: translateY(-50%);
  z-index: 1;
}
#fund-detail-simulation .range-row .input-range .range-active {
  width: 0%;
  z-index: 2;
}
#fund-detail-simulation .range-row .input-range .range-base {
  background-color: #EDEDED;
}
/* シミュレーション種別選択 */
#fund-detail-simulation .simulation-type-wrap {
  text-align: center;
  height: 70px;
  white-space: nowrap;
}
#fund-detail-simulation .simulation-type li {
  display: inline-block;
  margin-right: 10px;
  width: 200px;
  min-width: 155px;
  line-height: 2.9;
  font-size: calc(var(--font-size) * 0.875);
  text-align: center;
  border-radius: 20px;
  border: 1px solid #ccc;
  background: linear-gradient(to top, #F2F2F2, #FFFFFF);
  position: relative;
}
#fund-detail-simulation .simulation-type li.active::before {
  content: '';
  position: absolute;
  top: 62px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 22px;
  -webkit-clip-path: polygon(0 0, 100% 0, 50% 100%);
  clip-path: polygon(10% 0, 90% 0, 50% 100%);
}
#fund-detail-simulation .simulation-type a {
  display: inline-block;
  width: 100%;
  color: #000;
  font-size: calc(var(--font-size) * 0.875);
}

/* color */
/* コンテンツ */
#fund-detail-simulation .content .content-title {
  border-bottom-color: #339900;
}
/* スイッチ */
#fund-detail-simulation .swich li.active a,
#fund-detail-simulation .swich li a:hover {
  background: #339900;
  border-color: #339900;
}
/* レンジ入力 */
/* Chrome・FireFox向け 溝のスタイル */
#fund-detail-simulation .range-row .input-range .range-active {
  background-color: #339900;
}
/* シミュレーション種別選択 三角形 */
#fund-detail-simulation .simulation-type li.active::before {
  background-color: #339900;
}

/* トグルボタン */
#fund-detail-simulation .swich-simulation-wrap {
  position: relative;
  display: flex;
  margin-bottom: 20px;
}
#fund-detail-simulation .swich-simulation-wrap > label {
  margin-right: 9px;
  font-size: var(--font-size);
  line-height: 2.4;
  letter-spacing: 2px;
}
#fund-detail-simulation .swich.swich-simulation {
  width: 160px;
  margin-bottom: 0;
}
#fund-detail-simulation .swich.swich-simulation li {
  flex-basis: 80px;
}
#fund-detail-simulation .swich.swich-simulation + .text {
  line-height: 1;
  margin-left: 16px;
}
#fund-detail-simulation .swich.swich-simulation + .text span {
  font-size: calc(var(--font-size) * 0.875);
}
#fund-detail-simulation .deactive{
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}
/* グラフ */
#fund-detail-simulation .chart-wrap .highcharts-input-group,
#fund-detail-simulation .chart-wrap .highcharts-range-selector-buttons {
  display: none;
}

/* Highcharts凡例：表示切替を無効化しているためカーソルも変えない */
#fund-detail-simulation .chart-wrap .highcharts-legend,
#fund-detail-simulation .chart-wrap .highcharts-legend *,
#fund-detail-simulation .chart-wrap .highcharts-legend-item,
#fund-detail-simulation .chart-wrap .highcharts-legend-item * {
  cursor: default !important;
}
#fund-detail-simulation .chart-wrap .labels {
  margin-bottom: 25px;
}
#fund-detail-simulation .chart-wrap .labels li {
  display: inline-block;
  font-size: 1.4rem;
  margin-right: 43px;
}
#fund-detail-simulation .chart-wrap .labels li:last-child {
  margin-right: 0;
}
#fund-detail-simulation .chart-wrap .labels .line {
  display: inline-block;
  vertical-align: middle;
  width: 40px;
  height: 2px;
  background-color: #000000;
  position: relative;
  top: -1px;
  margin-right: 10px;
}
#fund-detail-simulation .chart-wrap .labels .line.area {
  height: 10px;
}
/* グラフ凡例 色 */
#fund-detail-simulation .chart-wrap .labels .line.line-red {
  background-color: #FF0000;
}
#fund-detail-simulation .chart-wrap .labels .line.line-blue {
  background-color: #7777FF;
}
#fund-detail-simulation .chart-wrap .labels .line.line-yellow {
  background-color: #FAFA55;
}

/* ツールチップスタイルの設定 */
#fund-detail-simulation table td,table th {
  font-size: 0.9em;
  border-style: none;
}