@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)
----------------------------------------*/

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

.main{
    background-image: none;
}

.img{
    vertical-align: bottom;
}

.contents {
    margin: 0 auto;
    background: #fff;
}

.contents_inner {
    margin: 0;
    
}

.contents p {
    line-height: 1.8em;
    font-size: 1.4em;
    color: #606060;
}

table {
    margin: 0 auto;
}

.contents td {
    line-height: 1.8em;
    font-size: 1.4em;
    color: #606060;
    padding-left: 2%;
}

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

.fv {
    width: 100%;
}

#main-contents {
    width: 100%;
}


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

.loop {
    max-width: 698px;
    position: absolute;
    bottom: 3%;
}

.loop_box {
    display: flex;
    width: 100vw;
}

.loop_box img {
    min-width: 35vw;

}

.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%);
    }
}

.loop:hover .loop_box {
    animation-play-state: paused;
}


.fixed_btn img{
    width: 90%;
    position: fixed;
    bottom: 1%;
    left: 1%;
    z-index: 9999999;

}

a.back_btn {
    display: block;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    width: 40%;
    margin: auto;
    padding: 1.4rem 0;
    font-weight: normal;
    border: 1px solid #a6a6a6;
    color: #a6a6a6;
    border-radius: 100vh;
    transition: 0.5s;
    font-size: 1.2em;
}

a.back_btn:hover {
    color: #fff;
    background: #a6a6a6;
}

.back_btn:hover::after {
    transform: translateY(-50%) scaleX(1.4);
}

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

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

.footer a{
    color: #fff;
}

}
