@charset "utf-8";

/* =========================================================================
   ホーム・理念・分科会の選び口・年間予定 — 縦に読むページの見た目
   本文は 17px / 行間 1.95。会員は 70 代が中心なので、ここは縮めない。
   ========================================================================= */

.page { background: var(--paper); }

/* ヘッダーは上に固定してある。# で飛んだときに見出しがその下へ潜らないよう、
   固定ぶんの高さだけ手前で止める。 */
.page section[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* --- 見出しまわりの共通部品 -------------------------------------------- */

.sect { padding: 44px 22px; border-top: 1px solid rgba(5, 42, 23, .10); }
.sect__eyebrow {
  font-size: 12.5px; font-weight: 700; letter-spacing: .22em;
  color: var(--green-600); margin-bottom: 10px;
}
.sect__h { font-size: 27px; font-weight: 800; color: var(--green-800); margin-bottom: 18px; text-wrap: pretty; }
.sect__text { color: var(--ink-2); }
.sect__note { margin-top: 14px; font-size: 14px; line-height: 1.8; color: var(--ink-4); }
.sect__btn { width: 100%; margin-top: 24px; }

.sect--tint { background: var(--paper-2); }
.sect--dark { background: var(--green-800); border-top: 0; }
.sect--dark .sect__eyebrow { color: var(--orange-300); }
.sect--dark .sect__h { color: #fff; }
.sect--dark .sect__text { color: #D6E3D2; }

/* --- 1. 冒頭 ----------------------------------------------------------- */

.hero { padding: 34px 22px 38px; background:
  radial-gradient(120% 70% at 100% 0%, rgba(61, 138, 42, .13) 0%, rgba(61, 138, 42, 0) 62%), var(--paper); }
.hero__eyebrow {
  font-size: 12.5px; font-weight: 700; letter-spacing: .18em;
  color: var(--green-600); margin-bottom: 16px;
}
.hero__lead {
  font-family: 'Shippori Mincho B1', serif; font-weight: 700;
  /* 390px の画面で「いくつになっても学びたい人が、」が 1 行に収まる大きさ。
     ここを上げると折り返しが「学びたい／人が、」と割れる */
  font-size: clamp(19px, 5.1vw, 24px); line-height: 1.75; color: var(--green-800);
  letter-spacing: .02em; margin-bottom: 18px; text-wrap: pretty;
}
.hero__body { color: var(--ink-2); }

/* --- 2. 掲げている言葉 --------------------------------------------------
   縦書きだと 1 行に入る字数が画面の高さで決まってしまい、字を小さく
   せざるを得なかった。横書きにして、そのぶん字を大きくしている。 */

.creed {
  position: relative; overflow: hidden;
  padding: 46px 22px 40px;
  background: linear-gradient(165deg, var(--green-800) 0%, var(--green-900) 100%);
  color: #fff;
}
.creed__mark {
  position: absolute; right: -46px; top: -26px; width: 232px;
  opacity: .09; pointer-events: none;
}
.creed__line {
  position: relative;
  font-family: 'Shippori Mincho B1', serif; font-weight: 800;
  line-height: 1.34; letter-spacing: .04em;
  /* 画面の幅に合わせて伸び縮みさせる。520px の柱では 40px あたりで止まる */
  font-size: clamp(30px, 8.6vw, 42px);
}
.creed__line--2 { color: var(--orange-300); }
.creed__line--2::after {
  content: ''; display: block; width: 74px; height: 4px; margin-top: 14px;
  background: var(--orange-400); border-radius: 2px;
}
.creed__note {
  position: relative; margin-top: 22px;
  font-size: 14.5px; line-height: 1.9; color: #BCD2B7;
}
.creed__more {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  margin-top: 20px; padding: 12px 0;
  color: var(--orange-300); font-weight: 700; text-decoration: none;
}

/* --- 3. 三つの数字 ------------------------------------------------------ */

.facts { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--paper-2); }
.fact { padding: 22px 10px; text-align: center; border-right: 1px solid rgba(5, 42, 23, .10); }
.fact:last-child { border-right: 0; }
.fact b {
  display: block; font-family: 'Shippori Mincho B1', serif; font-weight: 800;
  font-size: 34px; line-height: 1.1; color: var(--green-800);
}
.fact b i { font-style: normal; font-size: 16px; }
.fact span { display: block; margin-top: 6px; font-size: 12.5px; line-height: 1.6; color: var(--ink-3); }

/* --- 4. ひと月の暦 ------------------------------------------------------ */

.cal { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cal__day {
  background: #fff; border: 1px solid var(--card-line); border-radius: 14px;
  padding: 16px 16px 6px; box-shadow: var(--card-lift);
}
.cal__when {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: var(--green-800); color: #fff;
  font-size: 13px; font-weight: 700; letter-spacing: .08em;
}
.cal__items { margin-top: 6px; }
.cal__item {
  display: flex; flex-direction: column; gap: 2px;
  padding: 12px 2px; text-decoration: none;
  border-bottom: 1px dashed rgba(5, 42, 23, .14);
}
.cal__item:last-child { border-bottom: 0; }
.cal__time { font-size: 13.5px; font-weight: 700; letter-spacing: .04em; color: var(--gold-ink); }
.cal__name { font-family: 'Shippori Mincho B1', serif; font-weight: 700; font-size: 20px; color: var(--green-800); }
.cal__item::after {
  content: 'くわしく ›'; align-self: flex-end; margin-top: -22px;
  font-size: 12.5px; font-weight: 700; color: var(--green-600);
}

/* --- 6. 会場 ------------------------------------------------------------ */

.map {
  margin-top: 20px; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--card-line); background: var(--paper-2);
  aspect-ratio: 4 / 3;
}
.map iframe { display: block; width: 100%; height: 100%; border: 0; }
.map__link, .embed__link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; padding: 12px 0;
  color: var(--gold-ink); font-weight: 700; text-decoration: none;
}

/* --- 7. 年会費のめやす ------------------------------------------------- */

.fee { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 8px; }
.fee li {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 12px 18px; border-radius: 12px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .20);
}
.fee b { font-size: 18px; font-weight: 800; color: #fff; }
.fee b i { font-style: normal; font-size: 14px; font-weight: 700; margin-left: 3px; }
.fee span { font-family: 'Shippori Mincho B1', serif; font-size: 21px; font-weight: 800; color: var(--orange-300); }
.sect--dark .sect__note { color: #B9CDB4; }

/* --- 8. 申し込みフォーム -----------------------------------------------
   見た目は自前、送り先は Google フォーム。入力欄の name が、そのまま
   Google 側の entry ID になっている（js/home.js の頭書きを参照）。
   会員は 70 代が中心なので、字は 16px を割らず、押すところは 52px 以上。
   ------------------------------------------------------------------- */

.jform { margin-top: 24px; display: grid; gap: 22px; }
/* display を指定したものは、hidden 属性だけでは消えない（display の指定が
   ブラウザ既定の [hidden]{display:none} に勝つ）。明示して消す。 */
.jform[hidden] { display: none; }

.jf { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }

.jf__label {
  display: flex; align-items: center; gap: 8px; padding: 0;
  font-size: 16px; font-weight: 800; color: var(--green-800); line-height: 1.6;
}
.jf__req {
  flex: none; padding: 2px 8px; border-radius: 4px;
  background: var(--orange-500); color: #fff;
  font-size: 12.5px; font-weight: 800; letter-spacing: .04em;
}

.jf__in {
  width: 100%; min-height: 54px; padding: 14px 16px;
  border: 1.5px solid rgba(5, 42, 23, .26); border-radius: 10px;
  background: #fff; color: var(--ink);
  font-family: inherit; font-size: 16px; line-height: 1.6;
  /* iOS は 16px 未満の入力欄に触れると画面ごと拡大する。16px は割らない */
}
.jf__in::placeholder { color: #8C9A88; }
.jf__in:focus { outline: 3px solid var(--orange-400); outline-offset: 2px; border-color: var(--green-600); }
.jf__in[aria-invalid="true"] { border-color: #B3261E; background: #FFF7F6; }

.jf__hint { font-size: 14.5px; line-height: 1.75; color: var(--ink-3); }
.jf__err { font-size: 15px; font-weight: 700; line-height: 1.7; color: #B3261E; }
.jf__err::before { content: '⚠ '; }

/* 生年月日。iPhone では下からせり上がるルーレットになる */
.jf__date { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 8px; }
.jf__sel { position: relative; display: flex; align-items: center; }
.jf__sel select {
  width: 100%; min-height: 54px; padding: 14px 30px 14px 14px;
  border: 1.5px solid rgba(5, 42, 23, .26); border-radius: 10px;
  background: #fff; color: var(--ink);
  font-family: inherit; font-size: 16px; font-weight: 700;
  appearance: none; -webkit-appearance: none;
}
.jf__sel i {
  position: absolute; right: 12px; pointer-events: none;
  font-style: normal; font-size: 14px; font-weight: 700; color: var(--ink-3);
}
.jf__sel select:focus { outline: 3px solid var(--orange-400); outline-offset: 2px; }

.jf__picks { display: grid; gap: 10px; }

/* えらぶ札。明るい地の上なので、濃い字で置く */
.pick {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  min-height: 64px; padding: 12px 16px; cursor: pointer;
  background: #fff; border: 1.5px solid rgba(5, 42, 23, .22); border-radius: 12px;
  transition: background .2s ease, border-color .2s ease;
}
.pick input { position: absolute; opacity: 0; width: 0; height: 0; }
.pick__box {
  flex: none; width: 26px; height: 26px; border-radius: 7px;
  border: 2px solid rgba(5, 42, 23, .4); background: #fff;
  display: grid; place-items: center;
  transition: background .18s ease, border-color .18s ease;
}
.pick__box::after {
  content: ''; width: 13px; height: 7px; border: 0 solid #fff;
  border-left-width: 2.6px; border-bottom-width: 2.6px;
  transform: rotate(-45deg) scale(.4); opacity: 0;
  transition: transform .18s ease, opacity .18s ease;
}
.pick__text b { display: block; font-size: 18px; font-weight: 800; color: var(--green-800); line-height: 1.5; }
.pick__text em { display: block; font-style: normal; font-size: 14px; color: var(--ink-3); }

.pick:has(input:checked), .pick.is-on { background: #FFF3E2; border-color: var(--orange-500); }
.pick:has(input:checked) .pick__box, .pick.is-on .pick__box { background: var(--orange-500); border-color: var(--orange-500); }
.pick:has(input:checked) .pick__box::after, .pick.is-on .pick__box::after { transform: rotate(-45deg) scale(1); opacity: 1; }
.pick input:focus-visible + .pick__box { outline: 3px solid var(--orange-400); outline-offset: 3px; }

/* 年会費。画面に出るだけで、書き換えはできない */
.jfee {
  display: block; padding: 18px 20px; border-radius: 12px; text-align: center;
  background: var(--green-800); color: #fff;
}
.jfee__yen {
  display: block; font-family: 'Shippori Mincho B1', serif;
  font-weight: 800; font-size: 40px; line-height: 1.2;
}
.jfee__note { display: block; margin-top: 4px; font-size: 15px; line-height: 1.7; color: #C8DAC4; }

/* 確認事項 */
.jagree {
  /* 中の input は目に見せないが、キーボードでは触れる。position: relative を
     置かないと、絶対配置の起点が柱まで飛んで、焦点が当たったときに画面が動く */
  position: relative;
  display: flex; align-items: flex-start; gap: 14px; cursor: pointer;
  padding: 16px; border-radius: 12px;
  background: var(--paper-2); border: 1.5px solid rgba(5, 42, 23, .22);
}
.jagree input { position: absolute; opacity: 0; width: 0; height: 0; }
.jagree__box {
  flex: none; margin-top: 2px; width: 28px; height: 28px; border-radius: 7px;
  border: 2px solid rgba(5, 42, 23, .45); background: #fff;
  display: grid; place-items: center;
}
.jagree__box::after {
  content: ''; width: 14px; height: 8px; border: 0 solid #fff;
  border-left-width: 2.8px; border-bottom-width: 2.8px;
  transform: rotate(-45deg) scale(.4); opacity: 0;
  transition: transform .18s ease, opacity .18s ease;
}
.jagree__text { font-size: 16px; line-height: 1.85; color: var(--ink-2); }
.jagree__text .jf__req { display: inline-block; margin-left: 6px; vertical-align: 2px; }
.jagree:has(input:checked) { background: #FFF3E2; border-color: var(--orange-500); }
.jagree:has(input:checked) .jagree__box { background: var(--orange-500); border-color: var(--orange-500); }
.jagree:has(input:checked) .jagree__box::after { transform: rotate(-45deg) scale(1); opacity: 1; }
.jagree input:focus-visible + .jagree__box { outline: 3px solid var(--orange-400); outline-offset: 3px; }

.jform__alert {
  padding: 14px 16px; border-radius: 10px;
  background: #FFF1F0; border: 1.5px solid #B3261E;
  font-size: 16px; font-weight: 700; line-height: 1.75; color: #8C1D18;
}
.jform__send { width: 100%; min-height: 60px; font-size: 18px; }
.jform__send[disabled] { opacity: .6; }

/* 送信の受け皿。見せない */

/* 受け付けたあと */
.jdone {
  margin-top: 24px; padding: 26px 22px; border-radius: 16px;
  background: var(--green-800); color: #fff;
}
.jdone__h {
  font-family: 'Shippori Mincho B1', serif; font-weight: 800;
  font-size: 24px; line-height: 1.5; margin-bottom: 12px;
}
.jdone__text { font-size: 16px; line-height: 1.95; color: #D6E3D2; }
.jdone__text a { color: var(--orange-300); font-weight: 700; }

.foot {
  padding: 30px 22px calc(28px + env(safe-area-inset-bottom));
  text-align: center; font-size: 13px; color: var(--ink-4);
  background: var(--paper-2); border-top: 1px solid rgba(5, 42, 23, .10);
}

/* =========================================================================
   理念
   ========================================================================= */

.rinen { padding: 40px 22px 46px; }
.rinen__cascade { margin-bottom: 34px; }
.rinen__cascade p {
  font-family: 'Shippori Mincho B1', serif; font-weight: 700;
  color: var(--green-800); line-height: 1.7; letter-spacing: .03em; margin-bottom: .3em;
}
.rinen__cascade p:nth-child(1) { font-size: clamp(21px, 5.4vw, 26px); }
.rinen__cascade p:nth-child(2) { font-size: clamp(23px, 6.0vw, 29px); padding-left: .7em; }
.rinen__cascade p:nth-child(3) { font-size: clamp(25px, 6.6vw, 32px); padding-left: 1.4em; }
.rinen__cascade b { font-weight: 700; color: var(--gold-ink); }

.rinen__pillar {
  font-family: 'Shippori Mincho B1', serif; font-size: 19px; line-height: 2;
  color: var(--ink); border-left: 4px solid var(--orange-500);
  padding: 4px 0 4px 18px; margin-bottom: 32px;
}
.rinen__body p { margin-bottom: 1.5em; color: var(--ink-2); }
.rinen__body p:last-child { margin-bottom: 0; color: var(--ink); }
.rinen__sign {
  margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(5, 42, 23, .14);
  font-size: 14px; letter-spacing: .16em; color: var(--green-600);
}

/* =========================================================================
   分科会の選び口

   四つの会が、スクロールなしで 1 画面に収まることを最優先にしている。
   寸法はすべて画面の高さ（vh）に紐づけてあり、低い端末では自動で詰まる。
   ただし下限は決めてあって、それ以上は小さくしない。

   以前は札ごとに横幅いっぱいのボタンを敷いていたが、それだと 1 枚が
   高くなりすぎて 4 枚が入らなかった。押すところは右端にまとめ、
   矢印が左から右へ流れる動きで「進める」ことを示す。
   ========================================================================= */

.kaiPick {
  /* ヘッダーとタブバーを引いた残り、ちょうどに収める */
  height: calc(100vh - var(--header-h) - var(--nav-h));
  height: calc(100dvh - var(--header-h) - var(--nav-h));
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: clamp(9px, 1.5vh, 14px);
  padding: clamp(12px, 2vh, 20px) 18px;
  overflow: hidden;
}

.kaiPick__item {
  /* 余った高さを 4 枚で分け合う。どの画面でもちょうど 1 画面に収まる */
  flex: 1 1 0;
  min-height: 0;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: clamp(11px, 1.9vh, 18px) clamp(14px, 4vw, 20px);
  border-radius: 16px;
  text-decoration: none;
  color: #fff;
  background: var(--green-800);
  box-shadow: 0 6px 16px rgba(5, 42, 23, .20);
  touch-action: manipulation;
  transition: transform .26s cubic-bezier(.2, .8, .3, 1), box-shadow .26s ease;
}
.kaiPick__item.is-pressed, .kaiPick__item:active {
  transform: scale(.975);
  box-shadow: 0 2px 8px rgba(5, 42, 23, .24);
  transition-duration: 0s;
}
.kaiPick__item::after {
  content: ''; position: absolute; right: -30px; top: -40px;
  width: 130px; height: 130px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 146, 28, .26), transparent 68%);
  pointer-events: none;
}

/* 札の地に敷く、ストーリー1枚目と同じ写真。
   名前を読む前に「どんな会か」が目に入るようにするためのもの。
   写真そのものは薄くしない。薄くすると白い字が写真の明るいところに
   沈む。かわりに深緑の幕を重ねて落とし、文字が乗る左側をとりわけ濃く
   してある。会員は70代が中心なので、絵より字の読みやすさを先に取る。 */
.kaiPick__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background-image:
    linear-gradient(96deg,
      rgba(5, 42, 23, .93) 0%,
      rgba(5, 42, 23, .84) 32%,
      rgba(5, 42, 23, .46) 62%,
      rgba(5, 42, 23, .26) 100%),
    var(--kai-photo);
  background-size: cover, cover;
  background-position: center, 50% 50%;
  background-repeat: no-repeat, no-repeat;
  pointer-events: none;
}

/* 字と矢印は、写真より前に置く */
.kaiPick__text, .kaiPick__wave { z-index: 1; }

/* 押したときだけ、写真をすこし明るくする */
.kaiPick__item.is-pressed .kaiPick__bg, .kaiPick__item:active .kaiPick__bg {
  background-image:
    linear-gradient(96deg,
      rgba(5, 42, 23, .86) 0%,
      rgba(5, 42, 23, .74) 32%,
      rgba(5, 42, 23, .34) 62%,
      rgba(5, 42, 23, .16) 100%),
    var(--kai-photo);
}

/* 写真が届かない・切っている環境でも、これまでどおり深緑の札になる */
@media (prefers-reduced-data: reduce) {
  .kaiPick__bg { background-image: none; }
}

.kaiPick__text {
  position: relative; display: grid; gap: 2px; min-width: 0;
  /* 写真の明るいところに白い字が乗っても沈まないように */
  text-shadow: 0 1px 5px rgba(5, 42, 23, .92), 0 0 16px rgba(5, 42, 23, .62);
}

.kaiPick__name {
  font-family: 'Shippori Mincho B1', serif;
  font-weight: 800;
  font-size: clamp(19px, 2.7vh, 24px);
  line-height: 1.4;
}
.kaiPick__when {
  font-size: clamp(15px, 2vh, 17px);
  line-height: 1.55;
  color: #C3D6BE;
}
.kaiPick__go {
  margin-top: 3px;
  font-size: clamp(14px, 1.8vh, 15.5px);
  font-weight: 800;
  line-height: 1.4;
  color: var(--orange-300);
}
/* とりわけ低い画面では、この一行を落として 4 枚を収める。
   右端の琥珀色と流れる矢印だけでも、押せることは伝わる。 */
@media (max-height: 640px) { .kaiPick__go { display: none; } }

/* 右端。押すところをここにまとめ、矢印を左から右へ順に光らせる */
.kaiPick__wave {
  position: relative;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(8px, 1.3vh, 12px) clamp(10px, 2.6vw, 14px);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--orange-300), var(--orange-500));
  color: #21160A;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .26), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.kaiPick__wave svg {
  width: clamp(15px, 2.1vh, 19px);
  height: clamp(15px, 2.1vh, 19px);
  margin-right: -6px;
  opacity: .3;
  animation: kaiWave 1.7s ease-in-out infinite;
}
.kaiPick__wave svg:last-child { margin-right: 0; }
.kaiPick__wave svg:nth-child(2) { animation-delay: .17s; }
.kaiPick__wave svg:nth-child(3) { animation-delay: .34s; }

@keyframes kaiWave {
  0%, 62%, 100% { opacity: .3; transform: translateX(0); }
  31%           { opacity: 1;  transform: translateX(2px); }
}

.kaiPick__item.is-pressed .kaiPick__wave, .kaiPick__item:active .kaiPick__wave {
  transform: translateY(2px);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .35);
}

/* 動きを減らす設定のときは、流さずに全部見せておく */
@media (prefers-reduced-motion: reduce) {
  .kaiPick__wave svg { opacity: 1; animation: none; }
}

/* =========================================================================
   ストーリーの下の帯
   実際に届く先の無い入力欄は置かず、申し込みフォームへ通す。
   ========================================================================= */

.story__msgGo {
  justify-content: space-between;
  gap: 8px;
  padding-right: 12px;
  text-decoration: none;
  color: var(--green-800);
  font-weight: 800;
  font-size: 14px;
}
.story__msgGo svg { width: 19px; height: 19px; flex: none; }

/* =========================================================================
   年間予定
   スクロールで下から順に、ぽこっと出てくる。
   動きを減らす設定の環境では、最初から出したままにする。
   ========================================================================= */

.year { padding: 30px 0 46px; }

.year__head { padding: 10px 22px 26px; }
.year__title {
  font-family: 'Shippori Mincho B1', serif; font-weight: 800;
  font-size: 30px; color: var(--green-800); line-height: 1.4;
}
.year__sub { margin-top: 10px; color: var(--ink-2); }

.line { position: relative; list-style: none; margin: 0; padding: 0 22px 0 74px; }
/* 背骨。上から下へ一本通す */
.line::before {
  content: ''; position: absolute; left: 40px; top: 6px; bottom: 6px; width: 3px;
  background: linear-gradient(180deg, var(--green-600), var(--orange-400));
  border-radius: 2px; opacity: .3;
}

.mo { position: relative; padding-bottom: 18px; }

.mo__badge {
  position: absolute; left: -54px; top: 4px;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  background: var(--green-800); color: #fff;
  box-shadow: 0 5px 14px rgba(5, 42, 23, .28);
  /* 出てくる前 */
  transform: scale(0);
}
.mo__badge b { font-family: 'Shippori Mincho B1', serif; font-weight: 800; font-size: 19px; line-height: 1; }
.mo__badge span { font-size: 10px; line-height: 1.2; opacity: .8; }

.mo__card {
  background: #fff; border: 1px solid var(--card-line); border-radius: 16px;
  padding: 16px 18px; box-shadow: var(--card-lift);
  /* 出てくる前 */
  opacity: 0; transform: translateY(16px) scale(.94);
}
.mo__what { font-family: 'Shippori Mincho B1', serif; font-weight: 800; font-size: 20px; color: var(--green-800); line-height: 1.5; }
.mo__note { margin-top: 4px; font-size: 14.5px; line-height: 1.85; color: var(--ink-3); }

/* 特別な回は色を変えて目を引く */
.mo--special .mo__badge { background: var(--orange-500); }
.mo--special .mo__card { background: #FFF7EC; border-color: rgba(224, 122, 5, .34); }
.mo--special .mo__what { color: var(--gold-ink); }

/* 出てくる動き。行きすぎてから戻る「ポコッ」を、ばね状の曲線でつくる */
.mo.is-in .mo__badge {
  animation: pop .52s cubic-bezier(.34, 1.56, .64, 1) forwards;
}
.mo.is-in .mo__card {
  animation: rise .58s cubic-bezier(.34, 1.42, .64, 1) .08s forwards;
}

@keyframes pop {
  0%   { transform: scale(0) rotate(-18deg); }
  100% { transform: scale(1) rotate(0); }
}
@keyframes rise {
  0%   { opacity: 0; transform: translateY(16px) scale(.94); }
  100% { opacity: 1; transform: none; }
}

/* 動きを減らす設定のときは、はじめから出しておく */
@media (prefers-reduced-motion: reduce) {
  .mo__badge { transform: none; }
  .mo__card { opacity: 1; transform: none; }
  .mo.is-in .mo__badge, .mo.is-in .mo__card { animation: none; }
}

/* JavaScript が動かないときも読めるようにしておく */
.no-js .mo__badge { transform: none; }
.no-js .mo__card { opacity: 1; transform: none; }

.year__foot {
  margin: 26px 22px 0; padding: 18px 20px;
  background: var(--paper-2); border-radius: 14px;
  font-size: 14.5px; line-height: 1.9; color: var(--ink-3);
}

/* --- 月ごとの中身 --------------------------------------------------------
   分科会は月に3〜4回ある。日付・会・内容を1行にまとめて並べる。
   会員は70代が中心なので、日付は大きめに、会の名前は色の札で見分ける。 */

.mo__list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }

.mo__row {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: start;
  padding-top: 10px;
  border-top: 1px dashed rgba(10, 61, 32, .16);
}
.mo__list > li:first-child .mo__row { padding-top: 0; border-top: none; }

/* 日付。曜日は紙の予定表と同じで、日曜と祝日は赤、土曜は青 */
.mo__d { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.mo__d b {
  font-family: 'Shippori Mincho B1', serif; font-weight: 800;
  font-size: 23px; line-height: 1; color: var(--green-800);
}
.mo__d em {
  font-style: normal; font-size: 11px; font-weight: 800; line-height: 1;
  color: #fff; background: var(--ink-3); border-radius: 999px; padding: 3px 7px;
}
.mo__d em.is-sun { background: #b4453a; }
.mo__d em.is-sat { background: #2a5b8c; }

.mo__body { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 8px; }

/* 会の名前の札。会ごとに色を変えて、ひと目で見分けられるようにする */
.mo__kai {
  padding: 3px 9px; border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: .02em; white-space: nowrap;
}
.mo__kai--kyoyo   { color: #24486b; background: #e4edf5; border: 1px solid rgba(36, 72, 107, .3); }
.mo__kai--healthy { color: #a2452c; background: #fbe8de; border: 1px solid rgba(162, 69, 44, .3); }
.mo__kai--teizan  { color: #2c5b3a; background: #dff0d8; border: 1px solid rgba(44, 91, 58, .3); }
.mo__kai--history { color: #6b3602; background: #f6e9cf; border: 1px solid rgba(107, 54, 2, .3); }

.mo__t { font-size: 12.5px; font-weight: 700; color: var(--gold-ink); white-space: nowrap; }

.mo__topic {
  flex-basis: 100%;
  font-size: 15px; font-weight: 700; line-height: 1.65; color: var(--ink-2);
}
.mo__topic small { display: block; font-size: 13px; font-weight: 600; color: var(--ink-3); }

/* 開講式・公開講演会・閉講式は、月の頭に大きく置く */
.mo__big {
  margin-top: 10px; padding: 13px 15px;
  background: #fff; border: 1px solid rgba(224, 122, 5, .34); border-radius: 12px;
}
.mo__big p { margin: 0; }
.mo__bigWhen { font-size: 15px; font-weight: 800; color: var(--gold-ink); }
.mo__bigTitle {
  margin-top: 6px; font-family: 'Shippori Mincho B1', serif;
  font-weight: 800; font-size: 17px; line-height: 1.6; color: var(--green-800);
}
.mo__bigWho { margin-top: 6px; font-size: 13.5px; font-weight: 700; line-height: 1.7; color: var(--ink-3); }

/* 各会の詳しい日程へ */
.yearGo { display: grid; gap: 8px; margin: 22px 22px 0; }
.yearGo__btn {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 48px; padding: 11px 18px; border-radius: 999px;
  background: var(--green-800); color: #fff;
  font-size: 15.5px; font-weight: 800; letter-spacing: .02em; text-decoration: none;
  box-shadow: 0 4px 14px rgba(5, 42, 23, .2);
}
.yearGo__btn span { opacity: .72; font-weight: 700; }
.yearGo__btn:active { transform: translateY(2px); }

/* 暦の下に置く但し書き。日にちは月ごとに変わるので、年間予定へ通す */
.cal__note {
  margin-top: 12px; font-size: 14.5px; line-height: 1.9; color: var(--ink-3);
}
.cal__note a { font-weight: 800; color: var(--green-800); }
