/* ===== Ebara Recipe Team ===== */
.rtm {
  background: #fff5f5;               /* PC基調色 */
  border: 1px solid #FFE8E7;         /* 枠線基調色　*/
  margin-top: 40px;
}

/* ロゴを円形に */
.rtm__logo-img {
  display: block;
  width: 137px;         /* 必要なら任意に変更可 */
  height: 137px;        /* 正円にしたいので幅高は同値 */
  border-radius: 50%;   /* これで円形に */
  overflow: hidden;     /* 角をはみ出す部分を隠す */
  object-fit: contain;  /* ロゴの比率を維持 */
  background: #fff;     /* 白い下地（デザイン準拠） */
  box-shadow: 0 0 0 1px #f0e5e5 inset; /* 薄い内側ライン（任意） */
}

/* --- PC（既定）: 左ロゴ | 本文 | 右ロゴの1段 --- */
.rtm__inner {
  display: grid;
  grid-template-columns: 137px 1fr 140px;
  grid-template-areas: "media body obj";
  align-items: center;
  column-gap: 32px;
  padding: 28px 0;
}
.rtm__media { grid-area: media; }
.rtm__body  { grid-area: body; }
.rtm__obj   { grid-area: obj; }

.rtm__media img,
.rtm__obj img {
  display: block;
  height: auto;
}
.rtm__media img { width: 137px; }
.rtm__obj   img {
   width: 140px; 
   position: absolute;
   bottom: 0px;
  }

.rtm__headline { display: none; } /* PCではSP用見出しを隠す */

.rtm__body { line-height: 1.8; }
.rtm__eyebrow {
  font-weight: 500;
  font-size: 19px;
  letter-spacing: 0.02em;
  margin: 0 0 8px;
  color: #e10000;
}
.rtm__title {
  font-size: 20px;
  line-height: 1.7;
  margin: 0 0 8px;
}
.rtm__text {
  font-size: 14px;
  line-height: 1.9;
  color: #65562d;
}

/* 改行ユーティリティ */
.u-pc { display: inline; }
.u-sp { display: none; }

/* --- SP: 640px以下は2段構成 ---
   1段目 = [左ロゴ][中央テキスト][右ロゴ]
   2段目 = 本文（横幅いっぱい）
*/
@media (max-width: 640px) {
  .rtm { background: transparent; }
  .rtm { border: transparent; }

  .rtm__inner {
    grid-template-columns: 80px 1fr 60px;      /* 左ロゴ / 中央テキスト / 右ロゴ */
    grid-template-areas:
      "media headline obj"
      "body  body     body";
    gap: 12px;
    padding: 16px;
    background: #fff5f5;
    border: 1px solid #FFE8E7;
    border-radius: 4px;
    margin-top: 70px;
  }

  /* .rtm__media img { width: 64px; } */
  .rtm__obj   img { 
    width: 74px; 
    position: relative;
  }

  .rtm__headline {
    display: block;
    grid-area: headline;
    /* align-self: center;             
    text-align: center;              */
    font-weight: 700;
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    font-weight: 500;
    font-size: 15px;
    color: #e10000;
  }

  .rtm__body { grid-area: body; }
  .rtm__eyebrow { display: none; }   /* SPでは上段に見出しを出すため非表示 */
  .rtm__title {
    font-size: 16px;
    line-height: 1.6;
    margin: 8px 0;
  }
  .rtm__text {
    font-size: 14px;
    line-height: 1.8;
  }

  .u-pc { display: none; }
  .u-sp { display: inline; }
}
/* ===== /Ebara Recipe Team ===== */