/* キャプション挿入時に不要な線非表示 */

:is(.tcdce-body, .editor-styles-wrapper) .wp-caption { 
    border: none !important;
}
/* トップページのセカンドセクションの見出し文字 */
.cb_design_header .headline {
    line-height: 1.5 !important;
}
/* タブレット表示時、３カラムを保持する */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .post_row:has(> .post_col-3) {
    grid-template-columns: repeat(3, 1fr) !important;
    column-gap: 30px;
    row-gap: 30px;
  }
}
/* 追従ボタン　背景色グラデーションへ */
.side_menu_button .item1 { 
    background: linear-gradient(180deg, #6DE741 0%, #06C755 100%);
}
.side_menu_button .item2 {
    background: linear-gradient(180deg, #F9D423 0%, #FFAC4E 100%);
}

/* 追従ボタン　テキスト色変更 */
.side_menu_button .title  {
    font-weight: bold;
    color: #000000;
    text-orientation: upright;
    }
/* 再度追従ボタン　テキスト色変更・余白サイズ */
.side_menu_button .item {
    color: #000000;
}
@media screen and (max-width: 1160px) {
    #drawer_menu_wrap .side_menu_button .title {
        padding: 0 16px !important;
    }
}
.side_menu_button .content {
    color: #000000;
}
/* footerバナーエリア　テキスト色変更 */
#container #footer_banner .content { 
    color: #000000;
}
/* reCAPTCHAバッジを非表示にする */
.grecaptcha-badge {
  visibility: hidden !important;
}
/* TOP SUPPORT部分のカスタマイズ */
/* 3カラム部分 */
:root {
    --thumbs-size-pc: 274px;
    --thumbs-size-sp: 194px;
}
:is(.tcdce-body, .editor-styles-wrapper) ul li {
    list-style: none;
}
ul.support-list {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    padding: 0;
    padding-left: 0;
    list-style: none;
}
/* スマホだけ表示*/
.sp, .scroll-info {
    display: none;    
}
@media screen and (max-width: 767px) {
.sp, .scroll-info {
    display: block;
    font-size: 12px;   
}
p.scroll-info {
    margin-bottom: 0 !important;
}
}

    :is(.tcdce-body, .editor-styles-wrapper) ul.support-list {
    padding-left: 0;
    }
@media screen and (max-width: 767px) {
    :is(.tcdce-body, .editor-styles-wrapper) ul.support-list {
    padding: 0;
    }
    ul.support-list {
        display: block;
    }
}
.support-list li {
    width: 33.3333%;
    list-style: none;
    display: flex;
    flex-direction: column;
    height: 100%;
    }
@media screen and (max-width: 767px) {
.support-list li {
    width: 100%;
    list-style: none;
    margin-bottom: 46px;
}
}
:is(.tcdce-body, .editor-styles-wrapper) .support-list li {
    list-style: none;
}
.support-list li .top {
    width: 100%;
    height: var(--thumbs-size-pc);
    position: relative;
}
@media screen and (max-width: 767px) {
.support-list li .top {
    height: var(--thumbs-size-sp);
    }
}
:is(.tcdce-body, .editor-styles-wrapper) .top__image img {
    width: 100%;
    height: var(--thumbs-size-pc);
    object-fit: cover;
}
@media screen and (max-width: 767px) {
:is(.tcdce-body, .editor-styles-wrapper) .top__image img {
    height: var(--thumbs-size-sp);
    }
}
.top__image img{
    width: 100%;
    height: var(--thumbs-size-pc);
    object-fit: cover;
}
@media screen and (max-width: 767px) {
.top__image img{
    height: var(--thumbs-size-sp);
    }
}
.support-list li .top p {
    height: 30px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    text-align: center;
    color: #ffffff;
}
.support-list li .bottom {
    text-align: center;
    padding: 0 24px 24px 24px;
     display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; /* 高さ揃える（親が揃ってる前提） */
    letter-spacing: -0.02em; /* 字間を少し詰める */
}
@media screen and (max-width: 767px) {
    .support-list li .bottom {
        padding: 0 16px 16px 16px;
    }
}
.support-list li .bottom .btn {
	font-size: 14px;
	border: 1px solid #666;
	text-align: center;
	/* max-width: 200px; */
    width: 200px;
	margin: 20px auto;
	font-family: 'Noto Serif JP', serif;
      margin-top: auto; /* 常に一番下に配置される */
  display: inline-block;
}
.support-list li .bottom .btn a {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 200px;
    padding: 10px 25px;
    color: #313131;
    transition: 0.3s ease-in-out;
    font-family: 'Noto sans JP', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
}

.support-list li .bottom .btn a:before {
    content: '';
    position: absolute;
    top: calc(50% - 2px);
    right: -2em;
    transform: translateY(calc(-50% - 1px)) rotate(30deg);
    width: 12px;
    height: 1px;
    background-color: #000000;
    transition: 0.3s;
}
.support-list li .bottom .btn a:after {
    content: '';
    position: absolute;
    top: 50%;
    right: -2em;
    transform: translateY(-50%);
    width: 60px;
    height: 1px;
    background-color: #000000;
    transition: 0.3s;
}
.support-list li .bottom .btn a:hover:before, .support-list li .bottom .btn a:hover:after {
    right: -2.5em;
}
.support-list li .bottom a:hover {
    text-decoration: none;
    background: #dddddd;
    color: #000000;
}


.support-list li .bottom h3 {
    margin-top: 24px;
}

@media screen and (max-width: 767px) {
    .support-list li .bottom h3 {
        margin-top: 16px;
        margin-bottom: 4px;
    }
}
/* .support-list li .bottom p {
    padding: 8px;
} */
@media screen and (max-width: 767px) {
.support-list li .bottom p {
    margin: 0;
    padding: 0;
    text-align: left;
}
}
.support_genre-all {
    background-color: #FFCC00;
}
.support_genre-naisou {
    background-color: #FF4E50;
}
.support_genre-baibai {
    background-color: #AF52DE;
}
.support_genre-kanri {
    background-color: #317ADA;
}


/* 横長カード部分 */


.wide-card_wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    border: solid 1px #DDDDDD;
    align-items: stretch; 
}
@media screen and (max-width: 767px) {
.wide-card_wrap {
    display: block;
}
}
.wide-card_wrap .left {
    width: 40%;
    position: relative;
}
@media screen and (max-width: 767px) {
.wide-card_wrap .left {
    width: 100%;
    height: 200px;
}
}
.wide-card_wrap .left .thumbs {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
}
.wide-card_wrap .left .thumbs img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.wide-card_wrap .left .support_genre-all {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 30px;
    padding: 8px;
    color: #222222;
    background-color: #FFCC00;
    text-align: center;
    line-height: 1;
}
.wide-card_wrap .right {
    width: 60%;
    padding: 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

@media screen and (max-width: 767px) {
.wide-card_wrap .right {
    width: 100%;
}
}
.wide-card_wrap .right h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 12px;
}
@media screen and (max-width: 767px) {
.wide-card_wrap .right h3 {
    margin-bottom: 0;
    font-size: 16px;
}
}
.wide-card_wrap .right h3 span {
    display: block;
    font-size: 2.5vw;
    margin-top: 8px;
    margin-bottom: 16px;
    line-height: 1.5;
}
@media screen and (max-width: 767px) {
.wide-card_wrap .right h3 span {
    font-size: 24px;
    margin-top: 16px;
}
}
.wide-card_wrap .right .read{
    font-size: 18px;
    font-weight: bold;
    background-color: #111111;
    color: #ffffff;
    width: 150px;
    height: 30px;
    text-align: center;
    line-height: 1.7;
}
.wide-card_wrap .right .contents{
    color: #111111;
}
@media screen and (max-width: 767px) {
.wide-card_wrap .right .contents{
line-height: 1.5;
}
}

/* ======================== */
/* contact form7　確認画面カスタマイズ */
/* ======================== */
button.wpcf7cp-cfm-edit-btn {
    display: block;
    margin: 0 auto;
    background: #dddddd;
    border-radius: 30px;
    width: 90px;
    border: none;
    padding: 4px 16px;

}


/* ======================== */
/* 戸建て収益実例紹介　アイキャッチ部分画像位置カスタマイズ */
/* ======================== */

#staff_content_type2 #staff_header .main_image img {
    object-position: center;
}

/* ======================== */
/* 固定ページ　スクロールコンテンツカスタマイズ */
/* ======================== */

@media screen and (min-width: 768px) {
    .scroll_content.active .scroll_content_section.active .item:nth-child(2){
        font-size: 48px !important;
    }
    .scroll_content.active .scroll_content_section.active .item:nth-child(3) p {
        font-size: 18px !important;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .scroll_content_section:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .footer {
    padding-bottom: 0 !important;
  }
}