@charset "utf-8";
/* 内部リンク用 */
.wp-block-embed iframe {
 margin: 0 auto;
 height: auto !important;
}
.wp-block-embed .wp-embedded-content {
 width: 100%;
 height: auto;
}
.wp-embed * {
 box-sizing: border-box;
}
.wp-embed {
 box-sizing: border-box;
 background-color: rgba(87, 167, 115, 0.1);
 border: solid 2px #57a773;
 position: relative;
 display: flex;
}
.wp-embed > a {
 display: block;
 text-decoration: none;
 width: 100%;
 height: 100%;
 position: absolute;
 left: 0;
 top: 0;
}
@media screen and (min-width: 1000px){
 .wp-embed a:hover {
  background-color: rgba(255,255,255,0.3);
 }
}
.wp-embed .wp-embed-featured-image {
 width: 220px;
}
.wp-embed .wp-embed-featured-image img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 object-position: 50% 0;
}
.wp-embed .wp-embed-featured-text {
 width: calc(100% - 220px);
 padding: 40px 10px 10px;
 position: relative;
}
.wp-embed .wp-embed-featured-text::before {
 content: "関連記事";
 display:inline-block;
 font-size: 12px;
 line-height: 1;
 padding:6px 10px;
 background-color: #57a773;
 color: #fff;
 position: absolute;
 left: 0;
 top: 0;
}
.wp-embed .wp-embed-featured-text a {
 display: block;
 height: 100%;
}
.wp-embed .wp-embed-featured-text .wp-embed-heading {
 font-weight: normal;
 font-size: 16px;
 color: #484d6d;
 line-height: 1.4;
}
.wp-embed .wp-embed-featured-text .wp-embed-footer {
 color: #848484;
 text-align: right;
 font-weight: normal;
 font-size: 11px;
 margin: 20px 0 0;
}
@media screen and (max-width: 599px){
 .wp-embed .wp-embed-featured-image { width: 160px; }
 .wp-embed .wp-embed-featured-text {
  width: calc(100% - 160px);
  padding-top: 30px;
 }
 .wp-embed .wp-embed-featured-text::before { font-size: 11px; }
 .wp-embed .wp-embed-featured-text .wp-embed-heading { font-size: 14px; }
}

