/*
Theme Name: Lightning Child
Theme URI: 
Template: lightning
Description: 
Author: KZ laboratory
Tags: 
Version: 0.6.0
*/

/**** Header *****/
/* ヘッダー透過処理　※importantを削除すると、初期表示のみ透過になる。スクロール時の背景色は白 */
header.site-header {
    background-color: rgba(255,255,255,0.25)!important;
}


/* ヘッダー角丸処理　※スクロール時に右側がオーバーフローする未解決 */
/*
header.site-header {
    border-radius: 20px 20px 20px 20px / 20px 20px 20px 20px;
    background-color: aqua!important;
}
*/


/* TOPページスライドショー内テキストを縦書きにする　スマホ除外 */

@media (min-width: 576px) { 
    .mini-content-container-1.container {
        -ms-writing-mode: tb-rl!important;
        writing-mode: vertical-rl!important;
        letter-spacing: .3rem!important;
    }
 }
/*
.ltg-slide-text-set.mini-content {
    background-color: rgba(255,255,255,0.25)!important;
}
*/

.mini-content-container-1.container {
    -ms-writing-mode: tb-rl!important;
    writing-mode: vertical-rl!important;
    letter-spacing: .3rem!important;
}




/**** Footer *****/
/* フッターエリアの背景色を白から任意の色に変更する */
footer.site-footer {
    /* プライマリーカラーと同一にする場合 */
    /*
    background-color: var(--vk-color-primary);
    */
    /* カスタムカラー1と同一にする場合 */
    background-color: var(--vk-color-custom-1);
 
    /* 任意の色に変更する場合 */
    /*
    background-color:  #dbcdb6!important;
    */
    color: #fff!important;
}

/* PAGE TOPへボタン */
/* 四角を丸くする */
#page_top.page_top_btn {
    border-radius:50%;
    background-color: var(--vk-color-primary);
    box-shadow: none;
    /* ボタンの中の画像を変更する場合 */
	/*
    background-image: url("/wp/wp-content/uploads/2024/08/c10ca340e0f566d3e0727d36146b5d2e.png");
	*/
}


/* オンマウスで一回り大きく表示 */
#page_top.page_top_btn:hover {
    transform: scale(1.1, 1.1);
}


/* 電話リンク(スマートフォン・タブレットのみ)横幅が751px以内で、電話番号リンクが有効 */
@media (min-width: 751px) {
    a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
    }
}


/* H2,H3,H4を明朝体にする */
.entry-body h2,
.entry-body h3,
.entry-body h4,
.page-header-title /* 下位階層ページ見出し */,
.entry-header h1 /* 下位階層H1 */ {
    font-family: 'Noto Serif JP', serif!important;
}



/***** TOPPAGE *****/

/* カスタマイズ→Lightningトップページスライドショー機能 */
/* ページネーション非表示 */
.ltg-slide-button-next,
.ltg-slide-button-prev,
.swiper-pagination {
    display: none;
}

/* ヘッダーを透過にして、スライダーをメニューと重ねる位置調整 */
/*
.lightning_swiper {
    margin-top: -100px;
}

.swiper-container .swiper-slide h3.ltg-slide-text-title {
    margin-top: 3em!important;
    margin-bottom: 1.5em!important;
}
*/

/* スライダー上の文字を明朝体にする */

.swiper-container .swiper-slide {
    font-family: 'Noto Serif JP', serif!important;
    /*
    vertical-align: bottom!important;
    */

}
.swiper-container .swiper-slide h3.ltg-slide-text-title {
    /*
    padding-top: 10em;
    font-size: 150%!important;
    vertical-align: text-bottom!important;
    position:absolute;
    */
    
   /*
    top:4em!important;

    */
    font-size: 2.5vw!important;
    font-weight:700!important;
}

/* オンマウスで画像拡大 */
.zoom_img {
    max-width: 500px;
    overflow: hidden;
    width: 100%;
}
.zoom_img img {
    cursor: pointer;
    height: auto;
    transition: transform .6s ease; /* ゆっくり変化させる */
}
.zoom_img:hover img {
    transform: scale(1.1); /* 拡大 */
}


/***** 下位階層 *****/
/*
page-header"><div class="page-header-inner container">
<div class="page-header-title
*/
.page-header {
    background: none!important;
    background-image: url("https://soba.keiz-labo.works/wp/wp-content/uploads/2024/09/25276299-1.png")!important;
    background-color:rgba(255,255,255,0.8)!important;
    background-blend-mode:lighten!important;
}
.page-header .page-header-title {
    color: var(--vk-color-primary);
}


/***** 投稿ページ共通 *****/
/* 投稿ページのパンくずからカテゴリを非表示にする(投稿カテゴリが一つの場合のみ) */
body.single-post #breadcrumb.breadcrumb li:nth-child(2) {
    display:none;
}
/* 投稿記事下のカテゴリーを非表示にする(投稿カテゴリが一つの場合のみ) */
body.single-post .entry-meta-data-list.entry-meta-data-list--category {
    display: none;;
}
/* 投稿者名を非表示にする */
span.entry-meta-item.entry-meta-item-author{
    display: none;
}

/* ページネーション非表示 */
.vk_posts.next-prev {
    display: none;
}
