/*---------------------------------

  SP・PCデザイン

---------------------------------*/
.controller:nth-child(2n){
  margin-bottom: 40px;
}
.controller p{
  margin-bottom: 0;
}
.breadcrumb ul li h1{
  line-height: 1.2;
}
.lists a,
.link a{
  text-decoration: underline;
  color: #0066FF;
}
.border{
  border-color: #000 !important;
}
.border-w{
  border: 2px solid #ffffff;
}
.shadow-sm{
  box-shadow: 2px 5px 0.4rem rgba(0,0,0,0.175) !important;
}
.border-top{
  border-top: 3px solid #D40A00 !important;
}
.page .border-top{
  border-top: 1px solid #707070 !important;
}
.pagination a{
  color: #000;
}
.pagination{
  margin: 0 auto;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px 0;
  position: relative;
  font-size: 13px;
}

.pagination span, .pagination a {
  display: block;
  width: auto;
  margin: 4px;
  padding: 8px;
  background-color: #D9DADB;
  text-decoration: none;
  text-align: center;
  line-height: 16px;
}
/* ページ番号 */
.pagination .pager{
  width: 32px;
}

/* ホバー時 & 現在のページ */
.pagination a:hover,
.pagination .current  {
  color: #fff;
  border-color: #000;
  background-color: #000;
}

/* 前へ */
.pagination a.prev {
  margin-right: 16px;
}
/* 次へ */
.pagination a.next {
  margin-left: 16px;
}
/* 最初へ */
.pagination a.first {}
/* 最後へ */
.pagination a.last {}

/* Page x / y */
.pagination span.page_num {
  display: none;
}

h2{
  font-size: 1.05rem;
}
/* リスト_チェックマーク */
.main-container ul{
  position: relative;
}
.main-container ul li{
  line-height: 1.5;
  padding: 0.5em 0;
  list-style-type: none!important;/*ポチ消す*/
}
.main-container ul li:before{
  position: absolute;
  content: '';
  background: url(../../img/news/list1.png);
  background-size: 90%;
  background-repeat: no-repeat;
  width: 25px;
  height: 25px;
  left: 0.5rem;
}
/* リスト_赤丸番号 */
body{
  counter-reset: number;
}
.main-container ol{
  list-style: none;
  list-style-type: none;
  padding:0.5em;
}
.main-container ol li {
  position: relative;
  padding-left: 30px;
  line-height: 1.5em;
  padding: 0.5em 0.5em 0.5em 30px;
}
.main-container ol li:before{
  /* 以下数字をつける */
  position: absolute;
  counter-increment: number;
  content: counter(number);
  /*以下数字のデザイン変える*/
  display:inline-block;
  background: #D40A00;
  color: white;
  font-family: 'Avenir','Arial Black','Arial',sans-serif;
  font-weight:bold;
  font-size: 15px;
  border-radius: 50%;
  left: 0;
  width: 25px;
  height: 25px;
  line-height: 25px;
  text-align: center;
  /*以下 上下中央寄せのため*/
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
.wp-block-quote{
  background-color: #EAEAEA;
  padding: 15px;
}
.box1{
  margin: 1.5em 0;
  padding: 7px 10px;
  min-width: 100%;
  max-width: 100%;
  border: solid 1.8px #BDBDBD;
  box-sizing: border-box;
}
.box2{
  border: solid 1.8px #BDBDBD;
  background-color: #EAEAEA;
  padding: 15px;
}
.wp-block-table{
  table-layout: fixed;
  width: 100%;
  margin-bottom: 1rem;
}
.wp-block-table th{
  background-color: #BDBDBD;
  border: solid 1px #ffffff;
  padding: 8px 10px;
  text-align: center;
}
.wp-block-table td{
  background-color: #EEEEEE;
  border: solid 1px #ffffff;
  padding: 5px 10px;
  text-align: center;
}
.btn{
  background-color: #D40A00;
  text-align: center !important;
  width: 50% !important;
  margin-bottom: 16px;
  margin-left: 25%;
  border-bottom: 2px solid #970f08;
  border-right: 3px solid #970f08;
}
.btn a{
  color: #fff;
  font-size: 1rem;
  font-weight: 700 !important;
  display: block;
  width: 100%;
}

/*---------------------------------

  SPデザイン

---------------------------------*/
@media (max-width: 767px){
  h3{
    position: relative;
    display: inline-block;
    margin: 1.5em 0;
    padding: 7px 10px;
    min-width: 100%;
    max-width: 100%;
    color: #0E1D4E;
    font-size: 0.8rem;
    font-weight: bold;
    background: #FFF;
    border: solid 1.4px #D40A00;
    box-sizing: border-box;
    box-shadow: 1px 2px 0.4rem rgba(0,0,0,0.175) !important;
  }
  h3:before {
    content: "";
    position: absolute;
    bottom: -17px;
    left: 10%;
    margin-left: -9px;
    border: 8px solid transparent;
    border-top: 16px solid #FFF;
    z-index: 2;
  }
  h3:after {
    content: "";
    position: absolute;
    bottom: -17px;
    left: 10%;
    margin-left: -7px;
    border: 6px solid transparent;
    border-top: 11px solid #D40A00;
    z-index: 1;
  }
  h4{
    font-size: 0.8rem;
    color: #0E1D4E;
    font-weight: bold;
    border-top: 1.4px solid #D40A00 !important;
    border-bottom: 1.4px solid #D40A00 !important;
    padding: 5px 10px;
    margin-top: 20px;
    margin-bottom: 13px;
  }

}
/*---------------------------------

  PCデザイン

---------------------------------*/
@media (min-width: 768px){
  h3{
    position: relative;
    display: inline-block;
    margin: 1.5em 0;
    padding: 7px 10px;
    min-width: 100%;
    max-width: 100%;
    color: #0E1D4E;
    font-size: 1.05rem;
    font-weight: bold;
    background: #FFF;
    border: solid 1.4px #D40A00;
    box-sizing: border-box;
    box-shadow: 1px 2px 0.4rem rgba(0,0,0,0.175) !important;
  }
  h3:before {
    content: "";
    position: absolute;
    bottom: -17px;
    left: 10%;
    margin-left: -9px;
    border: 8px solid transparent;
    border-top: 16px solid #FFF;
    z-index: 2;
  }
  h3:after {
    content: "";
    position: absolute;
    bottom: -17px;
    left: 10%;
    margin-left: -7px;
    border: 6px solid transparent;
    border-top: 11px solid #D40A00;
    z-index: 1;
  }
  h4{
    font-size: 1.05rem;
    color: #0E1D4E;
    font-weight: bold;
    border-top: 1.4px solid #D40A00 !important;
    border-bottom: 1.4px solid #D40A00 !important;
    padding: 5px 10px;
    margin-top: 30px;
    margin-bottom: 20px;
  }
  .main-container li{
    font-size: 1rem;
  }
}
