@charset "utf-8";


/* vision */
main .bc-1{
    background: url(../images/back_150x150.png)center center repeat;
    padding: 35px 0;
    background-size: 3%;
}
main .bc-1-1{
    background: url(../images/back2-150x150.png)center center repeat;
    background-size: 100px 100px;
}

main .ma-1{
    background-color: #3D4257;
    max-width: 700px;
    height: auto;
    margin: 0 auto;
    padding: 20px;
}

h2{
    text-align: center;
    font-size: 64px;
    padding: 20px 0;
    font-family: "Limelight", serif;
    font-weight: 400;
    font-style: normal;
    z-index: 10;
}

/* h2のボーダーライン */
.border-r{
    border-bottom: 7px solid #68222D;
    margin-left: 20%;
    border-radius: 3px 0 0 3px;
    /* width: 0;
    transition: width 1s ease-out; */
}

.border-l{
    border-bottom: 7px solid #68222D;
    margin-right: 20%;
    border-radius: 0 3px 3px 0;
    /* width: 0;
    transition: width 1s ease-out; */
}
/* スクロールで表示される時のエフェクト */
/* .border-r .show, .border-l .show {
    width: 100%;
} */




main .ma-1 .text-01{
    text-align: center;
    font-size: 64px;
    font-weight: bold;
    padding-bottom: 20px;
    color: #fff;
    font-family: "Hiragino Mincho ProN","ヒラギノ明朝 ProN",serif;
    line-height: 1.3;
    text-shadow: 2px 5px 3px rgba(0, 0, 0, 0.5);
}

main .ma-1 .text-02{
    padding: 30px;
    line-height: 2;
    letter-spacing: 0.1em;
}

main .ma-1 .btn-01{
    text-align: center;
    width: 300px;
    line-height: 45px;
    margin: 0 auto;
}

main .btn-01 a{
    display: block;
    width: 100%;
    height: 100%;
    color: #fff;
    background-color: #68222D;
    border-radius: 22.5px;
    transition: opacity 0.3s,letter-spacing 0.3s;
}

main .btn-01 a:hover{
    opacity: 0.7;
    letter-spacing: 0.3em;
}

main .btn-01 a span{
    padding-left: 20px;
}



/* servics */
main .bc-2{
    background-color: #2A2C3B;
    padding: 20px 0;
}

main .text-03{
    text-align: center;
    padding: 30px;
    line-height: 2;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

main .sec-00{
    /* justify-content: space-between; */
/* ↓？ */
    align-items: stretch;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 0 auto;
}

main .sec-01,main .sec-02,main .sec-03,main  .sec-04{
    width: 350px;
    height: auto;
    color: #333;
    padding-top: 300px;
    margin-bottom: 50px;
}

main h3{
    padding: 20px 5px;
    line-height: 1.3;
    letter-spacing: 0.1em;
    height: 90px;
    /* background-color: #fff; */
}

main .sec-01 p,.sec-02 p, .sec-03 p, .sec-04 p{
    padding: 0 20px 20px;
    text-align: justify;
    line-height: 1.5;
    letter-spacing: 0.1em;
    /* background-color: #fff;
    border-radius: 0 0 20px 20px; */
}

main .sec-01{
    background: url(../images/ser_02_350x300.jpg)center top no-repeat;
    background-color: #fff;
    border-radius: 20px;
}

main .sec-02{
    background: url(../images/ser_05_350x300.png)center top no-repeat;
    background-color: #fff;
    border-radius: 20px;
}

main .sec-03{
    background: url(../images/ser_03_350x300.jpg)center top no-repeat;
    background-color: #fff;
    border-radius: 20px;
}

main .sec-04{
    background: url(../images/ser_01_350x300.jpg)center top no-repeat;
    background-color: #fff;
    border-radius: 20px;
}



/* works */
main .bc-3{
    background-color: #3D4257;
    padding: 20px 0;
}

main .bc-3 .flex{
    flex-wrap: wrap;
    gap: 40px;
    padding: 50px 0 50px;
    justify-content: center;
}

main .ma-3-waku{
    max-width: 480px;
    height: auto;
    text-align: center;
    /* border:1px solid #68222D; */
}

main .ma-3-waku a{
    display: block;
    color: #fff;
}

main .ma-3-waku p{
    padding-top: 10px;
    font-size: 20px;
}

main .ma-3-waku .flex{
    flex-wrap: wrap;
    gap: 15px;
    margin: -25px 0;
}

main .ma-3-waku .flex p{
    border: 1px solid #fff;
    padding: 10px;
    font-size: 16px;
}

.wo-01 a:hover,.wo-02 a:hover,.wo-03 a:hover,.wo-04 a:hover,iframe:hover{
	animation-name:rotateYAnime;
	animation-duration:1s;
	animation-fill-mode:forwards;
}

@keyframes rotateYAnime{
	from{
		transform: rotateY(0);
		}
	to{
		transform: rotateY(-360deg);
		}
}


/* レスポンシブ対応 */
/* 1300px以下 */
@media screen and (max-width:1300px){

    main .sec-01,main .sec-02,main .sec-03,main .sec-04{
        width: 350px;
        /* height: auto;
        background-size: 300px 250px; */
    }

    main h3{
        padding-top: 0;
    }

}


/* 1000px以下 */
@media screen and (max-width:1000px){

    main .ma-2 .flex{
        /* flex-direction: column; */
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }

    main .sec-01,main .sec-02,main .sec-03,main .sec-04{
        max-width: 350px;
        height: auto;
        background-size: 350px 300px;
    }

    main h3{
        padding-top: 10px;
    }
}


/* 768px以下 */
@media screen and (max-width:768px){

   /* .ma-2 .wrap .flex{
    flex-direction: column;
    justify-content: center;
   }  */

   main section .sec-00{
    text-align: center;
    margin: 15px auto;
}

}



/* 500px以下 */
@media screen and (max-width:500px){

    main .bc-1{
        margin-top: 70px;
        background: none;
    }



}


