/*
Theme Name: tokioribelc
Description: Child Theme for Blocksy
Author: c3
Template: blocksy
Version: 1.0.0
Text Domain: blocksy-child
*/

html { scroll-behavior: smooth; }
body { font-family: "Noto Sans JP", sans-serif;}

header .menu-container .menu>li>.ct-menu-link {
    height: var(--menu-item-height, 100%);
    justify-content: var(--menu-item-alignment, center);
    --menu-item-padding: 0 calc(var(--menu-items-spacing, 0) / 2);
}

footer#footer.ct-footer .ct-container-fluid{ max-width:1000px; }
footer#footer.ct-footer .ct-container-fluid .ct-widget h5,
footer#footer.ct-footer .ct-container-fluid .ct-widget{ color:#fafafa; }
footer#footer.ct-footer .ct-container-fluid .ct-widget a{ color:#fafafa; text-decoration: underline; text-underline-offset: 4px; }
footer#footer.ct-footer .ct-container-fluid .ct-widget a:hover{ text-decoration: none; }
footer#footer.ct-footer .ct-widget:not(:first-child) { margin-top: var(--widgets-gap, 1.2rem);}
footer#footer.ct-footer .ct-container-fluid .ct-widget li{ margin-block-end:0; }


.page-title {
    padding: 10px 25px;
    border-radius: 10px;
    background: url(images/l-brown.png) no-repeat 0 15px #f2f0ef;
    font-size: 26px;
}
.blue-line,
.wp-block-heading.is-style-blue-line {
    padding: 5px 5px 5px 12px;
    background: url(images/l-blue.png) no-repeat 0 center;
    border-bottom: 1px solid #CCCCCC;
}

ul.page-latest-posts li .wp-block-latest-posts__post-title,
.brown-line,
.wp-block-heading.is-style-brown-line {
    padding: 5px 5px 5px 12px;
    background: url(images/l-brown.png) no-repeat 0 center;
    border-bottom: 1px solid #CCCCCC;
    display: block;
}
ul.page-latest-posts li .wp-block-latest-posts__post-title{ margin-bottom: 1.5rem;font-weight: 600; }

body.single-post .entry-content,
body.single-reikai .entry-content{
    border-radius: 10px;
    border: 1px solid #e0dddc;
    background:#ffffff;
    padding-top: var(--wp--preset--spacing--60);
    padding-right: var(--wp--preset--spacing--60);
    padding-bottom: var(--wp--preset--spacing--60);
    padding-left: var(--wp--preset--spacing--60);
}

/*members*/


body.post-type-archive-members .member-section h2{ margin-top:1em; }
ul.member-kana{ padding: 0; list-style:none; }
ul.member-kana li{ padding: 0.5rem; display:inline; }

.member-single { max-width: 800px; margin: 0 auto; }
.member-section { margin-top: 2em; }
.member-photo{ margin-top:1.5em; }
.member-section h2 { font-size: 1.2em; border-left: 4px solid #2c5282; padding-left: .6em; margin-bottom: .8em; }
.member-list { margin: 0 auto 1em; padding:0; }
.member-row { display: flex; gap: 1em; padding: .7em 0; border-bottom: 1px solid #e2e8f0; }
.member-row dt { flex: 0 0 11em; font-weight: bold; }
.member-row dd { flex: 1; margin: 0; }
.member-back { margin-top: 3em; }
@media (max-width: 600px) {
    .member-row { flex-direction: column; gap: .2em; }
    .member-row dt { flex-basis: auto; }
}

.member-group{ margin-bottom:4em; }


aside#sidebar {
    border: 1px solid #e0dddc;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    padding-right: var(--wp--preset--spacing--40);
    padding-left: var(--wp--preset--spacing--40);
    background-color: var(--wp--preset--color--palette-color-8) ;
}

aside#sidebar ul li{ margin-bottom:0.35em; }
aside#sidebar a { color: #2872fa; text-decoration: underline; }
aside#sidebar a.wp-block-button__link.wp-element-button { color: #ffffff; text-decoration: underline; }
aside#sidebar a:hover{ text-decoration:none; }

.archive-contaier{ padding: 2rem; background:#ffffff; border:1px solid #e0dddc; border-radius:10px; }