@charset "UTF-8";

/* =========================================
   料金表（新） ページ専用スタイル
   ========================================= */

:root {
	--pn-accent: #b39256;
	--pn-accent-dark: #8a6d3a;
	--pn-bg: #faf6f0;
	--pn-border: #e6dccd;
	--pn-text: #2b2521;
	--pn-muted: #8b8378;
	--pn-sidebar-w: 260px;
}

/* .container の overflow 解除は css/fix.css に記載（本ファイルは wp_head 内で先に出るため、
   header 直後の /common/css/style.css の overflow:hidden に負ける） */

/* =========================================
   レイアウト（2カラム）
   ========================================= */
.price-new-layout {
	display: flex;
	gap: 40px;
	max-width: 1240px;
	margin: 30px auto 0;
	padding: 0 20px;
	align-items: flex-start;
}
.price-new-layout__sidebar {
	flex: 0 0 var(--pn-sidebar-w);
	width: var(--pn-sidebar-w);
	position: -webkit-sticky;
	position: sticky;
	top: 175px;
	align-self: flex-start;
	max-height: calc(100vh - 195px);
	overflow-y: auto;
	padding-right: 10px;
}
.price-new-layout__main {
	flex: 1;
	min-width: 0;
	padding-bottom: 50vh;
}
/* 既存の .content_blk_01 は width:800px だが、本レイアウト内では親に合わせる */
.price-new-layout__main .content_blk_01 {
	width: 100%;
	max-width: 100%;
	margin: 0;
}
@media screen and (max-width: 980px) {
	.price-new-layout {
		display: block;
	}
	.price-new-layout__sidebar {
		position: static;
		width: 100%;
		max-height: none;
		padding-right: 0;
		margin-bottom: 8px;
	}
}

/* =========================================
   検索ボックス
   ========================================= */
.price-new-search {
	margin-bottom: 16px;
}
.price-new-search__inner {
	position: relative;
}
.price-new-search__input {
	width: 100%;
	padding: 12px 40px 12px 16px;
	border: 1px solid var(--pn-border);
	border-radius: 6px;
	background: #fff;
	font-size: 14px;
	color: var(--pn-text);
	-webkit-appearance: none;
	appearance: none;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.price-new-search__input:focus {
	outline: none;
	border-color: var(--pn-accent);
	box-shadow: 0 0 0 3px rgba(179, 146, 86, 0.15);
}
.price-new-search__input::placeholder {
	color: #b6ad9d;
}
.price-new-search__icon {
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	width: 16px;
	height: 16px;
	color: var(--pn-muted);
	pointer-events: none;
}
.price-new-search__count {
	margin-top: 6px;
	font-size: 12px;
	color: var(--pn-muted);
	min-height: 1em;
}

/* =========================================
   サイドバー目次
   ========================================= */
.price-new-nav {
	background: #fff;
	border: 1px solid var(--pn-border);
	border-radius: 8px;
	padding: 16px;
}
.price-new-nav__title {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.1em;
	color: var(--pn-accent);
	margin: 0 0 12px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--pn-border);
}
.price-new-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.price-new-nav__list li {
	margin: 0;
	padding: 0;
}
.price-new-nav__link {
	display: block;
	padding: 9px 12px;
	font-size: 13px;
	color: var(--pn-text);
	text-decoration: none;
	border-radius: 4px;
	line-height: 1.4;
	transition: background 0.15s, color 0.15s;
	border-left: 3px solid transparent;
}
.price-new-nav__link:hover {
	background: var(--pn-bg);
	color: var(--pn-accent-dark);
}
.price-new-nav__sub {
	list-style: none;
	margin: 0 0 0 12px;
	padding: 0;
	border-left: 1px dashed var(--pn-border);
	overflow: hidden;
	max-height: 0;
	opacity: 0;
	transition: max-height 0.3s ease, opacity 0.2s ease,
		margin 0.3s ease, padding 0.3s ease;
}
.price-new-nav__sub .price-new-nav__link {
	font-size: 12px;
	padding: 6px 10px;
	color: var(--pn-muted);
}
.price-new-nav__sub .price-new-nav__link:hover {
	color: var(--pn-accent-dark);
}

/* ドロップダウン親：矢印インジケーター */
.price-new-nav__group.has-sub > .price-new-nav__link {
	position: relative;
	padding-right: 32px;
}
.price-new-nav__group.has-sub > .price-new-nav__link::after {
	content: '';
	position: absolute;
	right: 14px;
	top: 50%;
	width: 6px;
	height: 6px;
	border-right: 1.5px solid var(--pn-accent);
	border-bottom: 1.5px solid var(--pn-accent);
	transform: translateY(-75%) rotate(45deg);
	transition: transform 0.25s ease;
}
.price-new-nav__group.is-open > .price-new-nav__link::after,
.price-new-nav__group.is-search-open > .price-new-nav__link::after {
	transform: translateY(-25%) rotate(-135deg);
}

/* 開いた時：サブメニューを表示 */
.price-new-nav__group.is-open > .price-new-nav__sub,
.price-new-nav__group.is-search-open > .price-new-nav__sub {
	max-height: 800px;
	opacity: 1;
	margin: 4px 0 8px 12px;
	padding: 4px 0 4px 14px;
}

/* =========================================
   SP用：ドロップダウン式目次
   ========================================= */
.price-new-nav__toggle {
	display: none;
	width: 100%;
	padding: 12px 16px;
	background: var(--pn-accent);
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.05em;
	cursor: pointer;
	text-align: left;
	position: relative;
}
.price-new-nav__toggle::after {
	content: '';
	position: absolute;
	right: 18px;
	top: 50%;
	width: 8px;
	height: 8px;
	border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: translateY(-70%) rotate(45deg);
	transition: transform 0.2s;
}
.price-new-nav__toggle.is-open::after {
	transform: translateY(-30%) rotate(-135deg);
}
@media screen and (max-width: 980px) {
	.price-new-nav__toggle {
		display: block;
	}
	.price-new-search {
		margin-top: 12px;
	}
	.price-new-nav {
		display: none;
		margin-top: 8px;
	}
	.price-new-nav.is-open {
		display: block;
	}
}

/* =========================================
   検索フィルタ非ヒット
   ========================================= */
.price-new-nav__link.is-hidden {
	display: none;
}
.price-new-nav__group.is-hidden-all {
	display: none;
}

/* メイン側でフィルタ中: マッチしないセクションを薄くする */
.price-new-section.is-dimmed {
	opacity: 0.25;
	pointer-events: none;
}
.price-new-section.is-hit {
	animation: pn-hit 1.4s ease;
}
@keyframes pn-hit {
	0% { background: rgba(179, 146, 86, 0.18); }
	100% { background: transparent; }
}

/* =========================================
   戻るボタン
   ========================================= */
.price-new-totop {
	position: fixed;
	right: 24px;
	bottom: 24px;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--pn-accent);
	color: #fff;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.2s, visibility 0.2s, transform 0.2s, background 0.2s;
	z-index: 100;
}
.price-new-totop.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.price-new-totop:hover {
	background: var(--pn-accent-dark);
}
.price-new-totop::before {
	content: '';
	width: 10px;
	height: 10px;
	border-top: 2px solid #fff;
	border-left: 2px solid #fff;
	transform: rotate(45deg) translate(2px, 2px);
}
@media screen and (max-width: 640px) {
	.price-new-totop {
		right: 16px;
		bottom: 16px;
		width: 44px;
		height: 44px;
	}
}

/* =========================================
   ヒーロー（ページ上部の概要・案内）
   ========================================= */
.price-new-intro {
	max-width: 1200px;
	margin: 0 auto 30px;
}

/* =========================================
   セクション見出しのスクロールマージン調整
   （固定ヘッダーの下に隠れないように）
   ========================================= */
.price-new-layout__main .wrap_01 {
	scroll-margin-top: 175px; /* ヘッダー(129px) + 管理バー(32px) + 余白 */
}
.price-new-layout__main [id] {
	scroll-margin-top: 175px; /* ヘッダー(129px) + 管理バー(32px) + 余白 */
}
@media screen and (max-width: 980px) {
	.price-new-layout__main .wrap_01,
	.price-new-layout__main [id] {
		scroll-margin-top: 80px;
	}
}

/* =========================================
   セクション見出し（h2.com_hl_01）
   ========================================= */
.price-new-layout__main .com_hl_01 {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 22px;
	font-size: 26px;
	font-weight: 400;
	letter-spacing: 0.18em;
	color: var(--pn-text);
	line-height: 1.5;
	text-align: center;
	padding: 0;
	border: none;
}
.price-new-layout__main .com_hl_01::before,
.price-new-layout__main .com_hl_01::after {
	content: '';
	flex: 1 1 0;
	max-width: 100px;
	height: 1px;
	background: linear-gradient(
		to right,
		rgba(179, 146, 86, 0) 0%,
		var(--pn-accent) 50%,
		rgba(179, 146, 86, 0) 100%
	);
}

/* セクション同士の間隔（最初の wrap_01 だけは詰める） */
.price-new-layout__main .wrap_01 {
	margin-top: 70px;
}
.price-new-layout__main .wrap_01:first-of-type {
	margin-top: 30px;
}

/* =========================================
   サブ見出し（h3.com_hl_02）
   ========================================= */
.price-new-layout__main .com_hl_02 {
	position: relative;
	font-size: 19px;
	font-weight: 500;
	letter-spacing: 0.12em;
	color: var(--pn-accent-dark);
	line-height: 1.5;
	text-align: center;
	padding: 0 0 14px;
}
.price-new-layout__main .com_hl_02::before {
	content: '❋';
	display: block;
	font-size: 11px;
	color: var(--pn-accent);
	opacity: 0.75;
	margin-bottom: 4px;
	letter-spacing: 0;
	line-height: 1;
}
.price-new-layout__main .com_hl_02::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: 38px;
	height: 1px;
	background: linear-gradient(
		to right,
		rgba(179, 146, 86, 0) 0%,
		var(--pn-accent) 50%,
		rgba(179, 146, 86, 0) 100%
	);
}

@media screen and (max-width: 640px) {
	.price-new-layout__main .com_hl_01 {
		font-size: 20px;
		gap: 14px;
		letter-spacing: 0.14em;
	}
	.price-new-layout__main .com_hl_01::before,
	.price-new-layout__main .com_hl_01::after {
		max-width: 50px;
	}
	.price-new-layout__main .com_hl_02 {
		font-size: 16px;
		letter-spacing: 0.1em;
		padding-bottom: 12px;
	}
	.price-new-layout__main .com_hl_02::before {
		font-size: 10px;
	}
	.price-new-layout__main .wrap_01 {
		margin-top: 50px;
	}
	.price-new-layout__main .wrap_01:first-of-type {
		margin-top: 8px;
	}
}

/* =========================================
   料金テーブル：デザインリフレッシュ（PC）
   ========================================= */
.price-new-layout__main .com_table_01 {
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid var(--pn-border);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 1px 4px rgba(179, 146, 86, 0.06);
	background: #fff;
}
.price-new-layout__main .com_table_01 th {
	background: linear-gradient(135deg, #c4a474 0%, #b39256 100%);
	color: #fff;
	border-right: 1px solid rgba(255, 255, 255, 0.18);
	border-bottom: none;
	padding: 14px 20px;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.08em;
	line-height: 1.5;
	text-align: left;
}
.price-new-layout__main .com_table_01 th:last-child {
	border-right: none;
}
.price-new-layout__main .com_table_01 td {
	border: none;
	border-bottom: 1px solid var(--pn-border);
	border-right: 1px dashed #ece4d3;
	padding: 14px 20px;
	font-size: 14px;
	color: var(--pn-text);
	background: #fff;
	transition: background 0.2s;
}
.price-new-layout__main .com_table_01 td:last-child {
	border-right: none;
}
.price-new-layout__main .com_table_01 tr:last-child td {
	border-bottom: none;
}
.price-new-layout__main .com_table_01 td.oth_01 {
	background: #faf8f3;
	color: var(--pn-text);
	font-weight: 400;
	letter-spacing: 0.02em;
}
.price-new-layout__main .com_table_01 tr:hover td:not(.oth_01) {
	background: #fdfbf7;
}
.price-new-layout__main .com_table_01.price td,
.price-new-layout__main .com_table_01 .txt_r {
	text-align: right;
	color: var(--pn-accent-dark);
	font-weight: 500;
	letter-spacing: 0.03em;
}
.price-new-layout__main .com_table_01.price td.oth_01,
.price-new-layout__main .com_table_01 .txt_r.oth_01 {
	color: var(--pn-text);
	font-weight: 400;
	text-align: left;
}
/* 単一セル見出し（テーブルタイトル）行 */
.price-new-layout__main .com_table_01 tr.price-new-table__caption-row th {
	text-align: center;
	font-size: 15px;
	letter-spacing: 0.12em;
}

/* =========================================
   料金テーブル：SPカード化
   ========================================= */
@media screen and (max-width: 640px) {
	.price-new-layout__main .com_table_01,
	.price-new-layout__main .com_table_01 thead,
	.price-new-layout__main .com_table_01 tbody,
	.price-new-layout__main .com_table_01 tr,
	.price-new-layout__main .com_table_01 th,
	.price-new-layout__main .com_table_01 td {
		display: block;
		width: 100%;
		box-sizing: border-box;
	}
	.price-new-layout__main .com_table_01 {
		border: none;
		border-radius: 0;
		background: transparent;
		box-shadow: none;
		overflow: visible;
	}

	/* 多列ヘッダー（カラム名行）はカード内ラベルに置き換えるので非表示 */
	.price-new-layout__main .com_table_01 tr.price-new-table__head-row {
		display: none;
	}

	/* 単一セル見出し（テーブルタイトル）はゴールドのリボン風に */
	.price-new-layout__main .com_table_01 tr.price-new-table__caption-row {
		margin: 0 0 10px;
		padding: 0;
		border: none;
		background: transparent;
		box-shadow: none;
	}
	.price-new-layout__main .com_table_01 tr.price-new-table__caption-row th {
		background: linear-gradient(135deg, #c4a474 0%, #b39256 100%);
		color: #fff;
		padding: 11px 16px;
		font-size: 14px;
		letter-spacing: 0.12em;
		text-align: center;
		border: none;
		border-radius: 6px;
	}

	/* データ行＝カード */
	.price-new-layout__main .com_table_01 tr {
		background: #fff;
		border: 1px solid var(--pn-border);
		border-radius: 10px;
		margin: 0 0 10px;
		padding: 14px 16px;
		box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
	}

	/* メニュー名（oth_01）＝カード見出し */
	.price-new-layout__main .com_table_01 td,
	.price-new-layout__main .com_table_01 th {
		background: transparent;
		border: none;
		padding: 0;
		font-size: 14px;
		text-align: left;
	}
	.price-new-layout__main .com_table_01 td.oth_01 {
		background: transparent;
		font-size: 15px;
		font-weight: 500;
		color: var(--pn-text);
		line-height: 1.5;
		padding-bottom: 10px;
		margin-bottom: 8px;
		border-bottom: 1px dashed var(--pn-border);
	}

	/* それ以外のセル＝ラベル/値 行 */
	.price-new-layout__main .com_table_01 td:not(.oth_01) {
		display: flex;
		justify-content: flex-end;
		align-items: baseline;
		gap: 12px;
		padding: 5px 0;
		color: var(--pn-accent-dark);
		font-weight: 500;
		text-align: right;
	}
	.price-new-layout__main .com_table_01 td:not(.oth_01)[data-pn-label] {
		justify-content: space-between;
	}
	.price-new-layout__main .com_table_01 td:not(.oth_01)[data-pn-label]::before {
		content: attr(data-pn-label);
		display: inline-block;
		color: var(--pn-muted);
		font-size: 12px;
		font-weight: 400;
		letter-spacing: 0.04em;
		text-align: left;
		flex-shrink: 0;
	}

	/* hover演出はSPでは無効化 */
	.price-new-layout__main .com_table_01 tr:hover td:not(.oth_01) {
		background: transparent;
	}
}
