/* ===========================================================
   Liaison — Entry / fees page (会費・入会案内)
   Reuses shared system + schedule-table tonality.
   =========================================================== */

.fees { padding: 96px var(--gutter) 0; }
.fees-inner { max-width: var(--container); margin: 0 auto; }
.fees-assure {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 44px;
}
.fees-assure-arrow {
  flex-shrink: 0;
  width: 34px;
  height: auto;
}
.fees-assure p {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: var(--ink);
}
.fees h2.sec-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 32px;
}
.fees-block + .fees-block { margin-top: 88px; }

/* plain-text fee table cells (reuse schedule-table look) */
.fee-table thead th {
  font-family: var(--jpsans);
  font-size: 13px;
  letter-spacing: 0.06em;
}
.fee-table tbody td {
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.04em;
  color: var(--ink);
  vertical-align: middle;
}
.fee-note {
  margin-top: 16px;
  font-family: var(--jpsans);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--accent);
  font-weight: 600;
}

/* ---------- Team-ware price table ---------- */
.ware-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: var(--paper);
  font-family: var(--jpsans);
}
.ware-table thead th {
  background: var(--accent);
  color: var(--paper);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  padding: 14px 18px;
  text-align: right;
  border-right: 1px solid rgba(244,241,235,0.18);
}
.ware-table thead th:first-child { text-align: left; }
.ware-table thead th:last-child { border-right: 0; }
.ware-table tbody td {
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--ink);
  padding: 13px 18px;
  text-align: right;
  border-bottom: 1px dotted var(--line);
  font-variant-numeric: tabular-nums;
}
.ware-table tbody td:first-child { text-align: left; color: var(--ink-2); }
.ware-table tbody tr.total td {
  background: var(--accent);
  color: var(--paper);
  font-weight: 600;
  font-size: 15px;
  border-bottom: 0;
}
.ware-note {
  margin-top: 16px;
  font-family: var(--jpsans);
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--ink-3);
}

/* ---------- Join flow ---------- */
.flow { padding: 110px var(--gutter); }
.flow-inner { max-width: var(--container); margin: 0 auto; }
.flow h2.sec-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 48px;
}
.flow-grid {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.flow-card {
  flex: 1;
  background: var(--bg-2);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
}
.flow-arrow-mid {
  flex-shrink: 0;
  width: 34px;
  height: auto;
  align-self: center;
  margin: 0 20px;
  transform: rotate(0deg);
}
.flow-card .fc-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 22px;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 18px;
}
.flow-card .fc-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.flow-card .fc-text {
  font-family: var(--jpsans);
  font-size: 14px;
  line-height: 1.95;
  color: var(--ink-2);
}
.flow-card .btn-pill { align-self: flex-start; margin-top: 24px; }
.fc-fee {
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fc-fee-label {
  font-family: var(--jpsans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.fc-fee-rows { display: flex; flex-direction: column; gap: 4px; }
.fc-fee-rows > div {
  font-family: var(--serif);
  color: var(--ink);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.fc-fee-rows b { font-size: 20px; font-weight: 600; }
.fc-fee-rows span { font-family: var(--jpsans); font-size: 13px; color: var(--ink-3); margin-left: 4px; }

/* ---------- School banner (fees variant) ---------- */
.school2 { padding: 0 var(--gutter) 120px; }
.school2 + .cta-band { margin-top: 0; }
.school2-inner {
  max-width: var(--container);
  margin: 0 auto;
  background: var(--bg-2);
  padding: 64px;
}
.school2 h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(24px, 2.8vw, 34px);
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 36px;
}
.school2-rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.school2-cell {
  background: var(--paper);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.school2-cell .s2-label {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.school2-cell .s2-price {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.school2-cell .s2-price .s2-amount b { font-size: 40px; letter-spacing: 0.02em; }
.school2-cell .s2-price .s2-amount span { font-size: 18px; }
.school2-cell .s2-price .s2-free {
  font-family: var(--jpsans);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-top: 2px;
}
.school2-cell .s2-note {
  font-family: var(--jpsans);
  font-size: 12px;
  color: var(--ink-3);
  text-align: right;
  margin-bottom: 10px;
}
.school2-cell .s2-action { text-align: right; }

@media (max-width: 1024px) {
  .flow-grid { flex-direction: column; max-width: 520px; }
  .flow-arrow-mid { transform: rotate(90deg); margin: 16px 0; }
  .school2-rows { grid-template-columns: 1fr; }
  .school2-inner { padding: 40px 28px; }
}

/* ---------- Phone (<= 680px) ---------- */
@media (max-width: 680px) {
  .fees { padding: 64px var(--gutter) 0; }
  .fees-assure { gap: 14px; margin-bottom: 34px; align-items: flex-start; }
  .fees-assure-arrow { width: 26px; margin-top: 4px; }
  .fees-assure p { font-size: 16px; line-height: 1.7; }
  .fees h2.sec-title { margin-bottom: 24px; }
  .fees-block + .fees-block { margin-top: 60px; }
  .flow { padding: 72px var(--gutter); }
  .flow h2.sec-title { margin-bottom: 32px; }
  .flow-card { padding: 30px 26px; }
  .flow-card .fc-num { font-size: 20px; margin-bottom: 14px; }
  .flow-card .fc-title { font-size: 20px; margin-bottom: 14px; padding-bottom: 14px; }
  .flow-arrow-mid { width: 26px; margin: 12px 0; }
  .school2 { padding: 0 var(--gutter) 72px; }
  .school2-inner { padding: 32px 22px; }
  .school2 h2 { margin-bottom: 26px; }
  .school2-cell { flex-direction: column; align-items: flex-start; gap: 14px; padding: 26px 24px; }
  .school2-cell .s2-price { align-items: flex-start; }
  .school2-cell .s2-price .s2-amount b { font-size: 34px; }
  .school2-cell .s2-note { text-align: left; }
  .school2-cell .s2-action { text-align: left; width: 100%; }
}
