@charset 'utf-8';

html:root {
  margin-top: 0 !important;
}

.layout-navigation-2nd__inner {
  box-sizing: auto;
}

/**
 * bootstrap 調整
 */
.col-block div[class*="col"] {
  display: block;
  max-width: inherit;
  flex: 1 1 auto;
}

/**
 * Screen Reader.
 */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.screen-reader-text:focus {
  background-color: #fff;
  border-radius: 2px;
  -webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.2);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-weight: bold;
  height: auto;
  left: 0.5em;
  line-height: normal;
  padding: 1em 1.5em;
  text-decoration: none;
  top: 0.5em;
  width: auto;
  z-index: 100000;
}


/**
 * posts pagination.
 */
.nav-links {
  text-align: center;
}

.page-numbers:not(.prev):not(.dots):not(.next) {
  margin: 0 0.5em;
}






.layout-inner::before,
.layout-inner::after {
  content: '';
  display: block;
  clear: both;
  height: 0;
}


/**
 * Navigation Arrow fix.
 */
@media print, screen and (min-width: 48em) {

  .layout-navigation a {
    display: inline-block;
  }


  .layout-navigation__item .current::before {
    bottom: -12px;
  }

}

/**
 * page title
 */

@media screen and (max-width: 47.9375em) {
  .page-heading .page-heading__text{
    letter-spacing: 0;
    text-indent: 0;
    font-size:3rem;
    line-height:4rem;
  }
}


/**
 * table style
 */
.table-type04 tbody th {
  background-color: #eee;
}


/**
 * 医師採用フォームボタン
 */
.btn.btn-doctor-form {
  background: rgba(255, 255, 255, 0.5);
  padding: 10px 30px;
  display: inline-block;
  border-radius: 20px;
  border: 2px solid #a64803;
  color: #a64803;
  font-size: 16px;
  font-size: 1.6rem;
  font-weight: 700;
  box-sizing: border-box;
  text-indent: 1.0em;
  position: relative;
}

.btn.btn-doctor-form::before {
  font-family: icomoon;
  position: absolute;
  left: 5px;
  top: 50%;
  margin-top: -20px;
  font-size: 26px;
  font-size: 2.6rem;
  content: "\e902";
}




/**
 * facility-block:
 */
.facility-block:after {
  content: none;
}

.facility-blockWap {
  background-color: #fff;
  overflow: hidden;
}

.facility-block__detail {
  padding: 0;
}

.facility-block__btn {
  margin: 0 10px 10px;
  text-align: right;

}

.facility-block__btn a {
  color: #a64803;
}

.facility-block__btn a::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  transform: rotate(-90deg);
  transition: transform 0.3s ease-out 0s;
  background: url(./common/img/common/arrow.png) #a64803 no-repeat center;
  border-radius: 16px;
  background-size: 50%;
  margin-right: 2px;
}

.facility-block__btn a.is-active::before {
  transform: rotate(0deg);
}

.facility-block__detail.facility-block__kango th {
  background-color: #f8e4eb;
}

@media print, screen and (max-width: 767px) {
  .page-activity-disaster-tdr #page-group01 .gallery .gallery-item {
    width: 100%;
  }
}

/**
 * Front Page
 */
.index-heading {
  background-position: center top;
}



/**
 * breadcrumb.
 */
.breadcrumbs {
  background: #fff;
}

.breadcrumbs-list {
  max-width: 980px;
  margin: auto;
  padding: 10px 20px;
}

.scroll-area {
  overflow-y: scroll;
  height: 300px;
  padding: 1em;
  border: 1px solid #999;
}

.scroll-area::-webkit-scrollbar {
  height: 10px;
}

.scroll-area::-webkit-scrollbar-track {
  background: #dddddd;
}

.scroll::-webkit-scrollbar-thumb {
  background: #028056;
}



/**
 * Saiyo
 */
.saiyo-banner {
  max-width: 990px;
  width: 95%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
}

.saiyo-banner__item {
  width: 25%;
}

@media print, screen and (max-width: 767px) {
  .saiyo-banner__item {
    width: 50%;
  }
}

.saiyo-banner__item img {
  max-width: none;
  width: 100%;
  padding: 5px;
  box-sizing: border-box;
}

.carousel.carousel--recruit .slick-prev,
.carousel.carousel--recruit .slick-next {
  background-color: #a64803;
}

/**
 * MV for Saiyo.
 */
.main-visual.main-visual--recruit {
  background: url(https://verification.tmg.or.jp/kango/wp-content/uploads/2018/01/dummy_main.jpg) no-repeat;
  background-size: cover;
  position: relative;
  background-position: center;
}

.tab-navigation .tab-navigation__inner li a {
  text-indent: 0;
}

.tab-navigation .tab-navigation__inner li a::before {
  position: static;
  display: inline-block;
  vertical-align: middle;
  margin-top: -5px;
  margin-left: 0;
  margin-right: 8px;
}

.tab-navigation.tab-navigation--recruit.tab-nagivation--new_graduate a {
  background: #008000;
}

.tab-navigation.tab-navigation--recruit.tab-nagivation--new_graduate a:hover {
  background: #fff;
  color: #008000;
}

/**
 *  Form
 */

@media print, screen and (max-width: 767px) {
  .mw_wp_form table input,
  .mw_wp_form table textarea {
    width: 100%;
    box-sizing: border-box;
  }

  .mw_wp_form table input[type=radio],
  .mw_wp_form table input[type=checkbox] {
    width: auto;
  }

  .horizontal-item {
    margin-left: 0 !important;
    display: block;
  }

  .mw_wp_form td div[style] {
    width: auto !important;
  }
}

/**
 * flow-wrap で矢印を消せるように。
 */
.flow-wrap.flow-wrap--last::after {
  display: none;
}

.flow-wrap.flow-wrap--last .flow-block01::after {
  display: none;
}

/**
 * 地域公開講座のヘッダ行は改行しない。
 */
th.lecture_date,th.lecture_place,th.lecture_title,th.lecture_area,th.lecture_limit {
  white-space: nowrap;
}

/**
 *  iframe
 */

.isFrame .layout-header,
.isFrame .layout-navigation,
.isFrame .footer-container,
.isFrame .layout-footer {
  display: none;
}

.isFrame .layout-content {
  padding-top: 0 !important;
}

/**
 *  card
 */

.cards .card_col {
  box-sizing: border-box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
}

.card {
  background-color: #FCF9F3;
  border: solid 1px #E5E5E5;
  border-radius: 8px;
  display: block;
  margin-bottom: 20px;
  position: relative;
  width: 100%;
  text-decoration: none;
}

.card:hover {
  background-color: #FFE6B3;
}

.card .card_body {
  display: block;
  padding: 15px;
}

.card .card_title {
  color: #00633d;
  font-size: 18px;
  margin: 0 0 5px;
}

.card .card_img {
  -webkit-background-size: cover;
  background-size: cover;
  margin: 0;
  padding-bottom: 64%;
}

.card .card_desc {
  margin: 0;
}

.card .card_icon,
.modal-close {
  background-color: #9B4D1D;
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  position: absolute;
  line-height: 35px;
  text-align: center;
  width: 35px;
  right: -10px;
  top: -10px;
}

/**
 *  modal
 */

.modal {
  z-index: 100001;
}

.modal-backdrop.show {
  z-index: 100000;
}

.modal-header {
  border-bottom: none;
  padding: 2em 2em 0;
}

.modal-title {
  border-left: 4px solid #00633d;
  font-size: 21px;
  margin: 0;
  padding-left: .5em;
}

.modal-body {
  padding: 2em;
}

.modal-desc {
  margin-bottom: 0;
}

.modal-img {
  margin: 0;
  text-align: center;
}

.modal-footer {
  border-top: none;
  display: block;
  padding: 0;
}

.modal-close {
  border: 1px solid #fff;
}

@media (min-width: 800px) {
  .modal-dialog {
    max-width: 800px;
  }
}

/**
 *  サイトマップ
 */

.site_map__list .wsp-pages-list {
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.site_map__list .wsp-pages-list > .page_item {
  margin-bottom: 15px;
  width: 49%;
}

.site_map__list .wsp-pages-list .page_item a {
  text-decoration: underline;
}

.site_map__list .wsp-pages-list .page_item a:hover {
  text-decoration: none;
}

.site_map__list .wsp-pages-list > .page_item > a {
  background-color: #EEEEEE;
  border-left: 5px solid #00633D;
  color: #00633D;
  display: block;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  padding: 5px 15px;
}

.site_map__list .wsp-pages-list.site_map--saiyo > .page_item > a {
  background-color: #FDF9F2;
  border-left-color: #A64803;
  color: #A64803;
}

.site_map__list .children {
  padding: 0;
}

.site_map__list .children .page_item {
  padding-left: 20px;
}

.site_map__list .children .page_item:before {
  content: none;
}

.site_map__list .children .page_item a {
  display: block;
  margin-bottom: 5px;
  position: relative;
  padding-left: 1em;
}

.site_map__list .children .page_item a:before {
  content: "›";
  position: absolute;
  left: 0;
  top: 0;
}
