:root{
  --blue:#2d478b;
  --yellow: #ffd71e;
  --pink: #ff6e6e;
  --pink-rgb: 255,110,110;
}
.blcMain > .wrapper.case {
    display: block;
}
br.sp{
  display: none;
}
/*blcBreadcrumbs*/
.blcBreadcrumbs {
  display: flex;
  gap: 5px;
  margin: 5px auto;
  max-width: 980px;
  padding: 0 20px;
  font-size: 10px;
  color: var(--blue);
}
.blcBreadcrumbs a {
  color: var(--blue);
}
.blcBreadcrumbs li:after{
  display: inline;
  content: ">";
  margin-left: 5px;
}
.blcBreadcrumbs li:last-child:after{
  display: none;
}
h1{
  margin: 20px 0 60px;
  padding: 0 20px;
  font-size: 32px;
  color: var(--blue);
  text-align: center;
}
/*blcCase*/
.blcCase{
  padding: 35px 20px;
  background-color: #ffeb8e;
}
.blcCase p{
  margin-bottom: 1.5em;
}
/*CaseLead*/
.CaseLead{
  padding: 10px;
  background-color: #FFF;
}
.CaseLeadHeader{
  display: flex;
  gap: 20px;
  margin: 10px 10px 30px;
}
.CaseNumber{
  display: block;
  padding-top: 20px;
  width: 91px;
  height: 106px;
  background: url("../images/bg_caseNumber.svg") no-repeat center center /cover;
  color: #FFF;
  font-size: 18px;
  text-align: center;
}
.CaseNumber span{
  font-weight: 600;
  font-size: 31px;
  line-height: 1.1em;
}
.CaseLeadHeader div{
  width: calc(100% - 111px);
}
.CaseLeadHeader h2{
  margin-bottom: 20px;
  font-size: 24px;
  color: var(--blue);
}
.CaseSelectService{
  display: inline-flex;
  padding: 0 1em;
  border-radius: 1em;
  background-color: var(--yellow);
  font-size: 14px;
}
.CaseSelectService dt:after{
  display: inline;
  content: "/";
  padding: 0 2px;
}
.CaseLeadDescription{
  margin: 0 10px 50px;
  line-height: 1.875em;
}
.caseService{
  padding: 30px 20px 20px;
  background-color: rgba(var(--pink-rgb),0.1);
  position: relative;
}
.caseService h3{
  display: inline-block;
  padding: 0 0.5em;
  background-color: var(--pink);
  color: #FFF;
  font-size: 20px;
  position: absolute;
  top: -10px;
  left: 20px;
}
.listCheckPink{
  color: var(--pink);
  font-size: 16px;
  font-weight: 600;
}
.listCheckPink li{
  margin-bottom: 16px;
  padding-left: 24px;
  position: relative;
}
.listCheckPink li:before{
  display: block;
  content: "";
  width: 18px;
  height: 18px;
  background: url("../images/ico_checkpink.svg") no-repeat center center /cover;
  position: absolute;
  top: 3px;
  left: 0;
}
.listCheckPink li:last-child{
  margin-bottom: 0;
}
/*CaseCliant*/
.CaseMessageWrapper{
  display: flex;
  align-items: flex-end;
  gap: 20px;
  margin-top: 40px;
}
.CaseMessageWrapper.host{
  flex-direction: row-reverse;
}
.CaseMessage{
  padding: 30px;
  width: calc(100% - 100px);
  border-radius: 10px 0;
  background-color: #FFF;
  font-size: 16px;
  line-height: 1.875em;
}
.host .CaseMessage{
  border-radius: 0 10px;
}
.CaseFigure{
  width: 80px;
}
.CaseFigure img{
  width: 80px;
  height: auto;
}
.CaseFigure figcaption{
  font-weight: 600;
  font-size: 11px;
  text-align: left;
  color: var(--blue);
}
@media screen and (max-width: 640px) {
  .blcCase{
    padding: 10px;
  }
  .CaseLeadHeader{
    margin-top: 70px;
    position: relative;
  }
  .CaseNumber{
    position: absolute;
    top: -110px;
    left: 0;
  }
  .CaseLeadHeader div {
    width: 100%;
  }
  br.sp{
  display: block;
  }
  .caseService {
    padding-top: 45px;
  }
  .caseService h3 {
    top: -32px;
  }
  .CaseMessageWrapper {
    flex-direction: column;
    gap: 10px;
    margin-top: 40px;
  }
  .CaseMessageWrapper.host{
    flex-direction: column;
  }
  .CaseFigure{
    display: flex;
    gap: 10px;
    width: 100%;
    align-items: flex-end;
  }
  .host .CaseFigure{
    flex-direction: row-reverse;
  }
  .host .CaseFigure figcaption{
    text-align: right;
  }
  .CaseMessage{
    width: 100%;
    border-radius: 0 10px;
  }
  .host .CaseMessage{
    border-radius: 10px 0;
  }
}