/*
Theme Name: aider_tcd115_custom
Template: aider_tcd115
*/


/* 空のpタグを非表示 */
p:empty {
    display: none;
}


/* サービスページにて、オリジナルのパンくずを表示する為、既存のパンくずを非表示 */
.single-service .c-breadcrumb + .c-breadcrumb {
    display: none;
}


/* 固定ページで「page__custom」テンプレートを使用している場合のスタイル */
.page-template-page__custom .l-container:before {
    content: "";
    width: 100%;
    height: 370px;
    background-image: url(assets/img/h2-header_price.jpg);
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}
.page-template-page__custom .p-single-service-header {
    margin-top: 300px;
}
@media screen and (max-width: 940px) {
    .page-template-page__custom .tcdce-body {
        padding-inline: 20px;
    }
}
@media screen and (max-width: 767px) {
    .page-template-page__custom .l-container:before {
    height: 240px;
    background-image: url(assets/img/h2-header_price.jpg);
    }
.page-template-page__custom .p-single-service-header {
    margin-top: 140px;
}

}

/* スマホ時でもfooterMenuを表示させる */
.p-footer-nav.p-footer-nav--pc {
    display: grid;
}

/* 注釈文用のCSS */
.original_font12 {
    font-size: 12px;
    border: 1px solid #000000;
    margin-inline: 12em !important;
    padding: 2em;
}
@media screen and (max-width: 767px) {
    .original_font12 {
        font-size: 10px;
        margin-inline: 0 !important;
        padding: 1em;
    }
}

.underline {
    text-decoration: underline;
}
.underline:hover {
    opacity: 0.7;

}

/* TOPページのh2変更 */

.home h2 {
    font-size: 34px;
    line-height: 1.6;
}

@media screen and (max-width: 767px) {

    .home h2 {
        font-size: 26px;
    }
}

/* PAGE TOPボタン */
.pageTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    width: 50px;
}


/* TOPページのサービスリスト */
.home .topReadText {
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
}

.topServiceList {
    display: grid;
    gap: 20px;
    padding-left: 0 !important;
}
.topServiceList.borderNone .topServiceList__item{
    border: none;
}
.topServiceList.column01 {
    display: flex;
    justify-content: center;
}
.topServiceList.column02 {
    grid-template-columns: repeat(2, 1fr);
}
.topServiceList.column03 {
    grid-template-columns: repeat(3, 1fr);
}
.topServiceList.column04 {
    grid-template-columns: repeat(4, 2fr);
}

.topServiceList__item {
    list-style: none !important;
    border: 2px solid #990000;
    border-radius: 10px;
    padding: 1.5em;
}
.topServiceList__item__link:hover {
    text-decoration: none;
    opacity: 0.8;
}

img.topServiceList__item__picture__img {
    width: 100%;
    object-fit: cover;
}

.topServiceList__item__details__ttlBox {
    display: flex;
    column-gap: 0.5em;
    align-items: center;
}
.topServiceList__item__details__icon {
    width: 8%;
    height: fit-content;
}
@media screen and (max-width: 767px) {

.topServiceList__item__details__icon {
    width: 20%;
    height: fit-content;
}
}

.topServiceList__item__details__ttl {
    /* text-align: center; */
    font-size: 20px;
    /* padding-inline: 0.6em;
    padding-top: 0.4em; */
    /* padding-bottom: 0.6em; */
    /* border-bottom: 1px solid #000; */
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.topServiceList__item__details__text {
    padding-top: 1em;
    margin-bottom: 0;
    color: #000;
    margin-bottom: 0 !important;
}

@media screen and (max-width: 767px) {

    .topServiceList {
        grid-template-columns: repeat(1, 1fr) !important;
    }

}


.home .p-cb-split-height_type2 {
    column-gap: 2.8em;
}

.home .p-sc-text-layout_right_slippage_left, .home .p-sc-img-layout_right_slippage_right {
    background-color: #ffffff !important;
    border: 2px solid #990000;
    border-radius: 10px;
}
@media screen and (max-width: 767px) {
.home .p-sc-text-layout_right_slippage_left, .home .p-sc-img-layout_right_slippage_right {
    border: none;
    border-radius: 0px;
}
}
.home .p-sc-text-layout_right_slippage_left .p-cb-split-main_catch, .home .p-sc-img-layout_right_slippage_right .p-cb-split-main_catch {
    color: #990000;
}

.home .p-sc-text-layout_right_slippage_left .p-cb-split-sub_catch, .home .p-sc-img-layout_right_slippage_right .p-cb-split-sub_catch {
    color: #000000;
}



@media screen and (min-width: 768px) {
    .p-footer-banner {
    grid-template-columns: repeat(4, 1fr);
}
}


/* 以下はTOPページのスライダー設定 */
/* スライド1枚ごとの左右余白 */
.wpsisac-slick-slider .slick-slide, .wpsisac-slick-carousal .slick-slide {
  padding: 0 6px !important; /* ← ここで余白調整 */
  box-sizing: border-box;
}


/* タブレット以上の時はarror非表示 */
@media screen and (min-width: 639px) {
    .slick-arrow {
        display: none !important;
    }
}


.original-footer {
    border-image: linear-gradient(#F0EFE1) fill 0 / 1 / 0 100vi;
}
.original-footer__list {
    display: flex;
    justify-content: center;
    gap: 1.2em;
    padding-block: 50px;
}
@media screen and (max-width: 767px) {
    .original-footer__list {
        flex-direction: column;
        align-items: center;
        padding-block: 20px;
    }
}


.home .c-button01 {
    background-color: #990000;
    color: #ffffff;
    border: 1px solid #990000;
}
.home .c-button01:hover {
    background-color: #ffffff;
    color: #990000;
    text-decoration: none;
}


.p-sc-img-layout_right_slippage_right, .p-sc-text-layout_right_slippage_left {
    margin-top: 75px;
}

@media screen and (max-width: 767px) {

    .p-cb {
        row-gap: 100px;
    }

    section.p-cb-layout .p-cb-split_inner {
        display: flex;
        flex-direction: column-reverse;
    }

    section.p-cb-layout:nth-of-type(2n) .p-cb-split_inner {
        flex-direction: column;
    }
}
.home #section-260 .p-cb-split-image {
    aspect-ratio: 0;
    height: auto;
}
.home #section-260 .c-cover {
    height: auto;
}

@media screen and (max-width: 767px) {
    .home .p-cb-button {
        margin-top: 0;
    }
}

.box-784 {
    max-width: 330px;
    margin-inline: auto;
}