/*
Theme Name:AIDER child
Theme URI:https://tcd-theme.com/tcd115
Description:WordPressテーマ「AIDER」の子テーマ
Template:aider_tcd115
Author:TCD
Author URI:https://tcd-theme.com/
Version:1.0
*/

/*
  ここから下にCSSを追記してください。
*/
.p-mv2__slide_img_item img.c-cover {
    object-position: top;
}
.p-cd-service_item_desc span {
    --tcd-line-clamp: 5;
}
.p-header-nav__list>li>ul {
    min-inline-size: 260px;
}
.c-archive-header__content {
    position: relative;
}
.c-archive-header__title_use_img {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    bottom: auto !important;
    width: 100%;
    text-align: center;
    padding: 0 !important;
    margin: 0 !important;
    background-color: transparent;
}
.c-archive-header__title_use_img h1 {
    font-size: 36px !important;
    font-weight: bold !important;
    letter-spacing: 0.1em;
}
.c-archive-header__content {
    aspect-ratio: 1450 / 250;
}


/* ==================================
サイトマップ
===================================== */
.wsp-pages-title {
    display: none;
}
.sitemap-block ul.wsp-pages-list {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap !important;
    flex-wrap: wrap !important;
    -ms-flex-pack: justify !important;
    justify-content: space-between !important;
}
.sitemap-block ul.wsp-pages-list li {
    list-style: none;
    width: calc(50% - 20px);
    border-top: 1px solid #ccc;
    margin-bottom: 0px;
}
.sitemap-block ul.wsp-pages-list li a {
    display: block;
    padding: 20px 10px;
    position: relative;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    padding-right: 50px;
    color: var(--main_color);
}
.sitemap-block ul.wsp-pages-list li a:hover {
    background-color: #f5f5f5;
}
.sitemap-block ul.wsp-pages-list li a::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 25px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    z-index: 1;
    background: url(/wp/wp-content/uploads/2026/07/arrow.png) no-repeat 90% / 16px auto;
    -webkit-transition: all .4s;
    -o-transition: all .4s;
    transition: all .4s;
}
.sitemap-block ul.wsp-pages-list li a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: #0085b2;
    z-index: 0;
    padding: 10px;
    border-radius: 100px;
    -webkit-transition: all .4s;
    -o-transition: all .4s;
    transition: all .4s;
}
.sitemap-block ul.wsp-pages-list li.page-item-1050 a::after {
    display: none;
}
.sitemap-block ul li.page_item_has_children a {
    border-bottom: 1px solid #ccc;
}
.sitemap-block ul.children li {
    width: 100%;
    border: none;
    margin-bottom: 0;
}
.sitemap-block ul.children li a {
    font-size: 16px;
    padding: 10px;
    padding-right: 50px;
}
.sitemap-block ul.children li a::after {
    display: none;
}

.sitemap-block ul.children li a::before {
    background: url(/wp/wp-content/uploads/2026/07/arrow.png) no-repeat 90% / 16px auto;
}
@media only screen and (max-width: 690px) {
    .sitemap-block ul.wsp-pages-list li {
        width: 100%;
    }
    .sitemap-block ul.wsp-pages-list li a {
        padding-right: 80px;
    }
    #pagewrap .contents .contents_inner .titlewrap h1 span:last-child {
        font-size: 1.5rem;
        text-shadow: 0 0 3px #0b3190, 0 0 2px #0b3190;
    }
}


/* お問い合わせ */
.post_content th {
    vertical-align: top;
}
.wpcf7-list-item {
    margin: 0;
}
div#seimei {
    display: flex;
}
div#seimei p {
    display: flex;
    align-items: center;
}
div#seimei div {
    width: 124px;
}
.sei {
    margin-right: 1em;
}
.pad {
    padding: 0 0.4em;
}
p.under_p a {
    color: #2A86FF;
    text-decoration: underline;
}
p.under_p a:hover {
    color: #87caff;
}
.wpcf7 p {
    margin: 0;
    font-size: 16px !important;
}
.wpcf7 select,
.wpcf7 .wpcf7-list-item-label {
    line-height: 1.2;
    font-size: 16px !important;
}
p.CF7_btn {
    text-align: center;
}
.wpcf7 input.wpcf7-submit {
    background-color: #0085b2;
    border: 1px solid #0085b2 !important;
    color: #fff;
    font-size: 1.2em;
    font-weight: bold;
    margin: 0 auto;
    height: 81px;
    width: 330px;
}
.wpcf7 .wpcf7-submit:hover,
button#confirmBtn:hover,
button#backBtn:hover {
    background-color: #ffffff;
    color: #0085b2;
}
.wpcf7 {
    border: none !important;
    background: #fff !important;
}
.wpcf7 input,
.wpcf7 textarea {
    background: #f3f3f3;
}

input.age {
    width: 100px;
}
.post_content td,
.post_content th {
    border: none !important;
}
tr {
    border-bottom: 1px solid #d8d8d8;
}
.post_content th {
    background: #fff !important;
    text-align: left;
}
.CF7_req {
    font-size: .9em;
    padding: 5px;
    background: #dd0f00;
    color: #fff;
    margin-right: 1em;
}
.CF7_nini {
    font-size: .9em;
    padding: 5px;
    background: #9A9A9A;
    color: #fff;
    margin-right: 1em;
}
.CF7_table {
    border: none !important;
}
div#confirm_area h3 {
    font-size: 20px;
}
#project_list .title {
    border: 1px solid #ddd;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
}
.post_content p {
    line-height: 1.8;
}
#index_project .catchphrase .headline {
    font-weight: 400;
}
#index_news .catchphrase .headline {
    font-weight: 400;
}
.wpcf7-list-item {
    margin: 0 !important;
}
.CF7_table th {
    text-align: left;
}
.under_p {
    margin-top: 1rem !important;
}

.h2_midashi {
    color: #0085B2 !important;
    font-size: 32px !important;
    font-weight: bold;
    margin-bottom: 12px !important;
    padding-left: 20px !important;
    text-align: left !important;
    position: relative;
}
.h2_midashi:before {
    content: '●' !important;
    color: #0085B2 !important;
    font-size: 14px !important;
    position: absolute !important;
    top: 16px !important;
    left: 0px !important;
}
.dlb_table_02 tr:nth-child(odd) td {
    background-color: #f5f5f5;
}
.dlb_table_02 tr:nth-child(odd) td:first-child,
.dlb_table_02 td:first-child {
    background-color: #0085b2;
    color: #ffffff;
    font-weight: bold;
    border-bottom: 1px solid #FFF !important;
}
/* 代表挨拶エリアの横並び設定 */
.p-daihyo-wrap {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 30px;
}
.p-daihyo-img {
    width: 30%;
    flex-shrink: 0;
    text-align: center;
}
.p-daihyo-img img {
    width: 70%;
    height: auto;
    vertical-align: bottom;
}
.p-daihyo-text {
    width: 65%;
}

.lh-2 {
    line-height: 2 !important;
}
.col2_m_221 {
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.col2_m_221>.col {
    width: calc(50% - 20px);
    margin-right: 40px;
}
.col2_m_221>.col:nth-child(2n) {
    margin-right: 0;
}
.dlb_map_bg {
    padding: 20px;
    background-color: #F5F5F5;
}
p:empty {
    display: none !important;
}
.p-single-service-header,
.service_list_contents {
    width: 1000px !important;
}
.service_list_main_type2 {
    padding: 50px 30px;
}
/* PCでの電話リンク無効化を解除する */
.is-desktop a[href*="tel:"] {
    pointer-events: auto;
    cursor: pointer;
}
.p-footer-button__overlay {
    background-color: #0085B2 !important;
}
.p-footer-button_item {
    color: #000;
    background-color: #fff;
}
.footer-button_phone_icon {
    fill: #0085B2;
}
.footer-button_link_icon {
    fill: #fff;
    justify-content: center;
    display: flex;
}
.p-footer-button__link_contents {
    background-color: #004C66;
    padding: 20px 30px;
    border-radius: 50px;
    color: #fff;
}
.page-id-90 .my-tab-nav_inner,
.page-id-119  .my-tab-nav_inner {
    display: none;
}
.c-logo__image {
    height: 100px;
}

@media screen and (min-width: 1025px) {
    .p-mv2 {
        max-height: 75vh;
    }
}

@media screen and (min-width: 767px) {
    .hoken .wpcf7-list-item {
        width: 4em;
    }
    .wpcf7-list-item {
        width: calc(60% / 2 - 20px);
    }
    .CF7_table {
        width: 100% !important;
        margin: 0 auto 2em;
    }
    .CF7_table th {
        width: 25%;
        text-align: left;
    }
    .wpcf7-list-item.first.last {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    body.page #page_contents .post_content {
        width: 100% !important;
        margin: 0 auto !important;
    }
    .post_content td,
    .post_content th {
        display: block;
    }
    .post_content th {
        padding-top: 1em;
    }
    .post_content td,
    .post_content th {
        padding: 5px 0 19px 0;
    }
    body.page #main_contents {
        padding: 0;
    }
    div#seimei div {
        width: 100px;
    }
    .sei {
        padding-right: 10px;
    }
    .wpcf7 input.wpcf7-submit {
        width: 100%;
    }
    .p-daihyo-wrap {
        flex-direction: column;
        gap: 20px;
    }
    .p-daihyo-img,
    .p-daihyo-text {
        width: 100%;
    }
    .p-single-service-header,
    .service_list_contents {
        width: 90% !important;
    }
    .col2_m_221>.col {
        width: 100%;
        margin-right: 0px;
    }
    .CF7_table,
    .CF7_table tbody,
    .CF7_table tr,
    .CF7_table th,
    .CF7_table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    /* 見出し（th）の装飾調整 */
    .CF7_table th {
        border-bottom: none;
        /* 下線を消す（デザインに応じて調整してください） */
        padding-bottom: 5px;
        /* 入力欄との隙間を調整 */
    }

    /* 入力エリア（td）の装飾調整 */
    .CF7_table td {
        padding-top: 5px;
        padding-bottom: 20px;
        border-top: none;
    }

    /* 入力フィールドの幅を100%にする */
    .CF7_table input[type="text"],
    .CF7_table input[type="email"],
    .CF7_table input[type="tel"],
    .CF7_table textarea {
        width: 100%;
        box-sizing: border-box;
        max-width: 100%;
        /* はみ出し防止 */
    }
    .service_list_main_type2 .service_list_item {
        padding-left: 1em;
        /* 全体（2行目以降含む）を全角1文字分、右にずらす */
        text-indent: -1em;
        /* 1行目（「・」の部分）だけを全角1文字分、左に戻す */
        line-height: 1.5;
    }
}