@charset "UTF-8";

#RssNews h2 {
    font-size: 170%;
    margin-bottom: 20px;
}

#RssNews table {
    margin-bottom: 1em;
}
#RssNews table th,
#RssNews table td {
    vertical-align: top;
    padding: 0 3px;
}

#RssNews small {
    font-size: smaller;
}

#RssNews ul {
    padding-left: 1.5em;
}

#RssNews figure {
    margin-bottom: 1em;
}

#RssNews figure img {
    margin: 0 auto;
}

#RssNews figure figcaption {
    font-size: smaller;
    text-align: center;
}

#RssNews iframe {
    margin: auto;
    display: block;
    max-width: 100%;
}

#RssNews {
    width: 90%;
    margin: 0 auto;
}

#PubDate {
    text-align: right;
    font-size: .9em;
    color: darkgray;
}

#Categories {
    margin-bottom: 1em;
}

#Thumbnail {
    display: block;
    width: 80%;
    margin: 0 auto;
}

#LeadText {
    margin-bottom: 2em;
}

#Provider {
    margin-top: 2em;
}

#Provider a {
    color: inherit;
    text-decoration: none;
}

#Provider,
#NewsSource {
    text-align: right;
}

#Description h2 {
    margin: 1em 0 0;
}

#Description h3 {
    font-size: 1.5em;
    margin: 1em 0 .5em;
}

#Description h2 + h3 {
    margin-top: .5em;
}

#Description img {
    display: block;
    width: 80%;
    margin: 1em auto;
}

#Description .wp-caption img {
    margin-bottom: 0;
}

#Description .aligncenter {
    margin: 0 auto;
}

#Description .wp-caption-text {
    text-align: center;
    font-size: small;
    margin-bottom: 1em;
}

#Description .box-title {
    margin-top: .5em;
}

#KanrenHeader {
    font-weight: bold;
    margin-top: 2em;
}

/* 関連記事でマイナビ農業に遷移するリンクの後ろに付けるアイコン */
.kanrenNewsLink[href^="https://agri.mynavi.jp/"]::after {
    content: ' ';
    display: inline-block;
    background: url("../../../images/global/ExternalLinkIcon.png") no-repeat center center;
    background-size: contain;
    aspect-ratio: 1 / 1;
    width: 1em;
    height: auto;
}

/*タブレット*/
@media screen and (min-width:768px) and (max-width:1199px) {
    h2 {
        font-size: 135%;
        margin-bottom: 20px;
    }
}
/*スマホ*/
@media screen and (max-width: 767px) {
    h2 {
        font-size: 100%;
        margin-bottom: 20px;
    }

    #RssIndex ul {
        flex-flow: column;
    }

    #RssIndex ul li {
        width: 100%;
        max-width: 100%;
    }

    #RssIndex ul li a img {
        height: 22vmin;
        max-height: 22vmin;
        width: auto;
        aspect-ratio: 1/1;
        object-fit: cover;
    }

    #RssIndex ul li a.Disabled::after {
        height: 22vmin;
        max-height: 22vmin;
    }
    /* 縦向きの場合のスタイル */
    @media screen and (max-aspect-ratio: 11/10) {
    }
}


/*============================================================
    吹き出し
    https://agri.mynavi.jp/wp-content/themes/agri/css/contents2.css から取得
============================================================*/
.say {
    display: table;
    overflow: hidden;
    width: 100%;
    margin: 1.5em 0;
}

.say .faceicon {
    width: 130px;
    display: table-cell;
    padding-right: 20px;
    text-align: center !important;
    vertical-align: top;
}

.say .faceicon img {
    width: 100%;
    height: auto;
    border: 3px solid #eaedf2;
    border-radius: 50%;
}

.say .faceicon span {
    font-size: 11px;
    font-weight: bold;
}

.say .chatting {
    padding-top: 15px;
    width: calc(100% - 150px);
    display: table-cell;
    position: relative;
    font-size: 15px;
    vertical-align: top;
}

.say .chatting p {
    font-size: 15px !important;
    margin-bottom: 1.5em !important;
    line-height: 1.75 !important;
    text-align: left !important;
}

.say .chatting p:last-child {
    margin-bottom: 0 !important;
}

.say .chatting .sc {
    display: inline-block;
    text-align: left;
    padding: 13px;
    border: 2px solid #d5d5d5;
    border-radius: 12px;
    background: #fff;
    word-break: break-all;
    line-height: 1.75;
}

.say .chatting .sc:before {
    content: '';
    display: inline-block;
    position: absolute;
    top: 28px;
    left: -23px;
    border: 12px solid transparent;
    border-right: 12px solid #d5d5d5;
}

.say .chatting .sc:after {
    content: '';
    display: inline-block;
    position: absolute;
    top: 28px;
    left: -20px;
    border: 12px solid transparent;
    border-right: 12px solid #fff;
}

.say.right {
    text-align: right;
}

.say.right .chatting {
    text-align: right;
}

.say.right .chatting .sc:before {
    right: -23px;
    left: auto;
    border: 12px solid transparent;
    border-left: 12px solid #d5d5d5;
}

.say.right .chatting .sc:after {
    right: -20px;
    left: auto;
    border: 12px solid transparent;
    border-left: 12px solid #ffffff;
}

.say.right .faceicon {
    padding: 0 0 0 20px;
}
