/* =========================================================
   home.css — トップページ（index.html）専用
   すべて body.home 配下に限定。他ページの style.css には影響しない
   ========================================================= */
.home{
  --h-teal:#006D78;--h-teal-d:#0B4F57;--h-coral:#FF8750;--h-coral-d:#E2612A;
  --h-ink:#16353A;--h-muted:#4F6A6E;--h-cream:#FFF9F1;--h-mist:#F4F8F8;
  --h-line:rgba(0,109,120,.10);--h-shadow:0 16px 40px rgba(0,70,80,.10);
  --h-en:'Outfit','Noto Sans JP',sans-serif;
  color:var(--h-ink);background:#fff;overflow-x:hidden;
}
@supports (overflow:clip){.home{overflow-x:clip}}
.home main{overflow-x:clip}
.home .h-wrap{max-width:1200px;margin:0 auto;padding:0 28px}
.home .pc{display:inline}.home .sp{display:none}

/* ---------- header（トップのみ：折り返し防止） ---------- */
.home .logo,.home .nav a{white-space:nowrap}
.home .hd .logo{color:var(--h-teal-d)}
.home .hd .logo .dot{background:var(--h-teal)}
.home .nav .btn-accent{background:var(--h-coral-d)}
@media(max-width:1000px) and (min-width:901px){.home .nav{gap:16px}.home .nav a{font-size:13px}}
@media(max-width:900px){
  .home .navtog{display:flex}
  .home .nav{position:absolute;top:58px;right:14px;left:14px;flex-direction:column;align-items:stretch;background:#fff;border:1px solid var(--h-line);border-radius:16px;padding:14px;gap:14px;box-shadow:var(--h-shadow);display:none}
  .home .nav.open{display:flex}
  .home .nav .btn{text-align:center}
}

/* ---------- 共通パーツ ---------- */
.home .h-sec{padding:128px 0}
.home .h-mist{background:var(--h-mist)}
.home .h-cream{background:var(--h-cream)}
.home .h-eyebrow{display:inline-block;font-family:var(--h-en);font-size:13px;font-weight:700;letter-spacing:.2em;color:var(--h-coral-d);margin:0 0 14px}
.home .h-eyebrow.light{color:#FFC7A6}
.home .h-title{font-size:clamp(32px,4vw,52px);font-weight:800;line-height:1.28;letter-spacing:.01em;margin:0 0 20px;color:var(--h-ink)}
.home .h-lead2{font-size:16.5px;line-height:1.95;color:var(--h-muted);margin:0;max-width:640px}
.home .h-head{text-align:center;margin:0 auto 56px}
.home .h-head .h-lead2{margin:0 auto}
.home .h-center{text-align:center;margin-top:44px}
.home .h-note,.home .h-small{font-size:13.5px;color:var(--h-muted);margin:22px 0 0}
.home .h-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:17px 34px;border-radius:999px;font-weight:700;font-size:16px;line-height:1.3;transition:transform .25s ease,box-shadow .25s ease,background .25s ease;border:2px solid transparent;cursor:pointer;white-space:nowrap}
.home .h-btn-main{background:var(--h-coral-d);color:#fff;box-shadow:0 12px 28px rgba(226,97,42,.28)}
.home .h-btn-main:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(226,97,42,.34)}
.home .h-btn-sub{background:#fff;color:var(--h-teal);border-color:rgba(0,109,120,.22)}
.home .h-btn-sub:hover{border-color:var(--h-teal);transform:translateY(-2px)}
.home .h-btn-line{background:#fff;color:var(--h-teal);border-color:rgba(0,109,120,.28);padding:14px 30px;font-size:15px}
.home .h-btn-line:hover{border-color:var(--h-teal);background:var(--h-mist)}

/* ---------- HERO ---------- */
.home .h-hero{position:relative;margin-top:58px;background:var(--h-cream);overflow:hidden;isolation:isolate}
.home .h-hero:before,.home .h-hero:after{content:"";position:absolute;z-index:-1;border-radius:50%;pointer-events:none;filter:blur(10px)}
.home .h-hero:before{width:720px;height:720px;left:-240px;top:-300px;background:radial-gradient(closest-side,rgba(255,135,80,.26),rgba(255,135,80,0));animation:h-drift 22s ease-in-out infinite alternate}
.home .h-hero:after{width:820px;height:820px;right:-260px;bottom:-380px;background:radial-gradient(closest-side,rgba(0,109,120,.20),rgba(0,109,120,0));animation:h-drift 26s ease-in-out infinite alternate-reverse}
@keyframes h-drift{from{transform:translate(0,0)}to{transform:translate(40px,30px)}}
.home .h-hero-grid{display:grid;grid-template-columns:minmax(0,48fr) minmax(0,52fr);align-items:center;gap:24px;min-height:min(calc(100vh - 58px),700px);padding-top:48px;padding-bottom:48px}
.home .h-kicker{display:inline-block;font-size:14px;font-weight:700;color:var(--h-teal);background:rgba(0,109,120,.08);padding:7px 16px;border-radius:999px;margin-bottom:24px}
.home .h-hero h1{font-size:clamp(32px,3.4vw,52px);font-weight:800;line-height:1.25;letter-spacing:.01em;margin:0 0 26px;color:var(--h-ink)}
.home .h-hero h1 .t{color:var(--h-teal)}
.home .h-hero h1 .t,.home .h-hero h1 .c{white-space:nowrap}
.home .h-hero h1 .c{background:linear-gradient(transparent 68%,rgba(255,135,80,.32) 68%);padding:0 .04em}
.home .h-lead{font-size:clamp(15px,1.35vw,17px);line-height:1.95;color:var(--h-muted);margin:0 0 34px;max-width:540px}
.home .h-ctas{display:flex;flex-wrap:wrap;gap:14px}
.home .h-facts{list-style:none;display:flex;flex-wrap:wrap;gap:6px 0;padding:0;margin:26px 0 0;font-size:13.5px;font-weight:700;color:var(--h-muted)}
.home .h-facts li+li:before{content:"｜";color:rgba(0,109,120,.35);margin:0 10px}
/* ---------- HERO：回る立方体（CSS 3D） ---------- */
.home .h-hero-visual{--cs:clamp(300px,24vw,340px);position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:calc(var(--cs)*1.85)}
.home .h-cube-bg{position:absolute;z-index:0;left:-14%;right:-22%;top:4%;bottom:4%;pointer-events:none;opacity:.34}
.home .h-cube-bg img{width:100%;height:100%;max-width:none;object-fit:cover;filter:saturate(.85);
  -webkit-mask-image:radial-gradient(ellipse 50% 50% at 50% 50%,#000 30%,transparent 100%);
          mask-image:radial-gradient(ellipse 50% 50% at 50% 50%,#000 30%,transparent 100%)}
.home .h-orb{position:absolute;z-index:1;border-radius:50%;pointer-events:none;box-shadow:0 12px 26px rgba(0,70,80,.16);animation:h-orb 9s ease-in-out infinite alternate}
.home .h-orb.o1{width:58px;height:58px;left:6%;top:12%;background:radial-gradient(circle at 32% 28%,#fff 0 7%,rgba(255,255,255,.6) 15%,rgba(0,140,152,.35) 52%,rgba(0,109,120,.78) 100%)}
.home .h-orb.o2{width:36px;height:36px;right:9%;top:20%;background:radial-gradient(circle at 32% 28%,#fff 0 8%,rgba(255,255,255,.55) 16%,rgba(255,150,100,.45) 55%,rgba(226,97,42,.85) 100%);animation-duration:7s;animation-delay:-2s}
.home .h-orb.o3{width:22px;height:22px;right:20%;bottom:15%;background:radial-gradient(circle at 32% 28%,#fff 0 10%,rgba(255,255,255,.5) 20%,rgba(0,140,152,.4) 60%,rgba(0,109,120,.7) 100%);animation-duration:11s;animation-delay:-5s}
@keyframes h-orb{from{transform:translate(0,0)}to{transform:translate(10px,-18px)}}
.home .h-cube-stage{position:relative;z-index:2;width:var(--cs);height:var(--cs);margin:calc(var(--cs)*.3) auto calc(var(--cs)*.42);perspective:1100px;touch-action:pan-y;cursor:grab;outline:none;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}
.home .h-cube-stage.is-drag{cursor:grabbing}
.home .h-cube-stage:focus-visible:before{content:"";position:absolute;inset:-22%;border-radius:32px;border:3px solid var(--h-coral);pointer-events:none}
.home .h-cube-shadow{position:absolute;left:50%;top:100%;width:calc(var(--cs)*1.12);height:calc(var(--cs)*.2);margin:calc(var(--cs)*.26) 0 0 calc(var(--cs)*-.56);border-radius:50%;background:radial-gradient(closest-side,rgba(0,60,68,.30),rgba(0,60,68,.12) 55%,rgba(0,60,68,0));pointer-events:none;animation:h-cshadow 7s ease-in-out infinite}
@keyframes h-cshadow{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(.86);opacity:.7}}
.home .h-cube-float{width:100%;height:100%;transform-style:preserve-3d;animation:h-cfloat 7s ease-in-out infinite}
@keyframes h-cfloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-14px)}}
.home .h-cube-scale{width:100%;height:100%;transform-style:preserve-3d;transition:transform .5s cubic-bezier(.2,.7,.2,1)}
@media(hover:hover){.home .h-cube-stage:hover .h-cube-scale{transform:scale(1.06)}}
.home .h-cube{position:relative;width:100%;height:100%;transform-style:preserve-3d;transform:rotateX(-18deg) rotateY(-32deg);will-change:transform}
.home .h-face{position:absolute;inset:0;display:flex;flex-direction:column;border-radius:16px;overflow:hidden;background:#fff;color:inherit;text-decoration:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;box-shadow:0 0 0 1px rgba(0,109,120,.16);-webkit-user-drag:none}
.home .h-face.f1{transform:translateZ(calc(var(--cs)/2))}
.home .h-face.f2{transform:rotateY(90deg) translateZ(calc(var(--cs)/2))}
.home .h-face.f3{transform:rotateY(180deg) translateZ(calc(var(--cs)/2))}
.home .h-face.f4{transform:rotateY(-90deg) translateZ(calc(var(--cs)/2))}
.home .h-face.f5{transform:rotateX(90deg) translateZ(calc(var(--cs)/2))}
.home .h-face.f6{transform:rotateX(-90deg) translateZ(calc(var(--cs)/2))}
.home .h-face .bar{flex:0 0 auto;height:22px;display:flex;align-items:center;gap:5px;padding:0 12px;background:linear-gradient(#FBFDFD,#EAF2F3);border-bottom:1px solid rgba(0,109,120,.12)}
.home .h-face .bar i{width:7px;height:7px;border-radius:50%;background:#CADCDE}
.home .h-face .bar i:first-child{background:var(--h-coral)}
.home .h-face img{flex:1 1 auto;display:block;width:100%;min-height:0;height:100%;object-fit:cover;object-position:22% 0;pointer-events:none;-webkit-user-drag:none;background:var(--h-mist)}
.home .h-face .lb{position:absolute;z-index:3;left:12px;bottom:12px;display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:700;line-height:1;color:#fff;background:rgba(11,79,87,.88);padding:7px 12px;border-radius:999px;box-shadow:0 4px 12px rgba(0,40,45,.25)}
.home .h-face .lb:after{content:"›";color:#FFC7A6;font-size:14px}
.home .h-face:before{content:"";position:absolute;inset:0;z-index:2;background:rgba(4,40,46,var(--sh,0));pointer-events:none}
.home .h-face:after{content:"";position:absolute;inset:0;z-index:4;border-radius:inherit;pointer-events:none;
  background:linear-gradient(135deg,rgba(255,255,255,.5) 0%,rgba(255,255,255,.14) 26%,rgba(255,255,255,0) 44%,rgba(255,255,255,0) 72%,rgba(255,255,255,.16) 100%);
  box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.6);opacity:calc(.5 + var(--gl,0) * .5)}
.home .h-face:focus-visible{outline:none}
.home .h-face:focus-visible:after{box-shadow:inset 0 0 0 4px var(--h-coral);opacity:1}
.home .h-cube-hint{position:relative;z-index:2;margin:0;font-size:12.5px;font-weight:500;color:var(--h-muted);background:rgba(255,255,255,.78);padding:7px 16px;border-radius:999px;box-shadow:0 6px 16px rgba(0,70,80,.08)}
.home .h-cube-hint b{color:var(--h-teal-d)}

/* ---------- MARQUEE ---------- */
.home .h-marquee{background:var(--h-cream);padding:8px 0 72px;overflow:hidden}
.home .h-mq-label{text-align:center;font-size:14.5px;color:var(--h-muted);margin:0 16px 22px}
.home .h-mq-label b{color:var(--h-teal);font-family:var(--h-en);font-size:1.15em}
.home .h-mq{overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
.home .h-mq-track{display:flex;width:max-content;animation:h-mq 70s linear infinite}
.home .h-mq:hover .h-mq-track{animation-play-state:paused}
.home .h-mq-set{display:flex;gap:22px;padding-right:22px}
.home .h-mq figure{margin:0;width:300px;flex:0 0 auto}
.home .h-mq img{width:100%;height:auto;aspect-ratio:1280/770;object-fit:cover;object-position:top;border-radius:16px;box-shadow:0 10px 28px rgba(0,70,80,.10);background:#fff}
.home .h-mq figcaption{font-size:12.5px;font-weight:700;color:var(--h-teal);margin-top:10px;padding-left:4px}
@keyframes h-mq{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* ---------- 2カラム（文章＋3D画像） ---------- */
.home .h-split{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:72px;align-items:center}
.home .h-split.rev{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}
.home .h-art{background:var(--h-cream);border-radius:24px;box-shadow:var(--h-shadow);overflow:hidden;position:relative}
.home .h-art img{width:100%;height:auto}
.home .h-art-cap{position:absolute;left:0;right:0;bottom:22px;text-align:center;margin:0;font-weight:700;font-size:14px;color:var(--h-teal-d)}
.home .h-feats{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:40px}
.home .h-feat{display:block;background:#fff;border:1px solid var(--h-line);border-radius:24px;padding:26px 24px;box-shadow:0 8px 24px rgba(0,70,80,.05);transition:transform .25s ease,box-shadow .25s ease}
.home .h-feat:hover{transform:translateY(-4px);box-shadow:var(--h-shadow)}
.home .h-feat .no{font-family:var(--h-en);font-weight:700;font-size:14px;color:var(--h-coral-d);letter-spacing:.08em}
.home .h-feat h3{font-size:19px;font-weight:800;margin:6px 0 8px;color:var(--h-ink)}
.home .h-feat p{font-size:14px;line-height:1.85;color:var(--h-muted);margin:0}
.home .h-feat .go{display:inline-block;margin-top:12px;font-size:13.5px;font-weight:700;color:var(--h-teal)}
.home .h-types{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:36px}
.home .h-type{background:#fff;border-radius:16px;padding:20px 22px;border:1px solid var(--h-line)}
.home .h-type h3{font-size:17px;font-weight:800;margin:0 0 4px;color:var(--h-teal-d)}
.home .h-type h3:before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--h-coral);margin:0 10px 3px 0;vertical-align:middle}
.home .h-type p{font-size:13.5px;line-height:1.8;color:var(--h-muted);margin:0}

/* ---------- 3D院内ビュー ---------- */
.home .h-deep{background:var(--h-teal-d);color:#fff}
.home .h-deep .h-title{color:#fff}
.home .h-deep .h-lead2{color:#CFE6E8}
.home .h-deep .h-eyebrow{color:#FFB48C}
.home .h-deep .h-small{color:#A9CDD1}
.home .h-checks{list-style:none;padding:0;margin:28px 0 0}
.home .h-checks li{position:relative;padding:10px 0 10px 34px;font-weight:500;font-size:15.5px;border-top:1px solid rgba(255,255,255,.12)}
.home .h-checks li:before{content:"";position:absolute;left:4px;top:18px;width:14px;height:8px;border-left:2.5px solid var(--h-coral);border-bottom:2.5px solid var(--h-coral);transform:rotate(-45deg)}
.home .h-viewer{background:#fff;border-radius:24px;overflow:hidden;box-shadow:0 24px 60px rgba(0,30,35,.35)}
.home .h-viewer .bar{display:flex;align-items:center;gap:6px;padding:12px 16px;background:var(--h-mist);font-size:13px;font-weight:700;color:var(--h-ink)}
.home .h-viewer .bar i{width:9px;height:9px;border-radius:50%;background:#C9D9DB}
.home .h-viewer .bar span{margin-left:8px}
.home .h-viewer .bar b{margin-left:auto;font-family:var(--h-en);background:var(--h-teal);color:#fff;border-radius:999px;padding:3px 12px;font-size:12px}
.home .h-viewer svg{display:block;width:100%;height:auto;padding:10px 12px 0}
.home .h-viewer .chips{display:flex;flex-wrap:wrap;gap:8px;padding:14px 18px 20px}
.home .h-viewer .chips span{font-size:12.5px;font-weight:700;padding:6px 14px;border-radius:999px;background:var(--h-mist);color:var(--h-teal-d)}
.home .h-viewer .chips .on{background:var(--h-teal);color:#fff}

/* ---------- 制作事例 ---------- */
.home .h-works{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.home .h-work{display:block;background:#fff;border-radius:24px;overflow:hidden;box-shadow:var(--h-shadow);transition:transform .3s ease,box-shadow .3s ease}
.home .h-work:hover{transform:translateY(-6px);box-shadow:0 22px 50px rgba(0,70,80,.16)}
.home .h-work .th{position:relative;background:var(--h-mist)}
.home .h-work .th img{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;object-position:top;transition:transform .6s ease}
.home .h-work:hover .th img{transform:scale(1.04)}
.home .h-work .ov{background:var(--h-mist);padding:16px 22px 4px}
.home .h-work dl{margin:0;display:grid;grid-template-columns:auto 1fr;gap:6px 12px;font-size:13.5px;line-height:1.7}
.home .h-work dt{font-weight:800;color:var(--h-coral-d);white-space:nowrap}
.home .h-work dd{margin:0;color:var(--h-ink)}
.home .h-work .mt{display:flex;flex-direction:column;padding:18px 22px 22px}
.home .h-work .cat{font-size:12.5px;font-weight:700;color:var(--h-coral-d);letter-spacing:.04em}
.home .h-work .nm{font-size:18px;font-weight:800;margin:4px 0 8px;color:var(--h-ink)}
.home .h-work .go{font-size:14px;font-weight:700;color:var(--h-teal)}
@media(hover:hover) and (min-width:901px){
  .home .h-work .th{overflow:hidden}
  .home .h-work .ov{position:absolute;inset:0;display:flex;align-items:flex-end;padding:24px;background:linear-gradient(180deg,rgba(11,79,87,0) 20%,rgba(11,79,87,.92) 100%);opacity:0;transition:opacity .35s ease}
  .home .h-work .ov dt{color:#FFC7A6}.home .h-work .ov dd{color:#fff}
  .home .h-work:hover .ov,.home .h-work:focus-visible .ov{opacity:1}
}
.home .h-more{margin-top:40px;text-align:center}
.home .h-more summary{display:inline-flex;list-style:none;cursor:pointer;padding:14px 30px;border-radius:999px;border:2px solid rgba(0,109,120,.28);background:#fff;color:var(--h-teal);font-weight:700;font-size:15px}
.home .h-more summary::-webkit-details-marker{display:none}
.home .h-more summary:after{content:"＋";margin-left:10px}
.home .h-more[open] summary:after{content:"－"}
.home .h-more .works{margin-top:30px;text-align:left}
.home .h-more .work{border-radius:16px;border-color:var(--h-line)}

/* ---------- 料金 ---------- */
.home .h-plans{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch}
.home .h-plan{position:relative;background:#fff;border-radius:24px;padding:36px 30px 30px;border:1px solid var(--h-line);box-shadow:0 8px 24px rgba(0,70,80,.05)}
.home .h-plan.reco{border:2px solid var(--h-teal);box-shadow:var(--h-shadow)}
.home .h-plan .badge{position:absolute;top:-14px;left:30px;background:var(--h-teal);color:#fff;font-size:12.5px;font-weight:700;padding:5px 16px;border-radius:999px}
.home .h-plan h3{font-size:20px;font-weight:800;margin:0 0 4px;color:var(--h-teal-d)}
.home .h-plan .for{font-size:13px;color:var(--h-muted);margin:0 0 14px}
.home .h-plan .pr{font-family:var(--h-en);font-size:44px;font-weight:700;line-height:1.1;color:var(--h-ink);letter-spacing:.01em}
.home .h-plan .pr small{font-family:'Noto Sans JP',sans-serif;font-size:14px;font-weight:700;color:var(--h-muted);margin-left:4px;letter-spacing:0}
.home .h-plan .term{display:inline-block;margin:14px 0 6px;font-size:12.5px;font-weight:700;color:var(--h-teal-d);background:var(--h-mist);padding:5px 12px;border-radius:999px}
.home .h-plan ul{list-style:none;padding:0;margin:12px 0 0}
.home .h-plan li{position:relative;padding:9px 0 9px 26px;font-size:14px;line-height:1.7;border-top:1px solid var(--h-line)}
.home .h-plan li:before{content:"";position:absolute;left:3px;top:16px;width:11px;height:6px;border-left:2px solid var(--h-teal);border-bottom:2px solid var(--h-teal);transform:rotate(-45deg)}
.home .h-care{display:flex;align-items:center;justify-content:space-between;gap:28px;margin-top:28px;background:#fff;border-radius:16px;padding:24px 30px;border:1px solid var(--h-line)}
.home .h-care .tag{font-size:12px;font-weight:700;color:var(--h-coral-d)}
.home .h-care h3{font-size:18px;font-weight:800;margin:2px 0 6px;color:var(--h-ink)}
.home .h-care h3 b{font-family:var(--h-en);color:var(--h-teal);font-size:1.2em;margin-left:4px}
.home .h-care h3 small{font-size:12.5px;font-weight:500;color:var(--h-muted)}
.home .h-care p{margin:0;font-size:13.5px;color:var(--h-muted);line-height:1.8}

/* ---------- 流れ ---------- */
.home .h-flow{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;counter-reset:none}
.home .h-flow li{position:relative;background:var(--h-mist);border-radius:24px;padding:30px 24px 28px}
.home .h-flow li:not(:last-child):after{content:"";position:absolute;right:-15px;top:50%;width:10px;height:10px;border-top:2.5px solid rgba(0,109,120,.35);border-right:2.5px solid rgba(0,109,120,.35);transform:translateY(-50%) rotate(45deg);z-index:1}
.home .h-flow li.hl{background:var(--h-cream);box-shadow:inset 0 0 0 2px rgba(255,135,80,.45)}
.home .h-flow .n{display:inline-flex;width:40px;height:40px;border-radius:50%;align-items:center;justify-content:center;background:var(--h-teal);color:#fff;font-family:var(--h-en);font-weight:700;font-size:17px}
.home .h-flow li.hl .n{background:var(--h-coral-d)}
.home .h-flow h3{font-size:18px;font-weight:800;margin:14px 0 6px;color:var(--h-ink)}
.home .h-flow p{font-size:14px;line-height:1.8;color:var(--h-muted);margin:0}

/* ---------- FAQ ---------- */
.home .h-faq{max-width:860px;margin:0 auto;display:grid;gap:14px}
.home .h-faq .qa{background:#fff;border:1px solid var(--h-line);border-radius:16px;padding:22px 26px;margin:0}
.home .h-faq .qa h4{font-size:16px;color:var(--h-ink);margin:0 0 6px}
.home .h-faq .qa h4:before{content:"Q. ";color:var(--h-coral-d);font-family:var(--h-en)}
.home .h-faq .qa p{font-size:14.5px;line-height:1.85;color:var(--h-muted);margin:0}

/* ---------- 最終CTA ---------- */
.home .h-cta{padding:128px 0;background:radial-gradient(700px 360px at 12% 0%,rgba(255,135,80,.28),transparent 70%),radial-gradient(800px 420px at 100% 100%,rgba(0,150,160,.35),transparent 70%),var(--h-teal-d)}
.home .h-cta h2{font-size:clamp(28px,3.6vw,44px);font-weight:800;line-height:1.35;margin:0 0 18px}
.home .h-cta>.wrap>p{color:#D4EAEC;max-width:620px;margin:0 auto 26px}
.home .h-promise{list-style:none;padding:0;margin:0 auto 10px;max-width:760px;display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
.home .h-promise li{font-size:13.5px;font-weight:700;padding:8px 16px;border-radius:999px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);color:#fff}
.home .h-promise li:before{content:"✓";color:#FFB48C;margin-right:6px}
.home .h-cta .cform .btn-accent{background:var(--h-coral-d);font-size:16px;padding:16px 30px}
.home .h-cta .cform input,.home .h-cta .cform textarea{border-radius:14px}

/* ---------- footer（トップのみ色を合わせる） ---------- */
.home .ft{background:#083B41}

/* ---------- レスポンシブ ---------- */
@media(max-width:1100px){
  .home .h-split,.home .h-split.rev{gap:48px}
  .home .h-feats{grid-template-columns:1fr}
}
@media(max-width:900px){
  .home .h-sec,.home .h-cta{padding:88px 0}
  .home .h-wrap{padding-left:20px;padding-right:20px}
  .home .h-hero-grid{grid-template-columns:1fr;min-height:0;padding-top:44px;padding-bottom:24px;gap:8px}
  .home .h-hero-visual{--cs:240px;min-height:0;padding:4px 0 16px}
  .home .h-cube-bg{left:-20%;right:-20%;top:0;bottom:6%}
  .home .h-split,.home .h-split.rev{grid-template-columns:1fr;gap:40px}
  .home .h-split.rev .h-split-visual{order:2}
  .home .h-split-visual{max-width:520px;width:100%;margin:0 auto}
  .home .h-feats{grid-template-columns:1fr 1fr}
  .home .h-works{grid-template-columns:1fr 1fr;gap:20px}
  .home .h-plans{grid-template-columns:1fr;max-width:560px;margin:0 auto}
  .home .h-care{flex-direction:column;align-items:flex-start;max-width:560px;margin-left:auto;margin-right:auto}
  .home .h-flow{grid-template-columns:1fr 1fr}
  .home .h-flow li:after{display:none}
}
@media(max-width:600px){
  .home .pc{display:none}.home .sp{display:inline}
  .home .h-sec,.home .h-cta{padding:76px 0}
  .home .h-wrap{padding-left:18px;padding-right:18px}
  .home .h-split-visual{max-width:380px}
  .home .h-hero h1{font-size:clamp(30px,8.6vw,38px)}
  .home .h-kicker{font-size:13px;margin-bottom:18px}
  .home .h-facts{font-size:12.5px}
  .home .h-facts li+li:before{margin:0 6px}
  .home .h-ctas{flex-direction:column}
  .home .h-btn{width:100%}
  .home .h-title{font-size:clamp(28px,7.6vw,36px)}
  .home .h-head{margin-bottom:40px;text-align:left}
  .home .h-lead2{font-size:15px}
  .home .h-feats,.home .h-types,.home .h-works,.home .h-flow{grid-template-columns:1fr}
  .home .h-mq figure{width:220px}
  .home .h-marquee{padding-bottom:56px}
  .home .h-plan{padding:32px 22px 24px}
  .home .h-plan .pr{font-size:38px}
  .home .h-care{padding:22px}
  .home .h-care .h-btn{width:100%}
  .home .h-center .h-btn,.home .h-more summary{width:100%;justify-content:center;white-space:normal}
  .home .h-faq .qa{padding:18px 20px}
  .home .h-hero-visual{--cs:228px}
  .home .h-orb.o1{width:44px;height:44px;left:2%;top:6%}
}

/* ---------- 動きを減らす設定 ---------- */
@media(prefers-reduced-motion:reduce){
  .home .h-hero:before,.home .h-hero:after,.home .h-orb,.home .h-cube-float,.home .h-cube-shadow{animation:none}
  .home .h-cube-scale{transition:none}
  .home .h-mq{overflow-x:auto;-webkit-mask-image:none;mask-image:none}
  .home .h-mq-track{animation:none}
  .home .h-mq-set[aria-hidden]{display:none}
  .home .h-work,.home .h-feat,.home .h-btn,.home .h-work .th img{transition:none}
}

/* 公開までの流れ（6ステップ・週の目安つき）2026-10-09 */
.home .h-flow.h-flow6{grid-template-columns:repeat(3,minmax(0,1fr))}
.home .h-flow.h-flow6 li:nth-child(3n):after{display:none}
.home .h-flow .wk{display:block;font-size:12.5px;font-weight:800;letter-spacing:.06em;color:var(--h-coral-d);margin-bottom:10px}
.home .h-flow-note{max-width:860px;margin:22px auto 0;font-size:13px;line-height:1.8;color:var(--h-muted);text-align:center}
@media(max-width:900px){.home .h-flow.h-flow6{grid-template-columns:1fr 1fr}.home .h-flow.h-flow6 li:after{display:none}}
@media(max-width:600px){.home .h-flow.h-flow6{grid-template-columns:1fr}.home .h-flow-note{text-align:left}}

/* サービス3本（2026-10-09） */
.home .h-svcs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.home .h-svc{position:relative;background:#fff;border-radius:24px;padding:34px 28px 28px;border:1px solid var(--h-line);box-shadow:0 8px 24px rgba(0,70,80,.05)}
.home .h-svc .tag{display:inline-block;font-size:12px;font-weight:800;color:var(--h-teal);background:rgba(0,109,120,.08);border-radius:999px;padding:4px 12px;margin-bottom:14px}
.home .h-svc h3{font-size:21px;font-weight:800;margin:0 0 10px;color:var(--h-ink)}
.home .h-svc p{font-size:14.5px;line-height:1.85;color:var(--h-muted);margin:0}
.home .h-svc .fee{margin-top:14px;font-size:13px;font-weight:700;color:var(--h-coral-d)}
.home .h-svc .go{display:inline-block;margin-top:14px;font-size:14px;font-weight:700;color:var(--h-teal)}
.home .h-lineadd{margin-top:28px;text-align:center}
.home .h-lineadd p{margin:0 0 12px}
.home .h-btn-linegreen{background:#06C755;color:#fff}
@media(max-width:900px){.home .h-svcs{grid-template-columns:1fr}}
.home .h-svcs{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:900px){.home .h-svcs{grid-template-columns:1fr}}

/* そのほかのメニュー（2026-10-09） */
.home .h-others{margin-top:26px;background:#fff;border-radius:24px;padding:30px 32px;border:1px solid var(--h-line)}
.home .h-others h3{font-size:19px;font-weight:800;margin:0 0 14px;color:var(--h-ink)}
.home .h-others h3 small{font-size:13px;font-weight:500;color:var(--h-muted);margin-left:6px}
.home .h-others table{width:100%;border-collapse:collapse}
.home .h-others td{padding:14px 6px;border-top:1px solid var(--h-line);vertical-align:top;font-size:15px}
.home .h-others td:first-child{font-weight:700;color:var(--h-ink);width:38%}
.home .h-others td b{display:block;color:var(--h-coral-d);font-size:17px}
.home .h-others td span{display:block;font-size:13px;color:var(--h-muted);margin-top:2px}
.home .h-others .nt{font-size:12.5px;color:var(--h-muted);margin:12px 0 0}
@media(max-width:600px){.home .h-others{padding:22px 18px}.home .h-others td{display:block;width:auto!important;padding:4px 0}.home .h-others tr{display:block;border-top:1px solid var(--h-line);padding:10px 0}.home .h-others td{border:0}}

/* 開業する方へ（2026-10-09） */
.home .h-svcs.h-kaigyo3{grid-template-columns:repeat(3,minmax(0,1fr))}
.home .h-message{max-width:760px;margin:36px auto 0;background:#fff;border-radius:24px;padding:30px 34px;border:1px solid var(--h-line);text-align:center}
.home .h-message .q{font-size:22px;font-weight:800;color:var(--h-teal-d);margin:0 0 6px}
.home .h-message .who{font-size:13px;color:var(--h-muted);margin:0 0 14px}
.home .h-message .body{font-size:15px;line-height:1.9;color:var(--h-ink);margin:0;text-align:left}
@media(max-width:900px){.home .h-svcs.h-kaigyo3{grid-template-columns:1fr}}
.home .h-svcs.h-kaigyo4{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:900px){.home .h-svcs.h-kaigyo4{grid-template-columns:1fr}}

/* 代表メッセージ：手書き風（万年筆）2026-10-09 */
.home .h-message{max-width:720px;margin:40px auto 0;padding:40px 46px 34px;text-align:left;border-radius:6px;border:1px solid #E8E0D0;
  background:#FFFDF7 repeating-linear-gradient(transparent 0 37px,rgba(27,45,85,.10) 37px 38px);box-shadow:0 14px 34px rgba(60,40,10,.10);transform:rotate(-.3deg)}
.home .h-message p{font-family:'Klee One',cursive;font-weight:600;color:#1B2D55;font-size:17px;line-height:38px;margin:0 0 38px;text-align:left}
.home .h-message .q{font-size:23px;margin-bottom:38px;color:#13234A}
.home .h-message .sign{text-align:right;font-size:18px;margin:0}
.home .h-message .more{font-family:inherit;font-size:13px;line-height:1.6;margin:18px 0 0;text-align:right}
.home .h-message .more a{color:#006D78;font-weight:700;font-family:'Noto Sans JP',sans-serif}
@media(max-width:600px){.home .h-message{padding:28px 20px 24px;transform:none}.home .h-message p{font-size:15px}.home .h-message br{display:none}}
.home .h-message{background:#FFFDF7;transform:none;box-shadow:0 14px 34px rgba(60,40,10,.10),inset 0 0 0 10px #FFFDF7,inset 0 0 0 11px #EADFC8}
.home .h-message p{line-height:2.1;margin:0 0 22px}
.home .h-message .q{margin-bottom:26px;padding-bottom:14px;border-bottom:1px solid #E5DAC4}

/* 3つの強み（2026-10-09） */
.home .h-strong{padding:56px 0 8px}
.home .h-strong3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.home .h-strong3 .it{background:#fff;border:1px solid var(--h-line);border-radius:22px;padding:26px 24px;box-shadow:0 8px 24px rgba(0,70,80,.05)}
.home .h-strong3 .no{font-family:var(--h-en);font-weight:800;color:var(--h-coral-d);font-size:15px}
.home .h-strong3 h3{font-size:20px;font-weight:800;margin:6px 0 8px;color:var(--h-ink)}
.home .h-strong3 p{font-size:14.5px;line-height:1.85;color:var(--h-muted);margin:0}
.home .h-strong3 a{display:inline-block;margin-top:10px;font-weight:700;color:var(--h-teal);font-size:14px}
@media(max-width:900px){.home .h-strong3{grid-template-columns:1fr}}

/* ===== 全体作り直し（2026-10-09）===== */
/* ヒーロー：開業前ページの見本 */
.home .h-hero-visual{display:flex;flex-direction:column;align-items:center;justify-content:center}
.home .h-mock{width:min(420px,92%);background:#fff;border-radius:22px;box-shadow:0 30px 70px rgba(0,60,70,.18);overflow:hidden;transform:rotate(1.5deg);animation:hmockf 6s ease-in-out infinite}
@keyframes hmockf{50%{transform:rotate(1.5deg) translateY(-8px)}}
.home .h-mock .bar{display:flex;align-items:center;gap:6px;padding:10px 14px;background:#F4F8F8;border-bottom:1px solid var(--h-line)}
.home .h-mock .bar i{width:9px;height:9px;border-radius:50%;background:#D7E7E8;display:inline-block}
.home .h-mock .bar span{margin-left:8px;font-size:11.5px;color:var(--h-muted);font-weight:700}
.home .h-mock .body{padding:24px 24px 20px;text-align:center;background:linear-gradient(180deg,#FFF9F1,#fff 60%)}
.home .h-mock .tag{margin:0;font-family:var(--h-en);font-weight:800;letter-spacing:.3em;color:var(--h-coral-d);font-size:12px}
.home .h-mock .nm{margin:6px 0 2px;font-size:24px;font-weight:800;color:var(--h-ink)}
.home .h-mock .dt{margin:0 0 14px;font-size:14px;color:var(--h-teal-d);font-weight:700}
.home .h-mock .cd{display:flex;justify-content:center;gap:10px;margin-bottom:14px}
.home .h-mock .cd div{background:var(--h-teal-d);color:#fff;border-radius:12px;padding:8px 12px;min-width:62px}
.home .h-mock .cd b{display:block;font-family:var(--h-en);font-size:24px;line-height:1.1}
.home .h-mock .cd small{font-size:11px;opacity:.85}
.home .h-mock .nai{font-size:12.5px;color:var(--h-ink);margin-bottom:10px}
.home .h-mock .nai span{display:inline-block;background:rgba(0,109,120,.1);color:var(--h-teal);font-weight:800;border-radius:999px;padding:2px 10px;margin-right:6px}
.home .h-mock .rsv{display:inline-block;background:var(--h-coral-d);color:#fff;font-weight:800;border-radius:999px;padding:10px 26px;font-size:14px;margin-bottom:14px}
.home .h-mock .plan{border:1px solid var(--h-line);border-radius:14px;padding:8px;background:#fff}
.home .h-mock .plan svg{width:100%;height:auto;display:block}
.home .h-mock .plan span{display:block;font-size:11.5px;color:var(--h-muted);margin-top:4px;font-weight:700}
.home .h-cube-hint{margin-top:22px}
/* 見本の段 */
.home .h-samples{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.home .h-sample{display:block;background:#fff;border:1px solid var(--h-line);border-radius:22px;padding:28px 24px;color:inherit;text-decoration:none;box-shadow:0 8px 24px rgba(0,70,80,.05);transition:transform .25s,box-shadow .25s}
.home a.h-sample:hover{transform:translateY(-4px);box-shadow:var(--h-shadow)}
.home .h-sample .lb{display:inline-block;font-size:12px;font-weight:800;color:#fff;background:var(--h-teal);border-radius:999px;padding:4px 12px}
.home .h-sample h3{font-size:20px;font-weight:800;margin:14px 0 8px;color:var(--h-ink)}
.home .h-sample p{font-size:14.5px;line-height:1.85;color:var(--h-muted);margin:0}
.home .h-sample .go{display:inline-block;margin-top:14px;font-weight:700;color:var(--h-coral-d)}
.home .h-sample .go.soon{color:var(--h-muted)}
/* 逆算スケジュール */
.home .h-tl{list-style:none;margin:0 auto;padding:0;max-width:860px;position:relative}
.home .h-tl:before{content:"";position:absolute;left:118px;top:8px;bottom:8px;width:2px;background:rgba(0,109,120,.18)}
.home .h-tl li{position:relative;display:grid;grid-template-columns:100px 1fr;gap:36px;padding:0 0 26px}
.home .h-tl li:after{content:"";position:absolute;left:112px;top:6px;width:14px;height:14px;border-radius:50%;background:#fff;border:3px solid var(--h-teal)}
.home .h-tl li.hl:after{background:var(--h-coral-d);border-color:var(--h-coral-d)}
.home .h-tl .when{font-weight:800;color:var(--h-teal-d);font-size:15px;text-align:right;padding-top:2px}
.home .h-tl li.hl .when{color:var(--h-coral-d)}
.home .h-tl h3{grid-column:2;margin:0 0 4px;font-size:18px;font-weight:800;color:var(--h-ink)}
.home .h-tl p{grid-column:2;margin:0;font-size:14.5px;line-height:1.8;color:var(--h-muted)}
.home .h-tl li > .when{grid-row:1/3}
/* 料金欄の見積もり入口 */
.home .h-estcta{margin-top:26px;display:flex;align-items:center;justify-content:space-between;gap:20px;background:var(--h-teal-d);color:#fff;border-radius:22px;padding:24px 28px}
.home .h-estcta b{display:block;font-size:19px;margin-bottom:4px}
.home .h-estcta span{font-size:14px;opacity:.9;line-height:1.7}
@media(max-width:900px){.home .h-samples{grid-template-columns:1fr}.home .h-estcta{flex-direction:column;align-items:flex-start}}
@media(max-width:600px){.home .h-tl:before{left:8px}.home .h-tl li{grid-template-columns:1fr;gap:2px;padding-left:30px}.home .h-tl li:after{left:2px}.home .h-tl .when{text-align:left}.home .h-tl h3,.home .h-tl p{grid-column:1}.home .h-tl li > .when{grid-row:auto}.home .h-mock{transform:none;animation:none}}
.home .h-tl li{gap:4px 44px}.home .h-tl:before{left:122px}.home .h-tl li:after{left:116px}@media(max-width:600px){.home .h-tl li{gap:2px}.home .h-tl:before{left:8px}.home .h-tl li:after{left:2px}}

/* ファーストビュー 3Dジオラマ（2026-10-09） */
.home .h-3d{position:relative;width:100%;height:min(560px,62vh);min-height:380px;cursor:grab}
.home .h-3d:active{cursor:grabbing}
.home .h-3d canvas{display:block;width:100%!important;height:100%!important}
.home .h3d-chip{position:absolute;z-index:2;background:rgba(255,255,255,.92);backdrop-filter:blur(6px);border:1px solid var(--h-line);border-radius:14px;padding:8px 14px;font-size:13px;color:var(--h-ink);box-shadow:0 10px 24px rgba(0,60,70,.10);pointer-events:none;animation:h3dchip 5s ease-in-out infinite}
.home .h3d-chip b{color:var(--h-teal);margin-right:4px}
.home .h3d-chip.c1{left:2%;top:12%}
.home .h3d-chip.c2{right:2%;top:32%;animation-delay:1.2s}
@keyframes h3dchip{50%{transform:translateY(-6px)}}
.home .h3d-open{position:absolute;z-index:2;left:50%;bottom:8%;transform:translate(-50%,16px) scale(.9);opacity:0;transition:all .6s cubic-bezier(.2,1.4,.4,1);background:var(--h-coral-d);color:#fff;font-weight:800;border-radius:999px;padding:10px 22px;font-size:15px;white-space:nowrap;box-shadow:0 14px 30px rgba(226,97,42,.35);pointer-events:none}
.home .h3d-open span{font-family:var(--h-en);letter-spacing:.18em;font-size:12px;margin-right:8px;opacity:.9}
.home .h-3d.opened .h3d-open{opacity:1;transform:translate(-50%,0) scale(1)}
.home .h3d-replay{position:absolute;z-index:2;right:2%;bottom:2%;border:1px solid var(--h-line);background:#fff;border-radius:999px;padding:6px 14px;font-size:12px;color:var(--h-muted);cursor:pointer;opacity:0;transition:opacity .4s}
.home .h-3d.opened .h3d-replay{opacity:1}
@media(max-width:860px){.home .h-3d{height:420px;min-height:0}}

/* 他社との違い（2026-10-09） */
.home .h-diff{max-width:980px;margin:0 auto;background:#fff;border-radius:24px;border:1px solid var(--h-line);overflow:hidden;box-shadow:0 10px 30px rgba(0,70,80,.06)}
.home .h-diff .row{display:grid;grid-template-columns:180px 1fr 1.25fr;border-top:1px solid var(--h-line)}
.home .h-diff .row>div{padding:16px 18px;font-size:14.5px;line-height:1.7;color:var(--h-muted)}
.home .h-diff .row.hd{border-top:0}
.home .h-diff .row.hd>div{font-weight:800;color:var(--h-ink);font-size:14px;padding:14px 18px}
.home .h-diff .k{font-weight:800;color:var(--h-ink)!important;background:#FAFCFC}
.home .h-diff .us{background:rgba(226,97,42,.06);color:var(--h-ink)!important}
.home .h-diff .row.hd .us{background:var(--h-coral-d);color:#fff!important}
.home .h-diff .us b{color:var(--h-coral-d)}
@media(max-width:760px){.home .h-diff .row{grid-template-columns:1fr}.home .h-diff .row.hd{display:none}.home .h-diff .row>div:nth-child(2):before{content:"よくある制作会社：";font-weight:700}.home .h-diff .us:before{content:"ハッピーAIスタジオ：";font-weight:800;color:var(--h-coral-d)}}
.home .h-anim{max-width:960px;margin:0 auto 48px;border-radius:22px;overflow:hidden;box-shadow:0 18px 44px rgba(0,60,70,.12);background:#FFF9F1}
.home .h-anim iframe{display:block;width:100%;aspect-ratio:16/9;border:0}

/* ファーストビュー：完成動画（2026-10-09） */
.home .h-vid{height:auto;min-height:0;aspect-ratio:16/10;border-radius:24px;overflow:hidden;box-shadow:0 30px 70px rgba(0,60,70,.18);cursor:default;background:#e8eef0}
.home .h-vid .poster,.home .h-vid video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.home .h-vid video{opacity:0;transition:opacity .4s}
.home .h-vid.playing video{opacity:1}
.home .h-vid .h3d-chip.c1{left:3%;top:5%}.home .h-vid .h3d-chip.c2{right:3%;top:17%}
@media(max-width:860px){.home .h-vid{height:auto}}

/* ファーストビュー動画の文字（2026-10-09 作り直し） */
.home .h-vid .h3d-chip{display:none}
.home .h-vid:after{content:"";position:absolute;inset:auto 0 0 0;height:42%;background:linear-gradient(to top,rgba(10,30,34,.55),rgba(10,30,34,0));pointer-events:none;z-index:1}
.home .h3d-cap{position:absolute;z-index:2;left:6%;bottom:8%;color:#fff;display:flex;flex-direction:column;gap:4px;pointer-events:none}
.home .h3d-cap .en{font-family:var(--h-en);font-size:11px;letter-spacing:.32em;font-weight:600;opacity:.85}
.home .h3d-cap .ja{font-size:clamp(16px,1.6vw,21px);font-weight:700;letter-spacing:.06em;text-shadow:0 1px 8px rgba(0,0,0,.25)}
.home .h-vid .h3d-open{left:50%;top:9%;bottom:auto;transform:translate(-50%,-6px);background:none;box-shadow:none;padding:0;display:flex;align-items:center;gap:14px;color:#fff;opacity:0;transition:opacity 1s ease,transform 1s ease;text-shadow:0 2px 14px rgba(0,0,0,.35)}
.home .h-vid .h3d-open b{font-family:var(--h-en);font-weight:600;font-size:clamp(18px,2vw,26px);letter-spacing:.42em;padding-left:.42em}
.home .h-vid .h3d-open .l{display:block;width:clamp(28px,4vw,56px);height:1px;background:rgba(255,255,255,.85)}
.home .h-vid.opened .h3d-open{opacity:1;transform:translate(-50%,0)}
.home .h-vid .h3d-replay{right:3%;bottom:6%;width:34px;height:34px;padding:0;border-radius:50%;font-size:16px;line-height:32px;text-align:center;background:rgba(255,255,255,.18);color:#fff;border:1px solid rgba(255,255,255,.55);backdrop-filter:blur(4px);z-index:2}

/* ===== ファーストビューの写真スライド（2026-10-12）===== */
.home .h-hero-photo{background:#FBF6EF}
.home .h-hero-photo:before,.home .h-hero-photo:after{display:none}
.home .h-bg{position:absolute;inset:0;z-index:0;overflow:hidden}
.home .h-bgs{position:absolute;inset:0;opacity:0;transition:opacity 1.6s ease}
.home .h-bgs.is-on{opacity:1}
.home .h-bgs picture{display:block;width:100%;height:100%}
.home .h-bgs img{display:block;width:100%;height:100%;object-fit:cover;object-position:var(--pos,60% 50%);transform:scale(1.12);transition:transform 8s cubic-bezier(.2,.6,.3,1)}
.home .h-bgs.is-on img{transform:scale(1.0)}
.home .h-bg-veil{position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,rgba(251,246,239,.97) 0%,rgba(251,246,239,.93) 30%,rgba(251,246,239,.62) 46%,rgba(251,246,239,.14) 62%,rgba(251,246,239,0) 74%),linear-gradient(0deg,rgba(251,246,239,.6) 0%,rgba(251,246,239,0) 18%)}
.home .h-hero-photo .h-hero-grid{position:relative;z-index:2;grid-template-columns:minmax(0,590px) 1fr;min-height:min(calc(100vh - 58px),780px)}
.home .h-bg-ui{position:absolute;z-index:3;right:clamp(16px,4vw,56px);bottom:28px;display:flex;align-items:center;gap:16px}
.home .h-bg-cap{font-size:12.5px;font-weight:700;color:#fff;background:rgba(10,40,46,.5);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);padding:7px 14px;border-radius:999px;white-space:nowrap}
.home .h-show-dots{display:flex;justify-content:center;gap:8px}
.home .h-show-dots button{position:relative;width:26px;height:5px;padding:0;border:0;border-radius:999px;background:rgba(255,255,255,.6);box-shadow:0 1px 4px rgba(0,0,0,.18);overflow:hidden;cursor:pointer}
.home .h-show-dots button span{position:absolute;inset:0;width:0;background:var(--h-teal)}
.home .h-show-dots button.on{width:44px}
.home .h-bg.ready .h-show-dots button.on span{animation:h-dot var(--ms,5500ms) linear forwards}
.home .h-bg.still .h-show-dots button.on span{animation:none;width:100%}
@keyframes h-dot{from{width:0}to{width:100%}}
@media(max-width:900px){
  .home .h-bg{position:relative;inset:auto;aspect-ratio:4/3;max-height:62vh;width:100%}
  .home .h-bg-veil{background:linear-gradient(0deg,rgba(251,246,239,1) 0%,rgba(251,246,239,0) 26%)}
  .home .h-bgs img{object-position:50% 50%}
  .home .h-hero-photo .h-hero-grid{min-height:0;padding-top:4px}
  .home .h-bg-ui{right:12px;left:12px;bottom:16px;justify-content:space-between;gap:8px}
  .home .h-bg-cap{font-size:11.5px;padding:6px 11px}
}
@media(prefers-reduced-motion:reduce){.home .h-bgs,.home .h-bgs img{transition:none;transform:none}}

/* ===== 最初の画面の右下：3D動画＋回せる立方体（2026-10-12）＝写真の主役は右上に見せる ===== */
.home .h-hero-photo .h-hero-grid{grid-template-columns:minmax(0,520px) minmax(0,1fr)}
.home .h-collage{align-self:end;display:flex;flex-direction:row;align-items:flex-end;justify-content:flex-end;gap:20px;min-height:0;padding:0 0 26px;--cs:220px}
.home .h-col-vid{position:relative;flex:0 1 340px;min-width:0;display:flex;flex-direction:column;align-items:flex-end}
.home .h-col-vid .h-vid{width:100%;border-radius:18px;box-shadow:0 24px 50px rgba(0,30,36,.32);border:3px solid #fff}
.home .h-col-vid .h3d-cap .ja{font-size:15px}.home .h-col-vid .h3d-cap .en{font-size:10px}
.home .h-mini{position:relative;z-index:2;margin:10px 0 0;font-size:12px;font-weight:600;color:var(--h-ink);background:rgba(255,255,255,.88);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);padding:6px 12px;border-radius:999px;display:inline-block;box-shadow:0 6px 16px rgba(0,40,46,.12);white-space:nowrap}
.home .h-mini a{color:var(--h-teal);font-weight:800;text-decoration:none}
.home .h-mini b{color:var(--h-teal-d)}
.home .h-col-cube{position:relative;z-index:3;flex:0 0 268px;display:flex;flex-direction:column;align-items:center;padding:0;background:none;border-radius:0;box-shadow:none}
.home .h-mini-t{margin:0;font-size:11.5px;font-weight:800;letter-spacing:.06em;color:var(--h-coral);background:rgba(255,255,255,.9);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);padding:5px 12px;border-radius:999px;box-shadow:0 6px 16px rgba(0,40,46,.14)}
.home .h-col-cube .h-duo-cube{display:flex;justify-content:center;width:100%}
.home .h-col-cube .h-cube-stage{margin:calc(var(--cs)*.2) auto calc(var(--cs)*.3)}
.home .h-col-cube .h-face{border-radius:14px}
.home .h-col-cube .h-face .bar{height:18px;padding:0 10px;gap:4px}.home .h-col-cube .h-face .bar i{width:6px;height:6px}
.home .h-col-cube .h-face .lb{font-size:12px;padding:6px 10px;left:10px;bottom:10px}
.home .h-col-cube .h-mini{margin-top:0;font-size:11px;padding:5px 11px}
.home .h-hero-photo .h-bg-ui{top:24px;bottom:auto}
@media(max-width:1100px) and (min-width:901px){.home .h-col-vid{flex-basis:260px}.home .h-col-cube{flex-basis:220px}.home .h-collage{--cs:176px}}
@media(max-width:900px){
  .home .h-hero-photo .h-hero-grid{grid-template-columns:1fr}
  .home .h-collage{display:grid;grid-template-columns:1fr;gap:18px;padding:8px 0 24px;--cs:220px;align-self:auto}
  .home .h-col-vid{align-items:center}
  .home .h-col-cube{width:100%;max-width:340px;margin:0 auto}
  .home .h-mini-t,.home .h-col-cube .h-mini{box-shadow:none}
  .home .h-col-cube .h-face .bar{height:16px}.home .h-col-cube .h-face .lb{font-size:11px}
  .home .h-hero-photo .h-bg-ui{top:auto;bottom:16px}
}
