@charset "UTF-8";

/*子テーマ用「base.css」*/

.article_wrap pre {
    background: #f8f8f8;
    border: 1px solid #ddd;
    padding: 10px;
}

.article-body blockquote p:last-child {
    margin-bottom: 0;
}

/*
# =================================================================
# レイアウト
# =================================================================
*/
/*サイトのロゴ*/
.site-title > a{
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.site-title a:hover,
.site-title a:active,
.site-title a:focus{
    letter-spacing: 5px;
}

@media (min-width : 768px){
    .keni-header_wrap {
        height: 379px;
    }
    .home .keni-header_wrap {
        height: auto;
    }
    /*2カラムの設定*/
    .col2 .keni-main{
        float: left;
        width: 100%;
        margin-right: -360px;
        padding-right: 360px;
    }

    .col2 .keni-sub{
        float: right;
        width: 360px; /*サイドバーの幅*/
    }

    .col2 .keni-main .sns-btn_wrap > div {
        height: 34px;
    }
}

/*
# 記事一覧
*/

/*記事一覧の基本設定*/
.entry-list .entry_thumb a img {
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}

.entry-list .entry_thumb a:hover img {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}


.related-entry-list_style01 .related-entry_thumb,
.widget_recent_entries_img .list_widget_recent_entries_img .widget_recent_entries_thumb {
    width: 160px;
}

/* キャプション */
.wp-caption{
    border: 1px solid #ccc;
    padding: 10px 10px 5px;
}

.wp-caption-text {
    font-size: 1.4rem;
    padding-top: 5px;
    text-align: center;
}

/* content p */
.article-body p {
    overflow: auto;
    max-width: 100%;
}
/*----------------------------------------------------
 オリジナル
----------------------------------------------------*/
/* google adsense */
.article-bottom-ga {
    margin: 0 10px 40px;
}

@media screen and (max-width: 768px) {
    .article-bottom-ga-main {
        padding: 0 30px;
    }
}

/* copy pre */
.copy-pre {
    cursor: pointer;
}

.copy-pre small {
    display: inline-block;
    font-size: 0.8em;
    line-height: 1.2;
    padding-top: 5px;
}

kbd {
    background: #333;
    border-radius: 4px;
    border-top: 1px solid #333;
    box-shadow: 0 0 25px #444 inset, 0 1px 0 #000000, 0 2px 0 #333, 0 2px 3px #444;
    color: #fefefe;
    display: inline-block;
    font-weight: bold;
    height: 40px;
    line-height: 40px;
    margin: 0 10px;
    min-width: 40px;
    padding: 0 10px;
    text-align: center;
    text-shadow: 0 -1px 0 #000000;
}

kbd.kbd-s {
    height: 20px;
    line-height: 18px;
    padding-top: 1px;
}

@font-face {
    font-family: "Open Sans Regular";
    font-weight: 400;
    font-style: normal;
    src: url("fonts/OpenSans-Regular-BasicLatin.woff2") format("woff2");
    font-display: swap;
}

/* table */
.keni-main thead th {
    border-right: 1px solid #ddd;
}

.keni-main thead th:last-child {
    border-right: 0;
}

.keni-main thead th {
    background-color: #0569AB;
}

.keni-main tbody th {
    background-color: rgba(5, 105, 171, .7);
    color: #fff;
    font-weight: normal;
}

/*----------------------------------------------------
    form
----------------------------------------------------*/
.form {
    padding: 30px 10px;
}

.form-text p {
    padding-top: 20px;
}

.form-text p:first-child {
    padding-top: 0;
}

.article-body .form-item {
    margin-bottom: 5px;
}

.form-hissu .form-item::after {
    color: #c00;
    content: '*';
    display: inline-block;
    margin-left: 5px;
}

.form-hissu2 {
    color: #c00;
}

.form-input input {
    padding-left: 5px;
    padding-right: 5px;
    width: 100%;
}

.form-input textarea {
    padding-left: 5px;
    padding-right: 5px;
    width: 100%;
}

.form-submit {
    text-align: center;
}

.form-submit input,
.form-submit button {
    background: #333;
    border: 0;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    outline: 0;
    margin: 0 10px;
    padding: 10px 20px;
}

/*----------------------------------------------------
    footer-nav
----------------------------------------------------*/
.footer-nav li {
    display: block;
    padding: 0 10px 10px;
}

@media (min-width : 768px){
    .footer-nav {
        text-align: center;
    }

    .footer-nav li {
        display: inline-block;
        padding: 0 10px;
    }
}

/*----------------------------------------------------
 文中アドセンス
----------------------------------------------------*/
.google-auto-placed {
    background: #eee;
    margin-bottom: 3rem !important;
    padding: .5rem !important;
}

/*----------------------------------------------------
テーブルの文字列を折り畳まない
----------------------------------------------------*/
@media (max-width: 768px) {
    /*スマホ用テーブルスクロール*/
    .table-scroll::before {
        content: "表は横にスクロールできます";
    }
}

@media (min-width: 768px) {
    .table-scroll table {
        width: 99%;
    }
}

/*----------------------------------------------------
 table-style
----------------------------------------------------*/
/* style1 */
.table-style1 thead th {
    text-align: center;
}

.table-style1 tbody th {
    text-align: left;
}

.table-style1 tbody td {
    text-align: center;
}

/* style2 */
.table-style1 thead th {
    text-align: center;
}

.table-style1 tbody th,
.table-style1 tbody td {
    text-align: left;
}

/*----------------------------------------------------
 icon
----------------------------------------------------*/
.dashicons-admin-page {
    position: relative;
    top: 6px;
}

/*----------------------------------------------------
 comment
----------------------------------------------------*/
.article-visual {
    border: 1px solid #ddd;
}

.entry-list_style01 .entry_thumb {
    border: 1px solid #ddd;
}

/*----------------------------------------------------
 widget
----------------------------------------------------*/
@media (min-width: 768px) {
    #custom_html-7 {
        display: none;
    }
    /* twitter */
    .tw-timeline {
        min-height: 390px;
    }
    /* pv */
    .widget_keni_pv  {
        margin-bottom: 0;
        min-height: 1200px;
    }
    /* ad */
    .widget-ad ins {
        min-height: 620px;
    }
    #custom_html-3,
    #custom_html-6 {
        min-height: 620px;
    }
}

/*----------------------------------------------------
 ad
----------------------------------------------------*/
@media (min-width: 768px) {
    .ad-header {
        height: 300px;
    }
}

.ad-each {
    margin-bottom: 2rem;
}

@media (min-width : 768px){
    .ad {
        display: flex;
    }

    .ad-each {
        padding: 0 1rem;
        width: 50%;
    }
}

