@charset "UTF-8";

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

/* CSS Document */

/*----------------------------------------
SP用レイアウト(768px以下のスクリーン)
----------------------------------------*/

/* body全体の初期スタイル調整 */

body {
    width: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/*----------------------------------------
見出しタグ設定(PC)
----------------------------------------*/

h2{
    margin: 0.5em 0;
    font-size: 1.6em;
    font-weight: bold;
    text-align: center;
}

h3{
    margin: 1.6em 0;
    padding: 0.3em 0.6em;
    font-size: 1.4em;
    font-weight: bold;
    border-left: 8px solid #10559a;
    border-bottom: 1px dotted #10559a;
}

h4{
    margin: 0.5em 0;
    padding: 0.1em;
    font-size: 1.2em;
    font-weight: bold;
    border: 1px solid #000;
}

h5{
    margin: 0.5em 0;
    padding: 0.1em;
    font-size: 1em;
    font-weight: bold;
    border-bottom: 1px solid #000;
}


/*----------------------------------------
全体レイアウト/背景設定(PC)
----------------------------------------*/

/* 全体エリア(全体背景を設定するにはここ) */

.main{
    background-image: none;
}

.img{
    vertical-align: bottom;
}

/*----------------------------------------
ファーストビュー設定
----------------------------------------*/

.fv {
    width: 100%;
}

#main-contents {
    width: 100%;
}




/*----------------------------------------
SNS口コミ
----------------------------------------*/

.sns_voice{
    position: relative;
}

/*----------------------------------------
無限ループスライダー
----------------------------------------*/

.loop {
    max-width: 700px;
    margin: 0 auto;
    position: absolute;
    bottom: 42.5%;
}

.loop_box {
    display: flex;
    width: 30%;
}

.loop_box img {
    min-width: 390vw;
}

.loop_box img:first-child {
    animation: loop 100s -50s linear infinite;
}

.loop_box img:last-child {
    animation: loop2 100s linear infinite;
}

@keyframes loop {
    0% {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }
}

@keyframes loop2 {
    0% {
        transform: translateX(0);
    }

    to {
        transform: translateX(-200%);
    }
}

/*----------------------------------------
フッター部分
----------------------------------------*/

.footer{
    background-color: #81ad17;
    padding: 2em 0em;
    text-align: center;
    font-size: 1.2em;
    color: #fff;
}

.footer a{
    color: #fff;
}

}
