@charset "utf-8";
/* CSS Document */
body {
  line-height: 1.7;
}
:root {
	--accent: #007943;
}
.fv-catch {
	background: var(--accent);
}
.sec-title span {
	color: var(--accent);
}
.cate {
	padding: 60px 0;
}
.cate:nth-child(odd) {
background-color: #eef2f5;
}
.cate-txt {
	font-size: 16px;
	line-height: 1.8;
}
.sp_block {
	display: none;
}
/*==========================
パンくずリスト
==========================*/
#breadcrumb {
	background-color: #fff;
	border-bottom: 1px solid #ddd;
}
ul.breadcrumb {
	max-width: 1120px;
	width: 100%;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	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);
}
/*==========================
FV
==========================*/
.fv-inner {
	max-width: 1120px;
	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(70% - 30px);
}
.fv-img {
	width: 30%;
}
.fv-title {
	letter-spacing: 0;
	font-size: 40px;
}
.fv-image img {
	width:100%;
}
.fv-sub {
	text-align: left;
	padding-bottom: .5em;
}
#about .cate-box {
	margin-top: 40px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	border: 1px solid #ddd;
}
#about .cate-box .txt-box {
	flex: 1;
	padding: 40px;
}
#about .cate-box .img-box {
	width: 500px;
	flex-shrink: 0;
}
#about .cate-box:nth-of-type(2) .txt-box {
	order: 2;
}
#about .cate-box:nth-of-type(2) .img-box {
	order: 1;
}
#about h3.box-title {
	font-size: 22px;
	border-bottom: 2px solid var(--accent);
	padding-bottom: 10px;
	margin-bottom: 15px;
}
#about .box-txt {
	font-size: 16px;
	color: #555;
	line-height: 1.8;
}
#about .cate-txt2 {
	margin-top: 40px;
	text-align: center;
	line-height: 1.8;
	font-size: 16px;
}
#about .about-list {
    padding: 0;
}
#about .about-list li {
    padding: 5px 0 5px 15px;
    position: relative;
    font-size: 15px;
    color: #555;
}
#about .about-list li::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--accent);
    position: absolute;
    top: 15px;
    left: 0;
}
/* ステップボックスのデザイン */
#smooth .cate-txt, #cost .cate-txt, #trouble .cate-txt, #flow .cate-txt {
padding-bottom: .75em;
}
.step-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step-box {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 24px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

/* ステップ内の偶数番目（STEP 2, 4）のボックスの色を少し変えてメリハリを出す場合 */
.step-box:nth-child(even) {
  background-color: #fafbfc;
}

.step-title {
  font-size: 1.15rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.step-num {
  background-color: #007943;
  color: #fff;
  font-size: 0.8rem;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.step-box p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #444;
  margin: 0;
}
/* 費用セクション全体のコンテナ */
.cost-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 各費用項目のボックス */
.cost-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 24px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

/* 偶数番目のボックスの色をわずかに変えてメリハリを出す場合 */
.cost-box:nth-child(even) {
    background-color: #fafbfc;
}

/* 費用項目のタイトル */
.cost-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

/* 費用項目の説明文 */
.cost-box p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #444;
    margin: 0;
	padding-bottom: .5em;
}
/* 料金ビジュアルカードのコンテナ */
.price-visual-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 10px;
}

/* 個別のカードデザイン */
.price-visual-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    overflow: hidden;
    flex: 1;
    min-width: 260px; /* スマホで縦積みになるように調整 */
    text-align: center;
}

/* 画像部分 */
.price-visual-img {
    margin: 0;
    line-height: 0;
}
.price-visual-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* テキストエリア */
.price-visual-body {
    padding: 20px 15px;
}

/* タイトル */
.price-visual-title {
    font-size: 1.15rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
}

/* 涙そうそうの価格（赤色・強調） */
.price-visual-red {
    color: #c50c0c;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 0 8px 0;
    line-height: 1.2;
}
.price-visual-red span {
    font-size: 1.2rem;
}
.price-visual-small {
    font-size: 1.1rem;
    margin-right: 5px;
}

/* 世間相場（青色・控えめ） */
.price-visual-blue {
    color: #007943;
    font-size: 0.9rem;
    margin: 0;
}

/* 注釈テキスト */
.price-visual-note {
    text-align: right;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 40px;
}
#service .cate-txt {
	text-align: center;
	color: #555;
	margin-bottom: 40px;
}
#service .service-list {
	display: grid;
	grid-template-columns: repeat(3,1fr);
	gap: 20px;
}
#service .service-card {
	background-color: #fff;
	cursor: pointer;
	transition: .3s;
	border-radius: 4px;
	padding: 20px;
}
#service .service-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0,0,0,.08);
}
#service .service-card .txt-box {
	display: flex;
	flex-direction: column;
	flex: 1;
	margin-top: 10px;
}
#service .service-category {
	display: inline-block;
	padding: 5px 15px;
	border-radius: 999px;
	background-color: var(--accent);
	font-size: 12px;
	color: #fff;
	margin-bottom: 10px;
}
#service .service-title {
	margin-top: 5px;
	text-align: left;
	font-size: 18px;
	border-bottom: 2px solid var(--accent);
	padding-bottom: 10px;
}
#service .service-sub-title {
	margin-top: 10px;
	font-size: 14px;
	font-weight: bold;
	color: var(--accent);
}
#service .sub-service {
	margin-top: 4px;
	font-size: 14px;
	text-align: left;
	padding: 10px;
	border: 1px dotted #ddd;
	border-radius: 4px;
}
#service .sub-service li {
	padding-left: 15px;
	padding-bottom: 5px;
	position: relative;
}
#service .sub-service li.nolink {
	color: #555;
}
#service .sub-service li:last-child, #service .sub-service.flex_box li:nth-last-child(2) {
	padding-bottom: 0;
}
#service .sub-service li::before {
	content: "●";
	color: var(--accent);
	font-size: 13px;
	position: absolute;
	top: 0;
	left: 0;
}
#service .sub-service li a:hover {
	color: var(--accent);
}
#service .sub-service.flex_box {
	display: flex;
	flex-wrap: wrap;
}
#service .sub-service.flex_box li {
	width: calc( 100% / 2 - 10px );
}
#service .service-txt {
	text-align: left;
	margin-top: 15px;
	line-height: 1.8;
	font-size: 16px;
	color: #555;
}
#service .more-btn {
	margin-top:auto;
	padding-top: 15px;
	text-align: center;
}
#service .more-btn a {
	display: block;
	padding: 15px;
	border-radius: 4px;
	border: 2px solid var(--accent);
	font-weight: bold;
	color: var(--accent);
	position: relative;
	transition: .25s ease;
}
#service .more-btn a::before {
	content: "";
	position: absolute;
	top: 50%;
	right: 15px;
	margin: auto;
	background-color: var(--accent);
	width: 15px;
	height: 15px;
	clip-path: polygon(40% 0, 90% 50%, 40% 100%, 30% 90%, 70% 50%, 30% 10%);
	transform: translateY(-50%);
	transition: transform .25s ease;
}
#service .more-btn a:hover::before {
	transform: translate(4px, -50%);
}
#service .img-box img{
	width: 100%;
	height: 200px;
	object-position: center;
	object-fit:cover;
}
.reason-card {
	border-color: var(--accent);
}
.reason-icon {
	width: 100px;
	height: 100px;
}
.reason-icon img {
	width: 80px;
}
.reason-title span {
	color: var(--accent);
}
.reason-desc {
	text-align: center;
	line-height: 1.8;
}
#flow .cate-txt {
	text-align: center;
}
#flow .flow-content-box {
	padding-top: 40px;
	position: relative;
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	gap: 30px;
}
#flow .flow-content-box::before {
	content: "";
	width: 1px;
	height: 100%;
	border-left: 1px dashed #ddd;
	position: absolute;
	top: 0;
	left: 30px;
	z-index: 0;
}
#flow .flow-content-box:first-of-type::before {
	height: calc(100% - 40px);
	top: 40px;
}
#flow .flow-content-box:last-of-type::before {
	height: 40px;
}
#flow .step-number {
	width: 60px;
	height: 60px;
	line-height: 60px;
	text-align: center;
	border-radius: 50%;
	font-size: 24px;
	font-weight: bold;
	color: #fff;
	background-color: var(--accent);
	position: relative;
	z-index: 1;
}
#flow .flow-inner {
	width: calc(100% - 90px);
	padding: 24px 20px;
	border-radius: 4px;
	border: 1px solid #ddd;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 24px;
}
#flow .flow-inner .img-box {
	width: 40%;
	aspect-ratio: 16 / 9;
	border-radius: 4px;
	overflow: hidden;
	order: 2;
}
#flow .flow-inner .img-box img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
#flow .flow-inner .txt-box {
	width: calc(60% - 24px);
}
#flow .step-label {
	display: inline-block;
	padding: 8px 20px 5px;
	border-radius: 999px;
	color: #fff;
	background: var(--accent);
	font-size: 13px;
	font-weight: bold;
	letter-spacing: 1px;
}
#flow .flow-title {
	margin-top: 10px;
	font-size: 22px;
	color: var(--main-color);
	padding-bottom: 10px;
	border-bottom: 2px solid var(--accent);
}
#flow .flow-txt {
	margin-top: 20px;
	line-height: 1.8;
}
#points .cate-txt {
	text-align: center;
}
#points .point-card-list {
	margin-top: 40px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px;
}
#points .point-card {
	width: calc((100% - 48px) / 3);
	padding: 24px 20px;
	border-radius: 4px;
	border: 1px solid #ddd;
	background-color: #fff;
}
#points .img-icon {
	max-width: 120px;
	width: 100%;
	margin: 0 auto;
}
#points .point-title {
	margin-top: 20px;
	text-align: center;
	color: var(--main-color);
	padding-bottom: 10px;
	border-bottom: 2px solid var(--accent);
}
#points .point-txt {
	margin-top: 20px;
	font-size: 15px;
	color: #555;
	line-height: 1.7;
}
#faq {
	background-color: #fff;
}
.cta {
    padding: 40px 0 0 0;
}
.haka-comparison-table-wrap {
  margin: 0px auto 50px;
  overflow-x: auto;
width: 94%;
}
.comparison-title {
  font-size: 1.15rem;
  font-weight: bold;
  margin-bottom: 12px;
  color: #333;
  border-left: 4px solid #007943; /* ブランディングカラーに合わせて調整可能 */
  padding-left: 10px;
}
.haka-comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
  line-height: 1.6;
  background-color: #fff;
  border: 1px solid #e0e0e0;
}
.haka-comparison-table th,
.haka-comparison-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #e0e0e0;
}
.haka-comparison-table th {
  background-color: #f7f7f7;
  color: #333;
  font-weight: bold;
  white-space: nowrap;
}
.haka-comparison-table .row-label {
  font-weight: bold;
  background-color: #fcfcfc;
  white-space: nowrap;
  width: 15%;
}
.mutual{
background-color: #f7f7f7;
margin: 30px auto;
padding: 1.5em;
}
.mutual .cate-txt a {
  color: #00216E;
  text-decoration: underline;
}
.mutual .cate-txt a:hover {
  text-decoration: none;
}
/* トラブル対策セクション全体のコンテナ */
.trouble-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 各トラブル項目のボックス */
.trouble-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 24px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

/* 偶数番目のボックスの色をわずかに変えてメリハリを出す場合 */
.trouble-box:nth-child(even) {
    background-color: #fafbfc;
}

/* トラブル項目のタイトル */
.trouble-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 12px;
border-bottom: 2px solid #007943; /* エリアごとの区切り線（お好みで） */
color:#007943;
}

/* トラブル項目の説明文 */
.trouble-box p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #444;
    margin: 0;
}
ul.asterisk li{
margin: 5px 0 5px 89px;
}
/* areaページ用 */
/* dl, dt, dd のデフォルト余白を調整 */
.area_pref {
  margin: 0;
  padding: 0;
}

.area_pref dt {
  font-weight: bold;
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 2px solid #007943; /* エリアごとの区切り線（お好みで） */
color:#007943;
font-size: 1.1rem;
}

.area_pref dd {
  margin: 0 0 40px 0; /* 次のエリアとの間隔 */
}

/* リスト全体のレイアウト（Gridを使用） */
.pref_list {
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* 最大6列の等幅 */
  gap: 15px; /* 要素間の十分な間隔 */
  list-style: none;
  padding: 0;
  margin: 0;
}

/* 各都道府県アイテム */
.pref_list li {
  text-align: center; /* 県名をセンター寄せ */
}

/* リンク(aタグ)を設置した場合のスタイル */
.pref_list li a {
  display: block; /* 領域全体をクリック可能にする */
  padding: 15px 10px; /* 上下左右に十分な余白を取る */
  background-color: #f7f9fa; /* ボタン風の背景色 */
  border: 1px solid #ddd; /* 枠線 */
  border-radius: 4px; /* 角を少し丸く */
  color: #333;
  text-decoration: none;
  transition: all 0.2s ease; /* ホバー時の変化を滑らかに */
}

/* マウスオーバー時のスタイル */
.pref_list li a:hover {
  background-color: #e2e8f0;
  border-color: #cbd5e1;
}

/* レスポンシブ対応（画面が狭い場合の列数調整） */
@media screen and (max-width: 800px) {
  .pref_list {
    grid-template-columns: repeat(4, 1fr); /* タブレット等は4列 */
  }
}

@media screen and (max-width: 500px) {
  .pref_list {
    grid-template-columns: repeat(2, 1fr); /* スマホは2列 */
  }
}
.flex_box, ul.document, dl.submit dd ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.document_box{
background-color: #fff;
margin: 1.5em auto 1.75em;
border-radius: 6px;
padding: 1em;
box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
ul.document{
margin: 1em 0 1em 1.5em;
}
ul.document li{
width : calc(92% / 3) ;
list-style: disc;
border-bottom: 1px dotted #999;
margin-bottom: 7px;
}
dl.submit{
margin: 1em 0;
}
dl.submit dt{
margin-top: 1.5em;
font-weight: bold;
margin-bottom: 15px;
padding-bottom: 5px;
border-bottom: 2px solid #007943; /* エリアごとの区切り線（お好みで） */
color:#007943;
font-size: 1.1rem;
}
dl.submit dd ul li{
border: 1px solid #e0e0e0;
background-color: #fff;
width : calc(96% / 4) ;
border-radius: 6px;
padding: 1em;
box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
/*=========================
  YAA
=========================*/
/* ベースのスタイルリセットと設定 */
.shuraku-yaa-section {
  background-color: #fcfbf9; /* 温かみのあるオフホワイト */
  padding: 60px 20px;
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif; /* 信頼感のある明朝体推奨 */
  color: #333333;
  line-height: 1.6;
}

.yaa-container {
  max-width: 1120px;
  margin: 0 auto;
}

/* ヘッダー部分のデザイン */
.yaa-header {
  text-align: center;
  margin-bottom: 30px;
}

.yaa-subtitle {
  font-size: 1.6rem;
  font-weight: bold;
  color: #2c4a44; /* 落ち着いた深い緑 */
  margin-bottom: 5px;
}

.yaa-title {
  font-size: 3.6rem;
  font-weight: bold;
  color: #a3875e; /* 品のある落ち着いたゴールド */
  margin: 0 0 5px 0;
  letter-spacing: 0.1em;
line-height: 1.3;
}

.yaa-lead {
  font-size: 1.2rem;
  color: #555555;
}
.yaa-lead strong{
  color: #95784c;
}

/* カードのレイアウト（PC・タブレット向け） */
.yaa-card-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* 個別のカードデザイン */
.yaa-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 30px 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* 柔らかい影 */
  border-top: 4px solid #a3875e; /* 上部にアクセントライン */
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.yaa-card:hover {
  transform: translateY(-5px); /* ホバーで少し浮き上がる */
}

/* Y・A・Aのアイコン部分 */
.yaa-card-icon {
  width: 60px;
  height: 60px;
  background-color: #f4efea;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.yaa-alphabet {
  font-size: 1.8rem;
  font-weight: bold;
  color: #a3875e;
  font-family: Arial, sans-serif; /* 英字のみサンセリフで強調 */
}

/* カード内のタイトル */
.yaa-card-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #2c4a44;
}

.yaa-card-title span {
  font-size: 1.2rem;
  color: #a3875e;
  margin-right: 5px;
}

/* カード内のテキスト */
.yaa-card-text {
  font-size: 1rem;
  color: #444444;
  text-align: left; /* 本文は読みやすさ重視で左揃え */
}
.disaster-relief-notice {
  background-color: #f7f6f2; /* 寺院や石材店に馴染む、温かみと落ち着きのある淡い和紙風グレーベージュ */
  border-left: 4px solid #5a6b7c; /* 誠実さ・信頼感を示す深めのブルーグレーのアクセントライン */
  border-top: 1px solid #e2ded6;
  border-right: 1px solid #e2ded6;
  border-bottom: 1px solid #e2ded6;
  padding: 24px 28px;
  margin: 30px auto;
  border-radius: 2px; /* 角をわずかに落として硬質感を和らげる */
  max-width: 1120px;
}

.notice-inner {
  max-width: 900px;
  margin: 0 auto;
}

.notice-title {
  font-size: 1.125rem; /* 18px相当 */
  font-weight: 700;
  color: #2c3e50; /* 締まりのあるダークカラー */
  margin-bottom: 14px;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.notice-text {
  font-size: 0.95rem; /* 15.2px相当で読みやすく */
  color: #4a5568;
  line-height: 1.8;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}

.notice-text:last-child {
  margin-bottom: 0;
}

/* レスポンシブ対応（スマホ表示） */
@media screen and (max-width: 768px) {
  .disaster-relief-notice {
    padding: 18px 16px;
    margin: 20px 0;
  }
  
  .notice-title {
    font-size: 1.05rem;
  }
  
  .notice-text {
    font-size: 0.9rem;
  }
}

/* レスポンシブ対応（スマホ向け） */
@media screen and (max-width: 768px) {
  .shuraku-yaa-section {
    padding: 40px 15px;
  }
  
  .pc-only {
    display: none;
  }

  .yaa-title {
    font-size: 2rem;
  }

  .yaa-card-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
/* ベースの設定 */
.cost-comparison-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem 1rem;
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
  line-height: 1.6;
}

/* メインカラー（#007943）をあしらった見出し */
.cost-comparison-section h2 {
  font-size: 1.5rem;
  border-bottom: 2px solid #007943;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.cost-intro p {
  margin-bottom: 2rem;
  font-size: 1rem;
}

/* テキストのハイライト（薄いグリーンで統一感出し） */
.cost-intro strong {
  color: #005931;
  font-weight: 600;
  background: linear-gradient(transparent 60%, #bce3cf 60%);
}

/* 比較チャート部分 */
.total-cost-chart {
  background: #fff; /* 背景もほんのりグリーンがかったグレー */
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.total-cost-chart h3 {
  font-size: 1.25rem;
  text-align: center;
  margin-bottom: 2rem;
}

/* PC横並び用のラッパー設定 */
.pattern-wrapper {
  display: flex;
  gap: 2rem;
  align-items: stretch;
}

.pattern-box {
  flex: 1;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}

.pattern-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem;
  background: #eef2f5;
  border-bottom: 1px solid #ddd;
}

.pattern-name {
  font-weight: bold;
  font-size: 1.1rem;
}

.total-price {
  font-size: 1.1rem;
}

/* A社側の金額は警告色（赤茶系）を残して対比させる */
.total-price strong {
  font-size: 1.5rem;
  color: #c0392b;
  margin: 0 4px;
}

/* ★涙そうそうのハイライト（ご指定のグリーンベース）★ */
.type-namida {
  border: 2px solid #007943;
  box-shadow: 0 4px 12px rgba(0, 121, 67, 0.2);
  transform: translateY(-4px);
  transition: transform 0.3s ease;
}

.type-namida .pattern-head {
  background: #007943;
  color: #fff;
  border-bottom: none;
}

/* 深いグリーンに映えるように、金額はイエロー系で強調 */
.type-namida .total-price strong {
  color: #ffeb3b; 
}

/* 費用内訳リスト */
.cost-breakdown {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
}

.cost-breakdown li {
  display: flex;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  border-bottom: 1px dashed #eee;
  font-size: 0.95rem;
}

.cost-breakdown li:last-child {
  border-bottom: none;
}

.cost-breakdown li .price {
  font-weight: bold;
  color: #555;
}

.cost-breakdown li small {
  font-size: 0.8em;
  font-weight: normal;
  color: #777;
  margin-left: 4px;
}

.pattern-note {
  text-align: center;
  font-size: 0.95rem;
  color: #666;
  background: #fafafa;
  padding: 0.75rem;
  margin: 0;
  border-top: 1px solid #eee;
  margin-top: auto;
}

/* 涙そうそう側の補足テキスト（淡いグリーン背景） */
.type-namida .pattern-note {
  font-weight: bold;
  color: #005931; /* 文字色は指定グリーンより少し暗くして視認性UP */
  background: #f8fbf8; 
}

/* 注意点・事前支払い制セクション */
.cost-caution h3 {
  font-size: 1.2rem;
  color: #2c3e50;
  margin-bottom: 1rem;
}

/* 安全・安心をアピールするグリーンのボックス */
.safety-commitment {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: #f8fbf8; /* 清潔感のある極薄いグリーン */
  border-left: 5px solid #007943;
  border-radius: 4px;
}

.safety-commitment h4 {
  color: #007943;
  margin: 0 0 0.75rem 0;
  font-size: 1.1rem;
}

.safety-commitment p {
  margin: 0;
  font-size: 0.95rem;
}
/*=========================
  料金のご案内
=========================*/
h2#price{
margin: 1em 0 .25em 0;
border-bottom: 2px solid #007943;
}
.red_text {
  color: #c50c0c;
  font-weight: 900;
}
.price_table > ul {
	display: flex;
	justify-content: center;
	margin-bottom: 15px;
}
.flex_contents {
  display: flex;
  flex-wrap: wrap;
}
.price_table > ul li {
	background-color: #eee;
	border: 1px solid #ccc;
	color: #888;
	border-radius: 6px;
	padding: 5px 50px;
	margin-right: 10px;
	position: relative;
}

.price_table > ul li:last-of-type {
	margin-right: 0;
}

.price_table > ul li.show {
	background-color: #007943;
	border: none;
	color: #fff;
}

.price_table > ul li.show:before {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -8px;
	border: 8px solid transparent;
	border-top: 10px solid #007943;
}

.price_table .tab_contents,
.detailBox {
	background-color: #fff;
	padding: 30px;
	border-radius: 6px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.price_table table {
	width: 100%;
	border: 1px solid #ccc;
	background-color: #fff;
}

.price_table tr:not(:last-of-type) {
	border-bottom: 1px solid #ccc;
}

.price_table table th,
.price_table table td {
	width: 50%;
	padding: 10px;
	text-align: center;
}

.price_table table th {
	background-color: #007943;
	color: #fff;
	font-weight: 900;
	border-right: 1px solid #fff;
}

.price_table table th:last-of-type {
	border-right: none;
}

.price_table td:first-of-type {
	background-color: #f4f4f4;
	font-weight: 900;
}

.price_table dl.price_contents {
	border: 1px solid #ccc;
}

.price_table dl.price_contents dt {
	background-color: #007943;
	color: #fff;
	font-weight: 900;
	padding: 10px;
	text-align: center;
}

.price_table dl.price_contents dd {
	background-color: #fff;
	padding: 10px;
}

.price_table dl.price_contents dd ul li {
	padding-left: 24px;
	position: relative;
	width: calc(98% / 2);
	border-bottom: 1px dashed #aaa;
	margin-bottom: 4px;
	padding-bottom: 2px;
	margin-right: 2%;
}

.price_table dl.price_contents dd ul li:nth-of-type(2n) {
	margin-right: 0;
}

.price_table dl.price_contents dd ul li:before {
	content: "";
	width: 18px;
	height: 18px;
	border: 1px solid #ccc;
	display: block;
	position: absolute;
	top: 4px;
	left: 0;
}

.price_table dl.price_contents dd ul li:after {
	content: "";
	width: 10px;
	height: 5px;
	border-left: 2px solid #25AF01;
	border-bottom: 2px solid #25AF01;
	display: block;
	position: absolute;
	top: 8px;
	left: 4px;
	transform: rotate(-45deg);
}

.price_table dl.price_contents dd .categorize:not(:first-of-type) {
	margin-top: 30px;
}

.price_table dl.price_contents dd .categorize b {
	display: block;
	text-align: center;
	color: #8f885c;
	font-weight: 900;
	padding: 5px;
	background-color: #e9e8dd;
	margin-bottom: 8px;
}
.price_table .tab_contents {
	display: none;
}

/* showクラスがついたコンテンツだけ表示する */
.price_table .tab_contents.show {
	display: block;
}

/* クリックできることが分かるようにマウスカーソルを変更（任意） */
.price_table > ul li {
	cursor: pointer;
}
/* =========================================
   監修
========================================= */
.profile.flexbox{
display: flex;
justify-content: space-between;
}
.profile{
border: 14px solid #f2efe9;
margin: 1em auto;
padding: 1.5em;
max-width: 1120px;
}
.portrait{
width: 12%;
}
.profile .message p{
padding: 0 0 .25em 0;
}
.profile .message{
width: 86%;
}
.profile .message p a{
color: #1c90a3;
}
.profile .message p a:hover{
color: #313f4f;
}
/* タブレット・スマホ対応 (800px以下で縦積み) */
@media (max-width: 800px) {
  .pattern-wrapper {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .type-namida {
    transform: none;
  }

  .pattern-head {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .pattern-name {
    margin-bottom: 0.5rem;
  }
}

/* さらに小さいスマホ対応 */
@media (max-width: 500px) {
  .cost-breakdown li {
    flex-direction: column;
  }
  
  .cost-breakdown li .price {
    text-align: right;
    margin-top: 4px;
  }
}
/* スマホ用 */
p.accordion_menu {
	color: #440a6a;
	border: 3px solid #440a6a;
	padding: 8px 58px 8px 8px;
	position: relative;
	font-weight: bold;
}
p.accordion_menu span {
	width: 40px;
	height: 40px;
	position: absolute;
	display: block;
	top: 50%;
	right: 8px;
	transform: translateY(-50%);
	background-color: #440a6a;
	border-radius: 50%;
}
p.accordion_menu span:before,
p.accordion_menu span:after {
	content: "";
	width: 15px;
	height: 2px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #fff;
	transition: all 0.2s ease-in-out;
}
p.accordion_menu span:after {
	transform: translate(-50%, -50%) rotate(90deg);
}
p.accordion_menu.open span:after {
	transform: translate(-50%, -50%) rotate(0);
}
.accordion_inner {
	display: none;
	padding-top: 15px;
}
.contents_wrap {
	width: 98%;
	margin: 0 auto;
}
.sp_area_city iframe {
	display: none;
}
.sp_area_city #area_inquiry dl dt {
	font-weight: bold;
	border-bottom: 1px solid;
}

.sp_area_city #area_inquiry dl dd {
	margin: 10px 0 20px;
	display: flex;
	flex-wrap: wrap;
}
.sp_area_city #area_inquiry dl dd a {
	width: calc(96% / 3);
	margin-right: 2%;
	display: block;
	border: 1px solid;
	border-radius: 3px;
	text-align: center;
	padding: 10px;
	margin-top: 10px;
}
.sp_area_city #area_inquiry dl dd a:active {
	background: var(--accent);
	color: #fff;
}
.sp_area_city #area_inquiry dl dd a:nth-of-type(3n) {
	margin-right: 0;
}
.sp_area_city #area_inquiry dl dd a:nth-of-type(-n + 3) {
	margin-top: 0;
}
/* スマホ用終わり */

/* areaページ用終わり */

@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;
	}
	.sec-title {
		font-size: 1.3rem;
	}
	#about h3.box-title {
		font-size: 1.2rem;
	}
	#about .cate-box .txt-box {
		padding: 20px 20px 0 20px;
	}
	#about .cate-box .img-box {
		padding: 20px;
		width: 100%;
	}
	#about .cate-txt2 {
		text-align: left;
		margin-top: 20px;
	}
	#about .cate-box:nth-of-type(2) .img-box {
		order: 2;
	}
	#service .cate-txt {
		text-align: left;
	}
	#service .service-list {
		grid-template-columns: 1fr;
	}
	#service .service-card .txt-box {
		width: 100%;
		padding-left: 0;
		margin-top: 20px;
	}
	#service .service-card .img-box {
		width: 100%;
	}
	#service .service-card .img-box img {
		width: 100%;
		height: 200px;
		object-fit: cover;
		object-position: center;
		border-radius: 4px;
	}
	#service .sub-service.flex_box li:nth-last-child(2) {
		padding-bottom: 5px;
	}
	#flow .flow-content-box {
		gap: 10px;
	}
	#flow .flow-inner {
		width: calc(100% - 60px);
	}
	#flow .flow-inner .img-box {
		width: 100%;
		order: inherit;
	}
	#flow .flow-inner .txt-box {
		width: 100%;
	}
	#flow .step-number {
		width: 50px;
		height: 50px;
		text-align: 50px;
	}
#points .cate-txt {
	text-align: left;
}
#points .point-card, ul.document li, dl.submit dd ul li{
width: 100%;
}
dl.submit dd ul li{
margin-bottom: 20px;	
}
	/* areaページ用 */
	#area_inquiry dl dt:after {
		content: none;
	}
	.shukatsu-intro .flex_box .col_2, .shukatsu-intro .flex_box.info .col_2 {
		width: 100%;
	}
  .haka-comparison-table {
    font-size: 0.85rem;
  }
  .haka-comparison-table th,
  .haka-comparison-table td {
    padding: 10px 12px;
  }
.price-visual-container {
        flex-direction: column;
    }
    .price-visual-note {
        text-align: left;
    }
 .price_table > ul li {
    width: calc(100% / 3);
    margin-right: 0;
    border-radius: 0;
    padding: 12px 8px;
    text-align: center;
  }
.price_table .tab_contents {
  padding: 10px;
}
.profile.flexbox {
  display: block;
}
.portrait {
width: 33%;
margin: 0 auto 10px;
}
.profile .message {
  width: 100%;
}
}