/* ==========================================================
   PEAU. — index.css（TOPページ専用スタイル）
   ========================================================== */

/* ----------------------------------------------------------
   Hero
   ---------------------------------------------------------- */
.hero-section {
  display: flex;
  align-items: flex-end;
}

.hero-text1 {
  font-size: 100px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.03em;
  line-height: 1.1;
}

.hero-text2 {
  font-size: 52px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.04em;
  margin-top: 16px;
  line-height: 1.5;
}

.hero-sub-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ----------------------------------------------------------
   Brand セクション
   ---------------------------------------------------------- */
#brand {
  background-color: #F4F2ED;
}

.brand-header {
  padding: 48px 32px 20px;
}

.brand-section-label {
  color: #1a1a1a;
}

/* active ブランドグリッド */
.brand-grid {
  display: flex;
  flex-direction: column;
}

.brand-card-full {
  width: 100%;
  position: relative;
  overflow: hidden;
  display: block;
  cursor: pointer;
  text-decoration: none;
}

.brand-card-half-row {
  display: flex;
}

.brand-card-half {
  width: 50%;
  position: relative;
  overflow: hidden;
  display: block;
  cursor: pointer;
  text-decoration: none;
}

.brand-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(1);
  transition: filter 0.5s ease, transform 0.5s ease;
}

/* HajimeLabo はグレースケールなし（元の色で表示） */
[data-brand="hajimelabo"] .brand-card-img {
  filter: grayscale(0);
}

.brand-card-full:hover .brand-card-img,
.brand-card-half:hover .brand-card-img {
  filter: grayscale(0);
  transform: scale(1.03);
}

/* auto-height カード（HajimeLabo）：画像を自然な高さで表示 */
.brand-card--auto-height .brand-card-img {
  height: auto;
  object-fit: unset;
}

.brand-card-overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.brand-card-full:hover .brand-card-overlay,
.brand-card-half:hover .brand-card-overlay {
  opacity: 1;
}

.brand-card-text {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 60px;
}

.brand-card-subcatch {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.brand-card-catch {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.brand-card-link-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #1a1a1a;
  text-decoration: none;
}

/* Coming Soon */
.coming-soon-grid {
  display: flex;
}

.coming-soon-card {
  flex: 1;
  position: relative;
  overflow: hidden;
  cursor: default;
}

.coming-soon-card-img {
  width: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(1) brightness(0.85);
  transition: filter 0.5s ease, transform 0.5s ease;
}

.coming-soon-card:hover .coming-soon-card-img {
  filter: grayscale(0) brightness(1);
  transform: scale(1.03);
}

.coming-soon-card-overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.coming-soon-card:hover .coming-soon-card-overlay {
  opacity: 1;
}

.coming-soon-card-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.1em;
  z-index: 2;
}

/* ----------------------------------------------------------
   Responsive — Tablet（max-width: 900px）
   ---------------------------------------------------------- */
@media (max-width: 900px) {
  /* 現状タブレット固有の上書きなし */
}

/* ----------------------------------------------------------
   Responsive — Mobile（max-width: 600px）
   ---------------------------------------------------------- */
@media (max-width: 600px) {
  /* Hero：flex を解除して画像を全幅・全高表示 */
  .hero-section {
    display: block;
  }

  .hero-section .hero-bg {
    width: 100%;
  }

  .hero-section .hero-bg img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  /* Hero テキスト縮小 */
  .hero-text1 {
    font-size: 33px !important;
  }

  .hero-text2 {
    font-size: 16px !important;
    margin-top: 10px;
  }

  .hero-sub-image {
    display: none;
  }

  /* Brand カード：縦並び */
  .brand-card-half-row {
    flex-direction: column;
  }

  .brand-card-half {
    width: 100%;
    height: 220px !important;
  }

  .brand-card-half .brand-card-img {
    height: 100%;
    object-fit: cover;
  }

  .brand-card-full {
    height: 220px !important;
    overflow: hidden;
  }

  .brand-card-full .brand-card-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  /* Coming Soon：縦1列 */
  .coming-soon-grid {
    flex-direction: column;
  }

  .coming-soon-card {
    flex: 1 1 100%;
    width: 100%;
  }
}
