@import url(navi.css);
@import url(class.css);

* {
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	line-height:1.8;
	letter-spacing:1px;
    margin:0;
    padding:0;
}


body {
	text-align:center;
	font-size:small;
	color:#535353;
    margin:0px;
	background-color:#F0F1F4;
}

/* padding ---------------------------------------------------*/

.pdtb10{padding:10px 0;}
.pdtb20{padding:20px 0;}
.pdtb30{padding:30px 0;}
.pdlr10{padding:0 10px;}
.pdlr20{padding:0 20px;}
.pdlr30{padding:0 30px;}
.pdlr40{padding:0 40px;}
.pdr20{padding-right:20px;}
.pdl20{padding-left:20px;}
.pdb20{padding-bottom:20px;}
.pd15{padding:15px;}
.pd10{padding:10px;}



/* マージン---------------------------------------------------*/

.mt5{margin-top: 5px!important;}
.mt10{margin-top: 10px!important;}
.mt20{margin-top: 20px!important;}
.mt40{margin-top: 40px!important;}
.mtb10{margin: 10px 0!important;}
.mtb15{margin: 10px 0!important;}
.mtb20{margin: 20px 0!important;}
.mtb30{margin: 30px 0!important;}
.mtb35{margin: 35px 0!important;}
.mr10{margin-right: 10px!important;}
.mr20{margin-right: 20px!important;}
.mb5{margin-bottom: 5px!important;}
.mb10{margin-bottom: 10px!important;}
.mb15{margin-bottom: 15px!important;}
.mb20{margin-bottom: 20px!important;}
.mb30{margin-bottom: 30px!important;}
.mb40{margin-bottom: 40px!important;}
.ml10{margin-left: 10px!important;}
.ml20{margin-left: 20px!important;}
.mlr10{margin: 0 10px;}
.mlr80{margin: 0 80px;}
.mlt10{margin: 10px 0 0 10px;}
.mt10mb10{margin: 10px 0 10px 0;}

/* clear-------------------------------------------*/

.clear { clear:both; }  

/* リンク------------------------------------------*/

a:link {
	color:#535353;
	text-decoration:none;
	line-height:130%;
}
a:active {
	color:#535353;
	text-decoration:none;
	line-height:130%;
}
a:visited {
	color:#535353;
	text-decoration:none;
	line-height:130%;
}
a:hover {
	color:#535353;
	text-decoration:underline;
	line-height:130%;
}

a:hover img{
    opacity:0.7;
    -moz-opacity:0.7;
    filter:alpha(opacity = 70);
}

/* 見積確認リンク----------------------------------*/

a.pink:link {
	color:#E8788E;
	text-decoration:none;
	line-height:130%;
}
a.pink:active {
	color:E8788E;
	text-decoration:none;
	line-height:130%;
}
a.pink:visited {
	color:#E8788E;
	text-decoration:none;
	line-height:130%;
}
a.pink:hover {
	color:#E8788E;
	text-decoration:underline;
	line-height:130%;
}



/* 画像設定---------------------------------------*/

img{
    max-width:100%;
    width /***/:auto; /* IE8のみ */
    height:auto;
    vertical-align:bottom;
}


#wrapper{
	width:auto;
	min-height: 100%;
	height: auto !important;
	height: 100%;
	text-align: center;

}

/* h1,h2,h3,h4------------------------------------------*/


h1#logo{
	/*padding:70px 30px;*/
	padding:35px 30px;
}

h2#title{
  font-size:1.2em;
  max-width:675px;
  color:#000000;
  padding-bottom:0.6em;
  background:url(../img/global/second_titleline.gif) repeat-x;
  background-position:0% bottom;
  margin-bottom:1em;
  clear:both;
}

h2#title span{
  font-size: 0.7em;
  color:#01AB86;
}

h3#subtitle{
  font-size:1.1em;
  max-width:675px;
  color:#000000;
  border-bottom:#45C1A6 solid 1px;
  margin:1em 0;
  clear:both;
}

h4#minititle{
  font-size:1em;
  max-width:675px;
  color:#000000;
  border-bottom:#CCCCCC dotted 1px;
  margin:1em 0;
  clear:both;
}

/* ヘッダー設定------------------------------------------*/


#headArea {
	background:url(../img/global/top_line.gif) repeat-x;
	width:auto;
	height:auto;
}

/* ヘッダー設定（セカンド）-----------------------------*/


#headArea_second {
	background:url(../img/global/top_line.gif) repeat-x;
	width:auto;
	height:auto;
	margin-bottom:30px;
}


#container {
	max-width:960px;
	height:auto;
	text-align:left;
	margin:0 auto;
}

/* ハンバーガーメニュー---------------------------------*/

#panel-box {
	z-index: 989;
	margin:0;
	padding:0;
}

#panel-btn-box {
	display: block;
	float: right;
	width: 39px;
	height: 39px;
	text-align: center;
	margin:0;
	padding:0;
	z-index:900;
}

#panel-btn{
	display: inline-block;
	position:fixed;
	width: 39px;
	height: 39px;
	margin: 0;
	padding:5px;
	top:10px;
	right:10px;
	z-index:9998;
	background-color: #666666;
}


#panel-btn-icon{
	display: block;
	position: absolute;
	top:17px;
	width: 29px;
	height: 5px;
	margin: 0 0 0 0;
	background: #FFFFFF;
	transition: .2s;
	z-index:9999;
}

#panel-btn-icon:before, #panel-btn-icon:after{
	display: block;
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 29px;
	height: 5px;
	background: #FFFFFF;
	transition: .3s;
}

#panel-btn-icon:before{
	margin-top: -13px;
}

#panel-btn-icon:after{
	margin-top: 7px;
}

#panel-btn .close{
	background: transparent;
}

#panel-btn .close:before, #panel-btn .close:after{
	margin-top: 0px;
	background: #FFFFFF;
}

#panel-btn .close:before{
	transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
}

#panel-btn .close:after{
	transform: rotate(-135deg);
	 -webkit-transform: rotate(-135deg);
}

#panel {
	display: none;
	position:absolute;
	top: 0 !important;
	left:0;
	z-index: 9996 !important;
	width: 100%;
	margin:0;
	padding:0;
	background: rgba(51,51,51,0.8);
	color: #F4778B;
	text-align:left;
	text-indent:2em;
	position:fixed;
}
	
#panel-in {
	width: 100%;
	min-height:auto;
	margin: 0 ;
}
	
#panel-in ul {
	width: 100%;
	list-style:none;
	display: block;
	padding: 0;
	margin-top:45px;
}
	
#panel-in ul li {
	display: block;
	margin: 0;
	line-height: 50px;
	border-bottom: 1px solid #FFFFFF;
}
	
#panel-in ul li a {
	color:#FFFFFF;
	display: block;
	margin: 0;
	line-height: 50px; 
}
	
#panel-in ul li a:hover {
	color:#FFFFFF;
	text-decoration:none;
	background:#969395;
}



/* セカンドベース設定---------------------------------*/

#secondArea{
	width:100%;
	margin-bottom:40px;
	overflow:hidden;
}

.secondAreaL{
	width:22.91666%;
	height:auto;
	float:left;
}


.secondAreaL_logo{
	width:100%;
	height:auto;
	background-color:#FFFFFF;
	margin-bottom:20px;
	text-align:center;
}

.secondAreaL_menu{
	width:100%;
	height:auto;
	background-color:#FFFFFF;
	margin-bottom:20px;
	text-align:center;
}

.secondAreaL_menu-under{
	width:100%;
	height:auto;
	text-align:center;
}

.secondAreaR{
	width:74.47916%;
	height:auto;
	float:right;
}

.secondAreaR_titleimg{
	margin-bottom:20px;
}

.secondAreaR_70L{
	width:67%;
	float:left;
	margin-bottom:20px;
	background-color:#FFFFFF;
}

.welcomebox {
  display: table;
}

.welcomeboxL{
  display: table-cell;
  color:#FFFFFF;
  font-weight:bold;
  background-color:#45C1A6;
  width:6em;
  padding:3px;
  text-align:center;
}

.welcomeboxR {
  display: table-cell;
  vertical-align: middle;
  padding-left:1em;
}

.secondAreaR_30R{
	width:129px;
	height:30px;
	float:right;
	text-align:right;
	margin-bottom:20px;
}

.secondAreaR_contents{
	max-width:675px;
	background-color:#FFFFFF;
	padding:20px;
}

.secondAreaR_3L{
	width:30.37037%;
	float:left;
	margin-right:4.44444%
}

.secondAreaR_3R{
	width:30.37037%;
	float:right;
}


/* セカンドテーブルレイアウト------------------------------*/

.second_infotable{
	width:100%;
	margin-bottom:20px;
	border-collapse:collapse;
}

.second_infotable table{
	width:100%;
}

.second_infotable th{
	padding:10px;
	background-color:#E6E5E5;
	width:30%;
	text-align:left;
	font-weight:bold;
	border:1px solid #CCCCCC;
}

.second_infotable td{
	padding:10px;
	border:1px solid #CCCCCC;
	background-color:#FFFFFF;
}

/* 見積確認-------------------------------------------------*/

.estimateArea{
	width:100%;
	border-bottom: 1px dotted #DDDDDD;	
	overflow:hidden;
}

dl.estimate{
	clear:both;
}

dl.estimate dt{
	margin-top:0.3em;
	margin-bottom:0.3em;
	padding-bottom:0.3em;
	padding-left:1em;
	width: 3em;
	float:left;
}

dl.estimate dd{
	padding-top:0.8em;
	margin-left:5em;
}

/* 遺影写真-------------------------------------------------*/

.photoArea{
	width:100%;
	text-align:center;
	margin-bottom:40px;
	overflow:hidden;
}

.phototext{
	line-height:1.3em;
	margin-top:1em;
}


/* 安心プラン----------------------------------------------*/

.reliableArea{
	width:100%;
	margin-bottom:50px;
	overflow:hidden;
}

.reliable_moneyArea{
	text-align:right;
}

.reliable_moneyArea span{
	padding:5px;
	border:#CCCCCC 1px solid;
	font-weight:bold;
	color:#000000;
}

/* 過去帳詳細---------------------------------------------*/

.memoryArea{
	width:100%;
	margin-bottom:40px;
	overflow:hidden;
}

.memoryAreaL{
	width:30.37037%;
	margin-right:2.96296%;
	float:left;
}

.memoryAreaR{
	width:66.66666%;
	float:right;
	text-align:center;
}

.memory_phototext{
	font-size:0.9em;
	line-height:1.4em;
	margin-top:0.8em;
	text-align:center;
}

.memory_kamonArea{
	width:100%;
	text-align:center;
}

.memory_photoArea{
	width:100%;
	overflow:hidden;
}

.memory_photoAreaL{
	width:48.88888%;
	float:left;
	margin-right:2.22222%;
}

.memory_photoArea_detailL{
	width:47.72727%;
	float:left;
	margin-bottom:10px;
}

.memory_photoArea_detailR{
	width:47.72727%;
	float:right;
	margin-bottom:10px;
}


.memory_photoAreaR{
	width:48.88888%;
	float:right;
}

/* フォーム設定---------------------------------------*/

.formbox{
	float:left;
	line-height:2.5em;
	border:#CCCCCC solid 1px;
	padding:5px;
	margin:0;
	width:97%;
	-webkit-border-radius:5px;
	-moz-border-radius:5px;
	border-radius:5px;
	margin-bottom:15px;
}

.formbt{
	width:100%;
	line-height:2.5em;
	padding:5px;
	font-weight:bold;
	border-style:none;
	background-color:#F0B2BE;
	color:#FFFFFF;
	-webkit-border-radius:5px;
	-moz-border-radius:5px;
	border-radius:5px;
}

button.formbt:hover {
    background-color:#FAC8D2;
}

input[type=checkbox] {
    display: inline-block;
    margin-right: 6px;
}


.formtable{
	width:100%;
	margin-bottom:20px;
	border-collapse:collapse;
}

.formtable table{
	width:100%;
}

.formtable th{
	padding:15px;
	border:1px solid #CCCCCC;
	background-color:#EAE9E9;
	width:30%;
	text-align:left;
	font-weight: normal;
}

.formtable td{
	padding: 15px;
	width:70%;
	background-color:#FFFFFF;
	border:1px solid #CCCCCC;

}

/* フッター設定---------------------------------------*/
 
#footercopyright{	
	max-width:960px;
	height:auto;
	margin:0 auto 15px;
	font-size:0.8em;
}


/* 過去帳トップ（20170517追加）-----------------------*/

.memory_photoArea_bg{
	background-color:#F0F2F1;
	padding:15px 15px 0 15px;
}

.memory_photoArea_top{
	width:50%;
	margin:auto;
	overflow:hidden;
}

.memory_photoArea_listL{
	width:47.72727%;
	float:left;
	margin-bottom:10px;
	text-align:center;
}

.memory_photoArea_listR{
	width:47.72727%;
	float:right;
	margin-bottom:10px;
	text-align:center;
}


.memory_photoArea_arrow{
	width:100%;
	text-align:center;
}

.memory_green{
	font-weight:bold;
	color:#006600;
}


@media only screen and (min-width: 640px)
and (max-width: 2048px){

	.none{display:none}

} 

@media only screen and (max-width: 639px) {

* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

#container {
	width:100%;
}

.formbox{
	width:100%;
}

/* ヘッダー設定（セカンド）-----------------------------*/


#headArea_second {
	margin-bottom:0;
}


/* セカンドベース設定----------------------------------*/

.secondAreaL{
	width:100%;
	float:none;
}

.secondAreaL_logo{
	max-width:100%;
}


.secondAreaL_menu{
	display:none;
}

.secondAreaL_menu-under{
	display:none;
}

.secondAreaR{
	width:100%;
	float:none;
}

.secondAreaR_titleimg{
	display:none;
}

.secondAreaR_70L{
	width:100%;
}


.secondAreaR_30R{
	display:none;
}

.secondAreaR_3L{
	width:100%;
	float:none;
	margin-right:0;
	margin-bottom:40px;
}


.secondAreaR_3R{
	width:100%;
	float:none;
}

/* セカンドテーブルレイアウト------------------------------*/

.second_infotable{
	margin:0;
}

.second_infotable th,
.second_infotable td{
 	width:100%;
	display:block;
    border:none;
}


/* 過去帳詳細---------------------------------------------*/


.memory_photoArea{
	width:100%;
	overflow:hidden;
}

.memoryAreaL{
	width:100%;
	margin-right:0;
	float:none;
	margin-bottom:40px
}

.memoryAreaR{
	width:100%;
	float:none;
	margin:0 auto;
}

.memory_photoAreaL{
	width:100%;
	float:none;
	margin:auto;
}

.memory_photoAreaR{
	width:100%;
	float:none;
}

/* 各種フォーム------------------------------------------*/

.formtable{
	width:100%;
	margin-bottom:20px;
}

.formtable table{
	width:100%;
}

.formtable th{
	padding:15px;
	display:block;
	border:none;
	width:100%;
	text-align:left;
	border-top: none;
	font-weight: normal;
}

.formtable td{
	padding: 15px 0;
	width:100%;
	background-color:#FFFFFF;
	display:block;
	border:none;
	overflow: hidden;
}

/* 過去帳トップ（20170517追加）-----------------------*/

.memory_photoArea_top{
	width:100%;
}


}