/* Responsive: yes */
@import url("https://cdn.blog.st-hatena.com/files/4207112889895023175/4207112889963102733");

/*======== 定型文用スタイル ========*/
/* 共通 */
.heading-type-belt {
    background: #006c60;
    color: #fff;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 20px;
}
/* 人物紹介 */
.person-introduction-wrapper {
    border: 1px solid #009999;
    border-radius: 20px;
    margin-bottom: 1em;
    padding: 20px;
}
@media (min-width: 768px) {
    .person-introduction-wrapper {
        padding: 28px;
    }
}
.person-introduction-wrapper .person-introduction-box {
    display: flex;
    gap: 8px;
    flex-direction: column;
}
.person-introduction-wrapper .person-introduction-box + .heading-type-belt {
    margin-top: 40px;
}
@media (min-width: 768px) {
    .person-introduction-wrapper .person-introduction-box {
        gap: 24px;
        flex-direction: row;
    }
}
.person-introduction-wrapper figure {
    width: 70%;
    margin: 0 auto;
}
.page-entry .entry-content .person-introduction-wrapper figure img {
    border-radius: 20px;
}
@media (min-width: 768px) {
    .person-introduction-wrapper figure {
        width: 100%;
        flex: 0 0 140px;
    }
}
.person-introduction-wrapper .text-box strong {
    color: #006c60;
}
/* フリーボックス */
.freebox-wrapper {
    border: 1px solid #009999;
    border-radius: 20px;
    margin-bottom: 1em;
    padding: 20px;
}
@media (min-width: 768px) {
    .freebox-wrapper {
        padding: 28px;
    }
}
.freebox-wrapper dt {
    font-weight: 700;
    color: #006c60;
}
.entry-content .freebox-wrapper dd {
    margin-left: 0;
}
/* フリーボックス(背景緑) */
.freebox-wrapper.style-bg-green {
    background: #e6f0ef;
    border: none;
}
/* フリーボックス(ドット線) */
.freebox-wrapper.style-line-dot {
    border: dotted 3px #bccddb;
}
/* 吹き出し */
.balloon-wrapper {
    margin-bottom: 1em;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
@media (min-width: 768px) {
    .balloon-wrapper {
        gap: 24px;
    }
}
.balloon-wrapper figure {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    margin: 0;
    flex: 0 0 60px;
}
@media (min-width: 768px) {
    .balloon-wrapper figure {
        flex: 0 0 120px;
    }
}
.page-entry .entry-content .balloon-wrapper figure img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
}
@media (min-width: 768px) {
    .page-entry .entry-content .balloon-wrapper figure img {
        width: 120px;
        height: 120px;
        margin: 0;
    }
}
.balloon-wrapper figure figcaption {
    font-size: 1.3rem;
    margin: 0;
    text-align: center;
    line-height: 1.5;
}
.balloon-wrapper .text-box {
    position: relative;
    display: inline-block;
    padding: 20px 16px;
    min-width: 120px;
    border-radius: 20px;
}
@media (min-width: 768px) {
    .balloon-wrapper .text-box {
        padding: 20px 28px;
    }
}
.balloon-wrapper .text-box:after {
    content: "";
    position: absolute;
    top: 32px;
    margin-top: -15px;
    border: 15px solid transparent;
}
.page-entry .entry-content .balloon-wrapper .text-box p {
    margin-bottom: 0;
}
.balloon-left .text-box {
    background: #e6f0ef;
}
.balloon-left .text-box:after {
    border-right-color: #e6f0ef;
    left: -27px;
}
.balloon-right {
    flex-direction: row-reverse;
}
.balloon-right .text-box {
    background: #e6f0ef;
}
.balloon-right .text-box:after {
    border-left-color: #e6f0ef;
    right: -27px;
}
/* 著者情報 */

.author-wrapper {
    display: flex;
    gap: 8px;
    flex-direction: column;
    background: #f4f4ee;
    border-radius: 20px;
    padding: 20px;
}
@media (min-width: 768px) {
    .author-wrapper {
        gap: 24px;
        flex-direction: row;
        padding: 28px;
    }
}
.author-wrapper figure {
    margin: 0 auto;
}
@media (min-width: 768px) {
    .author-wrapper figure {
        flex: 0 0 200px;
    }
    .author-wrapper .text-box {
        flex: 1;
    }
}
.page-entry .entry-content .author-wrapper figure img {
    border-radius: 50%;
    width: 120px;
    height: 120px;
    object-fit: cover;
}
@media (min-width: 768px) {
    .page-entry .entry-content .author-wrapper figure img {
        width: 200px;
        height: 200px;
    }
}
.author-wrapper .text-box .author-name {
    color: #006c60;
    font-weight: 700;
    border-bottom: 2px solid #006c60;
    font-size: 2rem;
    text-align: center;
}
@media (min-width: 768px) {
    .author-wrapper .text-box .author-name {
        text-align: left;
    }
}

/* はてなクレジット */
.credit-hatena {
    margin: 2rem 1%;
    text-align: right;
}

/* -----------------
   定型文用の関連記事
----------------- */
.related-article-box + .related-article-box {
    margin-top: 20px;
}
.related-article-box a {
    background: #006C60;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 12px 24px;
    text-decoration: none;
    align-items: center;
    position: relative;
    transition: .2s;
    border-radius: 20px;
    padding: 20px;
}
@media (min-width: 768px) {
    .related-article-box a {
        flex-direction: row;
    }

}
.related-article-box a:hover {
    background: #004C44;
    text-decoration: none;
}
.related-article-box a:hover::after {
    right: 27px;
}
.related-article-box figure {
    margin: 0;
    width: 100%;
}
@media (min-width: 768px) {
    .related-article-box figure {
        flex: 0 0 160px;
    }
}
.related-article-box figure img {
    vertical-align: bottom;
    width: 100%;
}
.related-article-box .text-box {
    position: relative;
    padding-right: 40px;
}
.related-article-box .text-box::before,
.related-article-box .text-box::after {
    content: "";
    position: absolute;
    vertical-align: middle;
    top: 50%;
    bottom: 50%;
    right: 0;
    margin: auto;
}
.related-article-box .text-box::before {
    border-radius: 50%;
    background: #fff;
    width: 24px;
    height: 24px;
}
.related-article-box .text-box::after {
    right: 9px;
    width: 8px;
    height: 8px;
    border-top: 2px solid #006C60;
    border-right: 2px solid #006C60;
    transform: rotate(45deg);
}
.page-entry .entry-content .related-article-box p {
    font-weight: 700;
    margin-bottom: 0;
}
@media (max-width: 767px) {
    .page-entry .entry-content .related-article-box p {
        line-height: 1.7;
    }
}

/* カテゴリーから記事を探す */
.hatena-module-category.l-hide{
    display: block;
}

.hatena-module-category .hatena-urllist li a{
    background: none;
    border-radius: 0;
    width: 100%;
}

.hatena-module-category.l-hide .hatena-urllist li {
    background: #e8f6ef;
    border-radius: 20px;
}

@media (max-width: 767px) {
    .hatena-module-category.l-hide .hatena-urllist{
        display: block;
    }

    .hatena-module-category.l-hide .hatena-urllist li {
        width: 100%;
        border-radius: 10px;
    }

    .hatena-module-category.l-hide .hatena-urllist li a {
        justify-content: flex-start;
    }
}

@media (min-width: 768px) {
    .hatena-module-category .hatena-category-urllist li a {
        padding: 36px 16px 25px;
    }

    .hatena-module-category.l-hide .hatena-urllist {
        gap: 40px;
        justify-content: flex-start;
    }

    .hatena-module-category.l-hide .hatena-urllist li {
        width: calc((100% - 80px) / 3);
        display: flex;
    }
}

.hatena-category-urllist li a::before {
    min-width: 76px;
}

.page-entry .categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.page-entry .categories a {
    background: #e8f6ef;
    padding: .3em .5em;
    border-radius: 4px;
}

/* 読者になるボタン */
.hatena-follow-button.subscribing {
    background: #f5f5f5 no-repeat -18px 0;
}

.hatena-follow-button.subscribing.hover {
    width: auto;
    background-position: -18px 0;
}

.hatena-module .hatena-follow-button.subscribing.hover .subscribing::before {
    width: 18px;
    height: auto;
    border-bottom: 3px solid #fff;
    border-left: 0;
    transform: rotate(0deg);
}

.hatena-module .hatena-follow-button.subscribing .subscribing::before{
    content: '';
    width: 10px;
    height: 5px;
    border-left: 3px solid #2f81d5;
    border-bottom: 3px solid #2f81d5;
    transform: rotate(-45deg);
    background-image: none;
}

/* ヘッダメニュー調整 */
@media (min-width: 992px) {
    #top-editarea.is-sticky {
        flex-wrap: wrap;
    }

    #top-editarea.is-sticky .navbar-inner {
        padding: 17px 262px 0 10px;
    }

    .navbar-list li {
        margin: 0 20px;
    }

    #top-editarea.is-sticky .navbar-list li {
        margin: 0 15px;
    }
}

body:has(.navbar.is-open){
    height: 100dvh;
    overflow: hidden;
}