body {
  font-family: 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', 'メイリオ', 'Meiryo', 'ＭＳ Ｐゴシック', sans-serif;
}

h1,h2,h3,h4,h5{
	margin-top: 0.2em;
	margin-bottom: 0.2em;
	padding: 0 0.2em;
}

h1 {
  font-size: 120%;
}

.navigation select {
  width: 180px;
}

#tab_menu ul li {
  display: inline;
  vertical-align: bottom;
}

#tab_menu ul li a {
  vertical-align: bottom;
}

#feed_button {
  margin: 5px;
}

#rss_icon {
  position: absolute;
  top: 2px;
  right: 2px;
}

/*
  カレンダー
*/
#calendar table tr th {
  font-weight: bold;
}

#calendar table tr td,#calendar table tr th {
  padding: 2px;
  text-align: center;
}

#calendar td.exists {
  background-color: rgb(181, 184, 232);
}

#calendar td.today {
  background-color: rgb(232, 76, 81);
}

/*
  作品リスト
*/

#product_list .yui-u {
  border-width: 0 0 0 1px;
  border-color: rgb(181, 184, 232);
}

#product_list .yui-u.first {
  border-width: 0 1px 0 0;
}

div.product {
  border-width: 1px 0 0 0;
  border-color: rgb(181, 184, 232);
  border-style: dotted;
  margin: 5px 15px 5px 0;
  padding: 5px;
}

div.product div.thumbnail {
  width: 80px;
  height: 80px;
  float: left;
  text-align: center;
}

div.product .product_title {
  font-size: 110%;
}

div.product table tr th {
  font-weight: bold;
  padding: 2px;
  text-align: right;
  white-space: nowrap;
}

div.product table tr td {
  padding: 2px;
}

div.product .countdown {
  color: rgb(232, 76, 81);
}

div.product div.shop_link {
  text-align: right;
}

div.shelf_tags ul li {
  display: inline;
  margin: 5px;
}

/*
  ダイアログ
*/
#dialogBody,#gadgetDialog {
  background-color: white;
  position: absolute;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  padding: 5px;
  border: 2px dotted rgb(181, 184, 232);
  text-align: left;
  position: absolute;
  z-index: 10;
  width: 500px;
}

#dialog_image_container {
  width: 80px;
  height: 80px;
  float: left;
  text-align: center;
}

#dialog_title {
  font-size: 110%;
  width: 500px;
}

#shelf_ui_tag_text {
  width: 400px;
}

#shelf_ui_tag_insert {
  padding: 5px;
}

.tag_insert_checkbox_element {
  margin: 4px;
}

#dialog_buttons {
  text-align: right;
}

.modal-dialog-buttons {
  display: none;
}

#dialogBackground {
  position: absolute;
  background-color: black;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

#gadgetDialog textarea {
  margin: 5px;
  width: 490px;
}

/*****************************************************
  設定画面
******************************************************/
#add_keyword_form {
  border-bottom: 2px dotted rgb(181, 184, 232);
  padding-bottom: 3px;
  margin-bottom: 7px;
}

#keyword_new {
  margin: 5px 5px 0;
}

#keywordinput_new,.keyword_line input.keyword_input {
  width: 205px;
}


#keywordcategory_new,.keyword_line select {
  width: 125px;
  margin-left: 5px;
}

#keyword_new div.button {
  margin: 5px 0 0;
}

.keyword_line {
  margin: 5px;
  padding: 5px;
  border: 2px solid white;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}

.keyword_line.selected {
  border-color: rgb(181, 184, 232);
}

.keyword_line div.button {
  margin-top: 3px;
}

/*****************************************************
  棚
******************************************************/
#order_selector,#search_keyword_form {
  margin: 5px;
}

#s_keyword {
  width: 285px;
}

/*****************************************************
  作品ページ
******************************************************/
.product_detail .thumbnail {
  text-align: center;
}

div.product_detail table tr th {
  font-weight: bold;
  padding: 2px;
  text-align: right;
  white-space: nowrap;
}

div.product_detail table tr td {
  padding: 2px;
}

div.product_detail .countdown {
  color: rgb(232, 76, 81);
}

div.product_detail div.shop_link {
  text-align: right;
  margin: 5px;
  font-size: 120%;
}

#product_list {
  margin-top: 10px;
}

#product_list div.yui-u.first ul {
  margin: 10px;
}

#shelf_list li.shelf_line {
  margin: 10px 10px 3px 10px;
}

li.shelf_line ul {
  margin-left: 5px;
}

li.shelf_line ul li {
  display: inline;
  margin: 5px;
}

li.shelf_line div.button {
  margin-top: 10px;
}

#detailpage_embed_ui {
  margin-top: 5px;
  margin-bottom: 10px;
}

#detailpage_embed_ui textarea {
  width: 240px;
}

#detailpage_embed_ui .cute-button input {
  width: 220px;
}
