/* =========================================
   ABOUT（運営者ページ）
   PCベースデザイン
========================================= */

.aboutPage .container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* HERO */
.aboutHero {
  position: relative;
  width: 100%;
  height: clamp(260px, 45vw, 380px);
  overflow: hidden;
  margin-bottom: 40px;
}
.aboutHeroImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.aboutHeading {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-size: 32px;  /* PC版 */
  color: #fff;
  font-weight: 700;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* セクション */
.aboutSection {
  margin-bottom: 56px;
  line-height: 1.75;
}
.aboutSub {
  font-size: 22px;  /* PC版 */
  margin: 24px 0 12px;
  font-weight: 700;
}

/* 単枚パニーニ（1枚表示用の既存ブロック） */
.aboutPhoto {
  margin: 32px 0;
  text-align: center;
}
.aboutPhoto img {
  max-width: 520px;
  width: 100%;
  border-radius: 8px;
}
.aboutPhoto figcaption {
  font-size: 14px;
  margin-top: 6px;
  color: #777;
}

/* パニーニ3枚ギャラリー（PCで横並び、SPは1枚に絞る） */
.paniniGallery {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin: 32px 0;
}
.paniniGallery img {
  width: 28%;
  border-radius: 8px;
  object-fit: cover;
  aspect-ratio: 4 / 3; /* 比率を揃えて整然と見せる */
}

/* =========================================
   SP（スマホ）
========================================= */
@media (max-width: 768px) {
  .aboutPage .container {
    box-sizing: border-box;
    }
   .aboutHeading {
    left: 50%;
    bottom: 12px;        /* 好きな値でOK */
    transform: translateX(-50%);
    text-align: center;
    font-size: 16px;
  }
  .aboutSub {
    font-size: 18px;  /* 22px の 80% */
  }
  .aboutSection p {
  text-align: justify;
}

  /* ギャラリーは最初の1枚だけ表示（軽量＆読みやすさ重視） */
  .paniniGallery {
    gap: 12px;
    margin: 24px 0;
  }
  .paniniGallery img {
    width: 100%;
    max-width: 520px;
  }
  .paniniGallery img:nth-child(n+2) {
    display: none;
  }
}



