@charset "utf-8";

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

@media screen and (min-width: 740px) {
  .sp-only {
    display: none;
  }
}

@media screen and (max-width: 739px) {
  .pc-only {
    display: none;
  }
}

#main {
  margin-bottom: 20px;
  border-top: 2px solid #fff;
}

#main img {
  width: 100%;
}

.ttl {
  margin-bottom: 20px;
  padding: 0 0 4px 45px;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  line-height: 36px;
  background: url(../img/top/bg_ttl.png) no-repeat -5px 0;
}

#mole,
#etc,
#consul {
  margin-bottom: 40px;
}

#mole_bnrs li,
#etc_bnrs li {
  margin: 0 10px 20px;
}

#mole_bnrs li figure,
#etc_bnrs li figure {
  float: right;
  width: 80px;
  margin: 0 0 10px 10px;
}

#mole_bnrs li dt,
#etc_bnrs li dt {
  padding-left: 17px;
  background: url(../img/top/ico_bnrs_sp.png) no-repeat left center;
}

#mole_bnrs li dt a,
#etc_bnrs li dt a {
  display: block;
  margin-bottom: 5px;
  color: #006e62;
  font-weight: bold;
  font-size: 15px;
  line-height: 20px;
}

#mole_bnrs li dd,
#etc_bnrs li dd {
  color: #555;
  font-size: 13px;
  line-height: 20px;
}

#consul h2 {
  width: 320px;
  margin: 0 auto;
}

#consul_inner {
  width: 268px;
  margin: 0 auto;
  padding: 0 20px 20px;
  background: url(../img/top/bg_consul_inner.png);
  border: 6px solid #a0cde6;
  border-top: none;
}

#pregnancy {
  margin: 0 10px 40px;
}

#consul_inner li {
  margin-bottom: 20px;
}

.consul_txt {
  display: block;
  margin-top: 5px;
  color: #333;
  font-size: 13px;
  line-height: 20px;
  text-decoration: none;
}

.consul_txt:hover {
  color: #333;
  text-decoration: underline;
}

#btn_etc {
  display: none;
}

#lnk_etc {
  display: block;
  font-size: 13px;
  line-height: 20px;
  text-align: center;
}

#clinic {
  margin: 0 10px 40px;
}

#clinic h2 {
  margin-bottom: 20px;
  padding: 5px 0 5px 16px;
  color: #333;
  font-weight: bold;
  font-size: 16px;
  line-height: 20px;
  background: url(../img/top/bg_t_clinic.png) no-repeat left center;
}

#specialities_1,
#specialities_2,
#specialities_3 {
  margin-bottom: 10px;
}

#specialities_1 li,
#specialities_2 li,
#specialities_3 li {
  display: inline;
  float: left;
  margin-right: 10px;
  padding: 5px 10px;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  text-align: center;
  background: #f47d3d;
  border-radius: 5px;
}

#specialities_1 li:last-child,
#specialities_2 li:last-child,
#specialities_3 li:last-child {
  margin-right: 0;
}

#specialities_1 li {
  background: #f47d3d;
}

#specialities_2 li {
  background: #00a79e;
}

#specialities_3 li {
  background: #50a85a;
}

#clinic p {
  font-size: 14px;
  line-height: 25px;
}

#clinic .large {
  color: #c00;
  font-weight: bold;
  font-size: 18px;
  line-height: 30px;
}

#clinic .large a {
  color: #c00;
}

@media screen and (min-width: 740px) {
  #clinic .large a {
    pointer-events: none;
    text-decoration: none;
  }
}

#p_clinic,
#specialities_details {
  display: none;
}

#i_clinic {
  width: 280px;
  margin: 0 auto 40px;
}

#time_table {
  display: none;
}

.time_table {
  width: 100%;
  margin-bottom: 10px;
  font-size: 13px;
  border: 1px solid #ccc;
  border-collapse: collapse;
}

.time_table th {
  padding: 5px;
  font-weight: bold;
  line-height: 1.4;
  text-align: center;
  background-color: #eee;
  border: 1px solid #ccc;
}

.time_table td {
  padding: 5px;
  line-height: 1.4;
  text-align: center;
  background: #fff;
  border: 1px solid #ccc;
}

.time_table .close {
  color: #c41f39;
  font-weight: bold;
  background: #faf0ee;
}

.time_table .separate {
  border-bottom: 2px solid #ccc;
}

.time_table th.week {
  width: 10%;
}

.time_table th.sat {
  color: #007ca5;
  background-color: #e4f4f5;
}

.time_table th span {
  font-size: 12px;
}

#clinic_time {
  margin-bottom: 20px;
}

p#clinic_time_ex {
  color: #f33;
  font-weight: bold;
  font-size: 12px;
  line-height: 15px;
  text-align: right;
}

#clinic_etc,
#clinic_etc dl {
  margin-bottom: 20px;
}

#clinic_etc dt {
  display: inline;
  float: left;
  width: 75px;
  padding: 5px 5px 0 0;
  color: #333;
  font-weight: bold;
  font-size: 13px;
  line-height: 20px;
}

#clinic_etc dd {
  display: inline;
  float: left;
  width: 207px;
  margin-bottom: 10px;
  padding: 5px 0 5px 10px;
  color: #333;
  font-size: 13px;
  line-height: 20px;
  border-left: 3px solid #ccc;
}

#clinic_etc dd:last-child {
  margin-bottom: 0;
}

#clinic_etc #map {
  margin-bottom: 0;
}

#btn_access {
  width: 300px;
  margin: 0 auto;
}

@media screen and (min-width: 740px) {
  #main {
    width: 740px;
    margin: 0 auto 20px;
    border-top: none;
  }
  .ttl {
    background: url(../img/top/bg_ttl.png) no-repeat;
  }
  #mole_bnrs,
  #etc_bnrs {
    width: 720px;
    margin-right: -20px;
    overflow: hidden;
  }
  #mole_bnrs li,
  #etc_bnrs li {
    display: inline;
    float: left;
    width: 220px;
    margin: 0 20px 0 0;
  }
  #mole_bnrs li figure,
  #etc_bnrs li figure {
    float: none;
    width: 220px;
    margin: 0;
  }
  #consul h2 {
    width: 700px;
  }
  #consul_inner {
    width: auto;
  }
  #consul_inner ul {
    width: 663px;
    margin: 0 -14px 20px 0;
    overflow: hidden;
  }
  #consul_inner li {
    display: inline;
    float: left;
    width: 207px;
    margin: 0 14px 0 0;
  }
  #btn_etc {
    display: block;
  }
  #lnk_etc {
    display: none;
  }
  #clinic {
    margin: 0 auto;
    padding: 15px 20px;
    background: url(../img/top/bg_clinic.jpg) no-repeat right top;
    border: 3px solid #57c8c2;
  }
  #p_clinic {
    display: block;
  }
  #specialities_details {
    display: block;
    margin-bottom: 20px;
    border-collapse: collapse;
  }
  #specialities_details td {
    padding: 10px 10px 10px 27px;
    color: #333;
    font-size: 14px;
    background: #f0f7f3 url(../img/top/ico_specialities_details.png) no-repeat 10px center;
    border: 1px solid #ccc;
  }
  #specialities_details tr:nth-child(even) td {
    background: #f7f7f7 url(../img/top/ico_specialities_details.png) no-repeat 10px center;
  }
  #i_clinic {
    display: none;
  }
  #clinic_time {
    margin: 0 -20px 40px 0;
    padding: 30px 20px 0 0;
    background: url(../img/top/bg_clinic_time.png) no-repeat right top;
  }
  .time_table {
    font-size: 14px;
  }
  .time_table th,
  .time_table td {
    padding: 5px 10px;
  }
  #time_table {
    display: table;
  }
  #time_table_sp {
    display: none;
  }
  #clinic_etc dl {
    display: inline;
    float: left;
    width: 330px;
  }
  #clinic_etc dd {
    width: 237px;
  }
  #clinic_etc #map {
    display: inline;
    float: right;
    width: 300px;
  }
  #btn_access {
    width: 350px;
  }
}

@media screen and (min-width: 980px) {
  #main {
    width: 940px;
  }
}

/* 日経電子版バナー */
.nikkei {
  margin: 0 10px 20px;
}

.nikkei_txt {
  margin-top: 10px;
  color: #000;
  font-size: 14px;
  line-height: 1.8;
}

.bnr_nikkei {
  width: 100%;
  height: auto;
}

.nikkei_txt a {
  color: #066;
}

@media screen and (min-width: 740px) {
  .nikkei {
    margin-bottom: 30px;
  }

  .nikkei_txt a:hover {
    text-decoration: none;
  }
}

/* 新型コロナウイルスワクチン接種について */
.about_vaccination {
  margin: 0 10px 40px;
}

.about_vaccination h2 {
  font-weight: bold;
  font-size: 17px;
  line-height: 1.4;
  color: #006e62;
  margin-bottom: 1em;
  padding-bottom: 0.5em;
  border-bottom: 1px dotted #006e62;
}

.about_vaccination h3 {
  font-weight: bold;
  font-size: 16px;
  line-height: 1.4;
  color: #006e62;
  margin: 2em 0 1em;
}

.about_vaccination li {
  font-weight: bold;
  font-size: 15px;
  line-height: 1.4;
  color: #006e62;
  margin: 0.5em 0;
  display: flex;
}

.about_vaccination li::before {
  content: '※';
  margin-right: 0.5em;
}

.about_vaccination li.notice {
  color: #d00;
}

.about_vaccination p {
  font-size: 13px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 1em;
}

@media screen and (min-width: 740px) {
  .about_vaccination {
    margin: 0 auto 30px;
    padding: 15px 20px;
    border: 3px solid #57c8c2;
    border-radius: 4px;
  }

  .about_vaccination a[href^='tel:'] {
    pointer-events: none;
    color: #333;
    text-decoration: none;
  }
}
