@import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css);

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  color: #444444;
}

img {
  width: 100%;
  height: auto;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

a {
  color: #444444;
  text-decoration: none;
}

h1, h2 {
  margin: 0;
  color: #444444;
}

p {
  color: #444444;
}


  /* header */

  .header-cont {
    padding-top: 29px;
    padding-bottom: 28px;
    display: flex;
    justify-content: space-around;
  }

  .header-logo img {
    width: 263px;
  }

  .reception p {
    font-size: 14px;
  }

  .tel {
    display: flex;
  }

  .-header {
    /* 右寄せ */
    justify-content: flex-end;
  }

  .tel img {
    width: 24px;
    margin-right: 5px;
  }

  .tel a {
    color: #21A937;
    font-size: 24px;
    font-weight: bold;
  }

  /* top */
  .top {
    background-image: url(../image/top.png);
    background-size: cover;
    background-position: center;
    height: 947px;
    position: relative;
  }

  .top-text {
    font-size: 28px;
    font-weight: bold;
    writing-mode: vertical-rl;
    display: inline;
    letter-spacing: 0.5rem;
    position: absolute;
    top: 14%;
    left: 10%;
    transform: translateX(-10%);
  }

  .top-text .right {
    background-color: #fff;
    margin-left: 80px;
    padding: 18px 37px 0 37px;
  }

  .top-text .left {
    background-color: #fff;
    padding: 18px 37px 65px 37px;
    }

  .top-text span {
    color: #21A937;
  }

  /* doctor-info */
  .doctor-info {
    margin-top: 162px;
    margin-bottom: 82px;
  }

  .doctor-cont {
    display: flex;
    justify-content: center;
    width: 90%;
    margin: 0 auto;
  }

  .doctor-cont img {
      width: 690px;
  }

  .doc {
    line-height: 2;
    margin-right: 44px;
  }

  .doctor-info-title {
    display: inline;
    background: linear-gradient(transparent 70%, #b0ffb0 70%);
    line-height: 2.375;
  }

/* treatment */
.treatment {
  background-color: #F5FCF8;
  padding-top: 78px;
}

.treatment-text {
  text-align: center;
  margin-top: 70px;
  margin-bottom: 34px;
}

.common-title {
    text-align: center;
  }

  .common-title span {
    background: linear-gradient(transparent 70%, #b0ffb0 70%);
  }

  .treatment-ul {
    display: flex;
    justify-content: center;
  }

  .treatment-item {
    background-color: #fff;
    border: 2px solid #C9C9C9;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .treatment-item:nth-child(n+2) {
    margin-left: 20px;
  }

  .treatment-item .title {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    padding-top: 40px;
    padding-bottom: 45px;
  }

  .treatment-item .description {
    font-weight: bold;
    line-height: 2.375;
    padding: 0 28px;
    margin-bottom: 70px;
  }

  .treatment-item .image {
    width: 187px;
    margin: 0 auto;
  }


/* news */
.news {
  background-color: #F5FCF8;
  padding-top: 82px;
  padding-bottom: 112px;
}

.news-list {
  margin-top: 70px;
  background-color: #fff;
  border-radius: 30px;
  box-shadow: 0px 3px 6px #00000029;
  padding: 49px 66px 109px 66px;
  margin-right: auto;
  margin-left: auto;
  max-width: 1180px;
}

.news-item {
  display: flex;
  align-items: center;
  border-bottom: 2px solid #E7E7E7;
  padding-top: 18px;
  padding-bottom: 18px;
}

.news-item .date {
  color: #21A937;
  font-weight: bold;
}

.label {
  background-color: #444444;
  width: 80px;
  height: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 30px;
  margin-left: 30px;
}

.label-link {
  color: #fff;
  font-size: 12px;
  font-weight: bold;
}

.news-link {
  font-weight: bold;
}

.btn {
background: transparent;
border: none;
/* 右寄せ */
display: block;
margin-left: auto;
}

.btn a {
  margin-top: 39px;
  font-weight: bold;
  /* 疑似要素とボタンの高さを揃える */
  display: flex;
}

/* aタグ横の矢印 */
.btn a::after {
  pointer-events: none;
  display: inline-block;
  content: "";
  width: 0;
  height: 0;
  margin-left: 7px;
  border: 10px solid transparent;
  border-right: 0 solid transparent;
  border-left: 14px solid #444444;
}

/* footer */
.footer {
  padding-top: 196px;
  padding-bottom: 163px;
}

.clinic-cont {
  display: flex;
  flex-direction: row-reverse;
  margin: 0 auto;
  justify-content: center;
}

.clinic-info {
  margin-left: 34px;
  width: 40%;
}

.footer-logo {
  margin-bottom: 25px;
}

.footer-logo img {
  width: 263px;
}

.address span:first-child {
  margin-right: 16px;
}

.-footer {
  margin-top: 25px;
  margin-bottom: 28px;
}

.consultation {
  padding-top: 21px;
  padding-bottom: 23px;
  /* padding-right: 100px; */
  border-top: 2px solid #E7E7E7;
  border-bottom: 2px solid #E7E7E7;
}

.consultation-open {
  display: flex;
}

.consultation-open .text {
  font-size: 14px;
  padding-right: 28px;
  border-right: 2px solid #E7E7E7;
}

.time-open-item {
  display: flex;
}

.time-open-item:nth-child(n+2) {
  margin-top: 13px;
}

.day {
  margin-right: 23px;
  font-size: 14px;
  margin-left: 28px;
}

.day span {
  background: linear-gradient(transparent 70%, #b0ffb0 70%);
}


.time {
  margin: 0;
  font-size: 14px;
}

.time span {
  padding-left: 17px;
}

.consultation-close {
  font-size: 14px;
  display: flex;
  margin-top: 20px;
}

.consultation-close .text {
  padding-right: 42px;
  border-right: 2px solid #E7E7E7;
}

.copyright-pc {
  font-size: 11px;
  text-align: right;
  margin-top: 20px;
}

.copyright-sp {
  display: none;
}

.clinic-map {
  width: 604px;
  height: 440px;
}

/* Tab用 */
@media only screen and (max-width: 1024px) {
  .top {
    height: 800px;
  }

  /* doctor-info */
  .doctor-cont img {
    width: 400px;
  }

  .doctor-info-title {
    font-size: 20px;
  }

  .doctor-info-title p {
    font-size: 14px;
  }

  /* treatment */
  .common-title {
    font-size: 20px;
  }

  .treatment-list {
    margin: 0 30px;
  }

  .treatment-ul {
    flex-direction: column;
  }

  .treatment-item {
    flex-direction: row;
    justify-content: space-around;
  }

  .treatment-item:nth-child(n+2) {
    margin-left: 0;
    margin-top: 15px;
  }

  .treatment-item .image {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
  }

  /* news */
  .news-list {
    padding-right: 33px;
    padding-left: 33px;
    padding-bottom: 80px;
    width: 85%;
  }

  .news-item {
    flex-wrap: wrap;
  }

  .news-link {
    width: 100%;
    margin-top: 10px;
  }

  /* footer */
  .footer {
    padding-top: 80px;
    padding-bottom: 0 ;
  }

  .clinic-cont {
    flex-direction: column;
  }

  .clinic-info {
    text-align: center;
    margin: 0;
    width: 100%;
  }

  .-footer  {
    justify-content: center;
  }

  .copyright-pc {
    display: none;
  }

  .copyright-sp {
    display: block;
    font-size: 11px;
    text-align: center;
    margin-top: 20px;
  }

  .consultation {
    padding-right: 0;
    width: 60%;
    margin: 0 auto;
  }

  .clinic-map {
    width: 90%;
    margin: 0 auto;
    margin-top: 50px;
  }
}

/* sp用 */
@media only screen and (max-width: 599px) {
  /* header */
  .header-cont {
    flex-direction: column;
    align-items: center;
  }

  .-header {
    justify-content: center;
  }

  /* top */
  .top {
    height: 700px;
    background-position: 70%;
  }

  .top-text {
    font-size: 20px;
  }
  
  .top-text .right {
    padding-right: 20px;
    padding-left: 20px;
    margin-left: 50px;
  }
  
  .top-text .left {
    padding-right: 20px;
    padding-left: 20px;
  }

  /* doctor-info */
  .doctor-info {
    margin-top: 100px;
  }

  .doctor-cont {
    flex-direction: column;
    align-items: center;
  }

  .doctor-cont img {
    width: 100%;
  }

  .doc {
    margin-right: 0;
  }

  .doc p {
    text-align-last: left;
  }

  /* treatment */
  .treatment-item {
    flex-direction: column;
    align-items: center;
  }

  /* footer */
  .consultation {
    width: 80%;
  }

  .time-open-item {
    flex-direction: column;
  }

  .consultation-open {
    flex-direction: column;
  }

  .consultation-open .text {
    padding: 0;
    font-weight: bold;
    border-right: none;
    margin-bottom: 20px;
  }

  .consultation-open .text span {
    border-bottom: 2px solid #E7E7E7;
  }

  .consultation-close {
    flex-direction: column;
  }

  .consultation-close .text {
    padding: 0;
    font-weight: bold;
    border-right: none;
    margin-bottom: 20px;
  }

  .consultation-close .text span {
    border-bottom: 2px solid #E7E7E7;
  }

  .time-open-item .day {
    margin-bottom: 1px;
  }



}