/* ファーストビューのスタイル
 * ページによって利用する画像が異なるためクラスによって切り替える
 * ページによって利用するカラー異なるためクラスによって切り替える
---------------------------------------------------------------*/

/* カラー切替え */
.fv-font--orange {
    color: #EB8E22;
}

/* 画像切替 */
.fv__image--area-yonago {
    background-image: url('/img/area/fv-yonago.png');
}

.fv__image--area-hiezu {
    background-image: url('/img/area/fv-hiezu.png');
}

.fv__image--area-sakaiminato {
    background-image: url('/img/area/fv-sakaiminato.png');
}

.fv__image--area-tottori {
    background-image: url('/img/area/fv-tottori.png');
}

.fv__image--area-kurayoshi {
    background-image: url('/img/area/fv-kurayoshi.png');
}

.fv__image--area-iwami {
    background-image: url('/img/area/fv-iwami.png');
}

.fv__image--area-yazu {
    background-image: url('/img/area/fv-yazu.png');
}

.fv__image--area-matsute {
    background-image: url('/img/area/fv-matsue.png');
}

.fv__image--area-izumo {
    background-image: url('/img/area/fv-izumo.png');
}

.fv {
    position: relative;
    width: 100%;
    aspect-ratio: 1600 / 595;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media screen and (max-width: 1024px) {
    .fv {
        aspect-ratio: 390 / 355;
        max-height: 60vh;
    }
}

.fv__inner {
    padding-right: 32px;
    padding-left: 32px;
    padding-top: 96px;
}

@media screen and (max-width: 1024px) {
    .fv__inner {
        padding-top: 26.7px;
    }
}

.fv__head {
    position: absolute;
    background-color: #fff;
    min-width: 640px;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    padding-top: 31.5px;
    padding-bottom: 69.5px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media screen and (max-width: 1024px) {
    .fv__head {
        min-width: 327px;
        padding-top: 30px;
        padding-bottom: 0;
    }

}

.fv__title {
    font-size: 40px;
    font-weight: bold;
    letter-spacing: 2px;
    line-height: calc(60 / 40);
}

@media screen and (max-width: 1024px) {
    .fv__title {
        font-size: 24px;
        letter-spacing: 2.4px;
        line-height: calc(60 / 24);
    }
}

.fv__sub-title {
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
    letter-spacing: .8px;
    line-height: calc(45 / 16);
    font-weight: bold;
}

.fv__text {
    text-align: center;
    font-weight: bold;
    font-size: 24px;
    letter-spacing: 2.4px;
    line-height: 2;
    margin-top: 103px;
    padding-right: 32px;
    padding-left: 32px;
}

@media screen and (max-width: 1024px) {
    .fv__text {
        font-size: 16px;
        letter-spacing: 1.6px;
        line-height: 2;
        margin-top: 82px;
        text-align: left;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}