@charset "UTF-8";

.alternate:nth-child(2n+1) {
   /* 奇数番目のボックスを装飾するCSS */
   background-color: #f4f4f6;
}

.alternate:nth-child(2n) {
   /* 偶数番目のボックスを装飾するCSS */
   background-color: #fff;
}

.itv-zone,
.faq-zone {
    background: #efefef;
}

.fp-contents {
    width: 70vw;
    margin: auto;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: -webkit-box;
    padding: 6vw 0;
}

.fp-box {
    width: 100%;
    position: relative;
}

.fp-text-box {
    float: left;
    width: 50%;
    padding: 1vw 4vw;
    margin: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    -webkit- transform: translateY(-50%);
}

.fp-title {
    margin: 0 0 1em;
    padding: 0;
    font-size: 2.5vw;
    text-align: center;
}

.fp-text {
    max-width: 30rem;
    margin: 0 auto 2em;
    padding: 0;
    line-height: 1.6;
    font-size: 1.5vw;
    text-align: center;
    color: #323232;
}

.fp-photo-box {
    float: right;
    width: 50%;
}

@media only screen and (max-width: 768px) {
    .fp-main-visual {
        margin-bottom: 3rem;
    }
    .fp-contents {
        position: relative;
        padding: 0;
        width: 100%;
    }
    .fp-main-visual__image {
        width: 100%;
        vertical-align: middle;
    }
    .itv-zone,
    .recruit-zone,
    .msg-zone,
    .business-zone,
    .faq-zone {
        background-color: #fff;
    }
    .fp-box {
        width: 100%;
    }
    .fp-photo-box {
        float: inherit;
        width: 100%;
    }
    .fp-text-box {
        float: initial;
        padding: 2vw 5vw;
        background-color: #ffffffb8;
        position: relative;
        bottom: 66px;
        left: 0;
        right: 0;
        width: 75%;
        margin: auto;
        box-shadow: 3px 3px 2px rgba(170, 169, 169, 0.6);
        border: 1px solid #d4d4d4;
        top: unset;
        transform: unset;
    }
    .fp-title {
        margin: 0 0 18px;
        font-size: 6vw;
        font-weight: bold;
        text-align: center;
    }
    .fp-text {
        font-size: 16px;
    }
}
