/* EcoWave Pro — site styles */
:root{
  --bg:#FAF8F5;
  --green:#2D5A3D;
  --green-dark:#234A31;
  --sage:#A8BFAD;
  --sage-light:#E3EBE4;
  --text:#3A3A3A;
  --text-soft:#6B6B6B;
  --line:#DDD6CC;
  --white:#FFFFFF;
  --radius:12px;
  --shadow:0 2px 10px rgba(45,90,61,.08);
  --shadow-lg:0 6px 24px rgba(45,90,61,.12);
}
*{box-sizing:border-box;margin:0;padding:0}
html{font-size:17px;-webkit-text-size-adjust:100%}
html[data-lang="jp"] .lang-en{display:none}
html[data-lang="en"] .lang-jp{display:none}
.lang-b{display:block}
body{
  font-family:"Noto Sans JP","Inter",sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.75;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--green);text-decoration:none}
a:hover{text-decoration:underline}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{
  outline:3px solid var(--sage);outline-offset:2px;
}
.container{max-width:1140px;margin:0 auto;padding:0 20px}
h1,h2,h3,h4{line-height:1.35;color:var(--green-dark);font-weight:700}
h1{font-size:2rem;margin-bottom:1rem}
h2{font-size:1.6rem;margin-bottom:1rem}
h3{font-size:1.2rem;margin-bottom:.6rem}
p{margin-bottom:1rem}
ul,ol{margin:0 0 1rem 1.4rem}
li{margin-bottom:.35rem}
section{padding:3rem 0}
.section-alt{background:var(--sage-light)}
.section-head{text-align:center;max-width:720px;margin:0 auto 2.2rem}
.section-head p{color:var(--text-soft);margin-bottom:0}
.lead{font-size:1.1rem;color:var(--text-soft)}
.small{font-size:.85rem;color:var(--text-soft)}
.muted{color:var(--text-soft)}

/* Header */
.site-header{
  position:sticky;top:0;z-index:50;
  background:var(--bg);border-bottom:1px solid var(--line);
}
.header-inner{display:flex;align-items:center;gap:1rem;padding:.7rem 20px;flex-wrap:wrap}
.brand{display:flex;align-items:center;gap:.55rem;text-decoration:none}
.logo-svg{width:42px;height:42px;flex:none}
.brand-name{font-weight:700;color:var(--green-dark);font-size:1.15rem;line-height:1.2;display:flex;flex-direction:column}
.brand-sub{font-family:"Inter",sans-serif;font-size:.72rem;font-weight:500;color:var(--text-soft);letter-spacing:.06em}
.main-nav{margin-left:auto}
.main-nav ul{display:flex;list-style:none;margin:0;gap:.2rem;flex-wrap:wrap}
.main-nav a{
  display:block;padding:.5rem .8rem;border-radius:8px;color:var(--text);
  font-weight:500;font-size:.95rem;text-decoration:none;
}
.main-nav a:hover{background:var(--sage-light)}
.main-nav a.active{color:var(--green);background:var(--sage-light)}
.header-actions{display:flex;align-items:center;gap:.9rem}
.lang-switch{display:flex;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:var(--white)}
.lang-switch button{
  border:0;background:transparent;padding:.35rem .7rem;font-size:.85rem;font-weight:600;
  cursor:pointer;color:var(--text-soft);min-height:40px;min-width:44px;
}
.lang-switch button.on{background:var(--green);color:#fff}
.cart-link{position:relative;display:flex;align-items:center;padding:.4rem}
.cart-count{
  position:absolute;top:-2px;right:-8px;background:var(--green);color:#fff;
  font-size:.7rem;font-weight:700;min-width:20px;height:20px;border-radius:10px;
  display:flex;align-items:center;justify-content:center;padding:0 5px;
}
.nav-toggle{display:none;background:none;border:1px solid var(--line);border-radius:8px;width:46px;height:46px;cursor:pointer;flex-direction:column;align-items:center;justify-content:center;gap:5px}
.nav-toggle span{display:block;width:22px;height:2px;background:var(--green-dark)}

/* Buttons */
.btn{
  display:inline-block;background:var(--green);color:#fff;border:0;border-radius:var(--radius);
  padding:.85rem 1.8rem;font-size:1rem;font-weight:600;font-family:inherit;
  cursor:pointer;text-decoration:none;min-height:48px;line-height:1.4;text-align:center;
}
.btn:hover{background:var(--green-dark);text-decoration:none}
.btn-outline{background:transparent;color:var(--green);border:2px solid var(--green)}
.btn-outline:hover{background:var(--sage-light)}
.btn-lg{padding:1rem 2.2rem;font-size:1.1rem}
.btn-block{width:100%}
.btn[disabled]{opacity:.55;cursor:not-allowed}

/* Hero */
.hero{padding:3.5rem 0}
.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:3rem;align-items:center}
.hero h1{font-size:2.4rem;margin-bottom:1.2rem}
.hero .lead{margin-bottom:1.8rem}
.hero-cta{display:flex;gap:1rem;flex-wrap:wrap}
.hero-img{border-radius:var(--radius);box-shadow:var(--shadow-lg);width:100%;height:420px;object-fit:cover}
.hero-badge{
  display:inline-block;background:var(--sage-light);color:var(--green-dark);
  border-radius:999px;padding:.3rem 1rem;font-size:.85rem;font-weight:600;margin-bottom:1rem;
}

/* Cards / grids */
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem}
.card{
  background:var(--white);border:1px solid var(--line);border-radius:var(--radius);
  box-shadow:var(--shadow);overflow:hidden;display:flex;flex-direction:column;
}
.card-body{padding:1.2rem;display:flex;flex-direction:column;gap:.5rem;flex:1}
.card-img{width:100%;height:200px;object-fit:cover}
.card h3{font-size:1.05rem;margin:0}
.price{font-size:1.2rem;font-weight:700;color:var(--green-dark)}
.price small{font-size:.8rem;font-weight:400;color:var(--text-soft)}
.tag{
  display:inline-block;background:var(--sage-light);color:var(--green-dark);
  font-size:.75rem;font-weight:600;border-radius:6px;padding:.1rem .55rem;margin-right:.3rem;
}

/* Carousel */
.carousel-wrap{position:relative;overflow:hidden}
.carousel{display:flex;gap:1.5rem;transition:transform .45s ease}
.carousel .card{flex:0 0 calc(25% - 1.2rem)}
.carousel-btn{
  position:absolute;top:40%;width:46px;height:46px;border-radius:50%;border:1px solid var(--line);
  background:var(--white);box-shadow:var(--shadow);cursor:pointer;font-size:1.2rem;color:var(--green);
}
.carousel-btn.prev{left:2px}
.carousel-btn.next{right:2px}

/* Stats */
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;text-align:center}
.stat-num{font-size:2.2rem;font-weight:700;color:var(--green)}
.stat-label{color:var(--text-soft)}

/* Testimonials */
.testimonial{padding:1.5rem}
.testimonial-head{display:flex;align-items:center;gap:1rem;margin-bottom:.8rem}
.testimonial-head img{width:60px;height:60px;border-radius:50%;object-fit:cover}
.testimonial-head .who{font-weight:700;color:var(--green-dark)}
.testimonial-head .meta{font-size:.85rem;color:var(--text-soft)}
.stars{color:#C89B3C;letter-spacing:2px}

/* Trust badges */
.trust-badges{display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem;text-align:center}
.trust-item{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:1.4rem 1rem}
.trust-item svg{margin:0 auto .6rem}

/* Banner */
.banner{
  background:var(--green);color:#fff;border-radius:var(--radius);
  padding:2.4rem;display:flex;align-items:center;gap:2rem;flex-wrap:wrap;
}
.banner h2{color:#fff;margin-bottom:.4rem}
.banner p{margin-bottom:0;color:#EAF2EC}
.banner .btn{background:#fff;color:var(--green)}
.banner .btn:hover{background:var(--sage-light)}
.banner-text{flex:1;min-width:260px}

/* Forms */
.form-card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:2rem}
.form-row{margin-bottom:1.2rem}
label{display:block;font-weight:600;margin-bottom:.35rem}
.req{color:#B4452F;font-size:.85rem;margin-left:.25rem}
input[type="text"],input[type="email"],input[type="tel"],select,textarea{
  width:100%;border:1px solid var(--line);border-radius:10px;padding:.8rem 1rem;
  font-size:1rem;font-family:inherit;background:#fff;color:var(--text);min-height:48px;
}
textarea{min-height:140px;resize:vertical}
.field-error{color:#B4452F;font-size:.85rem;margin-top:.3rem;display:none}
.field-error.show{display:block}
input.invalid,textarea.invalid,select.invalid{border-color:#B4452F}
.radio-group{display:flex;flex-direction:column;gap:.6rem}
.radio-item{
  display:flex;align-items:flex-start;gap:.6rem;border:1px solid var(--line);
  border-radius:10px;padding:.9rem 1rem;cursor:pointer;background:#fff;
}
.radio-item input{width:20px;height:20px;margin-top:.25rem;accent-color:var(--green)}
.form-success{
  background:var(--sage-light);border:1px solid var(--sage);border-radius:var(--radius);
  padding:1.6rem;text-align:center;
}
.form-success h3{margin-bottom:.4rem}

/* Filters */
.filters{display:flex;gap:.6rem;flex-wrap:wrap;margin-bottom:1.8rem}
.filter-btn{
  border:1px solid var(--line);background:var(--white);border-radius:999px;
  padding:.5rem 1.2rem;font-size:.95rem;font-weight:600;cursor:pointer;color:var(--text);min-height:44px;
}
.filter-btn.on{background:var(--green);color:#fff;border-color:var(--green)}

/* Tables */
.table-wrap{overflow-x:auto}
table.spec-table,table.data-table{width:100%;border-collapse:collapse;background:var(--white);margin-bottom:1.4rem}
.spec-table th,.spec-table td,.data-table th,.data-table td{
  border:1px solid var(--line);padding:.75rem 1rem;text-align:left;vertical-align:top;font-size:.95rem;
}
.spec-table th,.data-table th{background:var(--sage-light);color:var(--green-dark);width:32%;font-weight:600}

/* Product detail */
.pd-grid{display:grid;grid-template-columns:1fr 1fr;gap:2.5rem;align-items:start}
.pd-main-img{width:100%;height:400px;object-fit:cover;border-radius:var(--radius);box-shadow:var(--shadow)}
.pd-thumbs{display:flex;gap:.8rem;margin-top:.8rem}
.pd-thumbs img{width:96px;height:96px;object-fit:cover;border-radius:10px;border:2px solid transparent;cursor:pointer}
.pd-thumbs img.on{border-color:var(--green)}
.qty-row{display:flex;align-items:center;gap:1rem;margin:1.2rem 0}
.qty-ctrl{display:flex;align-items:center;border:1px solid var(--line);border-radius:10px;overflow:hidden}
.qty-ctrl button{width:48px;height:48px;border:0;background:#fff;font-size:1.2rem;cursor:pointer;color:var(--green)}
.qty-ctrl input{width:56px;text-align:center;border:0;font-size:1.05rem;min-height:48px}
.feature-list{list-style:none;margin-left:0}
.feature-list li{padding-left:1.6rem;position:relative;margin-bottom:.5rem}
.feature-list li::before{content:"";position:absolute;left:0;top:.62em;width:.6rem;height:.6rem;border-radius:50%;background:var(--sage)}

/* Cart */
.cart-row{display:grid;grid-template-columns:96px 1fr auto auto auto;gap:1rem;align-items:center;
  background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:1rem;margin-bottom:1rem}
.cart-row img{width:96px;height:96px;object-fit:cover;border-radius:10px}
.cart-summary{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:1.6rem}
.sum-row{display:flex;justify-content:space-between;padding:.45rem 0;border-bottom:1px dashed var(--line)}
.sum-row.total{border-bottom:0;font-size:1.25rem;font-weight:700;color:var(--green-dark);padding-top:.8rem}
.remove-btn{background:none;border:0;color:#B4452F;cursor:pointer;font-size:.9rem;text-decoration:underline;min-height:44px}
.ship-progress{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:1.2rem;margin-bottom:1.4rem}
.ship-bar{height:12px;background:var(--sage-light);border-radius:6px;overflow:hidden;margin-top:.6rem}
.ship-bar-fill{height:100%;background:var(--green);border-radius:6px;transition:width .4s}
.empty-state{text-align:center;padding:3rem 1rem;background:var(--white);border:1px solid var(--line);border-radius:var(--radius)}

/* FAQ */
details.faq-item{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);margin-bottom:.8rem;padding:0 1.4rem}
details.faq-item summary{
  cursor:pointer;font-weight:600;color:var(--green-dark);padding:1.1rem 0;font-size:1.02rem;list-style:none;position:relative;padding-right:2rem;
}
details.faq-item summary::after{content:"+";position:absolute;right:0;top:1rem;font-size:1.4rem;color:var(--green)}
details.faq-item[open] summary::after{content:"–"}
details.faq-item .faq-a{padding:0 0 1.2rem;color:var(--text)}

/* Steps */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;counter-reset:step}
.step{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:1.6rem;position:relative}
.step-num{
  width:44px;height:44px;border-radius:50%;background:var(--green);color:#fff;
  display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1.15rem;margin-bottom:.9rem;
}

/* Team */
.team-member{text-align:center;padding:1.5rem}
.team-member img{width:120px;height:120px;border-radius:50%;object-fit:cover;margin:0 auto 1rem}
.team-role{color:var(--text-soft);font-size:.9rem}

/* Notice box */
.notice{
  background:var(--sage-light);border-left:4px solid var(--green);border-radius:0 var(--radius) var(--radius) 0;
  padding:1.2rem 1.4rem;margin-bottom:1.4rem;
}

/* Map */
.map-frame{width:100%;height:380px;border:1px solid var(--line);border-radius:var(--radius)}

/* Footer */
.site-footer{background:var(--green-dark);color:#DCE8DF;margin-top:3rem}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.3fr;gap:2rem;padding:3rem 20px 2rem}
.site-footer h3{color:#fff;font-size:1rem;margin-bottom:.9rem}
.site-footer ul{list-style:none;margin:0}
.site-footer a{color:#DCE8DF}
.site-footer a:hover{color:#fff}
.site-footer p{font-size:.9rem;margin-bottom:.9rem}
.footer-brand .brand-name{color:#fff}
.footer-brand .brand-sub{color:#A8BFAD}
.footer-note{font-size:.8rem;color:#A8BFAD;border-top:1px solid rgba(255,255,255,.15);padding-top:.9rem}
.footer-bottom{border-top:1px solid rgba(255,255,255,.15);padding:1.1rem 0;text-align:center;font-size:.85rem}
.footer-bottom p{margin:0}

/* Cookie banner */
.cookie-banner{
  position:fixed;left:0;right:0;bottom:0;z-index:100;background:var(--white);
  border-top:1px solid var(--line);box-shadow:0 -4px 20px rgba(0,0,0,.08);
  padding:1rem 20px;display:flex;align-items:center;gap:1.4rem;flex-wrap:wrap;
}
.cookie-banner p{margin:0;flex:1;min-width:260px;font-size:.9rem}
.cookie-banner .btn,.cookie-banner button{flex:none}

/* Toast */
.toast{
  position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:200;
  background:var(--green-dark);color:#fff;border-radius:10px;padding:.9rem 1.6rem;
  box-shadow:var(--shadow-lg);opacity:0;pointer-events:none;transition:opacity .3s;font-size:.95rem;
}
.toast.show{opacity:1}

/* Breadcrumbs */
.crumbs{font-size:.85rem;color:var(--text-soft);padding:1rem 0 0}
.crumbs a{color:var(--text-soft)}

/* Page hero */
.page-hero{background:var(--sage-light);padding:2.6rem 0;margin-bottom:2.4rem}
.page-hero h1{margin-bottom:.4rem}
.page-hero p{margin-bottom:0;color:var(--text-soft);max-width:720px}

/* Responsive */
@media (max-width:960px){
  .hero-grid,.pd-grid{grid-template-columns:1fr}
  .grid-4{grid-template-columns:repeat(2,1fr)}
  .grid-3,.stats,.trust-badges,.steps{grid-template-columns:repeat(2,1fr)}
  .carousel .card{flex:0 0 calc(50% - .8rem)}
  .footer-grid{grid-template-columns:1fr 1fr}
  .hero-img{height:320px}
}
@media (max-width:640px){
  html{font-size:16px}
  .nav-toggle{display:flex}
  .main-nav{display:none;width:100%;order:5}
  .main-nav.open{display:block}
  .main-nav ul{flex-direction:column;gap:.2rem;padding:.6rem 0}
  .main-nav a{display:block;padding:.8rem}
  .header-inner{gap:.6rem}
  .grid-3,.grid-4,.stats,.trust-badges,.steps{grid-template-columns:1fr}
  .carousel .card{flex:0 0 82%}
  .footer-grid{grid-template-columns:1fr}
  .cart-row{grid-template-columns:72px 1fr;grid-auto-rows:auto}
  .cart-row img{width:72px;height:72px}
  .hero{padding:2rem 0}
  .hero h1{font-size:1.8rem}
  .form-card{padding:1.4rem}
  .carousel-btn{display:none}
  .spec-table th{width:40%}
}

/* News */
.news-section{padding:1.6rem 0 0}
.news-list{list-style:none;margin:0;border-top:1px solid var(--line)}
.news-list li{display:flex;gap:1.2rem;padding:.8rem .2rem;border-bottom:1px solid var(--line);margin:0;font-size:.95rem}
.news-list time{flex:none;color:var(--text-soft);font-family:"Inter",sans-serif;font-size:.88rem;padding-top:.15rem}
@media (max-width:640px){.news-list li{flex-direction:column;gap:.15rem}}
