/* =========================================================
   情シス君 sec_05「導入事例」完全再現用
   （レイアウト・カード・タイトル下線・ボタンを同型で移植）
   ========================================================= */

section.sec_05 {
  margin-top: 0;
  margin-bottom: 120px;
  padding: 100px 0 90px !important;
  background: #FFF1EC;
  position: relative;
  z-index: 2;
  font-family: "Yu Gothic Pr6N", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-weight: 500;
  color: #000;
}

/* 上端の波型装飾（白帯の隙間を埋める） */
section.sec_05::before {
  content: '';
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 59px;
  background: url("./bg_type_03.svg") repeat-x center bottom;
  translate: 0 -100%;
  pointer-events: none;
}

section.sec_05 > * {
  position: relative;
  z-index: 1;
}

.sec_05 .johsys-container {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 10px 0;
}

.sec_05 .p-head-group {
  margin-bottom: 24px;
}

.sec_05-cta {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 40px;
}

.sec_05 .title {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  margin-bottom: 40px;
  padding-bottom: 16px;
}

.sec_05 .title::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 50px;
  background: #D9483B;
}

.sec_05 .title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50px;
  height: 2px;
  width: calc(100% - 50px);
  background: rgba(217, 72, 59, 0.22);
}

.sec_05 .title h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  color: #D9483B;
  line-height: 1.4;
}

.sec_05 .button a,
.sec_05 .button .a {
  display: inline-block;
  border-radius: 2px;
  border: 1px solid #D9483B;
  background: #FFF;
  padding: 12px 24px;
  padding-right: 42px;
  color: #D9483B;
  text-decoration: none;
  position: relative;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.sec_05 .button a::after,
.sec_05 .button .a::after {
  content: '●';
  position: absolute;
  right: 24px;
  top: 20px;
  font-size: 6px;
  width: 6px;
  color: #D9483B;
}

.sec_05 .button a:hover,
.sec_05 .button .a:hover {
  border: 1px solid #D9483B;
  background: #FFF7F4;
}

.sec_05 .button a:hover::after,
.sec_05 .button .a:hover::after {
  content: '→';
  right: 20px;
  top: 10px;
  font-size: 20px;
  width: 12px;
}

/* PC: 3カラムカード */
.sec_05 .case {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
}

.sec_05 .case .case_box {
  width: calc(33.333% - 14px);
  height: auto;
  border-radius: 4px;
  border-bottom: 1px solid #EFEFEF;
  background: #FFF;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  position: relative;
}

.sec_05 .case .case_box:hover {
  opacity: 0.7;
}

.sec_05 .case .case_box a,
.sec_05 .case .case_box > .a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  cursor: pointer;
}

.sec_05 .case .case_box .case_image {
  height: 200px;
  background-size: cover;
  background-position: center center;
  position: relative;
  margin-bottom: 20px;
  border-radius: 4px 4px 0 0;
}

.sec_05 .case .case_box .case_company {
  font-size: 14px;
  font-weight: 700;
  color: #D9483B;
  padding: 0 20px;
  margin: 0 0 8px;
}

.sec_05 .case .case_box .case_title {
  font-size: 18px;
  color: #222;
  font-weight: 700;
  padding: 0 20px;
  margin: 0 0 12px;
  line-height: 1.5;
}

.sec_05 .case .case_box .case_text {
  font-size: 14px;
  font-weight: 500;
  color: #444;
  line-height: 1.7;
  padding: 0 20px 24px;
  margin: 0;
  margin-top: auto;
}

/* SP: 情シス君同様 .wide 非表示 / .sp 表示 */
.sec_05 .sp {
  display: none;
}

.sec_05 .slide_case .case_box {
  width: 100%;
  height: auto;
  min-height: 450px;
  border-radius: 4px;
  border-bottom: 1px solid #EFEFEF;
  background: #FFF;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  position: relative;
  margin-bottom: 20px;
}

.sec_05 .slide_case .case_box:hover {
  opacity: 0.7;
}

.sec_05 .slide_case .case_box a,
.sec_05 .slide_case .case_box > .a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  cursor: pointer;
}

.sec_05 .slide_case .case_box .case_image {
  height: 200px;
  background-size: cover;
  background-position: center center;
  position: relative;
  margin-bottom: 20px;
  border-radius: 4px 4px 0 0;
}

.sec_05 .slide_case .case_box .case_company {
  font-size: 14px;
  font-weight: 700;
  color: #D9483B;
  padding: 0 20px;
  margin: 0 0 8px;
}

.sec_05 .slide_case .case_box .case_title {
  font-size: 18px;
  color: #222;
  font-weight: 700;
  padding: 0 20px;
  margin: 0 0 12px;
  line-height: 1.5;
}

.sec_05 .slide_case .case_box .case_text {
  font-size: 14px;
  font-weight: 500;
  color: #444;
  line-height: 1.7;
  padding: 0 20px 24px;
  margin: 0;
  margin-top: auto;
}

@media screen and (max-width: 768px) {
  section.sec_05 {
    margin-top: 0;
    margin-bottom: 24px;
    padding: 64px 0 56px !important;
  }

  section.sec_05::before {
    height: 40px;
    background-size: auto 100%;
  }

  .sec_05 .title {
    flex-direction: column;
    gap: 16px;
  }

  .sec_05 .title h2 {
    font-size: 23px;
  }

  .sec_05 .button {
    align-self: flex-start;
  }

  .sec_05 .wide {
    display: none !important;
  }

  .sec_05 .sp {
    display: block;
  }
}
