body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", HelveticaNeue, "Segoe UI", "游ゴシック体", YuGothic, "Yu Gothic M", "游ゴシック Medium", "Yu Gothic Medium", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN W3", HiraKakuProN-W3, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

#bg-border {
  top: 0;
  border: 2px solid rgb(52, 172, 139);
  border-radius: 10%;
  width: 98%;
  position: absolute;
  height: 1100px;
  z-index: -1;
  max-width: 1200px;
  margin-top: 91px;
}

#root {
  width: auto;
  margin-bottom: 80px;
  max-width: 1000px;
  margin: auto;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center
}

#root .contentTitle {
  color: white;
  border-radius: 1rem;
  text-align: center;
  padding: 2% 5% 0% 2%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  flex-wrap: nowrap;
}

#root .contentTitle img {
  width: 100%;
  padding-bottom: 2%;
}

@media screen and (max-width: 768px) {
  #root .contentTitle {
    margin: 0;
  }
}

#root .contentTitle .icon {
  width: 150px;
  height: auto;
  text-align: center;
}

@media screen and (max-width: 520px) {
  #root .contentTitle .icon {
    width: 28vw;
    margin: 2%;
  }
}

#root .contentTitle .icon img {
  width: 100%;
  height: auto;
}

#root .contentTitle span {
  display: inline-block;
  font-size: 38px;
  font-weight: normal;
  line-height: 1.2;
}

#root .contentTitle span em {
  font-weight: bold;
  background: linear-gradient(rgba(241, 241, 191, 0) 55%, #f1f1bf 55%, #f1f1bf 90%, #fff 90%);
}

@media screen and (max-width: 768px) {
  #root .contentTitle span {
    font-size: 3.75vw;
  }
}

#root .arrow {
  width: 100%;
  text-align: center;
  margin-bottom: 40px;
}

#root .productsWrap {
  overflow-x: scroll;
  overflow-y: hidden;
}

#root .productsWrap .lineupHeadTxt {
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  color: #0c779d;
  margin-bottom: 20px;
}

@media screen and (max-width: 520px) {
  #root .productsWrap .lineupHeadTxt {
    font-size: 24px;
    margin-bottom: 5px;
  }
}

#root .productsWrap .products {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

#root .productsWrap .products li {
  display: inline-table;
  width: 13.6%;
  margin: 0 1.5% 3%;
  position: relative;
}

@media screen and (max-width: 900px) {
  #root .productsWrap .products li {
    width: 17%;
  }
}

@media screen and (max-width: 700px) {
  #root .productsWrap .products li {
    width: 22%;
  }
}

@media screen and (max-width: 520px) {
  #root .productsWrap .products li {
    width: 30%;
  }
}

#root .productsWrap .products li::after {
  position: absolute;
  top: 2%;
  right: 5%;
  z-index: 5;
}

#root .productsWrap .products li a img {
  transition: box-shadow .3s;
  width: 100%;
  max-width: 180px;
  height: auto;
}

#root .productsWrap .products li a img:hover {
  -webkit-box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.08);
  -moz-box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.08);
  box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.08);
  transition: box-shadow .3s;
}

#scene-selector {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.scene-buttons {
  min-height: 64px;
  min-width: 190.5px;
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: 0.5rem;
  padding: 0.5rem 2rem;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  margin: 1rem;
  font-size: large;
  font-weight: bold;
  cursor: pointer;
  filter: drop-shadow(3px 3px 2px rgba(0, 0, 0, 0.3));
  transition: 0.5s;
}

.scene-buttons.selected {
  filter: none;
}

.scene-buttons>div>span {
  font-size: 0.8rem;
}

#travel-button {
  background-image: url(https://d3cej1t8rg2izd.cloudfront.net/hp-hikaku/img/travel.png);
}

#travel-button.selected {
  background-image: url(https://d3cej1t8rg2izd.cloudfront.net/hp-hikaku/img/travel-on.png);
}

#focus-button {
  background-image: url(https://d3cej1t8rg2izd.cloudfront.net/hp-hikaku/img/focus.png);
}

#focus-button.selected {
  background-image: url(https://d3cej1t8rg2izd.cloudfront.net/hp-hikaku/img/focus-on.png);
}

#vod-button {
  background-image: url(https://d3cej1t8rg2izd.cloudfront.net/hp-hikaku/img/vod.png);
}

#vod-button.selected {
  background-image: url(https://d3cej1t8rg2izd.cloudfront.net/hp-hikaku/img/vod-on.png);
}

#outdoor-button {
  background-image: url(https://d3cej1t8rg2izd.cloudfront.net/hp-hikaku/img/outdoor.png);
}

#outdoor-button.selected {
  background-image: url(https://d3cej1t8rg2izd.cloudfront.net/hp-hikaku/img/outdoor-on.png);
}

#durability-button {
  background-image: url(https://d3cej1t8rg2izd.cloudfront.net/hp-hikaku/img/durability.png);
}

#durability-button.selected {
  background-image: url(https://d3cej1t8rg2izd.cloudfront.net/hp-hikaku/img/durability-on.png);
}

/* Product Table */

#product-section {
  position: relative;
  width: 100%;
  display: flex;
  overflow: scroll;
  z-index: 990;
  margin-top: 2%;
}

#modal {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  position: absolute;
  display: flex;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  z-index: 99;
  align-items: center;
  transform: rotateX(180deg);
  -ms-transform: rotateX(180deg);
  -webkit-transform: rotateX(180deg);
  transition: 0.5s;
}

#modal.on {
  visibility: visible;
  opacity: 1;
}

#slide {
  max-width: 615px;
  min-height: 500px;
  background: white;
  border: solid 1px rgb(175 175 175);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2% 1%;
  filter: drop-shadow(0px 0px 15px rgba(0, 0, 0, 0.3));
  position: sticky;
}

#close {
  border: none;
  background: none;
  position: absolute;
  right: 0;
  top: 3%;
  cursor: pointer;
}

#product-section #slide #close img {
  max-width: 50px;
  width: 50%;
}

#slide>p {
  font-weight: bold;
  font-size: large;
  margin-bottom: auto;
}

#slide strong.blue {
  color: rgb(0, 112, 192);
}

#slide strong.red, #slide span.red {
  color: red;
}

#slide .small-txt {
  font-size: 12px;
}

#product-section #slide .slide-inner-wrapper {
  padding: 2% 5%;
}

#product-section #slide>p,
#product-section #slide>span {
  padding: 0 3%;
  display: block;
  text-align: left;
  margin-bottom: 2%;
}

#product-section #slide span.annotation {
  font-size: small;
}

#product-section #slide #detail-icon {
  margin-bottom: 1%;
  position: relative;
  max-height: 25px;
  left: unset;
}

#product-section #slide img {
  max-width: 50%;
  object-fit: contain;
}

#product-section #slide img.single {
  max-width: 100%;
  margin: 0;
}

#product-section #detail-image-wrapper {
  display: flex;
  justify-content: space-between;
  margin-bottom: auto;
  height: 30%;
  padding-top: 2%;
}

#product-section #detail-image-wrapper .circular-block {
  border-radius: 200px;
  max-width: 50%;
  vertical-align: middle;
  text-align: center;
  display: flex;
  align-items: center;
  color: white;
  font-weight: bold;
  background: rgba(237, 125, 49, 0.5);
  padding: 7%;
  margin: 1% 0 1% 2%;
}

#product-section .product-image {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  max-width: 204px;
  min-width: 204px;
  /* min-height: 204px; */
}

#product-section img {
  max-width: 195px;
}

#product-section .product-year {
  display: flex;
  flex-direction: row;
  align-content: center;
  justify-content: left;
  align-items: center;
  margin: 2%;
}

#product-section .product-year p {
  margin: 2%;
  font-size: small;
}

#product-section .loto-badge {
  position: absolute;
  display: flex;
  justify-content: center;
  bottom: 4%;
  display: flex;
  margin: 2%;
  width: 96%;
}

/* #products-table {
  min-width: 1425px;
} */

#table {
  margin-left: 0;
  margin-right: auto;
  background: white;
}

#table thead th {
  top: -8px;
  z-index: 998;
  outline: 2px solid rgb(222, 222, 222);
}

#table th {
  position: -webkit-sticky;
  position: sticky;
  background: white;
  left: 166px;
  z-index: 997;
}

#table th.spacer {
  outline: none !important;
  background: none !important;
}

#table thead tr th.stickLeft0 {
  z-index: 999;
  background: white;
  /* outline: 0px solid white; */
}

#table th.stickLeft0 {
  left: 2px;
  outline: 2px solid white;
  min-width: 120px;
  outline: 2px solid rgb(222, 222, 222);
  text-align: center;
}

#table th div.flex-th {
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
}

#table th div.flex-th>div {
  width: 50%;
}

#table th div.flex-th div span.sub-line {
  white-space: nowrap;
  font-size: 13px;
}

#table tr.active,
#table tr.active td {
  background: rgb(226, 239, 218);
}

#table td {
  min-width: 160px;
  max-width: 200px;
  padding: 1%;
  position: relative;
  text-align: center;
  background: rgba(255, 255, 255);
  outline: 2px solid rgb(222, 222, 222);
  /* vertical-align: baseline; */
}

#table .new-in-td {
  color: red;
  font-weight: bold;
  font-size: small;
}

#table tr.mpns th {
  outline: 2px solid white;
  background: rgb(91, 91, 91);
  color: white;
  outline: 2px solid rgb(222, 222, 222);
}

#table tr.mpns #tip-to-open {
  color: black;
  font-weight: normal;
  display: flex;
  align-items: center;
}

#table tr.imgs th {
  border: none;
  background: #fff;
  min-width: 162px;
  max-width: 203px;
  top: 2px;
}

#table tr.imgs th.spacer {
  min-width: unset;
}

#table tr.imgs th p.item-label {
  margin-bottom: -20%;
  position: relative
}

#table tr.imgs th img.campaign-badge {
  margin-top: -4%;
}

#table tr.imgs th img.new-badge {
  margin-top: -15%;
  max-width: 100px;
}

#th-image {
  max-width: 164px;
}

#th-mpn {
  display: flex;
  justify-content: center;
  background: white;
  height: 38px;
  position: absolute;
  width: 99%;
  line-height: 2rem;
}

#th-mpn a {
  color: #000;
}

#table tr.mpns th.stickLeft0 {
  background: white;
  outline: 0px solid rgb(222, 222, 222);
  transform: translate(0px, -27px);
}

#table tr.details {
  background: #fff;
}

#table tr.durability td {
  background: rgb(255, 255, 255);
  background: -moz-linear-gradient(0deg, rgba(255, 255, 255, 0) 49.5%, rgba(138, 138, 138, 1) 50%, rgba(255, 255, 255, 0) 50.5%);
  background: -webkit-linear-gradient(0deg, rgba(255, 255, 255, 0) 49.5%, rgba(138, 138, 138, 1) 50%, rgba(255, 255, 255, 0) 50.5%);
  background: linear-gradient(0deg, rgba(255, 255, 255, 0) 49.5%, rgba(138, 138, 138, 1) 50%, rgba(255, 255, 255, 0) 50.5%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff", endColorstr="#ffffff", GradientType=1);
}

#table tr.durability td:last-child {
  background: none;
}


#table tr.durability td div {
  min-height: 94px;
}

#table tr.durability td div img {
  width: 90%;
}

#table>tbody>tr>td>span {
  font-weight: bolder;
  font-size: 3rem;
  line-height: 1;
}

@-moz-document url-prefix() {
  #table>tbody>tr>td>span {
    line-height: unset;
  }
}

#table>tbody>tr>td>div {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
}

#table>tbody>tr.color>td>div,
#table>tbody>tr.weight>td>div {
  flex-direction: row;
}

#table>tbody>tr.weight>td>div span {
  font-size: 14px;
}

#table>tbody>tr>td>div>div {
  display: flex;
  align-items: center;
}

#table .color-dots {
  width: 20px;
  height: 20px;
  border-radius: 10px;
  margin: 0 1%;
}

#black.color-dots {
  background: black;
}

#beige.color-dots {
  background: #dad7cc;
}

#cream-yellow.color-dots {
  background: rgb(236, 237, 187);
  border: lightgray solid 1px;
}

#coral-orange.color-dots {
  background: #FF947C;
}

#dark-grey.color-dots {
  background: rgb(89, 89, 89);
}

#earth-blue.color-dots {
  background: #0079C3;
}

#ecru.color-dots {
  background: #9c8d78;
}

#grey.color-dots {
  background: #adadad;
}

#ice-blue.color-dots {
  background: rgb(204, 229, 236);
  border: lightgray solid 1px;
}

#ice-green.color-dots {
  background: #BAEFDD;
}

#ice-grey.color-dots {
  background: rgb(241, 243, 244);
  border: lightgray solid 1px;
}

#lavender.color-dots {
  background: #AFAAE3;
}

#sage-green.color-dots {
  background: #B6D48A;
}

#white.color-dots {
  background: white;
  border: lightgray solid 1px;
}

#table .resolution td {
  vertical-align: middle;
}

.table_icons {
  object-fit: contain;
}

.table_icons.tips {
  cursor: pointer;
  position: absolute;
  right: 0;
  top: 0;
  max-height: 33px;
}

.table_symbols {
  font-size: 3rem;
  color: red;
  font-weight: bolder;
  line-height: 3rem;
}

.table_symbols.emoji {
  margin-bottom: 12px;
}

#table .large-txt {
  font-size: 18px;
  font-weight: bolder;
}

@media only screen and (max-width: 999px) {
  #root .productsWrap {
    overflow-x: scroll;
    overflow-y: hidden;
    display: flex;
    justify-content: left;
  }

  #modal {
    width: 100vw;
    justify-content: left;
  }

  #slide {
    max-width: 80vw;
    min-height: unset;
    max-height: 80%;
    left: 7.5vw;
  }
}

@media only screen and (max-width: 852px) {
  #bg-border {
    border-radius: 6%;
  }

  #product-section .product-image {
    max-width: 195px;
    min-width: 195px;
  }

  #table tr.imgs th.spacer {
    min-width: 48px;
  }

  #table tr.imgs th img.campaign-badge {
    margin-top: 1%;
  }
}


@media only screen and (max-width: 768px) {
  #bg-border {
    border-radius: 3%;
    width: 98%;
    height: 820px;
    max-width: unset;
    margin-top: 56px;
  }

  .scene-buttons {
    min-height: 40px;
    min-width: 119px;
    border-radius: 0.5rem;
    padding: 0.2rem 0.5rem;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin: 0.2rem 0.5rem;
    font-size: small;
  }

  .scene-buttons.selected {
    background-size: contain;
    border: 1px;
    filter: none;
  }

  .scene-buttons>div>span {
    font-size: 0.5rem;
  }

  #table {
    font-size: small;
  }

  #product-section img {
    max-width: 127px;
  }

  #modal {
    background: rgba(0, 0, 0, 0.3);
    position: fixed;
  }

  #product-section #slide #title {
    padding: 0px 10%;
  }

  #product-section #slide .slide-inner-wrapper {
    padding: 14% 5%;
  }

  #product-section #detail-image-wrapper .circular-block {
    padding: 5% 5% 0px 5%;
    line-height: 1rem;
  }

  #product-section .product-year {
    flex-direction: column;
  }

  #table th {
    left: 54px;
  }

  #table th.stickLeft0 {
    min-width: unset;
  }

  #table th.stickLeft0 #campaign-banner1 {
    max-width: 155px;
  }

  #table tr.imgs th {
    min-width: unset;
    max-width: unset;
  }

  #table tr.imgs th.spacer {
    min-width: unset;
  }

  #table tr.imgs th p.item-label {
    margin-bottom: -15%;
  }

  #table tr.imgs th #th-image {
    max-width: 120px;
  }

  #table tr.names th {
    top: 59px;
    max-width: unset;
    outline: 2px solid white;
  }

  #table tr.mpns #tip-to-open {
    font-size: smaller;
  }

  #table tr.mpns th.stickLeft0 {
    transform: translate(0px, -18px);
  }

  #table tr.mpns th #th-mpn {
    height: 27px;
    line-height: normal;
  }

  #table>tbody>tr.noise-canceling {
    height: 60px;
  }

  #table th.stickLeft2 {
    max-width: 100px;
  }

  #table td {
    min-width: 50px;
    max-width: 85px;
    padding: 4px;
  }

  #table th div.flex-th {
    display: flex;
    justify-content: space-between;
    align-content: center;
    align-items: center;
  }

  #table th div.flex-th>div:nth-child(1) {
    flex-basis: 15%;
  }

  #table th div.flex-th>div:nth-child(2) {
    width: 68%;
  }

  #table tr.durability td div {
    min-height: 82px;
  }

  #table th div.flex-th>div>div {
    display: flex;
    justify-content: flex-end;
  }
}

@media only screen and (max-width: 520px) {
  #bg-border {
    margin-top: 29px;
  }

  #product-section img {
    max-width: 68px;
  }

  #product-section .product-image {
    max-width: 80px;
    min-width: 80px;
    max-height: 80px;
    min-height: unset;
  }

  #slide {
    left: 6.5vw;
  }

  #product-section #slide span.annotation {
    font-size: 0.5rem;
  }

  .table_icons.tips {
    right: -5px;
    top: -5px;
  }

  #table tr.imgs th.spacer {
    min-width: unset;
  }

  #table tr.imgs th p.item-label {
    margin-bottom: -5%;
    font-size: 0.7rem;
    white-space: nowrap;
  }

  #table tr.imgs th img.campaign-badge {
    margin-top: -1%;
  }

  #table tr.imgs th img.new-badge {
    max-width: 50px;
    margin-top: -15px;
  }

  #table th.stickLeft0 #campaign-banner1 {
    max-width: 131px;
  }

  #table th div.flex-th>div:nth-child(1) {
    text-orientation: upright;
    writing-mode: vertical-rl;
  }
}

@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) {

  /* IE10+ only */
  #bg-border {
    left: 0;
    right: 0;
    width: 100%;
    margin: 91px auto auto auto;
  }

  #slide {
    position: relative;
    display: block;
    border: 1px solid lightgrey;
    min-height: 570px;
  }

  #product-section #slide img {
    max-width: 43%;
    position: absolute;
    left: 7%;
  }

  #product-section #slide img.single {
    max-width: 86%;
  }

  #product-section #slide #close img {
    position: relative;
  }

  #product-section #detail-image-wrapper .circular-block {
    width: 29%;
    position: absolute;
    right: 7%;
  }

  #th-mpn {
    line-height: 3rem;
  }

  #table th.spacer, #table td.spacer {
    display: none;
  }

  .table_symbols {
    font-size: 3rem;
  }


  #product-section .loto-badge {
    position: inherit;
  }

}