/* =======================================================
   access.css（店舗情報）
   - common.css の section / section-header / needle を尊重
   - 見た目は維持しつつ、競合だけ除去
======================================================= */

/* --- 共通アニメーション（既存の動き維持） --- */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUpBox {
  0% { opacity: 0; transform: translateY(15px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
  0% { opacity: 0; transform: translateX(-18px); }
  100% { opacity: 1; transform: translateX(0); }
}

/* =======================================================
   Base（モバイルファースト）
======================================================= */

/* ※ここは section section--bg-soft を付けているので
   背景/幅/余白を “上書きしすぎない” のが重要 */
.salon-introduction {
  position: relative;
  animation: fadeInUp 1.5s ease-in-out both;
}

/* タイトル周り：common の .section-header .section-title を基本に、
   access だけ必要なら最小限上書き */
.salon-introduction .section-title {
  /* padding を入れると header 全体がズレやすいので入れない */
  /* font-size は common がレスポンシブで制御してるので基本触らない */
}

/* ★重要：.section-header は定義しない（common に任せる）
   → gap/position が消えて needle が崩れるのを防ぐ */
/* .section-header { ... } ← これは書かない */

.salon-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.salon-item {
  width: 100%;
  margin-bottom: 30px;
  text-align: center;
  animation: fadeUp 0.8s ease-out both;
}

.salon-image {
  width: 200px;
  height: 200px;
  margin: 30px auto;
  object-fit: cover;
  display: block;
  border-radius: 999px;
  animation: slideInLeft 1s ease-out both;
}

/* 情報ボックス */
.info-wrapper {
  display: block;
  width: 100%;
}

.info-box {
  background-color: rgba(246, 227, 222, 0.5);
  padding: 18px 22px;
  border-radius: 10px;
  width: 80%;
  margin: 16px auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  font-family: 'Noto Serif JP', serif;
  text-align: left;
  opacity: 0;
  animation: fadeUpBox 0.6s ease-out forwards;
}

/* ディレイ */
.info-box:nth-of-type(1) { animation-delay: 0.4s; }
.info-box:nth-of-type(2) { animation-delay: 0.8s; }
.info-box:nth-of-type(3) { animation-delay: 1.2s; }
.info-box:nth-of-type(4) { animation-delay: 1.6s; }

.label {
  font-size: 18px;
  font-weight: bold;
  color: #E05A60;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-left: 2px solid #E05A60;
  padding-left: 10px;
  margin-bottom: 5px;
  line-height: 1.5;
}

.content {
  font-size: 17px;
  color: #000;
  line-height: 1.5;
  padding-left: 10px;
}

/* 地図 */
.map {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 30px auto;
  max-width: 1000px;
}

.map iframe {
  width: 100%;
  max-width: 300px;
  height: 300px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border: none;
}

/* =======================================================
   小型スマホ（390px以下）
======================================================= */
@media (max-width: 390px) {
  .salon-image {
    width: 200px;
    height: 200px;
  }
}

/* =======================================================
   スマホ（391px〜767px）
======================================================= */
@media (min-width: 391px) and (max-width: 767px) {
  .salon-image {
    width: 200px;
    height: 200px;
  }

  .map iframe {
    max-width: 300px;
  }
}

/* =======================================================
   PC（1200px以上）
======================================================= */
@media (min-width: 1200px) {
  .salon-image {
    width: 250px;
    height: 250px;
    margin: 80px auto 40px;
  }

  .info-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 80px;
    row-gap: 20px;
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
  }

  .info-box {
    width: 100%;
    margin: 0;
    padding: 18px 30px;
    animation-duration: 1.0s;
  }

  .map iframe {
    max-width: 600px;
    height: 300px;
  }
}