/*
Theme Name: エムズクリエイト
Description: エムズクリエイトオリジナルテーマ
*/

/*---------------------------------
	1.reset
---------------------------------*/

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, figure {
  border: 0;
  font-family: inherit;
  font-size: 100%;
  font-style: normal;
  font-weight: normal;
  margin: 0;
  outline: 0;
  padding: 0;
  vertical-align: baseline;
}

ul {
  list-style: none;
}

img {
  vertical-align: bottom;
}

a:link {
  color: #c00;
}

a:visited {
  color: #c00;
}

a:hover {
  color: #333;
}

strong {
  font-weight: bold;
}

/*---------------------------------
	2.base
---------------------------------*/

body {
  color: #333;
  font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
  font-size: 14px;
}

/*---------------------------------
	3.layout
---------------------------------*/

#head {
  background: #d9ddea;
  border-top: #284396 3px solid;
}

#header {
  margin: 20px auto 10px;
  width: 960px;
}

#globalNav {
  background: url(images/globalNavg_bg.jpg) repeat-x;
  height: 30px;
}

#wrap {
  margin: 20px auto 0;
  width: 960px;
}

#main {
  float: right;
  width: 700px;
}

#side {
  float: left;
  width: 200px;
}

p#pagetop {
  clear: both;
}

/*---------------------------------
	4.header
---------------------------------*/

h1 {
  font-size: 12px;
  margin: 0 auto;
  width: 960px;
}

#header p.company {
  float: left;
  font-size: 24px;
  line-height: 70px;
}

p.company img {
  margin-right: 15px;
  vertical-align: middle;
}

p.company a {
  color: #333;
  text-decoration: none;
}

p.company a:hover {
  color: #333;
}

#header .contact {
  float: right;
  text-align: right;
}

#header .contact img {
  margin-bottom: 5px;
}

#header ul li {
  float: left;
  font-size: 12px;
}

#header ul li a {
  background: url(images/arrow.gif) no-repeat left center;
  color: #333;
  padding: 0 15px 0 12px;
  text-decoration: none;
}

#header ul li a:hover {
  color: #c00;
}

#header ul li.sitemap a {
  padding-right: 0;
}

/*---------------------------------
	5.globalNav
---------------------------------*/

#globalNav ul {
  margin: 0 auto;
  width: 960px;
}

#globalNav ul li {
  float: left;
}

#globalNav ul li a {
  background: url(images/globalNav.jpg) no-repeat left top;
  display: block;
  height: 0;
  overflow: hidden;
  padding-top: 30px;
  width: 160px;
}

#globalNav ul li#here {
  background: url(images/globalNav.jpg) no-repeat left -30px;
  display: block;
  height: 0;
  overflow: hidden;
  padding-top: 30px;
  width: 160px;
}

#globalNav ul li.menu1 a {
  background-position: 0 0;
}

#globalNav ul li.menu1 a:hover, #globalNav ul li.menu1#here {
  background-position: 0 -30px;
}

#globalNav ul li.menu2 a {
  background-position: -160px 0;
}

#globalNav ul li.menu2 a:hover, #globalNav ul li.menu2#here {
  background-position: -160px -30px;
}

#globalNav ul li.menu3 a {
  background-position: -320px 0;
}

#globalNav ul li.menu3 a:hover, #globalNav ul li.menu3#here {
  background-position: -320px -30px;
}

#globalNav ul li.menu4 a {
  background-position: -480px 0;
}

#globalNav ul li.menu4 a:hover, #globalNav ul li.menu4#here {
  background-position: -480px -30px;
}

#globalNav ul li.menu5 a {
  background-position: -640px 0;
}

#globalNav ul li.menu5 a:hover, #globalNav ul li.menu5#here {
  background-position: -640px -30px;
}

#globalNav ul li.menu6 a {
  background-position: -800px 0;
}

#globalNav ul li.menu6 a:hover, #globalNav ul li.menu6#here {
  background-position: -800px -30px;
}

/*---------------------------------
	6.keyvisual
---------------------------------*/

#key_visual_bg {
  background: #f4f4f4;
}

#key_visual {
  margin: 0 auto;
  position: relative;
  width: 960px;
}

#key_visual_phrase {
  left: 30px;
  position: absolute;
  top: 15px;
}

#slide {
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  width: 960px;
}

p.jshowoff-slidelinks {
  left: 174px;
  position: absolute;
  top: 230px;
  width: 633px;
}

p.jshowoff-slidelinks a {
  background: url(images/slide_button.png) no-repeat 0 0;
  display: block;
  float: left;
  height: 0;
  margin-right: 11px;
  overflow: hidden;
  padding-top: 70px;
  width: 200px;
}

p.jshowoff-slidelinks a.jshowoff-slidelink-0 {
  background-position: 0 0;
}
p.jshowoff-slidelinks a.jshowoff-slidelink-0.jshowoff-active {
  background-position: 0 -70px;
}
p.jshowoff-slidelinks a.jshowoff-slidelink-1 {
  background-position: -211px 0;
}
p.jshowoff-slidelinks a.jshowoff-slidelink-1.jshowoff-active {
  background-position: -211px -70px;
}
p.jshowoff-slidelinks a.jshowoff-slidelink-2 {
  background-position: -423px 0;
}
p.jshowoff-slidelinks a.jshowoff-slidelink-2.jshowoff-active {
  background-position: -423px -70px;
}

/*---------------------------------
	7.main
---------------------------------*/

h2 {
  background: url(images/icon1.gif) no-repeat left center;
  border-bottom: #294bb1 2px solid;
  clear: both;
  margin-bottom: 15px;
  padding-left: 26px;
}

#main h2 a {
  color: #333;
}

#main h2 a:hover {
  color: #c00;
}

h2.news {
  margin-bottom: 0;
}

h3 {
  background: url(images/curcle2.gif) no-repeat left center;
  clear: both;
  height: 19px;
  margin-bottom: 15px;
  padding-left: 25px;
}

#main h4 {
  font-weight: bold;
  margin-bottom: 15px;
}

#main p {
  line-height: 1.5;
  margin-bottom: 25px;
}

#main ol {
  list-style: decimal inside;
  margin-bottom: 15px;
}

.section {
  margin-bottom: 25px;
}

dl.news {
  background: #d9ddea;
}

.news dt {
  clear: both;
  float: left;
  padding: 10px 0;
  text-indent: 1em;
  width: 120px;
}

.news dd {
  border-bottom: #939393 1px dotted;
  padding: 10px 0;
  padding-left: 120px;
}

.news dd a {
  color: #333;
}

.news dd a:hover {
  color: #c00;
}

#main img {
  border: #d7d7d7 1px solid;
  margin-bottom: 25px;
  padding: 5px;
}

.wp-caption.alignleft {
  float: left;
  margin: 0 15px 15px 0;
}

.wp-caption.alignright {
  float: right;
  margin: 0 0 15px 15px;
}

.wp-caption.aligncenter {
  margin: 0 auto 15px;
}

.alignleft {
  float: left;
  margin: 0 15px 15px 0;
}

.alignright {
  float: right;
  margin: 0 0 15px 15px;
}

.aligncenter {
  margin: 0 auto 15px;
}

.wp-caption-text {
  font-size: 12px;
  margin-top: -20px;
}

.btn {
  text-align: center;
}

#main .btn img {
  border: none;
}

.btn a:hover {
  opacity: .7;
}

/*ページ送り*/

span.nextpost {
  float: right;
}

span.prevpost {
  float: left;
}

/*フローチャート*/

#main img.number {
  border: none;
  margin-bottom: 0;
  margin-right: 5px;
  vertical-align: middle;
}

#flow h3 {
  background: none;
  clear: both;
  font-weight: bold;
  height: auto;
  margin-bottom: 15px;
  padding-left: 0;
}

/*御供養遺品収納ケースの表*/

table#funeral {
  border-collapse: collapse;
  margin-bottom: 30px;
  width: 700px;
}

table#funeral img {
  border: none;
  margin-bottom: 5px;
  padding: 0;
  padding-top: 4px;
}

table#funeral td {
  border: #ccc 1px solid;
  padding: 6px 10px;
}

table#funeral td p {
  margin-bottom: 0;
}

table#funeral td.title {
  background: #895da8;
  border-right: none;
  color: #fff;
  font-weight: bold;
}

table#funeral td.price {
  background: #895da8;
  border-left: none;
  color: #fff;
  font-weight: bold;
  text-align: right;
}

table#funeral td.number {
  background: #895da8;
  border-left: none;
  color: #fff;
  font-weight: bold;
  text-align: right;
}

table#funeral td.photo {
  text-align: center;
  width: 320px;
}

table#funeral td.category {
  vertical-align: middle;
  width: 100px;
}

table#funeral td.data {
  background: url(images/icon_case.gif) no-repeat 10px 6px;
  padding-left: 65px;
  vertical-align: middle;
}

table#funeral td.data.higher {
  background: url(images/icon_case.gif) no-repeat 10px center;
}

td.data span {
  color: #c00;
}

/*表*/

table {
  border-collapse: collapse;
  margin-bottom: 30px;
  text-align: left;
  width: 700px;
}

table img {
  border: none;
  margin-bottom: 5px;
  padding: 0;
  padding-top: 4px;
}

table th, table td {
  border: #ccc 1px solid;
  padding: 6px 10px;
}

table td p {
  margin-bottom: 0;
}

table td.photo {
  width: 320px;
}

table th {
  vertical-align: middle;
  width: 250px;
}

table.short {
  width: 350px;
}

/*コンタクトフォーム*/

.wpcf7 p {
  font-weight: bold;
  margin-bottom: 15px;
}

span.wpcf7-list-item {
  display: block;
}

span.wpcf7-not-valid-tip-no-ajax {
  color: #f00;
  font-size: 12px;
}

/*サイトマップ*/

ul.page-list {
  list-style: disc inside;
}

ul.children li {
  list-style: disc inside;
  text-indent: 3em;
}

/*---------------------------------
	8.side
---------------------------------*/

#side h4 {
  margin-bottom: 10px;
}

#side h5 {
  background: #d9ddea;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  line-height: 24px;
  text-align: center;
  text-align: center;
}

#side ul {
  margin-bottom: 20px;
}

#side li {
  background: url(images/arrow.gif) no-repeat 10px center;
  border-bottom: #939393 1px dotted;
  padding: 5px 15px 5px 25px;
}

#side li a {
  color: #333;
  text-decoration: none;
}

#side li a:hover {
  color: #c00;
}

#side ul.banner {
  margin-bottom: none;
}

#side ul.banner li {
  background: none;
  border: none;
  margin-bottom: 11px;
  padding: 0;
}

/*---------------------------------
	9.pagetop
---------------------------------*/

#pagetop {
  clear: both;
  padding: 50px 0 10px 0;
}

#pagetop p {
  background: url(images/arrow2.gif) no-repeat right 3px;
  font-size: 12px;
  padding-right: 15px;
  text-align: right;
}

#pagetop p a {
  color: #333;
  text-decoration: none;
}

#pagetop p a:hover {
  color: #c00;
}

/*---------------------------------
	10.footer
---------------------------------*/

#footer {
  border-bottom: #d7d7d7 1px solid;
  border-top: #d7d7d7 1px solid;
  margin-bottom: 10px;
  padding: 10px 0;
}

#footer p {
  margin: 0 auto;
  width: 960px;
}

/*---------------------------------
	Clearfix
---------------------------------*/

.clearfix:after {
  clear: both;
  content: ' ';
  display: block;
  font-size: 0;
  height: 0;
  visibility: hidden;
}

* html .clearfix {
  zoom: 1;
} /* IE6 */
*:first-child + html .clearfix {
  zoom: 1;
} /* IE7 */

/* 210622追記 */
#main .btn.alcohol img {
  margin-bottom: 0;
}

#main .btn.alcohol {
  margin-bottom: 5px;
  text-align: right;
}
