:root {
  --gold: #B8963E;
  --gold-light: #D4B76A;
  --gold-pale: #F5ECD7;
  --gold-wash: #FAF6EC;
  --bg: #FEFCF9;
  --bg-warm: #F9F6F1;
  --bg-cream: #F3EDE3;
  --text-dark: #1A1714;
  --text-body: #3D3830;
  --text-secondary: #7A7267;
  --text-muted: #B0A89E;
  --line: rgba(184,150,62,.15);
  --line-soft: rgba(0,0,0,.06);
  --shadow-soft: 0 4px 30px rgba(0,0,0,.04);
  --shadow-hover: 0 12px 50px rgba(0,0,0,.08);
}

* { margin:0; padding:0; box-sizing:border-box }
html { scroll-behavior:smooth; overflow-x:hidden }
body {
  font-family:'Zen Kaku Gothic New',sans-serif;
  background:var(--bg); color:var(--text-body);
  overflow-x:hidden; -webkit-font-smoothing:antialiased;
}

/* ===== LOADER ===== */
.loader{position:fixed;inset:0;background:var(--bg);z-index:9999;display:flex;flex-direction:column;align-items:center;justify-content:center;transition:opacity .8s,visibility .8s}
.loader.hide{opacity:0;visibility:hidden;pointer-events:none}
.loader-logo{font-family:'Shippori Mincho',serif;font-size:1.6rem;font-weight:600;color:var(--gold);letter-spacing:.5em;margin-bottom:3rem;opacity:0;animation:fadeUp 1s .3s forwards}
.loader-bar{width:180px;height:1px;background:var(--line);position:relative;overflow:hidden}
.loader-bar::after{content:'';position:absolute;left:0;top:0;height:100%;width:0;background:var(--gold);animation:loadBar 2s .5s ease-in-out forwards}

@keyframes loadBar{to{width:100%}}
@keyframes fadeUp{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
@keyframes slideUp{to{opacity:1;transform:translateY(0)}}

/* ===== NAV ===== */
#nav{position:fixed;top:0;left:0;right:0;z-index:1000;padding:1.8rem 5rem;display:flex;justify-content:space-between;align-items:center;transition:all .5s;background:transparent}
#nav.scrolled{background:rgba(254,252,249,.95);backdrop-filter:blur(20px);padding:1rem 5rem;box-shadow:0 1px 0 var(--line-soft)}
.nav-brand{font-family:'Shippori Mincho',serif;font-weight:700;font-size:1.15rem;color:var(--text-dark);letter-spacing:.12em}
.nav-brand span{font-family:'Cormorant Garamond',serif;font-weight:400;font-size:.6rem;display:block;color:var(--gold);letter-spacing:.35em;margin-top:2px}
.nav-links{display:flex;gap:clamp(1rem,2vw,2.5rem);list-style:none}
.nav-links a{color:var(--text-secondary);text-decoration:none;font-size:.72rem;letter-spacing:.15em;font-weight:500;position:relative;transition:color .3s}
.nav-links a::after{content:'';position:absolute;bottom:-4px;left:0;width:0;height:1px;background:var(--gold);transition:width .3s}
.nav-links a:hover{color:var(--text-dark)}
.nav-links a:hover::after{width:100%}
.nav-cta{background:var(--gold);color:#fff;border:none;padding:.65rem 2rem;font-size:.7rem;letter-spacing:.15em;cursor:pointer;transition:all .4s;font-family:inherit;font-weight:500}
.nav-cta:hover{background:var(--text-dark);transform:translateY(-1px);box-shadow:0 6px 20px rgba(0,0,0,.12)}

/* ===== HERO ===== */
.hero{min-height:100vh;display:flex;align-items:center;position:relative;overflow:hidden;background:var(--bg)}
.hero-deco{position:absolute;top:-20%;right:-10%;width:70vw;height:140%;background:radial-gradient(ellipse at center,var(--gold-wash) 0%,transparent 70%);opacity:.6}
.hero-circle{position:absolute;right:8%;top:50%;transform:translateY(-50%);width:450px;height:450px;border:1px solid var(--line);border-radius:50%;opacity:0;animation:fadeUp 1.5s 2.5s forwards}
.hero-circle::before{content:'';position:absolute;inset:40px;border:1px solid rgba(184,150,62,.08);border-radius:50%}
.hero-circle-text{position:absolute;right:8%;top:50%;transform:translateY(-50%);width:450px;height:450px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;opacity:0;animation:fadeUp 1s 3s forwards}
.hero-circle-text .big{font-family:'Cormorant Garamond',serif;font-size:5rem;font-weight:300;color:var(--gold);line-height:1}
.hero-circle-text .small{font-size:.65rem;color:var(--text-muted);letter-spacing:.3em;margin-top:.8rem}
.hero-lines{position:absolute;inset:0;overflow:hidden}
.hero-lines .vl{position:absolute;width:1px;height:100%;background:var(--line-soft)}
.hero-lines .vl:nth-child(1){left:20%}.hero-lines .vl:nth-child(2){left:40%}
.hero-lines .vl:nth-child(3){left:60%}.hero-lines .vl:nth-child(4){left:80%}
.hero-content{position:relative;z-index:10;padding:0 8vw;max-width:700px}
.hero-tag{font-family:'Cormorant Garamond',serif;font-size:.8rem;color:var(--gold);letter-spacing:.4em;text-transform:uppercase;margin-bottom:2rem;opacity:0;animation:fadeUp 1s 2.5s forwards;display:flex;align-items:center;gap:1rem}
.hero-tag::before{content:'';width:40px;height:1px;background:var(--gold)}
.hero-title{font-family:'Shippori Mincho',serif;font-size:clamp(2.5rem,5.5vw,4.5rem);font-weight:800;line-height:1.4;margin-bottom:2rem;letter-spacing:.08em;color:var(--text-dark)}
.hero-title .tline{display:block;overflow:hidden}
.hero-title .tline span{display:inline-block;opacity:0;transform:translateY(100%);animation:slideUp 1s forwards}
.hero-title .tline:nth-child(1) span{animation-delay:2.7s}
.hero-title .tline:nth-child(2) span{animation-delay:2.9s}
.hero-title .accent{color:var(--gold);font-style:italic;font-family:'Cormorant Garamond',serif;font-weight:300}
.hero-desc{font-size:.92rem;color:var(--text-secondary);line-height:2.1;max-width:480px;opacity:0;animation:fadeUp 1s 3.2s forwards;font-weight:300}
.hero-buttons{margin-top:2.5rem;display:flex;gap:1.2rem;opacity:0;animation:fadeUp 1s 3.5s forwards;flex-wrap:wrap}
.btn-primary{background:var(--gold);color:#fff;border:none;padding:1rem 2.8rem;font-size:.78rem;font-weight:500;letter-spacing:.15em;cursor:pointer;position:relative;overflow:hidden;transition:all .4s;font-family:inherit}
.btn-primary::before{content:'';position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.25),transparent);transition:left .5s}
.btn-primary:hover::before{left:100%}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 8px 30px rgba(184,150,62,.3)}
.btn-secondary{background:transparent;border:1px solid var(--text-muted);color:var(--text-body);padding:1rem 2.2rem;font-size:.78rem;letter-spacing:.1em;cursor:pointer;transition:all .4s;font-family:inherit}
.btn-secondary:hover{border-color:var(--gold);color:var(--gold)}
.hero-scroll{position:absolute;bottom:3rem;left:50%;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:.8rem;opacity:0;animation:fadeUp 1s 4s forwards}
.hero-scroll span{font-size:.55rem;letter-spacing:.3em;color:var(--text-muted);writing-mode:vertical-lr}
.scroll-line{width:1px;height:45px;background:var(--line-soft);position:relative;overflow:hidden}
.scroll-line::after{content:'';position:absolute;top:-45px;left:0;width:1px;height:45px;background:var(--gold);animation:scrollDown 2s infinite}
@keyframes scrollDown{0%{top:-45px}100%{top:45px}}

/* ===== SECTION COMMON ===== */
.section{padding:7rem 8vw;position:relative}
.section-tag{font-family:'Cormorant Garamond',serif;font-size:.72rem;color:var(--gold);letter-spacing:.4em;text-transform:uppercase;margin-bottom:.8rem;display:flex;align-items:center;gap:1rem}
.section-tag::before{content:'';width:28px;height:1px;background:var(--gold)}
.section-title{font-family:'Shippori Mincho',serif;font-size:clamp(1.7rem,3vw,2.6rem);font-weight:700;line-height:1.5;margin-bottom:1.2rem;letter-spacing:.06em;color:var(--text-dark)}
.section-subtitle{font-size:.88rem;color:var(--text-secondary);line-height:2;max-width:560px;font-weight:300}
.reveal{opacity:0;transform:translateY(35px);transition:opacity .8s,transform .8s}
.reveal.visible{opacity:1;transform:translateY(0)}

/* ===== NUMBERS ===== */
.numbers{display:flex;justify-content:center;background:var(--bg-warm);border-top:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft)}
.number-item{flex:1;text-align:center;padding:4rem 2rem;border-right:1px solid var(--line-soft)}
.number-item:last-child{border-right:none}
.number-item .num{font-family:'Cormorant Garamond',serif;font-size:clamp(2.2rem,4.5vw,3.5rem);font-weight:700;color:var(--gold);line-height:1;margin-bottom:.6rem}
.number-item .num-suffix{font-size:1rem;font-weight:400;color:var(--gold-light)}
.number-item .num-label{font-size:.68rem;color:var(--text-muted);letter-spacing:.15em}

/* ===== SERVICES ===== */
.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-top:3.5rem}
.service-card{background:#fff;padding:2.8rem 2.2rem;position:relative;overflow:hidden;cursor:pointer;transition:all .5s;border:1px solid var(--line-soft)}
.service-card::after{content:'';position:absolute;bottom:0;left:0;width:100%;height:2px;background:var(--gold);transform:scaleX(0);transition:transform .5s;transform-origin:left}
.service-card:hover::after{transform:scaleX(1)}
.service-card:hover{box-shadow:var(--shadow-hover);transform:translateY(-4px)}
.service-num{font-family:'Cormorant Garamond',serif;font-size:2.5rem;font-weight:300;color:var(--gold-pale);position:absolute;top:1.2rem;right:1.5rem;line-height:1}
.service-icon{width:44px;height:44px;border:1px solid var(--gold);border-radius:50%;display:flex;align-items:center;justify-content:center;margin-bottom:1.8rem;color:var(--gold);font-size:1rem;transition:all .4s}
.service-card:hover .service-icon{background:var(--gold);color:#fff}
.service-name{font-family:'Shippori Mincho',serif;font-size:1.1rem;font-weight:700;margin-bottom:.8rem;letter-spacing:.04em;color:var(--text-dark)}
.service-desc{font-size:.8rem;color:var(--text-secondary);line-height:1.9;font-weight:300}

/* ===== AI SECTION ===== */
.ai-section{background:linear-gradient(180deg,#fff 0%,var(--gold-wash) 100%);overflow:hidden;position:relative}
.ai-section::before{content:'';position:absolute;top:-100px;right:-100px;width:400px;height:400px;border:1px solid var(--line);border-radius:50%;opacity:.3}
.ai-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-top:3.5rem}
.ai-card{background:#fff;border:1px solid var(--line-soft);padding:2.5rem 2rem;text-align:center;cursor:pointer;transition:all .5s;position:relative;overflow:hidden}
.ai-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-hover)}
.ai-card::after{content:'';position:absolute;bottom:0;left:0;width:100%;height:3px;background:linear-gradient(90deg,var(--gold),var(--gold-light));transform:scaleX(0);transition:transform .5s;transform-origin:left}
.ai-card:hover::after{transform:scaleX(1)}
.ai-card-icon{width:64px;height:64px;margin:0 auto 1.5rem;border-radius:50%;background:var(--gold-wash);display:flex;align-items:center;justify-content:center;font-size:1.8rem;transition:all .4s}
.ai-card:hover .ai-card-icon{background:var(--gold);transform:scale(1.1)}
.ai-card:hover .ai-card-icon span{filter:brightness(10)}
.ai-card-title{font-family:'Shippori Mincho',serif;font-size:1.1rem;font-weight:700;color:var(--text-dark);margin-bottom:.5rem}
.ai-card-badge{display:inline-block;font-size:.55rem;background:var(--gold);color:#fff;padding:.2rem .8rem;letter-spacing:.15em;margin-bottom:1rem;font-weight:500}
.ai-card-desc{font-size:.78rem;color:var(--text-secondary);line-height:1.9;font-weight:300}

/* ===== MODAL ===== */
.modal-overlay{position:fixed;inset:0;background:rgba(26,23,20,.5);backdrop-filter:blur(6px);z-index:5000;opacity:0;visibility:hidden;transition:all .4s}
.modal-overlay.active{opacity:1;visibility:visible}
.modal{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%) scale(.95);z-index:5001;background:#fff;width:min(580px,92vw);max-height:85vh;overflow:hidden;display:flex;flex-direction:column;opacity:0;visibility:hidden;transition:all .4s;border:1px solid var(--line-soft);box-shadow:0 25px 80px rgba(0,0,0,.12)}
.modal.active{opacity:1;visibility:visible;transform:translate(-50%,-50%) scale(1)}
.modal-header{padding:1.5rem 2rem;border-bottom:1px solid var(--line-soft);display:flex;justify-content:space-between;align-items:center;flex-shrink:0}
.modal-header h3{font-family:'Shippori Mincho',serif;font-size:1.05rem;font-weight:700;color:var(--text-dark)}
.modal-close{background:none;border:none;font-size:1.4rem;color:var(--text-muted);cursor:pointer;transition:color .3s;width:36px;height:36px;display:flex;align-items:center;justify-content:center}
.modal-close:hover{color:var(--text-dark)}
.modal-body{padding:2rem;overflow-y:auto;flex:1}

/* ===== CHAT ===== */
.chat-messages{display:flex;flex-direction:column;gap:.8rem;min-height:250px;max-height:350px;overflow-y:auto;margin-bottom:1.5rem;padding-right:.5rem}
.chat-messages::-webkit-scrollbar{width:3px}
.chat-messages::-webkit-scrollbar-thumb{background:var(--line);border-radius:3px}
.chat-msg{max-width:85%;padding:.8rem 1.2rem;font-size:.82rem;line-height:1.8;font-weight:300;animation:fadeUp .3s ease}
.chat-msg.bot{background:var(--bg-warm);color:var(--text-body);align-self:flex-start;border:1px solid var(--line-soft)}
.chat-msg.user{background:var(--gold);color:#fff;align-self:flex-end}
.chat-input-wrap{display:flex;gap:.8rem}
.chat-input{flex:1;border:1px solid var(--line-soft);padding:.8rem 1rem;font-size:.82rem;font-family:inherit;outline:none;transition:border-color .3s;background:var(--bg)}
.chat-input:focus{border-color:var(--gold)}
.chat-send{background:var(--gold);color:#fff;border:none;padding:.8rem 1.5rem;font-size:.75rem;letter-spacing:.1em;cursor:pointer;font-family:inherit;transition:all .3s}
.chat-send:hover{background:var(--text-dark)}
.chat-send:disabled{opacity:.5;cursor:not-allowed}

/* Typing indicator */
.typing-dots{display:inline-flex;gap:4px;padding:4px 0}
.typing-dots span{width:6px;height:6px;background:var(--text-muted);border-radius:50%;animation:bounce .6s infinite alternate}
.typing-dots span:nth-child(2){animation-delay:.15s}
.typing-dots span:nth-child(3){animation-delay:.3s}
@keyframes bounce{to{transform:translateY(-6px);opacity:.4}}

/* ===== FORMS ===== */
.form-group{margin-bottom:1.5rem}
.form-label{font-size:.75rem;font-weight:500;color:var(--text-dark);letter-spacing:.05em;margin-bottom:.5rem;display:block}
.form-select,.form-input{width:100%;border:1px solid var(--line-soft);padding:.75rem 1rem;font-size:.82rem;font-family:inherit;outline:none;transition:border-color .3s;background:var(--bg);color:var(--text-body);appearance:none}
.form-select:focus,.form-input:focus{border-color:var(--gold)}
.form-select{background:var(--bg) url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23B0A89E' fill='none'/%3E%3C/svg%3E") no-repeat right 1rem center}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.form-submit{width:100%;background:var(--gold);color:#fff;border:none;padding:1rem;font-size:.82rem;font-weight:500;letter-spacing:.15em;cursor:pointer;font-family:inherit;transition:all .4s;margin-top:.5rem}
.form-submit:hover{background:var(--text-dark);transform:translateY(-1px)}
.form-submit:disabled{opacity:.5;cursor:not-allowed}

/* ===== AI PROGRESS STEPS ===== */
.ai-progress{margin:1.5rem 0}
.ai-progress-step{display:flex;align-items:center;gap:.8rem;padding:.6rem 0;font-size:.78rem;color:var(--text-muted);transition:all .4s}
.ai-progress-step.active{color:var(--gold);font-weight:500}
.ai-progress-step.done{color:var(--text-secondary)}
.ai-progress-step .step-icon{width:24px;height:24px;border-radius:50%;border:1.5px solid var(--line-soft);display:flex;align-items:center;justify-content:center;font-size:.6rem;transition:all .4s;flex-shrink:0}
.ai-progress-step.active .step-icon{border-color:var(--gold);background:var(--gold-wash);animation:pulseIcon 1s infinite}
.ai-progress-step.done .step-icon{border-color:var(--gold);background:var(--gold);color:#fff}
@keyframes pulseIcon{0%,100%{transform:scale(1)}50%{transform:scale(1.15)}}

/* ===== AI RESULT ===== */
.ai-result{background:var(--bg-warm);border:1px solid var(--line);padding:1.5rem;margin-top:1rem;font-size:.82rem;line-height:1.9;color:var(--text-body);font-weight:300}
.ai-result h4{font-family:'Shippori Mincho',serif;font-size:1rem;font-weight:600;color:var(--gold);margin-bottom:.8rem}
.ai-result-char{opacity:0;animation:charIn .02s forwards}
@keyframes charIn{to{opacity:1}}

/* ===== DIAGNOSIS ===== */
.diag-progress{display:flex;gap:.3rem;margin-bottom:2rem}
.diag-progress .step{flex:1;height:3px;background:var(--line-soft);transition:background .3s}
.diag-progress .step.done{background:var(--gold)}
.diag-question{font-family:'Shippori Mincho',serif;font-size:1rem;font-weight:600;color:var(--text-dark);margin-bottom:1.5rem;line-height:1.6}
.diag-options{display:flex;flex-direction:column;gap:.6rem}
.diag-option{border:1px solid var(--line-soft);padding:.9rem 1.2rem;font-size:.82rem;cursor:pointer;transition:all .3s;background:#fff;text-align:left;font-family:inherit;color:var(--text-body)}
.diag-option:hover{border-color:var(--gold);background:var(--gold-wash);color:var(--text-dark)}

/* ===== WORKS / PHILOSOPHY / PROCESS / TESTIMONIALS / CTA / FOOTER ===== */
.works-section{background:var(--bg-warm)}
.works-grid{display:grid;grid-template-columns:1.3fr .7fr;grid-template-rows:auto auto;gap:1.2rem;margin-top:3.5rem}
.work-card{position:relative;overflow:hidden;cursor:pointer;aspect-ratio:16/10;background:var(--bg-cream);border:1px solid var(--line-soft);transition:all .5s}
.work-card:first-child{grid-row:span 2;aspect-ratio:auto}
.work-card:hover{box-shadow:var(--shadow-hover)}
.work-img{width:100%;height:100%;display:flex;align-items:center;justify-content:center;transition:transform .8s}
.work-card:hover .work-img{transform:scale(1.03)}
.work-overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(26,23,20,.85) 0%,rgba(26,23,20,.1) 50%,transparent 100%);display:flex;flex-direction:column;justify-content:flex-end;padding:2.2rem;opacity:0;transition:opacity .5s}
.work-card:hover .work-overlay{opacity:1}
.work-category{font-size:.6rem;color:var(--gold-light);letter-spacing:.3em;text-transform:uppercase;margin-bottom:.4rem}
.work-title{font-family:'Shippori Mincho',serif;font-size:1.15rem;font-weight:500;color:#fff}
.work-arrow{position:absolute;top:1.2rem;right:1.2rem;width:36px;height:36px;border:1px solid var(--line);border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--text-muted);font-size:.85rem;transition:all .3s;background:rgba(255,255,255,.9)}
.work-card:hover .work-arrow{background:var(--gold);border-color:var(--gold);color:#fff}

.philosophy{text-align:center;padding:9rem 8vw;position:relative;background:#fff}
.philosophy::before,.philosophy::after{content:'';position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border:1px solid var(--line-soft);border-radius:50%}
.philosophy::before{width:420px;height:420px}.philosophy::after{width:300px;height:300px}
.philosophy-quote{font-family:'Shippori Mincho',serif;font-size:clamp(1.4rem,2.8vw,2.2rem);font-weight:400;line-height:2.2;max-width:600px;margin:0 auto 2rem;letter-spacing:.12em;position:relative;z-index:1;color:var(--text-dark)}
.philosophy-quote .em{color:var(--gold);font-weight:700}
.philosophy-author{font-family:'Cormorant Garamond',serif;font-size:.85rem;color:var(--text-muted);letter-spacing:.3em;position:relative;z-index:1}

.process-section{background:var(--bg-warm)}
.process-timeline{margin-top:3.5rem;position:relative}
.process-timeline::before{content:'';position:absolute;left:30px;top:0;width:1px;height:100%;background:var(--line)}
.process-step{display:flex;gap:2.5rem;padding:2.2rem 0;border-bottom:1px solid var(--line-soft);position:relative}
.step-num{font-family:'Cormorant Garamond',serif;font-size:1.4rem;font-weight:600;color:var(--gold);width:60px;flex-shrink:0;text-align:center;position:relative}
.step-num::after{content:'';position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:10px;height:10px;border-radius:50%;border:2px solid var(--gold);background:var(--bg-warm)}
.step-content h4{font-family:'Shippori Mincho',serif;font-size:1.05rem;font-weight:600;margin-bottom:.6rem;color:var(--text-dark)}
.step-content p{font-size:.8rem;color:var(--text-secondary);line-height:1.9;font-weight:300}

.testimonials-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem;margin-top:3.5rem}
.testimonial-card{background:#fff;padding:2.5rem;position:relative;border:1px solid var(--line-soft);transition:box-shadow .4s}
.testimonial-card:hover{box-shadow:var(--shadow-soft)}
.testimonial-card::before{content:'\201C';font-family:'Cormorant Garamond',serif;font-size:5rem;color:var(--gold-pale);position:absolute;top:.3rem;left:1.2rem;line-height:1}
.test-text{font-size:.85rem;line-height:2;color:var(--text-secondary);margin-bottom:1.5rem;font-weight:300;position:relative;z-index:1}
.test-author{display:flex;align-items:center;gap:1rem}
.test-avatar{width:38px;height:38px;border-radius:50%;background:linear-gradient(135deg,var(--gold-light),var(--gold));display:flex;align-items:center;justify-content:center;font-size:.8rem;color:#fff;font-weight:600}
.test-name{font-size:.78rem;font-weight:500;color:var(--text-dark)}
.test-loc{font-size:.68rem;color:var(--text-muted);margin-top:2px}
.test-stars{color:var(--gold);font-size:.65rem;letter-spacing:2px;margin-top:4px}

.cta-section{padding:9rem 8vw;text-align:center;position:relative;background:#fff;overflow:hidden}
.cta-section::before{content:'';position:absolute;top:-50%;left:-20%;width:140%;height:200%;background:radial-gradient(ellipse at center,var(--gold-wash) 0%,transparent 60%);opacity:.5}
.cta-section .section-title{max-width:550px;margin:0 auto 1.2rem;position:relative}
.cta-section .section-subtitle{max-width:450px;margin:0 auto;position:relative}
.cta-badges{display:flex;justify-content:center;gap:2rem;margin:2.5rem 0;flex-wrap:wrap;position:relative}
.cta-badge{font-size:.68rem;color:var(--text-muted);letter-spacing:.12em;display:flex;align-items:center;gap:.5rem}
.cta-badge .dot{width:5px;height:5px;background:var(--gold);border-radius:50%}
.cta-buttons{display:flex;justify-content:center;gap:1.2rem;margin-top:1.5rem;position:relative}
.btn-large{padding:1.1rem 3.5rem;font-size:.82rem}
.cta-tel{margin-top:2.5rem;font-family:'Cormorant Garamond',serif;font-size:2rem;color:var(--gold);font-weight:500;letter-spacing:.08em;position:relative}
.cta-tel small{display:block;font-size:.62rem;color:var(--text-muted);letter-spacing:.15em;margin-top:.5rem;font-family:inherit}

footer{background:var(--text-dark);color:rgba(255,255,255,.6);padding:5rem 8vw 2.5rem;display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:4rem}
.footer-brand{font-family:'Shippori Mincho',serif;font-size:1.1rem;font-weight:700;color:var(--gold-light);letter-spacing:.1em;margin-bottom:1.5rem}
.footer-brand span{display:block;font-size:.6rem;color:rgba(255,255,255,.3);font-weight:300;margin-top:.3rem}
.footer-info{font-size:.75rem;line-height:2;font-weight:300;color:rgba(255,255,255,.4)}
.footer-heading{font-size:.65rem;color:rgba(255,255,255,.3);letter-spacing:.2em;text-transform:uppercase;margin-bottom:1.3rem}
.footer-links{list-style:none;display:flex;flex-direction:column;gap:.7rem}
.footer-links a{font-size:.78rem;color:rgba(255,255,255,.5);text-decoration:none;transition:color .3s;font-weight:300}
.footer-links a:hover{color:var(--gold-light)}
.footer-bottom{grid-column:1/-1;border-top:1px solid rgba(255,255,255,.08);padding-top:2rem;margin-top:1rem;display:flex;justify-content:space-between;font-size:.6rem;color:rgba(255,255,255,.25)}

.float-contact{position:fixed;bottom:2rem;right:2rem;z-index:900;display:flex;flex-direction:column;gap:.7rem;opacity:0;transform:translateY(20px);transition:all .5s}
.float-contact.visible{opacity:1;transform:translateY(0)}
.float-btn{width:52px;height:52px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.2rem;cursor:pointer;transition:all .3s;border:none}
/* .float-btn.ai は concierge-char に置き換え済み */
.float-btn.phone{background:var(--gold);color:#fff;box-shadow:0 4px 20px rgba(184,150,62,.35)}
@keyframes pulse{0%,100%{box-shadow:0 4px 25px rgba(184,150,62,.4)}50%{box-shadow:0 4px 35px rgba(184,150,62,.6)}}
.float-btn:hover{transform:scale(1.1)}

/* ===== HAMBURGER ===== */
.hamburger{display:none;flex-direction:column;justify-content:center;gap:5px;width:40px;height:40px;background:none;border:none;cursor:pointer;padding:6px;z-index:1100}
.hamburger span{display:block;width:24px;height:1.5px;background:var(--text-dark);transition:all .35s;transform-origin:center}
.hamburger.open span:nth-child(1){transform:translateY(6.5px) rotate(45deg)}
.hamburger.open span:nth-child(2){opacity:0;transform:scaleX(0)}
.hamburger.open span:nth-child(3){transform:translateY(-6.5px) rotate(-45deg)}

/* ===== MOBILE MENU ===== */
.mobile-menu{position:fixed;top:0;right:0;width:min(320px,85vw);height:100dvh;background:var(--bg);z-index:1050;display:none;flex-direction:column;padding:5rem 2.5rem 2.5rem;transform:translateX(100%);visibility:hidden;transition:transform .4s cubic-bezier(.4,0,.2,1),visibility .4s;box-shadow:-4px 0 30px rgba(0,0,0,.08)}
.mobile-menu.open{display:flex;transform:translateX(0);visibility:visible}
.mobile-menu-close{position:absolute;top:1.4rem;right:1.4rem;background:none;border:none;font-size:1.6rem;color:var(--text-muted);cursor:pointer;width:40px;height:40px;display:flex;align-items:center;justify-content:center}
.mobile-nav{display:flex;flex-direction:column;gap:.2rem;flex:1}
.mobile-nav-link{display:block;font-family:'Shippori Mincho',serif;font-size:1.25rem;font-weight:600;color:var(--text-dark);text-decoration:none;padding:.9rem 0;border-bottom:1px solid var(--line-soft);letter-spacing:.08em;transition:color .3s}
.mobile-nav-link:hover{color:var(--gold)}
.mobile-menu-footer{display:flex;flex-direction:column;gap:1rem;padding-top:1.5rem}
.mobile-tel{font-family:'Cormorant Garamond',serif;font-size:1.5rem;font-weight:500;color:var(--gold);text-decoration:none;letter-spacing:.05em}
.mobile-overlay{position:fixed;inset:0;background:rgba(26,23,20,.45);z-index:1040;opacity:0;visibility:hidden;transition:all .4s}
.mobile-overlay.open{opacity:1;visibility:visible}

/* ===== WORKS MORE ===== */
.works-more{margin-top:2.5rem;text-align:center}
.works-more-link{font-family:'Shippori Mincho',serif;font-size:1rem;color:var(--gold);text-decoration:none;letter-spacing:.08em;position:relative;font-weight:600;padding-bottom:2px}
.works-more-link::after{content:'';position:absolute;bottom:0;left:0;width:0;height:1px;background:var(--gold);transition:width .4s}
.works-more-link:hover::after{width:100%}
.works-more-note{font-size:.72rem;color:var(--text-muted);margin-top:.8rem}
.work-img{position:relative}
.work-img-label{position:absolute;bottom:1rem;left:50%;transform:translateX(-50%);font-family:'Shippori Mincho',serif;font-size:.75rem;color:var(--text-secondary);letter-spacing:.2em;white-space:nowrap;font-weight:500}

/* ===== ACCESS ===== */
.access-section{background:var(--bg-warm)}
.access-grid{display:grid;grid-template-columns:1fr 1fr;gap:3rem;margin-top:3rem;align-items:start}
.access-map{border:1px solid var(--line-soft);overflow:hidden}
.access-info{padding:.5rem 0}
.access-company{font-family:'Shippori Mincho',serif;font-size:1.3rem;font-weight:700;color:var(--text-dark);margin-bottom:1.8rem;letter-spacing:.06em}
.access-dl{display:grid;grid-template-columns:5rem 1fr;gap:.8rem 1.2rem}
.access-dl dt{font-size:.72rem;font-weight:600;color:var(--text-muted);letter-spacing:.1em;padding-top:.1rem}
.access-dl dd{font-size:.85rem;color:var(--text-body);line-height:1.8;font-weight:300}
.access-dl dd a{color:var(--text-dark);text-decoration:none;transition:color .3s}
.access-dl dd a:hover{color:var(--gold)}
.access-map-link{display:inline-block;margin-top:1.8rem;font-size:.78rem;color:var(--gold);text-decoration:none;letter-spacing:.08em;position:relative;font-weight:500;padding-bottom:2px}
.access-map-link::after{content:'';position:absolute;bottom:0;left:0;width:0;height:1px;background:var(--gold);transition:width .4s}
.access-map-link:hover::after{width:100%}

/* ===== INSTAGRAM BANNER ===== */
.insta-banner{display:flex;align-items:center;justify-content:center;gap:1.5rem;background:var(--bg-warm);border:1px solid var(--line-soft);padding:2rem 2.5rem;margin-top:2rem;transition:border-color .4s,box-shadow .4s;flex-wrap:wrap}
.insta-banner:hover{border-color:var(--gold);box-shadow:0 4px 24px rgba(184,150,62,.08)}
.insta-icon{width:48px;height:48px;max-width:48px;flex-shrink:0;color:var(--gold);transition:transform .4s}
.insta-banner:hover .insta-icon{transform:scale(1.1)}
.insta-banner-text{font-family:'Shippori Mincho',serif;font-size:.95rem;color:var(--text-secondary);letter-spacing:.06em;font-weight:500}
.insta-banner-btn{background:transparent;border:1px solid var(--gold);color:var(--gold);padding:.55rem 1.5rem;font-size:.72rem;letter-spacing:.12em;text-decoration:none;font-weight:500;transition:all .35s;white-space:nowrap}
.insta-banner-btn:hover,.insta-banner-btn:visited:hover{background:var(--gold);color:#fff}
.insta-banner-btn:visited{color:var(--gold)}
.works-more-link:visited{color:var(--gold)}
.works-more-link:hover{color:var(--text-dark)}

/* ===== CTA BADGE Instagram ===== */
.cta-badge-insta{text-decoration:none;transition:color .3s}
.cta-badge-insta:hover{color:var(--gold)}
.dot-insta{background:linear-gradient(135deg,#f9ce34,#ee2a7b,#6228d7)!important}

/* ===== FOOTER Instagram ===== */
.footer-insta-link{display:inline-flex;align-items:center}

/* ===== FLOAT BTN fix ===== */
.float-btn.phone{display:flex;align-items:center;justify-content:center;text-decoration:none}

/* PC幅ではモバイルUI要素を完全に隠す */
@media(min-width:769px){
  .hamburger{display:none!important}
  .mobile-menu,.mobile-overlay{display:none!important;visibility:hidden!important}
}

/* ===== RESPONSIVE ===== */
@media(max-width:1024px){.services-grid,.ai-grid{grid-template-columns:repeat(2,1fr)}.works-grid{grid-template-columns:1fr}.work-card:first-child{grid-row:auto}footer{grid-template-columns:1fr 1fr}.hero-circle,.hero-circle-text{display:none}.access-grid{grid-template-columns:1fr}}
@media(max-width:768px){
  #nav{padding:1rem 1.5rem}
  #nav.scrolled{padding:.8rem 1.5rem}
  .nav-links,.nav-cta{display:none}
  .hamburger{display:flex}
  .mobile-menu{display:none}
  .mobile-menu.open{display:flex}
  .section{padding:4.5rem 5vw}
  .hero-content{padding:0 5vw}
  .services-grid,.ai-grid{grid-template-columns:1fr}
  .numbers{flex-direction:column}
  .number-item{border-right:none;border-bottom:1px solid var(--line-soft);padding:2.2rem}
  .testimonials-grid{grid-template-columns:1fr}
  .cta-buttons{flex-direction:column;align-items:center}
  footer{grid-template-columns:1fr;gap:2rem}
  .philosophy::before,.philosophy::after{display:none}
  .process-step{gap:1.2rem}
  .form-row{grid-template-columns:1fr}
  .access-grid{grid-template-columns:1fr;gap:2rem}
  .access-map iframe{height:260px}
  .works-grid{grid-template-columns:1fr}
}
@media(max-width:390px){
  .hero-title{font-size:2.1rem}
  .section-title{font-size:1.5rem}
  .cta-tel{font-size:1.5rem}
  .modal{width:96vw}
}

/* ===== FORCE HIDE MOBILE ELEMENTS ON DESKTOP ===== */
#mobileMenu {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
#mobileMenu.open {
  display: flex !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
@media (min-width: 769px) {
  #mobileMenu,
  #mobileMenu.open {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

/* ===== CONCIERGE ===== */
.concierge-row{display:flex;align-items:flex-end;gap:.6rem}
.concierge-char{width:52px;height:52px;border-radius:50%;background:linear-gradient(135deg,var(--gold),var(--gold-light));box-shadow:0 4px 20px rgba(184,150,62,.5);cursor:pointer;position:relative;animation:floatAnim 3s ease-in-out infinite,pulse 2s infinite;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:1.5rem;user-select:none}
.concierge-char::before{content:'✨'}
@keyframes floatAnim{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
.concierge-sparkle{position:absolute;width:6px;height:6px;border-radius:50%;background:var(--gold-light);opacity:0;animation:sparkle 2s ease-in-out infinite}
.concierge-sparkle.s1{top:-3px;left:12px;animation-delay:0s}
.concierge-sparkle.s2{top:6px;right:-4px;animation-delay:.6s}
.concierge-sparkle.s3{bottom:2px;left:-4px;animation-delay:1.2s}
.concierge-sparkle.s4{bottom:-3px;right:12px;animation-delay:1.8s}
@keyframes sparkle{0%,100%{opacity:0;transform:scale(0)}50%{opacity:1;transform:scale(1)}}
.concierge-char:hover .concierge-sparkle{animation-duration:.8s}
.concierge-bubble{position:relative;max-width:220px;background:#fff;border-radius:12px 12px 4px 12px;padding:.75rem 1rem;box-shadow:0 4px 24px rgba(0,0,0,.13);font-size:.8rem;line-height:1.5;color:var(--text-dark);animation:bubbleIn .3s ease}
.concierge-bubble.hidden{display:none}
.concierge-bubble::after{content:'';position:absolute;bottom:10px;right:-7px;border:7px solid transparent;border-left-color:#fff;border-right:0}
@keyframes bubbleIn{from{opacity:0;transform:scale(.92) translateX(8px)}to{opacity:1;transform:scale(1) translateX(0)}}
.bubble-simple{color:var(--text-dark);font-size:.83rem}
.bubble-simple.hidden{display:none}
.bubble-actions{position:relative}
.bubble-actions.hidden{display:none}
.bubble-close{position:absolute;top:-.3rem;right:-.3rem;background:none;border:none;font-size:1rem;cursor:pointer;color:var(--text-muted);line-height:1;padding:.1rem .3rem}
.bubble-close:hover{color:var(--text-dark)}
.bubble-greeting{margin:0 1.2rem .6rem 0;font-size:.75rem;color:var(--text-secondary)}
.bubble-action-btn{display:flex;justify-content:space-between;align-items:center;width:100%;text-align:left;background:var(--bg-soft,#f8f5f0);border:1px solid var(--line-soft);border-radius:8px;padding:.5rem .65rem;font-size:.77rem;cursor:pointer;color:var(--text-dark);margin-bottom:.35rem;transition:all .2s}
.bubble-action-btn:last-child{margin-bottom:0}
.bubble-action-btn:hover{background:var(--gold-pale);border-color:var(--gold-light);color:var(--gold)}
.usage-count{font-size:.68rem;color:var(--text-muted);white-space:nowrap;margin-left:.4rem}
@media(max-width:768px){
  .concierge-bubble{max-width:calc(100vw - 5rem)}
  .bubble-action-btn{padding:.6rem .65rem}
}

/* ===== AIMITSUMORI MODAL ===== */
.aim-steps{display:flex;align-items:center;margin-bottom:1.5rem}
.aim-dot{width:28px;height:28px;border-radius:50%;background:var(--line-soft);border:2px solid var(--line);display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:700;color:var(--text-muted);flex-shrink:0;transition:all .3s}
.aim-dot.active{background:var(--gold);border-color:var(--gold);color:#fff}
.aim-dot.done{background:var(--gold-pale);border-color:var(--gold-light);color:var(--gold)}
.aim-line{flex:1;height:2px;background:var(--line-soft);margin:0 .4rem}
.aim-step-title{font-size:.9rem;font-weight:600;color:var(--text-dark);margin-bottom:.4rem}
.aim-step-sub{font-size:.78rem;color:var(--text-muted);margin-bottom:1rem;line-height:1.5}
.aim-upload-area{border:2px dashed var(--line);border-radius:10px;padding:2rem 1rem;text-align:center;cursor:pointer;font-size:.85rem;color:var(--text-secondary);transition:all .3s;background:var(--bg-warm)}
.aim-upload-area:hover{border-color:var(--gold-light);background:var(--gold-pale);color:var(--gold)}
.aim-file-item{display:flex;align-items:center;gap:.6rem;padding:.5rem .7rem;background:var(--bg-soft,#f8f5f0);border-radius:8px;margin-top:.5rem;font-size:.8rem;color:var(--text-body)}
.aim-file-item img{width:44px;height:44px;object-fit:cover;border-radius:5px;background:#eee}
.aim-option-label{display:flex;align-items:flex-start;gap:.7rem;padding:1rem;border:1.5px solid var(--line-soft);border-radius:10px;cursor:pointer;margin-bottom:.6rem;transition:border-color .2s}
.aim-option-label:has(input:checked){border-color:var(--gold);background:var(--gold-wash)}
.aim-option-main{font-size:.88rem;font-weight:600;color:var(--text-dark);margin-bottom:.2rem}
.aim-option-sub{font-size:.76rem;color:var(--text-muted);line-height:1.4}
.aim-btn-row{display:flex;gap:.7rem;margin-top:1.2rem}
.aim-btn-row .btn-secondary{flex:1;padding:.7rem;border-radius:8px;border:1px solid var(--line);background:#fff;cursor:pointer;font-size:.88rem;color:var(--text-secondary)}
.aim-btn-row .form-submit{flex:2}
.aim-confirm-box{background:var(--bg-warm);border-radius:10px;padding:1rem 1.2rem;font-size:.83rem;line-height:1.8;color:var(--text-body);margin-bottom:1rem}
.aim-confirm-box b{color:var(--text-dark)}
.aim-success{text-align:center;padding:2rem 1rem}
.aim-success-icon{font-size:3rem;margin-bottom:.8rem}
.aim-success-title{font-size:1.1rem;font-weight:700;color:var(--text-dark);margin-bottom:.5rem}
.aim-success-sub{font-size:.85rem;color:var(--text-secondary);line-height:1.6}

/* ============================================
   建物診断 v2
   ============================================ */
.dv2-prog{display:flex;align-items:center;justify-content:center;margin-bottom:1.4rem}
.dv2-prog-step{display:flex;flex-direction:column;align-items:center;gap:.3rem}
.dv2-prog-dot{width:28px;height:28px;border-radius:50%;border:2px solid var(--line);display:flex;align-items:center;justify-content:center;font-size:.72rem;font-weight:700;color:var(--text-muted);transition:all .3s}
.dv2-prog-step.active .dv2-prog-dot{border-color:#C9A96E;background:#C9A96E;color:#fff}
.dv2-prog-step.done .dv2-prog-dot{border-color:#34D399;background:#34D399;color:#fff}
.dv2-prog-lbl{font-size:.62rem;color:var(--text-muted);white-space:nowrap}
.dv2-prog-step.active .dv2-prog-lbl,.dv2-prog-step.done .dv2-prog-lbl{color:var(--text-body)}
.dv2-prog-line{flex:1;min-width:24px;height:2px;background:var(--line);margin:0 4px 16px;transition:background .3s}
.dv2-prog-line.done{background:#34D399}
.dv2-title{font-family:'Shippori Mincho',serif;font-size:1rem;font-weight:700;margin-bottom:1rem;color:var(--text-dark)}
.dv2-form{display:flex;flex-direction:column;gap:1rem;max-height:380px;overflow-y:auto;padding-right:4px}
.dv2-field-label{font-size:.78rem;font-weight:600;color:var(--text-secondary);margin-bottom:.4rem}
.dv2-radio-group{display:flex;flex-wrap:wrap;gap:.4rem}
.dv2-radio{display:flex;align-items:center;gap:.35rem;padding:.35rem .75rem;border-radius:99px;border:1px solid var(--line);font-size:.78rem;cursor:pointer;transition:all .15s;color:var(--text-body);background:#fff;white-space:nowrap;user-select:none}
.dv2-radio input{display:none}
.dv2-radio.sel{border-color:#C9A96E;background:rgba(201,169,110,0.1);color:#8B6914;font-weight:600}
.dv2-radio:hover:not(.sel){border-color:#C9A96E;background:rgba(201,169,110,0.06)}
.dv2-btn-row{display:flex;gap:.6rem;margin-top:1.2rem;flex-wrap:wrap}
.dv2-btn-next{flex:2;padding:.75rem;border-radius:99px;background:#C9A96E;color:#fff;border:none;font-size:.88rem;font-weight:700;cursor:pointer;font-family:'Zen Kaku Gothic New',sans-serif;transition:background .2s;min-width:140px}
.dv2-btn-next:hover{background:#b8965e}
.dv2-btn-back{padding:.7rem 1rem;border-radius:99px;background:#fff;border:1px solid var(--line);color:var(--text-muted);font-size:.82rem;cursor:pointer;font-family:'Zen Kaku Gothic New',sans-serif}
.dv2-btn-skip{flex:1;padding:.7rem;border-radius:99px;background:#fff;border:1px solid var(--line);color:var(--text-secondary);font-size:.82rem;cursor:pointer;font-family:'Zen Kaku Gothic New',sans-serif}
.dv2-photo-note{font-size:.8rem;color:var(--text-muted);margin-bottom:.8rem;line-height:1.5}
.dv2-upload-area{border:2px dashed var(--line);border-radius:12px;padding:1.8rem;text-align:center;cursor:pointer;transition:all .2s;margin-bottom:.8rem;background:var(--bg-warm)}
.dv2-upload-area:hover{border-color:#C9A96E;background:rgba(201,169,110,0.05)}
.dv2-photo-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:.5rem;margin-bottom:.8rem}
.dv2-photo-thumb{position:relative;aspect-ratio:1;border-radius:6px;overflow:hidden}
.dv2-photo-del{position:absolute;top:3px;right:3px;width:20px;height:20px;border-radius:50%;background:rgba(0,0,0,.6);color:#fff;border:none;font-size:.7rem;cursor:pointer;display:flex;align-items:center;justify-content:center;line-height:1}
.dv2-loading{text-align:center;padding:2rem 1rem}
.dv2-loading-icon{font-size:2.5rem;margin-bottom:.5rem}
.dv2-loading-title{font-family:'Shippori Mincho',serif;font-size:1rem;font-weight:700;color:var(--text-dark);margin-bottom:1.2rem}
.dv2-loading-steps{display:flex;flex-direction:column;gap:.6rem;text-align:left;max-width:260px;margin:0 auto}
.dv2-ls{display:flex;align-items:center;gap:.6rem;opacity:.3;transition:opacity .3s}
.dv2-ls.active{opacity:1}
.dv2-ls.done{opacity:.6}
.dv2-ls-dot{width:8px;height:8px;border-radius:50%;background:var(--line);flex-shrink:0;transition:background .3s}
.dv2-ls.active .dv2-ls-dot{background:#C9A96E;animation:diagpulse .8s infinite}
.dv2-ls.done .dv2-ls-dot{background:#34D399}
.dv2-ls-label{font-size:.82rem;color:var(--text-secondary)}
@keyframes diagpulse{0%,100%{opacity:1}50%{opacity:.3}}

/* ============================================
   診断レポート
   ============================================ */
.diag-report{background:#fff;border-radius:12px;padding:1.2rem;color:#222;font-family:'Zen Kaku Gothic New',sans-serif;font-size:14px}
.rep-hdr{display:flex;justify-content:space-between;align-items:flex-start;padding-bottom:.8rem;border-bottom:2px solid #C9A96E;margin-bottom:.8rem}
.rep-hdr-title{font-family:'Shippori Mincho',serif;font-size:1.05rem;font-weight:700;color:#222}
.rep-hdr-co{font-size:.72rem;color:#888;margin-top:.2rem}
.rep-hdr-date{font-size:.7rem;color:#aaa;white-space:nowrap}
.rep-tags{display:flex;flex-wrap:wrap;gap:.3rem;margin-bottom:.8rem}
.rep-tag{background:#f5f0e8;color:#8B6914;font-size:.68rem;border-radius:4px;padding:.15rem .5rem;border:1px solid #e8d9b5}
.rep-sec{margin-bottom:1.2rem;padding-bottom:1.2rem;border-bottom:1px solid #f0ece4}
.rep-sec:last-child{border-bottom:none;margin-bottom:0}
.rep-overall{background:#fdfaf4;border-radius:10px;padding:1rem;text-align:center;border-left-width:4px;border-left-style:solid}
.rep-stars{font-size:1.5rem;letter-spacing:.1em;margin-bottom:.2rem}
.rep-score-big{font-size:2.8rem;font-weight:900;line-height:1;margin-bottom:.3rem}
.rep-score-of{font-size:1rem;font-weight:400;color:#aaa}
.rep-overall-comment{font-size:.88rem;color:#555;font-weight:600}
.rep-sec-title{font-family:'Shippori Mincho',serif;font-weight:700;font-size:.9rem;color:#222;margin-bottom:.8rem}
.rep-bar-row{display:grid;grid-template-columns:58px 1fr 34px;align-items:center;gap:.5rem;margin-bottom:.25rem}
.rep-bar-lbl{font-size:.75rem;color:#555;text-align:right}
.rep-bar-track{height:10px;background:#f0ede8;border-radius:99px;overflow:hidden}
.rep-bar-fill{height:100%;border-radius:99px;width:0%}
.rep-bar-num{font-size:.72rem;font-weight:700;text-align:right}
.rep-bar-cmt{font-size:.68rem;color:#999;padding-left:66px;margin-bottom:.4rem}
.rep-urg{display:flex;gap:.6rem;align-items:flex-start;padding:.55rem .65rem;border-radius:8px;margin-bottom:.4rem;font-size:.8rem}
.rep-urg.red{background:#FFF1F1;border:1px solid #FFD0D0}
.rep-urg.yellow{background:#FFFBF0;border:1px solid #FFE699}
.rep-urg.green{background:#F0FFF8;border:1px solid #BBF7D0}
.rep-urg-badge{font-size:.65rem;font-weight:700;white-space:nowrap;flex-shrink:0;margin-top:.1rem}
.rep-urg-reason{font-size:.72rem;color:#777;margin-top:.15rem}
.rep-photos-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.6rem}
.rep-photo-item{border-radius:8px;overflow:hidden;border:1px solid #eee}
.rep-photo-img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}
.rep-photo-cmt{font-size:.72rem;color:#555;padding:.4rem .5rem;line-height:1.4;background:#fafafa}
.rep-timeline{display:flex;flex-direction:column}
.rep-tl-row{display:flex;gap:.8rem;align-items:flex-start}
.rep-tl-left{display:flex;flex-direction:column;align-items:center;width:44px;flex-shrink:0}
.rep-tl-year{font-size:.68rem;font-weight:700;color:#C9A96E;background:#fdf6e8;border:1px solid #e8d9b5;border-radius:4px;padding:.12rem .2rem;text-align:center;width:100%}
.rep-tl-vline{width:2px;flex:1;background:#e8d9b5;min-height:18px;margin:2px 0}
.rep-tl-right{padding:.05rem 0 .7rem;font-size:.8rem;color:#333;display:flex;align-items:center;gap:.4rem;flex-wrap:wrap}
.rep-tl-badge{font-size:.62rem;font-weight:700;border-radius:3px;padding:.1rem .35rem;white-space:nowrap}
.rep-tl-badge.high{background:#FFE4E4;color:#C0392B}
.rep-tl-badge.medium{background:#FFF8E1;color:#8B6914}
.rep-tl-badge.low{background:#F0FFF8;color:#1A7A4A}
.rep-cost-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.5rem;margin-bottom:.5rem}
.rep-cost-card{background:#fafaf8;border:1px solid #eee;border-radius:8px;padding:.6rem .7rem;text-align:center}
.rep-cost-work{font-size:.7rem;color:#555;margin-bottom:.2rem}
.rep-cost-range{font-size:.95rem;font-weight:700;color:#C9A96E}
.rep-cost-unit{font-size:.65rem;font-weight:400;color:#888;margin-left:.1rem}
.rep-set{background:#fdf6e8;border:1px solid #e8d9b5;border-radius:6px;padding:.5rem .7rem;font-size:.76rem;color:#8B6914;margin-bottom:.5rem}
.rep-cost-note{font-size:.65rem;color:#aaa}
.rep-risk-list{display:flex;flex-direction:column;gap:.45rem}
.rep-risk-row{display:flex;align-items:flex-start;gap:.6rem}
.rep-risk-yr{font-size:.65rem;font-weight:700;border-radius:4px;padding:.12rem .35rem;white-space:nowrap;margin-top:.12rem;flex-shrink:0}
.rep-risk-yr.yr1{background:#FFE4E4;color:#C0392B}
.rep-risk-yr.yr3{background:#FFF0E0;color:#A0522D}
.rep-risk-yr.yr5{background:#FFF8E1;color:#8B6914}
.rep-risk-txt{font-size:.78rem;color:#444;line-height:1.5}
.rep-subsidy{background:#F0FFF8;border-radius:10px;padding:.8rem 1rem}
.rep-sub-name{font-size:.88rem;font-weight:700;color:#1A7A4A;margin-bottom:.2rem}
.rep-sub-amount{font-size:1rem;font-weight:700;color:#1A7A4A;margin-bottom:.3rem}
.rep-sub-note{font-size:.75rem;color:#2D8A5E;margin-bottom:.2rem}
.rep-sub-caution{font-size:.62rem;color:#aaa}
.rep-cta{background:linear-gradient(135deg,#fdf6e8,#fef9f0);border-radius:10px;padding:1rem;text-align:center;border:1px solid #e8d9b5}
.rep-cta-note{font-size:.7rem;color:#aaa;margin-bottom:.2rem}
.rep-cta-sub{font-size:.8rem;color:#555;margin-bottom:.8rem}
.rep-cta-tel{display:block;font-size:1.1rem;font-weight:700;color:#C9A96E;text-decoration:none;margin-bottom:.7rem}
.rep-cta-btn{background:#C9A96E;color:#fff;border:none;border-radius:99px;padding:.75rem 1.5rem;font-size:.88rem;font-weight:700;cursor:pointer;font-family:'Zen Kaku Gothic New',sans-serif;transition:background .2s;width:100%}
.rep-cta-btn:hover{background:#b8965e}
.rep-save{border-top:1px solid #f0ece4;padding-top:1rem;margin-top:.5rem}
.rep-save-label{font-size:.72rem;color:#888;margin-bottom:.4rem}
.rep-save-email-row{display:flex;gap:.4rem;margin-bottom:.6rem}
.rep-email-input{flex:1;padding:.5rem .7rem;border:1px solid #ddd;border-radius:8px;font-size:.82rem;outline:none;font-family:'Zen Kaku Gothic New',sans-serif}
.rep-email-input:focus{border-color:#C9A96E}
.rep-save-sub-btn{padding:.5rem .8rem;background:#f5f0e8;border:1px solid #e8d9b5;border-radius:8px;color:#8B6914;font-size:.75rem;cursor:pointer;white-space:nowrap;font-family:'Zen Kaku Gothic New',sans-serif}
.rep-save-img-btn{width:100%;padding:.65rem;border-radius:8px;background:#f5f0e8;border:1px solid #e8d9b5;color:#8B6914;font-size:.82rem;cursor:pointer;font-family:'Zen Kaku Gothic New',sans-serif;transition:background .2s}
.rep-save-img-btn:hover{background:#ede4d5}
