/* タイトル部分 */
.hero.hero--big {
    padding-left: 0;
}

.hero__title {
    font-size: 30px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero__title span {
    font-size: 16px;
    letter-spacing: 0;
    line-height: 16px;
}

.hero__subhead {
    font-size: 16px;
    line-height: 20px;
    font-weight: bold;
    letter-spacing: 0;
    color: #FFCC21;
}
.hero__subhead span {
    display: inline-block;
}

.hero__subhead span:first-child::after {
    content: '';
    display: inline-block;
    width: 1px;
    height: 16px;
    background-color: #FFCC21;
    vertical-align: middle;
    margin: 0 6px;
}
/* タイトル部分 */

@media (max-width: 767px) {
    /* タイトル部分 */
    .hero__title {
        font-size: 18px;
        letter-spacing: -0.057em;
        gap: 5.5px;
        white-space: nowrap;
    }

    .hero__title span {
        font-size: 14px;
        line-height: 1;
    }

    .hero__subhead {
    }
    .hero__subhead span {
    }

    .hero__subhead span:first-child::after {
    }
    /* タイトル部分 */
}

.design {
    padding: 80px 0;
    position: relative;
    z-index: 1;
    margin-bottom: 126px;
}

.design::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 66%;
    height: 100%;
    background-color: #FDFBF7;
    z-index: -1;
}

.design-container {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.design-item {
    display: flex;
    justify-content: end;
    gap: 64px;
}

.design-container .design-item:nth-child(even) {
    flex-direction: row-reverse;
    justify-content: start;
}



.design-item__content {
    width: 406px;
}

.design-item__title {
    width: fit-content;
    padding: 18px 24px;
    background-color: #d1666e;
    background-image: repeating-linear-gradient(135deg,transparent,transparent 5px,#cc545d 0,#cc545d 12px);
    color: #fff;
    font-size: 30px;
    letter-spacing: 0;
    line-height: 1;
    border-radius: 8px;
}

.design-item__title.first-child {
    border-radius: 8px 8px 0 0;
    padding-bottom: 9px;
}

.design-item__title.last-child {
    border-radius: 0 8px 8px 8px;
    padding-top: 9px;
}


.design-item__title span {
    font-size: 36px;
}

.design-item__text {
    font-size: 16px;
    letter-spacing: 0;
    line-height: 1.8;
    font-weight: 300;
    color: #333;
    margin-top: 40px;
}

.design-item__image {
    width: 880px;
    height: 500px;
}


.design-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px 0 0 8px;
}

.design-container .design-item:nth-child(even) .design-item__image img {
    border-radius: 0 8px 8px 0;
}

@media (max-width: 767px) {
    .page-lead .ch-about-image-1 {
        left: calc(50% - 675px);
        bottom: 180px;
    }
    
    .design {
        padding: 68px 0;
        margin-bottom: 68px;
    }
    
    .design::before {
        width: 100%;
    }
    
    .design-container {
        gap: 102px;
    }
    
    .design-item {
        flex-direction: column-reverse;
        justify-content: start;
        gap: 24px;
    }
    
    .design-container .design-item:nth-child(even) {
        flex-direction: column-reverse;
    }
    
    
    
    .design-item__content {
        width: 100%;
        padding: 0 20px;
        position: relative;
    }
    
    .design-item__title {
        width: 230px;
        padding: 18px 14px;
        font-size: 22px;
        position: absolute;
        top: -265px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .design-item__title.first-child {
        padding-bottom: 0;
        top: -305px;
        text-align: center;
        width: 176px;
        z-index: 2;
    }
    
    .design-item__title.last-child {
        padding-top: 15px;
        top: -260px;
        border-radius: 8px;
        z-index: 1;
    }
    
    
    .design-item__title span {
        font-size: 28px;
    }
    
    .design-item__text {
        font-size: 15px;
        line-height: 27px;
        margin-top: 0;
    }
    
    .design-item__image {
        width: 100%;
        height: 210px;
    }
    
    
    .design-item__image img {
        border-radius: 0;
    }
    
    .design-container .design-item:nth-child(even) .design-item__image img {
        border-radius: 0;
    }
}