/* ========== ヒーロー（トップ） ========== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-black);
  padding: 100px 20px 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero/IMG_9109.jpg');
  background-size: cover;
  background-position: center 40%;
  filter: brightness(0.48) saturate(1.1);
  transform: scale(1.04);
  transition: transform 10s ease-out;
}

.hero:hover .hero-bg {
  transform: scale(1);
}

/* ヒーロー全体のグロス光沢グラデーション */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, transparent 40%, rgba(15, 17, 21, 0.7) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 clamp(16px, 4vw, 32px);
  max-width: 860px;
}

.hero-en {
  font-family: var(--font-heading);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin-bottom: 24px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
  text-transform: lowercase;
}

.hero-en-main {
  font-size: clamp(2rem, 5.5vw, 3.4rem); /* rainbow を大きく */
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #FFFFFF;
  line-height: 1.1;
  text-transform: lowercase;
}

.hero-en-sub {
  font-size: clamp(0.85rem, 2vw, 1.25rem); /* bodywork & paint を小さく */
  font-weight: 700;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.2;
  text-transform: lowercase;
}

.hero-catch {
  font-size: clamp(2.3rem, 7vw, 4.4rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 20px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
  letter-spacing: 0.02em;
}

.hero-sub {
  font-size: clamp(0.95rem, 2.2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: clamp(32px, 5vw, 48px);
  letter-spacing: 0.04em;
  font-weight: 500;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
}

/* スクロールインジケーター */
.scroll-indicator {
  position: absolute;
  bottom: clamp(24px, 4vw, 40px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.75;
}

.scroll-indicator span {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
}

.scroll-indicator .arrow {
  width: 1.5px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), transparent);
  animation: scrollDown 1.8s ease-in-out infinite;
}

@keyframes scrollDown {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ========== ABOUTセクション（高級塗料感） ========== */
.section-about {
  padding: var(--section-padding);
  background: var(--color-white);
  position: relative;
}

.about-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}

.about-text p {
  font-size: clamp(0.96rem, 1.5vw, 1.06rem);
  line-height: 2;
  color: var(--color-gray);
  margin-bottom: 20px;
}

.about-image {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--paint-deep-gloss);
  aspect-ratio: 4/3;
  position: relative;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-image:hover img {
  transform: scale(1.04);
}

/* ========== SERVICEセクション ========== */
.section-service {
  padding: var(--section-padding);
  background: var(--color-white-soft);
  position: relative;
}

.service-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.service-card-wrap {
  display: flex;
  justify-content: center;
}

.service-card {
  max-width: 580px;
  width: 100%;
  text-align: center;
  padding: clamp(36px, 6vw, 56px) clamp(24px, 5vw, 44px);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-rainbow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  box-shadow: 0 8px 24px rgba(255, 45, 85, 0.3), inset 0 2px 2px rgba(255, 255, 255, 0.7);
  transition: transform 0.4s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3), inset 0 2px 2px rgba(255, 255, 255, 0.9);
}

.service-icon svg {
  width: 40px;
  height: 40px;
  color: #fff;
  stroke: #fff;
}

.service-card h3 {
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--color-black);
  transition: color 0.35s ease, text-shadow 0.35s ease;
}

.service-card p {
  color: var(--color-gray);
  line-height: 1.9;
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  transition: color 0.35s ease, text-shadow 0.35s ease;
}

/* ホバー時に文字を白くする */
.service-card:hover h3,
.card-rainbow:hover h3 {
  color: #FFFFFF;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.service-card:hover p,
.card-rainbow:hover p {
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

/* ========== GALLERY（トップ抜粋） ========== */
.section-gallery-home {
  padding: var(--section-padding);
  background: var(--color-white);
  position: relative;
}

.gallery-home-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.gallery-grid-home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 2vw, 18px);
  margin-bottom: clamp(32px, 5vw, 48px);
}

.gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  box-shadow: var(--paint-card-shadow);
  transition: var(--transition);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--paint-deep-gloss);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* クリアコート光沢オーバーレイ */
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, transparent 50%, rgba(0, 0, 0, 0.35) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-home-cta {
  text-align: center;
}

/* ========== INSTAGRAM ========== */
.section-instagram {
  padding: var(--section-padding);
  background: var(--color-white-soft);
  position: relative;
}

.instagram-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 2vw, 20px);
  margin: clamp(28px, 4vw, 44px) 0;
}

@media (max-width: 900px) {
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.insta-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  background: #000;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.insta-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.insta-img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.insta-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.insta-card:hover .insta-img-wrap img {
  transform: scale(1.08);
}

.insta-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.06em;
  z-index: 2;
  backdrop-filter: blur(6px);
}

.reel-badge {
  background: linear-gradient(135deg, rgba(225, 48, 108, 0.85), rgba(131, 58, 180, 0.85));
}

.photo-badge {
  background: rgba(0, 0, 0, 0.65);
}

.insta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(131, 58, 180, 0.75) 0%, rgba(225, 48, 108, 0.75) 50%, rgba(253, 29, 29, 0.75) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 3;
}

.insta-card:hover .insta-overlay {
  opacity: 1;
}

.insta-overlay .insta-text {
  color: #fff;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

/* ========== CTAセクション ========== */
.section-cta {
  padding: clamp(60px, 8vw, 100px) clamp(16px, 4vw, 32px);
  position: relative;
  overflow: hidden;
  text-align: center;
  background: var(--color-white);
}

.section-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-rainbow);
  opacity: 0.12;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--color-black);
}

.cta-inner p {
  color: var(--color-gray);
  margin-bottom: 36px;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.9;
}

/* ========== 白い余白セクション ========== */
.white-gap {
  padding: clamp(20px, 4vw, 40px) 0;
  background: var(--color-white);
  position: relative;
}

/* ========== レスポンシブ（タブレット・スマホ最適化） ========== */
@media (max-width: 960px) {
  .about-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .about-image {
    order: -1;
    max-height: 380px;
  }
  .gallery-grid-home {
    grid-template-columns: repeat(2, 1fr);
  }
  .instagram-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 90px 16px 50px;
  }
  .hero-cta {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero-cta .btn {
    width: 100%;
  }
  .gallery-grid-home {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .gallery-home-cta .btn {
    width: 100%;
    max-width: 320px;
  }
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  .section-instagram .btn-instagram,
  .section-cta .btn-instagram {
    width: 100%;
    max-width: 360px;
  }
}
