@charset "UTF-8";

/*---------- header ----------*/

/*---------- main ----------*/
.fl_heading {
  padding: 10rem 0 0;
  background-image: url(../images/jisseki-mv.jpg);
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 0;
  height: 24rem;
}
.fl_heading::before {
  background: #000;
  opacity: 0.7;
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: -1;
}
.fl_heading .title-h1 {
  color: #fff;
  font-size: 1.4rem;
  font-weight: normal;
  text-align: center;
}

/* parts case */
.fl_case {
  padding: 8rem 0;
}
.fl_case .jisseki-list {
  margin-top: 4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  align-items: flex-start;
}
.fl_case .jisseki-list a {
  width: 30.4rem;
  margin-bottom: 4rem;
}
.fl_case .jisseki-list::after {
  display: block;
  content:"";
  width: 30.4rem;
}
.fl_case .jisseki_img {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;  
}
.fl_case .jisseki_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}
.fl_case h3 {
  text-align: left;
  font-weight: normal;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}
.jisseki-tab {
  display: flex;
  justify-content: center;
  margin-bottom: 4rem;
}
.jisseki-tab .tab-item {
  margin: 0 1.2rem;
  border: solid 1px #fff;
  width: 12rem;
  text-align: center;
  padding: .5rem 0;
  cursor: pointer;
  -moz-opacity: 0.8;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  -o-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}
.jisseki-tab .tab-item:hover {
 opacity: 0.8;
}
.jisseki-tab .tab-item.active {
  background-color: #FFF;
  cursor: default;
  color: #E60012;
}
.jisseki-tab .tab-item.active:hover {
  opacity: 1;
}


/*ページネーション*/
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  font-family: Arial, sans-serif;
  margin: 4rem;
  position: relative;
  gap: 1rem;
}
.pagination .page-numbers,
.pagination .pagination-l,
.pagination .pagination-r {
  display: inline-block;
  padding: 5px 15px;
  font-weight: bold;
  color: fff;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 1px solid #fff;
}
.pagination .pagination-l a,
.pagination .pagination-r a {
  color: #fff;
}
.pagination .dots {
  display: flex;
  justify-content: center;
  align-items: center;
  max-height: 30px;
  padding: 0 0.5rem 0.5rem;
  font-size: 16px;
  color: #fff;
  background-color: #A9A9A9;
  border: none;
}
.pagination .current {
  background-color: #FFF;
  pointer-events: none;
  color: #E60012;
}
.pagination .pagination-l.disabled,
.pagination .pagination-r.disabled {
  opacity: 0.5;
  pointer-events: none;
  cursor: default;
}


/*---------- footer ----------*/

/*==========================================================================
■ PC版のみ
==========================================================================*/
@media screen and (min-width: 769px) {

/*---------- header ----------*/

/*---------- main ----------*/

/*---------- footer ----------*/

}
/*==========================================================================
■ Tab版
==========================================================================*/
@media screen and (min-width: 769px) and (max-width: 1024px) {
/*---------- header ----------*/

/*---------- main ----------*/


/*---------- footer ----------*/


}
/*==========================================================================
■ SP版
==========================================================================*/
@media screen and (max-width: 768.98px) {

/*---------- header ----------*/

/*---------- main ----------*/
/* parts top case */
.fl_case {
  padding: 0 0 4rem;
}
.fl_case .jisseki-list a {
  width: calc(50% - 5px);
  margin-bottom: 2rem;
}
.jisseki-tab {
  flex-wrap: wrap;
  width: 26rem;
  margin: 0 auto 4rem;
}
.jisseki-tab .tab-item {
  margin: .5rem;
}


/*ページネーション*/
.pagination {
  margin: 2rem 0;
}
.pagination .page-numbers {
  padding: 5px 10px;
}
.pagination .pagination-l,
.pagination .pagination-r {
  padding: 5px;
}
.pagination .dots {
  max-height: 30px;
  padding: 0 0.4rem 0.5rem;
}



/*---------- footer ----------*/
}



/*---------- レイアウト微調整 ----------*/
@media (max-width: 599px) {
.col3 {
  justify-content: center;
  margin-top: 2rem;
}
.md_col3 {
  width: 80%;
  margin: 1rem 0;
}
}
@media (max-width: 370px) {
.fl_heading .heading_image {
  width: 90%;
}
}
