@charset "UTF-8";
#pagetitle {
  background: url(../images/04_faq_02/mainvisual.jpg) no-repeat;
  background-size: cover;
  padding: 80px 0;
}

#pagetitle h1 {
  text-align: center;
  font-weight: normal;
  font-size: 38px;
  line-height: 1;
}

article {
  padding: 120px 0;
  max-width: 1050px;
  margin: auto;
}

.tab {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 30px;
  padding-bottom: 5px;
  border-bottom: 1px dotted #00a0e9;
}

.tab li {
  background: #fff;
  border: 1px solid #00a0e9;
  border-radius: 4px;
  margin: 0 10px 15px 10px;
  font-size: 18px;
  color: #00a0e9;
  padding: 15px 0;
  text-align: center;
  width: 300px;
}

.tab li:hover {
  color: #fff;
  background: #00a0e9;
  cursor: pointer;
}

.tab li.select {
  color: #fff;
  background: #00a0e9;
}

.tabContents .box.hide {
  display: none;
}

.tabContents .box h2 {
  font-size: 26px;
  margin-bottom: 20px;
  color: #00a0e9;
}

.tabContents .box p {
  font-size: 16px;
  line-height: 30px;
  margin-bottom: 2em;
}

.tabContents .box p span {
  display: block;
  text-align: right;
}

.tabContents .box .clinicInfo {
  background: #e5f5fd;
  padding: 20px 30px;
}

.tabContents .box .clinicInfo h3 {
  font-size: 16px;
  margin-bottom: 15px;
}

.tabContents .box .clinicInfo .flex {
  display: flex;
  justify-content: space-between;
}

.tabContents .box .clinicInfo .flex dl {
  font-size: 16px;
  margin-bottom: 10px;
  display: flex;
  width: 49%;
}

.tabContents .box .clinicInfo .flex dl dt {
  font-weight: bold;
  margin-right: 1em;
  color: #00a0e9;
  white-space: nowrap;
}

.tabContents .box .clinicInfo .flex dl dd a {
  color: inherit;
}

.tabContents .box .clinicInfo .flex .left {
  width: 39%;
}

.tabContents .box .clinicInfo .flex .left dl {
  width: 100%;
}

.tabContents .box .clinicInfo .flex .center {
  width: 29%;
  font-size: 16px;
  line-height: 30px;
}

.tabContents .box .clinicInfo .flex .right {
  width: 29%;
}

.tabContents .box .flex {
  display: flex;
  justify-content: space-between;
}

.tabContents .box .flex .text {
  width: 75%;
}

.tabContents .box .flex .photo {
  width: 23%;
}

@media screen and (max-width: 768px) {
  body {
    padding-top: 45px;
  }
  article {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  article .inner {
    padding: 0 20px;
  }
  .tab {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
    padding-bottom: 5px;
    border-bottom: 1px dotted #00a0e9;
  }

  .tab li {
    background: #fff;
    border: 1px solid #00a0e9;
    border-radius: 4px;
    margin: 0 0 10px 0;
    font-size: 13px;
    color: #00a0e9;
    padding: 10px 0;
    text-align: center;
    width: 100%;
  }

  .tab li.select {
    color: #fff;
    background: #00a0e9;
  }

  .tabContents .box.hide {
    display: none;
  }

  .tabContents .box h2 {
    font-size: 17px;
    margin-bottom: 15px;
    color: #00a0e9;
  }

  .tabContents .box p {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 2em;
  }

  .tabContents .box p span {
    display: block;
    text-align: right;
  }

  .tabContents .box .clinicInfo {
    background: #e5f5fd;
    padding: 10px;
  }

  .tabContents .box .clinicInfo h3 {
    font-size: 13px;
    margin-bottom: 15px;
  }

  .tabContents .box .clinicInfo .flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .tabContents .box .clinicInfo .flex dl {
    font-size: 13px;
    margin-bottom: 10px;
    display: flex;
    width: 100%;
  }

  .tabContents .box .clinicInfo .flex dl dt {
    font-weight: bold;
    margin-right: 1em;
    color: #00a0e9;
    white-space: nowrap;
    width: 25%;
    line-height: 1.5;
  }

  .tabContents .box .clinicInfo .flex dl dd {
    width: 75%;
    line-height: 1.5;
  }
  .tabContents .box .clinicInfo .flex dl dd a {
    color: inherit;
  }

  .tabContents .box .clinicInfo .flex .left {
    width: 100%;
    margin-bottom: 10px;
  }

  .tabContents .box .clinicInfo .flex .left dl {
    width: 100%;
  }

  .tabContents .box .clinicInfo .flex .center {
    width: 100%;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 10px;
  }

  .tabContents .box .clinicInfo .flex .right {
    width: 100%;
    text-align: center;
  }

  .tabContents .box .flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .tabContents .box .flex .text {
    width: 100%;
  }

  .tabContents .box .flex .photo {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
  }
}
