/* ==========================================================
   サリーぶろっくす - 横動画 編集者募集サイト
   明るい空 × 手書き のテーマ
   ========================================================== */

@font-face {
  font-family: "Jiyucho";
  src: url("font/jiyucho-subset.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --sky-top: #3fa9f5;
  --sky: #6cc4ff;
  --sky-light: #b9e6ff;
  --grid: rgba(255, 255, 255, 0.22);
  --ink: #1c1c1c;
  --ink-soft: #3d4a55;
  --muted: #55636f;
  --paper: #ffffff;
  --yellow: #ffd60a;
  --blue-shadow: #2a7fd4;
  --grass: #74c93a;
  --grass-dark: #4fa326;
  --radius: 22px;
  --radius-sm: 14px;
  --font-jp: "Zen Maru Gothic", "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-hand: "Jiyucho", "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  --font-en: "Jiyucho", "Zen Maru Gothic", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  font-family: var(--font-jp);
  color: var(--ink);
  background: var(--sky);
  background-image: linear-gradient(180deg, var(--sky-top) 0%, var(--sky) 45%, var(--sky-light) 100%);
  background-attachment: fixed;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 方眼(空のグリッド) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.container {
  position: relative;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.container.narrow {
  max-width: 800px;
}

.pc-only {
  display: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-hand);
  font-size: 18px;
  border-radius: 999px;
  cursor: pointer;
  border: 2px solid var(--ink);
  transition: transform 200ms var(--ease), background-color 200ms, box-shadow 200ms;
  white-space: nowrap;
  box-shadow: 3px 3px 0 var(--ink);
}

.btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--ink);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

.btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.btn-primary {
  background: var(--yellow);
  color: var(--ink);
}

.btn-primary:hover {
  background: #ffe04d;
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 16px;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 21px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(63, 169, 245, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(28, 28, 28, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-hand);
  font-size: 22px;
  line-height: 1;
  color: #fff;
  text-shadow: 1.5px 1.5px 0 var(--blue-shadow);
}

.brand-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--ink);
  background: #fff;
}

.nav {
  display: none;
  gap: 28px;
  font-family: var(--font-hand);
  font-size: 18px;
  color: var(--ink);
}

.nav a {
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 250ms var(--ease);
}

.nav a:hover::after {
  transform: scaleX(1);
}

/* ---------- Intro (scroll opening) ---------- */
.intro {
  position: relative;
  height: calc(100vh - 64px);
  height: calc(100svh - 64px);
  overflow: hidden;
}

.intro-stage {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.intro-glow {
  position: absolute;
  left: 50%;
  top: 30%;
  width: min(120vw, 900px);
  height: min(120vw, 900px);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.15) 35%, transparent 65%);
  filter: blur(20px);
  pointer-events: none;
}

.intro-figure {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 4%;
  width: min(100vh, 135vw, 960px);
  height: min(100vh, 135vw, 960px);
  transform: translateX(-50%);
  perspective: 1400px;
  will-change: transform;
}

.intro-figure img.me {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.me-open {
  opacity: 0;
}

.me-lid {
  transform-origin: 51% 24%;
  will-change: transform, opacity;
  filter: drop-shadow(0 16px 30px rgba(20, 70, 120, 0.35));
}

.head-inner {
  position: absolute;
  left: 51%;
  top: 26%;
  width: 34%;
  height: 9%;
  transform: translate(-50%, -50%) scaleX(0.2);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, #fff 0%, #fff4b0 35%, rgba(255, 214, 10, 0.25) 70%, transparent 100%);
  filter: blur(8px);
  opacity: 0;
  pointer-events: none;
}

.intro-fade {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30vh;
  background: linear-gradient(180deg, rgba(185, 230, 255, 0) 0%, rgba(185, 230, 255, 0.85) 70%, var(--sky-light) 100%);
  pointer-events: none;
}

/* 足元の草 */
.grass-strip {
  position: absolute;
  z-index: 3;
  left: -5%;
  right: -5%;
  bottom: 0;
  height: 14vh;
  min-height: 80px;
  background: linear-gradient(180deg, var(--grass) 0%, var(--grass-dark) 100%);
  border-radius: 50% 50% 0 0 / 60% 60% 0 0;
  pointer-events: none;
}

.burst {
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
}

.burst-item {
  position: absolute;
  left: 50%;
  top: 30%;
  transform: translate(-50%, -50%);
  will-change: transform, opacity;
  opacity: 0;
}

.burst-thumb {
  width: clamp(96px, 17vw, 210px);
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  border: 4px solid #fff;
  outline: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}

.burst-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}

.burst-word {
  font-family: var(--font-hand);
  color: #fff;
  font-size: clamp(22px, 4.2vw, 54px);
  white-space: nowrap;
  text-shadow: 2px 2px 0 var(--blue-shadow), 4px 4px 0 rgba(42, 127, 212, 0.35);
}

.burst-word.white {
  color: var(--ink);
  text-shadow: 2px 2px 0 #fff;
}

.burst-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--yellow);
  border: 2px solid var(--ink);
}

.burst-ring {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 3px solid var(--ink);
}

.burst-bar {
  width: 60px;
  height: 8px;
  border-radius: 4px;
  background: var(--yellow);
  border: 2px solid var(--ink);
}

.intro-copy {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 15vh;
  transform: translateX(-50%);
  width: min(92vw, 720px);
  text-align: center;
}

.intro-name {
  font-family: var(--font-hand);
  font-size: clamp(30px, 5.4vw, 54px);
  line-height: 1.1;
  color: #fff;
  text-shadow: 2px 2px 0 var(--blue-shadow), 4px 4px 0 rgba(42, 127, 212, 0.35);
}

.intro-apply {
  margin-top: 14px;
}

.intro-final {
  position: absolute;
  z-index: 5;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px 8vh;
  pointer-events: none;
}

.intro-final > * {
  pointer-events: auto;
}

.intro-final .hero-actions,
.intro-final .hero-lead {
  width: 100%;
  max-width: 640px;
}

.scroll-hint {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 4vh;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--ink);
}

.scroll-hint-line {
  width: 2px;
  height: 30px;
  background: var(--ink);
  animation: hint 1.6s ease-in-out infinite;
  transform-origin: top;
  border-radius: 2px;
}

.scroll-hint-text {
  font-family: var(--font-hand);
  font-size: 15px;
  letter-spacing: 0.15em;
}

@keyframes hint {
  0% { transform: scaleY(0); opacity: 0; }
  40% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1) translateY(16px); opacity: 0; }
}

/* 静的表示(JS 無効・reduced motion 用) */
.intro.is-static .intro-copy,
.intro.is-static .scroll-hint,
.intro.is-static .burst {
  display: none;
}

.intro.is-static .intro-figure {
  opacity: 0.35;
}

.intro.is-static .me-open {
  opacity: 1;
}

.intro.is-static .me-closed,
.intro.is-static .me-lid {
  opacity: 0;
}

/* JS 有効時: 最終テキストは最初は隠す */
.intro.is-animated .intro-final {
  opacity: 0;
  visibility: hidden;
}

/* ---------- Hero text (intro の最後に出るもの) ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: #fff;
  font-family: var(--font-hand);
  font-size: 16px;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
  box-shadow: 2px 2px 0 var(--ink);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2ecc71;
  border: 2px solid var(--ink);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.5);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(46, 204, 113, 0);
  }
}

.hero-title {
  font-family: var(--font-hand);
  font-size: clamp(48px, 10.5vw, 104px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.02em;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 0.2em;
  color: #fff;
  text-shadow:
    3px 3px 0 var(--blue-shadow),
    6px 6px 0 rgba(42, 127, 212, 0.3);
}

.hero-title-line.accent {
  color: var(--yellow);
}

.hero-lead {
  margin: 26px auto 0;
  max-width: 640px;
  font-size: 17px;
  line-height: 2;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.6);
  border-radius: 14px;
  padding: 10px 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  padding: 96px 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.18);
}

.section-lead {
  max-width: 640px;
  margin: -20px auto 44px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 16px;
}

.section-title {
  font-family: var(--font-hand);
  font-size: clamp(34px, 5.6vw, 54px);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin-bottom: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  color: #fff;
  text-shadow: 2px 2px 0 var(--blue-shadow), 4px 4px 0 rgba(42, 127, 212, 0.35);
}

.section-title .en {
  font-family: var(--font-hand);
  font-size: 15px;
  letter-spacing: 0.3em;
  color: var(--ink);
  text-shadow: none;
}

.grid {
  display: grid;
  gap: 24px;
}

/* ---------- 募集内容(3項目) ---------- */
.job-grid {
  display: grid;
  gap: 28px;
}

.job-item {
  display: flex;
  flex-direction: column;
}

.job-label {
  font-family: var(--font-hand);
  font-size: 26px;
  font-weight: 400;
  text-align: center;
  color: #fff;
  text-shadow: 2px 2px 0 var(--blue-shadow), 4px 4px 0 rgba(42, 127, 212, 0.35);
  margin-bottom: 12px;
}

.job-card {
  padding: 24px 24px;
  border-radius: 18px;
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 rgba(28, 28, 28, 0.85);
  min-height: 120px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.job-card .list {
  width: 100%;
}

.job-text {
  font-family: var(--font-hand);
  font-size: 20px;
  text-align: center;
  line-height: 1.5;
}

/* ---------- Cards(白い紙) ---------- */
.card {
  padding: 34px 32px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 rgba(28, 28, 28, 0.85);
  transition: transform 250ms var(--ease);
}

.card:hover {
  transform: translate(-2px, -2px);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  color: var(--ink);
  margin-bottom: 18px;
}

.card h3 {
  font-family: var(--font-hand);
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 12px;
}

.list li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-soft);
  font-size: 16px;
}

.list li + li {
  margin-top: 8px;
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--yellow);
  border: 2px solid var(--ink);
}

/* ---------- Requirements ---------- */
.req-block {
  padding: 34px 32px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 rgba(28, 28, 28, 0.85);
}

.req-heading {
  display: inline-block;
  font-family: var(--font-hand);
  font-size: 18px;
  letter-spacing: 0.1em;
  padding: 4px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
  border: 2px solid var(--ink);
}

.req-heading.must {
  background: #ff8fa3;
  color: var(--ink);
}

.req-heading.nice {
  background: var(--yellow);
  color: var(--ink);
}

.check-list li {
  position: relative;
  padding-left: 36px;
  font-size: 16px;
}

.check-list li + li {
  margin-top: 14px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--yellow);
  border: 2px solid var(--ink);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  width: 10px;
  height: 6px;
  border-left: 2.5px solid var(--ink);
  border-bottom: 2.5px solid var(--ink);
  transform: rotate(-45deg);
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  gap: 18px;
}

.step {
  position: relative;
  padding: 30px 28px 30px 96px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 rgba(28, 28, 28, 0.85);
}

.step-num {
  position: absolute;
  left: 24px;
  top: 22px;
  font-family: var(--font-hand);
  font-size: 38px;
  color: var(--blue-shadow);
}

.step h3 {
  font-family: var(--font-hand);
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 8px;
}

.step p {
  color: var(--ink-soft);
  font-size: 15.5px;
}

/* ---------- Channel & Videos ---------- */
.channel-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 rgba(28, 28, 28, 0.85);
  margin: 0 auto 40px;
  max-width: 720px;
  text-align: center;
}

.channel-avatar {
  position: relative;
  width: 96px;
  height: 96px;
  flex-shrink: 0;
}

.channel-avatar img,
.channel-avatar .avatar-placeholder {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--ink);
  background: #fff;
}

.channel-avatar .avatar-placeholder {
  display: grid;
  place-items: center;
  font-family: var(--font-hand);
  font-size: 40px;
}

.channel-avatar .yt-badge {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ff0000;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
}

.channel-name {
  font-family: var(--font-hand);
  font-size: 30px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.channel-name a:hover {
  color: var(--blue-shadow);
}

.channel-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.channel-stats li {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.channel-stats .num {
  font-family: var(--font-hand);
  font-size: 40px;
  line-height: 1.1;
  color: var(--blue-shadow);
}

.channel-stats .lbl {
  font-family: var(--font-hand);
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  margin-top: 2px;
}

.video-grid {
  display: grid;
  gap: 22px;
}

.video-item {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  border: 5px solid #fff;
  outline: 2px solid var(--ink);
  box-shadow: 5px 5px 0 rgba(28, 28, 28, 0.85);
  transition: transform 250ms var(--ease);
}

.video-item:hover {
  transform: translate(-2px, -2px) rotate(-1deg);
}

.video-item:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.video-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.video-item .play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.video-item .play span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 36px;
  border-radius: 10px;
  background: #ff0000;
  border: 2px solid var(--ink);
  color: #fff;
  transition: transform 250ms var(--ease);
}

.video-item:hover .play span {
  transform: scale(1.1);
}

.video-item.placeholder {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 13px;
  border-style: dashed;
}

/* ---------- FAQ ---------- */
.faq-list {
  display: grid;
  gap: 14px;
}

.faq {
  border-radius: var(--radius-sm);
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 rgba(28, 28, 28, 0.85);
  overflow: hidden;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 56px 20px 24px;
  font-family: var(--font-hand);
  font-size: 20px;
  position: relative;
  transition: background-color 200ms;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:hover {
  background: #fff8cc;
}

.faq summary:focus-visible {
  outline: 3px solid var(--blue-shadow);
  outline-offset: -3px;
}

.faq summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2.5px solid var(--ink);
  border-bottom: 2.5px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 250ms var(--ease);
}

.faq[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq p {
  padding: 0 24px 22px;
  color: var(--ink-soft);
  font-size: 16px;
}

/* ---------- Apply ---------- */
.apply {
  padding-bottom: 120px;
}

.apply-box {
  position: relative;
  text-align: center;
  padding: 56px 24px;
  border-radius: 28px;
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 rgba(28, 28, 28, 0.85);
}

.apply-title {
  font-family: var(--font-hand);
  font-size: clamp(34px, 6vw, 52px);
  font-weight: 400;
  margin-bottom: 18px;
}

.apply-lead {
  color: var(--ink-soft);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto 36px;
}

.apply-lead strong {
  color: var(--ink);
  background: linear-gradient(transparent 55%, #fff1a8 55%);
}

.apply-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.apply-actions .btn {
  min-width: 220px;
}

.apply-note {
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted);
}

.discord-box {
  width: 100%;
  max-width: 520px;
  margin: 0 auto 8px;
  padding: 20px 22px;
  border-radius: 18px;
  background: #f3f7ff;
  border: 2px solid var(--ink);
  text-align: left;
}

.discord-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-hand);
  font-size: 17px;
  color: #5865f2;
  margin-bottom: 10px;
}

.discord-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.discord-id {
  flex: 1;
  min-width: 0;
  font-family: "Zen Maru Gothic", "Noto Sans JP", monospace;
  font-size: 22px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 12px;
  background: #fff;
  border: 2px dashed var(--ink);
  word-break: break-all;
  user-select: all;
}

.apply-pending {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px dashed var(--ink);
  color: var(--ink-soft);
  font-family: var(--font-hand);
  font-size: 18px;
}

/* ---------- Footer(草の上) ---------- */
.site-footer {
  position: relative;
  padding: 110px 0 36px;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  top: 40px;
  bottom: 0;
  background: linear-gradient(180deg, var(--grass) 0%, var(--grass-dark) 100%);
  border-radius: 50% 50% 0 0 / 60px 60px 0 0;
}

.footer-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  color: #fff;
}

.footer-brand {
  font-family: var(--font-hand);
  font-size: 24px;
  text-shadow: 1.5px 1.5px 0 var(--grass-dark);
}

.footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
}

/* ---------- 雲(飾り) ---------- */
.cloud-deco {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .pc-only {
    display: inline;
  }

  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .channel-card {
    flex-direction: row;
    justify-content: center;
    text-align: left;
    gap: 32px;
  }

  .channel-stats {
    gap: 40px;
  }

  .hero-lead {
    font-size: 18px;
  }
}

@media (min-width: 900px) {
  .nav {
    display: flex;
  }

  .section {
    padding: 120px 0;
  }

  body {
    font-size: 17px;
  }

  .section-lead {
    font-size: 17px;
  }

  .steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .step {
    padding: 72px 24px 28px;
  }

  .step-num {
    left: 24px;
    top: 16px;
  }

  .video-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .job-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .dot,
  .scroll-hint-line {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .card,
  .video-item {
    transition: none;
  }
}

/* ---------- 応募フォーム(モーダル) ---------- */
body.modal-open {
  overflow: hidden;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 16px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 60, 100, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 220ms var(--ease);
}

.modal.is-open .modal-backdrop {
  opacity: 1;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: auto;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 24px;
  box-shadow: 8px 8px 0 rgba(28, 28, 28, 0.85);
  padding: 36px 24px 28px;
  transform: translateY(16px) scale(0.98);
  opacity: 0;
  transition: transform 220ms var(--ease), opacity 220ms var(--ease);
}

.modal.is-open .modal-card {
  transform: none;
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: #fff;
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 2px 2px 0 var(--ink);
}

.modal-title {
  font-family: var(--font-hand);
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 6px;
}

.modal-lead {
  color: var(--ink-soft);
  font-size: 15px;
  margin-bottom: 26px;
}

.field {
  margin-bottom: 22px;
}

.field-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-hand);
  font-size: 20px;
  margin-bottom: 8px;
}

.field-num {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--yellow);
  border: 2px solid var(--ink);
  font-size: 15px;
  flex-shrink: 0;
}

.field-req {
  font-family: var(--font-jp);
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: #ff8fa3;
  border: 1.5px solid var(--ink);
  margin-left: auto;
}

.field-input {
  width: 100%;
  font-family: var(--font-jp);
  font-size: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 2px solid var(--ink);
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: box-shadow 150ms;
}

.field-input:focus {
  box-shadow: 0 0 0 4px rgba(255, 214, 10, 0.55);
}

.field-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.7;
}

.field-help {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

.field-help-top {
  margin: -2px 0 10px;
  font-size: 14px;
  color: var(--ink-soft);
}

.en-word {
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

.field-error {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #d0303f;
}

.field-error[hidden] {
  display: none;
}

.video-add {
  display: flex;
  gap: 10px;
}

.video-add .field-input {
  flex: 1;
  min-width: 0;
}

.video-add .btn {
  flex-shrink: 0;
}

.video-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.video-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 12px;
  border: 2px solid var(--ink);
  background: #f6fbff;
  animation: cardIn 250ms var(--ease);
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.video-card-thumb {
  width: 112px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  border: 1.5px solid var(--ink);
  background: #ddd;
  flex-shrink: 0;
}

.video-card-body {
  flex: 1;
  min-width: 0;
}

.video-card-title {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-card-meta {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.video-card-remove {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: #fff;
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
}

.video-card-remove:hover {
  background: #ffe3e8;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.modal-submit {
  width: 100%;
  margin-top: 6px;
}

.modal-done {
  text-align: center;
  padding: 12px 0 4px;
}

.modal-done[hidden] {
  display: none;
}

.done-mark {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--yellow);
  border: 2px solid var(--ink);
  display: grid;
  place-items: center;
  color: var(--ink);
}

.modal-done .modal-lead {
  margin-bottom: 22px;
}

@media (min-width: 640px) {
  .modal {
    padding: 40px 16px;
  }

  .modal-card {
    padding: 40px 40px 32px;
  }
}
