@charset "utf-8";

/* =============================================
    # reset
============================================= */

html, body, footer, header,
div, section, article, aside, nav,
object, iframe, video, address, img,
h1, h2, h3, h4, h5, h6, p,
small, strong, b, i, span,
dl, dt, dd, ol, ul, li,
table, tr, th, td, form, label {
    font-size: 100%;
    vertical-align: baseline;
    border: 0;
    outline: 0;
    background: transparent;
    margin: 0;
    padding: 0;
}

body {
    line-height: 1;
}

footer, header, div, section, article, aside, nav {
    display: block;
}

a {
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    margin: 0;
    padding: 0;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

input, select, textarea, img, th, td {
    vertical-align: middle;
}

ul, dl, ol {
    list-style: none;
}

/* =============================================
    # 共通設定
============================================= */

* {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
    -webkit-appearance: none;
            appearance: none;
    -webkit-text-size-adjust: 100%;
            text-size-adjust: none;
}

html,
body {
    width: 100%;
    height: 100%;
}

body {
    font-family: Meiryo, sans-serif;
    line-height: 1.8;
}

@media (width < 840px) {

}

@media (width < 480px) {

}

h1, h2, h3, h4, h5, h6, strong, th {
    font-weight: 600;
}

a {
    color: #05d;
    text-decoration: none;
    transition: .3s;
}

a:hover {
    text-decoration: underline;
}

a:hover img {
    opacity: .6;
}

img, video, object {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
    border: none;
    transition: .3s;
}

table {
    table-layout:fixed;
}

table th,
table td {
    vertical-align: middle;
}


main {
    width: 100%;
    height: 100%;
    background: url(images/dot.svg);
    background-size: 2px;
    position: relative;
}

main img {
    display: block;
    width: 300px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media (width < 480px) {

main img {
    width: 75%;
}

}

#video-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 102%;
    height: 100vh;
    z-index: -1;
}

#video-wrap video {
    width: 100%;
    height: 100vh;
    -o-object-fit: cover;
     object-fit: cover;
    -o-object-position: center;
     object-position: center;
}
