/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating will be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/



/*Add your own styles here:*/
body {
    color: #555555;
    font-size: 16px;
    font-family: YuGothic, 游ゴシック, "Yu Gothic", sans-serif !important;
    word-break: break-word;
    overflow-wrap: break-word;
    opacity: 1 !important;
}
.html_header_sidebar .logo{
    padding: 20px;
}
.html_header_sidebar .logo img{
    max-width: 260px;
    width: 100%;
    max-height: inherit;
    height: auto;
}
.av-tab-no-icon.av-tab-no-image .av-inner-tab-title{
    width: 100%;
}
#header .avia-custom-sidebar-widget-area .widget{
    padding: 35px;
}
.caption_bottom .slideshow_caption .slideshow_inner_caption .slideshow_align_caption{
    margin-bottom:30px;
}
#top .caption_framed .slideshow_caption .avia-caption-title {
    background-color: rgba(1, 92, 177, 0.8);
    border-radius: 10px 10px 0px 0px;
}
#top .caption_framed .slideshow_caption .avia-caption-content p {
    background-color: rgba(1, 92, 177, 0.8);
    border-radius: 0px 0px 10px 10px;
}



/*slide*/
#top #wrap_all .slideshow_align_caption {
    display: block;
    width: 581px;
    max-width: 100%;
}
#top #wrap_all .slideshow_align_caption h2 {
    width: 100%;
    padding: 12px 21px;
    letter-spacing: 0.5px;
}
#top .slideshow_caption .avia-caption-content p {
    width: 100%;
    font-weight: bold;
    padding: 17px 21px;
    letter-spacing: 0.6px;
}
#top .av_slideshow_full li img,
#top .avia-slideshow-inner > li > div > div,
#top .avia-slideshow-inner > li > div,
#top .avia-slideshow-inner > li,
#top .avia-slideshow-inner,
#top .av_slideshow_full.avia-slideshow {
    min-height: 400px;
}
#top .av_slideshow_full li img {
    object-fit: cover;
}
#top.home .av_slideshow_full .container.caption_container {
    max-width: 100%;
}
@media only screen and (max-width:767px) {
    #top .caption_bottom .slideshow_caption .slideshow_inner_caption {
        padding: 0px;
    }
    #top #wrap_all .slideshow_align_caption {
        width: 100%;
    }
}


/*about*/
.home-about-section .entry-content-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.home-about-section img {
    width: 100%;
}
.home-about-section .container {
    max-width: 1500px;
}
#top #main .avia-section.home-about-section .template-page {
    padding: 70px 0px;
}
@media only screen and (max-width:989px) {
    .home-about-section .entry-content-wrapper > .home-about-area {
        width: 100%;
        margin: 10px 0px;
    }
    #top #main .avia-section.home-about-section .template-page {
        padding: 25px 0px;
    }
}


/*heading*/
#top.home .av-special-heading p,
#top.home .av-special-heading h2 {
    font-weight: bold;
}


/*button*/
#top.home #wrap_all #main .avia-button {
    width: 143px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 40px;
    background-color: #6BB8CB;
    font-weight: bold;
}
#top.home #wrap_all .avia_button_icon {
    position: absolute;
    right: 13px;
    display: inline-block;
    width: auto;
    left: auto;
    font-size: 15px;
}



/*pr*/
#top #wrap_all #main .home-pr-section {
    background-size: cover;
}
#top #wrap_all #main .home-pr-section .template-page {
    padding: 130px 0px;
}
#top #wrap_all #main .home-pr-section .post-entry {
    background-color: #ffffff9c;
    backdrop-filter: blur(20px);
    padding: clamp(35px,8.3%,8.3%) clamp(15px,10.7%,10.7%);
    border-radius: 10px;
}
#top #wrap_all #main .home-pr-section .avia_textblock p {
    margin: 2em 0px;
    font-weight: 600;
}
#top #wrap_all #main .home-pr-section .avia_textblock p:last-child {
    margin-bottom: 0px;
}
@media only screen and (max-width:767px) {
    #top #wrap_all #main .home-pr-section .template-page {
        padding: 45px 0px;
    }
}



/*blog posts*/
#top #wrap_all #main .flex_column .av-alb-blogposts h2 {
    padding: 0px;
    margin: 0px;
    font-size:15px;
    font-weight: 600;
    
}
#top #wrap_all #main .flex_column .av-alb-blogposts h2:before {
    content: none;
}
#top #wrap_all #main .flex_column .av-alb-blogposts article:first-child {
    border-top: 1px solid #d3d3d3;
}
#top #wrap_all #main .flex_column .av-alb-blogposts article {
    border-bottom: 1px solid #D3D3D3;
}
#top #wrap_all #main .flex_column .av-alb-blogposts article header {
    display: flex;
    align-items: center;
}
#top #wrap_all #main .flex_column .av-alb-blogposts article header > h2 {
    order: 2;
    width: calc(100% - 140px);
    line-height: 140%;
}
#top #wrap_all #main .flex_column .av-alb-blogposts article header > span {
    order: 1;
    width: 140px;
    text-align: center;
}
#top #wrap_all #main .flex_column .av-alb-blogposts article header > span time {
    color: #F59C90;
}
#top #wrap_all #main .flex_column .av-alb-blogposts .read-more-link,
.blog #wrap_all #main .read-more-link {
    display: none;
}
@media only screen and (max-width:989px) {
    #top #wrap_all #main .flex_column .av-alb-blogposts article header {
        flex-wrap: wrap;
    }
    #top #wrap_all #main .flex_column .av-alb-blogposts article header > h2 {
        width: 100%;
    }
    #top #wrap_all #main .flex_column .av-alb-blogposts article header > span {
        width: 100%;
        text-align: left;
        margin-bottom: 5px;
    }
}



/*news*/
#top #main .avia-section.home-news-section .template-page {
    padding: 80px 0px;
}
#top #main .avia-section.home-news-section .container {
    max-width: 900px;
    width: 85%;
}
#top.home .home-news-section .post_delimiter {
    display: none;
}
#top.home .home-news-section .av-alb-blogposts {
    margin: 30px 0px;
}
#top.home .home-news-section .avia-button-wrap {
    display: flex;
    justify-content: center;
}
@media only screen and (max-width:767px) {
    #top #main .avia-section.home-news-section .template-page {
        padding: 45px 0px;
    }
    #top.home .home-news-section .av-alb-blogposts {
        margin: 25px 0px;
    }
}



/*header*/
.html_header_sidebar header#header .av-main-nav>li {
    margin: 0px 11%;
}
.html_header_sidebar #top div#header_main {
    border-bottom: none;
}
header#header .avia-custom-sidebar-widget-area .widget {
    border-top: none;
}
.html_header_sidebar header#header .av-main-nav>li:nth-last-child(2)>a {
    border-bottom: 1px solid #ebebeb;
}
.html_header_sidebar header#header .av-main-nav>li>a .avia-menu-text {
    font-size: 15px;
    color: #555555;
    font-weight: bold;
}
.html_header_sidebar header#header .av-main-nav>li.current-menu-item>a .avia-menu-text {
    color: #015BB1;
}
@media only screen and (max-width:767px) {
    .html_header_sidebar .logo img {
        max-height: 80px;
        width: auto;
    }
    .html_header_sidebar .inner-container {
        padding: 10px 0px;
        display: flex;
        justify-content: space-between;
    }
    .responsive #top #wrap_all .main_menu {
        position: relative;
    }
}





body.home .bloglist-simple.post-entry:nth-of-type(1){
    border-top: 1px solid #e1e1e1;
}
#top .avia-button-fullwidth{
    font-size: 20px;
    font-weight: bold;
}
#socket .copyright{
    font-size: 14px;
    font-weight: 500;
    line-height: 150%;
}
body.home#top #wrap_all .content .avia-button.avia-size-medium {
    margin-top: 30px;
}
#scroll-top-link.avia_pop_class{
    opacity: 1;
}

#top .pagination a, #top .template-blog .pagination a {
    color: #ffff;
    font-size: 15px;
    background-color: #6bb8cb;
    border: 1px solid #6bb8cb;
}
#top .pagination .current{
    font-size: 15px;
    border: 1px solid #6bb8cb;
}
.bloglist-simple .more-link{
    border: 1px solid #212121;
}

body.single .main_color .minor-meta.date-container{
    font-size: 15px;
    font-weight: 500;
    color: #209251;
}
body.single#top .template-blog .post-title{
    margin-top:30px;
}
body.single .entry-content>*:first-child,
body.page .entry-content>*:first-child{
    margin-top: 0;
}
body.single header.entry-content-header {
    margin-bottom: 30px;
}
body.single .entry-content h1,
body.page .entry-content h1{
    margin: 50px auto 20px;
    font-size: 32px;
    font-weight: bold;
    line-height: 120%;
    text-align: center;
}
body.single .entry-content h2,
body.page .entry-content h2{
    margin: 50px auto 20px auto;
    padding: 15px 8px;
    color:#ffffff;
    line-height: 120%;
    background-color: #015bb1;
    border: 1px solid #015bb1;
    border-radius: 4px;
    font-size: 22px;
}
body.single .entry-content h3,
body.page .entry-content h3{
    position: relative;
    margin: 40px auto 20px auto;
    padding: 0 0 0 18px;
    color:#015bb1;
    font-size: 20px;
    font-weight: bold;
    line-height: 120%;
}
body.single .entry-content h3::before,
body.page .entry-content h3::before{
    position: absolute;
    content: "";
    width: 6px;
    height: 90%;
    top: 0%;
    left: 0px;
    border-radius: 4px;
    background-color: #015bb1;
}
body.single .entry-content h4,
body.page .entry-content h4{
    margin: 40px auto 20px auto;
    color:#015bb1;
    font-size: 18px;
    font-weight: bold;
    line-height: 120%;
}
body.single .entry-content h5,
body.page .entry-content h5{
    margin: 40px auto 20px auto;
    color:#212121;
    font-size: 17px;
    font-weight: bold;
    line-height: 120%;
}
body.single .entry-content a,
body.page .entry-content a{
    color:#015bb1;
    text-decoration: none;
    font-weight: 500;
}
body.single .entry-content a:hover,
body.page .entry-content a:hover{
    text-decoration: underline;
}
body.single .entry-content table,
body.page .entry-content table{
    margin:30px auto 30px;
}
body.single .entry-content table tr th,
body.page .entry-content table tr th{
    padding: 15px 8px;
    background-color: #015BB1;
    color:#fff;
    font-size:16px;
    font-weight:bold;
    text-align:center;
}
body.single .entry-content table tr td,
body.page .entry-content table tr td{
    padding:10px 8px;
    font-size:15px;
}
.main_color tr:nth-child(odd), .main_color .pricing-table>li:nth-child(odd), .main_color .pricing-extra {
    background-color:#fff;
}
.main_color table caption, .main_color tr:nth-child(even), .main_color .pricing-table>li:nth-child(even), #top .main_color .avia-data-table.avia_pricing_minimal td {
    color: var(--enfold-main-color-color) !important;
}
.wp-block-table thead {
    border:0px;
}
body.single .entry-content ul,
body.page .entry-content ul{
    margin-left: 15px;
}
body.single .entry-content ul li,
body.page .entry-content ul li{
    position: relative;
    margin-left:0;
    padding-left:18px;
    list-style:none;
}
body.single .entry-content ul li::before,
body.page .entry-content ul li::before{
    position: absolute;
    content: '';
    width: 8px;
    height: 8px;
    top: 13px;
    left: 1px;
    background-color: #015bb1;
    border-radius: 50px;
}
body.single .entry-content ul li::after,
body.page .entry-content ul li::after{
    position: absolute;
    content: '';
    left: 0;
    box-sizing: border-box;
    width: 5px;
    height: 5px;
    border: 5px solid transparent;
    border-bottom: 7px solid #015bb1;
    top: 4px;
    border-radius: 4px;
}
body.single .entry-content>*:last-child,
body.page .entry-content>*:last-child{
    margin-bottom: 0;
}
body.single .comment-entry,
body.single footer.entry-footer,
body.single .post_delimiter,
header.entry-content-header .page-thumb{
    display:none;
}
.html_av-overlay-full #top #wrap_all #av-burger-menu-ul li{
    padding:0 0;
}
.html_av-overlay-full #top #wrap_all #av-burger-menu-ul li a{
    font-size:18px;
    font-weight:bold;
}
#top .home-news-area .flex_cell{
    padding-bottom:60px;
}
.page-slider-title{
    margin-bottom:45px !important;
    position: relative;
    padding:160px 15px;
    color:#ffffff !important;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
    text-shadow: 1px 5px 5px #000;
    border-radius: 10px;
}
@media screen and (max-width:767px){
    .page-slider-title{
        padding:80px 15px;
    }
}


.page-slider-title::before{
    position: absolute;
    content:'';
    width:100%;
    height:100%;
    background-color:rgba(0,0,0,.3);
    top:0;
    left:0;
    border-radius: 10px;
}
.page-slider-title strong{
    display:block;
    position: relative;
}
.header_color div .av-hamburger-inner,
.header_color div .av-hamburger-inner::before,
.header_color div .av-hamburger-inner::after{
    background-color: #6bb8cb;
}
.caption_framed .slideshow_caption .avia-caption-content p, .caption_framed .slideshow_caption .avia-caption-title, .avia-caption .avia-caption-content p, .avia-caption .avia-caption-title{
    display:block;
    max-width:600px;
    width:100%;
}
.responsive body.single#top #main .sidebar,
.responsive body.blog#top #main .sidebar,
.responsive body.archive#top #main .sidebar{
    display:block;
}
#top #main .sidebar_right .widget{
    margin-top: 30px;
    padding: 0 0 0 0;
}
#top #main .sidebar_right  .widget:first-child{
    margin-top:0;
}
#top #main .sidebar_right .widget .widget_nav_menu{
    padding-bottom:0;
}
#top #main .sidebar_right .widget h3{
    padding:0 0 10px 0;
    color:#015bb1;
    font-size:20px;
    line-height:140%;
    border-bottom:1px solid #015bb1;
}
#top .fullsize .template-blog .post-title{
    margin:0 0;
}
.main_color .sidebar a{
    color:#333333;
    font-size:16px;
}
.main_color .sidebar a:hover{
    color:#015bb1;
}
.main_color .sidebar .veu_postList .postList_terms a{
    color:#ffffff;
    font-size:13px;
    background-color:#015bb1;
    border:1px solid #015bb1;
}
body.page.page-id-524 .entry-content table tr td:nth-of-type(1){
    width:240px !important;
}
body.page.page-id-524 .entry-content table tr td img{
    width:200px;
}
body.page.page-id-524 .entry-content table tr td:nth-of-type(2){
    width:calc(100% - 240px) !important;
}
#top .wpforms-container {
    margin-top: 40px;
    padding: 30px 30px;
    border: 1px solid #dddddd;
}
#top .wpforms-container label{
    font-size: 18px;
}
#top .wpforms-container label.wpforms-field-sublabel{
    font-size: 13px;
    font-weight: normal;
}
#top .wpforms-container label span{
    color: #ff0000;
}
#top .wpforms-container .wpforms-submit {
    padding: 8px 40px;
    color: #ffffff;
    font-weight: 500;
    background-color: rgba(39, 174, 96,.7);
}
#top .wpforms-container .wpforms-submit:hover {
    background-color: #27ae60;
}

.home-tabpr-area .avia-promocontent p {
    font-size: 16px;
}

body.scrolled .av-hamburger-box {
    position: fixed;
    top: 30px;
    right: 15px;
}
#top #wrap_all #main .sp-banner-area {
    display: none;
}



@media only screen and (max-width: 1199px){
    #top .home-news-area .flex_cell{
        display:block;
        width:100%;
    }
    #top .home-news-area .flex_cell.av_one_fifth{
        display:none !important;
    }
    .home-about-area.flex_column{
        margin-left:0;
        width:100%;
        text-align:center;
    }
    .home-about-area.flex_column .avia_textblock p{
        text-align:left;
    }
    .home-about-area.flex_column.avia-builder-el-last{
        margin-top:30px;
    }
    .responsive body.single#top .container .av-content-small,
    .responsive body.blog#top .container .av-content-small,
    .responsive body.archive#top .container .av-content-small{
        width:100%;
        margin-right: 0;
        border-right:0;
    }
    #top .template-blog .big-preview.single-big{
        margin-right:0;
    }
    .responsive body.single#top .container .av-content-small.content .entry-content-wrapper,
    .responsive body.blog#top .container .av-content-small.content .entry-content-wrapper,
    .responsive body.archive#top .container .av-content-small.content .entry-content-wrapper{
        padding-right: 0;
    }
    .responsive body.single#top #main .sidebar,
    .responsive body.blog#top #main .sidebar,
    .responsive body.archive#top #main .sidebar{
        padding-top:0;
        border-left-color: #fff;
    }
    .responsive body.single#top #main .sidebar .inner_sidebar,
    .responsive body.blog#top #main .sidebar .inner_sidebar,
    .responsive body.archive#top #main .sidebar .inner_sidebar{
        margin-left: 0;
    }
}
@media only screen and (max-width: 767px){
    #header_main{
        border-bottom: 1px solid #e6f0eb;
    }
    .responsive .logo a{
        padding: 15px 15px;
    }
    .responsive .logo img,
    .responsive .logo svg{
        max-height:inherit;
        padding:0 0;
    }
    .responsive #top #wrap_all .main_menu{
        top:25px;
    }

    .caption_bottom .slideshow_caption .slideshow_inner_caption{
        padding-left:15px;
        padding-right:15px;
    }
    body.page .entry-content h1.page-slider-title{
        font-size:28px;
    }
    body.page .container .av-content-full.units,
    body.single .container .av-content-full.units{
        padding-top:15px;
    }
    body.blog .container .av-content-full.units,
    #top .home-news-area .flex_cell{
        padding-top:0;
    }
    #after_full_slider_1 {
        padding-top: 40px;
    }
    #top .home-about-area .av-special-heading {
        margin-top: 20px !important;
    }
	body.home .sp-banner-area .container .av-content-full.units{
		padding-top: 0;
		padding-bottom: 50px;
	}
	#top #wrap_all #main .sp-banner-area {
		display: block;
		text-align: center;
	}
	#top #wrap_all #main .sp-banner-area .widget_media_image{
		display: inline-block;
		padding: 4px 8px;
	}
	#top #wrap_all #main .sp-banner-area .widget_media_image a{
		display: inline-block;
		border: 1px solid #dddddd;
	}
	#top #wrap_all #main .sp-banner-area .widget_media_image a img{
		max-width: 260px !important;
		width: 100%;
	}
}
@media screen and (max-width:575px){
    body.page.page-id-524 .entry-content table tr td:nth-of-type(1),
    body.page.page-id-524 .entry-content table tr td:nth-of-type(2){
        display: block;
        width:100% !important;
        border: 0;
    }
    body.page.page-id-524 .entry-content table tr td h3{
        margin-top: 20px;
    }
    body.page.page-id-524 .entry-content table tr td h3:first-child{
        margin-top: 0;
    }
}


/* 固定ページ背景変更 */
.page-id-37 .page-slider-title {
    background-image: url(https://kohmura-web.sakura.ne.jp/check/ynu-bijutsu/wp-content/themes/enfold-child/img/s02.png);
}
.page-id-39 .page-slider-title {
    background-image: url(https://kohmura-web.sakura.ne.jp/check/ynu-bijutsu/wp-content/themes/enfold-child/img/s03.png);
}
.page-id-41 .page-slider-title {
    background-image: url(https://kohmura-web.sakura.ne.jp/check/ynu-bijutsu/wp-content/themes/enfold-child/img/s04.png);
}