/* * { outline: 1px solid rgba(255, 100, 100, 0.4); }*/

h1{
    background-color: red;
}

.heading {
  margin-bottom: 2rem;
}

/* 2. プロフィール本文の行間と段落余白 */
.profileText p {
  line-height: 2;
  margin-bottom: 1.6rem;
}

/* 3. テキストの下に写真2枚を横並びで配置し，全体の幅をテキストと揃える */
.profileImages {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2枚を均等な幅で横に並べる */
  gap: 1rem;                      /* 2枚の写真の間の隙間 */
  margin-top: 2.5rem;             /* テキストとの間の余白 */
}

/* 4. figureタグの初期余白を消して，左右の端をテキストと完全に一致させる */
.photoItem {
  margin: 0;
}

.photoItem img {
  width: 100%;
  aspect-ratio: 4 / 3;    /* 2枚の縦横比を揃える（元の比率のままならこの行を削除） */
  object-fit: cover;
  display: block;
}

/* スマホなど狭い画面（600px以下）では写真も縦1列にする */
@media (max-width: 600px) {
  .profileImages {
    grid-template-columns: 1fr;
  }
}