/* =========================================================
   ReArk Design v1.0.28 / Demo gallery + textile demo
   ========================================================= */
.demo-nav-link{color:var(--gold)!important;font-weight:700}
.work-card-link{display:block;color:inherit}
.work-card-link:hover .work-link-text{letter-spacing:.09em}
.work-link-text{display:inline-block;margin-top:14px;color:var(--gold);font-size:13px;font-weight:700;transition:.25s}
.work-image-demo{position:relative;overflow:hidden;background:#182018!important}
.work-image-demo::before,.work-image-demo::after{content:"";position:absolute;inset:-20%;background:repeating-linear-gradient(28deg,rgba(216,203,170,.17) 0 2px,transparent 2px 11px);transform:rotate(-7deg)}
.work-image-demo::after{background:repeating-linear-gradient(92deg,rgba(255,255,255,.07) 0 1px,transparent 1px 14px);transform:rotate(3deg)}
.work-image-demo span{position:relative;z-index:2}

/* Demo index */
.demo-index-hero{padding:180px 0 110px}
.demo-index-hero h1{max-width:900px;margin:0;font-family:"Shippori Mincho",serif;font-size:clamp(46px,6.8vw,86px);font-weight:600;line-height:1.3}
.demo-index-hero h1 span{color:var(--gold)}
.demo-index-lead{max-width:760px;margin:34px 0 0;color:rgba(255,255,255,.72);font-size:17px;line-height:2}
.demo-index-note{max-width:760px;margin:24px 0 0;padding-top:18px;border-top:1px solid rgba(255,255,255,.15);color:rgba(255,255,255,.46);font-size:12px}
.demo-gallery-heading{max-width:780px;margin-bottom:48px}
.demo-gallery-heading h2{margin:0;font-family:"Shippori Mincho",serif;font-size:clamp(36px,5vw,58px);line-height:1.45;font-weight:600}
.demo-gallery-heading>p:last-child{color:var(--muted);line-height:2}
.demo-showcase-card{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(320px,.7fr);border:1px solid var(--line-light);background:#f8f6f0;transition:transform .3s ease,box-shadow .3s ease}
.demo-showcase-card:hover{transform:translateY(-5px);box-shadow:0 22px 60px rgba(0,0,0,.09)}
.demo-showcase-visual{position:relative;min-height:560px;overflow:hidden;background:#d6d1c2}
.demo-fabric{position:absolute;border-radius:48% 52% 42% 58% / 58% 38% 62% 42%;filter:saturate(.8)}
.demo-fabric-a{width:84%;height:86%;left:-20%;top:-18%;background:repeating-linear-gradient(32deg,#1b271e 0 4px,#26352a 4px 9px,#162019 9px 13px);transform:rotate(18deg)}
.demo-fabric-b{width:72%;height:72%;right:-19%;bottom:-26%;background:repeating-linear-gradient(118deg,#b9aa89 0 3px,#d0c3a7 3px 8px,#a89573 8px 11px);transform:rotate(-20deg)}
.demo-showcase-screen{position:absolute;inset:14% 11% 13% 14%;display:flex;flex-direction:column;justify-content:center;padding:clamp(28px,5vw,64px);background:rgba(247,244,235,.94);box-shadow:0 28px 70px rgba(0,0,0,.18)}
.demo-screen-brand{position:absolute;top:28px;left:32px;font-size:13px;font-weight:800;letter-spacing:.2em}
.demo-showcase-screen strong{font-family:"Shippori Mincho",serif;font-size:clamp(32px,4.8vw,62px);line-height:1.35;font-weight:600}
.demo-showcase-screen small{margin-top:30px;color:#657063;font-size:11px;font-weight:700;letter-spacing:.2em}
.demo-showcase-copy{display:flex;flex-direction:column;justify-content:center;padding:52px}
.demo-status{color:#697461;font-size:11px;font-weight:800;letter-spacing:.2em}
.demo-showcase-copy h3{margin:16px 0;font-family:"Shippori Mincho",serif;font-size:32px;line-height:1.5}
.demo-showcase-copy p{color:var(--muted);line-height:2}
.demo-open{margin-top:40px;padding-top:18px;border-top:1px solid var(--line-light);font-weight:700}.demo-open b{float:right;color:#8b6c13}
.demo-next-card{margin-top:24px;padding:36px 40px;border:1px dashed #bbb4a8;color:#746f67}.demo-next-card p{margin:0 0 5px;color:#9b7b20;font-size:11px;font-weight:800;letter-spacing:.2em}.demo-next-card h3{margin:0 0 8px;color:#222;font-family:"Shippori Mincho",serif;font-size:24px}.demo-index-cta{padding:110px 0}.demo-index-cta h2{max-width:900px;margin:0;font-family:"Shippori Mincho",serif;font-size:clamp(34px,4.8vw,56px);line-height:1.5;font-weight:600}.demo-index-cta>div>p:not(.section-kicker){max-width:760px;color:rgba(255,255,255,.62);line-height:2}

/* Textile demo base */
.textile-demo-page{--td-ink:#172018;--td-paper:#f0eee7;--td-warm:#d7cdb9;--td-green:#66715f;--td-olive:#8a8b6b;--td-sand:#c6b895;--td-line:rgba(23,32,24,.18);margin:0;background:var(--td-paper);color:var(--td-ink);font-family:"Noto Sans JP",sans-serif;letter-spacing:.04em}
.textile-demo-page .site-header,.textile-demo-page .site-footer{display:none}
.demo-preview-bar{position:relative;z-index:1200;background:#0c0c0c;color:#fff;font-size:11px;letter-spacing:.06em}.demo-preview-inner{width:min(calc(100% - 40px),1360px);min-height:42px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px}.demo-preview-inner p{margin:0;display:flex;gap:20px;align-items:center}.demo-preview-inner strong{color:#d2aa29;letter-spacing:.16em}.demo-preview-inner span{color:rgba(255,255,255,.55)}.demo-preview-inner a{color:#fff;text-decoration:underline;text-underline-offset:4px}
.textile-header{position:absolute;z-index:1000;top:42px;left:0;right:0;height:92px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(24px,5vw,72px);border-bottom:1px solid rgba(23,32,24,.16)}
.textile-brand{display:flex;flex-direction:column;line-height:1;color:var(--td-ink)}.textile-brand strong{font-family:"Shippori Mincho",serif;font-size:27px;letter-spacing:.14em}.textile-brand span{margin-top:8px;font-size:8px;font-weight:700;letter-spacing:.29em}.textile-nav{display:flex;align-items:center;gap:clamp(18px,2.5vw,38px);font-size:12px}.textile-contact-link{padding:12px 18px;border:1px solid var(--td-ink)}
.textile-shell{width:min(calc(100% - 64px),1240px);margin-inline:auto}
.textile-hero{position:relative;min-height:900px;display:flex;align-items:center;overflow:hidden;padding-top:92px;background:#e8e4d9}
.textile-hero-content{position:relative;z-index:3}.textile-eyebrow,.textile-label{margin:0 0 22px;color:#606c5d;font-size:11px;font-weight:800;letter-spacing:.24em}.textile-hero h1{margin:0;font-family:"Shippori Mincho",serif;font-size:clamp(54px,7.6vw,104px);font-weight:500;line-height:1.23;letter-spacing:.02em}.textile-hero h1 em{color:#697562;font-style:normal}.textile-hero-content>p:not(.textile-eyebrow){margin:34px 0 0;font-size:16px;line-height:2;color:#5e625c}.textile-button{display:inline-flex;align-items:center;gap:46px;margin-top:38px;padding:16px 20px;border-bottom:1px solid var(--td-ink);font-size:13px;font-weight:700}.textile-button span{font-size:20px}.textile-scroll{position:absolute;z-index:4;right:34px;bottom:60px;margin:0;writing-mode:vertical-rl;font-size:9px;font-weight:700;letter-spacing:.2em}.textile-scroll span{display:inline-block;width:1px;height:68px;margin-top:12px;background:var(--td-ink)}
.textile-hero-art{position:absolute;inset:0}.fabric-panel{position:absolute;background-size:14px 14px}.fabric-panel-one{width:43%;height:70%;right:-6%;top:12%;background:repeating-linear-gradient(102deg,#687462 0 4px,#77826f 4px 8px,#596553 8px 11px);border-radius:55% 0 0 55%;transform:rotate(-8deg)}.fabric-panel-two{width:27%;height:50%;right:24%;bottom:-16%;background:repeating-linear-gradient(38deg,#b9ac8f 0 2px,#cdbfa2 2px 7px,#ad9e80 7px 9px);border-radius:50% 50% 0 0;transform:rotate(20deg)}.thread{position:absolute;right:8%;top:15%;width:42%;height:65%;border:1px solid rgba(255,255,255,.44);border-radius:50%;transform:rotate(21deg)}.thread-two{right:11%;top:17%;transform:rotate(27deg)}.thread-three{right:5%;top:19%;transform:rotate(15deg)}
.textile-intro{padding:150px 0;background:#f4f1e9}.textile-intro-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:90px}.textile-intro h2,.textile-section-head h2,.textile-company h2,.textile-contact h2,.use-title h2{margin:0;font-family:"Shippori Mincho",serif;font-size:clamp(38px,5vw,64px);font-weight:500;line-height:1.45}.textile-large-copy{margin:0 0 34px;font-family:"Shippori Mincho",serif;font-size:clamp(24px,3vw,36px);line-height:1.8}.textile-intro-copy>p:last-child{max-width:700px;color:#666760;line-height:2.2}
.textile-material-statement{position:relative;min-height:620px;overflow:hidden;background:#242b25;color:#fff}.material-band{position:absolute;width:72%;height:140%;top:-20%;border-radius:50%;opacity:.9}.material-band-a{left:-28%;background:repeating-linear-gradient(63deg,#556053 0 5px,#435044 5px 11px,#657065 11px 15px);transform:rotate(18deg)}.material-band-b{right:-35%;background:repeating-linear-gradient(118deg,#baa987 0 4px,#d1c3a7 4px 10px,#9d8e70 10px 13px);transform:rotate(-18deg)}.material-band-copy{position:relative;z-index:2;min-height:620px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center}.material-band-copy p{font-size:11px;font-weight:800;letter-spacing:.28em}.material-band-copy strong{font-family:"Shippori Mincho",serif;font-size:clamp(38px,5.5vw,72px);line-height:1.5;font-weight:500}
.textile-business{padding:150px 0}.textile-section-head{display:grid;grid-template-columns:.5fr 1fr;column-gap:60px;align-items:start}.textile-section-head .textile-label{grid-column:1}.textile-section-head h2{grid-column:1/3}.textile-section-head>p:last-child{grid-column:2;max-width:620px;color:#696b65;line-height:2;margin-top:28px}.textile-business-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;margin-top:80px;background:rgba(0,0,0,.12);border:1px solid rgba(0,0,0,.12)}.textile-business-card{position:relative;min-height:520px;padding:42px;overflow:hidden}.textile-business-card>span{font-family:"Shippori Mincho",serif;font-size:52px;opacity:.25}.textile-card-en{margin:74px 0 12px;font-size:9px;font-weight:800;letter-spacing:.25em}.textile-business-card h3{margin:0 0 24px;font-family:"Shippori Mincho",serif;font-size:34px;font-weight:500}.textile-business-card>p:last-of-type{position:relative;z-index:2;max-width:310px;line-height:2}.textile-card-dark{background:#1d251f;color:#f3f0e8}.textile-card-sand{background:#d1c5aa}.textile-card-olive{background:#71765e;color:#fff}.card-weave{position:absolute;right:-26%;bottom:-12%;width:72%;height:48%;border-radius:50%;background:repeating-linear-gradient(45deg,rgba(255,255,255,.22) 0 2px,transparent 2px 9px),repeating-linear-gradient(135deg,rgba(255,255,255,.13) 0 1px,transparent 1px 9px)}.card-curve{position:absolute;right:-20%;bottom:-26%;width:86%;height:58%;border:1px solid rgba(0,0,0,.18);border-radius:50%}.card-curve::after{content:"";position:absolute;inset:12%;border:1px solid rgba(0,0,0,.14);border-radius:50%}.card-lines{position:absolute;right:0;bottom:0;width:100%;height:44%;background:repeating-linear-gradient(165deg,rgba(255,255,255,.13) 0 1px,transparent 1px 12px)}
.textile-uses{padding:130px 0;background:#dcd6c8}.textile-use-grid{display:grid;grid-template-columns:1.7fr repeat(3,1fr);border-top:1px solid rgba(0,0,0,.16);border-left:1px solid rgba(0,0,0,.16)}.textile-use-grid>div,.textile-use-grid>article{min-height:330px;padding:42px;border-right:1px solid rgba(0,0,0,.16);border-bottom:1px solid rgba(0,0,0,.16)}.use-title p{color:#686963;line-height:2}.textile-use-grid article{display:flex;flex-direction:column}.textile-use-grid article span{font-size:9px;font-weight:800;letter-spacing:.22em}.textile-use-grid article strong{margin:auto 0 18px;font-family:"Shippori Mincho",serif;font-size:54px;font-weight:500}.textile-use-grid article p{margin:0;color:#696a65}
.textile-strength{padding:150px 0;background:#1c241e;color:#f4f1e9}.textile-section-head-light .textile-label{color:#a9b49f}.textile-section-head-light>p:last-child{color:rgba(255,255,255,.55)}.strength-list{list-style:none;margin:80px 0 0;padding:0;border-top:1px solid rgba(255,255,255,.18)}.strength-list li{display:grid;grid-template-columns:140px 1fr;padding:42px 0;border-bottom:1px solid rgba(255,255,255,.18)}.strength-list>li>span{font-family:"Shippori Mincho",serif;font-size:34px;color:#aeba9f}.strength-list h3{margin:0 0 12px;font-family:"Shippori Mincho",serif;font-size:30px;font-weight:500}.strength-list p{max-width:760px;margin:0;color:rgba(255,255,255,.58);line-height:2}
.textile-company{padding:150px 0;background:#f4f1e9}.textile-company-grid{display:grid;grid-template-columns:1fr 1fr;gap:90px}.textile-company-grid>div>p:last-child{margin-top:28px;color:#696b65;line-height:2}.textile-company-table{margin:0;border-top:1px solid var(--td-line)}.textile-company-table div{display:grid;grid-template-columns:130px 1fr;padding:22px 0;border-bottom:1px solid var(--td-line)}.textile-company-table dt{font-size:12px;font-weight:700}.textile-company-table dd{margin:0}.textile-company-table small{color:#87877f}
.textile-contact{padding:140px 0;background:#c8b992}.textile-contact-inner{max-width:1000px}.textile-contact-inner>p:not(.textile-label){max-width:700px;color:#5f5b50;line-height:2;margin:28px 0 0}.textile-button-disabled{margin-top:46px;border:1px solid #1b211b;padding:18px 24px;gap:70px}.textile-button-disabled b{font-size:9px;letter-spacing:.18em}
.textile-footer{padding:48px 0;background:#111713;color:#fff}.textile-footer .textile-shell{display:flex;justify-content:space-between;align-items:end;gap:30px}.textile-footer div>div{display:flex;flex-direction:column}.textile-footer strong{font-family:"Shippori Mincho",serif;font-size:26px;letter-spacing:.14em}.textile-footer span{font-size:8px;letter-spacing:.26em}.textile-footer p{margin:0;color:rgba(255,255,255,.42);font-size:10px}

@media(max-width:980px){.demo-showcase-card{grid-template-columns:1fr}.demo-showcase-visual{min-height:480px}.textile-nav{display:none}.textile-intro-grid,.textile-company-grid{grid-template-columns:1fr;gap:50px}.textile-business-grid{grid-template-columns:1fr}.textile-business-card{min-height:390px}.textile-use-grid{grid-template-columns:1fr 1fr}.use-title{grid-column:1/3}.textile-section-head{display:block}.textile-section-head>p:last-child{margin-top:24px}.strength-list li{grid-template-columns:90px 1fr}}
@media(max-width:680px){.demo-nav-link{display:block}.demo-index-hero{padding:130px 0 75px}.demo-index-hero h1{font-size:42px}.demo-index-lead{font-size:15px}.demo-showcase-visual{min-height:390px}.demo-showcase-screen{inset:12% 7% 12% 9%;padding:28px}.demo-showcase-screen strong{font-size:32px}.demo-screen-brand{top:20px;left:22px}.demo-showcase-copy{padding:34px 26px}.demo-next-card{padding:28px 24px}.demo-preview-inner{width:min(calc(100% - 28px),1360px);min-height:52px}.demo-preview-inner p{display:block;line-height:1.45}.demo-preview-inner p span{display:none}.demo-preview-inner a{font-size:10px;white-space:nowrap}.textile-header{top:52px;height:72px;padding:0 20px}.textile-brand strong{font-size:22px}.textile-shell{width:min(calc(100% - 40px),1240px)}.textile-hero{min-height:760px;padding-top:72px;align-items:flex-start}.textile-hero-content{padding-top:170px}.textile-hero h1{font-size:47px;line-height:1.32}.textile-hero-content>p:not(.textile-eyebrow){font-size:14px}.fabric-panel-one{width:64%;height:50%;right:-24%;top:10%}.fabric-panel-two{width:45%;height:32%;right:2%;bottom:-5%}.thread{width:60%;height:44%;right:-10%;top:12%}.textile-scroll{display:none}.textile-intro,.textile-business,.textile-strength,.textile-company{padding:95px 0}.textile-material-statement,.material-band-copy{min-height:500px}.material-band{width:100%}.material-band-a{left:-62%}.material-band-b{right:-65%}.textile-business-grid{margin-top:50px}.textile-business-card{padding:30px;min-height:360px}.textile-card-en{margin-top:46px}.textile-use-grid{grid-template-columns:1fr}.use-title{grid-column:auto}.textile-use-grid>div,.textile-use-grid>article{min-height:250px;padding:28px}.textile-use-grid article strong{font-size:45px}.strength-list{margin-top:50px}.strength-list li{grid-template-columns:55px 1fr;padding:30px 0}.strength-list>li>span{font-size:24px}.strength-list h3{font-size:23px}.textile-company-table div{grid-template-columns:1fr;gap:8px}.textile-contact{padding:95px 0}.textile-footer .textile-shell{display:block}.textile-footer p{margin-top:24px;line-height:1.7}}

/* v1.0.28 additional textile demo sections */
.textile-process{padding:150px 0;background:#ebe7dc}
.textile-process-grid{display:grid;grid-template-columns:repeat(4,1fr);margin-top:74px;border-top:1px solid var(--td-line);border-left:1px solid var(--td-line)}
.textile-process-grid article{min-height:300px;padding:34px 30px;border-right:1px solid var(--td-line);border-bottom:1px solid var(--td-line)}
.textile-process-grid span{display:block;margin-bottom:72px;color:#6f7a69;font-family:"Shippori Mincho",serif;font-size:28px}
.textile-process-grid h3{margin:0 0 16px;font-family:"Shippori Mincho",serif;font-size:25px;font-weight:500}
.textile-process-grid p{margin:0;color:#666a63;font-size:13px;line-height:2}
.textile-numbers{padding:105px 0;background:#66715f;color:#fff}
.textile-numbers .textile-label{color:#d8dfd2}
.textile-number-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid rgba(255,255,255,.25);border-left:1px solid rgba(255,255,255,.25)}
.textile-number-grid article{min-height:245px;padding:34px;border-right:1px solid rgba(255,255,255,.25);border-bottom:1px solid rgba(255,255,255,.25)}
.textile-number-grid strong{display:block;font-family:"Shippori Mincho",serif;font-size:clamp(48px,6vw,76px);font-weight:500;line-height:1}
.textile-number-grid span{display:block;margin-top:12px;font-size:9px;font-weight:800;letter-spacing:.25em;color:rgba(255,255,255,.68)}
.textile-number-grid p{margin-top:50px;color:rgba(255,255,255,.78);font-size:13px}
.textile-demo-disclaimer{margin:18px 0 0;color:rgba(255,255,255,.55);font-size:10px;line-height:1.8}
@media(max-width:980px){.textile-process-grid{grid-template-columns:1fr 1fr}.textile-number-grid{grid-template-columns:1fr 1fr}.textile-number-grid article:last-child{grid-column:1/3}}
@media(max-width:680px){.textile-process{padding:95px 0}.textile-process-grid,.textile-number-grid{grid-template-columns:1fr}.textile-process-grid article{min-height:245px}.textile-process-grid span{margin-bottom:45px}.textile-number-grid article:last-child{grid-column:auto}.textile-number-grid article{min-height:205px}.textile-number-grid p{margin-top:32px}}


/* =========================================================
   v1.0.28 visual revision
   - controlled Japanese line breaks
   - colorful palette
   - explicit PHOTO placeholders
   ========================================================= */
.textile-demo-page{
  --td-ink:#171522;
  --td-line:rgba(23,21,34,.16);
  --cobalt:#4058ff;
  --coral:#ff675d;
  --lemon:#f6d83a;
  --aqua:#52d8c9;
  --violet:#8b63ff;
  --pink:#ff8fc5;
  --cream:#fff8e7;
  background:var(--cream);
  color:var(--td-ink);
}
.heading-line,.copy-line{display:block}
.heading-line{white-space:nowrap}
.copy-line{white-space:normal}

/* PHOTO placeholder treatment */
.demo-photo-placeholder{
  display:flex;align-items:center;justify-content:center;
  overflow:hidden;position:relative;
  font-family:Arial,sans-serif;font-size:12px;font-weight:800;letter-spacing:.24em;
  color:rgba(23,21,34,.66);
  border:1px solid rgba(23,21,34,.22);
  background:
    linear-gradient(135deg,rgba(255,255,255,.5),rgba(255,255,255,.08)),
    repeating-linear-gradient(45deg,rgba(23,21,34,.06) 0 1px,transparent 1px 12px),
    #ece8df;
}
.textile-hero{background:linear-gradient(115deg,#fff7df 0 51%,#ff745f 51% 100%)}
.textile-hero-photo{position:absolute;z-index:1;right:5vw;top:15%;width:min(41vw,620px);height:66%;background-color:#7f6cff;color:#fff;border-color:rgba(255,255,255,.5);box-shadow:24px 24px 0 #54d8ca}
.textile-hero::after{content:"";position:absolute;z-index:0;left:0;bottom:0;width:35%;height:12px;background:#f6d83a}
.textile-eyebrow,.textile-label{color:#4058ff}
.textile-hero h1{max-width:780px;font-size:clamp(50px,6.6vw,92px);line-height:1.28}
.textile-hero h1 em{color:#4058ff}
.textile-button{border-bottom-color:#4058ff;color:#171522}

.textile-intro{background:#fff8e7}
.textile-intro h2,.textile-section-head h2,.textile-company h2,.textile-contact h2,.use-title h2{font-size:clamp(36px,4.4vw,58px);line-height:1.5}
.textile-intro-grid>div:first-child{position:relative;padding-top:18px}
.textile-intro-grid>div:first-child::before{content:"";position:absolute;left:-24px;top:0;width:8px;height:100%;background:#ff675d}
.textile-large-copy{font-size:clamp(22px,2.6vw,33px)}

.textile-material-statement{position:relative;background:#4058ff;min-height:620px;color:#fff;overflow:hidden}
.material-photo{position:absolute;inset:7% 7% 7% 43%;background-color:#f6d83a;color:#171522;border-color:rgba(255,255,255,.5);transform:rotate(2deg)}
.material-band-copy{align-items:flex-start;text-align:left;width:min(calc(100% - 48px),1240px);margin:0 auto;padding-right:55%}
.material-band-copy strong{font-size:clamp(36px,4.6vw,62px);line-height:1.5}
.material-band-copy p{color:#b7fff5}

.textile-business{background:#fff}
.textile-business-grid{gap:18px;background:transparent;border:0}
.textile-business-card{min-height:560px;border:1px solid var(--td-line);color:#171522!important;padding-bottom:220px}
.textile-card-dark{background:#ff675d}
.textile-card-sand{background:#f6d83a}
.textile-card-olive{background:#52d8c9}
.textile-card-en{margin-top:42px}
.business-photo{position:absolute;left:26px;right:26px;bottom:26px;height:170px;background-color:#fff;color:#171522}
.textile-business-card:nth-child(1) .business-photo{background-color:#ffd1cd}
.textile-business-card:nth-child(2) .business-photo{background-color:#fff3a0}
.textile-business-card:nth-child(3) .business-photo{background-color:#c6fff8}

.textile-uses{background:#8b63ff;color:#fff}
.textile-use-grid{border-color:rgba(255,255,255,.28)}
.textile-use-grid>div,.textile-use-grid>article{border-color:rgba(255,255,255,.28)}
.textile-use-grid article:nth-child(2){background:#ff8fc5;color:#171522}
.textile-use-grid article:nth-child(3){background:#f6d83a;color:#171522}
.textile-use-grid article:nth-child(4){background:#52d8c9;color:#171522}
.textile-use-grid article p,.use-title p{color:inherit;opacity:.76}

.textile-strength{background:#171522}
.textile-section-head-light .textile-label{color:#52d8c9}
.strength-list>li>span{color:#ff8fc5}
.strength-list li:nth-child(2)>span{color:#f6d83a}
.strength-list li:nth-child(3)>span{color:#52d8c9}

.textile-process{background:#fff8e7}
.textile-process-grid article:nth-child(1){background:#ffefed}
.textile-process-grid article:nth-child(2){background:#fff8c7}
.textile-process-grid article:nth-child(3){background:#e6fffb}
.textile-process-grid article:nth-child(4){background:#efeaff}
.textile-process-grid span{color:#4058ff}

.textile-numbers{background:#4058ff}
.textile-number-grid article:nth-child(2){background:#6a7cff}
.textile-number-grid article:nth-child(3){background:#8b63ff}
.textile-company{background:#fff}
.textile-contact{background:#ff8fc5;color:#171522}
.textile-contact-inner>p:not(.textile-label){color:#473648}
.textile-footer{background:#171522}

/* Prevent Japanese headings from breaking at arbitrary character positions. */
@media(min-width:681px){
  .textile-hero h1 .heading-line,
  .textile-intro h2 .heading-line,
  .textile-section-head h2 .heading-line,
  .textile-company h2 .heading-line,
  .textile-contact h2 .heading-line,
  .use-title h2 .heading-line,
  .material-band-copy strong .heading-line{white-space:nowrap}
}
@media(max-width:980px){
  .textile-hero-photo{right:3vw;width:43vw;height:56%;top:22%}
  .material-photo{inset:46% 7% 7% 24%}
  .material-band-copy{padding:70px 0 330px;width:min(calc(100% - 44px),1240px)}
  .textile-business-card{padding-bottom:205px}
}
@media(max-width:680px){
  .textile-hero{min-height:850px;background:linear-gradient(180deg,#fff7df 0 62%,#ff745f 62% 100%)}
  .textile-hero-content{padding-top:130px}
  .textile-hero h1{font-size:min(10.7vw,46px);line-height:1.42}
  .textile-hero h1 .heading-line{white-space:nowrap}
  .textile-hero-photo{top:auto;right:20px;left:20px;bottom:54px;width:auto;height:250px;box-shadow:12px 12px 0 #54d8ca}
  .textile-intro h2,.textile-section-head h2,.textile-company h2,.textile-contact h2,.use-title h2{font-size:min(8.7vw,38px);line-height:1.55}
  .heading-line{white-space:nowrap}
  .textile-large-copy{font-size:min(6.1vw,27px);line-height:1.85}
  .material-band-copy strong{font-size:min(8.2vw,36px)}
  .material-photo{inset:auto 20px 30px 20px;height:260px;transform:none}
  .material-band-copy{padding:70px 0 330px;width:min(calc(100% - 40px),1240px)}
  .textile-business-card{min-height:510px;padding-bottom:210px}
  .business-photo{height:160px}
}

/* =========================================================
   v1.0.29 textile identity revision
   Inspired by Japanese textile makers: yarn-to-fabric storytelling,
   fabric swatches, stitch/weave motifs, and vivid material colors.
   ========================================================= */
.textile-demo-page{
  --td-ink:#17141f;
  --td-paper:#fffaf0;
  --td-blue:#3157d5;
  --td-coral:#f36c58;
  --td-yellow:#f2cc42;
  --td-green:#3aa88b;
  --td-violet:#7657bb;
  --td-pink:#d9538c;
}
.textile-hero-v2{
  background:
    linear-gradient(90deg,rgba(255,255,255,.55) 0 1px,transparent 1px 18px),
    linear-gradient(0deg,rgba(255,255,255,.45) 0 1px,transparent 1px 18px),
    linear-gradient(116deg,#fff7df 0 55%,#3157d5 55% 100%);
  overflow:hidden;
}
.textile-hero-v2::before{
  content:"";position:absolute;inset:0;pointer-events:none;opacity:.18;
  background:repeating-linear-gradient(90deg,transparent 0 8px,rgba(23,20,31,.17) 8px 9px);
  mix-blend-mode:multiply;
}
.textile-hero-v2 .textile-hero-photo{
  z-index:2;right:5vw;top:13%;width:min(39vw,600px);height:70%;
  background:
    repeating-linear-gradient(25deg,rgba(255,255,255,.12) 0 3px,transparent 3px 14px),
    #f36c58;
  color:#fff;border:0;box-shadow:20px 20px 0 #f2cc42;
  clip-path:polygon(4% 0,100% 0,96% 100%,0 100%);
}
.hero-thread{position:absolute;z-index:1;border:4px solid currentColor;border-left-color:transparent;border-bottom-color:transparent;border-radius:50%;opacity:.55;pointer-events:none}
.hero-thread-a{width:520px;height:240px;right:-80px;top:5%;color:#f2cc42;transform:rotate(18deg)}
.hero-thread-b{width:600px;height:280px;right:-120px;bottom:-12%;color:#d9538c;transform:rotate(-22deg)}
.hero-swatch-strip{position:absolute;z-index:3;left:0;right:0;bottom:0;height:18px;display:grid;grid-template-columns:repeat(6,1fr)}
.hero-swatch-strip span:nth-child(1){background:#3157d5}.hero-swatch-strip span:nth-child(2){background:#f36c58}.hero-swatch-strip span:nth-child(3){background:#f2cc42}.hero-swatch-strip span:nth-child(4){background:#3aa88b}.hero-swatch-strip span:nth-child(5){background:#7657bb}.hero-swatch-strip span:nth-child(6){background:#d9538c}
.textile-hero-v2 h1{max-width:820px;font-size:clamp(48px,6.2vw,88px);line-height:1.3;letter-spacing:.01em}
.textile-hero-v2 h1 em{color:#f36c58;font-style:normal}
.textile-hero-v2 .textile-eyebrow{color:#3157d5}

.mini-yarn-mark{display:flex;gap:8px;margin-top:34px;align-items:center}.mini-yarn-mark i{display:block;height:7px;border-radius:999px}.mini-yarn-mark i:nth-child(1){width:74px;background:#f36c58}.mini-yarn-mark i:nth-child(2){width:46px;background:#3157d5}.mini-yarn-mark i:nth-child(3){width:92px;background:#f2cc42}
.textile-intro{position:relative;background:#fffaf0}
.textile-intro::after{content:"";position:absolute;right:3vw;top:18%;width:110px;height:110px;border-radius:50%;background:repeating-conic-gradient(#3157d5 0 7deg,#fffaf0 7deg 14deg);opacity:.13}

.textile-material-v2{background:#17141f;min-height:680px}
.textile-material-v2 .material-photo{inset:9% 7% 9% 49%;background:#3157d5;color:#fff;border:0;box-shadow:-18px 18px 0 #f36c58;transform:none}
.material-weave-board{position:absolute;left:6%;bottom:7%;width:36%;height:34%;display:grid;grid-template-columns:repeat(5,1fr);gap:7px;opacity:.96}
.material-weave-board span{display:block;border-radius:2px;background:repeating-linear-gradient(90deg,rgba(255,255,255,.32) 0 1px,transparent 1px 5px)}
.material-weave-board span:nth-child(1){background-color:#3157d5}.material-weave-board span:nth-child(2){background-color:#f36c58}.material-weave-board span:nth-child(3){background-color:#f2cc42}.material-weave-board span:nth-child(4){background-color:#3aa88b}.material-weave-board span:nth-child(5){background-color:#7657bb}
.textile-material-v2 .material-band-copy{padding-right:58%;position:relative;z-index:2}
.textile-material-v2 .material-band-copy p{color:#f2cc42}.textile-material-v2 .material-band-copy small{display:block;margin-top:28px;max-width:430px;color:rgba(255,255,255,.65);font-size:12px;line-height:2}

.textile-business-grid-v2{gap:20px}
.textile-business-grid-v2 .textile-business-card{border:0;box-shadow:0 12px 32px rgba(23,20,31,.06);overflow:hidden}
.textile-card-coral{background:#f36c58}.textile-card-blue{background:#3157d5;color:#fff!important}.textile-card-yellow{background:#f2cc42}
.textile-card-blue .textile-card-en,.textile-card-blue>span,.textile-card-blue p{color:rgba(255,255,255,.82)}
.textile-card-blue h3{color:#fff}.textile-card-blue .business-photo{color:#17141f;background:#dbe3ff}
.textile-business-grid-v2 .business-photo{border:0;background-image:linear-gradient(90deg,rgba(23,20,31,.06) 0 1px,transparent 1px 10px),linear-gradient(0deg,rgba(23,20,31,.06) 0 1px,transparent 1px 10px)}

.textile-material-library{padding:150px 0;background:#f2efe8;position:relative;overflow:hidden}
.textile-material-library::before{content:"TEXTILE";position:absolute;right:-.03em;top:-.15em;font-family:Arial,sans-serif;font-size:min(25vw,320px);font-weight:900;line-height:1;color:rgba(49,87,213,.04);letter-spacing:-.06em;pointer-events:none}
.material-library-head{display:grid;grid-template-columns:1fr .78fr;gap:80px;align-items:end}.material-library-head h2{margin:0;font-family:"Shippori Mincho",serif;font-size:clamp(38px,4.7vw,62px);font-weight:500;line-height:1.45}.material-library-head>p{margin:0;color:#66616d;line-height:2}
.fabric-swatches{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:72px}.swatch{background:#fff;padding:14px 14px 22px;box-shadow:0 13px 30px rgba(23,20,31,.07);transform:rotate(-.5deg)}.swatch:nth-child(even){transform:rotate(.7deg)}
.swatch-photo{height:230px;border:0;margin-bottom:19px}.swatch strong{display:block;font-size:11px;letter-spacing:.14em}.swatch span{display:block;margin-top:4px;color:#6d6871;font-size:12px}
.swatch-a .swatch-photo{background-color:#d6a879}.swatch-b .swatch-photo{background-color:#5a8fa7}.swatch-c .swatch-photo{background-color:#db5a70}.swatch-d .swatch-photo{background-color:#82c7be}.swatch-e .swatch-photo{background-color:#6c537e}.swatch-f .swatch-photo{background-color:#d0a83b}
.swatch-photo::before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(25deg,rgba(255,255,255,.18) 0 2px,transparent 2px 9px),repeating-linear-gradient(95deg,rgba(23,20,31,.07) 0 1px,transparent 1px 8px)}
.material-library-note{margin:28px 0 0;color:#88828a;font-size:11px}

.textile-use-grid-v2>article{position:relative;overflow:hidden}.stitch-line{position:absolute;left:28px;right:28px;bottom:24px;border-top:2px dashed currentColor;opacity:.35}.stitch-line::after{content:"";position:absolute;right:-3px;top:-5px;width:8px;height:8px;border:2px solid currentColor;border-radius:50%;background:transparent}
.textile-uses{background:#7657bb}.textile-use-grid-v2 article:nth-child(2){background:#f36c58}.textile-use-grid-v2 article:nth-child(3){background:#f2cc42}.textile-use-grid-v2 article:nth-child(4){background:#3aa88b}

.textile-strength{position:relative;background:#17141f;overflow:hidden}.textile-strength::after{content:"";position:absolute;right:-90px;bottom:-120px;width:410px;height:410px;border:42px solid #3157d5;border-radius:50%;opacity:.25}.textile-section-head-light .textile-label{color:#f2cc42}.strength-list>li>span{color:#f36c58}.strength-list li:nth-child(2)>span{color:#f2cc42}.strength-list li:nth-child(3)>span{color:#3aa88b}
.textile-process-grid article{position:relative;overflow:hidden}.textile-process-grid article::after{content:"";position:absolute;width:70px;height:70px;right:-20px;bottom:-20px;border:1px dashed rgba(23,20,31,.18);border-radius:50%}
.textile-numbers{background:#3157d5}.textile-number-grid article:nth-child(2){background:#3f66dc}.textile-number-grid article:nth-child(3){background:#7657bb}
.textile-contact{background:#f36c58}.textile-contact .textile-label{color:#17141f}.textile-contact .textile-button{border-bottom-color:#17141f}

@media(max-width:980px){
  .textile-hero-v2 .textile-hero-photo{right:3vw;width:43vw;height:58%;top:22%}
  .material-weave-board{display:none}.textile-material-v2 .material-photo{inset:48% 7% 7% 20%}.textile-material-v2 .material-band-copy{padding:70px 0 350px}
  .material-library-head{grid-template-columns:1fr;gap:28px}.fabric-swatches{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:680px){
  .textile-hero-v2{min-height:910px;background:linear-gradient(180deg,#fff7df 0 61%,#3157d5 61% 100%)}
  .textile-hero-v2 .textile-hero-photo{top:auto;right:20px;left:20px;bottom:70px;width:auto;height:260px;box-shadow:11px 11px 0 #f2cc42;clip-path:none}
  .hero-thread{display:none}.hero-swatch-strip{height:12px}
  .textile-hero-v2 h1{font-size:min(10.2vw,44px);line-height:1.42}.textile-hero-v2 h1 .heading-line{white-space:nowrap}
  .textile-material-v2{min-height:690px}.textile-material-v2 .material-photo{inset:auto 20px 30px 20px;height:270px;box-shadow:10px 10px 0 #f36c58}.textile-material-v2 .material-band-copy{padding:70px 0 350px}
  .textile-material-v2 .material-band-copy strong{font-size:min(8vw,35px)}
  .fabric-swatches{grid-template-columns:1fr;gap:18px;margin-top:45px}.swatch{transform:none!important}.swatch-photo{height:210px}
  .textile-material-library{padding:95px 0}.material-library-head h2{font-size:min(8.6vw,38px);line-height:1.55}
}

/* =========================================================
   v1.0.30 textile palette refinement
   Natural textile tone: ecru / wool gray / charcoal / camel / navy,
   with restrained terracotta accents. Fabric texture remains the hero.
   ========================================================= */
.textile-demo-page{
  --td-ink:#24221f;
  --td-paper:#f4f1e9;
  --td-ecru:#ede7db;
  --td-oat:#d8cfbf;
  --td-wool:#b7afa3;
  --td-camel:#a88761;
  --td-charcoal:#343330;
  --td-navy:#384552;
  --td-accent:#a64f3c;
  --td-line:rgba(36,34,31,.16);
  background:var(--td-paper);
  color:var(--td-ink);
}
.textile-hero-v2{
  background:
    repeating-linear-gradient(0deg,rgba(45,42,37,.025) 0 1px,transparent 1px 8px),
    repeating-linear-gradient(90deg,rgba(45,42,37,.022) 0 1px,transparent 1px 9px),
    linear-gradient(116deg,#f5f1e8 0 58%,#d8cfbf 58% 100%);
}
.textile-hero-v2::before{
  opacity:.12;
  background:repeating-linear-gradient(90deg,transparent 0 7px,rgba(36,34,31,.15) 7px 8px);
}
.textile-hero-v2 .textile-hero-photo{
  background:
    repeating-linear-gradient(25deg,rgba(255,255,255,.16) 0 2px,transparent 2px 11px),
    repeating-linear-gradient(96deg,rgba(44,42,38,.08) 0 1px,transparent 1px 8px),
    #9b8d7a;
  color:#f7f3ea;
  box-shadow:20px 20px 0 #4d5860;
}
.hero-thread-a{color:#9f8d73;opacity:.34}
.hero-thread-b{color:#a64f3c;opacity:.34}
.hero-swatch-strip span:nth-child(1){background:#e7dfd0}
.hero-swatch-strip span:nth-child(2){background:#c9bdab}
.hero-swatch-strip span:nth-child(3){background:#9a8a77}
.hero-swatch-strip span:nth-child(4){background:#5a5a55}
.hero-swatch-strip span:nth-child(5){background:#384552}
.hero-swatch-strip span:nth-child(6){background:#a64f3c}
.textile-hero-v2 h1 em{color:#7c6650}
.textile-hero-v2 .textile-eyebrow,.textile-label{color:#756b5f}
.textile-button{border-bottom-color:#4d4943}

.mini-yarn-mark i:nth-child(1){background:#a88761}
.mini-yarn-mark i:nth-child(2){background:#384552}
.mini-yarn-mark i:nth-child(3){background:#c6b8a5}
.textile-intro{background:#f6f3ec}
.textile-intro::after{
  background:repeating-conic-gradient(#9c8c77 0 7deg,#f6f3ec 7deg 14deg);
  opacity:.09;
}

.textile-material-v2{background:#2f2f2c}
.textile-material-v2 .material-photo{
  background:
    repeating-linear-gradient(28deg,rgba(255,255,255,.12) 0 2px,transparent 2px 9px),
    repeating-linear-gradient(92deg,rgba(0,0,0,.09) 0 1px,transparent 1px 8px),
    #8d8273;
  color:#f4efe6;
  box-shadow:-18px 18px 0 #a88761;
}
.material-weave-board span:nth-child(1){background-color:#ddd3c3}
.material-weave-board span:nth-child(2){background-color:#bba990}
.material-weave-board span:nth-child(3){background-color:#8b8174}
.material-weave-board span:nth-child(4){background-color:#555854}
.material-weave-board span:nth-child(5){background-color:#384552}
.textile-material-v2 .material-band-copy p{color:#cdb99f}

.textile-business-grid-v2 .textile-business-card{
  color:#2d2a26!important;
  box-shadow:0 12px 32px rgba(36,34,31,.045);
}
.textile-card-coral{background:#ddd3c5}
.textile-card-blue{background:#4d5963;color:#f5f1e9!important}
.textile-card-yellow{background:#c7b495}
.textile-card-blue .textile-card-en,.textile-card-blue>span,.textile-card-blue p{color:rgba(245,241,233,.78)}
.textile-card-blue h3{color:#fff}
.textile-card-blue .business-photo{color:#34312d;background:#d5d0c7}
.textile-business-grid-v2 .business-photo{
  background-color:#b9ae9e;
  background-image:
    repeating-linear-gradient(27deg,rgba(255,255,255,.17) 0 2px,transparent 2px 10px),
    repeating-linear-gradient(93deg,rgba(45,42,37,.08) 0 1px,transparent 1px 8px);
}
.textile-business-grid-v2 article:nth-child(2) .business-photo{background-color:#a5aaab}
.textile-business-grid-v2 article:nth-child(3) .business-photo{background-color:#aa9577}

.textile-material-library{background:#e9e4db}
.textile-material-library::before{color:rgba(55,54,50,.035)}
.material-library-head>p{color:#68635c}
.swatch{background:#f8f5ef;box-shadow:0 13px 30px rgba(36,34,31,.055)}
.swatch-photo{
  background-image:
    repeating-linear-gradient(25deg,rgba(255,255,255,.18) 0 2px,transparent 2px 9px),
    repeating-linear-gradient(95deg,rgba(36,34,31,.07) 0 1px,transparent 1px 8px)!important;
}
.swatch-a .swatch-photo{background-color:#d7ccb9}
.swatch-b .swatch-photo{background-color:#aaa79f}
.swatch-c .swatch-photo{background-color:#6c6d69}
.swatch-d .swatch-photo{background-color:#b89f7b}
.swatch-e .swatch-photo{background-color:#46515a}
.swatch-f .swatch-photo{background-color:#9b695c}

.textile-uses{background:#45443f}
.textile-use-grid-v2 article:nth-child(2){background:#d8cfbf;color:#2c2925}
.textile-use-grid-v2 article:nth-child(3){background:#a98d69;color:#24211d}
.textile-use-grid-v2 article:nth-child(4){background:#53606a;color:#f5f1e9}

.textile-strength{background:#2a2a28}
.textile-strength::after{border-color:#766b5f;opacity:.16}
.textile-section-head-light .textile-label{color:#c9b89f}
.strength-list>li>span,.strength-list li:nth-child(2)>span,.strength-list li:nth-child(3)>span{color:#b08e67}

.textile-numbers{background:#4c5357}
.textile-number-grid article:nth-child(2){background:#5c5a55}
.textile-number-grid article:nth-child(3){background:#765f50}
.textile-contact{background:#d8cdbc;color:#27241f}
.textile-contact .textile-label{color:#765f50}
.textile-contact .textile-button{border-bottom-color:#4e4942}

/* Keep the one restrained accent for calls to attention. */
.textile-contact-link{border-color:#a64f3c;color:#8f4435}
.textile-contact-link:hover{background:#a64f3c;color:#fff}

@media(max-width:680px){
  .textile-hero-v2{background:linear-gradient(180deg,#f5f1e8 0 61%,#c6bcad 61% 100%)}
  .textile-hero-v2 .textile-hero-photo{box-shadow:11px 11px 0 #4d5860}
  .textile-material-v2 .material-photo{box-shadow:10px 10px 0 #a88761}
}

/* v1.0.31 / Electrical demo card: separate visual language from NUNOHA */
.demo-gallery-heading-second{margin-top:110px}
.demo-showcase-card-electrical{background:#f4f7fa}
.demo-electrical-visual{background:#0a1b2e}
.demo-electric-grid{position:absolute;inset:-10%;background:linear-gradient(115deg,transparent 0 22%,rgba(58,169,230,.12) 22% 23%,transparent 23% 45%,rgba(255,255,255,.06) 45% 46%,transparent 46%),repeating-linear-gradient(0deg,rgba(255,255,255,.04) 0 1px,transparent 1px 38px),repeating-linear-gradient(90deg,rgba(255,255,255,.04) 0 1px,transparent 1px 38px);transform:skewY(-5deg)}
.demo-electrical-screen{background:rgba(7,20,36,.94);color:#fff;box-shadow:0 28px 70px rgba(0,0,0,.28)}
.demo-electrical-screen .demo-screen-brand{color:#64bdf0}
.demo-electrical-screen strong{font-family:"Noto Sans JP",sans-serif;font-weight:800;letter-spacing:-.04em}
.demo-electrical-screen small{color:#86bfe2}
@media(max-width:720px){.demo-gallery-heading-second{margin-top:76px}}

/* v1.0.34 / four-pattern demo gallery */
.demo-four-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;margin-top:54px}.demo-four-card{display:flex;flex-direction:column;min-width:0;border:1px solid rgba(20,20,20,.14);background:#fff;transition:transform .35s ease,box-shadow .35s ease}.demo-four-card:hover{transform:translateY(-7px);box-shadow:0 24px 65px rgba(0,0,0,.12)}.demo-four-visual{position:relative;display:flex;flex-direction:column;justify-content:flex-end;min-height:370px;padding:38px;overflow:hidden}.demo-four-visual:before{content:"";position:absolute;inset:0;opacity:.7}.demo-four-visual>*{position:relative;z-index:1}.demo-four-visual>span{position:absolute;top:32px;left:36px;font-size:11px;letter-spacing:.28em}.demo-four-visual strong{font-family:"Shippori Mincho",serif;font-size:clamp(29px,3.3vw,48px);line-height:1.2}.demo-four-visual small{margin-top:12px;font-size:10px;letter-spacing:.22em}.demo-four-copy{display:flex;flex:1;flex-direction:column;padding:32px 34px 36px}.demo-four-copy>span{font-size:11px;font-weight:700;letter-spacing:.14em;color:#9b7915}.demo-four-copy h3{margin:15px 0 12px;font-family:"Shippori Mincho",serif;font-size:25px;line-height:1.55}.demo-four-copy p{margin:0 0 24px;color:#696969;font-size:14px;line-height:1.9}.demo-four-copy b{margin-top:auto;font-size:13px;letter-spacing:.08em}.demo-four-textile .demo-four-visual{color:#f4f0e6;background:linear-gradient(135deg,#3b463d,#9b8d72)}.demo-four-textile .demo-four-visual:before{background:repeating-linear-gradient(118deg,transparent 0 28px,rgba(255,255,255,.08) 29px 30px)}.demo-four-electrical .demo-four-visual{color:#fff;background:linear-gradient(145deg,#06182d,#0a5594)}.demo-four-electrical .demo-four-visual:before{background:linear-gradient(90deg,transparent 49%,rgba(77,183,255,.28) 50%,transparent 51%),linear-gradient(0deg,transparent 49%,rgba(77,183,255,.16) 50%,transparent 51%);background-size:52px 52px}.demo-four-renovation .demo-four-visual{color:#172017;background:linear-gradient(135deg,#d9d0b9,#f3eee3)}.demo-four-renovation .demo-four-visual:before{background:linear-gradient(115deg,transparent 0 55%,rgba(176,83,42,.82) 55% 68%,transparent 68%)}.demo-four-salon .demo-four-visual{color:#362a2c;background:linear-gradient(140deg,#f0dfd7,#d9c1b9)}.demo-four-salon .demo-four-visual:before{background:radial-gradient(circle at 78% 25%,rgba(255,255,255,.85) 0 16%,transparent 17%),linear-gradient(105deg,transparent 48%,rgba(111,72,75,.17) 49% 50%,transparent 51%)}.demo-four-note{margin:28px 0 0;color:#777;font-size:12px;line-height:1.8}.demo-placeholder-hero{min-height:70vh;display:flex;align-items:center;padding:170px 0 100px}.demo-placeholder-hero h1{font-family:"Shippori Mincho",serif;font-size:clamp(38px,6vw,70px);margin:12px 0 28px}.demo-placeholder-hero p{max-width:680px;line-height:2;color:#aaa;margin-bottom:36px}@media(max-width:800px){.demo-four-grid{grid-template-columns:1fr}.demo-four-visual{min-height:300px}.demo-four-copy{padding:28px 25px 30px}}

/* =========================================================
   v1.0.43 mobile polish — NUNOHA textile demo
   Keep editorial composition while preventing headline overflow,
   cramped cards and awkward mid-mobile wrapping.
   ========================================================= */
@media(max-width:680px){
  .textile-shell{width:min(calc(100% - 36px),1240px)}
  .textile-header{padding:0 18px}
  .textile-brand strong{font-size:20px}
  .textile-brand span{font-size:7px;letter-spacing:.22em}

  .textile-hero-v2{min-height:860px}
  .textile-hero-content{padding-top:140px}
  .textile-hero-v2 h1{font-size:clamp(27px,8vw,34px);line-height:1.55;letter-spacing:0}
  .textile-hero-content>p:not(.textile-eyebrow){font-size:13px;line-height:1.9;margin-top:24px}
  .textile-button{gap:28px;margin-top:28px}
  .textile-hero-v2 .textile-hero-photo{height:245px;bottom:58px}

  .textile-intro,.textile-business,.textile-strength,.textile-company{padding:82px 0}
  .textile-intro h2,.textile-section-head h2,.textile-company h2,.textile-contact h2,.use-title h2,
  .material-library-head h2{font-size:clamp(25px,7.1vw,31px);line-height:1.65;letter-spacing:0}
  .textile-large-copy{font-size:clamp(19px,5.6vw,23px);line-height:1.9}
  .textile-intro-copy>p:last-child{font-size:13px;line-height:2}

  .textile-material-v2{min-height:650px}
  .textile-material-v2 .material-band-copy{padding:58px 18px 330px;text-align:left;align-items:flex-start}
  .textile-material-v2 .material-band-copy strong{font-size:clamp(24px,7vw,30px);line-height:1.65}
  .textile-material-v2 .material-band-copy small{font-size:11px;line-height:1.9;margin-top:20px}
  .textile-material-v2 .material-photo{left:18px;right:18px;bottom:26px;height:255px}

  .textile-business-grid-v2{gap:14px;margin-top:38px}
  .textile-business-card{min-height:450px;padding:26px 24px 190px}
  .textile-business-card>span{font-size:40px}
  .textile-card-en{margin-top:30px}
  .textile-business-card h3{font-size:27px;margin-bottom:16px}
  .textile-business-card>p:last-of-type{font-size:13px;line-height:1.9}
  .business-photo{left:24px;right:24px;bottom:24px;height:140px}

  .textile-material-library{padding:82px 0}
  .fabric-swatches{grid-template-columns:1fr;gap:16px;margin-top:42px}
  .swatch{transform:none!important}
  .swatch-photo{height:190px}

  .textile-uses{padding:82px 0}
  .textile-use-grid>div,.textile-use-grid>article{min-height:220px;padding:24px}
  .textile-use-grid article strong{font-size:40px}

  .strength-list li{grid-template-columns:44px 1fr;gap:8px}
  .strength-list h3{font-size:21px;line-height:1.55}
  .strength-list p{font-size:12px;line-height:1.9}

  .textile-process{padding:82px 0}
  .textile-process-grid{margin-top:42px}
  .textile-process-grid article{min-height:220px;padding:26px 22px}
  .textile-process-grid span{margin-bottom:32px}

  .textile-company-table dd{font-size:13px;line-height:1.8}
  .textile-contact{padding:82px 0}
  .textile-button-disabled{gap:30px;padding:16px 18px}
}

@media(max-width:390px){
  .textile-hero-v2 h1{font-size:clamp(25px,7.7vw,30px)}
  .textile-intro h2,.textile-section-head h2,.textile-company h2,.textile-contact h2,.use-title h2,
  .material-library-head h2{font-size:clamp(23px,6.8vw,27px)}
  .textile-material-v2 .material-band-copy strong{font-size:24px}
}


/* =========================================================
   v1.0.44 mobile stability — NUNOHA
   Remove horizontal drift on iPhone/Safari and keep Japanese
   headings inside the viewport without arbitrary clipping.
   ========================================================= */
.textile-demo-page{
  width:100%;
  max-width:100%;
  overflow-x:hidden;
}
.textile-demo-page *{box-sizing:border-box;min-width:0}
.textile-demo-page img,
.textile-demo-page svg,
.textile-demo-page video{max-width:100%;height:auto}
.textile-demo-page .heading-line{display:block;max-width:100%}

@media(max-width:680px){
  .textile-demo-page{overflow-x:clip}
  .textile-shell{width:calc(100% - 36px);max-width:calc(100% - 36px);margin-left:auto;margin-right:auto}
  .textile-header{width:100%;max-width:100%;left:0;right:0}
  .textile-hero,
  .textile-intro,
  .textile-material-statement,
  .textile-business,
  .textile-material-library,
  .textile-uses,
  .textile-strength,
  .textile-process,
  .textile-numbers,
  .textile-company,
  .textile-contact,
  .textile-footer{width:100%;max-width:100%;overflow-x:hidden}

  /* Do not let a deliberately unbroken phrase make the page wider. */
  .textile-demo-page .heading-line{
    width:100%;
    max-width:100%;
    white-space:normal;
    word-break:keep-all;
    overflow-wrap:normal;
  }
  .textile-hero-v2 h1 .heading-line{
    white-space:nowrap;
    width:max-content;
    max-width:100%;
  }
  .textile-hero-v2 h1{
    max-width:100%;
    font-size:clamp(26px,7.4vw,32px);
  }
  .textile-section-head h2 .heading-line,
  .textile-intro h2 .heading-line,
  .textile-company h2 .heading-line,
  .textile-contact h2 .heading-line,
  .use-title h2 .heading-line,
  .material-library-head h2 .heading-line{
    font-size:inherit;
  }

  .textile-section-head{grid-template-columns:1fr;column-gap:0}
  .textile-section-head .textile-label,
  .textile-section-head h2,
  .textile-section-head>p:last-child{grid-column:1;max-width:100%}
  .textile-section-head h2{font-size:clamp(24px,6.4vw,29px)}
  .textile-section-head>p:last-child{margin-top:20px}

  .strength-list li{grid-template-columns:42px minmax(0,1fr)}
  .strength-list h3{font-size:clamp(19px,5.4vw,22px);word-break:keep-all;overflow-wrap:normal}
  .strength-list p{max-width:100%}

  .material-library-head{grid-template-columns:1fr;gap:24px}
  .fabric-swatches,.textile-business-grid-v2,.textile-process-grid,.textile-number-grid{max-width:100%}
  .textile-business-card,.swatch,.textile-process-grid article,.textile-number-grid article{max-width:100%}

  /* Decorative pieces may extend visually but must never extend layout width. */
  .hero-thread,.textile-intro::after,.textile-material-library::before,.textile-strength::after{pointer-events:none}
}

@media(max-width:390px){
  .textile-shell{width:calc(100% - 30px);max-width:calc(100% - 30px)}
  .textile-hero-v2 h1{font-size:clamp(24px,7vw,28px)}
  .textile-section-head h2{font-size:clamp(22px,6.2vw,26px)}
}
