/*
Theme Name: Lightning Child
Theme URI: 
Template: lightning
Description: 
Author: 
Tags: 
Version: 0.6.0
*/


span.entry-meta-item.entry-meta-item-updated,span.entry-meta-item.entry-meta-item-author{
    display:none;
}

h2:where(:not(.wp-block-post-title)) {
    padding: .5em 0;
    border-top: 0px;
    border-bottom: 0px; 
}

body.page-id-699 {
  background-color: #e8e5e2; /* ベース色 */
  background-image:
    conic-gradient(from 90deg, transparent 0 25%, #ffffff 0 50%, transparent 0 100%);
  background-size: 200px 200px; /* 模様の繰り返し間隔 */
  background-repeat: repeat;
  background-attachment: fixed; /* スクロールしても背景固定 */
}



/*コピーライト削除*/
.site-footer-copyright p:nth-child(2) {
    display:none;
}
/*コピーライト削除*/




/* 採用情報ページ　ここから*/




.job-container {
    max-width: 800px;
    margin: 0 auto;
}

.job-list {
    display: grid;
    grid-template-columns: 200px 1fr; /* PCでは横並び */
    gap: 20px 0;
}

.job-list dt {
    position: relative;
    padding-left: 15px;
    font-weight: bold;
    grid-column: 1;
	color: #ffffff;
}

.job-list dt::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 5px;
	height:16px;
    background-color: #fff;
}

.job-list dd {
    margin: 0;
    padding-left: 30px;
    border-left: 1px solid #ccc; /* PCでは縦の境界線を表示 */
    grid-column: 2;
	color: #ffffff;
}

/* 給与部分の調整 */
.salary .row {
    display: flex;
    max-width: 450px;
		color: #ffffff;
}
.salary .row span:first-child {
    min-width: 180px;
}

/* --- レスポンシブ設定（タブレット・スマホ向け） --- */
@media screen and (max-width: 768px) {
    .job-list {
        display: block; /* グリッド解除 */
    }

    .job-list dt {
        margin-top: 25px;
        margin-bottom: 10px;
        font-size: 1rem;
    }

    .job-list dd {
        padding-left: 15px; /* 左側の余白を詰める */
        border-left: none;  /* 縦の境界線を消す */
        font-size: 0.95rem;
    }

    /* 給与部分をスマホでは縦に並べる、もしくは幅を調整 */
    .salary .row {
        flex-direction: column; /* スマホでは項目と金額を縦に */
        margin-bottom: 10px;
    }
    
    .salary .row span:first-child {
        min-width: auto;
        font-weight: bold;
        font-size: 0.85rem;
        color: #555;
    }
}



/* 採用情報ページ　ここまで*/



/*主要取引先レイアウト　ここから */

/* 取引先リストの構造 */
        .client-section {
            display: grid;
            /* 左側のラベル幅を100pxに固定、右側を残り全部に設定 */
            grid-template-columns: 100px 1fr;
            column-gap: 20px;
            row-gap: 30px;
            align-items: start;
        }

        /* 左側のラベル（官公庁、会社関係） */
        .label {
            font-weight: bold;
            display: flex;
            justify-content: space-between; /* 「：」を右端に寄せるため */
        }

        /* 右側のリスト表示 */
        .list-content {
            display: flex;
            flex-wrap: wrap; /* 横に並べて入りきらなければ改行 */
            gap: 10px 20px; /* 縦と横の間隔 */
        }

        .list-content span {
            white-space: nowrap; /* 単語の途中で変に改行されないようにする */
        }

        /* --- レスポンシブ設定 (スマホ用) --- */
@media (max-width: 1040px) {
            .client-section {
            display: grid;
            grid-template-columns: 100px;
            column-gap: 20px;
            row-gap: 30px;
            align-items: start;
       }
	
            .client-row {
                flex-direction: column; /* 縦並びに変更 */
            }

            .label {
				font-weight: bold;
                display: flex;
               justify-content: flex-start;
                margin-bottom: 5px;
            }
            }
/*主要取引先レイアウト　ここまで */


/*感謝状・表彰状 レイアウト　ここから */

/* リスト全体のコンテナ */
        .history-list {
            display: flex;
            flex-direction: column;
            gap: 25px; /* 項目ごとの余白 */
        }

        /* 1つの実績行 */
        .history-item {
            display: flex;
            flex-direction: row; /* PCでは横並び */
            border-bottom: 1px dotted #ccc; /* 項目間の区切り線 */
            padding-bottom: 15px;
        }

        /* 日付部分 (左側) */
        .history-date {
            flex: 0 0 180px; /* 日付の幅を固定して縦のラインを揃える */
            font-weight: bold;
            color: #444;
        }

        /* 内容部分 (右側) */
        .history-content {
            flex: 1;
            padding-left: 10px;
        }

        .history-content .award-from {
            display: block;
            font-size: 0.95em;
            margin-bottom: 4px;
        }

        .history-content .award-title {
            display: block;
            font-weight: bold;
            color: #000;
        }

        /* --- レスポンシブ対応 (スマホ) --- */
       @media (max-width: 1040px) {
            .history-item {
                flex-direction: column; /* 縦並びに変更 */
                gap: 5px;
            }

            .history-date {
                flex: none;
                width: 100%;
                font-size: 0.9em;
            }

            .history-content {
                padding-left: 0;
            }
        }
/*感謝状・表彰状 レイアウト　ここまで */


/*施工実績レイアウト　ここから */

.section-title {
    text-align: center;
    border-bottom: 3px solid #00529a;
    padding-bottom: 10px;
    margin-bottom: 40px;
    color: #00529a;
}

.category-block {
    margin-bottom: 50px;
}

.category-block h3 {
    background: #a0d8ef;
    color: #fff;
    padding: 10px 15px;
    font-size: 1.1rem;
    border-radius: 4px 4px 0 0;
    margin-bottom: 0;
}

/* テーブルのスタイル */
.performance-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.performance-table th, 
.performance-table td {
    padding: 15px;
    border: 1px solid #ddd;
    text-align: left;
}

.performance-table th {
    background-color: #f2f2f2;
    font-weight: bold;
    width: 30%;
}

.performance-table tr:nth-child(even) {
    background-color: #fafafa;
}

/* --- レスポンシブ対応 (スマホ用) --- */
@media screen and (max-width: 768px) {
    .performance-table thead {
        display: none; /* 見出しを隠す */
    }

    .performance-table, 
    .performance-table tbody, 
    .performance-table tr, 
    .performance-table td {
        display: block;
        width: 100%;
    }

    .performance-table tr {
        margin-bottom: 15px;
        border: 2px solid #00529a;
    }

    .performance-table td {
        position: relative;
        border: none;
        border-bottom: 1px solid #eee;
    }
}
/*施工実績レイアウト　ここまで */




/*会社概要・会社部分レイアウト　ここから */
.history-container01 {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.8;
  max-width: 800px;
  margin: 10px auto;
  color: #333;
}

.history-list01 {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1.1em; /* ご指定のサイズ */
}

.history-list01 li {
  display: flex;
  padding: 5px 0;1
}

.history-list01 .date {
  font-weight: normal;
  padding-right: 20px;
  position: relative;
}

/* 縦棒の再現 */
.history-list01 .date::after {
  content: "|";
  position: absolute;
  right: 10px;
  color: #ccc;
}

.history-list01 .content {
  flex: 1;
}



/* スマホ用の調整（画面が狭い時に縦に並べる） */
@media screen and (max-width: 768px) {
  .history-list01 li {
    flex-direction: column;
  }
  .history-list01 .date {
    flex: none;
    font-weight: bold;
  }
  .history-list01 .date::after {
    display: none; /* スマホでは縦棒を消す */
  }
}
/*会社概要・会社部分レイアウト　ここまで */



/*沿革レイアウト　ここから */
.history-container02 {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.8;
  max-width: 800px;
  margin: 10px auto;
  color: #333;
}

.history-list02 {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1.1em; /* ご指定のサイズ */
}

.history-list02 li {
  display: flex;
  padding: 5px 0;1
}

.history-list02 .date {
  font-weight: normal;
  padding-right: 20px;
  width:250px;
  position: relative;
}

/* 縦棒の再現 */
.history-list02 .date::after {
  content: "|";
  position: absolute;
  right: 10px;
  color: #ccc;
}

.history-list02 .content {
  flex: 1;
}



/* スマホ用の調整（画面が狭い時に縦に並べる） */
@media screen and (max-width: 768px) {
  .history-list01 li {
    flex-direction: column;
  }
  .history-list01 .date {
    flex: none;
    font-weight: bold;
  }
  .history-list01 .date::after {
    display: none; /* スマホでは縦棒を消す */
  }
}
/*沿革レイアウト　ここまで */







/*国家資格保持者　　ここから */
/* リスト全体のスタイル */
  .qualification-list {
    max-width: 600px; /* 全体の幅 */
    margin: 20px auto;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
    line-height: 1.8;
    list-style: none;
    padding: 0;
  }

  /* 1行ごとの設定 */
  .qualification-item {
    display: grid;
    grid-template-columns: 1fr auto; /* 左：余白を埋める、右：自動幅 */
    gap: 20px; /* 資格名と人数の間の隙間 */
    border-bottom: 1px dotted #ccc; /* 下線（任意） */
    padding: 5px 0;
  }

  /* 資格名の部分 */
  .qual-name {
    text-align: left;
  }

  /* 人数の部分 */
  .qual-count {
    font-weight: bold;
    min-width: 60px; /* 数字の位置をさらに綺麗に揃えるための最低幅 */
    text-align: right;
  }

  /* 人数の単位（名） */
  .unit {
    font-weight: normal;
    margin-left: 4px;
    font-size: 0.9em;
  }
/*国家資格保持者　ここまで */
