	 /*
 Theme Name:Theme excellentchild
 Template:excellent
*/

#primary {
    float: none;
    margin-left: auto;
    margin-right: auto;
}

.page #content {
    padding-top: 0;
    padding-bottom: 0;
}

.page-header {
    padding-bottom: 0;
}
#content {
    padding-top: 8px !important;
}
@media only screen and (max-width: 767px) {
    .page-header {
        padding-bottom: 0 !important;
        padding-top: 0 !important;
    }
    #content {
        padding-top: 8px !important;
    }
}

.page-title {
    display: none;
}

.boxed-layout #page {
    margin-top: 10px;
}

@media only screen and (max-width: 1023px) {
    #primary,
    #secondary {
        margin-bottom: 0 !important;
    }
}

@media only screen and (max-width: 480px) {
    .boxed-layout #site-branding {
        max-width: 280px !important;
    }
}
@media only screen and (max-width: 767px) {
    .boxed-layout #site-branding {
        max-width: 440px !important;
    }
}

.custom-logo-link img {
    margin-top: 0px;
}

@media only screen and (min-width: 1024px) {
    .custom-logo-link {
        overflow: hidden;
        height: 160px;
    }
    .custom-logo-link img {
        margin-top: -12px;
    }
}
@media only screen and (min-width: 1300px) {
    .custom-logo-link img {
        margin-top: -38px;
    }
}

h1 {
    background: url("../../uploads/h1.png") 0 50% no-repeat;
    padding-left: 45px;
    font-size: 20px;
    font-weight: 700;
}

h2 {
    padding-left: 15px;
    line-height: 1.2em !important;
    min-height: 45px;
    padding-top: 10px;
    font-size: 20px;
    font-weight: 700;
    background: url("../../uploads/h2.png") 0 50% no-repeat;
}

h2::after {
    position: absolute;
    content: '';
    height: 45px;
    width: 100px;
    margin-left: 30px;
    background: url("../../uploads/h2after.png") 0 50% no-repeat;
}

h3 {
    padding-bottom: 8px;
    font-size: 18px;
    background: url("../../uploads/h3.png") 0 100% repeat-x;
}

h4 {
    padding-bottom: 8px;
    font-size: 18px;
    background: url("../../uploads/h4.png") 0 100% repeat-x;
}

h5 {
    padding-bottom: 8px;
    font-size: 18px;
    background: url("../../uploads/h5.png") 0 100% repeat-x;
}

h6 {
    padding-bottom: 8px;
    font-size: 18px;
    background: url("../../uploads/h6.png") 0 100% repeat-x;
}

.entry-content {
    margin-top:8px;
    font-size: 16px;
}

.entry-title {
    font-size: 24px;
}

.post {
    margin-bottom: 5px;
}

.blog #content {
    padding-top: 10px;
}

@media only screen and (max-width: 767px) {
    .page-title {
        font-size: 18px;
    }
    h1 {
        font-size: 16px;
    }
    .post {
        margin-bottom: 5px !important;
    }
}

th {
    font-weight: 700;
    text-align: center;
    background-color: #fff5ee;
}

.main-navigation > ul > li {
    background-color: #ff7f50;
}

.main-navigation > ul > li {
    background: url("../../uploads/menu-list1.png") 0 50% no-repeat;
    background-size: 25px;
    padding-left: 25px;
}

.wp-block-latest-posts.wp-block-latest-posts__list {
    list-style-type: none !important;
    margin-left: 0;
    padding: 0.5em;
    border: solid 5px #ffa07a;
}

.wp-block-latest-posts.wp-block-latest-posts__list li {
    line-height: 2.5em;
    font-size: 1.25em;
}

@media only screen and (max-width: 767px) {
    .wp-block-latest-posts.wp-block-latest-posts__list li {
        line-height: 1.25em;
        font-size: 0.95em;
        margin: 10px 0;
    }
}

.wp-block-latest-posts.wp-block-latest-posts__list a{
    line-height: 1em;
    
}

.wp-block-latest-posts.wp-block-latest-posts__list li:nth-child(odd) {
    background-color: #fff5ee;
}

.wp-block-latest-posts__post-author, .wp-block-latest-posts__post-date {
    line-height: 1em;
    margin-left: 1em;
    margin-top: 5px;
    margin-bottom: 5px;
    font-weight: 700;
}

@media only screen and (max-width: 980px) {
    .menu-toggle {
        margin-left: 10px !important;
        padding-top: 5px !important;
        padding-bottom: 5px !important;
        width: 130px !important;
    }
    .main-navigation > ul > li:nth-child(odd) {
        background-position: 0 0;
    }
    
    .line-one, .line-two, .line-three {
        margin-left: 0px !important;
        width: 28px !important;
    }
    
    .text-menu {
        display: inline-block;
        position: absolute;
        width: 100px;
        font-size: 15px;
        left: 25px;
        top: 20px;
    }
}


/* 投稿メタ */
.cat-links:before ,
.cat-links:after ,
.cat-links a {
    content:'';
    display: none;
}

.author span ,
.entry-meta .author a {
    display: none;
}

.posted-on a {
    font-size: 1.2em;
    color: #3a3a3a !important;
}

.news {
    width: 90%;
    max-height: 500px;
    overflow: auto;
    margin-left: auto;
    margin-right: auto;
}

.news table,
.news tbody,
.news th,
.news td {
    border: none;
}

.news tr:nth-child(odd) {
    background-color: #eebbcb;
    font-weight: 700;
    padding: 5px;
}

.news tr:nth-child(even) {
    background-color: #fff1cf;
    padding: 5px;
}

.profile {
    border-radius: 20px;
    padding: 1.3em;
    min-height: 200px;
    margin-bottom: 0.7em;
    background: url("../../uploads/profile-bg.png") 0 0 repeat;
}

.profile h4 {
    font-weight: 700;
    color: #65318e;
    text-align: center;
}

.profile .wp-block-column:nth-child(odd) {
    margin-right: 5px;
    
}

.profile .wp-block-column:nth-child(even) {
    margin-left: 0;
    padding: 0.5em;
    /*background-color: #fff;*/
}

#colophon .widget-area {
    padding-top: 5px;
}

#colophon .widget p {
    padding-left: 10px;
    font-size: 1.2em;
}

.site-info {
    height: 128px;
    background-size: contain;
    background-repeat: repeat-x;
}
