.p-top-chart-body, .p-entry-chart-body {
  display: grid;
  grid-template-columns: 46% 1fr;
  gap: .5rem;
  padding: .5rem;
}
.p-top-chart-body .up, .p-entry-chart-body .up {
  color:#FF9B46;
}
.p-top-chart-body .down, .p-entry-chart-body .down {
  color:#0099cc;
}
.pair-info {
  grid-column: 1 / 4;
  display: grid;
  grid-template-columns: 60% 1fr;
}
.pair-info .c-flags {
  grid-row: 1 / 3;
  font-weight: bold;
  line-height:1.2;
  font-size: 16px;
  margin: 0 auto;
  width: 90%;
}
.pair-info dl {
  grid-row: 1 / 3;
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  align-items: center;
  line-height: 1;
}
.pair-info dl dt {
  width: 60%;
}
.pair-info dl dd {
  width: 40%;
}
.pair-info dl dd span.change {
  position: relative;
}
.pair-info dl dd span.change:before {
  position: absolute;
  left: -13px;
}
.pair-info dl dd span.change.up:before {
  content:"↑";
}
.pair-info dl dd span.change.down:before {
  content:"↓";
}
.rate-box {
  grid-column: 1 / 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  line-height: 1;
  align-items: center;
}
.rate-box .bid, .rate-box .ask {
  width: 50%;
  text-align: center;
  font-size: 16px;
  position: relative;
}
.rate-box .bid:after {
  content: "";
  position: absolute;
  border-right: 1px solid #fff;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
}
.rate-box .large {
  font-size: 20px;
}
.rate-box .rate-tooltip ul li {
  display: inline;
  padding: 0 5px 0 0;
  font-size: 13px;
}
.rate-box .rate-tooltip ul li span {
  padding-right: 5px;
  font-weight: bold;
}
.rate-box .rate-tooltip ul li.high span {
  color:#FF9B46;
}
.rate-box .rate-tooltip ul li.low span {
  color:#0099cc;
}
.chart-box {
background: none;
}
@media(min-width: 42.5625em) {
.p-top-chart-body, .p-entry-chart-body{
    grid-template-columns: 60% 1fr;
}
.pair-info {
  grid-column: 1 / 2;
  grid-template-columns: 40% 1fr;
  column-gap: .5rem;
}
.pair-info .c-flags {
  width: auto;
}
.pair-info dl {
  flex-wrap: nowrap;
  padding: 0;
}
.pair-info dl dt {
  width: 60%;
  text-align: center;
  margin-right: 10px;
  line-height: 1;
}
.pair-info dl dd {
  width: 40%;
  font-size: 18px;
}
.pair-info dl dd span.change:before {
  left: -22px;
}
.rate-box {
  grid-column: 1 / 2;
  flex-wrap: nowrap;
  align-items: center;
}
.rate-box .bid, .rate-box .ask {
  font-size: 28px;
}
.rate-box .large {
  font-size: 40px;
}
.rate-box .bid:after {
  height: 100%;
}
.rate-box .rate-tooltip ul li {
  font-size: 16px;
  line-height: 1.4;
}
.rate-box .rate-tooltip ul li span {
  margin-right: 10px;
}
.chart-box {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  background: none;
}
}

#ad-marketnext > div {
display: flex;
justify-content: space-evenly;
align-items: center;
padding: 4px 0 5px;
background-color: #e4e4e4;
font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
font-size: 0.9em;
}
#ad-marketnext > div > div:nth-child(1) > img {
width: 45px;
height: 45px;
}
#ad-marketnext > div > div:nth-child(2) {
color: #102955;
font-size: 1.1em;
font-weight: bold;
line-height: 120%;
}
#ad-marketnext > div > div:nth-child(2) > span {
font-size: 0.7em;
font-weight: normal;
}
#ad-marketnext > div > div:nth-child(3) {
font-size: 0.8em;
height: auto;
border-radius: 45px;
padding: 6px 0;
}
#ad-marketnext > div > div:nth-child(3) > a {
font-size: 1.1em;
height: auto;
border-radius: 45px;
padding: 6px 0;
background: #eb6e27;
}
#ad-marketnext {
display: none;
}
@media screen and (max-width: 767px) {
#ad-marketnext {
  display: block;
}
}

.p-top-chart-title {
  display: flex;
  flex-direction: column;
  align-items: baseline;
}
.chart-title-bubble {
  background-color: #00b0f0;
  padding: 2px 10px;
  border-radius: 3px;
  font-size: 0.6em;
  position: relative;
  margin-top: -38px;
  margin-bottom: 5px;
}
.chart-title-bubble > span:after {
  border: solid transparent;
  content: '';
  height: 0;
  width: 0;
  pointer-events: none;
  position: absolute;
  border-top-width: 10px;
  border-bottom-width: 10px;
  border-left-width: 5px;
  border-right-width: 5px;
  margin-left: 0px;
  border-top-color: #00b0f0;
  top: 100%;
  left: 15%;
}

.entry-chart-title-bubble {
  background-color: #00b0f0;
  padding: 2px 10px;
  border-radius: 3px;
  font-size: 0.9em;
  margin-left: 20px;
  position: relative;
}
.entry-chart-title-bubble > span:before {
  border: solid transparent;
  content: '';
  height: 0;
  width: 0;
  pointer-events: none;
  position: absolute;
  border-top-width: 4px;
  border-bottom-width: 4px;
  border-left-width: 5px;
  border-right-width: 17px;
  border-right-color: #00b0f0;
  margin-left: -22px;
  top: 35%;
  left: 0%;
}
@media screen and (max-width: 767px) {
  .entry-chart-title-bubble {
    margin-bottom: 15px;
    padding: 2px 5px;
    font-size: 0.8em;
    margin-left: 15px;
  }
  .entry-chart-title-bubble > span:before {
    border-top-width: 3px;
    border-bottom-width: 3px;
    border-right-width: 14px;
    margin-left: -19px;
    top: 30%;
  }
}
