/*
Theme Name: Lightning Child
Theme URI:
Template: lightning
Description:
Author:
Tags:
Version: 0.6.1
*/

.invoice-list-wrapper {
  /* max-width: var(--wp--style--global--wide-size);  1340px */
  max-width: 1110px;
  margin-inline: auto;
  /*padding-inline: 1rem;*/
}


.filter-form {
  display: grid;
  grid-template-columns: 140px 140px 1fr 120px;
  /* gap: 1rem; */
  gap: 0.75rem;
  align-items: end;
}

.filter-form label {
  font-size: 1rem; /* 16px */
  line-height: 1.4;
}

.filter-form input {
  padding: 0.75rem;
  font-size: 1rem; /* 16px */
  line-height: 1.4;
}

.filter-item {
  display: flex;
  flex-direction: column;
}

.filter-submit {
  justify-content: flex-end;
}

.flatpickr-day {
  width: 34px;
  height: 34px;
  line-height: 34px;
}

@media (max-width: 900px) {
  .filter-form {
    grid-template-columns: 1fr;
  }
}

/*--------------------------------------------------------------
pagenation
--------------------------------------------------------------*/
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 64px;
  font-size: 1rem; /* 16px */
  line-height: 1.4;
}

/* 最初のページ・前のページ を左寄せ */
.pagination-left {
  margin-right: auto;
}

/* 現在のページ/総ページ数を 中央寄せ */
.pagination-center {
  position: absolute;
}

/* 次のページ・最後のページ を右寄せ */
.pagination-right {
  margin-left: auto;
}

/* 最初のページ・前のページ・次のページ・最後のページ の余白調整 */
.first-page, .previous-page, .next-page, .last-page {
  padding: 24px 12px;
}

/* 現在のページ/総ページ数を 太字 */
.pagination .page-info {
  font-weight: bold;
}


.invoice-row {
  display: grid;
  grid-template-columns: 140px 140px 1fr 120px 120px;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #ddd;
  font-size: 1rem; /* 16px */
  line-height: 1.4;
}

.invoice-head {
  font-weight: 600;
}

.label {
  display: none;
  font-size: 0.75rem;
  color: #666;
}

/* タブレット・スマホ */
@media (max-width: 900px) {
  .invoice-row {
    grid-template-columns: 1fr;
  }

  .invoice-head {
    display: none;
  }

  .cell {
    display: flex;
    justify-content: space-between;
  }

  .label {
    display: inline;
  }
}


#breadcrumb, .entry-header, .entry-footer, .next-prev {
  display: none;
}

.notice-list {
  border-top: 1px solid #ddddda;
}

.notice-row {
  display: flex;
  padding: 30px 0 40px 0;
  border-bottom: 1px solid #ddddda;
  flex-wrap: wrap;
}

.notice-detail-a {
  display: flex;
  margin: 10px 24px 0 0;
}

.notice-detail-b {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 12px 0 0 0;
}

.notice-detail-a h6 {
  color: #707070;
}

.notice-detail-b h4 {
  margin-top: 0;
}

.txt-limit3 {
  color: #333;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3; /* 任意の行数を指定 */
  line-clamp: 3;
}