/*
Theme Name: sanaikrd
Author: bluefog-solution
Description: sanaikrd
Version: 1.15
Template: source_tcd045

This is the child theme for SOURCE theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/

/*** global_menu ***/
.pc #global_menu ul ul li {
    width: 200px;
}

/*** 固定ページhead ***/
.wide_image .caption .title {
    font-weight: 500;
    font-size: 42px !important;
}
@media only screen and (max-width: 767px) {
    .wide_image {
        height: 250px;
    }
}

/*** 下層ページ ***/
@media only screen and (max-width: 767px) {
    .page #main_col {
        margin-bottom: 5rem !important;
    }
}

/*** パンくず ***/
#bread_crumb {
    height: 45px;
    line-height: 45px;
    border-top: 1px solid #ddd;
}
#bread_crumb li.home a:before {
    top: 100%;
    transform: translate(0%, -10%);
}

/*** .post_content ***/
.post_content h1,
.post_content h2,
.post_content h3,
.post_content h4,
.post_content h5,
.post_content h6 {
    line-height: 1.8;
    font-weight: 500;
}
.post_content h1 {
    font-size: 190%;
    color: #0093eb;
}
.post_content h2 {
    font-size: 160%;
    border-top: 1px solid #0093eb;
    border-bottom: 1px solid #0093eb;
    padding: 10px 0;
    color: #000;
}
.post_content h3 {
    font-size: 145%;
    background: #faf7f5;
    padding: 5px 10px;
    font-weight: bold;
}
.post_content h4 {
    font-size: 135%;
    border-bottom: 1px solid #333;
    font-weight: bold;
    color: #333;
}
.post_content h5 {
    font-size: 130%;
    font-weight: bold;
}
.post_content h5 {
    font-size: 120%;
}
.post_content {
    font-size: 16px;
    line-height: 1.8;
}
.post_content p {
    line-height: 1.8;
    font-size: 16px;
    margin: 0 0 1em 0;
}
.post_content ul {
    list-style: disc;
}

/*** .page_navi ***/
.page_navi {
    margin: 2rem auto 0;
}
@media only screen and (max-width: 767px){
    .page_navi {
        margin: 2rem auto !important;
    }
}

/*** elementorナビゲーション ***/
.elementor-container .menu {
    list-style: none;
    margin-left: 1.3em;
    display: flex;
    justify-content: center;
}
.elementor-container .menu .menu-item {
    margin: 0 0.3rem;
}
.elementor-container .menu .menu-item::after {
    content: "/";
    display: inline-block;
    margin-left: 0.6rem;
}
.elementor-container .menu .menu-item:last-of-type::after {
    content: none;
}
@media only screen and (max-width: 767px) {
    .elementor-container .menu {
        margin-left: 0;
        justify-content: left;
        flex-wrap: wrap;
    }
    /*.elementor-container .menu .menu-item {
        width: 44%;
    }
    .elementor-container .menu .menu-item::after {
        content: none;
    }*/
}

/*** elementor消し ***/
.post_content .elementor-widget:not(:last-child) {
    margin-block-end: 0px;
}

/*ローディングにロゴを追加*/
#site_loader_overlay::before{
	content: "";
	display: block;
	width: 300px;
	height: 50px;
	position: absolute;
	top: 50%;
	left: 50%;
	margin-left: -150px;
	margin-top: -108px;
	background: #fff url("./img/logo-sanaikrdcojp.png") no-repeat center/contain;
	animation-name:fadeUpAnime;
	animation-duration:0.8s;
	animation-fill-mode:forwards;
	opacity:0;
}

@keyframes fadeUpAnime{
  from {
    opacity: 0;
	transform: translateY(20px);
  }

  to {
    opacity: 1;
	transform: translateY(0);
  }
}

/*** search結果 ***/
.headline .found {
    font-size: 50%;
    margin-left: 0.5rem;
}
.search_list li {
    padding: 20px 25px;
}
.search_list .list_head {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 8px;
}
.news_list.search_list .date,
.news_list.search_list .category {
    float: none;
    line-height: initial;
}
.search_list .category a {
    border: 1px solid #3492E8;
    color: #3492E8;
    height: auto;
    line-height: inherit;
    font-size: 10px;
    padding: 4px 15px;
}
.news_list.search_list .category a:hover {
    background-color: #3492E8 !important;
    color: #fff;
}
.search_list .title {
    width: 100%;
}
.search_list .title a {
    line-height: 1.7;
    height: auto;
}
@media only screen and (max-width: 767px){
    .news_list.search_list li {
        padding: 15px 18px;
    }
    .news_list.search_list .date,
    .news_list.search_list .category {
        margin-top: 0;
    }
}

/*2025.02.20追記*/
mark {
    font-style: normal;
    font-weight: normal;
}

/*2025.04.04追記、ヘッダー内のサブメニューが開閉しなくなった*/
@media only screen and (max-width: 1199px) {
    #global_menu ul li.open ul {
        display: block;
    }
}