@charset "UTF-8";
.fill {
  font-variation-settings: "FILL" 1;
}

/************************************************************
h1
************************************************************/
h1.multiple_lines {
  top: calc(90px + 17vw);
}

/************************************************************
コラム一覧
************************************************************/
main .head .head_inner .title_wrap p.f_46 {
  font-size: clamp(24px, 2.39vw, 46px);
}
main .head.single .breadcrumb-wrap {
  margin-top: 30px;
}
main .head.single::after {
  content: none;
}
main .column01 .column01_inner #custom-post-type-search-3 {
  max-width: 800px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
main .column01 .column01_inner #custom-post-type-search-3 h4 {
  display: none;
}
main .column01 .column01_inner #custom-post-type-search-3 form {
  border: 1px solid #8F8F8F;
  border-radius: 20px;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
main .column01 .column01_inner #custom-post-type-search-3 form input.searchfield {
  width: calc(100% - 160px);
  padding: 10px 10px 10px 30px;
}
main .column01 .column01_inner #custom-post-type-search-3 form input.searchsubmit {
  width: 160px;
  background-color: #8F8F8F;
  color: #FFFFFF;
  padding-left: 35px;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 2px;
  background-image: url(../img/column/search_icon.svg);
  background-size: 30px;
  background-position: center right 35px;
  background-repeat: no-repeat;
}
main .column01 .column01_inner .category_wrap aside ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
  gap: 10px;
}
main .column01 .column01_inner .category_wrap aside ul li a {
  padding: 5px 10px;
  border: 1px solid #333333;
  border-radius: 5px;
  width: 100%;
  display: block;
}
main .column01 .column01_inner .category_wrap aside ul li a:hover {
  background-color: #333333;
  color: #FFFFFF;
}
main .column01 .column01_inner .category_wrap aside ul li.current a {
  background-color: #333333;
  color: #FFFFFF;
}
main .column02 .column02_inner .post_wrap h3 {
  max-width: 640px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  border-radius: 50px;
  padding: 15px 30px;
}
main .column02 .column02_inner .post_wrap h3 span.icon {
  top: 97%;
  left: 35%;
}
main .column02 .column02_inner .post_wrap h3.bg_red {
  background-color: #F38766;
}
main .column02 .column02_inner .post_wrap h3.bg_blue {
  background-color: #91ACE7;
}
main .column02 .column02_inner .post_wrap h3.bg_green {
  background-color: #B5E5B3;
}
main .column02 .column02_inner .post_wrap h3.bg_purple {
  background-color: #E7D0F4;
}
main .column02 .column02_inner .post_wrap .post_box {
  background-color: rgba(235, 56, 0, 0.1);
  margin-top: -30px;
  padding-left: 6.7vw;
  padding-right: 6.7vw;
}
main .column02 .column02_inner .post_wrap .post_box.bg_gray03 {
  background-color: #F8F6F3;
}
main .column02 .column02_inner .post_wrap .post_box.bg_white {
  background-color: #FFFFFF;
}
main .column02 .column02_inner .post_wrap .post_box .post_row.flex-wrap {
  gap: 50px 0;
}
main .column02 .column02_inner .post_wrap .post_box .post_row::after {
  content: "";
  display: block;
  width: 31%;
}
main .column02 .column02_inner .post_wrap .post_box .post_row article {
  width: 31%;
  border-radius: 0 0 20px 20px;
  overflow: hidden;
  height: 100%;
}
main .column02 .column02_inner .post_wrap .post_box .post_row article .thumb {
  overflow: hidden;
  aspect-ratio: 307/192;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #cccccc;
}
main .column02 .column02_inner .post_wrap .post_box .post_row article .thumb img {
  width: 100%;
  height: auto;
}
main .column02 .column02_inner .post_wrap .post_box .post_row article .text_wrap .post_info_wrap {
  gap: 5px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
main .column02 .column02_inner .post_wrap .post_box .post_row article .text_wrap .post_info_wrap .cat {
  border: 1px solid #333333;
  border-radius: 50px;
  line-height: 1.3;
  padding: 3px 30px;
}
main .column02 .column02_inner .post_wrap .post_box .post_row article:hover a {
  opacity: 0.6;
}
main .column02 .column02_inner .post_wrap .post_box .post_row article:hover a * {
  color: #333333;
}
main .column02 .column02_inner .post_wrap .post_box .post_row article:hover a .thumb img {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}
main .tag_wrap h3 {
  padding-top: 5px;
  padding-bottom: 5px;
  max-width: 400px;
  width: 100%;
  border-radius: 10px 10px 0 0;
}
main .tag_wrap .tag_box {
  border: 1px solid #333333;
  border-radius: 0 20px 20px 20px;
}
main .tag_wrap .tag_box ul {
  gap: 20px 10px;
  max-height: 150px;
  -webkit-transition: max-height 0.5s ease;
  transition: max-height 0.5s ease;
  overflow: hidden;
}
main .tag_wrap .tag_box ul.open {
  max-height: var(--full-height);
}
main .tag_wrap .tag_box ul li a {
  border-radius: 50px;
  padding-top: 5px;
  padding-bottom: 5px;
  display: block;
}
main .tag_wrap .tag_box ul li a::before {
  content: "#";
  margin-right: 3px;
  font-size: 18px;
}
main .tag_wrap .tag_box ul li:nth-child(5n+1) a::before {
  color: #EB3800 !important;
}
main .tag_wrap .tag_box ul li:nth-child(5n+2) a::before {
  color: #4875D7 !important;
}
main .tag_wrap .tag_box ul li:nth-child(5n+3) a::before {
  color: #06AD00 !important;
}
main .tag_wrap .tag_box ul li:nth-child(5n+4) a::before {
  color: #AC62D8 !important;
}
main .tag_wrap .tag_box ul li:nth-child(5n+5) a::before {
  color: #E6710B !important;
}
main .tag_wrap .tag_box button {
  border-radius: 50px;
  padding-top: 7px;
  padding-bottom: 7px;
  outline: none;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
main .tag_wrap .tag_box button .material-icons-outlined {
  width: 25px;
  height: 25px;
  border-radius: 100%;
}
main .tag_wrap .tag_box button:hover {
  background-color: #FFFFFF;
}

/*************************************************************
シングルページ用CSS
*************************************************************/
main .column_single .single_wrap .single_title_wrap p.cat {
  border-radius: 10px 10px 0 0;
}
main .column_single .single_wrap .single_title_wrap h1 {
  border-top: 2px solid #333333;
  border-bottom: 2px solid #333333;
}
main .column_single .single_wrap .single_title_wrap .date_wrap p.mr20 {
  border-right: 1px solid #333333;
}
main .column_single .single_wrap .thumbnail img {
  height: auto;
}
main .column_single .single_wrap .after_content .related_tag .tag_box {
  border: 1px solid #8F8F8F;
  border-radius: 0 5px 5px 5px;
  background-color: rgba(72, 117, 215, 0.1);
  padding: 15px 20px;
}
main .column_single .single_wrap .after_content .related_tag .tag_box ul {
  max-height: unset;
}
main .column_single .single_wrap .after_content .profile_wrap .single_content_title {
  width: 100%;
}
main .column_single .single_wrap .after_content .profile_wrap .profile_box {
  border: 1px solid #C3C3C3;
  border-radius: 0 0 10px 10px;
}
main .column_single .single_wrap .after_content .profile_wrap .profile_box .profile_row .img {
  width: 150px;
  height: 150px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
main .column_single .single_wrap .after_content .profile_wrap .profile_box .profile_row .img img {
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
}
main .column_single .single_wrap .after_content .profile_wrap .profile_box .profile_row .info_wrap {
  width: calc(100% - 260px);
}
main .column_single .single_wrap .after_content .profile_wrap .profile_box .profile_row .info_wrap h3 {
  border-bottom: 1px solid #8F8F8F;
}
main .column_single .single_wrap .after_content .profile_wrap .profile_box a .material-symbols-outlined {
  margin-left: 5px;
}
main .column_single .single_wrap .after_content .sns_wrap .sns_box {
  border: 1px solid #333333;
}
main .column_single .single_wrap .after_content .sns_wrap .sns_box .sns_row p {
  width: 55%;
  font-size: clamp(18px, 1.25vw, 24px);
}
main .column_single .single_wrap .after_content .sns_wrap .sns_box .sns_row p span.f_24 {
  font-size: clamp(18px, 1.25vw, 24px);
}
main .column_single .single_wrap .after_content .sns_wrap .sns_box .sns_row .icon_wrap {
  width: 41%;
}
main .column_single .single_wrap .after_content .sns_wrap .sns_box .sns_row .icon_wrap ul {
  gap: 10px;
}
main .column_single .single_wrap .after_content .recommend_wrap .recommend_box ul li a {
  padding: 25px 40px;
  border-top: 1px solid #8F8F8F;
}
main .column_single .single_wrap .after_content .recommend_wrap .recommend_box ul li a .thumb {
  border-radius: 5px;
  width: 31%;
  max-width: 230px;
  height: 100%;
  aspect-ratio: 55/34;
  border: 1px solid #7A7A7A;
  background-color: #B3B3B3;
}
main .column_single .single_wrap .after_content .recommend_wrap .recommend_box ul li a .thumb img {
  height: 100%;
  margin-left: auto;
  margin-right: auto;
}
main .column_single .single_wrap .after_content .recommend_wrap .recommend_box ul li a .title {
  width: calc(69% - 40px);
}
main .column_single .single_wrap .after_content .recommend_wrap .recommend_box ul li:first-child a {
  border-top: none;
}
main .column_single .single_wrap .after_content .recommend_wrap .recommend_box ul li:last-child a {
  border-bottom: 1px solid #8F8F8F;
}
main .column_single .single_wrap .after_content .single_content_title {
  border-radius: 10px 10px 0 0;
  padding-top: 3px;
  padding-bottom: 3px;
  position: relative;
  overflow: hidden;
}
main .column_single .single_wrap .after_content .single_content_title.large {
  padding-top: 6px;
  padding-bottom: 6px;
}
main .column_single .single_wrap .after_content .single_content_title.large::before {
  width: 120px;
  height: 120px;
  bottom: -20px;
  left: -20px;
}
main .column_single .single_wrap .after_content .single_content_title::before {
  content: "";
  display: block;
  width: 60px;
  height: 60px;
  border-radius: 100%;
  background-color: rgba(255, 255, 255, 0.3);
  position: absolute;
  bottom: 10px;
  left: -15px;
}

/*記事のCSS*/
.news_s_box_txt * {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  font-family: "Zen Kaku Gothic Antique";
  letter-spacing: 1.5px;
  line-height: 1.8;
  word-break: break-all;
}

.news_s_box_txt blockquote {
  margin: 20px 0 10px 0;
  font-weight: 500;
}

.news_s_box_txt  .has-fixed-layout {
  table-layout: fixed;
  width: 100%;
}

.news_s_box_txt p {
  word-break: break-all;
  margin-bottom: 40px;
}

.news_s_box_txt p, .news_s_box_txt p span {
  font-size: 16px;
  font-weight: 500;
}

.news_s_box_txt img {
  max-width: 100%;
  height: auto;
  margin: 20px 0;
}

.blocks-gallery-item img {
  margin: 0;
}

.news_s_box_txt a {
  color: #2452a7; /*←好きな色を入れてください。*/
  -webkit-transition: 0.3s;
  transition: 0.3s;
  font-weight: bold;
}

.news_s_box_txt a:hover {
  opacity: 0.6;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.news_s_box_txt p strong span,
.news_s_box_txt p strong {
  font-weight: bold;
}

.news_s_box_txt .alignleft {
  float: left;
  margin: 20px 20px 20px 0; /*←好きな余白で*/
}

.news_s_box_txt .alignright {
  float: right;
  margin: 20px 0px 20px 20px; /*←好きな余白で*/
}

.news_s_box_txt img.aligncenter {
  display: block;
  margin: auto;
}

.news_s_box_txt img.alignnone {
  display: block;
}

.news_s_box_txt ul, .news_s_box_txt ol {
  margin-bottom: 40px !important;
}

.news_s_box_txt ul li, .news_s_box_txt ol li {
  font-size: 18px;
  font-weight: 500;
}

.news_s_box_txt ul li {
  list-style-type: disc;
}

.news_s_box_txt ol li {
  list-style-type: decimal;
}

.news_s_box_txt iframe {
  max-width: 100%;
}

.news_s_box_txt p.has-text-align-center {
  text-align: center;
}

.news_s_box_txt p.has-text-align-right {
  text-align: right;
}

.news_s_box_txt h2, .news_s_box_txt h3, .news_s_box_txt h4, .news_s_box_txt h5, .news_s_box_txt h6 {
  margin-bottom: 25px;
  font-weight: bold;
}

.news_s_box_txt h2 {
  font-size: 22px; /*←好きな大きさで*/
  background-color: #F8F6F3;
  padding: 15px 35px;
  position: relative;
}

.news_s_box_txt h2::after, .news_s_box_txt h2::before {
  content: "";
  display: block;
  position: absolute;
  height: 100%;
  width: 60px;
}

.news_s_box_txt h2::before {
  top: 0;
  left: 0;
  border-top: 5px solid #06AD00;
  border-left: 5px solid #EB3800;
}

.news_s_box_txt h2::after {
  bottom: 0;
  right: 0;
  border-bottom: 5px solid #4875D7;
  border-right: 5px solid #AC62D8;
}

.news_s_box_txt h3 {
  font-size: 18px; /*←好きな大きさで*/
  background-image: -webkit-gradient(linear, left top, right top, from(#EB3800), color-stop(25%, #EB3800), color-stop(25%, #4875D7), color-stop(50%, #4875D7), color-stop(50%, #06AD00), color-stop(75%, #06AD00), color-stop(75%, #AC62D8), to(#AC62D8));
  background-image: linear-gradient(to right, #EB3800 0%, #EB3800 25%, #4875D7 25%, #4875D7 50%, #06AD00 50%, #06AD00 75%, #AC62D8 75%, #AC62D8 100%);
  background-size: 100% 2px;
  background-repeat: no-repeat;
  background-position: left bottom;
  padding-bottom: 10px;
}

.news_s_box_txt h4 {
  font-size: 18px; /*←好きな大きさで*/
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  padding: 15px 20px;
  background-color: #F8F6F3;
  border-radius: 10px;
}

.news_s_box_txt h4::before {
  content: "";
  display: block;
  border-radius: 100%;
  width: 10px;
  height: 10px;
  background-color: #8F8F8F;
  margin-right: 15px;
  margin-top: 12px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.news_s_box_txt h5 {
  font-size: 18px; /*←好きな大きさで*/
  margin-bottom: 15px;
  font-weight: 700;
}

.news_s_box_txt h6 {
  font-size: 16px; /*←好きな大きさで*/
  margin-bottom: 15px;
  font-weight: 700;
}

.news_s_box_txt ul, .news_s_box_txt ol {
  padding: 25px 25px 25px 45px !important;
  margin-bottom: 40px !important;
  border-top: 1px solid #8F8F8F;
  border-bottom: 1px solid #8F8F8F;
}
.news_s_box_txt #toc_container {
  margin-bottom: 40px;
  position: relative;
  background: transparent;
    border: none;
    padding: 0;
}
.news_s_box_txt #toc_container::before, .news_s_box_txt #toc_container::after {
  cursor: pointer;
  position: absolute;
  color: #EB3800;
}
.news_s_box_txt #toc_container::before {
  content: "\f5d2";
  display: block;
  font-family: "Material Symbols Outlined";
  font-variation-settings: "FILL" 1;
  font-size: 28px;
  top: 10px;
  right: 0;
  line-height: 1;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}
.news_s_box_txt #toc_container::after {
  content: "目次をたたむ";
  display: block;
  font-family: "Zen Kaku Gothic Antique";
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1.5px;
  top: 10px;
  right: 30px;
  padding-right: 5px;
}
.news_s_box_txt #toc_container.active::before {
  -webkit-transform: rotate(-180deg);
          transform: rotate(-180deg);
}
.news_s_box_txt #toc_container.active::after {
  content: "目次をひらく";
}
.news_s_box_txt #toc_container .toc_title {
  width: 240px;
  margin-bottom: 0;
  border-radius: 10px 10px 0 0;
  background-color: #EB3800;
  font-size: 20px;
  font-weight: bold;
  color: #FFFFFF;
  letter-spacing: 1.5px;
  padding: 5px 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  overflow: hidden;
  position: relative;
}
.news_s_box_txt #toc_container .toc_title::before {
  content: "\e896";
  font-family: "Material Symbols Outlined";
  font-size: 20px;
  color: #FFFFFF;
  display: block;
  margin-right: 10px;
}
.news_s_box_txt #toc_container .toc_title::after {
  content: "";
  display: block;
  width: 80px;
  height: 80px;
  border-radius: 100%;
  background-color: rgba(255, 255, 255, 0.3);
  position: absolute;
  bottom: 10px;
  left: -15px;
}
.news_s_box_txt #toc_container ul.toc_list {
  padding: 30px 50px !important;
  border-radius: 0 0 10px 10px;
  border: 1px solid #8F8F8F;
  -webkit-transition: height 0.5s ease;
  transition: height 0.5s ease;
  overflow: hidden;
  height: var(--full-height);
  position: relative;
}
.news_s_box_txt #toc_container ul.toc_list::after {
  content: "";
  display: block;
  width: 100%;
  height: 10vw;
  position: absolute;
  left: 0;
  bottom: 0;
  background: -webkit-gradient(linear, left bottom, left top, from(white), to(transparent));
  background: linear-gradient(to top, white, transparent);
  opacity: 0;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  pointer-events: none;
}
.news_s_box_txt #toc_container ul.toc_list.active {
  height: 10vw;
}
.news_s_box_txt #toc_container ul.toc_list.active::after {
  opacity: 1;
}
.news_s_box_txt #toc_container ul.toc_list.active li {
  opacity: 0.8;
}
.news_s_box_txt #toc_container ul.toc_list li {
  list-style: none;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
.news_s_box_txt #toc_container ul.toc_list li a {
  line-height: 1.6;
  font-weight: 500;
  color: #333333;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: baseline;
      -ms-flex-align: baseline;
          align-items: baseline;
  margin-bottom: 10px;
}
.news_s_box_txt #toc_container ul.toc_list li a::after {
  content: "\e7cd";
  display: inline-block;
  font-family: "Material Symbols Outlined";
  font-variation-settings: "FILL" 1;
  font-size: 24px;
  margin-left: 10px;
  -webkit-transform: translateY(4px);
          transform: translateY(4px);
  line-height: 1;
}
.news_s_box_txt #toc_container ul.toc_list li a .toc_number {
  font-family: "Zen Kaku Gothic Antique";
  font-size: 15px;
  font-weight: 500;
  width: 30px;
  height: 30px;
  border-radius: 100%;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background-color: rgba(235, 56, 0, 0.1);
  letter-spacing: 0;
  line-height: 1;
  margin-right: 10px;
  color: #333333;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
.news_s_box_txt #toc_container ul.toc_list li ul {
  padding: 0 0 0 40px !important;
  border: none;
  margin-bottom: 0 !important;
}
.news_s_box_txt #toc_container ul.toc_list li ul li a {
  color: #4875D7;
  line-height: 1.6;
}
.news_s_box_txt #toc_container ul.toc_list li ul li a::after {
  content: none;
}
.news_s_box_txt #toc_container ul.toc_list li ul li a .toc_number {
  font-family: "Zen Kaku Gothic Antique";
  font-size: 18px;
  font-weight: 500;
  width: auto;
  height: auto;
  background-color: transparent;
  letter-spacing: 1.5px;
}
.news_s_box_txt .related_article_wrap {
  gap: 3%;
  max-width: 800px;
  width: 100%;
  border: 1px solid #999;
  border-radius: 5px;
  margin: 0 auto 40px;
  padding: 1.5% 2%;
}
.news_s_box_txt .related_article_wrap .heading {
  border-radius: 0 0 0 5px;
  top: 0;
  right: 0;
  padding: 5px 15px;
  color: #FFFFFF;
  margin-bottom: 0;
}
.news_s_box_txt .related_article_wrap .heading img {
  margin: 0 10px 0 0;
}
.news_s_box_txt .related_article_wrap .image {
  width: 185px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  height: 100%;
  border-radius: 5px;
  overflow: hidden;
}
.news_s_box_txt .related_article_wrap .image img {
  margin: 0;
}
.news_s_box_txt .related_article_wrap .ttl p {
  padding-top: 30px;
  margin-bottom: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.news_s_box_txt .related_article_wrap .ttl p::after {
  content: "\f591";
  font-family: "Material Symbols Outlined";
  font-weight: 400;
  font-variation-settings: "FILL" 1;
  color: #4875D7;
  font-size: 26px;
  display: block;
  margin-left: 15px;
}
.news_s_box_txt .wp_block_attention {
  border-top: 1px solid #C3C3C3;
  border-bottom: 1px solid #C3C3C3;
  margin-bottom: 40px;
}
.news_s_box_txt .wp_block_attention .tab {
  color: #FFFFFF;
  margin: 0;
  border-radius: 0 0 10px 0;
  font-weight: bold;
}
.news_s_box_txt .wp_block_attention .tab img {
  margin: 0 10px 0 0;
}
.news_s_box_txt .wp_block_attention p {
  margin-bottom: 0;
}
.news_s_box_txt .wp-block-table {
  margin-bottom: 40px;
}

.news_s_box_txt .wp-block-table table thead {
  border-bottom: 1px solid #C3C3C3;
}

.news_s_box_txt .wp-block-table table tr th, .news_s_box_txt .wp-block-table table tr td {
  padding: 25px 20px;
  font-size: 16px;
  vertical-align: middle;
  border-top: 1px solid #C3C3C3;
  border-left: 1px solid #C3C3C3;
}
.news_s_box_txt .wp-block-table table tr th {
  font-weight: 500;
  background-color: #F5F5F5;
  border-right: 1px solid #C3C3C3;
}
.news_s_box_txt .wp-block-table table tr td {
  font-weight: 400;
  border-right: 1px solid #C3C3C3;
}
.news_s_box_txt .wp-block-table table tr:last-child {
  border-bottom: 1px solid #C3C3C3;
}
.news_s_box_txt .wp-block-table table tr th:first-child, .news_s_box_txt .wp-block-table table tr td:first-child {
  min-width: 150px;
}

/*ページャーのCSS*/
.wp-pagenavi {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  width: 100%;
}

.wp-pagenavi a, .wp-pagenavi span,
.page-numbers, .wp-pagenavi .current, .wp-pagenavi .page, .previouspostslink, .nextpostslink, #pagenavi a.last, #pagenavi a.first, a.last {
  border: 1px solid #333333 !important; /*←好きな色を入れてください。*/
  background-color: #FFFFFF; /*←好きな色を入れてください。*/
  color: #333333; /*←好きな色を入れてください。*/
  font-size: 20px;
  line-height: 16px;
  font-weight: bold;
  margin: 5px;
  width: 40px;
  height: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-family: "Zen Kaku Gothic Antique";
}

.wp-pagenavi span.extend {
  background-color: transparent;
  border: none !important;
}

.previouspostslink:hover,
.nextpostslink:hover,
.wp-pagenavi .page:hover,
a.last:hover {
  background: #333333; /*←好きな色を入れてください。*/
  border: 1px solid #333333 !important; /*←好きな色を入れてください。*/
  color: #FFFFFF !important; /*←好きな色を入れてください。*/
}

.wp-pagenavi .current {
  background: #333333; /*←好きな色を入れてください。*/
  color: #FFFFFF; /*←好きな色を入れてください。*/
}