@charset "UTF-8";
/* === 投稿ページ === */
body {
	background: #fff !important;
}
h2 {
    margin: min(60px, 4vw) 0 min(20px, 1.6vw);
    font-size: min(2rem, 2vw);
    line-height: 1.5em;
    font-weight: 600
}
p {
    margin-bottom: min(40px, 3vw);
    font-size: min(1.125rem, 1.25vw);
    line-height: 1.8888888889em;
}
img {
    display: block;
    max-width: 100%;
}
figure {
    margin-bottom: min(40px, 3vw);
}

.btn_single_allpost {
    font-family: "Roboto", sans-serif;
    font-size: 20px;
    color: #5D959D;
    letter-spacing: 0.1em;
    display: flex;
    justify-content: center;
    border: 2px solid #5D959D;
    border-radius: 30px;
    width: 500px;
    margin: 60px auto;
    padding: 12px;
}

.fv_post_tag {
    margin-top: min(20px, 1.6vw);
}
.single_content {
    background-color: #fff;
    margin: 1vw auto 6vw;
    padding: 5vw;
    position: relative; /* 追加 */
    z-index: 1; /* 追加 */
}
.single_article_thum {
    margin: 0 auto min(40px, 3vw);
}

/* WordPressの投稿ページにおけるYouTube埋め込み用のレスポンシブCSS */
.post iframe[src*="youtube.com"],
.post iframe[src*="youtu.be"] {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9; /* 16:9のアスペクト比を維持 */
}

.wp-block-embed__wrapper {
    max-width: 100%;
    position: relative;
    padding-bottom: 56.25%; /* 16:9のアスペクト比 */
    height: 0;
    overflow: hidden;
}

.wp-block-embed__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
