@charset "utf-8";

/* MV */
.mv {
  max-width: 908px;
  border-radius: 0 !important;
  margin-left: auto;
  margin-right: auto;
}
.mv > *:last-child {
  margin-bottom: 0 !important;
}

/* LINEボタン */
.btn-line-color {
  border-color: #06c755;
}
.online-btn {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

/* 関連サービス */
.service-item + .service-item {
  margin-top: 80px;
}
@media screen and (max-width: 767px) {
  .service-item + .service-item {
    margin-top: 40px;
  }
}

/* 2025年9月 カテゴリでの絞り込み実装
==================================================== */
/* タイトル */
.columns_title {
  font-size: 28px;
  display: flex;
  justify-content: center;
}
.columns_title span {
  padding: 0 100px;
  position: relative;
}
.columns_title span::before,
.columns_title span::after {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  content: "";
  width: 64px;
  height: 4px;
  background: #e12114;
}
.columns_title span::before {
  left: 0;
}
.columns_title span::after {
  right: 0;
}

/* よく見られている記事 */
#recommend_slick {
  /*	display: none;*/
}
#recommend_slick.slick-initialized {
  display: block;
}
.recommend_lists {
  margin-bottom: 40px;
}
.recommend_lists .content-sm {
  max-width: 776px;
}
.recommend_lists .box {
  margin-inline: 20px;
}
.recommend_lists_img {
  margin-right: 16px;
  width: calc(43% - 16px);
}
.recommend_lists .box-header a {
  color: #fff;
}

.recommend_lists .cat_box-category {
  text-align: right;
}
.box-step .box-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 16px;
  min-height: 84px;
}

.slick-slider button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  margin: 0;
  appearance: none;
}
.slick-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  width: 56px;
  height: 71px;
  border: none;
  text-indent: -99999px;
  outline: none !important;
}
.slick-prev {
  left: -91px;
  background: url(../images/arrow_left.png) no-repeat;
}
.slick-next {
  right: -91px;
  background: url(../images/arrow_right.png) no-repeat;
}
.slick-dots {
  position: absolute;
  bottom: -42px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
}
.slick-dots li {
  display: flex;
  margin-bottom: 0;
  line-height: 1;
  align-items: center;
}
.slick-dots button {
  width: 10px;
  height: 10px;
  text-indent: -99999px;
  background: #dedede;
}
.slick-dots .slick-active button {
  background: #e12114;
  width: 18px;
  height: 18px;
}

/* カテゴリ別 */
.category_select {
  background: #ffeeed;
  padding: 25px;
  border-radius: 16px;
  margin-bottom: 40px;
}
.category_select p {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 14px;
  color: #272727;
}
.category_select ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.category_select ul li {
  min-width: calc((100% - 18px * 4) / 5);
  margin-bottom: 0;
}
.category_select ul li a {
  color: #272727;
  border-radius: 12px;
  border: 2px solid #dbdbdb;
  font-size: 16px;
  display: flex;
  background: #fff;
  padding: 15px;
  align-items: center;
  line-height: 1;
  padding-left: 45px;
  position: relative;
}
.category_select ul li a::before {
  content: "";
  width: 20px;
  height: 20px;
  border: 2px solid #dbdbdb;
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  border-radius: 50%;
}
.category_select ul li a.active {
  border-color: #e12114;
}
.category_select ul li a.active::before {
  border-color: #e12114;
}
.category_select ul li a.active::after {
  content: "";
  width: 12px;
  height: 12px;
  position: absolute;
  top: 50%;
  left: 19px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #e12114;
}

.category_list {
  gap: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.cat_box {
  border-radius: 16px;
  overflow: hidden;
  background: #f5f5f5;
  color: #333;
}
.cat_box:link,
.cat_box:visited,
.cat_box:visited:hover {
  color: #333;
}
.cat_box.img_border .cat_box-header {
  border: 1px solid #dbdbdb;
  border-bottom: none;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}
.cat_box-header {
  width: 100%;
  overflow: hidden;
  aspect-ratio: 352 / 176;
}
.cat_box-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cat_box-body {
  padding: 20px;
}
.cat_box-title {
  margin-bottom: 10px;
  font-size: 16px;
  color: #333;
  font-weight: bold;
}
.cat_box-body p {
  font-size: 14px;
  text-align: left;
  margin-bottom: 4px;
}
.cat_box-category {
  padding-top: 14px;
  margin-bottom: 0;
}
.cat_box-category li {
  font-size: 14px;
  background: #fff;
  border-radius: 5px;
  display: inline-block;
  padding: 2px 12px;
  margin-bottom: 5px;
}
@media screen and (min-width: 768px) {
  .sp_only {
    display: none !important;
  }
}
@media screen and (max-width: 767px) {
  .pc_only {
    display: none !important;
  }

  /* タイトル */
  .columns_title {
    font-size: 20px;
  }
  .columns_title span {
    padding: 0 50px;
  }
  .columns_title span::before,
  .columns_title span::after {
    width: 32px;
    height: 4px;
  }

  .recommend_lists {
    padding-bottom: 50px;
    margin-bottom: 50px;
  }
  .recommend_lists .container {
    margin: 0 12px;
    width: calc(100% - 12px * 2);
  }
  .recommend_lists .box {
    border-radius: 16px;
    margin-inline: 12px;
  }
  .recommend_lists .box .box-body {
    padding: 0;
  }
  .recommend_lists_img {
    width: 100%;
    overflow: hidden;
    aspect-ratio: 352 / 176;
    margin: 0;
  }
  .recommend_lists_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .box-step.img_border .recommend_lists_img {
    border: 1px solid #dbdbdb;
    border-bottom: none;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
  }

  .recommend_lists_text {
    padding: 20px;
  }
  .recommend_lists_title {
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 16px;
    color: #333;
  }
  .recommend_lists_text p {
    text-align: left !important;
  }
  .recommend_lists .cat_box-category {
    text-align: left;
  }

  .category_select {
    padding: 15px;
  }
  .category_select p {
    font-size: 16px;
    margin-bottom: 10px;
  }
  .category_select ul {
    gap: 5px;
  }
  .category_select ul li a {
    font-size: 14px;
    padding: 10px 12px 10px 45px;
  }

  .category_list {
    gap: 12px;
    grid-template-columns: 1fr;
  }
}
