/* ==========================================================================
   AILO SmallBiz S20 — 필름스튜디오 담다
   원형: 필름 콘택트시트(퍼포레이션 필름 스트립·프레임 번호·빨간 그리스 마커 동그라미/X·루페) / 타이포: Courier Prime + Pretendard (+ Nanum Pen Script 마커 메모) / 컬러: 흑백 #111·#f3f2ee + 레드 마커 #e3261c
   ========================================================================== */
:root {
  --ailo-bg: #f3f2ee;
  --ailo-fg: #111111;
  --ailo-muted: #5e5e5e;
  --ailo-line: rgba(17, 17, 17, .16);
  --ailo-accent: #e3261c;
  --ailo-header-h: 76px;
  --s20-red: #e3261c;
  --s20-film: #151515;
  --s20-edge: #9b9b9b;
  --s20-paper: #fbfbf8;
  --s20-mono: "Courier Prime", "Courier New", "Pretendard Variable", monospace;
  --s20-pen: "Pretendard Variable", Pretendard, sans-serif;
  --s20-sec: clamp(72px, 10vw, 128px);
  --s20-holes: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='18'%3E%3Crect x='8' y='3' width='14' height='12' rx='2.5' fill='%23f3f2ee'/%3E%3C/svg%3E");
}

body { font-size: 16px; }
::selection { background: var(--s20-red); color: #fff; }

/* ---------- 공통 ---------- */
.sec { padding-block: var(--s20-sec); position: relative; }
.type-label { font-family: var(--s20-mono); font-size: 0.875rem; font-weight: 700; letter-spacing: .08em; color: var(--ailo-muted); margin-bottom: 12px; }
.type-label--light { color: #a9a9a9; }
.type-label [data-state="open"] { color: var(--s20-red); }
.sec-title { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.2; }
.sec-sub { margin-top: 12px; color: var(--ailo-muted); }
.sec-hd { margin-bottom: clamp(32px, 5vw, 56px); text-align: center; }
.sec-hd--left { text-align: left; }

.btn-red, .btn-ink {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; font-weight: 700; white-space: nowrap;
  border: 2px solid var(--ailo-fg); transition: transform .2s var(--ailo-ease), background .2s, color .2s, box-shadow .2s;
}
.btn-red { background: var(--s20-red); border-color: var(--s20-red); color: #fff; }
.btn-red:hover, .btn-red:focus-visible { color: #fff; background: #b81a12; border-color: #b81a12; transform: translateY(-2px); box-shadow: 0 8px 18px -10px rgba(227, 38, 28, .9); }
.btn-red--lg, .btn-ink { padding: 14px 24px; }
.btn-ink { background: transparent; color: var(--ailo-fg); }
.btn-ink:hover, .btn-ink:focus-visible { background: var(--ailo-fg); color: #fff; }
.btn-ink--sm { padding: 9px 14px; font-size: .9rem; }

/* 빨간 마커 */
.mk { position: absolute; fill: none; stroke: var(--s20-red); stroke-width: 4px; stroke-linecap: round; stroke-linejoin: round; overflow: visible; pointer-events: none; stroke-dasharray: 3000; stroke-dashoffset: 3000; }
.mk.is-drawn { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s cubic-bezier(.45, .05, .3, 1); }
.mk-wrap { position: relative; display: inline-block; }
.mk--circle { left: -14%; top: -8%; width: 128%; height: 122%; }
.mk-note { position: absolute; font-family: var(--s20-pen); color: var(--s20-red); font-size: 1.9rem; line-height: 1; transform: rotate(-6deg); white-space: nowrap; font-weight: 600; }

/* ---------- Header ---------- */
.hd { position: sticky; top: 0; z-index: 100; background: var(--s20-film); color: #fff; }
.hd__in { display: flex; align-items: center; gap: 28px; min-height: var(--ailo-header-h); }
.logo { display: inline-flex; align-items: center; gap: 18px; }
.logo__can { position: relative; width: 26px; height: 34px; border-radius: 4px; background: linear-gradient(90deg, #444, #ddd 35%, #888 70%, #333); }
.logo__can::before { content: ""; position: absolute; left: 3px; right: 3px; top: -5px; height: 5px; border-radius: 2px 2px 0 0; background: #bbb; }
.logo__can::after { content: ""; position: absolute; right: -10px; top: 9px; width: 12px; height: 16px; background: #2b2b2b; border: 1px solid #555; border-left: 0; }
.logo__txt { display: flex; flex-direction: column; line-height: 1; }
.logo__txt b { font-size: 1.5rem; font-weight: 900; letter-spacing: -.04em; }
.logo__txt small { font-family: var(--s20-mono); font-size: 0.875rem; letter-spacing: .24em; color: var(--s20-edge); margin-top: 4px; }
.gnb { display: flex; gap: 4px; margin-left: auto; }
.gnb a { position: relative; padding: 8px 14px; font-weight: 600; color: #ddd; }
.gnb a:hover, .gnb a:focus-visible { color: #fff; }
.gnb a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 3px; background: var(--s20-red); transform: scaleX(0); transform-origin: left; transition: transform .25s; border-radius: 2px; }
.gnb a:hover::after, .gnb a:focus-visible::after { transform: scaleX(1); }
.hd__frame { font-family: var(--s20-mono); font-size: 0.875rem; color: var(--s20-edge); padding: 4px 10px; border: 1px solid #333; }
.hd__frame b { color: var(--s20-red); }
.hd__cta { display: flex; align-items: center; gap: 12px; }
.btn-tel { font-family: var(--s20-mono); font-weight: 700; color: #fff; }
.btn-tel:hover { color: var(--s20-red); }
.btn-tel i { color: var(--s20-red); margin-right: 4px; }
.hd .btn-red { padding: 9px 16px; }
.hd .ailo-burger { color: #fff; }

.mnav { background: var(--s20-film); color: #fff; }
.mnav__in { display: flex; flex-direction: column; padding: calc(var(--ailo-header-h) + 30px) 24px 40px; }
.mnav__in > a:not(.btn-red) { display: flex; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px dashed #333; font-size: 1.6rem; font-weight: 800; }
.mnav__in > a span { font-family: var(--s20-mono); font-size: .9rem; color: var(--s20-red); }
.mnav__in .btn-red { margin-top: 28px; padding: 16px; }

/* ---------- Film strip ---------- */
.strip { position: relative; background: var(--s20-film); padding: 30px 0 48px; color: var(--s20-edge); }
.strip::before, .strip::after { content: ""; position: absolute; left: 0; right: 0; height: 18px; background: var(--s20-holes) 0 0 / 30px 18px repeat-x; }
.strip::before { top: 4px; }
.strip::after { bottom: 4px; }
.strip__edge { display: flex; justify-content: space-around; gap: 20px; font-family: var(--s20-mono); font-size: 0.875rem; letter-spacing: .14em; white-space: nowrap; overflow: hidden; padding: 0 10px 8px; }
.strip__edge--b { padding: 8px 10px 0; }
.strip__frames { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 14px; padding-inline: 14px; }
.frame { position: relative; margin: 0; background: #000; }
.frame img { aspect-ratio: 3 / 2; height: auto; transition: transform .45s var(--ailo-ease), filter .3s; }
.frame figcaption { position: absolute; left: 4px; bottom: -21px; font-family: var(--s20-mono); font-size: 0.875rem; color: var(--s20-edge); letter-spacing: .1em; }
.frame figcaption::before { content: "▸ "; }
.frame .mk--frame { left: -9%; top: -14%; width: 118%; height: 128%; z-index: 2; }
.frame .mk--x { left: 50%; top: 50%; width: 46%; height: 60%; transform: translate(-50%, -50%); stroke-width: 5px; opacity: .9; z-index: 2; }
.frame--pick .mk-note { right: 10px; top: 10px; z-index: 3; padding: 2px 10px 4px; background: rgba(251, 251, 248, .9); }
.mk-note--r { top: auto !important; bottom: 12px; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(48px, 7vw, 96px); }
.hero h1 { font-size: clamp(2.5rem, 7vw, 6rem); font-weight: 900; letter-spacing: -.055em; line-height: 1.1; }
.hero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 60px; margin: 32px 0 clamp(44px, 6vw, 72px); flex-wrap: wrap; }
.hero__lead { max-width: 34em; color: var(--ailo-muted); font-size: clamp(1rem, 1.4vw, 1.1rem); }
.hero__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.strip--hero { transform: rotate(-1.5deg); width: 106%; margin-left: -3%; padding-top: 34px; box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .6); }
.strip--hero .strip__frames { gap: 18px; padding-inline: 4%; }
.strip--hero .frame--pick .mk-note { font-size: 2.1rem; }
.strip--hero .strip__edge--b { display: none; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.about__photo { position: relative; background: #fff; padding: 14px 14px 46px; box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .6); transform: rotate(-2deg); }
.about__photo img { aspect-ratio: 6 / 7.6; height: auto; }
.about__tag { position: absolute; left: 14px; bottom: 14px; font-family: var(--s20-mono); font-size: 0.875rem; letter-spacing: .1em; }
.typed { margin: 26px 0 34px; padding: 24px 26px; background: var(--s20-paper); border-left: 4px solid var(--ailo-fg); font-family: var(--s20-mono); font-size: 1rem; line-height: 1.85; }
.typed p + p { margin-top: 12px; }
.typed__sign { text-align: right; font-style: italic; }
.checks { counter-reset: c; }
.checks li { display: flex; gap: 20px; padding: 20px 0; border-top: 1px solid var(--ailo-line); }
.checks li:last-child { border-bottom: 1px solid var(--ailo-line); }
.checks__no { position: relative; flex: 0 0 52px; font-family: var(--s20-mono); font-weight: 700; font-size: 1.5rem; line-height: 1.2; }
.checks__no::after { content: "✓"; position: absolute; left: 22px; top: -10px; font-family: var(--s20-pen); font-size: 2.6rem; color: var(--s20-red); transform: rotate(8deg); font-weight: 600; }
.checks h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 4px; }
.checks p { color: var(--ailo-muted); }

/* ---------- Products ---------- */
.products { background: #e8e6e0; }
.prods { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 24px); }
.prod { position: relative; background: var(--s20-paper); padding: 12px 12px 22px; box-shadow: 0 1px 0 rgba(0, 0, 0, .06), 0 18px 34px -26px rgba(0, 0, 0, .6); transition: transform .3s var(--ailo-ease), box-shadow .3s; }
.prod:hover { transform: translateY(-6px); box-shadow: 0 26px 44px -26px rgba(0, 0, 0, .7); }
.prod__img { position: relative; overflow: hidden; }
.prod__img img { aspect-ratio: 13 / 10; height: auto; transition: transform .6s var(--ailo-ease); }
.prod:hover .prod__img img { transform: scale(1.05); }
.prod__img span { position: absolute; left: 0; top: 0; padding: 4px 8px; background: var(--ailo-fg); color: #fff; font-family: var(--s20-mono); font-size: 0.875rem; letter-spacing: .1em; }
.prod__body { padding: 18px 8px 0; }
.prod h3 { font-size: 1.2rem; font-weight: 800; }
.prod__price { margin: 6px 0 14px; font-weight: 600; color: var(--ailo-muted); }
.prod__price b { font-family: var(--s20-mono); font-size: 1.7rem; color: var(--ailo-fg); letter-spacing: -.02em; }
.prod__spec li { font-family: var(--s20-mono); font-size: .88rem; padding: 7px 0; border-top: 1px dashed var(--ailo-line); }
.prod__spec li::before { content: "— "; color: var(--s20-red); }
.prod--best { outline: 2px solid var(--ailo-fg); outline-offset: -2px; }
.prod__mk { position: absolute; right: 14px; top: 14px; z-index: 2; padding: 10px 16px; font-family: var(--s20-pen); font-size: 2rem; color: var(--s20-red); line-height: 1; transform: rotate(-8deg); background: rgba(251, 251, 248, .85); border-radius: 50%; font-weight: 600; }
.prod__mk .mk { left: -6%; top: -10%; width: 112%; height: 120%; stroke-width: 3px; }
.opts { width: 100%; max-width: 760px; margin: clamp(36px, 5vw, 56px) auto 0; border-collapse: collapse; font-family: var(--s20-mono); background: var(--s20-paper); }
.opts caption { caption-side: top; padding: 0 0 10px; font-weight: 700; color: var(--ailo-fg); letter-spacing: .1em; }
.opts th, .opts td { padding: 13px 18px; border-bottom: 1px dashed var(--ailo-line); }
.opts th { font-family: var(--ailo-font); font-weight: 700; }
.opts td { color: var(--ailo-muted); }
.opts td:last-child { text-align: right; color: var(--ailo-fg); font-weight: 700; white-space: nowrap; }

/* ---------- Contact sheet ---------- */
.sheet { background: #1c1c1c; color: #fff; }
.sheet .sec-sub { color: #aaa; }
.sheet__paper { position: relative; background: var(--s20-paper); padding: clamp(16px, 3vw, 36px); display: grid; gap: clamp(12px, 2vw, 18px); box-shadow: 0 40px 80px -40px #000; }
.sheet__paper::before { content: "DAMDA · CONTACT SHEET · ROLL 2611"; position: absolute; right: clamp(16px, 3vw, 36px); top: 6px; font-family: var(--s20-mono); font-size: 0.875rem; letter-spacing: .14em; color: #999; }
.strip--sheet { padding: 28px 0 46px; }
.strip--sheet .strip__frames { padding-inline: 12px; }
.strip--sheet .frame { cursor: zoom-in; transition: transform .35s var(--ailo-ease), box-shadow .35s; }
.strip--sheet .frame:hover, .strip--sheet .frame:focus-within { transform: scale(1.32); z-index: 5; box-shadow: 0 0 0 6px #fff, 0 0 0 9px var(--s20-red), 0 30px 50px -10px rgba(0, 0, 0, .8); }
.strip--sheet .frame:hover .mk, .strip--sheet .frame:hover .mk-note { opacity: 0; }
.strip--sheet .frame:not(.frame--pick) img { filter: contrast(1.05) brightness(.92); }
.sheet__memo { justify-self: end; position: relative; padding: 4px 0 0 110px; font-family: var(--s20-pen); font-size: 1.9rem; color: var(--s20-red); transform: rotate(-3deg); font-weight: 600; }
.sheet__memo .mk--arrow { left: 0; top: -20px; width: 100px; height: 50px; transform: scaleY(-1); }

/* ---------- Reviews ---------- */
.backs { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.back {
  margin: 0; padding: 28px 26px 24px; background-color: #ecebe6; position: relative;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='120'%3E%3Ctext x='0' y='60' transform='rotate(-18 110 60)' font-family='Courier New,monospace' font-size='13' letter-spacing='3' fill='%23000' fill-opacity='.06'%3EDAMDA PHOTO PAPER%3C/text%3E%3C/svg%3E");
  box-shadow: 0 16px 30px -24px rgba(0, 0, 0, .7);
}
.back:nth-child(2) { transform: rotate(1deg) translateY(14px); }
.back:nth-child(3) { transform: rotate(-1deg); }
.back__stars { font-family: var(--s20-pen); font-size: 2rem; line-height: 1; color: var(--s20-red); letter-spacing: 2px; margin-bottom: 12px; font-weight: 600; }
.back p:not(.back__stars) { font-family: var(--s20-mono); line-height: 1.8; }
.back cite { display: block; margin-top: 16px; padding-top: 12px; border-top: 1px dashed var(--ailo-line); font-style: normal; font-size: 0.875rem; color: var(--ailo-muted); }
.back cite span { font-weight: 800; color: var(--ailo-fg); }

/* ---------- News ---------- */
.news { padding-top: 0; }
.news__grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.news__grid .btn-ink { margin-top: 24px; }
.news__list { border-top: 2px solid var(--ailo-fg); }
.news__list a { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 22px 4px; border-bottom: 1px solid var(--ailo-line); transition: background .2s, padding .25s; }
.news__list a:hover, .news__list a:focus-visible { background: #fff; padding-inline: 14px; }
.neg { font-family: var(--s20-mono); font-size: 0.875rem; font-weight: 700; padding: 6px 8px; background: var(--ailo-fg); color: #fff; letter-spacing: .06em; }
.news__list h3 { font-size: 1.12rem; font-weight: 800; }
.news__list p { color: var(--ailo-muted); font-size: 1rem; }
.news__list time { font-family: var(--s20-mono); font-weight: 700; color: var(--ailo-muted); }
.news__list a:hover h3 { color: var(--s20-red); }

/* ---------- Hours + Visit ---------- */
.visit { background: #e8e6e0; }
.visit__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.vf { position: relative; margin: 26px 0; padding: 28px 30px; background: var(--s20-film); color: #fff; }
.vf__c { position: absolute; width: 22px; height: 22px; border: 0 solid #fff; }
.vf__c--tl { left: 10px; top: 10px; border-width: 2px 0 0 2px; }
.vf__c--tr { right: 10px; top: 10px; border-width: 2px 2px 0 0; }
.vf__c--bl { left: 10px; bottom: 10px; border-width: 0 0 2px 2px; }
.vf__c--br { right: 10px; bottom: 10px; border-width: 0 2px 2px 0; }
.vf__rec { display: flex; align-items: center; gap: 8px; font-family: var(--s20-mono); font-weight: 700; letter-spacing: .14em; font-size: 0.875rem; color: #aaa; }
.vf__dot { width: 12px; height: 12px; background: #777; }
.vf[data-state="open"] .vf__dot { border-radius: 50%; background: var(--s20-red); animation: s20-rec 1.2s steps(2) infinite; }
.vf[data-state="open"] .vf__rec { color: var(--s20-red); }
.vf[data-state="break"] .vf__dot { width: 4px; box-shadow: 7px 0 0 #fff; background: #fff; margin-right: 6px; }
@keyframes s20-rec { 50% { opacity: .15; } }
.vf strong { display: block; margin: 8px 0 2px; font-size: clamp(1.8rem, 3.4vw, 2.4rem); font-weight: 900; letter-spacing: -.04em; }
.vf__sub { font-family: var(--s20-mono); color: #cfcfcf; }
.h-tbl { width: 100%; border-collapse: collapse; font-family: var(--s20-mono); }
.h-tbl th, .h-tbl td { padding: 12px 14px; border-bottom: 1px dashed var(--ailo-line); }
.h-tbl th { font-weight: 700; width: 40%; }
.h-tbl td { text-align: right; }
.h-tbl tr[data-day="0"] td { color: var(--s20-red); font-family: var(--ailo-font); font-weight: 700; }
.h-tbl tr.is-today { background: var(--s20-paper); outline: 2px solid var(--ailo-fg); outline-offset: -2px; }
.h-tbl tr.is-today th::before { content: "▶ "; color: var(--s20-red); }
.h-memo { margin-top: 14px; font-size: 1rem; color: var(--ailo-muted); }

.map {
  position: relative; aspect-ratio: 16 / 11; overflow: hidden; background-color: #d9d7d1;
  background-image:
    linear-gradient(rgba(0, 0, 0, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, .06) 1px, transparent 1px),
    linear-gradient(35deg, transparent 46%, #f7f6f2 46% 52%, transparent 52%),
    linear-gradient(-55deg, transparent 58%, #f7f6f2 58% 62%, transparent 62%),
    linear-gradient(0deg, transparent 20%, #bcbab3 20% 34%, transparent 34%);
  background-size: 24px 24px, 24px 24px, 100% 100%, 100% 100%, 38% 100%;
  background-repeat: repeat, repeat, no-repeat, no-repeat, no-repeat;
  border: 2px solid var(--ailo-fg);
}
.map__cross { position: absolute; left: 50%; top: 46%; width: 90px; height: 90px; transform: translate(-50%, -50%); border: 1.5px solid rgba(0, 0, 0, .55); border-radius: 50%; }
.map__cross::before, .map__cross::after { content: ""; position: absolute; background: rgba(0, 0, 0, .55); }
.map__cross::before { left: 50%; top: -20px; bottom: -20px; width: 1.5px; }
.map__cross::after { top: 50%; left: -20px; right: -20px; height: 1.5px; }
.map__pin { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -100%); font-size: 2.6rem; color: var(--s20-red); filter: none; }
.map__label { position: absolute; left: calc(50% + 28px); top: calc(46% - 36px); padding: 3px 10px; background: var(--ailo-fg); color: #fff; font-family: var(--s20-mono); font-weight: 700; font-size: 0.875rem; }
.map__meta { position: absolute; left: 14px; top: 12px; font-family: var(--s20-mono); font-size: 0.875rem; color: #444; letter-spacing: .06em; }
.map__btns { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.map__btns .btn-ink { background: var(--s20-paper); }
.map__btns .btn-ink:hover { background: var(--ailo-fg); }
.way__dl { margin: 20px 0 0; }
.way__dl > div { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 13px 0; border-bottom: 1px dashed var(--ailo-line); }
.way__dl dt { font-family: var(--s20-mono); font-weight: 700; font-size: 0.875rem; letter-spacing: .08em; padding-top: 2px; }
.way__dl dd { margin: 0; color: var(--ailo-muted); }

/* ---------- Reserve (envelope) ---------- */
.env { max-width: 960px; margin-inline: auto; background: #e2dfd6; position: relative; padding: 0 clamp(22px, 5vw, 56px) clamp(26px, 5vw, 52px); box-shadow: 0 40px 70px -46px rgba(0, 0, 0, .8); }
.env__flap { display: flex; justify-content: space-between; gap: 16px; margin: 0 calc(-1 * clamp(22px, 5vw, 56px)) 30px; padding: 16px clamp(22px, 5vw, 56px) 38px; background: #d3cfc4; clip-path: polygon(0 0, 100% 0, 100% 62%, 50% 100%, 0 62%); font-family: var(--s20-mono); font-size: 0.875rem; font-weight: 700; letter-spacing: .1em; color: #555; }
.env__hd { margin-bottom: 26px; }
.kind { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
.kind__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kind legend { float: none; width: 100%; font-family: var(--s20-mono); font-weight: 700; font-size: 0.875rem; letter-spacing: .08em; margin-bottom: 10px; padding: 0; }
.kind label { position: relative; cursor: pointer; margin: 0; }
.kind input { position: absolute; inset: 0; opacity: 0; }
.kind span { display: block; padding: 16px 8px; text-align: center; background: var(--s20-film); color: #ddd; font-weight: 700; border: 2px solid var(--s20-film); position: relative; transition: background .2s, color .2s; }
.kind span::before { content: ""; position: absolute; left: 0; right: 0; top: 3px; height: 6px; background: var(--s20-holes) 0 50% / 14px 8px repeat-x; opacity: .6; }
.kind label:hover span { color: #fff; }
.kind input:checked + span { background: var(--s20-paper); color: var(--s20-red); border-color: var(--s20-red); box-shadow: 0 0 0 3px var(--s20-red); }
.kind input:checked + span::before { opacity: 0; }
.kind input:focus-visible + span { outline: 2px solid var(--ailo-accent); outline-offset: 4px; }
.env__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 22px; }
.fld--full { grid-column: 1 / -1; }
.fld label { display: block; font-family: var(--s20-mono); font-weight: 700; font-size: 0.875rem; letter-spacing: .06em; margin-bottom: 6px; }
.fld input, .fld select, .fld textarea {
  width: 100%; border: 0; border-bottom: 2px solid var(--ailo-fg); background: rgba(255, 255, 255, .55); padding: 11px 12px; border-radius: 0; color: var(--ailo-fg); font-family: var(--s20-mono); font-size: 1rem;
}
.fld textarea { border: 2px solid var(--ailo-fg); resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; background: #fff; border-color: var(--s20-red); }
.env__ft { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 28px; flex-wrap: wrap; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ailo-muted); max-width: 540px; cursor: pointer; }
.agree input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--s20-red); }
.agree a { text-decoration: underline; color: var(--ailo-fg); }

/* ---------- Footer ---------- */
.ft { position: relative; background: var(--s20-film); color: #bdbdbd; padding: clamp(56px, 7vw, 80px) 0 clamp(40px, 5vw, 56px); }
.ft::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 18px; background: var(--s20-holes) 0 0 / 30px 18px repeat-x; }
.ft__in { display: grid; grid-template-columns: auto 1fr auto; gap: 32px 56px; align-items: start; }
.logo--ft { color: #fff; }
.ft__slogan { margin-top: 14px; font-family: var(--s20-pen); font-size: 1.6rem; color: var(--s20-red); font-weight: 600; }
.ft__info p { font-size: 0.9375rem; line-height: 1.85; }
.ft__info b { color: #fff; }
.ft__links { display: flex; gap: 18px; margin: 6px 0; font-size: .9rem; }
.ft__links a:hover { color: #fff; }
.ft__links strong { color: #fff; }
.ft__copy { font-family: var(--s20-mono); font-size: 0.875rem !important; color: #888; }
.ft__sns { display: flex; gap: 8px; }
.ft__sns a { width: 44px; height: 44px; display: grid; place-items: center; border: 1.5px solid #444; color: #fff; transition: background .2s, border-color .2s; }
.ft__sns a:hover, .ft__sns a:focus-visible { background: var(--s20-red); border-color: var(--s20-red); color: #fff; }

.mbar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .btn-tel { display: none; }
  .prods { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991.98px) {
  :root { --ailo-header-h: 64px; }
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  .gnb, .hd__cta { display: none; }
  .hd__frame { margin-left: auto; }
  .about__grid, .visit__grid, .news__grid { grid-template-columns: 1fr; }
  .about__photo { max-width: 420px; }
  .backs { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .back:nth-child(n) { transform: none; }
  .strip--hero .strip__frames, .strip--sheet .strip__frames {
    grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 26px; margin-bottom: -26px; padding-top: 44px; margin-top: -44px;
  }
  .strip__frames::-webkit-scrollbar { display: none; }
  .strip .frame { scroll-snap-align: center; }
  .strip--sheet .frame:hover, .strip--sheet .frame:focus-within { transform: none; box-shadow: none; }
  .strip--sheet .frame:hover .mk, .strip--sheet .frame:hover .mk-note { opacity: 1; }
  .env__grid { grid-template-columns: repeat(2, 1fr); }
  .ft__in { grid-template-columns: 1fr; }

  .mbar {
    display: grid; grid-template-columns: 1fr 1.3fr 1fr; position: fixed; z-index: 105; left: 0; right: 0; bottom: 0;
    background: var(--s20-film); padding: 22px 10px calc(10px + env(safe-area-inset-bottom)); gap: 8px;
  }
  .mbar::before { content: ""; position: absolute; left: 0; right: 0; top: 3px; height: 14px; background: var(--s20-holes) 0 0 / 24px 14px repeat-x; opacity: .9; }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; color: #fff; font-weight: 700; font-size: .92rem; border: 1.5px solid #3a3a3a; }
  .mbar a.is-main { background: var(--s20-red); border-color: var(--s20-red); }
  html.nav-open .mbar { display: none; }
}
@media (max-width: 575.98px) {
  .hd__frame { font-size: 0.875rem; padding: 3px 8px; }
  .hero h1 { font-size: clamp(2.2rem, 10.6vw, 3rem); }
  .hero__btns > * { flex: 1 1 100%; }
  .strip--hero { transform: none; width: 100%; margin-left: 0; }
  .strip--hero .strip__frames, .strip--sheet .strip__frames { grid-auto-columns: 78%; }
  .strip--hero .frame--pick .mk-note { font-size: 1.7rem; }
  .hero__btns { width: 100%; }
  .strip__edge span:nth-child(n+5) { display: none; }
  .typed { padding: 18px; font-size: .92rem; }
  .prods { grid-template-columns: 1fr; }
  .opts th, .opts td { padding: 11px 8px; font-size: .88rem; }
  .opts td:nth-child(2) { display: none; }
  .sheet__paper { padding: 22px 10px 16px; }
  .sheet__paper::before { left: 10px; right: auto; font-size: 0.875rem; }
  .sheet__memo { font-size: 1.5rem; padding-left: 80px; }
  .sheet__memo .mk--arrow { width: 72px; }
  .news__list a { grid-template-columns: 1fr auto; gap: 6px 12px; }
  .news__list .neg { grid-column: 1 / -1; justify-self: start; }
  .news__list a > div { grid-column: 1; }
  .vf { padding: 24px 22px; }
  .h-tbl th, .h-tbl td { padding: 11px 8px; font-size: .92rem; }
  .map { aspect-ratio: 4 / 5; }
  .way__dl > div { grid-template-columns: 1fr; gap: 2px; }
  .env__flap span:last-child { display: none; }
  .kind__row { grid-template-columns: repeat(2, 1fr); }
  .env__grid { grid-template-columns: 1fr; }
  .env__ft .btn-red { width: 100%; }
}
@media (hover: none) {
  .prod:hover { transform: none; }
}
