@charset "UTF-8";
/*
 Theme Name: SANGO Child
 Theme URI: https://saruwakakun.design
 Author: SARUWAKA
 Author URI: https://saruwakakun.com
 Template: sango-theme
 Version: 4.0
*/
/*こちらはSANGOの子テーマ用CSSです。以下にCSSを記入していきましょう。*/
@media only screen and (min-width: 769px) {
    #main {
        width: 100%;
    }
}

@media (min-width:1280px){
    .wrap,.maximg,.single #inner-content,.page #inner-content,.inner-footer {
        width: 1280px;
    }
}
@media only screen and (min-width: 769px) {
    .single #content {
        margin-top: 0;
    }
}
@media only screen and (min-width: 769px) {
    .archive #content {
        margin-top: 0;
    }
}
.category_wrapper {
    background: #009eb6;
    color: white;
    font-weight: bold !important;
    font-size: 2.3em;
    text-align: center;
    padding: 20px;
    margin-bottom: 30px;
}
.archive_category_title {
    background: #009eb6;
    color: white;
    font-weight: bold !important;
    font-size: 1.8em;
    text-align: center;
    padding: 20px;
    margin-bottom: 20px;
}

.archive_category_wrapper {
    margin-bottom: 50px;
}

.archive_category_wrapper .cat_list a,
.archive_category_wrapper .cat_list a {
    display: inline-block;
    color: #fff;
    background: var(--wp--preset--color--sango-main,#6bb6ff);
    border-radius: 4px;
    font-size: 0.9em;
    line-height: 1;
    margin: 0 5px 5px;
    padding: 0.5em 0.8em;
    text-decoration: none;
	transition: all .5s ease-in-out;
}

.archive_category_wrapper .cat_list a:hover,
.archive_category_wrapper .cat_list a:hover {
	box-shadow: 1px 1px 12px rgba(0,0,0,.65);
}

.archive_category_wrapper .cat_list,
.archive_category_wrapper .cat_list {
	padding: 0;
	margin: 0;
	border: none;
}

.archive_category_wrapper .cat_list li,
.archive_category_wrapper .cat_list li {
	display: inline-block;
}
.archive_category_wrapper .cat_list .cat-item-7 {
	display: none !important;
}
.archive_category_wrapper .cat_list .cat-item-6 {
	display: none !important;
}
.archive_category_wrapper .cat_list .cat-item-12 a {
    background-color: #55295b;
}

.archive_category_wrapper .cat_list .cat-item-13 a {
    background-color: #00552e;
}

.archive_category_wrapper .cat_list .cat-item-10 a {
    background-color: #ec6d51;
}

.archive_category_wrapper .cat_list .cat-item-9 a {
    background-color: #d9a62e;
}

.archive_category_wrapper .cat_list .cat-item-8 a {
    background-color: #19448e;
}

.archive_category_wrapper .cat_list .cat-item-11 a {
    background-color: #2e2930;
}
.archive_category_wrapper .cat_list {
	text-align: center;
}

#sidebar1 {
    margin-top: 25px;
}
.post, .sidebar .widget {
    border-style: none !important;
}
.normal-sidebar .widget {
    box-shadow: none;
}
#entry {
    box-shadow: none;
}
#breadcrumb {
    background: #fff;
}
#breadcrumb li:after {
    display: none;
}
.fa5 #breadcrumb li:first-child a:before {
    display: none;
}
#breadcrumb li {
    border: 1px solid #4f96f6;
    padding: 8px;
    margin-right: 10px;
    border-radius: 10px;
}
#breadcrumb li:hover {
    transition: 1s;
    background-color: #4f96f6;
    color: #fff;
}
#breadcrumb li a {
    padding: 8px;
}
#breadcrumb li a:hover {
    color: #fff;
}

.bread_entry-meta_wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
}

.entry-meta {
    margin-top: 0px;
}
.cat-name {
    top: 7px;
    left: 7px;
}
.catid12 {
    background-color: #55295b;
}
.catid13 {
    background-color: #00552e;
}
.catid10 {
    background-color: #ec6d51;
}
.catid11 {
    background-color: #2e2930;
}
.catid9 {
    background-color: #d9a62e;
}
.catid8 {
    background-color: #19448e;
}
.custom_cat_list {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.custom_cat_list > span {
    margin: auto 0;
}
.online_page_wrapper {
    margin: 100px auto;
    text-align: center;
}

.tobiiri_button {
    border-radius: 30px !important;
    width: 230px;
    background-color: #009eb6 !important;
}

.tobiiri_button:hover {
    text-decoration: none !important;
    box-shadow: 0 13px 20px -3px rgba(0,0,0,.24);
}

.tobiiri_head {
    font-size: 1.8em;
}

.tobiiri_ng_span {
    font-size: 0.6em;
}

.online_page_wrapper .is-style-sango-paragraph-exclamation-alt:before,.online_page_wrapper .is-style-sango-paragraph-callout:before {
    left: 8em;
}

.entry-title {
    font-size: 30px;
    letter-spacing: 0.5px;
}

.entry-content > p {
    font-size: 17px;
    letter-spacing: 0.3px;
}

.single #inner-content {
    width: 700px;
    margin: 0 auto;
}

@media screen and (max-width: 768px) {
    #breadcrumb li {
        padding: 4px;
    }
    #breadcrumb li a {
        padding: 4px;
        font-size: 1em;
    }
    .custom_cat_list {
        display: flex;
        justify-content: center;
        gap: 10px;
        flex-wrap: wrap;
        margin-top: 20px;
    }
    
    .custom_cat_list {
        font-size: 11px !important;
    }
    
    .custom_cat_list ul {
        margin-top: 0px;
    }
    
    .custom_cat_list a {
        padding: 7px 10px !important;
        margin: 0 3px 5px !important;
    }
    
    .cat_list_custom .c_linkto_text, .cat_list_custom .c_linkto_text h2 {
        font-size: 14px !important;
    }
    .cat_list_custom .sng-link-time {
        font-size: 12px !important;
    }
    .article-header .entry-title {
        font-size: 24px !important;
    }
    .category_wrapper > p {
        margin: 10px auto;
    }
    .entry-content > p {
        font-size: 16px;
    }
    .online_page_wrapper {
        margin: 50px auto;
    }
    .tobiiri_head {
        font-size: 1em;
        margin-left: 10px;
        margin-right: 10px;
    }   
    .tobiiri_ng_span {
        font-size: 0.8em;
    }
    .online_page_wrapper .is-style-sango-paragraph-exclamation-alt:before,.online_page_wrapper .is-style-sango-paragraph-callout:before {
        left: 1em;
    }
    .cat-name {
        font-size: 10px;
        height: 20px;
        line-height: 20px;
        padding: 0 7px;
    }
    .single #inner-content {
        width: 100%;
    }
}

/* ===== カテゴリー別投稿一覧 共通スタイル（下層固定ページ用） ===== */

/* 告知列：テキストリスト（sgb/posts layout=card2 に追加CSSクラス p-catlist--text を付与） */
.p-catlist--text .longc_img { display: none; }
.p-catlist--text .c_linkto { box-shadow: none; border-bottom: 1px solid #c8c8c8; margin: 0; border-radius: 0; }
.p-catlist--text .c_linkto:hover { background-color: rgba(200,200,200,.2); }
.p-catlist--text .c_linkto:first-child { border-top: 1px solid #c8c8c8; }

/* レポート列（card3=.sidelong）は SANGO 標準スタイルを流用。調整が必要な時だけ p-catlist--thumb で上書き */

/* 記事0件メッセージ */
.p-catlist__empty { color: #888; padding: 1.2em 0; margin: 0; font-size: .95em; }

/* ===== slickスライダー内タイトル: 3行で省略（三点リーダー） ===== */
.js-sng-post-slider .rep p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}