@charset "utf-8";
/* ㅁㅇㅎㅇ타코야끼 소개 페이지 전용 스타일 (공통은 fl-sub.css).
   가운데 로고(양옆 사진이 떠오름) → 주황 띠에서 ㅁ·ㅇ·ㅎ·ㅇ 가 굴러 올라가 '문·어·한·알' → 빙수 + 타코야끼 두 계절 카드
   → 1·9·4 큰 숫자 → 동그란 맛 사진이 흘러가는 띠 → 사진 위 이어 보기 카드. */

#container > #sub-tako { background: var(--fl-cream); }
#sub-tako { --fl-tk-gap: clamp(100px, 10vw, 160px); --fl-tk-orange: #d9651f; --fl-tk-orange-soft: #fbe3cf; --fl-tk-orange-deep: #a3431a; color: var(--fl-ink); }
#sub-tako p, #sub-tako h3, #sub-tako h4, #sub-tako span, #sub-tako strong { word-break: keep-all; overflow-wrap: break-word; }
body:has(#sub-tako) { background: var(--fl-cream) !important; } /* gw.css 의 body #f8f8f8 !important 를 이 페이지에서만 덮는다 */
body:has(#sub-tako) #container_wr, body:has(#sub-tako) .gw-footer-container { background: var(--fl-cream); }

#sub-tako .fl-tk-en { font-family: var(--fl-font-display); font-size: 18px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--fl-mango); }
#sub-tako .fl-tk-title { margin-top: 12px; font-size: clamp(30px, 3.4vw, 48px); font-weight: 800; line-height: 1.3; letter-spacing: -0.04em; color: var(--fl-dark); }
#sub-tako .fl-tk-head { text-align: center; }
#sub-tako .fl-tk-head.is-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; text-align: left; }

/* ---------- 머리 ---------- */
#sub-tako .fl-tk-hero { position: relative; overflow: hidden; padding: clamp(80px, 8vw, 128px) 0 var(--fl-tk-gap); text-align: center; }
#sub-tako .fl-tk-hero .fl-container { position: relative; }
#sub-tako .fl-tk-logo { position: relative; z-index: 1; line-height: 0; }
#sub-tako .fl-tk-logo img { display: inline-block; width: auto; height: clamp(96px, 11vw, 150px); }
#sub-tako .fl-tk-tagline { position: relative; z-index: 1; margin-top: 40px; font-size: clamp(28px, 3.2vw, 44px); font-weight: 800; letter-spacing: -0.04em; color: var(--fl-dark); }
#sub-tako .fl-tk-lead { position: relative; z-index: 1; margin-top: 18px; font-size: 17px; line-height: 1.85; color: var(--fl-ink-2); }
.fl-reveal-on #sub-tako .fl-tk-tagline { transition-delay: .12s; }
.fl-reveal-on #sub-tako .fl-tk-lead { transition-delay: .24s; }
/* 양옆에 떠 있는 동그란 타코야끼 사진 — --fl-y 는 스크립트가 스크롤에 따라 준다 */
#sub-tako .fl-tk-float { --fl-y: 0px; position: absolute; overflow: hidden; border-radius: 50%; box-shadow: 0 24px 48px rgba(30, 53, 39, .14); transform: translateY(var(--fl-y)); animation: fl-tk-bob 6s ease-in-out infinite; }
#sub-tako .fl-tk-float img { width: 100%; height: 100%; object-fit: cover; }
#sub-tako .fl-tk-float.is-left { top: 10%; left: 0; width: clamp(120px, 14vw, 210px); aspect-ratio: 1; }
#sub-tako .fl-tk-float.is-right { top: 42%; right: 0; width: clamp(96px, 11vw, 170px); aspect-ratio: 1; animation-delay: -3s; }
#sub-tako .fl-tk-float.is-left2 { top: 74%; left: 19%; width: clamp(72px, 7vw, 110px); aspect-ratio: 1; animation-delay: -1.5s; }
@keyframes fl-tk-bob { 0%, 100% { translate: 0 0; rotate: -4deg; } 50% { translate: 0 -14px; rotate: 4deg; } }

/* ---------- 이름 풀이: 주황 띠, 굴러 올라가는 글자 ---------- */
#sub-tako .fl-tk-name { padding: clamp(72px, 7vw, 112px) 0; background: var(--fl-tk-orange); text-align: center; --fl-focus: var(--fl-white); }
#sub-tako .fl-tk-name-title { font-family: var(--fl-font-display); font-size: 18px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--fl-cream); }
#sub-tako .fl-tk-roll { display: flex; justify-content: center; gap: clamp(8px, 1.6vw, 20px); margin-top: 28px; }
#sub-tako .fl-tk-roll-cell { overflow: hidden; height: 1.1em; font-size: clamp(64px, 11vw, 160px); font-weight: 800; line-height: 1.1; color: var(--fl-white); }
#sub-tako .fl-tk-roll-in { display: flex; flex-direction: column; transition: transform 1s cubic-bezier(.7, 0, .2, 1) calc(.3s + var(--fl-i) * .16s); }
#sub-tako .fl-tk-roll-in > span { display: block; height: 1.1em; }
#sub-tako .fl-tk-roll-in > span:first-child { color: color-mix(in srgb, var(--fl-white) 55%, transparent); }
#sub-tako .fl-tk-roll.is-rolled .fl-tk-roll-in { transform: translateY(-50%); }
#sub-tako .fl-tk-name-desc { margin-top: 32px; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.7; color: var(--fl-cream); }
#sub-tako .fl-tk-name-desc strong { font-weight: 800; color: var(--fl-white); }

/* ---------- 두 계절: 스크롤로 넘어가는 여름 → 가을·겨울 ---------- */
#sub-tako .fl-tk-sw { --fl-p: 0; position: relative; margin-top: var(--fl-tk-gap); }
#sub-tako .fl-tk-sw.is-live { height: 260vh; }
#sub-tako .fl-tk-sw-stick { position: relative; overflow: hidden; display: flex; align-items: center; padding: clamp(64px, 6vw, 96px) 0; }
#sub-tako .fl-tk-sw.is-live .fl-tk-sw-stick { position: sticky; top: var(--fl-hd-total, 0px); height: calc(100vh - var(--fl-hd-total, 0px)); min-height: 560px; padding: 0; box-sizing: border-box; }
#sub-tako .fl-tk-sw-bg { position: absolute; inset: 0; background: var(--fl-tk-orange-soft); opacity: var(--fl-p); }
#sub-tako .fl-tk-sw-in { position: relative; display: flex; flex-direction: column; align-items: center; gap: clamp(20px, 3.4vh, 40px); width: 100%; text-align: center; }
#sub-tako .fl-tk-sw-head .fl-tk-title { font-size: clamp(26px, 2.8vw, 40px); }
#sub-tako .fl-tk-sw-stage { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 64px); width: 100%; }
#sub-tako .fl-tk-sw-circle { position: relative; overflow: hidden; width: min(44vh, 440px, 70vw); aspect-ratio: 1; border-radius: 50%; background: var(--fl-white); box-shadow: 0 30px 60px rgba(120, 50, 10, calc(.08 + var(--fl-p) * .12)); }
#sub-tako .fl-tk-sw-circle img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#sub-tako .fl-tk-sw-circle .is-summer { opacity: calc(1 - var(--fl-p)); transform: scale(calc(1 + var(--fl-p) * .15)) rotate(calc(var(--fl-p) * 40deg)); }
#sub-tako .fl-tk-sw-circle .is-winter { opacity: var(--fl-p); transform: scale(calc(1.15 - var(--fl-p) * .15)) rotate(calc((1 - var(--fl-p)) * -40deg)); }
#sub-tako .fl-tk-sw-side { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--fl-dark); }
#sub-tako .fl-tk-sw-side.is-summer { align-items: flex-end; text-align: right; opacity: calc(1 - var(--fl-p) * .75); transform: translateX(calc(var(--fl-p) * -24px)); }
#sub-tako .fl-tk-sw-side.is-winter { align-items: flex-start; text-align: left; opacity: calc(.25 + var(--fl-p) * .75); transform: translateX(calc((1 - var(--fl-p)) * 24px)); }
#sub-tako .fl-tk-sw-en { font-family: var(--fl-font-display); font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--fl-mango); }
#sub-tako .fl-tk-sw-side strong { font-size: clamp(24px, 2.4vw, 34px); font-weight: 800; letter-spacing: -0.04em; transition: color .25s ease; }
#sub-tako .fl-tk-sw-sub { font-size: 16px; line-height: 1.6; color: var(--fl-ink-2); }
#sub-tako .fl-tk-sw-side:hover strong { color: var(--fl-tk-orange); }
/* 여름 · 겨울 스위치 */
#sub-tako .fl-tk-sw-toggle { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: 240px; height: 52px; padding: 5px; box-sizing: border-box; border-radius: 999px; background: var(--fl-white); box-shadow: inset 0 0 0 1.5px var(--fl-line); }
#sub-tako .fl-tk-sw-knob { position: absolute; top: 5px; left: 5px; width: 115px; height: 42px; border-radius: 999px; background: var(--fl-dark); transition: transform .5s cubic-bezier(.6, 0, .2, 1), background .5s ease; } /* 스위치는 가운데를 넘으면 딸깍 넘어간다 */
#sub-tako .fl-tk-sw.is-winter .fl-tk-sw-knob, #sub-tako .fl-tk-sw:not(.is-live) .fl-tk-sw-knob { transform: translateX(115px); }
#sub-tako .fl-tk-sw.is-winter .fl-tk-sw-knob { background: var(--fl-tk-orange); }
#sub-tako .fl-tk-sw-label { position: relative; display: flex; align-items: center; justify-content: center; font-family: var(--fl-font-display); font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--fl-ink-3); transition: color .3s ease; }
#sub-tako .fl-tk-sw:not(.is-winter) .fl-tk-sw-label.is-summer, #sub-tako .fl-tk-sw.is-winter .fl-tk-sw-label.is-winter { color: var(--fl-white); }
/* 동작 줄이기 · 스크립트 없음: 고정 없이 두 계절을 나란히, 원은 타코야끼 */
#sub-tako .fl-tk-sw:not(.is-live) { --fl-p: 1; }
#sub-tako .fl-tk-sw:not(.is-live) .fl-tk-sw-side { opacity: 1; transform: none; }
#sub-tako .fl-tk-sw:not(.is-live) .fl-tk-sw-bg, #sub-tako .fl-tk-sw:not(.is-live) .fl-tk-sw-toggle { display: none; }

/* ---------- 1 · 9 · 4: 연한 주황 · 주황 · 진한 주황, 계단처럼 내려가는 세 장의 둥근 카드, 숫자는 타코야끼 알 모양 원 ---------- */
#sub-tako .fl-tk-nums { padding: var(--fl-tk-gap) 0 0; }
#sub-tako .fl-tk-num-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 1.8vw, 24px); align-items: start; }
#sub-tako .fl-tk-num { display: flex; flex-direction: column; min-height: clamp(360px, 30vw, 420px); padding: clamp(28px, 3vw, 40px); border-radius: 32px; background: var(--fl-tk-orange-soft); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
#sub-tako .fl-tk-num:nth-child(2) { margin-top: clamp(40px, 5vw, 72px); background: var(--fl-tk-orange); }
#sub-tako .fl-tk-num:nth-child(3) { margin-top: clamp(80px, 10vw, 144px); background: var(--fl-tk-orange-deep); }
#sub-tako .fl-tk-num-big { display: flex; align-items: center; gap: 14px; margin-bottom: auto; color: var(--fl-dark); }
#sub-tako .fl-tk-num-n { display: flex; align-items: center; justify-content: center; width: clamp(96px, 9vw, 128px); aspect-ratio: 1; border-radius: 50%; background: var(--fl-tk-orange); font-family: var(--fl-font-display); font-size: clamp(56px, 5.4vw, 76px); font-weight: 600; line-height: 1; color: var(--fl-white); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
#sub-tako .fl-tk-num-unit { font-size: clamp(18px, 1.6vw, 22px); font-weight: 800; }
#sub-tako .fl-tk-num-title { margin-top: 48px; font-size: clamp(20px, 1.8vw, 24px); font-weight: 800; letter-spacing: -0.03em; color: var(--fl-dark); }
#sub-tako .fl-tk-num-desc { margin-top: 10px; font-size: 16px; line-height: 1.8; color: var(--fl-ink-2); }
#sub-tako .fl-tk-num:nth-child(2) .fl-tk-num-n { background: var(--fl-white); color: var(--fl-tk-orange); }
#sub-tako .fl-tk-num:nth-child(2) .fl-tk-num-big, #sub-tako .fl-tk-num:nth-child(2) .fl-tk-num-title { color: var(--fl-white); }
#sub-tako .fl-tk-num:nth-child(2) .fl-tk-num-desc { color: #fff3e8; }
#sub-tako .fl-tk-num:nth-child(3) .fl-tk-num-big, #sub-tako .fl-tk-num:nth-child(3) .fl-tk-num-title { color: var(--fl-white); }
#sub-tako .fl-tk-num:nth-child(3) .fl-tk-num-n { background: var(--fl-tk-orange-soft); color: var(--fl-tk-orange-deep); }
#sub-tako .fl-tk-num:nth-child(3) .fl-tk-num-desc { color: #fbe3cf; }
#sub-tako .fl-tk-num:hover { transform: translateY(-8px); }
#sub-tako .fl-tk-num:hover .fl-tk-num-n { transform: rotate(-12deg) scale(1.06); }
.fl-reveal-on #sub-tako .fl-tk-num[data-fl-reveal] { transition: opacity .9s ease, transform .9s cubic-bezier(.22, .8, .24, 1); transition-delay: calc(var(--fl-i) * .14s); }
.fl-reveal-on #sub-tako .fl-tk-num.is-in:hover { transform: translateY(-8px); transition-delay: 0s; }

/* ---------- 아홉 가지 맛: 흘러가는 띠 ---------- */
#sub-tako .fl-tk-flavor { padding: var(--fl-tk-gap) 0 0; overflow: hidden; }
#sub-tako .fl-tk-marquee { display: flex; width: max-content; margin-top: clamp(36px, 4vw, 56px); }
#sub-tako .fl-tk-marquee-track { display: flex; gap: clamp(20px, 2.4vw, 36px); padding-right: clamp(20px, 2.4vw, 36px); margin: 0; list-style: none; animation: fl-tk-flow 48s linear infinite; }
#sub-tako .fl-tk-marquee:hover .fl-tk-marquee-track, #sub-tako .fl-tk-marquee:focus-within .fl-tk-marquee-track { animation-play-state: paused; }
@keyframes fl-tk-flow { to { transform: translateX(-100%); } }
#sub-tako .fl-tk-ball a { display: flex; flex-direction: column; align-items: center; width: clamp(160px, 16vw, 240px); text-decoration: none; text-align: center; }
#sub-tako .fl-tk-ball-img { overflow: hidden; width: 100%; aspect-ratio: 1; border-radius: 50%; background: var(--fl-white); }
#sub-tako .fl-tk-ball-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
#sub-tako .fl-tk-ball a:hover .fl-tk-ball-img img, #sub-tako .fl-tk-ball a:focus-visible .fl-tk-ball-img img { transform: scale(1.1) rotate(8deg); }
#sub-tako .fl-tk-ball-en { margin-top: 18px; font-family: var(--fl-font-display); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--fl-mango); }
#sub-tako .fl-tk-ball-name { margin-top: 4px; font-size: 19px; font-weight: 800; color: var(--fl-dark); transition: color .25s ease; }
#sub-tako .fl-tk-ball a:hover .fl-tk-ball-name { color: var(--fl-tk-orange); }

/* ---------- 이어 보기 ---------- */
#sub-tako .fl-tk-next { padding: var(--fl-tk-gap) 0; }
#sub-tako .fl-tk-next-card { --fl-focus: var(--fl-white); position: relative; isolation: isolate; overflow: hidden; padding: clamp(72px, 9vw, 128px) 24px; border-radius: 40px; text-align: center; background: var(--fl-dark); }
#sub-tako .fl-tk-next-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
#sub-tako .fl-tk-next-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(30, 53, 39, .78); }
#sub-tako .fl-tk-next-title { font-size: clamp(30px, 3.6vw, 52px); font-weight: 800; letter-spacing: -0.04em; color: var(--fl-white); }
#sub-tako .fl-tk-next-desc { margin-top: 16px; font-size: 17px; line-height: 1.75; color: var(--fl-cream); }
#sub-tako .fl-tk-next-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; }

@media (max-width: 1024px) {
    #sub-tako .fl-tk-float.is-left { top: 4%; }
    #sub-tako .fl-tk-float.is-right { top: auto; bottom: 8%; }
    #sub-tako .fl-tk-float.is-left2 { top: auto; bottom: 4%; left: 6%; }
    #sub-tako .fl-tk-num-list { grid-template-columns: 1fr; }
    #sub-tako .fl-tk-num, #sub-tako .fl-tk-num:nth-child(2), #sub-tako .fl-tk-num:nth-child(3) { min-height: 0; margin-top: 0; }
    #sub-tako .fl-tk-num-title { margin-top: 28px; }
    #sub-tako .fl-tk-next-card { border-radius: 28px; }
}
@media (max-width: 768px) {
    /* 모바일: 원 아래 한 자리에서 여름 글 → 겨울 글이 겹쳐 바뀐다 */
    #sub-tako .fl-tk-sw-stage { grid-template-columns: 1fr; justify-items: center; gap: 20px; }
    #sub-tako .fl-tk-sw-circle { grid-row: 1; width: min(38vh, 72vw); }
    #sub-tako .fl-tk-sw-side, #sub-tako .fl-tk-sw-side.is-summer, #sub-tako .fl-tk-sw-side.is-winter { grid-row: 2; grid-column: 1; align-items: center; text-align: center; }
    #sub-tako .fl-tk-sw.is-live .fl-tk-sw-side.is-summer { opacity: calc(1 - var(--fl-p) * 2); transform: translateY(calc(var(--fl-p) * -16px)); }
    #sub-tako .fl-tk-sw.is-live .fl-tk-sw-side.is-winter { opacity: calc(var(--fl-p) * 2 - 1); transform: translateY(calc((1 - var(--fl-p)) * 16px)); }
    #sub-tako .fl-tk-sw:not(.is-live) .fl-tk-sw-side.is-winter { grid-row: 3; }
    #sub-tako .fl-tk-sw-sub br { display: none; }
    #sub-tako .fl-tk-head.is-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 576px) {
    #sub-tako .fl-tk-float { display: none; }
    #sub-tako .fl-tk-lead, #sub-tako .fl-tk-next-desc { font-size: 16px; }
    #sub-tako .fl-tk-num { border-radius: 24px; }
    #sub-tako .fl-tk-ball a { width: 140px; }
    #sub-tako .fl-tk-ball-name { font-size: 17px; }
    #sub-tako .fl-tk-next-card { border-radius: 24px; }
}
@media (prefers-reduced-motion: reduce) {
    #sub-tako .fl-tk-float, #sub-tako .fl-tk-marquee-track { animation: none; }
    #sub-tako .fl-tk-roll-in { transition: none; }
    #sub-tako .fl-tk-flavor { overflow: visible; }
    #sub-tako .fl-tk-marquee { width: auto; overflow-x: auto; padding: 0 var(--fl-gutter); }
    #sub-tako .fl-tk-marquee-track[aria-hidden] { display: none; }
}
