/* Photo-first workspace: charcoal, warm gold and restrained product imagery. */
:root{--gold:#e6c991;--gold-deep:#bd9658}
body.dark{--bg:#080f15;--panel:#151f29;--text:#f2f2ef;--muted:#a4adb6;--border:#2b3744;--accent:#e6c991;--soft:#242b31;--warn:#ebc48b;background:radial-gradient(ellipse at 75% 0,#24303b80,transparent 48%),#080f15}
body.dark header{background:#0b121aeb;backdrop-filter:blur(16px)}
.logo{font-size:16px;letter-spacing:.2px}.logomark{background:none;color:var(--gold);font-size:30px;border-radius:0;width:30px}.logomark span{display:none}.logo small{font-size:9px;letter-spacing:1.5px}.logo b{font-weight:600}header{border-color:var(--border)}.header-right .chip{background:transparent;color:var(--muted);font-size:10px}
body.dark .card{background:linear-gradient(145deg,#202c38,#131e28);border-color:#34414e8c;box-shadow:0 6px 20px #0002}body.dark .card .card{background:#101a23}.eyebrow{letter-spacing:2.5px;font-size:10px}.page-head h1{font-size:28px;font-weight:650}.page-head .chip{display:none}body.dark .notice{background:#d7b5730d;color:#dccba8;border:1px solid #e5c58c26}body.dark .notice.warn{background:#ad7d2412;color:#d8c2a0;border-color:#e4bc6730}.chip,.badge{font-weight:500}body.dark .chip,body.dark .badge{background:#b8c3d210;color:#c7cfd6}
.hero{background:radial-gradient(ellipse at 90% 40%,#75533766,transparent 70%),linear-gradient(115deg,#15191b,#101418);border:1px solid #4e493d;min-height:325px;padding:34px 35px;isolation:isolate}.hero h2{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:34px;font-weight:500;letter-spacing:1px;margin-bottom:15px}.hero p{font-size:13px;line-height:1.85;color:#e5e2dc}.hero .eyebrow{color:#d7be8e;font-size:9px}.hero-art{position:absolute;right:0;top:-5px;width:53%;height:100%;z-index:-1}.hero-art:before{display:none}.hero-bag{width:100%;height:100%;object-fit:contain;filter:drop-shadow(-15px 15px 25px #0008)}.hero .primary{min-width:275px;background:linear-gradient(125deg,#efdbad,#d3ad71);color:#141a1e;border:1px solid #f8dfaf;border-radius:15px;min-height:70px;font-size:20px;justify-content:space-between;box-shadow:0 7px 20px #0003;margin-top:10px}.hero .primary span{font-size:25px}.hero>div:first-child{z-index:1;max-width:60%}.hero>div:first-child>p{max-width:100%}
body.dark button.primary,body.dark .button.primary{background:linear-gradient(130deg,#ecd5a3,#d5b27a);color:#111820;border-color:#ecd6a4}body.dark button:not(.primary):hover{background:#283743}body.dark button:disabled{background:#17232d;color:#7d8994;border-color:#34404b}.feature .icon{color:var(--accent);background:transparent;padding:0;font-size:30px}.feature{border-radius:18px}.feature p{font-size:12px;line-height:1.8}.feature h3{font-size:16px}body.dark nav a.active{color:var(--gold);background:#d9be8610}.card h2{font-weight:650}.result-banner{background:#e3f3e5;border-color:#a4d4b1;color:#174e2b}.result-banner h2{color:#1b6531}.result-banner .metric small{color:#3e674c}.result-banner .positive{color:#16703c}.result-banner .chip{background:#c9e4ce!important;color:#225d34!important}.result-banner .metric strong{font-size:27px}.metrics .metric{padding:14px 6px}
.search-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(250px,.85fr);gap:24px}.search-guide{display:block;position:static;height:auto;min-height:0;border:0;padding:0}.search-guide>.card{margin-bottom:18px}.step-label{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:650;margin-bottom:13px}.step-label>span{font-size:11px;letter-spacing:1px;color:var(--accent);background:var(--soft);border:1px solid var(--border);padding:3px 7px;border-radius:6px}.photo-drop{padding:28px 20px 23px;margin-bottom:0;border-style:dashed;background:radial-gradient(ellipse at 50% 0,#ddbd8a10,transparent 75%);border-color:#796a50}.camera-symbol{font-size:42px;line-height:1;margin-bottom:16px;color:var(--accent)}.photo-drop strong{font-size:16px}.photo-drop p{font-size:12px;margin-bottom:19px}.photo-buttons{display:flex;gap:10px}.photo-buttons>button{flex:1;min-height:50px}.photo-meta{display:flex;justify-content:space-between;align-items:center;margin-top:10px}.photos{margin:13px 0 22px}.photos:empty{margin:0 0 25px}.photos img{width:112px;height:112px;border:1px solid var(--border)}.photos button{background:#0b121ae0;color:#fff;border:0;min-width:28px;height:28px}.purchase-input label{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}.purchase-input input{font-size:27px;font-weight:600;min-height:71px;letter-spacing:1px;background:transparent!important;padding-left:17px}.purchase-input input::placeholder{font-size:20px;color:#78838d}.input-hint{font-size:11px!important;color:var(--muted);margin:7px 0 18px}.input-hint.center{text-align:center;margin:13px 0 0}.recognition-status{display:flex;align-items:flex-start;gap:10px;background:#03080c35;padding:13px;border:1px solid var(--border);border-radius:10px}.recognition-status .status-dot{background:#9d8d72;margin-top:8px;flex-shrink:0}.recognition-status.connected .status-dot{background:#8acfa8}.recognition-status strong{display:block;font-size:12px;color:var(--muted);font-weight:500}.recognition-status small{display:block;line-height:1.6;font-size:10px;margin-top:3px}.product-details{border-top:1px solid var(--border);padding-top:3px;margin-top:20px}.product-details>summary{font-size:13px}.product-details>summary small{float:right;font-size:10px;font-weight:400}.product-details .form-grid{margin:13px 0}.product-details label{font-size:12px}.extra-details{border-top:1px solid var(--border)}.extra-details summary{font-size:12px;color:var(--muted)}.product-details #recognize{width:100%;font-size:12px;margin-top:10px}.appraisal-button{min-height:61px;font-size:17px;border-radius:13px;justify-content:space-between;padding:15px 22px}.photo-card .actions{margin-top:18px}.guide-steps{padding:8px 0}.guide-steps p{display:flex;align-items:center;gap:12px}.guide-steps span{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--border);border-radius:50%;width:27px;height:27px;color:var(--accent);font-size:12px}.evidence-guide{padding:8px 20px!important}.evidence-guide summary{font-size:12px;color:var(--muted)}
.result-product{margin-bottom:20px}.result-product h2{margin:14px 0 8px;font-size:20px}.result-photos{display:grid;grid-template-columns:2fr 1fr;grid-template-rows:145px 145px;gap:9px;max-height:300px;overflow:hidden;border-radius:14px}.result-photos>img{width:100%;height:100%;object-fit:cover;border-radius:9px;background:#fff}.result-photos>img:first-child{grid-row:1/3}.result-photos>img:only-child{grid-column:1/-1;object-fit:contain}.result-photos:has(.no-photo){display:none}.product-chips{display:flex;gap:7px;flex-wrap:wrap}.learning-switch{display:flex;border-radius:26px;background:var(--panel);padding:4px;border:1px solid var(--border);margin-bottom:20px}.learning-switch button{flex:1;border:0;background:transparent;border-radius:23px;color:var(--muted);font-size:13px}.learning-switch button.active{background:linear-gradient(130deg,#ecd5a3,#d5b27a);color:#131c25}.learning-overview{border-radius:18px;margin-bottom:20px}.learning-overview .progress{height:8px}.learning-overview .progress>div{background:linear-gradient(90deg,#c8a46b,#f4dfb2)}.learning-overview .metrics{grid-template-columns:repeat(3,1fr)}.lesson-art{background:#d7c49a0b}.answer.correct{border-color:#81c792;background:#174333;color:#e4f6e7}
@media(max-width:1050px){.hero h2{font-size:30px}.hero{padding:27px;min-height:300px}.hero .primary{min-width:240px}.search-layout{grid-template-columns:1fr}.search-guide{display:none}}
@media(max-width:760px){header{height:64px;padding:0 17px}.logo{font-size:12px;gap:7px}.logo small{display:none}.logomark{font-size:25px;width:24px}.header-right button{font-size:22px;padding:6px;min-width:38px}.header-right .chip{display:none}main{padding:21px 16px 105px}.page-head h1{font-size:23px}.page-head .eyebrow{font-size:9px}.page-head p{font-size:11px}.hero{border-radius:19px;padding:26px 22px 22px;min-height:360px;display:flex;align-items:stretch}.hero>div:first-child{max-width:none;width:100%;display:flex;flex-direction:column}.hero h2{font-size:30px;line-height:1.65;max-width:71%;margin-bottom:11px;letter-spacing:0}.hero>div:first-child>p:not(.eyebrow){max-width:70%;font-size:12px;line-height:1.85}.hero-art{width:76%;right:-38px;top:15px;height:280px;opacity:.9;z-index:0}.hero .eyebrow{font-size:8px}.hero .primary{width:100%;margin-top:auto;min-width:0;min-height:71px;padding:13px 20px;font-size:22px;background:linear-gradient(125deg,#efdbad,#d3ad71)!important}.hero .primary:after{content:'写真から特徴と相場をチェック';position:absolute;font-size:9px;bottom:8px;left:52px;font-weight:400;letter-spacing:.2px}.hero .primary{position:relative;padding-bottom:21px}.hero .primary span{font-size:24px}.hero+.grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.hero+.grid .feature{padding:16px 9px 14px;min-height:167px;border-radius:16px;text-align:center}.hero+.grid .feature .icon{position:static;display:block;line-height:1;font-size:27px;margin-bottom:12px}.hero+.grid .feature .arrow{display:none}.hero+.grid .feature h3{font-size:12px;line-height:1.65;padding:0;margin:0 0 7px}.hero+.grid .feature p{font-size:10px;line-height:1.7;padding:0;text-align:left}.section-title h2{font-size:16px}.search-layout{display:block}.photo-card{padding:20px 17px}.photo-drop{padding:25px 15px 19px}.photo-drop strong{font-size:14px}.photo-drop p{font-size:11px}.photo-buttons{gap:8px}.photo-buttons button{padding:10px 9px;font-size:13px;min-height:50px}.purchase-input input{font-size:28px}.step-label{font-size:13px}.appraisal-button{font-size:17px;min-height:63px}.result-product h2{font-size:17px}.result-photos{grid-template-rows:120px 120px}.result-banner{padding:18px 15px}.result-banner h2{font-size:21px}.result-banner .metric strong{font-size:24px}.result-banner .metric small{font-size:10px}#bottom-nav{background:#080e14f5;border-color:#222e39;backdrop-filter:blur(12px)}#bottom-nav a.active{background:none;color:var(--gold)}#bottom-nav a span:first-child{font-size:22px}.learning-overview .metric strong{font-size:21px}.learning-overview .metric{padding:10px 4px}.learning-overview .metric small{font-size:9px}.learning-overview .metrics{gap:7px}.photo-meta small{font-size:10px}}
