/* TEEREX CONNECT U — 公開サイト（connect.css のトークンを使う）v2 2026-10-27 */
.st { background: var(--paper); font-size: 16px; }
.st-wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.st-main { min-height: 50vh; }

/* ヘッダ */
.st-head { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: 1px solid var(--line); }
.st-head__in { display: flex; align-items: center; gap: 24px; height: 60px; }
.st-head__brand { display: inline-flex; text-decoration: none; margin-right: auto; }
.st-head__brand .cn-lockup__mark { height: 22px; }
.st-head__brand .cn-lockup__word { height: 12px; }
.st-head__brand .cn-lockup__div { height: 18px; }
.st-nav { display: none; gap: 26px; }
.st-nav a { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 700; padding: 6px 0; border-bottom: 2px solid transparent; }
.st-nav a:hover, .st-nav a[aria-current=page] { border-bottom-color: var(--o); }
.st-head__cta { min-height: 38px; }
@media (min-width: 880px) { .st-nav { display: flex; } }
@media (max-width: 400px) { .st-head__brand .cn-lockup__mark { height: 18px; } .st-head__brand .cn-lockup__word { height: 10px; } .st-head__in { gap: 12px; } .st-head__cta { padding: 0 10px; font-size: 12.5px; } }

/* 共通 */
.st-sec { padding: 72px 0; border-top: 1px solid var(--line); }
.st-sec--gray { background: var(--canvas); border-top: 0; }
.st-h2 { font-size: 26px; line-height: 1.45; margin: 0 0 18px; letter-spacing: .01em; }
.st-lead { font-size: 16px; line-height: 1.9; color: var(--ink-2); max-width: 40em; margin: 0 0 28px; }
.st-link { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--o); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.st-btn-lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.st-sec__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.st-sec__head .st-h2 { margin: 0; }
@media (min-width: 880px) { .st-sec { padding: 104px 0; } .st-h2 { font-size: 36px; } .st-lead { font-size: 17px; } }

/* 端末の枠 */
.st-phone { width: 270px; flex: none; border: 9px solid var(--ink); border-radius: 34px; overflow: hidden; background: var(--ink); line-height: 0; }
.st-phone img { width: 100%; height: auto; display: block; border-radius: 25px; }

/* ヒーロー */
.st-hero { background: var(--o); color: var(--ink); overflow: hidden; }
.st-hero__grid { display: grid; gap: 36px; padding-top: 44px; }
.st-hero__title { font-size: clamp(36px, 9.4vw, 66px); line-height: 1.24; letter-spacing: -.005em; margin: 0 0 20px; font-weight: 700; }
.st-hero__lead { font-size: 16px; line-height: 1.85; max-width: 30em; margin: 0 0 26px; }
.st-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.st-hero__note { font-size: 12.5px; margin: 16px 0 0; color: rgba(26,23,20,.75); }
.st-hero__phone { display: flex; justify-content: center; align-items: flex-start; height: 380px; overflow: hidden; }
.st-hero__phone .st-phone { width: 290px; border-bottom: 0; border-radius: 36px 36px 0 0; }
.st-hero__phone .st-phone img { border-radius: 27px 27px 0 0; }
@media (min-width: 880px) {
  .st-hero__grid { grid-template-columns: 1.15fr .85fr; align-items: end; padding-top: 72px; gap: 40px; }
  .st-hero__copy { padding-bottom: 84px; }
  .st-hero__phone { height: 560px; justify-content: flex-end; }
  .st-hero__phone .st-phone { width: 330px; margin-right: 20px; }
}

/* 4 席がうまる（ページを開いたときに 1 回だけ） */
.st-seats { display: flex; align-items: center; gap: 8px; margin: 0 0 28px; }
.st-seats__s { position: relative; width: 46px; height: 46px; border-radius: var(--r-sm); border: 2px solid var(--ink); background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 17px; }
.st-seats__label { margin-left: 10px; font-family: var(--f-num); font-stretch: 80%; font-weight: 700; font-size: 22px; line-height: 1; display: grid; }
.st-seats__label > span { grid-area: 1 / 1; white-space: nowrap; }
.st-seats__label small { font-family: var(--f-ja); font-size: 13px; color: var(--ink); margin-left: 6px; font-stretch: normal; }
.st-seats__wait { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .st-seats__s { animation: st-seat .32s cubic-bezier(.2,.8,.2,1) both; }
  .st-seats__s:nth-child(1) { animation-delay: .5s; } .st-seats__s:nth-child(2) { animation-delay: 1s; } .st-seats__s:nth-child(3) { animation-delay: 1.5s; } .st-seats__s:nth-child(4) { animation-delay: 2s; }
  .st-seats__wait { animation: st-out .2s linear 2.3s both reverse; }
  .st-seats__done { animation: st-out .3s linear 2.35s both; }
  @keyframes st-seat { from { background: transparent; color: transparent; border-style: dashed; transform: scale(.86); } to { background: var(--ink); color: #fff; border-style: solid; transform: none; } }
  @keyframes st-out { from { opacity: 0; } to { opacity: 1; } }
}

/* CONNECT U とは（スコアカードの表） */
.st-about { display: grid; gap: 34px; }
.st-score { display: grid; grid-template-columns: repeat(2, 1fr); border: 1.5px solid var(--ink); border-radius: var(--r); overflow: hidden; margin: 0; }
.st-score > div { padding: 14px 16px 16px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.st-score > div:nth-child(2n) { border-right: 0; }
.st-score > div:nth-last-child(-n+2) { border-bottom: 0; }
.st-score dt { font-size: 12px; font-weight: 700; color: var(--muted); margin: 0 0 6px; }
.st-score dd { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.35; }
.st-score dd b { font-family: var(--f-num); font-stretch: 78%; font-size: 34px; letter-spacing: -.01em; line-height: 1; margin-right: 2px; }
.st-score dd small { font-weight: 400; font-size: 13px; }
@media (min-width: 880px) {
  .st-about { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
}

/* 使い方（5 ステップ） */
.st-flow { list-style: none; margin: 0; padding: 0 0 8px; display: grid; grid-auto-flow: column; grid-auto-columns: 74%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.st-flow li { scroll-snap-align: start; }
.st-flow .st-phone { width: 100%; border-width: 7px; border-radius: 26px; margin-bottom: 18px; }
.st-flow .st-phone img { border-radius: 19px; }
.st-flow__n { display: flex; align-items: center; gap: 10px; font-family: var(--f-num); font-stretch: 75%; font-weight: 700; font-size: 15px; color: var(--ink); margin-bottom: 6px; }
.st-flow__n::after { content: ""; flex: 1; height: 2px; background: var(--ink); }
.st-flow li:last-child .st-flow__n::after { background: var(--o); }
.st-flow h3 { font-size: 18px; margin: 0 0 6px; }
.st-flow p { font-size: 14px; color: var(--ink-2); line-height: 1.75; margin: 0; }
@media (min-width: 880px) { .st-flow { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); overflow: visible; gap: 22px; } }

/* LINE グループと相談 */
.st-split { display: grid; gap: 40px; }
.st-points { margin: 0; border-top: 1px solid var(--line); }
.st-points > div { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 36px 1fr; gap: 4px 14px; }
.st-points dt { grid-column: 2; font-weight: 700; font-size: 16px; }
.st-points dd { grid-column: 2; margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.75; }
.st-points svg { grid-row: 1 / span 2; width: 28px; height: 28px; color: var(--o-deep); margin-top: 2px; }
.st-pair { display: flex; justify-content: center; align-items: flex-start; gap: 0; }
.st-pair .st-phone { width: 230px; }
.st-pair .st-phone + .st-phone { margin-left: -40px; margin-top: 70px; }
@media (min-width: 880px) { .st-split { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; } .st-pair .st-phone { width: 260px; } }
@media (max-width: 420px) { .st-pair .st-phone { width: 190px; } .st-pair .st-phone + .st-phone { margin-left: -36px; } }

/* ラウンドのあと */
.st-after { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1.5px solid var(--ink); margin: 0; padding: 0; list-style: none; }
.st-after li { padding: 22px 18px 24px 0; border-bottom: 1px solid var(--line); }
.st-after li:nth-child(odd) { padding-right: 18px; border-right: 1px solid var(--line); }
.st-after li:nth-child(even) { padding-left: 18px; }
.st-after svg { width: 30px; height: 30px; color: var(--ink); margin-bottom: 12px; display: block; }
.st-after h3 { font-size: 17px; margin: 0 0 6px; }
.st-after p { font-size: 13.5px; color: var(--ink-2); margin: 0; line-height: 1.75; }
@media (min-width: 880px) { .st-after { grid-template-columns: repeat(4, 1fr); } .st-after li, .st-after li:nth-child(odd), .st-after li:nth-child(even) { padding: 26px 24px 30px; border-right: 1px solid var(--line); } .st-after li:first-child { padding-left: 0; } .st-after li:last-child { border-right: 0; } }

/* 料金とルール */
.st-price { display: grid; gap: 36px; }
.st-price__big { border: 1.5px solid var(--ink); border-radius: var(--r); padding: 22px 22px 24px; background: var(--paper); }
.st-price__big p { margin: 0; font-size: 14px; color: var(--ink-2); }
.st-price__yen { font-family: var(--f-num); font-stretch: 74%; font-weight: 700; font-size: 64px; line-height: 1; letter-spacing: -.015em; margin: 10px 0 6px; font-variant-numeric: tabular-nums; }
.st-price__yen small { font-family: var(--f-ja); font-size: 16px; font-weight: 700; color: var(--ink); margin-left: 6px; letter-spacing: 0; }
.st-price__row { display: flex; gap: 28px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.st-price__row b { display: block; font-family: var(--f-num); font-stretch: 80%; font-size: 26px; line-height: 1.1; }
.st-price__row span { font-size: 12px; color: var(--muted); font-weight: 700; }
.st-rules { margin: 0; }
.st-rules > div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.st-rules > div:first-child { border-top: 1.5px solid var(--ink); }
.st-rules dt { font-weight: 700; font-size: 14px; }
.st-rules dd { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.75; }
@media (min-width: 880px) { .st-price { grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; } .st-price__yen { font-size: 80px; } }

/* 対象コース */
.st-courses { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.st-courses li { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.st-courses__name { font-weight: 700; font-size: 15.5px; }
.st-courses__area { display: block; font-size: 12px; color: var(--muted); font-weight: 400; margin-top: 2px; }
.st-courses__yen { display: flex; gap: 18px; font-family: var(--f-num); font-stretch: 82%; font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; text-align: right; }
.st-courses__yen span small { display: block; font-family: var(--f-ja); font-size: 10.5px; color: var(--muted); font-weight: 700; font-stretch: normal; }
.st-courses--table { border-top: 0; }
@media (min-width: 880px) { .st-courses { columns: 2; column-gap: 48px; border-top: 0; } .st-courses li { break-inside: avoid; } }

/* よくある質問 */
.st-faq { border-top: 1.5px solid var(--ink); }
.st-faq details { border-bottom: 1px solid var(--line); }
.st-faq summary { padding: 18px 0; font-weight: 700; font-size: 16px; justify-content: space-between; gap: 16px; }
.st-faq summary::before { content: "Q"; font-family: var(--f-num); font-weight: 700; color: var(--o-deep); margin-right: 12px; font-size: 18px; }
.st-faq summary span { flex: 1; }
.st-faq details p { margin: 0 0 20px; padding-left: 26px; font-size: 14.5px; color: var(--ink-2); line-height: 1.85; max-width: 46em; }

/* 最後の案内 */
.st-cta { background: var(--ink); color: #fff; padding: 72px 0; }
.st-cta__in { display: grid; gap: 24px; align-items: center; }
.st-cta h2 { font-size: clamp(28px, 6vw, 46px); line-height: 1.3; margin: 0; }
.st-cta p { color: #CFCAC2; margin: 10px 0 0; font-size: 14px; }
.st-cta .cn-btn { justify-self: start; }
@media (min-width: 880px) { .st-cta__in { grid-template-columns: 1fr auto; } .st-cta { padding: 96px 0; } }

/* フッタ */
.st-foot { background: var(--ink); color: #CFCAC2; border-top: 1px solid #34302B; padding: 40px 0 34px; font-size: 13px; }
.st-foot__top { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-bottom: 22px; }
.st-foot__top p { margin: 0; }
.st-foot__brand { display: inline-flex; text-decoration: none; }
.st-foot__brand .cn-lockup__mark { height: 24px; } .st-foot__brand .cn-lockup__word { height: 13px; } .st-foot__brand .cn-lockup__div { height: 20px; background: #4A4640; }
.st-foot__nav { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 18px 0; border-top: 1px solid #34302B; border-bottom: 1px solid #34302B; }
.st-foot__nav a { color: #fff; text-decoration: none; font-weight: 700; }
.st-foot__nav a:hover { color: var(--o); }
.st-foot__copy { margin: 18px 0 0; font-size: 12px; color: #9C968D; }

/* 下層ページ（対象コース・よくある質問・規約など） */
.st-doc { max-width: 820px; padding-top: 40px; padding-bottom: 80px; }
.st-doc > h1, .st-doc .st-title { font-size: 28px; line-height: 1.4; margin: 0 0 8px; padding-bottom: 16px; border-bottom: 1.5px solid var(--ink); }
.st-doc > h1 + p, .st-doc .st-title + p { margin-top: 16px; }
.st-doc h2 { font-size: 20px; margin: 36px 0 10px; }
.st-doc h3 { font-size: 16px; margin: 30px 0 8px; padding-left: 12px; border-left: 3px solid var(--o); line-height: 1.5; }
.st-doc p, .st-doc li { font-size: 15px; line-height: 1.9; color: var(--ink-2); }
.st-doc ul, .st-doc ol { padding-left: 1.4em; }
.st-doc .cn-table { margin-top: 16px; }
.st-doc .cn-table th { width: 11em; color: var(--ink); font-size: 13.5px; }
.st-doc .cn-table td { font-size: 14.5px; color: var(--ink-2); }
@media (min-width: 880px) { .st-doc { padding-top: 64px; } .st-doc > h1, .st-doc .st-title { font-size: 34px; } }
.st-sec__head p { margin: 0; }
.st-doc .st-courses { padding-left: 0; } .st-doc .st-courses li { color: var(--ink); }
