@charset "UTF-8";
/*
# =================================================================
# デザイン細部調整・リファインメント
# =================================================================
*/

/* =========================================
   1. 基本設定・トランジション
========================================= */

/* スムーズなトランジションを全体に適用 */
*,
*::before,
*::after {
    transition: background-color 0.3s ease,
                color 0.3s ease,
                border-color 0.3s ease,
                box-shadow 0.3s ease,
                transform 0.3s ease,
                opacity 0.3s ease;
}

/* セレクション色 */
::selection {
    background: #ff5722;
    color: #fff;
}

::-moz-selection {
    background: #ff5722;
    color: #fff;
}

/* スクロールバーのスタイリング */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* =========================================
   2. ヘッダー・ナビゲーション
========================================= */

.header {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.logo img {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.nav_in .nav_menu a {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav_in .nav_menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #ff5722;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav_in .nav_menu a:hover::after {
    width: 80%;
}

/* =========================================
   3. パンくずリスト
========================================= */

.breadcrumb {
    background: rgba(255, 255, 255, 0.9);
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb a {
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: #ff5722;
}

.breadcrumb li:after {
    color: #ccc;
    margin: 0 5px;
}

/* =========================================
   4. カード・ボックス
========================================= */

/* 施工実績カード */
.top_works_items {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.top_works_items:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.top_works_items figure {
    position: relative;
}

.top_works_items figure::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.top_works_items:hover figure::after {
    opacity: 1;
}

.top_works_items_info {
    padding: 20px;
    border-top: 3px solid #ff5722;
}

.top_works_items_info h3 {
    font-size: 1.1rem;
    line-height: 1.4;
    margin: 8px 0 12px;
    color: #333;
}

/* 日付タグ */
.top_works_days {
    display: inline-block;
    background: #f5f5f5;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    color: #666;
    letter-spacing: 0.5px;
}

/* ラインタイプタグ */
.top_works_linetype li a {
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.top_works_linetype li a:hover {
    background: #ff5722;
    color: #fff;
    border-color: #ff5722;
}

/* 施工詳細リンク */
.top_works_link a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 0;
    font-size: 14px;
    transition: all 0.2s ease;
}

.top_works_link a:hover {
    gap: 8px;
}

.top_works_link i {
    font-size: 18px;
    transition: transform 0.2s ease;
}

.top_works_link a:hover i {
    transform: translateX(4px);
}

/* ポイントボックス */
.top_point_box {
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.top_point_box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.top_point_box_num {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 700;
    border-radius: 0 0 0 12px;
}

/* =========================================
   5. 見出しデザイン
========================================= */

.h_design01 {
    position: relative;
}



.h_design01::before {
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 1px;
}

.page_in h2,
.post_in h2 {
    position: relative;
    overflow: hidden;
}

.page_in h2::before,
.post_in h2::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.page_in h3,
.post_in h3 {
    border-bottom-width: 3px;
    padding-bottom: 12px;
    transition: border-color 0.3s ease;
}

.page_in h3:hover,
.post_in h3:hover {
    border-color: #ff5722;
}

/* =========================================
   6. ボタン
========================================= */

.button-030,
.button-040 {
    position: relative;
    overflow: hidden;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.button-030::before,
.button-040::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.button-030:hover::before,
.button-040:hover::before {
    left: 100%;
}

.button-030:hover,
.button-040:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.button-030:active,
.button-040:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* =========================================
   7. ページネーション
========================================= */

.pagenation {
    margin: 3rem 0;
}

.pagenation ul {
    gap: 8px;
}

.pagenation li {
    margin: 0;
}

.pagenation a,
.pagenation .active {
    min-width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
}

.pagenation a {
    background: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.pagenation a:hover {
    background: #ff5722;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.4);
}

.pagenation .active {
    background: linear-gradient(135deg, #ff5722, #ff7043);
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.4);
}

.pagenation .prev a,
.pagenation .next-page a {
    padding: 0 20px;
}

/* =========================================
   8. テーブル
========================================= */

.table_design01 {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.table_design01 table {
    margin: 0;
    border: none;
}

.table_design01 th,
.table_design01 td {
    border-color: rgba(255, 255, 255, 0.5);
}

.table_design01 tr:hover td {
    background-color: #d4e8f2;
}

/* =========================================
   9. お問い合わせエリア
========================================= */

.tel_box {
    background: linear-gradient(135deg, #1a1a1a, #333);
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.tel_box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,87,34,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.tel_logo img {
    filter: brightness(1.1);
}

.fax_num span {
    transition: all 0.3s ease;
}

.fax_num span:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* =========================================
   10. フッター
========================================= */

.footer {
    background: linear-gradient(180deg, #292929, #1a1a1a);
}

.footer_link_box li a {
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.footer_link_box li a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ff5722;
}

.copyright {
    opacity: 0.8;
    font-size: 13px;
    letter-spacing: 0.5px;
}

/* フローティングボタン */
.foot_btn_box {
    z-index: 9999;
}

.foot_btn_box_in a {
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.foot_btn_box_web {
    background: linear-gradient(180deg, #ff5722, #e64a19);
}

.foot_btn_box_tel {
    background: linear-gradient(180deg, #2589d0, #1976d2);
}

.foot_btn_box_in a:hover {
    letter-spacing: 5px;
    box-shadow: -6px 0 25px rgba(0, 0, 0, 0.4);
}

/* =========================================
   11. サイドバー
========================================= */

.widget {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.widget:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.widget h2 {
    position: relative;
    overflow: hidden;
}

.widget h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #ff5722;
}

.side_wrap a {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.side_wrap a:hover {
    color: #ff5722;
    padding-left: 8px;
}

/* =========================================
   12. フォーム
========================================= */

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 select,
.wpcf7 textarea {
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="url"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    border-color: #ff5722;
    box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.1);
    outline: none;
}

.wpcf7 input[type="submit"] {
    background: linear-gradient(135deg, #FFDC1E, #FFC107);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

.wpcf7 input[type="submit"]:hover {
    background: linear-gradient(135deg, #333, #555);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* =========================================
   13. 施工事例詳細ページ
========================================= */

.works_items figure {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.works_before_box,
.works_after_box {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    margin: 15px 0;
}

.works_before_box p img,
.works_after_box p img {
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.works_before_box p img:hover,
.works_after_box p img:hover {
    transform: scale(1.02);
}

.linetype_tag {
    transition: all 0.3s ease;
    display: inline-block;
}

.linetype_tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* =========================================
   14. アニメーション
========================================= */

/* フェードイン */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.top_works_items,
.top_point_box {
    animation: fadeIn 0.6s ease forwards;
}

.top_works_items:nth-child(1) { animation-delay: 0.1s; }
.top_works_items:nth-child(2) { animation-delay: 0.2s; }
.top_works_items:nth-child(3) { animation-delay: 0.3s; }
.top_works_items:nth-child(4) { animation-delay: 0.4s; }

/* パルスアニメーション（CTAボタン用） */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 87, 34, 0.4);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(255, 87, 34, 0);
    }
}

.foot_btn_box_web {
    animation: pulse 2s infinite;
}

/* =========================================
   15. レスポンシブ調整
========================================= */

@media (max-width: 1025px) {
    .top_works_items {
        border-radius: 10px;
    }

    .top_point_box {
        border-radius: 10px;
    }
}

@media (max-width: 600px) {
    .breadcrumb {
        padding: 10px 15px;
        margin: 10px;
        border-radius: 6px;
    }

    .top_works_items {
        border-radius: 8px;
    }

    .top_works_items_info {
        padding: 15px;
    }

    .pagenation a,
    .pagenation .active {
        min-width: 40px;
        height: 40px;
        font-size: 13px;
    }

    .button-030,
    .button-040 {
        font-size: 0.9em;
        padding: 0.8em 1em;
    }

    .foot_btn_box_in a {
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    }

    .foot_btn_box_web {
        animation: none;
    }

    .table_design01 {
        border-radius: 8px;
    }

    .works_before_box,
    .works_after_box {
        padding: 15px;
        border-radius: 8px;
    }
}
