@charset "UTF-8";

/*-------------------------------------------
/business/services/rink/case_study_card.html
想定事例一覧
-------------------------------------------*/
h2.rink-case_study_cards_heading{
	text-align: center;
	line-height: 1.5;
	font-size: 28px;
}
/* ===== CASE STUDY CARDS : GRID ===== */
.rink-case_study_cards__grid{
  list-style: none;
  margin: 0;
  padding: 0;

  display: grid;
  grid-template-columns: repeat(2, 510px); /* PC：2カラム */
  gap: 24px;
  justify-content: center;
}



.rink-case_study_cards__item{
	margin-bottom: 40px;
}
/* ===== CARD ===== */
.rink-case_study_card{
  width: 510px;
  height: 100%; 
  border-radius: 2px;
  overflow: hidden;
  background: #fff;
}


.rink-case_study_card__link{
  display: block;
  color: inherit;
  text-decoration: none;
}
.rink-case_study_card__link:hover .rink-case_study_btn{
	background-color: #fd0449 !important;
	transition: background-color 0.5s ease, right 0.5s ease;
	border: 1px solid #666;
	box-sizing: border-box;
}

/* ===== THUMBNAIL ===== */
.rink-case_study_card__thumb{
  position: relative;
  height: 250px;
  overflow: hidden;
  background: #f2f2f2;
  border: 1px solid #ddd;
  box-sizing: border-box;
  border-radius: 2px 2px 0 0;
}

.rink-case_study_card__thumb img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center; 
}

/* PDF badge */
.rink-case_study_card__badge{
  position: absolute;
  width: 38px;
  height: 38px;
  right: 14px;
  bottom: 12px;
  padding: 14px 0px 0;
  line-height: 1;
  font-size: 12px;
  text-align: center;
  border-radius: 999px;
  background: rgba(0,0,0,.6);
  color: #fff;
}

/* ===== BODY ===== */
.rink-case_study_card__body{
  max-height: 190px;
  background: #f2f2f2;
  padding: 20px 30px 20px;
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
}

.rink-case_study_card__meta{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
}

/* chips */
.rink-case_study_chip{
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 11px;
  flex-wrap: wrap;
  border-radius: 999px;
  background: #fff;
  padding: 4px 15px;
  min-height: 34px;
  line-height: 1;
  vertical-align:middle;
}

.rink-case_study_chip__k{
  padding: 2px 0 0 ;
  border-radius: 999px;
  background: #fff;
  color: #cc0033;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  /* font-weight: normal; */
}

.rink-case_study_chip__v{
  padding: 1px 0 0 ;
  color: #cc0033;
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  /* font-weight: normal; */
}
.rink-case_study_chip__v::before{
	display: inline;
	content: "";
	border-left:1px #cc0033 solid ;
	padding-right: 10px;
}

/* title */
.rink-case_study_card__title{
  margin: 12px 0 0;
  font-size: 22px;
  line-height: 1.45;
  font-weight: 800;
  color: #333;
}

/* CTA */
.rink-case_study_card__cta{
  margin-top: auto;
  display: flex;
  justify-content: center;
  padding-top: 18px;
}

/* button */
.rink-case_study_btn{
  width: 200px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  border-radius: 8px;
  background: #c4003a;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.rink-case_study_btn:hover{
	background-color: #fd0449 !important;
	transition: background-color 0.5s ease, right 0.5s ease;
	border: 1px solid #666;
	box-sizing: border-box;
}

.rink-case_study_btn__arrow{
  font-size: 18px;
  line-height: 1;
}

@media screen and (max-width: 768px){
  .sp_hidden{
  	display: none;
  }
  .rink-case_study_cards__grid{
    grid-template-columns: 1fr; /* SP：1カラム */
  }
  .rink-case_study_card{
    width: 100%;
    max-width: 510px;
    margin: 0 auto;
  }
  .rink-case_study_card__body{
	padding: 15px 20px 15px;
  }

  .rink-case_study_chip__k{
	font-size: 12px;
  }

  .rink-case_study_chip__v{
	font-size: 16px;
  }
  .rink-case_study_card__title{
	font-size: 18px;
	line-height: 1.4;
  }
}