:root {
  color-scheme: light;
  --ink: #17383b;
  --muted: #688083;
  --paper: #fff9ed;
  --white: #fffefa;
  --cyan: #38b9d3;
  --cyan-dark: #137c92;
  --yellow: #ffe11a;
  --orange: #ff7c3d;
  --teal: #1e7580;
  --line: rgba(23, 56, 59, .15);
  --shadow: 0 14px 38px rgba(33, 75, 74, .09);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); }
button, input, select, textarea { font: inherit; }
a { color: inherit; }
button { color: inherit; }
.visually-hidden, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; z-index: 99; top: 12px; left: 12px; padding: 12px 16px; color: #fff; background: var(--ink); border-radius: 10px; }

.site-header { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; width: min(1180px, calc(100% - 48px)); height: 82px; margin: 0 auto; }
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; }
.brand-mark { display: grid; width: 43px; height: 43px; place-items: center; border: 2px solid var(--ink); border-radius: 15px 13px 16px 12px; color: var(--orange); background: var(--yellow); font-family: "DM Sans", sans-serif; font-size: 17px; font-weight: 900; letter-spacing: -1.5px; transform: rotate(-5deg); }
.brand-name { font-size: 14px; letter-spacing: .03em; }
.main-nav { display: flex; align-items: center; gap: 34px; font-size: 13px; font-weight: 700; }
.main-nav a { text-decoration: none; transition: color .18s ease; }
.main-nav a:hover, .text-link:hover, .footer-source:hover { color: var(--cyan-dark); }
.main-nav .nav-submit { display: inline-flex; align-items: center; gap: 8px; padding: 11px 17px; border: 1px solid var(--ink); border-radius: 99px; }
.main-nav .nav-submit:hover { color: var(--white); background: var(--ink); }

.hero { position: relative; display: grid; grid-template-columns: 1fr .78fr; align-items: center; width: min(1180px, calc(100% - 48px)); min-height: 570px; margin: 10px auto 95px; padding: 55px 5.5% 62px; overflow: hidden; border-radius: 34px; background: var(--cyan); }
.hero::before { position: absolute; top: -154px; right: -84px; width: 410px; height: 410px; border: 1px solid rgba(255,255,255,.27); border-radius: 50%; content: ""; }
.hero::after { position: absolute; right: 42%; bottom: -235px; width: 470px; height: 470px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; content: ""; }
.hero-copy { position: relative; z-index: 2; max-width: 590px; }
.eyebrow, .section-kicker { margin: 0 0 14px; color: var(--cyan-dark); font-family: "DM Sans", "Noto Sans JP", sans-serif; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 8px 13px; border: 1px solid rgba(23,56,59,.2); border-radius: 99px; color: var(--ink); background: rgba(255,255,255,.65); letter-spacing: .02em; text-transform: none; }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255,124,61,.15); }
.hero h1 { margin: 25px 0 21px; font-size: clamp(42px, 6.1vw, 76px); font-weight: 900; line-height: 1.24; letter-spacing: -.075em; }
.hero h1 span { text-decoration: underline; text-decoration-thickness: 7px; text-decoration-color: var(--yellow); text-underline-offset: 9px; }
.hero-intro { margin: 0; font-size: 15px; font-weight: 600; line-height: 2.05; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 30px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 16px; padding: 0 21px; border: 0; border-radius: 999px; text-decoration: none; font-size: 13px; font-weight: 800; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(23,56,59,.17); }
.button-primary { color: var(--white); background: var(--ink); }
.button-primary:hover:not(:disabled) { background: #0e292c; }
.button:disabled { opacity: .45; cursor: not-allowed; }
.text-link { font-size: 13px; font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.hero-footnote { margin: 18px 0 0; color: rgba(23,56,59,.75); font-size: 11px; font-weight: 600; }
.hero-art { position: relative; z-index: 1; display: grid; min-height: 360px; place-items: center; }
.art-frame { position: relative; z-index: 2; width: min(73%, 315px); overflow: hidden; border: 8px solid var(--white); border-radius: 47% 47% 42% 42% / 38% 38% 46% 46%; background: var(--white); box-shadow: 0 18px 0 rgba(23,56,59,.13), 0 26px 45px rgba(23,56,59,.13); transform: rotate(3deg); }
.art-frame img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.art-caption { position: absolute; z-index: 3; right: 4%; bottom: 9%; padding: 9px 14px; border: 1px solid var(--ink); border-radius: 99px; background: var(--yellow); font-size: 11px; font-weight: 800; transform: rotate(-6deg); }
.orbit { position: absolute; border: 1px solid rgba(255,255,255,.52); border-radius: 50%; }
.orbit-one { width: 365px; height: 365px; }
.orbit-two { width: 440px; height: 440px; }
.spark { position: absolute; z-index: 4; color: var(--yellow); font-size: 35px; line-height: 1; }
.spark-one { top: 14%; right: 11%; transform: rotate(14deg); }
.spark-two { bottom: 16%; left: 10%; font-size: 23px; transform: rotate(-15deg); }
.hero-sticker { position: absolute; z-index: 4; right: 43%; bottom: 28px; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border: 2px solid var(--ink); border-radius: 13px 11px 16px 12px; background: var(--yellow); box-shadow: 3px 4px 0 var(--ink); font-size: 10px; font-weight: 800; line-height: 1.45; text-decoration: none; transform: rotate(-4deg); }
.sticker-arrow { font-size: 17px; }

.section-wrap { width: min(1080px, calc(100% - 48px)); margin-right: auto; margin-left: auto; }
.works-section { padding: 8px 0 95px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 29px; }
.section-kicker { margin-bottom: 8px; }
.section-heading h2, .about-heading h2, .submit-copy h2 { margin: 0; font-size: clamp(28px, 4vw, 42px); font-weight: 900; line-height: 1.35; letter-spacing: -.06em; }
.section-description { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.count-badge { margin-bottom: 4px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); background: rgba(255,255,255,.65); font-size: 11px; font-weight: 700; white-space: nowrap; }
.gallery-tools { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 25px; }
.filter-list { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip { min-height: 36px; padding: 0 13px; border: 1px solid var(--line); border-radius: 99px; background: transparent; font-size: 11px; font-weight: 700; cursor: pointer; transition: color .18s ease, background .18s ease, border .18s ease; }
.filter-chip:hover { border-color: var(--ink); }
.filter-chip.is-active { border-color: var(--ink); color: var(--white); background: var(--ink); }
.search-box { display: flex; width: 225px; min-width: 180px; height: 40px; align-items: center; gap: 8px; padding: 0 13px; border: 1px solid var(--line); border-radius: 99px; background: rgba(255,255,255,.75); }
.search-icon { color: var(--muted); font-family: Arial, sans-serif; font-size: 21px; line-height: 1; }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 11px; }
.gallery-status { padding: 17px 0; color: var(--muted); font-size: 12px; }
.gallery-status:empty { display: none; }
.works-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 19px; }
.work-card { min-width: 0; padding: 15px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: 0 5px 20px rgba(33,75,74,.035); }
.work-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 11px; }
.category-pill { display: inline-flex; max-width: 76%; align-items: center; padding: 6px 10px; overflow: hidden; border-radius: 99px; background: #edf7f4; font-size: 10px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.work-date { color: #829294; font-size: 10px; white-space: nowrap; }
.work-author { display: flex; align-items: center; gap: 7px; margin: 0 0 12px; font-size: 12px; font-weight: 800; }
.author-dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--orange); }
.work-author a { text-decoration: none; }
.work-author a:hover { text-decoration: underline; text-underline-offset: 3px; }
.work-note { margin: 0 0 12px; color: #51696b; font-size: 11px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; }
.tweet-shell { min-height: 80px; overflow: hidden; border-radius: 12px; background: #f5f9f7; }
.tweet-shell blockquote.twitter-tweet { margin: 0 !important; }
.tweet-fallback { display: inline-flex; align-items: center; gap: 8px; padding: 16px; color: var(--cyan-dark); font-size: 12px; font-weight: 700; text-decoration: none; }
.tweet-fallback:hover { text-decoration: underline; }
.empty-state { display: grid; min-height: 230px; place-items: center; padding: 35px 20px; border: 1px dashed rgba(23,56,59,.25); border-radius: 24px; background: rgba(255,255,255,.45); text-align: center; }
.empty-icon { display: grid; width: 52px; height: 52px; margin: 0 auto 12px; place-items: center; border-radius: 18px; color: var(--orange); background: var(--yellow); font-family: "DM Sans", sans-serif; font-size: 20px; font-weight: 900; transform: rotate(-5deg); }
.empty-state h3 { margin: 0; font-size: 15px; font-weight: 900; }
.empty-state p { max-width: 450px; margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.empty-state a { color: var(--cyan-dark); font-weight: 800; }
.more-button { display: flex; margin: 28px auto 0; }
.button-secondary { border: 1px solid var(--ink); color: var(--ink); background: transparent; }
.button-secondary:hover:not(:disabled) { color: var(--white); background: var(--ink); }

.hashtag-section { padding: 66px 0 88px; border-top: 1px solid var(--line); }
.hashtag-heading { align-items: center; }
.hashtag-doodle { color: var(--yellow); font-family: "DM Sans", sans-serif; font-size: 100px; font-weight: 800; line-height: .7; -webkit-text-stroke: 2px var(--ink); transform: rotate(9deg); }
.hashtag-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hashtag-card { display: flex; min-height: 68px; align-items: center; gap: 11px; padding: 12px 15px; border: 1px solid var(--ink); border-radius: 14px; font-size: 12px; font-weight: 800; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.hashtag-card:hover { transform: translateY(-3px); box-shadow: 3px 4px 0 var(--ink); }
.tag-symbol { color: rgba(23,56,59,.52); font-family: "DM Sans", sans-serif; font-size: 19px; font-weight: 900; }
.tag-arrow { margin-left: auto; font-size: 15px; }
.hashtag-card--blue { background: #d9f4f5; }
.hashtag-card--yellow { background: #fff0a4; }
.hashtag-card--peach { background: #ffdfcf; }
.hashtag-card--mint { background: #d9efdf; }
.hashtag-card--lilac { background: #e7e3ff; }
.campaign-tag { display: flex; min-height: 61px; align-items: center; gap: 16px; margin-top: 14px; padding: 12px 17px; border: 1px solid var(--line); border-radius: 15px; background: var(--white); }
.campaign-label { flex: 0 0 auto; padding: 6px 9px; border-radius: 6px; color: #fff; background: var(--orange); font-size: 10px; font-weight: 800; }
.campaign-tag a { font-size: 13px; font-weight: 800; text-decoration: none; }
.campaign-tag a:hover { text-decoration: underline; text-underline-offset: 3px; }
.inside-joke-note { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding: 16px 18px; border: 1px solid #e5b76f; border-radius: 15px; background: #fff2d8; }
.note-icon { display: grid; width: 27px; height: 27px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: #fff; background: #bd6c27; font-family: Georgia, serif; font-weight: 800; }
.inside-joke-note strong { font-size: 11px; }
.inside-joke-note p { margin: 4px 0 0; color: #745934; font-size: 10px; line-height: 1.6; }
.inside-joke-note > a { margin-left: auto; flex: 0 0 auto; font-size: 10px; font-weight: 800; text-decoration: none; }

.about-section { padding: 78px 0; color: var(--white); background: var(--ink); }
.about-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 8%; }
.about-heading .section-kicker { color: var(--yellow); }
.about-heading h2 { font-size: clamp(30px, 4vw, 48px); }
.about-heading h2 span { color: var(--yellow); }
.about-copy { color: rgba(255,255,255,.84); font-size: 12px; line-height: 2; }
.about-copy > p:first-child { margin-top: 0; font-size: 14px; font-weight: 600; }
.about-copy ul { display: grid; gap: 10px; margin: 17px 0 21px; padding: 0; list-style: none; }
.about-copy li { position: relative; padding-left: 20px; }
.about-copy li::before { position: absolute; top: .72em; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); content: ""; }
.about-copy a { color: var(--yellow); font-weight: 800; text-underline-offset: 3px; }
.about-credit { margin: 0; font-size: 11px; }

.submit-section { padding-top: 84px; padding-bottom: 88px; }
.submit-card { display: grid; grid-template-columns: .86fr 1.14fr; gap: 8%; padding: clamp(23px, 5vw, 52px); border: 1px solid var(--line); border-radius: 27px; background: #f4eccf; }
.submit-copy .section-kicker { color: var(--cyan-dark); }
.submit-copy h2 { font-size: clamp(29px, 3.5vw, 43px); }
.submit-copy > p:not(.section-kicker) { color: #53686a; font-size: 12px; line-height: 1.9; }
.submit-small { margin-top: 22px; padding-top: 15px; border-top: 1px solid rgba(23,56,59,.17); font-size: 10px !important; }
.submit-form { padding: 21px; border: 1px solid rgba(23,56,59,.12); border-radius: 20px; background: var(--white); }
.field-label { display: flex; align-items: center; gap: 8px; margin: 0 0 7px; font-size: 11px; font-weight: 800; }
.required-mark, .optional-mark { padding: 3px 6px; border-radius: 5px; font-size: 9px; font-weight: 800; }
.required-mark { color: #a5452d; background: #ffe6d9; }
.optional-mark { color: #637678; background: #edf1ef; }
.submit-form input[type="url"], .submit-form input[type="text"], .submit-form select, .submit-form textarea { display: block; width: 100%; min-height: 43px; margin: 0 0 8px; padding: 10px 12px; border: 1px solid rgba(23,56,59,.2); border-radius: 10px; outline: 0; color: var(--ink); background: #fff; font-size: 11px; }
.submit-form textarea { min-height: 79px; resize: vertical; }
.submit-form input:focus, .submit-form select:focus, .submit-form textarea:focus { border-color: var(--cyan-dark); box-shadow: 0 0 0 3px rgba(56,185,211,.16); }
.submit-form input::placeholder, .submit-form textarea::placeholder { color: #98a6a5; }
.field-hint { margin: -2px 0 16px; color: #7b8c8d; font-size: 9px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.consent-check { display: flex; align-items: flex-start; gap: 9px; margin: 12px 0 14px; color: #526668; font-size: 10px; line-height: 1.7; cursor: pointer; }
.consent-check input { width: 16px; height: 16px; flex: 0 0 auto; margin: 1px 0 0; accent-color: var(--teal); }
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(1px,1px,1px,1px) !important; white-space: nowrap !important; }
.turnstile-widget { min-height: 0; }
.turnstile-widget:not(:empty) { margin: 9px 0; }
.submit-button { width: 100%; margin-top: 9px; }
.form-status { min-height: 18px; margin: 9px 0 0; color: var(--cyan-dark); font-size: 10px; line-height: 1.6; }
.form-status.is-error { color: #aa4d36; }
.privacy-note { margin: 3px 0 0; color: #829294; font-size: 9px; line-height: 1.65; }

.site-footer { display: flex; min-height: 95px; align-items: center; justify-content: space-between; gap: 18px; padding: 20px max(24px, calc((100% - 1080px) / 2)); border-top: 1px solid var(--line); background: #fffdf7; }
.footer-brand { flex: 0 0 auto; font-size: 11px; }
.footer-brand .brand-mark { width: 33px; height: 33px; border-radius: 12px; font-size: 13px; }
.site-footer p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.7; text-align: center; }
.site-footer p a { color: var(--ink); font-weight: 700; text-decoration: none; }
.footer-source { flex: 0 0 auto; font-size: 10px; font-weight: 800; text-decoration: none; }

@media (max-width: 900px) {
  .hero { min-height: 520px; grid-template-columns: 1fr .72fr; padding-right: 4%; padding-left: 6%; }
  .hero h1 { font-size: clamp(40px, 7vw, 62px); }
  .hero-art { min-height: 310px; }
  .art-frame { width: 82%; }
  .orbit-one { width: 280px; height: 280px; }
  .orbit-two { width: 340px; height: 340px; }
  .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-tools { align-items: flex-start; flex-direction: column; }
  .search-box { width: 100%; }
  .about-inner, .submit-card { gap: 6%; }
}

@media (max-width: 620px) {
  .site-header { width: calc(100% - 32px); height: 67px; }
  .brand-mark { width: 37px; height: 37px; font-size: 15px; }
  .brand-name { font-size: 11px; }
  .main-nav { gap: 13px; font-size: 10px; }
  .main-nav .nav-submit { gap: 4px; padding: 8px 10px; }
  .main-nav a:nth-child(2) { display: none; }
  .hero { display: block; width: calc(100% - 24px); min-height: 0; margin: 5px auto 68px; padding: 38px 25px 27px; border-radius: 25px; }
  .hero h1 { margin: 22px 0 17px; font-size: clamp(42px, 11vw, 60px); }
  .hero-intro { font-size: 12px; }
  .desktop-break { display: none; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 15px; margin-top: 22px; }
  .button { min-height: 44px; font-size: 11px; }
  .hero-footnote { font-size: 9px; }
  .hero-art { position: absolute; right: -3px; bottom: 12px; width: 37%; min-height: 0; opacity: .95; }
  .art-frame { width: 89%; border-width: 5px; }
  .art-caption, .orbit, .spark { display: none; }
  .hero-sticker { right: 38%; bottom: 20px; padding: 7px 9px; font-size: 8px; }
  .section-wrap { width: calc(100% - 32px); }
  .works-section { padding-bottom: 67px; }
  .section-heading { align-items: flex-start; gap: 10px; margin-bottom: 20px; }
  .section-heading h2, .about-heading h2, .submit-copy h2 { font-size: 29px; }
  .section-description { font-size: 11px; }
  .count-badge { padding: 6px 9px; font-size: 9px; }
  .filter-list { gap: 6px; }
  .filter-chip { min-height: 32px; padding: 0 10px; font-size: 9px; }
  .works-grid { grid-template-columns: 1fr; gap: 13px; }
  .work-card { padding: 12px; }
  .hashtag-section { padding: 48px 0 60px; }
  .hashtag-doodle { font-size: 68px; }
  .hashtag-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .hashtag-card { min-height: 58px; gap: 7px; padding: 9px; font-size: 10px; }
  .tag-symbol { font-size: 16px; }
  .campaign-tag { align-items: flex-start; flex-direction: column; gap: 9px; }
  .campaign-tag a { font-size: 11px; }
  .inside-joke-note { align-items: flex-start; flex-wrap: wrap; padding: 13px; }
  .inside-joke-note > div { flex: 1; }
  .inside-joke-note > a { margin-left: 39px; }
  .about-section { padding: 55px 0; }
  .about-inner { grid-template-columns: 1fr; gap: 22px; }
  .about-copy { font-size: 11px; }
  .about-copy > p:first-child { font-size: 12px; }
  .submit-section { padding-top: 55px; padding-bottom: 58px; }
  .submit-card { grid-template-columns: 1fr; gap: 20px; padding: 19px; border-radius: 21px; }
  .submit-copy > p:not(.section-kicker) { font-size: 11px; }
  .submit-form { padding: 15px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .site-footer { align-items: flex-start; flex-wrap: wrap; padding: 20px 16px; }
  .site-footer p { flex: 1 1 100%; order: 3; text-align: left; }
  .footer-source { margin-left: auto; padding-top: 8px; }
}

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