/* 親テーマの responsive.min.css の設定を上書きします */

/* -------------------------------------------------------------------------- */
/* グローバルメニュー */
/* -------------------------------------------------------------------------- */
/* 折りたたみ時のサブメニューを展開するボタン */
@media only screen and (max-width: 1200px) {
    .p-global-nav .menu-item-has-children > a > span::before {
        border: 1px solid #fff;
        color: #fff;
    }
}

/* -------------------------------------------------------------------------- */
/* トップページのスライダーのキャッチフレーズ、説明文ボックス */
/* -------------------------------------------------------------------------- */
@media only screen and (max-width: 500px) {
    .p-index-slider__item-desc {
        padding-left: 0;
    }
}

@media only screen and (max-width: 767px) {
    .p-index-slider__item-catch img {
        max-width: 100%;
        max-height: 90px;
    }
    .p-index-slider__item-desc {
        padding-left: 10px;
    }
}

/* -------------------------------------------------------------------------- */
/* トップページのキャッチフレーズ */
/* -------------------------------------------------------------------------- */
@media only screen and (max-width: 767px) {
    .p-index-content01__catch img {
        max-width: 100%;
        max-height: 30px;
    }
}

/* -------------------------------------------------------------------------- */
/* トップページのショーケース */
/* -------------------------------------------------------------------------- */
@media only screen and (max-width: 767px) {
    .p-showcase__catch img {
        width: auto;
        max-height: 30px;
    }
    .p-showcase .p-showcase__image {
        position: static;
    }
}

/* -------------------------------------------------------------------------- */
/* トップページの連絡先 */
/* -------------------------------------------------------------------------- */
@media only screen and (max-width: 767px) {
    #access-map .logo-box img {
        margin-top : 0;
    }
}

/* -------------------------------------------------------------------------- */
/* トップページのアクセスマップ */
/* -------------------------------------------------------------------------- */
@media only screen and (max-width: 767px) {
    #access-map div {
        font-size : 14px;
    }
    #access-map .post_col-2.gmap{ position:relative; width:100%; aspect-ratio:1; }
    #access-map .post_col-2.gmap iframe{ position:absolute; top:0; left:0; width:100%; height:100%; }
}

@media screen and (min-width: 768px) {
    #access-map .post_col-2.gmap{ position:relative; width:50%; aspect-ratio:1; }
    #access-map .post_col-2.gmap iframe{ position:absolute; top:0; left:0; width:100%; height:100%; }
}

/* -------------------------------------------------------------------------- */
/* ブログ */
/* -------------------------------------------------------------------------- */
@media only screen and (max-width: 767px) {
    .p-page-header__date {
        font-size: 14px;
    }
}

/* -------------------------------------------------------------------------- */
/* 固定ページのヘッダー */
/* -------------------------------------------------------------------------- */
@media only screen and (max-width: 767px) {
    .p-page-header__title {
        font-size: 28px !important;
    }

    .p-page-header__inner span.title_sub {
        font-size: 14px !important;
    }

    .p-page-header__desc {
        font-size: 14px !important;
        text-align: center;
    }
}

/* -------------------------------------------------------------------------- */
/* 共通 */
/* -------------------------------------------------------------------------- */
@media only screen and (max-width: 767px) {
    h3.normal-title {
        font-size : 20px;
    }
}


/* -------------------------------------------------------------------------- */
/* 税理士紹介 */
/* -------------------------------------------------------------------------- */
@media only screen and (max-width: 767px) {
    div.profile-detail {
        font-size: 14px;
        line-height: 2;
    }
    table.profile-detail td {
        font-size: 14px;
        line-height: 2;
    }
    div.accountant-desc {
        font-size: 14px;
        line-height: 2;
        text-align: left;
    }
}

/* -------------------------------------------------------------------------- */
/* 取り扱い業務 */
/* -------------------------------------------------------------------------- */
@media only screen and (max-width: 767px) {
    h3.biz-title {
        font-size : 20px;
    }
    div.biz-desc {
        font-size: 14px;
        line-height: 2;
        text-align: left;
    }
}

/* -------------------------------------------------------------------------- */
/* 契約の流れ */
/* -------------------------------------------------------------------------- */
@media only screen and (max-width: 500px) {
    .agreement-content h3 img.size-full {
        max-width: 80%;
    }
    .agreement-contact {
        font-size: 16px;
        padding: 20px;
    }
    .p-entry__body a.agreement-contact-btn {
        font-size: 12px;
        height: 32px;
        padding-top : 13px;
    }
}

/* -------------------------------------------------------------------------- */
/* 税理士費用 */
/* -------------------------------------------------------------------------- */
@media only screen and (max-width: 767px) {
    ul.fee-desc li {
        font-size: 14px;
        line-height: 2;
        margin-bottom: 5px;
    }
    div.fee-note {
        line-height: 1.5;
    }
    div.fee-table th {
        font-size: 13px;
        line-height: 1.5;
    }
    div.fee-table td {
        font-size: 12px;
        line-height: 1.5;
        padding: 10px 5px 7px;
    }
    div.fee-table ul.fee-desc li {
        font-size: 13px;
        margin-bottom: 0;
    }
    div.post_row div.fee-appendix1 {
        width: 100%;
        text-align: left;
        margin-bottom: 0;
    }
    div.post_row div.fee-appendix1 h4 {
        margin-bottom: 0;
    }
    div.post_row div.fee-appendix2 {
        width: 100%;
    }
}

/* -------------------------------------------------------------------------- */
/* 問合せフォーム */
/* -------------------------------------------------------------------------- */
@media only screen and (max-width: 767px) {
    .wpcf7 form {
        margin: 5em 0 0;
    }

    .contact-form {
        padding-top: 20px;
    }


    .contact-form-row .contact-form-label {
        width: 100%;
        padding-top: 0;
        margin-bottom: 5px;
    }

    .contact-form-row .contact-form-input {
        width: 100%;
    }
    
    .contact-form-row .item-name {
        padding-left: 0;
    }

    .wpcf7-radio {
        padding-top: 0;
    }

    .contact-form-multi-ans {
        margin-top: 0;
    }

    .contact-form .contact-form-desc {
        padding-top: 0;
    }

    .wpcf7-form-control-wrap input[type=text],
    .wpcf7-form-control-wrap input[type=tel],
    .wpcf7-form-control-wrap input[type=email],
    .wpcf7 textarea {
        padding: 10px;
    }


}

/* -------------------------------------------------------------------------- */
/* フッター */
/* -------------------------------------------------------------------------- */
.l-footer {
    padding-top : 0;
}

