/*
Theme Name: repros-blog
*/
@import url('./style-base.css');

*:focus {
    outline: 1px solid;
}
.navbar-toggler.x:focus,
button:focus {
    border: 1px solid;
    outline: 2px dotted #000;
}
button:focus:not(:focus-visible) {
    outline: 2px dotted #000;
}
p a {
    text-decoration: underline;
}
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    font-family: 'Roboto', sans-serif;
}
.site-title {
    font-family: 'Roboto', sans-serif;
}
.navbar-wp .navbar-nav > li> a {
    font-family: 'Roboto', sans-serif;
}
body {
    font-family: 'Roboto', sans-serif;
}
footer .site-branding-text .site-title-footer a{
    font-family: 'Roboto', sans-serif;
}

.article_content a, .bs-blog-post single a, .entry-content a,
.comment-body a, .textwidget a, .content-area a {
    text-decoration: underline;
}

/* -------bs-head three---- */
.bs-headthree .bs-header-main{
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	background-attachment: scroll;
}
.bs-headthree .bs-header-main .inner{
	display: flex;
	padding: 15px 0;
	margin: 0;
	height: auto;
    min-height: 150px;
	align-items: center;
	text-align: center;
}
.bs-headthree .navbar-brand {
	margin-right: unset;
}
.bs-menu-full {
	position: relative;
}
.bs-headthree .navbar-brand .custom-logo{
    object-fit: cover;
    max-width: 100%;
    height: auto;
}
/* header Six */
.bs-headthree.six{
    margin-bottom: 50px;
}
.bs-headthree.six .bs-social {
	padding: 0;
	flex-wrap: wrap;
	justify-content: flex-end;
}
.bs-headthree.six .navbar-wp {
    margin: 0;
    z-index: 999;
    transition: all 1s ease-out;
	padding: 0;
	height: auto;
	min-height: 58px;
	border-radius: 0;
	margin-bottom: 30px;
    border: 1px solid;
}
.bs-headthree.six .navbar-wp .navbar-nav > li> a {
    padding: 0px;
}
.right-nav a{
    box-shadow: none;
}
.bs-blog-post .bs-blog-thumb .bs-blog-category{
    margin-left: 0px;
    margin-right: 0px;
    position: absolute;
    top: 20px;
    right: 20px;
    left: 20px;
}
.bs-blog-post .small{
    padding: 0;
}
.bs-blog-post{
    box-shadow: none;
}
.bs-blog-post:hover{
    box-shadow: none;
}
.bs-blog-meta .bs-author .auth img{
    box-shadow: none;
}
.desk-header{
    padding: 0;
}
.site-branding-text .site-title{
    font-size: inherit;
}
.site-branding-text .site-title a{
    font-size: 60px;
}
.bs-masonry-columns.c2 {
    column-gap: 1.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.bs-blog-post .bs-blog-meta a{
    font-weight: 500;
}
.bs-masonry-columns.c3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-column-gap: 2rem;
    padding: 0;
}
.bs-blog-thumb.lg{
    height: auto;
}
.bs-blog-post .bs-blog-thumb img{
    min-height: 300px;
    transition: all 0.5s;
}
.bs-blog-post .bs-blog-thumb:hover img{
    transform: scale(1.05);
}
.bs-blog-post.single .bs-blog-thumb:hover img{
    transform: scale(1);
}
.bs-social li a i{
    width: 35px;
    height: 35px;
    font-size: 20px;
}
.right-nav a{
    width: 35px;
    height: 35px;
    font-size: 20px;
}
.menu-link-description {
    font-size: 11px;
    padding: 2px 4px;
    margin: 0 3px;
    line-height: 10px;
    position: absolute;
    border-radius: 1px;
    line-height: normal;
    top: 0;
    margin: 0 3px;
    font-weight: 700;
    display: inline-table;
    word-break: keep-all;
    overflow-wrap: unset;
    width: max-content;
    z-index: 9;
}
.menu-link-description:after {
    position: absolute;
    content: '';
    width: 0;
    height: 0;
    border-left: 0 solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #fff;
    left: 3px;
    bottom: -4px;
}
.bs-info-author-block .bs-author-pic img{
    margin: 0 auto;
}
.switch .slider::before{
    font-size: 20px;
}
.navbar-nav{
    justify-content: flex-start;
    row-gap: 1rem;
    column-gap: 1.5rem;
    padding: 1rem 0;
}
.list-blog.bs-blog-post{
    padding: 0;
    margin-bottom: 0;
}
.blog-post-list{
    display: flex;
    flex-direction: column;
    gap: 70px;
}
.bs-blog-post .bs-header{
    padding: 20px 0;
}
.page-class .bs-card-box.padding-20{
    padding: 0;
    box-shadow: none;
}
img {
    max-width: 100%;
    display: block;
}
figure {
    margin: 0;
    display: grid;
    grid-template-rows: 1fr auto;
    margin-bottom: 10px;
    break-inside: avoid;
}
figure>img {
    grid-row: 1 / -1;
    grid-column: 1;
}
figure a {
    color: black;
    text-decoration: none;
}
/* blogza bg image wrapper */
.blogza-background-wrapper .squares, .blogza-background-wrapper .circles, .blogza-background-wrapper .triangles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}
.squares .square, .circles .circle, .triangles .triangle{
    position: absolute;
    width: 20px;
    height: 20px;
    opacity: 0.1;
    animation: animate 8s linear infinite;
    bottom: -100px;
}
.circles .circle{
    border-radius: 100px !important;
}
.triangles .triangle{
    width: 0;
    height: 0;
    border-bottom-width: 42px;
    border-bottom-style: solid;
    border-left-width: 25px;
    border-left-style: solid;
    border-right-width: 25px;
    border-right-style: solid;
    border-radius: 0 !important;
}
.squares .square:nth-child(1){
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}
.circles .circle:nth-child(1){
    left: 10%;
    width: 22px;
    height: 20px;
    animation-delay: 0s;
}
.triangles .triangle:nth-child(1){
    left: 45%;
    border-right-width: 10px;
    border-left-width: 10px;
    border-bottom-width: 22px;
    animation-delay: 0s;
}
.squares .square:nth-child(2){
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}
.circles .circle:nth-child(2){
    left: 45%;
    width: 84px;
    height: 80px;
    animation-delay: 12s;
}
.triangles .triangle:nth-child(2){
    left: 25%;
    border-right-width: 15px;
    border-left-width: 15px;
    border-bottom-width: 28px;
    animation-delay: 12s;
}
.squares .square:nth-child(3){
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}
.circles .circle:nth-child(3){
    left: 90%;
    width: 53px;
    height: 50px;
    animation-delay: 4s;
}
.triangles .triangle:nth-child(3){
    left: 80%;
    border-right-width: 15px;
    border-left-width: 15px;
    border-bottom-width: 28px;
    animation-delay: 4s;
}
.squares .square:nth-child(4){
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}
.circles .circle:nth-child(4){
    left: 60%;
    width: 53px;
    height: 50px;
    animation-delay: 18s;
}
.triangles .triangle:nth-child(4){
    left: 30%;
    border-right-width: 20px;
    border-left-width: 20px;
    border-bottom-width: 38px;
    animation-delay: 18s;
}
.squares .square:nth-child(5){
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}
.circles .circle:nth-child(5){
    left: 90%;
    width: 43px;
    height: 40px;
    animation-delay: 1s;
}
.triangles .triangle:nth-child(5){
    left: 70%;
    border-right-width: 25px;
    border-left-width: 25px;
    border-bottom-width: 42px;
    animation-delay: 1s;
}
.squares .square:nth-child(6){
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}
.squares .square:nth-child(7){
    left: 35%;
    width: 100px;
    height: 100px;
    animation-delay: 7s;
}
.squares .square:nth-child(8){
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
}
.squares .square:nth-child(9){
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
}
.squares .square:nth-child(10){
    left: 85%;
    width: 100px;
    height: 100px;
    animation-delay: 0s;
    animation-duration: 11s;
}
@keyframes animate {

    0%{
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }

    100%{
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }
}
@media (max-width: 991.98px) {
    .bs-masonry-columns.c3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media screen and (max-width: 991px){
    .bs-headthree .navbar-brand .custom-logo {
        width: 200px;
        height: auto;
    }
    .bs-headthree.six .navbar-wp .navbar-nav > li> a{
        padding: 13px 8px;
    }
    .navbar-nav{
        gap: 0;
        padding: 0;
    }
}
@media screen and (max-width: 767px){
    .bs-latest-heading span{
        display:none;
    }
    .bs-headthree .navbar-brand .custom-logo {
        width: 120px;
        height: auto;
    }
    .bs-masonry-columns.c3 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .bs-masonry-columns.c2 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .bs-blog-post .bs-blog-meta {
        justify-content: start;
    }
}

/* ここから独自指定のstyle */

.bs-blog-post .bs-blog-thumb img {
    min-height: 0;
}

#ez-toc-container {
    margin-top: 16px;
}

/* フッター */
footer {
    .site-branding-text {
        .site-title-footer {
            text-align: left;
            line-height: 1.6;
            a {
                color: #333 !important;
                font-size: 16px;
            }
        }
    }
    .bs-footer-bottom-area {
        padding-bottom: 0;
        .container {
            padding: 0 16px;
        }
        div.row {
            flex-direction: column;
            align-items: flex-start !important;
        }
    }
    div.overlay {
        background-color: #fff;
    }
    div.bs-footer-copyright {
        background-color: #00298A;
        font-size: 14px;
        p {
            color: #fff;
            a {
                color: #fff;
            }
            a:hover {
                color: inherit !important;
                text-decoration: underline;
            }
            a:visited {
                color: inherit;
            }
        }
    }
    .footer-logo {
        padding-top: 0;
        padding-bottom: 0;
        align-items: flex-start;
        img {
            margin-left: -15px;
        }
    }
    p.site-description-footer {
        font-size: 12px;
        font-weight: normal;
        margin-bottom: 0;
        color: #333;
    }
    .site-logo {
        display: inline-block;
    }
    .navbar-brand {
        display: inline-block;
        padding: 0;
        margin-right: 0;
    }
    .bs-social {
        display: block;
        margin-top: 20px;
        margin-bottom: 12px;
        li {
            margin-bottom: 0;
            a i.fab.fa-instagram {
                color: #333 !important;
                width: 48px;
                height: 48px;
                font-size: 32px;
            }
        }
    }
    .footer-social {
        margin-left: -12px;
    }
}

/* ヘッダー */

header.bs-headthree.six {
    background: #fff;
    border-bottom: 1px solid #DDDDDD;
    margin-bottom: 0;
    .inner .container {
        padding: 0;
    }
    .navbar-header {
        padding: 0;
    }
    .site-branding-text {
        margin-top: 12px;
    }
    .site-logo {
        display: flex;
        align-items: center;
        margin-right: 20px;
    }
    .navbar-brand .custom-logo {
        width: 200px;
    }
    .bs-header-main .inner {
        min-height: 80px;
        padding: 0;
    }
    .navbar-wp {
        border: none;
        margin: 0;
    }
    ul.navbar-nav {
        li.nav-item {
            background-color: #fff;
            a:hover {
                color: inherit;
                text-decoration: underline;
            }
            a:visited {
                color: inherit;
            }
        }
    }
}

/* 記事 */


main#content {
    .col-lg-9 {
        padding-left: 0;
        padding-right: 0;
    }
}

.bs-blog-post.single {
    background: #fff;
    padding-left: 16px;
    padding-right: 16px;
    > article.small.single > * {
        margin-top: 16px;
    }
    h1 {
        color: #24285B;
        padding-top: 60px;
        margin-bottom: 0;
    }
    h2 {
        padding-top: 60px;
        padding-bottom: 8px;
        border-bottom: solid 3px #24285B;
        color: #24285B;
        margin-bottom: 0;
    }
    h3 {
        padding-top: 36px;
        padding-bottom: 4px;
        border-bottom: solid 2px #24285B;
        color: #24285B;
        margin-bottom: 0;
    }
    h4 {
        margin-top: 28px;
        padding-left: 15px;
        margin-bottom: 0;
        border-left: #24285B solid 4px;
        color: #333;
    }
    h5 {
        margin-top: 24px;
        margin-bottom: 0;
        color: #333;
    }
    p {
        margin-bottom: 0;
        color: #333;
    }
    .bs-blog-category {
        margin-left: 0;
        margin-right: 0;
        gap: 4px;
        margin-bottom: 0;
        a.blogus-categories {
            padding: 8px 12px;
            color: #777;
            border: solid #E0E0E0 1px;
            border-radius: 40px;
            margin: 0;
            font-size: 12px;
        }
    }
    .bs-blog-category + h1.title {
        padding-top: 8px;
        a {
            color: #24285B;
        }
        a:hover {
            color: inherit;
            text-decoration: underline;
        }
        a:visited {
            color: inherit;
        }
    }
    a {
        color: #4257D7;
    }
    .post-share-icons a {
        color: #fff;
    }
    .bs-header {
        .bs-info-author-block {
            margin-top: 8px;
        }
        .bs-blog-meta a {
            color: #333;
        }
    }
    pre {
        padding-top: 0;
        padding-bottom: 28px;
        margin-bottom: 0
    }
}

main.single-class {
    .bs-breadcrumb-section {
        margin: 0;
        padding: 0;
        div.overlay {
            background-color: #F5F5F5;
            box-shadow: none;
            padding: 0;
            .container {
                padding: 0;
            }
        }
        nav {
            padding-top: 16px;
            padding-bottom: 16px;
        }
        ol.breadcrumb {
            overflow-x: scroll;
        }

        ul.breadcrumb {
            flex-wrap: nowrap;
            width: max-content;
            margin-right: 16px;
            margin-left: 16px;
        }
    }
}

div.bs-info-author-block {
    .flex-grow-1 {
        a:hover {
            color: inherit;
            text-decoration: underline;
        }
        a:visited {
            color: inherit;
        }
    }
}

/* サイドバー */

aside.col-lg-3 {
    padding: 0;
}

.bs-sidebar .bs-widget {
    padding: 16px 16px 32px;
}

.widget_block h2:before,
.bs-widget-title .title:before,
.wp-block-search__label:before,
.widget_block .wp-block-search__button {
    background: #24285B !important;
}

.widget_block div.wp-block-group__inner-container ul li {
    a:hover {
        color: inherit;
        text-decoration: underline;
    }
    a:visited {
        color: inherit;
    }
}

/* カテゴリ記事一覧 */

div.bs-card-box.page-entry-title {
    margin-top: 50px;
}

/* home */

main.index-class {
    margin-top: 50px;
}

/* 記事一覧ページ */

.bs-blog-post {
    h4.title, div.bs-blog-meta {
        a:hover {
            color: inherit;
            text-decoration: underline;
        }
        a:visited {
            color: inherit;
        }
    }
    div.bs-blog-category a:hover {
        background-color: #ddd;
        color: #333;
    }
}

/* ctaボタン */

.buttonWrap {
    margin-top: 32px;
    margin-bottom: 40px;
    text-align: center;
}

.buttonM--accent {
    padding: 16px 20px;
    background-color: #D46000;
    color: #fff !important;
    font-weight: bold;
    border-radius: 40px;
    display: inline-block;
    font-size: 20px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    position: relative;
    display: flex;
    justify-content: center;
    text-decoration: none !important;
    margin-right: auto;
    margin-left: auto;
}

.buttonM--accent:before {
    content: '';
    width: 21px;
    height: 21px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 0;
    right: 20px;
    bottom: 0;
    margin: auto;
}

.buttonM--accent:after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 0 6px 8px;
    border-color: transparent transparent transparent #D46000;
    position: absolute;
    top: 0;
    right: 25px;
    bottom: 0;
    margin: auto;
}

.buttonM--accent:hover {
    color: #fff;
    background-color: #BD5500;
}

/* table */

.articleTable {
    margin-top: 16px;
    width: 100%;
    overflow-x: scroll;
}

.articleTable table {
    font-size: 14px;
    min-width: 100%;
    width: max-content;
}

.articleTable thead {
    background-color: #F5F5F5;
}

.articleTable th, .articleTable td {
    padding: 20px 16px;
}

.articleTable th {
    font-weight: bold;
}

.articleTable td {
    color: #333;
    background-color: #fff;
}

.articleTableText__positive {
    font-weight: bold;
    color: #40A800;
}

.articleTableText__negative {
    font-weight: bold;
    color: #E90F0F;
}

/* ランキング順位 */

.rankingLabel {
    position: relative;
    display: inline-block;
    padding: 2px 14px 2px 16px;
    background-color: #24285B;
    color: #FFF652 !important;
    font-size: 26px;
    font-weight: bold;
    text-align: center;
    height: 48px;
}

.rankingLabel span {
    font-size: 20px;
}

.rankingLabel::after{
    position: absolute;
    top: 0;
    right: -8px;
    width: 0px;
    height: 0px;
    border-color: #24285B transparent;
    border-width: 24px 8px 24px 0px;
    border-style: solid;
    content: '';
}

/* 黄色マーカー */

.maker--yellow {
    background: linear-gradient(transparent 50%, #FFF652 50%);
}
