:root{--ink:#34251f;--green:#2d7749;--green-dark:#195b39;--yellow:#ffd25c;--brown:#633c2c;--line:#eee4dc;--warm:#fffaf3;--muted:#786e66}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;background:#fffdfa;color:var(--ink);font-size:15px}
button,input{font:inherit}
button{cursor:pointer}
button:focus-visible,input:focus-visible,a:focus-visible{outline:3px solid #26774f;outline-offset:2px}
button:disabled{cursor:default}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.site-header{height:72px;background:#fffefc;box-shadow:0 1px 9px #58412e13;position:relative;z-index:5}
.header-inner{max-width:1448px;margin:auto;height:100%;padding:0 48px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:flex;align-items:center;gap:9px;font-size:25px;color:#3c251b;white-space:nowrap;letter-spacing:.015em}
.brand-mascot{width:59px;height:57px;overflow:hidden;border-radius:50%;display:grid;place-items:start center}
.brand-mascot img{display:block;width:57px;height:70px;object-fit:cover;object-position:top}
.desktop-nav{display:flex;align-items:center;gap:21px;margin-left:auto}
.desktop-nav button{border:0;background:transparent;color:#4a3025;font-size:14px;font-weight:800;white-space:nowrap;padding:10px 0}
.desktop-nav button::first-letter{font-size:20px}
.header-actions{display:flex;align-items:center;gap:20px}
.header-search{border:1px solid #e1d6ce;background:#fff;display:flex;border-radius:13px;overflow:hidden;height:42px;width:248px;box-shadow:0 2px 10px #58412e13}
.header-search input{border:0;background:transparent;min-width:0;flex:1;padding:0 13px;outline:none;font-size:13px}
.header-search button{background:#fff;border:0;padding:0 12px;font-size:29px;line-height:1;color:#5b463c}
.login-button{background:#a06436;color:#fff;font-weight:800;border:0;border-radius:10px;min-width:102px;height:43px}
.hero{width:100%;background:linear-gradient(105deg,#fffef8 0%,#fff9ee 50%,#f5e5cc 100%);border-bottom:1px solid #faeddb}
.hero-inner{max-width:1448px;min-height:447px;margin:auto;display:grid;grid-template-columns:51% 49%;position:relative}
.hero-text{padding:38px 20px 22px 120px;align-self:center;position:relative;z-index:2}
.hero-text h1{font-size:clamp(49px,4.45vw,73px);font-weight:950;line-height:1.16;margin:0 0 17px;color:#33201c;letter-spacing:-.05em}
.hero-text h1 span{display:block;color:#286f46;white-space:nowrap;position:relative;letter-spacing:-.055em}
.hero-text h1 span:after{content:"";height:7px;position:absolute;bottom:-7px;left:1%;right:4%;background:#f4d36e;border-radius:50%}
.hero-text p{max-width:580px;font-size:14px;font-weight:580;line-height:1.82;color:#4d3e34;margin:25px 0 18px}
.hero-buttons{display:flex;align-items:center;gap:16px}
.primary{border:0;border-radius:28px;height:71px;min-width:240px;padding:12px 25px;display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:22px;font-weight:900;white-space:nowrap}
.primary.green{background:#28774a;color:white}
.primary.yellow{background:#ffd25f;color:#422617}
.button-mark{font-size:34px;line-height:1}
.chevron{font-size:31px;line-height:1}
.promises{display:flex;align-items:center;gap:15px;flex-wrap:wrap;color:#527355;font-size:12px;font-weight:800;margin-top:21px;white-space:nowrap}
.hero-scene{min-height:447px;position:relative;overflow:hidden}
.paint-soft{position:absolute;border-radius:50%;filter:blur(1px);z-index:0}
.paint-one{background:#dfd6be70;width:280px;height:160px;top:42px;left:4%;transform:rotate(-32deg)}
.paint-two{background:#eee4ccbb;width:195px;height:160px;right:0;bottom:40px}
.decor-plant{position:absolute;z-index:0;opacity:.65}
.decor-plant i{display:block;position:absolute;background:#9bb17f;border-radius:0 90% 0 90%;width:46px;height:23px}
.left-plant{left:4%;top:24px;width:110px;height:260px}
.left-plant:after{content:"";width:3px;background:#b7a879;height:205px;position:absolute;left:40px;top:20px;transform:rotate(8deg)}
.left-plant i:nth-child(1){left:36px;top:0;transform:rotate(24deg)}
.left-plant i:nth-child(2){left:3px;top:33px;transform:rotate(65deg)}
.left-plant i:nth-child(3){left:47px;top:78px;transform:rotate(-22deg)}
.left-plant i:nth-child(4){left:10px;top:122px;transform:rotate(65deg)}
.left-plant i:nth-child(5){left:36px;top:163px;transform:rotate(-25deg)}
.right-plant{right:5%;bottom:10px;width:105px;height:150px;opacity:.75}
.right-plant:after{content:"";width:5px;background:#a69f81;height:110px;position:absolute;left:48px;top:35px}
.right-plant i:nth-child(1){top:10px;left:50px}
.right-plant i:nth-child(2){top:37px;left:3px;transform:rotate(68deg)}
.right-plant i:nth-child(3){top:77px;left:45px}
.right-plant i:nth-child(4){top:89px;left:3px;transform:rotate(68deg)}
.decor-shelf{position:absolute;right:-22px;top:62px;height:266px;width:228px;border-left:9px solid #c7aa85;z-index:0;opacity:.5;display:grid;grid-template-rows:1fr 1fr 1fr}
.shelf-row{border-bottom:10px solid #c09d79;display:flex;justify-content:space-evenly;align-items:end;padding:0 18px 3px;gap:17px}
.shelf-book{width:30px;height:57px;background:#a3b2a3;border-radius:3px 3px 0 0;border-right:6px solid #e7c8a0}
.shelf-book.short{height:39px;background:#d1a18c}
.shelf-bottle{width:24px;height:47px;border-radius:11px 11px 3px 3px;background:#e5d2b5;border:2px solid #bdb394}
.shelf-bottle.tall{height:64px;background:#b3a6b1}
.shelf-pot{width:48px;height:37px;background:#ac957a;border-radius:3px 3px 16px 16px;position:relative}
.shelf-pot:before{content:"";position:absolute;bottom:32px;left:10px;background:#93a97d;border-radius:5px 40px;width:37px;height:45px;transform:rotate(-25deg)}
.salon-board{position:absolute;right:12px;bottom:20px;z-index:2;background:#fff6e9;border:10px solid #a87b58;box-shadow:3px 7px 9px #61482b2b;transform:rotate(-3deg);padding:11px 12px;font-size:13px;font-weight:730;line-height:1.7;color:#6f523a}
.salon-board span{display:block;text-align:right;font-size:23px;line-height:1}
.coffee-cup{position:absolute;bottom:31px;right:198px;z-index:1;background:#fffbf5;border:2px solid #deccb4;border-radius:2px 2px 13px 13px;padding:15px 8px 9px;font-size:10px;color:#8d8176}
.hero-mascot{position:absolute;bottom:-13px;left:9%;height:445px;width:auto;max-width:76%;object-fit:contain;object-position:bottom;z-index:2;filter:drop-shadow(0 4px 4px #54352224)}
.hero-speech{z-index:3;position:absolute;top:14px;right:103px;border:4px solid #48261d;background:#fffefa;box-shadow:0 2px 1px #fff;transform:rotate(-5deg);padding:18px 29px;border-radius:47% 53% 48% 49% / 43% 45% 55% 57%;font-size:25px;font-weight:900;line-height:1.35;color:#351d19;text-align:center}
.hero-speech:before{content:"";position:absolute;left:-14px;bottom:10px;border-style:solid;border-width:13px 22px 5px 0;border-color:transparent #48261d transparent transparent;transform:rotate(-16deg)}
.scene-rays{position:absolute;top:120px;left:15%;color:#f5bb43;z-index:2;font-size:45px;letter-spacing:10px;transform:rotate(-35deg)}
.content{max-width:1448px;padding:0 55px;margin:0 auto}
.feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:14px 0 18px}
.feature{height:193px;border-radius:22px;padding:18px 22px;overflow:hidden;position:relative}
.feature h2{font-size:22px;margin:0 0 8px;letter-spacing:-.025em}
.feature-message{background:linear-gradient(105deg,#ffe5d8,#fff0e7)}
.feature-wisdom{background:linear-gradient(105deg,#ffefb6,#ffe1a0)}
.message-flex{display:flex;align-items:center;gap:20px}
.circle-portrait{width:137px;height:137px;flex:0 0 137px;border:7px solid #fffcfa;border-radius:50%;background:#fff;overflow:hidden;display:flex;align-items:flex-start;justify-content:center}
.circle-portrait img{height:155px;width:auto;max-width:none;transform:translateY(-8px)}
.message-balloon{background:#fffefa;border-radius:55px;padding:17px 22px;font-size:14px;font-weight:720;line-height:1.8;color:#4a3027;max-height:125px;overflow:hidden;position:relative}
.message-balloon:before{content:"";position:absolute;top:44px;left:-10px;display:none}
.wisdom-flex{display:flex;align-items:center;gap:12px}
.wisdom-copy{flex:1;min-width:0}
.wisdom-big{font-weight:870;background:#fffdf6;border-radius:50px;padding:14px 18px;text-align:center;font-size:16px;line-height:1.75;margin:0 0 9px}
.wisdom-sub{font-size:12px;margin:0 0 0 20px;color:#65472c;line-height:1.5}
.treasure{position:relative;width:158px;height:130px;flex:0 0 158px;border:0;background:transparent}
.treasure-lid{position:absolute;left:12px;top:15px;width:131px;height:53px;border-radius:60px 60px 9px 9px;background:linear-gradient(130deg,#70472d,#bd7a39 50%,#7b4729);border:8px solid #6c3b1f;transform:rotate(-17deg);transform-origin:18% 100%;box-shadow:inset 0 9px #e2ad55}
.treasure-box{position:absolute;left:9px;bottom:7px;width:138px;height:74px;border:7px solid #79451f;background:linear-gradient(135deg,#aa662b,#e7a743 55%,#a7632a);border-radius:6px 7px 15px 15px;box-shadow:inset 0 7px #dfaa57,2px 8px 8px #78401d38}
.treasure-box:before,.treasure-box:after{content:"";position:absolute;top:0;height:100%;width:11px;background:#e1bb62}
.treasure-box:before{left:18px}.treasure-box:after{right:18px}
.treasure-lock{position:absolute;z-index:3;left:68px;bottom:28px;color:#512a12;background:#ffd06f;border-radius:5px;font-size:21px;padding:4px}
.treasure-spark{position:absolute;color:#ffbf31;font-size:35px;font-weight:950;z-index:5}
.treasure-spark.left{top:0;left:0}.treasure-spark.right{top:4px;right:0}
.categories,.questions{margin:0 0 20px}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 11px}
.section-heading h2{margin:0;font-size:21px;letter-spacing:-.025em}
.section-symbol{color:#e8a43d}
.text-link{border:0;background:none;color:#5d5046;font-size:12px}
.category-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}
.cat-card{display:flex;align-items:center;justify-content:center;gap:18px;min-height:62px;border-radius:14px;border:1px solid #ead9ca;font-size:18px;font-weight:900;color:#443029}
.cat-symbol{font-size:28px;font-weight:900}
.cat-straight{background:#ffe4e2}.cat-straight .cat-symbol{color:#c85c55}
.cat-color{background:#ebe5fb}.cat-color .cat-symbol{color:#7e5dac}
.cat-care{background:#e0f0e0}.cat-care .cat-symbol{color:#437c51}
.cat-science{background:#dceefa}.cat-science .cat-symbol{color:#2c7097}
.cat-business{background:#f4e3d4}.cat-business .cat-symbol{color:#96704c}
.category-grid button[aria-pressed="true"]{box-shadow:0 0 0 3px #286e4e88}
.questions{margin-top:20px}
.question-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.question-card{min-height:160px;background:#fff;border:1px solid #e7dcd2;border-radius:17px;text-align:left;padding:15px 17px;box-shadow:0 4px 15px #8b73660e;display:flex;flex-direction:column;gap:9px}
.question-card:hover{border-color:#b7a191}
.question-card-top{display:flex;align-items:center;gap:10px}
.question-avatar{width:37px;height:37px;border-radius:50%;display:grid;place-items:center;background:#ecedf0;color:#637276;font-size:18px;font-weight:750;flex:none}
.question-title{font-weight:900;font-size:14px;line-height:1.65;color:#34251f}
.question-details{line-height:1.55;font-size:12px;color:#79736e;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.question-tags{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.question-tag{border-radius:30px;padding:3px 9px;font-size:10px;color:#9d5c55;background:#fae9e7}
.question-tag:nth-child(2){background:#ebe5f9;color:#71588f}
.question-footer{font-size:12px;color:#827369;display:flex;gap:12px;margin-top:auto}
.active-filter{margin:0 0 12px;color:#345c44;font-size:12px;background:#edf6ee;border-radius:8px;padding:8px 12px}
.preview-footer{text-align:center;margin:25px 0 48px;color:#8a8077;font-size:12px}
.preview-footer a{color:#2a714b;margin-left:10px}
.modal{position:fixed;inset:0;z-index:25;background:#20130bc0;display:grid;place-items:center;padding:22px}
.modal[hidden],[hidden]{display:none!important}
.modal-card{position:relative;background:#fffefa;border-radius:17px;width:min(500px,100%);padding:32px;box-shadow:0 18px 50px #140a0770}
.modal-card h2{font-size:22px;margin:0 0 14px}
.modal-card p{color:#5e524b;line-height:1.8;font-size:14px}
.modal-note{border-top:1px solid #eee1d8;padding-top:15px}
.close{position:absolute;right:12px;top:12px;background:none;border:0;font-size:26px}
.modal-ok{border:none;background:#307650;color:white;padding:12px 25px;border-radius:10px;font-weight:800}
@media(max-width:1250px){
.header-inner{padding:0 24px;gap:15px}.brand{font-size:22px}.desktop-nav{gap:12px}.header-search{width:210px}
.hero-text{padding-left:55px}.hero-text h1{font-size:61px}.primary{min-width:205px;font-size:18px}.hero-mascot{height:390px}.hero-speech{right:45px}
.content{padding:0 30px}
}
@media(max-width:1000px){
.desktop-nav{display:none}.hero-inner{grid-template-columns:1fr}.hero-text{padding:30px 30px 10px}.hero-scene{height:385px;min-height:385px}.hero-mascot{height:375px;left:32%}.hero-speech{right:16%;top:10px}
.feature-grid{grid-template-columns:1fr}.category-grid{grid-template-columns:repeat(3,1fr)}.question-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:620px){
.site-header{height:62px}.header-inner{padding:0 14px}.brand{font-size:18px}.brand-mascot{width:39px;height:40px}.brand-mascot img{width:40px;height:50px}.header-search{width:42px}.header-search input{display:none}.login-button{min-width:70px;padding:8px;font-size:12px}
.hero-text{padding:24px 18px 10px}.hero-text h1{font-size:41px}.hero-text h1 span{white-space:normal}.hero-text p{font-size:13px}.desktop-only{display:none}
.primary{min-width:0;flex:1;padding:8px 14px;font-size:14px;height:55px;gap:5px}.button-mark{font-size:24px}.promises{gap:10px}
.hero-scene{height:305px;min-height:305px}.hero-scene .hero-mascot{height:302px;left:17%}.hero-speech{right:10px;font-size:14px;padding:9px 13px}.salon-board{font-size:9px;right:8px;bottom:7px}
.content{padding:0 12px}.feature{height:auto;min-height:160px;padding:16px}.feature h2{font-size:17px}
.circle-portrait{flex-basis:85px;width:85px;height:85px}.circle-portrait img{height:115px}.message-flex{gap:7px}.message-balloon{font-size:12px;padding:13px}
.wisdom-big{font-size:13px;padding:10px}.treasure{transform:scale(.78);transform-origin:50% 50%;margin:-13px}
.category-grid{grid-template-columns:repeat(2,1fr);gap:8px}.cat-card{font-size:14px;gap:7px;min-height:58px}.cat-symbol{font-size:20px}
.question-grid{grid-template-columns:1fr}.question-card{min-height:145px}.section-heading h2{font-size:18px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Separate, crisp bubble artwork with editable HTML text layered above. */
.hero-speech{width:260px;height:177px;top:0;right:87px;display:flex;align-items:center;justify-content:center;
 background:transparent url("./speech-frame.svg") center/100% 100% no-repeat;
 border:0;border-radius:0;box-shadow:none;transform:none;
 padding:22px 26px 35px 30px;font-size:24px;line-height:1.28}
.hero-speech:before{display:none}
@media(max-width:1250px){.hero-speech{right:40px;top:0}}
@media(max-width:620px){.hero-speech{right:6px;top:0;width:165px;height:115px;font-size:14px;padding:15px 14px 20px}}

/* Long official title: desktop heading and header remain legible. */
@media(max-width:1350px) and (min-width:1001px){.brand{font-size:20px}.desktop-nav{gap:10px}.header-search{width:175px}.header-inner{gap:11px}}
@media(max-width:620px){.brand{font-size:15px}.hero-text h1{font-size:clamp(32px,8.7vw,41px);letter-spacing:-.06em}}


/* Foreground layering: mascot always in front of salon props. */
.hero-scene{isolation:isolate}
.hero-scene .paint-soft,.hero-scene .decor-plant,.hero-scene .decor-shelf{z-index:0}
.hero-scene .coffee-cup,.hero-scene .salon-board,.hero-scene .scene-rays{z-index:1}
.hero-scene .hero-mascot{z-index:10}
.hero-scene .hero-speech{z-index:11}

/* Match public TAMO Blog FEATURED taxonomy and pill-tag treatment. */
.category-grid{display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:center;column-gap:9px;row-gap:10px}
.category-grid .cat-card{display:inline-flex;align-items:center;justify-content:center;flex:none;width:auto;min-width:unset;min-height:42px;border-radius:999px;background:#fff;border:1px solid #dfd7cb;color:#4b4740;padding:9px 17px;font-size:14px;font-weight:700;gap:0;line-height:1.35;box-shadow:none}
.category-grid .cat-card[aria-pressed="true"]{background:#40566b;color:#fff;border-color:#40566b;box-shadow:none}
.category-grid .cat-card:hover{border-color:#7e8fa0}
.category-grid .cat-card:focus-visible{outline:3px solid #2d7749;outline-offset:2px}
@media(max-width:620px){.category-grid{display:flex;gap:8px}.category-grid .cat-card{width:auto;min-height:42px;padding:9px 13px;font-size:13px}}


/* Search input: prevent flex shrink from cutting Japanese placeholder at desktop widths. */
.header-actions{flex:0 0 auto;min-width:0}
.header-search{width:260px;min-width:260px;flex:0 0 260px}
.header-search input{width:100%;min-width:0;flex:1 1 auto;font-size:14px;white-space:nowrap;text-overflow:clip}
.header-search button{flex:0 0 44px;width:44px;min-width:44px;padding:0;display:grid;place-items:center;line-height:1}
@media(max-width:1390px) and (min-width:1121px){
  .header-inner{column-gap:12px}
  .desktop-nav{gap:10px}
  .brand{font-size:20px}
  .desktop-nav button{font-size:13px}
}
@media(max-width:1120px) and (min-width:1001px){
  .site-header{height:auto}
  .header-inner{min-height:106px;height:auto;padding:11px 24px;display:grid;grid-template-columns:minmax(0,1fr) 260px;grid-template-rows:auto auto;row-gap:5px;column-gap:14px}
  .brand{grid-column:1;grid-row:1;font-size:20px}
  .header-actions{grid-column:2;grid-row:1;justify-self:end}
  .desktop-nav{grid-column:1/-1;grid-row:2;justify-self:center;justify-content:center;margin:0;gap:22px}
}
@media(max-width:1000px){
  .header-search{width:260px;min-width:260px;flex-basis:260px}
}
@media(max-width:620px){
  .header-search{width:44px;min-width:44px;flex:0 0 44px}
  .header-search input{display:none}
}

/* Responsive, unanimated multiline speech for ten random variants. */
.hero-speech strong{display:block;max-width:100%;overflow-wrap:anywhere;white-space:normal;text-wrap:balance;line-height:1.32}

/* Individual WebP pose assets are selected server-side with the speech. */

/* Question detail preview: separate test answers from live public blog links. */
.qa-detail{margin:30px 0 55px;scroll-margin-top:22px}
.qa-back{border:0;background:transparent;color:#386d53;font-size:14px;font-weight:800;margin:0 0 14px;padding:10px 0}
.qa-question-card{background:#fff;border:1px solid #eaded1;border-radius:20px;padding:26px 30px;margin-bottom:20px;box-shadow:0 5px 24px #705a4010}
.qa-label-line{display:flex;align-items:center;gap:13px;margin:0 0 12px}
.qa-mark{background:#f3d75f;color:#432914;font-size:24px;font-weight:900;border-radius:12px;padding:6px 13px}
.qa-notice{font-size:12px;color:#7b6d61}
.qa-question-card h2{font-size:27px;line-height:1.5;margin:0 0 15px;color:#3b2821}
.qa-question-card p{line-height:1.85;margin:0 0 12px}
.qa-question-meta{color:#87776c;font-size:12px}
.qa-detail-columns{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:20px}
.qa-answers,.qa-blogs{background:#fffefa;border:1px solid #eadfd4;border-radius:20px;padding:24px;min-width:0}
.qa-column-title{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:0 0 12px}
.qa-column-title h3{font-size:20px;margin:0}
.qa-column-title span{font-size:12px;color:#64715d}
.qa-column-title a{color:#286c48;font-size:12px}
.qa-test-note,.qa-blog-source{padding:11px 13px;background:#f7f3ed;border-radius:10px;font-size:12px;color:#6e5e52;line-height:1.7;margin:0 0 14px}
.demo-answer{background:#fff;border:1px solid #e9e0d7;border-radius:15px;padding:18px;margin:0 0 14px}
.demo-answer-header{display:flex;align-items:center;gap:12px}
.demo-answer-avatar{width:46px;height:46px;flex:0 0 46px;border-radius:50%;background:#e6eddf;color:#486c53;display:grid;place-items:center;font-weight:850;font-size:18px}
.demo-answer-who{display:flex;flex:1;flex-direction:column;gap:3px}
.demo-answer-who strong{font-size:15px}
.demo-answer-who small{font-size:11px;color:#786a5f}
.demo-answer-badge{font-size:11px;background:#fff0c9;padding:5px 9px;border-radius:99px;white-space:nowrap;color:#846135}
.demo-answer-body{font-size:14px;line-height:1.9;margin:15px 0 2px}
.qa-reply-composer{margin-top:20px;padding-top:20px;border-top:1px solid #e6ddd4;display:flex;flex-direction:column;gap:10px}
.qa-reply-composer h4{font-size:17px;margin:0}
.qa-reply-composer label{font-weight:700;font-size:13px}
.qa-reply-composer textarea{width:100%;resize:vertical;border:1px solid #cfc3b3;border-radius:12px;padding:13px;font-size:14px;line-height:1.6}
.qa-reply-composer button{align-self:flex-start;background:#2f774e;color:#fff;border:0;border-radius:10px;padding:12px 18px;font-size:14px;font-weight:800}
.qa-reply-composer small{font-size:11px;color:#877569}
.related-blog-notice{font-size:12px;color:#5c7b63;background:#eff5ee;border-radius:10px;padding:11px;margin:0 0 12px;line-height:1.6}
.related-blog-card{padding:16px 0;border-bottom:1px solid #e9dfd4}
.related-blog-card:last-child{border-bottom:0}
.related-blog-tags{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:7px}
.related-blog-tag{background:#eaf0e6;color:#54714f;border-radius:50px;padding:3px 7px;font-size:10px}
.related-blog-card h4{font-size:15px;line-height:1.6;margin:4px 0 5px;overflow-wrap:anywhere}
.related-blog-meta{color:#776c61;font-size:11px;margin:0 0 8px;line-height:1.6}
.related-blog-summary{color:#6e655b;font-size:12px;line-height:1.7;margin:0 0 9px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.related-blog-link{font-size:13px;color:#2a714e;font-weight:800}
@media(max-width:950px){.qa-detail-columns{grid-template-columns:1fr}}
@media(max-width:620px){.qa-question-card{padding:18px}.qa-question-card h2{font-size:21px}.qa-answers,.qa-blogs{padding:16px}.qa-column-title h3{font-size:18px}.demo-answer{padding:14px}}

.pilot-saved{border-top:1px solid #e4dfd5;margin-top:22px;padding-top:18px}
.pilot-saved h4{margin:0 0 10px;font-size:16px}
.pilot-saved p{font-size:12px;color:#685f54;line-height:1.7}
.pilot-member-link{display:inline-flex;align-items:center;padding:12px 17px;border-radius:10px;background:#eaf4e9;color:#286e46;font-size:13px;font-weight:800;text-decoration:none}
.pilot-member-answer{border-color:#a7cbb2;background:#f7fcf5}

/* Real public profile photos in fictional response mockups (owner only). */
.demo-answer-avatar{overflow:hidden}
.demo-answer-avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}

/* Knowledge-first question page: orientation -> verified answers -> source articles -> mock examples. */
.qa-focus{margin:20px 0 0;padding:18px 21px;border-radius:14px;background:#f0f7ee;border:1px solid #dce7d8}
.qa-focus h3{margin:0 0 10px;font-size:17px;color:#2e6545}
.qa-focus ul{padding-left:24px;margin:0 0 10px;line-height:1.9}
.qa-focus li{font-size:14px}
.qa-focus p{font-size:11px;color:#6e766c;margin:0}
.qa-answers>.pilot-saved{margin-top:3px;padding-top:0;border-top:0}
.qa-demo-samples{border-top:1px solid #e1d8cf;margin-top:26px;padding-top:18px}
.qa-demo-samples h4{font-size:16px;margin:0 0 11px}
.related-why{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:8px;font-size:11px;color:#526c57}
.related-why strong{background:#e4efe3;color:#2b6540;border-radius:999px;padding:4px 9px}
.related-why span{line-height:1.6}
@media(max-width:620px){.qa-focus{padding:15px}.qa-focus h3{font-size:15px}}

.qa-demo-samples h4 span{font-size:12px;color:#7d6c5c;font-weight:600;margin-left:9px}


/* Related posts: only a thumbnail plus title, with the entire tile linked. */
#relatedBlogCards{display:grid;grid-template-columns:1fr;gap:12px}
#relatedBlogCards .related-blog-card{display:grid;grid-template-columns:112px minmax(0,1fr);gap:13px;align-items:center;min-height:102px;padding:8px;border:1px solid #e9dfd4;border-radius:14px;background:#fff;text-decoration:none;color:#3b3029;transition:border-color .15s,background-color .15s}
#relatedBlogCards .related-blog-card:hover{border-color:#80a389;background:#fbfdf9}
#relatedBlogCards .related-blog-card:focus-visible{outline:3px solid #27814f;outline-offset:3px}
#relatedBlogCards .related-blog-thumb{display:flex;align-items:center;justify-content:center;aspect-ratio:4/3;overflow:hidden;border-radius:10px;background:#e8ece5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 90'%3E%3Crect width='120' height='90' fill='%23e8ece5'/%3E%3Cpath d='M23 26q17-7 37 2 20-9 37-2v42q-18-7-37 3-19-10-37-3z' fill='none' stroke='%2393a494' stroke-width='5' stroke-linejoin='round'/%3E%3Cpath d='M60 28v42' fill='none' stroke='%2393a494' stroke-width='4'/%3E%3C/svg%3E") center/cover no-repeat}
#relatedBlogCards .related-blog-thumb img{width:100%;height:100%;object-fit:cover;display:block}
#relatedBlogCards .related-blog-title{font-size:14px;font-weight:800;line-height:1.65;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
@media(max-width:620px){#relatedBlogCards .related-blog-card{grid-template-columns:96px minmax(0,1fr);gap:10px}#relatedBlogCards .related-blog-title{font-size:13px}}

/* Administrator-only pilot question composer. */
.ask-section{background:#fff;border:1px solid #e7d7c4;border-radius:22px;padding:26px 30px;margin:28px 0 32px;scroll-margin-top:20px}
.ask-heading{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}
.ask-heading h2{font-size:25px;margin:0 0 8px;color:#3a2a22}
.ask-heading p{font-size:13px;line-height:1.7;color:#796c60;margin:0 0 18px}
.ask-close{border:1px solid #dbcfc1;color:#58483b;background:#fff;border-radius:9px;padding:10px 13px;white-space:nowrap;cursor:pointer}
#askForm{display:flex;flex-direction:column;gap:9px}
#askForm label{margin-top:12px;font-size:14px;font-weight:800}
#askForm label span{color:#a85c33;font-size:12px}
#askForm input[type=text],#askForm select,#askForm textarea{width:100%;border:1px solid #d7c8b6;background:#fff;border-radius:11px;padding:13px 15px;font:inherit;font-size:15px;color:#332b24}
#askForm textarea{resize:vertical;line-height:1.75;min-height:136px}
#askForm input[type=file]{max-width:100%;font:inherit;font-size:13px;padding:9px 0}
.ask-filename{font-size:12px;color:#476e53;margin:0}
.ask-warning{padding:10px 14px;background:#fff7e6;color:#7f6545;border-radius:10px;font-size:12px;line-height:1.7;margin:8px 0}
.ask-bottom{display:flex;justify-content:flex-end;padding-top:8px}
.ask-submit{border:0;border-radius:12px;background:#2c7750;color:#fff;padding:14px 22px;font-size:15px;font-weight:800;cursor:pointer}
.ask-error{background:#fbe8e6;border-radius:12px;padding:12px;color:#a4312c;font-size:13px}
.question-image:empty{display:none}
.question-image{margin:12px 0 0}
.question-image img{max-width:100%;max-height:330px;border-radius:13px;object-fit:contain;border:1px solid #eadfce}
@media(max-width:620px){.ask-section{padding:17px 15px}.ask-heading h2{font-size:21px}.ask-bottom,.ask-submit{width:100%}}

/* Lazy, incremental related-blog pagination. No tall scroll area until requested. */
.related-more{display:block;width:100%;min-height:45px;margin:14px 0 0;border:1px solid #93b19b;border-radius:12px;background:#f3faf3;color:#2d6d45;font:inherit;font-weight:800;font-size:14px;cursor:pointer}
.related-more:hover{background:#e7f4e8}
.related-more:focus-visible{outline:3px solid #27814f;outline-offset:3px}
.related-more:disabled{cursor:wait;opacity:.65}
.related-more[hidden]{display:none!important}


/* 艶神様の一言: accommodate all ten phrases without clipping, including narrow devices. */
.feature-message{height:auto;min-height:193px}
.feature-message .message-flex{min-height:136px}
.feature-message .message-balloon{flex:1;min-width:0;max-height:none;overflow:visible;white-space:normal;overflow-wrap:anywhere;text-wrap:pretty;border-radius:28px;padding:16px 20px;font-size:14px;line-height:1.7}
@media(max-width:620px){
 .feature-message{min-height:160px}
 .feature-message .message-flex{min-height:100px}
 .feature-message .message-balloon{font-size:12.5px;line-height:1.65;padding:13px 15px;border-radius:20px}
}

/* One card on demand, no preloaded large artwork. */
.feature-message .message-flex{flex-wrap:wrap}
.feature-message .god-card-trigger{margin-left:auto;border:1px solid #b58a40;color:#6e4519;background:#fffaf0;padding:8px 13px;border-radius:12px;font-size:12px;font-weight:800;cursor:pointer}
.feature-message .god-card-trigger:hover{background:#fef2d9}
.god-overlay[hidden]{display:none!important}
.god-overlay{position:fixed;inset:0;z-index:9999;background:rgba(14,10,7,.79);display:flex;align-items:center;justify-content:center;padding:20px;overflow:auto}
.god-dialog{position:relative;max-width:500px;width:min(100%,500px);max-height:calc(100dvh - 30px);overflow:auto;padding:12px;background:#1b140f;border-radius:19px;box-shadow:0 20px 65px #0008}
.god-dialog-close{position:sticky;top:0;float:right;z-index:4;background:#2f2520;color:white;border:1px solid #97794a;border-radius:50%;width:36px;height:36px;font-size:26px;cursor:pointer}
.god-poster{clear:both;min-height:520px;display:flex;flex-direction:column;justify-content:space-between;gap:16px;padding:22px 24px 25px;background:radial-gradient(ellipse at 72% 28%,#644020,#120b08 70%);border:2px solid #b9914f;color:#f6dfad;text-align:center;box-shadow:inset 0 0 0 5px #281911,inset 0 0 0 6px #9d773c}
.god-poster-header{font-family:serif;font-size:28px;letter-spacing:.09em;border-bottom:1px solid #b7914c;padding-bottom:13px}
.god-poster-art{height:155px;display:grid;place-items:center;background:radial-gradient(ellipse,#e1a44433,transparent 65%);gap:0}
.god-emblem{font-family:serif;font-size:92px;line-height:1;color:#d6ab57;text-shadow:0 2px 28px #e6a54999}
.god-art-caption{font-size:12px;letter-spacing:.4em}
.god-poster-quote{margin:0;font-family:serif;font-size:clamp(22px,3.5vw,31px);font-weight:700;line-height:1.65;letter-spacing:.025em;overflow-wrap:anywhere}
.god-poster-sign{font-family:serif;opacity:.85;font-size:16px;padding-top:18px;border-top:1px solid #88632f}
.god-dialog-actions{display:flex;justify-content:space-between;gap:12px;margin-top:12px}
.god-dialog-actions button{flex:1;border:1px solid #b8945b;background:#38261a;color:#f6dda5;border-radius:10px;padding:12px 10px;cursor:pointer;font-weight:750}
@media(max-width:620px){.feature-message .god-card-trigger{margin-right:0}.god-overlay{padding:8px}.god-dialog{padding:8px;max-height:calc(100dvh - 12px)}.god-poster{min-height:440px;padding:14px}.god-poster-header{font-size:24px}.god-poster-art{height:115px}.god-emblem{font-size:76px}}


/* Inline 神様名言 card: visible from first render, no modal and no large assets. */
.feature-grid{align-items:stretch}
.feature-message{padding:0!important;min-height:193px;background:#140e09!important;border:1px solid #c5a05d}
.god-inline-card{height:100%;min-height:193px;display:flex;flex-direction:column;justify-content:space-between;gap:8px;padding:15px 22px 14px;color:#f7e3b1;background:radial-gradient(ellipse at 75% 28%,#63401e,#140e09 72%);border:3px double #a88142;border-radius:19px;box-sizing:border-box}
.god-inline-heading{font-family:serif;font-size:20px;font-weight:800;letter-spacing:.07em;text-align:center;padding-bottom:7px;border-bottom:1px solid #785a30}
.god-inline-main{display:flex;align-items:center;gap:17px;flex:1}
.god-inline-emblem{font-family:serif;font-size:69px;flex:0 0 94px;text-align:center;color:#f0c975;text-shadow:0 0 22px #e2a53a88}
.god-inline-quote{flex:1;min-width:0;font-family:serif;font-size:clamp(16px,1.65vw,22px);font-weight:800;line-height:1.55;letter-spacing:.015em;overflow-wrap:anywhere}
.god-inline-sign{text-align:right;color:#d9b97d;font-family:serif;font-size:12px;letter-spacing:.2em}
@media(max-width:620px){.feature-message{min-height:180px}.god-inline-card{min-height:180px;padding:14px 12px}.god-inline-heading{font-size:17px}.god-inline-main{gap:10px}.god-inline-emblem{font-size:54px;flex-basis:58px}.god-inline-quote{font-size:clamp(15px,4vw,20px)}}

.tsuyagami-image{display:block;width:100%;height:100%;max-height:390px;object-fit:contain;object-position:center;border-radius:12px;background:#130c07}
.tsuyagami-image[hidden],#tsuyagamiCardFallback[hidden]{display:none!important}
#tsuyagamiCardFallback{display:flex;flex-direction:column;justify-content:space-between;height:100%;min-height:180px;gap:8px}
/* Portrait artwork 850x1062: never crop or compress into a short banner. */
.feature-grid{align-items:start}
.feature-message{height:auto!important;min-height:0!important;overflow:visible!important}
.feature-message .god-inline-card{height:auto;min-height:0;padding:0;overflow:hidden}
.feature-message .tsuyagami-image{width:100%;height:auto;aspect-ratio:850 / 1062;max-height:none;object-fit:contain;object-position:center;display:block;border-radius:14px}
.feature-message #tsuyagamiCardFallback{min-height:200px;padding:16px 20px}
@media(max-width:620px){.feature-grid{grid-template-columns:1fr}.feature-message .tsuyagami-image{width:100%;height:auto;max-height:none}.feature-message #tsuyagamiCardFallback{min-height:170px}}


/* Instagram: media first. Clean portrait view, no decorative frame or text overlays. */
.feature-wisdom{height:auto!important;min-height:0!important;padding:0!important;border:0!important;
  border-radius:0!important;background:transparent!important;overflow:visible!important}
.member-instagram-card{width:100%;margin:0;min-height:0;box-sizing:border-box;
  border:0;border-radius:0;overflow:hidden;background:transparent;color:#382b26}
.member-instagram-stage{position:relative;width:100%;aspect-ratio:850 / 1062;overflow:hidden;
  border-radius:12px;background:#191719}
.member-instagram-media,.member-instagram-stage video{position:absolute;inset:0;width:100%;height:100%;
  display:grid;place-items:center}
.member-instagram-media{background:transparent;text-decoration:none;color:#fff}
.member-instagram-media img,.member-instagram-stage video{width:100%;height:100%;object-fit:contain;object-position:center}
.member-instagram-media[hidden],.member-instagram-media img[hidden],.member-instagram-stage video[hidden],
.member-instagram-fallback[hidden]{display:none!important}
.member-instagram-fallback{font-size:13px;text-align:center;line-height:1.7;padding:18px;color:#eee;max-width:85%}
/* Only Instagram media remains, no caption bar. */
.member-instagram-media:focus-visible{outline:2px solid #27754e;outline-offset:-2px}

/* CDM-115: compact BBS profile in header (matches 24px Chemica BBS avatar). */
.header-actions{gap:12px}
.bbs-id-chip{display:inline-flex;align-items:center;gap:7px;flex:0 0 auto;max-width:148px;
 min-width:0;min-height:32px;padding:2px 0;border:0;border-radius:0;
 background:transparent;color:#564b43;text-decoration:none;box-shadow:none}
.bbs-id-chip:focus-visible{outline:2px solid #28774a;outline-offset:3px;border-radius:5px}
.bbs-id-avatar{display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;border-radius:50%;
 overflow:hidden;background:#d9dbd6;color:#554b43;font-size:12px;font-weight:700}
.bbs-id-avatar img{display:block;width:100%;height:100%;object-fit:cover}
.bbs-id-chip.is-verified .bbs-id-avatar{box-shadow:none}
.bbs-id-meta{display:flex;align-items:center;min-width:0;max-width:116px;line-height:1.25;text-align:left}
.bbs-id-meta strong{font-size:14px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bbs-id-meta small{display:none!important}
@media(max-width:1250px){.bbs-id-chip{max-width:118px}.bbs-id-meta{max-width:87px}}
@media(max-width:620px){
 .header-inner{gap:7px}
 .header-actions{gap:8px}
 .bbs-id-chip{width:30px;min-width:30px;max-width:30px;height:32px;min-height:32px;
  padding:2px 0;justify-content:center}
 .bbs-id-avatar{width:24px;height:24px;flex-basis:24px}
 .bbs-id-meta{display:none}
}

/* BBS identity: NEVER occupy space until live member authentication succeeds. */
.bbs-id-chip[hidden]{display:none!important}

/* CDM-115: question title beside Q; no extra editorial callout panel. */
#questionDetail .qa-label-line{display:flex;align-items:center;gap:12px;margin-bottom:18px}
#questionDetail .qa-label-line .qa-mark{flex:0 0 auto}
#questionDetail .qa-label-line #detailQuestionTitle{
  flex:1 1 auto;min-width:0;margin:0;color:#3b2821;
  font-size:clamp(19px,2.1vw,27px);line-height:1.4;overflow-wrap:anywhere
}
@media(max-width:620px){
  #questionDetail .qa-label-line{gap:10px;margin-bottom:15px}
  #questionDetail .qa-label-line #detailQuestionTitle{font-size:20px}
}

/* Actual BBS member reply form (replaces preview-only answer mock). */
.answer-compose-form{display:flex;flex-direction:column;gap:10px;border-top:1px solid #e8ded5;margin-top:20px;padding-top:18px}
.answer-compose-form[hidden],.answer-login-required[hidden]{display:none!important}
.answer-member{display:flex;align-items:center;gap:9px;font-size:14px}
.answer-member-avatar{width:32px;height:32px;flex:0 0 32px;border-radius:50%;background:#e9eee6;display:grid;place-items:center;overflow:hidden}
.answer-member-avatar img{height:100%;width:100%;object-fit:cover}
.answer-compose-form label{font-size:13px;font-weight:750;color:#3c322a}
.answer-compose-form textarea{width:100%;max-width:100%;min-height:140px;border:1px solid #d4c8bc;border-radius:12px;padding:12px;font:inherit;resize:vertical}
.answer-file-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.answer-file-row .answer-image-button{padding:10px 14px;border:1px solid #bfcdbb;background:#f4f8f0;border-radius:10px;cursor:pointer}
.answer-file-row input{position:absolute;width:1px;height:1px;opacity:0}
.answer-file-row input:focus-visible+.answer-file-name{outline:2px solid #30764c}
.answer-file-name{font-size:12px;overflow-wrap:anywhere;color:#706257}
.answer-compose-form button[type=submit]{align-self:flex-start;min-height:44px;padding:9px 24px;border:0;border-radius:10px;background:#2d7749;color:white;font-weight:800;font:inherit}
.answer-compose-form button:disabled{opacity:.5;cursor:wait}
#replyFormNotice{margin:0;color:#306d46;font-size:13px}
.answer-login-required{color:#74695d;font-size:13px;margin:16px 0}
.answer-attachment{display:block;max-width:min(100%,420px);max-height:450px;object-fit:contain;border-radius:12px;margin-top:12px}

/* Question and answer attachments: local preview only, never uploaded until submit. */
.upload-preview[hidden]{display:none!important}
.upload-preview{
  width:fit-content;max-width:100%;margin:10px 0 14px;padding:10px;
  border:1px solid #dfd7cb;border-radius:13px;background:#fffdf8;
  display:flex;flex-direction:column;align-items:flex-start;gap:8px
}
.upload-preview-image{
  display:block;width:auto;max-width:min(100%,280px);max-height:260px;
  height:auto;object-fit:contain;border-radius:9px;background:#f3eee8
}
.upload-preview-image[hidden]{display:none!important}
.upload-preview-caption{margin:0;font-size:12px;color:#685e52;overflow-wrap:anywhere}
.upload-preview-error{margin:0;color:#a34135;font-size:12px;line-height:1.5}
.upload-preview-error[hidden]{display:none!important}
.upload-preview-remove{
  border:1px solid #cfc6bb;border-radius:9px;background:#fff;
  color:#554a40;cursor:pointer;padding:8px 12px;font:inherit;
  font-size:13px;font-weight:700;min-height:38px
}
.upload-preview-remove:focus-visible{outline:2px solid #30774f;outline-offset:2px}
@media(max-width:620px){.upload-preview{max-width:100%}.upload-preview-image{max-width:100%;max-height:220px}}

/* BBS canonical author photo, with own-answer edit/delete only. */
.bbs-answer-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:12px}
.bbs-answer-actions[hidden],.bbs-answer-edit[hidden]{display:none!important}
.bbs-answer-actions button,.bbs-answer-edit button{padding:8px 15px;border:1px solid #b8cbb8;border-radius:9px;
 background:#f3f8f2;color:#256746;font:inherit;font-size:13px;font-weight:750;cursor:pointer}
.bbs-answer-actions .bbs-answer-delete{background:#fff;border-color:#d8bab3;color:#a44334}
.bbs-answer-actions button:disabled,.bbs-answer-edit button:disabled{opacity:.55;cursor:wait}
.bbs-answer-action-notice{margin:8px 0 0;color:#695f55;font-size:12px}
.bbs-answer-edit{margin-top:14px;border-top:1px solid #eadfd3;padding-top:14px;display:flex;flex-direction:column;gap:9px}
.bbs-answer-edit textarea{width:100%;min-height:110px;padding:12px;border-radius:10px;border:1px solid #d4c7bb;
 resize:vertical;font:inherit;font-size:14px;line-height:1.65}
.bbs-answer-edit input[type=file]{font-size:13px;max-width:100%}
.bbs-answer-edit label{display:flex;align-items:center;gap:8px;font-size:13px}
.bbs-answer-edit-buttons{display:flex;gap:10px;flex-wrap:wrap}

/* Production question form: anti-spam and publication consent. */
#askForm .cq-honeypot{position:absolute;width:1px;height:1px;left:-10000px;overflow:hidden}
#askForm .cq-consent{display:flex;align-items:flex-start;gap:9px;margin:12px 0;font-size:13px;font-weight:700;line-height:1.65}
#askForm .cq-consent input{width:18px;height:18px;flex:0 0 18px;margin:2px 0 0}
