/* みんなの参加ボード。デザイン案 https://claude.ai/artifact/ToVgWF8neibsauc18T2kr8 を写したもの（四角い角・黒の太線・6色） */
:root {
  --blue: #0068B0; --red: #D42A20; --orange: #F07F00; --yellow: #F5C400; --green: #087A57; --purple: #6B4FA0;
  --ink: #111111; --sub: #444444; --line: #D9D9D9; --bg: #FFFFFF;
  --en: 'Special Gothic Expanded One', 'Arial Black', sans-serif;
  --ja: 'LINE Seed JP', 'Hiragino Sans', 'Noto Sans JP', sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--ja); font-size: 15px; line-height: 1.7; }
a { color: var(--blue); }
a:hover { color: #004A80; }
main { max-width: 720px; margin: 0 auto; }
.en { font-family: var(--en); font-weight: 400; letter-spacing: 0.01em; }
.blue-t { color: var(--blue); } .red-t { color: var(--red); } .green-t { color: var(--green); }

.stripe { display: grid; grid-template-columns: repeat(6, 1fr); height: 6px; }
.site-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; border-bottom: 2px solid var(--ink); max-width: 720px; margin: 0 auto; }
.logo { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1.3; }
.logo .en { font-family: var(--en); font-size: 18px; }
.logo .ja { font-size: 11px; font-weight: 700; }
.site-head .tag { font-size: 11px; font-weight: 700; border: 2px solid var(--ink); padding: 5px 9px; }

.photo { position: relative; margin: 0; overflow: hidden; background: #222; }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo figcaption { position: absolute; right: 6px; bottom: 4px; font-size: 9px; line-height: 1.3; color: rgba(255,255,255,0.92); text-shadow: 0 0 3px rgba(0,0,0,0.7); }
.photo.between { height: 200px; border: 2px solid var(--ink); }

.hero, .board-hero { position: relative; height: 520px; overflow: hidden; }
.board-hero { height: 320px; }
.hero .hero-img, .board-hero .hero-img { position: absolute; inset: 0; height: 100%; }
.hero .hero-img img { object-position: 50% 60%; }
.hero .hero-img figcaption, .board-hero .hero-img figcaption { top: 6px; bottom: auto; }
.hero::after, .board-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.62) 100%); pointer-events: none; }
.hero-text { position: absolute; left: 18px; right: 18px; bottom: 22px; z-index: 1; color: #FFFFFF; display: flex; flex-direction: column; gap: 10px; }
.hero-text h1 { margin: 0; font-size: 34px; line-height: 1.3; font-weight: 800; }
.board-hero .hero-text h1 { font-size: 30px; line-height: 1.05; }
.hero-text p { margin: 0; font-size: 14px; font-weight: 700; }
.pill { align-self: flex-start; font-size: 12px; font-weight: 800; padding: 4px 10px; }
.pill.yellow { background: var(--yellow); color: var(--ink); }
.pill.white { background: #FFFFFF; color: var(--ink); }

.block { padding: 28px 18px 8px; display: flex; flex-direction: column; gap: 14px; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 2px solid var(--ink); padding-bottom: 8px; }
.block-head h2 { margin: 0; font-size: 22px; }
.block-head span { font-size: 12px; font-weight: 700; }
.event-card { display: flex; flex-direction: column; border: 2px solid var(--ink); text-decoration: none; color: var(--ink); }
.event-card-photo { position: relative; height: 180px; }
.event-card-photo .photo { height: 100%; }
.event-card-photo img { object-position: 50% 45%; }
.flag { position: absolute; left: 0; top: 0; font-size: 12px; font-weight: 800; padding: 6px 10px; }
.flag.red { background: var(--red); color: #FFFFFF; }
.event-card-title { background: var(--blue); color: #FFFFFF; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; }
.event-card-title .en { font-size: 24px; line-height: 1.1; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); }
.stats > div { padding: 10px 12px; display: flex; flex-direction: column; }
.stats span { font-size: 11px; font-weight: 700; }
.stats b { font-size: 24px; line-height: 1.2; }
.stats b small { font-family: var(--ja); font-size: 12px; font-weight: 800; }
.stats.big { border-bottom: 2px solid var(--ink); }
.stats.big b { font-size: 28px; }
.stats .yellow { background: var(--yellow); }
.stats .orange { background: var(--orange); }
.stats .red { background: var(--red); color: #FFFFFF; }
.stats .white { background: #FFFFFF; border-left: 2px solid var(--ink); }
.soon { border: 2px dashed var(--ink); padding: 16px; font-size: 13px; line-height: 1.7; text-align: center; display: flex; flex-direction: column; }
.how { gap: 0; padding-bottom: 32px; }
.how-row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.how-row:last-child { border-bottom: none; }
.how-row .num { flex: none; width: 48px; font-size: 30px; line-height: 1.2; }
.how-row b { font-size: 16px; font-weight: 800; }
.how-row p { margin: 4px 0 0; font-size: 13px; }
.empty { margin: 0; font-size: 14px; }

.notice { margin: 18px 16px 0; border: 2px solid var(--ink); display: flex; }
.notice .bar { flex: none; width: 10px; background: var(--purple); }
.notice div { padding: 12px 14px; }
.notice .en { font-size: 13px; color: var(--purple); }
.notice p { margin: 2px 0 0; font-size: 14px; font-weight: 700; }
.cta-wrap { padding: 0; }
.cta { display: flex; align-items: center; justify-content: space-between; min-height: 58px; padding: 0 18px; background: var(--blue); color: #FFFFFF; text-decoration: none; font-size: 17px; font-weight: 800; }
.cta:hover { color: #FFFFFF; background: #005A99; }
.cta small { font-size: 12px; color: var(--yellow); }
.cta.closed { background: #777777; }
.voices-head { display: flex; align-items: flex-end; justify-content: space-between; margin: 26px 16px 0; padding-bottom: 8px; border-bottom: 2px solid var(--ink); }
.voices-head h2 { margin: 0; font-size: 22px; }
.seg { display: flex; }
.seg a { display: flex; align-items: center; min-height: 40px; padding: 0 12px; border: 2px solid var(--ink); font-size: 12px; font-weight: 800; color: var(--ink); text-decoration: none; background: #FFFFFF; }
.seg a + a { border-left: none; }
.seg a.on { background: var(--ink); color: #FFFFFF; }
.voices { padding: 14px 16px 24px; display: flex; flex-direction: column; gap: 14px; }

.post { border: 2px solid var(--ink); display: flex; flex-direction: column; background: #FFFFFF; }
.post-head { background: #FFFFFF; color: var(--ink); border-bottom: 1.5px solid var(--ink); padding: 10px 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.post-name { font-size: 17px; font-weight: 800; display: flex; align-items: center; gap: 8px; word-break: break-all; }
.post-badge { font-family: var(--en); font-size: 13px; flex: none; }
.post-body { padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { border: 1.5px solid var(--ink); padding: 2px 7px; font-size: 11px; font-weight: 800; }
.post-msg { margin: 0; font-size: 15px; white-space: pre-wrap; overflow-wrap: anywhere; }
.post-advice { border-top: 1.5px dashed var(--ink); padding-top: 10px; font-size: 13px; white-space: pre-wrap; }
.post-advice b { color: var(--green); }
.post-sns { font-size: 12px; color: var(--sub); }

.examples { margin: 8px 16px 0; padding: 0 0 130px; }
details.examples summary { cursor: pointer; list-style: none; border: 2px dashed var(--ink); padding: 14px; font-weight: 800; text-align: center; min-height: 44px; }
details.examples summary::-webkit-details-marker { display: none; }
.ex-list { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.post.example { background: #FFFFFF; }
.post.example .post-head { border-bottom: 1.5px solid var(--ink); }
.ex-tag { font-size: 10px; font-weight: 500; color: #A0A0A0; border: 1px solid #D0D0D0; padding: 0 4px; margin-right: 6px; vertical-align: 2px; }
.sticky-cta { position: sticky; bottom: 0; padding: 12px 16px 18px; background: #FFFFFF; border-top: 2px solid var(--ink); }
.sticky-cta a { display: flex; align-items: center; justify-content: center; min-height: 52px; background: var(--red); color: #FFFFFF; font-size: 16px; font-weight: 800; text-decoration: none; }

.form-head { padding: 24px 20px 8px; }
.form-head h1 { margin: 2px 0 8px; font-size: 26px; font-weight: 800; }
.form-head p { margin: 0; font-size: 14px; color: var(--sub); }
.err-top { margin: 12px 20px 0; padding: 10px 12px; background: var(--red); color: #FFFFFF; font-weight: 800; }
.entry { padding: 12px 20px 48px; display: flex; flex-direction: column; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; border: none; min-width: 0; }
.field > label, .field legend { font-size: 14px; font-weight: 800; padding: 0; }
.field em { font-style: normal; color: var(--red); font-size: 12px; }
.field small { color: var(--sub); font-size: 12px; font-weight: 400; }
.entry input:not([type=radio]), .entry select, .entry textarea { width: 100%; min-height: 50px; padding: 10px 14px; border: 2px solid var(--ink); border-radius: 0; background: #FFFFFF; font-family: inherit; font-size: 16px; color: var(--ink); }
.entry textarea { line-height: 1.6; resize: vertical; }
.entry input:focus, .entry select:focus, .entry textarea:focus { outline: 3px solid var(--yellow); outline-offset: 0; }
.choice3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.choice-col { display: flex; flex-direction: column; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: flex; align-items: center; justify-content: center; min-height: 48px; border: 2px solid var(--ink); font-size: 15px; font-weight: 700; padding: 0 8px; text-align: center; }
.choice input:checked + span { background: var(--red); color: #FFFFFF; }
.choice input:focus-visible + span { outline: 3px solid var(--yellow); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.range { display: flex; align-items: center; gap: 8px; }
.range input { flex: 1; min-width: 0; }
.hint { font-size: 12px; color: var(--sub); }
.err { font-size: 13px; font-weight: 800; color: var(--red); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.submit { min-height: 58px; border: none; background: var(--red); color: #FFFFFF; font-family: inherit; font-size: 17px; font-weight: 800; cursor: pointer; }
.submit:hover { background: #B32219; }
.fine { margin: 0; font-size: 12px; color: var(--sub); text-align: center; }

.thanks { padding-bottom: 40px; }
.thanks-head { padding: 28px 20px 8px; display: flex; flex-direction: column; gap: 10px; }
.thanks-head h1 { margin: 0; font-size: 28px; font-weight: 800; }
.thanks-head p { margin: 0; }
.invite { margin: 24px 16px 0; border: 2px solid var(--ink); padding: 18px; display: flex; flex-direction: column; gap: 12px; background: #FFFFFF; }
.invite .en { font-size: 13px; color: var(--purple); }
.invite h2 { margin: 0; font-size: 20px; }
.invite p { margin: 0; }
.line-btn { display: flex; align-items: center; justify-content: center; min-height: 54px; background: #06C755; color: #FFFFFF; font-weight: 800; text-decoration: none; }
.line-btn:hover { color: #FFFFFF; background: #05A647; }
.code b { font-size: 26px; letter-spacing: 0.1em; margin-left: 8px; }

.site-foot { background: var(--ink); color: #FFFFFF; padding: 22px 18px 28px; display: flex; flex-direction: column; gap: 6px; font-size: 11px; line-height: 1.7; margin-top: 24px; }
.site-foot .en { font-family: var(--en); font-size: 16px; }

@media (min-width: 720px) {
  .hero { height: 600px; }
  .hero-text h1 { font-size: 44px; }
  .board-hero { height: 400px; }
  .photo.between { height: 280px; }
  .site-foot { padding-left: calc(50% - 342px); }
}

/* 管理画面 */
.choice-inline { display: flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; }
.choice-inline input { width: 22px; height: 22px; }
.admin-posts { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.hidden-post { opacity: 0.55; }
.admin-posts .submit { min-height: 44px; font-size: 14px; width: 100%; }
.photo figcaption a { color: inherit; text-decoration: none; }

/* ロゴ C: 6色の四角を 3×2 に */
.logo { flex-direction: row; align-items: center; gap: 10px; }
.logo .words { display: flex; flex-direction: column; line-height: 1.3; }
.logo-mark { display: grid; grid-template-columns: repeat(3, 11px); grid-template-rows: repeat(2, 11px); gap: 2px; flex: none; }
.logo-mark i { display: block; }
.foot-logo { display: flex; align-items: center; gap: 8px; }
.foot-logo .logo-mark { grid-template-columns: repeat(3, 8px); grid-template-rows: repeat(2, 8px); }

/* 写真をたくさん（2026-11-02 社長「トップ以外にも写真差し込めない？」） */
.strip { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 16px 16px 4px; -webkit-overflow-scrolling: touch; }
.strip-item { flex: 0 0 72%; height: 200px; scroll-snap-align: start; border: 2px solid var(--ink); }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mosaic .photo { border: 2px solid var(--ink); }
.m-big { grid-column: 1 / -1; height: 230px; }
.m-small { height: 150px; }
.band { position: relative; height: 320px; margin-top: 16px; overflow: hidden; }
.band-img { position: absolute; inset: 0; height: 100%; }
.band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.65) 100%); pointer-events: none; }
.band-text { position: absolute; left: 18px; right: 18px; bottom: 20px; z-index: 1; color: #FFFFFF; }
.band-text .en { font-size: 18px; color: var(--yellow); }
.band-text p { margin: 4px 0 0; font-size: 20px; font-weight: 800; }
.form-banner { height: 180px; }
.band + .site-foot, main:has(.band) + .site-foot { margin-top: 0; }
@media (min-width: 720px) { .strip-item { flex-basis: 45%; height: 240px; } .m-big { height: 340px; } .m-small { height: 200px; } .band { height: 420px; } .form-banner { height: 260px; } }
.offkai-opt .hint { display: block; margin-top: 4px; }
.stats b.ja-big { font-family: var(--ja); font-weight: 800; font-size: 20px; }
.stats.big b.ja-big { font-size: 22px; }
.post-no { font-size: 11px; font-weight: 700; opacity: .8; margin-left: auto; margin-right: 8px; }
.post-badge.is-first { font-size: 15px; background: var(--yellow); color: var(--ink); border: 2px solid var(--ink); padding: 3px 10px; letter-spacing: .06em; box-shadow: 2px 2px 0 var(--ink); }
.ex-note { margin: 12px 0 0; font-size: 12px; color: var(--sub); text-align: center; }
.cta-wrap + .stats.big { border-top: 2px solid var(--ink); }
.offkai-banner { margin: 18px 16px 0; padding: 16px 16px 14px; background: var(--yellow); border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--red); display: flex; flex-direction: column; gap: 6px; }
.offkai-banner .en { font-size: 14px; color: var(--red); }
.offkai-banner h2 { margin: 0; font-size: 19px; line-height: 1.35; }
.offkai-banner p { margin: 0; font-size: 14px; font-weight: 700; }
.offkai-banner a { align-self: flex-start; margin-top: 4px; padding: 8px 14px; background: var(--red); color: #FFFFFF; font-weight: 800; text-decoration: none; }
.offkai-banner a:hover { color: #FFFFFF; background: #B32219; }
.strip-head { display: flex; justify-content: space-between; align-items: baseline; padding: 22px 16px 0; }
.strip-head .en { font-size: 22px; }
.strip-head small { font-size: 12px; font-weight: 700; color: var(--sub); }
.card-go { display: flex; align-items: center; justify-content: space-between; min-height: 54px; padding: 0 18px; background: var(--red); border-top: 2px solid var(--ink); color: #FFFFFF; font-size: 16px; font-weight: 800; }
.card-go b { font-size: 20px; transition: transform .15s; }
.event-card:hover .card-go { background: #B32219; }
.event-card:hover .card-go b { transform: translateX(4px); }
.board-list { margin-top: 18px; }
.board-list h3 { margin: 0 0 6px; font-size: 15px; }
.board-list ul { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.board-list li a { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 4px; border-bottom: 1.5px solid var(--ink); color: var(--blue); text-decoration: underline; text-underline-offset: 3px; font-weight: 800; font-size: 16px; }
.board-list li a small { color: var(--sub); font-size: 12px; text-decoration: none; font-weight: 700; }
.board-list li a b { margin-left: auto; color: var(--ink); font-size: 18px; }
.board-list li a:hover { background: #F4F8FC; }
.choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
a.post-sns { color: var(--blue); font-weight: 700; }
.offkai-opt { background: var(--yellow); border: 2px solid var(--ink); padding: 12px 14px; }
.offkai-opt .choice-inline { display: flex; flex-direction: row; justify-content: flex-start; gap: 10px; font-size: 17px; }
.offkai-opt .choice-inline input { flex: none; width: 24px; height: 24px; min-height: 0; margin: 0; padding: 0; }
.offkai-opt .hint { color: var(--ink); }

/* シェア（2026-11-03） */
.share { margin: 14px 0 6px; }
.share-lead { font-size: 13px; font-weight: 700; margin: 0 0 8px; }
.share-row { display: flex; gap: 8px; }
.share-btn { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 48px; font-weight: 800; text-decoration: none; color: #FFFFFF; background: #111111; }
.share-btn:hover { color: #FFFFFF; opacity: 0.85; }

/* 案内ページ（2026-11-03） */
.guide-body { padding: 18px 18px 8px; line-height: 1.85; }
.guide-body h1 { font-size: 22px; line-height: 1.5; margin: 6px 0 14px; }
.guide-body h2 { font-size: 17px; margin: 22px 0 8px; padding-left: 10px; border-left: 4px solid var(--ink); }
.guide-body ul { padding-left: 1.3em; margin: 6px 0; }
.guide-body .crumb { font-size: 12px; margin: 0; }
.guide-cta { margin: 24px 0 8px; }
.guide-src ul { font-size: 13px; }
.guide-links { padding: 18px; }
.guide-links h2 { font-size: 17px; margin: 4px 0 8px; }
.guide-links ul { padding-left: 1.3em; line-height: 2; margin: 0; }
.block .guide-links { padding: 18px 0 6px; }

/* トップの案内タイル（2026-11-03 社長「上の方にも出して 画像の上に文字載せたりして」） */
.guide-tiles { margin: 22px 0 6px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tile { position: relative; display: block; height: 120px; border: 2px solid var(--ink); color: #FFFFFF; text-decoration: none; overflow: hidden; }
.tile .photo { position: absolute; inset: 0; height: 100%; }
.tile .photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.72), rgba(0,0,0,0.05) 70%); }
.tile .photo figcaption { top: 3px; bottom: auto; z-index: 1; font-size: 8px; }
.tile-text { position: absolute; left: 10px; right: 10px; bottom: 8px; z-index: 1; display: flex; flex-direction: column; gap: 2px; text-shadow: 0 1px 4px rgba(0,0,0,0.6); }
.tile-text b { font-size: 16px; line-height: 1.3; }
.tile-text small { font-size: 11px; color: var(--yellow, #F5C400); font-weight: 800; }
.tile:hover .photo img { transform: scale(1.04); transition: transform 0.3s; }
@media (min-width: 720px) { .tiles { grid-template-columns: repeat(3, 1fr); } .tile { height: 150px; } }
