@charset "utf-8";

/*ヘッダー*/
header {
    position: relative;
    box-shadow: none;
}
.mainmenu {
    margin-top: 40px;
}
.mainmenu a {
    color: #fff;
}
.mainmenu > ul > li::after {
    content: "｜";
    color: #fff;
    padding-left: 20px;
}
.mainmenu > ul > li~li {
     margin-left: 20px;
}

#logo img {
    margin-top: 10px;
    margin-left: 30px;
}
.snstop {
    margin-top: 40px;
}

/*SNSのアイコン調整*/
.snstop #mk-instagram img {
    display: none;
}
.snstop #mk-instagram a {
    display: block;
    background: url("../img/icon_sns_instagram.png") no-repeat center center;
    background-size: 50px;
    width: 50px;
    height: 50px;
}

/*動画*/
#opening {
    position: fixed;
    width: 100%;
    height: 100vh;
    margin: 0 auto;
    padding: 0;
}
#opening .movie {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}
#opening .movie iframe {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}


/*コンテンツ*/
main {
    position: relative;
}
footer {
    position: relative;
}
.contents {
    border-top: 1px #fff solid; /*余白調整用*/
    background-color: #fff;
    margin: 0;
}
.single {
    padding: 0 40px;
}


/*ビジョン*/
#vision {
    text-align: center;
    background-color:rgba(000,000,000,0.8);
    padding: 25px 0;
    margin: 0;
}
#vision h2 {
    color: #fff;
    margin: 0;

    /*24-32*/
    font-size: clamp(1.5rem, 1.4rem + 0.5vw, 2rem);
    font-family: 游明朝,"Yu Mincho",YuMincho,"Hiragino Mincho ProN","Hiragino Mincho Pro",HGS明朝E,メイリオ,Meiryo,serif;
}
#vision h2 br {
    display: none;
}
#vision ul {
    margin: 20px 0 0;
    padding: 0;
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
#vision li {
    width: calc((100% / 2) - 40px);
    max-width: 300px;
    margin: 0 20px;
}
#vision a {
    display: block;
    width: 100%;
    color: #fff;
    border: 1px #fff solid;    
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    background:url("../img/next_w.png") no-repeat right 20px center;
    padding: 15px 40px;
    /*16-20*/
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.25rem);
}
#vision a:hover {
    transition: all .5s;
    background-color:rgba(255,255,255,0.1);
    color:#fff;
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 3px #fff, 0 0 4px #fff, 0 0 70px #fff, 0 0 8px #fff, 0 0 10px #fff, 0 0 15px #fff;
}

/*リード文*/
.read {
    text-align: center;
    margin: 30px 0;
}
.read h2 {
    /*24-38*/
    font-size: clamp(1.5rem, 1.325rem + 0.88vw, 2.375rem);
    font-family: 游明朝,"Yu Mincho",YuMincho,"Hiragino Mincho ProN","Hiragino Mincho Pro",HGS明朝E,メイリオ,Meiryo,serif;
    margin: 0;
}
.read p {
    /*16-18*/
    font-size: clamp(1rem, 0.975rem + 0.13vw, 1.125rem);
}

/*サブ見出し*/
.section-title {
    text-align: center;
    margin-bottom: 30px;
}
.section-title h3 {
    margin: 0;
    /*24-32*/
    font-size: clamp(1.5rem, 1.4rem + 0.5vw, 2rem);
    font-weight: bold;
    color: #000;
}
.section-title h3 span {
    display: inline-block;
    font-size: 70%;
    padding: 0 50px;
    margin-top: 10px;
    border-top: 2px #0555A4 solid;
    /* font-family: "Montserrat", sans-serif; */
    color: #0555A4;
}

/*写真ギャラリー*/
.gallery {
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
}
.gallery li {
    width: calc((100% / 3) - 20px);
    margin: 0 10px 30px;
    /*18-20*/
    font-size: clamp(1.125rem, 1.1rem + 0.13vw, 1.25rem);
    text-align: center;
}
.gallery li img {
    display: block;
    margin-bottom: 20px;
}
.gallery a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
    overflow: hidden;
    /*
    display: flex;
    flex-direction: column;
    */
}
.gallery a img {
    transition-duration: 0.3s;
}
.gallery a:hover img {
    transform: scale(1.1);
    transition-duration: 0.5s;
    opacity: 0.8;
}

/*もっと見る*/
.more {
    text-align: center;
    margin-top: 30px;
}
.more a {
    display: inline-block;
    width: 100%;
    max-width: 300px;
    color: #fff;
    background-color: #000;
    text-decoration: none;
    font-weight: bold;
    border: 2px #000 solid;
    padding: 10px;
    text-align: center;
}


/*-----------------------------*/
/*事業概要*/
/*-----------------------------*/
#service {
    padding: 50px 0;
}
#service .read {
    /* margin: 50px 0; */
}
#service .more {
    /* margin-top: 40px; */
}


/*-----------------------------*/
/*お知らせ・トピックス*/
/*-----------------------------*/
#information {
    padding: 50px 0;
    background: url("../img/backimg01.png") repeat left top;
}
#information .single {
    max-width: 1380px;
}
#information .more {
    /* margin-top: 50px; */
}

.info {
    display: flex;
    flex-wrap: wrap;
    
}
.pieces {
    padding: 40px 20px;
    border-radius: 5px;
    background-color: #fff;
    color: #000;
    /* border: 1px #ddd solid; */
}

.info-ttl {
    /*18-22*/
    font-size: clamp(1.125rem, 1.075rem + 0.25vw, 1.375rem);
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
}
.info-piece {
    line-height: 140%;
}
.info-piece a {
    text-decoration: none;
    color: #000;
}
.info-piece a:hover {
    text-decoration: underline;
}

.info-piece li~li {
    margin-top: 10px;
}

.info-piece > ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.info-piece > ul > li {
    background:url("../img/dot.png") repeat-x left bottom;
    padding: 10px;
}

.info-piece > ul ul {
    margin-top: 10px;
    margin-left: 40px;
    padding-left: 0;
}

/*日付*/
.info-piece .update {
    line-height: 100%;
    color: #000;
    font-size: 14px;
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    background:url("../img/icon_calendar.png") no-repeat left center;
    background-size: 18px;
    padding: 2px 0 2px 26px;
}

#news {
    width: 49%;
    margin-right: 1%;
    
}
#topics {
    flex: 1;
}

/*-----------------------------*/
/*会社概要*/
/*-----------------------------*/
#system {
    padding: 50px 0;
}
#system .read {
    /* margin: 50px 0; */
}
#system .about {
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
}

#system .about li {
    width: calc((100% / 3) - 30px);
    margin: 10px 15px;
    font-weight: bold;

}
#system .about li img {
    width: 100%;
    max-width: 360px;
    display: block;
    margin-bottom: 10px;
    border-radius: 10px;
}

/*-----------------------------*/
/*動画紹介*/
/*-----------------------------*/
#movie {
    padding: 50px 0;
    background: url("../img/backimg01.png") repeat left top;
}
#movie .video {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}
#movie .small {
    margin-top: 10px;
}
#movie .more {
    /*
    margin-top: 10px;
    margin-bottom: 40px;
    */
}

/*スライダー*/
.slider-movie {
    width: 100%;
    margin: 60px auto 30px;
}
.movies {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style-type: none;
    overflow: hidden;
    opacity:0;    
}
.movies li {
    margin: 0 30px;
    padding: 0;
}

.movies .slick-prev,
.movies .slick-next {
    display:none;
}
.movies .slick-prev:before,
.movies .slick-next:before {
    display:none;
}
.movies img {
    display: block;
    margin: 0 auto 20px;
    border-radius: 10px;
    width:100%;
    object-fit: cover;
}




/****************************/
/*レスポンシブ*/
/****************************/
@media screen and (max-width: 1379px) {
    .mainmenu {
        margin-top: 30px;
    }
    .snstop {
        margin-top: 30px;
    }
}

@media screen and (max-width: 1279px) {
    #logo img {
        margin-top: 10px;
        margin-left: 0;
    }
    .mainmenu > ul > li::after {
        padding-left: 10px;
    }
}

@media screen and (max-width: 979px) {
    #logo img {
        margin-top: 0;
    }
    .snstop {
        margin-top: 0px;
         margin-left: 0 !important;
    }
    .mainmenu {
        margin-top: 0;
    }
    .mainmenu a {
        color: #000;
    }
    .mainmenu > ul > li::after {
        content: "";
        color: #fff;
        padding-left: 0;
    }

    /*SNSのアイコン調整*/
    .snstop #mk-instagram img {
        display: block;
    }
    .snstop #mk-instagram a {
        display: inline-block;
        background-image: none;
        width: auto;
        height: auto;
        background-size: auto;
    }
    .read {
        margin: 10px 0 30px;
    }
}

@media screen and (max-width: 779px) {
    .single {
        padding: 0 20px;
    }
    #vision ul {
        justify-content:space-around;
    }
    #vision li {
        width: auto;
        margin: 0 10px;
    }
    #vision a {
        background-position: right 10px center;
        padding: 10px 40px 10px 20px;
    }

    .read p br {
        display: none;
    }
    .info {
        flex-direction: column;
    }
    #news {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }
    #topics {
        flex: 1;
    }

    #system .figure {
        margin-bottom: 10px;
    }
    #system .about li {
        width: calc((100% / 3) - 20px);
        margin: 10px 10px;
    }
}

@media screen and (max-width: 579px) {
    .single {
        padding: 0 10px;
    }

    .gallery li {
        width: calc((100% / 2) - 20px);
        margin: 0 10px 20px;
    }
    .gallery li img {
        margin-bottom: 10px;
    }
    #vision ul {
        flex-direction: column;
    }
    #vision li {
        width: 100%;
        max-width: 300px;
        margin: 0;
    }
    #vision li~li {
        margin-top: 20px;
    }
    .pieces {
        padding: 40px 10px;
    }
}


@media screen and (max-width: 379px) {

    #vision h2 br {
        display: block;
    }
    #system .about {
        flex-direction: column;
        margin-top: 30px;
    }
    #system .about li {
        width: 100%;
        max-width: 240px;
        margin: 0 auto 10px;
    }


    .gallery {
        flex-direction: column;
    }
    .gallery li {
        width: 100%;
        margin: 0 0 10px 0;
        text-align: left;
        line-height: 140%;
        padding: 0 0 10px;
        background: url("../img/dot.png") repeat-x center bottom;
    }
    .gallery li img {
        width: 80px;
        margin-bottom: 0;
        margin-right: 15px;
    }
    .gallery a {
        display: flex;
        flex-wrap: wrap;
    }
    .gallery span {
        background: url("../img/icon_arrow_b.png") no-repeat left 5px;
        background-size: 14px;
        padding: 1px 0 1px 20px;
    }
}

