/*
 Theme Name: KADAN child
 Template: kadan_tcd056
 Version: 1.15
*/
body{
    overflow-x: hidden;
}
.p-section-header__headline--vertical .p-section-header__headline-inner,
.p-page-header__headline--vertical .p-page-header__headline-inner{
    white-space: normal;
    height: 100%;
    word-break: auto-phrase;
    text-align: center;
    padding: 5px 0;
    box-sizing: border-box;
}
.p-recommended-plan__list{
    justify-content: center;
    gap: 30px;
}
.p-info__logo{
    width: 100%;
}
.p-info__logo a{
    width: 100%;
    word-break: auto-phrase;
}
.p-credit{
    padding: 20px 0;
}
.p-credit__inner{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}
.p-credit__ttl span{
    display: block;
    font-size: 15px;
    margin-bottom: 10px;
}
.p-credit__ttl h4{
    width: 296px;
    margin: 0;
}
.p-credit__ttl h4 img{
    width: 100%;
}
.p-credit__address{

}
.p-credit__address p{
    font-size: 15px;
    line-height: 1.5;
}
.p-plan-list{
    display: none;
}
.p-article09 a{
    pointer-events: none;
}
.p-footer-nav{
    padding: 0 40px;
    flex-wrap: wrap;
}
.p-page-header__upper{
    background-size: cover;
}
body.blog .p-page-header__upper,
body.page-id-87 .p-page-header__upper,
body.page-id-145 .p-page-header__upper,
body.page-id-148 .p-page-header__upper,
body.post-type-archive-plan .p-page-header__upper,
body.post-type-archive-news .p-page-header__upper{
    background-position: center;
}
.p-block02__item-desc .custom-btn{
    color: #000;
    background-color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    border: 1px solid;
}
.p-block01__item:nth-child(even) .p-block01__item-desc,
.p-block01__item:nth-child(odd) .p-block01__item-desc,
.p-block01--rev .p-block01__item:nth-child(even) .p-block01__item-desc,
.p-block01--rev .p-block01__item:nth-child(odd) .p-block01__item-desc{
    padding-top: 15%;
    padding-bottom: 15%;
}
.p-block01__item:nth-child(even) .p-block01__item-desc{
    align-items: flex-end;
}
.p-block01__item:nth-child(odd) .p-block01__item-desc{
    align-items: flex-start;
}
.p-block01--rev .p-block01__item:nth-child(even) .p-block01__item-desc{
    align-items: flex-start;
}
.p-block01--rev .p-block01__item:nth-child(odd) .p-block01__item-desc{
    align-items: flex-end;
}
@media screen and (max-width: 991px){
    .p-block01__item:nth-child(even) .p-block01__item-desc,
    .p-block01__item:nth-child(odd) .p-block01__item-desc,
    .p-block01--rev .p-block01__item:nth-child(even) .p-block01__item-desc,
    .p-block01--rev .p-block01__item:nth-child(odd) .p-block01__item-desc{
        padding: 50px;
    }
}
@media screen and (max-width: 767px){
    .p-footer-nav{
        font-size: 13px;
        padding: 24px 20px;
    }
    .p-footer-nav li{
        line-height: 40px;
    }
    .p-credit{
        padding: 30px 0;
    }
    .p-credit__inner{
        flex-direction: column;
        gap: 20px;
    }
    .p-credit__ttl span{
        font-size: 13px;
    }
    .p-credit__address p{
        font-size: 13px;
    }
    .p-copyright{
        line-height: 1.2;
        display: flex;
        align-items: center;
        padding: 0 60px 0 10px;
    }
    .p-page-header__upper{
        height: 350px;
    }
    .p-section-header__upper{
        height: 350px;
    }
    .p-recommended-plan__list-item{
        width: 75%;
    }
    body.archive .p-article09__img{
        height: 200px;
    }
    .p-article09__title{
        font-weight: bold;
        margin-bottom: 8px;
    }
    .p-article09__excerpt{
        font-size: 12px;
        line-height: 1.6;
        display: block;
    }
    .p-block01__item:nth-child(even) .p-block01__item-desc,
    .p-block01__item:nth-child(odd) .p-block01__item-desc,
    .p-block01--rev .p-block01__item:nth-child(even) .p-block01__item-desc,
    .p-block01--rev .p-block01__item:nth-child(odd) .p-block01__item-desc{
        padding: 48px 35px;
    }
}