@charset "UTF-8";

@media screen and (min-width: 768px) {
  .service_table {
    background: transparent;
    border-collapse: collapse;
    border-spacing: 0;
    border: 1px solid #e4dfd2;
    width: 100%;
    margin-bottom: 2rem;
    font-size: 12px;
    font-size: 1.2rem;
    color: #555555;
  }

  .service_table thead tr th {
    color: #6c3904;
    font-weight: bold;
  }

  .service_table thead tr th.jan {
    background-color: #f7f4ec;
    color: #6c3904;
    font-weight: bold;
    width: 15%;
  }

  .service_table thead tr th.name {
    background-color: #f7f4ec;
    color: #6c3904;
    font-weight: bold;
    width: 45%;
  }


  .service_table thead tr th.charge {
    background-color: #f7f4ec;
    color: #6c3904;
    font-weight: bold;
    width: 10%;
  }


  .service_table thead tr th.send {
    background-color: #f7f4ec;
    color: #6c3904;
    font-weight: bold;
    width: 10%;
  }


  .service_table thead tr th.day {
    background-color: #f7f4ec;
    color: #6c3904;
    font-weight: bold;
    width: 30%;
  }


  .service_table thead tr th {
    border: 1px solid #e4dfd2;
    background-color: white;
    padding: 6px 12px;
  }


  .service_table tbody tr th {
    border: 1px solid #e4dfd2;
    background-color: white;
    padding: 6px 12px;
  }

  .service_table tbody tr td {
    border: 1px solid #e4dfd2;
    background-color: white;
    padding: 6px 12px;
  }
  
}

/* スマートフォン用のスタイル記述 */
@media screen and (max-width: 767px) {
  .service_table {
    display: block;
    background: #ffffff;
    border: none;
  }

  .service_table thead{
    display: none;
    border: none;
  }

  .service_table tbody{
    display: block;
    border: none;
  }

   .service_table tbody tr{
    display: block;
    margin-bottom: 1.5rem;
    border: none;
  }

  .service_table th,
  .service_table td{
    display: list-item;
    border: none;
    font-size: 12px;
    font-size: 1.2rem;
    padding-left: 10px;
  }

  .service_table tbody th{
    margin-bottom: 5px;
    list-style-type: none;
    color: #6c3904;
    background: #f7f4ec;
    border: none;
  }

  .service_table tbody td{
    margin-left: 20px;
    list-style-type: none;
    border: none;
  }

  .service_table tbody td:nth-of-type(1):before { content: "[商品名]"; }
  .service_table tbody td:nth-of-type(2):before { content: "[落札金額]"; }
  .service_table tbody td:nth-of-type(3):before { content: "[送料]"; }
  .service_table tbody td:nth-of-type(4):before { content: "[落札日]"; }
  .service_table tbody td:after {
    content: "";
    display: table;
    clear: both;
  }
}