@media only screen and (min-width: 992px) {
  .t-logoPc60 .siteTitle__logo {
    height: 90px;
    padding: 10px 0;
  }
}
@media only screen and (min-width: 992px) {
  .menuBtn__link {
    height: 90px;
    line-height: 90px;
  }
}
@media only screen and (min-width: 992px) {
  .l-main {
    width: calc(74% - 40px);
    margin-bottom: 0;
  }
}
@media only screen and (min-width: 768px) {
  .l-main {
    width: calc(74% - 30px);
    margin-bottom: 0;
  }
  .l-sidebar {
    width: 26%;
  }
}

html.home-front .l-headerBottom .container {
  max-width: 100%;
}

html.home-front .subsidy-search.container {
  max-width: 1170px;
}

.menuBtn__link {
  background: #025cb2;
}
.bottomFooter__topBtn {
  background-color: #025cb2;
}

h2.wp-block-heading {
  font-size: 20px;
  border-left: 4px solid #0070c0;
  padding-left: 10px;
  margin: 1.5em 0 1em;
  font-weight: bold;
  color: #222;
}

.pager__item {
  color: #025cb2;
}
.pager__item-current, .pager__item:hover {
  background: #025cb2;
}
/*
.searchBtn,
.widget_search {
  display: none !important;
}
*/
/*-------------------------------------------------------------*/
.subsidy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card-link {
  text-decoration: none;
  color: inherit;
}

.subsidy-card {
  background: #fff;
  border: 2px solid #cee7fe;
  /*border-radius: 8px;*/
  transition: box-shadow 0.3s;
  overflow: hidden;
}

.subsidy-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.subsidy-table {
  width: 100%;
  border-collapse: collapse;
}

.subsidy-table th,
.subsidy-table td {
  /*padding: 12px;*/
  /*border: 1px solid #eee;*/
  font-size: 14px;
  vertical-align: top;
}

.subsidy-table th {
  background-color: #f8f8f8;
  width: 30%;
  font-weight: bold;
}
.subsidy-table td {
  overflow: hidden;
}


/*-------------------------------------------------------------*/
@media only screen and (min-width: 992px) {
  .divider {
    margin-top: 30px;
    margin-bottom: 60px;
    padding: 30px 0;
    background-color: #025cb2/*#f5f9ff*/;
  }
}
.divider {
  margin-top: 0;
  margin-bottom: 40px;
  padding: 42px 0 22px;
}

.swiper-slide {
  height: auto;
  display: flex;
  align-items: stretch;
}

/*-----------------------------*/
/* Swiper 全体の高さを確保 */
.swiper-carousel {
  position: relative;
  padding-bottom: 32px; /* ページネーション用の余白を確保 */
}

/* ページネーションの位置調整 */
.swiper-paginationBottom0 {
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 2;
}

.swiper-pagination-bullet {
  background: #b5dafe;
}
.swiper-pagination-bullet-active {
  background: #7ffede;
}

/*-----------------------------*/
.subsidy-card {
  /*max-width: 380px;*/
  height: 100%;
  display: flex;
  flex-direction: column;
}

.subsidy-title,
.subsidy-excerpt,
.subsidy-price {
  padding: 12px;
}

.subsidy-title {
  color: #0376e4;
  background-color: #e3f6fc;
}

.subsidy-title {
  position: relative;
  line-height: 1.4;
  z-index: 1;
  font-size: 18.86px;
}
.subsidy-excerpt {
  position: relative;
  line-height: 1.4;
  z-index: 1;
}
.subsidy-price {
  margin-top: 10px;
  border-top: 1px solid #ddd;
}

.subsidy-price {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: 14px;
}

.subsidy-price.ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.subsidy-price.full {
  white-space: normal;
  overflow: visible;
}

.subsidy-price .label {
  font-weight: bold;
  color: #333;
}

.subsidy-price .amount {
  overflow: hidden;
  white-space: nowrap;
  width: 7em;
  text-overflow: ellipsis;
  font-weight: 600;
  color: #0070c0;
}


.home-front .subsidy-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  height: 2.4em;
  height: 44px;
  min-height: 2.4em;
}
.home-front .subsidy-news .subsidy-title {
  height: 68px;
}

.home-front .subsidy-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 5em;
}
.home-front .subsidy-news .subsidy-excerpt {
  height: 93px;
}


/*-------------------------------------------------------------*/
.wp-block-table td, .wp-block-table th {
  border: unset;
}
.wp-block-table th {
  width: 160px;
}


/*-------------------------------------------------------------*/
.heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px dashed #014280;
}
.heading .section-title {
  margin: 0 0 0 10px;
  font-size: 32px;
}

/*-------------------------------------------------------------*/
.subsidy-search h3 {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  margin-right: 40px;
  padding: 0 0 0 13px;
  background-color: #025cb2;
  color: #fff;
  font-size: 16px;
}
.subsidy-search h3:after {
  position: absolute;
  display: block;
  content: "";
  height: 40px;
  width: 20px;
  top: 0;
  right: -19px;
  border-radius: 0 100% 100% 0% / 0 50% 50% 0;
  background-color: #025cb2;
}

.subsidy-search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  margin-bottom: 2em;
}
.subsidy-search-form label {
  font-weight: bold;
}
.subsidy-search-form select,
.subsidy-search-form button {
  padding: 0.5em;
  font-size: 1.4em;
}
.subsidy-search-form select {
  width: 180px;
  text-align: center;
}
.subsidy-search-form button {
  width: 100%;
  margin: 1em 0 2em;
}

.areaBlock {

}
.areaBlock .inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 25px;
}
.areaBlock label {
  margin-right: 10px;
  font-size: 1.2em;
}

.subsidy-tags {
  margin-top: 4px;
  padding: 1em;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.subsidy-tags legend {
  font-weight: bold;
  margin-bottom: 1em;
  font-size: 1.1em;
}

.subsidy-tags label {
  display: inline-block;
  width: 22%;
  margin: 0.5em 1%;
  vertical-align: top;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .subsidy-tags label {
    width: 48%;
    margin: 0.5em 1%;
  }
}

/*-------------------------------------------------------------*/
.subsidy-news {
  padding: 3em 0;
  background: #f5f9ff;
}
.subsidy-news .container {
  padding: 0;
  margin: 0 auto;
  max-width: 1170px;
}
.subsidy-news .heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px dashed #014280;
}
.subsidy-news .slick-arrows {
  display: flex;
  gap: 0.5em;
}
.subsidy-news .slick-prev,
.subsidy-news .slick-next {
  width: 40px;
  height: 40px;
  background-color: #fff;
  background-image: url(./assets/ic-arrow.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
  border: 2px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
}
.subsidy-news .slick-next {
  transform: rotate(180deg);
}
.subsidy-news-slide {
  padding: 0 10px;
}

.slick-arrows {
  display: flex;
  gap: 0.5em;
  padding-right: 10px;
}
.slick-prev, .slick-next {
  position: relative;
  display: flex;
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  transform: translate(0, 0);
  background-color: #fff;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid #ccc;
  background-image: url(./assets/ic-arrow.svg);
  background-repeat: no-repeat;
  background-size: 10px;
  background-position: center;
}
.slick-prev {
  left: 0;
}
.slick-next {
  right: 0;
  transform: rotate(180deg);
}
.slick-prev:before,
.slick-next:before {
  content: "";
  font-size: 0;
}


.subsidy-related .container {
  padding: 0;
}



