@charset "UTF-8";
/* ============================================================
   ゆらぎの手 JOURNAL 用スタイル  journal.css
   2026-08-26 作成。
   前半は index.html の共通部分（ナビ・フッター・見出し・表・ボタン）を
   そのまま写したもの。触らない。
   後半（JOURNAL ここから）だけが JOURNAL 固有。
   既存ページはこのファイルを読み込まないので、ここを直しても
   index / events / join には影響しない。
   ============================================================ */

/* ───────── 共通（index.html と同一） ───────── */
:root{
  --ink:#2f2b26; --muted:#6b6459; --teal:#246b6b; --teal-deep:#1c4f4f;
  --gold:#b8934a; --gold-soft:#d9c193; --shu:#a85a3f;
  --cream:#f7f3e8; --cream2:#f1ead9; --line:#e2d9c3; --white:#fffdf8;
  --dark:#26312e;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0; color:var(--ink); background:var(--cream);
  font-family:"Shippori Mincho","Hiragino Mincho ProN","Yu Mincho",serif;
  line-height:2.1; font-size:16px;
  -webkit-font-smoothing:antialiased;
}
a{color:var(--teal)}
.wrap{max-width:720px; margin:0 auto; padding:0 24px}

/* ───────── ナビ ───────── */
nav.top{
  position:fixed; top:0; left:0; right:0; z-index:50;
  background:rgba(38,49,46,.96); backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(184,147,74,.45);
  box-shadow:0 4px 20px -12px rgba(0,0,0,.55);
}
nav.top .inner{
  max-width:960px; margin:0 auto; padding:10px 20px;
  display:flex; align-items:center; justify-content:space-between; gap:12px;
}
nav.top .brand{
  display:flex; align-items:center; gap:10px; text-decoration:none; color:#fffdf6;
  flex:0 0 auto; white-space:nowrap;
}
nav.top .brand img{width:auto; height:32px; flex:0 0 auto}
nav.top .brand span{font-size:16px; letter-spacing:.2em; font-weight:700; white-space:nowrap}
nav.top .links{display:flex; align-items:center; gap:4px}
nav.top .links a{
  font-size:13.5px; color:#f4eee1; text-decoration:none; font-weight:600;
  padding:7px 12px; border-radius:20px; letter-spacing:.12em; white-space:nowrap;
  transition:color .25s, background .25s;
}
nav.top .links a:hover{color:#26312e; background:var(--gold-soft)}

/* メニューボタン（狭い画面のみ表示） */
.navbtn{
  display:none; flex:0 0 auto; width:42px; height:42px; padding:0; position:relative;
  background:transparent; border:1px solid rgba(184,147,74,.5); border-radius:50%;
  cursor:pointer; -webkit-tap-highlight-color:transparent;
}
.navbtn span{
  position:absolute; left:11px; width:20px; height:1.5px; background:#f4eee1; border-radius:2px;
  transition:transform .3s ease, opacity .2s ease;
}
.navbtn span:nth-child(1){top:14px}
.navbtn span:nth-child(2){top:20px}
.navbtn span:nth-child(3){top:26px}
.navbtn[aria-expanded="true"] span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.navbtn[aria-expanded="true"] span:nth-child(2){opacity:0}
.navbtn[aria-expanded="true"] span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}

/* 狭い画面：一行ヘッダー＋開閉メニュー */
@media(max-width:940px){
  nav.top .inner{padding:9px 16px}
  nav.top .brand img{height:28px}
  nav.top .brand span{font-size:15px; letter-spacing:.14em}
  .navbtn{display:block}
  nav.top .links{
    position:absolute; left:0; right:0; top:100%;
    flex-direction:column; align-items:stretch; gap:0;
    background:rgba(38,49,46,.985); backdrop-filter:blur(10px);
    border-bottom:1px solid rgba(184,147,74,.45);
    box-shadow:0 12px 24px -18px rgba(0,0,0,.6);
    max-height:0; overflow:hidden; opacity:0; visibility:hidden;
    transition:max-height .38s ease, opacity .28s ease, visibility .28s;
  }
  nav.top .links.open{max-height:460px; opacity:1; visibility:visible}
  nav.top .links a{
    padding:15px 22px; border-radius:0; font-size:15px; letter-spacing:.16em;
    border-top:1px solid rgba(184,147,74,.18);
  }
}

/* 固定ヘッダーの下に見出しが隠れないように */
section[id], header[id]{scroll-margin-top:74px}
@media(max-width:940px){ section[id], header[id]{scroll-margin-top:62px} }


/* ───────── セクション共通 ───────── */
section{padding:88px 0}
section.alt{background:var(--white)}
.kicker{
  display:block; font-size:11px; letter-spacing:.4em; color:var(--gold);
  margin:0 0 14px; text-transform:uppercase;
}
h2{
  font-size:24px; color:var(--ink); letter-spacing:.08em;
  margin:0 0 12px; font-weight:600; line-height:1.7;
}
.rule{
  width:56px; height:2px; margin:0 0 34px;
  background:linear-gradient(90deg, var(--gold), rgba(184,147,74,0));
}
.center .rule{margin-left:auto; margin-right:auto;
  background:linear-gradient(90deg, rgba(184,147,74,0), var(--gold), rgba(184,147,74,0))}
p{margin:0 0 18px}
.center{text-align:center}

/* 区切り波 */
.divider{display:block; width:100%; height:60px}

/* ───────── 事実表（GEO） ───────── */
table{
  width:100%; border-collapse:separate; border-spacing:0;
  background:var(--white); margin:26px 0; font-size:14px; line-height:1.9;
  border:1px solid var(--line); border-radius:10px; overflow:hidden;
}
th,td{padding:13px 18px; text-align:left; vertical-align:top; border-bottom:1px solid var(--line)}
tr:last-child th, tr:last-child td{border-bottom:none}
th{background:var(--cream2); font-weight:600; width:34%; border-right:1px solid var(--line)}
section.alt table{background:var(--cream)}
section.alt th{background:var(--cream2)}

/* ───────── 参加CTA ───────── */
.join{
  position:relative; overflow:hidden;
  background:
    radial-gradient(ellipse 70% 90% at 50% 110%, rgba(36,107,107,.08), rgba(36,107,107,0) 70%),
    var(--white);
}
.btn{
  display:inline-block; padding:15px 38px; border-radius:40px;
  text-decoration:none; font-size:15px; letter-spacing:.1em; margin:6px;
  transition:transform .25s ease, box-shadow .25s ease, background .25s;
}
.btn-primary{
  background:var(--teal); color:#fff;
  box-shadow:0 10px 24px -10px rgba(28,79,79,.5);
}
.btn-primary:hover{transform:translateY(-2px); background:var(--teal-deep)}
.btn-outline{border:1px solid var(--teal); color:var(--teal); background:transparent}
.btn-outline:hover{background:rgba(36,107,107,.06); transform:translateY(-2px)}
.line-id{font-size:13px; color:var(--muted); margin-top:16px; letter-spacing:.06em}

/* ───────── 注記 ───────── */
.note{
  font-size:13px; color:var(--muted);
  border-left:3px solid var(--gold-soft); padding:6px 0 6px 16px; margin:24px 0 0;
  line-height:2;
}

/* ───────── フッター ───────── */
footer{
  position:relative; background:var(--dark); color:rgba(255,253,246,.78);
  text-align:center; font-size:13px;
}
footer .inner{padding:64px 24px 70px; position:relative}
footer .flogo{
  width:130px; height:130px; margin:0 auto 20px; display:block;
  border-radius:50%;
  box-shadow:0 8px 28px -10px rgba(0,0,0,.45);
}
footer .fname{font-size:17px; color:#fffdf6; letter-spacing:.3em; margin:0 0 26px; text-indent:.3em}
footer .sns{margin:0 0 28px}
footer .sns a{
  display:inline-block; margin:0 6px; color:rgba(255,253,246,.85);
  text-decoration:none; font-size:12.5px; letter-spacing:.1em;
  border:1px solid rgba(255,253,246,.25); border-radius:30px; padding:7px 18px;
  transition:border-color .25s, color .25s;
}
footer .sns a:hover{border-color:var(--gold-soft); color:var(--gold-soft)}
footer .copy{color:rgba(255,253,246,.45); letter-spacing:.08em}
footer .fwave{display:block; width:100%; height:70px; margin-bottom:-1px}

/* ───────── 出現アニメーション（JS有効時のみ） ───────── */
.js .fade{opacity:0; transform:translateY(24px); transition:opacity .9s ease, transform .9s ease}
.js .fade.in{opacity:1; transform:none}

/* ───────── ページ見出し（events.html と同一） ───────── */
.pagehead{
  position:relative; overflow:hidden; padding:132px 0 0;
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, #fffdf6 0%, rgba(255,253,246,0) 62%),
    var(--cream);
}
.pagehead h1{font-size:27px; letter-spacing:.1em; font-weight:600; color:var(--ink); margin:0 0 22px; line-height:1.9}
.pagehead .close{font-size:16px; color:var(--ink); margin:0 0 8px; line-height:2.3}

.pager{margin:0; padding:56px 0 76px; text-align:center; font-size:13.5px; background:var(--white)}
.pager a{text-decoration:none; letter-spacing:.1em}


/* ════════════════════════════════════════════════════════════
   JOURNAL ここから
   ════════════════════════════════════════════════════════════ */

/* ── 3種タグ（職種／触れ方／テーマ）──
   種別ごとに色を変える。増やすときは data-kind を足す。 */
.jt{display:flex; flex-wrap:wrap; gap:6px; padding:0; margin:0 0 18px; list-style:none}
.jt li{margin:0}
.jt a, .jt span{
  display:inline-block; text-decoration:none; font-size:11.5px; letter-spacing:.08em;
  padding:4px 12px; border-radius:30px; line-height:1.9;
  border:1px solid var(--line); color:var(--muted); background:var(--white);
  transition:border-color .25s, color .25s;
}
.jt a:hover{border-color:var(--gold); color:var(--gold)}
.jt [data-kind="profession"]{border-color:rgba(36,107,107,.35); color:var(--teal)}
.jt [data-kind="mode"]{border-color:rgba(184,147,74,.5); color:var(--gold)}
.jt [data-kind="theme"]{border-color:rgba(168,90,63,.35); color:var(--shu)}

/* ── 一覧カード ── */
.jlist{list-style:none; padding:0; margin:0}
.jlist > li{
  background:var(--white); border:1px solid var(--line); border-radius:12px;
  padding:26px 28px; margin:0 0 18px;
  transition:border-color .25s, box-shadow .25s, transform .25s;
}
.jlist > li:hover{border-color:var(--gold-soft); box-shadow:0 12px 28px -20px rgba(0,0,0,.35); transform:translateY(-2px)}
.jlist h3{margin:0 0 10px; font-size:18px; font-weight:600; line-height:1.85; letter-spacing:.04em}
.jlist h3 a{color:var(--ink); text-decoration:none}
.jlist h3 a:hover{color:var(--teal)}
.jlist .jmeta{font-size:12px; color:var(--muted); letter-spacing:.06em; margin:0 0 12px}
.jlist .jmeta time{margin-right:14px}
.jlist .jlead{font-size:14px; line-height:2; margin:0 0 14px; color:var(--ink)}
.jlist .jmore{font-size:13px; letter-spacing:.08em; text-decoration:none}

/* ── 記事がまだ無いとき ── */
.jempty{
  background:var(--white); border:1px dashed var(--line); border-radius:12px;
  padding:34px 28px; text-align:center; color:var(--muted); font-size:14px; line-height:2.1;
}

/* ── 記事本文 ── */
.jbody{font-size:16px; line-height:2.15}
.jbody h2{font-size:20px; margin:52px 0 6px}
.jbody h2:first-child{margin-top:0}
.jbody h3{font-size:16.5px; margin:36px 0 10px; font-weight:600; letter-spacing:.05em; color:var(--teal-deep)}
.jbody blockquote{
  margin:26px 0; padding:4px 0 4px 20px; border-left:3px solid var(--gold-soft);
  color:var(--muted); font-size:15px;
}
.jbody ul, .jbody ol{margin:0 0 18px; padding-left:1.4em}
.jbody li{margin:0 0 8px}

/* ── 記事の頭（表題・日付・執筆／監修）── */
.jhead .jmeta{font-size:12.5px; color:var(--muted); letter-spacing:.06em; margin:0 0 18px; line-height:2.2}
.jhead .jmeta span{margin-right:16px; white-space:nowrap}

/* ── 根拠欄（設計書 §5 の必須項目。table で常設）── */
.jevidence{margin:44px 0 0; padding:0}   /* section の 88px padding を打ち消す */
.jevidence h2{font-size:17px; margin:0 0 4px; letter-spacing:.08em}
.jevidence .rule{margin-bottom:20px}
.jevidence table{font-size:13.5px}
.jevidence th{width:26%; white-space:nowrap}
.jevidence td .unknown{color:var(--shu); font-size:12.5px}
.jevidence td a{word-break:break-all}

/* ── 出典リスト ── */
.jsources{list-style:none; padding:0; margin:18px 0 0; font-size:13px; line-height:2}
.jsources li{padding-left:1.2em; text-indent:-1.2em; margin:0 0 8px; color:var(--muted)}

/* ── 会員の語り場への一文（付録A 案B・Phase3 で hidden を外す）── */
.jthread{
  margin:38px 0 0; padding:18px 22px; border-radius:10px;
  background:var(--cream2); border:1px solid var(--line);
  font-size:13.5px; color:var(--muted); line-height:2;
}
.jthread a{text-decoration:none; letter-spacing:.06em}

/* ── 記事末の注意書き（医療広告・§10）── */
.jdisclaimer{
  margin:34px 0 0; font-size:12.5px; color:var(--muted); line-height:2;
  border-top:1px solid var(--line); padding-top:18px;
}

/* ── 前後の記事 ── */
.jnav{display:flex; flex-wrap:wrap; gap:12px; justify-content:space-between; margin:44px 0 0; font-size:13px}
.jnav a{text-decoration:none; letter-spacing:.06em}

@media(max-width:640px){
  section{padding:64px 0}
  h2{font-size:21px}
  th{width:38%}
  .pagehead{padding-top:96px}
  .pagehead h1{font-size:22px}
  .pagehead .close{font-size:15px}
  .jlist > li{padding:22px 20px}
  .jlist h3{font-size:16.5px}
  .jbody{font-size:15.5px}
  .jevidence th{width:34%; white-space:normal}
}

/* ── 記事をさがす（2026-08-28 追加）──
   タグのボタンは、一覧カードの中のタグと同じ色分けにしてある。
   押されている状態は、色を反転させて分かるようにする。 */
.sr{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap}

.jfilter{margin:0 0 30px}
.jsearchbox{position:relative; margin:0 0 16px}
.jsearchbox input{
  width:100%; padding:13px 60px 13px 18px; font-size:15px; line-height:1.8;
  font-family:inherit; color:var(--ink);
  background:var(--white); border:1px solid var(--line); border-radius:30px;
  transition:border-color .25s;
}
.jsearchbox input:focus{outline:none; border-color:var(--gold)}
.jsearchbox input::placeholder{color:var(--muted); opacity:.75}
.jsearchbox button{
  position:absolute; right:8px; top:50%; transform:translateY(-50%);
  border:1px solid var(--line); background:var(--cream); color:var(--muted);
  font-family:inherit; font-size:11.5px; letter-spacing:.06em;
  padding:6px 12px; border-radius:30px; cursor:pointer;
}
.jsearchbox button:hover{border-color:var(--gold); color:var(--gold)}

.jchips{display:flex; flex-wrap:wrap; align-items:center; gap:6px; margin:0 0 9px}
.jchips-label{
  font-size:11.5px; letter-spacing:.12em; color:var(--muted);
  min-width:3.6em; margin-right:2px;
}
.jchip{
  font-family:inherit; font-size:11.5px; letter-spacing:.08em; line-height:1.9;
  padding:4px 12px; border-radius:30px; cursor:pointer;
  border:1px solid var(--line); color:var(--muted); background:var(--white);
  transition:border-color .25s, color .25s, background-color .25s;
}
.jchips[data-kind="profession"] .jchip{border-color:rgba(36,107,107,.35); color:var(--teal)}
.jchips[data-kind="mode"] .jchip{border-color:rgba(184,147,74,.5); color:var(--gold)}
.jchips[data-kind="theme"] .jchip{border-color:rgba(168,90,63,.35); color:var(--shu)}
.jchip:hover{border-color:var(--gold); color:var(--gold)}
.jchips[data-kind="profession"] .jchip[aria-pressed="true"]{background:var(--teal); border-color:var(--teal); color:#fff}
.jchips[data-kind="mode"] .jchip[aria-pressed="true"]{background:var(--gold); border-color:var(--gold); color:#fff}
.jchips[data-kind="theme"] .jchip[aria-pressed="true"]{background:var(--shu); border-color:var(--shu); color:#fff}

.jchips select{
  font-family:inherit; font-size:11.5px; letter-spacing:.06em; color:var(--muted);
  padding:5px 12px; border-radius:30px; background:var(--white);
  border:1px solid var(--line); cursor:pointer;
}
.jcount{font-size:12px; color:var(--muted); letter-spacing:.06em; margin:14px 0 0}
.jnohit{
  font-size:13.5px; color:var(--muted); line-height:2; margin:10px 0 0;
  padding:16px 20px; background:var(--cream2); border:1px solid var(--line); border-radius:10px;
}
.jmorewrap{text-align:center; margin:6px 0 0}
.jmorewrap button{
  font-family:inherit; font-size:13px; letter-spacing:.08em; color:var(--muted);
  padding:10px 30px; border-radius:30px; cursor:pointer;
  background:var(--white); border:1px solid var(--line);
}
.jmorewrap button:hover{border-color:var(--gold); color:var(--gold)}

@media(max-width:600px){
  .jchips-label{width:100%; min-width:0; margin:0 0 2px}
  .jsearchbox input{font-size:16px}   /* iOS で拡大されないように */
}

/* ── 本文の挿絵（2026-08-28）──
   絵は本文より少し狭くして、中央に置く。文章の流れを断ち切らず、
   息継ぎとして効かせるため。元画像が450px前後なので、伸ばしすぎない。
   絵の中にすでに言葉が入っている挿絵は、キャプションを付けない（二重に言わない）。 */
.jbody figure{
  margin:40px auto 42px; padding:0;
  max-width:600px;   /* 挿絵は横長（およそ3:1）。460pxだと帯が細くなりすぎる */
}
.jbody figure img{
  width:100%; height:auto; display:block; border-radius:8px;
  border:1px solid var(--line);
}
.jbody figcaption{
  font-size:12.5px; color:var(--muted); letter-spacing:.05em;
  line-height:1.9; margin-top:11px; text-align:center;
}
/* 見出しの直後に来たときは、上の余白を少しつめる */
.jbody h2 + figure{margin-top:26px}
@media(max-width:600px){
  .jbody figure{margin:32px auto 34px; max-width:100%}
  .jbody figcaption{font-size:12px; text-align:left}
}
