@charset "utf-8";

/* ポータルページ用 */

#mv_outer {
  background: #f6f6f6;
}
#mv {
  width: 100%;
  max-width: 1600px;
  height: 480px;
  margin: 0 auto;
}
@media (max-width: 991.9px) {
  #mv {
    height: 400px;
  }
}
@media (max-width: 767.9px) {
  #mv {
    height: 300px;
  }
}
@media (max-width: 479.9px) {
  #mv {
    height: 200px;
  }
}
@media (min-width: 1280px) {
  #mv {
    height: 550px;
  }
}
.article_box article .category.joban { background-color: #d1495a; }
.article_box article .category.tokyo { background-color: #e99b3f; }
.article_box article .category.kanagawa { background-color: #f8d83b; }
.article_box article .category.hokuetsu { background-color: #e9ec41; }
.article_box article .category.aichi { background-color: #86c841; }
.article_box article .category.mie { background-color: #1fa76b; }
.article_box article .category.kansai { background-color: #25abb7; }
.article_box article .category.okayama { background-color: #2895c0; }
.article_box article .category.kagawa { background-color: #4a7cbc; }
.article_box article .category.hiroshima { background-color: #796caf; }
.article_box article .category.kyushu { background-color: #a9458b; }
/*.article_box article .category.xxx { background-color: #be408b; }*/
.article_box article .category.kanagawa a,.article_box article .category.hokuetsu a { color:#222; }

/* ----------------------------------------------------------
  section
---------------------------------------------------------- */
section + section {
  margin-top: 90px;
  margin-bottom: 40px;
}
section.first_section {
  padding: 10px 0 0;
}
@media (min-width: 1280px) {
  section.first_section {
    padding: 0;
  }
}
section .h2_underline {
  font-size: 24px;
  line-height: 1.4;
  font-weight: 400;
  border-bottom: 2px solid #007abd;
  padding: 0 10px;
  margin-bottom: 20px;
}
section .h2_underline span {
  font-size: 14px;
  color: #aaa;
  margin-left: 20px;
}
section h3.branch_sub {
  background: #007abd;
  color: #fff;
  font-size: 18px;
  padding: 0 15px;
  margin-top: 20px;
}
section .text {
  font-size: 14px;
  line-height: 1.71428;
  margin: 20px 15px;
}
section .text p {
  margin: 20px 0;
}
section .text figure {
  text-align: center;
  margin: 20px 0;
}
section .text figure img {
  max-width: 100%;
}
section h3.branch_sub + figure {
  margin-top: 5px;
}
@media (max-width: 440px) {
  section .h2_underline span {
    display: none;
  }
}
/* ----------------------------------------------------------
  トップ、title list article_box
---------------------------------------------------------- */
@media (min-width: 540px) {
  .article_box {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .article_box article {
    position: relative;
    flex: 31.13% 0 0;
    max-width: 31.13%;
    background: #fff;
    padding: 15px 15px 45px;
    margin: 0 1.1% 20px;
    font-size: 12px;
    line-height: 1.5;
    box-shadow: 0 0 2px 1px #eee;
    border: 1px solid #ddd;
  }
  .article_box article figure {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 75%;
    overflow: hidden;
  }
  .article_box article figure img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s;
  }
  .article_box article figure img.position {
    object-position: top left;
  }
  .article_box article figure img:hover {
    transform: scale(1.2) rotate(5deg);
  }
  .article_box article .category {
    position: absolute;
    top: 10px;
    left: -1px;
    background: #007abd;
    width: 115px;
    padding-left: 15px;
  }
  .article_box article .category a {
    color: #fff;
    line-height: 2;
  }
  .article_box article time {
    display: block;
    color: #1cab44;
    margin: 5px 0 2px;
  }
  .article_box article h3.entry_title {
    font-size: 14px;
    font-weight: 500;
    color: #222;
  }
  .article_box article .more {
    position: absolute;
    right: 15px;
    bottom: 10px;
    color: #04c;
  }
  .article_box.title_list {
    padding-top: 20px;
  }
  .article_box.title_list article {
    padding: 15px 15px;
  }
  .article_box.title_list article .more {
    display: none;
  }
}
@media (max-width: 767.9px) {
  .article_box article {
    flex: 46% 0 0;
    max-width: 46%;
    margin: 0 2% 20px;
  }
}
@media (max-width: 539.9px) {
  .article_box article::after {
    content: "";
    clear: both;
    display: block;
  }
  .article_box article {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0 0 20px;
  }
  .article_box article figure {
    float: left;
    position: relative;
    width: 47%;
    max-width: 150px;
    height: 112px;
    margin-right: 10px;
    overflow: hidden;
  }
  .article_box article figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
  }
  .article_box article .category {
    float: left;
    background: #007abd;
    width: 115px;
    padding-left: 15px;
  }
  .article_box article .category a {
    color: #fff;
    font-size: 12px;
    line-height: 20px;
  }
  .article_box article > a {
    float: left;
    width: calc(100% - 160px);
    min-width: 135px;
  }
  .article_box article time {
    display: block;
    color: #1cab44;
    font-size: 11px;
    margin: 8px 0;
  }
  .article_box article h3.entry_title {
    float: left;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 400;
    color: #222;
  }
  .article_box article .more {
    display: none;
  }
  .article_box.title_list {
    padding-top: 20px;
  }
}


/* ----------------------------------------------------------
  支部情報 ポータル
---------------------------------------------------------- */
.staff_name {
  background: #f0f0f0;
  padding: 20px 25px;
}
.staff_name li {
  display: inline-block;
  margin-right: 2em;
}
@media (max-width: 991.9px) {
  .staff_name li {
    padding-left: 1.2em;
    text-indent: -1.2em;
  }
}


/* ----------------------------------------------------------
  新着情報、サイト内検索
---------------------------------------------------------- */
.search_text {
  margin: 0px 20px 20px;
  line-height: 1.4;
}
.entry_list {
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
  width: calc(100% - 20px);
  margin: 0 10px 40px;
  font-size: 14px;
  line-height: 1.4;
  border-bottom: 1px solid #ccc;
}
.entry_list dt:first-of-type,
.entry_list dd:first-of-type,
.entry_list dd:nth-of-type(2) {
  background: #1cab44;
  color: #fff;
}
.entry_list dt {
  flex-basis: 60%;
  max-width: 60%;
  border-top: 1px solid #ccc;
  padding: 10px;
}
.entry_list dd {
  flex-basis: 20%;
  max-width: 20%;
  border-top: 1px solid #ccc;
  padding: 10px;
  font-size: 12px;
}
@media (max-width: 539.9px) {
  .entry_list dt {
    flex-basis: 100%;
    max-width: 100%;
  }
  .entry_list dd {
    flex-basis: 50%;
    max-width: 50%;
    padding-top: 0;
    border-top: 0;
  }
}
.pagination {
  display: -webkit-flex;
  display: flex;
  flex-basis: 95%;
  max-width: 95%;
  justify-content: space-between;
  margin: 0px auto 45px;
}
.pagination a {
  position: relative;
  background: #fff;
  color: #222;
  box-shadow: 0 0 2px 1px #eee;
  border: 1px solid #ddd;
  width: 130px;
  font-size: 14px;
  line-height: 30px;
  margin: 0 5px 10px;
  text-align: center;
}

/* ----------------------------------------------------------
  コラム タイトルリスト
---------------------------------------------------------- */
.column_box {
  padding-top: 20px;
}
.column_box ul {
  margin-bottom: 30px;
}
.column_box li {
  display: -webkit-flex;
  display: flex;
  border-bottom: 2px dotted #aaa;
  padding: 15px;
}
.column_box li time {
  flex-basis: 100px;
  max-width: 100px;
  color: #1cab44;
  font-size: 12px;
}
.column_box li a {
  flex-basis: calc(100% - 100px);
  max-width: calc(100% - 100px);
  font-size: 14px;
}

/* ----------------------------------------------------------
  トップページMV　カスタマイズ　1296x720の画像を用意する
---------------------------------------------------------- */
.swiper-slide.contain {
  background-size:cover !important;
}
.swiper-slide.contain a {
  display:block;
  width:100%;
  height:100%;
}
@media (min-width: 992px) {
  .swiper-slide.contain {
    background-size:contain !important;
  }
}


