/*
Theme Name: RWD-child
Theme URI: https://example.com/   /* 任意のURLに変更可 */
Description: 親テーマ「sample_theme_2columnsample_theme_2column20130325」をベースにした子テーマ
Author: 小松毅鑑
Author URI: https://example.com/  /* 任意のURLに変更可 */
Template: sample_theme_2columnsample_theme_2column20130325
Version: 1.0
*/

/* 以下に子テーマ用の追加CSSを記述 */

@charset "utf-8";
/*
Theme Name: RWD［2R］
Description: RWDビジネステンプレート
Version: 1.0
Author: 株式会社メリディオン　沼倉裕
*/

blockquote {
  background: #90EE90 url(https://www.webcreatorbox.com/sample/images/quote.gif) no-repeat 10px 10px;
  padding: 25px;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Meiryo, "メイリオ", Helvetica, sans-serif;
}

/* フッター下部設定 */
html, body {
    height: 100%;
}
div#container {
    position: relative;
    min-height: 100%;
    height: auto !important; /* IE6用 */
    height: 100%;
}
div#main {
    padding-bottom: 50px; /* フッター高さ分の余白 */
}
div#footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 50px;
}

/* 記事の文字サイズ */
p {
  font-size: 18px;
}

#back-to-top {
    display: none;
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 9999;
    background: #333;
    color: #fff;
    padding: 10px 15px;
    border-radius: 50%;
    font-size: 20px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    transition: background 0.3s;
}
#back-to-top:hover {
    background: #555;
}

/* ブログカードのレスポンシブ対応（標準WP埋め込み用） */
.wp-embedded-content {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block;
}

/* iframe を内包する親要素にも対応 */
.wp-embed-aspect-16-9,
.wp-embed-aspect-4-3,
.wp-embed-aspect-1-1,
.wp-embed-aspect-21-9 {
    max-width: 100% !important;
    height: auto !important;
    box-sizing: border-box;
}

/* 強制的にオーバーフローを防止 */
.wp-block-embed,
.wp-embed {
    max-width: 100% !important;
    overflow: hidden;
}

/* — モバイルのみでブログカードを含め埋め込み全体を幅に収める — */
@media screen and (max-width: 768px) {
  .wp-embed,
  .wp-block-embed,
  iframe.wp-embedded-content,
  .wp-embedded-content {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* embed-content.php出力時に追加されるdivがあれば念のため対象に */
  .embed-container {
    width: 100% !important;
    max-width: 100% !important;
  }
}
