@charset "utf-8";
/* CSS Document */

html * {
	box-sizing: border-box;
}
body{
	margin: 0;
	font-family:sans-serif;
	font-size: 16px;
	background-color: antiquewhite; /*背景色*/
}
/*ヘッダー*/
header{
	background-color: antiquewhite; /*背景色*/
}
.header-container{
	padding: 10px 10px 10px 10px;
}
.header-logo{
    margin: 0 auto;
    width: 220px;
    height: 80px;
    background: url("images/TOPアイコン.png") no-repeat;
    background-size: 220px 80px;
    text-indent: -9999px;
}
/*サイズ切替（パソコンのみ適用）*/
@media screen and (min-width: 768px) {
	/*ヘッダー*/
	.header-logo {
		width: 500px;
		height: 100px;
		background-size: 500px 100px;
	}
}
/*ナビゲーション*/
nav{
	text-align: center;
	background-color: antiquewhite; /*背景色*/
}
nav ul{
	margin: 0;
	padding: 0;
}
nav li{
	list-style: none;
	display: inline-block;
	width: 10%;
	min-width: 90px;
}
nav li:not(:last-child){
	border-right: 2px solid #ddd;
}
nav a{
	text-decoration: none;
	color: #333;
}
nav a.gloalnav{
	color: #00B0F0;
	border-bottom: 2px solid #00B0F0;
}
nav a:hover{
	color: #F7CB4D;
	border-bottom: 2px solid #F7CB4D;
}
nav li{
	font-size: 15px;
	font-weight: bold; /*太字*/
	word-break: keep-all; /*文字幅*/
}

/*フッター*/
footer{}
.footer-container{
	padding: 20px;
	border-radius: 0 0 10px 10px;
	background-color: antiquewhite; /*背景色*/
}
.copyright {
	margin: 0;
	font-size: 0.8rem;
	color: #000000;
}

/*メイン部分*/
/*メインコンテンツの幅*/
.contents{
	background-color: #fff;
}
.contents{
	box-sizing: border-box;
	max-width: 900px;
	margin: 0 auto;
	padding: 20px;
}
/*文字中央配置*/
h2{
	letter-spacing: 15px; /*文字と文字の間隔*/
	text-align: center;
	font-size: 40px;
}

/*画像の大きさ＆中央配置*/
img.css_position_relative{
	position : relative;
	object-fit: cover;
	width: 65%;
	height: 45%;
	top:5px;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.contents p{
	font-size: 20px;
}
/*サイズ切替（パソコンのみ適用）*/
@media screen and (min-width: 768px) {
	.contents p {
		font-size: 1.3rem;
	}	
}
/*h3の配置*/
/*メインコンテンツ2の幅*/
.contents2{
	background-color: #fff;
}
.contents2{
	box-sizing: border-box;
	max-width: 900px;
	margin: 0 auto;
	padding: 20px;
}
/*メインコンテンツ3の幅*/
.contents3{
	background-color: #fff;
}
.contents3{
	box-sizing: border-box;
	max-width: 900px;
	margin: 0 auto;
	padding: 20px;
}
h3{
	letter-spacing: 5px;
	font-size: 20px;
	text-indent: 0.5in; /*左マージンからの配置*/
}
.contents2 p{
	text-indent: 0.7in; /*左マージンからの配置*/
}
/*メインコンテンツ4の幅*/
.contents4{
	background-color: #fff;
}
.contents4{
	box-sizing: border-box;
	max-width: 900px;
	margin: 0 auto;
	padding: 20px;
}
/*サイズ切替（パソコンのみ適用）*/
@media screen and (min-width: 768px) {
	.contents2 h3 {
		font-size: 1.5rem;
	}	
}
/*サイズ切替（パソコンのみ適用）*/
@media screen and (min-width: 768px) {
	.contents2 p {
		font-size: 1.3rem;
	}	
}
/*画像を並べて配置*/
.contents2 img{
	position: relative;
	margin-top: auto;
	object-fit: cover;
	display: inline-block;
	margin-left: 10px;
}
img.person person2 person3{
	position: absolute;
	object-fit: cover;
	margin-top: auto;
}
/*各画像の大きさ*/
img.person{
	width: 130px;
	height: 400px;
	left: 20px;
	float: left;
}
img.person2{
	width: 150px;
	height: 200px;
	left: 60px;
	float: left;
}
img.person3{
	width: 400px;
	height: 400px;
	margin-top: 20px;
	margin-left: 30px;
}
/* ウィンドウ幅が広い時のCSS */
@media screen and (min-width: 768px) {
	/* 画像部分 */
	.maingroup-contents {
		overflow: hidden;
		padding: 30px;
		text-align: left;
	}
	img.person {
		float: left;
		object-fit: cover;
		margin-right: 20px;
		width: 130px;
	}
	img.person2 {
		float: left;
		object-fit: cover;
		margin-right: 10px;
		width: 150px;
	}
	img.person3 {
		float: left;
		object-fit: cover;
		margin-right: 40px;
		margin-top: auto;
		width: 400px;
		left: 80px;
	}
}
/*回り込み解除*/
.float_clear{
	clear: both;
}
/*contents3の文章配置、行間、文字サイズ要調整*/
.contents3 p{
	margin-left: 0.5in;
	line-height: 1.7;
	font-size: 20px;
}
/*サイズ切替（パソコンのみ適用）*/
@media screen and (min-width: 768px) {
	.contents3 p {
		font-size: 1.3rem;
	}	
}
/*contents3の強調部分*/
strong{
	font-weight: normal;
	background: linear-gradient(transparent 55%,#84fab0 55%,#8fd3f4 100%);
}

/*contents3のul ol liの画像配置削除部分*/

/*小型納骨壇配置*/
.contents4 img{
	position: relative;
	margin-top: auto;
	object-fit: cover;
	display: inline-block;
	margin-left: 10px;
}
img.small small2 small3{
	position: absolute;
	object-fit: cover;
	margin-top: auto;
}
img.small{
	width: 45%;
	height: 400px;
	object-fit: cover;
	left: 20px;
}
img.small2{
	width: 18%;
	height: 400px;
	object-fit: cover;
	left: 10px;
}
img.small3{
	width: 25%;
	height: 370px;
	object-fit: cover;
	top: -30px;
}
/* ウィンドウ幅が広い時のCSS */
@media screen and (min-width: 768px) {
	/* 画像部分 */
	.maingroup-contents {
		overflow: hidden;
		padding: 30px;
		text-align: left;
	}
	img.small {
		float: left;
		object-fit: cover;
		margin-right: 20px;
		width: 30%;
	}
	img.small2 {
		float: left;
		object-fit: cover;
		margin-right: 20px;
		width: 10%;
	}
	img.small3 {
		float: left;
		object-fit: cover;
		margin-right: 20px;
		margin-top: 30px;
		width: 13%;
		left: 5px;
	}
}

/*文章の文字サイズ*/
.contents5 p{
	font-size: 20px;
}
/*文章の左マージン、行間*/
.contents6{
	margin-left: 0.5in;
	line-height: 1.7;
}
/*サイズ切替（パソコンのみ適用）*/
@media screen and (min-width: 768px) {
	.contents5 p {
		font-size: 1.3rem;
	}	
}

/*削除部分ul、li、ol、PC適用部分*/

/*削除部分（テーブル部分）*/
