@charset "utf-8";
* {
  margin: 0;
  padding: 0;
  font-size: 100%;
  line-height: 1;
}

html,
body {
  font-size: 13px;
  line-height: 100%;
  -webkit-text-size-adjust: 100%;
  font-family: "Noto Sans JP","游ゴシック", "Meiryo", "Hiragino Kaku Gothic Pro", "MS PGothic", sans-serif;
  width: 1px;
  min-width: 100%;
  color: #333;
  background-color: #fff;
}

.left {
  padding-top: 5px;
  font-size: 16px;
}

/* 株価データの表 */
#StockPriceTable {
  font-size: 13px;
}

#CurrentPriceData {
  box-sizing: border-box;
  border: 1px solid #dddedf;
  width: calc(100%/3);
  height: 144.59px;
  float: left;
  text-align: right;
}

#StockPriceTable p {
  padding: 0.1rem;
}

#StockPriceTable .PriceAndIcon {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  flex-flow: column;
}

#CurrentPrice {
  font-size: 37px;
  font-weight: bold;
  line-height: 1.5;
}

#AxDiff{
  font-size: 13px;
}
#AxRatio{
  font-size: 13px;
}



#FourValues {
  overflow: auto;
}
#FourValues ul{
  width: 100%;
  overflow: auto;
  float: right;
}
#FourValues li{
  box-sizing: border-box;
  width: calc(100%/3);
  float: left;
  text-align: right;
  border: 1px solid #dddedf;
}
      
#FourValues li p {
  padding: 0.1rem;
}

#FourValues li:nth-child(n+4){
  width: 25%;
  height: 80px;
}

#FourValues div:nth-child(n+3) {
  line-height: 10px;
}


/* 株式データ　の表 */
#fundamentalData {
  width: 100%;
  margin: 0 auto;
  border-collapse: collapse;
}

#stockdatatitle {
  background: #f5f5f5;
  padding: 1em;
  text-align: left;
}

#stockdatalist{
  border-bottom: 1px solid #dddedf;
  border-right: 1px solid #dddedf;
}

#fundamentalData ul {
  display: flex;
}

#fundamentalData li {
  display: flex;
  border-top: 1px solid #dddedf;
  border-left: 1px solid #dddedf;
  vertical-align: middle;
  /* text-align: center; */
  width:100%;
}

#fundamentalData li p {
  background-color: #f6f6f6;
  padding: 0.6rem;
  width:50%;
}
#fundamentalData li div {
  padding: 0.6rem;
  margin-left: auto;
}

/*文字の帯*/
#CurrentPriceData p,
#FourValues p,
#OtherStockData p {
  background-color: #f6f6f6;
  color: #fff;
  text-align: center;
  font-size: 14px;
  line-height: 2;
  color: #333;
}

/*データ表示領域の周り*/
#CurrentPriceData div,
#FourValues div,
#OtherStockData div {
  font-size: 16px;
  line-height: 2;
  margin-right: 10px;
}



/* ナビゲーション */
#navi {
  clear: both;
  overflow: auto;
  line-height: 2;
  background-color: #f5f5f5;
  border-top: 4px solid #fe6400;
  margin-top: 5px;
  padding-top: 5px;
}

#sp_navi {
  clear: both;
  overflow: auto;
  line-height: 2;
  display: none;
}

/* チャートタイプ・開始終了日・日足週足月足 */
.c_type {
  width: 20%;
  float: left;
  text-align: left;
}

.start_end {
  width: 40%;
  float: left;
}

.chart_r {
  width: 40%;
  float: left;
  text-align: left;
}

#chart_range li {
  float: left;
  width: 33%;
}

/* 日足・週足・月足ボタン */
#chart_range span {
  display: block;
  cursor: pointer;
  text-align: center;
  border: 1px solid #fff;
}

#btn_daily,
#btn_weekly,
#btn_monthly {
  background-color: #cccccc;
  color: #000;
}

#btn_daily:hover,
#btn_weekly:hover,
#btn_monthly:hover {
  background: -moz-linear-gradient(to bottom, #fe6400, #fe6400 50%);
  background: -webkit-linear-gradient(to bottom, #fe6400, #fe6400 50%);
  background: linear-gradient(to bottom, #fe6400, #fe6400 50%);
  color: #fff !important;
}

#chart_range2 {
  clear: both;
  text-align: center;
  overflow: auto;
}

#chart_range ul,
#chart_range2 ul {
  overflow: auto;
}

#chart_range2 li {
  float: left;
  width: 67%;
  text-align: left;
}

#chart_range2 li:first-child {
  text-align: right;
  width: 33%;
}

#chart_range2 .off {
  display: none;
}

.line5,
.line25 {
  font-weight: bold;
}

._on {
  background: -moz-linear-gradient(to bottom, #fe6400, #fe6400 50%);
  background: -webkit-linear-gradient(to bottom, #fe6400, #fe6400 50%);
  background: linear-gradient(to bottom, #fe6400, #fe6400 50%);
  color: #fff !important;
}

/*ca*/
.c_type_corpac {
  width: 100%;
  line-height: 2;
  background-color: #f5f5f5;
  margin: 0 5px 5px 0;
  box-sizing: border-box;
  border-bottom: 4px solid #fe6400;
}

.c_type_corpac li:first-child {
  margin: 0 15px 0 5px;
}

.c_type_corpac ul {
  display: flex;
}

.c_type_corpac li:first-child {
  margin: 0 30px 0 5px;
}

.c_type_corpac li {
  padding: 6px;
}

.ECM_CheckboxInput {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.ECM_CheckboxInput-Input {
  margin: 0;
  width: 0;
  opacity: 0;
}

.ECM_CheckboxInput:hover {
  background: rgba(0, 0, 0, 0.05) !important;
}

.ECM_CheckboxInput-Input:checked + .ECM_CheckboxInput-DummyInput {
  background: #333333;
}

.ECM_CheckboxInput-Input + .ECM_CheckboxInput-DummyInput {
  background: #333333;
}

.ECM_CheckboxInput-Input.cb_earnings + .ECM_CheckboxInput-DummyInput {
  background: #d3f1d2;
}

.ECM_CheckboxInput-Input.cb_pr + .ECM_CheckboxInput-DummyInput {
  background: #90ccde;
}

.ECM_CheckboxInput-Input.cb_expected_dividend + .ECM_CheckboxInput-DummyInput {
  background: #a09bcc;
}

.ECM_CheckboxInput-Input.cb_mass_holding_report + .ECM_CheckboxInput-DummyInput {
  background: #cba6cc;
}

.ECM_CheckboxInput-Input.cb_earning_correction + .ECM_CheckboxInput-DummyInput {
    background: #cba6cc;
}

.ECM_CheckboxInput-Input.cb_stock_back_split + .ECM_CheckboxInput-DummyInput {
  background: #f3c6d1;
}

.ECM_CheckboxInput-Input.cb_other + .ECM_CheckboxInput-DummyInput {
  background: #fddadf;
}

.ECM_CheckboxInput-Input:checked + .ECM_CheckboxInput-DummyInput::before {
  content: "";
  display: block;
  position: absolute;
  top: 20%;
  left: 60%;
  width: 40%;
  height: 2px;
  border-radius: 2px;
  transform: translate(-6px, 5px) rotateZ(-135deg);
  transform-origin: 2px 2px;
  background: #000000;
}

.ECM_CheckboxInput-Input:checked + .ECM_CheckboxInput-DummyInput::after {
  content: "";
  display: block;
  position: absolute;
  top: 25%;
  left: 70%;
  width: 76%;
  height: 2px;
  border-radius: 2px;
  transform: translate(-6px, 5px) rotateZ(-45deg);
  transform-origin: 2px 2px;
  background: #000000;
}

.ECM_CheckboxInput-DummyInput {
  position: relative;
  top: 0;
  left: 0;
  display: block;
  width: 16px;
  height: 16px;
  border: solid 2px transparent;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  margin: 0 5px 0 0;
}

.ECM_CheckboxInput-LabelText {
  margin-left: 12px;
  display: block;
  font-size: 18px;
  font-weight: bold;
}

a:link {
    color: #ACDBDA;
}

a:visited {
    color: #ACDBDA;
}
/*ca*/


/* ラジオボタン位置調整 */
#candle_chart,
#area_chart {
  vertical-align: middle;
  /*MacOS safariでの見切れ調整*/
  margin: 0.5em;
  appearance: none;
  width: 12px;
  height: 12px;
  border: 1px solid #fe6400;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
}

#candle_chart:checked::after,
#area_chart:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background-color: #fe6400;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

/* カレンダーボタン位置調整 */
.cltrg1.cltrg,
.cltrg2.cltrg {
  vertical-align: middle;
}

.cltrg1.cltrg {
  position: absolute;
  margin-top: 3px;
  margin-left: 5px;
}

.cltrg2.cltrg {
  position: absolute;
  margin-top: 3px;
  margin-left: 5px;
}

/* カレンダー */
.ui-datepicker {
  border: 2px solid #a9a9a9; /* 赤色の枠線 */
}

.ui-datepicker-header{
  background: white;
  color: black;
  border-radius: 0%;
  border-right: none;
  border-left: none;
  border-top: none;
  border-bottom-color: rgb(204, 204, 204);
}

.ui-datepicker-prev:hover, .ui-datepicker-next:hover{
  background: none;
  border: none;
}

.ui-datepicker-calendar .ui-state-default{
  background-color: #dcdcdc;
  background-image: none;
  color: black;
  border: none;
}

.ui-datepicker-calendar .ui-state-default:hover{
  background-color: #a9a9a9;
}

.ui-datepicker-calendar .ui-state-active{
  background-color: #a9a9a9;
}

p.right,
p.description {
  margin-top: 1em;
  margin-bottom: 1em;
}

#note1 p {
  line-height: 1.5em;
}


input[name="topixCb"],
input[name="jpxCb"] {
  appearance: none;
  width: 16px;
  height: 16px;
  border: 1px solid #ff7a00;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  margin: 0.1rem;
  vertical-align: middle;
}

input[name="topixCb"]:checked,
input[name="jpxCb"]:checked {
  background-color: #fe6400;
}

input[name="topixCb"]:checked::after,
input[name="jpxCb"]:checked::after {
  content: "✔";
  color: #fff;
  font-size: 12px;
  position: relative;
  top: -0px;
  left: 2px;
}


/* 750pxまで */
@media screen and (max-width: 700px) {
  .left {
    font-size: 14px;
  }

  #CurrentPriceData {
    height:213.78px;
  }
  #FourValues ul li:nth-child(n+4){
    width: 50%;
    height: auto;
  }
  #FourValues div:nth-child(n+3) {
    line-height: 10px;
    height: 20px;
  }

  /* チャートタイプ・開始終了日・日足週足月足 */
  .c_type {
    width: 35%;
  }

  .start_end {
    width: 65%;
    text-align: left;
  }

  .chart_r {
    width: 100%;
  }

  /*カレンダーボタン用*/
  .start.clearfix {
    display: inline-flex;
  }

  /*移動平均調整*/
  #chart_range2 li:first-child {
    width: 45%;
  }

  #chart_range2 li {
    width: 55%;
  }

  /* ca */
  .c_type_corpac ul {
    display: block;
  }
  /* ca */

  #fundamentalData {
    ul {
      display: block;
    }
  }

}

/* 500pxまで */
@media screen and (max-width: 500px) {

  #StockPriceTable #CurrentPriceData {
    float: none;
    width:100%;
    border-right: 1px solid #dddedf;
    height: 120px;
  }
  div#CurrentPrice {
    font-size: 20px;
    width: 100%;
  }

  #fundamentalData {
    border-collapse: collapse;
  }
  #fundamentalData ul{
    display: block;
  }

  #fundamentalData p {
    border-right: 1px solid #dddedf;
  }

  .c_type,
  .start_end,
  .chart_r {
    width: 100%;
  }

  /* チャートタイプ　横並び */
  .c_type li {
    width: 50%;
    float: left;
  }

  /*チャート_センタ寄せ*/
  .c_type {
    text-align: center;
  }

  .start_end {
    text-align: center;
  }

  .chart_r {
    text-align: center;
  }

  div#FourValues {
    overflow: visible;
  }
}
