div.cardHolder {
    /* width: calc(100vw - var(--headerWidth)); */
    position: absolute;
    right: 0;
    top: 0;
    width: var(--mainWidth);
    /* width: 100%; */
    background-color: aquamarine;
    margin-bottom: var(--footerHeight);
}

div.projectCard {
    scroll-snap-align: start;
    height: calc(var(--mainHeight) / 2);
    position: relative;
    background-color: antiquewhite;
    background: linear-gradient(-60deg, rgba(241, 54, 69, .5), rgba(59, 74, 139, .5));
    ;
    background-size: cover;
    background-position: center center;
    padding: 1rem;
}

h2.projectTitle {
    font-weight: 400;
    position: absolute;
    top: 1rem;
    height: calc(100% - 2rem);
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    -ms-text-combine-horizontal: digits 2;
    -ms-text-combine-horizontal: digits 2;
    font-size: 4.0rem;
    line-height: 6rem;
    text-align: justify;
    -moz-text-align-last: justify;
    text-align-last: justify;
    text-justify: inter-ideograph;
    filter: drop-shadow(0 0 .25rem rgba(255, 255, 255, 0.5));
}

div.projectCard:nth-child(even) h2.projectTitle {
    right: 1rem;
}

div.projectCard:nth-child(odd) h2.projectTitle {
    left: -0.5rem;
}

h3.projectSubTitle {
    position: absolute;
    bottom: 0.5rem;
    font-weight: 400;
    font-size: 2.5rem;
    max-width: 50%;
    filter: drop-shadow(0 0 .25rem rgba(255, 255, 255, 0.5));
}

div.projectCard:nth-child(even) h3.projectSubTitle {
    left: 1rem;
    right: auto;
    text-align: left;
}

div.projectCard:nth-child(odd) h3.projectSubTitle {
    left: auto;
    right: 1rem;
    text-align: right;
}

@media screen and (max-width: 850px) {
    div.cardHolder {
        width: 100%;
    }
    div.projectCard {
        padding: 0;
        width: 100%;
        min-height: calc( 100vh - 2rem);
    }
    h2.projectTitle {
        font-size: 3rem;
        line-height: 4.5rem;
    }
    h3.projectSubTitle {
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 480px) {
    /* 携帯縦 */
    div.projectCard {
        min-height: unset;
        height: 50vh;
    }
    h2.projectTitle {
        font-size: 2.0rem;
        line-height: 3.0rem;
    }
    h3.projectSubTitle {
        font-size: 1.5rem;
    }
}