@charset "utf-8";

.post-type-archive-blog .cont_img,
.tax-blog_cat .cont_img {
  background-image: url(../images/blog/cont_img.jpg);
}

.case-study.cont_img {
  background-image: url(../images/case-study/cont_img.jpg);
}

.wp-singular .wrapper {
  margin-top: 120px;
}

.cont .container {
  width: 1040px;
  margin: auto;
  text-align: left;
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: 100px;
}

.cont article:first-of-type,
.cont .primary article {
  padding-top: 0;
  padding-bottom: 0;
}

.cont .primary .inner {
  width: 100%;
}

.primary {
  /*カラム落ち防止（※セカンダリーの高さに合わせて要調整）*/
  min-height: 450px;
  width: 760px;
  float: left;
}

.wp-singular .root,
.error404 .root {
  background-color: transparent;
}

@media only screen and (max-width: 768px) {

  .wp-singular .wrapper {
    margin-top: 50px;
  }

  .cont .container {
    width: 100%;
    padding-top: 30px;
    padding-bottom: 0;
  }

  .primary {
    min-height: 100%;
    width: 90.625%;
    margin: auto;
    float: none;
  }

  .wp-singular .root,
  .error404 .root {
    margin-top: 20px;
  }
}


/*============================
case-study
============================*/

#case-study {
  padding-bottom: 0;
}

.case-study_box {
  -js-display: flex;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.case-study_box > a {
  display: block;
}

.case-study_box > a:nth-child(2n) {
  margin-left: 40px;
}

.case-study_box > a:nth-of-type(n+3) {
  margin-top: 40px;
}

.case-study_box .box {
  width: 500px;
  box-shadow: -2px 1px 10px 0px rgba(241, 241, 241, 0.8);
  position: relative;
}

.cus-cat {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 10;
}

.cus-cat span {
  background-color: #0f2664;
  color: #fff;
  display: inline-block;
  font-size: 13px;
  margin-right: 4px;
  margin-bottom: 4px;
  padding: 3px 20px;
  border-radius: 50px;
}

.case-study_box .box .photo {
  width: 100%;
  height: 330px;
  margin: 0;
  overflow: hidden;
  border-radius: 5px 5px 0 0;
}

.case-study_box .box .photo .img {
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  height: 100%;
  -webkit-background-size: cover;
  background-size: cover;
  transition: .5s ease;
}

.case-study_box .box:hover .photo .img {
  transform: scale(1.1, 1.1);
}

.case-study_box .title {
  display: block;
  margin: 0;
  width: 100%;
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  background-color: #fff;
  color: #0f2664;
  border: 0;
  border-radius: 0 0 5px 5px;
  position: relative;
}

.case-study_box .title::after {
  position: absolute;
  display: block;
  content: '\f061';
  font-size: 17px;
  font-weight: 900;
  font-family: "Font Awesome 6 Free";
  right: 15px;
  top: 0;
  bottom: 0;
  line-height: 52px;
  color: #efca08;
  transition: .5s ease;
}

.case-study_box .box:hover .title::after {
  transform: scale(1.1, 1.1);
}

@media only screen and (max-width: 768px) {

  #case-study {
    padding-bottom: 50px;
  }

  .case-study_box {
    -js-display: flex;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    flex-direction: column;
  }

  .case-study_box > a {
    display: block;
    width: 100%;
    margin-right: 0;
  }

  .case-study_box > a:nth-child(2n) {
    margin-left: 0;
  }

  .case-study_box > a:nth-of-type(n+2) {
    margin-top: 30px;
  }

  .cus-cat {
    top: 10px;
    right: 10px;
  }

  .cus-cat span {
    font-size: 12px;
    padding: 3px 15px;
  }

  .case-study_box .box {
    position: relative;
    width: 100%;
  }

  .case-study_box .box .photo {
    width: 100%;
    height: 300px;
    margin: 0;
  }

  .case-study_box .box:hover .photo .img {
    transform: none;
  }

  .case-study_box .title {
    padding: 15px 30px 15px 20px;
    font-size: 15px;
    line-height: 1.7;

  }

  .case-study_box .title::after {
    font-size: 15px;
    right: 10px;
  }
}

@media only screen and (max-width: 450px) {

  .case-study_box .box .photo {
    height: 220px;
  }
}


/*============================
#case-study-single(single.php)
============================*/

#case-study-single .date {
  margin-bottom: 15px;
  font-size: 14px;
  line-height: 1;
}

#case-study-single .post-categories {
  margin-bottom: 20px;
}

#case-study-single h1 {
  margin-bottom: 20px;
  padding-left: 30px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  position: relative;
}

#case-study-single h1::before {
  display: block;
  content: '';
  position: absolute;
  width: 15px;
  height: 2px;
  background-color: #d00000;
  top: 50%;
  left: 0;
}

#case-study-single .post-categories li {
  display: inline-block;
}

#case-study-single .post-categories li a {
  background-color: #0f2664;
  color: #fff;
  border-radius: 50px;
  font-size: 13px;
  line-height: 1;
  padding: 5px 20px;
  margin-right: 5px;
}

table.info {
  margin-top: 40px;
}

table.info tr th {
  width: 135px;
}

.return-btn {
  margin-top: 20px;
}

.return-btn a {
  background-color: #ababab;
  display: block;
  text-align: center;
  width: 100%;
  padding: 12px 0;
  color: #fff;
  font-weight: bold;
}

/*※ギャラリー画像が一枚のみ投稿された場合*/

.only_photo {
  width: 100%;
  height: 450px;
}

.only_photo .img {
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  height: 100%;
  -webkit-background-size: cover;
  background-size: cover;
  border-radius: 5px;
}

@media only screen and (max-width: 768px) {
  #case-study-single {
    padding-top: 20px;
  }

  #case-study-single .post-categories li a {
    font-size: 12px;
    padding: 5px 15px;
  }

  #case-study-single h1 {
    padding-left: 25px;
    font-size: 18px;
    line-height: 1.4;
  }

  table.info {
    margin-top: 30px;
  }

  /*※ギャラリー画像が一枚のみ投稿された場合*/
  .only_photo {
    height: 380px;
  }
}

@media only screen and (max-width: 450px) {
  .images_container section .photo {
    height: 160px;
  }

  /*※ギャラリー画像が一枚のみ投稿された場合*/
  .only_photo {
    height: 220px;
  }
}


/*===========================
bxslider ※ギャラリー画像が複数投稿された場合
============================*/

.bx-wrapper {
  border: 0;
  box-shadow: none;
  background: none;
  width: 100%;
  height: 450px;
  margin: 0;
  position: relative;
  margin-bottom: 30px;
  overflow: hidden;
}

.bx-viewport {
  height: inherit !important;
}

.bx-wrapper ul li {
  height: 450px !important;
  background-color: #f7f7f7;
  border-radius: 5px;
  overflow: hidden;
}

/*.bx-wrapper*/

.bx-wrapper ul li img {
  display: block;
  margin: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  max-width: none;
  height: 100%;
  border-radius: 0px;
}

/*thumbnail*/

#bx-pager {
  width: 100%;
  max-width: 100%;
  -js-display: flex;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
}

#bx-pager li {
  display: inline-block;
  margin-right: 20px;
  overflow: hidden;
}

#bx-pager li:last-child {
  margin-right: 0;
}

#bx-pager li a img {
  width: 180px;
  height: 125px;
  object-fit: cover;
  display: block;
  opacity: 0.5;
}

#bx-pager a.active img {
  opacity: 1;
}

/*slider_btn*/

.bx-wrapper .bx-controls-direction a {
  height: 80px;
  margin-top: -40px;
  outline: 0 none;
  position: absolute;
  text-indent: -9999px;
  top: 50%;
  z-index: 10;
  width: 60px;
  background-color: #efca08;
}

.bx-wrapper .bx-prev {
  left: 0px;
  border-radius: 0 5px 5px 0;
  background-position: 0 0 !important;
  background: url(../images/arrow.png) no-repeat center center;
}

.bx-wrapper .bx-next {
  right: 0px;
  border-radius: 5px 0 0 5px;
  background-position: 0 0 !important;
  background: url(../images/arrow02.png) no-repeat center center;
}

.bx-wrapper .bx-prev:hover,
.bx-wrapper .bx-next:hover {
  background-color: rgba(239, 202, 8, 0.8);
  opacity: 1;
}

@media only screen and (max-width: 768px) {
  .bx-wrapper {
    border: 0;
    box-shadow: none;
    background: none;
    width: 100%;
    height: 380px;
    margin: 0 auto;
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
  }

  .bx-viewport {
    height: inherit !important;
  }

  .bx-wrapper ul li {
    height: 380px !important;
  }

  /*thumbnail*/
  #bx-pager {
    width: 100%;
    max-width: 100%;
    -js-display: flex;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
  }

  #bx-pager li {
    display: inline-block;
    margin-right: 10px;
    overflow: hidden;
  }

  #bx-pager li:last-child {
    margin-right: 0;
  }

  #bx-pager li a img {
    width: 90px;
    height: 80px;
    object-fit: cover;
    display: block;
    opacity: 0.5;
  }

  #bx-pager a.active img {
    opacity: 1;
  }

  /*slider_btn*/
  .bx-wrapper .bx-controls-direction a {
    display: none;
  }

  .bx-wrapper .bx-prev {
    left: 0px;
    border-radius: 0 5px 5px 0;
    background-position: 0 0 !important;
  }

  .bx-wrapper .bx-next {
    right: 0px;
    border-radius: 5px 0 0 5px;
    background-position: 0 0 !important;
  }

  .bx-wrapper .bx-prev:hover {
    background: url(../images/arrow.png) no-repeat center center;
  }

  .bx-wrapper .bx-next:hover {
    background: url(../images/arrow02.png) no-repeat center center;
  }

  .bx-wrapper .bx-prev:hover,
  .bx-wrapper .bx-next:hover {
    background-color: rgba(0, 0, 0, 0.6);
    background-position: 0 0;
  }
}

@media only screen and (max-width: 450px) {
  .bx-wrapper {
    height: 220px;
  }

  .bx-wrapper ul li {
    height: 220px !important;
  }
}


/*===========================
#blog
============================*/

#blog .inner .flex {
  align-items: flex-start;
}

#blog .box:nth-of-type(n+2) {
  margin-top: 50px;
}

#blog .box:hover {
  opacity: 0.8;
}

#blog p.date {
  margin-bottom: 15px;
  font-size: 14px;
  line-height: 1;
}

#blog ul.detail {
  display: flex;
  -js-display: flex;
  flex-wrap: wrap;
  justify-content: left;
  align-items: center;
}

#blog ul.detail li.date,
#blog ul.detail li.cat {
  height: 23px;
  line-height: 23px;
}

#blog ul.detail li.date {
  margin: 0 20px 5px 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

#blog ul.detail li.cat,
.wp-singular ul.detail li.cat a {
  display: inline-block;
  padding: 5px 10px;
  margin: 0 5px 5px 0;
  background: #0f2664;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  border-radius: 50px;
  text-align: center;
}

.wp-singular #blog ul.detail li.cat {
  background-color: transparent;
  padding: 0;
  display: contents;
}

.entryList_single ul.detail {
  margin-bottom: 20px;
}

#blog .box h3.title {
  padding: 0;
  padding-bottom: 10px;
  margin: 20px 0 15px 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  border-bottom: 1px solid #0f2664;
  color: #111;
}

#blog .box .photo {
  margin-right: 30px;
  width: 300px;
  height: 220px;
  overflow: hidden;
  border-radius: 2px;
}

#blog .box .photo .img {
  display: block;
  background: no-repeat center center;
  width: 100%;
  height: 100%;
  -webkit-background-size: cover;
  background-size: cover;
  transition: .5s ease;
}

#blog .box:hover .photo .img {
  transform: scale(1.1, 1.1);
}

.box .text {
  width: 430px;
}

#blog .box .text p {
  font-size: 15px;
  line-height: 1.7;
  font-weight: 500;
}

#blog .box .text .more {
  display: block;
  line-height: inherit;
  padding-right: 55px;
  font-size: 16px;
  font-weight: 700;
  line-height: 40px;
  text-align: right;
  color: #0f2664;
  border-radius: 2px;
  position: relative;
}

#blog .box .text .more::before {
  position: absolute;
  display: block;
  content: '\f061';
  right: 12px;
  top: 0;
  font-size: 16px;
  font-weight: 900;
  color: #fff;
  font-family: "Font Awesome 6 Free";
  z-index: 10;
}

#blog .box .text .more::after {
  position: absolute;
  display: block;
  content: '';
  right: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background-color: #efca08;
  border-radius: 50px;
  z-index: 9;
  transition: all 0.4s ease;
}

#blog .box:hover .text .more::after {
  transform: scale(1.2);
}

/*single  目次  投稿記事の装飾*/

.entryBody_single #toc_container {
  margin: 50px auto 0;
  padding: 10px 20px !important;
  max-width: 450px;
  width: 100%;
}

.entryList_single h1 {
  margin-bottom: 20px;
  padding-left: 30px;
  font-size: 20px;
  font-weight: 600;
  position: relative;
}

.entryList_single h1::before {
  display: block;
  content: '';
  position: absolute;
  width: 15px;
  height: 2px;
  background-color: #d00000;
  top: 50%;
  left: 0;
}

.entryBody_single #toc_container p.toc_title {
  font-weight: bold;
  font-size: 15px;
}

.entryBody_single .toc_list li::before {
  display: none;
}

.entryBody_single .toc_list a {
  font-weight: normal;
  color: #4c657b;
}

.entryBody_single .toc_list a::after,
.entryBody_single .toc_list a::before {
  display: none;
}

.entryBody_single .toc_list {
  margin: 10px 0;
  padding: 0;
}

.entryBody_single .toc_list li {
  padding: 0;
  margin-top: 10px;
}

/*single  投稿記事の装飾*/

.entryBody_single p {
  margin-bottom: 20px;
}

.wp-block-image {
  margin: 20px 0;
}

.wp-block-image img {
  display: block;
  max-width: 100%;
  width: auto;
}

.entryBody_single img.size-full {
  display: block;
  width: 100%;
  height: auto;
  padding: 20px 0;
}

.entryBody_single img.size-large {
  display: block;
  width: auto;
  height: auto;
  padding: 20px 0;
  margin: auto;
}


.entryBody_single img.size-medium {
  display: block;
  width: auto;
  height: auto;
  padding: 20px 0;
  margin: auto;
}

.entryBody_single img.size-thumbnail {
  display: block;
  width: auto;
  height: auto;
  padding: 20px 0;
  margin: auto;
}

.entryBody_single h2 {
  border: 0;
  background: none;
  font-weight: 600;
  font-size: 22px;
  padding: 10px 5px;
  border-bottom: 2px solid #0f2664;
  color: #0f2664;
  margin-top: 50px;
  margin-bottom: 30px;
}

.entryBody_single h3 {
  border: 0;
  font-weight: 600;
  font-size: 20px;
  background-color: #f7f7f7;
  color: #0f2664;
  padding: 8px 15px;
  border-radius: 3px;
  margin-top: 50px;
  margin-bottom: 30px;
}

.entryBody_single h4 {
  font-weight: 600;
  font-size: 17px;
  padding: 4px 10px;
  border-left: 6px solid #d00000;
  margin-top: 40px;
  margin-bottom: 30px;
}

.entryBody_single a {
  font-weight: 600;
  color: #efca08;
  text-decoration: underline;
}

.entryBody_single a::after {
  content: "\f35d";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.entryBody_single ul {
  margin: 10px 0;
  padding: 0 10px;
}

.entryBody_single ul li {
  position: relative;
  padding: 0 0 0 25px;
  margin-top: 10px;
}

.entryBody_single ul li::before {
  display: block;
  content: '';
  position: absolute;
  top: 9px;
  left: 1px;
  width: 6px;
  height: 6px;
  background: #d00000;
  border-radius: 50%;
}

.entryBody_single ol {
  margin: 20px 0;
  counter-reset: no;
  padding: 0 10px;
}

.entryBody_single ol li {
  position: relative;
  padding: 0 0 0 25px;
  margin-top: 10px;
}

.entryBody_single ol li::before {
  counter-increment: no;
  content: counter(no) ".";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  font-weight: 700;
  font-family: "Zalando Sans SemiExpanded", sans-serif;
  color: #0f2664;
}

.entryBody_single .normal_box {
  border: 1px solid #0f2664;
  padding: 15px;
  margin: 20px 0;
}

.entryBody_single .normal_color_box {
  border: 1px solid #0f2664;
  background-color: #f7f7f7;
  font-size: 14px;
  padding: 15px;
  margin: 20px 0;
}

.entryBody_single .title_box {
  border: 1px solid #0f2664;
  padding: 0 30px 15px 30px;
  margin: 50px 0 30px;
}

.entryBody_single .title_box dt {
  display: inline-block;
  background: #fff;
  color: #0f2664;
  padding: 0 10px;
  font-size: 16px;
  font-weight: 600;
  position: relative;
  top: -11px;
  left: 2px;
}

.entryBody_single .bold {
  font-weight: 600;
  color: #111;
}

.entryBody_single .bold_red {
  font-weight: 600;
  color: #d00000;
}

.entryBody_single .maker_yellow {
  background: linear-gradient(transparent 60%, #efca08 60%);
}

.entryBody_single .under_line_red {
  border-bottom: 1px solid #d00000;
}

.entryBody_single .blog_table {
  overflow: auto;
  white-space: nowrap;
  margin: 20px 0;
}

.entryBody_single .blog_table table {
  margin-bottom: 20px;
  width: 100%;
  border: 1px solid #0f2664;
  border-collapse: collapse;
  max-width: 100% !important;
  word-break: break-all;
}

.entryBody_single .blog_table table tr {
  border-bottom: 1px solid #0f2664;
}

.entryBody_single .blog_table table tr:last-child {
  border-bottom: 0;
}

.entryBody_single .blog_table table tr th {
  background-color: #f7f7f7;
  color: #0f2664;
}

.entryBody_single .blog_table table tr th,
.entryBody_single .blog_table table tr td {
  border-right: 1px solid #0f2664;
  padding: 10px 20px;
  text-align: center;
}

.entryBody_single .blog_table table tr td:last-of-type {
  border-right: 0;
}

.entryBody_single .blog_table table li {
  text-align: left;
}

.entryBody_single .blogTOcontact {
  text-align: center;
  margin: 30px auto;
  width: 350px;
}

.entryBody_single .blogTOcontact::after {}

.entryBody_single .blogTOcontact a {
  display: block;
  width: 100%;
  padding: 15px 0;
  background: #efca08;
  font-weight: 600;
  color: #fff;
  border-radius: 50px;
  text-decoration: unset;
}

.entryBody_single .blogTOcontact a::after {
  display: none;
}

/*single  投稿記事の装飾 end*/

@media only screen and (max-width: 768px) {

  #blog ul.detail li.date {
    margin-right: 10px;
  }

  #blog ul.detail li.cat,
  .wp-singular ul.detail li.cat a {
    padding: 5px 15px;
    width: auto;
    font-size: 12px;
  }

  #blog .box {
    overflow: visible;
    width: 100%;
  }

  #blog .box:nth-of-type(n+2) {
    margin-top: 30px;
  }

  #blog .box:hover {
    opacity: 1;
  }

  #blog ul.detail {
    margin-top: 15px;
  }

  .wp-singular #blog ul.detail li.date {
    display: block;
    width: 100%;
    margin-bottom: 5px;
  }

  #blog .box .photo {
    margin-right: 0;
    width: 100%;
  }

  .box .text {
    width: 100px;
  }

  #blog .box .text .more {
    margin-top: 10px;
    padding-right: 55px;
    font-size: 16px;
  }

  .entryList_single ul.detail {
    margin-bottom: 20px;
  }

  #blog .box h3.title {
    width: 100%;
    margin: 10px 0 15px 0;
    font-size: 16px;
    line-height: 1.7;
  }

  #blog .box a .photo {
    margin: 0 0 15px 0;
    width: 100%;
    height: 240px;
  }

  #blog .box a:hover .photo .img {
    transform: none;
  }

  .box .text {
    width: 100%;
  }

  #blog .box a:hover .text p.more::after {
    transform: none;
  }

  /*single  投稿記事の装飾*/

  .entryList_single h1 {
    padding-left: 25px;
    font-size: 18px;
    line-height: 1.4;
  }

  .entryBody_single h2 {
    padding: 10px 0;
    font-size: 15px;
    line-height: 1.7;
    margin-top: 50px;
    margin-bottom: 20px;
    text-align: left;
  }

  .entryBody_single h3 {
    font-size: 15px;
    margin-top: 50px;
    margin-bottom: 20px;
  }

  .entryBody_single h4 {
    font-weight: 600;
    font-size: 15px;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .entryBody_single .blogTOcontact,
  .entryBody_single .blogTOcontact02 {
    width: 100%;
  }

  .entryBody_single .blogTOcontact a,
  .entryBody_single .blogTOcontact02 a {
    padding: 20px 0;
    font-size: 14px;
    text-align: center;
  }

  /*single  投稿記事の装飾 end*/
}


/*===========================
404
============================*/

.error {
  text-align: center;
  margin-top: 30px;
}

.error_title {
  font-size: 50px;
  font-weight: bold;
  color: #0f2664;
  border-top: 2px solid #0f2664;
  border-bottom: 2px solid #0f2664;
  margin-bottom: 30px;
}

.error a {
  display: block;
  padding: 15px 0;
  background-color: #efca08;
  width: 350px;
  margin: 30px auto 0;
  font-weight: bold;
  color: #fff;
  border-radius: 50px;
}

@media only screen and (max-width: 768px) {
  .error_title {
    font-size: 23px;
  }

  .error a {
    width: 100%;
  }
}


/*===========================
.pagination
============================*/
.pagination {
  background: none;
}

.pagination .screen-reader-text {
  display: none;
}

.pagination .nav-links {
  display: flex;
  -js-display: flex;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  margin-top: 60px;
}

.pagination .nav-links .page-numbers,
.pagination .nav-links .page-numbers.current,
.pagination .nav-links .prev.page-numbers,
.pagination .nav-links .next.page-numbers {
  font-size: 20px;
  font-weight: 600;
  line-height: 40px;
  font-family: "Zalando Sans SemiExpanded", sans-serif;
  text-align: center;
  padding: 0;
  display: block;
  background: #efca08;
  color: #fff;
  min-width: 40px;
  border-radius: 50px;
}

.pagination .nav-links a:hover,
.pagination .nav-links .prev.page-numbers:hover,
.pagination .nav-links .next.page-numbers:hover {}

.pagination .nav-links .page-numbers,
.pagination .nav-links .page-numbers.current {}

.pagination .nav-links .page-numbers {
  margin: 0 5px;
}

.pagination .nav-links .page-numbers.current {
  background: rgba(239, 202, 8, 0.6);
  ;
}

.pagination .nav-links .prev.page-numbers,
.pagination .nav-links .next.page-numbers {
  margin: 0;
  position: absolute;
  left: 50px;
  top: 0;
  background-color: transparent;
  color: #0f2664;
}

.pagination .nav-links .next.page-numbers {
  left: inherit;
  right: 50px;
}

.pagination .nav-links .prev.page-numbers::after,
.pagination .nav-links .next.page-numbers::after {
  content: '\f061';
  display: block;
  position: absolute;
  width: 40px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 900;
  font-family: "Font Awesome 6 Free";
  background-color: #efca08;
  color: #fff;
  top: 0;
  right: -50px;
  z-index: 10;
}

.pagination .nav-links .prev.page-numbers::after {
  content: '\f060';
  right: auto;
  left: -50px;
}

.pagination .nav-links .prev.page-numbers:hover::after,
.pagination .nav-links .next.page-numbers:hover::after {
  border-color: #fff;
}

.screen-reader-text {
  display: none;
}

.navigation.post-navigation {
  background: none;
  margin: 60px 0 5px;
}

.single-post .nav-links,
.entryList_single .nav-links {
  position: relative;
  background: none;
  padding: 10px 0;
  overflow: hidden;
  font-size: 20px;
  font-family: "Zalando Sans SemiExpanded", sans-serif;
}

.single-post .nav-links .nav-next,
.entryList_single .nav-links .nav-next {
  float: left;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.single-post .nav-links .nav-previous,
.entryList_single .nav-links .nav-previous {
  float: right;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.single-post .nav-links a,
.entryList_single .nav-links a {
  display: block;
  position: relative;
  line-height: 1.4;
  font-weight: 600;
  color: #0f2664;
  right: 55px;
}

.single-post .nav-links .nav-next a,
.entryList_single .nav-links .nav-next a {
  left: 55px;
}

.single-post .nav-links a::after,
.entryList_single .nav-links a::after {
  content: '\f061';
  display: block;
  position: absolute;
  padding: 10px 14px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 900;
  font-family: "Font Awesome 6 Free";
  background-color: #efca08;
  color: #fff;
  top: -9px;
  right: -55px;
  z-index: 10;
}

.single-post .nav-links .nav-next a::after,
.entryList_single .nav-links .nav-next a::after {
  content: '\f060';
  right: auto;
  left: -55px;
}

.return-btn a {
  background-color: #efca08;
  display: block;
  text-align: center;
  width: 100%;
  padding: 15px 0;
  color: #fff;
  font-weight: 700;
  line-height: 1;
  border-radius: 50px;
}

@media only screen and (max-width: 768px) {
  .pagination .nav-links {
    margin: 30px 0;
  }

  .pagination .nav-links .page-numbers,
  .pagination .nav-links .page-numbers.current {
    min-width: 30px;
    height: 30px;
    line-height: 30px;
    left: 40px;
    font-size: 15px;
  }

  .pagination .nav-links .prev.page-numbers,
  .pagination .nav-links .next.page-numbers {
    display: none;
  }
}


/*===========================
.secondary
============================*/

.secondary {
  margin-top: 30px;
}

.secondary_widget {
  width: 246px;
  float: right;
}

.secondary_widget h2 {
  border: none;
  margin-bottom: 0;
  padding: 20px 0;
  text-align: center;
  background-color: #0f2664;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 5px;
  font-family: "Zalando Sans SemiExpanded", sans-serif;
}

.secondary_widget h2:nth-of-type(2) {
  margin-top: 30px;
}

.secondary_widget ul li {
  border-bottom: 1px solid #eee;
}

.secondary_widget ul li a {
  display: block;
  padding: 15px 5px;
  font-size: 15px;
}

@media only screen and (max-width: 768px) {
  .secondary {
    margin-top: 0;
    border: none;
  }

  .secondary_widget {
    width: 90.625%;
    float: none;
    margin: 40px auto 0;
  }

  .secondary_widget ul li a {
    padding: 15px;
  }
}


/*===========================
#all-cat（home.php）
============================*/

#all-cat ul {
  justify-content: flex-start;
  margin-bottom: 40px;
}

#all-cat li {
  display: inline-block;
  margin-right: 10px;
  border-bottom: none;
  border: 1px solid #efca08;
  border-radius: 5px;
  transition: .3s;
}

#all-cat li:hover {
  background-color: #efca08;
}

#all-cat ul li a {
  display: block;
  padding: 15px 20px;
  line-height: 1;
}

#all-cat li:hover a {
  opacity: 1;
  color: #fff;
}

@media only screen and (max-width: 768px) {
  #all-cat ul {
    margin-bottom: 30px;
  }

  #all-cat li {
    margin: 5px 5px 0 0;
  }

  #all-cat li:hover {
    background-color: transparent;
  }

  #all-cat ul li a {
    padding: 5px 10px;
    font-size: 14px;
  }

  #all-cat li:hover a {
    color: #111;
  }
}
