/*
Theme Name: Confertech Child
Theme URI: https://confertech.jp/
Description: TCD TOKI 子テーマ - Confertech カスタマイズ用
Author: Kinotec Inc.
Author URI: https://kinotec.co.jp/
Template: toki_tcd069
Version: 1.0.6
Text Domain: confertech-child
*/

/* TOKI親テーマのスタイルを尊重し、カスタムは最小限にとどめる */

/* Servicesセクション：タイトル可読性のため軽い影だけ（背景はTOKI標準のグラデを使用） */
#shop_category_list .title {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Case Studiesセクション：背景写真の上に黒の半透明オーバーレイで全体を暗く */
#index_find_list {
    position: relative;
}
#index_find_list::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1;
    pointer-events: none;
}
#index_find_list > * {
    position: relative;
    z-index: 2;
}

/* ロゴ画像のサイズ */
#header_logo img {
    max-height: 22px !important;
    max-width: 140px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
}
@media (max-width: 768px) {
    #header_logo img {
        max-height: 20px !important;
        max-width: 110px !important;
    }
}

/* PCヘッダー: ロゴ直後にメニューを並べて、画面幅によらず間隔を一定に */
@media (min-width: 769px) {
    #header_inner {
        display: flex !important;
        align-items: center !important;
        gap: 40px;
    }
    #header_logo {
        position: static !important;
        -webkit-transform: none !important;
        -ms-transform: none !important;
        transform: none !important;
        flex: 0 0 auto !important;
    }
    .pc #global_menu {
        flex: 1 1 auto !important;
    }
    .pc #global_menu > ul {
        text-align: left !important;
    }
}

/* Contact Form 7 のフォーム調整のみ（テーマ非依存） */
.wpcf7 label {
    display: block;
    margin-bottom: 1.4em;
    font-weight: 600;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 16px;
    margin-top: 6px;
    font-weight: normal;
    box-sizing: border-box;
}
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: #9a0000;
}

/* find_tab_content の赤丸 headline を正円に保つ
   （.post_content h2 の padding:10px 0 0 0 で縦長になるのを打ち消す） */
.post_content .find_tab_content .headline {
    width: 130px;
    height: 130px;
    line-height: 130px;
    padding: 0;
    font-size: 20px;
    box-sizing: border-box;
}

