@charset "UTF-8";

/* #content_note - note記事カルーセル */

#content_note{
background: #ffeee2;
}

.note_carousel_wrap {
  position: relative;
  max-width: 1100px;
  margin: 30px auto 0;
  padding: 0 50px;
}

.note_carousel_loading {
  text-align: center;
  padding: 40px;
  color: #666;
}

.note_carousel_slider .note_card {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  overflow: hidden;
  margin: 0 12px 10px;
  height: 100%;
  min-height: 370px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease;
}

.note_carousel_slider .note_card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.note_carousel_slider .note_card a {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
  flex-direction: column;
  display: flex;
}

.note_carousel_slider .note_card_img {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  background: #f0f0f0;
}

.note_carousel_slider .note_card_img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.note_carousel_slider .note_card_body {
  padding: 16px;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.note_carousel_slider .note_card_date {
  font-size: 12px;
  color: #888;
  margin-bottom: 8px;
}

.note_carousel_slider .note_card_ttl {
  font-size: 15px;
  font-weight: bold;
  line-height: 1.45;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.note_carousel_slider .note_card_txt {
  font-size: 13px;
  color: #555;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#content_note .note_carousel_wrap .slick-prev,
#content_note .note_carousel_wrap .slick-next {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e8e8e8;
  z-index: 2;
  top: 35%;
}

#content_note .note_carousel_wrap .slick-prev:before,
#content_note .note_carousel_wrap .slick-next:before {
  color: #555;
  font-size: 18px;
}

#content_note .note_carousel_wrap .slick-prev {
  left: -10px;
}

#content_note .note_carousel_wrap .slick-next {
  right: -10px;
}

#content_note .note_carousel_wrap .slick-dots {
  margin-top: 28px;
  padding: 0;
}

#content_note .note_carousel_wrap .slick-dots li {
  width: 28px;
  height: 28px;
}

#content_note .note_carousel_wrap .slick-dots li button {
  width: 28px;
  height: 28px;
  padding: 0;
}

#content_note .note_carousel_wrap .slick-dots li button:before {
  font-size: 34px;
  line-height: 28px;
  width: 28px;
  height: 28px;
  color: #ccc;
  opacity: 1;
}

#content_note .note_carousel_wrap .slick-dots li.slick-active button:before {
  color: #1e2856;
  opacity: 1;
}

/* SP: 1記事表示 */
@media screen and (max-width: 768px) {
  .note_carousel_wrap {
    padding: 0 40px;
  }

  .note_carousel_slider .note_card {
    margin: 0 8px 10px;
    min-height: 340px;
  }

  .note_carousel_slider .note_card_ttl {
    font-size: 14px;
    -webkit-line-clamp: 3;
  }

  .note_carousel_slider .note_card_txt {
    font-size: 12px;
    -webkit-line-clamp: 3;
  }

  #content_note .note_carousel_wrap .slick-prev,
  #content_note .note_carousel_wrap .slick-next {
    width: 36px;
    height: 36px;
    top: 30%;
  }

  #content_note .note_carousel_wrap .slick-prev:before,
  #content_note .note_carousel_wrap .slick-next:before {
    font-size: 14px;
  }

  #content_note .note_carousel_wrap .slick-prev {
    left: 0;
  }

  #content_note .note_carousel_wrap .slick-next {
    right: 0;
  }
}
