.section-blog-home .corner-wrapper {
  background: #f9efe7;
  padding: 24px 0 36px;
  position: relative;
}

@media (max-width: 767px) {
  .section-blog-home .corner-wrapper {
    padding: 24px 6px 36px;
  }
}

.section-blog-home .corner-wrapper:before {
  content: "";
  z-index: 2;
  pointer-events: none;
  will-change: transform;
  outline-offset: -9px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0) calc(45% - 1px), #d6b845 45%, rgba(0, 0, 0, 0) calc(45% + 1px)) 0 0 / 50px 50px no-repeat, linear-gradient(225deg, rgba(0, 0, 0, 0) calc(45% - 1px), #d6b845 45%, rgba(0, 0, 0, 0) calc(45% + 1px)) 100% 0 / 50px 50px no-repeat, linear-gradient(45deg, rgba(0, 0, 0, 0) calc(45% - 1px), #d6b845 45%, rgba(0, 0, 0, 0) calc(45% + 1px)) 0 100% / 50px 50px no-repeat, linear-gradient(315deg, rgba(0, 0, 0, 0) calc(45% - 1px), #d6b845 45%, rgba(0, 0, 0, 0) calc(45% + 1px)) 100% 100% / 50px 50px no-repeat, linear-gradient(to right, #d6b845 1px, rgba(0, 0, 0, 0) 2px) 0 44px / 1px calc(100% - 88px) no-repeat, linear-gradient(to right, #d6b845 1px, rgba(0, 0, 0, 0) 2px) right 44px / 1px calc(100% - 88px) no-repeat, linear-gradient(#d6b845 1px, rgba(0, 0, 0, 0) 2px) 44px 0 / calc(100% - 88px) 1px no-repeat, linear-gradient(#d6b845 1px, rgba(0, 0, 0, 0) 2px) 44px bottom / calc(100% - 88px) 1px no-repeat;
  outline: 4px solid #d6b845;
  width: auto;
  height: calc(100% + 10px);
  display: block;
  position: absolute;
  top: -5px;
  bottom: -5px;
  left: -5px;
  right: -5px;
  transform: translateZ(0);
}

.section-blog-home .title {
  color: #0c0c3f;
  text-align: center;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
  font-family: Zen Antique, serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.448;
  display: flex;
}

@media (min-width: 768px) {
  .section-blog-home .title {
    font-size: 28px;
  }
}

.section-blog-home .section-tabs {
  justify-content: center;
  display: flex;
}

@media (min-width: 768px) {
  .section-blog-home .section-tabs {
    justify-content: flex-start;
  }
}

.section-blog-home .tab {
  color: #fff;
  cursor: default;
  -webkit-border-radius: 10px 10px 0 0;
  border-radius: 10px 10px 0 0;
  padding: 6px 14px;
  font-family: Noto Sans JP, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}

.section-blog-home .tab.tab-active {
  background-color: #338;
}

.blog-swiper-container {
  position: relative;
}

.blog-swiper {
  padding: 0;
  overflow: hidden;
}

@media (min-width: 768px) {
  .blog-swiper {
    margin: 0;
    padding: 0;
  }
}

.blog-swiper-wrapper {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.blog-card {
  flex-direction: column;
  width: 256px;
  min-width: 256px;
  max-width: 256px;
  height: auto;
  padding-top: 32px;
  display: flex;
  position: relative;
  overflow: hidden;
  margin: 0 8px !important;
}

@media (min-width: 768px) {
  .blog-card {
    width: 315px;
    min-width: 315px;
    max-width: 315px;
    margin: 0 12px !important;
  }
}

.blog-card-tab {
  color: #fff;
  cursor: default;
  background-color: #fda624;
  -webkit-border-radius: 10px 10px 0 0;
  border-radius: 10px 10px 0 0;
  height: 32px;
  padding: 6px 14px;
  font-family: Noto Sans JP, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  position: absolute;
  top: 0;
  left: 0;
}

.blog-card-tab-type-5 {
  background-color: #338;
}

.blog-card-link {
  height: 100%;
  color: inherit;
  background-color: #fff;
  border: 1px solid #e6e6e6;
  -webkit-border-radius: 0;
  border-radius: 0;
  flex-direction: column;
  text-decoration: none;
  transition: opacity .3s;
  display: flex;
}

.blog-card-link:hover {
  opacity: .9;
  border-color: #338;
}

.blog-card-image {
  background-color: #f5f5f5;
  width: 100%;
  height: 217px;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .blog-card-image {
    height: 220px;
  }
}

.blog-card-image .image {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

.blog-card-image .new-badge {
  color: #fff;
  background-color: #f90;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  padding: 2px 6px;
  font-family: Meiryo, sans-serif;
  font-size: 8px;
  font-weight: 400;
  line-height: 1.5;
  position: absolute;
  top: 8px;
  left: 8px;
}

@media (min-width: 768px) {
  .blog-card-image .new-badge {
    padding: 3px 8px;
    font-size: 10px;
  }
}

.blog-card-content {
  background-color: #fff;
  flex-direction: column;
  flex: 1;
  padding: 20px;
  display: flex;
}

.blog-card-header {
  margin-bottom: 12px;
}

.blog-card-date {
  color: #000;
  font-family: Meiryo, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  display: block;
}

.blog-card-title {
  color: #333;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  text-overflow: ellipsis;
  word-break: break-word;
  -webkit-box-orient: vertical;
  min-height: 51px;
  margin: 0 0 12px;
  font-family: Meiryo, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
  display: -webkit-box;
  overflow: hidden;
}

@media (min-width: 768px) {
  .blog-card-title {
    min-height: 54px;
    font-size: 18px;
  }
}

.blog-card-description {
  color: #333;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  text-overflow: ellipsis;
  word-break: break-word;
  -webkit-box-orient: vertical;
  flex: 1;
  margin-bottom: 12px;
  font-family: Meiryo, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  display: -webkit-box;
  overflow: hidden;
}

.blog-card-footer {
  border-top: 1px solid #e6e6e6;
  margin-top: auto;
  padding-top: 12px;
}

.blog-card-more {
  color: #333;
  align-self: flex-end;
  justify-self: flex-end;
  font-family: Meiryo, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  display: flex;
}

.blog-swiper-navigation {
  display: none;
}

@media (min-width: 768px) {
  .blog-swiper-navigation {
    pointer-events: none;
    z-index: 10;
    justify-content: space-between;
    display: flex;
    position: absolute;
    top: 50%;
    left: 10px;
    right: 10px;
    transform: translateY(-50%);
  }
}

.blog-swiper-button-prev, .blog-swiper-button-next {
  cursor: pointer;
  pointer-events: all;
  color: #333;
  background-color: #fff;
  border: 1px solid #e6e6e6;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  transition: all .3s;
  display: flex;
}

:is(.blog-swiper-button-prev, .blog-swiper-button-next):hover {
  background-color: #f5f5f5;
  border-color: #333;
}

:is(.blog-swiper-button-prev, .blog-swiper-button-next):disabled {
  opacity: .3;
  cursor: not-allowed;
}

:is(.blog-swiper-button-prev, .blog-swiper-button-next) svg {
  width: 16px;
  height: 16px;
}

.blog-swiper-button-prev {
  left: 0;
}

.blog-swiper-button-next {
  right: 0;
}

.blog-swiper-pagination {
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  display: flex;
}

@media (min-width: 768px) {
  .blog-swiper-pagination {
    margin-top: 30px;
  }
}

.blog-swiper-pagination .swiper-pagination-bullet {
  opacity: 1;
  cursor: pointer;
  background-color: #ddd;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  width: 5px;
  height: 5px;
  transition: all .3s;
}

.blog-swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: #333;
  width: 8px;
  height: 8px;
}

.section-blog-home .more-btn {
  text-align: center;
  margin-top: 30px;
}

@media (min-width: 768px) {
  .section-blog-home .more-btn {
    margin-top: 40px;
  }
}

.section-blog-home .more-link-custom {
  color: #f8c360;
  background-color: #338;
  border: 2px solid #f8c360;
  -webkit-border-radius: 25px;
  border-radius: 25px;
  padding: 10px 30px;
  font-family: Gen Jyuu Gothic, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.485;
  text-decoration: none;
  transition: all .3s;
  display: inline-block;
}

.section-blog-home .more-link-custom:hover {
  color: #338;
  background-color: #f8c360;
  border-color: #338;
}

@media (max-width: 767px) {
  .blog-card-title {
    min-height: 48px;
    font-size: 16px;
  }

  .blog-card-description {
    font-size: 12px;
  }
}

.blog-category-section {
  box-sizing: border-box;
  flex-direction: row;
  align-items: center;
  gap: 100px;
  width: 100%;
  margin-top: 40px;
  padding-left: 44px;
  padding-right: 44px;
  display: flex;
}

@media (max-width: 1170px) {
  .blog-category-section {
    gap: 100px;
  }
}

@media (max-width: 1140px) {
  .blog-category-section {
    gap: 40px;
  }
}

@media (max-width: 1080px) {
  .blog-category-section {
    gap: 20px;
  }
}

@media (max-width: 990px) {
  .blog-category-section {
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
    padding-left: 0;
    padding-right: 0;
  }
}

.blog-category-heading {
  color: #0c0c3f;
  align-items: center;
  font-family: Zen Antique, serif;
  font-size: 20px;
  font-weight: 400;
  display: flex;
}

@media (max-width: 767px) {
  .blog-category-heading {
    justify-content: center;
    width: auto;
  }
}

.blog-category-heading:before {
  content: "";
  background: #0c0c3f;
  flex-shrink: 0;
  width: 159px;
  height: 1px;
}

@media (max-width: 1080px) {
  .blog-category-heading:before {
    width: 60px;
  }
}

@media (max-width: 990px) {
  .blog-category-heading:before {
    display: none;
  }
}

.blog-category-heading-text {
  white-space: nowrap;
  padding: 0 20px;
  position: relative;
}

@media (max-width: 990px) {
  .blog-category-heading-text {
    padding: 0;
  }
}

.blog-category-heading-text:before {
  content: "";
  background-color: rgba(0, 0, 0, 0);
  background-image: radial-gradient(circle at 3.5px, #0c0c3f 3px, rgba(0, 0, 0, 0) 4px), radial-gradient(circle at 18px, #0c0c3f 3px, rgba(0, 0, 0, 0) 4px), radial-gradient(circle at 33px, #0c0c3f 3px, rgba(0, 0, 0, 0) 4px);
  background-position: 0 0, 0 0, 0 0;
  background-repeat: no-repeat;
  background-size: auto, auto, auto;
  background-attachment: scroll, scroll, scroll;
  background-origin: padding-box, padding-box, padding-box;
  background-clip: border-box, border-box, border-box;
  width: 45px;
  height: 7px;
  position: absolute;
  top: 50%;
  left: -30px;
  transform: translateY(-50%);
}

@media (max-width: 990px) {
  .blog-category-heading-text:before {
    display: none;
  }
}

.blog-category-buttons {
  flex-wrap: wrap;
  flex-shrink: 0;
  justify-content: center;
  gap: 20px;
  display: flex;
}

@media (max-width: 767px) {
  .blog-category-buttons {
    gap: 10px;
  }
}

.blog-category-btn {
  color: #161b60;
  text-align: center;
  box-sizing: border-box;
  background: #fff;
  border: 1.5px solid #338;
  -webkit-border-radius: 38px;
  border-radius: 38px;
  justify-content: center;
  align-items: center;
  width: 200px;
  height: 43px;
  padding: 3px 20px;
  font-family: Gen Jyuu Gothic, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.485;
  text-decoration: none;
  transition: all .3s;
  display: flex;
}

@media (max-width: 767px) {
  .blog-category-btn {
    -webkit-border-radius: 25px;
    border-radius: 25px;
    width: 146px;
    height: 35px;
    font-size: 15px;
  }
}

.blog-category-btn:hover {
  color: #fff;
  background: #338;
}

.section-blog-home {
  position: relative;
}

.section-blog-home:before {
  content: "";
  z-index: -1;
  background: rgba(248, 195, 96, .5);
  width: 421px;
  height: 160px;
  position: absolute;
  top: 200px;
  right: 0;
  mask: url("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"421\" height=\"160\" viewBox=\"0 0 421 160\"><path d=\"M159.67 0H129.19C120.39 0 113.28 7.17 113.28 16C113.28 24.83 120.39 32 129.19 32H212.74C221.52 32 228.65 39.17 228.65 48C228.65 56.83 221.52 64 212.74 64H15.91C7.12994 64 0 71.17 0 80C0 88.83 7.12994 96 15.91 96H308.03C316.81 96 323.94 103.17 323.94 112C323.94 120.83 316.81 128 308.03 128H279.01C270.23 128 263.1 135.17 263.1 144C263.1 152.83 270.23 160 279.01 160H604.08C612.86 160 619.99 152.83 619.99 144C619.99 135.17 612.86 128 604.08 128H367.36C358.58 128 351.45 120.83 351.45 112C351.45 103.17 358.58 96 367.36 96H376.94C385.72 96 392.85 88.83 392.85 80C392.85 71.17 385.72 64 376.94 64H272.06C263.28 64 256.15 56.83 256.15 48C256.15 39.17 263.28 32 272.06 32H383.73C392.53 32 399.64 24.83 399.64 16C399.64 7.17 392.53 0 383.73 0H159.66H159.67Z\"/></svg>") center / contain no-repeat;
}
