/* ============================================================
   受講の入口（「私は、何を受講したらいいの？」）2026-09-17
   HTMLは scripts/build_jukou.py が index.html・menu.html に書き出す。
   トーン＝tone.css（生成り・淡い角丸パネル・番号の丸・深緑とコーラル）。
   色はページで使っている色だけ。角丸は 8／16／999px の3種。
   ============================================================ */
.jk {
    --jk-paper: #faf7f0;
    --jk-card: #ffffff;
    --jk-ink: #4a4a4a;
    --jk-sub: #5c6a62;
    --jk-green: #3f6b55;
    --jk-sage: #f0f7f4;
    --jk-sage-line: #eadfc9;
    --jk-coral: #bd4c36;
    --jk-line: #eadfc9;
    padding: 56px 16px 60px;
    background: var(--jk-paper);
    color: var(--jk-ink);
    font-size: 17.6px;
    line-height: 1.8;
    word-break: normal;
    word-break: auto-phrase;
    overflow-wrap: break-word;
}
.jk.jk-white { background: #fff; }
.jk.jk-sage { background: var(--jk-sage); }
/* セージの地ではコーラルの文字が床(4.5)に届かないページがあるため緑にする */
.jk-sage .jk-kicker, .jk-sage .jk-more { color: var(--jk-green); }
.jk * { box-sizing: border-box; }
/* style.css の見出しの下余白だけ外す（p・ul の余白は style.css の * で0になっている） */
.jk h2, .jk h3, .jk h4 { margin: 0; }
.jk ul { list-style: none; }
.jk-in { max-width: 1040px; margin: 0 auto; }
.jk-center { text-align: center; }

/* 見出し */
.jk-kicker { text-align: center; color: var(--jk-coral); font-weight: 700; font-size: 16px; letter-spacing: .08em; }
.jk .jk-h2 {
    text-align: center; color: var(--jk-green);
    font-family: 'Zen Maru Gothic', sans-serif; font-weight: 700;
    font-size: 32px; line-height: 1.45; margin: 6px 0 10px;
}
.jk-lead { text-align: center; color: var(--jk-sub); max-width: 720px; margin: 0 auto 28px; }
.jk .jk-h3 { font-family: 'Zen Maru Gothic', sans-serif; font-weight: 700; font-size: 20.8px; line-height: 1.5; color: var(--jk-green); margin-bottom: 10px; }

/* 入口のタイル */
.jk-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.jk-tile {
    display: flex; flex-direction: column; gap: 4px;
    background: var(--jk-card); border: 2px solid var(--jk-line); border-radius: 16px;
    padding: 20px 20px 18px; text-decoration: none; color: var(--jk-ink);
    box-shadow: 0 4px 14px rgba(60, 80, 60, .08); transition: border-color .2s, transform .2s;
}
.jk-tile:hover { border-color: var(--jk-green); transform: translateY(-2px); opacity: 1; }
.jk-ico { font-size: 40px; line-height: 1.2; }
.jk-tl { font-family: 'Zen Maru Gothic', sans-serif; font-weight: 700; font-size: 24px; color: var(--jk-green); line-height: 1.45; }
.jk-ts { font-size: 16px; color: var(--jk-sub); line-height: 1.6; }
.jk-tile::after { content: "ご案内へ ↓"; margin-top: 6px; font-size: 16px; font-weight: 700; color: var(--jk-coral); }
.jk-tile[href*=".html"]::after { content: "専用ページへ →"; }

/* 作業会の節は見出しを左に寄せ、ほかの節と形を変える */
.jk-side-head { border-left: 8px solid var(--jk-green); padding-left: 18px; margin-bottom: 24px; }
.jk .jk-side-head .jk-h2 { text-align: left; margin-top: 0; }
.jk-side-head .jk-lead { text-align: left; margin: 0; max-width: none; }

/* 地図 */
.jk-road { margin-top: 36px; }
.jk-road-head { display: flex; align-items: center; gap: 12px; border-bottom: 2px solid var(--jk-sage-line); padding-bottom: 8px; }
.jk-num {
    flex: none; width: 44px; height: 44px; border-radius: 999px; background: var(--jk-green); color: #fff;
    display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 24px;
}
.jk-road-head h3 { font-family: 'Zen Maru Gothic', sans-serif; font-weight: 700; font-size: 24px; line-height: 1.4; color: var(--jk-green); }
.jk-road-lead { color: var(--jk-sub); margin: 10px 0 16px; }
.jk-cards { display: grid; gap: 16px; }
.jk-cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.jk-cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.jk-card {
    display: flex; flex-direction: column; gap: 10px;
    background: var(--jk-paper); border: 1.5px solid var(--jk-line); border-radius: 16px; padding: 20px;
}
.jk-tag { align-self: flex-start; background: #fff; border: 1.5px solid var(--jk-coral); color: var(--jk-coral); font-weight: 700; font-size: 16px; border-radius: 999px; padding: 2px 14px; }
.jk .jk-name { font-family: 'Zen Maru Gothic', sans-serif; font-weight: 700; font-size: 20.8px; line-height: 1.45; color: var(--jk-ink); }
.jk-price { display: flex; flex-direction: column; background: #fff; border-radius: 8px; padding: 8px 14px; border-left: 6px solid var(--jk-green); }
.jk-price b { font-size: 20.8px; color: var(--jk-green); line-height: 1.5; }
.jk-price span { font-size: 16px; color: var(--jk-sub); line-height: 1.6; }
.jk-inc { display: flex; flex-direction: column; gap: 6px; }
.jk-inc > div { display: grid; grid-template-columns: 5.2em minmax(0, 1fr); gap: 8px; align-items: baseline; }
.jk-inc dt { font-size: 16px; font-weight: 700; color: #fff; background: var(--jk-green); border-radius: 8px; text-align: center; line-height: 1.8; }
.jk-inc dd { font-size: 16px; line-height: 1.7; }
.jk-more { margin-top: auto; align-self: flex-start; color: var(--jk-coral); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.jk-first {
    margin-top: 36px; display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap;
    background: var(--jk-paper); border: 2px solid var(--jk-coral); border-radius: 16px; padding: 22px 24px;
}
.jk-first > div { flex: 1 1 420px; }
.jk-first-h { font-family: 'Zen Maru Gothic', sans-serif; font-weight: 700; font-size: 20.8px; color: var(--jk-coral); }
.jk-btn {
    display: inline-block; background: var(--jk-coral); color: #fff; font-weight: 700;
    border-radius: 999px; padding: 14px 28px; text-decoration: none; box-shadow: 0 6px 16px rgba(120, 60, 0, .18);
}
.jk-btn:hover { color: #fff; }

/* 作業会 */
.jk-kai-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 24px; }
.jk-kai, .jk-who { background: #fff; border-radius: 16px; padding: 4px 18px; }
.jk-kai li {
    display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 4px 10px;
    border-bottom: 1px solid var(--jk-sage-line); padding: 10px 0;
}
.jk-kai li:last-child, .jk-who-row:last-child { border-bottom: 0; }
.jk-kai .jk-ico { font-size: 19.2px; text-align: center; }
.jk-kai-n { font-weight: 700; }
.jk-kai-t { font-size: 16px; color: var(--jk-sub); white-space: nowrap; }
.jk-kai-t b { color: var(--jk-green); }
.jk-kai li.jk-kai-sem .jk-kai-n { color: var(--jk-coral); }
.jk-sage .jk-kai li.jk-kai-sem .jk-kai-n { color: var(--jk-green); }
.jk-who-row { padding: 12px 0; border-bottom: 1px solid var(--jk-sage-line); }
.jk-who-name { font-weight: 700; margin-bottom: 6px; }
.jk-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.jk-chips li { font-size: 16px; background: var(--jk-sage); border: 1px solid var(--jk-sage-line); color: var(--jk-green); border-radius: 999px; padding: 1px 12px; white-space: nowrap; font-weight: 700; }
.jk-notes { margin-top: 20px; display: flex; flex-direction: column; gap: 4px; }
.jk-notes li { font-size: 16px; color: var(--jk-sub); padding-left: 1.2em; text-indent: -1.2em; }
.jk-notes li::before { content: "※ "; }
.jk-links { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 28px; }

/* 通い方の例 */
.jk-stories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.jk-story { background: #fff; border-radius: 16px; overflow: hidden; border: 1.5px solid var(--jk-line); display: flex; flex-direction: column; }
.jk-story img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.jk-story-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; }
.jk-story:last-child { grid-column: 1 / -1; flex-direction: row; }
.jk-story:last-child img { width: 44%; aspect-ratio: auto; }
.jk-story:last-child .jk-story-body { flex: 1; }
.jk-who-tag { font-weight: 700; color: var(--jk-sub); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.jk-kind { background: var(--jk-green); color: #fff; border-radius: 999px; font-size: 16px; padding: 0 12px; }
.jk-story .jk-h3 { margin-bottom: 0; }
.jk-pick { background: var(--jk-sage); border-radius: 8px; padding: 8px 14px; font-weight: 700; color: var(--jk-green); }
.jk-pick span, .jk-cost span, .jk-sub-h { display: block; font-size: 16px; font-weight: 700; color: var(--jk-sub); }
.jk-month { display: flex; flex-direction: column; gap: 6px; }
.jk-month li { display: grid; grid-template-columns: 9.2em minmax(0, 1fr); gap: 10px; align-items: baseline; font-size: 16px; line-height: 1.7; }
.jk-day { background: var(--jk-paper); border: 1px solid var(--jk-line); border-radius: 8px; text-align: center; font-weight: 700; color: var(--jk-green); padding: 0 6px; }
.jk-cost { border-top: 1.5px dashed var(--jk-line); padding-top: 10px; font-size: 16px; color: var(--jk-sub); }
.jk-cost b { font-size: 20.8px; color: var(--jk-coral); margin-right: 4px; }
.jk-point { background: var(--jk-paper); border-left: 6px solid var(--jk-coral); border-radius: 8px; padding: 10px 14px; font-size: 16px; line-height: 1.7; }
.jk-point b { display: inline-block; margin-right: 8px; color: var(--jk-coral); }

/* タブレット */
@media (max-width: 900px) {
    .jk-tiles, .jk-cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .jk-kai-grid { grid-template-columns: minmax(0, 1fr); }
}
/* スマホ */
@media (max-width: 640px) {
    .jk { padding: 44px 14px 48px; }
    .jk-tiles { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .jk-tile { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 12px; padding: 14px 16px; }
    .jk-tile .jk-ico { grid-row: 1 / span 3; align-self: center; }
    .jk-cards-3, .jk-cards-2, .jk-stories { grid-template-columns: minmax(0, 1fr); }
    .jk-story:last-child { flex-direction: column; }
    .jk-story:last-child img { width: 100%; aspect-ratio: 3 / 2; }
    .jk-month li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
    .jk-day { justify-self: start; }
    .jk-kai li { grid-template-columns: 34px minmax(0, 1fr); }
    .jk-kai-t { grid-column: 2; }
    .jk-lead { text-align: left; }
}

/* トップの「ほかの通い方の例」折りたたみ（2026-09-28） */
.jk-more-stories { margin-top: 1.2rem; }
.jk-more-stories > summary { cursor: pointer; list-style: none; text-align: center; font-weight: 700; color: #3f6b55; background: #fff; border: 1.5px solid #3f6b55; border-radius: 999px; padding: .85rem 1.2rem; max-width: 420px; margin: 0 auto; font-size: 1rem; }
.jk-more-stories > summary::-webkit-details-marker { display: none; }
.jk-more-stories > summary::after { content: " ▼"; font-size: .8em; }
.jk-more-stories[open] > summary::after { content: " ▲"; }
.jk-more-stories[open] > .jk-stories { margin-top: 1.2rem; }
