@charset "UTF-8";
.reason-wrapper {
  display: flex;
  justify-content: center;
  align-items: center; }
  .reason-wrapper .reason-kv {
    width: 100%;
    max-width: 1600px; }
    .reason-wrapper .reason-kv .kv-inner {
      position: relative; }
      .reason-wrapper .reason-kv .kv-inner img {
        display: block;
        width: 100%;
        height: auto; }
      .reason-wrapper .reason-kv .kv-inner h1 {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        white-space: nowrap;
        max-width: 100%; }
        .reason-wrapper .reason-kv .kv-inner h1 span {
          background: #fff;
          padding: 4px 6px 6px;
          font-size: clamp(14px, 3rem, 20px);
          line-height: 1;
          font-weight: 500;
          display: inline;
          box-decoration-break: clone;
          -webkit-box-decoration-break: clone; }

.reason-catch-wrapper {
  width: 100%;
  font-family: kinuta-maruminyoshino-stdn, serif;
  text-align: center;
  margin-top: -8rem;
  position: relative;
  margin-bottom: 4rem; }
  .reason-catch-wrapper p.main {
    font-size: 3vw;
    transform: rotate(-4deg);
    display: inline-block;
    color: #FFFFFF; }
    .reason-catch-wrapper p.main span {
      background-color: #18388c; }
    .reason-catch-wrapper p.main em {
      color: #ff0486;
      font-style: normal; }
  .reason-catch-wrapper p.m-txt {
    font-size: 0.95vw;
    color: #133284; }

.board-wrap {
  margin-bottom: 10rem; }

/* ========== フィルターボタン ========== */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap; }

.filter-btn {
  padding: 7px 20px;
  border-radius: 20px;
  border: 2px solid transparent;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Noto Sans JP', sans-serif;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s;
  letter-spacing: .04em; }

.filter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18); }

.filter-btn.active {
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.22);
  transform: translateY(-1px); }

.filter-btn.all {
  background: #fff;
  border-color: #aaa;
  color: #444; }

.filter-btn.blue {
  background: #bde8ff;
  border-color: #6bbfe8;
  color: #1a4a7a; }

.filter-btn.green {
  background: #e2f8a8;
  border-color: #9ad44a;
  color: #2a5a10; }

.filter-btn.pink {
  background: #ffd3d7;
  border-color: #f0909a;
  color: #8a1a30; }

.filter-btn.yellow {
  background: #fff3a0;
  border-color: #d4c040;
  color: #6a4a00; }

.filter-btn.all.active {
  background: #555;
  color: #fff;
  border-color: #555; }

.filter-btn.blue.active,
.filter-btn.green.active,
.filter-btn.pink.active,
.filter-btn.yellow.active {
  border-width: 3px; }

/* ========== ボード ========== */
.memo-board {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  overflow: visible;
  position: relative; }

/* ========== セル ========== */
.memo-cell {
  width: 300px;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  overflow: visible; }

.memo-cell.hidden-cell {
  visibility: hidden;
  pointer-events: none;
  width: 0 !important;
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden; }

/* ========== 付箋本体 ========== */
.memo {
  width: 270px;
  padding: 16px 16px 20px;
  padding-top: 48px;
  position: relative;
  cursor: pointer;
  will-change: transform;
  transition: none;
  box-shadow: 3px 4px 10px rgba(0, 0, 0, 0.18);
  border-radius: 2px;
  z-index: 1;
  overflow: visible;
  transform: translate(0px, 0px) rotate(0deg);
  flex-shrink: 0; }

.memo.animated {
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.38s; }

/* 画鋲 */
.memo::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  z-index: 10;
  pointer-events: none; }

/* 付箋カラー */
.memo.blue {
  background: #bde8ff; }

.memo.green {
  background: #e2f8a8; }

.memo.pink {
  background: #ffd3d7; }

.memo.yellow {
  background: #fff3a0; }

/* 画鋲カラー */
.pin-blue::before {
  background: #7b7bff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.5); }

.pin-green::before {
  background: #4aaa44;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.5); }

.pin-pink::before {
  background: #e05080;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.5); }

.pin-red::before {
  background: #e03030;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.5); }

.pin-yellow::before {
  background: #d4aa00;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.5); }

/* ========== 顔写真 ========== */
.memo-face-wrap {
  position: absolute;
  top: -28px;
  left: -18px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 2px 3px 8px rgba(0, 0, 0, 0.22);
  background: #ccc;
  z-index: 5; }

.memo-face-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover; }

.memo-face-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  background: #ddd; }

/* ========== ヘッダー ========== */
.memo-header {
  margin-bottom: 10px;
  padding-bottom: 8px;
  padding-left: 70px;
  border-bottom: 1.5px solid rgba(0, 0, 0, 0.12);
  min-height: 52px;
  display: flex;
  flex-direction: column;
  justify-content: center; }

.memo-dept {
  font-size: 14px;
  font-weight: 700;
  color: #1a4a7a;
  letter-spacing: .04em;
  line-height: 1.5; }

.memo-year {
  font-size: 12px;
  color: #1a5a3a;
  font-weight: 700;
  margin-top: 2px; }

/* ========== 本文 ========== */
.memo-text {
  font-size: 13px;
  color: #2c2420;
  line-height: 1.8;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical; }

/* ホバー */
.memo-cell.is-hovered {
  z-index: 9999; }

.memo-cell.is-hovered .memo {
  box-shadow: 6px 12px 32px rgba(0, 0, 0, 0.3);
  z-index: 9999; }

.memo-cell.is-hovered .memo-text {
  -webkit-line-clamp: unset;
  overflow: visible; }

/* フィルター：フェードアウト */
.memo.fading-out {
  transition: opacity .25s ease, transform .25s ease !important;
  opacity: 0 !important;
  transform: scale(0.85) !important; }

/*# sourceMappingURL=reason.css.map */
