:root {
  --red: #d40000;
  --black: #080808;
  --gray: #d8d8d8;
  --light: #eeeeee;
  --white: #ffffff;
  --text-muted: rgba(0, 0, 0, 0.7);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--gray);
  color: var(--black);
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "palt";
  line-height: 1.7;
}

body.is-menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

.site {
  overflow: hidden;
  background: var(--gray);
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 110px 0;
}

.section-grid-bg {
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.35em;
}

.section-label::before {
  content: "";
  width: 42px;
  height: 3px;
  background: var(--red);
}

.section-label-white {
  color: var(--red);
}

.section-title {
  margin: 0;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.28;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.section-lead {
  max-width: 720px;
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 2;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 30px;
  border: 2px solid var(--black);
  color: var(--black);
  background: transparent;
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.16em;
  transition: 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-red {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
  box-shadow: 8px 8px 0 var(--black);
}

.button-red:hover {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
  box-shadow: 12px 12px 0 var(--red);
}

.button-outline:hover {
  background: var(--black);
  color: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 4px solid var(--black);
  color: var(--black);
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.18em;
  transition: 0.25s ease;
}

.text-link::after {
  content: "→";
  color: var(--red);
}

.text-link:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(216, 216, 216, 0.9);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.brand-logo,
.card-logo,
.contact-logo,
.footer-logo {
  font-family: Impact, "Arial Black", "Noto Sans JP", sans-serif;
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1;
}

.brand-logo {
  color: var(--red);
  font-size: clamp(32px, 4vw, 46px);
}

.brand-sub {
  position: relative;
  padding-left: 18px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.28em;
  white-space: nowrap;
}

.brand-sub::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 28px;
  background: rgba(0, 0, 0, 0.35);
  transform: translateY(-50%);
}

.global-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 30px;
}

.global-nav a {
  color: var(--black);
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  transition: color 0.2s ease;
}

.global-nav a:hover {
  color: var(--red);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  transition: 0.25s ease;
}

.header-cta:hover {
  background: var(--red);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border: 2px solid var(--black);
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--black);
  transition: 0.25s ease;
}

.menu-button.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-button.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-button.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  padding: 88px 0 96px;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: 90px;
  z-index: -1;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background: rgba(212, 0, 0, 0.16);
  filter: blur(50px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  margin: 0 0 34px;
  padding: 0 96px 22px 0;
  border-bottom: 10px solid var(--black);
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.35em;
}

.hero-title {
  margin: 0;
  font-size: clamp(56px, 8vw, 112px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.hero-title span {
  color: var(--red);
}

.hero-lead {
  max-width: 660px;
  margin: 32px 0 0;
  color: rgba(0, 0, 0, 0.72);
  font-size: 17px;
  line-height: 2;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 42px;
}

.hero-visual {
  min-width: 0;
}

.business-card {
  position: relative;
  max-width: 520px;
  min-height: 430px;
  margin-left: auto;
  padding: 34px;
  border: 2px solid var(--black);
  background:
    radial-gradient(rgba(255, 255, 255, 0.45) 1px, transparent 1px),
    var(--light);
  background-size: 12px 12px;
  box-shadow: 18px 18px 0 #111;
}

.business-card::before {
  content: "";
  position: absolute;
  top: -36px;
  right: -36px;
  width: 74px;
  height: 74px;
  border-top: 12px solid var(--red);
  border-right: 12px solid var(--red);
}

.business-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.card-logo {
  margin: 0;
  color: var(--red);
  font-size: clamp(58px, 6vw, 82px);
}

.card-jp {
  margin: 16px 0 0;
  color: var(--red);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.22em;
}

.cube {
  position: relative;
  width: 92px;
  height: 92px;
  flex: 0 0 auto;
}

.cube::before,
.cube::after,
.cube span {
  content: "";
  position: absolute;
  display: block;
}

.cube::before {
  top: 2px;
  left: 50%;
  width: 54px;
  height: 54px;
  background: var(--white);
  transform: translateX(-50%) rotate(45deg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.cube span {
  left: 9px;
  top: 36px;
  width: 54px;
  height: 54px;
  background: var(--red);
  transform: skewY(30deg);
}

.cube::after {
  right: 9px;
  top: 36px;
  width: 54px;
  height: 54px;
  background: #000;
  transform: skewY(-30deg);
}

.card-middle {
  margin: 76px 0 70px;
}

.card-line {
  height: 10px;
  background: var(--black);
}

.card-tags {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.card-tags span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid rgba(0, 0, 0, 0.35);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.business-card-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
}

.name-label {
  margin: 0 0 8px;
  color: rgba(0, 0, 0, 0.55);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.25em;
}

.name {
  margin: 0;
  color: var(--red);
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 900;
  letter-spacing: 0.18em;
}

.circle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 82px;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  font-size: 34px;
  line-height: 1;
}

/* Marquee */
.marquee {
  border-top: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 20px 16px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.28em;
  white-space: nowrap;
}

.marquee-group b {
  color: var(--red);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Service */
.section-head {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 54px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  min-height: 300px;
  padding: 30px;
  border: 2px solid var(--black);
  background: var(--light);
  box-shadow: 8px 8px 0 #111;
  transition: 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 12px 12px 0 var(--red);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  margin-bottom: 34px;
  background: var(--black);
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.05em;
  transition: 0.25s ease;
}

.service-card:hover .service-icon {
  background: var(--red);
}

.service-card h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.service-card p {
  margin: 20px 0 0;
  color: rgba(0, 0, 0, 0.68);
  font-size: 14px;
  line-height: 2;
  font-weight: 700;
}

/* Concept */
.concept {
  background: var(--light);
}

.concept-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 54px;
  align-items: center;
}

.concept-panel {
  position: relative;
  padding: 42px;
  border: 2px solid var(--black);
  background: var(--gray);
  box-shadow: 14px 14px 0 #111;
}

.concept-panel::after {
  content: "BITLAY STYLE";
  position: absolute;
  top: -18px;
  right: -18px;
  padding: 10px 18px;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.concept-panel p:not(.section-label) {
  margin: 30px 0 0;
  color: rgba(0, 0, 0, 0.74);
  font-size: 16px;
  line-height: 2;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.concept-list {
  display: grid;
  gap: 24px;
}

.concept-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--black);
}

.concept-item span {
  color: var(--red);
  font-family: Impact, "Arial Black", "Noto Sans JP", sans-serif;
  font-size: 52px;
  font-weight: 900;
  line-height: 1;
}

.concept-item p {
  margin: 0;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

/* Works */
.works-head {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 54px;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.work-card {
  overflow: hidden;
  border: 2px solid var(--black);
  background: var(--light);
  transition: 0.25s ease;
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 10px 10px 0 var(--red);
}

.work-thumb {
  position: relative;
  display: flex;
  aspect-ratio: 4 / 3;
  align-items: center;
  justify-content: center;
  background-color: var(--gray);
}

.work-thumb::before {
  content: "";
  width: 108px;
  height: 108px;
  border: 2px solid var(--black);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 8px 8px 0 #111;
  transition: 0.25s ease;
}

.work-card:hover .work-thumb::before {
  background: var(--red);
  transform: rotate(3deg);
}

.work-thumb::after {
  content: "✦";
  position: absolute;
  font-size: 42px;
  font-weight: 900;
  color: var(--black);
  transition: 0.25s ease;
}

.work-card:hover .work-thumb::after {
  color: var(--white);
}

.work-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 8px 14px;
  background: var(--black);
  color: var(--white);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.work-mark {
  position: absolute;
  right: 20px;
  bottom: 16px;
  color: rgba(212, 0, 0, 0.22);
  font-family: Impact, "Arial Black", "Noto Sans JP", sans-serif;
  font-size: 68px;
  font-weight: 900;
  line-height: 1;
}

.work-body {
  padding: 26px;
}

.work-body h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.work-body p {
  margin: 14px 0 0;
  color: rgba(0, 0, 0, 0.66);
  font-size: 14px;
  line-height: 1.9;
  font-weight: 700;
}

/* Contact */
.contact {
  padding-top: 0;
}

.contact-panel {
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  border: 2px solid var(--black);
  background: var(--black);
  color: var(--white);
  box-shadow: 14px 14px 0 var(--red);
}

.contact-copy {
  padding: 64px;
}

.contact-title {
  margin: 0;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.contact-copy p:not(.section-label) {
  max-width: 620px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  line-height: 2;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.contact-copy .button {
  margin-top: 40px;
}

.contact-visual {
  position: relative;
  min-height: 360px;
  padding: 48px;
  border-left: 2px solid rgba(255, 255, 255, 0.18);
  background: var(--gray);
  color: var(--black);
}

.cube-large {
  position: absolute;
  top: 48px;
  right: 48px;
  transform: scale(1.25);
  transform-origin: top right;
}

.contact-logo {
  position: absolute;
  left: 48px;
  bottom: 112px;
  margin: 0;
  color: var(--red);
  font-size: clamp(72px, 8vw, 104px);
}

.contact-line {
  position: absolute;
  left: 48px;
  right: 48px;
  bottom: 82px;
  height: 10px;
  background: var(--black);
}

.contact-tag {
  position: absolute;
  left: 48px;
  bottom: 44px;
  margin: 0;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.28em;
}

/* Footer */
.footer {
  border-top: 2px solid var(--black);
  background: var(--gray);
  padding: 42px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-logo {
  margin: 0;
  color: var(--red);
  font-size: 38px;
}

.footer-text {
  margin: 0;
  color: rgba(0, 0, 0, 0.68);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.footer small {
  color: rgba(0, 0, 0, 0.62);
  font-size: 12px;
  font-weight: 700;
}

/* Animation */
.js-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1100px) {
  .header-inner {
    grid-template-columns: auto auto;
  }

  .global-nav,
  .header-cta {
    display: none;
  }

  .menu-button {
    display: block;
    justify-self: end;
  }

  .global-nav.is-open {
    position: fixed;
    inset: 76px 0 auto 0;
    display: grid;
    gap: 0;
    border-bottom: 2px solid var(--black);
    background: rgba(216, 216, 216, 0.98);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  }

  .global-nav.is-open a {
    padding: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    text-align: center;
  }

  .hero-grid,
  .section-head,
  .concept-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .business-card {
    margin: 0 auto;
  }

  .service-grid,
  .works-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-visual {
    border-top: 2px solid rgba(255, 255, 255, 0.18);
    border-left: 0;
  }
}

@media (max-width: 767px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .section {
    padding: 72px 0;
  }

  .brand-sub {
    display: none;
  }

  .hero {
    padding: 62px 0 72px;
  }

  .hero-grid {
    gap: 48px;
  }

  .hero-eyebrow {
    padding-right: 24px;
    border-bottom-width: 8px;
    font-size: 10px;
    letter-spacing: 0.22em;
  }

  .hero-title {
    font-size: clamp(48px, 15vw, 76px);
  }

  .hero-lead,
  .section-lead,
  .concept-panel p:not(.section-label),
  .contact-copy p:not(.section-label) {
    font-size: 14px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .business-card {
    min-height: 360px;
    padding: 24px;
    box-shadow: 10px 10px 0 #111;
  }

  .business-card::before {
    display: none;
  }

  .card-logo {
    font-size: 56px;
  }

  .cube {
    width: 66px;
    height: 66px;
  }

  .cube::before,
  .cube::after,
  .cube span {
    width: 38px;
    height: 38px;
  }

  .cube span {
    left: 7px;
    top: 26px;
  }

  .cube::after {
    right: 7px;
    top: 26px;
  }

  .card-middle {
    margin: 52px 0 48px;
  }

  .card-tags {
    grid-template-columns: 1fr;
  }

  .business-card-bottom {
    grid-template-columns: 1fr;
  }

  .circle-icon {
    display: none;
  }

  .service-grid,
  .works-grid {
    grid-template-columns: 1fr;
  }

  .concept-panel,
  .contact-copy,
  .contact-visual {
    padding: 30px;
  }

  .concept-panel {
    box-shadow: 8px 8px 0 #111;
  }

  .concept-panel::after {
    right: 10px;
  }

  .concept-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .works-head {
    display: grid;
  }

  .contact-panel {
    box-shadow: 8px 8px 0 var(--red);
  }

  .contact-visual {
    min-height: 300px;
  }

  .contact-logo {
    left: 30px;
    bottom: 106px;
    font-size: 68px;
  }

  .contact-line {
    left: 30px;
    right: 30px;
    bottom: 78px;
  }

  .contact-tag {
    left: 30px;
    bottom: 40px;
    font-size: 10px;
    letter-spacing: 0.2em;
  }

  .cube-large {
    right: 30px;
    top: 30px;
    transform: scale(1);
  }

  .footer-inner {
    display: grid;
    text-align: center;
    justify-items: center;
  }
}
