@charset "UTF-8";
/* 
* CMSで使うCSS 
*/
.entry_content h1 {
  margin: 40px 0 20px;
  padding: 5px 10px;
  border-bottom: 2px solid #ff629a;
  border-radius: 0;
  background: none;
  color: #ff629a;
  font-size: 2rem;
  text-align: center;
  font-family: "Hiragino Mincho ProN", "HGS明朝E", "メイリオ", "Meiryo", serif;
}
.entry_content h2 {
  margin: 40px 0 20px !important;
  padding: 5px 15px !important;
  background: #FADAE4 !important;
  color: #ff629a !important;
  border-radius: 30px !important;
  text-align: center !important;
  font-size: 2rem !important;
  letter-spacing: 0px !important;
  font-family: "Hiragino Mincho ProN", "HGS明朝E", "メイリオ", "Meiryo", serif;
}
.entry_content h2:before {
  display: none !important;
}
.entry_content h2:after {
  display: none !important;
}
.entry_content h3 {
  margin: 40px 0 20px !important;
  padding: 4px 0 2px 10px !important;
  border-left: 6px solid #ff629a;
  border-bottom: none !important;
  font-size: 2rem !important;
  text-align: left !important;
}
.entry_content h4 {
  margin: 40px 0 20px !important;
  padding: 4px 0 2px 8px !important;
  border-left: 4px solid #ff629a;
  border-bottom: none !important;
  font-size: 1.6rem !important;
  text-align: left !important;
  color: #ff629a;
  font-family: "Hiragino Mincho ProN", "HGS明朝E", "メイリオ", "Meiryo", serif;
}
.entry_content h5 {
  margin: 40px 0 20px;
  color: #ff629a;
  font-size: 1.7rem;
  font-family: "Hiragino Mincho ProN", "HGS明朝E", "メイリオ", "Meiryo", serif;
}
.entry_content h6 {
  margin: 40px 0 20px;
  color: #ff629a;
  font-size: 1.7rem;
}
.entry_content blockquote {
  margin: 0 10px 10px 10px;
  padding: 10px 15px;
  border-radius: 10px;
  background: #eeeeee;
}
.entry_content blockquote p {
  margin-bottom: 0px !important;
}
.entry_content .alignleft {
  display: block;
  float: left;
}
.entry_content .alignright {
  display: block;
  float: right;
}
.entry_content .aligncenter {
  display: block;
  margin-right: auto;
  margin-left: auto;
}
/**
 * table
 */
@media screen and (max-width: 980px) {
  table {
    display: block;
    overflow-x: auto;
    height: 100% !important;
  }
  table th,
  table td {
    white-space: nowrap;
  }
}
/**
 * wp-pagenavi
 */
.wp-pagenavi {
  clear: both;
  margin-top: 30px;
  margin-bottom: 30px;
  text-align: center;
}
.wp-pagenavi a, .wp-pagenavi span {
  text-decoration: none;
  background: #2a4198;
  border: solid 1px #2a4198;
  padding: 10px 10px;
  margin: 2px;
  color: white;
}
.wp-pagenavi a:hover, .wp-pagenavi span.current {
  background: white;
  border: solid 1px #2a4198;
  color: #2a4198;
}
.wp-pagenavi span.current {
  font-weight: bold;
}
.wp-pagenavi .pages {
  display: none;
}
.wp-pagenavi .extend {
  display: none;
}

/**
 * icon
 */
#news .icon_new_window:after,
#news .icon_pdf:after,
#news .icon_doc:after,
#news .icon_xls:after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: 8px;
  margin-bottom: 3px;
  background-position: left center;
  background-repeat: no-repeat;
  vertical-align: middle;
}
#news .icon_new_window:after {
  background-image: url(/kango/_wp/wp-content/themes/teikyo-u/common/img/icon_blank.png);
}
#news .icon_pdf:after {
  background-image: url(/kango/_wp/wp-content/themes/teikyo-u/common/img/icon_pdf.gif);
}
#news .icon_doc:after {
  background-image: url(/kango/_wp/wp-content/themes/teikyo-u/common/img/icon_word.gif);
}
#news .icon_xls:after {
  background-image: url(/kango/_wp/wp-content/themes/teikyo-u/common/img/icon_excel.gif);
}
span.label_new {
    display: inline-block;
    padding: 0 5px;
    color: #E83A3D;
    border: 1px solid #E83A3D;
    border-radius: 4px;
    font-size: 12px;
    vertical-align: text-bottom;
}

/**
 * ニュース下の画像
 */
@media screen and (min-width: 981px) {
  .row_img {
    width: 100%;
    margin: 30px -10px 0 -10px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: center;
  }
  .row_img .col_1,
  .row_img .col_2,
  .row_img .col_3 {
    padding: 0 10px;
    box-sizing: border-box;
    -webkit-box-flex: 0;
    text-align: center;
  }
  .row_img .col_1 {
    width: 346px;
  }
  .row_img .col_2 {
    width: 346px;
  }
  .row_img .col_3 {
    width: 33.333%;
  }
}
@media screen and (max-width: 980px) {
  .row_img {
    width: 100%;
  }
  .row_img .col_1,
  .row_img .col_2,
  .row_img .col_3 {
    width: 100%;
    text-align: center;
    margin-top: 20px;
    line-height: 1.5;
  }
  .row_img .col_1 p,
  .row_img .col_2 p,
  .row_img .col_3 p {
    margin-top: 5px;
  }
}
.row_img img {
  max-width: 100%;
  height: auto;
}