body {
    margin: 0 auto;
    padding: 5px 5px;
}

#header {
    text-align: right;
    margin: 0 auto;
    margin-right: 10px;
    margin-left: 10px;
}

@media (max-width: 767px){
    .header {
        text-align: center;
        margin: 0 auto;
        margin-right: 10px;
        margin-left: 10px;
    }
    
}


#header_flex {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}
}

.logo img {
    width: 100%;
}

.lang head {
    display: block;
}

.sns_head {
    text-align: right;
}
@media (max-width: 767px){
    text-align: center;
}

#footer {
    color: #fff;
    text-decoration: none;
}

#footer a {
    color: #fff;
    text-decoration: none;
}

.footer_left {
    background-color: #CD5C5C;
    /*float: left;*/
}

.footer_right {
    background-color: #CD5C5C;
    /*text-align: right;*/
}


#footer_flex {
    background-color: #CD5C5C;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    color: #fff;
    text-decoration: none;
}


@media (max-width: 767px){
    #footer_flex{
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer_btn {
        width: 100%;
    }

}


button[type="submit"] {
    position: relative;
    display: inline-block;
    padding: 0.9em 1.8em;
    margin:10px;
    text-decoration: none;
    color: #333333;
    background: #cccccc;/*色*/
    border: solid 1px #cccccc;/*線色*/
    border-radius: 4px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
    text-shadow: 0 1px 0 rgba(0,0,0,0.2);
}

button[type="reset"] {
    position: relative;
    display: inline-block;
    padding: 0.9em 1.8em;
    margin: 10px;
    text-decoration: none;
    color: #333333;
    background: #cccccc;/*色*/
    border: solid 1px #cccccc;/*線色*/
    border-radius: 4px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
    text-shadow: 0 1px 0 rgba(0,0,0,0.2);
}

table#form {
	margin-left: auto;
	margin-right: auto;
    margin-bottom: 30px;
    border:1px solid #fff;
}
#form th {
	width: 250px;
	text-align: left;
	background-color: #e0e0e0;
    padding: 5px 10px;
    border: solid 1px #ffffff;
}

#form td {
    border:1px solid #fff;
}


#form td:nth-child(1) {
	width: 450px;
	text-align: left;
	background-color: #e0e0e0;
    padding: 5px 10px;
    font-weight:bold;
}

#form td:nth-child(2) {
	width: 450px;
	text-align: left;
	background-color: #f0f0f0;
    padding: 5px 10px;
    font-weight:bold;
}

#comp_p {
    font-size: 1em; 
    margin: 5px 0px; 
    margin-bottom: 1em; 
    text-align: center;
}

/*table{
    border:1px solid #999;
    border-collapse: collapse;
    width:auto;
}

form#confTable {
    margin:0px auto;
    padding:0px;
    width:640px;
}

#confTable table{
    border:1px solid #fff;
    border-collapse: collapse; 
    width:auto;
}
#confTable td{
    padding:7px;
    border:1px solid #fff;
    border-collapse: collapse;
    text-align:left;
}
td{
    padding:7px;
    border:1px solid #999;
    border-collapse: collapse;
    text-align:left;
}
#confTable td:nth-child(1) {
    width: 200px; 
    background:#e0e0e0;
    font-weight:bold;
    white-space:nowrap;
}
#confTable td:nth-child(2) {
    width: 400px;
    background:#f0f0f0;
    font-weight:bold;
    white-space:nowrap;
}*/

.texAreaHeight {
    height: 1.2em;
    margin-bottom: -0.3em;
}

.texAreaWidth {
    width: 25em;
}