/* 共通のスタイルシート */

html {
    -ms-touch-action: manipulation;
    touch-action: manipulation;
}

body {
    font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
    margin: 0;
    font-weight: 500;
    min-width: 375px;
}

header {
    height: 62px;
}

header .header-btn {
    font-size: 0.75em;
    width: 65px;
    line-height: 62px;
    text-align: center;
    box-shadow: none;
    color: white;
    font-weight: bold;
    background-color: rgb(0, 0, 0);
}

h1 {
    margin: 15px 0;
    font-size: 1.2em;
}

h2 {
    margin: 0;
    font-size: 1.1em;
}

p {
    margin: 0 0 10px;
    font-size: 0.9em;
}

a {
    text-decoration: none;
}

a:focus {
    outline: none;
}

a:active {
    color: #000000;
}

ul, ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul li, ol li {
    font-size: 0.9em;
}

dl {
    margin: 0;
}

dd {
    margin-left: 10px;
}

img {
    vertical-align: bottom;
    width: 100%;
}

.btn {
    display: block;
    box-shadow: 3px 3px 5px rgba(0,0,0,0.3);
    cursor: pointer;  
    user-select: none;
    -webkit-user-select:none;
    -moz-user-select:none;
    -ms-user-select:none;
}

.toppage-btn {
    font-size: 0.9em;
    width: 25%;
    padding: 15px 5px;
    margin: 15px auto 15px;
    background-color: black;
    color: white;
    text-align: center;
    border-radius: 15px;
    font-weight: bold;
}

header img {
    width: 50%;
    height: 62px;
}

.wrapper {
    width: 90%;
    margin: 0 auto;
}

footer {
    height: 78px;
    background-color: rgb(150, 0, 0);
}

footer p {
    color: white;
    padding: 5px;
    font-size: 0.7em;
}

/* 500px以上の画面サイズの場合 */
@media (min-width: 500px) {
    body {
        width: 500px;
        margin: 0 auto;
    }

    article .overlay {
        width: 500px;
        margin: 0 auto;
    }
}