.page-template-column main, body.search main {
    padding: 0 1rem 4rem !important;
}
article.search {
    max-width: 350px;
    margin: 30px auto 40px;
}
.widgettitle {
    border: none !important;
    margin: 0 !important;
}
.btn-wrap {
    width: 100%;
}

/* ワード検索 */
.widget_search {
    margin: 0 auto 1.5rem;
}
.wp-block-search__input {
    outline: none;
    border: none !important;
    border-radius: 30px;
    padding: 10px 15px;
}
.widget_search .wp-block-search__button {
    border: none;
    border-radius: 5px;
}
.widget_search .wp-block-search__button {
    background: #007d79 !important;
    padding: 5px 10px;
}
.widget_search .wp-block-search__button svg {
    width: 1.8rem;
    height: 1.8rem;
    fill: #fff;
}

/* カテゴリー検索 */
.widget_categories h4 {
    font-size: 1rem;
    line-height: 1.4rem;
    display: inline-block;
    background: #e7fffe;
    border-radius: 5px 5px 0 0;
    padding:  0.5rem 1rem 0;
}
.widget_categories ul {
    background: #e7fffe;
    border-radius: 0 5px 5px 5px;
    margin: -2px 0 0 0;
    padding: 1rem;
}
.widget_categories li {
    display: inline-block;
    background: #007d79;
    font-size: 0.7rem;
    font-weight: bold;
    color: #fff;
    border-radius: 30px;
    padding:  3px 10px;
    margin:  5px 3px 5px 0 !important;
}
.post-categories li:hover, .widget_categories li:hover {
    background: #00a9a4;
}
.widget_categories li a {
    display: block;
    font-size: 0.7rem;
    font-weight: bold;
    color: #fff;
}

/* 検索結果（archive.php) */
.search-title {
    display: block;
    width: 100%;
    font-size: 2rem;
    line-height: 2rem;
    color: #fff;
    letter-spacing: 2px;
    text-align: center;
    margin: 0;
    padding: 2rem 0;
}
.search-title span {
    font-size: 1.3rem;
    color: #fff;
    letter-spacing: 0;
}
.search-title .num {
    font-size: 0.9rem;
}
.noFound-txt {
    font-size: 0.9rem;
    color: #fff;
    font-weight: bold;
    text-align: center;
    margin: 6rem auto 10rem;
    text-shadow: 1px 1px 0 #d49c00;
}

@media(min-width: 700px) {
    .page-template-column main, body.search main {
        padding: 0 1rem 5rem !important;
    }
    main {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: flex-start;
    }
    .container {
        width: 55%;
        max-width: 800px;
    }
    article.search {
        width: calc(45% - 2rem);
        margin: 0 0 0 2rem;
        position: sticky;
        top: 2rem;
        left: 0;
        padding-bottom: 9rem;
    }
    .sidebar {
        margin: 5rem auto;
    }
    .search-title {
        padding: 2.5rem 0;
    }
}