@font-face {
    font-family: "Yu Gothic";
    src: local("Yu Gothic Medium");
    font-weight: 100;
}
@font-face {
    font-family: "Yu Gothic";
    src: local("Yu Gothic Medium");
    font-weight: 200;
}
@font-face {
    font-family: "Yu Gothic";
    src: local("Yu Gothic Medium");
    font-weight: 300;
}
@font-face {
    font-family: "Yu Gothic";
    src: local("Yu Gothic Medium");
    font-weight: 400;
}
@font-face {
    font-family: "Yu Gothic";
    src: local("Yu Gothic Bold");
    font-weight: bold;
}
@font-face {
    font-family: "Helvetica Neue";
    src: local("Helvetica Neue Regular");
    font-weight: 100;
}
@font-face {
    font-family: "Helvetica Neue";
    src: local("Helvetica Neue Regular");
    font-weight: 200;
}


html {
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", YuGothic, Verdana, Meiryo, "M+ 1p", sans-serif;
}
@media all and (-ms-high-contrast: none)  {
    html {
        font-family: Verdana, Meiryo, sans-serif;
    }
}
@media all and (-ms-high-contrast: active) {
    html {
        font-family: Verdana, Meiryo, sans-serif;
    }
}

body{
    font-size: 16px;
    color: #333333;
    line-height: 1.8em;
    text-align: center;
    margin: 10px;
}

p{
    font-size: 14px;
}

header#site_header{
    padding: 20px;
    border-top: 4px solid #ED6C01;
    display: block;
}

#site_header h1{
    font-size:16px;
}

header#site_header h1 img{
    max-width: 200px;
    width: 100%;
}

footer#site_footer {
    font-size:14px;
}

section#contents{
    max-width: 640px;
    padding: 20px;
    width: 100%;
    margin:0px auto 40px auto;
    text-align: left;
}

#contents h2{
    font-size: 18px;
    margin:0px auto 12px auto;
    padding-bottom: 10px;
    border-bottom: 1px solid #ED6C01;
    width: 100%;
    max-width: 640px;
}

#contents h3{
    font-size: 16px;
    margin:0px auto 12px auto;
    width: 100%;
    max-width: 640px;
}

#contents table{
    margin:0px auto 60px auto;
    width: 100%;
}

#contents table th{
    padding: 10px;
    text-align: center;
    border: 1px solid #333333;
    font-size: 16px;
    background: #DFF0D8;
}

#contents table td{
    padding: 10px;
    text-align: left;
    border: 1px solid #333333;
    font-size: 16px;
}

#contents input[type="submit"],#contents input[type="button"]{
    margin: 0px auto;
    display: block;
}

#contents nav ul{
    display: block;
    margin-bottom: 40px;
}

.message img{
    width: 80%;
    max-width: 500px;
    max-width: 0px auto 0px auto;
}

#atention{
    margin-bottom: 30px;
}

#backbtn{
    margin:60px auto 0px auto;
}

#backbtn a{
    display: block;
    width: 240px;
    margin: 0px auto;
    padding: 10px;
    background: #eeeeee;
}

a.btn,input.btn{
    display: block;
    margin: 0px auto 30px auto;
    padding: 10px;
    border-radius: 10px;
    color: #FFFFFF;
    text-decoration: none;
    background: #ED6C01;
    text-align: center;
    max-width: 320px;
    width: 90%;
    font-size: 16px;
}

a.btn2{
    display: block;
    margin: 0px auto 30px auto;
    padding: 10px;
    border-radius: 10px;
    color: #FFFFFF;
    text-decoration: none;
    background: #555555;
    text-align: center;
    max-width: 320px;
    width: 90%;
    font-size: 16px;
}



input[type="text"],select{width: 100%; font-size: 16px;}

textarea{
	width:100%;
	height:80px;
	font-size:16px;
}

.hissu{
    display: inline-block;
    padding: 4px;
    font-size: 12px;
    line-height: 12px;
    color: #FFFFFF;
    background: #ff3333;
    margin: 0px 0px 0px 6px;
    vertical-align: middle;
}

/*汎用クラス*/
.center{text-align: center;}
.left{text-align: left;}
.right{text-align: right;}

.red{
    color: #ff3333;
}

.blue{
    color: #3366ff;
}



.mb20{margin-bottom: 20px}
.mb30{margin-bottom: 30px}
.mb40{margin-bottom: 40px}

/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    vertical-align:baseline;
    background:transparent;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
    display:block;
}

nav ul {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}

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

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

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

/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}

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

.error{
  display: block;
  padding: 10px;
  background: blanchedalmond;
  color: red;
  font-weight: bold;
  margin-bottom: 40px;
  line-height: 180%;
  font-size: 18px;
}

.checkBlock {
    transition: height 0.5s, opacity 0.5s, margin-bottom 0.5s;
    height: 0;
    overflow: hidden;
}

#checkResult {
    margin-top: -10px;
}

#checkResult a {
    margin-top: 10px;
}