/**
 * スーツケースのサイズ選び（[picolabo_suitcase]）。共通部品は base.css（商品ボックスは pt-pick）。
 *
 * 左（スマホでは上）に泊数・荷物の量・乗る飛行機、右に必要な容量と区分、機内持ち込み・預け入れの規定、おすすめ商品。
 * パネルの下に、泊数別の容量の目安と航空会社別の規定の一覧。
 * 規定に収まるかは、OK をライムの文字、超えるときはコーラルの文字で出す。
 */

@media (min-width: 1000px) {
	.sk-input {
		position: sticky;
		top: calc(var(--header-h) + 16px);
	}
}

/* 入力
   -------------------------------------------------------------------------- */
.sk-input {
	display: grid;
	gap: 24px;
}

.sk-field {
	display: grid;
	gap: 8px;
}

.pt .sk-field__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
}

.sk-field__value {
	font-family: var(--font-en);
	font-size: 2.4rem;
	font-weight: 600;
	line-height: 1.2;
	font-variant-numeric: tabular-nums;
}

.sk-seg {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.pt .sk-seg .pt-btn {
	flex: 1;
	min-height: 44px;
	font-size: 1.4rem;
}

/* 結果
   -------------------------------------------------------------------------- */
.sk-result {
	display: grid;
	gap: 10px;
}

.pt .sk-result__lead {
	color: var(--c-ink-2);
	font-size: 1.4rem;
	font-weight: 700;
}

.pt .sk-big {
	display: flex;
	align-items: baseline;
	gap: 6px;
	font-family: var(--font-en);
	font-weight: 600;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.sk-big b {
	font-size: clamp(5.6rem, 9vw, 8rem);
	font-weight: 600;
}

.sk-big span {
	font-size: 2.4rem;
}

.sk-big span:first-child {
	font-family: var(--font-ja);
	font-size: 1.8rem;
	font-weight: 700;
}

.sk-class__name {
	display: inline-block;
	padding: 4px 14px;
	border-radius: 999px;
	background: var(--c-ink);
	color: #fff;
	font-size: 1.4rem;
	font-weight: 700;
}

.pt .sk-class__note {
	color: var(--c-ink-2);
	font-size: 1.4rem;
	line-height: 1.7;
}

.sk-flight {
	display: grid;
	gap: 10px;
	margin-top: 10px;
	padding-top: 20px;
	border-top: 1px solid var(--c-line);
}

.sk-flight[hidden] {
	display: none;
}

.sk-rule {
	display: grid;
	gap: 4px;
	padding: 12px 16px;
	border-radius: var(--radius-s);
	background: var(--c-tint);
}

.pt .sk-rule__head {
	font-size: 1.3rem;
	font-weight: 700;
}

.pt .sk-rule__text {
	font-size: 1.4rem;
	line-height: 1.7;
}

.pt .sk-verdict {
	color: var(--c-lime-ink);
	font-size: 1.4rem;
	font-weight: 700;
	line-height: 1.7;
}

.pt .sk-verdict.is-ng {
	color: var(--c-coral-ink);
}

.sk-shop {
	display: grid;
	gap: 12px;
	margin-top: 10px;
	padding-top: 20px;
	border-top: 1px solid var(--c-line);
}

.sk-shop__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.pt .sk-shop__title {
	margin: 0;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.5;
}

.sk-picks[hidden] {
	display: none;
}

.pt .sk-badge {
	color: var(--c-lime-ink);
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.5;
}

.pt .sk-badge.is-ng {
	color: var(--c-coral-ink);
}

/* 目安と規定の一覧
   -------------------------------------------------------------------------- */
.sk-more {
	display: grid;
	gap: clamp(40px, 5vw, 56px);
	margin-top: clamp(40px, 5vw, 56px);
}

/* 中の表や図の幅で列が広がり、スマホでページごと横にはみ出さないようにする。 */
.sk-more > * {
	min-width: 0;
}

.pt .sk-more__title {
	margin: 0 0 16px;
	font-size: clamp(1.8rem, 2.2vw, 2.2rem);
	font-weight: 700;
	line-height: 1.5;
}

.pt .sk-more__note {
	margin-top: 10px;
}

.sk-table-wrap {
	overflow-x: auto;
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	background: #fff;
}

.sk-table {
	width: 100%;
	min-width: 520px;
	border-collapse: collapse;
	font-size: 1.4rem;
	line-height: 1.6;
}

.sk-table :is(th, td) {
	padding: 10px 16px;
	border-bottom: 1px solid var(--c-line);
	text-align: left;
	vertical-align: top;
}

.sk-table thead th {
	background: var(--c-tint);
	color: var(--c-ink-2);
	font-size: 1.25rem;
	font-weight: 700;
	white-space: nowrap;
}

.sk-table tbody th {
	font-weight: 700;
	white-space: nowrap;
}

.sk-table tbody tr:last-child :is(th, td) {
	border-bottom: 0;
}

.sk-table--airlines {
	min-width: 760px;
}

.sk-table--airlines tbody th {
	white-space: normal;
	width: 12em;
}

.sk-table__src {
	display: block;
	margin-top: 2px;
	color: var(--c-blue-ink);
	font-size: 1.15rem;
	font-weight: 500;
}
