/* ===================== HERO（動画版） ===================== */
.hero-video {
  width: 100%;
  line-height: 0;
  background: var(--ink);
}
.hero-video-el {
  display: block;
  width: 100%;
  height: auto;
}

/* ===================== HERO ===================== */
.hero {
  padding: 56px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at top right, var(--sakura-2) 0%, transparent 55%),
    radial-gradient(ellipse at bottom left, var(--asagi-2) 0%, transparent 55%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: white; padding: 8px 16px; border-radius: 999px;
  border: 2.5px solid var(--ink);
  font-weight: 800; font-size: 12px;
  box-shadow: 3px 3px 0 var(--ink);
  font-family: 'Zen Maru Gothic', sans-serif;
}
.eyebrow .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--matcha); border: 1.5px solid var(--ink); animation: blink 1.8s infinite; }
@keyframes blink { 50% { opacity: .35; } }

.hero h1 {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 900;
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.18;
  letter-spacing: 0.01em;
  margin: 20px 0 0;
}
.hero h1 .high {
  display: inline;
  background: linear-gradient(transparent 52%, var(--yamabuki) 52%);
  padding: 0 2px;
  border: none;
  border-radius: 0;
  box-shadow: none;
  color: inherit;
  margin-top: 0;
  line-height: inherit;
}
.hero h1 .high.s2 { background: linear-gradient(transparent 52%, var(--sakura) 52%); }
.hero h1 .ruby {
  position: relative; display: inline-block;
}
.hero h1 .ruby rt {
  font-size: 0.32em; font-weight: 700; letter-spacing: 0.08em;
  color: var(--ink-2);
}
.hero h1 .underline {
  position: relative; display: inline-block;
}
.hero h1 .underline::after {
  content: ''; position: absolute; left: -2%; right: -2%; bottom: 6px; height: 14px;
  background: var(--matcha); z-index: -1; border-radius: 8px;
  transform: none;
}
.hero-en {
  margin-top: 18px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink-2);
}
.hero p.lead {
  font-size: 16px; max-width: 540px; margin: 16px 0 20px; color: var(--ink-2);
  line-height: 1.7;
}
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-trust {
  display: flex; gap: 28px; margin-top: 44px;
  padding-top: 26px; border-top: 2px dashed var(--ink);
  flex-wrap: wrap;
}
.stat-num {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 900; font-size: 34px; line-height: 1;
  color: var(--ink);
}
.stat-num .unit { font-size: 18px; margin-left: 4px; }
.stat-lbl { font-size: 12px; color: var(--ink-2); margin-top: 4px; font-weight: 700; }

/* HERO ART */
.hero-art {
  position: relative;
  aspect-ratio: 1/1.05;
}
.hero-art .ring {
  position: absolute; inset: 8%;
  border-radius: 32%;
  background: conic-gradient(from 0deg,
    var(--shu) 0deg 120deg,
    var(--paper) 120deg 180deg,
    var(--asagi) 180deg 300deg,
    var(--paper) 300deg 360deg) !important;
  border: 3px solid var(--ink);
  filter: saturate(.9);
  animation: spin 60s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-art .ring::after {
  content: ''; position: absolute; inset: 8%;
  background: var(--paper);
  border-radius: 32%;
  border: 3px solid var(--ink);
}
.hero-art .char-main {
  position: absolute; inset: 18%;
  z-index: 3;
}
.hero-art .speech {
  position: absolute; top: 8%; right: -2%;
  background: white; border: 2.5px solid var(--ink);
  padding: 10px 16px; border-radius: 18px;
  font-weight: 800; font-size: 15px;
  box-shadow: 3px 3px 0 var(--ink);
  font-family: 'Zen Maru Gothic', sans-serif;
  z-index: 4;
  transform: rotate(4deg);
}
.hero-art .speech::after {
  content: ''; position: absolute;
  width: 14px; height: 14px; background: white;
  border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink);
  bottom: -9px; left: 24px;
  transform: rotate(45deg);
}
.hero-art .badge {
  position: absolute;
  background: var(--ink); color: var(--paper);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 900;
  text-align: center;
  border: 2.5px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  z-index: 4;
}
.hero-art .badge.b1 {
  width: 110px; height: 110px;
  bottom: 4%; left: -2%;
  background: var(--sakura); color: var(--ink);
  font-size: 14px; line-height: 1.2;
  animation: wobble-b1 3s ease-in-out infinite;
}
.hero-art .badge.b2 {
  width: 96px; height: 96px;
  top: 24%; left: -6%;
  background: var(--yamabuki); color: var(--ink);
  font-size: 28px;
  animation: wobble-b2 4s ease-in-out infinite -1s;
}
/* b1 と b2 を別々のキーフレームにしないと、アニメーション開始時に
   b2 が -18deg → -12deg へ瞬間ジャンプするバグが発生するため分離 */
@keyframes wobble-b1 {
  0%,100% { transform: rotate(-12deg) translateY(0); }
  50%     { transform: rotate(-8deg)  translateY(-6px); }
}
@keyframes wobble-b2 {
  0%,100% { transform: rotate(-18deg) translateY(0); }
  50%     { transform: rotate(-14deg) translateY(-6px); }
}

/* SHURIKEN decoration */
.shuriken {
  position: absolute;
  width: 60px; height: 60px;
  animation: spin 4s linear infinite;
  z-index: 2;
}
.shuriken.r { animation-duration: 3s; }

/* ===================== MARQUEE ===================== */
.marquee {
  background: var(--asagi) !important; color: var(--sumi) !important;
  padding: 18px 0; overflow: hidden;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  border-color: transparent !important;
}
.marquee-track {
  display: flex; gap: 40px; white-space: nowrap;
  animation: marquee-scroll 28s linear infinite;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 900; font-size: 22px;
  align-items: center;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 16px; }
.marquee-track .star {
  display: inline-flex; color: var(--yamabuki);
}
/* "scroll" は CSS Scroll Timeline の予約語と将来衝突する可能性があるため改名 */
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===================== SECTIONS ===================== */
.section { padding: 110px 0; }
.section-tight { padding: 80px 0; }
.section-head { text-align: center; margin-bottom: 56px; max-width: 720px; margin-left: auto; margin-right: auto; }
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--paper);
  padding: 8px 16px; border-radius: 999px;
  font-weight: 800; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  font-family: 'Bricolage Grotesque', sans-serif;
}
.section h2 {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 900;
  font-size: clamp(32px, 4.2vw, 52px);
  letter-spacing: 0.01em;
  line-height: 1.15;
  margin: 20px 0 14px;
}
.section h2 .accent { color: var(--kohaku); }
.section h2 .high {
  display: inline;
  background: linear-gradient(transparent 52%, var(--yamabuki) 52%);
  padding: 0 2px; border: none; border-radius: 0; color: inherit;
}
.section .sub { color: var(--ink-2); font-size: 17px; }

.bg-paper { background: var(--paper); }
.bg-cream { background: var(--paper); }
.bg-asagi { background: var(--asagi-2); }
.bg-sakura { background: #fff5f0; }
.bg-matcha { background: var(--matcha-2); }
.bg-yamabuki { background: var(--yamabuki-2); }
.bg-fuji { background: var(--fuji-2); }

/* ===================== ENTRY CARDS (第2階層) ===================== */
.entries {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.entry {
  background: white; border: 1.5px solid rgba(61,48,96,0.12) !important; border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: 0 4px 14px rgba(61,48,96,0.07) !important;
  display: flex; flex-direction: column; gap: 14px;
  position: relative; overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
  min-height: 240px;
}
.entry:hover { transform: translate(-3px,-3px); box-shadow: 8px 8px 0 var(--ink); }
.entry .e-ico {
  width: 64px; height: 64px; border-radius: 18px;
  display: grid; place-items: center;
  border: 2.5px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 32px;
  align-self: flex-start;
}
.entry h3 {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 900; font-size: 22px;
  margin: 4px 0 0; line-height: 1.3;
}
.entry .e-en {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700; font-size: 13px;
  color: var(--ink-2); letter-spacing: 0.04em;
  text-transform: uppercase;
}
.entry p { font-size: 14px; color: var(--ink-2); margin: 0; }
.entry .e-arrow {
  position: absolute; top: 24px; right: 24px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  display: grid; place-items: center;
  border: 2px solid var(--ink);
  transition: transform .2s ease;
}
.entry:hover .e-arrow { transform: rotate(-45deg); }

.entry.e1 .e-ico { background: var(--matcha); }
.entry.e2 .e-ico { background: var(--asagi); }
.entry.e3 .e-ico { background: var(--sakura); }
.entry.e4 .e-ico { background: var(--yamabuki); }
.entry.e5 .e-ico { background: var(--fuji); }
.entry.e6 .e-ico { background: var(--kohaku); }

/* Featured entries: 2 big ones (海外から来たい / 採用したい企業様) */
.entries-feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
  margin-bottom: 28px;
}
.entry-big {
  background: white; border: 1.5px solid rgba(61,48,96,0.12) !important; border-radius: var(--radius-lg);
  padding: 40px; box-shadow: 0 4px 14px rgba(61,48,96,0.07) !important;
  display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center;
  position: relative; overflow: hidden;
  min-height: 240px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.entry-big:hover { transform: translate(-3px,-3px); box-shadow: 9px 9px 0 var(--ink); }
.entry-big.b1 { background: var(--shu-2) !important; }
.entry-big.b2 { background: var(--asagi-2); }
.entry-big h3 {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 900; font-size: 28px;
  margin: 10px 0 8px; line-height: 1.25;
}
.entry-big .b-en {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800; font-size: 14px;
  letter-spacing: 0.04em;
}
.entry-big p { font-size: 14px; color: var(--ink-2); margin: 0 0 18px; }
.entry-big .b-art {
  width: 220px; height: 220px;
  background: white; border-radius: 50%;
  border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
  display: grid; place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}
.entry-big .b-art img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
}
.entry-big .b-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 15px;
  font-family: 'Zen Maru Gothic', sans-serif;
}
.entry-big .b-link::after {
  content: ''; width: 28px; height: 28px; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  display: inline-grid; place-items: center;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff9ef' stroke-width='3' stroke-linecap='round'><path d='M5 12h14M13 6l6 6-6 6'/></svg>");
  background-repeat: no-repeat; background-position: center; background-size: 14px;
}

/* ===================== JOB CATEGORIES (8業種) — image-on-top card ===================== */
.cats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.cat {
  background: white;
  border: 1.5px solid rgba(61,48,96,0.12) !important;
  border-radius: 24px;
  box-shadow: 0 4px 14px rgba(61,48,96,0.07) !important;
  overflow: hidden;
  display: flex; flex-direction: column;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
  text-decoration: none; color: inherit;
}
.cat:hover { transform: translate(-3px,-3px); box-shadow: 0 8px 24px rgba(61,48,96,0.12) !important; }
.cat .cat-photo {
  width: 100%;
  aspect-ratio: 1/1;
  border-bottom: 2.5px solid var(--ink);
  overflow: hidden;
  background: var(--paper) !important;
  position: relative;
}
.cat:nth-child(8n+1) .cat-photo { background: var(--sakura-2); }
.cat:nth-child(8n+2) .cat-photo { background: var(--asagi-2); }
.cat:nth-child(8n+3) .cat-photo { background: var(--matcha-2); }
.cat:nth-child(8n+4) .cat-photo { background: var(--yamabuki-2); }
.cat:nth-child(8n+5) .cat-photo { background: var(--fuji-2); }
.cat:nth-child(8n+6) .cat-photo { background: var(--sakura-2); }
.cat:nth-child(8n+7) .cat-photo { background: var(--asagi-2); }
.cat:nth-child(8n)   .cat-photo { background: var(--matcha-2); }
.cat .cat-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  transition: transform .25s ease;
}
.cat:hover .cat-photo img { transform: scale(1.04); }
.cat .cat-body {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 0;
  align-items: center;
  padding: 16px 18px;
}
.cat .h4-en  { grid-column: 1; grid-row: 1; }
.cat h4      { grid-column: 1; grid-row: 2; }
.cat .arrow-mini { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.cat h4 {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 900; font-size: 19px;
  margin: 0; line-height: 1.2;
}
.cat .h4-en {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700; font-size: 11px;
  letter-spacing: 0.1em; color: var(--ink-2);
  text-transform: uppercase;
  margin-bottom: 2px;
}
.cat .arrow-mini {
  width: 30px; height: 30px;
  background: var(--ink); color: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 900;
  transition: transform .2s ease;
}
.cat .arrow-mini::before { content: '→'; }
.cat:hover .arrow-mini { transform: rotate(-45deg); }

/* ===================== CHARACTERS TRIO ===================== */
.char-trio {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
}
.char-trio .char-card {
  flex: 0 0 240px;
  width: 240px;
  scroll-snap-align: start;
}
.char-card {
  background: white;
  border: 1.5px solid rgba(61,48,96,0.12) !important; border-radius: var(--radius-lg);
  box-shadow: 0 4px 14px rgba(61,48,96,0.07) !important;
  padding: 0;
  overflow: hidden;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform .15s ease, box-shadow .15s ease;
}
.char-card:hover { transform: translate(-3px,-3px); box-shadow: 9px 9px 0 var(--ink); }
.char-card.main { background: linear-gradient(160deg, #ffffff 0%, var(--sakura-2) 100%); }
.char-card.sub1 { background: linear-gradient(160deg, #ffffff 0%, var(--asagi-2) 100%); }
.char-card.sub2 { background: linear-gradient(160deg, #ffffff 0%, var(--matcha-2) 100%); }
.char-card .char-tag {
  position: absolute; top: 16px; left: 16px;
  background: var(--shu) !important; color: var(--paper);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800; font-size: 11px;
  letter-spacing: 0.16em; padding: 5px 11px;
  border-radius: 999px;
  z-index: 2;
}
.char-card.main .char-tag {
  background: var(--yamabuki); color: var(--ink);
  border: 2px solid var(--ink);
}
.char-card .char-photo {
  width: 100%;
  aspect-ratio: 1/1;
  display: grid; place-items: center;
  overflow: hidden;
  border-bottom: none;
  position: relative;
}
.char-card .char-photo img {
  width: 100%; height: 100%; object-fit: contain;
  padding: 8px;
  border-radius: 25px;
}
.char-card .char-info {
  padding: 22px 26px 26px;
  display: flex; flex-direction: column; gap: 10px;
}
.char-card .char-en {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800; font-size: 13px;
  letter-spacing: 0.14em; color: var(--ink-2);
  text-transform: uppercase;
}
.char-card h3 {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 900; font-size: 22px;
  margin: 0; line-height: 1.2;
}
.char-card.main h3 { font-size: 24px; }
.char-card .char-meta {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px;
}
.char-card .meta-pill {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 800; font-size: 12px;
  padding: 4px 12px;
  border: 2px solid var(--ink); border-radius: 999px;
  background: var(--paper);
  white-space: nowrap;
  line-height: 1.4;
  display: inline-flex; align-items: center;
}
.char-card p {
  margin: 6px 0 0;
  font-size: 14px; color: var(--ink-2); line-height: 1.7;
}

/* ===================== SCENES GALLERY — image-on-top card ===================== */
.scenes {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.scene {
  margin: 0;
  background: white;
  border: 1.5px solid rgba(61,48,96,0.12) !important;
  border-radius: 20px;
  box-shadow: 0 4px 14px rgba(61,48,96,0.07) !important;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .12s ease, box-shadow .12s ease;
}
.scene:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); }
.scene img {
  width: 100%; aspect-ratio: 1/1;
  object-fit: cover; object-position: center top;
  border-bottom: 2.5px solid var(--ink);
  transition: transform .25s ease;
}
.scene:hover img { transform: scale(1.04); }
.scenes > .scene:nth-child(8n+1) { background: var(--sakura-2); }
.scenes > .scene:nth-child(8n+2) { background: var(--asagi-2); }
.scenes > .scene:nth-child(8n+3) { background: var(--matcha-2); }
.scenes > .scene:nth-child(8n+4) { background: var(--fuji-2); }
.scenes > .scene:nth-child(8n+5) { background: var(--yamabuki-2); }
.scenes > .scene:nth-child(8n+6) { background: var(--sakura-2); }
.scenes > .scene:nth-child(8n+7) { background: var(--asagi-2); }
.scenes > .scene:nth-child(8n)   { background: var(--matcha-2); }
.scenes > .scene:nth-child(8n+1) img,
.scenes > .scene:nth-child(8n+2) img,
.scenes > .scene:nth-child(8n+3) img,
.scenes > .scene:nth-child(8n+4) img,
.scenes > .scene:nth-child(8n+5) img,
.scenes > .scene:nth-child(8n+6) img,
.scenes > .scene:nth-child(8n+7) img,
.scenes > .scene:nth-child(8n)   img { background: inherit; }
.scene figcaption {
  padding: 14px 16px 16px;
  display: flex; flex-direction: column; gap: 2px;
  background: white;
}
.scene .sc-jp {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 900; font-size: 15px;
}
.scene .sc-en {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700; font-size: 11px;
  letter-spacing: 0.1em; color: var(--ink-2);
  text-transform: uppercase;
}
.scenes-note {
  margin: 36px auto 0; max-width: 720px;
  text-align: center;
  font-size: 14px; color: var(--ink-2);
  background: white;
  padding: 14px 22px;
  border: 2.5px dashed var(--ink);
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.scenes-note .note-pin { font-size: 18px; }

/* ===================== SYSTEMS (2 cards) ===================== */
.systems {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
}
.system {
  background: white;
  border: 1.5px solid rgba(61,48,96,0.12) !important;
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: 0 4px 14px rgba(61,48,96,0.07) !important;
  position: relative;
  transition: transform .15s ease, box-shadow .15s ease;
}
.system:hover { transform: translate(-3px,-3px); box-shadow: 9px 9px 0 var(--ink); }
.system.s1 { background: var(--sakura-2); }
.system.s2 { background: var(--asagi-2); }
.system .system-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800; font-size: 12px;
  letter-spacing: 0.16em; color: var(--ink-2);
  text-transform: uppercase;
}
.system h3 {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 900; font-size: 32px;
  margin: 8px 0 14px; line-height: 1.25;
}
.system p { margin: 0 0 22px; font-size: 15px; color: var(--ink-2); line-height: 1.85; }
.system .more {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 800; font-size: 15px;
  color: var(--ink);
  padding: 10px 18px;
  background: white;
  border: 2px solid var(--ink); border-radius: 999px;
  box-shadow: 2px 2px 0 var(--ink);
}
.system .more:hover { transform: translate(-1px,-1px); box-shadow: 3px 3px 0 var(--ink); }

/* ===================== RESULTS strip (TOP page) ===================== */
.results-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: white; border: 2.5px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: 5px 5px 0 var(--ink);
  overflow: hidden;
}
.result {
  padding: 32px 26px;
  text-align: center;
  border-right: 2px dashed rgba(31,29,46,.18);
}
.result:last-child { border-right: 0; }
.result .r-num {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 900; font-size: 44px; line-height: 1;
  color: var(--ink);
}
.result .r-num .unit { font-size: 16px; margin-left: 4px; }
.result .r-lbl { font-size: 13px; font-weight: 700; color: var(--ink-2); margin-top: 8px; }

/* Flag pills (TOP) */
.flag-row {
  margin-top: 32px;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.flag-pill {
  background: white;
  border: 2px solid var(--ink); border-radius: 999px;
  padding: 8px 16px;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 800; font-size: 13px;
  box-shadow: 2px 2px 0 var(--ink);
}

/* ===================== FBCTA (TOP page) ===================== */
.fbcta {
  background: linear-gradient(135deg, #FFF0F5 0%, #F5EFFE 100%);
  color: var(--sumi);
  padding: 90px 0 100px;
  border-top: 2px solid rgba(61,48,96,0.12);
  border-bottom: 2px solid rgba(61,48,96,0.12);
  position: relative;
  overflow: hidden;
}
.fbcta::before {
  content: ''; position: absolute;
  top: -100px; right: -80px;
  width: 320px; height: 320px;
  background: var(--sakura);
  border-radius: 50%;
  opacity: 0.35;
}
.fbcta::after {
  content: ''; position: absolute;
  bottom: -120px; left: -100px;
  width: 380px; height: 380px;
  background: var(--fuji);
  border-radius: 50%;
  opacity: 0.35;
}
.fbcta-inner {
  text-align: center;
  position: relative; z-index: 2;
}
.fbcta-ninja {
  width: 200px; height: 200px;
  background: white;
  border: 2px solid rgba(61,48,96,0.2);
  border-radius: 50%;
  margin: 0 auto 24px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(61,48,96,0.12);
}
.fbcta-ninja img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
}
.fbcta h2 {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 900;
  font-size: clamp(30px, 4.4vw, 56px);
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--sumi);
}
.fbcta h2 .stamp {
  display: inline-block;
  background: var(--shu);
  color: white;
  padding: 4px 18px;
  border-radius: 16px;
  margin: 0 4px;
}
.fbcta p {
  font-size: 16px; line-height: 1.85;
  margin: 0 auto 32px;
  max-width: 600px;
  color: var(--sumi-2);
}
@media (max-width: 767px) {
	.fbcta p{
		font-size: 13px
	}
}
.fbcta .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.fbcta .btn { background: white; color: var(--sumi); border-color: rgba(61,48,96,0.25); box-shadow: 0 3px 10px rgba(61,48,96,0.1); }
.fbcta .btn-fb { background: #1877F2; color: white; border-color: #1877F2; }
.fbcta .btn-fb:hover { box-shadow: 0 5px 16px rgba(24,119,242,0.3); }

/* ===================== FLOATING SNS ===================== */
.fsns {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 80;
}
.fsns-toggle {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--shu);
  color: var(--paper);
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 900; font-size: 12px;
  display: grid; place-items: center;
  position: relative;
  text-align: center;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .15s ease;
}
.fsns-toggle:hover { transform: scale(1.05); }
.fsns-toggle .badge-dot {
  position: absolute;
  top: -6px; right: -6px;
  width: 26px; height: 26px;
  background: var(--asagi);
  color: var(--paper);
  border-radius: 50%;
  border: 2px solid var(--ink);
  display: grid; place-items: center;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800; font-size: 13px;
}
.fsns-panel {
  position: absolute;
  bottom: 100px;
  right: 0;
  width: 290px;
  background: white;
  border: 2.5px solid var(--ink);
  border-radius: 18px;
  box-shadow: 5px 5px 0 var(--ink);
  padding: 20px;
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.fsns-panel.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.fsns-panel h5 {
  margin: 0 0 14px;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 900; font-size: 15px;
}
.fsns-list { display: flex; flex-direction: column; gap: 8px; }
/* トップページ③ お問い合わせ: 2カラムグリッド */
.fb-links-2col {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 480px) {
  .fb-links-2col { grid-template-columns: 1fr; }
}
.fsns-link {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 800; font-size: 13px;
  white-space: nowrap;
  text-decoration: none;
  color: var(--ink);
}
.fsns-link:hover { background: var(--shu-2); }
.fsns-link .flag-em { font-size: 18px; }
.fsns-link .sns-ico {
  margin-left: auto;
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: #1877F2; color: white;
  border-radius: 50%;
  border: 2px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
}

