h2 {
  box-shadow: 2px 2px 2px rgba(0,0,0,0.4);
  padding-left: 1em;
  margin-bottom: 1.5em;
}

#contents_frame {
  width: 12000px;
}

#select_cloth_class .select_buttons button,
#select_paper_type .select_buttons button {
  width: 18em;
  font-size: 1em;
  padding: 1em;
}

#select_cloth_class ul li,
#select_paper_type ul li {
  margin-bottom: 1em;
  padding-left: 2em;
}

#select_cloth_class .select_buttons button {
  width: 40em;
}

#select_cloth_class button label.left {
  text-align: left;
}

#select_cloth_class button label.right {
  text-align: right;
}

#design_zoom,
#preview_zoom {
  text-align: center;
}

#design_zoom img,
#preview_zoom img {
  max-height: 80%;
}

#select_cloth div.preview,
#select_option div.preview {
  text-align: center;
  position: relative;
  border: 1px solid #ddd;
  box-shadow: 5px 5px 5px rgba(0,0,0,0.4);
  height: 500px;
}

#preview,
#preview_for_option,
img.shadow {
  height: 500px;
}

#select_cloth div.preview img.shadow {
  position: absolute;
  filter: alpha(opacity=75);
  opacity: 0.75;
  display: none;
}

#select_cloth div.option,
#select_cloth div.sp_option,
#select_option div.option,
#confirm div.option {
  border: 1px solid #ddd;
  padding: 10px;
  margin-bottom: 1px;
}

#select_cloth div.option_select,
#select_option div.option_select {
  text-align: right;
}

#select_cloth div.hover,
#select_option div.hover {
  background: #eee;
}

#select_cloth div.total,
#select_option div.total,
#confirm div.total {
  margin-top: 5px;
  background: #fea;
}

#select_cloth div.total > div > div,
#select_option div.total > div > div,
#confirm div.total > div > div {
  width: 100px;
  border-bottom: 1px dashed #999;
  margin-bottom: 0.8em;
}

#select_cloth div.price,
#select_option div.price,
#confirm div.price {
  text-align: right;
}

#contents_frame {
  position: relative;
}

div.contents {
  width: 918px;
  position: relative;
  overflow: auto;
}

div.buttons {
  margin-top: 2em;
  margin-bottom: 1em;
  text-align: right;
}

button.back,
button.back_to_top {
  margin-right: 2em;
}

#loading {
  display: none;
  width: 32px;
  height: 32px;
  top: 234px;
}

div.option_item_row {
  border: 4px solid #ddd;
  margin: 10px;
  padding: 5px;
  display: inline-block;
  vertical-align: top;
}

div.option_item_row img {
  max-height: 100px;
  max-width: 100px;
}

div.option_item_row:hover {
  border: 4px solid #008040;
}

#option_zoom {
  text-align: center;
}

#pay_options > div {
  background: #fff;
}

#about_customer h3 {
  margin: 1em;
  padding-left: 0.5em;
  border-bottom: 1px solid #ccc;
}

#confirm h3 {
  margin: 1em;
  margin-left: 0;
  border-bottom: 1px solid #ccc;
}

#confirm > div {
  padding: 1em;
}

ul.normal_option,
ul.pay_option {
  margin-left: 1em;
}

ul.normal_option li,
ul.pay_option li {
  border: 1px dashed #ccc;
  width: 220px;
  padding: 1em;
}

ul.normal_option li img,
ul.pay_option li img {
  margin-left: 1em;
  max-width: 100px;
  max-height: 100px;
}

#preview_for_confirm {
  max-width: 200px;
  max-height: 200px;
}

#confirm div.center {
  text-align: center;
}

#confirm div.right {
  text-align: right;
}

#confirm div.total {
  width: 220px;
  margin-left: 1em;
}

#confirm div.customer,
#confirm div.delivery,
#confirm div.payment {
  margin-left: 1em;
}

#postcode {
  width: 5em;
  text-align: center;
}

#complete > div {
  margin: 5em;
}

#complete div.to_top {
  margin-top: 2em;
  text-align: center;
}

div.help img {
  width: 600px;
  height: 400px;
}

span.help {
  cursor: pointer;
  color: #ff8000;
  float: left;
}

div.option_name span.price {
  float: right;
}

#select_cloth div.free_button {
  margin-top: 10px;
  margin-bottom: 10px;
  text-align: right;
}

#donsu_collection {
  text-align: center;
}

#donsu_collection div.template_cloth {
  width: 250px;
  border: 4px solid #ddd;
  margin: 5px;
}

#donsu_collection div.template_cloth:hover {
  border: 4px solid #008040;
}

#donsu_collection img.is_ichimonji {
  width: 250px;
  height: 70px;
}

#donsu_zoom {
  text-align: center;
}



#select_category button {
  width: 18em;
  font-size: 1.5em;
  padding: 1em;
}

#select_category ul {
  list-style-type: none;
}

#select_category ul li {
  margin-bottom: 1em;
  text-align: center;
}

div.design {
  text-align: center;
  padding: 5px;
  border: 1px solid #ddd;
  margin-bottom: 10px;
  height: 400px;
  width: 180px;
}

div.design.makimono {
  width: 280px;
  height: 350px;
}

div.design.stamp {
  width: 280px;
  height: auto; 
  max-height: 500px;
}

div.design img {
  max-height: 90%;
}

div.design_row {
  margin-bottom: 10px;
}

#upload_honshi div.preview {
  text-align: center;
}

#upload_honshi div.preview img {
  width: 200px;
}

#select_cloth div.right div.buttons {
  margin-top: 1em;
  text-align: right;
}

#zoom_preview {
  margin-right: 1em;
}

div.can_select_options {
  min-height: 300px;
}

div.can_select_options > div {
  display: none;
}

div.can_select_options ul {
  margin-left: 2em;
  margin-bottom: 1em;
}

div.can_select_options li {
  list-style-type: circle;
}

#select_design div.info {
  margin-top: 1em;
}

#with_photo_rows div.with_photo_row {
  text-align: center;
  float: left;
  margin: 10px;
  padding: 10px;
  border: 1px solid #ccc;
  width: 250px;
}

#with_photo_rows div.with_photo_row img {
  /* max-width: 300px; */
  max-height: 300px;
}

#with_photo_rows div.with_photo_row ul {
  margin-top: 1em;
}

#with_photo_rows div.with_photo_row button {
  width: 12em;
  margin-top: 0.5em;
}

#select_cloth_class_with_photo p.note {
  margin-left: 1em;
}

#select_cloth_class_with_photo p.explain {
  text-align: left;
  padding: 0.5em;
}

input.date {
  width: 7em;
  text-align: center;
}

p.delivery_note {
  padding-left: 3em;
}

div.template_cloth {
  display: inline-block;
  text-align: left;
}

div.template_cloth div.view_name {
  padding-left: 0.5em;
}

#selected_cloth {
  display: inline-block;
}

#selected_cloth div.cloth {
  display: inline-block;
  width: 5em;
  text-align: left;
}

#selected_cloth div.mask {
  display: inline-block;
  width: 5em;
  text-align: right;
}

#confirm div.need_sending_package {
  margin-bottom: 1em;
}

#filter {
  position: fixed;
  z-index: 100000;
  background: #000000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  filter: alpha(opacity=0);
  opacity: 0.8;
  /*
  display: none;
  */
}

#filter img {
  margin: 100px;
}

#select_cloth div.sp_option {
}

div.design .price {
  color: #c33;
}

span.new {
  color: #c33;
}

#about_customer div.payment {
  margin: 1em;
  padding: 1em;
  border: 1px solid #ccc;
  display: inline-block;
}

#about_customer div.payment p {
  padding: 1em;
}

