:root {
  --bg: #fff9f2;
  --surface: #fff;
  --surface-soft: #fff1e2;
  --ink: #2b2743;
  --muted: #5f5975;
  --line: #2b2743;
  --pink: #ff8fab;
  --teal: #3ec3c9;
  --lavender: #9d8df1;
  --yellow: #ffd166;
  --accent: var(--pink);
  --shadow-pop: 5px 5px 0 var(--ink);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --max: 1160px;
  color-scheme: light;
}

.dark {
  --bg: #201c33;
  --surface: #2b2743;
  --surface-soft: #353052;
  --ink: #f4efff;
  --muted: #cbc5dd;
  --line: #f4efff;
  --pink: #ff9eb8;
  --teal: #5fd9de;
  --lavender: #b3a6ff;
  --yellow: #ffdc85;
  --shadow-pop: 5px 5px 0 rgba(0, 0, 0, .55);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { max-width: 100%; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 80px; text-rendering: auto; -webkit-font-smoothing: auto; -moz-osx-font-smoothing: auto; }
body { max-width: 100%; margin: 0; overflow-x: clip; background: var(--bg); color: var(--ink); font-family: "M PLUS Rounded 1c", sans-serif; line-height: 1.9; transition: background-color .2s, color .2s; }
html[lang="ko"] body { font-family: "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif; word-break: keep-all; }
html[lang="zh-Hans"] body { font-family: "Noto Sans SC", "Microsoft YaHei UI", system-ui, sans-serif; line-break: strict; }
body.locked { overflow: hidden; touch-action: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
:focus-visible { outline: 4px solid var(--teal); outline-offset: 3px; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 200; padding: 10px 16px; border: 2px solid var(--line); border-radius: var(--radius-pill); background: var(--surface); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.honeypot { display: none; }
.muted { color: var(--muted); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; border-bottom: 2px solid transparent; transition: background .2s, border-color .2s; }
.site-header.scrolled { border-color: color-mix(in srgb, var(--line) 24%, transparent); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); }
.header-inner { width: min(calc(100% - 24px), var(--max)); min-height: 72px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font-family: Fredoka, sans-serif; font-size: 1.15rem; font-weight: 700; letter-spacing: .02em; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border: 2px solid var(--line); border-radius: 50%; background: var(--pink); box-shadow: 2px 2px 0 var(--ink); line-height: 1; }
.desktop-nav { display: none; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.language-switcher { position: relative; flex: 0 0 auto; font-family: "M PLUS Rounded 1c", "Yu Gothic UI", Meiryo, system-ui, sans-serif; }
.language-toggle { min-width: 78px; height: 44px; padding: 3px 10px 3px 5px; display: inline-flex; align-items: center; gap: 7px; border: 2px solid var(--line); border-radius: var(--radius-pill); background: var(--surface); color: var(--ink); box-shadow: 2px 2px 0 var(--ink); cursor: pointer; font-weight: 800; line-height: 1; transition: transform .15s, box-shadow .15s, background-color .15s; }
.language-icon { position: relative; flex: 0 0 auto; width: 30px; height: 30px; display: grid; place-items: center; border: 2px solid var(--line); border-radius: 50%; background: var(--pink); font-family: Fredoka, sans-serif; font-size: .78rem; font-weight: 700; line-height: 1; }
.language-icon::after { content: 'あ'; position: absolute; right: -3px; bottom: -3px; width: 15px; height: 15px; display: grid; place-items: center; border: 1.5px solid var(--line); border-radius: 50%; background: var(--yellow); font-family: "M PLUS Rounded 1c", sans-serif; font-size: .5rem; font-weight: 800; }
.language-current { min-width: 20px; font-family: Fredoka, sans-serif; font-size: .82rem; letter-spacing: .04em; text-align: center; }
.language-chevron { width: 8px; height: 8px; margin: -4px 0 0 -1px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .18s, margin .18s; }
.language-switcher.open .language-chevron { margin: 4px 0 0 -1px; transform: rotate(225deg); }
.language-menu { position: absolute; top: calc(100% + 10px); right: 0; z-index: 120; width: 184px; padding: 8px; border: 2px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: 5px 5px 0 var(--ink); }
.language-menu::before { content: ''; position: absolute; top: -7px; right: 25px; width: 12px; height: 12px; border: 2px solid var(--line); border-right: 0; border-bottom: 0; background: var(--surface); transform: rotate(45deg); }
.language-menu[hidden] { display: none; }
.language-menu button { position: relative; width: 100%; min-height: 42px; padding: 5px 10px; display: flex; align-items: center; gap: 10px; border: 0; border-radius: 13px; background: transparent; color: var(--ink); cursor: pointer; font-size: .86rem; font-weight: 700; text-align: left; }
.language-menu button + button { margin-top: 2px; }
.language-menu button > span { width: 31px; height: 25px; display: grid; place-items: center; flex: 0 0 auto; border: 1.5px solid var(--line); border-radius: var(--radius-pill); background: var(--surface-soft); font-family: Fredoka, sans-serif; font-size: .66rem; font-weight: 700; }
.language-menu button[aria-selected="true"] { background: color-mix(in srgb, var(--pink) 48%, var(--surface)); }
.language-menu button[aria-selected="true"]::after { content: '✓'; margin-left: auto; color: var(--ink); font-weight: 800; }
html[lang="ko"] .language-switcher { font-family: "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif; }
html[lang="zh-Hans"] .language-switcher { font-family: "Noto Sans SC", "Microsoft YaHei UI", system-ui, sans-serif; }
html[lang="ko"] .contact-form label > span, html[lang="ko"] .contact-form legend > span { font-family: "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif; }
html[lang="zh-Hans"] .contact-form label > span, html[lang="zh-Hans"] .contact-form legend > span { font-family: "Noto Sans SC", "Microsoft YaHei UI", system-ui, sans-serif; }
.icon-button { width: 44px; height: 44px; display: grid; place-items: center; border: 2px solid var(--line); border-radius: 50%; background: var(--surface); cursor: pointer; font-size: 1.25rem; box-shadow: 2px 2px 0 var(--ink); }
.header-contact { display: none !important; }
.mobile-menu { position: fixed; inset: 0; z-index: 90; padding: 112px 24px 40px; background: var(--bg); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { width: min(100%, 420px); min-height: 58px; margin: 0 auto 10px; display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid var(--line); font-family: Fredoka, sans-serif; font-size: clamp(2rem, 11vw, 3.2rem); font-weight: 600; line-height: 1.2; }
.mobile-menu a::after { content: "→"; color: var(--pink); }

@media (max-width: 359px) {
  .brand > span:last-child { display: none; }
}

.hero { min-height: 100svh; position: relative; display: grid; align-items: center; padding: 104px 0 76px; overflow: hidden; }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 54px; }
.kicker { margin: 0 0 8px; color: var(--muted); font-family: Fredoka, sans-serif; font-size: .76rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.hero h1, .section-heading h2 { margin: 0; font-family: Fredoka, sans-serif; font-weight: 700; line-height: .95; letter-spacing: .01em; }
.hero h1 { max-width: 100%; font-size: clamp(3.7rem, 19vw, 6.5rem); white-space: nowrap; }
.hero h1 span { color: var(--pink); }
.hero-lead { max-width: 640px; margin: 24px 0 0; font-size: 1rem; font-weight: 500; }
.hero-sparkles { position: relative; height: 18px; margin-top: 14px; }
.hero-sparkles i { position: absolute; display: grid; place-items: center; width: 30px; height: 30px; border: 2px solid var(--line); border-radius: 9px; background: var(--yellow); box-shadow: 2px 2px 0 var(--ink); font-style: normal; transform: rotate(-8deg); }
.hero-sparkles i:nth-child(2) { left: 40px; top: 4px; background: var(--teal); transform: rotate(9deg); }
.hero-sparkles i:nth-child(3) { left: 82px; top: -5px; background: var(--lavender); transform: rotate(-3deg); }
.button-row { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 48px; padding: 11px 22px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--line); border-radius: var(--radius-pill); background: var(--surface); color: var(--ink); font-weight: 800; cursor: pointer; box-shadow: var(--shadow-pop); transition: transform .15s, box-shadow .15s, background-color .15s; }
.button-primary { background: var(--pink); }
.button-ghost { background: var(--surface); }
.button-small { min-height: 44px; padding: 8px 18px; }
.button:active, .icon-button:active, .filter-button:active, .contact-chip:active, .recipient-chip:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.hero-collage { position: relative; min-height: 310px; width: min(100%, 430px); margin-inline: auto; }
.polaroid { position: absolute; width: 62%; margin: 0; padding: 9px 9px 28px; border: 2px solid var(--line); border-radius: 10px; background: #fff; box-shadow: var(--shadow-pop); transition: opacity .5s, transform .5s; }
.polaroid-media { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 4px; background: var(--surface-soft); }
.polaroid-media::before { content: ''; position: absolute; left: 50%; top: 50%; width: 28px; height: 28px; margin: -18px 0 0 -18px; border: 4px solid color-mix(in srgb, var(--ink) 16%, transparent); border-top-color: var(--accent-red); border-radius: 50%; animation: hero-loading-spin .8s linear infinite; }
.polaroid-media::after { content: '読み込み中'; position: absolute; left: 50%; top: calc(50% + 23px); transform: translateX(-50%); color: var(--muted); font-size: .68rem; font-weight: 700; letter-spacing: .08em; white-space: nowrap; }
html[data-language="en"] .polaroid-media::after { content: 'Loading'; }
html[data-language="ko"] .polaroid-media::after { content: '불러오는 중'; }
html[data-language="zh"] .polaroid-media::after { content: '加载中'; }
@keyframes hero-loading-spin { to { transform: rotate(360deg); } }
.polaroid img { width: 100%; height: 100%; object-fit: cover; }
.polaroid img.crop-ready { position: absolute; z-index: 1; max-width: none; object-fit: fill; transform-origin: center; }
.polaroid-a { top: 5%; left: 1%; transform: rotate(-6deg); }
.polaroid-b { top: 21%; right: 2%; transform: rotate(3deg); z-index: 2; }
.polaroid-c { top: 45%; left: 18%; transform: rotate(-2deg); z-index: 3; }
.polaroid.swapping { opacity: 0; transform: translateY(-26px) rotate(2deg) scale(.96); }
.blob { position: absolute; z-index: 0; border-radius: 50%; filter: blur(4px); pointer-events: none; }
.blob-one { width: 260px; height: 260px; top: 5%; right: -100px; background: color-mix(in srgb, var(--lavender) 11%, transparent); }
.blob-two { width: 220px; height: 220px; bottom: 5%; left: -95px; background: color-mix(in srgb, var(--teal) 10%, transparent); }

.section { position: relative; overflow: clip; padding: 72px 0; }
.section-heading { max-width: 720px; margin-bottom: 36px; }
.section-heading h2 { font-size: clamp(2.9rem, 14vw, 6.5rem); }
.section-heading h2 span { background: linear-gradient(transparent 72%, color-mix(in srgb, var(--pink) 75%, transparent) 72% 90%, transparent 90%); }
.section-heading > p:last-child { margin: 22px 0 0; font-weight: 600; }
.service-grid { display: grid; gap: 24px; }
.service-card { position: relative; min-height: 280px; padding: 24px; overflow: hidden; isolation: isolate; border: 2px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-pop); }
.service-card::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--service-image) center / cover no-repeat; opacity: .44; }
.service-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--surface) 20%, color-mix(in srgb, var(--surface) 92%, transparent) 56%, color-mix(in srgb, var(--surface) 28%, transparent)); }
.service-card .number { width: 46px; height: 46px; display: grid; place-items: center; border: 2px solid var(--line); border-radius: 50%; background: var(--yellow); font-family: Fredoka, sans-serif; font-weight: 700; box-shadow: 2px 2px 0 var(--ink); }
.service-label { margin: 34px 0 2px; color: var(--pink); font-family: Fredoka, sans-serif; font-size: .88rem; font-weight: 600; letter-spacing: .08em; }
.service-card h3 { margin: 0; font-size: 1.35rem; }
.service-card > p:last-child { max-width: 90%; margin: 12px 0 0; line-height: 1.75; font-size: .94rem; font-weight: 600; }
.blob-three { width: 320px; height: 320px; right: -170px; top: 18%; background: color-mix(in srgb, var(--lavender) 10%, transparent); }

.marquee { position: relative; z-index: 3; overflow: hidden; border-block: 2px solid var(--line); background: var(--yellow); color: var(--ink); transform: rotate(-1deg) scale(1.02); }
.marquee-track { width: max-content; display: flex; animation: marquee 32s linear infinite; }
.marquee-group { flex: 0 0 auto; padding: 13px 24px 13px 0; white-space: nowrap; font-family: Fredoka, sans-serif; font-size: 1.35rem; font-weight: 700; letter-spacing: .06em; color: transparent; -webkit-text-stroke: 1.2px var(--ink); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.works { background: var(--surface-soft); }
.filter-shell { position: relative; margin: -6px -20px 28px; overflow: hidden; }
.filter-shell::before, .filter-shell::after { content: ""; position: absolute; top: 0; bottom: 0; z-index: 2; width: 34px; pointer-events: none; }
.filter-shell::before { left: 0; background: linear-gradient(90deg, var(--surface-soft), transparent); }
.filter-shell::after { right: 0; background: linear-gradient(-90deg, var(--surface-soft), transparent); }
.filter-row { padding: 8px 20px 13px; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.filter-row::-webkit-scrollbar { display: none; }
.filter-button, .contact-chip { min-width: max-content; min-height: 44px; padding: 8px 18px; border: 2px solid var(--line); border-radius: var(--radius-pill); background: var(--surface); font-family: Fredoka, "M PLUS Rounded 1c", sans-serif; font-weight: 700; cursor: pointer; box-shadow: 3px 3px 0 var(--ink); }
.filter-button.active, .contact-chip.active { background: var(--pink); }
.portfolio-grid { display: grid; gap: 24px; }
.portfolio-card { overflow: hidden; border: 2px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-pop); cursor: pointer; transition: transform .18s, box-shadow .18s; }
.portfolio-image-wrap { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; border-bottom: 2px solid var(--line); background: var(--surface-soft); }
.portfolio-card img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-card img.crop-ready { position: absolute; max-width: none; object-fit: fill; transform-origin: center; }
.play-badge { position: absolute; inset: 50% auto auto 50%; width: 56px; height: 56px; display: grid; place-items: center; border: 2px solid var(--line); border-radius: 50%; background: var(--pink); box-shadow: 3px 3px 0 var(--ink); transform: translate(-50%, -50%); }
.portfolio-content { padding: 18px 20px 20px; display: block; text-align: left; }
.category-badge { display: inline-flex; min-height: 28px; align-items: center; padding: 2px 10px; border: 2px solid var(--line); border-radius: var(--radius-pill); background: var(--yellow); font-size: .72rem; font-weight: 800; line-height: 1; }
.portfolio-title { display: block; margin: 11px 0 0; font-family: "M PLUS Rounded 1c", sans-serif; font-size: 1.08rem; font-weight: 800; line-height: 1.5; }
.portfolio-card { width: 100%; padding: 0; color: inherit; text-align: left; }
.state-card { grid-column: 1 / -1; margin: 0; padding: 30px; border: 2px dashed var(--line); border-radius: var(--radius-lg); color: var(--muted); text-align: center; }
.center { margin-top: 34px; text-align: center; }

.about-grid { display: grid; gap: 52px; align-items: center; }
.about-photo { width: min(88%, 500px); margin: 0 auto; padding: 10px 10px 34px; border: 2px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow-pop); transform: rotate(-2.5deg); }
.about-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.about-copy .section-heading { margin-bottom: 28px; }
.about-copy > p { margin: 0 0 18px; font-weight: 600; }
.about-copy .button { margin-top: 14px; }
.blob-four { width: 300px; height: 300px; left: -170px; top: 25%; background: color-mix(in srgb, var(--teal) 10%, transparent); }

.members { background: var(--surface-soft); }
.member-grid { display: grid; gap: 24px; }
.member-card { display: grid; grid-template-columns: 94px 1fr; align-items: center; gap: 20px; padding: 22px; border: 2px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-pop); }
.member-card > img { width: 94px; height: 94px; object-fit: cover; border: 2px solid var(--line); border-radius: 50%; background: var(--surface-soft); }
.member-card h3 { margin: 0; font-size: 1.22rem; }
.member-role { margin: 2px 0 10px; color: var(--pink); font-family: Fredoka, "M PLUS Rounded 1c", sans-serif; font-weight: 700; line-height: 1.4; }
.sns-row { display: flex; flex-wrap: wrap; gap: 7px; }
.sns-link { --sns-color: var(--teal); width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--line); border-radius: 50%; background: color-mix(in srgb, var(--sns-color) 18%, var(--surface)); color: var(--ink); box-shadow: 2px 2px 0 var(--ink); transition: transform .15s, box-shadow .15s, background-color .15s; }
.sns-link[data-platform="x"] { --sns-color: var(--ink); }
.sns-link[data-platform="youtube"] { --sns-color: var(--pink); }
.sns-link[data-platform="instagram"], .sns-link[data-platform="twitch"] { --sns-color: var(--lavender); }
.sns-link[data-platform="tiktok"] { --sns-color: var(--teal); }
.sns-link svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sns-link[data-platform="x"] svg, .sns-link[data-platform="tiktok"] svg { fill: currentColor; stroke: none; }

.contact-grid { display: grid; gap: 38px; align-items: start; }
.contact-note { margin-top: 28px; padding: 18px; display: grid; border: 2px solid var(--line); border-radius: var(--radius-md); background: var(--yellow); color: #2b2743; box-shadow: 4px 4px 0 var(--ink); }
.contact-note span { font-size: .88rem; font-weight: 600; }
.contact-form { position: relative; padding: 24px; display: grid; gap: 22px; border: 2px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-pop); }
.contact-form label, .contact-form legend { display: grid; gap: 7px; font-family: Fredoka, "M PLUS Rounded 1c", sans-serif; font-weight: 700; }
.contact-form label > span, .contact-form legend > span { color: var(--muted); font-family: "M PLUS Rounded 1c", sans-serif; font-size: .8rem; font-weight: 600; line-height: 1.55; }
.contact-form input, .contact-form textarea { width: 100%; min-height: 50px; border: 2px solid var(--line); border-radius: var(--radius-md); background: var(--bg); color: var(--ink); padding: 11px 14px; font-size: 16px; }
.contact-form textarea { min-height: 220px; resize: vertical; }
.contact-form textarea::placeholder { color: var(--muted); opacity: 1; font-weight: 600; line-height: 1.75; }
.contact-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.contact-categories, .contact-recipients { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 10px; }
.recipient-chip { min-height: 48px; padding: 9px 18px; border: 2px solid var(--line); border-radius: var(--radius-pill); background: var(--surface-soft); color: var(--ink); font-weight: 800; cursor: pointer; box-shadow: 3px 3px 0 var(--ink); }
.recipient-chip.active { background: var(--pink); }
.submit-button { width: 100%; }
.blob-five { width: 300px; height: 300px; right: -180px; bottom: 10%; background: color-mix(in srgb, var(--lavender) 11%, transparent); }
.success-card { position: fixed; right: 18px; bottom: 18px; z-index: 130; max-width: min(380px, calc(100% - 36px)); padding: 16px 20px; border: 2px solid var(--line); border-radius: var(--radius-md); background: var(--teal); color: #201c33; font-weight: 800; box-shadow: var(--shadow-pop); }

.site-footer { padding: 48px 0; background: #2b2743; color: #f4efff; }
.footer-inner { display: grid; gap: 22px; justify-items: start; }
.footer-brand .brand-mark { border-color: #f4efff; color: #2b2743; box-shadow: 2px 2px 0 #f4efff; }
.footer-sns { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-sns .sns-link { border-color: #f4efff; background: color-mix(in srgb, var(--sns-color) 28%, #2b2743); color: #f4efff; box-shadow: 2px 2px 0 #f4efff; }
.site-footer p { margin: 0; color: #e0dbea; font-size: .82rem; font-weight: 600; }

.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 18px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(15, 12, 28, .78); backdrop-filter: blur(5px); }
.modal-panel { position: relative; z-index: 1; width: min(100%, 940px); max-height: calc(100svh - 36px); overflow: auto; padding: 58px 18px 18px; border: 2px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: 8px 8px 0 rgba(0, 0, 0, .45); }
.modal-close { position: absolute; top: 10px; right: 10px; width: 48px; height: 48px; display: grid; place-items: center; border: 2px solid var(--line); border-radius: 50%; background: var(--pink); cursor: pointer; font-size: 1.8rem; line-height: 1; box-shadow: 3px 3px 0 var(--ink); }
.modal-media { width: 100%; max-height: 72svh; object-fit: contain; border-radius: var(--radius-md); }
.aspect-video { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-md); background: #000; }
.aspect-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.modal-action { margin-top: 18px; }

.reveal { opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (hover: hover) {
  .button:hover, .icon-button:hover, .language-toggle:hover, .filter-button:hover, .contact-chip:hover, .recipient-chip:hover, .portfolio-card:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--ink); }
  .language-menu button:hover { background: color-mix(in srgb, var(--yellow) 58%, var(--surface)); }
  .desktop-nav a::after { content: ""; display: block; width: 0; height: 3px; border-radius: 3px; background: var(--pink); transition: width .18s; }
  .desktop-nav a:hover::after { width: 100%; }
  .sns-link:hover { transform: translate(-2px, -2px); background: var(--sns-color); color: #201c33; box-shadow: 5px 5px 0 var(--ink); }
  .sns-link[data-platform="x"]:hover { color: var(--bg); }
  .footer-sns .sns-link:hover { box-shadow: 5px 5px 0 #f4efff; }
}

@media (min-width: 600px) {
  .container { width: min(calc(100% - 64px), var(--max)); }
  .header-inner { width: min(calc(100% - 40px), var(--max)); }
  .header-contact { display: inline-flex !important; }
  .header-actions { gap: 8px; }
  .language-toggle { min-width: 84px; padding-right: 12px; gap: 8px; }
  .hero { padding-top: 116px; }
  .hero-collage { min-height: 440px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .member-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .member-card { grid-template-columns: 84px 1fr; }
  .member-card > img { width: 84px; height: 84px; }
  .contact-form { padding: 34px; }
  .modal-panel { padding: 68px 28px 28px; }
}

@media (min-width: 960px) {
  .section { padding: 120px 0; }
  .header-inner { min-height: 80px; }
  .desktop-nav { display: flex; align-items: center; gap: 30px; font-family: Fredoka, sans-serif; font-weight: 600; }
  .desktop-nav a { min-height: 44px; display: grid; place-items: center; }
  .menu-toggle { display: none; }
  .hero { padding: 128px 0 92px; }
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr); align-items: center; gap: 40px; }
  .hero h1 { font-size: clamp(5rem, 8.5vw, 7.25rem); }
  .hero-lead { font-size: 1.08rem; }
  .hero-collage { min-height: 520px; width: 100%; }
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .portfolio-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .filter-shell { margin-inline: 0; }
  .filter-row { padding-inline: 0; }
  .filter-shell::before, .filter-shell::after { display: none; }
  .about-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 86px; }
  .contact-grid { grid-template-columns: minmax(0, .82fr) minmax(520px, 1.18fr); gap: 72px; }
  .footer-inner { grid-template-columns: auto 1fr auto; align-items: center; }
  .footer-sns { justify-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee div { animation: none; }
  .reveal { opacity: 1; transform: none; }
}
