/*
Theme Name: YSF(TwentyTwentyFiveの子テーマ)
Template: twentytwentyfive
*/

@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Zen+Antique&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Noto+Serif+JP:wght@200..900&family=Zen+Antique&display=swap');

:root {
    --ysf-contrast: #333;
    --ysf-contrast-2: #383883;
    --ysf-contrast-3: #33ff44;
    --ysf-base: rgba(00, 91, 141, 0.1);
    --ysf-base-2: rgba(00, 91, 141, 0.2);
    --ysf-base-3: #005B8D;
    --ysf-accent: #F99D1B;
}

body {
    font-family: "Zen Antique", serif;
    font-weight: 400;
    font-style: normal;
}

.inside-header {
    flex-direction: column;
}

h1,
h2,
h3,
h4,
h5,
h6,
.entry-title,
.widget-title,
.site-title {
    font-family: 'Zen Antique', serif;
    font-weight: 400;
}

/* 本文 - Noto Serif JP */
body,
p,
.entry-content,
.site-description,
article {
    font-family: 'Noto Serif JP', serif;
    font-weight: 400;
}

/* ヘッダー */
.ysf-header {
    display: flex;
    flex-direction: column;
}

.toggle-button-4 {
    display: flex;
    align-items: center;
    position: relative;
    width: 42px;
    height: 22px;
    border-radius: 50px;
    box-sizing: content-box;
    background-color: #00000033;
    cursor: pointer;
    margin: 0 5px;
}

.toggle-button-4:has(:checked) {
    background-color: #ff000033;
}

.toggle-button-4::before {
    position: absolute;
    left: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #000000;
    content: '';
}

.toggle-button-4:has(:checked)::before {
    left: 22px;
    background-color: #ff0000;
}

.toggle-button-4 input {
    display: none;
}

.ysf-header--menu,
.ysf-header--mem-menu {
        gap: 0;
}

.ysf-header--navi .wp-block-navigation ul li {
    list-style: none;
    padding: 0 5px;
}
.ysf-header--menu {
    height: 50px;
}
.ysf-heder--menu-child{
	border-left: 0;
}
.ysf-header--mem-menu {
    overflow-x: scroll;
}
.ysf-header--menu_list{
            flex: 1;
            padding: 0 10px;
            justify-content: center;
            border-right: solid 1px #ffffff50;
            white-space: nowrap;
}
.ysf-header--menu_list:first-child {
            border-left: solid 1px #ffffff50;
        }

.ysf-lang-button {
    display: flex;
    align-items: center;
    font-size: 14px;
    padding: 0 20px;
}

.ysf-height-stretch {
    height: stretch;

}

.wp-block-navigation__submenu-container {
    left: 0;
}

#modal-1 {
    padding: 20px;
}

@media (width < 600px) {
    .ysf-lang-button {
        display: none;
    }


}

@media (width < 767px) {
    .ysf-mobile-only {
        display: block !important;
    }

    .ysf-pc-only {
        display: none !important;
    }

    .ysf-header--top {
        padding: 0 16px;
    }
	.ysf-header--menu_list:first-child {
            border-left: 0;
        }
	.ysf-header--menu_list{
		border-right:0;
	}
}

@media (768px <=width) {
    .ysf-mobile-only {
        display: none !important;
    }

    .ysf-pc-only {
        display: block !important;
    }
}

@media (1025px <=width) {
    .ysf-mobile-only {
        display: none;
    }

    .ysf-tablet-only {
        display: none;
    }
 .ysf-pc-only
    {
        display: block;
    }
}

.wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open {
    background-color: var(--ysf-contrast-2);
    padding-top: 24px;
    padding-left: 20px;
    color: #fff;

}

main {
    min-height: 80vh;
}

.ysf-page-title {
    position: relative;
}

.ysf-page-title::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 3px;
    background-color: var(--ysf-contrast-2);
    width: 150px;
    margin: 0 auto;
}

/* bogo言語スイッチ */
.bogo-language-switcher {
    padding: 0 20px;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    font-family: var(--wp--preset--font-family--noto-serif-jp);
    font-size: var(--wp--preset--font-size--medium);
}

.bogo-language-switcher .current {
    display: none;
}

.scroll-container {
    -ms-overflow-style: none;
    /* IE, Edge */
    scrollbar-width: none;
    /* Firefox */
}

.scroll-container::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}
/* wpforo */
.wpf-section-stat,
.wpf-stat-wrap,
.wpf-statbox{
	display:none;
}
.ysf-facebook{
width:100%;	
}
.ysf-header-logo-img{
max-width:80%;	
}
.ysf-home-news{
	height:stretch;
}
:where(.wp-site-blocks *:focus) {
    outline-color:transparent; 
}
:where(.wp-site-blocks :focus) {
    outline-color:transparent; 
}
a:focus {
    outline: 1px solid transparent;
}
.ysf-teikan-box{
	height:400px;
	overflow-y:scroll;
}