@charset "utf-8";
/* ===================
header
===================== */
.header__title {
    font-size: 4.0rem;
    line-height: 1.0;
    font-weight: 700;
    background: var(--y-or, linear-gradient(90deg, #E6DC51 30%, #FB9A5A 70%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    }

.pageguide {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding: 0 20%;
}

.pageguide__group {
    display: flex;
    align-items: center;
}

.pageguide__group {
    color: #5E5D5D;
    font-size: 2.0rem;
    font-weight: 500;
    line-height: 1.8;
}

.pageguide p {
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1.8;
}

.pageguide__group img {
    width: 16px;
    height: 32px;
}

.pageguide__group--bk img {
    transform: rotate(180deg);    
    margin-right: 8px;
}

.pageguide__group--nx img {
    margin-left: 8px;
}

/* header-SP */
@media screen and (max-width: 767px){
    .header__title {
        font-size: 3.2rem;
        line-height: 1.2;
    }

    .pageguide__group {
        padding: 0 10px;
    }

    .pageguide p {
        font-size: 1.4rem;
        line-height: 1.8;
    }
}

/* ===================
main
===================== */
.caption {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: flex-end;
    font-size: 2.0rem;
    font-weight: 500;
    line-height: 1.8;
    gap: 20px;
    margin-top: 80px;
    padding-bottom: 20px;
    border-bottom: #5E5D5D 1px solid;
}

.tag {
    color: #FFF;
}

.tag__web {
    font-size: 1.8rem;
    line-height: 1.0;
    text-align: center;
    border-radius: 6px;
    background: var(--y-or, linear-gradient(90deg, #E6DC51 0%, #FB9A5A 100%));
    padding: 8px 10px;
}

.br__sp {
    display: none;
}

.work__wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.work__txtBox {
    font-size: 1.6rem;
    line-height: 1.7;
    max-width: 40%;
}

.txtBox__subT {
    font-weight: 600;
    margin-top: 10px;
}

.linkGroup {
    display: flex;
    align-items: center;
    gap: 8px;
}

.linkGroup img {
 width: 30px;
 height: 30px;
}

h4 {
    font-size: 2.4rem;
    font-weight: 500;
    line-height: 1.0;
    margin-top: 40px;
}

.workDetail_group {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    margin-top: 40px;
}

.workDetail_item {
    max-width: 360px;
    font-size: 1.6rem;
    line-height: 1.5;
    flex: 1 1 30%; /* PC表示時、横に3つ並ぶように幅を調整（値はデザインによります） */
    box-sizing: border-box; /* paddingやborderを幅に含める */
    display: flex; /* liの中身もflexにすると、レイアウト調整がしやすくなります */
    flex-direction: column; /* 中身を縦に並べる */
    margin-top: 20px;
}

.workDetail__title {
    text-align: center;
    font-size: 2.0rem;
    font-weight: 500;
    line-height: 1.3;
    padding-bottom: 8px;
    border-bottom: #5E5D5D 1px solid;
    margin-top: 32px;
}

.workDetail_item img {
    box-shadow: 0 4px 8px rgba(48, 48, 48, 0.1);
}

.workDetail_txt {
    margin-top: 16px;
}

/* main-SP */
@media screen and (max-width: 767px){
    .caption {
        font-size: 1.4rem;
        font-weight: 500;
        gap: 8px;
        margin-top: 24px;
        align-items: center;
    }

    .caption__title {
        margin-top: 0;
        font-size: 1.4rem;
    }

    .tag__web {
        font-size: 1.4rem;
        border-radius: 6px;
        background: var(--y-or, linear-gradient(90deg, #E6DC51 0%, #FB9A5A 100%));
    }

    .work__wrapper {
        display: block;
        justify-content: center;
    }

    .work__txtBox {
        font-size: 1.4rem;
        line-height: 1.7;
        max-width: 100%;
        padding: 0 4.2%;
    }

    .txtBox__subT {
        font-weight: 600;
        margin-top: 16px;
    }

    h3 {
        font-size: 1.8rem;
        margin-top: 40px;
        font-weight: 600;
        text-align: center;
    }

    .workDetail_group {
        flex-direction: column;   /* 要素を縦方向に並べる */
        justify-content: center;  /* 縦方向の中央揃え */
        align-items: center;
        gap: 40px;            /* 要素間のスペースを調整 */
    }

    .workDetail_item {
        max-width: 400px;
        font-size: 1.4rem;
        margin-top: 48px;
    }
    
    .workDetail__title {
        font-size: 1.6rem;
        margin-top: 24px;
    }
}

/* ===================
footer
===================== */
.footer {
    margin: 100px 0 40px 0;
    text-align: center;
    font-size: 1.4rem;
}

.footer__logo {
    margin-right: 20px;
}

.header__topic {
    text-align: center;
    font-size: 1.6rem;
    line-height: 2.0;
}

.copy {
    margin-top: 16px;
}