@charset "euc-jp";
/* CSS Document */

.boxcontainer#memoirmv {
	text-align: center;
}
#memoirmv p#basephoto {
	position: relative;
	padding: 0 !important;
	margin: 0 !important;
}
#memoirmv h1 {
	position: absolute;
	padding: 0 !important;
	margin: 0 !important;
	width: 50%;
	top: 0;
	right: 5%;
}
#memoirmv h1::after {
	content: none;
}
#memoirmv .box {
	text-align: center;
	padding: 0 !important;
}
#memoirmv .mvl {
	width: 70.7%;
	position: relative;
}
#mv-txtbox {
	display: block;
	position: absolute;
	width: 62%;
	height: auto;
	padding: 1em;
	left: 6%;
	bottom: 1.5em;
	border-radius: 8px;
	background-color: rgba(17, 123, 70, 0.4);
}
#mv-txtbox p {
	color: #FFF;
	line-height: 1.5;
	margin: 0;
	text-align: left;
}
#memoirmv .mvs {
	width: 28.3%;
	text-align: center;
}
#memoirmv .mvs ul {
	list-style: none;
	text-align: center;
}
#memoirmv .mvs li {
	border-left: solid 2px #FFF;
	border-bottom: solid 2px #FFF;
}

#top-memoir .boxcontainer {
	margin-bottom: 2em;
}

/* KAKUDAI ICON
----------------------------- */
#stone-design .photo a, 
#engraving .box a {
	display: block;
	position: relative;
}
#stone-design .photo a::after, 
#engraving .box a::after {
	position: absolute;
	bottom: 0;
	right: 0;
	margin: 0;
	content:"";
	display:inline-block;
	width: 20px;
	height: 20px;
	background: url(../images/zoom.png) no-repeat; 
	background-size: contain;
}

/* STONE DESIGN LIST
----------------------------- */
#stone-design .box {
	width: 24.75%;
	padding: 0 0.8em;
	margin-bottom: 3em;
}
#stone-design p.photo {
	margin: 0;
}
#stone-design .box h3 {
	border-bottom: solid 1px #CCC;
	margin: 0.5em 0;
}
#stone-design .box h3 a {
	display: block;
	color: #000;
	text-decoration: none;
	position: relative;
	padding-left: 1em;
}
#stone-design .box h3 a::before {
	display: block;
	content: '';
	position: absolute;
	top: 50%;
	left: .2em;
	width: 6px;
	height: 6px;
	margin-top: -6px;
	border-right: 2px solid #E49AAD;
	border-bottom: 2px solid #E49AAD;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}
#stone-design .box h3 a:hover {
	color: #F99F9F;
}
#stone-design .box p {
	margin: 0;
	line-height: 1.5;
	font-size: 90%;
	color: #333;
}

/* BLAST DESIGN */
#engraving .box {
	width: 33%;
	padding: 0 1em;
	margin-bottom: 2em;
}
#engraving .box a {
	display: block;
	border: solid 1px #CCC;
}
#engraving .box a:hover {
	border-color: #FCC;
}

@media screen and (max-width:979px){
#mv-txtbox {
	left: 3%;
	padding: 10px;
}
#stone-design .box {
	width: 33%;
}
}

@media screen and (max-width:739px){
#memoirmv .mvl {
	width: 100%;
	border-right: solid 2px #FFF;
	border-bottom: solid 1px #FFF;
	border-left: solid 2px #FFF;
	text-align: center;
}
#memoirmv .mvs {
	width: 100%;
	text-align: center;
}
#memoirmv .mvs ul {
	width: 100%;
	letter-spacing: -.50em;
	margin: 0 auto 10px;
	overflow: hidden;
}
#memoirmv .mvs li {
	display: inline-block;
	vertical-align: top;
	letter-spacing: normal;
	width: 33%;
	border-left: none !important;
	border-right: solid 1px #FFF;
	border-bottom: none;
}
#memoirmv .mvs ul::last-child {
	border-right: none !important;
}
#kengaku .box2 {
	width: 100%;
}
}

@media screen and (max-width:639px){
#stone-design .box {
	width: 49.5%;
}
#engraving .box {
	width: 49.5%;
	padding: 0 .5em;
	margin-bottom: 1em;
}
}

@media screen and (max-width:479px){
#memoirmv h1 {
	width: 60%;
	top: 2%;
	left: 20%;
	right: 20%;
}
#mv-txtbox {
	position: inherit;
	width: 100%;
	left: auto;
	bottom: auto;
	border-radius: 0;
	background:#70B090;
}
}

@media screen and (max-width:319px){
#memoirmv .mvl {
	border-right: solid 1px #FFF;
	border-left: solid 1px #FFF;
}
}
