@charset "UTF-8";

/* リセット */
* {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    background: transparent;
}

body {
    margin: 0;
}

main {
    margin: 1rem;
}


/* フォント指定 */
body {
    font-family: "游ゴシック Medium", YuGothic, YuGothicM, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, sans-serif;
}

html {
    line-height: 1;
}


header {
    text-align: center;
    color: #ffffff;
    background-color: #3c6;
    margin: 0 0 1rem 0;
    padding: 0.5rem;
}

footer {
    text-align: center;
    color: #ffffff;
    background-color: #3c6;
    margin: 1rem 0 0 0;
    padding: 0.5rem;
}

em {
    font-weight: bold;
}

strong {
    font-weight: bold;
    color: #FF0000;
}


/* ボタン装飾 */
button, input[type="submit"] {
    display: inline-block;
    font-size: 100%;
    padding: 0.3rem 1rem;
    border-radius: 0.7rem;
    border-width: 0;
    text-decoration: none;
    color: #FFF;
    background-image: -webkit-linear-gradient(45deg, #3c6 0%, #3c6 100%);
    background-image: linear-gradient(45deg, #3c6 0%, #3c6 100%);
    cursor: pointer;
    height: 2rem;
    margin: 0.5rem;
}

button:hover, input[type="submit"]:hover {
    background-image: -webkit-linear-gradient(45deg, #2b5 0%, #2b5 100%);
    background-image: linear-gradient(45deg, #2b5 0%, #2b5 100%);
}

button:disabled, input[type="submit"]:disabled {
    color: #999999;
    cursor: not-allowed;
    background-image: -webkit-linear-gradient(45deg, #777777 0%, #777777 100%);
    background-image: linear-gradient(45deg, #777777 0%, #777777 100%);
}

button:focus {
    outline: none;
}

button {
    margin: 1rem;
}


/* input要素など */
input,
select{
    font-size: 100%;
    box-sizing: content-box;
    border-style: solid;
    border-width: 0.1rem;
    border-radius: 0.5rem;
    border-color: #3c6;
    padding: 0.2rem;
    margin: 0.3rem;
    height: 1.7rem;
    line-height: 1.7rem;
}

textarea {
    font-size: 100%;
    border-style: solid;
    border-width: 0.1rem;
    border-radius: 0.5rem;
    border-color: #3c6;
    padding: 0.2rem;
    margin: 0.3rem;
}

input:disabled,
input:read-only,
textarea:disabled,
textarea:read-only{
    background-color: #CCCCCC;
}

/* fieldset */
fieldset {
    border-style: solid;
    border-width: 0.1rem;
    border-radius: 0.5rem;
    border-color: #3c6;

    margin: 1rem;
    padding: 1rem;
}


/* error 表示 */
.error {
    color: red;
    font-weight: bold;
}
