    /*    
    Add by Soraha    
    2021/09/19
    */
    /* カテゴリ・アーカイブ調整 */
    
    .list-group-flush:first-child .list-group-item:first-child {
        border-top: 1px solid rgba(0, 0, 0, .125);
    }
    
    .list-group-flush:last-child .list-group-item:last-child {
        margin-bottom: 1px solid rgba(0, 0, 0, .125);
        border-bottom: 1px solid rgba(0, 0, 0, .125);
    }
    
    .sidebar .select {
        cursor: pointer;
        overflow: hidden;
        width: 100%;
        margin: 0 auto;
        text-align: center;
    }
    
    .sidebar .select {
        position: relative;
        background-color: #ffffff;
        border-radius: 0px;
        border: 1px solid rgba(0, 0, 0, .125);
        border-left: none;
        border-right: none;
    }
    
    .sidebar .select::before {
        position: absolute;
        top: 0;
        bottom: 0;
        margin: auto 0;
        right: 0.9em;
        width: 0;
        height: 0;
        padding: 0;
        content: '';
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 6px solid #b0c4de;
        pointer-events: none;
    }
    
    .sidebar .select select {
        width: 100%;
        padding-right: 1em;
        cursor: pointer;
        text-indent: 0.01px;
        text-overflow: ellipsis;
        border: none;
        outline: none;
        background: transparent;
        background-image: none;
        box-shadow: none;
        -webkit-appearance: none;
        appearance: none;
    }
    
    .sidebar .select select::-ms-expand {
        display: none;
    }
    
    .sidebar .select select {
        padding: 12px 38px 12px 1.25rem;
        color: #444444;
    }
    /* コメント調整 */
    
    #form .form-horizontal .control-label {
        padding-top: 0;
    }
    
    #form .form-control {
        margin-bottom: 5px;
    }
    
    #form .att {
        color: #cc0000;
    }
    
    p.form-submit {
        text-align: center;
        display: block;
        width: 100%;
    }
    
    p.form-submit input#submit {
        background: #fff;
        color: #004098;
        border: 1px solid #004098;
        padding: 8px;
        width: 100px;
        -moz-box-shadow: none !important;
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        -webkit-transition: all .3s;
        transition: all .3s;
    }
    
    p.form-submit input#submit:hover,
    p.form-submit input#submit:focus {
        background: #004098;
        color: #fff;
    }
    
    p.form-submit input#submit:active {
        background: #ffffff;
        color: #004098;
    }
    
    .comment-form-comment textarea#comment {
        border: 1px solid #dfdfdf;
        padding: 10px;
        margin-top: 10px;
        width: 100%;
        background: #ffffff;
    }
    
    span.required {
        color: #f00;
    }
    
    #commentform input[type="text"] {
        border: 1px solid #dfdfdf;
        padding: 5px 10px;
        margin-top: 10px;
        width: 100%;
        background: #ffffff;
    }
    
    .comment {
        border: 1px solid #dfdfdf;
        margin-top: 20px;
        padding: 20px 30px;
        background-color: #fff;
    }
    
    .comment a {
        color: #004098;
    }
    
    ul.comments-meta-list {
        margin-bottom: 20px;
        border-bottom: 1px dotted #dfdfdf;
        padding-bottom: 10px;
        list-style: none;
        padding-left: 0;
        padding-right: 0;
    }
    
    #respond {
        margin-top: 40px;
    }
    
    .comments-approval {
        color: #cc0000;
    }
    
    div.comments-reply {
        text-align: right;
    }
    /* 徒然日記フォント調整 */

    div.diary {
        font-size: 1rem;
        font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    }
    @media(min-width:1200px){
        div.diary {
            font-size: 1.4rem;
    }
}
    div.diary p {
        margin-top: 20px;
    }
    
    div.diary a {
        color: #004098;
    }
    
    div.diary a.visited {
        color: #004098;
    }
    /*modal */
    
    .modal-open {
        overflow: hidden;
    }
    
    .modal-open .modal {
        overflow-x: hidden;
        overflow-y: auto;
    }
    
    .modal {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1050;
        display: none;
        width: 100%;
        height: 100%;
        overflow: hidden;
        outline: 0;
    }
    
    .modal-dialog {
        position: relative;
        width: auto;
        margin: 0.5rem;
        pointer-events: none;
    }
    
    .modal.fade .modal-dialog {
        transition: transform 0.3s ease-out;
        transform: translate(0, -50px);
    }
    
    @media (prefers-reduced-motion: reduce) {
        .modal.fade .modal-dialog {
            transition: none;
        }
    }
    
    .modal.show .modal-dialog {
        transform: none;
    }
    
    .modal.modal-static .modal-dialog {
        transform: scale(1.02);
    }
    
    .modal-dialog-scrollable {
        display: flex;
        max-height: calc(100% - 1rem);
    }
    
    .modal-dialog-scrollable .modal-content {
        max-height: calc(100vh - 1rem);
        overflow: hidden;
    }
    
    .modal-dialog-scrollable .modal-header,
    .modal-dialog-scrollable .modal-footer {
        flex-shrink: 0;
    }
    
    .modal-dialog-scrollable .modal-body {
        overflow-y: auto;
    }
    
    .modal-dialog-centered {
        display: flex;
        align-items: center;
        min-height: calc(100% - 1rem);
    }
    
    .modal-dialog-centered::before {
        display: block;
        height: calc(100vh - 1rem);
        height: -webkit-min-content;
        height: -moz-min-content;
        height: min-content;
        content: "";
    }
    
    .modal-dialog-centered.modal-dialog-scrollable {
        flex-direction: column;
        justify-content: center;
        height: 100%;
    }
    
    .modal-dialog-centered.modal-dialog-scrollable .modal-content {
        max-height: none;
    }
    
    .modal-dialog-centered.modal-dialog-scrollable::before {
        content: none;
    }
    
    .modal-content {
        position: relative;
        display: flex;
        flex-direction: column;
        width: 100%;
        pointer-events: auto;
        background-color: #fff;
        background-clip: padding-box;
        border: 1px solid rgba(0, 0, 0, 0.2);
        border-radius: 0.3rem;
        outline: 0;
    }
    
    .modal-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1040;
        width: 100vw;
        height: 100vh;
        background-color: #000;
    }
    
    .modal-backdrop.fade {
        opacity: 0;
    }
    
    .modal-backdrop.show {
        opacity: 0.5;
    }
    
    .modal-header {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        padding: 1rem 1rem;
        border-bottom: 1px solid #dee2e6;
        border-top-left-radius: calc(0.3rem - 1px);
        border-top-right-radius: calc(0.3rem - 1px);
    }
    
    .modal-header .close {
        padding: 1rem 1rem;
        margin: -1rem -1rem -1rem auto;
    }
    
    .modal-title {
        margin-bottom: 0;
        line-height: 1.5;
    }
    
    .modal-body {
        position: relative;
        flex: 1 1 auto;
        padding: 1rem;
    }
    
    .modal-footer {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-end;
        padding: 0.75rem;
        border-top: 1px solid #dee2e6;
        border-bottom-right-radius: calc(0.3rem - 1px);
        border-bottom-left-radius: calc(0.3rem - 1px);
    }
    
    .modal-footer>* {
        margin: 0.25rem;
    }
    
    .modal-scrollbar-measure {
        position: absolute;
        top: -9999px;
        width: 50px;
        height: 50px;
        overflow: scroll;
    }
    
    @media (min-width: 576px) {
        .modal-dialog {
            /* max-width: 500px; */
            margin: 1.75rem auto;
        }
        .modal-dialog-scrollable {
            max-height: calc(100% - 3.5rem);
        }
        .modal-dialog-scrollable .modal-content {
            max-height: calc(100vh - 3.5rem);
        }
        .modal-dialog-centered {
            min-height: calc(100% - 3.5rem);
        }
        .modal-dialog-centered::before {
            height: calc(100vh - 3.5rem);
            height: -webkit-min-content;
            height: -moz-min-content;
            height: min-content;
        }
        .modal-sm {
            max-width: 300px;
        }
    }
    
    @media (min-width: 992px) {
        .modal-lg,
        .modal-xl {
            max-width: 800px;
        }
    }
    
    @media (min-width: 1200px) {
        .modal-xl {
            max-width: 1140px;
        }
    }
    
    .portfolio-modal .modal-dialog {
        margin: 1rem;
        max-width: 100vw;
    }
    
    .portfolio-modal .modal-content {
        padding-top: 6rem;
        padding-bottom: 6rem;
        text-align: center;
    }
    
    .portfolio-modal .modal-content h2 {
        font-size: 3rem;
        line-height: 3rem;
    }
    
    .portfolio-modal .modal-content p.item-intro {
        font-style: italic;
        margin-bottom: 2rem;
        font-family: "Droid Serif", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    }
    
    .portfolio-modal .modal-content p {
        margin-bottom: 2rem;
    }
    
    .portfolio-modal .modal-content ul.list-inline {
        margin-bottom: 2rem;
    }
    
    .portfolio-modal .modal-content img {
        margin-bottom: 2rem;
    }
    
    .portfolio-modal .close-modal {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        width: 3rem;
        height: 3rem;
        cursor: pointer;
        background-color: transparent;
    }
    
    .portfolio-modal .close-modal:hover {
        opacity: 0.3;
    }
    
    .embed-responsive {
        position: relative;
        display: block;
        width: 100%;
        padding: 0;
        overflow: hidden;
    }
    
    .embed-responsive::before {
        display: block;
        content: "";
    }
    
    .embed-responsive .embed-responsive-item,
    .embed-responsive iframe,
    .embed-responsive embed,
    .embed-responsive object,
    .embed-responsive video {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }
    
    .embed-responsive-21by9::before {
        padding-top: 42.8571428571%;
    }
    
    .embed-responsive-16by9::before {
        padding-top: 56.25%;
    }
    
    .embed-responsive-4by3::before {
        padding-top: 75%;
    }
    
    .embed-responsive-1by1::before {
        padding-top: 100%;
    }