@charset "utf-8"; 
.main_photo-head {
    position: relative;
    background-image: url(../images/yamato/mv.jpg);
    color: #fff;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%!important;
}
.main_sub_head {
    color: #000;
}
.cont_text {
    font-size: 1rem;
}






/* ===================================================================================
 for PC min-width: 741px
 =================================================================================== */
@media screen and (min-width: 741px) {
    _:-ms-fullscreen, :root .main_photo-head {
        padding-top: 140px!important;
        box-sizing: border-box;
    }
    _:-ms-fullscreen, :root .yamato_sns {
        top: 80px!important;
    }
    .main_photo-head {
        padding-top: 90px;
        height: calc(100vh - 20px);
        box-sizing: border-box;
        min-width: 100%!important;
    }
    .about_text {
        font-size: 1.1rem;
        padding-bottom: 80px;
        line-height: 2;
    }
    .about1 {
        background-image: url(../images/about/about1.png);
    }

    .about2 {
        background-image: url(../images/about/about2.png);
    }
    .main_photo-head-text {
        font-family: 'Pacifico', cursive;
        letter-spacing: normal;
        text-align: center;
        color: #000;
        font-size: 4rem;
        width: 443px;
        margin: 0 auto;
    }
    .main_photo-head-text img {
        width: 250px;
    }
    .main_photo-head-text span {
        font-family: 'Bitter', serif;
        letter-spacing: 0.2em;
        margin-top: 30px;
        font-size: 1.6rem;
        color: #000;
    }
    .yamato_sns {
        position: absolute;
        right: 60px;
        top: 40px;
    }
    .sns_blk {
        display: flex;
        justify-content: space-between;
        width: 120px;
        background: #000;
        padding: 8px;
    }
    .sns_blk img {
        width: 90%;
    }
    .yamato_sns .sns_txt {
        color: #000;
    }
}


/* ===================================================================================
 for SP max-width: 740px
 =================================================================================== */
 @media screen and (max-width: 740px) {
     _:-ms-fullscreen, :root .main_photo-head {
         padding-top: 140px!important;
         box-sizing: border-box;
     }
     .main_photo-head {
         padding-top: 60px;
         height: calc(100vh - 20px);
         box-sizing: border-box;
     }
     .about_text {
        padding-bottom: 40px;
    }
    .main_photo-head:after {
        content: '';
        height: 100%;
        width: 100%;
        position: absolute;
        background-color: rgba(0, 0, 0, 0);
        top: 0;
        left: 0;
    }
     .main_photo-head-text {
         font-family: 'Pacifico', cursive;
         letter-spacing: normal;
         text-align: center;
         color: #000;
         font-size: 3rem;
         margin: 0 auto;
     }
     .main_photo-head-text img {
         width: 180px;
     }
     .main_photo-head-text span {
         font-family: 'Bitter', serif;
         letter-spacing: 0.2em;
         margin-top: 30px;
         font-size: 1.2rem;
     }
     .yamato_sns {
         position: absolute;
         left: 50%;
         bottom: 40px;
         -webkit-transform: translateX(-50%);
         -ms-transform: translateX(-50%);
         transform: translateX(-50%);
     }
     .sns_blk {
         display: flex;
         justify-content: space-between;
         width: 120px;
         background: #000;
         padding: 8px;
     }
     .sns_blk img {
         width: 90%;
     }
     .yamato_sns .sns_txt {
         color: #000;
     }
     .before::after {
         content: '';
         position: absolute;
         top: 50%;
         -webkit-transform: translateY(-50%);
         -ms-transform: translateY(-50%);
         transform: translateY(-50%);
         right: -30px;
         border-top: 20px solid transparent;
         border-bottom: 20px solid transparent;
         border-left: 20px solid #4A89C9;
     }
}
