/* ================================
   Works Detail Page Base
================================ */
.wd-page {
  background-color: var(--color-gray-bg);
}

.wd-page .header {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  background: var(--color-gray-bg);
}

/* ================================
   Common
================================ */
.wd-sec-title {
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.4;
  color: var(--color-text-dark);
  text-align: center;
}

.wd-item-title {
  font-family: var(--font-maru);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  color: var(--color-text-dark);
}

.wd-body-text,
.wd-body-text p {
  font-family: var(--font-noto);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-dark);
}

.wd-body-text p + p {
  margin-top: 1em;
}

.wd-btn-view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: var(--color-text);
  font-family: var(--font-noto);
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  border-radius: var(--radius-btn);
  padding: 16px 40px;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.25);
  transition: opacity 0.2s, transform 0.2s;
}

.wd-btn-view:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

/* ================================
   Hero
================================ */
.wd-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 64px var(--sp-side);
  text-align: center;
}

.wd-hero-title {
  font-family: var(--font-mincho);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.3;
  letter-spacing: -0.6px;
  color: var(--color-text-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.wd-hero-sub {
  display: block;
  font-size: 30px;
}

/* ================================
   Overview
================================ */
.wd-overview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 64px var(--sp-side);
  text-align: center;
}

.wd-overview-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.wd-overview-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wd-overview-label {
  font-family: var(--font-noto);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-dark);
}

.wd-overview-value {
  font-family: var(--font-noto);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-dark);
}

/* ================================
   Background
================================ */
.wd-background {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: 64px var(--sp-side);
}

.wd-challenge {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.wd-goal {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.wd-goal-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.wd-goal-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ================================
   Strategy
================================ */
.wd-strategy {
  background: rgba(204, 186, 158, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  padding: 64px var(--sp-side);
}

.wd-strategy-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
  width: 100%;
}

.wd-strategy-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wd-mockup-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 40px 0;
}

.wd-mockup {
  border: 3px solid #000;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

.wd-mockup--mobile {
  width: 250px;
}

.wd-mockup--mobile img {
  width: 100%;
  height: auto;
  display: block;
}

.wd-mockup--pc {
  width: 320px;
}

.wd-mockup--pc img {
  width: 100%;
  height: auto;
  display: block;
}

/* ================================
   Results
================================ */
.wd-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  padding: 64px var(--sp-side);
}

.wd-results-group {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.wd-results-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.wd-result-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wd-learning-group {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  text-align: center;
}

/* ================================
   PC Layout (≥1024px)
================================ */
@media (min-width: 1024px) {

  .wd-sec-title {
    font-size: 36px;
    line-height: 1.3;
  }

  .wd-item-title {
    font-size: 20px;
    font-family: var(--font-noto);
    font-weight: 700;
    line-height: 1.4;
  }

  /* Hero */
  .wd-hero {
    padding: 120px 64px;
    gap: 48px;
  }

  .wd-hero-title {
    font-size: 48px;
    line-height: 1.7;
    letter-spacing: 0;
  }

  .wd-hero-sub {
    font-size: 48px;
  }

  /* Overview */
  .wd-overview {
    padding: 120px 64px;
    gap: 48px;
  }

  .wd-overview-list {
    max-width: 932px;
    gap: 40px;
  }

  .wd-overview-item {
    flex-direction: row;
    align-items: center;
    gap: 0;
  }

  .wd-overview-label {
    width: 200px;
    flex-shrink: 0;
    text-align: left;
    font-weight: 400;
    color: #000;
  }

  .wd-overview-value {
    flex: 1;
    text-align: left;
    padding-left: 40px;
  }

  /* Background */
  .wd-background {
    padding: 120px 64px;
    gap: 64px;
    align-items: center;
  }

  .wd-challenge,
  .wd-goal {
    max-width: 800px;
    width: 100%;
    gap: 48px;
  }

  .wd-goal-list {
    gap: 24px;
  }

  .wd-goal-item {
    gap: 16px;
  }

  /* Strategy */
  .wd-strategy {
    padding: 120px 64px;
    gap: 48px;
  }

  .wd-strategy-list {
    max-width: 800px;
    gap: 48px;
  }

  .wd-strategy-item {
    gap: 16px;
  }

  .wd-mockup-group {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
    padding: 48px 0;
  }

  .wd-mockup--mobile {
    width: 122px;
  }

  .wd-mockup--pc {
    width: 394px;
  }

  /* Results */
  .wd-results {
    padding: 120px 64px;
    gap: 48px;
  }

  .wd-results-group {
    max-width: 800px;
    gap: 48px;
  }

  .wd-results-list {
    gap: 24px;
  }

  .wd-result-item {
    gap: 16px;
  }

  .wd-learning-group {
    max-width: 800px;
    gap: 24px;
  }
}
