/* セクション全体 */
.greeting {
  padding: 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  border: 1px solid #ccc;
  margin-bottom: 2rem;
}

/* 見出し */
.greeting h2 {
  margin: 0 0 1.5rem 0;
  font-weight: bold;
}

/* 写真＋文章のレイアウト */
.greeting-inner {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  align-items: flex-start;
}

/* 写真 */
.greeting-photo {
  width: 160px;
  height: 160px;
  object-fit: cover;
  object-position: top;
  border-radius: 50%;
  flex-shrink: 0;
}

/* テキストボックス */
.greeting-text {
  background: #fff;
  padding-left: 1.5rem;
  border-radius: 4px;
  line-height: 1.8;
  color: #000;
  flex: 1;
}

/* =========================
   スマホ表示用
   ========================= */
@media (max-width: 768px) {

  .greeting {
    padding: 1rem;
  }

  /* ← ここが重要！余白をゼロにする */
  .greeting-text {
    padding: 0;
  }

  .greeting-inner {
    flex-direction: column;
    gap: 0.8rem;
  }

  .greeting-photo {
    margin: 0 auto 1rem;
  }
}
