.iwata-content {
  padding: 80px 20px;
}

.iwata-title {
  text-align: center;
  margin-bottom: 60px;
  font-size: 2rem;
}

.iwata-full-image {
  width: 100vw;
  margin-left: calc(50% - 50vw); /* 親の max-width を突破 */
  margin-top: -20px;    /* 上に少し食い込ませてテキストとの隙間を詰める（任意） */
  margin-bottom: 100px; /* 画像の下に大きな空間を作る */
}

.iwata-full-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* iwata.html 限定 */
.iwata-page .iwata-text {
  max-width: 520px;      /* テキストの箱の幅 */
  margin-left: auto;     /* 左を伸ばして右へ */
  margin-right: 2%;      /* 右端の余白（header感） */
  margin-bottom: 60px;
  font-size: 0.9rem;
  line-height: 1.9;
  color: #333;
}

/* スマホ */
@media (max-width: 768px) {
  .iwata-text-block {
    max-width: 100%;
    margin-left: 0;
  }
}
/* Iwata ページ */
.iwata-reference {
  margin-top: 180px;
}

/* ---------- Header ---------- */

.reference-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 48px;
}

.reference-title {
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: #555;
  white-space: nowrap;
}

.reference-bar {
  width: 36px;
  height: 1px;
  background: #bbb;
  flex-shrink: 0;
}

.reference-sub {
  font-size: 0.8rem;
  color: #777;
  line-height: 1.6;
}

/* ---------- 共通：画像 ---------- */

.reference-image {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.reference-image img {
  display: block;
  cursor: zoom-in;
}

/* ---------- 2カラム：画像＋テキスト ---------- */

.reference-main {
  display: flex;
  flex-wrap: nowrap;
  gap: 3px;
	align-items: flex-start;
}

.reference-main .reference-image,
.reference-main .reference-vertical {
  width: 50%;
  box-sizing: border-box;
}
/* 高さ基準で画像サイズ決定 */
.reference-main:not(.single-only) .reference-image {
  height: 350px;              /* ← 画像の基準高さ（調整可） */
}
.reference-main:not(.single-only) .reference-image img {
  height: 100%;
  width: auto;
  max-width: 100%;
}

/* 右：縦書き本文 */
.reference-vertical {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  padding: 0 12px 12px 12px;
  font-size: 0.9rem;
  line-height: 1.8;
  color: #555;
}

/* 右：横書き本文 */
.reference-horizontal {
	vertical-align: top;
	width: 50%;
  box-sizing: border-box;
	padding: 0 12px 12px 12px;
	font-size: 0.85rem;
  line-height: 1.9;
  color: #555;
}

/* ---------- 1カラム：画像のみ ---------- */

.reference-main.single-only {
  display: block;
}

.reference-main.single-only .reference-image {
  width: 100%;
}

/* ---------- 下段説明 ---------- */

.reference-description {
  margin-top: 30px;
  max-width: 800px;
  font-size: 0.85rem;
  line-height: 1.8;
  color: #666;
}

.reference-block {
  margin-bottom: 120px; /* ← 史料1と史料2の間隔 */
}

/* セクション区切りライン */
.iwata-reference + .iwata-reference {
  position: relative;
  margin-top: 220px; /* 既存の180pxより少し余裕を出す */
}

.iwata-reference + .iwata-reference::before {
  content: "";
  position: absolute;
  top: -110px;              /* ラインの位置（調整可） */
  left: 50%;
  transform: translateX(-50%);
  width: 700px;             /* ラインの長さ */
  height: 1px;
  background-color: #ccc;   /* 控えめなグレー */
}
