:root {
  --work-accent: #7dc9c8;
  --work-line: #e8d8d4;
  --work-marquee-opacity: 0.3;
  --font-en: 'Georgia', serif;
}

body {
  background:
    linear-gradient(
      to bottom,
      rgba(240, 168, 149, 0) 0%,
      rgba(240, 168, 149, 0.06) 20%,
      rgba(125, 201, 200, 0.07) 40%,
      rgba(240, 168, 149, 0.05) 60%,
      rgba(125, 201, 200, 0.06) 80%,
      rgba(255, 255, 255, 0.1) 100%
    ),
    #ffffff;
}

body.work-nailsalon {
  --work-accent: #c8b89a;
  --work-line: #e0ddd8;
  --work-marquee-opacity: 0.35;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 120px;
  overflow: hidden;
  padding: 80px 40px 60px;
}

.marquee-wrap {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  pointer-events: none;
  user-select: none;
  overflow: hidden;
}

.marquee-inner {
  display: flex;
  white-space: nowrap;
  animation: marquee 50s linear infinite;
}

.marquee-inner span {
  font-family: var(--font-en);
  font-size: clamp(56px, 10vw, 120px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--work-accent);
  opacity: var(--work-marquee-opacity);
  padding-right: 60px;
}

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

.hero-mockup {
  position: relative;
  z-index: 2;
  width: min(1020px, 88vw);
}

.hero-mockup img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.12));
}

.hero-title {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-title .category {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--color-muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.hero-title h1 {
  font-family: var(--font-en);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--color-text);
}

.hero-title span {
  font-size: clamp(1rem, 2vw, 1rem);
}
.work-content{
  max-width: 1200px;
  margin: 0 auto;
   width: 90%;
}
/* ========== SECTION ========== */
.section {
  max-width: 650px;
  margin: 0 auto;
}

.section + .section {
  border-top: 1px solid var(--work-line);
}

.label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--work-accent);
  text-transform: uppercase;
  margin-bottom: 16px;
  font-family: var(--font-en);
}

.section p {
  font-size: 0.95rem;
  color: #444;
  line-height: 2;
  overflow-wrap: break-word;
}

.main-wrap {
  width: 100%;
  margin: 0 auto;
  display: flex;
  gap: 30px;
}

.main-right {
  width: 55%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.main-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* ========== INFO GRID ========== */
.info-grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-left: 2rem;
}

.info-item {
  display: flex;
  gap: 8px;
}

.info-item .label {
  min-width: 7em;
  flex-shrink: 0;
  margin-bottom: 0;
  font-family: var(--font-title);
  font-weight: 500;
}

.info-item p {
  font-size: 1rem;
  color: #444;
  line-height: 1.9;
  overflow-wrap: break-word;
  min-width: 0;
}

.info-item-text {
  padding-left: 1rem;
}

.main-text-wrap {
  width: 40%;
}

.main-text-item {
  margin-bottom: 16px;
}

/* ========== COLOR PALETTE ========== */
.palette-section {
  max-width: 650px;
  margin: 0 auto;
  padding: 120px 40px;
  text-align: center;
}

.palette-section .label {
  color: var(--color-text);
  text-align: left;
}

.palette-wrap {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.swatch-color {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.swatch span {
  font-size: 0.68rem;
  color: var(--color-muted);
  letter-spacing: 0.05em;
  font-family: var(--font-en);
}

/* ========== SITE LINK ========== */
.site-link-section {
  max-width: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 120px 40px;
  gap: 16px;
  border-bottom: 1px solid var(--work-line);
}

.site-link-section .label {
  margin-bottom: 0;
  color: var(--color-text);
}

.site-link {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 1.1rem;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: 0.05em;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.site-link:hover {
  opacity: 0.6;
}

/* ========== GALLERY ========== */
.gallery-section {
  background: transparent;
  padding: 120px 40px;
}

.gallery-inner {
  max-width: 900px;
  margin: 0 auto;
}

.gallery-inner .label {
  margin-bottom: 32px;
  color: var(--color-text);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.gallery-grid .full {
  grid-column: 1 / -1;
}

.gallery-caption {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--color-text);
  font-family: var(--font-en);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* ========== SP ========== */
@media (max-width: 640px) {
  body {
    overflow-x: hidden;
  }

  .hero {
    gap: 60px;
    padding: 60px 24px 40px;
  }

  .section,
  .palette-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .main-wrap {
    flex-direction: column;
  }

  .main-right {
    width: 90%;
    margin: 0 auto;
  }

  .main-text-wrap {
    width: 90%;
    margin: 0 auto;
  }

  .info-grid {
    padding-left: 24px;
    padding-right: 24px;
    gap: 36px;
  }

  .info-item .label {
    min-width: 5.5em;
  }

  .gallery-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .site-link-section {
    max-width: 370px;
  }

  .site-link {
    white-space: normal;
    overflow-wrap: anywhere;
  }

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

  .gallery-grid .full {
    grid-column: 1;
  }
}
