@charset "UTF-8";

/**
 * トップページcss
 */

.no_colorlink {
  color: #000 !important;
}

.top_areacolumn {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.top_areacolumn-conts {
  margin-right: 12px;
  margin-bottom: 12px;
}

.top_areacolumn-conts:last-of-type {
  margin-right: 0;
}

.top_areacolumn-conts a {
  display: block;
  border: 1px solid #999;
  box-sizing: border-box;
  padding: 8px 24px;
  border-radius: 100px;
  text-decoration: none;
  color: #000000 !important;
  background: #fff;
  transition: all 0.1s linear 0s;
}

.top_areacolumn-conts a:hover {
  background: rgba(var(--tcd-accent-color, 0, 0, 0), 1);
  border-color: rgba(var(--tcd-accent-color, 0, 0, 0), 1);
  color: #fff !important;
  text-decoration: none !important;
}


/* レスポンシブ・スマホ対応
************************************/
@media only screen and (max-width: 800px) {
  .top_cliniclist,
  .top_cliniclist tbody{
    display: block;
  }

  .top_cliniclist tbody tr{
    display: flex;
    flex-wrap: wrap;
  }

  .top_cliniclist tbody tr td{
    display: block;
    width: 50% !important;
    box-sizing: border-box;
    border-top: none;
    padding: 12px 6px;

    font-size: clamp(12px, 4vw, 15px);
  }

  .top_cliniclist tbody tr:first-of-type td:first-of-type,
  .top_cliniclist tbody tr:first-of-type td:nth-of-type(2){
    border-top: 1px solid #ddd;
  }

  .top_cliniclist tbody tr td:nth-of-type(2n){
    border-left: none;
  }

  .top_areacolumn-conts{
    margin-right: 8px;
    margin-bottom: 8px;
  }

  .top_areacolumn{
    justify-content: flex-start;
  }

  .top_areacolumn-conts a{
    padding: 8px 18px;
  }
}