@charset "utf-8";
:root {
    --primary-color: #1a8b9d; /* 画像に合わせたティールブルー */
    --text-main: #333333;
    --text-navy: #2d3e50; /* 見出し用ネイビー */
    --bg-gray: #f4f6f8;
    --border-color: #e2e8f0;
}
p.cost{
color: #D50003;
font-size: 3em;
font-weight: 700;
}
p.cost span{
color: #000;
font-size: 50%;
font-weight: 700;
}
/* 共通セクション設定 */
.cate {
    padding: 60px 0;
    color: var(--text-main);
}
.cate.bg-gray {
    background-color: var(--bg-gray);
}
.section-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
}
.sec-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: var(--text-navy);
    margin-bottom: 40px;
}
.sec-title span {
    display: block;
    font-size: 16px;
    color: var(--primary-color);
    letter-spacing: 2px;
    margin-top: 8px;
    text-transform: uppercase;
}
.sec-lead {
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* About (3つの特徴) */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.feature-box {
    background: #fff;
    padding: 30px 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}
.feature-box h3 {
    font-size: 20px;
    color: var(--text-navy);
    margin-bottom: 15px;
    text-align: center;
}
.feature-box p {
    font-size: 16px;
    line-height: 1.7;
}

/* Price (2カラム比較レイアウト) */
.price-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}
.price-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    display: flex;
    flex-direction: column;
}
.price-card-head {
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    color: var(--text-navy);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed var(--border-color);
    line-height: 1.4;
}
.price-card-head span {
    font-size: 15px;
    font-weight: normal;
    color: #666;
}
.price-amount {
    font-size: 36px;
    font-weight: bold;
    color: #d32f2f;
    text-align: center;
    margin-bottom: 20px;
}
.price-amount .yen {
    font-size: 16px;
}
.price-includes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}
.price-includes li {
    background: var(--bg-gray);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
}
.price-includes li.highlight {
    background: #e0f2f1; /* お寺法事の強みを目立たせる微背景色 */
    color: var(--primary-color);
    font-weight: bold;
}
.price-options {
    margin-top: auto; /* 下部に押し込む */
    background: #fafafa;
    padding: 15px;
    border-radius: 6px;
}
.price-options dl {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px 10px;
    margin: 0;
}
.price-options dt {
    font-weight: bold;
    font-size: 16px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 5px;
}
.price-options dd {
    text-align: right;
    font-size: 17px;
    font-weight: bold;
    color: #d32f2f;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 5px;
    margin: 0;
}
.price-notes {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}
.price-notes p {
    font-size: 15px;
    color: #555;
    margin-bottom: 4px;
    padding-left: 1.2em;
    text-indent: -1.2em;
}
.price-notes p:last-child {
    margin-bottom: 0;
}

/* レスポンシブ (SP) で縦積みにする設定 */
@media (max-width: 768px) {
    .price-cards {
        grid-template-columns: 1fr; /* 1カラムに変更 */
        gap: 20px;
    }
}
/* Locations (ハブ) */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.card {
    display: block;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px 20px;
    text-decoration: none;
    color: var(--text-main);
    transition: box-shadow 0.3s, transform 0.3s;
}
.card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
.card h3 {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
}
.card h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 16px;
    background: var(--primary-color);
}
.card p {
    font-size: 16px;
    line-height: 1.6;
}
.card img {
border-radius: 10px;
margin-bottom: 10px;
}

/* Sects */
.sect-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}
.sect-list li {
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 16px;
	width: 20%;
    text-align: center;
}
.sect-note {
    text-align: center;
    font-size: 15px;
}

/* Flow（画像準拠） */
.flow-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}
/* 背面の結合線 */
.flow-steps::before {
    content: '';
    position: absolute;
    top: 50px; /* アイコン等の高さに合わせて微調整 */
    left: 10%;
    right: 10%;
    height: 1px;
    background: var(--border-color);
    z-index: 1;
}
.step-box {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    width: 18%;
    padding: 20px 10px;
    text-align: center;
    position: relative;
    z-index: 2;
}
.step-label {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 15px;
}
.step-box h3 {
    font-size: 16px;
    color: var(--text-navy);
    margin-bottom: 15px;
    font-weight: bold;
}
.step-icon {
    /* 画像を後で入れるためのプレースホルダー */
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: #f4f6f8;
    border-radius: 50%;
}
.step-box p {
    font-size: 11px;
    line-height: 1.4;
    color: #555;
}

/* FAQ */
.faq-list {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
}
.faq-item {
    margin-bottom: 25px;
}
.faq-item:last-child {
    margin-bottom: 0;
}
.faq-item dt {
    font-weight: bold;
    color: var(--text-navy);
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
}
.faq-item dt::before {
    content: 'Q.';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 18px;
}
.faq-item dd {
    font-size: 16px;
    line-height: 1.6;
    padding-left: 30px;
    position: relative;
    margin: 0;
}
.faq-item dd::before {
    content: 'A.';
    position: absolute;
    left: 0;
    color: #d32f2f;
    font-size: 18px;
    font-weight: bold;
}

/* レスポンシブ (SP) */
@media (max-width: 768px) {
    .flow-steps {
        flex-direction: column;
        gap: 20px;
    }
    .flow-steps::before {
        display: none;
    }
    .step-box {
        width: 100%;
    }
    .price-options dl {
        grid-template-columns: 1fr;
    }
    .price-options dd {
        text-align: left;
        margin-bottom: 10px;
    }
}
/*==========================
パンくずリスト
==========================*/
#breadcrumb {
	background-color: #fff;
	border-bottom: 1px solid #ddd;
}
ul.breadcrumb {
	max-width: 1160px;
	width: 100%;
	margin: 0 auto;
	display: flex;
	align-content: center;
	padding: 12px 20px;
}
ul.breadcrumb li {
	list-style: none;
	font-size: 13px;
}
ul.breadcrumb li a {
	text-decoration: none;
	color: #666;
}
ul.breadcrumb li:first-child a::before {
	font-family: FontAwesome;
	content: "\f015";
	font-weight: normal;
	font-size: 1em;
	color: #666;
	padding-right: 3px;
}
ul.breadcrumb li::after {
	content: ">";
	padding: 0 8px;
	color: #666;
}
ul.breadcrumb li:last-child::after {
	content: "";
}
ul.breadcrumb li a:hover {
	color: var(--accent-color);
}
/*==========================
FV
==========================*/
.fv-inner {
	max-width: 1160px;
	width: 100%;
	margin: 0 auto;
	display: flex;
	justify-content:space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 30px;
}
.fv-section {
	padding: 50px 20px;
}
.fv-content {
	width: calc(75% - 30px);
}
.fv-img {
	width: 25%;
}
.fv-title {
	letter-spacing: 0;
	font-size: 40px;
	margin-bottom: 0;
}
.fv-image img {
	width:100%;
}
.fv-sub {
	text-align: left;
}
.cate {
	padding: 60px 0;
}
.cate-txt {
	font-size: 16px;
	line-height: 1.8;
}
#about .cate-txt {
	max-width: 1000px;
	width: 100%;
	margin: 0 auto;
}
#services,
#reason {
	background-color: var(--bg-gray);
}
#services .flexbox {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 13px;
}
#services .service-card {
	width: calc((100% - 40px) / 4);
	background: #fff;
	border: 1px solid #eee;
	border-radius: 4px;
	padding: 0;
	text-align: center;
	box-shadow: 0 4px 10px rgba(0,0,0,0.03);
	display: flex;
	flex-direction: column;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#services .service-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
#services .service-card img {
	margin: 0 auto;
}
#services .service-card .service-icon {
	width: 100px;
	height: 100px;
	margin: 0 auto 20px;
	background-color: #f9f9f9;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: inset 0 2px 5px rgba(0,0,0,0.05);
}
#services .service-card .service-icon img {
	width: 80px;
}
#services .service-title {
	font-size: 18px;
	font-weight: bold;
	line-height: 1.5;
	color: var(--accent-color);
	margin: .5rem 0;
}
#services .service-list {
	text-align: left;
	font-size: 16px;
	margin: 0 1rem 20px;
}
#services .service-list li {
	padding: 5px 0 5px 13px;
	position: relative;
	display: flex;
	flex: 1;
	flex-direction: column;
}
#services .service-list li::before {
	content: "●";
	font-size: 10px;
	color: var(--accent-color);
	position: absolute;
	left: 0;
	top: 9px;
}
#services .service-list li a:hover {
	color: var(--accent-color);
}
#services .more-btn {
	margin: auto 1rem 1rem;
}
#services .more-btn a {
	display: block;
	background: var(--main-color);
	color: #fff;
	padding: 10px 20px;
	border-radius: 4px;
	font-size: 16px;
}
#services .more-btn a:hover {
	opacity: 0.7;
}
#flow .flow-list {
	display: grid;
	grid-template-columns: repeat(5,1fr);
	gap: 20px;
}
#flow .flow-card {
	border-radius: 4px;
	border: 1px solid #ddd;
	text-align: center;
	padding: 20px;
	position: relative;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#flow .flow-card:not(:last-child)::after{
	content:"";
	position:absolute;
	right: -20px;
	top:50%;
	width:20px;
	height:1px;
	background:#ddd;
}
#flow .flow-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
#flow .flow-card .step-txt {
	display: inline-block;
	padding: 3px 10px;
	background-color: var(--accent-color);
	border-radius: 999px;
	color: #fff;
	font-weight: bold;
	font-size: 13px;
	letter-spacing: 1px;
	margin-bottom: 8px;
}
#flow .flow-card .flow-title {
	font-size: 18px;
	font-weight: bold;
	color: var(--main-color);
	letter-spacing: 1px;
	margin-bottom: 10px;
}
#flow .flow-card .flow-icon {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	background-color: var(--bg-light);
	margin: 0 auto 10px;
	line-height: 90px;
}
#flow .flow-card .flow-icon img {
	width: 80px;
}
#flow .flow-card .flow-txt {
	font-size: 16px;
	line-height: 1.8;
	letter-spacing: 0.5px;
	color: #555;
}
#reason .reason-icon img {
	max-width: 55px;
}
#reason .reason-desc {
	text-align: center;
	line-height: 1.8;
}
#faq {
	background-color: #fff;
}

@media screen and (max-width:1000px){
	#flow .flow-list {
		grid-template-columns: repeat(3,1fr);
	}
}

/* =====================================
SP
===================================== */
@media screen and (max-width:768px){
	.sp_block {
		display: block;
	}
	.fv-section {
		padding: 30px 20px;
	}
	.fv-content {
		width: 100%;
	}
	.fv-catch {
		font-size: 16px;
	}
	.fv-title {
		font-size: 22px;
		/* letter-spacing: 0.05em; */
		line-height: 1.5;
	}
	.fv-img {
		width: 90%;
		margin: 0 auto;
	}
	#services .service-card {
		width: 100%;
	}
	#services .service-title {
		font-size: 20px;
	}
	#services .service-list,
	#services .more-btn a {
		font-size: 16px;
	}
	#flow .flow-list {
		grid-template-columns: 1fr;
	}
	#flow .flow-card:not(:last-child)::after {
		right: 50%;
		top: auto;
		bottom: -20px;
		width: 1px;
		height: 20px;
	}
}
#menpa .sec-lead{
text-align: left;
}
.ts-mp-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 30px 0;
}
.ts-mp-card {
  min-width: 0;
  padding: 24px 20px;
  border: 1px solid #e0e7dc;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(45, 73, 56, 0.04);
}
.flex_box.title-box {
	gap: .5rem;
	margin-bottom: .5rem;
}
.ts-mp-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #edf2ec;
  color: #007943;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.ts-mp-card h3 {
  font-size: 20px;
  line-height: 1.9;
}
.ts-mp-card p {
  margin-bottom: .7rem;
  line-height: 1.5;
  font-size: 15px;
}
.ts-story-message {
  margin: 34px 0;
  padding: 28px;
  border-left: 4px solid #b49a68;
  border-radius: 0 10px 10px 0;
  background: #f8f6f0;
}

.ts-story-message h3 {
  color: #2d4938;
  font-size: 21px;
}

.ts-story-message p {
  margin-bottom: 0;
}
/* ボタンを中央に配置 */
.btn-wrap-otera {
    text-align: center;
    margin: 20px 0 0; /* 上下の余白（レイアウトに合わせて調整してください） */
}

/* お寺法事リンクボタン本体 */
.btn-otera {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color, #007943); /* 変数が無い場合の予備として終楽グリーンを指定 */
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    padding: 12px 50px;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* 右矢印アイコン（画像を使わずCSSで作ります） */
.btn-otera::after {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-top: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
    transform: rotate(45deg);
    margin-left: 15px;
    margin-top: 2px;
    transition: transform 0.3s ease;
}

/* マウスオーバー（ホバー）時の動き */
.btn-otera:hover {
    transform: translateY(-2px); /* 少し上に浮く */
    box-shadow: 0 6px 15px rgba(26, 139, 157, 0.3); /* 影を濃く・広くする */
    color: #ffffff;
}

/* ホバー時に矢印が少し右にスライドする遊び心 */
.btn-otera:hover::after {
    transform: rotate(45deg) translate(2px, -2px);
}

/* レスポンシブ (スマホ表示) */
@media (max-width: 768px) {
    .btn-wrap-otera {
        margin: 30px 15px; /* スマホ時は左右に少し余白を持たせる */
    }
    .btn-otera {
        width: 100%; /* スマホでは横幅いっぱいに押しやすく */
        box-sizing: border-box;
        padding: 16px 20px;
        font-size: 15px;
    }
}
.shuha{
background-color: var(--bg-gray);
border-radius: 6px;
padding: 20px 0;
margin-bottom: 40px;
}
.shuha .sec-lead {
margin-bottom: 15px;
}