/*
Theme Name: astra_child
Template: astra
*/

/* =========================================================
   改行制御
========================================================= */
.br-pc {
    display: block;
}
.br-sp {
    display: none;
}
.br-none br {
    display: none;
}

/* =========================================================
   ヘッダー・ナビゲーション（Home）
========================================================= */
.elementor-element-5b70bbb {
    background-color: #000 !important;
}

.home #quadmenu .quadmenu-navbar-nav .quadmenu-item > a .quadmenu-text {
    color: #fff !important;
}

.home #quadmenu .quadmenu-navbar-nav .quadmenu-item > a:hover .quadmenu-text {
    color: #3a3a3a !important;
}

.home #quadmenu .quadmenu-navbar-toggle .icon-bar {
    background-color: #fff !important;
}

/* =========================================================
   Three.js 表示エリア
========================================================= */
#my-three-scene {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#my-three-scene canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100% !important;
    height: 100% !important;
}

/* =========================================================
   パンくずリスト
========================================================= */
.breadcrumbs,
.breadcrumbs a {
    color: #3a3a3a;
    font-size: 14px;
    font-family: "Noto Sans JP";
}

.breadcrumbs a:hover {
    color: #1967D2;
}

/* =========================================================
   記事共通スタイル
========================================================= */
.single-kakomi {
    position: relative;
    padding: 1em;
    border: 1px solid #e6e6e6;
}

.single-products .single-kakomi {
    padding: 0 !important;
    border: none !important;
}

/* カテゴリラベル */
.ast-taxonomy-container li,
.single-cat li {
    position: absolute;
    top: 0;
    right: 0;
    list-style: none !important;
    background-color: #B8EFE4;
}

.ast-taxonomy-container a,
.single-cat a {
    display: block;
    padding: 0.5em 1em !important;
    font-size: 14px;
    color: #3a3a3a;
}

/* メタ情報 */
.published {
    color: #8a8a8a !important;
    font-family: "Noto Sans JP";
    font-weight: 400 !important;
}

.wp-show-posts-terms {
    font-family: "Noto Sans JP";
}

.entry-meta {
    margin: -5px 0 2em;
}

/* タイトル */
.ast-single-post .entry-title {
    display: block !important;
}

.entry-title {
    margin-top: 10px;
    font-size: 21px !important;
    line-height: 1.5 !important;
}

/* =========================================================
   WP Show Posts：一覧デザイン
========================================================= */

/* 1. 記事1行を全幅表示 */
.wp-show-posts-single {
    position: relative;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 2em 0 !important;
    float: none !important;
    display: block !important;
    border-bottom: 1px solid #aaa !important;
}

/* 2. ヘッダー（日付・カテゴリ・タイトル） */
.wp-show-posts-entry-header {
    display: flex !important;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: center;
    width: 100% !important;
}

/* 3. タイトル */
.wp-show-posts-entry-title {
    flex: 1;
    margin-left: 1em !important;
    font-size: 15px;
    text-align: left;
}

.wp-show-posts-entry-title a {
    color: #3a3a3a;
}

/* 4. 記事全体リンク化 */
.wp-show-posts-entry-title a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* 5. 日付・カテゴリ */
.wp-show-posts-entry-date,
.wp-show-posts-terms {
    margin-left: 1em;
    white-space: nowrap;
}

/* カテゴリタグ */
.wp-show-posts-terms {
    position: relative;
    z-index: 2;
    padding: 2px 10px;
    font-size: 12px;
    border-radius: 30px;
    background-color: #716040;
    border: 1px solid #716040;
}

.wp-show-posts-terms a {
    color: #fff !important;
}

/* ホバー */
.wp-show-posts-single:hover {
    background-color: #F8F8F3;
}



/* =========================================================
   レスポンシブ
========================================================= */
@media screen and (max-width: 980px) {
    .br-pc {
        display: none;
    }
    .br-sp {
        display: block;
    }

    .home #quadmenu .quadmenu-navbar-nav .quadmenu-item > a .quadmenu-text {
        color: #3a3a3a !important;
    }
}
