@charset "utf-8";
/* スマホ横向きCSS */
@media screen and (min-width:1px) and (max-width:768px) {
	/* iOSでのデフォルトスタイルをリセット */
	input[type="submit"],
	input[type="button"] {
		border-radius: 0;
		-webkit-box-sizing: content-box;
		-webkit-appearance: button;
		appearance: button;
		border: none;
		box-sizing: border-box;
		cursor: pointer;
	}
	input[type="submit"]::-webkit-search-decoration,
	input[type="button"]::-webkit-search-decoration {
		display: none;
	}
	input[type="submit"]:focus,
	input[type="button"]:focus {
		outline-offset: -2px;
	}
}

/* ##########SP########## */
@media screen and (min-width:1px) and (max-width:479px) {
	html{
		font-size: 3.6vw;
	}
	
	body {
		min-width:initial;
		min-width:auto;
		overflow-y: scroll;
	}
	
	#container{
		min-width:initial;
		min-width:auto;
	}

    .contents{
        width: auto;
        padding: 0 2rem 2rem 2rem;
    }
	



    /*ページトップ*/
    .pagetop{
        width:14vw;
        height:14vw;
        bottom:14vw;
        right:4vw;
    }

        .pagetop a:before{
            width: 3vw;
            height: 3vw;
        }

    /*改行のPC,SPでの表示切替*/
    br.pc,
    img.pc,
    span.pc{
        display:none;
    }

    br.sp,
    img.sp,
    span.sp{
        display:inline;
    }

}