@charset "UTF-8";
main {
  background-color: #fff;
  padding-bottom: 0;
  background-color: #eee;
}

main .container {
  padding: 0 1rem;
  background-color: #eee;
}

@media (min-width:600px) {

header {
  height: 180px;
}

header .logo {
  padding: 0 30px;
  width: auto;
}

header .logo img {
  height: 150px;
}

.sub_menu a {
  margin-top: -20px;
}

}


/* ニュース */

.news .container {
  padding: 40px 20px 20px 20px;
  position: relative;
  margin-top: -50px;
  z-index: 9;
}

h2 {
    text-align: left;
    margin-top: -5px;
  }

.news .more_btn_border {
  margin: 0;
}

@media (min-width:600px) {

    .news .container {
      padding: 50px;
    }

  }

/* アイコン */

.db {
  display: inline-block;
  margin: 10px 0;
  width: 100%;
  padding: 20px 30px 35px 30px;
  text-align: center;
  background-color: #fff;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
}

a.byouin_annai {
  color: #333;
  font-size: 3.5vw;
  transition: all .3s;
}

a.byouin_annai::before {
  content: "";
  display: inline-block;
  width: 55px;
  height: 45px;
  background: url(images/hospital_icon02.svg) no-repeat center;
  margin: auto 40px -10px 0;
}
a.byouin_annai:hover {
  background-color: #f1f1f1;
}
.kaigo_icon::before,
.tiiki_icon::before,
.tyusya_icon::before,
.maina_icon::before {
  content: "";
  display: block;
  width: 40px;
  height: 40px;
  margin: 0 auto 10px auto;
}

.kaigo_icon::before {
  background: url(images/kaigo_icon02.svg) no-repeat center;
}

.tiiki_icon::before {
  background: url(images/sidou_icon02.svg) no-repeat center;
}

.tyusya_icon::before {
  background: url(images/tyusya_icon02.svg) no-repeat center;
}

.maina_icon::before {
  background: url(images/maina_icon02.svg) no-repeat center;
}

.main_menu a {
    padding: 2rem 1.5rem 2.5rem;
    color: #333;
    transition: all .3s;
    background-color: #fff;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
  }
  .main_menu a:hover {
    background-color: #f1f1f1;
}

@media (min-width:600px) {

  .main_menu {
    margin-bottom: 100px;
  }
  
  .db {
    margin: 30px 0;
    padding: 50px;
  }

  .main_menu ul {
    gap: 30px;
  }

  .main_menu a {
    font-size: 1.6rem;
  }

  a.byouin_annai {
    font-size: 2rem;
  }
  a.byouin_annai::before {
    content: "";
    display: inline-block;
    width: 110px;
    height: 90px;
    background: url(images/hospital_icon02.svg) no-repeat center;
    margin: auto 40px -30px 0;
  }
  .kaigo_icon::before,
  .tiiki_icon::before,
  .tyusya_icon::before,
  .maina_icon::before {
    content: "";
    display: inline-block;
    width: 80px;
    height: 80px;
    margin: -10px 35px -32px 0;
  }

}


/* 会報 */
.kaihou h2 {
  margin-top: 4rem;
}
.bunkatsu.kaihou_list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
  }
  
  .bunkatsu.kaihou_list .bun03_item {
    flex: 0 1 50%;
    margin-bottom: 1rem;
  }
  
  .bunkatsu.kaihou_list .bun03_item img {
    object-fit: cover;
    height: 40vw;
    width: 100%;
  }
  .bunkatsu.kaihou_list a.bun03_item {
    color: #333;
    font-size: 0.8rem;
  }
  .bunkatsu.kaihou_list a.bun03_item:hover img {
    opacity: 70%;
  }
  .bunkatsu.kaihou_list a.bun03_item:hover h3 {
    color: #0063a3;
    transition: all .3s;
  }
  
  .bunkatsu.kaihou_list .bun03_item h3 {
    border: 0 solid;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
  }
  .bunkatsu.kaihou_list .bun03_item p {
    margin: 0 0 10px 0;
  }
  
  @media (min-width:768px) {
  
    .bunkatsu.kaihou_list a.bun03_item {
      font-size: 1rem;
    }
    .bunkatsu.kaihou_list .bun03_item img {
      height: 160px;
    }
    .bunkatsu.kaihou_list .bun03_item {
    flex: 0 1 20%;
  }
  .bunkatsu.kaihou_list .bun03_item h3 {
    font-size: 1.2rem;
  }
  
  }


/* 橋本博士 */
.others {
  text-align: center;
  background-color: #0b91b5;
}

.others div {
  display: inline-block;
  margin: 2rem 1rem;
  text-align: center;
}

.others a img {
  border: solid 2px #fff;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.others a:hover img {
  border: solid 2px #ffc;
  opacity: 0.6;
}


@media (min-width:600px) {

  .others div {
    margin: 50px 0;
    width: 650px;
  }

}

/* アドレス */
.address {
  align-items: center;
  text-align: center;
  color: #fff;
  line-height: 1.6;
  background-color: #333;
  font-size: 2.6vw;
}

.address .basyo {
  max-width: 24vw;
  float: left;
  margin: 0 5% 0 5%;
}
.address p {
  margin-top: 5vw;
  text-align: left;
}

.address div:first-child {
  order: 2;
}

.address div:last-child {
  order: 1;
  padding: 1rem;
}

.address span {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 5vw;
  font-weight: bold;
}

.address .more_btn_border {
  margin: 0;
}

/* 詳細へボタン（境界線） */
.address .more_btn_border a {
  background-color: #333;
  border: 1px solid #ccc;
  font-size: 0.9rem;
  color: #fff;
}

/* カーソルが当たったとき */
.address .more_btn_border a:hover {
  background-color: #999;
  border: 1px solid #fff;
  color: #fff;
}

@media (min-width:768px) {

  .address {
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
    line-height: 1.6;
    background-color: #333;
    font-size: 1vw;
  }

  .address .basyo {
    max-width: 14vw;
    float: left;
    margin-right: 5%;
    margin-left: 10%;
  }
  .address p {
    margin-top: 7.6vw;
    text-align: left;
  }
  .address span {
    font-size: 1.6vw;
  }

  .address div:first-child {
    flex: 1 1 50%;
  }
  
  .address div:last-child {
    flex: 1 1 50%;
  }

  /* 詳細へボタン（境界線） */
  .address .more_btn_border a {
    font-size: 0.8rem;
  }
}

/* 会報 */

.more_btn_border {
  margin: 2rem 0 4rem 0;
}

footer {
  padding-bottom: 0.5rem;
}

/* === 表示・非表示 =============== */

.main_visual_pc {
  display: none;
}

@media (min-width:1024px) {

  .main_visual_sp {
    display: none;
  }

  .main_visual_pc {
    display: inline-block;
  }

}ay: none;
}

@media (min-width:1024px) {

  .main_visual_sp {
    display: none;
  }

  .main_visual_pc {
    display: inline-block;
  }

}