@charset "utf-8";
/* =====================================================================
   top-add.css  トップページ追加セクション用（index.php からのみ読み込み）
   2026-11-15 追加。既存の style.css / smstyle.css / common.css は変更なし。
   ===================================================================== */

/* ---------- 共通（PC基準） ---------- */
.ta-sec {
    width: 1080px;
    margin: 0 auto;
    padding: 10px 0 45px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.9;
    box-sizing: border-box;
}
.ta-sec *, .ta-bar, .ta-bar *, .ta-sheet, .ta-sheet * { box-sizing: border-box; }
.ta-sec p { margin: 0 0 12px; }
.ta-sec a { text-decoration: underline; }

/* 見出し：既存「会社概要」と同じ二重線 */
.ta-h2 {
    font-size: 23px;
    font-weight: 400;
    text-align: center;
    padding: 10px 0 5px;
    border-bottom: 1px solid #000000;
    margin-bottom: 3px;
    position: relative;
}
.ta-h2::after {
    content: "";
    display: block;
    position: absolute;
    left: 0; right: 0; bottom: -5px;
    border-top: 2px solid #000000;
}
.ta-lead { padding: 26px 20px 6px; }
.ta-note { font-size: 14px; color: #444444; padding: 0 20px; }
.ta-tel { font-weight: 700; color: #d70000 !important; white-space: nowrap; }

/* 既存要素を見出しタグに変えた分の見た目合わせ */
article#Top h2.OkBox { font-weight: 400; margin-top: 0; }
article#Top .OtherSbArea h2.OtherSbTitle { font-weight: 400; }
article#Top .CompanyArea h2.CompanyTitle { font-weight: 400; }
div.Header .HeadRBox p.ShopName { margin: 0; }

/* サービスカード */
.ta-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding-top: 10px;
}
.ta-card {
    background: #ffffff;
    border: 1px solid #000000;
    padding: 0 0 14px;
    scroll-margin-top: 10px;
}
.ta-card h3 {
    margin: 0 0 12px;
    padding: 6px 16px;
    background: #ff0000;
    color: #ffffff;
    font-family: 'Kosugi Maru', sans-serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
}
.ta-card p { padding: 0 18px; }
.ta-price {
    margin: 0 18px 12px;
    border: 2px solid #ff0000;
    background: #fffdf0;
}
.ta-price-h {
    background: #ffff00;
    border-bottom: 2px solid #ff0000;
    padding: 2px 12px;
    font-weight: 700;
    font-size: 15px;
}
.ta-price ul { padding: 4px 12px; }
.ta-price li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 4px 0;
    border-bottom: 1px dashed #bbbbbb;
}
.ta-price li:last-child { border-bottom: 0; }
.ta-price li b { font-size: 18px; white-space: nowrap; }
.ta-more { font-size: 14px; margin: 0 !important; }

/* 選ばれる理由 */
.ta-reason {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding-top: 30px;
}
.ta-reason li {
    background: #ffffff;
    border: 3px solid #ff0000;
    padding: 14px 18px 6px;
}
.ta-reason h3 {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
}
.ta-reason h3::before { content: "★"; color: #ff0000; margin-right: 6px; }
#reason { padding-bottom: 25px; }

/* 料金表 */
.ta-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    margin: 6px 0 18px;
}
.ta-table th, .ta-table td {
    border: 1px solid #000000;
    padding: 8px 14px;
    text-align: left;
    vertical-align: middle;
    font-weight: 400;
}
.ta-table thead th { background: #ff0000; color: #ffffff; text-align: center; font-weight: 500; }
.ta-table tbody th { background: #fff7c2; font-weight: 500; width: 26%; }
.ta-table .ta-yen { font-weight: 700; white-space: nowrap; width: 30%; }
.ta-table .ta-yen small { font-weight: 400; font-size: 13px; }
.ta-example {
    border: 1px solid #000000;
    background: #ffffff;
    padding: 12px 20px;
    margin-bottom: 14px;
}
.ta-example h3 { margin: 0 0 4px; font-size: 17px; font-weight: 700; }
.ta-example li { padding-left: 1em; text-indent: -1em; }
.ta-example li::before { content: "・"; }

/* ご依頼の流れ */
.ta-flow {
    list-style: none;
    margin: 0;
    padding: 30px 0 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    counter-reset: taflow;
}
.ta-flow li {
    counter-increment: taflow;
    background: #ffffff;
    border: 1px solid #000000;
    padding: 14px 16px 4px;
}
.ta-flow h3 { margin: 0 0 6px; font-size: 18px; font-weight: 700; line-height: 1.5; }
.ta-flow h3::before {
    content: counter(taflow);
    display: inline-block;
    width: 30px; height: 30px; line-height: 30px;
    margin-right: 8px;
    border-radius: 50%;
    background: #ff0000; color: #ffffff;
    text-align: center; font-size: 16px;
}
.ta-flow p { font-size: 15px; }

/* 対応エリア */
.ta-area {
    margin: 0 0 14px;
    background: #ffffff;
    border: 1px solid #000000;
    display: grid;
    grid-template-columns: 140px 1fr;
}
.ta-area dt, .ta-area dd { margin: 0; padding: 10px 16px; border-bottom: 1px solid #000000; }
.ta-area dt { background: #fff7c2; font-weight: 500; }
.ta-area dt:nth-last-of-type(1), .ta-area dd:last-child { border-bottom: 0; }
#area > p { padding-left: 20px; padding-right: 20px; }

/* よくある質問 */
.ta-faq { margin: 0; padding-top: 26px; }
.ta-faq dt {
    position: relative;
    margin: 0;
    padding: 10px 16px 10px 52px;
    background: #ffffff;
    border: 1px solid #000000;
    border-bottom: 1px dashed #999999;
    font-weight: 700;
}
.ta-faq dd {
    position: relative;
    margin: 0 0 14px;
    padding: 10px 16px 10px 52px;
    background: #ffffff;
    border: 1px solid #000000;
    border-top: 0;
}
.ta-faq dt::before, .ta-faq dd::before {
    position: absolute; left: 14px; top: 10px;
    width: 28px; height: 28px; line-height: 28px;
    border-radius: 50%; text-align: center; font-weight: 700; font-size: 15px;
}
.ta-faq dt::before { content: "Q"; background: #ff0000; color: #ffffff; }
.ta-faq dd::before { content: "A"; background: #ffff00; color: #000000; border: 1px solid #ff0000; line-height: 26px; }


/* 下部メニュー：PCでは非表示 */
.ta-bar, .ta-sheet, .ta-sheet-bg { display: none; }

/* ---------- スマホ（既存 smstyle.css と同じ 640px 以下） ---------- */
@media screen and (max-width: 640px) {
    .ta-sec { width: 100%; padding: 6px 2% 32px; font-size: 15px; line-height: 1.85; }
    .ta-h2 { font-size: 20px; line-height: 1.5; }
    .ta-lead { padding: 20px 4px 4px; }
    .ta-note { padding: 0 4px; font-size: 13px; }
    .ta-cards, .ta-reason { grid-template-columns: 1fr; gap: 14px; }
    .ta-reason { padding-top: 22px; }
    .ta-card h3 { font-size: 20px; }
    .ta-card p { padding: 0 12px; }
    .ta-price { margin: 0 12px 12px; }
    .ta-price li b { font-size: 17px; }
    .ta-reason h3 { font-size: 18px; }

    .ta-table th, .ta-table td { padding: 6px 8px; font-size: 14px; line-height: 1.6; }
    .ta-table thead { display: none; }
    .ta-table, .ta-table tbody, .ta-table tr, .ta-table th, .ta-table td { display: block; width: auto; }
    .ta-table { border: 1px solid #000000; }
    .ta-table th, .ta-table td { border: 0; }
    .ta-table tbody th { width: auto; background: #ff0000; text-align: center; }
    .ta-table tbody th a { color: #ffffff; text-decoration: none; }
    .ta-table tr { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; border-bottom: 1px dashed #bbbbbb; }
    .ta-table tr th { flex: 0 0 100%; }
    .ta-table tr td { flex: 1 1 auto; }
    .ta-table .ta-yen { width: auto; text-align: right; flex: 0 0 auto; }
    .ta-example { padding: 10px 12px; }

    .ta-flow { grid-template-columns: 1fr; gap: 10px; padding-top: 22px; }
    .ta-area { grid-template-columns: 1fr; }
    .ta-area dt { border-bottom: 0; padding: 6px 12px; }
    .ta-area dd { padding: 8px 12px; }
    .ta-area dt:nth-last-of-type(1) { border-bottom: 0; }
    #area > p { padding-left: 4px; padding-right: 4px; }
    .ta-faq { padding-top: 20px; }
    .ta-faq dt, .ta-faq dd { padding: 10px 10px 10px 46px; }
    .ta-faq dt::before, .ta-faq dd::before { left: 9px; }

    article#Top h2.OkBox { font-size: 16px; line-height: 24px; }

    /* 下部固定バー */
    div.Footer { padding-bottom: 84px; }
    #pageTop { bottom: 76px; }
    .ta-bar {
        display: grid;
        grid-template-columns: 1fr 1.25fr 1fr 0.9fr;
        position: fixed;
        left: 0; right: 0; bottom: 0;
        z-index: 40;
        background: #ffffff;
        border-top: 1px solid #bbbbbb;
        padding-bottom: env(safe-area-inset-bottom);
        font-family: 'Noto Sans JP', sans-serif;
    }
    .ta-bar a, .ta-bar button {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1px;
        min-height: 58px;
        margin: 0;
        padding: 4px 2px;
        border: 0;
        border-radius: 0;
        font: inherit;
        font-size: 12px;
        font-weight: 700;
        line-height: 1.3;
        color: #ffffff !important;
        text-decoration: none;
        cursor: pointer;
        -webkit-appearance: none;
        appearance: none;
    }
    .ta-ico { display: block; height: 22px; line-height: 0; }
    .ta-ico svg { width: 22px; height: 22px; }
    .ta-bar-tel { background: #d70000; }
    .ta-bar-line { background: #04913f; }
    .ta-bar-form { background: #555555; }
    .ta-bar-menu { background: #222222; }
    .ta-bar a:focus-visible, .ta-bar button:focus-visible { outline: 3px solid #ffcc00; outline-offset: -3px; }

    /* メニューシート */
    .ta-sheet-bg {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 38;
        background: rgba(0, 0, 0, .45);
    }
    .ta-sheet {
        display: block;
        position: fixed;
        left: 0; right: 0;
        bottom: calc(58px + env(safe-area-inset-bottom));
        z-index: 39;
        max-height: 72vh;
        overflow-y: auto;
        background: #ffffff;
        border-top: 3px solid #d70000;
        border-radius: 14px 14px 0 0;
        font-family: 'Noto Sans JP', sans-serif;
        -webkit-overflow-scrolling: touch;
    }
    .ta-sheet[hidden], .ta-sheet-bg[hidden] { display: none; }
    .ta-sheet-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 6px 8px 6px 18px;
        border-bottom: 1px solid #dddddd;
        font-size: 16px;
    }
    .ta-sheet-close {
        width: 48px; height: 48px;
        border: 0; background: none;
        font-size: 28px; line-height: 1; color: #222222;
        cursor: pointer;
    }
    .ta-sheet li { border-bottom: 1px solid #eeeeee; }
    .ta-sheet li a {
        display: block;
        min-height: 48px;
        padding: 12px 18px;
        font-size: 16px;
        line-height: 24px;
        color: #222222;
    }
    .ta-sheet li a::after { content: "›"; float: right; color: #d70000; font-size: 20px; }
}
