@charset "UTF-8";

.block-guarantee-sec .content-ttl {
    text-align: center;
    font-weight: bold;
    font-size: clamp(14px, 5vw, 20px);
    margin: 0 0 34px;
}

/* 注釈 */
.block-guarantee-sec .attention {
    margin-top: 1.5em;
    font-size: 12px;
}
.block-guarantee-sec .attention li + li {
    margin-top: 0.7em;
}
.block-guarantee-sec .attention li {
    text-indent: -1em;
    padding-left: 1em;
}

/* MV */
.guarantee-mv {
    margin: 0 0 4em;
}
.guarantee-mv .mv-inner{
    position: relative;
    text-align: center;
}
.guarantee-mv .mv-inner .is-ttl {
    position: absolute;
    left: 5%;
    top: 25%;
    color: white;
    font-weight: bold;
    font-size: 20px;
}
.guarantee-mv .mv-inner img {
    width: 100%;
}

/* ロングサポート */
.guarantee-intro .is-ttl {
    margin: 3.2em 0 1.5em;
    font-weight: bold;
}
.guarantee-intro .guarantee-content-list {
    margin-top: 3em;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.guarantee-intro .guarantee-content-list li {
    width: calc((100% - 12%) / 5);
    margin-right: 3%;
}
.guarantee-intro .guarantee-content-list li:nth-child(5n) {
    margin-right: 0;
}
.guarantee-intro .guarantee-content-list li:nth-child(n+6) {
    margin-top: 3%;
}

/* 延長保証の種類 */
.guarantee-type {
    background-color: var(--base-light-gray);
    padding: 2.9em 0 4em;
    margin-top: 4.2em;
}
.guarantee-type .guarantee-type-list .type-item {
    background-color: white;
    text-align: center;
    padding: 2em 2em;
}
.guarantee-type .guarantee-type-list .type-item:nth-child(3n) {
    margin-right: 0;
}
.guarantee-type .guarantee-type-list .type-item .is-ttl {
    font-size: clamp(16px, 3.9vw, 26px);
    font-weight: bold;
}
.guarantee-type .guarantee-type-list .type-item .type-detail {
    background-color: #878C9E;
    color: white;
    padding: 1em 1em;
    margin-top: 2rem;
    font-size: clamp(14px, 3.7vw, 20px);
    font-weight: bold;
}
.guarantee-type .guarantee-type-list .type-item .is-price {
    margin-top: 2rem;
    font-size: clamp(18px, 4vw, 30px);
    font-weight: bold;
    line-height: 1;
}
.guarantee-type .guarantee-type-list .type-item .is-price .is-tax {
    font-size: 0.5em;
}
/* 保証図 */
.guarantee-period-wrap {
    margin-top: 5rem;
    border-left: 2px dotted #878C9E;
    border-right: 2px dotted #878C9E;
    position: relative;
    z-index: 0;
}
.guarantee-period-wrap::before {
    content: "";
    width: 1px;
    height: 100%;
    border-left: 2px dotted #878C9E;
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    z-index: -1;
}
.guarantee-period-wrap .allow-wrap {
    display: flex;
    flex-wrap: wrap;
}
.guarantee-period-wrap .allow-wrap .allow {
    width: 50%;
}
.guarantee-period-wrap .allow-wrap .point-text {
    width: 100%;
    background-color: white;
    text-align: center;
    padding: 1.1rem 1rem;
}
.guarantee-period-wrap .allow-wrap .font-red {
    color: #B20000;
    font-weight: bold;
}
.guarantee-period-wrap .allow-wrap .allow+.point-text,
.guarantee-period-wrap .allow-wrap .allow .inner-text+.point-text {
    margin-top: 2rem;
}

.guarantee-period-wrap .allow-wrap .allow:not(.is-dotto) .inner-text {
    color: white;
}

.guarantee-period-wrap .allow-wrap .allow .inner-text {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    font-weight: bold;
    font-size: clamp(14px, 3.7vw, 20px);
    position: relative;
}

.guarantee-period-wrap .allow-wrap .allow .inner-text::after {
    content: "";
    height: calc(tan(60deg) * 117% / 2);
    width: 60px;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    position: absolute;
    z-index: 1;
}

.guarantee-period-wrap .allow-wrap .allow.allow-before .inner-text::after {
    right: -60px;
}

.guarantee-period-wrap .allow-wrap .allow.allow-before:not(.is-dotto) .inner-text,
.guarantee-period-wrap .allow-wrap .allow.allow-before .inner-text::after {
    background-color: #878C9E;
}

.guarantee-period-wrap .allow-wrap .allow.allow-after .inner-text::before {
    content: "";
    width: calc(100% - 60px);
    height: 100%;
    display: inline-block;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
}

.guarantee-period-wrap .allow-wrap .allow.allow-after .inner-text::after {
    right: 1px;
}

.guarantee-period-wrap .allow-wrap .allow.allow-after:not(.is-dotto) .inner-text::before,
.guarantee-period-wrap .allow-wrap .allow.allow-after:not(.is-dotto) .inner-text::after {
    background-color: #C8991E;
}

.guarantee-period-wrap .allow-wrap .allow.allow-after.is-dotto .inner-text::before {
    background-image: linear-gradient(to right, #C8991E 8px, transparent 8px),  linear-gradient(to left, #C8991E 8px, transparent 8px);
    background-size: 10px 1px, 10px 1px;
    background-repeat: repeat-x, repeat-x;
    background-position: left top, 3px bottom;
    width: calc(100% - 51px);
}
.guarantee-period-wrap .allow-wrap .allow.allow-after.is-dotto .inner-text span::before,
.guarantee-period-wrap .allow-wrap .allow.allow-after.is-dotto .inner-text span::after {
    content: "";
    background-image: linear-gradient(to right, #C8991E 8px, transparent 8px);
    background-size: 10px 1px;
    background-repeat: repeat-x;
    background-position: left bottom;
    width: 60px;
    display: inline-block;
    height: 1px;
    position: absolute;
    right: -4px;
    top: 0;
    bottom: 0;
    margin: auto;
}
.guarantee-period-wrap .allow-wrap .allow.allow-after.is-dotto .inner-text span::before {
    transform: rotate(-34deg);
    bottom: -45%;
}
.guarantee-period-wrap .allow-wrap .allow.allow-after.is-dotto .inner-text span::after {
    transform: rotate(36deg);
    top: -45%;
}
.guarantee-period-wrap .allow-wrap .allow .inner-text span {
    z-index: 1;
}
.guarantee-period-wrap .before-after-text {
    color: #005FBE;
    font-weight: bold;
    text-align: right;
    margin: 4rem 5rem 4rem 0;
}
.guarantee-period-wrap .before-after-text span {
    position: relative;
}
.guarantee-period-wrap .before-after-text span::before {
    content: "";
    height: calc(tan(60deg)* 30px / 2);
    width: 60px;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    position: absolute;
    left: -70px;
    top: 0;
    bottom: 0;
    margin: auto;
    background-color: #005FBE;
    z-index: 1;
}

.guarantee-period-wrap .point-sub-text {
    text-align: center;
    margin-top: 1rem;
}

@media screen and (min-width: 769px) {
    .guarantee-type-list-wrap {
        position: relative;
    }
    .guarantee-type-list-wrap .pdf-link.out-link {
        position: absolute;
        bottom: 0;
        right: 0;
    }
    .guarantee-type .guarantee-type-list {
        display: flex;
        flex-wrap: wrap;
    }
    .guarantee-type .guarantee-type-list .type-item {
        width: calc((100% - 12%) / 3);
        margin-right: auto;
    }
}
@media screen and (max-width: 768px) {
    .guarantee-mv {
        margin: 0 0 2em;
    }
    .guarantee-intro .guarantee-content-list li {
        width: calc((100% - 6%) / 3);
        margin-right: 3%;
    }
    .guarantee-intro .guarantee-content-list li:nth-child(3n) {
        margin-right: 0;
    }
    .guarantee-intro .guarantee-content-list li:nth-child(5n) {
        margin-right: 3%;
    }
    .guarantee-type .guarantee-type-list .type-item {
        margin-top: 15px;
    }
    .guarantee-type-list-wrap .pdf-link.out-link {
        margin-top: 1.5em;
    }
    .guarantee-period-wrap .before-after-text span {
        background-color: var(--base-light-gray);
        display: inline-block;
        padding: 6px 0;
    }
    .guarantee-period-wrap .allow-wrap .allow .inner-text::after,
    .guarantee-period-wrap .allow-wrap .allow.allow-before .inner-text::after{
        width: 5vw;
        right: -5vw;
    }
    .guarantee-period-wrap .allow-wrap .allow.allow-after .inner-text::before {
        width: calc(100% - 5vw);
    }
    .guarantee-period-wrap .allow-wrap .allow .inner-text span {
        font-size: 3vw;
    }
    .guarantee-period-wrap .allow-wrap .allow.allow-after.is-dotto .inner-text::before {
        width: calc(100% - 6.1vw);
    }
    .guarantee-period-wrap .allow-wrap .allow.allow-after.is-dotto .inner-text span::before,
    .guarantee-period-wrap .allow-wrap .allow.allow-after.is-dotto .inner-text span::after {
        width: 8vw;
    }
    .guarantee-period-wrap .allow-wrap .allow.allow-after.is-dotto .inner-text span::before {
        transform: rotate(-51deg);
        bottom: -45%;
    }
    .guarantee-period-wrap .allow-wrap .allow.allow-after.is-dotto .inner-text span::after {
        transform: rotate(56deg);
        top: -48%;
    }
}