:root{--paper:#fbf7ef;--orange:#f15422;--ink:#181d19;--yellow:#f4cf58;--darkgreen:#34483b;--line:#ddd5c8;--muted:#69685f;--display:Impact,'Arial Narrow',sans-serif;--jp:'Noto Sans JP','Noto Sans CJK JP','Hiragino Kaku Gothic ProN',Meiryo,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--jp);line-height:1.68;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button{cursor:pointer}img{display:block;max-width:100%}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid var(--orange);outline-offset:3px}.container{width:min(1120px,calc(100% - 40px));margin:auto}
.topbar{position:sticky;z-index:40;top:0;background:rgba(252,247,237,.96);backdrop-filter:blur(16px);border-bottom:1px solid var(--line)}.topbar-row{height:78px;display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{font-size:28px;font-weight:950;letter-spacing:-.08em;white-space:nowrap}.brand small{display:block;font-size:10px;letter-spacing:.04em;font-weight:800;line-height:1;color:#686c64}.toplinks{display:flex;gap:22px;align-items:center;font-size:13px;font-weight:850}.toplinks a:hover{text-decoration:underline;text-decoration-color:var(--orange);text-underline-offset:7px}.menu-trigger{border:0;background:var(--ink);color:white;padding:14px 20px;border-radius:999px;letter-spacing:.06em;font-weight:950}.drawer{display:none;position:fixed;inset:78px 0 0;background:#12140eb8;z-index:50}.drawer.open{display:block}.drawer-main{height:100%;overflow:auto;margin-left:auto;background:var(--orange);width:min(430px,100%);padding:24px 26px}.drawer-main a{display:block;font-size:23px;font-weight:950;border-bottom:1px solid #0004;padding:18px 4px}.drawer-main .drawer-kicker{font:800 14px var(--display);letter-spacing:.15em;color:#fff2df;padding-bottom:20px}
.board-hero{position:relative;background:var(--orange);overflow:hidden;padding:72px 0 76px;min-height:470px;isolation:isolate}.board-hero::before{content:'YOURA';position:absolute;font:900 250px/.9 var(--display);color:#fff;opacity:.095;right:-120px;top:-35px;z-index:-1}.hero-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:45px;align-items:center}.eyebrow{display:inline-flex;align-items:center;gap:10px;font:800 14px var(--display);letter-spacing:.16em;color:#fff8ea}.eyebrow b{display:block;width:11px;height:11px;border-radius:100%;background:var(--yellow)}.board-hero h1{font-size:clamp(50px,7vw,94px);line-height:1.12;margin:15px 0 16px;letter-spacing:-.1em;font-weight:950}.board-hero h1 em{font-style:normal;color:#fff5e6}.board-hero p{font-size:17px;font-weight:800;max-width:520px}.hero-links{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.fat-btn{display:inline-flex;align-items:center;gap:18px;justify-content:center;padding:15px 23px;background:var(--ink);color:#fff;border:none;border-radius:999px;font-weight:900;min-height:54px;box-shadow:0 6px 0 #0002;transition:transform .2s}.fat-btn:hover{transform:translateY(-2px)}.fat-btn.alt{background:#fff9ed;color:var(--ink)}.hero-photo-wrap{position:relative;transform:rotate(5deg);height:345px}.hero-photo-wrap::before{content:'';position:absolute;inset:10px -20px -10px 20px;background:var(--yellow);border:3px solid #161c18;border-radius:46px 10px 65px 20px;transform:rotate(3deg)}.hero-photo-wrap img{position:relative;width:100%;height:100%;object-fit:cover;border-radius:48px 10px 65px 20px;border:5px solid var(--ink);box-shadow:9px 12px 0 #2225}.round-note{position:absolute;z-index:2;bottom:-26px;right:-13px;display:grid;place-items:center;transform:rotate(-8deg);width:125px;height:125px;border-radius:50%;background:#fff8e8;color:var(--ink);text-align:center;font-weight:950;border:3px solid var(--ink);box-shadow:4px 5px 0 var(--yellow)}.round-note span{line-height:1.25}
.ticker{background:var(--ink);color:#fff7e8;overflow:hidden;transform:rotate(-.6deg);padding:15px 0;box-shadow:0 6px 0 var(--yellow)}.ticker-line{white-space:nowrap;font:900 22px var(--display);letter-spacing:.13em;text-align:center}.ticker-line b{color:var(--yellow)}
.main-content{padding:82px 0 115px}.board-titleline{display:flex;align-items:end;justify-content:space-between;gap:26px;margin-bottom:28px}.small-en{font:850 13px var(--display);letter-spacing:.2em;color:var(--orange)}.board-titleline h2,.form-heading h2{font-size:clamp(32px,4.8vw,58px);line-height:1.25;letter-spacing:-.07em;margin:8px 0 0;font-weight:950}.board-titleline h2 span,.form-heading h2 span{color:var(--orange)}.board-titleline p{color:var(--muted);font-weight:750;font-size:13px;margin:0;max-width:260px}.feed{display:grid;grid-template-columns:1fr 1fr;gap:19px}.post-card{background:#fffdf8;border:1px solid #eee4d5;border-radius:26px;overflow:hidden;box-shadow:0 15px 42px rgba(48,31,18,.065);display:flex;flex-direction:column;min-width:0}.post-card:first-child{grid-column:span 2;display:grid;grid-template-columns:.85fr 1.15fr;min-height:255px}.post-card:first-child .post-gallery{height:100%;min-height:255px;order:2}.post-card:first-child .post-main{order:1}.post-gallery{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:3px;min-height:225px;height:245px;overflow:hidden;background:#ecd9bd}.post-gallery.one{display:block}.post-gallery.mosaic img:first-child{grid-row:span 2}.post-gallery img{height:100%;width:100%;object-fit:cover}.post-gallery .photo-count{position:absolute;bottom:12px;right:12px;border-radius:99px;padding:4px 10px;background:#111b;color:white;font-size:12px;font-weight:900}.post-text-only{min-height:55px;display:flex;align-items:center;padding:17px 23px;background:linear-gradient(115deg,#fbe2a7,#f5b67a)}.post-text-only b{font:900 22px var(--display);letter-spacing:.06em}.post-main{padding:24px 22px;flex:1;display:flex;flex-direction:column;gap:13px}.post-head{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.post-head strong{font-size:16px;letter-spacing:-.03em}.post-date{font:700 12px var(--jp);color:#7c7a72}.sample-mark{display:inline-flex;background:#eee6d9;color:#69675f;padding:3px 8px;border-radius:99px;font-size:10px;font-weight:800;margin-left:8px}.post-message{font-size:15px;font-weight:700;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9;margin:0}.post-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:auto}.react-button{background:#faf4e9;border:1px solid #ddd6ca;border-radius:99px;padding:8px 10px;display:inline-flex;gap:6px;align-items:center;min-height:37px;font-size:12px;font-weight:850;color:#2a2c26}.react-button.active{background:var(--yellow);border-color:#d49d37;color:#161817}.react-button .count{font-family:var(--display);font-size:14px}.report{border:0;background:none;text-decoration:underline;text-underline-offset:4px;margin-left:auto;font-size:11px;font-weight:800;color:#6d716b;padding:7px}.feed-empty{padding:25px;color:#686d64;font-weight:750;border:2px dashed #d9caba;border-radius:20px;grid-column:1/-1}
.bottom-links{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:20px;margin-top:30px}.route-link{display:inline-flex;align-items:center;gap:16px;font-weight:900;text-decoration:underline;text-underline-offset:6px;text-decoration-color:var(--orange)}.route-link b{display:grid;place-items:center;width:41px;height:41px;background:var(--orange);color:#fff;border-radius:50%}.hint{color:#727167;font-size:12px;font-weight:750}
.form-band{background:#202720;color:#fff8ee;padding:92px 0 100px;position:relative;overflow:hidden}.form-band::before{content:'YOUR MESSAGE';position:absolute;top:-25px;left:-30px;font:900 170px/1 var(--display);color:white;opacity:.025;white-space:nowrap;pointer-events:none}.form-grid{display:grid;grid-template-columns:.86fr 1.14fr;gap:45px;align-items:start}.form-heading h2{margin:11px 0 20px}.form-heading>p{font-weight:750;line-height:2;max-width:350px}.form-heading .small-en{color:var(--yellow)}.form-side-note{border-left:5px solid var(--orange);padding:14px 18px;background:#ffffff12;border-radius:0 16px 16px 0;margin-top:30px;font-size:14px;line-height:1.9}.post-form{background:#fff9ef;color:var(--ink);padding:30px;border-radius:30px;box-shadow:18px 20px 0 rgba(0,0,0,.16)}.field{margin-bottom:18px}.field label{display:block;font-weight:900;font-size:15px;margin-bottom:8px}.field input:not([type=file]),.field textarea{border:2px solid #d5cec1;background:white;width:100%;padding:13px 15px;border-radius:13px;font-size:16px;color:#141a15}.field textarea{min-height:130px;resize:vertical;line-height:1.7}.field input[type=file]{max-width:100%;font-size:13px}.field small{display:block;margin-top:6px;color:#6a6c63;font-weight:650;font-size:12px}.privacy-note{border:1px solid #f0c782;background:#fff0cc;padding:15px 17px;border-radius:14px;font-size:13px;font-weight:750;line-height:1.85;margin:17px 0}.submit-row{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.submit-btn{border:0;background:var(--orange);color:#fff;padding:15px 24px;border-radius:99px;font-size:17px;font-weight:950;min-height:57px}.form-status{font-weight:800;font-size:13px;color:#313f33;min-height:20px}.honeypot{position:absolute!important;left:-9999px!important;opacity:0!important;pointer-events:none!important}
.qr-band{background:#f3cc55;padding:65px 0}.qr-grid{display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center}.qr-grid h2{font-size:clamp(32px,4vw,52px);letter-spacing:-.075em;margin:4px 0 9px;line-height:1.25}.qr-grid p{font-weight:750;margin:0;max-width:650px}.qr-grid a{border:2px solid var(--ink);border-radius:99px;padding:15px 22px;font-weight:950;box-shadow:5px 5px 0 var(--ink)}
.archive-hero{background:var(--orange);padding:56px 0 65px}.archive-hero h1{font-size:clamp(38px,7vw,82px);line-height:1.16;letter-spacing:-.08em;margin:10px 0 10px}.archive-hero p{font-weight:800}.archive-content{padding:65px 0 105px}.archive-hint{background:#f9e2be;border-radius:18px;padding:18px 21px;margin-bottom:32px;font-size:14px;font-weight:750}
footer{background:#161d18;color:#eee9da;padding:49px 0 40px}.footer-row{display:flex;justify-content:space-between;align-items:start;gap:25px}.footer-row strong{font-size:26px;letter-spacing:-.06em}.footer-row p{color:#c7d0c6;font-size:12px;line-height:1.9}.footer-links{display:flex;flex-wrap:wrap;gap:20px;font-size:13px;font-weight:850}.footer-bottom{padding-top:23px;border-top:1px solid #ffffff3a;margin-top:39px;color:#b8c0b5;font-size:12px}.demo-admin-trigger{border:1px solid #ffffff78;background:none;color:inherit;border-radius:99px;padding:8px 12px;font-size:12px;margin-top:10px}
.admin-overlay{display:none;position:fixed;inset:0;z-index:100;background:rgba(6,10,7,.7);align-items:center;justify-content:center;padding:12px}.admin-overlay.open{display:flex}.admin-panel{width:min(720px,100%);max-height:min(90dvh,900px);overflow:auto;background:#fffaf1;color:var(--ink);border-radius:25px;box-shadow:0 25px 65px #0008}.admin-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:21px 24px;border-bottom:2px solid #e9dcca}.admin-head h2{margin:0;font-size:24px}.admin-head button{border:0;background:var(--ink);color:white;border-radius:99px;padding:10px 15px;font-weight:850}.admin-body{padding:20px 24px}.admin-warning{padding:15px 17px;background:#ffefc9;border-radius:14px;font-size:13px;line-height:1.9;font-weight:700}.admin-post{border-bottom:1px solid #ddd4c6;padding:14px 0}.admin-post small{display:block;color:#63655c;margin:5px 0}.admin-post button,.admin-tools button{border:1px solid #7d7a72;background:#fff;border-radius:10px;padding:8px 12px;margin-right:6px;margin-top:8px;font-size:13px;font-weight:800}.admin-tools{margin-top:18px}.hidden{display:none!important}.preview-photos{display:flex;gap:8px;flex-wrap:wrap}.preview-photos img{width:86px;height:86px;object-fit:cover;border-radius:11px;border:1px solid #ddd}.mobile-dock{display:none}
@media(max-width:800px){.toplinks{display:none}.board-hero{padding:48px 0 56px}.hero-grid{grid-template-columns:1fr;gap:32px}.hero-photo-wrap{max-width:520px;height:270px;margin:0 12px 0 0}.board-hero h1{font-size:clamp(50px,10vw,82px)}.form-grid{grid-template-columns:1fr;gap:20px}.form-heading>p{max-width:unset}.post-form{padding:23px 19px}.qr-grid{grid-template-columns:1fr}.footer-row{display:block}.footer-links{margin-top:18px}}
@media(max-width:620px){.container{width:calc(100% - 32px)}.topbar-row{height:66px}.drawer{top:66px}.brand{font-size:22px}.menu-trigger{font-size:13px;padding:11px 16px}.board-hero h1{font-size:clamp(47px,12vw,70px)}.board-hero p{font-size:14px}.hero-photo-wrap{height:224px}.round-note{width:105px;height:105px;font-size:13px;right:-8px;bottom:-15px}.ticker-line{font-size:16px}.main-content{padding:63px 0 75px}.board-titleline{display:block}.board-titleline p{margin-top:12px}.feed{grid-template-columns:1fr;gap:16px}.post-card:first-child{grid-column:auto;display:flex;min-height:auto}.post-card:first-child .post-gallery{order:0;min-height:220px;height:225px}.post-card:first-child .post-main{order:1}.post-gallery{height:215px;min-height:215px}.post-main{padding:20px}.form-band{padding:68px 0 77px}.form-heading h2{font-size:40px}.post-form{box-shadow:9px 10px 0 #0003}.archive-content{padding:45px 0 70px}.mobile-dock{display:flex;position:fixed;z-index:35;bottom:0;left:0;right:0;background:#151a16;color:#fff;padding:10px 13px max(10px,env(safe-area-inset-bottom));gap:7px}.mobile-dock a{flex:1;text-align:center;padding:10px 6px;font-size:12px;font-weight:950;border-radius:99px;background:#ffffff19}.mobile-dock a:first-child{background:var(--orange)}footer{padding-bottom:100px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.fat-btn{transition:none}}

/* Ver.7.2: customer-centered slogan; keep original bright board design */
.board-hero h1 .board-catch-sub{display:inline-block;font-size:.78em;line-height:1.22;letter-spacing:-.075em;margin-top:6px}
@media(max-width:620px){.board-hero h1 .board-catch-sub{font-size:.78em;line-height:1.23}}

/* V9: slightly stronger watermark, Yusei Magic for heading only */
.board-hero::before{opacity:.11} .form-band::before{opacity:.07}
.board-hero h1,.main-content h2,.form-band h2,.qr-band h2,.archive-intro h1{font-family:"Yusei Magic","Noto Sans JP",Meiryo,sans-serif;font-weight:400;letter-spacing:-.04em}

/* V9.1: exact Google Fonts typography on all public-facing large board headings */
.board-hero h1,.main-content h2,.form-band h2,.qr-band h2,.archive-hero h1{
 font-family:'Yusei Magic','Noto Sans JP',Meiryo,sans-serif;
 font-weight:400;
}

/* Ver.10.2 — display every uploaded image, without cropping portrait or landscape photographs. */
.post-gallery,.post-card:first-child .post-gallery{
  display:grid; grid-template-columns:1fr 1fr; gap:8px;
  align-items:start; height:auto; min-height:0; overflow:visible;
  padding:10px; background:#f3ebdf; position:relative; order:initial;
}
.post-gallery.photo-grid-1{grid-template-columns:minmax(0,1fr)}
.post-gallery.photo-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.post-gallery img,.post-gallery.mosaic img:first-child{
  display:block; width:100%; height:auto; max-width:100%; max-height:none;
  object-fit:contain; grid-row:auto; min-width:0;
  background:#eee5d9; border-radius:9px;
}
.post-gallery .photo-count{bottom:16px;right:16px;pointer-events:none}
/* The featured card also keeps the actual photograph dimensions. */
.post-card:first-child{display:flex; flex-direction:column; min-height:0}
.post-card:first-child .post-gallery{order:0}
.post-card:first-child .post-main{order:1}
.preview-photos img{object-fit:contain;background:#eee5d9}
@media(max-width:620px){
  .post-gallery,.post-card:first-child .post-gallery{height:auto;min-height:0;gap:9px;padding:9px}
  .post-gallery.photo-grid-3{grid-template-columns:minmax(0,1fr)}
}

/* Ver.10.4: Every post is one clearly bordered card; name/date before photos. */
.feed{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.post-card,.post-card:first-child{grid-column:auto;display:flex;flex-direction:column;min-height:0;overflow:hidden;border:2px solid #655445;border-radius:22px;background:#fffdf9;box-shadow:0 7px 19px #281b1012}
.post-card:first-child .post-main,.post-main{display:flex;flex-direction:column;gap:16px;padding:22px 20px;order:initial}
.post-head{order:0;border-bottom:1px solid #e5d7c5;padding-bottom:12px}
.post-head strong{font-size:17px}
.post-message{order:2;line-height:1.9}
.post-actions{order:3;margin-top:6px}
.post-main .post-gallery,.post-card:first-child .post-main .post-gallery{order:1;display:flex;flex-direction:column;gap:12px;height:auto!important;min-height:0!important;padding:0;background:transparent;overflow:visible;position:static}
.post-main .post-gallery img,.post-card:first-child .post-main .post-gallery img{display:block;width:100%;height:auto!important;max-height:none;object-fit:contain;grid-row:auto;border-radius:12px;background:#f1e8dc}
@media(max-width:760px){.feed{grid-template-columns:1fr;gap:16px}.post-main,.post-card:first-child .post-main{padding:19px 16px;gap:13px}}


/* Ver.10.5: keep all bulletin-board posts inside narrow Android viewports.
   Fix intrinsic portrait image widths expanding flex/grid min-content. */
html,body{max-width:100%;overflow-x:clip}
.container,.feed,.post-card,.post-card:first-child,.post-main,.post-gallery,
.post-main .post-gallery,.post-head,.post-actions,.form-grid,.post-form{
  min-width:0;max-width:100%;
}
.post-card,.post-card:first-child{width:100%}
.post-main,.post-card:first-child .post-main{width:100%;min-width:0}
.post-main .post-gallery,.post-card:first-child .post-main .post-gallery{
  width:100%;min-width:0;max-width:100%;overflow:hidden;
}
.post-main .post-gallery img,.post-card:first-child .post-main .post-gallery img{
  min-width:0;max-width:100%;width:100%;height:auto;
}
.post-head strong,.post-date,.post-message{min-width:0;overflow-wrap:anywhere;word-break:normal}
.post-actions{min-width:0;flex-wrap:wrap}
@media(max-width:760px){
 .feed{display:grid;grid-template-columns:minmax(0,1fr)!important}
 .post-card,.post-card:first-child{grid-column:1/-1}
 .post-main,.post-card:first-child .post-main{padding:18px 15px}
 .post-main .post-gallery,.post-card:first-child .post-main .post-gallery{display:flex;flex-direction:column;gap:10px}
 .hero-grid,.form-grid,.qr-grid{min-width:0;max-width:100%}
}

/* Ver.10.7: no-page-change incremental bulletin feed */
.board-more-wrap{text-align:center;margin:30px auto 8px;max-width:360px}
.board-more-wrap[hidden]{display:none!important}
.board-more-button{display:inline-flex;align-items:center;justify-content:center;gap:19px;width:min(100%,320px);min-height:60px;padding:13px 28px;border-radius:999px;border:2px solid #191e19;background:#f25322;color:#fff;font-size:18px;font-weight:900;box-shadow:0 5px 0 #25201c;transition:transform .16s ease,box-shadow .16s ease}
.board-more-button:hover{background:#df4219;transform:translateY(-2px)}
.board-more-button:active{transform:translateY(3px);box-shadow:0 2px 0 #25201c}
.board-more-button span{font-size:25px;line-height:1}
.board-more-count{font-size:12px;font-weight:750;color:#6f6b64;margin:12px 0 0}
@media(max-width:620px){.board-more-wrap{margin-top:25px}.board-more-button{width:min(100%,295px);font-size:17px}}
