/* ── HERO WRAP ── */
.hero-wrap {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
}

.hero-geo {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  pointer-events: none;
}

.geo-shape {
  position: absolute;
}

.geo-1 {
  width: 520px;
  height: 520px;
  top: -60px;
  right: -80px;
  --r: 15deg;
  background: linear-gradient(135deg, #d4d4d0, #e8e8e4, #c8c8c4);
  opacity: 0;
  animation: geoReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.0s forwards;
}

.geo-2 {
  width: 380px;
  height: 380px;
  top: 20px;
  right: 0;
  --r: 15deg;
  background: linear-gradient(135deg, #e8e8e4, #f4f4f0, #dcdcda);
  opacity: 0;
  animation: geoReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.12s forwards;
}

.geo-3 {
  width: 300px;
  height: 600px;
  bottom: -100px;
  right: 80px;
  --r: -8deg;
  transform-origin: bottom right;
  background: linear-gradient(180deg, #e0e0dc, #d0d0cc);
  opacity: 0;
  animation: geoReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.22s forwards;
}

.geo-4 {
  width: 60px;
  height: 480px;
  top: 100px;
  right: 260px;
  --r: 15deg;
  background: linear-gradient(90deg, rgba(160, 160, 156, 0.4), transparent);
  opacity: 0;
  animation: geoReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.32s forwards;
}

@keyframes geoReveal {
  0% {
    opacity: 0;
    transform: scale(0.88) rotate(var(--r, 0deg));
  }

  100% {
    opacity: 1;
    transform: scale(1) rotate(var(--r, 0deg));
  }
}

/* ── HERO CONTENT ── */
.hero-content {
  position: absolute;
  top: calc(72px + 80px);
  left: 48px;
  z-index: 2;
  max-width: 1000px;
}

.hero-headline {
  font-family: 'Anton', sans-serif;
  font-size: clamp(72px, 9vw, 130px);
  line-height: 0.95;
  letter-spacing: 0.01em;
  margin-bottom: 32px;
}

.hero-headline .line {
  display: block;
  overflow: hidden;
}

.hero-headline .line span {
  display: block;
  transform: translateY(110%) skewY(4deg);
  animation: slideUpSkew 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-headline .line:nth-child(1) span {
  animation-delay: 0.05s;
}

.hero-headline .line:nth-child(2) span {
  animation-delay: 0.18s;
}

.hero-headline .line:nth-child(3) span {
  animation-delay: 0.31s;
}

@keyframes slideUpSkew {
  0% {
    transform: translateY(110%) skewY(4deg);
  }

  100% {
    transform: translateY(0) skewY(0deg);
  }
}

.hero-sub {
  font-size: 16px;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  opacity: 0;
  transform: translateX(-18px);
  animation: slideRight 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.62s forwards;
}

.hero-sub2 {
  font-size: 16px;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateX(-18px);
  animation: slideRight 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.74s forwards;
}

.hero-tagline {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gray-dark);
  opacity: 0;
  transform: translateX(-18px);
  animation: slideRight 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.86s forwards;
}

@keyframes slideRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInBlur {
  to {
    opacity: 1;
    filter: blur(0);
  }
}

/* ── SCROLL / NEWS ── */
.scroll-indicator {
  position: absolute;
  bottom: 48px;
  left: 48px;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  z-index: 10;
  opacity: 0;
  filter: blur(4px);
  animation: fadeInBlur 0.8s ease 1.05s forwards;
}

.scroll-line {
  width: 1px;
  height: 72px;
  background: var(--black);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gray-mid);
  animation: scrollAnim 1.8s ease-in-out 1.2s infinite;
}

@keyframes scrollAnim {
  0% {
    top: -100%;
  }

  100% {
    top: 100%;
  }
}

.scroll-text {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.news-block {
  position: absolute;
  bottom: 48px;
  right: 48px;
  z-index: 10;
  opacity: 0;
  filter: blur(4px);
  animation: fadeInBlur 0.8s ease 0.95s forwards;
}

.news-label {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gray-dark);
  margin-bottom: 10px;
}

.news-fv-list {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
  min-width: 260px;
}

.news-fv-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(10, 10, 10, 0.08);
  text-decoration: none;
  color: var(--black);
  transition: opacity 0.2s;
}

.news-fv-row:first-child {
  border-top: 1px solid rgba(10, 10, 10, 0.08);
}

.news-fv-row:hover {
  opacity: 0.5;
}

.news-fv-date {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--gray-dark);
}

.news-fv-title {
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.03em;
}

.news-viewall {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--black);
  cursor: pointer;
}

.news-viewall-text {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
}

.news-viewall-circle {
  width: 28px;
  height: 28px;
  border: 1px solid var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.news-viewall:hover .news-viewall-circle {
  background: var(--black);
}

.news-viewall:hover .arrow-icon {
  stroke: var(--white);
}

/* SP専用 */
.hero-sp {
  display: none;
}

/* ── ABOUT ── */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-lead {
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.04em;
  margin-bottom: 40px;
}

.about-body {
  font-size: 15px;
  line-height: 2;
  color: var(--gray-dark);
  margin-bottom: 40px;
}

.about-visual {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--gray-light);
  overflow: hidden;
}

.about-visual-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-geo {
  position: absolute;
}

.about-geo-1 {
  width: 300px;
  height: 300px;
  top: -60px;
  right: -60px;
  transform: rotate(20deg);
  background: linear-gradient(135deg, #d4d4d0, #e8e8e4);
}

.about-geo-2 {
  width: 200px;
  height: 400px;
  bottom: -40px;
  left: -40px;
  transform: rotate(-10deg);
  background: linear-gradient(135deg, #e0e0dc, #d0d0cc);
}

.about-label-text {
  font-family: 'Anton', sans-serif;
  font-size: 120px;
  color: rgba(10, 10, 10, 0.04);
  position: absolute;
  bottom: 20px;
  right: 20px;
}

/* ── SERVICE (TOP) ── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 60px;
}

.service-card {
  background: var(--white);
  padding: 48px 40px;
  position: relative;
  cursor: pointer;
  transition: background 0.4s;
  color: var(--black);
}

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

.service-card:hover .service-card-num,
.service-card:hover .service-card-title,
.service-card:hover .service-card-body,
.service-card:hover .service-card-arrow {
  color: var(--white);
}

.service-card:hover .service-card-line {
  background: rgba(255, 255, 255, 0.2);
}

.service-card-num {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gray-dark);
  margin-bottom: 40px;
  transition: color 0.4s;
}

.service-card-title {
  font-family: 'Anton', sans-serif;
  font-size: 28px;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  transition: color 0.4s;
  color: var(--black);
}

.service-card-line {
  width: 32px;
  height: 1px;
  background: var(--gray-light);
  margin-bottom: 20px;
  transition: background 0.4s;
}

.service-card-body {
  font-size: 13px;
  line-height: 1.9;
  color: var(--gray-dark);
  transition: color 0.4s;
}

.service-card-arrow {
  position: absolute;
  bottom: 32px;
  right: 40px;
  font-family: "Space Mono", monospace;
  font-size: 16px;
  color: var(--black);
  transition: color 0.4s, transform 0.3s;
  text-decoration: none;
  letter-spacing: -0.05em;
}

.service-card:hover .service-card-arrow {
  transform: translateX(6px);
}

/* ── CONTACT ── */
#contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 140px 48px;
}

.contact-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(60px, 8vw, 120px);
  line-height: 0.9;
  color: var(--white);
  margin-bottom: 32px;
}

.contact-sub {
  font-size: 16px;
  letter-spacing: 0.08em;
  color: var(--gray-mid);
  margin-bottom: 56px;
  line-height: 1.8;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--white);
  padding: 20px 48px;
  text-decoration: none;
  color: var(--white);
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.2em;
  transition: background 0.3s, color 0.3s;
  background: none;
  cursor: pointer;
}

.contact-btn:hover {
  background: var(--white);
  color: var(--black);
}

/* ── COMPANY ── */
.company-inner {
  max-width: 900px;
  margin: 60px auto 0;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table tr {
  border-bottom: 1px solid var(--gray-light);
}

.company-table th {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--gray-dark);
  font-weight: 400;
  text-align: left;
  padding: 28px 0;
  width: 200px;
  vertical-align: top;
}

.company-table td {
  font-size: 15px;
  line-height: 1.9;
  padding: 28px 0;
}

/* ── SERVICE PAGE ── */
.service-section {}

.service-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}

.service-item:nth-child(even) {
  direction: rtl;
}

.service-item:nth-child(even)>* {
  direction: ltr;
}

.service-visual {
  background: #f0f0ec;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-visual-num {
  font-family: 'Anton', sans-serif;
  font-size: 200px;
  color: rgba(10, 10, 10, 0.04);
  position: absolute;
  bottom: -20px;
  right: -10px;
  line-height: 1;
}

.service-body {
  padding: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-num {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gray-dark);
  margin-bottom: 24px;
}

.service-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: 0.01em;
  margin-bottom: 24px;
  line-height: 1;
}

.service-line {
  width: 40px;
  height: 1px;
  background: var(--gray-light);
  margin-bottom: 24px;
}

.service-desc {
  font-size: 15px;
  line-height: 2;
  color: var(--gray-dark);
  margin-bottom: 32px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-tag {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  border: 1px solid var(--gray-light);
  padding: 6px 14px;
  color: var(--gray-dark);
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  .hero-wrap {
    height: 100svh;
    min-height: unset;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .hero-geo {
    width: 100%;
    height: 100%;
  }

  .geo-1 {
    width: 420px;
    height: 420px;
    top: -40px;
    right: -60px;
  }

  .geo-2 {
    width: 300px;
    height: 300px;
    top: 20px;
    right: -10px;
  }

  .geo-3 {
    width: 240px;
    height: 100svh;
    bottom: 0;
    right: 20px;
  }

  .geo-4 {
    width: 50px;
    height: 100svh;
    top: 60px;
    right: 180px;
  }

  .hero-content {
    position: relative;
    top: auto;
    left: auto;
    padding: 80px 20px 0 40px;
    z-index: 2;
    flex-shrink: 0;
  }

  .hero-headline {
    font-size: clamp(52px, 18.5vw, 80px);
    line-height: 0.92;
    margin-bottom: 20px;
  }

  .hero-sub,
  .hero-sub2 {
    font-size: 15px;
  }

  .hero-tagline {
    padding-left: 0;
  }

  .scroll-indicator {
    display: none;
  }

  .news-block {
    display: none;
  }

  .hero-sp {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 10;
    margin-top: auto;
  }

  .hero-sp-scroll {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    padding: 0 0 14px 20px;
  }

  .hero-sp-scroll .scroll-line {
    height: 36px;
  }

  .hero-sp-news {
    padding: 0 20px 48px;
    width: 100%;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-visual {
    aspect-ratio: 3/2;
  }

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

  .service-item {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .service-item:nth-child(even) {
    direction: ltr;
  }

  .service-visual {
    aspect-ratio: 4/3;
  }

  .service-body {
    padding: 40px 20px;
  }

  #contact {
    padding: 100px 20px;
  }

  .company-table th {
    width: 120px;
    font-size: 10px;
  }

  .company-table td {
    font-size: 13px;
  }
}