/* =========================
   法人：事業・決算報告（このページ専用）
   ※共通は allpage-style.css を使用
========================= */

.explanation{
  margin: 0 0 6px;
  text-align: center;
  font-weight: 900;
}

.kessan-intro{
  margin: 10px 0 14px;
  text-align: center;         /* 要望：中央寄せ */
  background: #ffffcc;
  border: 1px solid #cfc37a;
  border-radius: var(--radius);
  padding: 10px 12px;
  line-height: 1.6;
}

/* 年度ジャンプ（左サイド） */
.year-jump{
  width: 100%;
  margin: 0;
  padding-left: 1.2em;
  text-align: left;
}
.year-jump a{
  text-decoration: none;
}
.year-jump a:hover{
  text-decoration: underline;
}

/* 年度ブロック */
.reports{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* details全体 */
.year-block{
  border: 1px solid #d6d6d6;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

/* summary（年度見出し） */
.year-summary{
  list-style: none;
  cursor: pointer;
  padding: 12px 12px;
  background: #d9ffd9;        /* 旧ページの緑系 */
  display: flex;
  align-items: center;
  justify-content: center;    /* 要望：中央寄せ */
  gap: 10px;
  font-weight: 900;
  color: #003300;
}

/* Chromeの?を消す */
.year-summary::-webkit-details-marker{ display: none; }

.year-title{
  display: inline-block;
  text-align: center;
}

/* NEW画像 */
.new-badge{
  width: 42px;     /* 画像サイズはお好みで */
  height: auto;
  display: inline-block;
}

/* 開いているときの見出し強調 */
.year-block[open] .year-summary{
  background: #c8f7c8;
}

/* PDF一覧（箇条書き） */
.report-list{
  margin: 0;
  padding: 10px 18px 14px;
  list-style: none;
  display: grid;
  gap: 6px;
}

/* 先頭の「■」をCSSで再現（更新が楽） */
.report-list li{
  position: relative;
  padding-left: 1.2em;
}
.report-list li::before{
  content: "■";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent); /* 009999系 */
  font-weight: 900;
}

/* リンク */
.report-list a{
  color: #0033cc;
}
.report-list a:hover{
  text-decoration: underline;
}

/* 訂正等の注記 */
.report-note{
  margin: 0 18px 12px;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: rgba(0,0,0,.03);
  border: 1px solid rgba(0,0,0,.08);
  line-height: 1.7;
}

/* 下部コピー（カード内） */
.kessan-foot{
  margin: 18px 0 0;
  text-align: center;
  font-size: 12px;
  opacity: .9;
}

/* 右下：上に戻るボタン */
.to-top{
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9999;

  border: 0;
  border-radius: 999px;
  padding: 12px 14px;
  font-weight: 900;
  cursor: pointer;

  /* 木目っぽく（共通トーンに寄せる） */
  background: var(--wood) center/cover no-repeat;
  color: #111;

  box-shadow: 0 10px 22px rgba(0,0,0,.28);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.to-top.is-visible{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.to-top:hover{
  color: var(--hover-red);
}

/* スマホ時は少し小さく */
@media (max-width: 420px){
  .new-badge{ width: 36px; }
  .to-top{ right: 12px; bottom: 12px; padding: 10px 12px; }
}
