@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@700&family=Noto+Sans+JP:wght@400;700&display=swap");
.ab_test_h1 {
  margin: 20px 0 24px;
  line-height: 1;
}

.ab_test {
  font-family: "Noto Sans JP";
}
.ab_test p, .ab_test ul, .ab_test li {
  margin: 0;
  padding: 0;
}
.ab_test a,
.ab_test a:active,
.ab_test a:focus {
  outline: none !important;
}
.ab_test .ab_select_list {
  margin: 0 20px 24px 0;
  display: flex;
  justify-content: space-between;
}
.ab_test .ab_select_list li {
  width: calc(33.3333333333% - 16px);
}
.ab_test .ab_select_list li:last-child .ab_select select {
  font-size: 16px;
}
.ab_test .ab_select {
  width: 100%;
  height: 70px;
  background: #fff;
  border-radius: 5px;
  position: relative;
  z-index: 1;
}
.ab_test .ab_select:after {
  content: "";
  width: 8px;
  height: 8px;
  border: 0;
  border-bottom: solid 2px #7A86A1;
  border-right: solid 2px #7A86A1;
  transform: rotate(45deg);
  position: absolute;
  top: 0;
  right: 27px;
  bottom: 0;
  margin: auto;
}
.ab_test .ab_select::-ms-expand {
  display: none;
}
.ab_test .ab_select .ab_select_title {
  color: #7A86A1;
  font-size: 14px;
  position: absolute;
  left: 24px;
  top: 12px;
}
.ab_test .ab_select select {
  max-width: inherit;
  width: 100%;
  height: 100%;
  background: #f4f4f4;
  color: #000;
  display: block;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: transparent;
  text-indent: 0.01px;
  padding: 15px 45px 0 24px;
  border: none;
  border-radius: 3px;
  font-family: "Roboto";
  font-size: 18px;
  font-weight: 700;
  position: relative;
  z-index: 4;
}
.ab_test .ab_select select::-ms-expand {
  display: none;
}
.ab_test .monitor_wrap {
  width: calc(100% - 20px);
  margin-left: -20px;
  padding: 0 20px 35px;
  background: #fff;
  overflow: hidden;
  position: relative;
}
.ab_test .monitor_wrap::before {
  width: calc(100% + 40px);
  margin-left: -20px;
  height: 25px;
  background: #f0f0f1;
  content: "";
  position: absolute;
  left: 0;
  top: 0;
}
.ab_test .monitor {
  width: 100%;
  margin-bottom: 36px;
  box-shadow: 0px 7px 29px 1px rgba(105, 95, 151, 0.16);
  display: flex;
  position: relative;
  z-index: 1;
}
.ab_test .monitor li {
  width: 100%;
  height: 50px;
  background: #fff;
  color: #7A86A1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  text-decoration: none;
}
.ab_test .monitor li img {
  margin-right: 10px;
}
.ab_test .monitor li:first-child {
  border-radius: 5px 0 0 5px;
}
.ab_test .monitor li:last-child {
  border-radius: 0 5px 5px 0;
}
.ab_test .monitor li.on {
  background: #2271B1;
  color: #fff;
}
.ab_test .monitor_box {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}
.ab_test .monitor_box .monitor_title {
  height: 32px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
}
.ab_test .monitor_box .monitor_title p {
  display: flex;
  align-items: center;
  justify-content: center;
}
.ab_test .monitor_box .monitor_title img {
  margin-right: 8px;
}
.ab_test .monitor_box .monitor_inner {
  padding: 24px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ab_test .monitor_off {
  width: calc(50% - 16px);
}
.ab_test .monitor_off .monitor_inner {
  background: #D9D9D9;
}
.ab_test .monitor_on {
  width: calc(50% - 16px);
}
.ab_test .monitor_on .monitor_inner {
  background: #C8DDEF;
}
.ab_test .monitor_on .monitor_select {
  position: absolute;
  right: 0;
}
.ab_test .monitor_select {
  width: 202px;
  height: 32px;
  margin-left: 16px;
  background: #D9D9D9;
  border-radius: 5px;
  position: relative;
  z-index: 1;
}
.ab_test .monitor_select:after {
  content: "";
  width: 8px;
  height: 8px;
  border: 0;
  border-bottom: solid 2px #7A86A1;
  border-right: solid 2px #7A86A1;
  transform: rotate(45deg);
  position: absolute;
  top: -2px;
  right: 16px;
  bottom: 0;
  margin: auto;
}
.ab_test .monitor_select::-ms-expand {
  display: none;
}
.ab_test .monitor_select select {
  max-width: inherit;
  width: 100%;
  height: 100%;
  background: none;
  color: #000;
  display: block;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: transparent;
  text-indent: 0.01px;
  padding: 0 45px 0 15px;
  border: none;
  border-radius: 3px;
  font-size: 16px;
  font-weight: 700;
  position: relative;
  z-index: 4;
}
.ab_test .monitor_select select::-ms-expand {
  display: none;
}
.ab_test .table_wrap {
  margin-bottom: 30px;
  padding-right: 20px;
  position: relative;
}
.ab_test .table_wrap::before {
  width: calc(100% + 20px);
  margin-left: -20px;
  height: 25px;
  background: #fff;
  content: "";
  position: absolute;
  left: 0;
  top: 0;
}
.ab_test .table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Roboto";
  font-size: 16px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}
.ab_test .table .red {
  color: #D64848;
}
.ab_test .table .green {
  color: #46A478;
}
.ab_test .table tr:first-of-type th:nth-child(1) {
  width: 100px;
  border-radius: 5px 0 0 0;
}
.ab_test .table tr:first-of-type th:nth-child(2), .ab_test .table tr:first-of-type th:nth-child(3) {
  width: calc(50% - 50px);
}
.ab_test .table tr:first-of-type th:nth-child(2) {
  background: #8B8B8B;
}
.ab_test .table tr:first-of-type th:nth-child(3) {
  background: #2271B1;
  border-radius: 0 5px 0 0;
}
.ab_test .table tr:nth-child(2) {
  font-family: "Noto Sans JP";
  font-size: 14px;
  font-weight: 700;
}
.ab_test .table tr:nth-child(2) img {
  margin-right: 5px;
  vertical-align: middle;
}
.ab_test .table tr:last-of-type th {
  border-bottom: none;
  border-radius: 0 0 0 5px;
}
.ab_test .table tr:last-of-type td {
  border-bottom: none;
}
.ab_test .table tr:last-of-type td:last-child {
  border-radius: 0 0 5px 0;
}
.ab_test .table th {
  padding: 12px 24px;
  color: #fff;
  white-space: nowrap;
}
.ab_test .table th:first-child {
  background: #1D2327;
  border-bottom: 1px solid #fff;
  color: #fff;
  font-size: 14px;
}
.ab_test .table td {
  width: 25%;
  background: #fff;
  border: 1px solid #C2C2C2;
  text-align: center;
}
.ab_test .table td:last-child {
  border-right: none;
}
.ab_test .graph {
  padding-right: 20px;
}
.ab_test .graph .graph_head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.ab_test .graph .graph_title {
  margin: 0 12px 8px 0;
}
.ab_test .graph .graph_date {
  margin-bottom: 8px;
  font-family: "Roboto";
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}
.ab_test .graph .graph_box {
  padding: 24px;
  background: #fff;
  border-radius: 5px;
}
@media screen and (max-width: 782px) {
  .ab_test .ab_select_list {
    display: block;
  }
  .ab_test .ab_select_list li {
    width: 100%;
    margin-bottom: 8px;
  }
  .ab_test .ab_select_list li:last-child .ab_select select {
    font-size: 14px;
  }
  .ab_test .ab_select {
    height: 50px;
  }
  .ab_test .ab_select:after {
    width: 5px;
    height: 5px;
    right: 12px;
  }
  .ab_test .ab_select .ab_select_title {
    top: 8px;
    left: 12px;
    font-size: 12px;
  }
  .ab_test .ab_select select {
    padding: 18px 25px 0 12px;
    font-size: 16px;
  }
  .ab_test .monitor_box .monitor_inner {
    padding: 24px 16px;
  }
  .ab_test .monitor_select:after {
    width: 5px;
    height: 5px;
    right: 12px;
  }
  .ab_test .table_wrap .table_scroll {
    overflow: scroll;
  }
  .ab_test .table {
    min-width: 756px;
  }
}
@media screen and (max-width: 1024px) {
  .ab_test .monitor_box {
    display: block;
  }
  .ab_test .monitor_off {
    width: 100%;
    margin-bottom: 48px;
  }
  .ab_test .monitor_on {
    width: 100%;
  }
  .ab_test .monitor_on .monitor_title {
    margin-bottom: 32px;
    justify-content: center;
    flex-direction: column;
  }
  .ab_test .monitor_on .monitor_title p {
    margin-bottom: 8px;
  }
}

/* 日付ピッカー用のスタイルを他のセレクトボックスと統一 */
.ab_test .ab_select .datepicker-display {
  max-width: inherit;
  width: 100%;
  height: 100%;
  background: #fff;
  color: #000;
  display: block;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: transparent;
  text-indent: 0.01px;
  padding: 15px 45px 0 24px; /* ターゲティングIDのスタイルに合わせる */
  border: none;
  border-radius: 3px;
  font-family: "Roboto";
  font-size: 18px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

/* フォーカスされたときの枠を消すスタイルはそのまま維持 */
.ab_test .ab_select .datepicker-display:focus {
  outline: none;
  box-shadow: none;
  border-color: #999;
}

/* カレンダー用の矢印をターゲティングIDと同じように表示する */
.ab_test .ab_select .datepicker-display:after {
  content: "";
  width: 8px;
  height: 8px;
  border: 0;
  border-bottom: solid 2px #7A86A1;
  border-right: solid 2px #7A86A1;
  transform: rotate(45deg);
  position: absolute;
  top: 0;
  right: 27px;
  bottom: 0;
  margin: auto;
}

.frame-container.desktop {
  height: 400px;
}

.frame-container.mobile {
  height: 530px;
}

.desktop .iframe-preview {
  transform: scale(0.55, 0.55);
  transform-origin: 50% 0;
  width: 1024px;
  height: 720px;
}

.mobile .iframe-preview {
  transform: scale(0.7, 0.7);
  transform-origin: 50% 0;
  width: 432px;
  height: 768px;
}
