@media screen and (max-width:400px){
img{
max-width: 100%;
height: auto;
width /***/:auto;　
}
#container{
width:100%;
}

@charset "utf-8";

*{margin:0;padding:0;}

body{
font: 16px "メイリオ","Meiryo",arial,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
color:#333;
background:url(images/headerBg.png) repeat-x 50% 0;
}

html{background:url(images/bg.png) repeat 0 0;}

a{color:#333;text-decoration:none;}
a:hover{color:#500c00;}
a:active, a:focus {outline: 0;}
img{border:0;}
.clear{clear:both;}
p{margin-bottom: 10px;}
.center{text-align:center;}
.right{text-align:right;}


/*************
全体幅
*************/
#header, #container, .inner{
margin: 0 auto;
width: 100%;;
}


/*************
/* ヘッダー
*************/
#header{
position:relative;
height: 130px;
}

#header h1,#header h2, #header h3, #header ul{
position:absolute;
color: #333;
font-size: 12px;
line-height: 20px;
font-weight: normal;
}

#header h1{
top:3px;
left:5px;
}

#header h2{
display: none;
}

#header h3{top:26px;}
}

/*************
/* コンタクトインフォメーション
*************/
#headerInfo{
display: none;
}

#headerInfo p.tel{
display: none;
}

/*************
メイン画像
*************/
#mainImage{
margin-top:0px;
width: 100%;
}

img.miniimage { display: none; }

/* ▼表示領域が400px以上の場合 */
@media screen and (min-width: 400px) {
   img.miniimage { display: none; }  /* miniを非表示 */
   img.bigimage  { display: block; } /* bigを表示 */
}
/* ▼表示領域が400px未満の場合 */
@media screen and (max-width: 399px) {
   img.miniimage { display: block; } /* miniを表示 */
   img.bigimage  { display: none; }  /* bigを非表示 */
}

/*************
画像
*************/
.check{padding-bottom: 10px;}

.anshin{padding-bottom: 30px;}

.koe{padding-bottom: 30px;}

.tell{padding-bottom: 50px;}

.mail{
margin-top: -40px;
text-align:center;
}

.payment{
margin-top: 20px;
padding-bottom: 50px;
text-align:center;
}

/*************
コンテンツ全体
*************/
#container{padding: 20px 0 10px;}

#container a{border-bottom:1px dotted #fff;}

#container ul a,#container a:hover{border:0;}

.box{
float: left;
width: 100%;
margin-right: 15px;
padding-bottom: 10px;
line-height: 1.2;
overflow:hidden;
}

/* 最後のbox */
.last{margin-right:0;}

/* 横に長いbox */
.long{width: 100%;}

/* 画像を左に回りこみ */
.long img{
float:left;
margin: 0 10px 10px 0;
}

/* H2 見出し */
#container h2{
font-size: 15px;
margin: 0 0 5px;
padding: 5px 5px 5px 15px;
color: #ffffff;
background:url(images/line.gif) repeat-x 0 100%;
}

/* H3 見出し */
#container h3{
font-size: 15px;
margin: 0 0 15px;
padding: 5px 10px 5px 5px;
color: #333;
background:url(images/h3-line.gif) repeat-x 0 100%;
}

#container ul, .inner ul{margin-left: 5px;}

#container ul li, .inner ul li{
list-style: none;
margin-bottom: 7px;
padding-left: 17px;
background:url(images/bullet.gif) no-repeat 0 50%;
}

.inner ul li{background-image:url(images/bullet.gif);}

#date {
text-align: right;
padding-right: 15px;
padding-top: 5px;
padding-bottom: 10px;
font-weight:bold;
}

#next {
text-align: center;
padding-top: 30px;
padding-bottom: 30px;
}

img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
img.alignright {
    padding: 4px;
    margin: 0 0 2px 7px;
    display: inline;
}
img.alignleft {
    padding: 4px;
    margin: 0 7px 2px 0;
    display: inline;
}
.alignright {
    float: right;
}
.alignleft {
    float: left;
}

.box_img_border{
   border: 4px solid #000;
}

/************************
メインコンテンツ
************************/
#main {
float: left;
width: 100%;
padding-bottom:10px;
}

/*************
/* フッター
*************/
#footerUpper{
text-align: center;
clear:both;
margin-top: 10px;
padding: 20px 0;
overflow: hidden;
background:#aca394;
}

#footerUpper a{text-decoration:none;}

#footerUpper a:hover{color:#ccc;}

#footerUpper .inner{overflow: hidden;
font-size: 13px;
}

#footerLower{
overflow: hidden;
border-top:1px solid #333;
background:url(images/pattern.png) repeat 0 0;
}

#footerLower .inner{
text-align: center;
position:relative;
min-height: 60px;
color: #fff;
font-size:11px;
}

* html #footerLower .inner{height:60px;}

#footerLower .inner p{
position:absolute;
top: 10px;
padding-bottom: 5px;
}

#footerLower .inner p#contact{right:0;}

/*************
/* テーブル
*************/
table {
	width: 100%;
	border-collapse: collapse;
}
th.t_top {
    border-top: #b3b3b3 4px solid;
}
th {
	border-bottom: #e3e3e3 1px solid;
	border-left: #e3e3e3 1px solid;
	text-align: left;
	background: #fdf4e1;
	padding: 10px;
	font-weight: normal;
}
td.t_top {
	border-top: #be1309 4px solid;
}
td {
	border-bottom: #e3e3e3 1px solid;
	border-right: #e3e3e3 1px solid;
	text-align: left;
	padding: 10px;
}
