@import url(style_mobile.css) screen and (max-width: 767px); /* 767以下 */

body {
	margin: 0;
	padding: 0;
    background-color: #FAF5ED;
    color: #212121;
    font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
}

/* -- header -- */
header {
	position: fixed;
	top: 0;
	width :100%;
	height: 50px;
	border-top: 5px solid #212121;
	background-color: #2E3B84; /* #FFF ck */
	z-index: 777;
}

a {
    font-weight: bold;
    text-decoration: none;
    color: #9EA8DD
}

header h1 {
	position: absolute;
	width: 100%;
	margin: 0;
	padding: 0;
	/* border-bottom: 2px solid #f4a533; ck */
}
header h1 img {
	/* width: 125px;  ck */
	height: 50px;	/* add ck */

}
header h1 img {
	margin: 0 0;	/* 3px 5px ck */
}
#loginBtn, #logoutBtn, #settingBtn, #btn_favorites, #btn_bookmarks {
	position: absolute;
	margin: 0;
	z-index: 999;
}
#loginBtn, #logoutBtn {
	top: 10px;
	right: 60px;
}
#loginBtn, #loginBtn a, #loginBtn img,
#logoutBtn, #logoutBtn a, #logoutBtn img {
    width: 80px;
}
#settingBtn {
	right: 5px;
}
#settingBtn, #settingBtn a, #settingBtn img {
    width: 45px;
}
#settingBtn img {
    margin-top: 5px;
    width: 35px;
}
#btn_favorites a, #btn_bookmarks a {
    display: block;
    color: white;
}
#btn_favorites {
    top: 0;
    right: 140px;
    font-size: 2em;
}
#btn_bookmarks {
    top: -0.1em;
    right: 80px;
    font-size: 2.4em;
}



/* -- container -- */
#container {
	clear: both;
	position: absolute;
	width: 100%;
	margin-top: 60px;
	z-index: 10;
}


.formArea {
    margin: 10px auto 20px;
    background-color: white;
    border: 1px solid #2E3B84;

    border-radius: 10px;        /* CSS3草案 */  
    -webkit-border-radius: 10px;    /* Safari,Google Chrome用 */  
    -moz-border-radius: 10px;   /* Firefox用 */
}

#loginform {
	width: 550px;
	min-width: 200px;
}
#loginform #login_error {
    text-align: center;
    color: red;
    -webkit-margin-before: 0.3em;	/* add ck */
    -webkit-margin-after: 0.3em;	/* add ck */
}
#loginform form table {
    margin: 10px auto 0;
}
#loginform form table th {
    color: #757575;
}
#loginform table input {
    width: 400px;

}
#loginform form p {
    text-align: center;
    -webkit-margin-before: 0.3em;	/* add ck */
    -webkit-margin-after: 0.3em;	/* add ck */
}
#loginform form p input {
    margin: 10px 0 10px 5px;
}
#loginform form p a {
    margin-left: 30px;
}

form input[type="submit"], #loginform p a, #entryform p a, .close-btn, #link_user_update a, #update_submit input {
    border: 1px solid #EB8A3E;
    background: #EB8A3E url(images/ui-bg_glass_80_d7ebf9_1x400.png) 50% 50% repeat-x;
    text-align: center;
    font-size: 90%;
    font-weight: normal;
    color: #FFF;
    border-radius: 5px;        /* CSS3草案 */  
    -webkit-border-radius: 5px;    /* Safari,Google Chrome用 */  
    -moz-border-radius: 5px;   /* Firefox用 */
    cursor: pointer;
}
form input[type="submit"], #loginform p a, #entryform p a, .close-btn a, #link_user_update a {
    padding: 10px 20px;
}
form input[type="submit"] {
    padding: 13px 20px;
}
#loginButtonFacebook {
    border-color: #3B5998 !important;
    background-color: #3B5998 !important;
}
#registButton, #link_user_update a, #update_submit input {
    border-color: #6EB249 !important;
    background-color: #6EB249 !important;
}
.close-btn {
    margin-right: 10px;
    margin-left: 10px;
    border-color: #3F51B5 !important;
    background-color: #3F51B5 !important;
}
.close-btn a {
    display: block;
    font-size: 90%;
    text-decoration: none;
    color: #FFF;
}

form input[type="text"], form input[type="password"],
form select, form textarea {
    background-color: #fff;
    border-color: #ddd;
    color: #333;
    font-size: 100%;	/* 140% ck */
    text-shadow: 0 1px 0 #f3f3f3;

    border-radius: 5px;        /* CSS3草案 */  
    -webkit-border-radius: 5px;    /* Safari,Google Chrome用 */  
    -moz-border-radius: 5px;   /* Firefox用 */

    margin: 0.2em 0;	/* 0.5em 0 ck */
    padding: 2px 2px;	/* 5px 10px ck */
    border-width: 1px;
    border-style: solid;
    /* box-shadow: inset 0 1px 3px rgba(0,0,0,.2); ck */
    background-clip: padding-box;
}


#panel {
/*
    position: absolute;
    display: none;
*/
    width: 99%;
    height: 99.5%;
    background-color: white;
	border: 3px solid #f4a533;
/*
    top: 0;
    right: 0;
    z-index: 999;
*/
}
#panel ul {
    margin: 0;
    padding-left: 0;
    list-style-type: none;
}
#panel ul li {
    padding-right: 10px;
    padding-left: 10px;
}
#panel ul a, #panel ul p.search_title {
    display: block;
    margin: 0;
    padding: 10px 10px;
    color: gray;
    text-decoration: none;
    border-top: 1px solid lightgray;
}
#panel ul a:hover, #panel ul p.search_title:hover {
    color: black;
}
#panel ul li:first-child a {
    border-top: none;
}
#panel .search_title {
    font-weight: bold;
    cursor: pointer;
}
#panel form, #panel .search_form {
    display: none;
}
#panel .search_form {
    margin: 0;
    padding: 5px 10px;
}
#panel p.search_form input[type="text"] {
    width: 100%;
    margin-top: 0;
    margin-right: 5px;
}
#panel #search_date_form input {
    width: 50px !important;
}
#search_date_error {
    display: block;
    color: red;
}
#panel_search_submit {
    margin: 0;
    padding: 0;
    text-align: center;
}
#panel_search_submit input {
    width: 95%;
    margin-top: 10px;
    margin-bottom: 10px;
    text-size: 90%;
}


#user_info h2, #updateform h2 {
    width: 95%;
    margin-right: auto;
    margin-left: auto;
    border-bottom: 1px solid #BDBDBD;
    color: #2E3B84;
    font-size: 100%;
}

#user_info table, #updateform {
    width: 95%;
    margin: 0 auto;
}
#user_info table th, #user_info table td {
    padding: 10px 5px;
}
#user_info table th, #updateform th {
    width: 150px;
    padding-top: 5px;
    font-size: 90%;
    font-weight: normal;
    color: #757575;
    text-align: left;
    vertical-align: top;
}
#user_info th span, #updateform th span {
    display: block;
    font-size: 90%;
}
#link_user_update {
    text-align: center;
}
#link_user_update {
    margin: 30px 0;
}
#link_user_update a {
    text-decoration: none;
}


/* userEntryForm */
#entryform {
    width: 500px;
}
#entryform form {
    padding-right: 20px;
    padding-left: 20px;
}
#entryform form table {
    width: 100%;
    border-spacing: 0 10px;
}
#entryform form table th {
    width: 140px;
    font-size: 90%;
    font-weight: normal;
}
#entryform form table th span {
    display: block;
    font-size: 90%;
}
#entryform form table td input {
    width: 92%;
    margin-left: 20px;
}
#entryform #entryform_submit>a {
    margin-left: 20px;
}
#entryform_submit {
    text-align: center;
}


/* entryconfirm */
#entryconfirm {
    padding: 10px 20px;
}


/* updateform */
#updateform #updateError {
    width: 95%;
    margin-right: auto;
    margin-left: auto;
    color: red;
}
#updateform table {
    width: 100%;
    border-spacing: 5px 10px;
}
#updateform input[name="user_nameid"] {
    width: 70% !important;
}
#updateform #id_check {
    font-weight: bold;
    color: blue;
}
#updateform #id_check.id_ng {
    color: red;
}
#updateform #sex ul {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}
#updateform #sex li {
    display: inline;
    margin-right: 20px;
    font-size: 100%;
}
#updateform td input[type="text"], #updateform td textarea,
#updateform td input[type="password"] {
    width: 94%;
    padding: 10px;
}
#updateform select[name="timezones"] {
    width: 98%;
    font-size: 100%;
}
#updateform #update_submit {
    text-align: center;
}


#user_prof {
    width: 90%;
    margin: 10px auto;
}
#user_prof #user_name {
    padding: 10px;
    text-align:center;
    background-color: #f4a533;
    color: white;
    font-size: 120%;
    font-weight: bold;
}
#user_prof table {
    border-spacing: 30px 5px;
}


#favorites_header, #bookmarks_header {
    width: 90%;
    margin: 10px auto;
}
#favorites_header h2, #bookmarks_header h2 {
    padding: 10px;
    text-align:center;
    background-color: #f4a533;
    color: white;
    font-size: 120%;
    font-weight: bold;
}


/* -- footer -- */
footer {
	position: relative;
	z-index: 20;
	border-top: 3px solid #212121;
    background-color: #3F51B5;
    color: #FFF;
}
footer.minHeight {
    position: absolute;
    bottom: 0;
    width: 100%;
}
footer p {
	margin: 3px;
    padding-bottom: 5px;
	text-align: center;
}

#dialog {
    display: none;
}

/* -- Error -- */
#error404 {
    text-align: center;
}
#error404 h1 {
    font-size: 160%;
}
#error404 #link {
    margin-top: 60px;
}