@charset "UTF-8";

/* =========================================================
   businessresults.css — 業務実績ページ専用
   (/index/service/businessresults/)
   ========================================================= */

/* =========================================================
   Section anchor toggles (官公庁委託事業 / その他分野別事業)
   ========================================================= */
.br-toggles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(14px, 1.6vw, 30px);
  margin-top: clamp(40px, 5vw, 70px);
}
.br-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 347px;
  min-height: 60px;
  padding: 0 70px 0 24px;
  border: 1px solid var(--c-green-light);
  background: #fff;
  color: var(--c-green);
  font-size: 15px;
  letter-spacing: 0.04em;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.br-toggle:hover {
  background: rgba(68, 106, 86, 0.06);
  opacity: 1;
}
.br-toggle__pill {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 53px;
  height: 24px;
  border-radius: var(--r-pill);
  background: var(--c-green);
}
.br-toggle__pill::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 18px;
  height: 1.2px;
  background: #fff;
  transform: translateY(-50%);
}
.br-toggle__pill::after {
  content: "";
  position: absolute;
  right: 11px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-top: 1.2px solid #fff;
  border-right: 1.2px solid #fff;
  transform: translateY(-50%) rotate(45deg);
}

/* =========================================================
   Section heading (GOVERNMENT OFFICE / OTHER FIELDS)
   ========================================================= */
.br-section {
  padding-block: clamp(60px, 8vw, 110px);
}
.br-section + .br-section {
  padding-top: clamp(40px, 5vw, 70px);
}
.br-section__head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(28px, 3vw, 40px);
}
.br-section__en {
  font-family: var(--ff-en);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(32px, 4.2vw, 50px);
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--c-green-light);
  margin: 0;
}
.br-section__rule {
  display: inline-block;
  width: 50px;
  height: 1px;
  background: rgba(68, 106, 86, 0.6);
}
.br-section__jp {
  font-weight: 700;
  font-size: clamp(15px, 1.4vw, 18px);
  letter-spacing: 0.04em;
  color: var(--c-green-light);
  margin: 0;
}
.br-section__lead {
  text-align: center;
  font-size: 16px;
  line-height: 2;
  color: var(--c-text);
  letter-spacing: 0.04em;
  max-width: 1220px;
  margin: 0 auto clamp(40px, 5vw, 64px);
}

/* =========================================================
   Year accordion (R06 / R05 ...) — uses <details>/<summary>
   ========================================================= */
.br-acc {
  margin-top: 30px;
}
.br-acc + .br-acc {
  margin-top: 30px;
}
.br-acc[open] + .br-acc {
  margin-top: 30px;
}
.br-acc__head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 28px;
  background: var(--c-green-light);
  color: #fff;
  border-radius: 15px 15px 0 0;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background .25s var(--ease);
}
.br-acc__head::-webkit-details-marker { display: none; }
.br-acc:not([open]) .br-acc__head {
  border-radius: 15px;
}
.br-acc__head:hover { background: var(--c-green-dark); }
.br-acc__title {
  font-weight: 700;
  font-size: clamp(15px, 1.4vw, 20px);
  letter-spacing: 0.04em;
  line-height: 1.6;
}
.br-acc__icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.br-acc__icon::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: #fff;
  transform: translateY(-50%);
}
.br-acc__icon::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #fff;
  transform: translateX(-50%);
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.br-acc[open] .br-acc__icon::after { opacity: 0; transform: translateX(-50%) rotate(90deg); }

.br-acc__body {
  padding: clamp(20px, 3vw, 36px) 0;
}
.br-acc__empty {
  text-align: center;
  color: var(--c-muted);
  font-size: 14px;
  letter-spacing: 0.04em;
  margin: 0;
}

/* =========================================================
   Government office table (件名 / 発注元 / 概要)
   ========================================================= */
.br-table {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.br-table__head,
.br-table__row {
  display: grid;
  grid-template-columns: minmax(0, 329fr) minmax(0, 329fr) minmax(0, 542fr);
  gap: 10px;
}
.br-table__head {
  font-weight: 700;
  font-size: clamp(15px, 1.4vw, 18px);
  color: #fff;
  letter-spacing: 0.04em;
  text-align: center;
}
.br-table__head > div {
  background: #aaa;
  padding: 12px 16px;
  line-height: 1.6;
}
.br-table__row {
  background: #f7f7f7;
  margin-top: 6px;
}
.br-table__cell {
  padding: clamp(20px, 2vw, 30px);
  font-size: 15px;
  line-height: 1.85;
  color: var(--c-green);
  letter-spacing: 0.04em;
}
.br-table__cell strong {
  font-weight: 700;
  font-size: 16px;
}
.br-table__cell p {
  font-weight: 400;
  font-size: 15px;
  color: var(--c-green);
  line-height: 1.8;
}
.br-table__cell p + p { margin-top: 14px; }
.br-table__note {
  display: inline-block;
  margin-top: 6px;
  font-size: 14px;
  color: var(--c-green-dark);
}

/* =========================================================
   Other fields plain list (交通シミュレーション業務 entries)
   ========================================================= */
.br-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.br-list > li {
  padding: 16px 30px;
  border-bottom: 1px solid rgba(68, 106, 86, 0.18);
  font-size: 16px;
  line-height: 1.85;
  color: var(--c-green);
  letter-spacing: 0.04em;
}
.br-list > li:last-child { border-bottom: 0; }

.br-sublist {
  list-style: none;
  margin: 14px 0 4px;
  padding: 0 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.br-sublist li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--c-green);
}
.br-sublist li::before {
  content: "○";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 14px;
  color: var(--c-green);
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .br-table__head,
  .br-table__row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .br-table__head { display: none; } /* hide column headers on stacked layout */
  .br-table__row { padding: 16px; gap: 8px; }
  .br-table__cell { padding: 8px 6px; }
  .br-table__cell:first-child {
    border-bottom: 1px solid rgba(68, 106, 86, 0.2);
    padding-bottom: 14px;
  }
}
@media (max-width: 768px) {
  .br-toggle { padding-right: 60px; }
  .br-acc__head { padding: 14px 18px; }
  .br-list > li { padding: 14px 16px; }
}
