/* EMU design 店舗見学会ページ（/store-tour/）だけで読み込むCSS。見本 index.html の「B」をそのまま切り出したもの（確認用の ?cap の行は外した）。2026-11-19 フロンティア 真田 */
/* =========================================================
   B. このページだけのCSS　※本番で追加する（固定ページ store-tour だけで読み込む）
   class名はテーマと重ならないことを確かめ済み。変数・幅・区切り（834px）はテーマに合わせてある
   ========================================================= */
:root{
  --main:#000; --base:#fff; --brand:#90876a; --sub01:#f0f0f0; --dark02:#464646;
  --en:'Barlow Condensed','Noto Sans JP',sans-serif;
  --jp:'Noto Sans JP',Hiragino Sans,'Hiragino Kaku Gothic ProN',YuGothic,'Yu Gothic',Meiryo,sans-serif;
}
p,li,dd{text-wrap:pretty;word-break:auto-phrase}
h1,h2,h3,strong,b{word-break:auto-phrase}
h1,h2,h3{text-wrap:balance;font-weight:500}
.nb{display:inline-block}
.mv{padding-top:120px}
.mv .split{display:grid;grid-template-columns:58fr 42fr;align-items:center}
.mv .ph img{width:100%;height:calc(100vh - 160px);max-height:740px;min-height:480px;object-fit:cover;object-position:50% 50%}
.mv .txt{padding:0 56px 0 64px}
.mv .line{display:block;width:43px;height:1px;background:var(--color-main);margin-bottom:22px}
.mv .big{font-family:var(--font-family-gothic-en);font-size:clamp(26px,2.2vw,32px);line-height:1;font-weight:500;letter-spacing:.06em;margin-bottom:16px}
.mv h1 .h1-s{display:block;color:var(--color-main);font-size:clamp(30px,2.8vw,40px);font-weight:600;letter-spacing:.06em;line-height:1.5}
.mv h1 .h1-m{display:block;color:var(--color-brand01);font-size:clamp(17px,1.4vw,20px);font-weight:600;letter-spacing:.08em;line-height:1.6;margin-top:8px}
.mv .catch{font-size:clamp(18px,1.5vw,21px);line-height:1.9;letter-spacing:.06em;margin:28px 0 34px}
.open{padding:130px 0 0;text-align:center}
.open .lead{font-size:clamp(26px,2.5vw,36px);font-weight:600;letter-spacing:.1em;line-height:1.6}
.open .lead .l-markerLine{color:var(--color-main)}
.open .lead small{display:block;font-family:var(--font-family-gothic-en);font-size:1.07rem;color:var(--color-brand01);letter-spacing:.12em;font-weight:500;margin-bottom:10px}
.open p{font-size:1.07rem;line-height:2.2;margin-top:26px}
.open .photo{max-width:1080px;margin:70px auto 0}
.open .photo img{width:100%;aspect-ratio:16/8;object-fit:cover}
.ic{display:block;width:56px;height:56px;fill:none;stroke:var(--color-brand01);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.points3{list-style:none;display:flex;justify-content:center;gap:0;margin:56px auto 0;max-width:900px}
.points3 li{flex:1;display:flex;flex-direction:column;align-items:center;gap:16px;padding:8px 24px;font-size:1.07rem;font-weight:600;line-height:1.6;letter-spacing:.06em}
.points3 li+li{border-left:1px solid #ddd}
.points3 .ic{width:60px;height:60px}
.concept .body{max-width:760px;margin:0 auto;text-align:center;font-size:1.07rem;line-height:2.2}
.steps6{list-style:none;display:grid;grid-template-columns:repeat(6,1fr);margin:64px 0 0;position:relative}
.steps6::before{content:"";position:absolute;left:8.33%;right:8.33%;top:42px;height:1px;background:#d8d3c8;transform-origin:left;transform:scaleX(0);transition:transform 1.1s cubic-bezier(.65,0,.35,1) .1s}
.steps6 li{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;padding:0 8px;font-size:1rem;line-height:1.6}
.steps6 li .ic{width:84px;height:84px;padding:18px;background:#fff;border:1px solid #d8d3c8;border-radius:50%;box-sizing:border-box;position:relative;z-index:1;transition:border-color .4s,background .4s}
.steps6 li b{display:block;font-family:var(--font-family-gothic-en);font-weight:500;font-size:1.73rem;line-height:1;color:var(--color-brand01);margin:18px 0 8px}
.steps6 li .t{font-weight:600;letter-spacing:.04em}
.steps6 li:hover .ic{border-color:var(--color-brand01);background:#faf8f4}
.concept .note{text-align:center;margin-top:50px;font-size:1.07rem}
.eight{margin-top:120px}
.eight .l-title{text-align:center;border:0;margin-bottom:48px;padding-bottom:0;font-size:clamp(24px,2.2vw,32px);letter-spacing:.08em;line-height:1.6}
.eight-en{display:block;font-family:var(--font-family-gothic-en);font-size:1.2rem;font-weight:500;letter-spacing:.14em;color:var(--color-brand01);margin-bottom:10px}
.eight-num{font-family:var(--font-family-gothic-en);font-size:1.9em;font-weight:500;color:var(--color-brand01);line-height:1;margin:0 .06em;vertical-align:-.08em}
.eight ul{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid #ddd;border-left:1px solid #ddd}
.eight li{position:relative;border-right:1px solid #ddd;border-bottom:1px solid #ddd;padding:30px 26px 32px;transition:background .4s}
.eight li:hover{background:#faf8f4}
.eight li .n{position:absolute;right:20px;top:22px;font-family:var(--font-family-gothic-en);font-size:1.33rem;font-weight:500;line-height:1;color:var(--color-brand01)}
.eight li .ic{width:56px;height:56px;margin-bottom:16px}
.eight li strong{display:block;font-size:1.13rem;font-weight:600;letter-spacing:.06em;margin-bottom:6px}
.eight li p{font-size:0.93rem;line-height:1.9}
.tour{background:var(--color-sub01)}
.tour-ph{max-width:1000px;margin:0 auto 64px}
.tour-ph img{width:100%}
.tour-ph figcaption{font-size:0.87rem;color:#555;margin-top:10px;text-align:center}
.tour-lead{text-align:center}
.tour-lead p{font-size:1.07rem;line-height:2.2}
.tour-lead p+p{margin-top:10px}
.tour-lead .em{margin-top:30px;font-size:clamp(18px,1.6vw,21px);font-weight:600;letter-spacing:.08em}
.see{list-style:none;display:grid;grid-template-columns:repeat(5,1fr);gap:0;margin:40px 0 0;border-top:1px solid #ccc;border-left:1px solid #ccc}
.see li{background:transparent;border-right:1px solid #ccc;border-bottom:1px solid #ccc;display:flex;flex-direction:column;align-items:center;gap:16px;padding:34px 12px 30px;text-align:center;font-size:1rem;font-weight:600;line-height:1.6;letter-spacing:.04em;transition:background .4s}
.see li:hover{background:#fff}
.see-after{text-align:center;margin-top:28px;font-size:1.07rem}
.tour .ok{display:flex;gap:28px;align-items:flex-start;max-width:820px;margin:64px auto 0;background:#fff;padding:40px 48px 42px;border-top:1px solid var(--color-brand01)}
.tour .ok .ic{width:48px;height:48px}
.tour .ok b{display:block;font-size:1.2rem;font-weight:600;letter-spacing:.08em;margin-bottom:10px}
.tour .ok p{font-size:1.03rem;line-height:2.1}
.tour .ok p+p{margin-top:12px}
.tour .btn-center{text-align:center;margin-top:44px}
.works .intro-t{text-align:center;font-size:1.07rem;line-height:2.2}
.case{display:grid;grid-template-columns:1.25fr 1fr;gap:64px;align-items:center;margin-top:100px}
.case.rev .ph{order:2}
.case.rev{grid-template-columns:1fr 1.25fr}
.case .ph img{width:100%;aspect-ratio:16/11;object-fit:cover}
.case .no{font-family:var(--font-family-gothic-en);font-size:1.07rem;color:var(--color-brand01);letter-spacing:.1em}
.case h3{font-size:1.6rem;font-weight:600;letter-spacing:.06em;margin:6px 0 4px}
.case .cat{font-family:var(--font-family-gothic-en);font-size:1.07rem;color:#666}
.case .pt{margin-top:22px;padding-top:20px;border-top:1px solid var(--color-brand01);font-size:1rem;line-height:2.1}
.case .pt p+p{margin-top:10px}
.case .pt b{display:block;font-size:0.93rem;color:var(--color-brand01);font-weight:600;margin-bottom:4px}
.works .more{text-align:center;margin-top:90px}
.message{background:var(--color-sub01)}
.msg-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:start}
.msg-grid img{width:100%;aspect-ratio:4/4.4;object-fit:cover;object-position:50% 40%}
.msg-grid h2{font-size:clamp(22px,2vw,28px);font-weight:600;letter-spacing:.08em;line-height:1.7;margin-bottom:26px}
.msg-grid p{font-size:1.03rem;line-height:2.1}
.msg-grid p+p{margin-top:16px}
.sp-fix{display:none}
.scroll{display:inline-flex;align-items:center;gap:14px;margin-top:4px;font-family:var(--font-family-gothic-en);font-size:0.87rem;letter-spacing:.24em;color:#555}
.scroll i{display:block;width:64px;height:1px;background:#ccc;position:relative;overflow:hidden}
.scroll i::after{content:"";position:absolute;inset:0;background:var(--color-main);transform:translateX(-101%);transition:transform .6s cubic-bezier(.65,0,.35,1)}
.scroll:hover i::after{transform:translateX(0)}

/* --- 文字の折り返し（このページだけ） --- */
main{font-size:1rem;line-height:2;letter-spacing:.04em;font-feature-settings:"palt"}
main>section:not(.l-cv){padding:130px 0}
/* --- ボタンの付け足し --- */
.l-btn.-mail{display:inline-flex;align-items:center;justify-content:space-between;gap:2em;font-family:var(--font-family-gothic);font-size:1.05rem;padding:.95em 1.6em .95em 2em;background:#fff}
.l-btn.-mail::after{content:none} /* テーマの矢印（Font Awesome）を消す：ページ内ではなくフォームへ行くが、メールの印にそろえる */
.l-btn.-mail img{width:17px;opacity:.85}
.l-btn.-mail:hover img{filter:invert(1)}
/* --- Contact帯の付け足し（このページだけの見出しと一言） --- */
.l-cv .c-h{font-size:1.5rem;font-weight:600;letter-spacing:.1em;margin-top:.8em}
.l-cv .c-note{font-size:.8rem;margin-top:2em;opacity:.9}
.l-cv-btn:hover{box-shadow:0 0 1.5em #fff}

/* =========================================================
   動き（このページだけ）：テーマの is-show に合わせて足す
   ========================================================= */
/* MV：写真が左から開く（テーマの l-mask。遅れなしで1.1秒）→ 文字が順に出る */
.mv .l-mask{display:block;transition:clip-path 1.1s cubic-bezier(.55,0,.15,1) 0s;overflow:hidden}
/* 合図（data-name="inview"）は外の箱に付ける。幕で幅0の要素は画面に入ったと判定されず、写真が出ないため */
.mv .ph.is-show .l-mask{clip-path:polygon(0% 0%,100% 0%,100% 100%,0 100%)}
.mv .txt.l-stepFade-up>*{transition-duration:.7s}
.mv .txt>.line{width:0;transform:none!important;transition:width .7s cubic-bezier(.65,0,.35,1) .2s,opacity .3s .2s}
.mv .txt.is-show>.line{width:43px}
.mv .txt.is-show>:nth-child(2){transition-delay:.25s}
.mv .txt.is-show>:nth-child(3){transition-delay:.35s}
.mv .txt.is-show>:nth-child(4){transition-delay:.55s}
.mv .txt.is-show>:nth-child(5){transition-delay:.9s}
/* 並んだ部品：テーマの l-stepFade-up に、1つずつの遅れを足す */
.l-stepFade-up.is-show>:nth-child(2){transition-delay:.19s}
.l-stepFade-up.is-show>:nth-child(3){transition-delay:.28s}
.l-stepFade-up.is-show>:nth-child(4){transition-delay:.37s}
.l-stepFade-up.is-show>:nth-child(5){transition-delay:.46s}
.l-stepFade-up.is-show>:nth-child(6){transition-delay:.55s}
.l-stepFade-up.is-show>:nth-child(7){transition-delay:.64s}
.l-stepFade-up.is-show>:nth-child(8){transition-delay:.73s}
/* 線アイコン：6つの流れ・8つのことだけ、図面のように線を描く */
.steps6 .ic *,.eight .ic *{stroke-dasharray:1 1;stroke-dashoffset:1}
.steps6.is-show .ic *,.eight .is-show .ic *{stroke-dashoffset:0;animation:emu-draw 1.1s cubic-bezier(.65,0,.35,1) .35s backwards}
@keyframes emu-draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
.steps6::before{content:"";position:absolute;left:8.33%;right:8.33%;top:42px;height:1px;background:#d8d3c8;transform-origin:left;transform:scaleX(0);transition:transform 1.1s cubic-bezier(.65,0,.35,1) .1s}
.steps6.is-show::before{transform:scaleX(1)}
/* 写真：今のサイト（コンセプトページの写真）と同じ data-fade="fade-up"（1.5秒・下から20px） */
.photo,.tour-ph,.case .ph,.msg-photo{display:block;overflow:hidden}
.case .ph.is-show:hover img{scale:1.03;transition-duration:.5s}
/* 動きを減らす設定：すべて最後の形で表示 */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  [data-fade],.l-stepFade-up>*{opacity:1!important;transform:none!important;transition:none!important}
  .l-mask,.l-mask-up{clip-path:none!important}
  .l-mask img,.l-mask-up img{scale:1!important}
  .mv .txt>.line{width:43px!important}
  .ic *{stroke-dashoffset:0!important;animation:none!important}
  .steps6::before{transform:none!important}
}

/* --- スマホ（テーマと同じ 834px で切り替え） --- */
@media screen and (max-width:834px){
  main>section:not(.l-cv){padding:84px 0}
  .l-btn.-mail{width:100%;min-width:0;gap:1em;padding:.95em 1.2em;white-space:nowrap}
  .l-cv .c-h .nb{display:block}
  .l-cv .l-cv-item{width:100%;display:flex;justify-content:center}
  .l-cv .l-cv-btn{width:100%;max-width:21em} /* 文言が長いので、このページだけ少し広げる */
  .l-cv .c-h{font-size:1.25rem}
  body{padding-bottom:70px}
  .mv{padding-top:72px}
  .mv .split{grid-template-columns:1fr}
  .mv .ph img{height:auto;min-height:0;aspect-ratio:4/3.2}
  .mv .txt{padding:24px 20px 0}
  .mv .line{margin-bottom:12px}
  .mv .big{font-size:1.71rem;margin-bottom:10px}
  .mv h1 .h1-s{font-size:clamp(22px,7vw,27px)}
  .mv h1 .h1-m{font-size:1.14rem;margin-top:4px}
  .mv .catch{font-size:1.29rem;margin:16px 0 22px}
  .open{padding:60px 0 0}
  .open p{font-size:1.07rem;text-align:left}
  .open .photo{margin-top:40px}
  .open .photo img{aspect-ratio:4/3}
  .concept .body{text-align:left;font-size:1.07rem}
  .steps6{grid-template-columns:repeat(3,1fr);gap:30px 0;margin-top:44px}
  .steps6::before{display:none}
  .steps6 li{font-size:0.89rem;padding:0 2px;letter-spacing:0}
  .steps6 li .t{letter-spacing:0;min-height:3.2em}
  .open p,.concept .body,.tour-lead p,.works .intro-t{line-height:1.95}
  .steps6 li .ic{width:64px;height:64px;padding:13px}
  .steps6 li b{font-size:1.57rem;margin:12px 0 4px}
  .points3{margin-top:36px}
  .points3{flex-direction:column;max-width:290px;gap:14px}
  .points3 li{flex-direction:row;align-items:center;gap:16px;padding:0;font-size:1.07rem;text-align:left}
  .points3 li+li{border-left:0}
  .points3 li br{display:none}
  .points3 .ic{width:40px;height:40px;flex:none}
  .see{grid-template-columns:1fr 1fr;gap:0}
  .see li{padding:24px 8px 22px;font-size:1rem;gap:12px}
  .see li:last-child{grid-column:1/-1}
  .see li .ic{width:50px;height:50px}
  .tour-lead{text-align:left}
  .tour-lead p{font-size:1.07rem}
  .tour-lead .em{font-size:1.21rem}
  .see-after{text-align:left;font-size:1.07rem}
  .tour .ok{flex-direction:column;gap:14px;padding:28px 22px 30px;margin-top:44px}
  .tour .ok .ic{width:40px;height:40px}
  .eight li .ic{width:46px;height:46px;margin-bottom:10px}
  .eight li .n{font-size:1.29rem;right:12px;top:14px}
  br.pc{display:none}
  .concept .note{text-align:left;font-size:1.07rem}
  .eight{margin-top:70px}
  .eight ul{grid-template-columns:1fr 1fr}
  .eight li{padding:18px 14px 20px}
  .eight li strong{font-size:1.07rem}
  .eight li p{font-size:0.96rem}
  .msg-grid{grid-template-columns:1fr;gap:34px}
  .tour-ph{margin-bottom:40px}
  .case{grid-template-columns:1fr;gap:26px;margin-top:64px}
  .case.rev .ph{order:0}
  .case.rev{grid-template-columns:1fr}
  .msg-grid img{aspect-ratio:4/3.4}
  .case h3{font-size:1.29rem;letter-spacing:.02em}
  .case .pt{line-height:1.95}
  .case .pt p+p{margin-top:6px}
  .works .intro-t{text-align:left;font-size:1.07rem}
  .works .more{margin-top:56px}
  .sp-fix{display:grid;grid-template-columns:1fr 1fr;gap:8px;position:fixed;left:0;right:0;bottom:0;z-index:50;padding:10px;background:var(--color-dark02);translate:0 110%;transition:translate .4s}
  .sp-fix.show{translate:0 0}
  .sp-fix a{display:flex;align-items:center;justify-content:center;gap:8px;min-height:50px;border-radius:10em;background:#fff;font-size:1rem}
  .sp-fix img{width:15px}
}
