﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

/***/

body {
  font-family: LiHei Pro, Heiti TC, Microsoft JhengHei, Arial, Helvetica, sans-serif;
  margin: 0;
  font-size: medium;
  color: #636363;
}
img {
  width: auto;
  height: auto;
  max-width: 100%;
  vertical-align: top;
}
.not_list,
.not_list li {
  list-style: none;
}
.not_list {
  padding-left: 0;
  margin-top: 0;
  margin-bottom: 0;
}
/**/
.main_body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  border-left: 1px solid #b5a38f;
  border-right: 1px solid #b5a38f;
}
@media screen and (max-width:1024px) {
  .main_body {
    border-left: none;
    border-right: none;
  }
}
.main_content {
  flex-grow: 1;
  padding: 40px;
}
.main_content > div {
  margin-top: 40px;
}
.main_content > div:first-child {
  margin-top: 0;
}
@media screen and (max-width:1024px) {
  .main_content {
    padding: 20px;
  }
  .main_content > div {
    margin-top: 20px;
  }
}
.main_content > div.top_img_block {
  margin-top: -40px;
  margin-left: -40px;
  margin-right: -40px;
}
.tpimgblk_img {
  position: relative;
}
.tpimgblk_img .style_for_mobile {
  display: none;
}
.site_logo {
  position: absolute;
  left: 40px;
  top: 40px;
  z-index: 3;
}
/* Mobile Sub */
.tpimgblk_mobile_title {
  background-color: #3781b3;
  color: #FFF;
  display: table;
  line-height: 1.3;
  text-align: center;
  padding: 0.2em 1em;
  border-radius: 999px;
  font-size: 150%;
  margin: 20px auto;
}
.tpimgblk_mobile_content {
  overflow: hidden;
}
.tpimgblk_mobile_content > ul {
  display: flex;
  flex-wrap: wrap;
  margin-top: -20px;
  margin-right: -20px;
}
.tpimgblk_mobile_content > ul > li {
  width: 33.33%;
  padding-top: 20px;
  padding-right: 20px;
}
.tpimgblk_mobile_subtitle {
  font-size: 125%;
}
.tpimgblk_mobile_subtitle a {
  color: inherit;
}
.tpimgblk_mobile_subcontent li {
  margin-top: 10px;
}
.tpimgblk_mobile_subcontent li > div {
  padding: 0.2em 0.4em;
}
.tpimgblk_mobile_subcontent li > div,
.tpimgblk_mobile_subcontent li > div a {
  color: #FFF;
}
/* 差異化 */
li[data-eq="1"] .tpimgblk_mobile_subtitle {
  color: #8f73b4;
}
li[data-eq="1"] .tpimgblk_mobile_subcontent li > div {
  background-color: #8f73b4;
}
li[data-eq="2"] .tpimgblk_mobile_subtitle {
  color: #60c6c1;
}
li[data-eq="2"] .tpimgblk_mobile_subcontent li > div {
  background-color: #60c6c1;
}
li[data-eq="3"] .tpimgblk_mobile_subtitle {
  color: #73abdd;
}
li[data-eq="3"] .tpimgblk_mobile_subcontent li > div {
  background-color: #73abdd;
}
li[data-eq="4"] .tpimgblk_mobile_subtitle {
  color: #87c762;
}
li[data-eq="4"] .tpimgblk_mobile_subcontent li > div {
  background-color: #87c762;
}
li[data-eq="5"] .tpimgblk_mobile_subtitle {
  color: #f1a02c;
}
li[data-eq="5"] .tpimgblk_mobile_subcontent li > div {
  background-color: #f1a02c;
}
/**/
@media screen and (max-width:1024px) {
  .main_content > div.top_img_block {
    margin-top: -20px;
    margin-left: -20px;
    margin-right: -20px;
  }
  .tpimgblk_img .style_for_pc {
    display: none;
  }
  .tpimgblk_img .style_for_mobile {
    display: block;
  }
  .tpimgblk_img {
    padding: 40px;
  }
  .site_logo {
    position: static;
  }
}
@media screen and (max-width:768px) {
  .tpimgblk_img {
    padding: 20px;
  }
  .tpimgblk_mobile_content > ul > li {
    width: 50%;
  }
}
@media screen and (max-width:450px) {
  .tpimgblk_mobile_content > ul > li {
    width: 100%;
  }
}
.tpimgblk_links {
  overflow: hidden;
}
.tpimgblk_links ul {
  display: flex;
  background-color: #60c695;
  margin-top: -1px;
}
.tpimgblk_links ul > li {
  width: 100%;
  border-top: 1px solid #3aa96b;
}
.tpimgblk_links ul > li:nth-child(even) {
  background-color: #3aa96b;
  border-top-color: #60c695;
}
.tpimgblk_links a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 20px;
  text-align: center;
  color: #FFF;
  box-sizing: border-box;
  text-decoration: none;
}
.tpimgblk_links a:hover {
  text-decoration: none;
}
@media screen and (max-width:1024px) {
  .tpimgblk_links ul {
    flex-wrap: wrap;
  }
  .tpimgblk_links ul > li {
    width: 33.33%;
    flex-grow: 1;
  }
  .tpimgblk_links a {
    padding: 10px;
  }
}
@media screen and (max-width:450px) {
  .tpimgblk_links ul > li {
    width: 100%;
  }
}
/**/
.mid_chart_block > div {
  margin-top: 40px;
}
.mid_chart_block > div:first-child {
  margin-top: 0;
}
.mid_chart_block iframe {
  border: none;
  overflow: hidden;
  width: 100%;
  vertical-align: top;
}
.mdchrtblk_embed {
  display: flex;
  flex-wrap: wrap;
}
.mdchrtblk_left {
  width: 25%;
  padding-right: 1em;
}
.mdchrtblk_left > div,
.mid_custom_block li > div > div {
  margin-top: 10px;
}
.mdchrtblk_left > div:first-child,
.mid_custom_block li > div > div:first-child {
  margin-top: 0;
}
.mdchrtblk_title,
.mdcstmblk_title,
.mdchrtblk_subttl,
.mdcstmblk_subttl {
  line-height: 1.3;
}
.mdchrtblk_title,
.mdcstmblk_title,
.ytiframe_embed_title {
  font-size: 175%;
}
.mdchrtblk_subttl,
.mdcstmblk_subttl {
  font-size: 120%;
}
.mdchrtblk_title {
  color: #886217;
}
.mdchrtblk_subttl {
  color: #d67e2f;
}
.mdchrtblk_index_title,
.mdchrtblk_index_value {
  background-color: #ececec;
  padding: 7px;
  text-align: center;
}
.mdchrtblk_index_value {
  font-size: 238%;
}
.val_pos {
  color: #ec4736;
}
.val_neg {
  color: #2ea213;
}
.mdchrtblk_desc,
.mdcstmblk_desc {
  text-align: justify;
}
.mdchrtblk_more {
  text-align: center;
}
.mdchrtblk_more a {
  display: inline-block;
  vertical-align: top;
  color: #FFF;
  background-color: #d67e2f;
  border-radius: 8px;
  padding: 0.2em 0.8em;
}
.mdchrtblk_more a:hover {
  text-decoration: none;
}
.mdchrtblk_right {
  flex-grow: 1;
}
.mdchrtblk_chart {
  margin-top: 10px;
}
@media screen and (max-width:1024px) {
  .mid_chart_block > div {
    margin-top: 20px;
  }
  .mdchrtblk_left {
    width: 33.33%;
  }
}
@media screen and (max-width:768px) {
  .mdchrtblk_left {
    width: 50%;
  }
}
@media screen and (max-width:640px) {
  .mdchrtblk_left {
    width: 100%;
    padding-right: 0;
  }
  .mdchrtblk_right {
    margin-top: 10px;
  }
}
/**/
.mid_custom_block {
  overflow: hidden;
}
.mid_custom_block > ul {
  display: flex;
  flex-wrap: wrap;
  margin-top: -40px;
  margin-right: -40px;
}
.mid_custom_block > ul > li {
  width: 50%;
  box-sizing: border-box;
  padding-top: 40px;
  padding-right: 40px;
}
.mdcstmblk_subttl {
  color: #dc935a;
}
.mdcstmblk_content {
  text-align: center;
}
/* 差異化 */
li[data-type="house"] .mdcstmblk_title {
  color: #05b04f;
}
li[data-type="monopoly"] .mdcstmblk_title {
  color: #db799b;
}
/**/
@media screen and (max-width:1024px) {
  .mid_custom_block > ul {
    margin-top: -20px;
    margin-right: -20px;
  }
  .mid_custom_block > ul > li {
    padding-top: 20px;
    padding-right: 20px;
  }
}
@media screen and (max-width:768px) {
  .mid_custom_block > ul > li {
    width: 100%;
  }
}
.footer_block {
  background-color: #b5a38f;
  color: #FFF;
  text-align: center;
  padding: 10px;
}
.chart_keeper {
  padding-bottom: 45.6%;
  position: relative;
}
.chart_keeper > div {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
/**/
.ytiframe_embed_title {
  color: #886217;
  text-align: center;
  margin-bottom: 10px;
}
.ytiframe_embed {
  position: relative;
  overflow: hidden;
}
.ytiframe_embed::before {
  content: "";
  display: block;
  height: 0;
  padding-bottom: 56.25%;
}
.ytiframe_embed iframe {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  border: none;
  overflow: hidden;
  vertical-align: top;
}