@charset "UTF-8";

/* CSS Document */
.h2_line {
  text-align: center;
}

.h2_line h2 {
  text-align: center;
  display: inline-block;
  margin-bottom: 80px;
}

.h2_line h2::before,
.h2_line h2::after {
  content: "";
  width: 17vw;
  height: 1px;
  background: #20b8fc;
  display: inline-block;
  vertical-align: middle;
  margin: 20px;
}

.h2_line_gairai h2::before,
.h2_line_gairai h2::after {
  content: "";
  width: 14vw;
  height: 1px;
  background: #20b8fc;
  display: inline-block;
  vertical-align: middle;
  margin: 20px;
}

/*-----------
header
-------------*/
.header_bg {
  z-index: -9999;
  width: 100vw;
  min-height: 500px;
}

.slider li > img,
.mv_slider li > img,
.slider li > a > img,
.mv_slider li > a > img {
  width: 100%;
  height: 80vh;
  object-fit: cover;
  min-height: 550px;
}

.slider li.mv .concept,
.mv_slider li.mv .concept {
  width: 38%;
  position: absolute;
  bottom: 150px;
  left: 6vw;
}

.concept img {
  width: 100%;
}

.slide-item img {
  transition: transform 7s ease;
  transform: scale(1);
}

.slide-item.zoomIn img {
  transform: scale(1.05);
}



.open {
  position: absolute;
  width: 23rem;
  border: 3px solid #0076dd;
  border-radius: 30px;
  background: #fff;
  position: absolute;
  /*bottom: 145px;*/
  bottom: 255px;
  right: 6vw;
}

.open .title,
.event .title {
  background: #0076dd;
  color: #fff;
  border-radius: 27px 27px 0 0;
  text-align: center;
  padding: 10px 0;
}

.open .open_subtitle {
  text-align: center;
  font-weight: bold;
}

.open .btn_blue,
.open .btn_orange {
  width: 240px;
  margin: 10px auto;
  display: block;
}

.open .btn_blue_opacity a,
.open .btn_orange_opacity a {
  padding: 6px 10px;
}

.open table {
  width: 90%;
  margin: auto;
}

.open table tr th

/* ,.event table tr th */ {
  color: #105fa3;
  background: #e2f6ff;
  border-radius: 0;
  padding: 5px;
  display: table-cell;
  vertical-align: middle;
  width: 44px;
}

.open table tr td {
  font-size: 1.1rem;
  text-align: center;
}

.open table tr th,
.open table tr td {
  border: 1px solid #105fa3;
  padding: 10px 0;
}

.open table tr td span {
  color: red;
}

.open table tr th,
.open table tr td {
  margin: 6px 0;
  line-height: 1.3rem;
}

.open .btn_blue_opacity,
.open .btn_orange_opacity {
  width: 160px;
  margin: 10px auto;
  display: block;
}

.open .btn_list {
  display: flex;
}

a.btn_sche {
  width: 80%;
  display: block;
  text-align: center;
  padding: 10px;
  background: #f36565;
  color: #fff;
  border-radius: 10px;
  font-size: 0.8rem;
  margin: 5px auto;
}

/*--------------
topics,news
---------------*/
.topics {
  height: 276px;
  margin: 60px 8vw 100px 8vw;
}

.topics h2 {
  width: 40%;
  color: #fff;
  text-align: center;
}

.topics h2::before {
  content: "";
  background-image: url("../img/icon_topics.png");
  width: 60px;
  height: 52px;
  display: block;
  background-repeat: no-repeat;
  background-size: contain;
  margin: 78px auto 10px;
}

.topics ul {
  width: 70%;
  height: 216px;
  overflow: scroll;
  background: #f8f8f8;
  padding: 30px;
  padding-left: 70px;
}

.topics ul li,
.news ul li {
  display: flex;
  margin: 10px auto;
}

.topics ul li:first-child,
.news ul li:first-child {
  margin: 0;
}

.topics ul li time,
.news ul li time {
  color: #0076dd;
  display: inline;
  margin-right: 30px;
}

.topics ul li p a {
  /*color: #0076DD;*/
}

.topics ul li {
  position: relative;
  padding-left: 30px;
}

.topics ul li:before {
  font-family: "Font Awesome 5 Free";
  content: "\f071";
  font-weight: 900;
  padding-right: 5px;
  color: red;
  position: absolute;
  left: 0;
  top: 5px;
}

.news {
  background: #f8f8f8;
  padding: 80px 8vw;
}

/* 本アップの時消す↓ */
.news_topic {
  padding: 0;
}

.news ul {
  width: fit-content;
  height: 421px;
  overflow: scroll;
  margin: 0 auto;
}

.news ul li {
  border-bottom: 1px dashed #707070;
  padding: 40px;
  margin: 0;
}

.news ul li:first-child {
  border-top: 1px dashed #707070;
}

.topics ul li a:hover,
.news ul li a:hover {
  opacity: 1;
  color: #0076dd;
  text-decoration: underline;
}

/*--------------
info
---------------*/
.info {
  margin: 0 6vw 100px;
}

.info ul {
  justify-content: space-around;
}

.info ul li {
  width: 23%;
  border-radius: 30px;
  position: relative;
  overflow: hidden;
}

.info ul li p {
  width: 100%;
  text-align: center;
  font-size: 25px;
  color: #0076dd;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.7);
  padding: 10px 0;
}

.info ul li p::before {
  content: "";
  width: 30px;
  height: 30px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
}

.info ul li:first-child p::before {
  background: url("../img/icon_time.webp");
  background-size: contain;
  background-repeat: no-repeat;
}

.info ul li:nth-child(2) p::before {
  background: url("../img/icon_table.webp");
  background-size: contain;
  background-repeat: no-repeat;
}

.info ul li:nth-child(3) p::before {
  background: url("../img/icon_resting.webp");
  background-size: contain;
  background-repeat: no-repeat;
}

.info ul li:nth-child(4) p::before {
  background: url("../img/icon_list.webp");
  background-size: contain;
  background-repeat: no-repeat;
}

.info ul li:first-child p.lightblue::before {
  background: url("../img/icon_time_hover.webp");
  background-size: contain;
  background-repeat: no-repeat;
}

.info ul li:nth-child(2) p.lightblue::before {
  background: url("../img/icon_table_hover.webp");
  background-size: contain;
  background-repeat: no-repeat;
}

.info ul li:nth-child(3) p.lightblue::before {
  background: url("../img/icon_resting_hover.webp");
  background-size: contain;
  background-repeat: no-repeat;
}

.info ul li:nth-child(4) p.lightblue::before {
  background: url("../img/icon_list_hover.webp");
  background-size: contain;
  background-repeat: no-repeat;
}

.info ul li a {
  display: block;
}

.info ul li a:hover {
  opacity: 1;
}

.info ul li img {
  width: 100%;
  display: block;
  transition: 0.5s;
}

.info ul li img.bigger {
  transform: scale(1.2, 1.2);
}

/*--------------
event
---------------*/
.event {
  margin-right: 8vw;
  margin-left: 8vw;
}

.event .flex {
  justify-content: center;
  align-items: flex-start;
  margin-top: 50px;
}

@media screen and (max-width: 768px) {
  .event .flex {
    display: block;
    width: 90%;
    margin: 0 auto;
  }

  .event .flex div {
    margin-bottom: 15px;
  }

  .event .flex img {
    width: 100%;
  }
}

.event .flex div.event_img_box {
  width: 300px;
}

@media screen and (max-width: 768px) {
  .event .flex div.event_img_box {
    width: 100%;
  }
}

.event .flex > p {
  max-width: 530px;
  position: relative;
  margin-top: 10px;
}

.event .flex > p img {
  width: 100%;
}

.event .flex > p span {
  content: "";
  width: 350px;
  height: 340px;
  position: absolute;
  bottom: 0;
  left: -25px;
  background: #e2f6ff;
  z-index: -1;
}

.event .title {
  border-radius: 0;
}

.event ul {
  width: 40%;
  margin-left: 40px;
}

.event ul li {
  border: 1px solid #0076dd;
  /*margin: 10px 0;*/
  position: relative;
  padding-bottom: 48px;
}

.event .table_wrapper {
  box-sizing: border-box;
  padding: 20px;
}

.event table {
  width: 100%;
}

.event ul li .btn_orange_opacity {
  margin: 10px;
}

.event ul li table tr th {
  margin: 6px 0;
}

.btn_event {
  display: block;
  text-align: center;
}

/*--------------
gradation_box
---------------*/
.gradation_box {
  margin-bottom: 100px;
  height: 550px;
}

.gradation_box > p {
  width: 50vw;
  height: 100%;
}

.gradation_box > p img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.gradation_box .gradation {
  width: 50vw;
  padding: 60px;
}

.gradation_box .gradation p {
  color: #fff;
}

.gradation_box .gradation .title {
  font-size: 2rem;
  margin-bottom: 55px;
}

@media screen and (max-width: 768px) {
  .gradation_box .gradation .title {
    margin-bottom: 30px;
  }
}

.gradation_box .gradation .detail {
  font-size: 1.3rem;
  margin-bottom: 40px;
}

/*--------------
enteropathy
---------------*/
.enteropathy .flex {
  justify-content: center;
}

.enteropathy li {
  width: 23%;
  margin: 0 2% 80px;
}

.enteropathy .center li,
.enteropathy .center li p {
  overflow: hidden;
}

.enteropathy .center li p:first-child {
  border-radius: 30px;
}

.enteropathy .center li img {
  width: 100%;
  display: block;
  transition: 0.5s;
}

.enteropathy .center li img.bigger {
  transform: scale(1.2, 1.2);
}

.enteropathy .center li h3 {
  position: relative;
  display: block;
  text-decoration: none;
  margin-top: 15px;
}

.enteropathy .center li h3::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  content: "";
  width: 100%;
  height: 2px;
  background: #0076dd;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: transform 0.3s;
}

.enteropathy .center li h3.underline::after {
  transform: scale(1, 1);
}

.other_center li {
  width: 30%;
  text-align: center;
  position: relative;
  margin-top: 0;
}

.other_center li img {
  vertical-align: bottom;
}

.other_center li p.on {
  position: relative;
}

.other_center li p.on::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #0076dd;
  border-radius: 20px;
  opacity: 0.5;
  display: block;
}

.other_center li h3 {
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 10px;
  background: #fff;
}

.other_center li h3.on {
  background: #0076dd;
  color: #fff;
}

/*--------------
dock
---------------*/
.dock {
  background: url("../img/dock_bg.wepp");
  background-size: cover;
  background-repeat: no-repeat;
  padding: 100px;
}

.dock .bg {
  background: #fff;
  margin: 0 8vw;
  padding: 80px;
}

.dock .bg > p {
  margin-bottom: 40px;
}

.dock .flex {
  align-items: flex-start;
}

.dock > .flex p {
  width: 40%;
}

.dock .bg .btn_orange_opacity {
  margin-top: 40px;
}

.dock ul {
  flex-wrap: wrap;
}

.dock ul li {
  margin: 5px 10px;
  border: 1px solid #0076dd;
  border-radius: 30px;
}

.dock ul li a {
  color: #0076dd;
  display: block;
  padding: 10px 20px;
  border-radius: 30px;
}

.dock ul li a:hover {
  background: #0076dd;
  color: #fff;
}

/*--------------
accsess
---------------*/
.access .btn_orange {
  display: block;
  width: 255px;
  margin: 60px auto 0;
}

.access iframe {
  height: 680px;
}

/*--------------
contact
---------------*/
.contact {
  background: #f8f8f8;
  padding: 100px 0;
}

.contact_box {
  border: 3px solid #0076dd;
  margin: 0 16vw 60px;
  background: #fff;
}

.contact .title {
  color: #fff;
  font-size: 1.4rem;
  background: #0076dd;
  padding: 20px 0;
}

.contact .number {
  font-size: 1.8rem;
  padding: 40px;
}

@media screen and (max-width: 768px) {
  .contact .number {
    padding: 15px 10px;
  }
}

.contact .number::before {
  content: "";
  display: inline-block;
  width: 40px;
  height: 40px;
  background: url("../common/img/icon_tel.webp");
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: text-bottom;
  margin-right: 10px;
}

@media screen and (max-width: 768px) {
  .contact .number::before {
    width: 20px;
    height: 20px;
    margin-right: 5px;
  }
}

.contact .btn_orange {
  display: block;
  width: 255px;
  margin: 0 auto;
}

/*--------------
bnr_list
---------------*/
.bnr_list {
  flex-wrap: wrap;
  padding-bottom: 100px;
  justify-content: flex-start;
  gap: 20px;
  width: 80%;
  margin: 15px auto;
}

@media screen and (max-width: 768px) {
  .bnr_list {
    width: 90%;
    justify-content: space-between;
  }
}

.bnr_list li {
  width: 18%;
}

@media screen and (min-width: 830px) {
  .event table tr th,
  .event table tr td {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }
}

@media screen and (max-width: 768px) {
  .h2_line h2 {
    margin-bottom: 40px;
    font-size: 18px;
  }

  .flex {
    flex-direction: column;
  }

  /*--------------
header
---------------*/
  .h2_line h2::before,
  .h2_line h2::after {
    width: 10vw;
    margin: 5px;
  }

  .slider,
  .mv_slider {
    margin-top: 64px;
  }

  .header_bg {
    height: auto;
    min-height: auto;
  }

  .slider li > img,
  .mv_slider li > img,
  .slider li > a > img,
  .mv_slider li > a > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    min-height: auto;
  }

  .slider li.mv .concept,
  .mv_slider li.mv .concept {
    width: 65%;
    position: absolute;
    bottom: auto;
    left: 0;
    right: 0;
    top: 35%;
    margin: auto;
  }
  

  .open {
    width: 90vw;
    margin: 40px auto 0;
    position: inherit;
  }

  .open table tr td {
    font-size: 1rem;
  }

  .open table tr th,
  .open table tr td {
    margin-bottom: 0;
  }

  /*--------------
main
---------------*/
  .topics {
    margin: 60px 0 100px;
    height: 425px;
  }

  .topics h2 {
    width: 90%;
    margin: 0 auto;
  }

  .topics h2::before {
    width: 42px;
    margin: 10px auto 0;
  }

  .topics ul {
    width: 83%;
    height: 330px;
    padding: 15px;
    padding-top: 20px;
    margin: 0 auto;
  }

  .topics ul li,
  .news ul li {
    flex-direction: column;
    padding-left: 10px;
  }

  .news ul {
    padding-left: 0;
  }

  .news ul li {
    padding: 10px;
  }

  .info ul {
    padding-left: 0;
  }

  .info ul li {
    width: 100%;
    margin: 20px 0;
  }

  .event {
    margin-right: 0;
    margin-left: 0;
  }

  .event .flex > p {
    max-width: 250px;
    margin: 0 auto;
  }

  .event ul {
    width: 100%;
    padding-left: 0;
    margin-left: 0;
  }

  .event table {
    margin: 3px;
  }

  .event .flex > p span {
    left: -50px;
  }

  .gradation_box {
    height: auto;
  }

  .gradation_box > p,
  .gradation_box .gradation {
    width: 90%;
    margin: 0 auto;
  }

  .gradation_box .gradation {
    padding: 20px 0 20px;
  }

  .gradation_box .gradation .title {
    font-size: 1.6rem;
  }

  .gradation_box .gradation .detail {
    font-size: 1.2rem;
  }

  .gradation_box .gradation .title,
  .gradation_box .gradation .detail,
  .gradation_box .gradation .btn_orange {
    margin-left: 10px;
  }

  .enteropathy .flex {
    padding-left: 0;
  }

  .enteropathy li {
    width: 90%;
    margin: 20px auto;
  }

  .dock {
    padding: 20px 0;
  }

  .dock .bg {
    padding: 15px;
    margin: 0 5%;
  }

  .dock .bg > p {
    margin-bottom: 0;
  }

  .dock .flex {
    align-items: inherit;
    padding-left: 0;
    text-align: center;
  }

  .access iframe {
    height: 80%;
  }

  .contact_box {
    margin: 20px auto;
    width: 90%;
  }

  .contact .title {
    font-size: 1.1rem;
  }

  .contact .number {
    font-size: 1.1rem;
  }

  .bnr_list {
    flex-direction: row;
    padding-left: 0;
  }

  .bnr_list li {
    width: calc(100% / 2 - 10px);
  }
}

.naishikyo_box {
  width: 100%;
  background: #f8f8f8;
  padding: 45px 0;
}

.triangle {
  background: #fff;
  width: 80%;
  border: #eee 1px solid;
  margin: 0 auto;
  position: relative;
}

/* ラベル部分 左上に表示 */
.triangle::before {
  content: "";
  top: 0;
  left: 0;
  border-bottom: 5em solid transparent;
  border-left: 6em solid #ff995a;
  /* ラベルの色はここで変更 */
  position: absolute;
  z-index: 100;
}

.triangle::after {
  content: "check";
  display: block;
  top: 9px;
  transform: rotate(-45deg);
  color: #fff;
  /* 文字色はここで変更 */
  left: 4px;
  position: absolute;
  font-weight: bold;
  z-index: 101;
}

.naishikyo_flex_box {
  display: flex;
  justify-content: space-around;
  padding: 45px;
}

.naishikyo_txt {
  width: 30%;
}

.naishikyo_txt p.title {
  font-size: 30px;
  color: #ff995a;
  font-weight: bold;
}

.line {
  width: 100%;
  border: 1.5px solid #ff995a;
  margin: 18px 0;
}

@media screen and (max-width: 768px) {
  .triangle {
    width: 90%;
  }

  .naishikyo_flex_box {
    display: block;
    padding: 20px;
  }

  .naishikyo_txt {
    width: 100%;
    padding-top: 15px;
    padding-bottom: 20px;
  }

  .naishikyo_txt p.title {
    padding-left: 40px;
  }

  .youtube {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
  }

  .youtube iframe {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
  }
}

.detail_btn a {
  width: 120px;
}

.top_bnr_box {
  text-align: center;
}

.top_bnr_box img {
  width: 100%;
  margin-bottom: 10px;
  max-width: 960px;
}

@media screen and (max-width: 768px) {
  .top_bnr_box img {
    width: 90%;
  }
}

@media screen and (max-width: 768px) {
  .access_map {
    width: 90%;
    margin: 0 auto;
  }
}

@media screen and (max-width: 768px) {
  a.event_btn {
    padding-left: 15px;
  }

  .txt_syoukaki {
    width: 90%;
    margin: 0 auto;
  }
}

.slider_sp {
  display: none !important;
}

@media screen and (max-width: 768px) {
  .slider_sp {
    display: block !important;
  }

  .slider_pc {
    display: none !important;
  }
}

/* ポップアップ
-------------------------------------------------------------------------*/
.top_modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.top_modal h2 {
  color: #f13a65;
  line-height: 2.5rem;
}

@media screen and (max-width: 767px) {
  .top_modal h2 {
    font-size: 1.4rem;
  }
}

.top_modal-content {
  background-color: white;
  padding: 40px 30px;
  border-radius: 8px;
  width: 40%;
  text-align: center;
  position: relative;
  border: 2px solid #f13a65;
}

@media screen and (max-width: 767px) {
  .top_modal-content {
    width: 90%;
    margin: 0 auto;
    padding: 40px 10px;
  }
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  cursor: pointer;
}

/* トップ外来251008 追加 */
.gairai {
  background: #f8f8f8;
  padding: 80px 8vw;
  margin-bottom: 0;
}

/* .gairai_flex {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
} */
.gairai_flex {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media screen and (max-width: 767px) {
  .gairai_flex {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .gairai_flex02 {
    grid-template-columns: repeat(1, 1fr);
  }
}
@media screen and (max-width: 425px) {
  .gairai_flex {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
  }
}

.kyushin_flex {
  display: flex;
  gap: 30px;
  margin-bottom: 70px;
}

.gairai_red {
  color: red;
}

.list_mb50 {
  margin-bottom: 50px;
}

.gairai_flex .gairai_tbl table {
  margin-top: 5px;
}

th.gairai_th_time {
  color: #0076dd;
}

.gairai_flex .gairai_tbl .gairai_th {
  background-color: #e2f6ff;
  padding: 6px 10px;
}

.gairai_flex .gairai_tbl th,
.gairai_flex .gairai_tbl td {
  border-bottom: 1px solid #c5bfbf;
  padding: 6px 10px;
  text-align: center;
  vertical-align: middle;
}
@media screen and (max-width: 767px) {
  .gairai_flex .gairai_tbl th,
  .gairai_flex .gairai_tbl td {
    font-size: 10px;
    padding: 6px 6px;
  }
  th.gairai_th_time {
    color: #0076dd;
    display: block;
    width: 80px;
  }
}

.gairai_kome {
  font-size: 12px;
}

.kyushin_box {
  padding: 80px 8vw;
}

.kyushin_box .gairai_tbl table {
  width: 80%;
  margin: 0 auto;
  margin-bottom: 30px;
}

.kyushin_box .gairai_tbl th,
.kyushin_box .gairai_tbl td {
  border-bottom: 1px solid #c5bfbf;
  padding: 15px 16px;
  text-align: center;
  vertical-align: middle;
}

.komoku {
  background-color: #e2f6ff;
}

.date {
  background-color: #20b8fc;
  color: #fff;
}

.komoku th {
  color: #0076dd;
}

.kyushin_btn_box {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.kyushin_btn {
  display: inline-block;
  margin: 20px auto 0;
  overflow: hidden;
  text-align: center;
  position: relative;
}

.kyushin_btn a {
  background: #20b8fc;
  border: 2px solid #20b8fc;
  color: #fff;
  display: block;
  border-radius: 30px;
  padding: 12px 80px;
}

@media screen and (max-width: 767px) {
  .gairai_sp {
    height: 400px;
    overflow-y: auto;
  }

  .kyushin_box .gairai_tbl th,
  .kyushin_box .gairai_tbl td {
    padding: 10px;
    font-size: 14px;
  }
}

/* お知らせ */

.news_scroll {
  width: 100%;
  height: 600px;
  overflow-y: scroll;
  padding: 0 20px;
}
@media screen and (max-width: 767px) {
  .news_scroll {
  height: 300px;
}
}


.news_scroll::-webkit-scrollbar {
  width: 10px;
}

.news_scroll::-webkit-scrollbar-track {
  background: #fff;
  border: none;
  border-radius: 10px;
  box-shadow: inset 0 0 2px #0076dd;
}

.news_scroll::-webkit-scrollbar-thumb {
  background: #0076dd;
  border-radius: 10px;
  box-shadow: none;
}

.news_scroll .one {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.news_scroll .one dl {
  width: 100%;
  border-bottom: 1px solid #5d5d5d;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.news_scroll .one dl dt,
.news_scroll .one dl dd {
  padding: 15px 10px;
}

.news_scroll .one dl dt {
  width: 30%;
  font-weight: bold;
  text-align: center;
}

.news_scroll .one dl dt::after {
  display: inline-block;
  width: 80%;
  font-size: 1.4rem;
  text-align: center;
}

.news_scroll .one.news dl dt::after {
  content: "重要なお知らせ";
  background: #e18a18;
  color: #fff;
}

.news_scroll .one.reha dl dt::after {
  content: "患者さま";
  background: #59ae37;
  color: #fff;
}
.news_scroll .one.patient dl dt::after {
  content: "患者さま";
  background: #59ae37;
  color: #fff;
}
.news_scroll .one.medical dl dt::after {
  content: "医療関係者さま";
  background: #3d87b3;
  color: #fff;
}

.news_scroll .one.other dl dt::after {
  content: "その他";
  background: #a4aeb3;
  color: #fff;
}

.news_scroll .one dl dd {
  width: 70%;
}

/* NEWS欄 カテゴリー
-------------------------------------------------------------------------*/
.sortNav {
  display: flex;
  justify-content: space-between;
  background: #fff;
  border-bottom: 1px solid #17a4eb;
}

.sortNav li {
  width: calc(100% / 5 - 20px);
  text-align: center;
  border-top: 1px solid #17a4eb;
  border-left: 1px solid #17a4eb;
  border-right: 1px solid #17a4eb;
  color: #000;
  padding: 10px;
  cursor: pointer;
  box-sizing: border-box;
  letter-spacing: 2px;
  border-radius: 10px 10px 0 0;
}

.sortNav li.active {
  background: #17a4eb;
  color: #fff;
  font-weight: bold;
}

.sortNav li.btnNews.active {
  background: #e18a18;
}

.sortNav li.btnReha.active {
  background: #59ae37;
}
.sortNav li.btnPatient.active {
  background: #59ae37;
}

.sortNav li.btnMedical.active {
  background: #3d87b3;
}

.sortNav li.btnOther.active {
  background: #a4aeb3;
}

@media screen and (max-width: 767px) {
  .kyushin_box .gairai_tbl table {
    width: 100%;
  }

  .news_box {
    flex-wrap: wrap;
  }

  .news_box > div:nth-of-type(1) h1 {
    width: 70%;
  }

  .news_box > div:nth-of-type(1) h1 img {
    width: 40%;
    margin: 0 auto;
  }

  .news_box > div:nth-of-type(2) {
    width: 100%;
  }

  .news_scroll {
    height: 400px;
    overflow-y: scroll;
    padding: 0;
  }

  .news_scroll .one dl {
    flex-wrap: wrap;
  }

  .news_scroll .one dl dt,
  .news_scroll .one dl dd {
    padding: 10px;
    margin: 0;
  }

  .news_scroll .one dl dt {
    width: 100%;
    text-align: left;
  }

  .news_scroll .one dl dt::after {
    width: 100%;
  }

  .news_scroll .one dl dd {
    width: 100%;
  }

  /* NEWS欄 カテゴリー
-------------------------------------------------------------------------*/
  .sortNav li {
    width: calc(100% / 4);
    padding: 5px;
    letter-spacing: 0px;
    font-size: 10px;
  }
}

details {
  border: 1px solid #aaaaaa;
  border-radius: 4px;
  padding: 0.5em 0.5em 0;
}

summary {
  font-weight: bold;
  color: #0076db;
  margin: -0.5em -0.5em 0;
  padding: 15px;
  font-size: 1.17rem;
  cursor: pointer;
}

details[open] {
  padding: 0.5em;
}

details[open] summary {
  border-bottom: 1px solid #aaaaaa;
  margin-bottom: 0.5em;
}
