/* ====== ちょびっつ brand site ====== */
:root {
  --cream: #FFF6E9;
  --ink: #211D1D;
  --coral: #FF7757;
  --coral-light: #FFD9CC;
  --teal: #2EC4B6;
  --teal-light: #C9F0EC;
  --yellow: #FFD23F;
  --yellow-light: #FFEDB3;
  --white: #FFFFFF;
  --radius: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", sans-serif;
  font-weight: 500;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.9;
  overflow-x: hidden;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 28px;
  background: rgba(255, 246, 233, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--ink);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand-logo {
  width: auto;
  height: 60px;
  transition: transform .3s;
}
.brand:hover .brand-logo { transform: rotate(-3deg) translateY(-2px); }

.nav { display: flex; align-items: center; gap: 26px; }

.nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  font-size: .95rem;
  position: relative;
}
.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -4px;
  height: 3px;
  border-radius: 3px;
  background: var(--coral);
  transition: right .25s;
}
.nav a:not(.nav-cta):hover::after { right: 0; }

.nav-cta {
  background: var(--coral);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 999px;
  border: 3px solid var(--ink);
  box-shadow: 0 4px 0 var(--ink);
  transition: transform .15s, box-shadow .15s;
}
.nav-cta:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--ink); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 96px 24px 80px;
  text-align: center;
}

.hero-cat {
  width: 150px;
  height: 120px;
  color: var(--ink);
  display: block;
  margin: 0 auto -6px;
  animation: bob 3.2s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-title {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.tile {
  display: inline-grid;
  place-items: center;
  width: 110px;
  height: 110px;
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
  background: var(--white);
  border: 5px solid var(--ink);
  border-radius: 26px;
  box-shadow: 0 7px 0 var(--ink);
}
.t1 { background: var(--yellow); transform: rotate(-5deg); }
.t2 { background: var(--white); transform: rotate(3deg) translateY(8px); }
.t3 { background: var(--teal-light); transform: rotate(-2deg); }
.t4 { background: var(--coral-light); transform: rotate(4deg) translateY(8px); }
.t5 { background: var(--white); transform: rotate(-3deg); }

.tile { transition: transform .2s; }
.tile:hover { transform: rotate(0deg) translateY(-6px) scale(1.06); }

.hero-logo {
  display: block;
  width: min(280px, 64vw);
  height: auto;
  margin: 38px auto 0;
  animation: bob 3.2s ease-in-out infinite;
}

.hero-en {
  margin-top: 34px;
  font-family: "Baloo 2", "M PLUS Rounded 1c", sans-serif;
  font-weight: 700;
  letter-spacing: .22em;
  font-size: .95rem;
  text-transform: lowercase;
  color: var(--ink);
  opacity: .65;
}
.hero-en strong { color: var(--coral); opacity: 1; }

.hero-catch {
  margin-top: 18px;
  font-size: clamp(1.5rem, 4.2vw, 2.4rem);
  font-weight: 900;
  letter-spacing: .04em;
}
.hero-catch em {
  font-style: normal;
  background: linear-gradient(transparent 62%, var(--yellow) 62%);
  padding: 0 .1em;
}

.hero-sub {
  margin-top: 14px;
  font-size: 1.02rem;
  font-weight: 700;
  opacity: .85;
}

.paw { position: absolute; color: var(--coral); opacity: .5; }
.paw-1 { width: 44px; height: 44px; left: 8%; top: 120px; transform: rotate(-20deg); color: var(--teal); }
.paw-2 { width: 30px; height: 30px; right: 10%; top: 90px; transform: rotate(25deg); }
.paw-3 { width: 36px; height: 36px; right: 16%; bottom: 60px; transform: rotate(-12deg); color: var(--yellow); opacity: .8; }

/* ---------- marquee ---------- */
.marquee {
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  background: var(--yellow);
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0;
}
.marquee-track {
  display: inline-flex;
  animation: scroll 60s linear infinite;
}
.marquee-track span {
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: .12em;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- sections ---------- */
.section {
  max-width: 980px;
  margin: 0 auto;
  padding: 90px 24px;
  text-align: center;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s, transform .7s;
}
.section.on { opacity: 1; transform: none; }

.section-alt {
  max-width: none;
  background: var(--teal-light);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}
.section-alt > * { max-width: 980px; margin-left: auto; margin-right: auto; }

.section-title {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 14px;
  font-size: clamp(1.6rem, 3.6vw, 2.2rem);
  font-weight: 900;
  letter-spacing: .06em;
  margin-bottom: 36px;
}
.title-paw {
  width: 30px; height: 30px;
  color: var(--coral);
  align-self: center;
  flex: none;
}
.section-en {
  font-family: "Baloo 2", sans-serif;
  font-size: .85rem;
  letter-spacing: .3em;
  color: var(--coral);
}

.statement {
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  font-weight: 900;
  line-height: 1.7;
  margin-bottom: 22px;
}

.lead {
  font-size: 1.02rem;
  font-weight: 700;
  opacity: .85;
}

/* ---------- about cards ---------- */
.cards {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.reveal-group > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s, transform .6s;
}
.reveal-group > *.on { opacity: 1; transform: none; }
.reveal-group > *:nth-child(2) { transition-delay: .12s; }
.reveal-group > *:nth-child(3) { transition-delay: .24s; }

.card {
  position: relative;
  background: var(--white);
  border: 4px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 6px 0 var(--ink);
  padding: 34px 24px 28px;
  text-align: center;
}

/* 猫耳カード（回転スクエアの上半分が三角の耳に見える） */
.card-ears::before,
.card-ears::after {
  content: "";
  position: absolute;
  top: -13px;
  width: 34px;
  height: 34px;
  background: var(--white);
  border: 4px solid var(--ink);
  border-radius: 7px;
  transform: rotate(45deg);
  z-index: -1;
}
.card-ears::before { left: 26px; }
.card-ears::after { right: 26px; }

.card-emoji { font-size: 2.2rem; display: block; }

.card-icon {
  display: block;
  width: 58px;
  height: 58px;
  margin: 0 auto;
}

.card h3 {
  font-size: 1.18rem;
  font-weight: 900;
  margin: 10px 0 8px;
}

.card p {
  font-size: .92rem;
  text-align: left;
  opacity: .85;
}

/* ---------- works ---------- */
.works {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  text-align: left;
}

.work {
  background: var(--white);
  border: 4px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 6px 0 var(--ink);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.work:hover { transform: translateY(-4px); box-shadow: 0 10px 0 var(--ink); }

.work-visual {
  height: 210px;
  display: grid;
  place-items: center;
  border-bottom: 4px solid var(--ink);
  position: relative;
  overflow: hidden;
}
.wv-1 { background: linear-gradient(135deg, #4361EE, #4CC9F0); }
.wv-2 { background: linear-gradient(135deg, var(--yellow), var(--coral)); }

.work-kana {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: .12em;
  text-shadow: 0 4px 0 rgba(0,0,0,.25);
}
.work-kana-s {
  position: absolute;
  bottom: 16px;
  right: 20px;
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--white);
  text-shadow: 0 3px 0 rgba(0,0,0,.2);
}
.more-cat {
  width: auto;
  height: 150px;
  transform: translateY(4px);
}

.work-body { padding: 18px 24px 22px; }

.work-body h3 { font-size: 1.3rem; font-weight: 900; }

.work-tag {
  display: inline-block;
  margin-top: 8px;
  font-size: .82rem;
  font-weight: 800;
  background: var(--yellow-light);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 2px 14px;
}

/* ---------- contact ---------- */
.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  background: var(--coral);
  color: var(--white);
  text-decoration: none;
  font-family: "Baloo 2", "M PLUS Rounded 1c", sans-serif;
  font-weight: 800;
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  letter-spacing: .04em;
  padding: 18px 44px;
  border: 4px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 7px 0 var(--ink);
  transition: transform .15s, box-shadow .15s;
}
.contact-btn:hover { transform: translateY(3px); box-shadow: 0 4px 0 var(--ink); }
.btn-paw { width: 30px; height: 30px; color: var(--white); flex: none; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 3px solid var(--ink);
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  padding: 0 24px 34px;
}

.footer-walk {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 22px;
  height: 74px;
  transform: translateY(-3px);
  color: var(--cream);
}
.walk-cat { width: auto; height: 72px; }
.walk-paw { width: 18px; height: 18px; opacity: .7; }
.wp1 { transform: rotate(15deg) translateY(-8px); }
.wp2 { transform: rotate(-10deg); }
.wp3 { transform: rotate(20deg) translateY(-10px); }
.wp4 { transform: rotate(-5deg); }

.footer-brand { font-weight: 900; font-size: 1.2rem; letter-spacing: .08em; margin-top: 10px; }
.footer-brand span { font-family: "Baloo 2", sans-serif; font-size: .85rem; opacity: .7; letter-spacing: .15em; }
.footer-copy { margin-top: 6px; font-size: .8rem; opacity: .55; font-family: "Baloo 2", sans-serif; letter-spacing: .12em; }

/* ---------- language link ---------- */
.lang-link {
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 4px 14px;
  background: var(--white);
  box-shadow: 0 3px 0 var(--ink);
  transition: transform .15s, box-shadow .15s;
}
.lang-link:hover { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.nav a.lang-link::after { content: none; }

/* ---------- sub page hero ---------- */
.page-hero {
  position: relative;
  text-align: center;
  padding: 72px 24px 56px;
  max-width: 980px;
  margin: 0 auto;
}
.page-hero .hero-cat {
  width: auto;
  height: 104px;
  margin-bottom: 10px;
}
.page-title {
  font-size: clamp(1.9rem, 4.5vw, 2.6rem);
  font-weight: 900;
  letter-spacing: .08em;
}
.page-en {
  display: block;
  margin-top: 6px;
  font-family: "Baloo 2", sans-serif;
  font-size: .9rem;
  letter-spacing: .32em;
  color: var(--coral);
  font-weight: 800;
}
.page-lead {
  margin-top: 18px;
  font-weight: 700;
  opacity: .85;
}

/* ---------- company table ---------- */
.company-table-wrap {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border: 4px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 6px 0 var(--ink);
  overflow: hidden;
  text-align: left;
}
.company-table {
  width: 100%;
  border-collapse: collapse;
}
.company-table th,
.company-table td {
  padding: 18px 24px;
  border-bottom: 3px solid var(--ink);
  vertical-align: top;
  font-size: .98rem;
}
.company-table tr:last-child th,
.company-table tr:last-child td { border-bottom: none; }
.company-table th {
  width: 32%;
  background: var(--yellow-light);
  border-right: 3px solid var(--ink);
  font-weight: 900;
  white-space: nowrap;
}
.company-table a { color: var(--coral); font-weight: 800; }
.pending {
  opacity: .55;
  font-weight: 700;
}

/* ---------- recruit ---------- */
.culture {
  margin: 0 auto 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 920px;
}
.culture-item {
  background: var(--white);
  border: 4px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 5px 0 var(--ink);
  padding: 22px 20px;
}
.culture-item .card-emoji { font-size: 1.8rem; }
.culture-item h3 { font-size: 1.05rem; font-weight: 900; margin: 6px 0 4px; }
.culture-item p { font-size: .88rem; text-align: left; opacity: .85; }

.jobs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 920px;
  margin: 0 auto;
  text-align: left;
}
.job {
  background: var(--white);
  border: 4px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 5px 0 var(--ink);
  padding: 24px 26px;
  transition: transform .2s, box-shadow .2s;
}
.job:hover { transform: translateY(-3px); box-shadow: 0 8px 0 var(--ink); }
.job-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.job h3 { font-size: 1.15rem; font-weight: 900; }
.job-type {
  font-size: .74rem;
  font-weight: 800;
  background: var(--teal-light);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 1px 10px;
  white-space: nowrap;
}
.job p { margin-top: 8px; font-size: .9rem; opacity: .85; }

.apply-box {
  max-width: 760px;
  margin: 64px auto 0;
  background: var(--white);
  border: 4px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 6px 0 var(--ink);
  padding: 36px 28px 40px;
}
.apply-box h3 { font-size: 1.3rem; font-weight: 900; }
.apply-box p { margin-top: 10px; font-size: .95rem; font-weight: 700; opacity: .85; }
.apply-box .contact-btn { margin-top: 24px; }

@media (max-width: 760px) {
  .culture { grid-template-columns: 1fr; }
  .jobs { grid-template-columns: 1fr; }
  .company-table th { width: 36%; white-space: normal; }
  .company-table th, .company-table td { padding: 14px 16px; font-size: .9rem; }
}

/* ---------- footer links ---------- */
.footer-links {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.footer-links a {
  color: var(--cream);
  text-decoration: none;
  font-size: .85rem;
  font-weight: 800;
  opacity: .8;
}
.footer-links a:hover { opacity: 1; text-decoration: underline; }

/* ---------- responsive ---------- */
.sp { display: none; }

@media (max-width: 760px) {
  .sp { display: inline; }
  .pc { display: none; }

  .site-header { flex-wrap: wrap; gap: 8px; padding: 12px 16px; }
  .nav { gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
  .nav a:not(.nav-cta) { font-size: .82rem; }
  .nav-cta { padding: 6px 14px; font-size: .82rem; }

  .hero { padding: 64px 16px 60px; }
  .tile { width: 64px; height: 64px; font-size: 38px; border-radius: 18px; border-width: 4px; box-shadow: 0 5px 0 var(--ink); }
  .hero-title { gap: 8px; }
  .hero-cat { width: 110px; height: 88px; }

  .section { padding: 64px 18px; }
  .cards { grid-template-columns: 1fr; gap: 30px; }
  .works { grid-template-columns: 1fr; }
}
