/* ============================================================
   カズミア 採用サイト制作LP — style.css
   ============================================================ */

:root {
  /* Ink & paper */
  --kz-ink: #222;
  --kz-white: #fff;
  --kz-paper: #f6f6f6;
  --kz-hairline: rgba(0, 0, 0, .2);

  /* Brand pastels */
  --kz-sky: #6ad0ff;
  --kz-green: #98ee8c;
  --kz-pink: #ff8890;
  --kz-yellow: #ffe988;
  --kz-violet: #a499fa;
  --kz-gold: #f5da5f;

  /* Greys */
  --kz-grey-40: #666;
  --kz-grey-53: #888;
  --kz-grey-73: #bbb;

  /* Type */
  --font-sans: 'LINE Seed JP', 'Zen Maru Gothic', sans-serif;
  --font-latin: 'Alexandria', sans-serif;
  --font-display: 'LINE Seed JP', 'Zen Maru Gothic', sans-serif;

  /* Motifs */
  --shadow-sticker: inset 0 0 0 2px var(--kz-ink), 3px 3px 0 0 var(--kz-ink);
  --shadow-sticker-lift: inset 0 0 0 2px var(--kz-ink), 4px 4px 0 0 var(--kz-ink);
  --radius-card: 20px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--kz-white);
  color: var(--kz-ink);
  font-family: var(--font-sans);
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: opacity .2s var(--ease-out); }
a:hover { opacity: .7; }
img { max-width: 100%; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 40px; }

/* ---------- Common ---------- */
.sec-head { text-align: center; margin-bottom: 48px; }
.sec-label { font-family: var(--font-latin); font-size: 13px; letter-spacing: .22em; color: var(--kz-grey-53); }
.sec-title { font-size: 50px; font-weight: 700; margin: 10px 0 0; letter-spacing: .02em; line-height: 1.5; }

.sticker {
  border-radius: var(--radius-card);
  background: var(--kz-white);
  box-shadow: var(--shadow-sticker);
}

/* Confetti (generated by main.js) */
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.confetti > i { position: absolute; display: block; opacity: .9; }

@keyframes kzFloat  { 0%,100% { transform: translateY(0) }   50% { transform: translateY(-12px) } }
@keyframes kzDriftX { 0%,100% { transform: translateX(0) }   50% { transform: translateX(22px) } }
@keyframes kzDriftX2{ 0%,100% { transform: translateX(0) }   50% { transform: translateX(-20px) } }
@keyframes kzDriftY { 0%,100% { transform: translateY(0) }   50% { transform: translateY(18px) } }
@keyframes kzDiag   { 0%,100% { transform: translate(0,0) }  50% { transform: translate(16px,-16px) } }
@keyframes kzDiag2  { 0%,100% { transform: translate(0,0) }  50% { transform: translate(-15px,14px) } }
@keyframes kzPulse  { 0%,100% { transform: scale(1) }        50% { transform: scale(1.35) } }
@keyframes kzPulse2 { 0%,100% { transform: scale(1) }        50% { transform: scale(.72) } }

.float { animation: kzFloat 4.2s ease-in-out infinite; }
.float--slow { animation: kzFloat 5s ease-in-out .8s infinite; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 30px;
  font-family: var(--font-sans); font-weight: 700; font-size: 13px;
  letter-spacing: .06em; line-height: 1; white-space: nowrap;
  border: none; border-radius: 999px; cursor: pointer;
  background: var(--kz-ink); color: var(--kz-white);
  box-shadow: var(--shadow-sticker);
  transition: transform .15s var(--ease-out), box-shadow .15s var(--ease-out);
}
.btn:hover { opacity: 1; transform: translate(-1px, -1px); box-shadow: var(--shadow-sticker-lift); }
.btn:active { transform: translate(3px, 3px); box-shadow: inset 0 0 0 2px var(--kz-ink); }
.btn--secondary { background: var(--kz-white); color: var(--kz-ink); }
.btn--sm { font-size: 12px; padding: 9px 20px; gap: 6px; }
.btn--lg { font-size: 15px; padding: 17px 40px; gap: 10px; }
.btn svg { flex: none; }

/* ---------- Speech bubble ---------- */
.bubble {
  --bubble-fill: var(--kz-white);
  position: relative; display: inline-block;
  max-width: 320px; padding: 16px 20px;
  background: var(--bubble-fill); border-radius: 18px;
  box-shadow: inset 0 0 0 2px var(--kz-ink);
  font-size: 14px; line-height: 1.7;
}
.bubble--yellow { --bubble-fill: var(--kz-yellow); }
.bubble--sky    { --bubble-fill: var(--kz-sky); }
.bubble--pink   { --bubble-fill: var(--kz-pink); }
.bubble--block  { display: block; max-width: none; }

/* tail: outline triangle + fill triangle */
.bubble::before, .bubble::after {
  content: ""; position: absolute; width: 0; height: 0;
}
/* bottom-left tail (default) */
.bubble::before {
  bottom: -11px; left: 28px;
  border-left: 12px solid transparent; border-right: 12px solid transparent;
  border-top: 14px solid var(--kz-ink);
}
.bubble::after {
  bottom: -8px; left: 31px;
  border-left: 9px solid transparent; border-right: 9px solid transparent;
  border-top: 11px solid var(--bubble-fill);
}
/* bottom-right tail */
.bubble--tail-br::before { left: auto; right: 28px; }
.bubble--tail-br::after  { left: auto; right: 31px; }
/* right-bottom tail (points right) */
.bubble--tail-rb::before {
  bottom: auto; left: auto; right: -11px; top: auto; bottom: 20px;
  border-top: 12px solid transparent; border-bottom: 12px solid transparent;
  border-left: 14px solid var(--kz-ink); border-right: none;
}
.bubble--tail-rb::after {
  bottom: auto; left: auto; right: -8px; bottom: 23px;
  border-top: 9px solid transparent; border-bottom: 9px solid transparent;
  border-left: 11px solid var(--bubble-fill); border-right: none;
}
/* left-top tail (points left) */
.bubble--tail-lt::before {
  bottom: auto; left: -11px; top: 20px;
  border-top: 12px solid transparent; border-bottom: 12px solid transparent;
  border-right: 14px solid var(--kz-ink); border-left: none; border-top-color: transparent;
}
.bubble--tail-lt::after {
  bottom: auto; left: -8px; top: 23px;
  border-top: 9px solid transparent; border-bottom: 9px solid transparent;
  border-right: 11px solid var(--bubble-fill); border-left: none; border-top-color: transparent;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--kz-ink);
}
.site-header .wrap {
  height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.site-header .logo img { height: 56px; display: block; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 13.5px; font-weight: 700; letter-spacing: .03em; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background-image: linear-gradient(180deg, #eaf7ff 0%, #ffffff 78%);
}
.hero .wrap {
  position: relative; z-index: 2;
  padding: 66px 40px 86px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
}
.hero-en { margin-top: 24px; font-family: var(--font-latin); font-size: 13px; letter-spacing: .24em; color: var(--kz-grey-53); }
.hero h1 { font-family: var(--font-display); font-weight: 900; font-size: 54px; line-height: 1.3; margin: 8px 0 0; letter-spacing: .01em; }
.hero-catch { font-size: 21px; font-weight: 700; margin: 24px 0 0; line-height: 1.8; }
.hero-lede { font-size: 15.5px; line-height: 2; margin: 14px 0 0; max-width: 480px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
.hero-visual { position: relative; height: 430px; }
.hero-card { position: absolute; right: 0; top: 26px; width: 330px; height: 300px; }
.hero-card img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-card); }
.hero-card .bubble { position: absolute; left: 85px; top: -34px; }
.hero-monitor {
  position: absolute; left: -24px; top: 309px; width: 140px;
  mix-blend-mode: multiply;
}

/* ---------- Problem ---------- */
.problem { background: var(--kz-paper); padding: 90px 0; position: relative; overflow: hidden; }
.problem .wrap { position: relative; z-index: 2; }
.problem-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 22px; align-items: start; }
.problem-close { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 52px; flex-wrap: wrap; }
.problem-close img { width: 88px; }
.problem-close p { font-size: 24px; font-weight: 700; margin: 0; line-height: 1.9; }

/* ---------- Point ---------- */
.point { padding: 90px 0; position: relative; overflow: hidden; }
.point .wrap { position: relative; z-index: 2; }
.point-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 26px; align-items: stretch; }
.point-card { padding: 30px 26px; display: flex; flex-direction: column; gap: 14px; }
.point-card-head { display: flex; align-items: center; gap: 14px; }
.point-card-head img { width: 120px; margin-left: auto; }
.point-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--kz-ink);
  font-family: var(--font-latin); font-weight: 700; font-size: 18px;
}
.point-num--1 { background: var(--kz-yellow); }
.point-num--2 { background: var(--kz-sky); }
.point-num--3 { background: var(--kz-green); }
.point-card h3 { font-size: 19px; font-weight: 700; margin: 0; line-height: 1.6; }
.point-sub { font-size: 13.5px; font-weight: 700; color: var(--kz-grey-40); }
.point-card p { font-size: 14.5px; line-height: 2; margin: 0; text-align: justify; }

/* ---------- Feature ---------- */
.feature { background: var(--kz-paper); padding: 90px 0; }
.feature .sec-head { margin-bottom: 56px; }
.feature-list { display: flex; flex-direction: column; gap: 64px; }
.feature-row { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: center; }
.feature-row--rev { grid-template-columns: 1.15fr .85fr; }
.feature-photo { overflow: hidden; }
.feature-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-card); display: block; }
.feature-num { font-family: var(--font-latin); font-size: 26px; font-weight: 300; letter-spacing: .16em; color: var(--kz-grey-53); }
.feature-row h3 { font-size: 24px; font-weight: 700; margin: 8px 0 0; line-height: 1.6; }
.feature-row > div > p { font-size: 15px; line-height: 2; margin: 16px 0 0; text-align: justify; }
.checklist { display: flex; flex-direction: column; margin-top: 18px; font-size: 14px; line-height: 1.8; }
.checklist > div { padding: 10px 0; border-bottom: 1px dashed var(--kz-hairline); display: flex; gap: 10px; }
.checklist > div:last-child { border-bottom: none; }
.checklist .ck { font-weight: 700; }

/* ---------- Flow ---------- */
.flow { background: var(--kz-paper); padding: 90px 0; }
.flow-note { font-size: 13px; color: var(--kz-grey-53); margin: 12px 0 0; }
.flow-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.flow-step { padding: 22px 14px; text-align: center; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.flow-step .en { font-family: var(--font-latin); font-size: 13px; letter-spacing: .18em; color: var(--kz-grey-53); }
.flow-step .ttl { font-size: 14.5px; font-weight: 700; line-height: 1.7; }

/* ---------- QA ---------- */
.qa { padding: 90px 0; position: relative; overflow: hidden; }
.qa .wrap { position: relative; z-index: 2; max-width: 900px; }
.qa .sec-title { font-size: 34px; }
.qa-list { display: flex; flex-direction: column; gap: 16px; }
.qa-item { border-radius: var(--radius-card); background: var(--kz-white); box-shadow: var(--shadow-sticker); }
.qa-q {
  display: flex; gap: 16px; padding: 20px 24px; cursor: pointer;
  align-items: flex-start; width: 100%; text-align: left;
  background: none; border: none; font-family: inherit; color: inherit; letter-spacing: inherit;
}
.qa-q .txt { flex: 1; font-weight: 700; font-size: 15.5px; line-height: 1.8; padding-top: 4px; }
.qa-q .ind { flex: none; font-family: var(--font-latin); font-size: 22px; font-weight: 300; padding-top: 2px; color: var(--kz-grey-40); }
.qa-badge {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--kz-ink);
  font-family: var(--font-latin); font-weight: 700; font-size: 15px;
}
.qa-badge--q { background: var(--kz-yellow); }
.qa-badge--a { background: var(--kz-sky); }
.qa-a { display: none; }
.qa-item.is-open .qa-a { display: block; }
.qa-a-divider { margin: 0 24px; border-top: 1px dashed var(--kz-hairline); }
.qa-a-body { display: flex; gap: 16px; padding: 20px 24px 24px; align-items: flex-start; }
.qa-a-body p { flex: 1; font-size: 14.5px; line-height: 2.1; margin: 0; padding-top: 2px; text-align: justify; }
.qa-close { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 48px; }
.qa-close img { width: 84px; }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; padding: 84px 0;
  background: linear-gradient(180deg, #fff5d6 0%, #ffe1e3 100%);
}
.cta .wrap { position: relative; z-index: 2; text-align: center; }
.cta-illust { width: 92px; margin: 0 auto 10px; display: block; mix-blend-mode: multiply; }
.cta h2 { font-family: var(--font-display); font-weight: 900; font-size: 36px; margin: 0 0 14px; line-height: 1.5; }
.cta p { font-size: 15.5px; line-height: 2; margin: 0 0 32px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--kz-ink); color: var(--kz-white); padding: 56px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer .logo img { height: 52px; filter: invert(1) brightness(2); }
.footer-tagline { margin: 18px 0 0; font-size: 13px; line-height: 1.9; color: var(--kz-grey-73); }
.footer-label { font-family: var(--font-latin); font-size: 12px; letter-spacing: .2em; color: var(--kz-grey-53); margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.footer-copy {
  margin-top: 40px; padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .15);
  font-family: var(--font-latin); font-size: 12px; color: var(--kz-grey-53);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .wrap { padding: 0 24px; }
  .nav-links { display: none; }
  .sec-title { font-size: 32px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero h1 { font-size: 42px; }
  .hero-visual { height: 400px; }
  .problem-grid, .point-grid { grid-template-columns: 1fr; }
  .feature-row, .feature-row--rev { grid-template-columns: 1fr; }
  .feature-row--rev .feature-photo { order: -1; }
  .flow-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta h2 { font-size: 28px; }
}
