/* =========================================================
   ファーストビュー（parts/fv.php）
   クラス名はすべて ktfv で始め、既存のスタイルと重ならないようにしている。
   背景は .ktfv に画面幅いっぱいの1枚画像として敷き、文字・キャラクターは
   PC最大1889px、SP最大1207pxの枠（.ktfv__in）に置いて中央に寄せる。
   ========================================================= */
.ktfv {
    position: relative;
    overflow: hidden;
    /* 街並みが見出しの後ろに来るよう、高さの140%に拡大して右下に合わせる（左右・上ははみ出し分を切る） */
    background: #3aa6f0 url("../img/fv/fv-bg-pc.webp") right bottom/auto 140% no-repeat;
}

.ktfv--sp {
    background-image: url("../img/fv/fv-bg-sp.webp");
    background-position: center bottom;
    background-size: cover
}

.ktfv__in {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.ktfv--pc .ktfv__in {
    max-width: 1889px;
    aspect-ratio: 1889/833
}

.ktfv--sp .ktfv__in {
    max-width: 1207px;
    aspect-ratio: 1207/1303
}

/* 文字（SVG）。1文字ずつ位置を指定しているので、サイト側の字間・約物詰めの設定を打ち消す */
.ktfv__svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    font-family: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
    font-feature-settings: normal;
    font-kerning: none;
    letter-spacing: 0;
    overflow: visible;
    pointer-events: none;
}

/* キャラクター（猫と不用品）。見出しより手前、白いパネルより奥に重ねる。位置は元画像のピクセル位置を％にしたもの */
.ktfv__chara {
    position: absolute;
    height: auto;
    max-width: none;
    transform-origin: 0 0
}

.ktfv--pc .ktfv__chara {
    left: 56.6437%;
    top: 13.3958%;
    width: 43.0386%
}

.ktfv--sp .ktfv__chara {
    left: 46.5617%;
    top: 31.6193%;
    width: 52.9412%
}

.ktfv--sp {
    display: none
}

@media (max-width:768px) {
    .ktfv--pc {
        display: none
    }

    .ktfv--sp {
        display: block
    }
}