/* ===== 事業バナーセクション ===== */
.promo-section {
  width: 100%;
  padding: 80px 20px;
  background-color: var(--color-bg-warm);

  @media (max-width: 768px) {
    padding: 40px 16px;
  }

  .promo-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;

    @media (max-width: 768px) {
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
    }
  }

  .promo-banner {
    background: #fff;
    padding: 6px;
    text-decoration: none;
    color: var(--color-primary);
    transition: 0.3s;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    min-height: 90px;
    border-radius: 8px;
    box-sizing: border-box;
    text-align: left;
    border: none;

    &:hover,
    &:active {
      background: var(--gradient-gold);
      color: #fff;
      transform: translateY(-5px);
      box-shadow: 0 4px 12px rgba(139, 90, 43, 0.25);

      .promo-title,
      .promo-sub {
        color: #fff;
      }

      .promo-icon img {
        filter: brightness(0) invert(1);
      }
    }

    @media (max-width: 768px) {
      min-height: 80px;
      padding: 16px 12px;
    }
  }

  .promo-banner--featured {
    &:hover,
    &:active {
      background: var(--gradient-gold);

      .promo-title,
      .promo-sub {
        color: #fff;
      }

      .promo-icon img {
        filter: brightness(0) invert(1);
      }
    }
  }

  .promo-icon {
    width: 56px;
    min-width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;

    img {
      width: 40px;
      height: 40px;
      object-fit: contain;
      display: block;
    }

    @media (max-width: 1000px) {
      width: 44px;
      min-width: 44px;
      height: 44px;

      img {
        width: 32px;
        height: 32px;
      }
    }

    @media (max-width: 768px) {
      width: 40px;
      min-width: 40px;
      height: 40px;

      img {
        width: 28px;
        height: 28px;
      }
    }
  }

  .promo-content {
    position: relative;
    z-index: 2;
    text-align: left;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .promo-title {
    font-size: 16px;
    line-height: 1.4;
    margin: 0;
    font-weight: 600;
    font-family: var(--font-zen-kaku-gothic-new);
    color: var(--color-primary);

    @media (max-width: 1000px) {
      font-size: 12px;
    }

    @media (max-width: 768px) {
      font-size: 13px;
    }
  }

  .promo-sub {
    font-size: 13px;
    margin: 0;
    font-weight: 400;
    font-family: var(--font-rokkitt);
    color: #aa8e50;
    letter-spacing: 0.02em;
    line-height: 15px;

    @media (max-width: 768px) {
      font-size: 10px;
    }
  }
}

/* ===== フッター ===== */
.footer-main {
  position: relative;
  background-image: url(../images/footer_bg.webp);
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 80px 0 40px;
  font-size: 14px;
  font-family: var(--font-zen-kaku-gothic-new);

  &::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      90deg,
      rgba(75, 43, 20, 0.82) 0%,
      rgba(64, 36, 15, 0.82) 25%,
      rgba(51, 38, 29, 0.82) 50%,
      rgba(28, 19, 14, 0.82) 75%,
      rgba(3, 2, 0, 0.82) 100%
    );
    z-index: 0;
  }

  .footer-container,
  .footer-social,
  .copyright {
    position: relative;
    z-index: 1;
  }

  .footer-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
  }

  .footer-col {
    flex: 1;
    min-width: 200px;

    h3 {
      font-size: 16px;
      margin-bottom: 20px;
      padding-bottom: 10px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.25);
      letter-spacing: 0.1em;
      font-weight: 600;
      font-family: var(--font-rokkitt);
      color: rgba(255, 255, 255, 0.95);
    }

    ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    li {
      margin-bottom: 12px;
    }

    a {
      color: rgba(255, 255, 255, 0.85);
      text-decoration: none;
      transition: 0.3s;
      display: block;

      &:hover,
      &:active {
        color: var(--color-brown-light);
        padding-left: 5px;
      }
    }
  }

  .footer-social {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    margin-top: 40px;
    padding-top: 25px;
  }

  .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    padding: 0;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 9999px;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.02);

    &:hover {
      background: rgba(255, 255, 255, 0.08);
      border-color: #fff;
      color: #fff;
    }

    svg {
      width: 22px;
      height: 22px;
      flex-shrink: 0;
    }
  }

  .social-text {
    display: none;
  }

  .footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 20px;
    position: relative;
    z-index: 1;

    a {
      color: #fff;
      text-decoration: none;
      font-size: 12px;
      transition: opacity 0.3s;
      @media (max-width: 768px) {
        margin: 0 auto;
        text-align: center;
      }

      &:hover {
        opacity: 0.7;
      }
    }
    @media (max-width: 768px) {
      margin: 20px auto 0;
      flex-direction: column;
      gap: 10px;
    }
  }

  .copyright {
    text-align: center;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
    letter-spacing: 0.05em;

    @media (max-width: 768px) {
      margin-top: 16px;
    }
  }

  @media (max-width: 960px) and (min-width: 769px) {
    .footer-container {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 32px;
    }

    .footer-col {
      min-width: 0;
    }
  }

  @media (max-width: 768px) {
    background-position: 30% center;
    padding: 32px 20px 24px;

    .footer-container {
      flex-direction: column;
      gap: 28px;
    }

    .footer-col {
      border-bottom: 1px solid rgba(255, 255, 255, 0.2);
      padding-bottom: 16px;

      &:last-child {
        border-bottom: none;
      }

      h3 {
        border-bottom: none;
        color: #fff;
        font-size: 16px;
        margin-bottom: 12px;
      }
    }

    .footer-social {
      padding-top: 20px;
      margin-top: 24px;
    }

    .social-link {
      width: 46px;
      height: 46px;
      padding: 0;

      svg {
        width: 20px;
        height: 20px;
      }
    }

    .social-text {
      display: none;
    }
  }
}
