@charset "UTF-8";
/* price.css : /price/ 専用 */

/* h1.title-en は style.css の h2.title-en と同等の見た目にそろえる */
.page-price h1.title-en {
	font-family: "EB Garamond", serif;
	font-weight: 600;
	font-size: 60px;
	line-height: 1.6;
	letter-spacing: 0.03em;
	text-align: left;
}

/* ---------- アコーディオン ---------- */
.acc { max-width: 860px; margin: 0 auto 60px; }
.acc-head { margin: 0; }
.acc-btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	background: #e7f2f8;
	border: 0;
	border-top: 1px solid #8fa3b5;
	border-bottom: 1px solid #8fa3b5;
	padding: 22px 28px;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.05em;
	color: #222222;
	text-align: left;
	cursor: pointer;
	transition: background-color 0.3s;
}
.acc-btn:hover { background: #d9eaf3; }
.acc-btn:focus-visible { outline: 2px solid #002f63; outline-offset: 2px; }

.acc-icon { position: relative; width: 20px; height: 20px; flex: none; }
.acc-icon::before, .acc-icon::after {
	content: "";
	position: absolute;
	background: #002f63;
	top: 50%; left: 0;
	width: 100%; height: 2px;
	transform: translateY(-50%);
	transition: transform 0.3s, opacity 0.3s;
}
.acc-icon::after { transform: translateY(-50%) rotate(90deg); }
.acc-btn[aria-expanded="true"] .acc-icon::after { transform: translateY(-50%) rotate(0deg); opacity: 0; }

.acc-panel { padding: 40px 0 10px; }
.acc-panel[hidden] { display: none; }

.acc-lead { font-size: 13px; line-height: 2; letter-spacing: 0.04em; text-align: center; margin: 0 auto 36px; max-width: 760px; }
.acc-notes { max-width: 760px; margin: 0 auto 30px; }
.acc-notes li { position: relative; padding-left: 20px; font-size: 13px; line-height: 2; letter-spacing: 0.03em; }
.acc-notes li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: #3b6ea5; }
.acc-foot { font-size: 11px; line-height: 1.9; letter-spacing: 0.03em; max-width: 760px; margin: 0 auto; }

/* ---------- 表 ---------- */
.ptable { width: 100%; border-collapse: collapse; margin: 0 auto 44px; border-top: 1px solid #c9c9c9; }
.ptable caption {
	caption-side: top;
	background: #d9d9d9;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.6;
	padding: 12px 10px;
	text-align: center;
}
.ptable caption small { display: block; font-size: 11px; font-weight: 400; margin-top: 2px; }
.ptable th, .ptable td {
	border: 1px solid #d0d0d0;
	padding: 14px 14px;
	font-size: 13px;
	line-height: 1.8;
	letter-spacing: 0.03em;
	text-align: center;
	vertical-align: middle;
	background: #ffffff;
}
.ptable thead th { background: #efefef; font-weight: 700; }
.ptable tbody th { font-weight: 500; text-align: left; background: #ffffff; }
.ptable tbody th small { display: block; font-size: 11px; color: #555; margin-top: 2px; }
.ptable td:last-child:not(:nth-child(2)) { text-align: left; }
.ptable-2col td { width: 30%; }

.faq { border-top: 1px solid #222; border-bottom: 1px solid #222; margin: 10px auto 40px; }
.faq summary { cursor: pointer; padding: 20px 8px; font-size: 14px; font-weight: 500; letter-spacing: 0.05em; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 300; color: #002f63; }
.faq[open] summary::after { content: "−"; }
.faq p { font-size: 13px; line-height: 2; padding: 0 8px 20px; }

/* ---------- タブ ---------- */
.tab-list { display: flex; margin-bottom: 24px; }
.tab-btn {
	flex: 1;
	border: 1px solid #002f63;
	background: #ffffff;
	color: #002f63;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 15px;
	font-weight: 700;
	padding: 14px 10px;
	cursor: pointer;
	transition: background-color 0.3s, color 0.3s;
}
.tab-btn.is-active { background: #002f63; color: #ffffff; }
.tab-btn:focus-visible { outline: 2px solid #002f63; outline-offset: 2px; }
.tab-panel[hidden] { display: none; }

/* ---------- SP ---------- */
@media screen and (max-width: 768px) {
	.page-price h1.title-en { font-size: 40px; padding: 0 40px 8px 12px; }
	.acc { margin-bottom: 40px; }
	.acc-btn { padding: 18px 16px; font-size: 16px; }
	.acc-panel { padding-top: 28px; }
	.acc-lead { text-align: left; font-size: 12px; }
	.acc-lead br { display: none; }

	/* 表 → カード化 */
	.ptable, .ptable thead, .ptable tbody, .ptable tr, .ptable th, .ptable td, .ptable caption { display: block; }
	.ptable { border-top: 0; margin-bottom: 36px; }
	.ptable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.ptable caption { margin-bottom: 14px; }
	.ptable tr { border: 1px solid #c9c9c9; margin-bottom: 14px; background: #ffffff; }
	.ptable tbody th {
		text-align: center;
		background: #f4f4f4;
		border: 0;
		border-bottom: 1px solid #d0d0d0;
		font-weight: 700;
		padding: 12px 10px;
	}
	.ptable tbody th::before { content: none; }
	.ptable td {
		display: flex;
		justify-content: space-between;
		gap: 16px;
		border: 0;
		border-bottom: 1px solid #ececec;
		padding: 10px 12px;
		text-align: right;
	}
	.ptable td:last-child { border-bottom: 0; }
	.ptable td::before {
		content: attr(data-label);
		flex: none;
		font-weight: 700;
		text-align: left;
		color: #222;
	}
	.ptable td:last-child:not(:nth-child(2)) { text-align: right; }
	.ptable-2col td { width: auto; }
	.faq summary { font-size: 13px; padding-right: 40px; }
}
