/* zhongyi.jp site template (shared)
   - Full-width hero (100vw) + constrained content
   - Static pages
*/

:root{
  --bg:#0b0f12;
  --text:#e9eef2;
  --muted:#b7c2cc;
  --line:rgba(255,255,255,.10);
  --radius:18px;
  --shadow: 0 12px 32px rgba(0,0,0,.35);
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family: system-ui, -apple-system, "Hiragino Kaku Gothic ProN",
               "Noto Sans JP", "Yu Gothic", Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background: var(--bg);
  line-height:1.65;
}

a{color:inherit}
.wrap{width:min(1100px, 92vw); margin-inline:auto;}

/* ===== HERO (no adjustment / no overlay effect) ===== */

.hero{
  position:relative;
  width:100vw;
  margin-left:calc(50% - 50vw);
  aspect-ratio: 21 / 9;
  min-height:320px;
  max-height:620px;
  overflow:hidden;
  border-bottom:1px solid var(--line);
}

.hero__img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
}

.hero__overlay{
  position:absolute;
  inset:0;
  background:none;
  display:flex;
  align-items:flex-end;
}

.hero__content{padding-bottom:1.2rem;}
.hero__kicker{
  margin:0 0 .35rem 0;
  color:var(--muted);
  letter-spacing:.08em;
  font-size:.95rem;
}
.hero__title{
  margin:0 0 .45rem 0;
  font-size:clamp(1.6rem, 3.2vw, 2.7rem);
  line-height:1.15;
}
.hero__sub{
  margin:0 0 1rem 0;
  color:rgba(233,238,242,.9);
  max-width:52ch;
}
.hero__cta{display:flex;gap:.7rem;flex-wrap:wrap;}

/* ===== Sections ===== */

.section{padding:2.1rem 0;}
.section__title{margin:0 0 .6rem 0;font-size:1.45rem;}
.section__lead{margin:0 0 1.3rem 0;color:var(--muted);}

/* ===== Strength cards ===== */

.strengths{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:1rem;
}

.strength{
  background:rgba(255,255,255,.04);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:1.1rem 1.15rem;
  box-shadow:var(--shadow);
}

.strength__title{margin:0 0 .45rem 0;font-size:1.08rem;}
.strength__desc{margin:0 0 .9rem 0;color:rgba(233,238,242,.92);}

.meta{
  margin:.35rem 0 0 0;
  color:var(--muted);
  border-top:1px dashed rgba(255,255,255,.12);
  padding-top:.55rem;
}
.meta__label{
  color:rgba(233,238,242,.92);
  font-weight:650;
  margin-right:.35rem;
}

/* ===== Legal ===== */

.legal{
  background:rgba(255,255,255,.03);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:1.1rem 1.15rem;
  box-shadow:var(--shadow);
}

.legal h3{margin:1.2rem 0 .4rem 0;font-size:1.02rem;}
.legal p, .legal li{color:rgba(233,238,242,.90);}
.legal ul{margin:.3rem 0 0 1.2rem;}
.legal small{color:var(--muted);}

/* ===== CTA ===== */

.section--cta{padding-top:1rem;padding-bottom:2.4rem;}

.card{
  background:linear-gradient(
    180deg,
    rgba(110,231,255,.10),
    rgba(167,139,250,.08)
  );
  border:1px solid rgba(255,255,255,.14);
  border-radius:calc(var(--radius) + 6px);
  padding:1.2rem 1.2rem 1rem;
  box-shadow:var(--shadow);
}

.card__title{margin:0 0 .35rem 0;font-size:1.25rem;}
.card__text{margin:0 0 1rem 0;color:rgba(233,238,242,.9);}
.card__actions{display:flex;gap:.7rem;flex-wrap:wrap;}

/* ===== Buttons ===== */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.68rem 1rem;
  border-radius:999px;
  text-decoration:none;
  font-weight:700;
  border:1px solid rgba(255,255,255,.20);
  transition:transform .08s ease, opacity .12s ease, background .12s ease;
  user-select:none;
}
.btn:active{transform:translateY(1px);}

.btn--primary{
  background:linear-gradient(
    90deg,
    rgba(110,231,255,.95),
    rgba(167,139,250,.95)
  );
  color:#081018;
  border-color:transparent;
}

.btn--ghost{
  background:rgba(255,255,255,.06);
  color:var(--text);
}

.btn:hover{opacity:.92;}

/* ===== Footer ===== */

.footer{
  border-top:1px solid var(--line);
  padding:2rem 0 3rem;
  text-align:center;
  color:rgba(233,238,242,.65);
}

.footer__nav{margin-bottom:.6rem;}
.footer__nav a{
  color:rgba(233,238,242,.75);
  text-decoration:none;
  font-size:.92rem;
}
.footer__nav a:hover{color:#fff;}
.sep{margin:0 .35rem;color:rgba(233,238,242,.55);}

/* ===== Responsive ===== */

@media (max-width:640px){
  .hero{aspect-ratio:16/9;min-height:260px;}
  .hero__sub{max-width:40ch;}
  .strength,.legal{padding:1rem;}
}

/* ===== SPA view switch ===== */

.view{display:none;}
.view.view--active{display:block;}
