@charset "UTF-8";

.txt-orange {
  color: #FF7E28;
}
.bg-orange {
  background-color: #FFF3E0;
}
mark {
  background:linear-gradient(transparent 60%, #F5FF00 60%);
}

h2 {
  font-size: 2.2rem;
  font-weight: bold;
  letter-spacing: .04em;
  line-height: 1.64;
  margin-bottom: 20px;
}
h2.h2--bar {
  padding-bottom: 20px;
  position: relative;
  text-align: center;
}
h2.h2--bar::after {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  background: #FF7E28;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
}
@media screen and (min-width:1024px) {
  h2 {
    font-size: 2.8rem;
    margin-bottom: 30px;
  }
  h2.h2--bar {
    padding-bottom: 28px;
  }
  h2.h2--bar::after {
    width: 64px;
  }
}


/*---.heading-2---*/
h2.heading-2 {
  border-bottom: solid 2px #B2B2B2;
  position: relative;
  padding-bottom: 12px;
  font-size: 1.8rem;
  font-weight: bold;
  margin: 30px 0 20px;
}
h2.heading-2::after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 2px #FF7E28;
  bottom: -2px;
  width: 30%;
}
h2.heading-2 strong {
  font-size: 2.5rem;
  font-weight: 600;
  margin-right: 14px;
}
@media screen and (min-width:1024px) {
  h2.heading-2 {
    font-size: 2.6rem;
    margin: 40px 0 30px;
  }
  h2.heading-2::after {
    width: 11%;
  }
  h2.heading-2 strong {
    font-size: 4rem;
  }
}

/*---.heading-3---*/
.heading-3 {
  font-size: 1.6rem;
  font-weight: bold;
  letter-spacing: .04em;
  line-height: 1.625;
  margin: 20px 0 12px;
  padding-left: 17px;
  position: relative;
}
.heading-3::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 8.5px;
  background-color: #FF7E28;
  border-radius: 4.25px;
  position: absolute;
  top: 6px;
  left: 0;
}
@media screen and (min-width:1024px) {
  .heading-3 {
    font-size: 2rem;
    margin: 30px 0 14px;
  }
  .heading-3::before {
    top: 10px;
  }
}

.page-heading__bg {
  background: url("../img/case/page-heading--sp.png") no-repeat center / contain;  
}
.case_lower .page-heading__title-category {
  font-size: 1.3rem;
  letter-spacing: 0;
  line-height: 1.4;
}
.case_lower .page-heading__title-main {
  font-size: 1.8rem;
  letter-spacing: 0;
  line-height: 1.5;
  max-width: 67%;
}
@media screen and (min-width:1024px) {
  .page-heading__bg {
    background: url("../img/case/page-heading--pc.png") no-repeat center / contain;
  }
  .case_lower .page-heading__inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0 60px;
  }
  .case_lower .page-heading__title-category {
    font-size: 1.8rem;
  }
  .case_lower .page-heading__title-main {
    font-size: 3.2rem;
    max-width: 77%;
  }
}


/*--- case ---*/
.case {
  padding: 30px 0 80px;
  position: relative;
}
.case .inner {
  padding: 0 20px;
}
h2.h2--bar {
  display: none;
}
.case h2 + p {
  display: none;
}
.case-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.case-list__item{
  height: 100%;
}
.case-list__item > a {
  background: #FFF3E0;
  border-radius: 10px;
  overflow: hidden;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.case-list__item > a figure {
  aspect-ratio: 335 / 188;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
}
.case-list__item > a figure img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.case-list__text {
  padding: 15px 25px 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.case-list__text p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}
.case-list__data span:first-child {
  color: rgba(85,85,85,0.50);
}
.case-list__data .txt-orange {
  text-decoration: underline;
  float: right;
}
.case .btn_row {
  display: none;
}
@media screen and (min-width:1024px) {
  .case {
    padding: 50px 0 100px;
  }
  
 /* slick無効時（=通常の3カラム） */
/*
  .case-list:not(.slick-initialized){
    display: flex;
    gap: 40px;
    align-items: stretch;
  }

  .case-list:not(.slick-initialized) .case-list__item{
    flex: 1 1 0;
    height: auto;
    display: flex;
  }

  .case-list:not(.slick-initialized) .case-list__item > a{
    width: 100%;
    height: 100%;
  }
*/
  
/* スライドさせなかった場合*/
  .case-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px 30px;
  }
  .case-list__item {
    width: calc((100% - 30px) / 2);
    height: auto;
  }

}
@media screen and (min-width:1070px) {
  .case-list__item {
    width: calc((100% - 60px) / 3);
  }
}

/* -----------------------------
  slick有効時：高さを揃える（SP/PC）
----------------------------- */
.case-list .slick-list {
  padding: 10px 0;
}
.case-list.slick-initialized .slick-track{
  display: flex;
}

.case-list.slick-initialized .slick-slide{
  height: auto;
  display: flex;
}

.case-list.slick-initialized .slick-slide > div,
.case-list.slick-initialized .slick-slide > li{
  width: 100%;
}

.case-list.slick-initialized .slick-slide{
  padding: 0 20px;
  box-sizing: border-box;
}

/*--- 下層ページ bg 設定 ---*/
.case_1 .page-heading__bg {
  background: url("../img/case/case_1--sp.png") no-repeat center / contain;  
}
.case_2 .page-heading__bg {
  background: url("../img/case/case_2--sp.png") no-repeat center / contain;  
}
.case_3 .page-heading__bg {
  background: url("../img/case/case_3--sp.png") no-repeat center / contain;  
}
@media screen and (min-width:1024px) {
  .case_1 .page-heading__bg {
    background: url("../img/case/case_1--pc.png") no-repeat center / contain;  
  }
  .case_2 .page-heading__bg {
    background: url("../img/case/case_2--pc.png") no-repeat center / contain;  
  }
  .case_3 .page-heading__bg {
    background: url("../img/case/case_3--pc.png") no-repeat center / contain;  
  }
}

/*--- profile ---*/
.profile {
  padding: 14px 0;
}
.profile .bg-orange {
  background: #FFF3E0;
  border-radius: 10px;
  padding: 20px;
}
.profile_title {
  font-size: 1.4rem;
  font-weight: bold;
  letter-spacing: 0;
  line-height: 1.43;
  padding-left: 20px;
  position: relative;
}
.profile_title::before {
  content: "";
  display: block;
  width: 11px;
  height: 11px;
  background: #FF7E28;
  border-radius: 50%;
  position: absolute;
  top: 4px;
  left: 0;
}
.profile_title span {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0;
  color: #A3A3A3;
}
.profile p {
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: .03em;
  margin: 1em 0 0;
}
@media screen and (min-width:1024px) {
  .profile {
    padding: 50px 0 0;
  }
  .profile_title {
    font-size: 1.6rem;
    padding-left: 22px;
  }
  .profile_title::before {
    width: 12px;
    height: 12px;
    top: 6px;
  }
  .profile_title span {
    font-size: 1.4rem;
  }
  .profile p {
    font-size: 1.6rem;
  }
}

/*--- case_content ---*/
.case_content p {
  margin-bottom: 1em;
}
.case_content figure {
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  margin: 30px auto;
}
.case_content figure img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.case_content .btn_row a {
  background: #FF7E28;
  border-radius: 3em;
  font-size: 1.4rem;
  font-weight: bold;
  letter-spacing: 0;
  line-height: 1;
  color: #FFFFFF;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 365px;
  height: 66px;
  margin: 40px auto 50px;
  position: relative;
}
.case_content .btn_row .arrow-icon {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}

@media screen and (min-width:1024px) {
  .case_content .btn_row a {
    margin: 90px auto 120px;
  }
}
