@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

.wp-block-media-text.has-background.is-side-text-box .wp-block-media-text__content {
    padding: 1em;
}

.wp-block-media-text.is-side-text-box>.wp-block-media-text__media {
    min-height: 65px;
}

/* カウンター初期化 */
.wp-block-group ul.p-postList {
  counter-reset: post-number;
}

/* liでカウント */
.wp-block-group ul.p-postList > li.p-postList__item {
  counter-increment: post-number;
}

/* aタグに番号を出す */
.wp-block-group ul.p-postList > li.p-postList__item > a.p-postList__link {
  position: relative;
  padding-left: 3.5em;
}

/* 番号表示 */
.wp-block-group ul.p-postList > li.p-postList__item > a.p-postList__link::before {
  content: counter(post-number, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  font-size: 1.3rem;
  color: #d33;
  z-index: 2;
}

/*ランキング*/
/* カウンター初期化 */
.wpp-list {
  counter-reset: post-number;
}

/* liでカウント */
.wpp-list > li {
  counter-increment: post-number;
}

/* aタグに番号を出す */
.wpp-list > li {
  position: relative;
}

/* 番号表示 */
.wpp-list > li::before {
  content: counter(post-number, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 28px;
  transform: translateY(-50%);
  font-weight: 700;
  font-size: 0.75rem;
  z-index: 2;
  background-color: #d33;
  color: #fff;
  padding:0.5em
}

.wpp-item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
}

.wpp-thumb_img {
    width: 75px;
}

.wpp-title {
    width: calc(100% - 85px);
    line-height: 1.3;
}

.wpp-thumbnail {
    float: none;
}

.wpp-excerpt {
    line-height: 1.4;
}


@media screen and (max-width: 959px) {
    body {
        padding-bottom: 60px; /* 固定メニューの高さに合わせて余白を設定 */
    }
    .p-fixBtnWrap {
        bottom: 5.5em; /* 上に戻るボタンの位置を上に */
    }
    #fixed-bottom-menu {
        display: block;
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        z-index: 99;
        padding: 1em .3em;
    }
    #fixed-bottom-menu .swell-block-column {
        padding: .5em;
    }
    #fixed-bottom-menu .swell-block-button__link[data-has-icon] {
        padding: 1em 1em;
    }    
}
@media screen and (min-width: 960px) {
    #fixed-bottom-menu, #fixed-sidebar-menu {
        display: none; /* PCでは非表示にする */
    }
}


.home #block-3,
.home #block-4
 {
  display: none;
}

.parts-text .wp-block-media-text {
    position: relative;
    cursor: pointer;
}

.parts-text .wp-block-media-text__content a {
    color: #333;
}

.parts-text .wp-block-media-text__content a::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: auto; /* 明示的にクリックを受け付ける */
}


.button-10 {
    background-color: #d33;
    color: #fff;
    font-weight: bold;
    border-radius: 3em;
    padding: .75em 2em;
    line-height: 1.2;
}

/*文字数制限
-----------------------------------------*/

/* カード型はここから */
.p-postList.-type-card .p-postList__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
/* カード型ここまで */

/* リスト型はここから */
.p-postList.-type-list .p-postList__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
/* リスト型ここまで */

/* テキスト型はここから */
.p-postList.-type-simple .p-postList__title {
    font-size: 125%;
  /* display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden; */
}
/* テキスト型ここまで */

.wpp-title {
    display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.post_content ol, .post_content ul {
    padding-left: 0;
}

.post_content li a {
    color: #333;
    font-weight: bold;
}

.wpp-post-title {
    font-size: 120%;
}

.wpp-list li{
    border-top: 1px solid #ccc;
    padding-top: 15px;
}

.home #custom_html-8 {
    display: none;
}

.wp-block-media-text__content {
    font-size: 120%;
}