@charset "UTF-8";

@media screen and (min-width: 770px) and (max-width: 1100px) {
  .top_logo h1 {
    font-size: 12px;
  }
  .logo_text {
    font-size: 14px;
  }
  .header_nav li {
    font-size: 10px;
    padding: 10px 5px;
  }
  .head_nav li {
    font-size: 10px;
    padding: 10px 5px;
  }
  .head_nav li:nth-of-type(5) {
    font-size: 10px;
  }
  .time {
    padding: 10% 0px 8% 0px;
  }
  .symptom_row2 {
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
  }
  .about_us h4 {
    font-size: 25px;
  }
  .about_us {
    padding: 0;
  }
  footer h3 {
    font-size: 12px;
    letter-spacing: 3px;
  }
  footer address {
    font-size: 10px;
    line-height: 20px;
  }
  footer td {
    font-size: 10px;
    padding: 2px 0px;
  }
  footer nav p {
    font-size: 10px;
  }
  .director_row {
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    -ms-align-items: center;
    align-items: center;
  }

  .department_row .director_row {
    -webkit-flex-direction: row;
    -moz-flex-direction: row;
    -ms-flex-direction: row;
    -o-flex-direction: row;
    flex-direction: row;
    -ms-align-items: flex-start;
    align-items: flex-start;
  }
  .sub_row {
    width: auto;
  }
}

@media screen and (max-width: 769px) {
  .top_contents {
    /*top: 250px;*/
    top: 370px;
    left: 10px;
    right: 5px;
  }

  .top_contents h2 {
    font-size: 12px;
    margin-top: 8px;
  }

  .top_contents p {
    font-size: 10px;
    margin: 0.5vw 0.3vw;
    letter-spacing: 1px;
    color: #273c74;
    text-align: center;
  }

  .top_text h2 {
    font-size: 18px;
    margin-top: 5px;
    letter-spacing: 12px;
  }
  .top_text h2 span {
    margin: 0px 0px 0px 5px;
  }

  .top_logo h1 {
    font-size: 10px;
    line-height: 15px;
    letter-spacing: 1px;
  }

  .top_logo img {
    width: 40px;
    height: 30px;
    padding: 5px;
  }
  a.top_logo {
    padding-top: 10px;
  }

  .logo_text {
    font-size: 13px;
  }
  .header_nav li {
    text-align: center;
    padding: 10px 20px;
    margin: 0 auto;
    margin-top: 5px;
    font-size: 12px;
    width: 70%;
  }

  .header_nav ul {
    padding: 0;
    margin-left: 0;
  }

  .header_contents > li {
    margin-top: 10px;
  }

  ul.header_nav2 {
    margin: 0 auto;
    margin-top: 0px;
    padding-left: 0;
    padding-bottom: 10px;
    background-color: #fff;
  }

  ul.header_nav3 {
    margin: 0;
    padding: 0;
  }

  ul.header_nav2 div {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    margin: 0 auto;
    justify-content: space-around;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
  }

  .contents1 {
    margin-top: 0px;
  }

  ul.head_ul {
    padding: 0;
    margin: 0;
    margin: 0 auto;
    /* margin-top: 20px; */
    margin-bottom: 20px;
    width: 90%;
  }

  ul.head_ul ul {
    padding: 0;
    margin: 0;

    margin-top: 2px;
    margin-bottom: 2px;
    font-size: 11px;
  }

  ul.head_ul li {
    color: #273c74;
    font-weight: border;
  }

  .everyday_inner {
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
  }
  .specialty_outpatient {
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
  }

  .specialty_outpatient h3 {
    width: auto;
  }

  .about_us {
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
  }

  .time {
    padding: 20px 0px;
    padding-top: 30px;
  }

  .everyday_text {
    font-size: 20px;
    margin-bottom: 10px;
  }
  .everyday_img {
    margin: 20px 0px;
  }
  .about_row {
    width: 90%;
    margin: 0;
  }

  .efforts_row {
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
  }

  .symptom_contents {
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
  }

  .symptom a {
    width: auto;
  }
  .contents5 {
    width: auto;
    margin: 10px auto;
  }
  .everyday {
    margin: 0;
  }

  .about_row img {
    margin-top: 0px;
  }

  .title {
    margin-top: 20px;
    margin-bottom: 30px;
    font-size: 18px;
    line-height: 30px;
  }
  .contents5 h3 {
    padding: 20px 0px;
  }

  .specialty_outpatient h3.marfan {
    padding-top: 20px;
  }

  .about_us {
    padding: 30px 0px;
  }
  .efforts_inner {
    margin-top: 10px;
    padding: 20px 0px 0px 0px;
  }
  .efforts h3 {
    width: auto;
    color: #3b3b3b;
    padding: 2% 0px;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 16px;
  }
  .efforts h2 {
    padding-top: 10px;
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 30px;
  }
  img.banner_fb {
    width: 50%;
    height: auto;
    margin: 0;
    margin-left: 5px;
  }

  .symptom {
    padding: 30px 0px;
  }
  .symptom a {
    margin: 10px;
    padding: 20px;
    text-align: center;
    width: auto;
    color: #fff;
  }
  .symptom a img {
    width: 50px;
  }
  .symptom p {
    margin-bottom: 0;
  }
  .symptom_row h2 {
    padding: 0px;
    line-height: 30px;
    padding-top: 30px;
    font-size: 18px;
  }
  .news {
    margin: 0px;
    padding: 20px 0px;
    width: 100%;
  }
  .news h2 {
    margin: 0;
  }
  .news_container {
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
  }
  .news_row {
    width: auto;
  }
  .news p {
    line-height: 25px;
    margin: 0;
    font-size: 12px;
  }
  .news button {
    margin-bottom: 0px;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .news h4,
  .news span {
    font-size: 14px;
  }
  .news h4.red {
    margin-top: 0;
  }

  .footer_contents {
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    margin: 0px auto;
  }
  footer {
    padding-top: 20px;
  }

  footer nav {
    text-align: left;
    width: 96%;
  }
  footer nav ul {
    padding: 0;
  }
  small {
    font-size: 10px;
    line-height: 10px;
  }
  .access .row {
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
  }
  .access .car {
    width: 100%;
  }
  .access .map_img {
    width: 100%;
  }
  .access .station {
    width: 100%;
  }
  .map_row,
  .map_text {
    width: 100%;
  }
  table {
    border-style: none !important;
  }
  td a {
    font-size: 10px;
  }

  table.foreign_table span {
    font-size: 10px;
  }
  .sub_container td {
    padding: 0px;
  }
  .sub_row2 {
    width: 98%;
    margin: 0 auto;
    max-width: 1100px;
  }

  /*----------呼吸器内科 写真挿入----------*/
  .img-flex {
    display: block;
  }
  .img-flex div {
    padding: 10px 20px;
    width: 90%;
  }
  .img-flex img {
    width: 100%;
  }
  .img-flex iframe {
    height: 350px;
  }
  /*----------------------*/

  .white_frame {
    margin: 0px;
    padding: 2%;
  }
  .sub_container h3 {
    font-size: 18px;
  }
  .access h3 {
    background-color: #273c74;
    color: #fff;
    margin-bottom: 30px;
    margin-top: 20px;
  }
  .map2 {
    margin-left: 10px;
  }
  .bus_text h6 {
    font-size: 25px;
    line-height: 35px;
  }
  .director_contents h3,
  .idea_inner h3 {
    font-size: 16px;
    letter-spacing: 5px;
    line-height: 30px;
    padding-bottom: 20px;
  }
  .sub_container p,
  .sub_container td,
  .sub_container li {
    font-size: 10px;
    letter-spacing: 2px;
    line-height: 25px;
  }
  tr td:nth-of-type(1) {
    background: rgba(39, 60, 116, 0.2);
  }
  .about_hospital table {
    width: auto;
  }
  .about_hospital td p {
    font-size: 11px;
    letter-spacing: 2px;
    line-height: 25px;
  }
  .about_hospital td li {
    font-size: 11px;
    letter-spacing: 2px;
    line-height: 25px;
  }

  .about_us h4 {
    margin: 0;
    font-size: 22px;
    text-align: center;
  }
  .performance article {
    width: 100%;
    padding-top: 10px;
    margin-top: 20px;
  }
  .hotline {
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
  }
  .hotline .row_img {
    text-align: center;
  }
  .installation_text {
    width: 100%;
  }
  .sub_row ul {
    padding-left: 10px;
  }
  .department_contents h5 {
    margin-left: 10px;
  }
  .sub_container h5 {
    font-size: 14px;
    letter-spacing: 5px;
    line-height: 30px;
  }
  .message {
    margin: 10px 10px;
  }
  .department_guide h2.title {
    line-height: 40px;
  }
  .title strong {
    display: block;
  }
  a.staff,
  a.experience_button {
    font-size: 20px;
    margin: 0px 10px;
    margin-top: 20px;
    width: 50%;
  }
  .department_guide .button {
    margin-top: 20px;
    padding-bottom: 20px;
  }
  .pdf_specialty a {
    margin-bottom: 10px;
  }
  .can_row p {
    width: 100px;
    height: 100px;
    line-height: 100px;
    text-align: center;
  }
  .surgecy_article h3 {
    font-size: 16px;
    line-height: 30px;
    letter-spacing: 4px;
  }
  a.contact {
    padding: 20px 30px;
    font-size: 18px;
  }
  a.introduction {
    padding: 20px 30px;
    font-size: 18px;
  }
  .surgecy_article .surgecy_img {
    width: 100%;
  }
  .surgecy_img img {
    width: 100%;
    height: auto;
  }
  .surgecy_article .surgecy_img {
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
  }
  .center {
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
  }
  .center .contents_row {
    width: 95%;
    padding: 10px;
  }
  .icu_row {
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
  }
  .main_disease .row p.life {
    font-size: 11px;
    letter-spacing: 2px;
    line-height: 25px;
  }

  /*---------2列リスト---------*/
  .target_disease_2list {
    padding-left: 25px;
  }
  .target_disease_2list ul {
    display: flex;
  }
  .target_disease_2list li {
    width: 100%;
  } /*--------------------*/

  .divisions nav ul,
  .docter nav ul {
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
  }
  .docter_row .text {
    width: 90%;
  }
  .docter_row .img {
    width: 90%;
  }
  .media article h2.title {
    font-size: 14px;
    margin: 20px 0px;
    line-height: 30px;
  }
  .media article {
    width: 100%;
    margin: 0;
    padding: 0;
    padding-top: 10px;
    margin-top: 20px;
    padding-bottom: 20px;
  }
  .contents5 h2.title {
    margin-bottom: 0px;
  }
  .team_image {
    margin-bottom: 20px;
  }
  .efforts_text {
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
  }

  .efforts_row {
    width: auto;
  }
  .banner_row {
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    width: 100%;
    margin-bottom: 0;
  }
  .banner_row2 {
    width: 100%;
  }
  .footer_row {
    width: 94%;
  }
  footer table {
    padding: 0px;
  }
  footer tr td:nth-of-type(1) {
    background: none;
  }
  footer .contact {
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    margin: 2px;
  }
  footer .contact p {
    margin: 7px 0px;
    padding: 0;
    font-size: 16px;
  }
  footer h3 {
    margin-top: 0;
  }
  .foot_logo {
    margin-top: 10px;
  }
  footer td {
    padding: 0px 10px;
    font-size: 12px;
  }
  .footer_contents {
    height: auto;
  }
  footer .emergency {
    padding-top: 10px;
    width: 100%;
    margin-bottom: 10px;
    padding-bottom: 10px;
  }

  .pdf_specialty a {
    width: 70%;
  }
  .surgecy_article .heading {
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
  }
  .surgecy_article .heading .img {
    width: auto;
    padding-right: 2px;
  }
  .surgecy_article .heading .text {
    width: auto;
  }
  .surgecy_article_container {
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
  }
  .surgecy_article_row {
    width: auto;
  }
  div.button a.surgecy_button {
    margin: 0 auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 70%;
  }
  div.button a.surgecy_button2 {
    margin: 0px;
    width: 70%;
  }
  .center {
    margin-top: 0;
  }
  .surgecy_article {
    padding-bottom: 20px;
  }
  .department_guide {
    padding-bottom: 0px;
  }
  .specialty_outpatient a {
    width: 100%;
  }
  .news td.day {
    width: 50px;
    font-size: 11px;
  }

  .news td.class {
    width: 70px;
  }

  .news td.class span {
    font-size: 11px;
  }

  /* add 2019.8 */
  .top_sp {
    height: auto;
    background: rgb(255, 255, 255);
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0.85) 85%,
      rgba(255, 255, 255, 0) 100%
    );
  }
  .top.pc-display {
    display: none;
  }
  .top.sp-display {
    display: block;
  }
  .contents1 {
    margin-top: 0;
  }
  .event-cont {
    padding: 0 0 40px;
  }
  .event-cont .event_contents h2,
  .news-cont h2 {
    padding-top: 40px;
  }
  .event-cont .event_container {
    display: block!important;
    margin: 15px 0 0!important;
  }
  .event-cont td.event-imgBox {
    background: none;
  }
  .event-cont .event_contents .event_row {
    margin: 0 auto 20px!important;
  }
  .event-cont .event_contents .event_row table {
    margin-bottom: 20px;
  }
  .event-cont td.event-textBox p,
  .news-cont .news_container .day {
    font-size: 12px;
  }
  .event-cont td.event-textBox span,
  .news-cont .news_container .class .blue {
    display: block;
    width: 50px;
    margin: 0 0 10px 0;
    font-size: 11px;
    top: 1px;
  }
  .event-cont td.event-textBox .event-title {
    font-size: 12px;
    padding: 10px 0 5px;
  }
  .event-cont td.event-textBox .day,
  .news-cont .news_container .day {
    display: block;
  }
  .event-cont td.event-textBox .event-text,
  .news-cont .news_container .news_text {
    font-size: 11px;
  }
  .feature-cont h2.feature-title {
    font-size: 18px;
  }
  .feature-cont .flex-box {
    display: block!important;
    width: 100%!important;
  }
  .feature-cont .flex-box a {
    width: 80%!important;
    margin: 0 auto 15px!important;
    display: block;
  }
  .feature-cont .flex-box a img {
    width: 100%;
    height: auto;
  }
  .banner-area {
    padding-bottom: 40px;
  }
  .banner-area .flex-box {
    width: 90%;
    display: block;
    padding: 50px 0 0;
  }
  .banner-area .flex-box a {
    width: auto;
    margin: 0 0 20px;
  }
  .banner-area > a {
    width: 95%;
  }
  .efforts_inner {
    margin-top: 0;
  }
  .effort-box .efforts {
    width: 90%;
    margin: 0 auto;
  }
  .effort-box .efforts .efforts_media_img {
    width: 100%!important;
    margin-bottom: 20px;
  }
  .news-cont {
    padding-bottom: 30px;
  }
  .news-cont .news_container {
    margin-top: 0;
  }
  .news-cont .news_container .class {
    display: block;
    width: 100%;
    background: none;
    padding-bottom: 0;
  }
  .news-cont .news_container .news_text {
    display: block;
    width: 100%;
  }
  .news-cont .news_container .news_text a {
    font-size: 11px;
  }
}

@media screen and (max-width: 950px) {
  .divisions nav ul,
  .doctor nav ul {
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    -ms-align-items: center;
    align-items: center;
  }
  .sub_container nav li {
    background-color: rgba(0, 0, 0, 0);
    color: #000;
    width: auto;
    padding: 5px 0px;
    text-align: center;
    border-style: none;
  }
  .patient table {
    width: 90%;
  }
  .department_overview img {
    width: 30%;
    top: -20px;
  }
  .doctor_row .text {
    width: 100%!important;
  }
  .doctor_row .img {
    width: 100%;
  }
  .top_contents h2 {
    letter-spacing: 3px;
    margin-left: 1vw;
    text-align: right;
  }
  footer h4 {
    margin: 10px 0px;
  }
  .idea h2.title {
    padding: 20px 0px;
    margin: 0;
  }
  .idea_inner {
    padding: 20px 0px 20px 0px;
  }
  .about_hospital {
    margin-top: 0px;
    padding-top: 10px;
  }
  .director_contents {
    padding-bottom: 20px;
  }
  .director_row p {
    padding-top: 20px;
  }
  .sub_row {
    width: auto;
  }
  .department_contents nav li {
    margin-top: 0;
  }
  .department_row .sub_row,
  .doctor_row .sub_row {
    padding-bottom: 0px;
  }
  .patient table {
    width: 100%;
  }
  .top_logo_sp h1 {
    text-align: center;
    margin-top: -15px;
  }
  .top_logo_sp {
    text-align: center;
    /* background-color: #fff; */
    background-color: none;
    margin-bottom: -10px;
    padding-bottom: 10px;
  }
  .team2 {
    bottom: -10px;
    font-size: 12px;
    padding: 5px 10px;
  }
}

@media screen and (max-width: 769px) {
  .news tr td {
    background: #fff;
  }
  .department_overview img {
    position: relative;
    top: 0;
    left: 2%;
    margin: 0 auto;
  }
}

@media screen and (max-width: 400px) {
  /* .top_contents h2 {
        text-align: right; 
    }*/
}
