body {
    color: black;
    background: white;
    margin: 0;
    padding: 0;
    font-size: medium;
    font-family: 'Meiryo', 'MS PGothic', sans-serif;
    text-align: center;
    border: none
}

table {
    margin: 5;
    padding: 5;
    font-size: medium;
    margin-left: auto;
    margin-right: auto;
    width: 750px;
}

table td {
    padding: 0;
    border-width: 0;
    vertical-align: top;
    max-height: 100%;
    border: none;
}

a {
    color: #4D4D4D;
    font-weight: bold;
    background-color: transparent;
}

a:hover {
    color: #32CD32;
}

/*****header design*****/
td#headerbanner {
    width: 100%;
    background-color: #EFA500;
    vertical-align: middle;
    text-align: center;
}

td#headerbar {
    border-bottom: 1px solid #FFCD00;
    background-image: url(../themes/medium_font/hbar2.gif);
    background-repeat: repeat-x;
    font-size: 13px;
}

#theader {
    margin: 0;
    padding: 0;
    width: 100%;
}

/*****questionary link design*****/
#questionaryheader td#headerbar {
    border-bottom: 1px solid #ffa500;
}

#questionarylink {
    margin-top: -34px;
    width: 850px
}

#questionarylink a {
    color: #797979
}

#questionarylink a:hover {
    color: #32CD32;
}

span.point_r {
    display: inline-block;
    line-height: 0px;
    width: 0px;
    height: 0px;
    border-left: 10px solid dodgerblue;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    margin-right: 7px;
}

h1#questionaryh1 {
    border: none;
    text-align: center;
    padding: 0;
    font: bold 1.8em sans-serif;
    margin-top: 50px;
}

/******************************/



#questionary {
    margin: 80px auto;
    width: 800px;
    border: 1px solid #ccc;
    table-layout: fixed;
    border-collapse: collapse;
    font-family: '游ゴシック';
}

#questionary #midashi {
    background: linear-gradient(#c9e4fc, #d9e7f4);
    background: -moz-linear-gradient(top, #c9e4fc, #d9e7f4);
    background: -ms-linear-gradient(top, #c9e4fc, #d9e7f4);
    background: -webkit-gradient(linear, left top, left bottom, from(#c9e4fc), to(#d9e7f4));
    padding: 15px 0;
    vertical-align: middle;
    font-size: 1em;
    font-size: 1.3em;
    color: #015bb5
}

p {
    line-height: 1.8em;
    max-height: 100%
}

#questionary select,
input {
    font-size: 1em
}

textarea {
    width: 100%;
    font-size: 1em;
}

.itemlft {
    font-weight: bold;
}

/*********questionary********/
#questionary ol{
	padding: 0;
}
#questionary .itemlft,
#questionary .itemlong {
    font-weight: bold;
}
#questionary li.itemlong {
	margin-left: 50px;
}
#questionary li.itemlft {
	width: 330px;
	margin-left: 50px;
}
#questionary div.itemlft {
	width: 350px;
	margin-left: 30px;
}
#questionary .itemrgt {
	width: 330px;
	margin-left: 50px;
}

#questionary .itemlft,
#questionary .itemrgt,
#questionary .itemlong {
	float: left;
	text-align: left;
	margin-top: 10px;
	margin-bottom: 15px;
	padding-left:0;
	word-wrap: break-word;
	white-space: pre-wrap;
}

#questionary hr {
	border-top: dashed 1px #bad3e8;
    color: #FFF;
    background: none;
}

/**********/
.push td {
    border: none;
    padding: 50px 0 0 0
}

.strred {
    color: red;
}

.strwht {
    color: white;
}

.fontsmall {
    font-size: 80%;
}

/*.perinfo1 {font-weight:bold}*/
#questionary .perinfo1 {
    font-size: 1.1em
}

#questionary .perinfo2 {
    width: auto
}

input[type="radio"],
input[type="checkbox"] {
    -webkit-transform: scale(1.5);
    transform: scale(1.5);
    margin-right: 0.5em;
}

INPUT.button1 {
    -webkit-appearance: none;
    -moz-appearance;
    none;
    appearance: none;
    width: 250px;
    margin: 20px;
    font-size: 1.2em;
    display: inline-block;
    padding-top: 10px;
    padding-bottom: 10px;
    text-decoration: none;
    background: #015bb5;
    /*ボタン色*/
    color: #FFF;
    border-bottom: solid 4px #002b56;
    border-radius: 5px;
}


/*****questionary3*****/
div#questionary3 {
    margin: 50px auto;
    border: 1px solid #ddd;
    box-shadow: 3px 3px 10px #aaa;
    width: 1000px;
    text-align: center;
}

#q3midasi {
    margin: 60 50 30 50;
    color: #015bb5;
    font-size: 1.3em;
    font-weight: bold;
    border: 4px solid #B1C7DC;
    display: inline-block;
    padding: 0 6 0 7;
}

#questionary3 table {
    padding: 0;
    margin: 0 0 30 0;
    width: 900px;
    border-collapse: separate;
    border-spacing: 0 0px;
    line-height: 1.8em;
}

#questionary3 table th {
    padding: 60 0 40 0;
    font-size: 1.3em;
    color: #014487;
    background: none;
    vertical-align: middle;
}

#questionary3 ol {
    margin-left: 25
}

/*************メインの左右*************/

#questionary3 li.itemlft {
    margin-left: 10px;
    margin-right: 20;
    width: 360px;
    padding-left: 10;
}

#questionary3 div.itemrgt {
    width: 450px;
}

#questionary3 li.itemlft,
#questionary3 div.itemrgt,
#questionary3 li.itemlong {
    float: left;
    text-align: left;
    margin-top: 30px;
    margin-bottom: 30px;
}

/*************青文字の左右*************/

#questionary3 div.itemlft2 {
    margin-left: 10px;
    margin-right: 20;
    width: 330px;
    color: #2a629a;
    font-weight: bold;
    text-indent: -1.5em;
    padding-left: 2.5em;
}

#questionary3 div.itemrgt2 {
    width: 450px;
}

#questionary3 div.itemlft2,
#questionary3 div.itemrgt2 {
    float: left;
    text-align: left;
    margin-top: 25px;
    margin-bottom: 25px;
}

/*************左右つながり*************/

#questionary3 li.itemlong {
    padding-left: 10px;
    margin-left: 10px;
    float: none;
    width: 800px;
    font-weight: bold;
    text-align: left;
    margin-bottom: 0;
}

/*************罫線*************/
hr {
    clear: both;
    border: 0;
    height: 1px;
    background: #ccc;
    margin: 0 50 0 -20;
}

hr.hr2 {
    background: none;
    border-top: dashed 1px #ccc;
    color: #FFFFFF;
    margin: 0 50 0 0;
}

/**************/

#questionary3 input,
#questionary3 select {
    font-size: 1em
}

#questionary3 textarea {
    width: 100%;
    font-family: 游ゴシック;
    /* font-size:1.2em; */
    resize: vertical;
    ime-mode: active;
}

select,input,#questionary3 textarea {
    font-family: 游ゴシック;
}

#questionary3 {
    font-family: 游ゴシック;
}

/******************************/
