/*-------------------------------------------------------------------
trade.css
取付店舗一覧
-------------------------------------------------------------------*/

@charset "utf-8";


body {
  font-family: "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3";
  line-height: 1.25;
}

h1 {
  background: #449d44;
  color: #fff;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
/*  margin: 0 0 20px;*/
  margin: 0 auto;
  margin-bottom: 10px;
  padding: 8px 10px;
  width: 900px;
}

.h_title {
  border: 1px solid #bbb;
  text-align: center;
  font-size: .85em;
  margin: 0 auto;
  margin-bottom: 10px;
/*  padding: 0;*/
  padding: .35em;
  width: 900px;
}

.h_shop {
  background: #0099FF;
  color: #fff;
}

.h_area {
  background: #000;
  color: #fff;
}

.h_airyshop {
  background: #FF3300;
  color: #fff;
}

.note {
  margin: 0 auto;
  margin-bottom: 10px;
  padding: 8px 10px;
  width: 900px;
}

.caution {
  color: #FF0000;
}


table {
  border-collapse: collapse;
  margin: 0 auto;
  margin-bottom: 10px;
  padding: 0;
  width: 900px;
  table-layout: fixed;
}

table tr {
  background-color: #fff;
  border: 1px solid #2F2F2F;
  padding: .35em;
}
table th,
table td {
  padding: 1em 10px 1em 1em;
  border-right: 1px solid #2F2F2F;
}
table th {
  font-size: .85em;
}
table thead tr{
  background-color: #DAD4C7;
}

table.trademain th:nth-child(1),
table.airytrademain th:nth-child(1) {
  width: 50%;
}
table.trademain th:nth-child(2),
table.airytrademain th:nth-child(2) {
  width: 32%;
}
table.trademain th:nth-child(3),
table.airytrademain th:nth-child(3) {
  width: 5%;
}
table.trademain th:nth-child(4),
table.airytrademain th:nth-child(4) {
  width: 13%;
}


/* 詳細画面 */
table.tradesub th{
  background-color: #DAD4C7;
}

table.tradesub th:nth-child(1) {
  width: 30%;
}
table.tradesub th:nth-child(2) {
  width: 70%;
}

.txt{
   text-align: left;
   font-size: .85em;
}
.price{
   text-align: right;
}

.mark {
  display: flex;
  margin:auto;
}

.mark_ss, .mark_sec, .mark_phone, .mark_air {
  line-height: 1.8;
  text-align: left;
/*  display: block;*/
  margin-bottom: 2px;
  margin-right: 5px;
}

/* SS取付店マーク */
.mark_ss::before {
  content: "";
  display: inline-block;
  width: 40px;
  height: 40px;
  background-image: url('../chumon/trade/image/mark_ss.jpg');
  background-position: center;
  vertical-align: middle;
  background-size: contain;
  margin-right: 5px;
}
/*
.mark_ss::before {
  content:"SS";
  padding:5px 15px;
  margin:auto;
  background:#EA4335;
  color:#fff;
  border-radius: 10px; 
  font-size:12px;
  font-weight: bold;
} 
*/

/* セキュリティ取付店マーク */
.mark_sec::before {
  content: "";
  display: inline-block;
  width: 40px;
  height: 40px;
  background-image: url('../chumon/trade/image/mark_sec.jpg');
  background-position: center;
  vertical-align: middle;
  background-size: contain;
  margin-right: 5px;
}
/*
.mark_sec::before {
  content:"ｾｷｭﾘﾃｨ";
  padding:5px 10px;
  margin:auto;
  background:#4285F4;
  color:#fff;
  border-radius: 10px; 
  font-size:12px;
  font-weight: bold;
} 
*/
/* ｽﾏﾎ対応取付店マーク */
.mark_phone::before {
  content: "";
  display: inline-block;
  width: 40px;
  height: 40px;
  background-image: url('../chumon/trade/image/mark_phone.jpg');
  background-position: center;
  vertical-align: middle;
  background-size: contain;
  margin-right: 5px;
}
/*
.mark_phone::before {
  content:"ｽﾏﾎ対応";
  padding:5px 10px;
  margin:auto;
  background:#34A853;
  color:#fff;
  border-radius: 10px; 
  font-size:12px;
  font-weight: bold;
} 
*/
/* Airy取付店マーク */
.mark_air::before {
  content: "";
  display: inline-block;
  width: 40px;
  height: 40px;
  background-image: url('../chumon/trade/image/mark_air.jpg');
  background-position: center;
  vertical-align: middle;
  background-size: contain;
  margin-right: 5px;
}
/*
.mark_air::before {
  content:"ｼｬｯﾀｰﾘﾓｺﾝ";
  padding:5px 10px;
  margin:auto;
  background:#FBBC05;
  color:#fff;
  border-radius: 10px; 
  font-size:12px;
  font-weight: bold;
} 
*/
/* 地図マーク */
.mark_map::after {
  font-family: "Font Awesome 5 Free";
  content: "\f3c5";
  padding:5px 10px;
  margin:auto;
  color: #333;
  font-size:20px;
  font-weight: bold;
}

/* リンク下線なし */
.nolink a {
  text-decoration: none;
}


.box {
  width: 450px;
/*  height: 100px;*/
}

.container {
  margin: 0 auto;
  margin-bottom: 30px;
  width: 900px;
  display: flex;
  justify-content: space-between;
  text-align: center;
}


/* 自動車関連部品取付業者 検索 */
.shop_car {
  background: #0099FF;
  color: #fff;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  margin: 0 auto;
  margin-bottom: 10px;
  padding: 8px 10px;
  width: 90%;
}

/* シャッターリモコン取付業者 検索 */
.shop_airy {
  background: #FF3300;
  color: #fff;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  margin: 0 auto;
  margin-bottom: 10px;
  padding: 8px 10px;
  width: 90%;
}

/* シャッターリモコン取付店舗様一覧へ */
.airylist {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 250px;
  margin: 0 auto;
  padding: 5px 20px 5px 20px;
  border: none;
  border-radius: 10px;
  background: #ffd98a;
  color: #000;
  font-weight: bold;
  font-size: 1em;
}

.airylist a {
  text-decoration: none;
}

.airylist a:link, a:visited, a:hover, a:active, a:focus {
  color: #000;
}

.airylist::after {
  font-size: 1.5em;
  width: 1.5em;
  height: 1.5em;
  margin-left: 5px;
  margin-top: 8px;
  font-family: "Font Awesome 5 Free";
  content: "\f150";
}

.airylist:hover {
  opacity: 0.4;
}

/* 地域名 */
.shop_area {
  list-style:none;
  padding-left: 2em;
  text-align: left;
  font-size: 14px;
}

ul.shop_area li {
  margin-bottom: 5px;
}

ul.shop_area li a {
  display: block;
  width: 80%;
}

ul.shop_area li a:hover {
  opacity: 0.4;
}

.cat_area {
  position: relative;
  background: #ffd98a;
  padding: 5px 25px 5px 25px;
  color: #474747;
  border-radius: 0 10px 10px 0;
  text-decoration: none;
}

.cat_area:before {
  font-family: "Font Awesome 5 Free";
  content: "\f041";
  font-size: .85em;
  display: inline-block;
  line-height: 22px;
  position: absolute;
  padding: 0em;
  color: white;
  background: #ffa337;
  font-weight: bold;
  width: 22px;
  text-align: center;
  height: 22px;
  left: -1.35em;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  border: solid 3px white; 
  border-radius: 50%;
}



@media screen and (max-width: 600px) {
  h1 ,h2 ,.h_title {
    width: 98%;
  }
  table {
    border: 0;
    width:100%
  }
  table th{
    background-color: #eee;
    display: block;
    border-right: none;
  }
  table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  background-color: #DAD4C7;
  }
  
  table tr {
    display: block;
    margin-bottom: .625em;
  }
  
  table.trademain td,
  table.airytrademain td {
    border-bottom: 1px solid #bbb;
    display: block;
    font-size: .8em;
    text-align: left;
    position: relative;
    padding: .625em .625em .625em 10em;
    border-right: none;
  }
  
  table.trademain td::before,
  table.airytrademain td::before {
    content: attr(data-label);
    font-weight: bold;
    position: absolute;
    left: 10px;
  }
  

  table.tradesub td {
    border-bottom: 1px solid #bbb;
    display: block;
    font-size: .8em;
    text-align: left;
    position: relative;
    padding: .625em;
    border-right: none;
  }


  table td:last-child {
    border-bottom: 0;
  }

  .container {
    flex-wrap: wrap;
    width: 98%;
  }

  .box {
/*    width: 98%;*/
  }

  .note {
    width: 98%;
  }


}
