@charset "utf-8";
* {
  margin: 0;
  padding: 0;
  font-size: 100%;
  line-height: 1;
}

:root{
  --color-1: #004ea2;
  --color-1_dark: #003a77;
  --color-2: #ff0000;
}

html,
body {
  font-size: 16px;
  line-height: 100%;
  -webkit-text-size-adjust: 100%;
  /* font-family: 'Montserrat', 'Noto Sans JP', "游ゴシック", "Meiryo", "Hiragino Kaku Gothic Pro", "MS PGothic", sans-serif; */
  font-family: 'Local Noto Sans JP', 'Noto Sans JP', sans-serif;
  min-width: 300px;
  max-width: 1160px;
  color: #333;
  background-color: #fff;
}

/* 株価データの表 */
#StockPriceTable {
  font-size: 16px;
}

#CurrentPriceData {
  box-sizing: border-box;
  border: 3px solid #ffffff;
  width: calc(100%/2.5);
  height: 138.38px;
  float: left;
  text-align: right;
}

#CurrentPriceData p {
  padding: 0.1rem;
}

#CurrentPriceData .PriceAndIcon {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  flex-flow: column;
}

#CurrentPriceData #CurrentPrice {
  font-size: 37px;
  font-weight: bold;
  line-height: 1.5;
}

.PriceAndIcon div:nth-child(2){
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

#data1-img{
  height: 20px;
  padding: 3px 3px 0px;
}

#AxDiff{
  font-size: 16px;
  margin-right: 3px;
}
#AxRatio{
  font-size: 16px;
}


#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: 3px solid #ffffff;
}

#FourValues li:nth-child(n+4){
  width: calc(100%/2);
}
      
#FourValues li p {
  padding: 0.1rem;
  /* border-radius: 5px; */
}
/* #FourValues li:nth-child(n+4){
  width: 50%;
} */

/* 株式データ　の表 */
#fundamentalData {
  width: 100%;
  margin: 0 auto;
  border-collapse: collapse;
}

#stockdatatitle {
  background: color-mix(in srgb, var(--color-1), transparent 90%);
  padding: 1em;
  text-align: left;
  font-weight: bold;
}

#stockdatalist{
  border-bottom: 1px solid #dddedf;
  border-right: 1px solid #dddedf;
}

#fundamentalData ul {
  display: flex;
}

#fundamentalData li {
  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 0.2rem;
  font-size: 14px;
}

#fundamentalData  li div {
  padding: 0.6rem;
  font-size: 14px;
}

#stockdatalist #YearToDateHighPrice,
#stockdatalist #YearToDateLowPrice {
  line-height: 16px;
  padding: 0.2rem;
}
#stockdatalist #YearToDateHighPrice_date,
#stockdatalist #YearToDateLowPrice_date {
  font-size: 12px;
  line-height:16px;
  padding: 0;
}

#stockdatalist .PriceandDate {
  padding: 0 0.4rem;
}

/*文字の帯*/
#CurrentPriceData p,
#FourValues p {
  background-color: var(--color-1);
  color: #fff;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  line-height: 2;
  color: #ffffff;
  /* border-radius: 5px; */
}

/*データ表示領域の周り*/
#CurrentPriceData div,
#FourValues div,
#OtherStockData div {
  font-size: 16px;
  font-weight: bold;
  line-height: 2;
  /* margin-right: 5px; */
  text-align: center;
  margin: auto;
}



/* ナビゲーション */
#navi {
  clear: both;
  overflow: auto;
  line-height: 2;
  background-color: color-mix(in srgb, var(--color-1), transparent 90%);
  border-top: 4px solid var(--color-1);
  padding-top: 5px;
  display: flex;
}

#sp_navi {
  clear: both;
  overflow: auto;
  line-height: 2;
  display: none;
}

/* チャートタイプ・開始終了日・日足週足月足 */
.c_type {
  float: left;
  text-align: left;
  margin: 0 10px;
}

.c_type li{
  display: flex;
  align-items: center;
}

.start_end {
  float: left;
  margin: 0 10px;
}

#indexComparison div{
  display: flex;
  align-items: center;
}

.chart_r {
  max-width: 600px;
  min-width: 200px;
  float: right;
  flex-grow: 1;
  margin-left: auto;
}

#chart_range li {
  float: left;
  width: 33%;
}

/* 日足・週足・月足ボタン */
#chart_range span {
  display: block;
  cursor: pointer;
  font-weight: 600;
  text-align: center;
  border-radius: 5px;
  margin: 0 2px;
  /* 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, var(--color-1), var(--color-1_dark) 70%);
  background: -webkit-linear-gradient(to bottom, var(--color-1), var(--color-1_dark) 70%);
  background: linear-gradient(to bottom, var(--color-1), var(--color-1_dark) 70%);
  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, var(--color-1), var(--color-1_dark) 70%);
  background: -webkit-linear-gradient(to bottom, var(--color-1), var(--color-1_dark) 70%);
  background: linear-gradient(to bottom, var(--color-1), var(--color-1_dark) 70%);
  color: #fff !important;
}

/*ca*/
.c_type_corpac {
  width: 100%;
  line-height: 2;
  background-color: color-mix(in srgb, var(--color-1), transparent 90%);
  margin: 0 5px 5px 0;
  box-sizing: border-box;
  border-bottom: 4px solid var(--color-1);
  display: flex;
  flex-wrap: wrap;
}

.c_type_corpac div{
  min-width: 60px;
  padding: 7px;
}

.c_type_corpac ul {
  display: flex;
}


.c_type_corpac li {
  padding: 6px;
}

.ECM_CheckboxInput {
  display: flex;
  align-items: center;
  cursor: pointer;
  justify-content: center;
}

.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;
    margin: 0.5em;
    appearance: none;
    width: 16px;
    height: 16px;
    border: 1px solid var(--color-1);
    border-radius: 50%;
    cursor: pointer;
    position: relative;
}

#candle_chart:checked::after,
#area_chart:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  background-color: var(--color-1);
  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;
}

p.right,
p.description {
  margin-top: 1em;
  margin-bottom: 1em;
}

#note1 p {
  line-height: 1.5em;
}

#indice_1 input,
#indice_2 input {
  appearance: none;
  --webkit-appearance: none;
  width: 16px;
  height: 16px;
  color: #fff;
  border: 1px solid var(--color-1);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  margin: 0.1rem;
  vertical-align: middle;
}

#indice_1 input:checked,
#indice_2 input:checked {
  background-color: var(--color-1);
  color: #fff;
}

#indice_1 input:checked::after,
#indice_2 input:checked::after {
  content: "";
  position: absolute;
  left: 3px;
  top: -1px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* チャートエリア全体のホバー時（掴めることを示す） */

/* ドラッグ（クリック）している最中 */
/* .highcharts-container:active {
  cursor: grabbing !important;
} */

/* コーポレートアクションのアイコン */
.highcharts-label {
  cursor:default !important; /* 虫眼鏡 */
}

/* navigator 中央：移動（マスク）部分のカーソル */
.highcharts-navigator-mask-inside {
  cursor: grab !important; /* 掴むアイコン */
}
.highcharts-navigator-mask-inside:active {
  cursor: grabbing !important; /*掴んできるアイコン */
}

/* navigator 左右の端：リサイズ（ハンドル）部分のカーソル */
.highcharts-navigator-handle {
  cursor: ew-resize !important; /* 左右矢印 */
}

.highcharts-scrollbar-thumb {
  cursor: grab !important;
}

/* つまみを掴んでいる最中 */
.highcharts-scrollbar-thumb:active {
  cursor: grabbing !important;
}

.highcharts-scrollbar-track{
  cursor: default !important;
}
.highcharts-scrollbar-track:active{
  cursor: default !important;
}

/* 768pxまで */
@media screen and (max-width: 600px) {

  #StockPriceTable #CurrentPriceData {
    float: none;
    width:100%;
    border-right: 1px solid #dddedf;
    height: 80px;
  }
  
  #StockPriceTable #CurrentPriceData .PriceAndIcon{
    flex-flow: row;
    justify-content: center;
    align-items: baseline;
  }

  #CurrentPriceData .PriceAndIcon div {
    flex-wrap: nowrap;
    margin: 0;
  }

  #CurrentPriceData .PriceAndIcon #CurrentPrice {
    margin: 0;
    font-size: 32px;
  }
  
  #CurrentPriceData p,
  #FourValues p,
  #FourValues div {
    font-size: 14px;
    line-height: 1.5;
  }
  div#FourValues {
    overflow: visible;
  }

  .start_end {
    text-align: left;
  }

  /*移動平均調整*/
  #chart_range2 li:first-child {
    width: 45%;
  }

  #chart_range2 li {
    width: 55%;
  }

  /* ca */
  .c_type_corpac {
    font-size: 14px;
  }
  
  .c_type_corpac div {
    padding: 3px;
  }
  
  .c_type_corpac ul {
    flex-wrap: wrap;
  }
  
  .c_type_corpac ul li{
    padding: 3px;
  }
  #fundamentalData {
    border-collapse: collapse;
    font-size: 14px;
  }

  #fundamentalData ul{
    display: block;
  }

  #fundamentalData ul p {
    border-right: 1px solid #dddedf;
  }
  
  #fundamentalData #stockdatatitle {
    padding: 0.5rem;
  }
  #stockdatalist ul li {
    display: flex;
  }
  
  #stockdatalist ul li p{
    width: 160px;
    padding: 0.4rem;
  }
  
  #stockdatalist ul li div{
    padding: 0.4rem;
    margin-left: auto;
  }

  #stockdatalist .PriceandDate {
    display: flex;
    align-items: center;
  }
  .chart_r {
    width: 100%;
    text-align: center;
  }

  #navi{
    display: block;
  }
  #navi_check{
    display: flex;
    justify-content: center;
  }
  #note1 p {
    line-height: 1em;
    font-size: 12px;
  }

}

