/* reCAPTCHAバッジを非表示 */
.grecaptcha-badge {
    display: none !important;
    visibility: hidden !important;
}

/* baguetteBox（画像ライトボックス）を非表示 */
#baguetteBox-overlay {
    display: none !important;
    visibility: hidden !important;
}

/* ページトップボタンを非表示 */
#page-top {
    display: none !important;
}

/* フッターを非表示 */
footer,
#footer,
.footer,
.site-footer,
#colophon {
    display: none !important;
}

/* iframeのラッパー */
.social-studies-fixed-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
}

/* iframeのスタイル */
.social-studies-iframe {
    border: none;
    display: block;
    width: 100%;
}

/* デバイス別の高さ調整（画面の高さに合わせる） */
/* スマホ（縦） */
@media screen and (max-width: 480px) {
    .social-studies-iframe {
        height: 70vh !important;
    }
}

/* スマホ（横）・タブレット（縦） */
@media screen and (min-width: 481px) and (max-width: 768px) {
    .social-studies-iframe {
        height: 75vh !important;
    }
}

/* タブレット（横）・小型PC */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .social-studies-iframe {
        height: 80vh !important;
    }
}

/* PC */
@media screen and (min-width: 1025px) {
    .social-studies-iframe {
        height: 75vh !important;
    }
}

/* レスポンシブ対応 */
.social-studies-responsive-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    overflow: hidden;
}

.social-studies-responsive-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/* iframeの直後の空のpタグを非表示 */
.social-studies-fixed-wrapper + p:empty,
.social-studies-responsive-wrapper + p:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}