/* =======================================
基本
 ======================================= */
.square_top01{

}
.square_top{
    position: relative;
    width: 600px;
    height: 850px;
    margin: auto;
    padding: 0px;
    background-image: url(../sozai/back_mo.jpg);
    background-repeat: no-repeat;
}
.square_top2{
    position: relative;
    width: 560px;
    height: auto;
    background-color: #ffffff;
    margin: auto;
    padding-top: 22px;
    padding-right: 20px;
    padding-left: 20px;
    padding-bottom: 50px;
}
.square_top2w{
    position: relative;
    width: 600px;
    height: auto;
    background-color: #ffffff;
    margin: auto;
    padding-top: 22px;
}


.square_yuubin{
    position: relative;
    width: 570px;
    height: auto;
    background-color: #ffffff;
    margin-top: 50px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 60px;
    padding-top: 20px;
    padding-right: 15px;
    padding-left: 15px;
    padding-bottom: 15px;
    border-bottom-color: #666;
    border-top-color: #666;
    border-bottom-style: solid;
    border-top-style: solid;
    border-bottom-width: 1px;
    border-top-width: 1px;
    text-align: left;
}
#kobayashi {
    position: relative;
    width: 400px;
    height: auto;
    z-index: 1;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    padding-top: 30px;
}
/* =======================================
TOPページイメージの文字
 ======================================= */
#top-mail {
    position: relative;
    left: auto;
    width: auto;
    height: auto;
    z-index: 5;
    font-size: 17px;
    right: auto;
    text-align: center;
}

#t001 {
    position: relative;
    width: auto;
    height: auto;
    z-index: 1;
    font-family: 'Noto Serif JP', serif;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
}
.mo001{
    font-size: 60px;
    color: #CD0047;
    font-weight: 500;
    margin-top: 20px;
    height: auto;
    width: auto;
}
#t002 {
    position: relative;
    width: auto;
    height: auto;
    z-index: 1;
    font-family: 'Noto Serif JP', serif;
    font-size: 25px;
    font-weight: 600;
    margin-top: 40px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.mo002{
    font-size: 40px;
    font-weight: 600;
    margin-top: 25px;
    height: auto;
    width: auto;
}
#t003 {
    position: relative;
    width: auto;
    height: auto;
    z-index: 1;
    font-family: 'Noto Serif JP', serif;
    font-size: 100px;
    font-weight: 600;
    line-height: 75px;
    letter-spacing: -4px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5px;
    text-align: center;
}
/*==============================================*/

#apDiv1 {
	position:absolute;
	left:20px;
	top:18px;
	width:auto;
	height:auto;
	z-index:1;
}
txt{
	border: solid 0px #7F9DB9; /*1pxには線の太さ、その後は色*/
	width: 525px; /*横幅*/
	height: 150px; /*空白の大きさ*/
	overflow: auto; /**/
	font-size: 16px;
	padding-top: 3px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 5px;
}
body,td,th {
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size: 18px;
}
body {
	margin-top: 0px;
	margin-bottom: 5px;
	background-color: #FFF;
	padding: 0px;
	margin-right: 0px;
	margin-left: 0px;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size: 18px;
	font-style: normal;
	font-weight: lighter;
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	line-height: 25px;
}
p {
	text-align: left;
	margin: 0px;
	padding: 0px;
	line-height: 140%;
}




div.g_menu {
    width: 490px;
    font-size: 0;
    margin-left: 35px;
    margin-right: 35px;
}
div.g_menu div {
    border: 1px solid #FFF;
	display: inline-block;
	vertical-align: top;
	font-size:0;
}
div.g_menu2 {
    width: 490px;
    font-size: 0;
    margin-left: 35px;
    margin-right: 35px;
}
div.g_menu2 div {
    border: 1px solid #FFF;
	display: inline-block;
	vertical-align: top;
	font-size:0;
}


/* =======================================
お問い合わせ/TOP
 ======================================= */
.square_otoiawase{
    position: relative;
    width: 600px;
    height: 200px;
    margin-right: auto;
    padding: 0px;
    background-color: #eae8e6;
    margin-left: auto;
}
.square_otoiawase2{
    position: relative;
    width: auto;
    height: 200px;
    margin-top: 80px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 50px;
    padding: 0px;
    background-color: #eae8e6;
}
.otoi {
    position: absolute;
    left: 200px;
    top: 30px;
    width: auto;
    height: auto;
    z-index: 1;
}
.otoi2 {
    position: absolute;
    left: 46px;
    top: -50px;
    width: auto;
    height: auto;
    z-index: 50;
}
/* =======================================
プラン/TOP
 ======================================= */
.square_plan{
    position: relative;
    width: 560px;
    height: auto;
    margin-top: 20px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 40px;
    padding-top: 20px;
    padding-right: 20px;
    padding-left: 20px;
    padding-bottom: 20px;
    background-color: #f3f2f1;
}

/* =======================================
フッダー
 ======================================= */
.footer{
    position: relative;
    width: 560px;
    height: auto;
    margin: auto;
    padding-top: 170px;
    padding-right: 20px;
    padding-left: 20px;
    padding-bottom: 40px;
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-size: 16px;
    line-height: 17px;
    background-color: #FFF;
}
.footer2{
    position: relative;
    width: 600px;
    height: auto;
    margin-top: 100px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: auto;
    padding: 0px;
    background-color: #FFF;
    border-top-width: 10px;
    border-top-style: solid;
    border-top-color: #99C4D6;
}
.footer_otoi {
    position: absolute;
    left: 20px;
    top: 24px;
    width: 517px;
    height: auto;
    z-index: 1;
}
.footer_otoi2 {
    position: absolute;
    left: 409px;
    top: -114px;
    width: auto;
    height: auto;
    z-index: 50;
}
.footer_koba {
    position: relative;
    left: auto;
    /* [disabled]top: 21px; */
    width: 560px;
    height: auto;
    z-index: 50;
    font-size: 16px;
    line-height: 20px;
    right: auto;
}
.footer_area {
    position: relative;
    width: 560px;
    height: auto;
    z-index: 50;
    font-size: 15px;
    line-height: 20px;
    left: auto;
    top: 20px;
    text-align: justify;
}
#apDiv_z50 {
	z-index: 50;
	height: auto;
	width: auto;
	position: absolute;
}
/*====================岡山リベッツ====================*/
.rivets{
    position: relative;}
.rivets a {
text-decoration: none;  
    color: #FFFFFF;}

.rivets a{
    width: 488px;
    height: auto;
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
    font-size: 20px;
    line-height: 26px;
    display: block;
    margin-top: 1px;
    background-color: #004FFF;
    font-weight: 600;
    border: 1px solid #FFFFFF;
    margin-left: auto;
    margin-right: auto;
}
 /* 以下マウスを載せたときのスタイル */
.rivets a:hover {
    background-color: #4880FF;
}
 /* ロゴと文字　ならび */
.rivets_menu1 {
    width: 266px;
    position: relative;
    height: auto;
    margin-left: auto;
    margin-right: auto;

}
.rivets_menu2 {
    width: 486px;
    text-align: center;
}

/* =======================================
TOP以外の他ページボタン
 ======================================= */
.square_top3{
	position: relative;
	width:980px;
	height:100px;
	background-color:#ffffff;
	margin: auto;
	padding-top: 30px;
	padding-right: 22px;
	padding-left: 22px;
}
.square_top4_1{
	position: relative;
	width:auto;
	height:110px;
	padding: 0px;
	margin-top: auto;
	margin-bottom: auto;
	background-image: url(../sozai/top_sozai.jpg);
	background-repeat: repeat-x;
}
.square_top4{
	position: relative;
	width:1024px;
	height:110px;
	margin: auto;
	padding: 0px;
}
#kobayashi2 {
	position:absolute;
	left:20px;
	top:48px;
	width:auto;
	height:auto;
	z-index:1;
}
#tel {
	position:absolute;
	left:682px;
	top:54px;
	width:auto;
	height:65px;
	z-index:1;
	text-align: right;
}

/* =======================================
画像自動切替
 ======================================= */
#container {
	width: 100%;
	text-align: center;
}

#viewer {
	margin: 0 0px;
	width: 360px;
	height: 240px;
	text-align: left;
	overflow: hidden;
	position: relative;
}

#viewer img {
	top: 0;
	left: 0;
	position: absolute;
}
/* =======================================
タイプ別　ボタン　縦
 ======================================= */
div.global_menu {
    width:auto;
    font-size: 0px;


}
div.global_menu div {
	width:auto;
	text-align:center;
	vertical-align: top;
	font-size:16px;
        margin-top: 10px;
}

/* =======================================
お問い合わせページ
 ======================================= */
 .otoiawase_yoko{
	height: auto;
	width: 500px;
	margin-right: auto;
	margin-left: auto;
}
 .otoiawase_yoko2{
	height: auto;
	width: 500px;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
	margin-top: 150px;
	margin-bottom: 150px;
}

/* =======================================
動画
 ======================================= */
.dvd {
	text-align: center;
	margin-top:20px;
}

.youtube{
    margin-left: auto;
    margin-right: auto;
    width: 600px;
    height: auto;
    text-align: center;
    margin-bottom: 60px;
}



div.gl_youtube {
    width:600px;
        text-align: center;


}
div.gl_youtube div {

}
div.gl_youtube div:nth-child(1) {
    margin-bottom: 30px;
}



/* =======================================
お知らせ
 ======================================= */
.oshirase{
    margin-left: auto;
    margin-right: auto;
    width: 500px;
    height: auto;
    text-align: left;
    margin-bottom: 40px;
    margin-top: 20px;
    font-size: 80%;
    padding-left: 30px;
    padding-right: 30px;
}
/* =======================================
マウスのると画像を半透明にする
 ======================================= */
.a_img:hover{
	opacity:0.8;/*透明にする*/
}

/* =======================================
センター揃え→左揃え
 ======================================= */
.c_from_j{
    text-align: justify;
}


/* -----------------------------------*/
.g_center{
    text-align: center;
    width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* =======================================
他の
 ======================================= */
.style_r{
    font-size: 140%;
    line-height: 200%;
}
 /* 202003 appendix */
img.tel2 {
    position: relative;
    display: block;
    /* [disabled]right: 24px; */
    /* [disabled]top: 163px; */
    width: 544px;
    height: 80px;
    margin-left: auto;
    margin-right: auto;
}

/* =======================================
TOP価格枠の中
 ======================================= */
div.global_kakaku {
    width:100%;
    font-size: 0px;

}
div.global_kakaku div {

	margin-left: 0px;
	vertical-align: top;
	font-size:16px;
}
div.global_kakaku div:nth-child(1) {
    width:100%;
    margin-left: 0px;
}
    div.global_kakaku div:nth-child(2) {
        font-size:16px;
margin-top: 10px;
    text-align: justify;
}

/* =======================================
TOP　合祀の写真横並び
 ======================================= */
div.global_gou_p{
    width: 100%;
    font-size: 0px;
    margin-bottom: 10px;
}
div.global_gou_p div {
    width: 100%;
    margin-left: 0px;
    vertical-align: top;
    font-size: 16px;
    text-align: center;
 margin-bottom: 20px;
}
div.global_gou_p div:nth-child(1) {}
div.global_gou_p div:nth-child(2) {}

/* =======================================
TOP　ペット供養写真サイズ
 ======================================= */
.pet_p{
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}
