/* ====================================================================
   services-page.css
   下層ページ services.php 専用スタイル
   ==================================================================== */

.section-heading{
  flex: 1.4;
}

.sp-block {
	position: relative;
	background: #fff;
}

.sp-block--tint {
	background: var(--color-pink-bg, #f9efed);
}

/* ---------- 紹介文＋画像 共通 ---------- */
.sp-intro {
	position: relative;
	z-index: 1;
  display: flex;
  align-items: stretch;
  gap: 20px;
  margin-top: 20px;
}


.sp-intro-photo img {
	width: 100%;
	max-width: 360px;
	margin: 0 0 0 auto;
  z-index: 1;
  position: relative;
}

/* ---------- 小見出しブロック（見出し＋内容＋右側の写真スペース） ---------- */
.sp-feature {
	margin-top: 56px;
}

.sp-feature-row {
	display: flex;
	align-items: stretch;
	gap: 20px;
	margin-top: 20px;
}

.sp-feature-content {
	flex: 1.4;
	min-width: 0;
}

.sp-feature-photo {
	flex: none;
	width: 320px;
	max-width: 100%;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

.sp-feature-photo img {
	display: block;
	width: 100%;
	min-height: 0;
	object-fit: cover;
	border-radius: 5px;
	box-shadow: 0 10px 26px rgba(107, 79, 79, 0.08);
	cursor: zoom-in;
}

.sp-feature-photo-caption {
	flex: none;
	width: 100%;
	margin-top: 8px;
	font-size: 11.5px;
	text-align: right;
	color: var(--color-text-brown, #6b4f4f);
}

/* ---------- 小見出し ---------- */
.sp-sub-heading {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 12px;
	font-family: var(--font-klee);
	font-size: clamp(20px, 2.4vw, 26px);
	color: #2c0a04;
	margin: 0 0 20px;
}

.sp-sub-heading-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--color-pink-icon, #e8b6b9);
	color: #fff;
	font-size: 15px;
}

/* ---------- 強調バッジ ---------- */
.sp-emphasis {
	align-items: center;
	gap: 8px;
	color: #b30000;
	font-weight: 700;
	font-size: 14px;
	margin-bottom: 12px;
  background: #fff;
  border: 1px solid var(--color-pink-icon, #e8b6b9);
  border-radius: 5px;
  padding: 20px;
  margin-top: 0;
  width: fit-content;
}

/* ---------- ホテル料金表 ---------- */
.sp-price-table {
	position: relative;
	z-index: 1;
	max-width: 640px;
	background: #fff;
	overflow: hidden;
	box-shadow: 0 10px 26px rgba(107, 79, 79, 0.06);
	border: 1px solid #e8b6b9;
	margin-bottom: 20px;
  border-radius: 5px;
}

.sp-block--tint .sp-price-table {
	background: #fff;
}

.sp-price-row {
	display: grid;
  grid-template-columns:1fr 1fr;
}


#daycare .sp-price-row {
	display: grid;
  grid-template-columns: 100px 1fr;
}

.sp-price-row + .sp-price-row {
	border-top: 1px solid #f1e2df;
}

.sp-price-row > div {
	padding: 16px 22px;
	font-size: 14px;
	color: var(--color-text-dark, #4a3c3c);
}

.sp-price-row > div:first-child {
	border-right: 1px dashed rgba(232, 182, 185, 0.7);
}

.sp-price-row--head {
	background: var(--color-pink-icon, #e8b6b9);
}

.sp-price-row--head > div {
	color: #fff;
	font-weight: 600;
}

/* ---------- 利用案内テーブル：左列を色つきラベルに ---------- */
.sp-price-table--guide .sp-price-row > div:first-child {
	background: var(--color-pink-icon, #e8b6b9);
	color: #fff;
	font-weight: 600;
	border-right: none;
	white-space: nowrap;
}

/* ---------- 料金表＋注意ボックスの横並び ---------- */
.sp-price-with-note {
	display: flex;
	align-items: flex-start;
	gap: 24px;
}

.sp-price-with-note .sp-price-table,
.sp-price-with-note .sp-note-box {
	flex: 1;
	min-width: 0;
}

#hotel .sp-note-box{
  margin-top: 0;
}

/* ---------- 予約導線ボタン（footerのボタンと同じデザイン） ---------- */
.sp-note-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 14px;
}

.sp-note-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: #fff;
	border-radius: 999px;
	padding: 6px 22px 6px 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--color-text-dark, #4a3c3c);
	box-shadow: 0 8px 18px rgba(107, 79, 79, 0.1);
	transition: transform 0.25s ease;
}

.sp-note-btn:hover {
	transform: translateY(-2px);
}

.sp-note-buttons .sp-note-btn i {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #d6336c;
	color: #fff;
	font-size: 14px;
}

.sp-note-buttons .sp-note-btn--line i {
	background: #06c755;
}

/* ---------- 注意事項ボックス ---------- */
.sp-note-box {
	position: relative;
	z-index: 1;
	max-width: 100%;
	margin-bottom: 20px;
	background: #fff;
	border: 1px solid var(--color-pink-icon, #e8b6b9);
	border-radius: 5px;
	padding: 22px 24px;
	font-size: 13px;
	line-height: 1.9;
	color: var(--color-text-brown, #6b4f4f);
}

.sp-note-box p + p {
	margin-top: 8px;
}

.sp-note-box i {
	color: var(--color-pink-deep, #d99ba0);
	margin-right: 6px;
}

.sp-note-example {
	padding-left: 22px;
}

.sp-policy-list {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.sp-policy-list li {
	position: relative;
	padding-left: 22px;
	font-size: 13px;
	line-height: 1.9;
	color: var(--color-text-dark, #4a3c3c);
}

.sp-policy-list li::before {
	content: "\f5d7";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	position: absolute;
	left: 0;
	top: 1px;
	width: 12px;
	font-size: 12px;
	line-height: 1.9;
	color: var(--color-pink-icon, #e8b6b9);
}

.sp-policy-list--notice li::before {
	content: "\f071";
	color: var(--color-pink-deep, #d99ba0);
}

/* ---------- 持ち物チェックリスト ---------- */
.sp-checklist {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

.sp-checklist-item {
  border: 1px solid var(--color-pink-icon, #e8b6b9);
	display: flex;
	align-items: flex-start;
	gap: 14px;
	background: #fff;
	border-radius: 5px;
	padding: 20px;
	box-shadow: 0 8px 20px rgba(107, 79, 79, 0.06);
}

.sp-checklist-item i {
	flex: none;
	margin-top: 0;
	font-size: 20px;
	background: #d99ba0;
	width: 35px;
	aspect-ratio: 1 / 1;
	border-radius: 10%;
	color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
}

.sp-checklist-title {
	font-size: 1rem;
	font-weight: 600;
	color: var(--color-text-dark, #4a3c3c);
	margin-bottom: 6px;
}

.sp-checklist-desc {
	font-size: 12.5px;
	line-height: 1.8;
	color: var(--color-text-brown, #6b4f4f);
}

/* ---------- お支払いバッジ ---------- */
.sp-pay-badges {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.sp-pay-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	border: 1px solid #f1d9d9;
	border-radius: 999px;
	padding: 9px 18px;
	font-size: 13px;
	color: var(--color-text-brown, #6b4f4f);
}

.sp-pay-badge i {
	color: var(--color-pink-deep, #d99ba0);
}

/* ---------- 保育園プラン一覧 ---------- */
.sp-plan-table-wrap {
	position: relative;
	z-index: 1;
	overflow-x: auto;
 border-radius: 5px;
}

.sp-plan-table thead th:first-child {
  border-radius: 5px 0 0 0;
  border-top: none;
  border-left: none;
}


.sp-plan-table thead th:last-child {
  border-radius: 0 5px 0 0 ;
  border-top: none;
  border-right: none;
}

.sp-plan-table {
	width: 100%;
	min-width: 640px;
	border-collapse: collapse;
	background: #fff;
	border-radius: 5px;
	box-shadow: 0 10px 26px rgba(107, 79, 79, 0.06);
	margin-bottom: 20px;
}

.sp-plan-table th,
.sp-plan-table td {
	padding: 16px 18px;
	text-align: left;
	font-size: 13px;
	line-height: 1.8;
  border: 1px solid #f1e2df;
	vertical-align: top;
}

.sp-plan-table thead th {
	background: var(--color-pink-icon, #e8b6b9);
	color: #fff;
	font-weight: 600;
	white-space: nowrap;
}

.sp-plan-table tbody tr + tr td {
	border-top: 1px solid #f1e2df;
}

.sp-plan-table tbody td:first-child {
	font-weight: 600;
	color: var(--color-text-dark, #4a3c3c);
	white-space: nowrap;
}

.sp-plan-table tbody td:last-child {
	font-weight: 600;
	color: var(--color-pink-deep, #d99ba0);
	white-space: nowrap;
}

/* ---------- トリミング料金表タイトル ---------- */
.sp-plan-table-title {
	font-family: var(--font-klee);
	font-size: 15px;
	font-weight: 600;
	color: var(--color-text-dark, #4a3c3c);
	margin: 24px 0 10px;
}

.sp-plan-table-title:first-child {
	margin-top: 0;
}

.sp-plan-table-title span {
	font-weight: 400;
	font-size: 12px;
	color: var(--color-text-brown, #6b4f4f);
	margin-left: 6px;
}

.sp-plan-table-note {
	font-size: 12px;
	color: var(--color-text-brown, #6b4f4f);
}

/* ---------- オプションメニュー ---------- */
.sp-option-columns {
	display: flex;
	gap: 40px;
	flex-wrap: wrap;
	margin-bottom: 10px;
}

.sp-option-col {
	flex: 1;
	min-width: 220px;
	display: flex;
	flex-direction: column;
}

.sp-option-row {
  line-height: 1;
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px dashed rgba(232, 182, 185, 0.7);
	font-size: 13px;
	color: var(--color-text-dark, #4a3c3c);
}


.sp-option-row span:first-child{
  position: relative;
  display: block;
  padding-left: 20px;
}

.sp-option-row span:first-child::after{  
  position: absolute;
  content: '';
  background: rgba(232, 182, 185, 0.7);
  width: 10px;
  aspect-ratio: 1 / 1;
  border-radius: 2px;
  left: 5px;
  top: 2px;
}


.sp-option-row-price {
	flex: none;
	font-weight: 600;
	color: var(--color-pink-deep, #d99ba0);
	white-space: nowrap;
}

/* ---------- プランカード（シャンプーのみ／メンテナンスシャンプー） ---------- */
.sp-plan-cards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin-bottom: 20px;
}

.sp-plan-card {
	background: #fff;
	border: 1px solid var(--color-pink-icon, #e8b6b9);
	border-radius: 5px;
	padding: 20px;
}

.sp-plan-card-title {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
  margin-bottom: 12px;
  background: #d99ba0;
  color: #fff;
  border-radius: 3px;
  padding-left: 8px;
}

.sp-plan-card-title i {
	flex: none;
  color: #fff;
  font-size: 16px;
  width: 20px;
  aspect-ratio: 1 / 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sp-plan-card-price {
	font-size: 13px;
	color: var(--color-text-dark, #4a3c3c);
	margin-bottom: 8px;
}

.sp-plan-card-price strong {
	font-size: 20px;
	color: #b30000;
	margin-left: 6px;
}

.sp-plan-card-note {
	font-size: 12px;
	color: var(--color-text-brown, #6b4f4f);
}

#reservation .sp-intro-photo{
  display: none;
}

#reservation .footer-contact-buttons{
  justify-content: start;
  margin-top: 20px;
}


  #reservation .sp-feature {
    margin-top: 20px;
  }

/* ---------- 保育園の一日：タイムライン ---------- */
.cs-timeline-wrapper {
	width: 100%;
	max-width: 830px;
}

.cs-timeline-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.cs-timeline-item {
	position: relative;
	padding-left: 78px;
	padding-bottom: 40px;
}

.cs-timeline-item:last-child {
	padding-bottom: 0;
}

.cs-timeline-item::before {
	content: '';
	position: absolute;
	top: 30px;
	left: 30px;
	width: 2px;
	height: calc(100% - 30px);
	background-color: #f1e2df;
	z-index: 1;
}

.cs-timeline-item:last-child::before {
	display: none;
}

.cs-timeline-node {
	position: absolute;
	top: 0;
	left: 0;
	width: 62px;
	height: 30px;
	border-radius: 999px;
  border: 1px solid #d99ba0;
  color: #d99ba0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-cormorant, serif);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.05em;
	white-space: nowrap;
	z-index: 2;
	box-sizing: border-box;
}

.cs-timeline-content {
	padding-top: 5px;
}

.cs-timeline-title {
	display: block;
	font-size: 15px;
	font-weight: 700;
	color: var(--color-text-dark, #4a3c3c);
	margin-bottom: 8px;
	line-height: 1.4;
}

.cs-timeline-desc {
	font-size: 13px;
	color: var(--color-text-brown, #6b4f4f);
	line-height: 1.8;
	margin: 0;
}

/* ==================== Responsive ==================== */
@media (max-width: 1100px) {
	.sp-price-with-note {
		flex-direction: column;
	}
}

@media (max-width: 900px) {
	.sp-intro {
		grid-template-columns: 1fr;
		flex-direction: column-reverse;
	}
  
  .sp-feature-photo-caption {
    text-align: left;
  }

	.sp-intro-photo {
		order: -1;
		width: 60%;
		margin: 0 auto;
	}
  
  .sp-intro-photo img {
    width: 100%;
    max-width: 100%;
  }

	.sp-checklist {
		grid-template-columns: 1fr;
	}

	.sp-plan-cards {
		grid-template-columns: 1fr;
	}

	.sp-option-columns {
		flex-direction: column;
		gap: 0;
	}

	.sp-feature-row {
		flex-direction: column;
		gap: 24px;
	}

	.sp-feature-photo {
		width: 100%;
		max-width: 320px;
		margin: 0;
		align-items: center;
	}
}

@media screen and (max-width: 1000px) {
  .sp-intro {
    gap: 0px;
  }
}

@media screen and (max-width:900px) {
  .sp-intro {
    gap: 30px;
  }
}

@media screen and (max-width: 640px) {
  
  
	.cs-timeline-item {
		padding-left: 64px;
		padding-bottom: 32px;
	}
	.cs-timeline-node {
		width: 54px;
		height: 26px;
		font-size: 11px;
	}
	.cs-timeline-item::before {
		top: 26px;
		left: 26px;
		height: calc(100% - 26px);
	}
	.cs-timeline-title {
		font-size: 14px;
	}
	.cs-timeline-desc {
		font-size: 12.5px;
	}
  
  
  #reservation .sp-feature {
    margin-top: 20px;
  }
}

@media (max-width: 600px) {
  
  .sp-feature-row {
    margin-top: 10px;
  }
  
  .sp-sub-heading {
    margin: 0 0 10px;
  }
  
  .sp-feature-photo {
    max-width: 100%;
  }
  
  .sp-intro-photo {
    width: 80%;
  }
  
  .sp-note-box {
    padding: 20px;
  }
  
	.sp-price-row > div,
	.sp-note-box,
	.sp-plan-table th,
	.sp-plan-table td {
		font-size: 12.5px;
	}

	.sp-feature {
		margin-top: 40px;
	}
  
  #reservation .sp-feature {
    margin-top: 0px;
  }
  
}
