/* ==========================================================================
   v2 ticket — リフト券・レンタル（page-winter-ticket.php）
   料金計算フォーム: lib/js/ticket.js  ブレークポイント: 768px
   ========================================================================== */
.v2-ticket-page { --tk-line: #dfe5ec; --tk-card: #fff; }
.v2-ticket-page button { font-family: inherit; }

/* ---- シミュレーター ---- */
.v2-tk-plan { margin-top: 120px; padding: 0 20px; }
.v2-tk-plan__panel { max-width: 1200px; margin: 0 auto; padding: 72px 48px 48px; border-radius: 24px; background: #edf1f8; }
.v2-tk-plan .v2-heading--sm { font-size: 28px; }
.v2-tk-sim { margin-top: 40px; }
.v2-tk-sim__loading { padding: 40px 0; text-align: center; font-size: 14px; }

.v2-tk-grid { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.v2-tk-main { display: grid; gap: 24px; min-width: 0; }
.v2-tk-card { padding: 40px 48px; border-radius: 8px; background: var(--tk-card); }
.v2-tk-card__title { margin-bottom: 24px; font-family: var(--v2-serif); font-size: 22px; font-weight: 500; letter-spacing: .08em; line-height: 1.5; }
.v2-tk-card__title i { margin-right: 6px; font-style: normal; color: var(--v2-blue); font-size: 24px; }

/* チップ */
.v2-tk-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.v2-tk-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border: 1px solid #c9d1dc; border-radius: 22px; background: #fff; color: #5d6877; font-size: 15px; line-height: 1.3; letter-spacing: .04em; cursor: pointer; transition: background .15s, color .15s; }
.v2-tk-chip small { font-family: var(--v2-en); font-size: 12px; opacity: .75; }
.v2-tk-chip.is-on { background: var(--v2-blue); border-color: var(--v2-blue); color: #fff; }
.v2-tk-chip--sq { border-radius: 2px; }
.v2-tk-chip--check { border-radius: 2px; min-height: 40px; }
.v2-tk-chip--check::before { content: ""; width: 13px; height: 13px; border: 1px solid currentColor; border-radius: 2px; background: center / 100% no-repeat; }
.v2-tk-chip--check.is-on::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7l3 3 5-6' fill='none' stroke='%23fff' stroke-width='1.6'/%3E%3C/svg%3E"); }
.v2-tk-chip--round { padding: 0 20px; }
.v2-ticket-page button:focus-visible { outline: 2px solid var(--v2-coral); outline-offset: 2px; }

/* カレンダー */
.v2-tk-cal { box-sizing: border-box; max-width: 660px; margin: 0 auto; padding: 32px; border: 1px solid var(--tk-line); border-radius: 24px; }
.v2-tk-cal__head { display: flex; align-items: center; justify-content: space-between; }
.v2-tk-cal__title { font-family: var(--v2-en); font-size: 22px; letter-spacing: .1em; }
.v2-tk-cal__nav { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--tk-line); border-radius: 50%; background: #fff; cursor: pointer; }
.v2-tk-cal__nav:disabled { opacity: .3; cursor: default; }
.v2-tk-cal__nav i { width: 8px; height: 8px; border-top: 1.5px solid var(--v2-blue); border-right: 1.5px solid var(--v2-blue); }
.v2-tk-cal__nav i.is-next { transform: translateX(-2px) rotate(45deg); }
.v2-tk-cal__nav i.is-prev { transform: translateX(2px) rotate(-135deg); }
.v2-tk-cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-top: 24px; text-align: center; }
.v2-tk-cal__dow { font-size: 12px; color: #6b7686; line-height: 2; }
.v2-tk-cal__day { min-width: 0; padding: 0; aspect-ratio: 1; border: 1px solid var(--tk-line); border-radius: 6px; background: #fff; color: #4a5565; font-family: var(--v2-en); font-size: 16px; cursor: pointer; }
.v2-tk-cal__day:disabled { background: #f2f4f6; color: #b6bdc7; cursor: default; }
.v2-tk-cal .is-sat { color: var(--v2-blue); }
.v2-tk-cal .is-sun { color: #e8336d; }
.v2-tk-cal__day.is-on { background: var(--v2-blue); border-color: var(--v2-blue); color: #fff; }

/* メンバー */
.v2-tk-member { margin-bottom: 16px; border: 1px solid var(--tk-line); border-radius: 8px; }
.v2-tk-member__head { display: flex; align-items: center; width: 100%; padding: 22px 24px; border: 0; background: none; font-size: 16px; letter-spacing: .06em; cursor: pointer; text-align: left; }
.v2-tk-member__head > span:first-child { flex: 1; }
.v2-tk-member__sum { font-family: var(--v2-en); font-size: 20px; }
.v2-tk-member__sum small, .v2-tk-summary small, .v2-tk-break small, .v2-tk-bar small, .v2-tk-modal small { font-size: .6em; }
.v2-tk-member__head i { width: 8px; height: 8px; margin: 0 4px 4px 16px; border-right: 1.5px solid var(--v2-blue); border-bottom: 1.5px solid var(--v2-blue); transform: rotate(45deg); }
.v2-tk-member.is-open .v2-tk-member__head i { margin-bottom: -2px; transform: rotate(-135deg); }
.v2-tk-member__body { margin: 0 24px; border-top: 1px solid var(--tk-line); }
.v2-tk-field { padding: 24px 0; border-bottom: 1px solid var(--tk-line); }
.v2-tk-field__title { margin-bottom: 14px; font-family: var(--v2-serif); font-size: 17px; letter-spacing: .06em; line-height: 1.5; }
.v2-tk-field__title small { margin-left: 8px; font-family: var(--v2-sans); font-size: 12px; letter-spacing: .04em; }
.v2-tk-field__sub { margin: 18px 0 8px; font-size: 12px; font-weight: 500; }
.v2-tk-field .v2-tk-chips + .v2-tk-chips { margin-top: 8px; }
.v2-tk-info { display: inline-block; margin-top: 12px; padding: 8px 16px; background: #f3f8fe; color: var(--v2-blue); font-size: 13px; line-height: 1.7; }
.v2-tk-field > .v2-tk-info:first-of-type { margin-top: 0; }
.v2-tk-cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.v2-tk-cat { display: grid; place-items: center; gap: 2px; min-height: 72px; padding: 6px; border: 1px solid #c9d1dc; border-radius: 2px; background: #fff; color: #5d6877; font-size: 17px; cursor: pointer; }
.v2-tk-cat small { font-size: 11px; letter-spacing: 0; line-height: 1.4; }
.v2-tk-cat.is-on { background: var(--v2-blue); border-color: var(--v2-blue); color: #fff; }
.v2-tk-member__foot { padding: 16px 0 20px; text-align: right; }
.v2-tk-remove { padding: 0; border: 0; background: none; color: var(--v2-blue); font-size: 13px; cursor: pointer; }
.v2-tk-remove:disabled { opacity: .35; cursor: default; }
.v2-tk-remove::before { content: ""; display: inline-block; width: 11px; height: 12px; margin-right: 6px; border: 1.5px solid currentColor; border-top-width: 3px; border-radius: 0 0 2px 2px; vertical-align: -1px; }
.v2-tk-add { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 60px; border: 1px dashed var(--v2-blue); border-radius: 4px; background: #fff; color: var(--v2-blue); font-size: 15px; letter-spacing: .06em; cursor: pointer; }
.v2-tk-add:disabled { opacity: .4; cursor: default; }
.v2-tk-add i { position: relative; width: 22px; height: 22px; border: 1.5px solid currentColor; border-radius: 50%; }
.v2-tk-add i::before, .v2-tk-add i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.v2-tk-add i::after { transform: translate(-50%, -50%) rotate(90deg); }

/* 合計 */
.v2-tk-summary { position: sticky; top: 170px; overflow: hidden; border-radius: 4px; background: #fff; }
.v2-tk-summary__total { padding: 28px 16px; background: var(--v2-blue); color: #fff; font-size: 14px; text-align: center; }
.v2-tk-summary__total b { margin-left: 6px; font-family: var(--v2-en); font-size: 40px; font-weight: 500; letter-spacing: .04em; }
.v2-tk-summary__body { padding: 20px 24px 28px; }
.v2-tk-break__title { font-size: 14px; }
.v2-tk-break li { display: flex; align-items: baseline; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--tk-line); font-size: 15px; }
.v2-tk-break b { font-family: var(--v2-en); font-size: 18px; font-weight: 400; }
.v2-tk-cta { display: flex; align-items: center; justify-content: center; position: relative; min-height: 56px; margin-top: 28px; border-radius: 28px; background: var(--v2-coral); color: #fff !important; font-size: 16px; font-weight: 500; letter-spacing: .06em; transition: opacity .2s; }
.v2-tk-cta::after { content: ""; position: absolute; right: 24px; top: 50%; width: 9px; height: 9px; border-top: 2px solid #fff; border-right: 2px solid #fff; transform: translateY(-50%) rotate(45deg); }
.v2-tk-cta:hover { opacity: .85; }
.v2-tk-note { margin-top: 12px; font-size: 12px; line-height: 1.7; }

/* SP: 下部バー＋内訳モーダル */
.v2-tk-bar, .v2-tk-modal { display: none; }
/* 内訳モーダル（PC・SP共通） */
.v2-tk-modal.is-open { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(30, 40, 55, .6); }
.v2-tk-modal__panel { position: relative; width: 100%; max-height: 100%; overflow: auto; padding: 56px 24px 28px; border-radius: 8px; background: #fff; }
.v2-tk-modal__close { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; }
.v2-tk-modal__close::before, .v2-tk-modal__close::after { content: ""; position: absolute; left: 8px; top: 19px; width: 24px; height: 2px; background: var(--v2-blue); transform: rotate(45deg); }
.v2-tk-modal__close::after { transform: rotate(-45deg); }
.v2-tk-modal__total { margin-top: 16px; text-align: right; font-size: 14px; }
.v2-tk-modal__total b { font-family: var(--v2-en); font-size: 28px; font-weight: 500; }
.v2-tk-modal__panel { max-width: 480px; }
button.v2-tk-cta { width: 100%; border: 0; cursor: pointer; font-family: inherit; }


/* ---- 料金表 ---- */
.v2-tk-price { padding-top: 120px; }
.v2-tk-table { margin-top: 40px; }
.v2-tk-table__row { display: grid; grid-template-columns: 300px repeat(3, 1fr) 1fr; align-items: center; margin-bottom: 12px; padding: 0 0 0 20px; border-radius: 4px; background: var(--v2-gray); }
.v2-tk-table__row:nth-child(odd):not(.v2-tk-table__row--head) { background: #edf1f8; }
.v2-tk-table__row > span { padding: 22px 8px; text-align: center; font-family: var(--v2-en); font-size: 22px; letter-spacing: .04em; line-height: 1.3; }
.v2-tk-table__row > span + span { border-left: 1px solid #d4dae3; background: none; }
.v2-tk-table__row--head { background: none !important; }
.v2-tk-table__row--head > span { padding: 0 8px; border: 0 !important; color: var(--v2-blue); font-family: var(--v2-sans); font-size: 14px; }
.v2-tk-table__row .v2-tk-table__name { padding-left: 0; border: 0; text-align: left; font-family: var(--v2-serif); font-size: 18px; }
.v2-tk-table__row small { font-size: 12px; }
.v2-tk-table__row .v2-tk-table__remark { font-family: var(--v2-sans); font-size: 14px; }
.v2-tk-legend { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 16px; margin-top: 12px; font-size: 12px; }
.v2-tk-legend b { margin-right: 6px; padding: 0 4px; background: var(--v2-pale-blue); color: var(--v2-blue); font-weight: 400; }

/* ---- 含まれるもの ---- */
.v2-tk-included { margin-top: 120px; padding: 100px 0; background: var(--v2-gray); }
.v2-tk-included__inner { display: grid; grid-template-columns: 1fr 700px; gap: 60px; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.v2-tk-included .v2-text { margin-top: 32px; }
.v2-tk-included__card { display: flex; align-items: center; gap: 40px; padding: 48px 40px; border-radius: 8px; background: #fff; }
.v2-tk-included__card img { flex: none; width: 160px; }
.v2-tk-included__card h3 { color: var(--v2-blue); font-family: var(--v2-serif); font-size: 22px; letter-spacing: .08em; }
.v2-tk-included__check { margin: 12px 0; }
.v2-tk-included__check::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 10px; border: 1px solid var(--v2-blue); border-radius: 2px; vertical-align: -1px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7l3 3 5-6' fill='none' stroke='%230c62b9' stroke-width='1.4'/%3E%3C/svg%3E") center / 100% no-repeat; }

/* ---- 前売り ---- */
.v2-tk-steps { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; padding: 24px 0; border-radius: 4px; background: var(--v2-gradient); color: #fff; }
.v2-tk-steps li { padding: 0 48px; font-family: var(--v2-serif); font-size: 16px; line-height: 1.9; letter-spacing: .06em; }
.v2-tk-steps li + li { border-left: 1px solid #fff; }
.v2-tk-steps li span { display: block; margin-bottom: 8px; font-size: 32px; line-height: 1.4; }

/* ---- レンタル ---- */
.v2-tk-rental { margin-top: 120px; padding: 120px 0; background: #edf1f8; }
.v2-tk-rental__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 40px; margin-top: 40px; }
.v2-tk-rental__list li { padding: 24px; border-radius: 4px; background: #fff; }
.v2-tk-rental__list h3 { font-family: var(--v2-serif); font-size: 22px; letter-spacing: .08em; line-height: 1.5; }
.v2-tk-rental__sub { margin-top: 4px; color: var(--v2-blue); font-size: 14px; }
.v2-tk-rental__list dl { display: flex; margin-top: 16px; padding-top: 12px; border-top: 1px solid #d4dae3; }
.v2-tk-rental__list dl > div { flex: 1; }
.v2-tk-rental__list dl > div + div { padding-left: 24px; border-left: 1px solid #d4dae3; }
.v2-tk-rental__list dt { font-size: 12px; line-height: 1.8; }
.v2-tk-rental__list dd { font-family: var(--v2-en); font-size: 22px; letter-spacing: .04em; }
.v2-tk-rental__list dd small { font-size: 12px; }

/* ---- 持参するもの ---- */
.v2-tk-bring { display: grid; grid-template-columns: 740px 1fr; gap: 96px; align-items: center; margin-top: 120px; }
.v2-tk-bring__img { border-radius: 0 24px 24px 0; overflow: hidden; }
.v2-tk-bring__img .v2-ph, .v2-tk-bring__img img { width: 100%; aspect-ratio: 740 / 445; object-fit: cover; }
.v2-tk-bring__body { max-width: 520px; padding-right: 20px; }
.v2-tk-bring__body .v2-text { margin-top: 32px; }
.v2-tk-bring__box { margin-top: 32px; padding: 24px; border-radius: 8px; background: var(--v2-gray); }
.v2-tk-bring__title { color: var(--v2-blue); font-family: var(--v2-serif); text-align: center; letter-spacing: .08em; }
.v2-tk-bring__box ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.v2-tk-bring__box li { display: grid; justify-items: center; gap: 6px; padding: 16px 8px; border-radius: 4px; background: #fff; color: var(--v2-blue); font-size: 11px; font-weight: 500; line-height: 1.4; }
.v2-tk-bring__box > p:last-child { margin-top: 16px; font-size: 13px; line-height: 1.9; }

/* ---- その他のチケット ---- */
.v2-tk-other { margin-top: 120px; padding: 120px 20px; background: var(--v2-gradient); }
.v2-tk-other .v2-text { max-width: 700px; margin: 24px auto 0; }
.v2-tk-other .v2-btn { margin-top: 40px; }

/* ---- レスポンシブ ---- */
@media (max-width: 1100px) {
	.v2-tk-grid { grid-template-columns: 1fr 280px; gap: 24px; }
	.v2-tk-card { padding: 32px 24px; }
	.v2-tk-cats { grid-template-columns: repeat(3, 1fr); }
	.v2-tk-table__row { grid-template-columns: 220px repeat(3, 1fr) 1fr; }
	.v2-tk-table__row > span { font-size: 18px; }
	.v2-tk-included__inner { grid-template-columns: 1fr; }
	.v2-tk-bring { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 767px) {
	.v2-tk-plan { margin-top: 104px; padding: 0; }
	.v2-tk-plan__panel { padding: 64px 20px 120px; border-radius: 40px 40px 0 0; }
	.v2-tk-plan .v2-heading--sm { font-size: 24px; }
	.v2-tk-sim { margin-top: 24px; }
	.v2-tk-grid { display: block; }
	.v2-tk-card { padding: 20px; }
	.v2-tk-card__title { margin-bottom: 16px; font-size: 20px; }
	.v2-tk-card__title i { font-size: 22px; }
	.v2-tk-cal { padding: 16px 12px; border-radius: 16px; }
	.v2-tk-cal__grid { gap: 4px; }
	.v2-tk-member__head { padding: 18px 16px; }
	.v2-tk-member__body { margin: 0 16px; }
	.v2-tk-cats { grid-template-columns: repeat(2, 1fr); gap: 6px; }
	.v2-tk-cat { min-height: 60px; font-size: 16px; }
	.v2-tk-chip { min-height: 36px; font-size: 14px; padding: 0 12px; }
	.v2-tk-summary { display: none; }
	.v2-tk-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: var(--v2-blue); color: #fff; box-shadow: 0 -4px 16px rgba(0, 0, 0, .15); }
	.v2-tk-bar b { font-family: var(--v2-en); font-size: 28px; font-weight: 500; }
	.v2-tk-bar button { min-height: 44px; padding: 0 20px; border: 0; border-radius: 22px; background: var(--v2-coral); color: #fff; font-size: 14px; font-weight: 500; cursor: pointer; }
	.v2-tk-price { padding-top: 72px; }
	.v2-tk-table__row { grid-template-columns: repeat(3, 1fr); padding: 12px 0; }
	.v2-tk-table__row--head { display: none; }
	.v2-tk-table__row > span { padding: 4px 8px; font-size: 18px; }
	.v2-tk-table__row > span::before { content: attr(data-th); display: block; color: var(--v2-blue); font-family: var(--v2-sans); font-size: 11px; }
	.v2-tk-table__row .v2-tk-table__name { grid-column: 1 / -1; padding: 0 16px 6px; font-size: 17px; }
	.v2-tk-table__row .v2-tk-table__remark { grid-column: 1 / -1; border: 0; padding: 4px 16px 0; text-align: left; font-size: 12px; }
	.v2-tk-table__row > span.v2-tk-table__name + span { border-left: 0; }
	.v2-tk-legend { justify-content: flex-start; }
	.v2-tk-included { margin-top: 72px; padding: 64px 0; }
	.v2-tk-included .v2-text { margin-top: 20px; }
	.v2-tk-included__card { flex-direction: column; align-items: flex-start; gap: 20px; padding: 28px 20px; }
	.v2-tk-steps { grid-template-columns: 1fr; padding: 8px 0; }
	.v2-tk-steps li { padding: 20px 24px; }
	.v2-tk-steps li + li { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .5); }
	.v2-tk-rental { margin-top: 72px; padding: 64px 0; }
	.v2-tk-rental__list { grid-template-columns: 1fr; gap: 12px; }
	.v2-tk-bring { grid-template-columns: 1fr; gap: 32px; margin-top: 72px; }
	.v2-tk-bring__img { border-radius: 0 16px 16px 0; margin-right: 20px; }
	.v2-tk-bring__body { padding: 0 20px; }
	.v2-tk-other { margin-top: 72px; padding: 64px 20px 140px; }
}
