/* ホームページ */

.bg-title {
	background-image: url("../img/bg-title.jpg");
	background-position: right;
	background-repeat: no-repeat;
}


.section-full {
	width: 100%;
}

/* テキストセクション */
.home-intro {
	text-align: center;
	font-size: 22px;
	line-height: 55px;
}

.intro-text p {
	text-shadow: 0 0 10px #fff, 0 0 16px #fff, 0 0 20px #fff;
	margin-bottom: 0;
}

/* 電話CTAバナー */
.home-cta-tel {
	max-width: 750px;
	margin: auto;
}

/* 選ばれ続ける7つの理由 */
.home-reasons {
	background: #fffceb;
	padding: 0;
}

.reasons-title {
	text-align: center;
	font-size: 44px;
	font-weight: bold;
	margin-bottom: 40px;
}

.reasons-num {
	font-size: 100px;
	font-weight: bold;
	line-height: 1;
}

.reasons-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 24px;
}

.reason-card {
	grid-column: span 2;
	background: #fff;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.reason-card--wide {
	grid-column: span 3;
}

.reason-img {
	position: relative;
}

.reason-img img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
}

.reason-card--wide .reason-img img {
	height: 280px;
}

.reason-badge {
	position: absolute;
	top: 0;
	left: 0;
	background: #e8a020;
	color: #fff;
	font-size: 32px;
	font-weight: bold;
	width: 70px;
	height: 70px;
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	padding: 20px 0 0 12px;
	line-height: 0;
	clip-path: polygon(0 0, 100% 0, 0 100%);
}

.reason-body {
	padding: 16px 20px 24px;
}

.reason-card-title {
	font-size: 20px;
	font-weight: bold;
	margin-bottom: 10px;
}

.reason-card-title a {
	color: #333;
	text-decoration: none;
}

.reason-card-title a:hover {
	color: #e8a020;
}

.reason-arrow {
	color: #e8a020;
	font-size: 24px;
	padding-left: 12px;
}

.reason-body p {
	font-size: 16px;
	line-height: 1.8;
	color: #555;
}
.swiper-txt {
	position: absolute;
	z-index: 10000;
	width: 180px;
	height: auto;
	left: 16%;
	top: 12%;
}

.swiper-nintei {
	display: none;
}

@media screen and (max-width: 768px) {
	.swiper-nintei {
		display: block;
		position: absolute;
		z-index: 10000;
		width: 130px;
		height: auto;
		right: 3%;
		bottom: 6%;
	}
	.swiper-nintei img {
		width: 100%;
		height: auto;
	}
}

@media screen and (max-width: 768px) {
	.reasons-grid {
		grid-template-columns: 1fr;
	}
	.reason-card,
	.reason-card--wide {
		grid-column: span 1;
	}
	.home-intro {
		font-size: 18px;
		line-height: 1.8;
	}
	.swiper-txt {
		width: 90px;
		height: auto;
		left: 10%;
		top: 12%;
	}
}

/* ホールのご紹介 */
.home-halls {
	background: #fdf0e8;
	padding: 60px 0;
}

.halls-title {
	font-size: 36px;
	font-weight: bold;
	color: #f18849;;
	text-align: center;
	margin-bottom: 16px;
}

.halls-desc {
	font-size: 20px;
	line-height: 2;
	margin-bottom: 40px;
	max-width:680px ;
	margin: auto;
}
@media screen and (max-width: 768px) {
	.halls-desc {
		font-size: 18px;
		line-height: 2;
		margin-bottom: 40px;
		max-width:860px ;
		margin: auto;
	}
}

.hall-swiper-wrap {
	position: relative;
	padding-bottom: 48px;
}

.hall-swiper {
	overflow: hidden;
}

.hall-card {
	background: #fff;
	border-radius: 16px;
	display: flex;
	flex-direction: column;
	padding: 32px;
	gap: 20px;
	box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

/* ホール名：全幅 */
.hall-name {
	font-size: 30px;
	font-weight: bold;
	color: #f18849;
}

/* 画像＋住所タグ：左右並び */
.hall-card-body {
	display: flex;
	gap: 32px;

	@media screen and (max-width: 768px) {
		flex-direction: column;
	}
}

.hall-card-left {
	flex: 1;
}

.hall-card-left img {
	width: 100%;
	height: 260px;
	object-fit: cover;
	border-radius: 8px;
}
@media screen and (max-width: 768px) {
	.hall-card-left img {
		height: 170px;
	}
}
.hall-card-right {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.hall-address {
	font-size: 20px;
	line-height: 1.5;
	letter-spacing: 0;
}

.hall-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.hall-tag {
	border: 1px solid #f18849;
	background: #ffefe5;
	color: #333;
	font-size: 15px;
	padding: 0 8px;
	border-radius: 9px;
	width: 58px;
	text-align: center;
}

/* 詳細ボタン：全幅 */
.hall-btn {
	margin: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 26px;
	background: #f18849;
	color: #fff;
	font-size: 20px;
	font-weight: bold;
	padding: 6px 12px;
	padding-left: 60px;
	padding-right: 26px;
	border-radius: 40px;
	text-decoration: none;
	width: auto;
}

.hall-btn:hover {
	background: #d4911a;
	color: #fff;
}

.hall-btn span img {
	width: 18px;
	height: 18px;
	vertical-align: middle;
}
.hall-btn span {
	display: flex;
	align-items: center;
}

.hall-swiper-prev,
.hall-swiper-next {
	position: absolute;
	top: 44%;
	transform: translateY(-50%);
	z-index: 10;
	background: #f18849;
	border: none;
	border-radius: 50%;
	width: 60px;
	height: 60px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;

	&:hover,
	&:focus {
		background: #e3b26d;
	}
	@media screen and (max-width: 768px) {
		width: 50px;
		height: 50px;
	}
}

.hall-swiper-prev img,
.hall-swiper-next img {
	width: 20px;
	height: 20px;
}

.hall-swiper-prev img {
	transform: rotate(180deg);
}


.hall-swiper-prev { left: 13%; }
.hall-swiper-next { right: 13%; }

@media screen and (max-width: 768px) {
	.hall-swiper-prev { left: 5%; }
	.hall-swiper-next { right: 5%; }
}

.hall-swiper-pagination {
	text-align: center;
	margin-top: 24px;
}

.hall-swiper-pagination .swiper-pagination-bullet {
	background: #cdcdcd;
	opacity: 0.4;
}

.hall-swiper-pagination .swiper-pagination-bullet-active {
	opacity: 1;
	background: #f18849;
}

@media screen and (max-width: 768px) {
	.hall-card {
		flex-direction: column;
	}
}

/* 葬儀プランのご案内 */
.home-plans {
	background: #fdfae8;
	padding: 60px 0;
}

.plans-title {
	font-size: 36px;
	font-weight: bold;
	color: #f18849;
	text-align: center;
	margin-bottom: 16px;
}

.plans-desc {
	font-size: 20px;
	line-height: 2;
	max-width:650px ;
	margin: auto;
	margin-bottom: 40px;
}

.plans-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	column-gap: 24px;
	row-gap: 16px;
}

.plan-card {
	background: #fff;
	border-radius: 16px;
	padding: 28px 24px;
	display: grid;
	grid-row: span 6;
	grid-template-rows: subgrid;
	align-content: start;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.plan-name {
	font-size: 28px;
	font-weight: bold;
	padding-bottom: 12px;
	border-bottom: 1px solid;
	margin-bottom: 0;
}

.plan-card--orange .plan-name { color: #f18849; border-color:#f18849  }
.plan-card--green  .plan-name { color: #4da487; border-color: #4da487 }
.plan-card--red    .plan-name { color: #c06061; border-color:#c06061  }

.plan-desc {
	font-size: 16px;
	line-height: 1.8;
	color: #555;
	margin-bottom: 0;
}

.plan-price-wrap {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-end;
}

.plan-member-label {
	display: block;
	width: fit-content;
	color: #fff;
	font-size: 16px;
	padding: 3px 22px;
	border-radius: 20px;
	margin-bottom: -10px;
}
.plan-card--green .plan-member-label {
	background: #86c7b2;
}
.plan-card--red .plan-member-label {
	background: #d38f90;
}

.plan-price {
	font-size: 27px;
	font-weight: bold;
	line-height: 1.2;
	margin-bottom: 0;
	width: 100%;
}

.plan-price-num {
	font-size: 60px;
	font-weight: bold;
	font-family: "游ゴシック体", "Yu Gothic", YuGothic, sans-serif;
}

.plan-card--orange { color: #f18849; }
.plan-card--green { color: #4da487; }
.plan-card--red { color: #c06061; }

.plan-price-tax {
	font-size: 26px;
	font-weight: normal;
	margin-left: -12px;
	word-break: keep-all;
}

.plan-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-content: flex-start;
}

.plan-tag {
	border: 1px solid #c06061;
	font-size: 16px;
	padding: 3px 12px;
	border-radius: 20px;
}

.plan-card--orange .plan-tag {
	border-color: #f18849;
	color: white;
	background: #f5ab7f;
}

.plan-img img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	border-radius: 8px;
	display: block;
}

.plan-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	color: #fff;
	font-size: 16px;
	font-weight: bold;
	padding: 14px;
	border-radius: 40px;
	text-decoration: none;
	margin-top: auto;
}

.plan-card--orange .plan-btn { background: #f18849; }
.plan-card--green  .plan-btn { background: #4da487; }
.plan-card--red    .plan-btn { background: #c06061; }

.plan-btn:hover {
	opacity: 0.85;
	color: #fff;
}

.plan-btn span {
	display: flex;
	align-items: center;
}

.plan-btn span img {
	width: 14px;
	height: 14px;
}

@media screen and (max-width: 768px) {
	.plans-grid {
		grid-template-columns: 1fr;
	}
}

/* 事前相談／準備の流れ */
.home-consultation {
	background-size: cover;
	background-position: center;
	padding: 80px 40px;
	text-align: center;
	padding-top: 300px;
}

.consultation-inner {
	max-width: 750px;
	margin: 0 auto;
}

.consultation-title {
	font-size: 32px;
	font-weight: bold;
	color: #f18849;
	margin-bottom: 20px;
}

.consultation-desc {
	font-size: 20px;
	line-height: 2;
	text-align: left;
	color: #333;
	margin-bottom: 32px;
}

.consultation-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	background: #f18849;
	color: #fff;
	font-size: 18px;
	font-weight: bold;
	padding: 16px 60px;
	border-radius: 40px;
	text-decoration: none;
}

.consultation-btn:hover {
	background: #d4911a;
	color: #fff;
}

@media screen and (max-width: 768px) {
	.consultation-inner {
		margin-top: 150px;
	}
	.home-consultation {
		padding: 60px 20px;
	}
	.consultation-btn {
		width: 100%;
	}
}

/* ご利用可能な式場一覧 */
.home-venues {
	background: #fdf0e8;
	padding: 0 0 60px;
}

.venues-card {
	display: flex;
	border-radius: 16px;
	overflow: hidden;
	background: #fff;
	margin-bottom: 0;
}

.venues-img {
	flex: 0 0 40%;
}

.venues-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.venues-body {
	flex: 1;
	padding: 40px 40px 32px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.venues-title {
	font-size: 32px;
	font-weight: bold;
	color: #f18849;
	margin-bottom: 16px;
}

.venues-desc {
	font-size: 18px;
	line-height: 2;
}

.venues-btn {
	display: flex;
	align-items: center;
	gap: 16px;
	background: #f18849;
	color: #fff;
	font-size: 20px;
	font-weight: bold;
	padding: 20px 40px;
	border-radius: 0 0 16px 16px;
	text-decoration: none;
}

.venues-btn:hover {
	background: #d4911a;
	color: #fff;
}

.venues-btn span {
	display: flex;
	align-items: center;
}

.venues-btn span img {
	width: 18px;
	height: 18px;
}

@media screen and (max-width: 768px) {
	.venues-card {
		flex-direction: column;
	}
	.venues-img {
		flex: 0 0 200px;
	}
}

/* 共通：セクション区切り線 */
.section-divider {
	width: 60px;
	height: 3px;
	background: #f18849;
	margin: 0 auto 40px;
}

/* 共通：ピクチャーカードセクション */
.home-piccard-section {
	padding: 0;
}

.piccard-section-title {
	font-size: 32px;
	font-weight: bold;
	color: #f18849;
	text-align: center;
	margin-bottom: 16px;
}

.piccard-section-desc {
	font-size: 20px;
	line-height: 2;
	max-width: 630px;
	margin: auto;
	margin-bottom: 40px;
}

/* グリッド */
.pic-grid {
	display: grid;
	gap: 24px;
}

.pic-grid:has(.pic-card--info) {
	gap: 0 24px;
}

.pic-grid--2 {
	grid-template-columns: repeat(2, 1fr);
}

.pic-grid--2 .pic-card--info {
	display: grid;
	grid-row: span 4;
	grid-template-rows: subgrid;

	@media screen and (max-width: 768px) {
		margin-bottom: 36px;
	}
}

.pic-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* 共通カード */
.pic-card {
	overflow: hidden;
	background: #fff;
	display: flex;
	flex-direction: column;
	text-decoration: none;

	a {
		text-decoration: none;
	}
}

.pic-card-img {
	position: relative;
	flex: 1;
	border-radius: 16px 16px 0 0;
	overflow: hidden;
}

.pic-card-img img {
	width: 100%;
	height: 240px;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.pic-card a:hover .pic-card-img img,
a.pic-card:hover .pic-card-img img,
.pic-card--overlay:hover .pic-card-img img {
	transform: scale(1.1);
}

/* オレンジバー */
.pic-card-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #f18849;
	color: #fff;
	font-size: 20px;
	font-weight: bold;
	padding: 14px 20px;
	text-decoration: none;
	border-radius: 0 0 16px 16px;
}

.pic-card-bar:hover {
	background: #d4911a;
	color: #fff;
}

.pic-card-bar span {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.pic-card-bar span img {
	width: 24px;
	height: 24px;
}

/* Type A: ラベルのみ（リンク全体） */
.pic-card--label:hover .pic-card-bar {
	background: #d4911a;
}

/* Type B: タイトル＋テキスト上部 */
.pic-card--info {
	display: flex;
	flex-direction: column;
}

.pic-card--info a:hover .pic-card-bar {
	background: #d4911a;
}

.pic-card-title {
	font-size: 28px;
	font-weight: bold;
	color: #f18849;
	padding: 24px 24px 8px;
}

.pic-card-desc {
	font-size: 18px;
	line-height: 1.8;
	color: #555;
	padding: 0 24px 16px;
	align-self: start;
}

.pic-card--info .pic-card-img img {
	height: 260px;
}

/* Type C: タイトルオーバーレイ */
.pic-card--overlay .pic-card-img {
	position: relative;
}

.pic-card-overlay-title {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	font-weight: bold;
	color: #fff;
	text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.pic-card--overlay .pic-card-img img {
	height: 220px;
}

@media screen and (max-width: 768px) {
	.pic-grid--2,
	.pic-grid--3 {
		grid-template-columns: 1fr;
	}
}

/* ホームページ：site-contentを縦並びに */
.page-template-page-home #content.site-content {
	flex-direction: column;
}

/* ヒーロースライダー */
.hero-section {
	width: 100%;
	overflow: hidden;
}

.hero-swiper {
	width: 100%;
	height: 450px;
}

.hero-swiper .swiper-slide {
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

@media screen and (max-width: 768px) {
	.hero-swiper {
		height: 260px;
	}
}
