designpaca/apps/site/public/work/griddle-club/styles/franchise.css
Yun Chan 8e3cdb0d3b
Some checks are pending
ci / build (push) Waiting to run
feat(site): rework 19 marketing showcases for composition diversity
Measured convergence before: split hero 13/19, top-bar nav 19/19,
one-line notice footer 14/19, body Pretendard 17/21, 10 similarity
pairs above 0.78. Each showcase got a pre-assigned hero family, nav
form, footer form, type pair, background, accent hue, radius, motion
grammar and material from outputs/rework-2026-10-06/plan.md; direction
cards and the chosen reason are recorded in every design.md.

After: 0 similarity warnings, 19 distinct display faces, 7 hero
families, 5 nav forms, 5 footer forms, no scroll reveals, 5 showcases
with SVG filter materials. Example contact values replace bracket
placeholders under the existing fictional-brand notices. Thumbnails,
OG images, card copy and three e2e assertions updated; dead CSS in
dure-enrollment and hannam-jari removed; similarity.mjs learns the new
font families.
2026-10-06 16:55:50 +09:00

978 lines
17 KiB
CSS

/* 철판클럽 가맹 안내 — 공개 페이지와 같은 셸(상단 바·하단 행동 바·다열 푸터)과 토큰을 쓴다.
값은 전부 tokens.css. 색·radius 리터럴 없음. */
.franchise-page {
background: var(--bg);
}
/* ── 히어로: 표제 + 둥근 사진 타일(2차 페이지라 콜라주는 홈에만) ── */
.franchise-hero {
display: grid;
grid-template-columns: minmax(0, 0.56fr) minmax(0, 0.44fr);
gap: clamp(28px, 5vw, 72px);
align-items: center;
width: min(var(--wrap), calc(100% - (var(--gutter) * 2)));
margin-inline: auto;
padding-block: clamp(48px, 7vw, 104px);
}
.franchise-hero h1 {
font-size: var(--text-h1);
}
.franchise-hero-copy > p {
max-width: 30em;
margin-top: clamp(22px, 2.6vw, 34px);
color: var(--ink-soft);
font-size: var(--text-lg);
}
.franchise-hero .hero-actions {
display: grid;
grid-template-columns: auto auto;
justify-content: start;
align-items: stretch;
gap: 12px;
}
.franchise-truth {
max-width: 32em;
margin-top: clamp(28px, 4vw, 44px);
padding: 16px 20px;
border-radius: var(--radius);
background: var(--surface);
}
.franchise-truth strong {
font-size: var(--text-xs);
}
.franchise-truth p {
margin-top: 4px;
color: var(--ink-soft);
font-size: var(--text-xs);
}
.franchise-hero-media {
position: relative;
overflow: hidden;
aspect-ratio: 4 / 5;
border: 8px solid var(--surface);
border-radius: var(--radius);
background: var(--bg-deep);
box-shadow: var(--shadow-piece);
transform: rotate(2deg);
}
.franchise-hero-media img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: 45% 50%;
}
.franchise-hero-media figcaption {
position: absolute;
left: 14px;
bottom: 14px;
padding: 7px 14px;
border-radius: var(--radius-pill);
background: var(--surface);
color: var(--ink);
font-size: var(--text-xs);
font-weight: var(--weight-strong);
}
/* ── 원칙 세 줄 ── */
.fact-rail {
border-block: 1px solid var(--line);
background: var(--surface);
}
.fact-rail-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
}
.fact-rail p {
min-height: 84px;
display: flex;
align-items: center;
gap: 14px;
padding: 16px 24px;
border-right: 1px solid var(--line);
font-size: var(--text-sm);
font-weight: var(--weight-strong);
}
.fact-rail p:first-child {
padding-left: 0;
}
.fact-rail p:last-child {
border-right: 0;
}
.fact-rail span,
.fit-number {
flex: 0 0 auto;
width: 36px;
height: 36px;
display: grid;
place-items: center;
border-radius: 50%;
background: var(--blue);
color: var(--on-blue);
font-family: var(--font-display);
font-size: 14px;
font-variant-numeric: tabular-nums;
}
/* ── 운영 방식 ── */
.model-section {
background: var(--bg);
}
.flow-board {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 14px;
}
.flow-board article {
min-height: 300px;
display: flex;
flex-direction: column;
justify-content: flex-end;
padding: clamp(20px, 3vw, 30px);
border: 1px solid var(--line);
border-radius: var(--radius);
background: var(--surface);
}
.flow-board article:last-child {
border-color: var(--blue);
background: var(--blue);
color: var(--on-blue);
}
.flow-board article > span {
margin-bottom: auto;
font-family: var(--font-display);
font-size: 18px;
color: var(--blue);
font-variant-numeric: tabular-nums;
}
.flow-board article:last-child > span {
color: var(--on-blue-soft);
}
.flow-board h3 {
font-size: 26px;
}
.flow-board p {
margin-top: 8px;
color: var(--ink-soft);
font-size: var(--text-sm);
}
.flow-board article:last-child p {
color: var(--on-blue-soft);
}
.operator-fit {
display: grid;
grid-template-columns: 0.8fr 1.2fr;
gap: clamp(28px, 5vw, 70px);
margin-top: clamp(56px, 8vw, 100px);
padding-top: 40px;
border-top: 1px solid var(--line-strong);
}
.operator-fit h3 {
font-size: clamp(28px, 3.2vw, 40px);
}
.operator-fit ul {
margin: 0;
padding: 0;
list-style: none;
border-top: 1px solid var(--line);
}
.operator-fit li {
display: grid;
grid-template-columns: 130px 1fr;
gap: 20px;
padding: 18px 0;
border-bottom: 1px solid var(--line);
font-size: var(--text-sm);
}
.operator-fit span {
color: var(--ink-soft);
}
/* ── 상권과 점포 ── */
.site-fit-section {
background: var(--bg-deep);
}
.fit-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 14px;
}
.fit-grid article {
min-height: 280px;
padding: clamp(20px, 3vw, 30px);
border: 1px solid var(--line);
border-radius: var(--radius);
background: var(--surface);
}
.fit-grid .fit-main {
grid-column: span 2;
grid-row: span 2;
min-height: 560px;
display: flex;
flex-direction: column;
border-color: var(--ink);
background: var(--ink);
color: var(--on-ink);
}
.fit-grid h3 {
margin-top: 36px;
font-size: clamp(26px, 3vw, 40px);
}
.fit-grid article > p:not(.fit-number) {
margin-top: 12px;
color: var(--ink-soft);
font-size: var(--text-sm);
}
.fit-grid .fit-main > p:not(.fit-number) {
max-width: 28em;
color: var(--on-ink-soft);
font-size: var(--text-md);
}
.fit-main .fit-number {
background: var(--cheese);
color: var(--on-cheese);
}
.fit-main ul {
margin: auto 0 0;
padding: 22px 0 0;
border-top: 1px solid var(--on-ink-faint);
list-style: none;
}
.fit-main li {
padding: 7px 0;
color: var(--on-ink-soft);
font-size: var(--text-sm);
}
/* ── 개설 절차 ── */
.franchise-process {
background: var(--surface);
}
.franchise-timeline {
margin: 0;
padding: 0;
list-style: none;
border-top: 1px solid var(--ink);
}
.franchise-timeline li {
display: grid;
grid-template-columns: 4rem minmax(0, 1fr) minmax(9rem, auto);
align-items: center;
gap: 1.5rem;
min-height: 112px;
padding: 20px 0;
border-bottom: 1px solid var(--line);
}
.franchise-timeline li > span {
width: 40px;
height: 40px;
display: grid;
place-items: center;
border-radius: 50%;
background: var(--blue);
color: var(--on-blue);
font-family: var(--font-display);
font-size: 15px;
font-variant-numeric: tabular-nums;
}
.franchise-timeline h3 {
font-size: 25px;
}
.franchise-timeline p {
margin-top: 3px;
color: var(--ink-soft);
font-size: var(--text-sm);
}
.franchise-timeline small {
justify-self: end;
min-width: 8rem;
padding: 7px 12px;
border: 1px solid var(--line-strong);
border-radius: var(--radius-pill);
font-size: var(--text-xs);
font-weight: var(--weight-strong);
text-align: center;
}
/* ── 비용 항목: 먹 띠 ── */
.cost-section {
background: var(--ink);
color: var(--on-ink);
}
.cost-section :focus-visible {
outline-color: var(--cheese);
}
.cost-head {
display: grid;
grid-template-columns: 1.25fr 0.75fr;
align-items: end;
gap: clamp(24px, 4vw, 50px);
margin-bottom: clamp(36px, 5vw, 60px);
}
.unknown-cost {
padding: 22px 24px;
border: 1px solid var(--on-ink-faint);
border-radius: var(--radius);
}
.unknown-cost span {
color: var(--on-ink-faint);
font-size: var(--text-xs);
font-weight: var(--weight-strong);
}
.unknown-cost strong {
display: block;
margin-top: 3px;
color: var(--cheese);
font-family: var(--font-display);
font-weight: 400;
font-size: 30px;
}
.unknown-cost p {
margin-top: 7px;
color: var(--on-ink-soft);
font-size: var(--text-sm);
}
.cost-table-wrap {
overflow-x: auto;
border-top: 1px solid var(--on-ink-faint);
}
.cost-table {
width: 100%;
min-width: 780px;
border-collapse: collapse;
}
.cost-table th,
.cost-table td {
padding: 1.125rem 1rem;
border-bottom: 1px solid var(--ink-soft);
font-size: var(--text-sm);
line-height: 1.55;
text-align: left;
}
.cost-table thead th {
color: var(--on-ink-faint);
font-size: var(--text-xs);
}
.cost-table tbody th {
color: var(--on-ink);
font-weight: var(--weight-strong);
}
.cost-table td {
color: var(--on-ink-soft);
}
.cost-table td:nth-child(3) {
color: var(--cheese);
font-family: var(--font-display);
}
.cost-table tfoot th,
.cost-table tfoot td {
border-bottom: 0;
background: var(--blue);
color: var(--on-blue);
font-weight: var(--weight-strong);
}
.cost-table th:nth-child(3),
.cost-table td:nth-child(3) {
font-variant-numeric: tabular-nums;
text-align: right;
}
.cost-warning {
margin-top: 18px;
color: var(--on-ink-faint);
font-size: var(--text-xs);
}
/* ── 조건 정리 폼 ── */
.inquiry-section {
background: var(--bg);
}
.inquiry-layout {
display: grid;
grid-template-columns: minmax(280px, 0.7fr) minmax(480px, 1.3fr);
gap: clamp(36px, 7vw, 100px);
align-items: start;
}
.inquiry-intro {
position: sticky;
top: calc(var(--header-height) + 32px);
}
.inquiry-intro > p {
max-width: 28em;
margin-top: 24px;
color: var(--ink-soft);
font-size: var(--text-md);
}
.privacy-note {
margin-top: 28px;
padding: 18px 20px;
border: 1px solid var(--danger);
border-radius: var(--radius);
background: var(--surface);
}
.privacy-note strong {
color: var(--danger);
font-size: var(--text-xs);
}
.privacy-note p {
margin-top: 5px;
color: var(--ink-soft);
font-size: var(--text-xs);
}
.inquiry-panel {
overflow: hidden;
border: 1px solid var(--line);
border-radius: var(--radius);
background: var(--surface);
box-shadow: var(--shadow-card);
}
.step-indicator {
display: grid;
grid-template-columns: repeat(3, 1fr);
margin: 0;
padding: 0;
border-bottom: 1px solid var(--line);
list-style: none;
}
.step-indicator li {
min-height: 72px;
display: flex;
align-items: center;
gap: 10px;
padding: 12px 18px;
border-right: 1px solid var(--line);
color: var(--ink-faint);
}
.step-indicator li:last-child {
border-right: 0;
}
.step-indicator li.is-current {
background: var(--blue);
color: var(--on-blue);
}
.step-indicator span {
width: 28px;
height: 28px;
display: grid;
place-items: center;
border: 2px solid currentcolor;
border-radius: 50%;
font-family: var(--font-display);
font-size: 14px;
}
.step-indicator small {
font-size: var(--text-xs);
font-weight: var(--weight-strong);
}
.form-step,
.inquiry-success {
padding: clamp(24px, 4.5vw, 44px);
}
.is-js .form-step:not(.is-current) {
display: none;
}
.step-count {
color: var(--blue);
font-family: var(--font-display);
font-size: 15px;
font-variant-numeric: tabular-nums;
}
.form-step h3,
.inquiry-success h3 {
margin-top: 8px;
font-size: clamp(28px, 3.4vw, 38px);
}
.form-field {
margin-top: 28px;
}
.form-field > label,
.form-field > legend {
display: block;
margin-bottom: 8px;
font-size: var(--text-sm);
font-weight: var(--weight-strong);
}
.form-field input[type="text"],
.form-field input[type="number"],
.form-field select {
width: 100%;
min-height: 52px;
padding: 11px 16px;
border: 2px solid var(--line-strong);
border-radius: var(--radius);
background: var(--bg);
}
.form-field > small,
.form-field output {
display: block;
margin-top: 7px;
color: var(--ink-faint);
font-size: var(--text-xs);
}
.field-error {
min-height: 20px;
margin-top: 5px;
color: var(--danger);
font-size: var(--text-xs);
font-weight: var(--weight-strong);
}
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error .unit-input,
.form-field.has-error .radio-grid span {
border-color: var(--danger);
}
.radio-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 8px;
}
.radio-grid-two {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.radio-grid label {
position: relative;
}
.radio-grid input {
position: absolute;
z-index: 1;
inset: 0;
width: 100%;
height: 100%;
margin: 0;
opacity: 0;
cursor: pointer;
}
.radio-grid span {
min-height: 48px;
display: grid;
place-items: center;
padding: 9px 12px;
border: 2px solid var(--line);
border-radius: var(--radius-pill);
font-size: var(--text-sm);
font-weight: var(--weight-strong);
text-align: center;
transition: background var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.radio-grid input:checked + span {
border-color: var(--blue);
background: var(--blue);
color: var(--on-blue);
}
.radio-grid input:focus-visible + span {
outline: 3px solid var(--focus);
outline-offset: 3px;
}
.unit-input {
display: flex;
align-items: center;
overflow: hidden;
border: 2px solid var(--line-strong);
border-radius: var(--radius);
background: var(--bg);
}
.unit-input input {
border: 0 !important;
}
.unit-input span {
padding-right: 16px;
font-size: var(--text-sm);
font-weight: var(--weight-strong);
}
.form-actions {
display: flex;
justify-content: flex-end;
margin-top: 32px;
}
.split-actions {
justify-content: space-between;
gap: 12px;
}
.review-list {
margin-top: 28px;
border-top: 1px dashed var(--line-strong);
}
.review-list div {
display: grid;
grid-template-columns: 130px 1fr;
gap: 20px;
padding: 13px 0;
border-bottom: 1px dashed var(--line-strong);
font-size: var(--text-sm);
}
.review-list dt {
color: var(--ink-faint);
}
.review-list dd {
font-weight: var(--weight-strong);
}
.consent-check {
position: relative;
min-height: 44px;
display: grid;
grid-template-columns: 22px 1fr;
align-items: start;
gap: 10px;
margin-top: 24px;
font-size: var(--text-sm);
font-weight: var(--weight-strong);
}
.consent-check input {
position: absolute;
z-index: 1;
inset: 0;
width: 100%;
height: 100%;
margin: 0;
opacity: 0;
cursor: pointer;
}
.consent-check span {
position: relative;
grid-column: 2;
}
.consent-check span::before {
content: "";
position: absolute;
top: 1px;
left: -32px;
width: 20px;
height: 20px;
border: 2px solid var(--line-strong);
border-radius: 50%;
background: var(--bg);
}
.consent-check input:checked + span::before {
border-color: var(--blue);
background: var(--blue);
box-shadow: inset 0 0 0 4px var(--surface);
}
.consent-check input:focus-visible + span {
outline: 3px solid var(--focus);
outline-offset: 5px;
}
.submit-state {
min-height: 24px;
margin-top: 12px;
color: var(--danger);
font-size: var(--text-xs);
font-weight: var(--weight-strong);
}
.inquiry-success {
min-height: 560px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-start;
}
.success-mark {
width: 60px;
height: 60px;
display: grid;
place-items: center;
margin-bottom: 22px;
border-radius: 50%;
background: var(--blue);
color: var(--on-blue);
font-size: 28px;
}
.inquiry-success > p {
max-width: 28em;
margin-top: 14px;
color: var(--ink-soft);
font-size: var(--text-sm);
}
.success-actions {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-top: 28px;
}
/* ── 홈으로 ── */
.franchise-close {
padding-block: var(--section);
background: var(--blue);
color: var(--on-blue);
}
.franchise-close :focus-visible {
outline-color: var(--surface);
}
.close-row {
display: grid;
grid-template-columns: 1fr auto;
align-items: center;
gap: clamp(24px, 5vw, 64px);
}
.franchise-close h2 {
max-width: 16em;
font-size: var(--text-h2);
}
/* ── 반응형 ── */
@media (max-width: 960px) {
.flow-board {
grid-template-columns: repeat(2, 1fr);
}
.fit-grid {
grid-template-columns: repeat(2, 1fr);
}
.cost-head,
.inquiry-layout {
grid-template-columns: 1fr;
}
.inquiry-intro {
position: static;
}
}
@media (max-width: 820px) {
.franchise-hero {
grid-template-columns: 1fr;
padding-block: 36px 40px;
}
.franchise-hero h1 {
font-size: clamp(34px, 10.5vw, 46px);
}
.franchise-hero .hero-actions {
grid-template-columns: 1fr 1fr;
}
.franchise-hero .hero-actions .button {
padding-inline: 12px;
}
.franchise-hero-media {
aspect-ratio: 4 / 3;
transform: rotate(-1.5deg);
}
.fact-rail-grid {
grid-template-columns: 1fr;
}
.fact-rail p,
.fact-rail p:first-child {
min-height: 60px;
padding: 12px 0;
border-right: 0;
border-bottom: 1px solid var(--line);
}
.fact-rail p:last-child {
border-bottom: 0;
}
.operator-fit {
grid-template-columns: 1fr;
gap: 30px;
}
.fit-grid .fit-main {
min-height: 480px;
}
.franchise-timeline li {
grid-template-columns: 48px 1fr;
}
.franchise-timeline small {
grid-column: 2;
justify-self: start;
}
.close-row {
grid-template-columns: 1fr;
align-items: start;
}
}
@media (max-width: 540px) {
.flow-board,
.fit-grid {
display: block;
}
.flow-board article + article,
.fit-grid article + article {
margin-top: 12px;
}
.flow-board article {
min-height: 0;
justify-content: flex-start;
}
.flow-board article > span {
margin-bottom: 22px;
}
.fit-grid .fit-main {
min-height: 0;
}
.fit-grid h3 {
margin-top: 22px;
}
.operator-fit li {
grid-template-columns: 1fr;
gap: 4px;
}
.step-indicator li {
min-height: 64px;
justify-content: center;
padding: 9px;
}
.radio-grid {
grid-template-columns: repeat(2, 1fr);
}
.form-actions,
.split-actions,
.success-actions {
flex-direction: column-reverse;
}
.form-actions .button,
.success-actions .button {
width: 100%;
}
.review-list div {
grid-template-columns: 1fr;
gap: 3px;
}
}
/* 공개 메인과 같은 초광폭 상한: 사진이 내용보다 먼저 커지지 않는다. */
@media (min-width: 120rem) {
.franchise-hero {
width: min(100%, var(--workbench-wide));
}
.fact-rail .wrap,
.model-section .wrap,
.site-fit-section .wrap,
.franchise-process .wrap {
max-width: var(--workbench-wide);
}
}