/*----------------------------------------------------
    PCサイトcss
----------------------------------------------------*/
@media screen and (min-width: 600px) {
/*/////////////PC用のCSSをここに作成してください。/////////////*/
/*/////////////必ず中括弧の中に作成してください。/////////////*/
.box28 {
    position: relative;
    margin: 2.5em 0;
    padding: 45px 60px 15px;
    border: solid 1px #040466;
    background-color: rgb(235 240 246);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    z-index: 0;
}
.box28:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  width: 30%;
  height: 100%;
  background-color: #d4deec;
  clip-path: polygon(100% 0%, 0 100%, 100% 100%);
  z-index: -1;
}
.box28 .box-title {
    position: absolute;
    display: inline-block;
    top: -2px;
    left: -2px;
    padding: 0 15px;
    height: 30px;
    line-height: 30px;
    font-size: 30px;
    background: #040466;
    color: #ffffff;
    font-weight: normal;
    letter-spacing: 1px;
}
.box28 p {
    margin: 0; 
    padding: 0;
    color: #333;
    line-height: 1.8;
}
}
/*----------------------------------------------------
    SPサイトcss
----------------------------------------------------*/
@media screen and (max-width: 599px) {
/*/////////////SP用のCSSをここに作成してください。/////////////*/
/*/////////////必ず中括弧の中に作成してください。/////////////*/
.box28 {
    position: relative;
    margin: 2em 0;
    padding: 40px 15px 12px;
    border: solid 1px #040466;
    background-color: rgb(235 240 246);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    z-index:0;
}

.box28:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  width: 30%;
  height: 100%;
  background-color: #d4deec;
  clip-path: polygon(100% 0%, 0 100%, 100% 100%);
  z-index: -1;
}

.box28 .box-title {
    position: absolute;
    display: inline-block;
    top: -2px;
    left: -2px;
    padding: 0 12px;
    height: 28px;
    line-height: 28px;
    font-size: 15px;
    background: #040466;
    color: #ffffff;
    font-weight: normal;
    letter-spacing: 0.5px;
}
.box28 p {
    margin: 0; 
    padding: 0;
    color: #333;
    line-height: 1.6;
    font-size: 14px;
}
}
