@charset "UTF-8";
/* CSS Document */

/* ルート */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');
:root{
  --sans: "Noto Sans JP", sans-serif;
  --container_width: 1120px;
  --calced_least: calc(((100vw - 30px - var(--container_width)) / 2)* -1);
}

/* パーツ */
h2 + h2{
  margin-top: 0 !important;
}
.entry-content h2{
  border: 0;
  font-family: var(--sans);
  background: #e9f7c1;
  font-weight: bold;
  font-size: 25px;
  padding: 15px;
  margin-top: 30px;
  margin-bottom: 30px;
}
.entry-content h3{
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 500;
  line-height: 43px;
  color: #436d02;
  border: 0;
  padding: 0;
  margin-top: 20px;
}
.entry-content h4 {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 500;
  color: #436d02;
  border: 0;
  border-top: #436d02;
  border-bottom: 1px solid #436d02;
  padding: 18px 15px;
  margin: 35px 0 25px;
}
.entry-content img{
  margin-bottom: 15px;
}
.entry-content h2:nth-child(1), 
.entry-content h3:nth-child(1), 
.entry-content h4:nth-child(1){
  margin-top: 0;
}
.entry-content .alert-danger {
  background-color: transparent;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 18px;
  color: #CE000F;
  border: 0;
  padding: 0;
  margin-top: 10px;
}

/* トップ見出し */
.jumbotron.news {
  display: none;
}
.entry-single .entry-header{
  background: url(/common/forhp/images/common/main_bg.png) no-repeat;
  background-size: cover;
  border: 0 !important;
  /* width: calc(100vw - 15px); */
  padding: 35px 15px 35px;
  /* margin-left: var(--calced_least); */
  /* margin-bottom: 60px; */
}
.entry-single .entry-header .entry-title {
  position: relative;
  color: #333;
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  padding-bottom: 25px;
  margin: 0 !important;
}
.entry-single .entry-header .entry-title::before{
  content: "";
  display: block;
  position: absolute;
  background-image: url(/common/forhp/images/common/grad_dots.svg);
  background-size: contain;
  transform: translateX(-50%);
  width: 63px;
  height: 8px;
  left: 50%;
  bottom: 0px;
}
.entry-single .entry-header .entry-meta {
  max-width: max-content;
  font-weight: 500;
  font-size: 16px;
  border-top: 0;
  margin: 20px auto 0px;
}

/* サイドバー */
.sidebar {
  /* margin-top: 265px; */
}
.sidebar .widget {
  border-right: 1px solid #999;
  border-radius:8px;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  border-radius: 6px;
  border: 0 !important;
  padding: 25px 20px;
}
.sidebar .widget h3{
  font-family: var(--sans);
  font-size: 25px;
  font-weight: 500;
  line-height: normal;
  font-weight: bold;
  border: 0;
  border-bottom: 1px solid #DDD;
  padding: 5px 0 20px;
  margin: 0;
}
.category-nav li{
  border-bottom: 0;
}
.category-nav li a{
  background: url(/common/forhp/images/common/arrow01.svg) no-repeat center right;
  background-size: 15px 13px;
  border-bottom: 1px solid #DDD;
  padding-bottom: 20px;
  padding-top: 20px;
}
.category-nav li a:hover{
  background-color: unset;
  color: unset;
  opacity: .6;
}

/* 横並びコンテンツ */
.panel.panel-warning{
  box-shadow: none;
  border: 0;
  margin-bottom: 90px;
}
.panel.panel-warning .panel-heading{
  background-color: transparent;
  border: 0;
  padding: 0;
}
.panel.panel-warning .panel-heading .row{
  display: flex;
  align-items: center;
  gap: 20px 45px;
  margin: 0;
}
.panel.panel-warning:nth-of-type(odd) .panel-heading .row{
  flex-direction: row-reverse;
}
.panel.panel-warning .panel-heading .row::before, .panel-heading .row::after{
  display: none;
}
.panel.panel-warning .panel-heading .row .col-md-6{
  position: relative;
  width: 50%;
  left: unset;
  right: unset;
  padding: 0;
}
.panel.panel-warning .panel-heading img{
  position: relative;
  object-fit: cover;
  width: 100%;
  margin: 0;
  z-index: 10;
}
.panel.panel-warning .panel-heading h3{
  font-size: 23px;
  margin-top: 0;
}
.panel.panel-warning .panel-heading p{
  font-family: var(--sans);
  color: #1A1A1A;
  font-size: 16px;
}

/* テーブル安平 */
.table.table-abira{
  margin: 25px 0 15px;
}
.table.table-abira th, .table.table-abira td{
  vertical-align: middle;
}
h2 + .table.table-abira, h3 + .table.table-abira, h4 + .table.table-abira{
  margin-top: 0;
}
/* テーブル枠無し */
.table.table-abira.table-striped tr{
  border-bottom: 1px solid #D8D8D6 !important;
}
.table.table-abira.table-striped tr:has(th){
  border-top: 1px solid #D8D8D6 !important;
}
.table.table-abira th, .table.table-abira td{
  border: 0;
  padding: 15px 20px !important;
}
.table.table-abira.table-striped th{
  background-color: #F4F4F4;
}
.table.table-abira.table-striped tr:nth-of-type(odd) td{
  background-color: #FCF9E8;
}
.table.table-abira th,
.table.table-abira td,
.table.table-abira th *,
.table.table-abira td *{
  font-family: var(--sans);
  font-size: 16px;
}
/* テーブル枠付き */
.table.table-abira.table-bordered th,
.table.table-abira.table-bordered td{
  border: 1px solid #D8D8D6 !important;
}
.table.table-abira.table-bordered th,
.table.table-abira.table-bordered td,
.table.table-abira.table-bordered th *,
.table.table-abira.table-bordered td *{
  font-family: var(--sans);
  font-size: 16px;
}
.table.table-abira.table-striped.table-bordered th{
  background-color: #F4F4F4;
}
.table.table-abira.table-bordered td{
  padding: 15px 10px !important;
}
.table.table-abira.table-striped.table-bordered tr:nth-of-type(odd) td{
  background-color: #FCF9E8;
}
/* テーブルシンプル */
.entry-content table:not([class]){
  width: 100% !important;
}
.entry-content table:not([class]) td{
  border: 1px solid #D8D8D6;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  padding: 17px 22px;
}

/* PDFリンク */
h2 + ul:has(a[href $='.pdf']),
h3 + ul:has(a[href $='.pdf']),
h4 + ul:has(a[href $='.pdf']){
  margin-top: 0 !important;
}
.entry-content ul:not(:is(.category-nav, .btn-list, .list-inline, .no-style)):has(a[href $='.pdf']){
  list-style: none;
  padding: 0;
  margin: 45px 0;
}
.entry-content ul:not(:is(.category-nav, .btn-list, .list-inline, .no-style)):has(a[href $='.pdf']) li{
  border-bottom: 1px solid #D8D8D6;
  padding-bottom: 30px;
  margin-bottom: 30px;
}
.entry-content ul:not(:is(.category-nav, .btn-list, .list-inline, .no-style)):has(a[href $='.pdf']) a{
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none !important;
  font-family: var(--sans);
  color: #1A1A1A;
  font-size: 17px;
  gap: 0 45px;
  background-image: none;
}
.entry-content ul:not(:is(.category-nav, .btn-list, .list-inline, .no-style))has(a[href $='.pdf']) a:hover{
  color: unset !important;
  opacity: .6;
}
.entry-content ul:not(:is(.category-nav, .btn-list, .list-inline, .no-style)) li:has(a[href $='.pdf']) a::after{
  content: "PDFをダウンロード";
  display: flex;
  align-items: center;
  justify-content: center;
  background: url(/common/forhp/images/common/dw.svg) #436d02 no-repeat 94% center;
  background-size: 33px;
  border-radius: 5px;
  font-family: var(--sans);
  font-weight: 500;
  color: #fff;
  min-width: 245px;
  height: 45px;
  padding-right: 20px;
}
.entry-content ul {
    list-style: none;
}
/* お知らせリスト */
.dl-oshirase-news-list{
  display: grid;
  align-items: center;
  grid-template-columns: 165px 1fr;
  border-bottom: 1px solid #B3B3B3;
  margin-bottom: 0;
}
.dl-oshirase-news-list dt, .dl-oshirase-news-list dd{
  color: #1A1A1A;
  font-size: 15px;
  border: 0;
  padding: 22px 0;
}
.dl-oshirase-news-list dd a{
  text-decoration: none !important;
}
.dl-oshirase-news-list dd a:hover{
  color: unset;
  opacity: .6;
}
.pagination.bootpag{
  display: flex;
  align-items: center;
  justify-content: center;
}
.pagination.bootpag a {
  color: #1A1A1A !important;
  background-color: unset !important;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  border: 0;
  padding: 5px 10px;
}
.pagination.bootpag a:hover{
  opacity: .6;
}
.pagination.bootpag li.prev a, .pagination.bootpag li.next a{
  background-repeat: no-repeat;
  background-position: center;
  background-size: 35%;
  color: transparent !important;
}
.pagination.bootpag li.prev a{
  background-image: url(/common/forhp/images/common/pagenate_arrow_icon_left.svg);
  margin-right: 25px;
}
.pagination.bootpag li.next a{
  background-image: url(/common/forhp/images/common/pagenate_arrow_icon_right.svg);
  margin-left: 25px;
}
.pagination.bootpag li.active a{
  position: relative;
}
.pagination.bootpag li.active a::before {
  content: "";
  position: absolute;
  transform: translateX(-50%);
  background-color: #E8EF65;
  left: 50%;
  bottom: -3px;
  width: 20px;
  height: 4px;
}

/*------------------------------------------------
 レスポンシブ
------------------------------------------------*/
@media screen and (max-width:1199px) {
  :root{
    --container_width: 920px;
  }
  .sidebar .widget h3 {
    font-size: 25px;
  }
}
@media screen and (max-width:991px) {
  :root{
    --container_width: 700px;
  }
  .sidebar .widget{
    margin-top: 30px;
  }
}
@media screen and (max-width:767px) {
  .entry-single .entry-header{
    width: calc(100% + 30px);
    margin: 0 -15px 30px;
  }
  .entry-single .entry-header .entry-title {
    position: relative;
    color: #333;
    text-align: center;
    font-size: 28px;
  }
  .entry-content h2 {
    font-size: 20px;
    margin-top: 90px;
    margin-bottom: 15px;
  }
  .entry-content h3 {
    font-size: 20px;
    line-height: 34px;
    margin-top: 20px;
    margin-bottom: 15px;
  }
  .entry-content h4 {
    font-size: 18px;
    font-weight: 500;
    padding: 14px 12px;
    margin: 25px 0 10px;
  }
  .dl-oshirase-news-list {
    grid-template-columns: 1fr;
  }
  .dl-oshirase-news-list dt{
    font-weight: 400;
    padding-bottom: 10px;
  }
  .dl-oshirase-news-list dd{
    padding-top: 0;
  }
  .panel.panel-warning .panel-heading .row{
    display: block;
  }
  .panel.panel-warning .panel-heading .row .col-md-6{
    width: 100%;
  }
  .panel.panel-warning .panel-heading img {
    margin-bottom: 15px;
  }
  .panel.panel-warning .panel-heading h3 {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 8px;
  }
  .panel.panel-warning {
    margin-bottom: 45px;
  }
  .entry-content ul:not(:is(.category-nav, .btn-list, .list-inline, .no-style)):has(a[href $='.pdf']) a{
    display: block;
  }
  .entry-content ul:not(:is(.category-nav, .btn-list, .list-inline, .no-style)):has(a[href $='.pdf']) a::after {
    background-size: 28px;
    width: 100%;
    font-size: 15px;
    margin: 15px auto 0;
  }
  .sidebar {
    margin-top: 75px;
  }
  .sidebar .widget h3 {
    font-size: 23px;
  }
  .entry-content .alert-danger {
    font-size: 16px;
  }
  .table.table-abira{
    margin: 20px 0 15px;
  }
}