/* product_detail */
.product_detail_header {
  background: black;
  z-index: 2;
}

.ec-headerNav .ec-productHeaderNav__item {
  display: none;
}

.ec-layoutRole .ec-layoutRole__productContents {
  margin-right: auto;
  margin-left: auto;
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  flex-grow: 1;
}

.ec-productRole {
  margin: 0 auto;
  padding: 10px 20px;
  box-sizing: border-box;
  font-size: 16px;
  line-height: 1.4;
  color: #525263;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  max-width: 1440px;
}

.product-page-arrows1 {
  display: none;
}

.product-page-arrows2 {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
  margin-bottom: 10px;
}

.product-arrow {
  color: white;
  font-size: 12px;
  text-decoration: underline;
}

.product-arrow:hover {
  opacity: 75%;
}

.product-detail-grid {
  display: grid;
  gap: 0px;
  grid-template-columns: 1fr;
}

.product-detail-grid .product-detail-grid__cell {
  width: 100%;
  order: 3;
  margin-bottom: 300px;
}

.product-detail-grid .product-detail-grid__cell2 {
  width: 100%;
  order: 2;
  display: none;
}

.product-detail-grid .product-detail-grid__cell3 {
  width: 100%;
  order: 1;
  margin-bottom: 0px;
  position: relative;
}

.ec-productRole .ec-productRole__tags {
  margin-top: 16px;
  padding: 0;
  border: none;
}

.product-img-area {
  margin: 0 auto;
  width: 100%;
  margin-top: 12px;
  margin-bottom: 12px;
}

.product_visual {
  margin: 0 auto;
  width: 100%;
  max-width: 300px;
}

.product_visual_realtime {
  margin: 0 auto;
  width: 100%;
  max-width: 300px;
}

.product-main-img {
  display: block;
  aspect-ratio: 1;
  object-fit: cover;
}

.product-sliderRole {
  margin: 4px auto 0px;
  width: 100%;
  max-width: 300px;
}

.product-img-area .product_nav {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 5px;
  margin-top: 16px;
  margin-bottom: 0;
  height: 85px;
  overflow-y: scroll;
}

.product-img-area .product-thumb {
  margin-bottom: 0px;
  width: 100%;
  opacity: 0.8;
  cursor: pointer;
}

.product-favorite-area {
  display: flex;
  width: 40px;
  position: absolute;
  bottom: 3px;
  right: 70px;
}

.product-favorite-area2 {
  display: flex;
  width: 40px;
  position: absolute;
  bottom: 3px;
  right: 110px;
}

.ec-productRole .ec-productRole__number {
  display: none;
}

.ec-productRole .ec-productRole__number2 {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgb(116, 116, 116);
  position: fixed;
  top: 0;
  left: 20px;
  z-index: 1;
  background-color: rgb(44, 44, 44);
  width: 100%;
  height: 50px;
  transform: translateX(0);
}

.ec-productRole .ec-productRole__auctionNo {
  display: none;
}

.ec-productRole .ec-productRole__rank {
  display: none;
}

.ec-productRole .ec-productRole__rank2 {
  display: flex;
  padding: 5px 0;
  border-bottom: 1px solid rgb(116, 116, 116);
}

.product-rank-icon {
  border: 1px solid rgb(239, 227, 208);
  border-radius: 0.25rem;
  background-color: rgb(239, 227, 208);
  color: rgb(44, 44, 44);
  padding: 0px 5px;
  margin-left: 5px;
}

.ec-productRole .ec-productRole__code {
  padding: 5px 0;
  border-bottom: 1px solid rgb(116, 116, 116);
}

.next-product-area {
  width: 50%;
  margin-top: 10px;
}

.next-product-title {
  display: flex;
  font-size: 0.75rem;
}

.next-product-box {
  display: flex;
  align-items: center;
  margin: 0 auto;
  padding: 0px;
  width: 100%;
  border: 1px solid rgb(239, 227, 208);
  height: 85px;
}

.next-product-box .next-product-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
}

.next-product-box .next-product {
  width: 100%;
  padding: 8px;
  position: relative;
}

.next-product-number {
  position: absolute;
  bottom: 10px;
  left: 17px;
  color: white;
  font-size: 8px;
}

.next-product-img {
  display: block;
  aspect-ratio: 1;
  object-fit: cover;
}

.selling-bar-area {
  width: 100%;
  margin-top: 0px;
}

.not-selling-bar {
  width: 100%;
  height: 24px;
  border: 1px solid rgb(116, 116, 116);
  border-radius: 10px;
  background-color: rgb(116, 116, 116);
  margin: 0 auto;
}

.almost-selling-bar {
  width: 100%;
  height: 24px;
  border: 1px solid rgb(245, 98, 31);
  border-radius: 10px;
  background-color: rgb(245, 98, 31);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  color: rgb(255, 255, 255);
}

.selling-bar {
  width: 100%;
  height: 24px;
  border: 1px solid rgb(42, 130, 245);
  border-radius: 10px;
  background-color: rgb(42, 130, 245);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  color: rgb(255, 255, 255);
}

.price-area {
  width: 100%;
  margin-top: 5px;
  display: grid;
  grid-template-columns: 1fr;
}

.price-area1 {
  display: none;
}

.price-area2 {
  width: 80%;
  margin: 0 auto 10px;
  display: flex;
  flex-flow: column;
  justify-content: center;
}

.cell3-content {
  display: flex;
  margin-top: 40px;
}

.start-price {
  margin: 0 auto;
  color: rgb(255, 255, 255);
  order: 1;
  font-size: 0.8rem;
}

.now-price {
  margin: 0 auto;
  color: rgb(255, 182, 70);
  order: 2;
  font-size: 0.8rem;
}

.now-price-str {
  font-size: 1rem;
}

.product-action-area1 {
  display: flex;
  justify-content: space-between;
  margin: 20px 0px;
}

.product-action-area2 {
  display: none;
}

.product-action {
  margin: 5px 20px 0px 0px;
}

.favorite-button-for-product-detail {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #ccc;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

.reload-button-for-product-detail {
  width: 40px;
  height: 24px;
  border-radius: 5px;
  border: 1px solid #ccc;
  background-color: white;
  color: rgb(42, 130, 245);
  cursor: pointer;
  font-size: 10px;
  margin-top: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-memo-area1 {
  display: block;
  margin: 20px 0px;
  padding: 20px 0px;
  border-top: 1px solid rgb(116, 116, 116);
  border-bottom: 1px solid rgb(116, 116, 116);
}

.product-memo-area2 {
  display: none;
}

.memo-action-area {
  display: flex;
  justify-content: space-between;
}

.memo-modal-button {
  border: none;
  color: rgb(239, 227, 208);
  background-color: rgb(44, 44, 44);
  cursor: pointer;
}

.product-correction-list-area1 {
  display: block;
  margin: 0px 0px 20px;
  padding: 0px 0px 20px;
  border-bottom: 1px solid rgb(116, 116, 116);
}

.product-correction-list-area2 {
  display: none;
}

.contact-area1 {
  display: flex;
  justify-content: end;
}

.contact-area2 {
  display: none;
}

.admin-edit-area1 {
  display: flex;
  justify-content: end;
  margin-top: 5px;
  margin-right: 5px;
}

.admin-edit-area2 {
  display: none;
}

.back-index-area1 {
  display: flex;
  justify-content: end;
  margin-top: 5px;
  margin-right: 5px;
}

.back-index-area2 {
  display: none;
}

.contact-modal-button {
  border: none;
  color: rgb(255, 255, 255);
  background-color: rgb(44, 44, 44);
  cursor: pointer;
}

.product-overlay {
  background: rgba(0, 0, 0, 0.75);
  width: 100%;
  height: 35%;
  transform: translateX(0);
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 1;
  transition: z-index 0ms 1ms;
  border-top: solid 0.5px rgb(245, 98, 31);
  display: flex;
  align-items: center;
}

.bid-form {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
}

.bid-button-area1 {
  display: none;
}

.bid-button-area2 {
  width: 80%;
  margin: 0 auto 10px;
  display: flex;
  justify-content: center;
}

.bid-button-area3 {
  width: 50%;
  margin: 10px auto 0;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
}

.auction-number-label {
  font-size: 0.75rem;
}

.switches {
  width: 80%;
  margin: 0 auto;
  padding-bottom: 20px;
  display: grid;
  gap: 0px;
  grid-template-columns: 1fr;
}

.switch-icons {
  display: flex;
  justify-content: center;
}

.timer-area1 {
  display: none;
}

.timer-area2 {
  display: flex;
  justify-content: center;
}

.timer {
  color: white;
  font-size: 1rem;
  padding-right: 20px;
}

.bid-switch {
  padding-right: 20px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.disabled-bid-switch {
  padding-right: 20px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.bid-icon-label {
  color: white;
  font-size: 0.75rem;
  margin-left: 5px;
}

.disabled-bid-icon-label {
  color: white;
  font-size: 0.75rem;
  margin-left: 5px;
}

.voice-switch {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.voice-icon-label {
  color: white;
  font-size: 0.75rem;
  margin-left: 5px;
}

.preview-input-area {
  width: 100%;
  margin: 0 auto;
  padding-bottom: 10px;
  display: block;
  text-align: center;
  order: 1;
}

.preview-input-flex {
  display: flex;
  justify-content: center;
}

.preview-input {
  margin: 0px 5px;
  color: rgb(0, 0, 0);
  width: 120px;
  border-radius: 0.25rem;
}

.preview-tender-message {
  text-align: center;
  color: red;
  order: 2;
}

.preview-button-area {
  width: 50%;
  margin: 0 auto;
  padding-bottom: 0px;
  display: flex;
  justify-content: center;
  order: 3;
}

.bid-label {
  width: 100%;
  height: 35px;
  border: solid 0.5px;
  border-radius: 5px;
  border-color: rgb(116, 116, 116);
  background-color: rgb(116, 116, 116);
  color: rgb(255, 255, 255);
  font-size: 14px;
}

.winning-label {
  width: 100%;
  height: 35px;
  border: solid 0.5px;
  border-radius: 5px;
  border-color: rgb(42, 130, 245);
  background-color: rgb(42, 130, 245);
  color: rgb(255, 255, 255);
  font-size: 14px;
}

.bid-label2 {
  width: 80%;
  height: 85px;
  border: solid 0.5px;
  border-radius: 5px;
  border-color: rgb(116, 116, 116);
  background-color: rgb(116, 116, 116);
  color: rgb(255, 255, 255);
  font-size: 14px;
}

.winning-label2 {
  width: 80%;
  height: 85px;
  border: solid 0.5px;
  border-radius: 5px;
  border-color: rgb(42, 130, 245);
  background-color: rgb(42, 130, 245);
  color: rgb(255, 255, 255);
  font-size: 14px;
}

.bid-confirm-button {
  padding: 8px 48px;
  border: solid 0.5px;
  border-radius: 5px;
  border-color: rgb(116, 116, 116);
  background-color: rgb(116, 116, 116);
  color: rgb(255, 255, 255);
  cursor: pointer;
  font-size: 15px;
}

.bid-confirm-button:hover {
  border-color: rgb(245, 98, 31);
  background-color: rgb(245, 98, 31);
  color: rgb(255, 255, 255);
}

.bid-button {
  padding: 8px 48px;
  border: solid 0.5px;
  border-radius: 5px;
  border-color: rgb(245, 98, 31);
  background-color: rgb(245, 98, 31);
  color: rgb(255, 255, 255);
  cursor: pointer;
  font-size: 15px;
}

.bid-button:hover {
  opacity: 0.75;
}

.bid-fix-button {
  padding: 8px 48px;
  border: solid 0.5px;
  border-radius: 5px;
  border-color: rgb(116, 116, 116);
  background-color: rgb(116, 116, 116);
  color: rgb(255, 255, 255);
  cursor: pointer;
  font-size: 15px;
  margin-top: 5px;
  margin-left: 0px;
}

.bid-fix-button:hover {
  opacity: 0.75;
}

.bid-select-area {
  width: 80%;
  margin: 0 auto;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr;
}

.bid-select-item {
  padding: 8px;
  border: solid 0.5px;
  border-radius: 5px;
  border-color: rgb(255, 255, 255);
  background-color: rgb(0, 0, 0);
  color: rgb(255, 255, 255);
  font-size: 0.75rem;
}

.bid-select-item:hover {
  border-color: rgb(255, 182, 70);
  background-color: rgb(255, 182, 70);
  color: rgb(0, 0, 0);
}

.bid-disabled-item {
  padding: 8px;
  border: solid 0.5px;
  border-radius: 5px;
  border-color: rgb(116, 116, 116);
  background-color: rgb(116, 116, 116);
  color: rgb(255, 255, 255);
  font-size: 0.75rem;
}

.disabled-bid-description {
  width: 80%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  color: white;
  font-size: 15px;
}

.font-weight-bold {
  font-weight: bold;
}

/* 落札メッセージモーダル */
.message-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
  width: 100%;
  height: 100%;
}

.message-modal.small {
  width: 30%;
}

.message-modal.full {
  width: 100%;
  height: 100%;
}

.message-modal .message-modal-overlay {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.3);
  width: 100%;
  height: 100%;
}

.message-modal .message-modal-wrap {
  position: relative;
  border-radius: 0.25rem;
  border: 1px solid #333;
  background-color: #fff;
  width: 90%;
  margin: 20px;
  padding: 40px 5px;
}

.order-by {
  margin-top: 10px;
}

.event_status {
  margin-top: 10px;
}

.auction_result_status {
  margin-top: 10px;
}

.product_maker_id {
  margin-top: 10px;
}

.listing_category_id {
  margin-top: 10px;
}

@media (min-width: 768px) {
  .price-area {
    width: 100%;
    margin: 5px auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .bid-label2 {
    height: 150px;
  }

  .winning-label2 {
    /* width: 344px; */
    height: 150px;
  }

  .start-price {
    margin: 0 auto;
    color: rgb(255, 255, 255);
    order: 1;
    font-size: 1rem;
  }

  .now-price {
    margin: 0 auto;
    color: rgb(255, 182, 70);
    order: 2;
    font-size: 1rem;
  }

  .now-price-str {
    font-size: 1.5rem;
  }

  .product_visual {
    max-width: 690px;
  }

  .product_visual_realtime {
    max-width: 690px;
  }

  .product-sliderRole {
    max-width: 690px;
  }

  .product-img-area .product_nav {
    height: 170px;
  }

  .next-product-box {
    padding: 10px 20px;
    height: 150px;
  }

  .next-product-number {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 12px;
  }

  .next-product-box .next-product-visual {
    gap: 16px;
  }

  .preview-input-area {
    width: 50%;
  }

  .preview-input {
    width: 136px;
  }

  .message-modal .message-modal-wrap {
    padding: 40px 10px;
    width: 50%;
    margin: 20px auto;
  }
}

@media screen and (min-width: 992px) {
  .product_detail_header {
    padding-bottom: 10px;
  }

  .ec-headerNav .ec-productHeaderNav__item {
    margin-left: 0;
    display: inline-block;
    font-size: 28px;
  }

  .product-page-arrows1 {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
  }

  .product-page-arrows2 {
    display: none;
  }

  .product-detail-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr 1fr 1fr;
  }

  .product-detail-grid .product-detail-grid__cell {
    order: 1;
  }

  .product-detail-grid .product-detail-grid__cell2 {
    order: 2;
  }

  .product-detail-grid .product-detail-grid__cell3 {
    order: 3;
    margin-bottom: 240px;
  }

  .product-action-area1 {
    display: none;
  }

  .product-action-area2 {
    display: flex;
    justify-content: space-between;
    margin: 20px 0px;
  }

  .product-memo-area1 {
    display: none;
  }

  .product-memo-area2 {
    display: block;
    margin: 20px 0px;
    padding: 20px 0px;
    border-top: 1px solid rgb(116, 116, 116);
    border-bottom: 1px solid rgb(116, 116, 116);
  }

  .product-correction-list-area1 {
    display: none;
  }
  
  .product-correction-list-area2 {
    display: block;
    margin: 0px 0px 20px;
    padding: 0px 0px 20px;
    border-bottom: 1px solid rgb(116, 116, 116);
  }

  .contact-area1 {
    display: none;
  }

  .contact-area2 {
    display: flex;
    justify-content: end;
  }

  .admin-edit-area1 {
    display: none;
  }

  .admin-edit-area2 {
    display: flex;
    justify-content: end;
    margin-top: 5px;
    margin-right: 5px;
  }

  .back-index-area1 {
    display: none;
  }

  .back-index-area2 {
    display: flex;
    justify-content: end;
    margin-top: 5px;
    margin-right: 5px;
  }

  .product-img-area {
    margin: 0 auto;
    width: 100%;
    margin-top: 0px;
    margin-bottom: 0px;
  }

  .product_visual {
    max-width: 288px;
  }

  .product_visual_realtime {
    max-width: 288px;
  }

  .product-sliderRole {
    margin: 4px auto 0px;
    max-width: 288px;
  }

  .product-img-area .product_nav {
    height: 70px;
  }

  .selling-bar-area {
    width: 100%;
    margin: 0 auto;
  }

  .cell3-content {
    display: block;
    margin-top: 0px;
  }

  .product-overlay {
    height: 20%;
  }

  .price-area1 {
    width: 100%;
    margin: 5px auto 0;
    display: flex;
    align-items: center;
  }

  .price-area2 {
    display: none;
  }

  .switches {
    width: 60%;
    display: grid;
    gap: 0px;
    grid-template-columns: 1fr 1fr 1fr;
  }

  .switch-icons {
    display: flex;
    justify-content: flex-end;
  }

  .bid-icon-label {
    font-size: 1rem;
  }

  .disabled-bid-icon-label {
    font-size: 1rem;
  }

  .voice-icon-label {
    color: white;
    font-size: 1rem;
    margin-left: 5px;
  }

  .bid-label {
    width: 140px;
    height: 45px;
  }

  .winning-label {
    width: 140px;
    height: 45px;
  }

  .timer-area1 {
    display: flex;
    justify-content: start;
  }

  .timer-area2 {
    display: none;
  }

  .timer {
    font-size: 1.5rem;
    width: 140px;
    padding-right: 0px;
  }

  .bid-button-area1 {
    width: 50%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
  }

  .bid-button-area2 {
    display: none;
  }

  .bid-button-area3 {
    display: none;
  }

  .bid-select-area {
    width: 50%;
    margin: 0 auto;
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  .bid-select-item {
    padding: 16px 8px;
    font-size: 1rem;
  }

  .bid-disabled-item {
    padding: 16px 8px;
    font-size: 1rem;
  }

  .disabled-bid-description {
    width: 50%;
    font-size: 1rem;
  }

  .next-product-area {
    width: 100%;
    margin-top: 0px;
  }

  .next-product-title {
    display: flex;
    font-size: 1rem;
  }

  .next-product-box {
    padding: 0px 10px 5px;
    height: 160px;
  }

  .next-product-box .next-product-visual {
    gap: 1px;
  }

  .negotiation-message {
    text-align: center;
    margin-top: 5px;
    color: red;
    order: 2;
  }

  .product-favorite-area {
    display: none;
  }

  .product-favorite-area2 {
    display: none;
  }

  .ec-productRole .ec-productRole__number {
    display: flex;
    justify-content: space-between;
    padding-bottom: 5px;
    border-bottom: 1px solid rgb(116, 116, 116);
  }
  
  .ec-productRole .ec-productRole__number2 {
    display: none;
  }

  .ec-productRole .ec-productRole__auctionNo {
    display: flex;
    align-items: center;
  }
  
  .ec-productRole .ec-productRole__rank {
    display: flex;
    padding: 5px 0;
    border-bottom: 1px solid rgb(116, 116, 116);
  }
  
  .ec-productRole .ec-productRole__rank2 {
    display: none;
  }

  .bid-fix-button {
    margin-top: 0px;
    margin-left: 5px;
  }
}

@media screen and (min-width: 1200px) {
  .product_visual {
    /* max-width: 464px; */
    max-width: 332px;
  }

  .product_visual_realtime {
    /* max-width: 488px; */
    max-width: 352px;
  }

  .product-sliderRole {
    max-width: 410px;
  }

  .product-img-area .product_nav {
    height: 100px;
  }

  .next-product-box {
    padding: 10px 20px;
    height: 200px;
  }

  .next-product-box .next-product-visual {
    gap: 16px;
  }

  .bid-label {
    width: 350px;
    height: 45px;
  }

  .winning-label {
    width: 350px;
    height: 45px;
  }

  .timer {
    font-size: 2rem;
    width: 140px;
  }
}

.auction_name {
  margin-top: 10px;
}