/* ------------------------------------------------------------------------
reset
------------------------------------------------------------------------ */
*,
::after,
::before {
    box-sizing: border-box;
    box-sizing: border-box;
}

html,
body,
header,
footer,
main,
div,
h1,
p,
dl,
dt,
dd,
ul,
li {
    padding: 0;
    margin: 0;
}
header,
footer,
main {
    display: block;
}
ul,
li {
    list-style: none;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI",
        "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "Meiryo UI", Meiryo,
        sans-serif;
    font-size: 12px;
    line-height: 1;
    color: #fff;
    text-align: center;
}

img {
    vertical-align: bottom;
    border: 0;
    outline: none;
}

a {
    color: inherit;
    text-decoration: underline;
}
a:hover {
    text-decoration: none;
}

/* ------------------------------------------------------------------------
common
------------------------------------------------------------------------ */
body {
    background: #1368b7;
}

.bg_body {
    background-image: url("../img/bg_ptrn.gif"), url("../img/bg.png");
    background-repeat: repeat-y, no-repeat;
    background-position: center top, center top;
}

#wrapper {
    width: 930px;
    margin: 0 auto;
}

header {
    position: relative;
    display: box;
    display: flexbox;
    display: flex;
    align-items: center;
    height: 52px;
    padding: 0 20px;
    -webkit-box-align: center;
    -ms-flex-align: center;
}

header::before,
header::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: "";
}

header::before {
    bottom: 2px;
    background: repeating-linear-gradient(
        135deg,
        transparent,
        transparent 1px,
        #717171 1px,
        #717171 2px
    );
}

header::after {
    background: -webkit-gradient(
        linear,
        left top,
        left bottom,
        from(rgb(50 50 50 / 100%)),
        color-stop(5%, rgb(56 56 56 / 100%)),
        color-stop(20%, rgb(38 38 38 / 100%)),
        color-stop(50%, rgb(61 61 61 / 100%)),
        to(rgb(100 100 100 / 80%))
    );
    background: linear-gradient(
        to bottom,
        rgb(50 50 50 / 100%) 0%,
        rgb(56 56 56 / 100%) 5%,
        rgb(38 38 38 / 100%) 20%,
        rgb(61 61 61 / 100%) 50%,
        rgb(100 100 100 / 80%) 100%
    );
}

header a {
    z-index: 1;
    margin: 5px 0 0;
}

footer dl {
    display: box;
    display: flexbox;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 84px;
    font-size: 14px;
    background: url("../img/bg_link.jpg") repeat-x center / contain;
    border-top: 1px solid #969696;
    border-bottom: 1px solid #969696;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
}

footer dt {
    margin: 0 30px 0 0;
    font-weight: bold;
}

footer ul {
    display: box;
    display: flexbox;
    display: flex;
}

footer li::after {
    margin: 0 14px;
    content: "｜";
}

footer li:last-child::after {
    margin: 0;
    content: none;
}

footer .copyright {
    padding: 20px;
    line-height: 1.6;
    background: #000
        repeating-linear-gradient(
            135deg,
            transparent,
            transparent 3px,
            #323232 3px,
            #323232 4px
        );
    box-shadow: 0 5px 5px -2px #000 inset;
    box-shadow: 0 5px 5px -2px #000 inset;
}
