designpaca/apps/site/public/work/griddle-club/styles/franchise.css
Yun Chan e09d4efb1c
Some checks failed
ci / build (push) Has been cancelled
feat: strengthen design skill and refresh all showcases
2026-09-12 18:16:33 +09:00

1026 lines
17 KiB
CSS

.franchise-page {
background: var(--paper-bright);
}
.franchise-hero {
min-height: min(820px, calc(100svh - var(--header-height) - 30px));
display: grid;
grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.08fr);
background: var(--ink);
color: white;
}
.franchise-hero-copy {
align-self: center;
padding: clamp(76px, 10vw, 140px) var(--gutter);
padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
}
.franchise-hero-copy .section-kicker {
color: var(--blue-soft);
}
.franchise-hero h1 {
max-width: 700px;
margin: 22px 0 0;
font-size: clamp(48px, 5.6vw, 80px);
font-weight: 900;
letter-spacing: -0.085em;
line-height: 0.98;
}
.franchise-hero-copy > p:not(.section-kicker) {
max-width: 550px;
margin-top: 30px;
color: #c9c4bc;
font-size: clamp(16px, 1.5vw, 20px);
line-height: 1.75;
}
.light-link {
border-color: white;
}
.franchise-hero .hero-actions > a {
min-height: 48px;
display: inline-flex;
align-items: center;
justify-content: center;
margin-top: 0;
line-height: 1.2;
}
.franchise-hero .hero-actions .light-link {
padding: 0 2px;
border-bottom: 0;
text-decoration: underline;
text-decoration-thickness: 1px;
text-underline-offset: 6px;
}
.franchise-truth {
max-width: 560px;
margin-top: 52px;
padding: 18px 20px;
border-left: 3px solid var(--blue-soft);
background: #2b2926;
}
.franchise-truth strong {
font-size: 12px;
}
.franchise-truth p {
margin-top: 5px;
color: #aaa59d;
font-size: 11px;
}
.franchise-hero-media {
min-height: 680px;
overflow: hidden;
background: var(--steel);
}
.franchise-hero-media img {
width: 100%;
height: 100%;
object-fit: cover;
}
.franchise-hero-media figcaption {
position: absolute;
right: 16px;
bottom: 16px;
padding: 7px 10px;
background: var(--paper-bright);
color: var(--ink);
font-size: 10px;
font-weight: 700;
}
.fact-rail {
border-bottom: 1px solid var(--line);
background: var(--paper);
}
.fact-rail-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
}
.fact-rail p {
min-height: 92px;
display: flex;
align-items: center;
gap: 16px;
padding: 18px 28px;
border-right: 1px solid var(--line);
font-size: 13px;
font-weight: 750;
}
.fact-rail p:first-child {
padding-left: 0;
}
.fact-rail p:last-child {
border-right: 0;
}
.fact-rail span,
.fit-number {
color: var(--blue);
font-family: var(--font-mono);
font-size: 11px;
}
.model-section {
background: var(--paper-bright);
}
.flow-board {
display: grid;
grid-template-columns: repeat(4, 1fr);
border: 1px solid var(--ink);
}
.flow-board article {
min-height: 340px;
display: flex;
flex-direction: column;
justify-content: flex-end;
padding: clamp(22px, 3vw, 34px);
border-right: 1px solid var(--ink);
}
.flow-board article:last-child {
border-right: 0;
background: var(--blue);
color: white;
}
.flow-board article > span {
margin-bottom: auto;
color: var(--blue);
font-family: var(--font-mono);
font-size: 11px;
}
.flow-board article:last-child > span {
color: #c8d3ff;
}
.flow-board h3 {
font-size: 23px;
letter-spacing: -0.045em;
}
.flow-board p {
margin-top: 8px;
color: var(--ink-soft);
font-size: 13px;
}
.flow-board article:last-child p {
color: #dce4ff;
}
.operator-fit {
display: grid;
grid-template-columns: 0.8fr 1.2fr;
gap: 70px;
margin-top: clamp(64px, 9vw, 110px);
padding-top: 42px;
border-top: 1px solid var(--ink);
}
.operator-fit h3 {
margin-top: 13px;
font-size: clamp(34px, 4.2vw, 54px);
letter-spacing: -0.065em;
line-height: 1.12;
}
.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: 19px 0;
border-bottom: 1px solid var(--line);
font-size: 13px;
}
.operator-fit span {
color: var(--ink-soft);
}
.site-fit-section {
background: var(--steel);
}
.fit-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
border-top: 1px solid var(--ink);
border-left: 1px solid var(--ink);
}
.fit-grid article {
min-height: 300px;
padding: clamp(22px, 3vw, 34px);
border-right: 1px solid var(--ink);
border-bottom: 1px solid var(--ink);
background: var(--paper-bright);
}
.fit-grid .fit-main {
grid-column: span 2;
grid-row: span 2;
min-height: 600px;
display: flex;
flex-direction: column;
background: var(--ink);
color: white;
}
.fit-grid h3 {
margin-top: 46px;
font-size: clamp(28px, 3.5vw, 48px);
letter-spacing: -0.06em;
}
.fit-grid article > p:not(.fit-number) {
margin-top: 14px;
color: var(--ink-soft);
font-size: 13px;
}
.fit-grid .fit-main > p:not(.fit-number) {
max-width: 490px;
color: #d4cec5;
font-size: 16px;
}
.fit-main .fit-number {
color: #9db0ff;
}
.fit-main ul {
margin: auto 0 0;
padding: 24px 0 0;
border-top: 1px solid #625f5a;
list-style: none;
}
.fit-main li {
padding: 8px 0;
color: #e8e3db;
font-size: 13px;
}
.franchise-process {
background: var(--paper-bright);
}
.franchise-timeline {
margin: 0;
padding: 0;
list-style: none;
border-top: 1px solid var(--ink);
}
.franchise-timeline li {
display: grid;
grid-template-columns: 4.5rem minmax(0, 1fr) minmax(9rem, auto);
align-items: center;
gap: 1.5rem;
min-height: 124px;
padding: 22px 0;
border-bottom: 1px solid var(--line);
}
.franchise-timeline li > span {
color: var(--blue);
font-family: var(--font-mono);
font-size: 12px;
}
.franchise-timeline h3 {
font-size: 24px;
letter-spacing: -0.045em;
}
.franchise-timeline p {
margin-top: 3px;
color: var(--ink-soft);
font-size: 13px;
}
.franchise-timeline small {
justify-self: end;
min-width: 8rem;
padding: 6px 9px;
border: 1px solid var(--line);
font-size: 10px;
font-weight: 700;
text-align: center;
}
.cost-section {
background: var(--ink);
color: white;
}
.cost-section .section-kicker {
color: var(--blue-soft);
}
.cost-head {
display: grid;
grid-template-columns: 1.25fr 0.75fr;
align-items: end;
gap: 50px;
margin-bottom: 64px;
}
.cost-head h2 {
margin-top: 14px;
}
.unknown-cost {
padding: 22px;
border: 1px solid #625f5a;
border-left: 3px solid var(--blue-soft);
background: #2a2825;
}
.unknown-cost span {
color: #aaa59d;
font-size: 10px;
}
.unknown-cost strong {
display: block;
margin-top: 3px;
color: var(--blue-soft);
font-size: 25px;
}
.unknown-cost p {
margin-top: 7px;
color: #bdb7af;
font-size: 12px;
}
.cost-table-wrap {
overflow-x: auto;
border-top: 1px solid #827d75;
}
.cost-table {
width: 100%;
min-width: 780px;
border-collapse: collapse;
font-size: 12px;
}
.cost-table th,
.cost-table td {
padding: 1.125rem 1rem;
border-bottom: 1px solid #4f4c47;
font-size: 0.8125rem;
line-height: 1.55;
text-align: left;
}
.cost-table thead th {
color: #9f9a92;
font-size: 10px;
}
.cost-table tbody th {
color: white;
font-weight: 750;
}
.cost-table td {
color: #c4beb6;
}
.cost-table td:nth-child(3) {
color: var(--blue-soft);
font-family: var(--font-mono);
font-weight: 600;
}
.cost-table tfoot th,
.cost-table tfoot td {
border-bottom: 0;
background: var(--blue);
color: white;
font-weight: 750;
}
.cost-warning {
margin-top: 18px;
color: #aaa59d;
font-size: 11px;
}
.inquiry-section {
background: var(--paper);
}
.inquiry-layout {
display: grid;
grid-template-columns: minmax(280px, 0.7fr) minmax(480px, 1.3fr);
gap: clamp(44px, 8vw, 110px);
align-items: start;
}
.inquiry-intro {
position: sticky;
top: calc(var(--header-height) + 32px);
}
.inquiry-intro h2 {
margin-top: 14px;
}
.inquiry-intro > p:not(.section-kicker) {
max-width: 460px;
margin-top: 26px;
color: var(--ink-soft);
font-size: 15px;
}
.privacy-note {
margin-top: 32px;
padding: 18px;
border-left: 3px solid var(--danger);
background: #fff0eb;
}
.privacy-note strong {
font-size: 12px;
}
.privacy-note p {
margin-top: 5px;
color: #733c33;
font-size: 11px;
}
.inquiry-panel {
border: 1px solid var(--line-strong);
background: var(--paper-bright);
box-shadow: var(--shadow);
}
.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: 76px;
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: white;
}
.step-indicator span {
font-family: var(--font-mono);
font-size: 12px;
}
.step-indicator small {
font-size: 11px;
font-weight: 750;
}
.form-step,
.inquiry-success {
padding: clamp(26px, 5vw, 50px);
}
.is-js .form-step:not(.is-current) {
display: none;
}
.step-count {
color: var(--blue);
font-family: var(--font-mono);
font-size: 11px;
}
.form-step h3,
.inquiry-success h3 {
margin-top: 8px;
font-size: clamp(29px, 4vw, 43px);
font-weight: 850;
letter-spacing: -0.06em;
line-height: 1.2;
}
.form-field {
margin-top: 30px;
}
.form-field > label,
.form-field > legend {
display: block;
margin-bottom: 9px;
font-size: 13px;
font-weight: 750;
}
.form-field input[type="text"],
.form-field input[type="number"],
.form-field select {
width: 100%;
min-height: 52px;
padding: 11px 13px;
border: 1px solid var(--line-strong);
border-radius: var(--radius-sm);
background: white;
}
.form-field > small,
.form-field output {
display: block;
margin-top: 7px;
color: var(--ink-faint);
font-size: 10px;
}
.field-error {
min-height: 20px;
margin-top: 5px;
color: var(--danger);
font-size: 11px;
font-weight: 700;
}
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error .radio-grid {
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;
border: 1px solid var(--line);
border-radius: var(--radius-sm);
font-size: 12px;
font-weight: 700;
text-align: center;
}
.radio-grid input:checked + span {
border-color: var(--blue);
background: var(--blue);
color: white;
}
.radio-grid input:focus-visible + span {
outline: 3px solid var(--focus);
outline-offset: 3px;
}
.unit-input {
display: flex;
align-items: center;
border: 1px solid var(--line-strong);
background: white;
}
.unit-input input {
border: 0 !important;
}
.unit-input span {
padding-right: 14px;
font-size: 12px;
font-weight: 750;
}
.form-actions {
display: flex;
justify-content: flex-end;
margin-top: 36px;
}
.split-actions {
justify-content: space-between;
gap: 12px;
}
.form-actions .button-ghost {
margin-top: 0;
background: white;
}
.review-list {
margin-top: 30px;
border-top: 1px solid var(--ink);
}
.review-list div {
display: grid;
grid-template-columns: 130px 1fr;
gap: 20px;
padding: 14px 0;
border-bottom: 1px solid var(--line);
font-size: 12px;
}
.review-list dt {
color: var(--ink-faint);
}
.review-list dd {
font-weight: 750;
}
.consent-check {
position: relative;
min-height: 44px;
display: grid;
grid-template-columns: 20px 1fr;
align-items: start;
gap: 10px;
margin-top: 24px;
font-size: 12px;
font-weight: 650;
}
.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: 2px;
left: -30px;
width: 18px;
height: 18px;
border: 1px solid var(--line-strong);
background: white;
}
.consent-check input:checked + span::before {
border-color: var(--blue);
background: var(--blue);
box-shadow: inset 0 0 0 4px white;
}
.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: 11px;
font-weight: 700;
}
.inquiry-success {
min-height: 580px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-start;
}
.success-mark {
width: 58px;
height: 58px;
display: grid;
place-items: center;
margin-bottom: 26px;
background: var(--blue);
color: white;
font-size: 28px;
}
.inquiry-success > p:not(.section-kicker) {
max-width: 460px;
margin-top: 15px;
color: var(--ink-soft);
font-size: 14px;
}
.success-actions {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-top: 30px;
}
.success-actions .button {
margin-top: 0;
}
.franchise-close {
padding-block: var(--section);
background: var(--blue);
color: white;
}
.close-row {
display: grid;
grid-template-columns: 1fr auto;
align-items: end;
gap: 44px;
}
.franchise-close .section-kicker {
color: #c8d3ff;
}
.franchise-close h2 {
max-width: 850px;
margin-top: 14px;
font-size: clamp(42px, 6vw, 78px);
letter-spacing: -0.075em;
line-height: 1.06;
}
.franchise-foot-grid {
grid-template-columns: 1.2fr 0.8fr 1.4fr;
}
.cost-table th:nth-child(3),
.cost-table td:nth-child(3) {
font-variant-numeric: tabular-nums;
text-align: right;
}
@media (max-width: 960px) {
.franchise-hero {
grid-template-columns: 0.95fr 1.05fr;
}
.franchise-hero-copy {
padding-left: var(--gutter);
}
.flow-board {
grid-template-columns: repeat(2, 1fr);
}
.flow-board article:nth-child(2) {
border-right: 0;
}
.flow-board article:nth-child(-n + 2) {
border-bottom: 1px solid var(--ink);
}
.fit-grid {
grid-template-columns: repeat(2, 1fr);
}
.cost-head,
.inquiry-layout {
grid-template-columns: 1fr;
}
.inquiry-intro {
position: static;
}
.franchise-foot-grid {
grid-template-columns: 1fr 1fr;
}
}
@media (max-width: 760px) {
.franchise-hero {
grid-template-columns: 1fr;
}
.franchise-hero-copy {
padding: 72px var(--gutter) 52px;
}
.franchise-hero h1 {
font-size: clamp(40px, 13.5vw, 60px);
}
.franchise-hero-media {
min-height: 560px;
}
.fact-rail-grid {
grid-template-columns: 1fr;
}
.fact-rail p,
.fact-rail p:first-child {
min-height: 64px;
padding: 14px 0;
border-right: 0;
border-bottom: 1px solid var(--line);
}
.operator-fit {
grid-template-columns: 1fr;
gap: 34px;
}
.fit-grid .fit-main {
min-height: 520px;
}
.franchise-timeline li {
grid-template-columns: 42px 1fr;
}
.franchise-timeline small {
grid-column: 2;
justify-self: start;
}
.close-row {
grid-template-columns: 1fr;
align-items: start;
}
.franchise-foot-grid {
grid-template-columns: 1fr;
}
}
@media (max-width: 540px) {
.franchise-hero-media {
min-height: 460px;
}
.flow-board,
.fit-grid {
display: block;
border-left: 1px solid var(--ink);
}
.flow-board article,
.flow-board article:nth-child(2),
.fit-grid article {
border-right: 1px solid var(--ink);
border-bottom: 1px solid var(--ink);
}
.flow-board article,
.flow-board article:nth-child(2) {
min-height: 170px;
justify-content: flex-start;
}
.flow-board article > span {
margin-bottom: 30px;
}
.fit-grid .fit-main {
min-height: 500px;
}
.operator-fit li {
grid-template-columns: 1fr;
gap: 4px;
}
.step-indicator li {
min-height: 64px;
justify-content: center;
padding: 9px;
}
.step-indicator small {
display: inline;
font-size: 10px;
}
.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(--hero-wide));
min-height: clamp(43rem, 48vw, 54rem);
grid-template-columns: minmax(0, 1fr) minmax(42rem, 1.14fr);
margin-inline: auto;
border-inline: 1px solid var(--ink-soft);
}
.franchise-hero-copy {
width: min(100%, var(--copy-wide));
justify-self: end;
padding: clamp(5.5rem, 6vw, 8rem) clamp(4rem, 5vw, 6rem);
}
.franchise-hero h1 {
max-width: 12ch;
font-size: clamp(4.25rem, 3.2rem + 2.2vw, 5.5rem);
}
.franchise-hero-media {
width: min(100%, var(--media-wide));
min-height: clamp(43rem, 48vw, 54rem);
justify-self: end;
}
.fact-rail .wrap,
.model-section .wrap,
.site-fit-section .wrap,
.franchise-process .wrap {
max-width: var(--workbench-wide);
}
}