/* クロネコワークス TOP */
:root {
  --paper: #eef0f2;
  --ink: #1e2230;
  --night: #262b3d;
  --eye: #f2c230;
  --muted: #5b6170;
  --line: #d3d7de;
  --white: #ffffff;
  --font-display: "Dela Gothic One", "Zen Kaku Gothic New", sans-serif;
  --font-body: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --wrap: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
a:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--eye);
  outline-offset: 3px;
}

h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }

.sp-only { display: none; }

/* ヘッダー */
.site-header {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  font-family: var(--font-display);
  font-size: 20px;
  text-decoration: none;
}
.site-header ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
}
.site-header nav a { text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ヒーロー */
.hero {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 72px 24px 0;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: end;
  gap: 40px;
}
.hero__text { padding-bottom: 72px; }
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(56px, 10vw, 128px);
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.hero__lead {
  margin-top: 32px;
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 700;
  line-height: 1.6;
}
.hero__sub {
  margin-top: 16px;
  max-width: 30em;
  color: var(--muted);
}
.hero .btn { margin-top: 32px; }

.hero__cat {
  position: relative;
  color: var(--ink);
  display: flex;
  justify-content: center;
}
.cat { --cw: 300px; width: var(--cw); max-width: 100%; position: relative; z-index: 1; mix-blend-mode: multiply; margin-bottom: calc(var(--cw) * -0.012); }
.cat__video { display: block; width: 100%; height: auto; aspect-ratio: 480 / 340; }
.hero__ground {
  position: absolute;
  left: -40px; right: -40px; bottom: 0;
  height: 6px;
  background: var(--ink);
}

/* セクション共通 */
.section {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 96px 24px;
}
.section__head { margin-bottom: 48px; }
.section__head h2, .contact h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.3;
}
.section__head p { margin-top: 12px; color: var(--muted); max-width: 36em; }

/* ボタン */
.btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  transition: background 0.2s;
}
.btn:hover { background: #3a4058; }
.btn--light { background: var(--eye); color: var(--ink); }
.btn--light:hover { background: #ffd451; }

/* 制作サンプル：カード型 */
.works { padding-top: 64px; }
.work-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
.work { display: flex; }
.work__link {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 1px 0 var(--line), 0 0 0 1px rgba(30, 34, 48, 0.06);
  transition: transform 0.35s cubic-bezier(.22,.8,.24,1), box-shadow 0.35s;
}
a.work__link:hover { transform: translateY(-6px); box-shadow: 0 22px 40px -22px rgba(30, 34, 48, 0.45), 0 0 0 1px rgba(30, 34, 48, 0.06); }
.work__thumb {
  aspect-ratio: 16 / 10;
  background: repeating-linear-gradient(135deg, var(--line) 0 2px, transparent 2px 12px);
  overflow: hidden;
  border-bottom: 1px solid rgba(30, 34, 48, 0.06);
}
.work__thumb--photo { background: var(--night); }
.work__thumb--photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s cubic-bezier(.22,.8,.24,1); }
a.work__link:hover .work__thumb--photo img { transform: scale(1.05); }
.work__body { flex: 1; display: flex; flex-direction: column; padding: 20px 22px 22px; }
.work__cat { font-size: 12px; font-weight: 700; color: var(--muted); }
.work__title { font-size: 17px; font-weight: 700; line-height: 1.6; margin-top: 4px; }
.work__desc { margin-top: 10px; font-size: 14px; line-height: 1.8; color: var(--muted); }
.work__more { margin-top: auto; padding-top: 18px; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.work__more::after { content: "→"; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--eye); font-size: 13px; transition: transform 0.35s cubic-bezier(.22,.8,.24,1); }
a.work__link:hover .work__more::after { transform: translateX(4px); }
.work__status {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
  white-space: nowrap;
}
.work.is-soon .work__link { background: transparent; box-shadow: none; border: 1.5px dashed var(--line); }
.work.is-soon .work__title { color: var(--muted); }

/* できること */
.service-list {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 64px;
}
.service-list dt {
  font-size: 20px;
  font-weight: 700;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
}
.service-list dd { margin: 12px 0 0; color: var(--muted); }

/* 制作の流れ */
.flow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.flow-list li { counter-increment: step; position: relative; padding-top: 56px; }
.flow-list li::before {
  content: counter(step);
  position: absolute;
  top: 0; left: 0;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 18px;
  background: var(--ink);
  color: var(--eye);
  border-radius: 50%;
}
.flow-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 19px; left: 52px; right: -12px;
  height: 2px;
  background: var(--line);
}
.flow-list h3 { font-size: 17px; font-weight: 700; }
.flow-list p { margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.75; }

/* お問い合わせ */
.contact {
  max-width: none;
  background: var(--night);
  color: var(--white);
  text-align: center;
}
.contact p { margin: 20px auto 0; max-width: 32em; color: #c6cad6; }
.contact .btn { margin-top: 36px; }
.contact .contact__note { font-size: 13px; color: #8b91a3; margin-top: 16px; }

.site-footer {
  background: var(--night);
  color: #8b91a3;
  text-align: center;
  font-size: 13px;
  padding: 24px;
  border-top: 1px solid #353b52;
}

/* レスポンシブ */
@media (max-width: 900px) {
  .flow-list { grid-template-columns: 1fr; gap: 0; }
  .flow-list li { padding: 0 0 28px 60px; }
  .flow-list li:not(:last-child)::after {
    top: 48px; bottom: 6px; left: 19px; right: auto;
    width: 2px; height: auto;
  }
}

@media (max-width: 1140px) {
  .hero__ground { left: -24px; right: -24px; }
}

@media (max-width: 960px) {
  .work-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .sp-only { display: inline; }
  .site-header { flex-direction: column; align-items: flex-start; padding: 16px; }
  .site-header ul { gap: 18px; flex-wrap: wrap; }
  .hero { grid-template-columns: 1fr; padding: 40px 16px 0; gap: 0; }
  .hero__text { padding-bottom: 32px; }
  .cat { --cw: 210px; }
  .hero__ground { left: -16px; right: -16px; }
  .section { padding: 72px 16px; }
  .work-list { grid-template-columns: 1fr; gap: 20px; }
  .service-list { grid-template-columns: 1fr; gap: 32px; }
}
