/*	
theme Name: myousenji-yahatahigashi-202308
Author: wavedesign
Description: original theme	
*/

html,body {
	width: 100%;
	height: 100%;
	margin: 0 auto;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-size: 15px;
	-webkit-text-size-adjust: 100%;
	line-height: 1.5;
	font-family: "Ryumin Regular KL","Noto Serif JP", serif;
	font-weight: 500;
	font-feature-settings: "palt" 1;
	webkit-font-feature-settings: "palt" 1;
	-moz-font-feature-settings: "palt" 1;
	letter-spacing: 0.05em;
	color: #333 !important;
	min-height: 100vh; /* ←コンテンツの高さの最小値＝ブラウザの高さに指定 */
	position: relative;/* ←相対位置 */
	padding-bottom: 60px; /* ←フッターの高さを指定 */
	box-sizing: border-box;
}

h1,h2,h3 {
	font-family: "Ryumin Bold KL","Noto Serif JP", serif;
	text-align: justify;
}

p { letter-spacing: 0.125em; }

a,
a:visited,
a:active {
	text-decoration: none;
	color: inherit;
}

a:hover { text-decoration : underline; }

img {
	max-width: 100%;
	height:auto;
	display:block;
	margin: 0;
	padding: 0;
	border: none;
}

h1, h2, h3 { line-height: 1.5; }

ul,table { box-sizing : border-box; }

li { list-style: none; }

.caption { font-size: 13px; }

figcaption {
	font-size: 15px;
	line-height: 1.5;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

.home-contents h2 br { display: none; }

.contact-address { display: none !important; }

nav.NavMenu ul li a,
.heading,
.outline p {
	font-family: 'BIZ UDPMincho', serif;
}

.container {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

#nav {
	width: 50px;
	height: 50px;
	position: fixed;
	z-index: 999;
}


/*ナビメニューのスタイルを指定*/
	nav.NavMenu{
	position: fixed; /*表示位置を固定*/
	z-index: 2; /*重ね順を変更*/
	top: 0; /*表示位置を指定*/
	right: 0; /*表示位置を指定*/
	width: 100%; /*全幅表示*/
	transform: translateX(150%); /*ナビを上に隠す*/
	transition: all 0.6s; /*アニメーションの時間を指定*/
}

nav.NavMenu ul {
	height: 100vh;
	width: 100%;
	margin: 100px 0 0;
	background: #563640;
}

nav.NavMenu ul li {
	height: 70px;
	width: 100%;
	padding: 0;
	font-weight: normal;
	border-top: 1px dotted #ffffff;
}

nav.NavMenu ul li:last-child {
	padding-bottom: 0;
	border-bottom: 1px dotted #ffffff;
}

nav.NavMenu ul li a {
	height: 70px;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #ffffff;
	text-align: center;
	line-height: 1;
}

/*トグルボタンが押されたときに付与するクラス*/
nav.NavMenu.active {
	transform: translateX(0%);
}

/*トグルボタンのスタイルを指定*/
.Toggle {
	display: block;
	position: fixed;    /* bodyに対しての絶対位置指定 */
	right: 10px;
	width: 42px;
	height: 47px;
	cursor: pointer;
	z-index: 3;
	background: #563640;
}

.Toggle p {
	font-size: 10px;
	font-weight: bold;
	color: #fff;
	left: 6px;
	bottom: 0;
	position: absolute;
}
 
.Toggle div span {
	display: block;
	position: absolute;
	width: 30px;
	border-bottom: solid 2px #fff;
	-webkit-transition: .35s ease-in-out;	/*変化の速度を指定*/
	-moz-transition: .35s ease-in-out;		/*変化の速度を指定*/
	transition: .35s ease-in-out;			/*変化の速度を指定*/
	left: 6px;
}
 
.Toggle div span:nth-child(1) {
	top: 9px;
}
 
.Toggle div span:nth-child(2) {
	top: 18px;
}
 
.Toggle div span:nth-child(3) {
	top: 27px;
}
 
/* 最初のspanをマイナス45度に */
.Toggle.active span:nth-child(1) {
	top: 18px;
	left: 6px;
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	transform: rotate(-45deg);
}
 
/* 2番目と3番目のspanを45度に */
.Toggle.active span:nth-child(2),
.Toggle.active span:nth-child(3) {
	top: 18px;
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	transform: rotate(45deg);
}

.head-menu-page > div,
.head-menu {
	height: 100px;
	width: 100%;
	padding: 10px;
	display: flex;
	position: fixed;
	top: 0;
	z-index: 9999;
	background: #fff;
}

header {
	height: 100px;
	width: 100%;
	z-index: 9999;
}

.sitename {
	width: 100%;
	height: 80px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.sitename img {
	width: auto;
    height: 80px !important;
}

.head-phone-number-wrap { gap: 0; }

.head-phone-number {
	line-height: 1.3;
	font-size: 26px;
	display: flex;
	align-items: center;
	gap: 5px;
}

.head-phone-number img {
	height: 20px;
	width: auto;
}

.head-instagram img { height: 26px; }

.cover,
.head-image {
	min-height: 200px !important;
	display: initial !important;
}

.head-image { padding: 0 0 30px; }

.cover p {
	color: #fff;
	text-shadow: 5px 5px 12px #412b00, -5px 5px 12px #412b00, 8px -8px 12px #412b00, -5px -5px 12px #412b00;
	writing-mode: vertical-rl;
    font-family: 'BIZ UDPMincho', serif;
}

.home-contents,
.contents__attempt,
.contents-inner,
.contents__event { width: 90%; }

.home-contents { margin: 0 auto 30px; }

.contents-inner,
.contents__event { margin: 0 auto 30px !important; }

.heading { font-size: 18px; }

.outline {
	width: 100%;
	margin: 0 0 30px;
	padding: 2em 5%;
	line-height: 1.8;
	text-align: justify;
	background: url(images/common/background.webp)#eaeaea no-repeat center center;
	background-size: cover;
}

.greeting {
	font-size: 18px;
	text-align: center;
}

.gassyou { text-align: right; }

.home-contents > div section h3 { margin: 10px auto 0 !important; }

.home-contents > div section p.link { margin: 0 auto !important; }

.home-contents > div section,
.home-contents > div > div section { margin: 0 auto 40px; }

.home-sub-contents {
	grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
}

.contents h1,
.contents__attempt h2,
.contents__event h2,
.contents-inner h2,
.attempt h2,
.home-contents > div section h3,
.attempt h3,
.ossuary h2,
.joint-grave h2 {
	font-size: 22px;
	letter-spacing: 0.25em;
	font-weight: 500;
}

.joint-grave h3 {
	font-weight: 500;
}

.home-contents h2 {
	margin: 0 0 20px;
	font-size: 20px;
	font-weight: 500;
}

.attempt,
.ossuary {
	width: 100%;
	margin: 0 auto 30px !important;
	padding: 30px 5%;
}

.attempt,
.flow,
.ossuary,
footer,
.joint-grave-flow {
	background: url("images/common/background.webp")#eaeaea no-repeat center center;
	background-size: cover;
}

.attempt-grid {
	padding: 20px 0 0;
	gap: 20px;
}

.attempt__image {
	padding: 20px 0 0;
}

.page-desc h2 {
	margin: 0;
	font-size: 22px;
}


.wp-block-post-excerpt__more-text a,
.link a {
	margin: 0.5em 0 0 !important;
	padding: 0 0 0.25em;
	border-bottom: solid 1px;
}

.link a { display: inline-block; }

.map {
	height: 400px;
	width: 100%;
}

.home-contenmts,
.page-desc,
.ggmap > div {
	width: 90%;
	margin: 0 auto 30px;
}

.page-desc-column { margin: 2em auto 0; }

.page-desc-column > div > div { margin: 0 0 2em; }

.page-desc figure { margin: 0; }

.instagram { margin: 0 auto 30px; }

.information-gallery { padding: 10px 0 0; }

.information-gallery figure,
.contents__event-gallery figure { position: relative; }

.information-gallery figure figcaption,
.contents__event-gallery figure figcaption {
	margin: 0 !important;
	position: absolute;
	bottom: 5px;
	left: 5px;
	color: #fff;
	text-shadow: 2px 2px 8px #000, -2px 2px 8px #000, 2px -2px 8px #000, -2px -2px 8px #000;
}

.amitabha-buddha,
.scripture { padding: 30px 0 0; }

.contents__figure-small { padding: 0 0 30px; }

.message {
	margin: 0 auto 20px;
	gap: 20px;
}

.message p {
	width: 90%;
	margin: 0 auto !important;
}

.message figure img {
    height: 150px;
    object-fit: cover;
}

.religion { width: 100%; }

.religion table td { border: 1px solid #c9c9c9; }

.religion table td:first-of-type {
	width: 30%;
	max-width: 120px;
	background: #eaeaea;
}

.religion table td span {
	font-size: 12px;
	display: block;
}

.flow {
	margin: 30px auto 0 !important;
	padding: 20px;
}

.joint-grave {
	margin: 0 auto 30px !important;
	padding: 0 20px;
}

.joint-grave-flow {
	margin: 20px auto 0 !important;
	padding: 20px;
}

.flow h2,
.joint-grave h3 {
	width: 100%;
	margin: 0 auto 10px !important;
	padding: 0 0 10px;
	text-align: center;
	border-bottom: solid 1px;
}

.service { margin: 30px auto 0 !important; }

.service h2 {
    margin: 0 auto !important;
}

.memorial-service-name {
	width: 100%;
    padding: 10px 0 0;
}

.memorial-service-name p:first-of-type {
	margin: 0 0 10px;
	padding: 5px 10px;
	background: #eaeaea;
}

.contact {
	width: 60%;
	min-width: 200px;
	margin: 0 auto 40px !important;
	padding: 10px 20px;
	gap: 0;
	border-radius: 16px;
}

.phone-number {
	font-size: 24px;
	font-weight: bold;
	display: flex;
	align-items: center;
	gap: 5px;
}

.phone-number img {
	height: 18px;
	width: auto !important;
}

.ossuary-list {
	width: 100%;
	padding: 0 0 10px;
	display: grid;
	gap: 10px;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr 1fr;
}

.ossuary-list li,
.joint-grave-flow ul li {
	padding: 10px;
	text-align: center;
	background: #fff;
}

.joint-grave-flow ul {
	width: 100%;
	margin: 10px auto 0 !important;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(2, 1fr);
	grid-column-gap: 10px;
	grid-row-gap: 10px;
}

.joint-grave-flow ul li:first-of-type { grid-area: 1 / 1 / 2 / 3; }
.joint-grave-flow ul li:nth-of-type(2) { grid-area: 2 / 1 / 3 / 2; }
.joint-grave-flow ul li:nth-of-type(3) { grid-area: 2 / 2 / 3 / 3; }

.ossuary > div {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ossuary h2 { text-align: center; }

.flow figure img {
	height: 12px;
	width: auto;
	margin: 0 0 0 100px;
}

.special-memorialservice figure img,
.contents__event-gallery figure img{ object-fit: cover; }

.special-memorialservice {
	grid-template-columns: repeat(2, 1fr) !important;
}

.contents__event-image,
.contents__event-gallery,
.special-memorialservice,
.contents__attempt__section-gallery { gap: 20px; }

.contents__attempt { margin: 0 0 30px !important; }

.contents__attempt__section { padding: 0 0 20px; }

.contents__attempt__section:first-of-type { padding: 30px 0 20px; }

.contents__attempt__section:last-of-type { padding: 30px 0 0; }

.contents__attempt__section h3 {
	font-weight: normal;
}

.special-memorialservice figure:first-of-type { grid-area: 1 / 1 / 2 / 3; }

.special-memorialservice figure:nth-of-type(2) { grid-area: 2 / 1 / 3 / 2; }

.special-memorialservice figure:last-of-type  { grid-area: 2 / 2 / 3 / 3; }

.contents__attempt__section figcaption,
.special-memorialservice figcaption { margin: 0; }

.event-schedule { padding: 30px 0 0; }

.contents__event-image { padding: 30px 0; }

.contents__event-outer,
.contents__event-outer-summer { gap: 20px; }

.contents__event-desc {
	padding: 15px 0 0;
	align-items: stretch !important;
	gap: 10px;
}

.contents__event-outer figcaption { margin-bottom: 0;}

.contents__event-desc { padding: 0; }

.contents__event-outer { padding: 30px 0 0; }

.contents__event-outer-summer { padding: 30px 0; }

.eventcalendar__inner-title {
	width: 18%;
	padding: 5px;
	background: #412b00;
}

.eventcalendar__inner-title p {
	height: 100%;
    width: 100%;
	color: #fff;
	display: flex;
    justify-content: center;
    align-items: center;
	border: solid 2px #957431;
}

.eventcalendar__inner-text { width: 82%; }

.contents__event { margin: 0 auto 30px !important; }

.contents__event-desc h2 {
	font-size: 20px;
	font-weight: normal;
}

.contents__event-other {
	width: 100%;
	padding: 20px 0 0;
	font-size: 20px;
}

.contents__event-other span { font-size: 16px; }

.flow__inner-item {
	height: 40px;
	width: 40px;
    padding: 5px;
    border-radius: 50%;
	border: solid 1px;
    text-align: center;
	font-weight: bold;
	display: flex;
    align-items: center;
    justify-content: center;
	flex-shrink: 0;
}






footer {
	margin-top: auto !important;
	padding: 0 !important;
}

footer > div {
	width: 90%;
	margin: 0 auto 44px;
}

footer p {
	font-size: 13px;
	text-align: center;
}

.symbol-color {
	width: 60%;
	margin: 0 auto;
}

.footer-logo {
	width: 50%;
	margin: 20px auto 10px;
}

footer nav { margin: 1em 0 0; }

footer .foot-phone { font-size: 18px; }

footer nav ul.foot-nav {
	margin: 0 0 1em !important;
	gap: 0 !important;
	font-size: 13px;
	display: flex;
	justify-content: center;
}

footer nav li::after {
	margin: 0 3px;
	content: '/';
	display: inline-block;
}

footer nav li:last-of-type::after { content: ''; }

.foot-contact {
	height: 34px;
	margin: 0 auto;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #fff;
	background: #563640;
	position: fixed;
    bottom: 0;
}

.foot-contact p,
.foot-contact p a {
	line-height: 34px;
	width: 100%;
	text-align: center;
	display: block;
}

.foot-contact p a {
	border-left: solid 1px #fff;
}

.foot-contact p.phone a::before {
	margin: 0 5px 0 0;
	content: "";
    display: inline-block;
    width: 13px;
    height: 16px;
    background-image: url('images/common/phone-icon-white.png');
    background-position: center;
    background-size: contain;
}

.foot-contact p a::before {
	margin: 0 5px 0 0;
	content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url('images/common/instagram.png');
    background-position: center;
    background-size: contain;
}


p#pageTop {
	height: 40px;
	width: 40px;
	display: block;
	position: fixed;
	right: 0;
	bottom: 34px;
	background: #4c2e80;
}

p#pageTop a {
	height: 40px;
	width: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
}

p#pageTop img { width: 25px; }

.foot-info { text-align: center; }










@media screen and (min-width: 430px) {

body { font-size: 16px; }

}







/* タブレット */
@media screen and (min-width: 768px) {

.home-contents h2 br { display: block; }
	
nav.NavMenu ul  { margin: 100px 0 0; }

.page-desc h2,
.contents h1,
.contents__attempt h2,
.contents__event-desc h2,
.contents-inner h2,
.attempt h2,
.home-contents > div section h3,
.attempt h3,
.ossuary h2,
.ossuary h3,
.joint-grave h2,
.joint-grave h3,
.contents__event-other { font-size: 24px; }

.contents__attempt__section h3 {
	margin: 0 auto !important;
	font-size: 22px;
	text-align: center;
}

header {
	position: fixed;
	width: 100%;
	transition: .3s;
}

.head-menu-page > div { position: initial; }

.cover {
	min-height: 400px !important;
	margin: 100px 0 0;
}

.head-image {
	min-height: 400px !important;
    padding: 100px 0 30px;
}

.cover p {
	line-height: 2;
	font-size: 22px !important;
	letter-spacing: 0.125em;
}

.contents-page { margin: 100px auto 30px; }

.outline > div {
	height: 320px;
	display: flex;
	justify-content: center;
	flex-direction: row-reverse;
}

.outline p {
	line-height: 1.8;
	display: inline-block;
	writing-mode: vertical-rl;
	letter-spacing: 0.125em;
}

.home-contents h2 {
	line-height: 1.8;
	text-align: center;
	font-size: 22px;
}

.home-sub-contents {
	gap: 30px;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.attempt-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }

.information-gallery {
	display: grid;
	grid-template-columns: repeat(6, 1fr) !important;
	grid-template-rows: repeat(1, 1fr);
	gap: 10px;
}

.information-gallery figure:first-of-type { grid-area: 1 / 1 / 2 / 7; }
.information-gallery figure:nth-of-type(2) { grid-area: 2 / 1 / 3 / 3; }
.information-gallery figure:nth-of-type(3) { grid-area: 2 / 3 / 3 / 5; }
.information-gallery figure:nth-of-type(4) { grid-area: 2 / 5 / 3 / 7; }
.information-gallery figure:nth-of-type(5) { grid-area: 3 / 1 / 5 / 5; }
.information-gallery figure:nth-of-type(6) { grid-area: 3 / 5 / 4 / 7; }
.information-gallery figure:nth-of-type(7) { grid-area: 4 / 5 / 5 / 7; }
.information-gallery figure:nth-of-type(8) { grid-area: 5 / 1 / 6 / 4; }
.information-gallery figure:last-of-type { grid-area: 5 / 4 / 6 / 7; }

.message { margin: 0 auto 60px; }

.contents-attempt,
.contents-inner,
.contents__event { margin: 0 auto 60px !important; }

.main-text { line-height: 1.8; }

.religion table td:first-of-type {
    width: 180px;
    max-width: initial;
}

.religion table td { padding: 15px; }

.religion table td span { letter-spacing: 0; }

.flow,
.joint-grave-flow { padding: 40px; }

.flow { gap: 15px; }

.flow__inner { gap: 1em; }

.flow__inner p:nth-of-type(2) { width: 560px; }

.service > p { margin: 0 auto !important; }

.memorial-service-name > div {
	display: flex;
	justify-content: space-between;
	align-items: stretch;
}

.memorial-service-name p:first-of-type {
	min-width: 180px;
	width: 27%;
	margin: 0;
	padding: 10px;
	display: flex;
    align-items: center;
    justify-content: center;
}

.memorial-service-name p:nth-of-type(2) {
	min-width: 490px;
	width: 70%;
	display: flex;
    align-items: center;
}

.page-desc-column > div {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 2em 4%;
}

.page-desc-column > div > div { width: 48%; margin: 0; }

.flow h2,
.joint-grave h3 { margin: 0 auto 30px !important; }

.message figure img { height: 250px; }

.contact {
	width: 300px;
	min-width: auto;
	margin: 0 auto 50px !important;
	padding: 15px;
}

.ossuary { padding: 50px 5%; }

.ossuary-list {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: initial;
}
	
.grave-gallery {
	display: grid !important;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(1, 1fr);
	grid-column-gap: 10px;
	grid-row-gap: 0px;
}
	
.grave-gallery figure:first-of-type { grid-area: 1 / 1 / 2 / 3; }
.grave-gallery figure:nth-of-type(2) { grid-area: 2 / 1 / 3 / 2; }
.grave-gallery figure:nth-of-type(3) { grid-area: 2 / 2 / 3 / 3; }

.joint-grave {
	width: 90%;
	margin: 0 auto 50px !important;
	padding: 0;
}

.joint-grave-flow ul {
	grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
}
	
.joint-grave-flow ul li:first-of-type,
.joint-grave-flow ul li:nth-of-type(2),
.joint-grave-flow ul li:nth-of-type(3) { grid-area: initial; }
	
.ossuary-list { padding: 10px 0 20px; }

.eventcalendar__inner-title {
	padding: 10px;
	font-size: 18px;
}

.contents__attempt__section {
    padding: 0 0 40px;
}

.contents__attempt__section:first-of-type {
    padding: 30px 0 40px;
}

.contents__attempt__section p {
	margin: 0 auto 30px !important;
	text-align: center;
}

.flow figure img { margin: 0 0 0 150px; }

.contents__figure-small { width: 400px; }

.service {margin: 50px auto 0 !important; }

.contents__event-desc { gap: 1em; }

.eventcalendar__inner-text { gap: 0.25em; }
	
.attempt__image {
	width:400px
}
	
.contents__event-outer {
    padding: 50px 0 0;
}
	
.contents__event-outer-summer {
    padding: 50px 0;
}





.footer-logo {
	width: 220px;
	margin: 40px auto 20px;
}

footer {
	padding: 0 0 5px !important;
	text-align: center;
}

footer br { display: none; }

.symbol-color { width: 300px; }

nav.foot-nav ul { justify-content: center; }

.copyright { text-align: center; }

p#pageTop { bottom: 0; }



}




/* タブレット横 */
@media screen and (min-width: 1024px) {

.foot-contact { display: none; }

.outline > div { height: 280px; }

.contact-address {
	margin: auto 0;
	position: absolute;
	top: 0;
	right: 10px;
	bottom: 0;
	display: flex !important;
}

.home-contents h2 {
	margin: 0 auto 60px;
	font-size: 24px;
}

.attempt,
.ossuary { padding: 50px 5%; }

.sitename {
	height: 140px;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.sitename img {
	width: auto;
    height: 140px !important;
}

.contents-page { margin: 210px auto 30px; }

footer p,
footer nav ul.foot-nav { font-size: 16px; }

footer .foot-phone { font-size: 24px; }

.Toggle { display: none; }

.home-contents,
.outline,
.page-desc,
.instagram,
.attempt,
.ggmap > div,
.ossuary { margin: 0 auto 80px; }

.contents-inner,
.contents__attempt,
.contents__event { margin: 0 auto 80px !important; }

.outline { padding: 3em 5%; }

.head-menu-page > div,
.head-menu { justify-content: space-between; }

header { width: 100%; }

header,
.head-menu-page > div { height: 180px; }

.site-name,
.site-name > div,
#nav,
nav.NavMenu ul li,
nav.NavMenu ul li a { height: 140px; }

.head-menu-page > div {
	padding: 20px 20px;
	background:rgba(255,255,255,0.9);
}

#nav {
	width: auto;
	position: absolute;
	left: 20px;
}

nav.NavMenu {
	position: initial;
	width: 100%;
	transform: initial;
}

nav.NavMenu ul {
	height: auto;
	width: 100%;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: row-reverse;
	background: none;
}

nav.NavMenu ul li {
	width: auto;
	border-top: none;
	writing-mode: vertical-rl;
}

nav.NavMenu ul li:last-child { border-bottom: none; }

nav.NavMenu ul li a {
	padding: 0 10px;
	color: #333;
	justify-content: initial;
}

.cover,
.head-image {
	min-height: 470px !important;
	margin: 180px 0 0;
}

.cover { padding: 40px !important; }

.cover p { font-size: 26px !important; }

.page-desc { width: 750px; }

.head-image { padding: 180px 0 50px }

.information-gallery { padding: 50px 0 0; }

.contents h1,
.contents__attempt h2,
.contents-inner h2,
.ossuary h2,
.joint-grave h2,
.joint-grave h3 { font-size: 28px; }

.information-gallery-grid > div > figure img { height: 200px; }

.information-gallery-grid > div > .div1 img,
.information-gallery-grid > div > .div2 img { height: 410px; }

.flow {
    margin: 50px auto 0 !important;
    padding: 50px 80px;
}

.memorial-service-name p:first-of-type { width: 27%; }

.memorial-service-name p:nth-of-type(2) { width: 71%; }

.memorial-service-name { padding: 20px 0 0; }

.message figure img { height: 320px; }

.contact { margin: 0 auto 80px !important; }

.joint-grave { margin: 0 auto 80px !important; }

.joint-grave-flow {
    margin: 50px auto 0 !important;
	padding: 50px 80px;
}

.flow__inner p:nth-of-type(2) { width: 700px; }

.scripture { width: 500px; }

.contents__figure-small {
	width: 500px;
	padding: 0 0 40px;
}
	
.attempt__image {
	width:500px
}


footer > div { margin: 0 auto 10px; }




}




/* PC */
@media screen and (min-width: 1180px) {

.cover,
.head-image { min-height: 500px !important; }

.latest-news ul,
.ggmap > div,
.contents-page,
.attempt-grid { width: 1100px; }

.head-image { padding: 180px 0 70px; }

.home-contents,
.contents__attempt,
.contents__event,
.contents-inner,
.contents-page,
.ossuary > div,
.joint-grave,
.contents-inner-event { width: 900px; }

.home-contents h2 { margin: 0 0 80px; }

.home-contents,
.outline, .page-desc, .instagram, .attempt, .ggmap > div {
	margin: 0 auto 80px;
}

.attempt-grid { margin: 0 auto; }

.message p { width: 900px; }

.message figure img { height: 350px; }

.contents h1,
.contents__attempt h2,
.contents-inner h2,
.joint-grave h2 { font-size: 34px; }

.contents__attempt__section h3 { font-size: 25px; }

.outline p {
	font-size: 18px;
	line-height: 2;
}

.map { height: 500px; }

.contents-page { margin: 210px auto 60px; }

.contact { padding: 20px; }

.contact p { font-size: 18px; }

.contact p.phone-number { font-size: 26px; }

.contact p.phone-number img { height: 22px; }

.attempt,
.ossuary { margin: 0 auto 50px !important; }
	
.ossuary { padding: 50px 0; }

.ossuary > div { margin: 0 auto; }

.home-thumbnail img { height: 240px !important; }

.flow { margin: 60px auto 0 !important; }

.contents__attempt__section { padding: 0 0 80px; }

.contents__attempt__section:first-of-type { padding: 60px 0 80px; }

.amitabha-buddha,
.scripture,
.information-gallery { padding: 60px 0 0; }

.contents__event-image { padding: 60px 0; }




}



@media screen and (min-width: 1366px) {

.cover,
.head-image { min-height: 600px !important; }

.cover p { font-size: 30px !important; }

.outline > div { height: 360px; }

.message,
.home-contents,
.outline,
.page-desc,
.instagram,
.attempt,
.ggmap > div,
.ossuary { margin: 0 auto 100px; }
	
.contact,
.contents-inner,
.contents__attempt,
.contents__event { margin: 0 auto 100px !important; }

.contents h1,
.contents__attempt h2,
.contents-inner h2,
.joint-grave h2 { font-size: 38px; }
	
.attempt h2,
.flow h2,
.ossuary h3 { font-size: 28px; }
	

.memorial-service-name:first-of-type { padding: 40px 0 0; }

.message figure img { height: 500px;}

.contact p.phone-number { font-size: 30px; }

.contact p.phone-number img { height: 26px; }





}