@charset "UTF-8";
/*=======================================
トップページ
=========================================*/
html{
  overflow: auto;
}

body {
  overflow: hidden;
  min-width: 787px;
}


.p-top {
  color: #636464;
  font-family:"ヒラギノ丸ゴ Pro W4","ヒラギノ丸ゴ Pro","Hiragino Maru Gothic Pro","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO";
}

.top_menu {
    background-color: #ffffff;
    padding-bottom: 100px;
    padding-top: 230px;
}

.p-top .reservation {
  background-color: #ffffff;
  padding-top: 165px;
  position: fixed;
  width: 100%;
  z-index: 31;
}

.p-top .reservation ul {
    display: flex;
    width: 960px;
    margin: 0 auto;
    justify-content: center;
}

.p-top .reservation ul li {
    border: 1px solid #00A0CA;
    padding: 4px 0;
    font-size: 20px;
    width: 275px;
    text-align: center;
    margin: 0 10px;
  }

.p-top .reservation ul li a {
    color: #636464;
}

.top_menu h3 {
  text-align: center;
  font-size: 30px;
  color: #00A0CA;
  margin-top: 60px;
  margin-bottom: 30px;
}
.top_menu table {
    width: 870px;
    margin: 0 auto ;
    padding-top: 60px;
  }

.top_menu table td {
    text-align: center;
}

.top_menu table tr:nth-child(2) {
  border-top: 1px solid #00A0CA;
  border-bottom: 1px solid #00A0CA;
}

.top_menu table tr td:nth-child(2) {
    border-left: 1px solid #00A0CA;
    border-right: 1px solid #00A0CA;
  }
.top_menu table a {
  display: block;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: contain;
}
.top_menu table a:hover {
  opacity: 1;
  background-color: #00A0CA;
}
.top_menu table a:hover img {
  opacity: 0;
}
.top_menu table a.simi:hover {background-image: url(../img/top_p/top_simi-white.png);}
.top_menu table a.hokuro-ibo:hover {background-image: url(../img/top_p/top_hokuro-ibo-white.png);}
.top_menu table a.siwa-tarumi:hover {background-image: url(../img/top_p/top_siwa-tarumi-white.png);}
.top_menu table a.hutae:hover {background-image: url(../img/top_p/top_hutae-white.png);}
.top_menu table a.bihaku:hover {background-image: url(../img/top_p/top_bihaku-white.png);}
.top_menu table a.datumu:hover {background-image: url(../img/top_p/top_datumu-white.png);}
.top_menu table a.aga:hover {background-image: url(../img/top_p/top_aga-white.png);}
.top_menu table a.ed:hover {background-image: url(../img/top_p/top_ed-white.png);}
.top_menu table a.sonota:hover {background-image: url(../img/top_p/top_sonota-white.png);}


.top_menu .news {
    width: 960px;
    margin: 100px auto 0;
}

.top_menu .news ul li:nth-child(2) {
  padding: 0 40px;
}

.top_menu .news h1 {
    text-align: center;
    font-size: 30px;
    color: #00A0CA;
    margin-bottom: 50px;
}

.top_menu .news ul {
    display: flex;
}

.top_menu .news ul li {
    width: 280px;
}

.top_menu .news ul li .news_img {
    text-align: center;
}

.top_menu .news ul li .news_b {
  margin-top: 10px;
}

.top_menu .news .arrow {
  position: relative;
  display: inline-block;
  /* padding: 10px; */
  width: 107px;
  background-color: #00A0CA;
  text-align: center;
  float: right;
  height: 26px;
}

.top_menu .news .arrow::before {
  content: '';
  width: 18px;
  height: 18px;
  border-top: solid 2px #ffffff;
  border-right: solid 2px #ffffff;
  position: absolute;
  left: 76px;
  top: 3px;
}

.top_menu .news .arrow-right::before {
  transform: rotate(45deg);
}

.top_menu .news .arrow-right a {
  color: #ffffff;
  padding-right: 10px;
}

.p-top .introduction {
    text-align: center;
    padding: 80px;
}

.p-top .introduction h1 {
    font-size: 30px;
    color: #00A0CA;
}

.p-top .introduction .sentence {
    line-height: 40px;
    margin-top: 50px;
    margin-bottom: 80px;
    letter-spacing: 0.1em;
}

.p-top .introduction .director {
    line-height: 30px;
  color: #505050;
}

.doctor_introduction {
    background-color: #F4F3F3;
    /*height: *//*1460px;*//* 1060px;*/
    padding-bottom: 50px;
}

.news .post-categories li a {
  background-color: #00A0CA;
  color: #ffffff;
  border-radius: 4px;
  padding: 2px 7px;
}

.top_menu-wrap p {
  text-align: center;
  margin-top: 50px;
}

/* ================================================ */
.doctor_introduction .tabs {
    margin-top: 50px;
    padding-bottom: 40px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    width: 700px;
    margin: 0 auto;}

  /*タブのスタイル*/
.doctor_introduction .tab_item_a,
.doctor_introduction .tab_item_b,
.doctor_introduction .tab_item_c {
    width: calc(100%/3);
    display: block;
    float: left;
    transition: all 0.2s ease;
  }

  .doctor_introduction .teacher {
    width: 1000px;
    margin: 0 auto;
  }

  .tab_item_a p,
  .tab_item_b p,
  .tab_item_c p {
    margin: 15px auto 0;
    font-size: 22px;
    letter-spacing: 0.1em;
  }

  .tab_item p .small {
    font-size: 17px;
  }

  .tab_item_a p .blue,
  .tab_item_b p .blue,
  .tab_item_c p .blue {
    color:  #00A0CA;
    font-size: 15px;
    letter-spacing: 0.15em;
  }

  .tab_item_a p img:hover,
  .tab_item_b p img:hover,
  .tab_item_c p img:hover {
    opacity: 0.75;
    border-radius: 18px;
    outline: 3px solid #00A0CA;
    /* outline-offset: -2px; */
  }

  .doctor_introduction .withdrawal {
    background-color: #F4F3F3;
    position: relative;
    z-index: 30;
    display: flex;
  }
  /* -----------================== */
  .tab_item_a,
  .tab_item_b,
  .tab_item_c {
    display : block;
    z-index : 3;
    right : 13px;
    top   : 12px;
    width : 42px;
    cursor: pointer;
  }

  @media screen and (min-width: 768px) {
  .tab_content {
    width: 1000px;
    clear: both;
    transform: translateY(-100%);
    transition: all 0.6s;
  }
  .tab_content_a,
  .tab_content_b,
  .tab_content_c {
    display: none;
  }

  .tab_content_a {
    width: 1000px;
    clear: both;
    /*transform: translateY(-100%);*/
    transition: all 0.6s;
  }

  .tab_content_b {
    width: 1000px;
    clear: both;
    /*transform: translateY(-200%);*/
    transition: all 0.6s;
  }

  .tab_content_c {
    width: 1000px;
    clear: both;
    /*transform: translateY(-300%);*/
    transition: all 0.6s;
  }


  /* このクラスを、jQueryで付与・削除する */
  div.tab_content_a.active,
  div.tab_content_b.active,
  div.tab_content_c.active {
    display: block;
  }
  div.tab_content_a.active {
    /*transform: translateY(0%);*/
  }

  div.tab_content_b.active {
    /*transform: translateY(-100%);*/
  }

  div.tab_content_c.active {
    /*transform: translateY(-200%);*/
  }

  /* -----------================== */

  /*ラジオボタンを全て消す*/
  input[name="tab_item"] {
    display: none;
  }

  /*選択されているタブのコンテンツのみを表示*/
  #sato:checked ~ #sato_content,
  #shimakura:checked ~ #shimakura_content,
  #yanagisawa:checked ~ #yanagisawa_content {
    display: block;
  }

  /*選択されているタブのスタイルを変える*/
  .tabs input:checked + .tab_item {
    background-color: #5ab4bd;
    color: #fff;
  }
  }

  .tab_content_wrap {
    position: relative;
  }

  .tab_content_a .tab_content_description,
  .tab_content_b .tab_content_description,
  .tab_content_c .tab_content_description {
    display: flex;
    background-color: #00A0CA;
    color: #ffffff;
    border-radius: 20px;
    /*height: *//*758px;*//*368px;*/
  }
  .tab_content_a .tab_content_description {
    /*height: 880px;*/
  }

  .tab_content .tab_content_description .tab .c-txtsp {
    font-size: 14px;
    letter-spacing: 0.11em;
  }

  .tab_content_a .tab_content_description .tab .c-txtsp a {
    color: #ffffff;
    text-decoration: underline;
  }

  .tab_content_a .triangle_a {
    width: 0;
    height: 0;
    position: relative;
    left: 36px;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 45px solid #00A0CA;
  }

  .tab_content_b .triangle_b {
    width: 0;
    height: 0;
    position: relative;
    left: 350px;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 45px solid #00A0CA;
  }

  .tab_content_c .triangle_c {
    width: 0;
    height: 0;
    position: relative;
    left: 683px;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 45px solid #00A0CA;
  }

  .tab_content_a .tab_content_description .tab,
  .tab_content_b .tab_content_description .tab,
  .tab_content_c .tab_content_description .tab {
    width: 500px;
    padding: 43px 40px;
  }

  .tab_content_a .tab_content_description .tab h2,
  .tab_content_b .tab_content_description .tab h2,
  .tab_content_c .tab_content_description .tab h2 {
    border-bottom: 2px solid #ffffff;
    font-size: 18px;
    letter-spacing: 0.15em;
  }

  .tab_content_description table {
    width: 100%;
    margin-bottom: 30px;
  }
  .tab_content_description th,
  .tab_content_description td {
    padding-bottom: 4px;
    line-height: 1.5;
  }
  .tab_content_description th {
    width: 110px;
    text-align: left;
  }
  .tab_content_description td {
    width: calc(100% - 110px);
  }
  @media screen and (max-width: 767px) {
    .tab_content_description th {
      width: 90px;
    }
    .tab_content_description td {
      width: calc(100% - 90px);
    }
  }

  .p-top .introduction h1 {
    font-size: 30px;
    color: #00A0CA;
}

  .doctor_introduction h1 {
     font-size: 30px;
     color: #00A0CA;
     text-align: center;
     padding-top: 100px;
     padding-bottom: 80px;
  }
/* =============================================== */

/* ----------------------------- スマホ（～767px） */

@media screen and (max-width: 767px)  {

  body {
    min-width: initial;
  }

  .top_menu {
    width: 100%;
    padding-top: 117px;
  }
  .top_menu table {
    margin-bottom: 60px;
  }

  .p-top .reservation {
    padding-top: 90px;
  }

  .p-top .reservation ul {
    width: 100%;
  }

  .p-top .reservation ul li {
    font-size: 13px;
    margin-left: 5px;
    margin-right: 5px;
  }

  .top_menu .reservation ul {
    width: 100%;
  }

  .top_menu-wrap {
    /*height: calc(100vh - 90px - 64px);*/
    padding-bottom: 60px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
  }

  .top_menu-wrap p {
    margin-top: -20px;
  }

  .top_menu table {
    width: 100%;
    padding-top: 60px;
    margin-top: 12px;
  }

  .top_menu .news {
    width: 100%;
    margin-top: 45px;
  }

  .top_menu .news ul {
    width: 100%;
    display: block;
  }

  .top_menu .reservation ul li {
    padding: 0;
  }

  .top_menu .news ul:after {
      display: block;
      content: "";
      clear: both;
  }
  .top_menu .news ul li  {
  margin: 0 auto 40px;
  }
  .top_menu .news ul li li {
    margin-bottom: 0;
  }

  .top_menu .news ul li:nth-child(2) {
    padding: 0;
    margin-left: 20px;
  }
  .top_menu .news ul li:nth-child(2),
  .top_menu .news ul li:nth-child(3) {
    width: calc(47% - 20px);
    float: left;
  }
  .top_menu .news ul li:nth-child(3) {
    margin-left: 6%;
    margin-right: 20px;
  }

  .top_menu .reservation ul li a {
    font-size: 11px;
  }

  .p-top .introduction {
    padding: 40px 10px;
  }

  .p-top .introduction .sentence  {
    line-height: 34px;
    font-size: 8px;
    margin-bottom: 30px;
  }

  .doctor_introduction h1 {
    padding-top: 50px;
    padding-bottom: 30px;
  }

  .tab_content_a,
  .tab_content_b,
  .tab_content_c {
    width: 100%;
  }

  .tab_content .tab_content_description {
    display: block;
    height: auto;
  }

  .tab_content .tab_content_description .tab {
    width: 343px;
    padding: 17px 15px;
  }

  .tab_content .triangle_b {
    left: 160px;
  }

  .tab_content .triangle_c  {
    left: 286px;
  }

  .tab_content .tab_content_description .tab .c-txtsp {
    font-size: 12px;
  }



  .doctor_introduction {
    height: auto;
    padding-bottom: 80px;
  }
  @media screen and (max-width: 767px) {
    .doctor_introduction {
      padding-bottom: 50px;
    }
  }
  .doctor_introduction .teacher {
    width: 100%;
  }
  .doctor_introduction .teacher > a {
    display: block;
  }

  .doctor_introduction .withdrawal {
    padding-left: 30px;
    padding-right: 30px;
    /*justify-content: space-between;*/
    display: block;
  }
  .doctor_introduction .tab_item_a,
  .doctor_introduction .tab_item_b,
  .doctor_introduction .tab_item_c {
    /*width: 31%;*/
    width: 100%;
    display: flex;
    align-items: center;
    margin-bottom: 30px;
  }
  .doctor_introduction .tab_item_c {margin-bottom: 0;}
  .doctor_introduction .tab_item_a p:first-child,
  .doctor_introduction .tab_item_b p:first-child,
  .doctor_introduction .tab_item_c p:first-child {
    width: 55%;
  }
  .doctor_introduction .tab_item_a p:nth-child(2),
  .doctor_introduction .tab_item_b p:nth-child(2),
  .doctor_introduction .tab_item_c p:nth-child(2) {
    width: 40%;
    margin-left: 5%;
  }
  .doctor_introduction .tab_item_a .btn,
  .doctor_introduction .tab_item_b .btn,
  .doctor_introduction .tab_item_c .btn {
    display: inline-block;
    background: #6bbcf5;
    color: #fff;
    border-radius: 5px;
    padding: 4px 6px 3px;
    line-height: 160%;
    margin-top: 8px;
    font-size: 10px;
    font-weight: normal;
  }

  .tab_item_a p, .tab_item_b p, .tab_item_c p {
    font-size: 15px;
    margin-top: 10px;
  }

  .tab_item_a p .blue, .tab_item_b p .blue, .tab_item_c p .blue {
    font-size: 10px;
    display: inline-block;
    line-height: 140%;
    margin-top: 2px;
  }

  .remodal {
    background: none !important;
    text-align: left;
    padding: 0 !important;
  }
  .remodal-close {
    top: 20px !important;
    right: 20px !important;
    left: auto !important;
    color: #fff !important;
  }

  /*.tab_content_a,
  .tab_content_b,
  .tab_content_c {
    transform: translateY(0%);
    height: auto;
    display: block;
    overflow: hidden;
  }
  div.tab_content_a.active,
  div.tab_content_b.active,
  div.tab_content_c.active {
    height: auto;
    display: block;
    transform: translateY(0%);
  }*/

  .tab_content_a .tab_content_description, .tab_content_b .tab_content_description, .tab_content_c .tab_content_description {
    display: block;
    height: auto !important;
    margin-left: 15px;
    margin-right: 15px;
    margin-top: 15px;
  }
  .tab_content_a .tab_content_description .tab, .tab_content_b .tab_content_description .tab, .tab_content_c .tab_content_description .tab {
    width: auto;
    padding: 25px;
  }

  .tab_content {
    width: 100%;
    float: none;
  }

  .l-pagetop_footer .surgery {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .l-pagetop_footer .surgery table {
    width: 100%;
    margin-top: 30px;
    padding-top: 30px;
  }

  .l-pagetop_footer .clinic .clinic_wrap {
    display: block;
    width: 93%;
    margin: 0 auto;
  }

  .l-pagetop_footer .clinic .clinic_wrap .week {
    width: 100%;
    text-align: center;
  }

  .tab_content_a .triangle_a,
  .tab_content_b .triangle_b,
  .tab_content_c .triangle_c {
    display: none;
  }

  .tab_content_a .tab_content_description,
  .tab_content_b .tab_content_description,
  .tab_content_c .tab_content_description {
    height: 350px;
    border-color: transparent;
  }

}

@media (max-width: 1180px) and (min-width: 768px) {
  .top_menu .reservation ul,
  .top_menu table {
    width: 100%;
  }

  .top_menu .news {
    width: 93%;
  }

  .top_menu .news ul li {
    width: 100%;
  }

  .doctor_introduction .teacher {
    width: 93%;
  }

  .tab_content {
    width: 100%;
  }

  .tab_content .triangle_b {
    left: 35%;
  }

  .tab_content .triangle_c {
    left: 72%;
  }

  .tab_content .tab_content_description .tab {
    padding: 43px 25px;
  }

  .tab_content .tab_content_description {
    height: 450px;
  }

  .l-pagetop_footer .surgery,
  .l-pagetop_footer .surgery table {
    width: 100%;
  }

}


.top_news_wrap{
  background: #F9F9F9;
  padding: 10px 0 50px 0;
  margin: 100px 0 0 0;
}
