/* Logo hide */
.logo-img {
  display: none !important;
}

/* Always show nav + Instagram, hide hamburger on all sizes */
.insta-link {
  display: flex !important;
  align-items: center !important;
}
.insta-icon {
  width: 22px !important;
  height: 22px !important;
  display: block !important;
}

/* Hero: show full image without cropping */
.hero {
  min-height: auto !important;
  height: auto !important;
}
.hero-img {
  width: 100% !important;
  max-width: 100vw !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
}

/* All sizes: center nav, hide logo */
.header {
  justify-content: center !important;
}
.logo {
  display: none !important;
}
.header-right {
  margin-left: 0 !important;
  justify-content: center !important;
}
.nav {
  margin-left: 0 !important;
  justify-content: center !important;
}

@media (max-width: 768px) {
  .header {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    height: auto !important;
    padding: 12px 8px !important;
  }
  .logo {
    display: none !important;
  }
  .header-right {
    margin-left: 0 !important;
    justify-content: center !important;
    width: 100% !important;
  }
  .nav {
    display: flex !important;
    gap: 12px !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    margin-left: 0 !important;
    justify-content: center !important;
  }
  .nav a {
    font-size: 10px !important;
    letter-spacing: 0.08em !important;
    padding-bottom: 1px !important;
    white-space: nowrap !important;
  }
  .hamburger {
    display: none !important;
  }
  .header {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 16px !important;
    gap: 8px !important;
  }
}

@media (max-width: 480px) {
  .nav {
    gap: 8px !important;
  }
  .nav a {
    font-size: 8px !important;
    letter-spacing: 0.05em !important;
  }
  .header {
    padding: 10px 8px !important;
  }
}

/* CONCEPT section styles */
.concept-section {
  background: #fff;
  padding: 64px 24px;
  text-align: center;
}
.concept-content {
  max-width: 720px;
  margin: 0 auto;
}
.concept-heading {
  font-family: 'Yu Mincho', '游明朝', serif;
  font-size: 22px;
  font-weight: 400;
  color: #8b5c2a;
  letter-spacing: 0.1em;
  margin-bottom: 32px;
  line-height: 1.8;
}
.concept-desc {
  font-size: 15px;
  line-height: 2.1;
  color: #5a4a3a;
  margin-bottom: 24px;
  text-align: left;
}
@media (max-width: 600px) {
  .concept-section {
    padding: 32px 16px !important;
  }
  .concept-heading {
    font-size: 18px;
  }
  .concept-desc {
    font-size: 14px;
    line-height: 1.9;
  }
}

/* ========================================
   MENU Section (Plan Cards)
   ======================================== */
.menu-section {
  background: #fff;
  padding: 64px 24px;
  text-align: center;
}
.menu-section-title {
  font-size: 14px;
  letter-spacing: 0.3em;
  color: #3a3a3a;
  margin-bottom: 40px !important;
}
.menu-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}
.menu-card {
  position: relative;
  display: block;
  height: 380px;
  overflow: hidden;
  text-decoration: none;
  border-radius: 4px;
}
.menu-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.menu-card:hover .menu-card-bg {
  transform: scale(1.05);
}
.menu-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  transition: background 0.4s ease;
}
.menu-card:hover .menu-card-overlay {
  background: rgba(0, 0, 0, 0.25);
}
.menu-card-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 1;
}
.menu-card-en {
  font-family: 'Yu Mincho', '游明朝', serif;
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.3;
}
.menu-card-line {
  display: block;
  width: 40px;
  height: 1px;
  background: #fff;
  margin: 12px 0;
}
.menu-card-ja {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}
.menu-card-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}
.menu-card-arrow svg {
  width: 28px;
  height: 28px;
}

@media (max-width: 768px) {
  .menu-section {
    padding: 32px 16px;
  }
  .menu-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .menu-card {
    height: auto !important;
    aspect-ratio: 3 / 4 !important;
  }
  .menu-card-en {
    font-size: 1.5rem;
  }
}

/* Gallery: horizontal scroll carousel - all screen sizes */
.hairmake-grid {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x mandatory !important;
  -webkit-overflow-scrolling: touch !important;
  gap: 24px !important;
  padding: 0 24px 16px !important;
  grid-template-columns: none !important;
}
.hairmake-img {
  flex: 0 0 30% !important;
  width: 30% !important;
  max-width: 30% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  scroll-snap-align: center !important;
  border-radius: 12px !important;
}
/* Hide scrollbar but keep functionality */
.hairmake-grid::-webkit-scrollbar {
  display: none;
}
.hairmake-grid {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
/* Mobile: larger cards */
@media (max-width: 768px) {
  .hairmake-img {
    flex: 0 0 65vw !important;
    width: 65vw !important;
    max-width: 65vw !important;
  }
  /* Sidebar: compact on mobile */
  .hairmake-sidebar {
    text-align: center !important;
    margin-bottom: 12px !important;
  }
  .hairmake-inner {
    flex-direction: column !important;
  }
}

/* Mobile scroll reduction overrides */

@media (max-width: 600px) {

  /* Gallery grid: keep 2 columns instead of 1 */
  .grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  /* Card images: reduce height */
  .card-img {
    height: 60px !important;
    margin-bottom: 8px !important;
  }

  /* Portfolio grid: keep 2 columns */
  .portfolio-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
    padding: 0 8px !important;
  }

  /* Section padding: reduce */
  .section-title {
    margin-bottom: 16px !important;
  }

  /* About section: compact */
  .about-section {
    padding: 32px 0 !important;
  }

  .about-images {
    height: 200px !important;
    margin-bottom: 8px !important;
  }

  .about-img-large {
    height: 140px !important;
    top: 30px !important;
  }

  .about-img-small {
    height: 60px !important;
    width: 100px !important;
  }

  /* Price section: compact spacing */
  .price-section {
    padding: 32px 0 !important;
  }

  /* Contact section: compact */
  .contact-section {
    padding: 32px 0 !important;
  }

  /* General section padding reduction */
  section {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
  }

  /* Hairmake gallery page: keep 2 columns */
  .hairmake-gallery-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
  }
}

/* ABOUT: 写真・テキスト非表示後、about-infoを中央寄せ */
#about .about-container,
#about [class*="about-container"] {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100% !important;
  padding: 0 !important;
}

#about .about-info,
#about [class*="about-info"] {
  width: 100% !important;
  max-width: 480px !important;
  margin: 0 auto !important;
  padding: 24px !important;
  float: none !important;
  position: static !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
}

/* ABOUT: MIMOについて見出しを中央寄せ */
#about .about-info h2,
#about [class*="about-info"] h2 {
  text-align: center !important;
}

/* CONTACT: InstagramのDMリンクを中央寄せ */
.insta-link {
  display: block !important;
  text-align: center !important;
}
