@charset "UTF-8";

.card-wrap {
display:-webkit-box;
  	display:-ms-flexbox;
  	display:flex;
        align-items: center;
	-ms-flex-wrap: wrap;
  	flex-wrap: wrap;
     align-items: stretch;
}

.card{
    position: relative;
width: calc(33.333% - 5% /3);
}

/* ラベル部分 右上に表示 */
.card1::before {
    content: "";
    top: 0;
    left: 0;
    border-bottom: 4em solid transparent;
    border-left: 4em solid #0033ff; /* ラベルの色はここで変更 */
    position: absolute;
    z-index: 100;
}
.card1::after {
    content: "例1";
    display: block;
    top: 5px;
    transform: rotate(-45deg);
    color: #fff; /* 文字色はここで変更 */
    left: 7px;
    position: absolute;
    z-index: 101;
}

.card2::before {
    content: "";
    top: 0;
    left: 0;
    border-bottom: 4em solid transparent;
    border-left: 4em solid #0033ff; /* ラベルの色はここで変更 */
    position: absolute;
    z-index: 100;
}

.card2::after {
    content: "例2";
    display: block;
    top: 5px;
    transform: rotate(-45deg);
    color: #fff; /* 文字色はここで変更 */
    left: 7px;
    position: absolute;
    z-index: 101;
}

.card3::before {
    content: "";
    top: 0;
    left: 0;
    border-bottom: 4em solid transparent;
    border-left: 4em solid #0033ff; /* ラベルの色はここで変更 */
    position: absolute;
    z-index: 100;
}

.card3::after {
   content: "例3";
    display: block;
    top: 5px;
    transform: rotate(-45deg);
    color: #fff; /* 文字色はここで変更 */
    left: 7px;
    position: absolute;
    z-index: 101;
}

.card-skin{
  overflow: hidden;
  border-radius: 8px;
  border-top: solid 1px #0033ff;
  border-left: solid 1px #0033ff;
  border-right: solid 1px #0033ff;
  border-bottom: solid 1px #0033ff;
}
.card__imgframe{
width: 100%;
height: auto;
background-size: cover;
}
.card__textbox{
width: 100%;
padding: 20px 18px;
background: #ffffff;
box-sizing: border-box;
}

.card__titletext{
font-size: 18px;
font-weight: bold;
}
.card__overviewtext{
color: #0033ff;
font-size: 30px;
text-align: center;
}

.block_html ul li, .block_html ol li {
    list-style-type: none;
    padding-left: 0px;
}

.card__textbox {
    width: 100%;
    padding: 1rem;
    background: #ffffff;
    display: block;
}

.card-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: space-around;
}

.card__imgframe img {
    width: auto;
    min-height: 182px;
       height: 200px;
    width: 100% !important;
    object-fit: cover;
}


@media screen and (max-width: 900px) {
.card {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.card:nth-child(n + 2) {
margin-top: 3rem;
}

.card__titletext {
    font-size: 3.8vw;
}

.card__title-subtext {
    font-size: 3.2vw;
}

.card__overviewtext {
    font-size: 6vw;
}