@charset "utf-8";

/* fstView
------------------------------------------*/
.fstView {
    width: 100%;
    height: calc(100vh - 100px);
    min-height: 640px;
    position: relative;
    background: #ffffff;
    box-sizing: border-box;
}
.fstView-keyvisual {
    position: absolute;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    overflow-wrap: break-word;
}
.fstView-keyvisual img {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: -2;
    margin: 0 auto;
    width: auto;
    height: auto;
    min-width: 100vw;
    min-height: 100%;
    object-fit: cover;
}
.fstView-keyvisual.FV-Mask:before{
    content: "";
    display: block;
    width:100%;
    height:100%;
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left:0;
    z-index: -1;
    background-color: rgba(0, 0, 0, 0.0);
    background-image: url("./images/pattern.png");
    background-position: center center;
    background-repeat: repeat;
}
.FV-FlexBox{
    width: 100%;
    height: 100%;
    padding: 80px 90px;
    box-sizing: border-box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-flow: column wrap;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
}
.fstView h1,
.fstView h2,
.fstView h3{
    color: #ffffff;
    font-weight: 500;
    text-shadow: 0 0 5px #000000;
    font-feature-settings : "palt";
}
.fstView h1{
    font-size: 53px;font-size: 5.3rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.06em;
    margin: 0 0 0.5em;
    order: 4;
}
.fstView h1 span{
    letter-spacing: 0em;
}
.fstView h2{
    font-size: 20px;font-size: 2.0rem;
    line-height: 1.25;
    letter-spacing: 0.03em;
    margin: auto 0 0;
    order: 3;
}
.fstView h2 span{
    font-size: 28px;font-size: 2.8rem;
}
.fstView h3{
    font-size: 24px;font-size: 2.4rem;
    font-weight: 700;
    order: 2;
}
.fstView p.area-des {
    font-size: 24px;font-size: 2.4rem;
    margin: 0;
    order: 1;
}
.fstView p.area-des strong {
    padding: 0.3em 1em;
    background: #151515;
    color:#ffffff;
    font-weight: 500;
}
.fstView .btn {
    line-height: 1.5;
    margin-top: 30px;
    margin-left: 0;
    order: 5;
}
.fstView .btn a {
    font-size: 30px;font-size: 3.0rem;
    width: auto;
    min-width: 80%;
    display: block;
    padding: 0.5em 3em;
    box-sizing: border-box;
    color: #003057;
    color: #000000;
    font-weight: 500;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1) 0s;
    text-decoration: none;
}
.fstView .btn a:hover {
    color: #ffffff;
    background: #003057;
    background: #000000;
}
.fstView .btn a em{
    font-size: 24px;font-size: 2.4rem;
    font-style: normal;
}



.spOnly{
    display: none;
}
.pcOnly{
    display: inline;
}



@media screen and (max-width: 1280px) {
    .FV-FlexBox {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media screen and ( max-width : 959px ) {
    .fstView {
        height: auto;
        min-height: auto;
    }
    .fstView-keyvisual {
        position: static;
        width: auto;
        height: auto;
    }
    .fstView-keyvisual img {
        position: static;
        width: 100%;
        height: auto;
        min-height: auto;
        -webkit-transform: translate(0%, 0%);
        transform: translate(0%, 0%);
        z-index: 0;
    }
    .FV-FlexBox {
        display: block;
        text-align: center;
        height: auto;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .fstView h1,
    .fstView h2,
    .fstView h3,
    .fstView h4,
    .fstView p.area-des {
        margin: 0 0 20px;
        padding: 0;
        color: #292929;
        text-shadow:none;
    }
    .fstView p.area-des {font-size: 18px;font-size: 1.8rem;}
    .fstView p.area-des strong {
        background: none;
        border: 2px solid #000;
        color: #000000;
        display: block;
    }
    .fstView .btn a{
        font-size: 24px;font-size: 2.4rem;
        color: #ffffff;
        background: #003057;
    }
}

@media screen and ( max-width : 599px ) {
    .FV-FlexBox {
        padding-left: 20px;
        padding-right: 20px;
    }
    .fstView h1{font-size: 21px;font-size: 2.1rem;}
    .fstView h2{font-size: 24px;font-size: 2.4rem;margin-bottom: 0px;}
    .fstView h2 span{font-size: 18px;font-size: 1.8rem;}
    .fstView h3{font-size: 16px;font-size: 1.6rem;}
    .fstView p.area-des {font-size: 14px;font-size: 1.4rem;margin-top: 10px;}
    .fstView p.area-des strong {
        border: 1px solid #000;
    }
    .fstView .btn a{
        font-size: 16px;font-size: 1.6rem;
    }
    .fstView .btn a span{
        font-size: 14px;font-size: 1.4rem;
    }
    .fstView .btn a em{
        font-size: 14px;font-size: 1.4rem;
    }
    
    .spOnly {
        display: inline;
    }
    .pcOnly{
        display: none;
    }
}
