@charset "UTF-8";
/*
Theme Name: hamabun
Version: 1.0.0
*/

html {
	scroll-behavior: smooth;
}

body {
	--container: 1130px;
	color: var(--color-body-1);
	font-family: var(--font-family);
	line-height: calc(32 / 16);
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--color-body-1);
	text-decoration: none;
}

:where(a, button):hover {
	opacity: .7;
}

[id] {
	scroll-margin-top: 10px;
}

@media (min-width: 768px) {
	a[href^="tel:"] {
		pointer-events: none;
	}
}


@media(max-width: 767px) {
	[id] {
		scroll-margin-top: 20px;
	}
}

.container {
	padding-right: var(--padding);
	padding-left: var(--padding);
	max-width: calc(var(--container) + var(--padding) + var(--padding));
}

.container-slim {
	--container: 935px;
}

.site-header {
	padding: 50px var(--padding) 0;
}

body:not(.home) .site-header {
	padding: 40px var(--padding);
} 

.site-header-inner {
	max-width: 1315px;
	display: flex;
	justify-content: space-between;
	gap: 30px;
	margin-inline: auto;
}

.site-header-left {
	position: relative;
	z-index: 999;
}

.site-header-logo {
	padding: 0 25px;
	margin-bottom: 0;
	z-index: 999;
}

.site-header-logo a {
	display: flex;
}

body:not(.home) .site-header-logo img {
	width: 95px;
}

.site-menu {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.site-menu-list {
	display: flex;
	align-items: center;
	gap: 10px;
	justify-content: space-between;
	--fs: 15;
	list-style: none;
	padding: 0;	
	margin-bottom: 0;
}

.site-menu-list a {
	display: block;
	--fs: 15;
	padding: 5px 10px;
}

.site-menu-contact {
	margin-left: 10px;
}

.site-menu-contact a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 142px;
	min-height: 46px;
	border: 1px solid var(--color-body);
	border-radius: 30px;
}

.site-header-tel {
	display: grid;
	justify-content: flex-end;
	line-height: 1.5;
}

.site-header-tel a {
	display: flex;
	justify-content: flex-end;
	align-items: baseline;
	gap: 5px;
	--fs: 25;
	font-weight: 600;
}

.site-header-tel p {
	--fs: 11;
	text-align: right;
}

.site-global-nav-button {
	position: relative;
    width: 60px;
    height: 80px;
    background: transparent;
    border: none;
    outline: none;
    padding: 0;
	z-index: 999;
}

.site-global-nav-button span {
	width: 35px;
    height: 2px;
    background: #000;
    position: absolute;
    top: 50%;
    left: 50%;
    transition: .3s;
}

.site-global-nav-button span:nth-child(1) {
	transform: translate(-50%,calc(-50% + 10px));
}

.site-global-nav-button span:nth-child(2) {
	transform: translate(-50%,-50%);
}

.site-global-nav-button span:nth-child(3) {
	transform: translate(-50%,calc(-50% - 10px));
}

body.noscroll .site-global-nav-button span:nth-child(1) {
	transform: translate(-50%,-50%) rotate(-45deg);
}

body.noscroll .site-global-nav-button span:nth-child(2) {
	transform: translate(-50%,-50%) rotate(45deg);
}

body.noscroll .site-global-nav-button span:nth-child(3) {
	opacity: 0;
	visibility: hidden;
}


body.noscroll {
	overflow: hidden;
	touch-action: pinch-zoom;
}

body.noscroll .header-nav-toggle::before {
    background-color: rgba(0, 0, 0, .2);
	bottom: 0;
	content: '';
	left: 0;
	position: fixed;
	right: 0;
	top: 0;
	cursor: default;
	z-index: -2;
}

.fixed-sns {
	position: fixed;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 0 20px;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
	z-index: 500;
}

.fixed-sns a {
	display: flex;
}

.fixed-news {
	position: fixed;
	max-width: 95vw;
	background: #FFF;
	border-radius: 5px 0 0 5px;
	transition: 0.4s;
	right: 0;
	bottom: 20px;
	z-index: 500;
}

.fixed-news.close {
	opacity: 0;
	visibility: hidden;
}

.fixed-news a {
	display: block;
	position: relative;
	max-width: 360px;
	background: linear-gradient(73.07deg, #E0BD7B -1.84%, #FFFFFF 64.14%);
	box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.25);
	border-radius: 5px 0px 0px 5px;
	padding: 20px 25px;
}

.fixed-news-thumbnail {
	margin-bottom: 10px;
}

.fixed-news-thumbnail img {
	max-height: 140px;
	object-fit: contain;
}

.fixed-news-info {
	display: flex;
	align-items: center;
	gap: 5px;
	margin-bottom: 5px;
}

.fixed-news-info span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 90px;
	min-height: 23px;
	--fs: 13;
	color: #FFF;
	background: var(--color-body);
	border-radius: 30px;
	padding: 2px 5px;
}

.fixed-news-title {
	--fs: 15;
	line-height: 1.4;
	letter-spacing: 0;
	margin-bottom: 0;
}

.fixed-news-close {
	width: 40px;
	height: 40px;
	background: #FFF;
	border: 1px solid var(--color-body);
	border-radius: 50%;
	position: absolute;
	top: 0;
	left: 0;
	transform: translate(-30%,-30%);
}

.fixed-news-close::before,
.fixed-news-close::after {
	content: "";
	width: 16px;
	height: 2px;
	background: var(--color-body);
	border-radius: 2px;
	position: absolute;
	top: 50%;
	left: 50%;
}

.fixed-news-close::before {
	transform: translate(-50%,-50%) rotate(45deg);
}

.fixed-news-close::after {
	transform: translate(-50%,-50%) rotate(-45deg);
}


@media(max-width: 1199px) {
	.site-header {
		padding-top: 30px;
	}
	body:not(.home) .site-header {
		padding: 30px var(--padding);
	} 
	.site-header-logo {
		padding: 0 10px;
	}
	.site-header-logo img {
		width: 130px;
	}
	.site-menu-list a {
		padding: 10px 5px;
	}
	.site-menu-contact {
		margin-left: 5px;
	}
	.fixed-sns {
		padding: 0 10px;
	}
}

@media(max-width: 991px) {
	.site-header {
		padding-top: 15px;
		margin-bottom: 15px;
	}
	body:not(.home) .site-header {
		padding: 15px var(--padding);
	} 
	.site-header-logo img {
		width: 115px;
	}
	.site-header-right {
		display: contents;
	}
	.site-menu {
		opacity: 0;
		visibility: hidden;
		background-color: #fff;
		flex-direction: column;
		align-items: center;
		gap: 10px;
		position: absolute;
		top: 0;
		right: 0;
		left: 0;
		padding: 150px var(--padding) 100px;
		z-index: -1;
		transition: right .5s;
		overflow: auto;
		height: 100vh;
		max-height: 100vh;
		z-index: 555;
		transition: 0.5s;
	}
	body.noscroll .site-menu {
		visibility: visible;
		opacity: 1;
	}
	.site-menu-list {
		max-width: 500px;
		width: 100%;
		flex-direction: column;
		gap: 0;
		padding: 0;
	}
	.site-menu-item {
		width: 100%;
		max-width: 250px;
	}
	.site-menu-list a {
		--fs: 16;
		width: 100%;
		display: block;
		padding: 15px 10px;
	}
	.site-menu-item {
		text-align: center;
		border-bottom: 1px solid var(--color-theme-1);
	}
	.site-menu-contact {
		max-width: 100%;
		border: none;
		margin-top: 30px;
		margin-left: 0;
	}
	.site-menu-contact a {
		width: 270px;
		margin-inline: auto;
	}
	.site-header-tel p {
		text-align: center;
	}
	.site-header-tel a {
		justify-content: center;
	}
	.site-header-sns {
		display: flex;
		justify-content: center;
		gap: 15px;
		margin-top: 10px;
	}
}

@media(max-width: 767px) {
	.site-header-logo img {
		width: 100px;
	}
	body:not(.home) .site-header-logo img {
		width: 75px;
	}
	.site-global-nav-button {
		height: 70px;
	}
	.fixed-sns {
		display: none;
	}
}

@media(max-width: 575px) {
	.site-header {
		padding: 15px 0 0;
	}
	body:not(.home) .site-header {
		padding: 15px 0;
	} 
	.site-header-logo {
		padding: 0 var(--padding);
	}
	.site-header-logo img {
		width: 75px;
	}
	.site-global-nav-button {
		height: 60px;
	}
	.site-global-nav-button span {
		width: 30px;
	}
	.site-global-nav-button span:nth-child(1) {
		transform: translate(-50%,calc(-50% + 9px));
	}
	.site-global-nav-button span:nth-child(3) {
		transform: translate(-50%,calc(-50% - 9px));
	}
	.site-menu {
		padding: 100px var(--padding);
	}
}

/*		footer		*/

.footer {
	position: relative;
	padding-top: 125px;
	padding-bottom: 30px;
	overflow: hidden;
}

.footer::before {
	content: "";
	width: min(70%,1036px);
	aspect-ratio: 1036 / 781;
	background: url(img/footer-bg.svg) center / cover;
	position: absolute;
	bottom: 0;
	right: 0;
	transform: translate(10%,10%);
	z-index: -1;
}

.footer-content {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 30px;
	margin-bottom: 240px;
}

.footer-logo {
	display: inline-block;
	margin-bottom: 60px;
}

.footer-address {
	--fs: 16;
	line-height: calc(27 / 16);
	margin-bottom: 35px;
}

.footer-sns {
	display: flex;
	align-items: center;
	gap: 15px;
} 

.footer-menu {
	column-count: 2;
	gap: 100px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-menu li {
	margin-bottom: 30px;
}

.footer-menu li a {
	--fs: 16;
}

.copyright {
	--fs: 11;
	text-align: center;
	margin-bottom: 0;
}

@media(max-width: 991px) {
	.footer {
		padding-top: 80px;
	}
	.footer-content {
		display: block;
		margin-bottom: 100px;
	}
	.footer-left {
		text-align: center;
	}
	.footer-address {
		text-align: start;
		max-inline-size: max-content;
		margin-inline: auto;
	}
	.footer-sns {
		justify-content: center;
	}
}

@media(max-width: 767px) {
	.footer {
		padding-top: 50px;
		padding-bottom: 20px;
	}
	.footer-content {
		margin-bottom: 80px;
	}
	.footer-logo {
		margin-bottom: 30px;
	}
	.footer-logo img {
		width: 115px;
	}
	.footer-address {
		--fs: 15;
		margin-bottom: 25px;
	}
}

.more-link {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 260px;
	width: 100%;
	aspect-ratio: 260 / 80;
	--fs: 20;
	background: url(img/more-link-bg.png) center / 100% 100%, #FFF;
	-webkit-mask: no-repeat center center / 100% 100%;
    mask: no-repeat center center / 100% 100%;
	-webkit-mask-image: url(img/more-link-bg.png);
    mask-image: url(img/more-link-bg.png);
	transition: 0.2s;
}

.more-link:hover {
	color: #FFF;
	opacity: 1;
	background: url(img/more-link-bg_hover.png?v2) center / 100% 100%;
}

.more-link::before {
	content: "";
	width: 16px;
	aspect-ratio: 1 / 1;
	-webkit-mask: no-repeat center center / cover;
    mask: no-repeat center center / cover;
	-webkit-mask-image: url(img/icon-arrow.svg);
    mask-image: url(img/icon-arrow.svg);
	background: var(--color-body);
	position: absolute;
	top: 50%;
	right: 25px;
	transform: translateY(-50%);
	transition: 0.2s;
	z-index: 5;
}

.more-link::after {
	content: "";
	width: 16px;
	aspect-ratio: 1 / 1;
	position: absolute;
	top: 50%;
	right: 25px;
	border-radius: 20px;
	transform: translateY(-50%);
	transition: 0.3s;
}

.more-link:hover::before {
	background: var(--color-theme-1);
}

.more-link:hover::after {
	background: #FFF;
}

.page-link {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	--fs: 20;
	font-size: var(--font-size);
	max-width: 415px;
	min-height: 120px;
	border-top: 1px solid var(--color-body);
	border-bottom: 1px solid var(--color-body);
	margin-top: -1px;
}

.page-link::after {
	content: "";
	width: 14px;
	aspect-ratio: 14 / 13;
	-webkit-mask: no-repeat center center / cover;
    mask: no-repeat center center / cover;
	-webkit-mask-image: url(img/page-link-arrow.svg);
    mask-image: url(img/page-link-arrow.svg);
	background: var(--color-body);
}

.download-link::after {
	width: 30px;
	height: auto;
	aspect-ratio: 1 / 1;
	-webkit-mask: no-repeat center center / cover;
    mask: no-repeat center center / cover;
	-webkit-mask-image: url(img/download-link-icon.svg);
    mask-image: url(img/download-link-icon.svg);
	background: var(--color-body);
}

@media(max-width: 767px) {
	.more-link {
		max-width: 225px;
		--fs: 16;
	}
	.page-link {
		--fs: 16;
		min-height: 90px;
	}
	.page-link::after {
		width: 12px;
	}
	.download-link::after {
		width: 18px;
	}
}

.top-section-title {
	display: grid;
	gap: 20px;
	margin-bottom: 40px;
}

.top-section-title h2 {
	--fs: 18;
	font-size: var(--font-size);
	font-weight: 500;
	letter-spacing: 0.1em;
	margin-bottom: 0;
}

.top-section-title span {
	--fs: 30;
	letter-spacing: 0.05em;
	line-height: calc(43 / 30);
	font-weight: 600;
}

@media(max-width: 767px) {
	.top-section-title {
		gap: 10px;
		margin-bottom: 20px;
	}
	.top-section-title span {
		--fs: 24;
	}
}

/*		fv		*/
.fv {
	--container: 1315px;
	--padding: 60px;
	margin-top: -30px;
	margin-bottom: 90px;
}

.fv-content {
	position: relative;
	display: grid;
}

.fv-title {
	--fs: 56;
    font-size: var(--font-size);
    text-indent: -1.25em;
    letter-spacing: 0.3em;
	line-height: 1.5;
    writing-mode: vertical-rl;
	margin: 2.5em 0 0;
    position: absolute;
    top: 5%;
    right: 10%;
	z-index: 5;
}

.fv-title span {
	display: inline-block;
}

@keyframes fadeInUpCustom {
    0% {
        opacity: 0;
		-webkit-transform: translate3d(0, 10px, 0);
    	transform: translate3d(0, 10px, 0);
    }

    to {
        opacity: 1;
		-webkit-transform: translateZ(0);
    	transform: translateZ(0);
    }
}

.fv-image {
	grid-column: 1 / 2;
	grid-row: 1 / 2;
	-webkit-mask: no-repeat center center / 100% 100%;
    mask: no-repeat center center / 100% 100%;
    -webkit-mask-image: url(img/fv-mask@2x.png);
    mask-image: url(img/fv-mask@2x.png);
	min-height: 650px;
}

.fv-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.fv-link {
	display: flex;
	align-items: end;
	justify-content: center;
	gap: 25px;
	grid-column: 1 / 2;
	grid-row: 1 / 2;
	padding: 15% 0;
}

@media(max-width: 1199px) {
	.fv {
		--padding: 40px;
	}
}

@media(max-width: 991px) {
	.fv {
		margin-top: -60px;
	}
	.fv-title {
		--fs: 50;
		line-height: 1.3;
	}
	.fv-image {
		min-height: 600px;
	}
	.fv-link {
		padding: 15% 0;
	}
}

@media(max-width: 767px) {
	.fv {
		--padding: 15px;
		margin-top: -20px;
		margin-bottom: 50px;
	}
	.fv-title {
		--fs: 40;
		top: 2%;
		right: 5%;
	}
	.fv-image {
		min-height: 500px;
	}
}

@media(max-width: 575px) {
	.fv {
		margin-top: -15px;
	}
	.fv-image {
		min-height: 450px;
	}
	.fv-link {
		flex-direction: column;
		align-items: center;
		justify-content: flex-end;
		gap: 15px;
		padding: 30px 0;
	}
}

/*		top news		*/
.top-news {
	--container: 1315px;
	margin-bottom: 100px;
}

.top-news-content {
	grid-template-columns: 165px calc(100% - 165px - 115px);
	gap: 115px;
	min-height: 645px;
	background: var(--color-gray-1);
	border-radius: 30px 0 0 30px;
	padding: 90px 0 90px 90px;
	margin-right: calc((100vw - 100%) / -2);
}

.top-news-content {
	display: grid;
	grid-template-columns: 165px calc(100% - 165px - 115px);
	gap: 115px;
	
}

.top-news .swiper {
	overflow-y: visible;
	overflow-x: clip;
}

.top-news .swiper-slide {
	max-width: 285px;
}

.top-news .news-list-item {
	max-width: 280px;
	padding-right: 60px;
	will-change: filter;
	transition: padding 0.5s, margin 0.5s;
}

.top-news .swiper-slide.swiper-slide-next .news-list-item {
	margin-left: 0;
}

.top-news .swiper-slide-duplicate-active .news-list-item,
.top-news .swiper-slide-active .news-list-item {
	max-width: 100%;
	margin-left: 0;
	padding-right: 0;
}

.top-news .news-list-title {
	margin-bottom: 30px;
}

.top-news-slide-nav {
	display: flex;
	gap: 20px;
}

.top-news-slide-nav .swiper-button-prev,
.top-news-slide-nav .swiper-button-next {
	position: initial;
	width: 76px;
	height: auto;
	aspect-ratio: 1 / 1;
	background: url(img/button-arrow.svg) no-repeat center center / 14px 12px,#FFF;
	border-radius: 50%;
	box-shadow: 0 4px 4px rgba(0, 0, 0, .25);
	margin-top: 0;
}

.top-news-slide-nav .swiper-button-prev {
	transform: scale(-1,1);
}

.top-news-slide-nav .swiper-button-prev:hover,
.top-news-slide-nav .swiper-button-next:hover {
	opacity: 0.6;
}

.top-news-slide-nav .swiper-button-prev::after,
.top-news-slide-nav .swiper-button-next::after {
	content: none;
}

/* 
.top-news-info {
	min-width: 165px;
} */

.top-news-info h2 {
	--fs: 32;
	font-size: var(--font-size);
	font-weight: 600;
	letter-spacing: 0.1em;
	margin-bottom: 30px;
}

.top-news-category {
	margin-bottom: 40px;
}

.top-news-category h3 {
	--fs: 15;
	font-size: var(--font-size);
	font-weight: 600;
	border-bottom: 1px solid;
	padding-bottom: 15px;
	margin-bottom: 15px;
}

.top-news-category ul {
	list-style: none;
	padding: 0;
	margin-bottom: 0;
}

.top-news-category li a {
	--fs: 18;
	display: flex;
	align-items: center;
	font-weight: 400;
	gap: 5px;
}

.top-news-category li a::before {
	content: "";
	width: 8px;
	aspect-ratio: 1 / 1;
	background: var(--color-body);
	border-radius: 50%;
	margin-top: 3px;
}

.top-news-category li:not(:last-child) {
	margin-bottom: 15px;
}

.top-news .news-list-title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.news-swiper {
	width: 100%;
}

.top-news-splide {
	max-width: 100%;
}

.top-news-slide-nav {
	position: relative;
}

@media(max-width: 991px) {
	.top-news-info {
		position: relative;
	}
	.top-news-content {
		min-height: 830px;
		display: block;
		border-radius: 0;
		gap: 0;
		padding: 90px 40px;
		margin-left: calc((100vw - 100%) / -2);
	}
	.top-news-category {
		margin-bottom: 60px;
	}
	.top-news-category ul {
		display: flex;
		gap: 50px;
	}
	.top-news-category li:not(:last-child) {
		margin-bottom: 0;
	}
	.top-news-slide-nav {
		width: calc(100% + 50px);
        justify-content: space-between;
		position: absolute;
        bottom: calc(285px / -2 - 60px);
        left: 50%;
        transform: translate(-50%, 50%);
        z-index: 100;
	}
	.news-swiper {
		width: calc(100% + 40px);
		margin-right: -40px;
	}
}

@media(max-width: 767px) {
	.top-news-content {
		min-height: 735px;
		padding: 50px var(--padding);
	}
	.top-news-info h2 {
		--fs: 24;
	}
	.top-news-category ul {
		max-width: 400px;
		gap: 10px;
		justify-content: space-between;
	}
	.top-news-category li a {
		--fs: 16;
		gap: 3px;
	}
	.top-news-category li a::before {
		width: 5px;
		margin-top: 2px;
	}
	.news-swiper {
		width: calc(100% + var(--padding));
		margin-right: calc(var(--padding) * -1);
	}
	.top-news .news-list-item {
		transition: padding 0.1s, margin 0.1s;
	}
	.top-news-slide-nav {
		width: calc(100% + var(--padding));
	}
	.top-news-slide-nav .swiper-button-prev,
	.top-news-slide-nav .swiper-button-next {
		width: 50px;
	}
}

/*		四十九日法要の準備		*/
.top-preparation {
	position: relative;
	margin-bottom: 200px;
	overflow-x: clip;
}

.top-preparation-content {
	display: grid;
	grid-template-columns: 260px 1fr;
	align-items: flex-end;
	gap: 0 100px;
}

.top-preparation-text {
	position: relative;
}

.top-preparation-text::before {
	content: "";
	width: 600px;
	aspect-ratio: 600 / 203;
	-webkit-mask: no-repeat center center / 100% 100%;
    mask: no-repeat center center / 100% 100%;
    -webkit-mask-image: url(img/site-deco.svg);
    mask-image: url(img/site-deco.svg);
	background: var(--color-gray-1);
	position: absolute;
	bottom: 0;
	left: 0;
	transform: translate(-50%,30%);
	z-index: -1;
}

.top-preparation-content h2 {
	position: relative;
	--fs: 40;
	font-size: var(--font-size);
	letter-spacing: 0.3em;
	line-height: 1.7;
	writing-mode: vertical-rl;
	text-indent: -1.25em;
	padding-top: 2.5em;
	padding-bottom: 130px;
	margin: 0 auto 90px;
}

.top-preparation-content h2::before {
	content: "";
	width: 1px;
	height: 110px;
	background: var(--color-body);
	position: absolute;
	bottom: 0;
	left: 25%;
}

.top-preparation-content h2 span {
	display: inline-block;
}

.top-preparation-image {
	grid-column: 2 / 3;
	grid-row: 1 / 3;
	position: relative;
	margin-right: calc((1440px - 1130px) / -2);
	margin-bottom: 0;
}

.top-preparation-image img {
	border-radius: 10px 0 0 10px;
}

.top-preparation-image figcaption {
	text-align: start;
	--fs: 20;
	font-weight: 600;
	line-height: calc(30 / 20);
	color: #FFF;
	position: absolute;
	left: 6%;
	bottom: 7%;
}

@media(min-width: 1441px) {
	.top-preparation-image img {
		border-radius: 10px;
	}
}

@media(max-width: 1439px) {
	.top-preparation-image {
		margin-right: calc((100vw - 1130px) / -2);
	}
}

@media(max-width: 1159px) {
	.top-preparation-image {
		margin-right: calc(var(--padding) * -1);
	}
}

@media(max-width: 991px) {
	.top-preparation-content {
		grid-template-columns: 1fr;
		gap: 0;
	}
	.top-preparation-text::before {
		left: 50%;
		transform: translate(-80%,-50%);
	}
	.top-preparation-content h2 {
		--fs: 35;
		letter-spacing: 0.2em;
		padding-bottom: 80px;
		margin-bottom: 0;
	}
	.top-preparation-content h2::before {
		height: 70px;
	}
	.top-preparation-image {
		grid-column: auto;
		grid-row: auto;
		margin-top: 50px;
		margin-bottom: 50px;
	}
	.top-preparation-link {
		order: 3;
	}
}

@media(max-width: 767px) {
	.top-preparation {
		margin-bottom: 120px;
	}
	.top-preparation-text::before {
		width: 310px;
	}
	.top-preparation-content h2 {
		--fs: 30;
		padding-bottom: 50px;
	}
	.top-preparation-content h2::before {
		height: 40px;
	}
	.top-preparation-image {
		margin-top: 30px;
		margin-bottom: 30px;
	}
	.top-preparation-image figcaption {
		--fs: 14;
	}
}

/*		お墓について		*/
.top-grave {
	margin-bottom: 215px;
}

.top-grave-content {
	display: grid;
	grid-template-columns: 50% 1fr;
	align-items: center;
	gap: 0 65px;
}

.top-grave-image {
	grid-column: 1 / 2;
	grid-row: 1 / 3;
	position: relative;
	margin-left: calc((1440px - 1130px) / -2);
	order: -1;
}

.top-grave-image::before {
	content: "";
	width: 27.5%;
	aspect-ratio: 1 / 1;
	background: url(img/top-grave-image02@2x.jpg) center / cover;
	border-radius: 10px;
	position: absolute;
	right: 0;
	bottom: 0;
	transform: translate(80%,60%);
}

.top-grave-image img { 
	border-radius: 0 10px 10px 0;
}

.top-grave-text {
	margin-bottom: 65px;
}

.top-grave-text p {
	--fs: 18;
	line-height: calc(35 / 18);
	font-weight: 500;
	margin-bottom: 0;
}

.top-grave-link {
	grid-column: 2 / 3;
}

@media(min-width: 1441px) {
	.top-grave-image img {
		border-radius: 10px;
	}
}

@media(max-width: 1439px) {
	.top-grave-image {
		margin-left: calc((100vw - 1130px) / -2);
	}
}

@media(max-width: 1159px) {
	.top-grave-image {
		margin-left: calc(var(--padding) * -1);
	}
}

@media(max-width: 991px) {
	.top-grave-content {
		grid-template-columns: 1fr;
	}
	.top-grave-text {
		margin-bottom: 0;
	}
	.top-grave-image {
		width: calc(100% - 16.5%);
		order: inherit;
		grid-column: auto;
		grid-row: auto;
		max-inline-size: max-content;
		margin-top: 50px;
		margin-bottom: calc(50px + (27.5% * 0.6));
	}
	.top-grave-link {
		grid-column: auto;
	}
}

@media(max-width: 767px) {
	.top-grave {
		margin-bottom: 120px;
	}
	.top-grave-text p {
		--fs: 16;
	}
	.top-grave-image {
		width: calc(100% - 10.5%);
		margin-top: 30px;
		margin-bottom: calc(30px + (27.5% * 0.35));
	}
	.top-grave-image::before {
		transform: translate(55%,35%);
	}
}

/*		仏壇・仏具		*/
.top-altar {
	position: relative;
	margin-bottom: 170px;
	overflow-x: clip;
}

.top-altar-content {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 50%;
	align-items: center;
	gap: 0 65px;
}

.top-altar-content::before {
	content: "";
	width: 600px;
	aspect-ratio: 600 / 203;
	-webkit-mask: no-repeat center center / 100% 100%;
    mask: no-repeat center center / 100% 100%;
    -webkit-mask-image: url(img/site-deco.svg);
    mask-image: url(img/site-deco.svg);
	background: var(--color-gray-1);
	position: absolute;
	bottom: 0;
	right: 0;
	transform: translate(60%,65%);
	z-index: -1;
}

.top-altar-text {
	margin-bottom: 65px;
	order: -2;
}

.top-altar-text p {
	--fs: 18;
	line-height: calc(35 / 18);
	font-weight: 500;
	margin-bottom: 0;
}

.top-altar-image01 {
	grid-column: 2 / 3;
	grid-row: 1 / 4;
	margin-right: calc((1440px - 1130px) / -2);
}

.top-altar-image01 img {
	border-radius: 10px 0 0 10px;
}

.top-altar-image02 {
	max-width: 405px;
	margin-top: 115px;
}

.top-altar-image02 img {
	border-radius: 10px;
}

.top-altar-link {
	order: -1;
}

@media(min-width: 1441px) {
	.top-altar-image01 img {
		border-radius: 10px;
	}
}

@media(max-width: 1439px) {
	.top-altar-image01 {
		margin-right: calc((100vw - 1130px) / -2);
	}
}

@media(max-width: 1159px) {
	.top-altar-image01 {
		margin-right: calc(var(--padding) * -1);
	}
}

@media(max-width: 991px) {
	.top-altar-content {
		grid-template-columns: 1fr;
	}
	.top-altar-content::before {
		transform: translate(50%,120%);
	}
	.top-altar-text {
		margin-bottom: 0;
	}
	.top-altar-image01 {
		grid-column: auto;
		grid-row: auto;
		margin-top: 50px;
		margin-bottom: 25px;
	}
	.top-altar-image02 {
		max-width: 60%;
		margin-top: 0;
		margin-bottom: 50px;
		margin-left: calc(var(--padding) * -1);
	}
	.top-altar-image02 img {
		border-radius: 0 10px 10px 0;
	}
	.top-altar-link {
		order: 0;
	}
}

@media(max-width: 767px) {
	.top-altar-content::before {
		width: 310px;
	}
	.top-altar-text p {
		--fs: 16;
	}
	.top-altar-image01 {
		margin-top: 30px;
		margin-bottom: 15px;
	}
	.top-altar-image02 {
		margin-bottom: 30px;
	}
}

.top-image-slider {
	margin-bottom: 200px;
}

.about-image-slider {
	width: 100vw;
	margin-left: calc((100vw - 100%) / -2);
}

.top-image-slider .swiper-wrapper,
.about-image-slider .swiper-wrapper {
	transition-timing-function: linear;
}

.top-image-slider .swiper-slide,
.about-image-slider .swiper-slide {
	width: auto;
}

.top-image-slider .swiper-slide img,
.about-image-slider .swiper-slide img {
	max-width: 2620px;
	width: 180vw;
	min-width: 1500px;
}

@media(max-width: 767px) {
	.top-image-slider {
		margin-bottom: 120px;
	}
}

/*		スタッフ紹介		*/

.top-staff {
	position: relative;
	background: var(--color-gray-1);
	padding-top: 165px;
	padding-bottom: 150px;
	overflow-x: clip;
}

.top-staff-content {
	position: relative;
	z-index: 1;
}

.top-staff-content::before {
	content: "";
	width: 600px;
	aspect-ratio: 600 / 203;
	-webkit-mask: no-repeat center center / 100% 100%;
    mask: no-repeat center center / 100% 100%;
    -webkit-mask-image: url(img/site-deco.svg);
    mask-image: url(img/site-deco.svg);
	background: #FFF;
	position: absolute;
	bottom: 0;
	left: 0;
	transform: translate(-50%,25%);
	z-index: -1;
}

.top-staff-content::after {
	content: "";
	width: 600px;
	aspect-ratio: 600 / 203;
	-webkit-mask: no-repeat center center / 100% 100%;
    mask: no-repeat center center / 100% 100%;
    -webkit-mask-image: url(img/site-deco.svg);
    mask-image: url(img/site-deco.svg);
	background: #FFF;
	position: absolute;
	top: 50%;
	right: 0;
	transform: translate(60%,50%);
	z-index: -1;
}

.top-staff h2 {
	position: relative;
	--fs: 32;
	font-size: var(--font-size);
	font-weight: 600;
	text-align: center;
	margin-bottom: 120px;
	z-index: 5;
}

.top-staff h2::before {
	content: "Hamabun";
	--fs: 167;
	font-size: var(--font-size);
	line-height: 1;
	color: #FFF;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-70%);
	z-index: -1;
}

.staff-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 100px;
	list-style: none;
	padding: 0;
	margin-bottom: 0;
}

.staff-item {
	position: relative;
	max-width: 305px;
	width: calc((100% - 200px) / 3);
}

.staff-item:hover {
	opacity: 0.6;
}

.staff-image {
	position: relative;
	margin-bottom: 25px;
}

.staff-image p {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	min-width: 36px;
	min-height: 180px;
	writing-mode: vertical-rl;
	--fs: 17;
	font-weight: 500;
	letter-spacing: 0.2em;
	background: #FFF;
	position: absolute;
	top: 30px;
	right: 35px;
	padding: 15px 5px;
	margin: 0;
}

.staff-image p span {
	--fs: 12;
	letter-spacing: 0.4em;
}

.staff-image img {
	-webkit-mask: no-repeat center center / 100% 100%;
    mask: no-repeat center center / 100% 100%;
    -webkit-mask-image: url(img/staff-item-mask.png);
    mask-image: url(img/staff-item-mask.png);
}

.staff-info {
	--fs: 14;
	margin-bottom: 0;
}

.staff-popup-link {
	background: transparent;
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	border: none;
	outline: none;
}

.top-staff .modal-dialog {
	max-width: 1100px;
    width: calc(100vw - 40px);
}

.staff-profile {
	position: relative;
	border: none;
	box-shadow: 5px 5px 30px rgba(0, 0, 0, .25);
	padding: 95px var(--padding) 65px;
}

.close-btn {
	width: 44px;
	aspect-ratio: 1 / 1;
	background: #EFEFEF;
	border: none;
	border-radius: 50%;
	outline: none;
	position: absolute;
	top: 30px;
	right: 40px;
}

.close-btn span {
	width: 15px;
	height: 2px;
	background: var(--color-body);
	position: absolute;
	top: 50%;
	left: 50%;
	border-radius: 2px;
}

.close-btn span:nth-child(1) {
	transform: translate(-50%,-50%) rotate(45deg);
}

.close-btn span:nth-child(2) {
	transform: translate(-50%,-50%) rotate(-45deg);
}

.staff-profile-content {
	display: grid;
	grid-template-columns: 40% 1fr;
	gap: 60px;
	max-width: 860px;
	margin-inline: auto;
}

.staff-profile-image {
	padding-top: 20px;
}

.staff-profile-image img {
	-webkit-mask: no-repeat center center / 100% 100%;
    mask: no-repeat center center / 100% 100%;
    -webkit-mask-image: url(img/staff-profile-image_mask.svg);
    mask-image: url(img/staff-profile-image_mask.svg);
}

.staff-profile-image p {
	max-inline-size: max-content;
	--fs: 18;
	line-height: calc(30 / 18);
	margin-top: 20px;
	margin-inline: auto;
}

.staff-profile-year {
	display: flex;
	align-items: center;
	justify-content: center;
	--fs: 17;
	font-weight: 600;
	color: #FFF;
	min-width: 240px;
	min-height: 40px;
	background: linear-gradient(235.83deg, #857474 9.14%, #1F1B1B 79.02%);
	max-inline-size: max-content;
	border-radius: 40px;
	margin-left: auto;
	margin-right: 0;
	margin-bottom: 25px;
}

.staff-profile-position {
	display: inline-block;
	--fs: 18;
	letter-spacing: 0.1em;
	margin-bottom: 10px;
}

.staff-profile-name {
	--fs: 29;
	font-size: var(--font-size);
	letter-spacing: 0.1em;
	border-bottom: 0.5px solid var(--color-body);
	padding-bottom: 25px;
	margin-bottom: 30px;
}

.staff-profile-text p {
	--fs: 18;
	line-height: calc(35 / 18);
	font-weight: 500;
	margin-bottom: 0;
}

@media(max-width: 991px) {
	.staff-list {
		gap: 80px 2%;
	}
	.staff-item {
		width: calc((100% - 4%) / 3);
	}
	.staff-profile-content {
		gap: 25px;
	}
	.close-btn {
		top: 15px;
		right: 15px;
	}
	.top-staff .modal-dialog {
		max-width: 600px;
	}
	.staff-profile-content {
		grid-template-columns: 1fr;
	}
	.staff-profile-image {
		text-align: center;
		padding-top: 0;
	}
	.staff-profile-image img {
		max-width: 300px;
	}
	.staff-profile-image p {
		text-align: start;
	}
	.staff-profile-year {
		margin-left: 0;
	}
}

@media(max-width: 767px) {
	.top-staff {
		padding-top: 100px;
		padding-bottom: 100px;
	}
	.top-staff-content::before,
	.top-staff-content::after {
		width: 310px;
	}
	.top-staff h2 {
		--fs: 24;
		margin-bottom: 60px;
	}
	.top-staff h2::before {
		--fs: 85;
	}
	.staff-list {
		display: grid;
		grid-template-columns: repeat(2,1fr);
		gap: 50px 20px;
		max-inline-size: max-content;
		margin-inline: auto;
	}
	.staff-item {
		width: 100%;	
	}
	.staff-profile {
		padding: 80px var(--padding) 30px;
	}
	.staff-profile-year {
		--fs: 15;
		max-width: 180px;
		margin-bottom: 20px;
	}
	.staff-profile-position {
		--fs: 16;
		margin-bottom: 5px;
	}
	.staff-profile-name {
		--fs: 25;
		padding-bottom: 15px;
		margin-bottom: 15px;
	}
	.staff-profile-text p {
		--fs: 16;
	}
}

@media(max-width: 575px) {
	.staff-list {
		gap: 50px 10px;
	}
	.staff-image p span {
		--fs: 11;
		letter-spacing: 0.1em;
	}
	.staff-image {
		margin-bottom: 15px;
	}
	.staff-image p {
		--fs: 15;
		min-width: 24px;
		min-height: 130px;
		gap: 10px;
		top: 10px;
		right: 20px;
		padding: 5px 3px;
	}
	.staff-info {
		--fs: 12;
	}
	.top-staff .modal-dialog {
		width: auto;
	}
}

/*		top support		*/
.top-support {
	background: linear-gradient(78.93deg, #E0BD7B -21.89%, #FFFFFF 96.29%);
	padding-top: 130px;
	padding-bottom: 185px;
}

.top-support h2 {
	--fs: 32;
	font-size: var(--font-size);
	letter-spacing: 0.05em;
	line-height: calc(54 / 32);
	text-align: center;
	margin-bottom: 20px;
}

.top-support p {
	--fs: 18;
	line-height: calc(35 / 18);
	text-align: center;
	margin-bottom: 120px;
}

.top-support-content {
	display: flex;
	justify-content: center;
	gap: 35px;
}

.top-support-content .more-link {
	max-width: 465px;
	aspect-ratio: 465 / 144;
	--fs: 25;
	background: url(img/more-link-bg-white.png?v3) center / cover;
}

.top-support-content .more-link:hover {
	color: var(--color-body);
	background: url(img/more-link-bg-white_hover.png) center / cover;
}

.top-support-content .more-link::before {
	width: 28px;
	right: 40px;
	background: var(--color-body);
}

.top-support-content .more-link:hover::before {
	width: 28px;
	background: var(--color-theme-1);
}

.top-support-content .more-link::after {
	background: transparent;
}

@media(max-width: 767px) {
	.top-support {
		padding-top: 50px;
		padding-bottom: 50px;
	}
	.top-support h2 {
		--fs: 24;
		margin-bottom: 15px;
	}
	.top-support p {
		--fs: 16;
		margin-bottom: 50px;
	}
	.top-support-content {
		flex-wrap: wrap;
		gap: 20px;
	}
	.top-support-content .more-link {
		--fs: 20;
		max-width: 280px;
	}
	.top-support-content .more-link::before {
		width: 20px;
		right: 25px;
	}
}

.common-contact {
	background: url(img/top-support-bg@2x.jpg?v2) center / cover;
}

.common-contact-content {
	border-bottom: 1px solid #FFF;
	padding: 70px var(--padding) 50px;
}

.common-contact-content h2 {
	--fs: 32;
	font-size: var(--font-size);
	color: #FFF;
	text-align: center;
	margin-bottom: 40px;
}

.common-contact-content p {
	--fs: 18;
	line-height: calc(30 / 18);
	text-align: center;
	color: #FFF;
	margin-bottom: 35px;
}

.common-contact-tel a {
	display: flex;
	align-items: baseline;
	gap: 15px;
	--fs: 52;
	font-weight: 600;
	max-inline-size: max-content;
	color: #FFF;
	margin-inline: auto;
	margin-bottom: 5px;
}

.common-contact-tel a::before {
	content: "";
	display: inline-block;
	width: 38px;
	aspect-ratio: 1 / 1;
	-webkit-mask: no-repeat center center / cover;
    mask: no-repeat center center / cover;
    -webkit-mask-image: url(img/icon-tel.svg);
    mask-image: url(img/icon-tel.svg);
	background: #FFF;
}

.common-contact-tel p {
	--fs: 14;
	margin-bottom: 0;
}

.common-contact-link {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.common-contact-link::before {
	content: "";
	width: 1px;
	height: 100%;
	background: #FFF;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
}

.common-contact-link a {
	display: flex;
	gap: 10px;
	align-items: center;
	justify-content: center;
	min-height: 260px;
	--fs: 20;
	color: #FFF;
}

.contact-link-mail::before {
	content: "";
	width: 22px;
	aspect-ratio: 22 / 17;
	-webkit-mask: no-repeat center center / cover;
    mask: no-repeat center center / cover;
    -webkit-mask-image: url(img/icon-mail.svg);
    mask-image: url(img/icon-mail.svg);
	background: #FFF;
}

.contact-link-line::before {
	content: "";
	width: 24px;
	aspect-ratio: 24 / 22;
	-webkit-mask: no-repeat center center / cover;
    mask: no-repeat center center / cover;
    -webkit-mask-image: url(img/icon-line.svg);
    mask-image: url(img/icon-line.svg);
	background: #FFF;
}

@media(max-width: 767px) {
	.common-contact-content {
		padding: 50px var(--padding);
	}
	.common-contact-content h2 {
		--fs: 24;
		margin-bottom: 20px;
	}
	.common-contact-content p {
		--fs: 16;
	}
	.common-contact-tel a {
		--fs: 35;
		gap: 10px;
		margin-bottom: 0;
	}
	.common-contact-tel a::before {
		width: 26px;
	}
	.common-contact-tel p {
		--fs: 13;
	}
	.common-contact-link a {
		--fs: 18;
		min-height: 160px;
	}
	.contact-link-mail::before {
		width: 18px;
	}
	.contact-link-line::before {
		width: 20px;
	}
}

@media(max-width: 575px) {
	.common-contact-link {
		grid-template-columns: 1fr;
	}
	.common-contact-link::before {
		width: 100%;
		height: 1px;
		top: 50%;
		left: 0;
		bottom: auto;
		right: 0;
		transform: translateY(-50%);
	}
	.common-contact-link a {
		min-height: 130px;
	}
}

/*		ページ共通		*/
.page-header-title {
	--fs: 40;
	font-size: var(--font-size);
	letter-spacing: 0.05em;
	line-height: 1.2;
	font-weight: 500;
	text-align: center;
	margin-bottom: 35px;
}

.page-header {
	--container: 1315px;
	--padding: 60px;
}

.page-header-image img {
	-webkit-mask: no-repeat center center / 100% 100%;
    mask: no-repeat center center / 100% 100%;
    -webkit-mask-image: url(img/page-header-mask.png);
    mask-image: url(img/page-header-mask.png);
}

@media(max-width: 991px) {

}

@media(max-width: 767px) {
	.page-header-title {
		--fs: 30;
		margin-bottom: 20px;
	}
}

.page-body:not(:has(.page-nav)) {
	padding-top: 130px;
}

.page-header:not(:has(.page-header-image)) + .page-body {
	background: var(--color-gray-1);
	padding-top: 80px;
	padding-bottom: 120px;
}

.page-nav {
	margin-top: -35px;
}

.page-nav-list {
	display: flex;
	justify-content: center;
	gap: 40px;
	list-style: none;
	padding: 0;
	margin-bottom: 0;
}

.page-nav-list a {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 335px;
	min-height: 73px;
	--fs: 20;
	font-weight: 400;
	background: #FFF;
	border-radius: 20px;
	padding: 5px 50px;
}

.page-nav-list a:hover {
	opacity: 1;
	color: rgba(31, 27, 27, 0.6);
}

.page-nav-list a::before {
	content: "";
	width: 16px;
	aspect-ratio: 1 / 1;
	-webkit-mask: no-repeat center center / 100% 100%;
    mask: no-repeat center center / 100% 100%;
    -webkit-mask-image: url(img/nav-arrow.svg);
    mask-image: url(img/nav-arrow.svg);
	position: absolute;
	top: 50%;
	right: 20px;
	transform: translateY(-50%);
	background: var(--color-theme-1);
}

.page-nav-list a:hover::before {
	opacity: 0.6;
}

@media(max-width: 991px) {
	.page-nav-list {
		gap: 20px;
	}
	.page-nav-list a {
		width: 300px;
	}
}

@media(max-width: 767px) {
	.page-body:has(.page-nav),
	.page-body:not(:has(.page-nav)) {
		padding-top: 50px;
	}
	.page-header:not(:has(.page-header-image)) + .page-body {
		padding-top: 50px;
		padding-bottom: 100px;
	}
	.page-nav {
		margin-top: 0;
	}
	.page-nav-list {
		flex-wrap: wrap;
		align-items: center;
		gap: 10px;
	}
	.page-nav-list a {
		--fs: 16;
		width: 240px;
		min-height: 46px;
		border: 1px solid var(--color-body);
		border-radius: 10px;
		padding: 5px 30px;
	}
	.page-nav-list a::before {
		right: 10px;
	}
}

.page-section-title {
	margin-bottom: 30px;
}

.page-section-title span {
	display: inline-block;
	--fs: 18;
	font-weight: 600;
	letter-spacing: 0.1em;
	margin-bottom: 20px;
}

.page-section-title h2 {
	--fs: 30;
	font-size: var(--font-size);
	letter-spacing: 0.1em;
	line-height: calc(43 / 30);
	font-weight: 600;
	margin-bottom: 0;
}

.page-section-title span + h2 {
	letter-spacing: 0.05em;
}

.page-intro-title {
	--fs: 30;
	font-size: var(--font-size);
	letter-spacing: 0.05em;
	line-height: calc(50 / 30);
}

.page-intro-text p {
	--fs: 18;
	line-height: calc(35 / 18);
}

@media(max-width: 1199px) {
	.page-header {
		--padding: 40px;
	}
}

@media(max-width: 991px) {
	.page-intro-title {
		margin-bottom: 40px;
	}
}

@media(max-width: 767px) {
	.page-intro-title {
		--fs: 24;
		margin-bottom: 20px;
	}
	.page-header {
		--padding: 15px;
	}
	.page-section-title {
		margin-bottom: 20px;
	}
	.page-section-title h2 {
		--fs: 24;
	}
	.page-section-title span {
		margin-bottom: 15px;
	}
}

/*		お墓について		*/
.section-block {
	margin-top: 200px;
	margin-bottom: 200px;
}

@media(max-width: 767px) {
	.section-block {
		margin-top: 100px;
		margin-bottom: 100px;
	}
}

.grave-intro {
	position: relative;
	margin-top: 80px;
	margin-bottom: 130px;
	overflow-x: clip;
}

.grave-intro-content {
	position: relative;
	display: grid;
	grid-template-columns: auto 430px 1fr;
	align-items: flex-start;
	gap: 40px;
}

.grave-intro-content::before {
	content: "";
    width: 600px;
    aspect-ratio: 600 / 203;
    -webkit-mask: no-repeat center center / 100% 100%;
    mask: no-repeat center center / 100% 100%;
    -webkit-mask-image: url(img/site-deco.svg);
    mask-image: url(img/site-deco.svg);
    background: var(--color-gray-1);
    position: absolute;
	right: 0;
    bottom: 0;
    transform: translateX(35%);
    z-index: -1;
}	

.grave-intro-title {
	display: flex;
}

.grave-intro-title h2 {
	position: relative;
	--fs: 30;
	font-weight: 600;
	writing-mode: vertical-rl;
	letter-spacing: 0.15em;
	line-height: 1.8;
	text-indent: -1.5em;
    padding-top: 3em;
	padding-bottom: 110px;
	margin: 0;
	margin-top: -1.5em;
}

.grave-intro-title h2::before {
	content: "";
	width: 1px;
	height: 110px;
	background: var(--color-body);
	position: absolute;
	bottom: 0;
	left: 25%;
}

.grave-intro-title h2 span {
	display: inline-block;
}

.grave-intro-text p {
	--fs: 18;
	line-height: calc(35 / 18);
	margin-bottom: 120px;
}

.grave-intro-image {
	margin-right: calc((1440px - 1130px) / -2);
	text-align: end;
}

.grave-intro-image img {
	border-radius: 10px 0 0 10px;
}

@media(min-width: 1441px) {
	.grave-intro-image img {
		border-radius: 10px;
	}
}

@media(max-width: 1439px) {
	.grave-intro-image {
		margin-right: calc((100vw - 1130px) / -2);
	}
}

@media(max-width: 1159px) {
	.grave-intro-image {
		margin-right: calc(var(--padding) * -1);
	}
}

@media(max-width: 991px) {
	.grave-intro-content {
		grid-template-columns: 100%;
		gap: 0;
	}
	.grave-intro-title {
		margin-bottom: 40px;
	}
	.grave-intro-title h2 {
		letter-spacing: 0.05em;
		line-height: calc(50 / 30);
		writing-mode: horizontal-tb;
		text-indent: 0;
		padding: 0;
		margin: 0;
	}
	.grave-intro-title h2::before {
		content: none;
	}
	.grave-intro-text p {
		margin-bottom: 60px;
	}
	.grave-intro-image {
		margin-top: 40px;
	}
}

@media(max-width: 767px) {
	.grave-intro {
		margin-top: 50px;
		margin-bottom: 100px;
	}
	.grave-intro-content::before {
		width: 310px;
		transform: translate(35%,90%);
	}
	.grave-intro-title {
		margin-bottom: 20px;
	}
	.grave-intro-title h2 {
		--fs: 24;
	}
	.grave-intro-text p {
		--fs: 16;
	}
}

.merchandise-content {
	background: var(--color-gray-1);
	padding-top: 190px;
	padding-bottom: 110px;
	margin-bottom: 150px;
}

.merchandise-title {
	margin-bottom: 145px;
}

.merchandise-title h2 {
	position: relative;
	--fs: 45;
	font-size: var(--font-size);
	font-weight: 600;
	margin-bottom: 35px;
	z-index: 1;
}

.merchandise-title h2::before {
	content: "Pick up";
	--fs: 168;
	font-size: var(--font-size);
	color: #FFF;
	position: absolute;
	top: 50%;
	left: -30px;
	transform: translateY(-60%);
	z-index: -1;
}

.merchandise-title span {
	--fs: 28;
	font-size: var(--font-size);
	font-weight: 600;
	letter-spacing: 0.1em;
}

@media(max-width: 991px) {

}

@media(max-width: 767px) {
	.merchandise-content {
		padding-top: 100px;
		padding-bottom: 100px;
		margin-bottom: 100px;
	}
	.merchandise-title {
		margin-bottom: 80px;
	}
	.merchandise-title h2 {
		--fs: 28;
		margin-bottom: 15px;
	}
	.merchandise-title h2::before {
		--fs: 100;
		left: -10px;
	}
	.merchandise-title span {
		--fs: 18;
	}
}

.grave-order {
	margin-bottom: 200px;
}

.grave-order .page-section-title {
	margin-bottom: 50px;
}

.grave-order-modal {
	margin-bottom: 150px;
}

.grave-order-image {
	max-width: 700px;
	margin-inline: auto;
}

.grave-order-menu {
	display: grid;
	grid-template-columns: repeat(3,3fr);
	gap: 5px;
	margin-top: 30px;
}

.grave-order-menu button {
	position: relative;	
	font-size: 11px;
	font-weight: 400;
	color: var(--color-body);
	background: transparent;
	outline: none;
	border: 1px solid var(--color-body);
	border-radius: 5px;
	padding: 3px 0 3px 20px;
}

.grave-order-menu-blue {
	font-size: 13px;
	font-weight: 500;
}
.grave-order-menu .num {
	position: absolute;
	height: 100%;
	aspect-ratio: 3 / 4;
	background: var(--color-theme-1);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	font-weight: 500;
	color: #FFF;
	top: 0;
	left: 0;
	border-radius: 3px 0 0 3px;
}

.grave-modal .modal-dialog {
	max-width: 850px;
	width: calc(100% - 40px);
}

.grave-modal .close-btn {
	top: 30px;
	right: 30px;
}

.grave-modal-wrapper {
	position: relative;
	max-width: 670px;
	width: 100%;
	margin-inline: auto;
}

.grave-modal-content {
	border: none;
	border-radius: 10px;
	box-shadow: 5px 5px 30px rgba(0,0,0,.25);
	padding: 80px 15px 50px;
}

.grave-modal-number {
	display: flex;
	align-items: center;
	justify-content: center;
	--fs: 41;
	font-weight: 600;
	color: #FFF;
	width: 74px;
	aspect-ratio: 1 / 1;
	background: var(--color-theme-1);
	border-radius: 10px;
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%,-40%);
}

.grave-modal-content h3 {
	max-inline-size: max-content;
	--fs: 25;
	font-size: var(--font-size);
	text-align: center;
	margin-inline: auto;
}

.grave-modal-content h3 span {
	--fs: 40;
	font-weight:  600;
	margin-right: 10px;
}

.grave-modal-item {
	position: relative;
}

.grave-modal-item h4 {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	min-height: 200px;
	--fs: 20px;
	font-size: var(--font-size);
	letter-spacing: 0.3em;
	writing-mode: vertical-rl;
	font-weight: 500;
	background: #D9D9D9;
	margin: 0;
}

#grave01 .grave-modal-item:nth-of-type(1) {
	display: grid;
	grid-template-columns: auto 1fr;
	column-gap: 15px;
	align-items: center;
	border-bottom: 1px solid #000;
	padding-bottom: 20px;
}

#grave01 .grave-modal-item:nth-of-type(2) {
	display: grid;
	grid-template-columns: auto 1fr;
	column-gap: 15px;
	align-items: center;
	padding-top: 20px;
}

#grave02 .grave-modal-item {
	display: grid;
	grid-template-columns: 1fr 130px;
	column-gap: 10px;
	margin-bottom: 20px;
}

#grave06 .grave-modal-item {
	margin-bottom: 15px;
}

#grave06 .grave-modal-item-deco {
	width: 25%;
	position: absolute;
	top: 0;
	right: 0;
	transform: translateY(-110%);
}

#grave07 .grave-modal-item:nth-of-type(1) {
	display: grid;
	grid-template-columns: auto 1fr;
	column-gap: 15px;
	align-items: center;
	border-bottom: 1px solid #000;
	padding-bottom: 20px;
}

#grave07 .grave-modal-item:nth-of-type(2) {
	display: grid;
	grid-template-columns: auto 1fr;
	column-gap: 15px;
	align-items: center;
	padding-top: 20px;
}

#grave07 .grave-modal-item:nth-of-type(2) p {
	grid-column: 2 / 3;
}

.grave-modal-item-image {
	text-align: center;
}

.faq-link::before {
	content: "";
	display: inline-block;
	width: 30px;
	aspect-ratio: 1 / 1;
	background: url(img/faq-link.svg) center / cover;
}

@media(max-width: 767px) {
	.grave-order {
		margin-bottom: 100px;
	}
	.grave-order .page-section-title {
		margin-bottom: 30px;
	}
	.grave-order-modal {
		margin-bottom: 80px;
	}
	.faq-link::before {
		width: 25px;
	}
}

@media(max-width: 575px) {
	.grave-modal-item h4 {
		--fs: 14px;
		min-width: 24px;
		min-height: 80px;
	}
	#grave02 .grave-modal-item {
		grid-template-columns: auto;
		gap: 15px;
	}
	#grave02 .grave-modal-item-image {
		grid-row: 1 / 2;
		max-width: 150px;
		margin-inline: auto;
	}
	.grave-modal .modal-dialog {
		width: auto;
	}
	.grave-modal-content {
		padding: 60px 15px 30px;
	}
	.grave-modal-number {
		--fs: 35;
		width: 55px;
	}
	.grave-modal .close-btn {
		top: 10px;
		right: 10px;
	}
	.grave-modal-content h3 {
		--fs: 20;
	}
	.grave-modal-content h3 span {
		--fs: 30;
	}
}

.grave-behalf {
	margin-bottom: 220px;
}

.grave-behalf-content {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 50%;
	gap: 30px;
}

.grave-behalf-content::before {
	content: "";
    width: 600px;
    aspect-ratio: 600 / 203;
    position: absolute;
    left: 0px;
    bottom: 0px;
    transform: translate(-35%,15%);
    z-index: -1;
    mask: url(img/site-deco.svg) center center / 100% 100% no-repeat;
    background: var(--color-gray-1);
}

.grave-behalf-text {
	max-width: 490px;
	margin-bottom: 0;
}

.grave-behalf-text p {
	--fs: 18;
	line-height: calc(35 / 18);
}

.grave-behalf-image {
	text-align: end;
	padding-top: 40px;
	margin-right: calc((1440px - 1130px) / -2);
}

.grave-behalf-image img {
	border-radius: 10px 0 0 10px;
}

@media(min-width: 1441px) {
	.grave-behalf-image img {
		border-radius: 10px;
	}
}

@media(max-width: 1439px) {
	.grave-behalf-image {
		margin-right: calc((100vw - 1130px) / -2);
	}
}

@media(max-width: 1159px) {
	.grave-behalf-image {
		margin-right: calc(var(--padding) * -1);
	}
}

@media(max-width: 991px) {
	.grave-behalf-content {
		grid-template-columns: 100%;
		gap: 0;
	}
	.grave-behalf-text {
		max-width: 100%;
	}
}

@media(max-width: 767px) {
	.grave-behalf {
		margin-bottom: 100px;
	}
	.grave-behalf-content::before {
		width: 310px;
		transform: translate(-35%,80%);
	}
	.grave-behalf-text p {
		--fs: 16;
	}
	.grave-behalf-image {
		padding-top: 20px;
	}
}

.grave-service {
	position: relative;
	margin-bottom: 150px;
	overflow-x: clip;
}

.grave-service-content {
	position: relative;
}

.grave-service-content::before {
	content: "";
    width: 600px;
    aspect-ratio: 600 / 203;
    position: absolute;
    right: 0px;
    bottom: 0px;
    transform: translate(35%,-35%);
    z-index: -1;
    mask: url(img/site-deco.svg) center center / 100% 100% no-repeat;
    background: var(--color-gray-1);
	z-index: -1;
}

.grave-service-table {
	overflow-x: auto;
	margin-bottom: 35px;
}

.grave-service-table table {
	width: 100%;
	min-width: 600px;
}

.grave-service-table thead th {
	--fs: 20;
	font-weight: 500;
	text-align: center;
	white-space: nowrap;
	border-bottom: 0.5px solid var(--color-body);
	padding: 30px 50px;
}

.grave-service-table thead th h2 {
	text-align: start;
	--fs: 45;
	font-size: var(--font-size);
	letter-spacing: 0.1em;
	margin-bottom: 0;
}

.grave-service-table tbody th {
	--fs: 17;
	font-weight: 500;
	border-bottom: 0.5px solid var(--color-body);
	padding: 20px 50px;
}

.grave-service-table tbody td {
	--fs: 17;
	text-align: center;
	font-weight: 300;
	font-family: var(--noto-sans);
	border-bottom: 0.5px solid var(--color-body);
	padding: 20px 50px;
}

.grave-service .small {
	--fs: 14;
	line-height: calc(30 / 14);
	margin-bottom: 0;
}

.grave-service .small a {
	color: #0033FF;
	text-decoration: underline;
}

.grave-service-image {
	position: relative;
	margin-top: -50px;
	margin-right: calc(var(--padding) * -1);
	z-index: -1;
}

@media(max-width: 1199px) {
	.grave-service-table thead th {
		padding: 25px 10px;
	}
	.grave-service-table tbody th {
		padding: 20px 10px;
	}	
	.grave-service-table tbody td {
		padding: 20px 10px;
	}
 
}

@media(max-width: 991px) {
	.grave-service-table thead th h2 {
		--fs: 35;
	}
	.grave-service-table thead th {
		--fs: 16;
	}
	.grave-service-table tbody th {
		--fs: 16;
	}
	.grave-service-image {
		margin-top: 20px;
		margin-left: calc(var(--padding) * -1);
	}
}

@media(max-width: 767px) {
	.grave-service {
		margin-bottom: 100px;
	}
	.grave-service-content::before {
		width: 310px;
	}
	.grave-service-table thead th {
		--fs: 15;
		padding: 15px 10px;
	}
	.grave-service-table thead th h2 {
		--fs: 24;
	}
	.grave-service-table tbody th {
		--fs: 15;
		padding: 15px 10px;
	}
	.grave-service-table tbody td {
		--fs: 16;
		padding: 15px 10px;
	}
	.grave-service-image {
		margin-top: 50px;
	}
}

/*		仏壇・仏具		*/

.altar-intro {
	margin-top: 80px;
	margin-bottom: 120px;
}

.altar-intro-content {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 45%;
	gap: 30px;
}

.altar-intro-content::before {
	content: "";
    width: 600px;
    aspect-ratio: 600 / 203;
    position: absolute;
    left: 0px;
    bottom: 0px;
    transform: translate(-40%,-25%);
    z-index: -1;
    mask: url(img/site-deco.svg) center center / 100% 100% no-repeat;
    background: var(--color-gray-1);
	z-index: -1;
}

.altar-intro-content .page-intro-title,
.altar-intro-text {
	width: 100%;
	max-width: 430px;
	margin-inline: auto;
}

.altar-intro-image {
	grid-column: 1 / 2;
	grid-row: 1 / 3;
	margin-left: calc((1440px - 1130px) / -2);
}

.altar-intro-image img {
	border-radius: 0 10px 10px 0;
}

@media(min-width: 1441px) {
	.altar-intro-image img {
		border-radius: 10px;
	}
}

@media(max-width: 1439px) {
	.altar-intro-image {
		margin-left: calc((100vw - 1130px) / -2);
	}
}

@media(max-width: 1159px) {
	.altar-intro-image {
		margin-left: calc(var(--padding) / -1);
	}
}

@media(max-width: 991px) {
	.altar-intro-content {
		grid-template-columns: 100%;
		gap: 0;
	}
	.altar-intro-image {
		grid-column: auto;
		grid-row: auto;
		order: 1;
		margin-top: 50px;
	}
	.altar-intro-content .page-intro-title,
	.altar-intro-text {
		max-width: 100%;
	}
}

@media(max-width: 767px) {
	.altar-intro {
		margin-top: 50px;
		margin-bottom: 100px;
	}
	.page-intro-text p {
		--fs: 16;
	}
	.altar-intro-image {
		margin-top: 40px;
	}
}

.altar-choice {
	margin-bottom: 150px;
}

.altar-point {
	position: relative;
	display: grid;
	grid-template-columns: repeat(2,1fr);
	gap: 50px;
	max-width: 1040px;
	padding-top: 40px;
	padding-bottom: 40px;
	margin-inline: auto;
	margin-bottom: 80px;
}

.altar-point::before {
	content: "";
	width: 1px;
	height: 100%;
	background: #C0C0C0;
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
}

.altar-point-item {
	max-width: 415px;
	width: 100%;
	margin-inline: auto;
}

.altar-point-item:nth-child(even) {
	margin-top: 100px;
}

.altar-point-title {
	display: flex;
	align-items: center;
	gap: 25px;
	margin-bottom: 40px;
}

.altar-point-num {
	display: grid;
	text-align: center;
	--fs: 26;
	line-height: 1;
}

.altar-point-num span {
	--fs: 96;
	color: var(--color-theme-1);
	line-height: 1;
}

.altar-point-title h3 {
	--fs: 25;
	font-size: var(--font-size);
	margin-bottom: 0;
	line-height: calc(38 / 25);
	letter-spacing: 0.1em;
	padding-top: 25px;
	margin-bottom: 0;
}

.altar-point-item p {
	--fs: 18;
	line-height: calc(35 / 18);
}

.altar-choice-slider {
	width: 100vw;
	margin-bottom: 100px;
	margin-left: calc((100vw - 100%) / -2);
}

.altar-choice-slider .swiper-wrapper {
	transition-timing-function: linear;
}

.altar-choice-slider .swiper-slide {
	width: 1600px;
}

.altar-choice-place-content {
	max-width: 815px;
	margin-inline: auto;
}

.altar-choice-place-content h3 {
	--fs: 25;
	font-size: var(--font-size);
	letter-spacing: 0.1em;
	line-height: calc(38 / 25);
	margin-bottom: 25px;
}

.altar-choice-place-content p {
	--fs: 18;
	line-height: calc(35 / 18);
	margin-bottom: 70px;
}

@media(max-width: 767px) {
	.altar-point {
		padding-top: 20px;
		padding-bottom: 20px;
	}
	.altar-point-title {
		gap: 10px;
		margin-bottom: 20px;
	}
	.altar-point-num {
		--fs: 18;
	}
	.altar-point-num span {
		--fs: 60;
	}
	.altar-point-title h3 {
		--fs: 18;
		padding-top: 20px;
	}
	.altar-point-item p {
		--fs: 16;
	}
	.altar-choice {
		margin-bottom: 100px;
	}
	.altar-choice-place-content h3 {
		--fs: 20;
		margin-bottom: 20px;
	}
	.altar-choice-place-content p {
		--fs: 16;
		margin-bottom: 40px;
	}
	.altar-choice-slider {
		margin-bottom: 80px;
	}
	.altar-choice-slider .swiper-slide {
		width: 1200px;
	}
}

@media(max-width: 575px) {
	.altar-point {
		gap: 0;
		padding: 0;
		grid-template-columns: 100%;
	}
	.altar-point::before {
		content: none;
	}
	.altar-point-item {
		max-width: 100%;
	}
	.altar-point-item:not(:last-child) {
		border-bottom: 1px solid var(--color-body);
		padding-bottom: 40px;
		margin-bottom: 40px;
	}
	.altar-point-item:nth-child(even) {
		margin-top: 0;
	}
}

.altar-type {
	background: var(--color-gray-1);
	overflow-x: clip;
	padding-top: 190px;
	padding-bottom: 110px;
	margin-bottom: 100px;
}

.altar-type-title {
	--fs: 45;
	font-size: var(--font-size);
	font-weight: 600;
	position: relative;
	margin-bottom: 170px;
	z-index: 5;
}

.altar-type-title::before {
	content: "Type";
	--fs: 168;
	font-size: var(--font-size);
	line-height: 1;
	color: #FFF;
	position: absolute;
	top: 50%;
	left: -30px;
	transform: translateY(-65%);
	z-index: -1;
}

.altar-type-content {
	margin-bottom: 200px;
}

.altar-type-item {
	position: relative;
	display: grid;
	align-items: center;
	gap: 30px;
	max-width: 1090px;
	margin-inline: auto;
	z-index: 1;
}

.altar-type-item:nth-child(1)::before {
	content: "";
    width: 600px;
    aspect-ratio: 600 / 203;
    position: absolute;
    right: 0px;
    top: 0px;
    transform: translate(60%,-70%);
    z-index: -1;
    mask: url(img/site-deco.svg) center center / 100% 100% no-repeat;
    background: #FFF;
	z-index: -1;
}

.altar-type-item:nth-child(2)::before {
	content: "";
    width: 600px;
    aspect-ratio: 600 / 203;
    position: absolute;
    left: 0px;
    top: 50%;
    transform: translate(-55%,-70%);
    z-index: -1;
    mask: url(img/site-deco.svg) center center / 100% 100% no-repeat;
    background: #FFF;
	z-index: -1;
}

.altar-type-item:nth-child(3)::before {
	content: "";
    width: 600px;
    aspect-ratio: 600 / 203;
    position: absolute;
    right: 0px;
    bottom: 0px;
    transform: translate(60%,25%);
    z-index: -1;
    mask: url(img/site-deco.svg) center center / 100% 100% no-repeat;
    background: #FFF;
	z-index: -1;
}

.altar-type-item:not(:last-child) {
	margin-bottom: 80px;
}

.altar-type-item:nth-child(odd) {
	grid-template-columns: 55% 1fr;
}

.altar-type-item:nth-child(even) {
	grid-template-columns: 1fr 55%;
}

.altar-type-item:nth-child(even) .altar-type-text {
	order: -1;
}

.altar-type-text {
	max-width: 360px;
	margin-inline: auto;
}

.altar-type-text h3 {
	--fs: 35;
	font-size: var(--font-size);
	letter-spacing: 0.1em;
	margin-bottom: 15px;
}

.altar-type-text p {
	--fs: 16;
	line-height: calc(30 / 16);
	margin-bottom: 0;
}

.altar-type-slider .swiper-slide img {
	border-radius: 10px;
	width: 100%;
	aspect-ratio: 600 / 430;
	object-fit: cover;
}

.altar-type-slider {
	position: relative;
}

.altar-type-slider .swiper {
	position: initial;
}

.altar-type-slider .swiper-pagination {
	position: inherit;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	padding-top: 10px;
	padding-bottom: 10px;
}

.altar-type-slider .swiper-pagination-bullet {
	opacity: 1;
	width: 8px;
	height: 8px;
	background: #C0C0C0;
	margin: 0!important;
}

.altar-type-slider .swiper-pagination-bullet-active {
	background: #767474;
}

.altar-type-slider .swiper-button-prev,
.altar-type-slider .swiper-button-next {
	position: absolute;
	width: 50px;
	height: auto;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	background: var(--color-body);
	margin-top: 0;
}

.altar-type-slider .swiper-button-prev {
	left: 0;
	top: calc(50% - 15px);
	transform: translate(-40%,-50%);
}

.altar-type-slider .swiper-button-next {
	right: 0;
	top: calc(50% - 15px);
	transform: translate(40%,-50%);
}

.altar-type-slider .swiper-button-prev:hover,
.altar-type-slider .swiper-button-next:hover {
	opacity: 0.6;
}

.altar-type-slider .swiper-button-prev::before {
	content: "";
	width: 12px;
	height: 12px;
	border-top: 2px solid #FFF;
	border-left: 2px solid #FFF;
	border-radius: 2px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-45%,-50%) rotate(-45deg);
}

.altar-type-slider .swiper-button-next::before {
	content: "";
	width: 12px;
	height: 12px;
	border-top: 2px solid #FFF;
	border-right: 2px solid #FFF;
	border-radius: 2px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-65%,-50%) rotate(45deg);
}
	

.altar-type-slider .swiper-button-prev::after,
.altar-type-slider .swiper-button-next::after {
	content: none;
}

.altar-type-other {
	margin-bottom: 150px;
}

.altar-type-other-content {
	display: grid;
	grid-template-columns: repeat(6,1fr);
	column-gap: 15px;
    row-gap: 40px;
}

.altar-type-other-content p {
	--fs: 18;
	line-height: calc(30 / 18);
}

.altar-type-other-image {
	margin-bottom: 0;
}

.altar-type-other-image img {
	border: 1px solid #CDD6DD;
}

.altar-type-other-image figcaption {
	--fs: 14;
    letter-spacing: 0.05em;
    text-align: center;
	margin-bottom: 0;
}


@media(max-width: 991px) {
	.altar-type-item:nth-child(even),
	.altar-type-item:nth-child(odd) {
		grid-template-columns: 100%;	
	}
	.altar-type-item:not(:last-child) {
		margin-bottom: 100px;
	}
	.altar-type-text {
		max-width: 100%;
	}
	.altar-type-item:nth-child(even) .altar-type-text {
		order: inherit;
	}
	.altar-type-slider .swiper-button-next {
		right: -10px;
		transform: translateY(-50%);
	}
	.altar-type-slider .swiper-button-prev {
		left: -10px;
		transform: translateY(-50%);
	}
}

@media(max-width: 767px) {
	.altar-type {
		padding-top: 100px;
		padding-bottom: 100px;
		margin-bottom: 100px;
	}
	.altar-type-title {
		--fs: 28;
		margin-bottom: 80px;
	}
	.altar-type-title::before {
		--fs: 100;
		left: -10px;
	}
	.altar-type-content {
		margin-bottom: 100px;
	}
	.altar-type-item {
		gap: 15px;
	}
	.altar-type-item:nth-child(1)::before {
		width: 310px;
	}
	.altar-type-item:nth-child(2)::before {
		width: 310px;
	}
	.altar-type-item:nth-child(3)::before {
		width: 310px;
	}
	.altar-type-slider .swiper-button-prev,
	.altar-type-slider .swiper-button-next {
		width: 40px;
	}
	.altar-type-slider .swiper-button-prev::before,
	.altar-type-slider .swiper-button-next::before {
		width: 10px;
		height: 10px;
	}
	.altar-type-text h3 {
		--fs: 24;
	}
	.altar-type-other {
		margin-bottom: 100px;
	}
	.altar-type-other-content {
		grid-template-columns: repeat(4,1fr);
	}
	
}

@media(max-width: 575px) {
	.altar-type-other-content {
		grid-template-columns: repeat(3,1fr);
	}
}

.altar-service {
	margin-bottom: 150px;
}

.altar-service h2 {
	margin-bottom: 80px;
}

.altar-service-content {
	display: grid;
	grid-template-columns: repeat(2,1fr);
	gap: 50px 30px;
	max-width: 550px;
	margin-inline: auto;
}

.altar-service-item {
	position: relative;
	display: grid;
	place-content: center;
	place-items: center;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;	
}

.altar-service-item::before {
	content: "";
	width: 100%;
	height: 100%;
	background: url(img/altar-service-item_bg.png) center / 100% 100%;
	opacity: 0.1;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: -1;
}

.altar-service-num {
	display: flex;
	flex-direction: column;
	--fs: 12;
	font-weight: 500;
	line-height: 1;
	text-align: center;
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%,-35%);
}

.altar-service-num span {
	--fs: 56;
	line-height: 1;
	font-weight: 600;
	color: var(--color-theme-1);
}

.altar-service-item h3 {
	position: relative;
	--fs: 21;
	font-size: var(--font-size);
	font-weight: 500;
	letter-spacing: 0.1em;
	padding-bottom: 10px;
	margin-bottom: 5px;
}

.altar-service-item h3::before {
	content: "";
	min-width: 160px;
	width: 100%;
	height: 1px;
	background: var(--color-body);
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
}

.altar-service-item p {
	--fs: 15;
	margin-bottom: 0;
}

.altar-service-memorial {
	display: grid;
	grid-template-columns: auto 430px 1fr;
	gap: 60px;
	align-items: flex-start;
}

.altar-service-memorial h3 {
	position: relative;
	--fs: 45;
	font-size: var(--font-size);
	font-weight: 500;
	letter-spacing: 0.1em;
	writing-mode: vertical-rl;
	padding-bottom: 215px;
	margin: 0;
	margin-top: -1.5em;
}

.altar-service-memorial h3::before {
	content: "";
	width: 1px;
	height: 180px;
	background: var(--color-body);
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
}

.altar-service-memorial h3 span {
	display: inline-block;
}

.altar-service-memorial-text h4 {
	--fs: 30;
	line-height: calc(50 / 30);
	letter-spacing: 0.05em;
	margin-bottom: 40px;
}

.altar-service-memorial-text p {
	--fs: 18;
	line-height: calc(35 / 18);
	margin-bottom: 100px;
}

.altar-service-memorial-image {
	text-align: end;
	margin-right: calc((1440px - 1130px) / -2);
}

.altar-service-memorial-image img {
	border-radius: 10px 0 0 10px;
}

@media(min-width: 1441px) {
	.altar-service-memorial-image img {
		border-radius: 10px;
	}
}

@media(max-width: 1439px) {
	.altar-service-memorial-image {
		margin-right: calc((100vw - 1130px) / -2);
	}
}

@media(max-width: 1159px) {
	.altar-service-memorial-image {
		margin-right: calc(var(--padding) / -1);
	}
}

@media(max-width: 991px) {
	.altar-service-content {
		grid-template-columns: repeat(2,1fr);
		gap: 80px 30px;
		max-width: 600px;
		margin-inline: auto;
	}
	.altar-service-memorial {
		grid-template-columns: 100%;
		gap: 0;
	}
	.altar-service-memorial h3 {
		writing-mode: horizontal-tb;
		padding-bottom: 0;
		margin-bottom: 40px;
	}
	.altar-service-memorial h3::before {
		content: none;
	}
	.altar-service-memorial-text h4 {
		margin-bottom: 20px;
	}
	.altar-service-memorial-image {
		margin-top: 40px;
	}
}

@media(max-width: 767px) {
	.altar-service {
		margin-bottom: 100px;
	}
	.altar-service h2 {
		margin-bottom: 50px;
	}
	.altar-service-content {
		margin-bottom: 100px;
	}
	.altar-service-memorial h3 {
		--fs: 35;
		margin-top: 0;
		margin-bottom: 20px;
	}
	.altar-service-memorial-text h4 {
		--fs: 24;
		margin-bottom: 10px;
	}
	.altar-service-memorial-text p {
		--fs: 16;
		margin-bottom: 40px;
	}
}

@media(max-width: 575px) {
	.altar-service-content {
		gap: 50px 15px;
	}
	.altar-service-num {
		--fs: 11;
	}
	.altar-service-num span {
		--fs: 45;
	}
	.altar-service-item h3 {
		--fs: 16;
	}
	.altar-service-item h3::before {
		min-width: 140px;
	}
	.altar-service-item p {
		--fs: 13;
	}
}

.altar-image-slider {
	margin-bottom: 200px;
}

.altar-image-slider .swiper-wrapper {
	transition-timing-function: linear;
}

.altar-image-slider .swiper-slide {
	max-width: 1440px;
	min-width: 800px;
}

@media(max-width: 767px) {
	.altar-image-slider {
		margin-bottom: 100px;
	}
}


/*		手元供養		*/
.memorial-intro {
	margin-bottom: 120px;
}

.memorial-intro-content {
	display: grid;
	grid-template-columns: 1fr 50%;
	grid-template-rows: auto 1fr;
	gap: 0 30px;
	align-items: flex-start;
}

.memorial-intro-text {
	max-width: 490px;
}

.memorial-intro-image {
	text-align: right;
	grid-column: 2 / 3;
	grid-row: 1 / 3;
	margin-right: calc((1440px - 1130px) / -2);
}

.memorial-intro-image img {
	border-radius: 10px 0 0 10px;
}

@media(min-width: 1441px) {
	.memorial-intro-image img {
		border-radius: 10px;
	}
}

@media(max-width: 1439px) {
	.memorial-intro-image {
		margin-right: calc((100vw - 1130px) / -2);
	}
}

@media(max-width: 1159px) {
	.memorial-intro-image {
		margin-right: calc(var(--padding) * -1);
	}
}

@media(max-width: 991px) {
	.memorial-intro-content {
		grid-template-columns: 100%;
	}
	.memorial-intro-text {
		max-width: 100%;
	}
	.memorial-intro-image {
		grid-column: auto;
		grid-row: auto;
		order: 3;
		margin-top: 40px;
	} 
}

@media(max-width: 767px) {
	.memorial-intro {
		margin-bottom: 100px;
	}
}

.memorial-recommend {
	position: relative;
	--container: 600px;
	margin-bottom: 200px;
	overflow-x: clip;
}

.memorial-recommend::before {
	content: "";
    width: 600px;
    aspect-ratio: 600 / 203;
    position: absolute;
	top: 0px;
    left: 0px;
    transform: translate(-15%,-40%);
    z-index: -1;
    mask: url(img/site-deco.svg) center center / 100% 100% no-repeat;
    background: var(--color-gray-1);
}

.memorial-recommend::after {
	content: "";
    width: 600px;
    aspect-ratio: 600 / 203;
    position: absolute;
	top: 0px;
    right: 0px;
    transform: translate(15%,40%);
    z-index: -1;
    mask: url(img/site-deco.svg) center center / 100% 100% no-repeat;
    background: var(--color-gray-1);
}

.memorial-recommend h2 {
	--fs: 30;
	font-size: var(--font-size);
	letter-spacing: 0.05em;
	line-height: 1.8;
	writing-mode: vertical-rl;
	margin: 0 auto 70px;
}

.memorial-recommend h2 span {
	display: inline-block;
}

.memorial-recommend h2 span:nth-of-type(2) {
	margin-top: 1.25em;
}

.memorial-recommend h2 span:nth-of-type(3) {
	margin-top: 4.2em;
}

.memorial-recommend-list {
	list-style: none;
	padding: 0;
	margin-bottom: 0;
}

.memorial-recommend-list li {
	--fs: 18;
	font-weight: 500;
	text-indent: -30px;
	border-bottom: 0.5px solid #000;
	padding: 20px 30px 20px 60px
}

.memorial-recommend-list li:first-child {
	border-top: 0.5px solid #000;
}

.memorial-recommend-list li::before {
	content: "";
	display: inline-block;
	width: 20px;
	aspect-ratio: 1 / 1;
	background: var(--color-theme-1);
	border-radius: 50%;
	margin-right: 10px;
	margin-bottom: -3px;
}

@media(max-width: 767px) {
	.memorial-recommend {
		margin-bottom: 100px;
	}
	.memorial-recommend::before {
		width: 310px;
	}
	.memorial-recommend::after {
		width: 310px;
		transform: translate(15%,100%);
	}
	.memorial-recommend h2 {
		--fs: 24;
		margin-bottom: 50px;
	}
	.memorial-recommend-list li {
		--fs: 16;
		text-indent: -25px;
		padding: 15px 15px 15px 40px;
	}
	.memorial-recommend-list li::before {
		width: 15px;
		margin-bottom: -1px;
	}
}

.memorial-product {
	margin-bottom: 125px;
}

.memorial-product-title {
	margin-bottom: 40px;
}

.memorial-product-title h2 {
	position: relative;
	margin-bottom: 15px;
}

.memorial-product-title h2::before {
	content: "";
	width: 100%;
	height: 1px;
	background: var(--color-body);
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
	z-index: -1;
}

.memorial-product-title h2 span {
	--fs: 32;
	font-size: var(--font-size);
	background: #FFF;
	padding-right: 15px;
}

.memorial-product-title span {
	--fs: 19;
	font-size: var(--font-size);
}

.memorial-product-content {
	display: grid;
	grid-template-columns: 40% 25% 25%;
	grid-template-rows: 1fr auto;
	gap: 5%;
	justify-content: space-between;
}

.memorial-product-image:nth-child(1) {
	grid-row: 1 / 3;
}

@media(max-width: 767px) {
	.memorial-product {
		margin-bottom: 100px;
	}
	.memorial-product-title h2 {
		margin-bottom: 10px;
	}
	.memorial-product-title h2 span {
		--fs: 24;
	}
	.memorial-product-title span {
		--fs: 16;
	}
	.memorial-product-content {
		grid-template-columns: 42% 26% 26%;
		gap: 3%;
	}
}

.memorial-flow {
	background: var(--color-gray-1);
	padding-top: 100px;
	padding-bottom: 150px;
}

.memorial-flow .page-section-title {
	margin-bottom: 65px;
}

.memorial-flow h3 {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 215px;
	min-height: 50px;
	--fs: 18;
	font-size: var(--font-size);
	font-weight: 500;
	letter-spacing: 0.1em;
	background: #FFF;
	border: 1px solid var(--color-body);
	border-radius: 40px;
	margin-inline: auto;
	margin-bottom: 35px;
}

.memorial-flow-content {
	display: flex;
	gap: 55px;
	max-inline-size: max-content;
	margin-inline: auto;
	margin-bottom: 35px;
}

.memorial-flow-item {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	width: 180px;
	min-height: 150px;
	--fs: 20;
	font-weight: 500;
	color: #FFF;
	background: linear-gradient(235.83deg, #857474 9.14%, #1F1B1B 79.02%);
	border-radius: 10px;
}

.memorial-flow-item:last-child {
	--fs: 25;
	background: linear-gradient(235.83deg, #E0BD7B 9.14%, #AE8238 79.02%);;
}

.memorial-flow-item:not(:last-child)::before {
	content: "";
	width: 20px;
	aspect-ratio: 20 / 18;
	background: url(img/button-arrow.svg) center / cover;
	position: absolute;
	top: 50%;
	right: -27px;
	transform: translate(50%,-50%);
}

.memorial-flow-box {
	max-width: 880px;
	background: #FFF;
	border-radius: 10px;
	padding: 35px 15px;
	margin-inline: auto;
	margin-bottom: 100px;
}

.memorial-flow-box p {
	--fs: 18;
	line-height: calc(35 / 18);
	margin-bottom: 0;
}

.memorial-flow-box > * {
	max-width: 650px;
	margin-inline: auto;
}

@media(max-width: 991px) {
	.memorial-flow-content {
		gap: 40px;
	}
	.memorial-flow-item {
		--fs: 16;
		width: 110px;
		min-height: 100px;
	}
	.memorial-flow-item:last-child {
		--fs: 20;
	}
	.memorial-flow-item:not(:last-child)::before {
		width: 15px;
		right: -20px;
	}
}

@media(max-width: 767px) {
	.memorial-flow {
		padding-top: 50px;
		padding-bottom: 100px;
	}
	.memorial-flow .page-section-title {
		margin-bottom: 50px;
	}
	.memorial-flow h3 {
		width: 180px;
		min-height: 40px;
		--fs: 16;
	}
	.memorial-flow-content {
		flex-direction: column;
		gap: 20px;
		max-inline-size: none;
	}
	.memorial-flow-item {
		width: 100%;
		min-height: 45px;
		padding: 5px;
	}
	.memorial-flow-item:not(:last-child)::before {
		width: 12px;
		top: auto;
		right: auto;
		bottom: -10px;
		left: 50%;
		transform: translate(-50%,50%) rotate(90deg);
	}
	.memorial-flow-box {
		padding: 20px 15px;
	}
	.memorial-flow-box p {
		--fs: 16;
	}
}


/*		四十九日法要の準備		*/
.preparation-intro {
	position: relative;
	overflow-x: clip;
	margin-bottom: 170px;
}

.preparation-intro-content {
	display: grid;
	grid-template-columns: 1fr 50%;
	grid-template-rows: auto 1fr;
	gap: 0 30px;
	align-items: flex-start;
}

.preparation-intro-content::before {
	content: "";
    width: 600px;
    aspect-ratio: 600 / 203;
    position: absolute;
	bottom: 0px;
    left: 0px;
    transform: translate(-15%,35%);
    z-index: -1;
    mask: url(img/site-deco.svg) center center / 100% 100% no-repeat;
    background: var(--color-gray-1);
}

.preparation-intro-text {
	max-width: 490px;
}

.preparation-intro-image {
	text-align: right;
	grid-column: 2 / 3;
	grid-row: 1 / 3;
	margin-right: calc((1440px - 1130px) / -2);
}

.preparation-intro-image img {
	border-radius: 10px 0 0 10px;
}

@media(min-width: 1441px) {
	.preparation-intro-image img {
		border-radius: 10px;
	}
}

@media(max-width: 1439px) {
	.preparation-intro-image {
		margin-right: calc((100vw - 1130px) / -2);
	}
}

@media(max-width: 1159px) {
	.preparation-intro-image {
		margin-right: calc(var(--padding) * -1);
	}
}

@media(max-width: 991px) {
	.preparation-intro-content {
		grid-template-columns: 100%;
		gap: 0;
	}
	.preparation-intro-text {
		max-width: 100%;
	}
	.preparation-intro-image {
		grid-column: auto;
		grid-row: auto;
		order: 2;
		margin-top: 40px;
	}
}

@media(max-width: 767px) {
	.preparation-intro {
		margin-bottom: 100px;
	}
	.preparation-intro-content::before {
		width: 310px;
		transform: translate(-15%,60%);
	}
}

.preparation-about {
	margin-bottom: 350px;
}

.preparation-about-nav .nav-tabs {
	position: relative;
	justify-content: center;
	gap: 25px;
	width: 100vw;
	border-color: var(--color-body);
	padding: 0 var(--padding);
	margin-left: calc((100vw - 100%) / -2);
}

.preparation-about-nav .nav-link {
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 420px;
	width: 100%;
	min-height: 80px;
	--fs: 25;
	font-size: var(--font-size);
	color: #FFF;
	background: linear-gradient(235.83deg, #857474 9.14%, #1F1B1B 79.02%);;
	border-radius: 10px 10px 0 0;
	border-bottom: none;
	transition: color .15s ease-in-out,background 0s,border-color .15s ease-in-out,opacity 0s;
}

.preparation-about-nav .nav-link.active {
	color: var(--color-body);
	background: #FFF;
	border: 1px solid var(--color-body);
	border-bottom: none;
}

.preparation-about-nav .nav-link:focus,
.preparation-about-nav .nav-link:hover {
	border-color: var(--color-body);
	border-bottom: none;
}

.preparation-about-nav .nav-link.active:focus,
.preparation-about-nav .nav-link.active:hover {
	opacity: 1;
}

.preparation-about-content {
	padding-top: 150px;
}

.preparation-about-content h2 {
	--fs: 45;
	font-size: var(--font-size);
    letter-spacing: 0.1em;
    text-align: start;
    font-weight: 500;
	margin-bottom: 60px;
}

.preparation-about-content h3 {
	position: relative;
	--fs: 25;
	font-size: var(--font-size);
	padding-left: 15px;
	margin-bottom: 20px;
}

.preparation-about-content h3::before {
	content: "";
	width: 7px;
	height: 32px;
	background: var(--color-theme-1);
	position: absolute;
	top: 0;
	left: 0;
}

.preparation-about-check-list {
	display: grid;
	grid-template-columns: repeat(2,1fr);
	gap: 0 20px;
	list-style: none;
	padding: 0;
	margin-bottom: 90px;
	margin-inline: auto;
}

.preparation-about-check-list li {
	position: relative;
	--fs: 18;
	line-height: 1.4;
    border-bottom: 1px solid var(--color-body);
	padding: 25px 0;
	padding-left: 55px;
}

.preparation-about-check-list li::before {
	content: "";
	display: inline-block;
	width: 22px;
	height: 22px;
	border: 1px solid var(--color-body);
	border-radius: 2px;
	vertical-align: text-top;
	position: absolute;
	top: 27px;
    left: 15px;
}

/* .preparation-about-table {
	margin-bottom: 90px;
}

.preparation-about-table table {
	width: 100%;
}

.preparation-about-table thead th {
	text-align: center;
	border-bottom: 1px solid var(--color-body);
	padding: 25px 50px;
}

.preparation-about-table thead th:first-child {
	--fs: 45;
	letter-spacing: 0.1em;
	text-align: start;
	font-weight: 500;
	padding: 25px 40px;
}

.preparation-about-table thead th span {
	--fs: 18;
	font-weight: 500;
	display: flex;
	align-items: center;
	justify-content: center;
	max-inline-size: max-content;
	min-width: 240px;
	min-height: 38px;
	border: 1px solid var(--color-body);
	border-radius: 20px;
	margin-inline: auto;
}

.preparation-about-table tbody td {
	--fs: 20;
	text-align: center;
	border-bottom: 1px solid var(--color-body);
	padding: 25px 50px;
}

.preparation-about-table tbody td:first-child {
	text-align: start;
	text-indent: -55px;
	padding-left: 105px;
}

.preparation-about-table tbody td:first-child::before {
	content: "";
	display: inline-block;
	width: 32px;
	height: 32px;
	border: 1px solid var(--color-body);
	border-radius: 2px;
	vertical-align: text-top;
	margin-right: 23px;
} */

/* .preparation-about-check-list {
	display: grid;
	grid-template-columns: repeat(4,1fr);
	gap: 40px 20px;
	max-inline-size: max-content;
	list-style: none;
	padding: 0;
	margin-bottom: 90px;
	margin-inline: auto;
}

.preparation-about-check-list li {
	position: relative;
	--fs: 18;
	line-height: 1.4;
	text-indent: -40px;
	margin-left: 40px;
}

.preparation-about-check-list li::before {
	content: "";
	display: inline-block;
	width: 26px;
	height: 26px;
	border: 1px solid var(--color-body);
	border-radius: 2px;
	vertical-align: text-top;
	margin-right: 14px;
} */

.preparation-about-supplement {
	list-style: none;
	padding-left: 0;
	margin-bottom: 100px;
}

.preparation-about-supplement li {
	--fs: 18;
	text-indent: -1em;
	line-height: 1.5;
	margin-bottom: 5px;
	margin-left: 1em;
}

.preparation-about-supplement li::before {
	content: "・";
	position: relative;
}

@media(max-width: 991px) {
	.preparation-about-nav .nav-tabs {
		gap: 15px;
	}
	.preparation-about-nav .nav-link {
		max-width: 350px;
	}
	.preparation-about-content {
		padding-top: 100px;
	}
	/* .preparation-about-table thead th {
		padding: 20px 15px;
	}
	.preparation-about-table thead th:first-child {
		padding: 20px 15px;
	}
	.preparation-about-table tbody td {
		padding: 20px 15px;
	}
	.preparation-about-table tbody td:first-child {
		padding-left: 70px;
	}
	.preparation-about-check-list {
		grid-template-columns: repeat(3,1fr);
		gap: 20px;
	}*/
}

@media(max-width: 767px) {
	.preparation-about {
		margin-bottom: 200px;
	}
	.preparation-about-nav .nav-link {
		--fs: 16;
		max-width: calc((100% - 15px) / 2);
		min-height: 55px;
		padding: 10px 5px;
	}
	.preparation-about-content {
		padding-top: 50px;
	}
	.preparation-about-content h2 { 
		--fs: 24;
		margin-bottom: 40px;
	}
	.preparation-about-content h3 { 
		--fs: 20;
		margin-bottom: 10px;
	}
	.preparation-about-content h3::before {
		width: 6px;
		height: 25px;
	}
	.preparation-about-check-list {
		margin-bottom: 60px;
	}
	.preparation-about-check-list li {
		--fs: 16;
		padding: 20px 0 ;
		padding-left: 30px;
	}
	.preparation-about-check-list li::before {
		width: 18px;
		height: 18px;
		top: 23px;
		left: 5px;
	}
	.preparation-about-supplement {
		margin-bottom: 60px;
	}
	.preparation-about-supplement li {
		--fs: 15;
	}
	/* .preparation-about-table {
		margin-bottom: 50px;
	}
	.preparation-about-table thead th {
		padding: 15px 5px;
	}
	.preparation-about-table thead th:first-child {
		--fs: 24;
		letter-spacing: 0;
		padding: 15px 5px;
	}
	.preparation-about-table thead th span {
		--fs: 15;
		min-width: 130px;
		min-height: 30px;
	}
	.preparation-about-table tbody td {
		--fs: 15;
		padding: 15px 5px;
	}
	.preparation-about-table tbody td:first-child {
		text-indent: -17px;
		padding-left: 22px;
		padding-right: 10px;
	}
	.preparation-about-table tbody td:first-child::before {
		width: 12px;
		height: 12px;
		margin-right: 5px;
		margin-top: 6px;
	}
	.preparation-about-table tbody td:last-child {
		padding-left: 5px;
	}
	.preparation-about-check-list {
		margin-bottom: 100px;
	}
	.preparation-about-check-list li {
		--fs: 15;
		text-indent: -17px;
		margin-left: 17px;
	}
	.preparation-about-check-list li::before {
		width: 12px;
		height: 12px;
		margin-top: 6px;
		margin-right: 5px;
	} */
}

@media(max-width: 575px) {
	.preparation-about-nav .nav-link {
		--fs: 15;
		max-width: calc((100% - 5px) / 2);
	}
	.preparation-about-nav .nav-tabs {
		gap: 5px;
	}
	.preparation-about-check-list {
		grid-template-columns: 1fr;
	}
}

.preparation-faq h2 {
	--fs: 45;
	font-size: var(--font-size);
	margin-bottom: 50px;
}

.preparation-faq-content {
	position: relative;
	padding-top: 50px;
	padding-bottom: 200px;
}

.preparation-faq-content::before {
	content: "";
	width: 100vw;
	height: 100%;
	background: var(--color-gray-1);
	position: absolute;
	top: 0;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
}

@media(max-width: 767px) {
	.preparation-faq h2 {
		--fs: 30;
		margin-bottom: 40px;
	}
	.preparation-faq-content {
		padding-bottom: 100px;
	}
}

/*		店舗案内		*/

.about-group-content .page-section-title {
	margin-bottom: 70px;
}

.ishino-group {
	display: grid;
	grid-template-columns: repeat(3,3fr);
	list-style: none;
	padding: 0;
}

.ishino-group li {
	border: 1px solid #707070;
}

.ishino-group li:not(:last-child) {
	border-right: none;
}

.ishino-group a,
.ishino-group span {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	min-height: 90px;
}

.about-group-greeting {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 10px;
	width: 100%;
	aspect-ratio: 965 / 370;
	background: var(--color-theme-1);
	background-image: url(img/greeting-image.webp);
	background-size: 85%;
	background-position: right center;
	background-repeat: no-repeat;
	padding: 30px 10%;
}

.about-group-greeting span {
	font-size: 23px;
	color: #FFF;
	letter-spacing: 0.05em;
	font-weight: 500;
}

.about-group-greeting p {
	font-size: 36px;
	line-height: 1;
	color: #FFF;
	letter-spacing: 0.05em;
	font-weight: 500;
	margin-bottom: 0;
}

@media(max-width: 767px) {
	.about-group-content .page-section-title {
		margin-bottom: 40px;
	}
	.ishino-group a,
	.ishino-group span {
		min-height: 0;
		aspect-ratio: 5 / 2;
		padding: 0 5px;
	}
	.ishino-group {
		margin-bottom: 20px;
	}
}

@media(max-width: 575px) {
	.about-group-greeting span {
		font-size: 15px;
	}
	.about-group-greeting p {
		font-size: 22px;
	}
}
















/*		news item		*/
.news-list {
	display: grid;
	grid-template-columns: repeat(4,1fr);
	gap: 120px 25px;
	list-style: none;
	padding-left: 0;
	margin-bottom: 120px;
}

.news-list-item {
	position: relative;
	display: block;
}

.news-list-item.new::before {
	content: "NEW";
	display: flex;
	align-items: center;
	justify-content: center;
	--fs: 12;
	letter-spacing: 0.1em;
	font-family: var(--roboto);
	font-weight: 500;
	color: #FFF;
	width: 45px;
	aspect-ratio: 1 / 1;
	background: var(--color-theme-1);
	border-radius: 50%;
	position: absolute;
	top: -23px;
	left: 12px;
}

.news-list-image {
	margin-bottom: 20px;
}

.news-list-image img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 10px;
}

.news-list-date {
	display: inline-block;
	--fs: 13;
	margin-bottom: 5px;
}

.news-list-title {
	--fs: 18;
	font-weight: 600;
	line-height: calc(28 / 18);
	margin-bottom: 10px;
}

.news-category {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 100px;
	min-height: 25px;
	--fs: 14;
	font-weight: 600;
	color: #FFF;
	background: var(--color-body);
	border-radius: 30px;
	padding: 2px 10px;
}

.news-tag {
	--fs: 14;
}

@media(max-width: 991px) {
	.news-list {
		gap: 80px 15px;
	}
}

@media(max-width: 767px) {
	.news-list {
		grid-template-columns: repeat(2,1fr);
		gap: 100px 15px;
		margin-bottom: 100px;
	}
}

@media(max-width: 575px) {
	.news-list {
		gap: 70px 15px;
	}
	.news-list-item.new::before {
		--fs: 11;
		width: 40px;
		top: -15px;
	}
	.news-list-image {
		margin-bottom: 10px;
	}
	.news-list-date {
		--fs: 12;
	}
	.news-list-title {
		--fs: 15;
		margin-bottom: 5px;
	}
	.news-category {
		--fs: 12;
		line-height: 1;
		min-width: 70px;
		min-height: 18px;
	}
	.news-tag {
		--fs: 12;
	}
}

/*		投稿一覧		*/
.news-category-content {
	display: flex;
	justify-content: space-between;
	gap: 15px;
	list-style: none;
	max-width: 850px;
	padding: 0;
	margin-bottom: 120px;
	margin-inline: auto;
}

.news-category-content:has(+ .news-child-category) {
	margin-bottom: 50px;
}

.news-category-content li {
	max-width: 180px;
	width: 100%;
}

.news-category-content a {
	position: relative;
	display: block;
	width: 100%;
	background: #FFF;
	border: 1px solid var(--color-body);
	border-radius: 10px;
	padding: 10px 15px;
}

.news-category-content a.active {
	pointer-events: none;
}

.news-category-content a::before {
	content: "";
    width: 16px;
    aspect-ratio: 1 / 1;
    -webkit-mask: no-repeat center center / cover;
    mask: no-repeat center center / cover;
    -webkit-mask-image: url(img/icon-arrow.svg);
    mask-image: url(img/icon-arrow.svg);
    background: var(--color-body);
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    transition: 0.2s;
    z-index: 5;
}

.news-category-content a.active::before {
	background: var(--color-theme-1);
	transform: translateY(-50%) rotate(90deg);
}

.news-child-category {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 30px;
	list-style: none;
	padding: 0;
	margin-bottom: 120px;
}

.news-child-category a {
	--fs: 18;
}

.news-child-category a.active {
	color: var(--color-theme-1);
}

.archive-news-content .news-list {
	margin-bottom: 0;
}

@media(max-width: 767px) {
	.news-category-content {
		display: grid;
		grid-template-columns: repeat(2,1fr);
		margin-bottom: 80px;
	}
	.news-category-content:has(+ .news-child-category) {
		margin-bottom: 30px;
	}
	.news-category-content li {
		max-width: 100%;
	}
	.news-child-category {
		margin-bottom: 80px;
	}
	.news-child-category a {
		--fs: 16;
	}
}

@media(max-width: 575px) {
	.news-category-content a {
		--fs: 15;
		padding: 5px 15px;
	}
}

.pagination {
	justify-content: center;
	margin-top: 120px;
}


.pagination .nav-links {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 15px;
}

.pagination .page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-body);
	width: 54px;
	height: 54px;
	background: #FFF;
	border: 1px solid var(--color-body);
	border-radius: 50%;
}

.pagination .page-numbers.current {
	color: #FFF;
	background: var(--color-theme-1);
	border: 1px solid var(--color-theme-1);
}

.pagination .page-numbers.prev {
	background: url(img/button-arrow.svg) center center / 12px no-repeat, rgb(255, 255, 255);
	transform: scale(-1,1);
}

.pagination .page-numbers.next {
	background: url(img/button-arrow.svg) center center / 12px no-repeat, rgb(255, 255, 255);
}

.pagination .page-numbers.dots {
	width: auto;
	align-items: end;
	background: transparent;
	border: none;
	padding: 5px 0;
}

@media(max-width: 767px) {
	.pagination {
		margin-top: 100px;
	}
	.pagination .nav-links {
		gap: 10px;
	}
	.pagination .page-numbers {
		--fs: 14;
		width: 34px;
		height: 34px;
	}
	.pagination .page-numbers.next,
	.pagination .page-numbers.prev {
		background-size: 10px;
	}
}

/*		投稿詳細		*/
.single-news-content {
	--container: 870px;
}

.single-news-info {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 15px;
	margin-bottom: 15px;
}

.single-news-info .news-category {
	min-width: 110px;
    min-height: 30px;
    --fs: 15;
}

.single-news-info .news-tag {
	--fs: 16;
}

.single-news-title {
	--fs: 20;
	font-size: var(--font-size);
	margin-bottom: 50px;
}

.single-news-title:has(+ .single-news-swiper),
.single-news-title:has(+ .single-news-image) {
	margin-bottom: 25px;
}

.single-news-swiper {
	margin-bottom: 50px;
}

.single-news-image {
	margin-bottom: 50px;
}

.single-news-swiper .main-swiper {
	position: relative;
	margin-bottom: 15px;
}


.single-news-swiper .thumbnail-swiper .swiper-slide:not(.swiper-slide-thumb-active) {
	opacity: 0.6;
}

.single-news-swiper .swiper-slide img,
.single-news-image img {
	aspect-ratio: 870 / 710;
	width: 100%;
	object-fit: contain;
	background: #FFF;
	border: 0.5px solid var(--color-body);
}

.main-swiper .single-news-swiper .swiper-slide img,
.single-news-image img {
	padding: 20px;
}

.single-news-swiper .swiper-button-prev,
.single-news-swiper .swiper-button-next {
	position: absolute;
	width: 50px;
	height: auto;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	background: var(--color-body);
	margin-top: 0;
}

.single-news-swiper .swiper-button-prev {
	left: 0;
	top: 50%;
	transform: translate(-40%,-50%);
}

.single-news-swiper .swiper-button-next {
	right: 0;
	top: 50%;
	transform: translate(40%,-50%);
}

.single-news-swiper .swiper-button-prev:hover,
.single-news-swiper .swiper-button-next:hover {
	opacity: 0.6;
}

.single-news-swiper .swiper-button-prev::before {
	content: "";
	width: 12px;
	height: 12px;
	border-top: 2px solid #FFF;
	border-left: 2px solid #FFF;
	border-radius: 2px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-45%,-50%) rotate(-45deg);
}

.single-news-swiper .swiper-button-next::before {
	content: "";
	width: 12px;
	height: 12px;
	border-top: 2px solid #FFF;
	border-right: 2px solid #FFF;
	border-radius: 2px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-65%,-50%) rotate(45deg);
}
	

.single-news-swiper .swiper-button-prev::after,
.single-news-swiper .swiper-button-next::after {
	content: none;
}

.single-content {
	margin-bottom: 100px;
}

.archive-news-link {
	text-decoration: underline;
}

@media(max-width: 991px) {
	.single-news-swiper .swiper-button-next {
		right: -10px;
		transform: translateY(-50%);
	}
	.single-news-swiper .swiper-button-prev {
		left: -10px;
		transform: translateY(-50%);
	}
}

@media(max-width: 767px) {
	.single-content {
		margin-bottom: 50px;
	}
	.single-news-swiper {
		margin-bottom: 30px;
	}
	.single-news-swiper .swiper-button-prev,
	.single-news-swiper .swiper-button-next {
		width: 40px;
	}
	.single-news-swiper .swiper-button-prev::before,
	.single-news-swiper .swiper-button-next::before {
		width: 10px;
		height: 10px;
	}
	.news-date {
		--fs: 15;
	}
	.single-news-info .news-category {
		--fs: 14;
		min-width: 100px;
		min-height: 25px;
	}
	.single-news-info .news-tag {
		--fs: 14;
	}
}

@media(max-width: 575px) {
	.single-news-swiper .main-swiper {
		margin-bottom: 10px;
	}
	.single-news-info {
		align-items: flex-start;
		flex-direction: column;
		gap: 5px;
	}
}

/*		よくある質問		*/
.faq-content {
	margin-bottom: 150px;
}

.faq-category {
	display: flex;
	flex-wrap: wrap;
	max-inline-size: max-content;
	margin-inline: auto;
	gap: 20px;
	margin-bottom: 140px;
}

.archive-faq-content .faq-category {
	display: grid;
	grid-template-columns: repeat(3,1fr);
}

.faq-category a {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	--fs: 17;
	color: #FFF;
	min-width: 240px;
	min-height: 40px;
	background: linear-gradient(235.83deg, #857474 9.14%, #1F1B1B 79.02%);
	border-radius: 40px;
	padding: 5px 20px;
}

.faq-category a::before {
	content: "";
	width: 8px;
	height: 8px;
	border-right: 1.5px solid #FFF;
	border-bottom: 1.5px solid #FFF;
	border-radius: 2px;
	position: absolute;
	top: 50%;
	right: 15px;
	transform: translateY(calc(-50% - 1px)) rotate(45deg);
}

.faq-item:not(:last-of-type) {
	margin-bottom: 120px;
}

.faq-item-title {
	--fs: 32;
	font-size: var(--font-size);
	letter-spacing: 0.1em;
	margin-bottom: 45px;
}

.faq-card {
	max-width: 925px;
	margin-inline: auto;
	margin-bottom: 20px;
}

.faq-card-header {
	position: relative;
}

.faq-card-header::before {
	content: "";
    width: 34px;
    aspect-ratio: 1 / 1;
    background: url(img/faq-arrow.svg) no-repeat center / 11px, var(--color-theme-1);
    border-radius: 50%;
    position: absolute;
    top: 25px;
    right: 0;
	transform: rotate(180deg);
	transition: 0.3s;
}

.faq-card-header:has(button.collapsed)::before {
	transform: none;
}

.faq-card-header button {
	position: relative;
	--fs: 20;
	font-size: var(--font-size);
	text-align: start;
	color: var(--color-body);
	width: 100%;
	background: transparent;
	border: none;
	outline: none;
	padding: 25px 45px 25px 80px;
}

.faq-card-header button::before {
	content: "Q";
	--fs: 79;
	line-height: 1;
	color: var(--color-theme-1);
	position: absolute;
	top: 25px;
	left: 0;
	transform: translateY(-40%);
}

.faq-card-header button::after {
	content: "";
	width: calc((100% - 80px));
	height: 1px;
	background: var(--color-body);
	position: absolute;	
	right: 0;
	bottom: 0;
}

.faq-card-body {
	--fs: 18;
	line-height: calc(35 / 18);
	padding: 30px 0 30px 80px;
}

.faq-card-body a {
	text-decoration: underline;
}

@media(max-width: 991px) {
	.archive-faq-content .faq-category {
		gap: 15px;
	}	
}

@media(max-width: 767px) {
	.faq-category {
		display: grid;
		grid-template-columns: repeat(2,1fr);
		max-inline-size: none;
	}
	.archive-faq-content .faq-category {
		grid-template-columns: repeat(2,1fr);
	}	
	.faq-category a {
		min-width: auto;
	}
	.faq-content {
		margin-bottom: 100px;
	}
	.faq-item:not(:last-of-type) {
		margin-bottom: 80px;
	}
	.faq-item-title {
		--fs: 24;
		margin-bottom: 20px;
	}
	.faq-card {
		margin-bottom: 5px;
	}
	.faq-card-header::before {
		width: 20px;
		background-size: 9px;
		top: 20px;
	}
	.faq-card-header button {
		--fs: 16;
		padding: 15px 25px 15px 40px;
	}
	.faq-card-header button::before {
		--fs: 40;
	}
	.faq-card-header button::after {
		width: calc(100% - 40px);
	}
	.faq-card-body {
		--fs: 16;
		padding: 15px 0 15px 40px;
	}
}

@media(max-width: 575px) {
	.faq-category {
		gap: 15px 10px;
		margin-bottom: 100px;
	}
	.faq-category a {
		--fs: 13;
		letter-spacing: 0.05em;
		padding: 5px 10px;
	}
	.faq-category a::before {
		width: 6px;
		height: 6px;
		right: 8px;
	}
}



.wow[class*="animate__"]:not(.animate__animated) {
	animation-name: none;
	visibility: hidden;
}

.animate__animated {
	-webkit-animation-duration: 2s;
	animation-duration: 2s;
}


/*		お問い合わせ		*/
.form-intro {
	border-bottom: 0.5px solid var(--color-body);
	padding-bottom: 30px;
}

.form-policy {
	border-top: 0.5px solid var(--color-body);
	padding-top: 30px;
}

.form-contact .col-form-label {
	--fs: 17;
	font-size: var(--font-size);
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 15px;
}

.form-contact .col-form-label span {
	display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #FFF;
    width: 35px;
    border-radius: 2px;
    padding: 1px;
}

.form-contact .form-group .form-control {
	border: 0.5px solid var(--color-body);
	border-radius: 5px;
}

.form-contact .form-group .form-control::placeholder {
	color: #bababa;
}

.form-contact .vertical-item + .vertical-item {
	margin-top: 0;
}

.form-policy {
	margin-bottom: 100px;
}

.form-policy-content {
	position: relative;
	background: #FFF;
	max-height: 200px;
	border: 0.5px solid var(--color-body);
	border-radius: 5px;
	overflow: auto;
	padding: 10px 15px;
	margin-bottom: 10px;
}

.form-policy-content h2 {
	--fs: 18;
	font-size: var(--font-size);
	margin-bottom: 5px;
}

.form-policy-content p {
	--fs: 15;
	line-height: 1.5;
}

.form-policy-content * + h2 {
	margin-top: 30px;
}

.send-btn,
.back-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 280px;
	min-height: 70px;
	background: #FFF;
	border: 1px solid var(--color-body);
	border-radius: 70px;
	outline: none;
	transition: 0.2s;
}

.send-btn:hover,
.back-btn:hover {
	color: #FFF;
	background: var(--color-theme-1);
	border: 1px solid var(--color-theme-1);
}

.page-contact-tel {
	max-inline-size: max-content;
	margin-bottom: 100px;
	margin-inline: auto;
}

.page-contact-tel .page-section-title,
.form-contact .page-section-title {
	margin-bottom: 10px;
}

.page-contact-tel a {
	display: flex;
	align-items: center;
	gap: 10px;
	--fs: 45;
	line-height: 1;
	margin-bottom: 5px;
}

.page-contact-tel a img {
	margin-top: 6px;
}

.page-contact-tel p {
	--fs: 18;
	font-weight: 500;
}

@media(max-width: 991px) {
	.form-contact .col-form-label {
		justify-content: flex-start;
	}
}

@media(max-width: 767px) {
	.form-contact .col-form-label {
		--fs: 16;
	}
	.send-btn, .back-btn {
		--fs: 15;
		font-size: var(--font-size);
		width: 240px;
		min-height: 64px;
	}
	.form-policy {
		margin-bottom: 50px;
	}
}
