@charset "utf-8";
:root {
    --primary-color: #1a8b9d; /* 画像に合わせたティールブルー */
    --text-main: #333333;
    --text-navy: #2d3e50; /* 見出し用ネイビー */
    --bg-gray: #f4f6f8;
    --border-color: #e2e8f0;
}

/* 共通セクション設定 */
.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: 15px;
    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;
}
.shuha{
background-color: #fff;
border-radius: 6px;
margin: 20px auto;
padding: 20px 0;
}
/* 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;
}
.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{
	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 {
margin-bottom: 60px;
}

@media screen and (max-width:1000px){
	#flow .flow-list {
		grid-template-columns: repeat(3,1fr);
	}
}
/* トラブルセクション */
.trouble-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}
.trouble-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    transition: box-shadow 0.3s;
}
.trouble-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.trouble-icon {
    flex-shrink: 0;
    width: 110px; /* 画像のwidthに合わせる */
}
.trouble-icon img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
.trouble-body h3 {
    font-size: 18px;
    color: var(--text-navy);
    margin-bottom: 12px;
    font-weight: bold;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}
.trouble-body p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-main);
    margin: 0;
}
.trouble-body b {
    color: #d32f2f; /* トラブルの要点なので少し赤みなどで目立たせる（不要なら外してください） */
    font-weight: bold;
}
.read-more {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: bold;
    margin-left: 5px;
    transition: opacity 0.3s;
}
.read-more:hover {
    opacity: 0.7;
    text-decoration: none;
}

/* ボタン共通化用（.button-49の代わり） */
.btn-wrap {
    text-align: center;
}
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    padding: 15px 40px;
    border-radius: 30px; /* 丸みのあるボタン */
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(26, 139, 157, 0.3); /* ティールブルー系の影 */
}

/* レスポンシブ (スマホ表示) */
@media (max-width: 768px) {
    .trouble-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px 15px;
    }
    .trouble-icon {
        width: 80px; /* スマホではアイコンを少し小さく */
        margin-bottom: 15px;
    }
    .trouble-body h3 {
        padding-bottom: 10px;
    }
    .btn-primary {
        width: 100%;
        box-sizing: border-box;
        padding: 15px 20px;
        font-size: 14px;
    }
}
/* マナーセクション */
.manner-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}
.manner-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    transition: box-shadow 0.3s;
}
.manner-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.manner-icon {
    flex-shrink: 0;
    width: 110px;
}
.manner-icon img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
.manner-body h3 {
    font-size: 18px;
    color: var(--text-navy);
    margin-bottom: 12px;
    font-weight: bold;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}
.manner-body p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-main);
    margin-bottom: 5px; /* テキストリンクの上に少し余白を設ける */
}

/* 「⇒〇〇を詳しく見る」のテキストリンク装飾 */
.text-link {
    display: inline-block;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    transition: opacity 0.3s, transform 0.3s;
}
.text-link:hover {
    opacity: 0.7;
    transform: translateX(3px); /* ホバー時に少し右へ動かしてクリックを促す */
    text-decoration: underline;
}

/* ボタン（トラブルセクションで記述済みなら追記不要です） */
.btn-wrap {
    text-align: center;
}
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(26, 139, 157, 0.3);
}

/* レスポンシブ (スマホ表示) */
@media (max-width: 768px) {
    .manner-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px 15px;
    }
    .manner-icon {
        width: 80px;
        margin-bottom: 15px;
    }
    .manner-body h3 {
        padding-bottom: 10px;
    }
    .btn-primary {
        width: 100%;
        box-sizing: border-box;
        padding: 15px 20px;
        font-size: 14px;
    }
}
/* コラム部分 */
.column-box {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}
.column-photo {
    flex-shrink: 0;
    width: 45%; /* 写真の幅 */
}
.column-photo img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    object-fit: cover;
}
.column-txt {
    flex-grow: 1;
}
.column-txt p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-main);
    margin-bottom: 20px;
}
.column-txt p:last-child {
    margin-bottom: 0;
}
/* 強調テキストの装飾（テーマカラーのマーカー風） */
.column-txt b {
    color: var(--text-navy);
    background: linear-gradient(transparent 60%, rgba(26, 139, 157, 0.2) 60%);
    font-weight: bold;
}

/* 早見表・年回表 */
.schedule-area {
    margin-top: 20px;
}
.schedule-area p{
padding-top: 15px;
}
.sub-title {
    font-size: 20px;
    color: var(--text-navy);
    margin-bottom: 25px;
    text-align: center;
    font-weight: bold;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 8px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}
.table-wrap {
    overflow-x: auto; /* スマホではみ出した場合に横スクロールさせる */
}
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 16px;
    min-width: 600px; /* PCレイアウトを保持するための最小幅 */
}
.schedule-table th,
.schedule-table td {
    border: 1px solid var(--border-color);
    padding: 15px;
    text-align: left;
    line-height: 1.5;
}
.schedule-table thead th {
    background: var(--primary-color);
    color: #fff;
    text-align: center;
    white-space: nowrap;
}
.schedule-table tbody th {
    background: var(--bg-gray);
    color: var(--text-navy);
    white-space: nowrap;
    width: 25%;
}

/* レスポンシブ (スマホ表示) */
@media (max-width: 768px) {
    .column-box {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }
    .column-photo {
        width: 100%;
    }
    .schedule-table th,
    .schedule-table td {
        padding: 10px;
        font-size: 15px;
    }
}
/* 年回表エリア追加スタイル */
.nenkai-area {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px dashed var(--border-color);
}
.schedule-txt {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
}
.schedule-table.text-center th,
.schedule-table.text-center td {
    text-align: center;
}
.schedule-table.text-center a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: bold;
}
.schedule-table.text-center a:hover {
    text-decoration: none;
    opacity: 0.7;
}
.nenkai-note {
    margin-top: 20px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    line-height: 1.6;
}
.nenkai-note a {
    color: var(--primary-color);
    text-decoration: underline;
}
/* =====================================
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;
	}
}