
:root{
  --ink:#172033;
  --muted:#5d6472;
  --honey:#e5ad29;
  --honey2:#f4cd62;
  --paper:#fffdf8;
  --line:#efe5d2;
  --shadow:0 16px 38px rgba(31,43,72,.10);
  --soft:0 8px 22px rgba(31,43,72,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--ink);
  background:
    radial-gradient(circle at 8% 8%,rgba(244,205,98,.16),transparent 28%),
    radial-gradient(circle at 95% 20%,rgba(175,220,226,.24),transparent 31%),
    linear-gradient(180deg,#fff 0%,#fffdf7 48%,#fdf9ef 100%);
  font-family:"Hiragino Sans","Yu Gothic","YuGothic","Meiryo",system-ui,-apple-system,sans-serif;
  line-height:1.78;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.site{width:min(1180px,calc(100% - 36px));margin:0 auto}
.header{
  position:sticky;
  top:0;
  z-index:20;
  background:rgba(255,255,255,.90);
  backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(239,229,210,.8);
}
.header-inner{
  width:min(1180px,calc(100% - 32px));
  margin:auto;
  min-height:84px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.brand{display:flex;align-items:center;gap:13px;min-width:260px}
.brand img{width:54px;height:auto}
.brand-title{
  font-family:"Yu Mincho","Hiragino Mincho ProN",serif;
  font-size:25px;
  font-weight:800;
  line-height:1.15;
  display:inline-block;
}
.brand-sub{font-family:Georgia,serif;font-size:13px}
.nav{display:flex;align-items:center;gap:4px;flex-wrap:wrap;justify-content:flex-end}
.nav a{font-weight:800;font-size:14px;padding:10px 13px;border-radius:999px}
.nav a:hover,.nav a.active{background:rgba(229,173,41,.12);color:#9c6a00}
.breadcrumb{color:var(--muted);font-size:13px;margin:22px 0 0}
.breadcrumb a{color:#986f19;font-weight:800}
.hero{
  position:relative;
  display:grid;
  grid-template-columns:.92fr 1.08fr;
  gap:34px;
  align-items:center;
  padding:54px 0 34px;
}
.hero:before{
  content:"";
  position:absolute;
  inset:30px -22px 0;
  background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(255,252,244,.9));
  border:1px solid rgba(239,229,210,.75);
  border-radius:38px;
  box-shadow:var(--shadow);
  z-index:-1;
}
.eyebrow{color:#ba8420;font-family:Georgia,"Yu Mincho",serif;font-size:18px;margin:0 0 8px}
h1{
  font-family:"Yu Mincho","Hiragino Mincho ProN",serif;
  font-size:clamp(42px,6vw,78px);
  line-height:1.08;
  margin:0 0 20px;
}
.hero-lead{
  font-size:clamp(21px,2.5vw,30px);
  line-height:1.6;
  font-weight:900;
  margin:0 0 15px;
}
.hero-text{font-size:17px;color:#2c3342;margin:0 0 28px}
.btn-row{display:flex;gap:16px;flex-wrap:wrap}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:52px;
  padding:13px 24px;
  border-radius:14px;
  font-weight:900;
  border:1px solid rgba(229,173,41,.55);
  box-shadow:var(--soft);
}
.btn.primary{background:linear-gradient(135deg,var(--honey2),var(--honey));color:white}
.btn.ghost{background:rgba(255,255,255,.86);color:#865f10}
.hero-art img{
  width:100%;
  border-radius:34px;
  box-shadow:0 18px 40px rgba(64,82,88,.12);
  background:#fffaf2;
}
.section{padding:48px 0}
.section-head{text-align:center;margin:0 auto 26px;max-width:780px}
.section-head h2{
  font-family:"Yu Mincho","Hiragino Mincho ProN",serif;
  font-size:clamp(31px,4vw,46px);
  margin:0 0 8px;
}
.section-head p{color:var(--muted);margin:0}
.grid{display:grid;gap:18px}
.product-grid{grid-template-columns:repeat(3,1fr)}
.feature-grid{grid-template-columns:repeat(4,1fr)}
.scene-grid{grid-template-columns:repeat(3,1fr)}
.card{
  background:rgba(255,255,255,.92);
  border:1px solid rgba(239,229,210,.9);
  border-radius:22px;
  box-shadow:var(--soft);
  overflow:hidden;
}
.product-card{
  display:grid;
  grid-template-columns:132px 1fr;
  gap:18px;
  padding:18px;
  align-items:center;
  min-height:175px;
  transition:.22s ease;
}
.product-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.product-card img{width:132px;height:116px;object-fit:cover;border-radius:18px;background:#fff}
.product-card h3,.feature-card h3,.scene-card h3{margin:0 0 5px;line-height:1.35;font-size:22px}
.product-card p,.feature-card p,.scene-card p{margin:0;color:#3e4654}
.tag{color:#a77412;font-weight:900;font-size:12px;letter-spacing:.08em;text-transform:uppercase}
.feature-card{padding:16px 16px 22px;text-align:center}
.feature-card img{width:100%;height:150px;object-fit:cover;border-radius:17px;margin-bottom:11px;background:#fffaf0}
.scene-card{text-align:center;padding:14px 16px 22px}
.scene-card img{width:100%;height:176px;object-fit:cover;border-radius:18px;margin-bottom:12px;background:#fffaf0}
.info-list{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.info{
  padding:24px;
  background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(255,251,241,.88));
  border:1px solid rgba(239,229,210,.85);
  border-radius:24px;
  box-shadow:var(--soft);
}
.info h3{margin:0 0 8px;font-size:23px}
.info p{margin:0;color:#424a58}
.process-grid{grid-template-columns:repeat(3,1fr)}
.process-card{padding:18px}
.process-card img{width:100%;height:150px;object-fit:cover;border-radius:18px;margin-bottom:12px}
.cta-art{
  position:relative;
  overflow:hidden;
  min-height:245px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:38px;
  border-radius:28px;
  border:1px solid rgba(239,229,210,.92);
  box-shadow:var(--soft);
  background:#fffaf2;
}
.cta-art img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:0;
}
.cta-art::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(255,255,255,.18),rgba(255,255,255,.74),rgba(255,255,255,.18));
  z-index:1;
}
.cta-inner{
  position:relative;
  z-index:2;
  text-align:center;
  max-width:780px;
}
.cta-inner h2{
  font-family:"Yu Mincho","Hiragino Mincho ProN",serif;
  font-size:clamp(28px,4vw,44px);
  margin:0 0 16px;
}
.cta-inner .btn-row{justify-content:center}
.reference-link{margin-top:18px;text-align:right;font-size:13px;color:#8a681e}
.footer{margin-top:50px;padding:34px 0 44px;border-top:1px solid rgba(239,229,210,.9);color:#5e6571;font-size:14px}
.footer-inner{width:min(1180px,calc(100% - 32px));margin:auto;display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap}
@media(max-width:980px){
  .header-inner{align-items:flex-start;flex-direction:column;padding:16px 0}
  .hero{grid-template-columns:1fr}
  .product-grid{grid-template-columns:1fr 1fr}
  .feature-grid{grid-template-columns:1fr 1fr}
  .info-list{grid-template-columns:1fr}
  .process-grid{grid-template-columns:1fr}
}
@media(max-width:640px){
  .site{width:min(100% - 22px,1180px)}
  .brand{min-width:0}
  .brand-title{font-size:20px}
  .nav a{font-size:12px;padding:8px 9px}
  .hero:before{inset:12px -7px 0;border-radius:24px}
  .product-grid,.feature-grid,.scene-grid{grid-template-columns:1fr}
  .product-card{grid-template-columns:112px 1fr;padding:14px}
  .product-card img{width:112px;height:98px}
}


/* Kaleido Wall demo/manual links */
.demo-panel {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 18px;
  align-items: stretch;
}
.demo-card {
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(239,229,210,.9);
  border-radius: 24px;
  box-shadow: var(--soft);
  padding: 24px;
}
.demo-card h3 {
  margin: 0 0 8px;
  font-size: 24px;
}
.demo-card p {
  margin: 0 0 16px;
  color: #3e4654;
}
.manual-link-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
}
.manual-link-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.manual-link-card .tag {
  margin-bottom: 8px;
}
.notice-small {
  color: #806000;
  background: #fff8e6;
  border-left: 5px solid #f0b429;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
}
@media(max-width:980px){
  .demo-panel { grid-template-columns: 1fr; }
  .manual-link-grid { grid-template-columns: 1fr; }
}


/* Kaleido SiteTrace demo/manual links */
.sitetrace-demo-panel {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 18px;
  align-items: stretch;
}
.sitetrace-demo-card {
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(239,229,210,.9);
  border-radius: 24px;
  box-shadow: var(--soft);
  padding: 24px;
}
.sitetrace-demo-card h3 {
  margin: 0 0 8px;
  font-size: 24px;
}
.sitetrace-demo-card p {
  margin: 0 0 16px;
  color: #3e4654;
}
.sitetrace-manual-embed {
  width: 100%;
  min-height: 680px;
  border: 1px solid rgba(239,229,210,.9);
  border-radius: 18px;
  box-shadow: var(--soft);
  background: #fff;
}
@media(max-width:980px){
  .sitetrace-demo-panel { grid-template-columns: 1fr; }
  .sitetrace-manual-embed { min-height: 520px; }
}


/* Manual/screenshot cards for Image AI Kit */
.manual-image-grid{grid-template-columns:repeat(3,1fr)}
.manual-image-card{padding:16px;display:flex;flex-direction:column;gap:14px}
.manual-image-card img{width:100%;height:260px;object-fit:cover;object-position:top;border-radius:18px;background:#fffaf0;border:1px solid rgba(239,229,210,.9)}
.manual-image-card h3{font-size:22px;margin:0 0 6px;line-height:1.35}
.manual-image-card p{margin:0 0 14px;color:#3e4654}
.manual-image-card .btn{min-height:44px;padding:10px 16px;font-size:14px;box-shadow:none}
.text-link{display:inline-block;margin-top:10px;color:#986f19;font-weight:900;text-decoration:underline;text-underline-offset:3px}
@media(max-width:980px){.manual-image-grid{grid-template-columns:1fr}.manual-image-card img{height:auto;max-height:420px}}

/* Responsive embedded video blocks */
.video-section{padding:38px 0 14px}
.video-shell{background:rgba(255,255,255,.94);border:1px solid rgba(239,229,210,.9);border-radius:30px;box-shadow:var(--shadow);padding:24px;overflow:hidden}
.video-shell h2{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:clamp(28px,3.6vw,42px);margin:0 0 16px;text-align:center}
.video-frame{position:relative;width:100%;aspect-ratio:16/9;border-radius:24px;overflow:hidden;background:#172033}
.video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.video-note{margin:12px 4px 0;color:var(--muted);font-size:13px;text-align:center}
.series-note{max-width:900px;margin:18px auto 0;color:var(--muted);text-align:center}
.capture-video-grid{display:flex;gap:22px;flex-wrap:wrap;justify-content:center;align-items:flex-start}
.capture-video-frame{width:640px;max-width:100%;height:480px;border-radius:22px;overflow:hidden;background:#172033;box-shadow:var(--shadow)}
.capture-video-frame iframe{width:100%;height:100%;border:0;display:block}
@media(max-width:720px){.capture-video-frame{height:auto;aspect-ratio:4/3}.video-shell{padding:16px}.video-section{padding:26px 0 8px}}


/* 追加: 準備中カード */
.product-card-soon{
  position:relative;
  border-style:dashed;
  background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(255,250,238,.9));
}
.product-card-soon .tag{
  display:inline-flex;
  align-items:center;
  gap:.35em;
  padding:3px 8px;
  border-radius:999px;
  background:rgba(229,173,41,.16);
  color:#8a5d00;
}
.product-card-soon .tag::before{content:"●";font-size:8px;}
