<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sashisusen</author_name>
  <author_url>https://blog.hatena.ne.jp/sashisusen/</author_url>
  <blog_title>藍と青</blog_title>
  <blog_url>https://aitoao.com/</blog_url>
  <categories>
    <anon>試行</anon>
  </categories>
  <description>去年の11月にWordPressからはてなブログへ引っ越してきてから(関連記事: はてなブログをはじめました)、少しずつサイトのデザインをカスタマイズしています。 その過程で、サイトの背景色とは異なる色を親要素(hatena-module)で指定したところ、AdSense 広告によるデザイン崩れが発生しました。 具体的には、サイトに設置したAdSenseのレスポンシブ広告をモバイルデバイスで表示した際、広告が親要素の幅を無視して横に広がってしまうという現象です。 これは、AdSenseのレスポンシブ広告の既定の挙動が、訪問者のモバイル端末の画面幅いっぱいに拡大して表示する“全幅レスポンシブ広告…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Faitoao.com%2Fentry%2Fadsense-fit-parent&quot; title=&quot;モバイル表示でもAdSense広告を親要素に収める方法 - 藍と青&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-01-02 22:00:00</published>
  <title>モバイル表示でもAdSense広告を親要素に収める方法</title>
  <type>rich</type>
  <url>https://aitoao.com/entry/adsense-fit-parent</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
