  @charset "utf-8";
  .image-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 600px; /* 背景サイズ上限 */
    aspect-ratio: 1 / 1; /* 背景は1:1 */
    overflow: hidden;
  }

  /* 背景画像（全体を表示） */
  .image-wrapper img.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* 全体を表示（切れない） */
    /*background-color: #000;*/ /* 足りない部分を黒などで埋める */
    background-color: #fff;
  }

  /* 上に重ねる画像（中央に配置、4:3） */
  .image-wrapper img.overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 66.6%; /* 背景600pxに対して400px相当 */
    aspect-ratio: 4 / 3;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: contain;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  }

  /* スマホ対応 */
  @media (max-width: 600px) {
    .image-wrapper {
      max-width: 100%;
    }
  }


  .container {
  display: flex;
  flex-direction: column; /* 縦に並べる */
  gap: 10px; /* A～B/C～Dの間隔 */
  width: 1200px;
  margin: 0 auto;
}

.middle {
  display: flex; /* BとCを横に並べる */
  gap: 10px; /* BとCの間隔 */
}

.box {
  border: 0px solid #000;
  text-align: center;
  padding: 10px;
}

.b, .c {
  flex: 1; /* 横並び時に等分 */
}

@media (max-width: 700px) {
  .middle {
    flex-direction: column; /* スマホ時は縦並び */
  }
}



.oshi-content {
  padding: 15px;
}

.oshi-content h3 {
  margin: 0 0 10px;
  font-size: 1.5rem;
  color: #a00;
}

.oshi-content p {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
