.dx-head {
    background-image: url(../images/dx/kv.jpg);
}

.dx-block {
    padding: 65px 0;
}
.dx-block__inner {
    margin: 0 auto;
    width: 95%;
    max-width: 1100px;
}
.dx-block__head {
    margin: 0 0 45px;
    padding: 0 0 35px;
    position: relative;
    text-align: center;
}
.dx-block__head::after {
    background: #1955a6;
    content: "";
    display: block;
    height: 3px;
    margin: auto;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100px;
}
.dx-block__head h2 {
    color: #1955a6;
    display: inline-block;
    font-size: 36px;
    font-weight: 700;
}
.dx-block__txt {
    font-size: 18px;
    font-weight: 700;
    line-height: 2em;
    text-align: center;
}
.dx-block__items {
    margin: 45px 0 0;
}
.dx-block__item {
    text-align: center;
}
.dx-block__item:not(:last-child) {
    margin: 0 0 35px;
}
.dx-block__ttl {
    background: #1955a6;
    display: inline-block;
    transform: skewX(-20deg);
    margin: 0 0 35px;
    padding: 8px 25px;
}
.dx-block__ttl h2 {
    color: #fff;
	display: inline-block;
    font-size: 24px;
    font-weight: 700;
	transform: skewX(20deg);
}
.dx-block__text p {
    font-size: 21px;
    font-weight: 700;
    line-height: 1.8em;
}
.dx-block__text p.signiture {
    font-size: 18px;
    font-weight: 700;
    line-height: 2em;
    margin-top: 45px;
    text-align: center;
}
.attempt {
    background: #f2fafe;
}
.attempt-card {
    background: #fff;
    border-radius: 10px;
    padding: 35px;
}
.attempt-card:not(:last-child) {
    margin: 0 0 45px;
}
.attempt-card__flex {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
}
.attempt-card:nth-child(odd) .attempt-card__flex {
    flex-direction: row-reverse;
}
.attempt-card__image {
    width: 50%;
}
.attempt-card__text {
    width: 47%;
}
.attempt-card__ttl {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: 0 0 25px;
}
.attempt-card__eyecatch {
    margin-right: 20px;
    width: 55px;
}
.attempt-card__ttl h3 {
    color: #1955a6;
    font-size: 30px;
    font-weight: 700;
}
.attempt-list__item:not(:last-child) {
    margin: 0 0 25px;
}
.attempt-list__item dt {
    color: #1955a6;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px;
}
.attempt-list__item dd {
    color: #333;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.8em;
}

.attempt-card__notice {
    border: 2px solid #1955a6;
    margin: 35px 0 0;
    padding: 65px 35px 35px;
    position: relative;
}
.attempt-card__notice h3 {
    padding: 2px 35px 2px 25px;
    position: absolute;
    left: -2px;
    top: -2px;
    width: 100%;
    max-width: max-content;
}
.attempt-card__notice h3::before {
    background: #1955a6;
    content: "";
    height: 67%;
    position: absolute;
    left: 0;
    top: 44px;
    width: 100%;
    transform: scaleY(1.3) perspective(.9em) rotateX(175deg);
    transform-origin: top left;

}
.attempt-card__notice h3 span {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}
.attempt-card.card-number5 .attempt-card__notice {
    padding: 35px 35px 35px;
}
.attempt-card.card-number5 .attempt-card__notice h3 {
    display: none;
}
.attempt-card__notice p {
    color: #333;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.8em;
}

/* blockname */
@media screen and (max-width: 968px) {
    .dx-block {
        padding: 55px 0;
    }
    .dx-block__head {
        margin: 0 0 35px;
        padding: 0 0 25px;
    }
    .dx-block__head h2 {
        font-size: 28px;
    }
    .dx-block__txt {
        font-size: 16px;
    }
    .dx-block__items {
        margin: 35px 0 0;
    }
    .dx-block__item:not(:last-child) {
        margin: 0 0 25px;
    }
    .dx-block__ttl {
        margin: 0 0 25px;
        padding: 8px 20px;
    }
    .dx-block__ttl h2 {
        font-size: 21px;
    }
    .dx-block__text p {
        font-size: 18px;
    }
    .attempt-card {
        padding: 25px;
    }
    .attempt-card:not(:last-child) {
        margin: 0 0 35px;
    }
    .attempt-card__image {
        margin: 0 0 25px;
        width: 100%;
    }
    .attempt-card__text {
        width: 100%;
    }
    .attempt-card__ttl {
        margin: 0 0 20px;
    }
    .attempt-card__eyecatch {
        margin-right: 15px;
        width: 55px;
    }
    .attempt-card__ttl h3 {
        font-size: 26px;
    }
    .attempt-list__item:not(:last-child) {
        margin: 0 0 20px;
    }
    .attempt-list__item dt {
        font-size: 21px;
    }
    .attempt-list__item dd {
        font-size: 16px;
    }
    
    .attempt-card__notice {
        margin: 25px 0 0;
        padding: 55px 25px 25px;
    }
    .attempt-card.card-number5 .attempt-card__notice {
        padding: 25px;
    }
    .attempt-card__notice h3 {
        padding: 2px 25px 2px 20px;
    }
    .attempt-card__notice h3::before {
        height: 67%;
        top: 38px;
    
    }
    .attempt-card__notice h3 span {
        font-size: 21px;
    }
    .attempt-card__notice p {
        font-size: 16px;
    }
}
@media screen and (max-width: 768px) {
    .dx-block {
        padding: 45px 0;
    }
    .dx-block__head {
        margin: 0 0 30px;
        padding: 0 0 20px;
    }
    .dx-block__head h2 {
        font-size: 21px;
    }
    .dx-block__txt {
        font-size: 14px;
    }
    .dx-block__text p.signiture {
        font-size: 14px;
        margin-top: 30px;
    }
    .dx-block__items {
        margin: 30px 0 0;
    }
    .dx-block__item:not(:last-child) {
        margin: 0 0 20px;
    }
    .dx-block__ttl {
        margin: 0 0 20px;
        padding: 8px 15px;
    }
    .dx-block__ttl h2 {
        font-size: 18px;
    }
    .dx-block__text p {
        font-size: 15px;
    }
    .attempt-card {
        padding: 20px;
    }
    .attempt-card:not(:last-child) {
        margin: 0 0 30px;
    }
    .attempt-card__eyecatch {
        width: 45px;
    }
    .attempt-card__ttl h3 {
        font-size: 21px;
    }
    .attempt-list__item dt {
        font-size: 18px;
    }
    .attempt-list__item dd {
        font-size: 14px;
    }
    
    .attempt-card__notice {
        padding: 55px 15px 15px;
    }
    .attempt-card.card-number5 .attempt-card__notice {
        padding: 15px;
    }
    .attempt-card__notice h3::before {
        top: 35px;
    }
    .attempt-card__notice h3 span {
        font-size: 18px;
    }
    .attempt-card__notice p {
        font-size: 14px;
    }
}
