/*
Theme Name: cashline3
Version: 3.01
*/

/*
*{
    outline: 2px red solid;
}
 */
@import url('https://fonts.googleapis.com/css2?family=Kosugi+Maru&display=swap');

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}

html{
    position: relative;
    min-height: 100vh;
}
body {
}
html,body{
    font-family: -apple-system,BlinkMacSystemFont,"Helvetica Neue","Segoe UI","Hiragino Kaku Gothic ProN","Hiragino Sans",Arial,Meiryo,sans-serif;
    font-size:16px;
    line-height:2;
    font-kerning: normal;
    color:#444;
    font-weight:400;
    -webkit-font-smoothing: antialiased;
    background-color:#FFFFFF;
    margin: 0;
}
a:link, a:visited{
    color:#1111CC;
}

.fill{
    font-variation-settings: 'FILL' 1
}
@media only screen and (max-width: 560px) {
    html,body{
        font-size:16px;
    }
}
footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color:#F5F7FA;

    color:#777;
    font-size:0.85rem;

    padding-top:50px;
    padding-bottom:10px;

}

footer .footer-container{
    display:flex;
    flex-direction: column;
    justify-content: space-between;

    height:100%;
    margin:auto;
    max-width:1140px;
}
@media only screen and (max-width: 560px) {
    footer .footer-container{
        margin-left:20px;
        margin-right:20px;
    }
}

footer a{
    text-decoration:none;
    color:#777;
}
footer a:visited,
footer a:link,
footer a:hover
{
    text-decoration:none;
    color:#777;
}


footer .links{
    text-align:center;
}
footer .links span{
    border-right:1px solid #ccc;
    padding:0 0px;
    white-space: nowrap;
}
footer .links span:last-child{
    border:0;
}
footer .copy{
    text-align:center;
}
footer .links a{
    padding:18px 10px;
}

/*
 custom bootstrap.
 */
.main.row {
    display: -ms-flexbox;
    display: flex;
}
.main.row .col-body {
    width:calc(100% - 350px);
}
.main.row .col-side {
    padding-left:30px;
    width:350px;
}
@media only screen and (max-width: 768px) {
    .main.row {
        display:block;
        gap: 0;
    }
    .main.row .col-body {
        width:100%;
    }
    .main.row .col-side {
        padding-left:0;
        width:100%;
    }
}
.related.row{
    display: -ms-flexbox;
    -ms-flex-wrap: wrap;
    display: flex;
    flex-wrap: wrap;
    justify-content:space-between;
}
@media only screen and (max-width: 768px) {
    .related.row{
        display:block;
        gap: 0;
    }
}
.related.row .col-item {
    max-width: calc(33.333333% - 10px);
}
.mt-1{
    margin-top: 0.25rem !important;
}
.mt-2{
    margin-top: 0.5rem !important;
}
.mt-3{
    margin-top: 1rem !important;
}
.mt-4{
    margin-top: 1.5rem !important;
}
.mt-5{
    margin-top: 3rem !important;
}



/*
 * flex
 */
.flex{
    display: flex;
    justify-content: space-between;
}
.flex-left{
    display: flex;
    justify-content: flex-start;
}


/*
 * header
 */
.header{
    color:#fff;
    width:100%;
}
.header a{
    text-decoration:none;
}
.header .inner-row{
    padding:10px 10px;
    display: flex;
    gap: 3px;
}
.header .siteicon img{
    vertical-align: middle;
}
.header a.sitename{
    font-family: 'Kosugi Maru', sans-serif;
    font-size:1rem;
    font-weight:bold;
    color:#444;
}
.header a.sitename:hover{
    text-decoration:none;
}
@media only screen and (max-width: 560px) {
    .header .inner-row{
        text-align:center;
        display:block;
        gap: 0px;
    }
    .header .siteicon{
        line-height:0;
    }
}

/*
 * global-menu
 */
.global-menu{
    display: flex;
    background-color:#fff;
    overflow-x: auto;
    overflow-scrolling: touch;
    -webkit-overflow-scrolling: touch;

    box-shadow: 0 2px 6px -6px #000000;

}
.global-menu::-webkit-scrollbar {
    display: none;
    height: 0 !important;
}
.global-menu > a{
    font-size:0.65rem;
    display: block;
    flex:1;
    text-align:center;
    white-space: nowrap;
    border-right:1px solid #eee;
    border-top:1px solid #eee;
    padding:10px 10px;
    color:#444;
    text-decoration:none;
}
.global-menu > a:last-child{
    border-right:0px;
}
.global-menu > a:hover{
    text-decoration:none;
    background-color:#fafafa;
}

/*
 * breadcrumb
 */
.breadcrumb-container{
    max-width:1060px;
    margin:auto;
    font-size:0.7rem;
    padding:0.9rem;
}
.breadcrumb-container .breadcrumb{
    margin:0;
    padding:0;
    background-color:transparent;
    list-style-type:none;
}
.breadcrumb-container .breadcrumb-item{
    display: inline;
}
.breadcrumb-container .breadcrumb-item i.fa{
    margin-right:3px;
}

.breadcrumb-container .breadcrumb-item + .breadcrumb-item {
    padding-left: 0.5rem;
}

.breadcrumb-container .breadcrumb-item + .breadcrumb-item::before {
    display: inline-block;
    padding-right: 0.5rem;
    color: #6c757d;
    content: "/";
}


.breadcrumb-container a{
    text-decoration:none;
}
.breadcrumb-container a:link,
.breadcrumb-container a:visited,
.breadcrumb-container a:active
{
    color:#444;
}
.breadcrumb-container a:hover{
    color:#999;
    text-decoration:none;
}
@media only screen and (max-width: 560px) {
    .breadcrumb-container .breadcrumb .current{
        display: none;
    }
}

/*
 * container
 */
.container{
    max-width:1060px;
    background-color:#fff;
    /*padding-top:40px;*/
    padding-left:60px;
    padding-right:60px;
    padding-bottom: 260px;
    margin-right: auto;
    margin-left: auto;
}
@media only screen and (max-width: 560px) {
    .container{
        /*padding-top:15px;*/
        padding-left:15px;
        padding-right:15px;
    }
}

.home .post h2:first-child {
    margin-top:0;
}



/*************************
 * .post
 *************************/

/*
 * .post
 */
.post{
    margin-bottom:3.2rem;
}
.post .eyecatch img{
    height:400px !important;
    margin-bottom:1.6rem;
}
@media only screen and (max-width: 992px) {
    .post .eyecatch img{
        height:350px !important;
    }
}
@media only screen and (max-width: 768px) {
    .post .eyecatch img{
        height:300px !important;
    }
}
@media only screen and (max-width: 576px) {
    .post .eyecatch img{
        height:280px !important;
    }
}
@media only screen and (max-width: 540px) {
    .post .eyecatch img{
        height:250px !important;
    }
}
.post img{
    width:100%;
    height:auto;
}

/*
 * external
 */
.post a.external::after{
    font-family: 'FontAwesome';
    content: '\f08e';

    font-size:0.8em;
    vertical-align: top;
    margin-left:3px;
}

.post a.inner::after{
    font-family: 'FontAwesome';
    content: '\f107';
    font-size:0.8em;
    vertical-align: top;
    margin-left:3px;
}


/*
 * timestamp
 */
.post .timestamp{
    font-size:0.8rem;
    color:#999;
    text-align:right;
    margin-bottom:0.5rem;
    margin-right:5px;
}
.post .timestamp .create{
    margin-right:10px;
}
.post .timestamp .create:before{
    content: "投稿";
    font-size:0.5rem;
    padding:2px 3px;
    margin-right:3px;
}
.post .timestamp .update:before{
    content: "更新";
    font-size:0.5rem;
    padding:2px 3px;
    margin-right:3px;
}

/*
 * h1-h6
 */

.post h1,
.post h2,
.post h3,
.post h4,
.post h5,
.post h6
{
    line-height:1.6;
}

.post h1{
    margin:0px 0 0.8rem 0;
    font-size:1.4rem;
    font-weight:bold;
}
@media only screen and (max-width: 576px) {
    .post h1{
        margin-bottom:0.4rem;
    }
}
.post h2{
    margin:1.6rem 0rem 1.6rem 0rem;
    padding:1.6rem 1rem;
    font-size:1.4rem;
    font-weight:bold;
    background-color:#311b92;
    color:#fff;
}
.post h2.left{
    padding-left:0px;
}
.post h2:first-child{
    margin-top:1.6rem;
}


@media only screen and (max-width: 576px) {
    .post h2{
        margin-left:-1rem;
        margin-right:-1rem;
    }
}


.post h3{
    margin:3.2rem 0 1.6rem 0;
    padding:0 0 1.6rem 0;
    font-size:1.4rem;
    border-bottom:1px solid #444;
    font-weight:bold;
}
@media only screen and (max-width: 576px) {
    .post h3{
        margin-left:-15px;
        margin-right:-15px;
        padding-left:15px;
        padding-right:15px;
    }
}

.post h4{
    margin:2.4rem 0 2.4rem 0;
    padding:0.8rem 0 0.4rem 0.8rem;
    font-size:1.15rem;
    font-weight:bold;
    border-left:4px solid #444;
}
@media only screen and (max-width: 576px) {
    .post h4{
        margin-left:-15px;
        margin-right:-15px;
    }
}


.post h5{
    margin:1.6rem 0 1.6rem 0;
    padding:1.6rem 0;
    font-size:1rem;
    font-weight:bold;
    border-bottom:1px dashed #ccc;
    border-radius: 0px;
}
@media only screen and (max-width: 576px) {
    .post h5{
        padding-left:15px;
        margin-left:-15px;
        margin-right:-15px;
        border-left:0;
        border-right:0;
        border-radius: 0;
    }
}



.post h6{
    margin:1.6rem 0;
    /*padding:0.8rem 0 0.8rem 0;*/
    font-size:1.0rem;
    border-bottom:0px solid #efebe9;
    font-weight:bold;
}

.post h6.simple{
    margin:1.6rem 0 0.8rem 0;
    padding:0 0 0.8rem 0;
    font-size:1.0rem;
    border-bottom:1px solid #efebe9;
    font-weight:bold;
    color:#999;
}

.post p {
    margin:0 0 1.6rem 0;
}

.post .small{
    font-size:0.7rem;
    color:#999;
    display: inline-flex;
    align-items: center;
}
.post .small a{
    color:#999;
    text-decoration:none;
}

/*
 * ol,ul
 */
.post ol p{
    font-size:1rem;
    margin:0.4rem 0 0.4rem 5px;
}
.post ul p{
    margin:0.4rem 0 0.4rem calc(1em + 5px);
}
.post li{
    padding:0;
    margin:0;
    line-height:2rem;
}
.post li:not(:first-child){
    margin-top:1.2rem;
}
.post li span.mark{
    padding:3px;
    margin-right:3px;
    margin-left:3px;
    background-color:#f2f2f2;
    font-size:0.98rem;
    border-radius:1px;
}

/*
 * ol
 */
.post ol {
    list-style-type: none;
    counter-reset: st-section;
    padding-left:20px;
    margin:0 0 1.6rem 0;
}
.post .borderbox ol {
    margin:0px;
}
.post ol li:first-child {
    padding-top:0px;
}
.post ol li {
    font-weight: bold;
    padding-left:8px;
    text-indent:-6px;
}
.post ol.normal li {
    font-weight:normal;
}
.post ol li:before {
    counter-increment: st-section 1;
    content: counter(st-section,decimal);
    margin-left:calc(-5px - 5px - 0.7rem);
    margin-right:8px;

    font-size:0.7rem;
    font-weight:normal;
    padding:2px 5px;
    border-radius: 5px;
    border:1px solid #777;
}
/*
 * ul
 */
.post ul {
    list-style-type: none;
    padding:0 0 0 0;
    margin:0 0 1.6rem 0;
}
.post .borderbox ul {
    margin:0px;
}
.post ul li {
    font-weight:bold;
    padding-left:calc(1em + 5px);
}
.post ul.normal li {
    font-weight:normal;
}
.post ul li:before {
    font-family: 'FontAwesome';
    content: '\f22d';

    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    display: inline-block;
    float: left;

    margin-left:calc(-1em - 5px);
    background-color: transparent;
    color:#555;
}


/*
 * ol.flow
 */
.post ol.flow {
    list-style: none;
    counter-reset: st-section;
    border-left:1px solid #ccc;
    padding-inline-start:12px;
    margin-left:12px;
    position:relative;
}
.post ol.flow li::before {
    background-color:#ffffff;
    border:1px solid #777;
}

.post .borderbox{
    margin-bottom:1.6rem;
    border:1px solid #ccc;
    padding:1.2rem;
    font-size:0.98rem;
    border-radius:3px;
}
.post .borderbox p:last-child{
    margin-bottom:0;
}

.post .graybox{
    margin-bottom:1.6rem;
    border:0px solid #ccc;
    padding:1.2rem;
    font-size:0.98rem;
    background-color:#F7F9F9;
}
.post .graybox p:last-child{
    margin-bottom:0;
}


/*
 * cols img
 */
.post .cols{
    display: flex;
    margin-top:0.8rem;
    margin-bottom:0.8rem;
}
.post .cols img{
    border:1px #ccc solid;
    width:100%;
}
.post .cols > div{
    min-width: 250px;
    width:50%;
}
@media screen and (max-width: 576px){
    .post .cols{
        display: block;
        max-width:250px;
    }
}

/*
 * lightbox-img.cover
 */
.post .lightbox-img.cover img{
    object-fit: cover;
    object-position: 100% 0;
    cursor:pointer;
    width:100%;
    max-width: 350px;
    height: 500px;
}
@media screen and (max-width: 576px){
    .post .lightbox-img.cover img{
        width:100%;
        max-width: 300px;
        height: 430px;
    }
}


.post .pr-message{
    font-size:0.5rem;
    color:#999;
    text-align:right;
}


/*************************
 * .list
 *************************/
.list{
    margin-bottom:3.2rem;
}
.list h1{
    margin:0px 0 1.6rem 0;
    font-size:1.4rem;
    font-weight:bold;
    line-height:1.5;
}
.list .item{
    display: flex;
    flex-direction: column;
    padding-top:1rem;
    padding-bottom:1rem;
    color:#444;
    text-decoration:none;
    line-height:1.5;
}
.list .item .item-row{
    display: flex;
    flex-direction: row;
}
.list .item:hover{
    color:#444;
    text-decoration:none;
}
.list .eyecatch{
    margin-right:10px;
}
.list .eyecatch img{
    width:200px !important;
}
@media only screen and (max-width: 768px) {
    .list .eyecatch img{
        width:150px !important;
    }
}
@media only screen and (max-width: 576px) {
    .list .eyecatch img{
        width:130px !important;
    }
}

.list .title{
    font-weight:bold;
    font-size:1rem;
}
.list .timestamp{
    margin-top:5px;
    font-size:0.5rem;
    color:#999;
    text-align:left;
}

.list .timestamp .create{
    margin-right:10px;
}
.list .timestamp .create:before{
    content: "投稿";
    font-size:0.5rem;
    padding:2px 3px;
    margin-right:0px;
}
.list .timestamp .update:before{
    content: "更新";
    font-size:0.5rem;
    padding:2px 3px;
    margin-right:0px;
}



.list .content{
    margin-top:5px;
    font-size:0.8rem;
    color:#999;
}
.list .content.sp{
    display: none;
}
@media only screen and (max-width: 576px) {
    .list .content.sp{
        display: block;
    }
    .list .content.pc{
        display: none;
    }
}

/*
 * pagination
 */
.pagination {
    text-align: center;
    line-height:1;
    margin-top:1.6rem;
}
.pagination .page-numbers {
    margin: 0 3px;
    padding: 10px 15px;
    border-radius: 2px;
    background-color: #f5f5f5;
    color: #333;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}
.pagination .page-numbers.current {
    background-color: #999;
    color: #fff;
}
.pagination a.page-numbers:hover {
    background-color: #ddd;
}
.pagination .page-numbers.prev:before {
    font-family: 'FontAwesome';
    content: '\f104';
    vertical-align: middle;
}
.pagination .page-numbers.next:after {
    font-family: 'FontAwesome';
    content: '\f105';
    vertical-align: middle;
}
@media only screen and (max-width: 576px) {
    .pagination {
        font-size:0.8rem;
    }
    .pagination .page-numbers {
        padding: 8px 10px;
    }
}


/*
 * .side
 */
.side{
    font-size:0.8rem;
    line-height:1.4;
}
@media only screen and (max-width: 768px) {
    .side{
        font-size:1.1rem;
    }
}
@media only screen and (max-width: 576px) {
    .side{
        font-size:1rem;
    }
}


/* sidebar-wrapper */
.side .sidebar-wrapper {
    margin-bottom:1.6rem;
}
.side .sidebar-title{
    font-size:0.9rem;
    font-weight:bold;
    padding:1.2rem 0 0.6rem 0;
    margin-bottom:0.6rem;
    border-bottom:0px solid #d6d6d6;
}
.side .sidebar-wrapper ul{
    list-style-type: none;
    padding:0;
}
.side .sidebar-wrapper li{
    border-top: 0px solid #d6d6d6;
    padding:0 0 0.6rem 0;
    line-height:1.6;
}
.side .sidebar-wrapper li a{
    display: block;
    margin-bottom:5px;
}
.side .sidebar-wrapper .post-date{
    display: block;
    font-size:0.8rem;
    color:#d6d6d6;
}

/* sidebar a */
.side .menu li:first-child{
    border-top:1px solid #eee;
}
.side .menu li{
    padding:0;
    border-bottom:1px solid #eee;
    border-left:1px solid #eee;
    border-right:1px solid #eee;
}
.side .menu li a{
    padding:0.6rem 0 0.6rem 0.6rem;
    margin:0;
    text-decoration:none;
    color:#444;
}
.side .menu li a:hover{
    background-color:#fafafa;
    text-decoration:none;
}


/*
 * .latest-container
 */

.latest-container a{
    width:100%;
    color:#444;
    text-decoration:none;
    position:relative;
}
.latest-container a .icon{
    position:absolute;
    right:0px;
    top: 50%;
    transform: translateY(-50%) translateX(0%);
    -webkit-transform: translateY(-50%) translateX(0%);

    font-size:1.5rem !important;
    font-weight:bold;
}
.latest-container a:visited{
    color:#444;
    text-decoration:none;
}
.latest-container a:hover{
    color:#007bff;
}

.latest-container .item{
    display: flex;
    width:100%;
    padding-top:0.8rem;
    padding-bottom:0.8rem;
}
.latest-container .item:first-child{
}
.latest-container .thumb{
    padding-right:10px;
}
.latest-container .thumb img{
    width:80px;
    border-radius:5px;
}

.latest-container .body{
    padding-right:15px;
}
.latest-container .title{
    font-weight:bold;
}
.latest-container .category{
    margin-top:3px;
    font-size:0.6rem;
    color:#aaa;
}
.latest-container .date{
    margin-top:3px;
    font-size:0.6rem;
    color:#aaa;
}
@media only screen and (max-width: 768px) {
    .latest-container .thumb img{
        width:120px;
        border-radius:10px;
    }
}
@media only screen and (max-width: 576px) {
    .latest-container .thumb img{
        width:100px;
    }
}

/*
 * .related-container
 */
.related-container a{
    width:100%;
    color:#444;
    text-decoration:none;
    position:relative;
}
.related-container a .icon{
    display: none;
}
.related-container a:visited{
    color:#444;
    text-decoration:none;
}
.related-container a:hover{
    color:#007bff;
}
.related-container .item{
    display: flex;
    flex-flow: column;
    width:100%;
    padding-top:0.8rem;
    padding-bottom:0.8rem;
}
.related-container .thumb{
    margin-bottom:5px;
}
.related-container .thumb img{
    object-fit: cover;
    object-position: center;
    width:100%;
    aspect-ratio: 3/2;
    border-radius: 10px;
}
.related-container .body{
    line-height:1;
}
.related-container .title{
    font-size:1.2rem;
    line-height:1.5;
    font-weight:bold;
}
.related-container .category{
    margin-top:8px;
    font-size:0.6rem;
    color:#aaa;
}
.related-container .date{
    margin-top:8px;
    font-size:0.6rem;
    color:#aaa;
}
@media only screen and (max-width: 768px) {
    .related-container .item{
        display: flex;
        flex-flow: row;
    }
    .related-container .thumb{
        margin-right:10px;
    }
    .related-container .title{
        font-size:1.0rem;
    }
    .related-container a{
        padding-left:0px;
        /*margin-left:0px;*/
    }
    .related-container a .icon{
        display: block;
        position:absolute;
        right:-8px;
        top: 50%;
        transform: translateY(-50%) translateX(0%);
        -webkit-transform: translateY(-50%) translateX(0%);

        font-size:1.5rem !important;
        font-weight:bold;
    }
    .related-container .thumb img{
        width:120px;
        aspect-ratio: 5/4;
    }
}
@media only screen and (max-width: 576px) {
    .related-container .title{
        font-size:1.0rem;
    }
    .related-container .thumb img{
        width:100px;
    }
    .related-container a{
        padding-left:0;
    }
}


/*
 * serach
 */
#searchform > div{
    position: relative;
    right:0px;
    top:0px;
}
#searchform > div input[type=text]{
    width:100%;
    border:solid 1px #d6d6d6;
    border-radius: 5px;
    padding:10px 15px;
    font-size:12px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
#searchform > div input[type=text]::placeholder {
    color: #d6d6d6;
}
/* IE */
#searchform > div input[type=text]:-ms-input-placeholder {
    color: #d6d6d6;
}
/* Edge */
#searchform > div input[type=text]::-ms-input-placeholder {
    color: #d6d6d6;
}
#searchform > div input[type=submit]{
    position: absolute;
    right:10px;
    top: 8px;
    background-color:transparent;
    border:0px;
    font-size:16px;
    color:#d6d6d6;
}
#searchform > div input[type=submit]:hover{
    color:#444;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px,1px,1px,1px);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal!important
}

.screen-reader-text:focus {
    background-color: #ddd;
    clip: auto!important;
    -webkit-clip-path: none;
    clip-path: none;
    color: #444;
    display: block;
    font-size: 1em;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000
}


/*
 * pagetop
 */
.pagetop {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    bottom: 50px;
    right: 50px;
    color: #fff;
}
a.pagetop:hover {
    text-decoration:none;
}
.pagetop i.fa {
    display: block;
    border-radius: 50%;
    background: #2b2b2b;
    padding:10px;
    text-align: center;
    font-size: 30px !important;
    font-weight:bold;
}
.pagetop i.fa {
    color: #fff;
}
.pagetop.show {
    visibility: visible;
    opacity: .8;
}
@media screen and (max-width: 992px) {
    .pagetop {
        right: 10px;
        bottom: 10px;
    }
}



/*
 * blockquote 引用
 */
.blockquote {
    font-size:0.95rem;
    background-color: #fafafa;
    padding-top:3.2rem;
    padding-right:1.6rem;
    padding-bottom:3.2rem;
    padding-left:1.6rem;
    margin-top: 1.6rem;
    margin-right: 0px;
    margin-bottom: 1.6rem;
    border-left-width: 5px;
    border-left-style: solid;
    border-left-color: #CCC;

    position:relative;
}
.blockquote:after {
    color: #eee;
    content: "”";
    font-family: serif;
    font-size: 600%;
    line-height: 0;
    position: absolute;
    right: 5px;
    bottom: 0px;
}
.blockquote p{
    font-size:0.95rem;
}
.blockquote .small{
    margin-top:15px;
    line-height:130%;
}

/* 画像引用 */
.caption .small {
    text-align:center;
    display: block;
}
.caption{
    margin-bottom: 1.6rem;
}


/*
 * table
 */
.post table{
    border-collapse: collapse;
    border-spacing: 0;
    margin-bottom:1.6rem;
    width:100%;
}
.post th {
    font-size:0.7rem;
    font-weight:normal;
    background-color:#eee;
    text-align:center;
}
.post td{
    font-size: 0.9rem;
}
.post td,.post th {
    border: 1px solid #ccc;
    padding: 8px;
    padding:0.8rem;
}
.post table th.right,
.post table td.right{
    text-align:right;
}
.post table th.center,
.post table td.center{
    text-align:center;
}

/*
 * scroll-box
 */
.scroll-box{
    margin-bottom:1.6rem;
}
.scroll-box table {
    max-width:initial;
    margin-bottom:0;
}
.scroll-box table td,
.scroll-box table th{
    white-space: nowrap;
}
.scroll-box {
    overflow-x: auto;
}
.scroll-box::-webkit-scrollbar {
    height: 5px;
}
.scroll-box::-webkit-scrollbar-track {
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    background: #f3f3f3;
}
.scroll-box::-webkit-scrollbar-thumb {
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    background: #ccc;
}
.scroll-box td, .scroll-box th{
    white-space: nowrap;
    vertical-align:middle;
    width:auto;
}


/*
 * blog-card
 */
.blog-card {
    border:1px solid #f4f4f4;
    word-wrap:break-word;
    max-width:100%;
    border-radius:0px;
    margin: 1.6rem 0;
    padding:15px;

    position:relative;
}
.blog-card + br{
    display: none;
}

@media only screen and (max-width: 576px) {
    .blog-card {
        padding:10px;
    }
}
.blog-card p{
    margin:0px;
    padding:0px
}

.blog-card:hover {
    background: #fffff4;
}
.blog-card a {
    text-decoration: none;
}
.blog-card-title {
    color: #0b57d0;
    display: block;
}
.blog-card-thumbnail {
    float:left;
    margin-right:10px;
}
.blog-card-thumbnail img {
    border-radius: 8px;
    display: block;
    padding: 0;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
    max-height:90px;
}
.blog-card-content {
    line-height:1.3;
}
.blog-card-title {
    font-weight: normal;
    text-decoration:underline;
}
.blog-card-excerpt {
    margin-top:10px;
    font-size:0.9rem;
    color:#888;
}
.blog-card .clear {
    clear: both;
}
.blog-card .blog-card-header{
    position:absolute;
    top:-10px;
    left:6px;
    background-color:#fff;
    font-size:0.8rem;
    line-height:1rem;
    border:0px #eee solid;
    padding:0px 10px;
}

.post hr{
    margin:1.6rem 0;
    border-top:1px dashed #eee;
}


.post [subtitle]{
    padding-top:3.2rem;
    padding-bottom:1.6rem;
    position:relative;
}
.post [subtitle] .subtitle{
    font-size:0.9rem;
    position:absolute;
    top:1.4rem;
    width:100%;
}
.post [number]{
    position:relative;
    padding-left:0px;
}
@media only screen and (max-width: 576px) {
    .post [number]{
        padding-left:10px;
    }
}
.post [number] .number{
    position:static;
    display: inline;
    margin-right:8px;
    line-height:0;
    padding:0.2rem 0.7rem;
    border-radius:5px;
    background-color:#fff;
    color:#444;
    border:2px solid #444;
}


.post .question{
    position:relative;
    border:solid 3px #555;
    border-radius:20px;
    padding:20px;
    margin:20px 0 20px 70px;
    font-weight:bold;
    background-color:#f9fbe7;
}
.post .question p:last-child{
    margin-bottom:0px;
}
.post .question:before {
    position:absolute;
    top:0px;
    left:-75px;
    content: '';
    display: inline-block;
    width: 60px;
    height: 60px;
    border:2px solid #fff;
    border-radius:50%;
    background-image: url("./assets/img/smileman-komaru.png");
    background-position: left 65% top 0%;
    background-size: 130%;
    background-color:#bbdefb;
    vertical-align: middle;
}



/****************************
 * comment
 ****************************/

.comment-container .comment:first-child{
    border-top:0px solid #eee;
}
.comment-container .comment{
    position: relative;
    border-bottom:0px solid #eee;
    padding:1rem;
    background-color:#f1f1f1;
    margin-bottom:1rem;
    border-radius:5px;
}
.comment-container .comment p{
    margin:0px;
}
.comment-container .body{
    margin-bottom:0.8rem;
}
.comment-container .name{
    color:#aaa;
    font-size:0.8rem;
    margin-left:10px;
}
.comment-container .info{
    color:#aaa;
    font-size:0.8rem;
    /*margin-bottom:0.8rem;*/
    text-align:left;
}

.comment-container .children{
    margin-left:1rem;
}
.comment-container .comment-reply-link{
    position:absolute;
    bottom:8px;
    right:10px;
}
.comment-container .comment-reply-link span{
    font-size:20px !important;
    background-color:#ddd;
    color:#fff;
    border-radius:50%;
    padding:5px;
}
.comment-container .comment-reply-title{
    display: none;
    border-bottom:0;
    font-size:1.2rem;
}

/* pagenation  */
.comment-container .pagenation{
    margin-top:2.4rem;
    margin-bottom:2.4rem;
}
.comment-container .pagenation .page-numbers{
    padding:10px;
    border:1px solid #ccc;
    border-radius:3px;
}
.comment-container .pagenation .page-numbers.current{
    background-color:#ccc;
    border:1px solid #ccc;
}
.comment-container .pagenation a{
    text-decoration:none;
    color:#444;
}
.comment-container .pagenation a:hover{
    background-color:#f1f1f1
}

/* cancel-comment  */
#cancel-comment-reply-link span{
    float:right;
    color:#999;
    font-size:1.4rem;
}



.center{
    text-align:center !important;
}
.left{
    text-align:left !important;
}
.right{
    text-align:right !important;
}


/* ------------------------------
 * plugin custom
 -------------------------------- */
#toc_container{
    border:1px solid #ccc;
    padding:1rem;
    border-radius:1px;
}
#toc_container ul{
    margin:0;
}
#toc_container li{
    font-weight:normal;
    font-size:0.9rem;
    margin:0.2rem 0;
}
#toc_container .toc_list > li{
    padding-left:0;
}
#toc_container a:hover{
    text-decoration:none;
}
#toc_container li:before{
    content:"";
}
#toc_container .toc_title{
    margin-bottom:0.8rem;
}
#toc_container .toc_toggle{
    font-size:0.8rem;
}
#toc_container .toc_number{
    font-size:0.6rem;
    color:#999;
    background-color:#fafafa;
    padding:0.3rem;
}


/* ------------------------------
 * theme custom.
 ------------------------------ */

/* frontpage-widget-area */
.frontpage-widget-area{
    width:100%;
    margin:0 auto;
    background-color:#fafafa;
    padding:30px 0;
}
.frontpage-widget-area .row{
    width:500px;
    margin:0 auto;
}
@media screen and (max-width: 768px){
    .frontpage-widget-area .row{
        max-width:300px;
    }
}


/* hero-title */
.hero-title {
    text-align: center;
    margin: 0;
    padding: 6rem 2rem;
    position: relative;
    color:#311b92;
}

img.hero-man {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateY(-25%) translateX(-220%);
    width: 230px;
    height: auto;
    clip-path: polygon(0% 0%, 100% 0%, 100% 65%, 0% 65%);
}

img.hero-smartken {
    position: absolute;
    right: 50%;
    top: 50%;
    transform: translateY(-30%) translateX(270%);
    width: 150px;
    height: auto;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.hero-subtitle {
    font-family: 'Kosugi Maru', sans-serif;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 0 1rem 0;
    line-height: 1.4;
}

.hero-main-title {
    font-family: 'Kosugi Maru', sans-serif;
    font-size: 4.8rem;
    font-weight: bold;
    margin: 0;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.hero-main-title .small-text {
    font-size: 1.8rem;
}

@media only screen and (max-width: 768px) {

    img.hero-man {
        width: 150px;
        left: 5px;
        transform: translateY(-33%) translateX(0);
        clip-path: polygon(0% 0%, 100% 0%, 100% 70%, 0% 70%);
    }
    img.hero-smartken {
        width: 90px;
        right: 8px;
        transform: translateY(-35%) translateX(0);
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }
    .hero-main-title {
        font-size: 2rem;
    }
    .hero-main-title .small-text {
        font-size: 1.2rem;
    }
}

@media only screen and (max-width: 576px) {

    img.hero-man {
        width: 70px;
        left: 5px;
        transform: translateY(-33%) translateX(0);
        clip-path: polygon(0% 0%, 100% 0%, 100% 70%, 0% 70%);
    }
    img.hero-smartken {
        width: 55px;
        right: 24px;
        transform: translateY(-40%) translateX(0);
    }

    .hero-title {
        padding: 1.5rem 0;
    }
    
    .hero-subtitle {
        font-size: 0.8rem;
        margin-bottom:0.5rem;
    }
    .hero-main-title {
        font-size: 1.8rem;
    }
    .hero-main-title .small-text {
        font-size: 1.0rem;
    }
}

@media only screen and (max-width: 380px) {
    img.hero-man {
        display: none;
    }
    img.hero-smartken {
        display: none;
    }
}


/* btn */
.btn_external_row{
    margin-top:1rem;
    margin-bottom:1rem;
}

.btn_external{
    display: block;
    text-align:center;
    padding:12px 24px;
    text-decoration:none;
    border-radius: 8px;
    font-weight:600;
    background-color: #dc3545;
    color: #ffffff;
    border: none;
    transition: all 0.15s ease-in-out;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.2);
}
@media only screen and (max-width: 576px) {
    .btn_external{
        font-size:0.8rem;
        padding:10px 20px;
    }
}

.btn_external:hover{
    background-color: #c82333;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

.btn_external, .btn_external:link, .btn_external:visited{
    text-decoration:none;
    color: #ffffff !important;
}

.btn_external:hover, .btn_external:hover:link, .btn_external:hover:visited{
    color: #ffffff !important;
}



.btn_external_sub{
    display: block;
    text-align:center;
    padding:12px 24px;
    text-decoration:none;
    border-radius: 8px;
    font-weight:500;
    background-color: #f8f9fa;
    color: #495057;
    border: 1px solid #dee2e6;
    transition: all 0.15s ease-in-out;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
@media only screen and (max-width: 576px) {
    .btn_external_sub{
        font-size:0.8rem;
        padding:10px 20px;
    }
}

.btn_external_sub:hover{
    background-color: #e9ecef;
    color: #212529;
    border-color: #adb5bd;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.btn_external_sub, .btn_external_sub:link, .btn_external_sub:visited{
    text-decoration:none;
    color: #495057 !important;
}

.btn_external_sub:hover, .btn_external_sub:hover:link, .btn_external_sub:hover:visited{
    color: #212529 !important;
}



/*
 * shopinfo table
 */
.shopinfo table{
    width:100%;
}
.shopinfo th{
    background-color:#eee;
    text-align:center;
    white-space: nowrap;
}
.shopinfo td, .shopinfo th{
    border:solid 1px #ddd;
    padding:10px 15px;
}

.shopinfo .star-rate-icon{
    font-size:17px;
    color:#ffa500;
}
.shopinfo .star-rate{
    font-size:17px;
    color:#f00;
    font-weight:bold;
}
.shopinfo .review-cnt{
    color:#444;
}
.shopinfo .rate{
    font-size:1.1rem;
    font-weight:bold;
    color:#f00;
}
.shopinfo .cards{
}
.shopinfo .cards span{
    font-size:0.75rem;
    font-weight:normal;
    padding:5px;
    line-height:1rem;
    margin-right:5px;
    border:1px solid #ccc;
    color:#ccc;
}
.shopinfo .cards span.active{
    background-color:#666;
    font-weight:normal;
    color:#ffffff;
    border:0px solid #ccc;
}
.shopinfo .taiou{
    display:flex;
    flex-wrap:wrap;
}
.shopinfo .taiou span{
    font-size:0.8rem;
    color:#444;
    padding:0px 3px;
    font-weight:normal;
}
.shopinfo .taiou span:after{
    content:",";
}

/*
 * related-article
 */
.related-article {
    position: relative;
    margin: 3.2rem 0 1.6rem 0;
    padding: 5px 0;
    border: 2px solid #eee;
}
.related-article br{
    display: none;
}
.related-article a{
    display: block;
    padding:5px 10px;
    background-color:#fff;
}
.related-article a:hover{
    background-color:#fff8e1;
}
.related-article::before {
    position: absolute;
    bottom: 100%;
    left: -2px;
    padding: 0px 12px;
    content: "関連記事";
    background-color: #eee;
    color: #444;
    font-weight: normal;
    font-size:80%;
    border: 0px dashed #cfd8dc;
}

.wpcf7 input,
.wpcf7 textarea
{
    max-width:400px;
    width:100%;
    font-size:1.2rem;
    border:1px solid #ccc;
    border-radius: 3px;
}
.wpcf7 input[type=text]{
}
.wpcf7 input[type=email]{
}
.wpcf7 textarea{
}
.wpcf7 input[type=submit]{
    font-size:1rem;
    padding:10px;
    line-height:1;
    background-color:#fff;
    border-radius:3px;
    border:1px solid #444;
}
.wpcf7 input[type=submit]:hover{
    background-color:#f1f1f1;
}


.relation{
    background-color:#fff;
}
.relation .flex{
    display: flex;
}
.relation .item{
    border-bottom:1px #eee solid;
    border-right:1px #eee solid;
    border-left:1px #eee solid;
}
.relation .item:first-child{
    border-top:1px #eee solid;
}
.relation .item a{
    /*display:block;*/
    text-decoration:none;
    color:#444;
    padding:10px 5px;
}
.relation .item a:hover{
    background-color:#eee;
}
.relation .title{
    color:#666;
    font-size:16px;
    line-height:140%;
    font-weight:bold;

    height:40px;
    display: flex;
    align-items: center;

}
.relation .img{
    margin-right:10px;
}
.relation .img img{
    border:1px #ddd solid;
    max-width:40px;
    max-height:40px;
    width:40px !important;
    height:40px !important;
}
.relation .allow{
    flex:1;
    height:40px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right:3px;
    color:#999;
}

@media screen and (max-width: 768px){
    .relation .title{
        font-size:14px;
        height:60px;
    }
    .relation .img img{
        max-width:60px;
        max-height:60px;
        width:60px !important;
        height:60px !important;
    }
    .relation .allow{
        height:60px;
    }
}

.sidebar-bottom{
    width:100%;
}

.sticky{
    position: sticky;
    top: 0px;
}
@media screen and (max-width: 992px){
    .sticky{
        position: static;
        top: 0px;
        width:100%;
    }
}


/*
 * insert_contact
 */
.post .contact form div {
    margin-top:20px;
}
.post .contact form label {
    font-size:0.9rem;
}

.post .contact form label{
    display: block;
    margin-bottom:5px;
    font-size:0.9rem;
    color:#444;
}

.post input, .post textarea{
    width:100%;
    padding:10px;
    border-radius:3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border:1px solid #ccc;
    box-sizing:border-box;
}
/*labelのspanは小さいテキストで表示*/
.post .contact form label span {
    margin-left:3px;
    font-size:0.7rem;
    color:#999;
}
.post .contact form #body {
}
.post .contact form #result{
    border:1px solid #888;
    background-color:#fafafa;
    border-radius: 5px;
    padding:10px;
    /*js側でshow()で表示させるまでは非表示*/
    display:none;
}
.post .contact form #result p {
    font-size:0.8rem;
    margin:0;
    padding:0;
}
.post .contact form .submit{
    width:100%;
    border-radius:3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    background:#f3f3f3;
    color:#000;
    border:1px solid #ccc;
    margin:0 auto;
    padding:10px;
    display:block;
    box-sizing:border-box;
}
