/* 株式会社TON 会社サイト — C案「霧と形」を土台にした共通スタイル
   明暗の面を左右・上下で切り替える構成。明朝の見出し、細い罫、色の形（楕円）がアクセント。 */
:root{
  --dark:#101216; --dark2:#171a20; --light:#ececea; --light2:#f6f6f4;
  --ink-d:#eceae4; --ink-l:#15171b; --muted-d:#7f8390; --muted-l:#7b7d82;
  --line-d:rgba(255,255,255,.14); --line-l:rgba(0,0,0,.12);
  --c1:#1aa7b2; --c2:#e05d26; --c3:#2b5fd9; --c4:#45b47a; --c5:#cdbfd0;
  --ease:cubic-bezier(.22,1,.36,1);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth; -webkit-text-size-adjust:100%}
body{margin:0; background:var(--dark); color:var(--ink-d); font-family:"Noto Sans JP",-apple-system,"Hiragino Sans",sans-serif; line-height:1.95; letter-spacing:.04em; overflow-x:hidden; font-size:16px}
a{color:inherit; text-decoration:none}
p{margin:0 0 1em}
.mincho{font-family:"Shippori Mincho","Hiragino Mincho ProN",serif; font-weight:500}
.en{font-family:Inter,sans-serif; font-size:10px; letter-spacing:.3em; text-transform:uppercase}
.sr{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0)}

/* ヘッダー（左右の明暗どちらでも読めるよう difference 合成） */
header.site{position:fixed; inset:0 0 auto; z-index:20; mix-blend-mode:difference; color:#fff}
header.site .in{display:flex; justify-content:space-between; align-items:flex-start; padding:34px 44px}
header.site .brand{line-height:1.3}
header.site .brand b{display:block; font-weight:700; font-size:14px; letter-spacing:.12em}
header.site .brand span{display:block; font-family:Inter; font-size:9px; letter-spacing:.3em; opacity:.7; margin-top:4px}
header.site nav{display:flex; gap:34px; padding-top:4px}
header.site nav a{font-family:Inter,"Noto Sans JP",sans-serif; font-size:11px; letter-spacing:.22em; position:relative; padding-bottom:4px}
header.site nav a::after{content:""; position:absolute; left:0; bottom:0; width:100%; height:1px; background:#fff; transform:scaleX(0); transform-origin:right; transition:transform .5s var(--ease)}
header.site nav a:hover::after,header.site nav a[aria-current="page"]::after{transform:scaleX(1); transform-origin:left}

/* 左の縦ラベル */
.side-label{position:fixed; left:44px; top:50%; transform:translateY(-50%); writing-mode:vertical-rl; z-index:10; mix-blend-mode:difference; color:#fff; display:flex; gap:14px; align-items:center}
.side-label .en{opacity:.8}
.side-label i{display:block; width:1px; height:60px; background:#fff; opacity:.5}

/* 共通ボタン的リンク（罫＋英字） */
.view{display:inline-flex; align-items:center; gap:18px; font-family:Inter,"Noto Sans JP",sans-serif; font-size:12px; letter-spacing:.14em}
.view i{display:block; width:60px; height:1px; background:currentColor; transition:width .5s var(--ease)}
.view:hover i{width:90px}

/* ===== 動く背景（トップのみ。固定して全画面に敷く） ===== */
.bgfx{position:fixed; inset:0; z-index:0; overflow:hidden; background:#000; pointer-events:none}
/* ブラックホールの動画：画面全体に敷く（拡大縮小はしない。カーソルでわずかに視差が付くだけ） */
.bgfx .bh{position:absolute; left:50%; top:50%; width:88vw; height:88vh; object-fit:contain; transform-origin:center;   /* 遠くに見せるため画面の 88% に収める。余白は黒 */
  --px:0px; --py:0px; --sx:14vw; translate:calc(-50% + var(--sx) + var(--px)) calc(-50% + var(--py)); will-change:transform; background:#000;
  /* 映像の四角い縁を黒に溶かす */
  -webkit-mask-image:radial-gradient(ellipse 60% 58% at 50% 50%,#000 30%,rgba(0,0,0,.55) 62%,transparent 96%);
  mask-image:radial-gradient(ellipse 60% 58% at 50% 50%,#000 30%,rgba(0,0,0,.55) 62%,transparent 96%)}
/* 左は黒く、右へ向かって徐々に画像が見える（文字を読みやすくする） */
.bgfx::after{content:""; position:absolute; inset:0; z-index:2; pointer-events:none;
  background:linear-gradient(90deg,#000 0%,rgba(0,0,0,.92) 18%,rgba(0,0,0,.6) 40%,rgba(0,0,0,.15) 62%,rgba(0,0,0,0) 80%)}
/* 見出しの1文字ずつ（渦巻きの散り方に使う） */
.ch{display:inline; white-space:nowrap; transform-origin:center}
.warp.anim .ch{display:inline-block}   /* 動いている面だけ（変形は inline には効かないため）。止まっている時は inline でページ内検索に引っかかる */
.bgfx canvas{position:absolute; inset:-4%; width:108%; height:108%}
.bgfx .grain{position:absolute; inset:0; opacity:.07; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E")}
body.has-bgfx main{position:relative; z-index:1}
body.has-bgfx{background:transparent}

/* ===== トップ：ヒーロー（霧の上に全幅） ===== */
.hero{display:grid; grid-template-columns:1fr 1fr; min-height:100vh; position:relative}
.hero.full{grid-template-columns:1fr; background:transparent}
/* 吸い込み・出現：各面は高さ 2.2 画面分、中身（.warp）は画面に貼り付いて、面の中の進み具合で文字が渦を巻く。
   下地の色は .warp 側に持たせ、濃さは --pane（1=通常, 0=透明） */
body.has-bgfx .sec,body.has-bgfx .hero{display:block; position:relative; background:transparent}
.warp-on body.has-bgfx .sec .warp,.warp-on body.has-bgfx .hero .warp{position:sticky; top:0; height:100vh; overflow:hidden}
body.has-bgfx .sec .warp{display:grid; grid-template-columns:1fr 1fr}
body.has-bgfx .sec .warp .text{padding:100px 60px 60px 120px}
body.has-bgfx .sec .warp dl.profile dt,body.has-bgfx .sec .warp dl.profile dd{padding:9px 0}
body.has-bgfx .sec .warp dl.profile dt{padding-top:14px}
body.has-bgfx .company .warp h2{margin-bottom:14px}
body.has-bgfx .company .warp .view{margin-top:28px}
body.has-bgfx .hero .warp{padding-top:150px; padding-bottom:70px}
body.has-bgfx .hero .warp .foot{margin-top:0}
body.has-bgfx .contact .warp{position:static; height:auto}
@media(min-width:601px){
  body.has-bgfx .contact{min-height:100vh; display:flex; flex-direction:column}
  body.has-bgfx .contact .warp{flex:1; display:flex; flex-direction:column; justify-content:center}   /* 下地が面全体に広がり、中身は中央。高い画面でも上下に動画の帯が出ない */
}
@media(min-width:601px) and (max-height:940px){   /* 低い画面：Contact の余白を詰めて 1 画面に収める（約 910px → 約 680px） */
  body.has-bgfx .contact .warp{padding-top:110px}
  body.has-bgfx .contact .row{margin-bottom:64px} body.has-bgfx .contact .mail{margin-bottom:64px} body.has-bgfx .contact .bottom{margin-top:64px}
}
@media(min-width:601px) and (max-width:900px) and (max-height:820px){   /* 中間幅で低い画面：Contact をさらに詰める（2 列の表で高くなるため） */
  body.has-bgfx .contact .warp{padding-top:64px; padding-bottom:28px}
  body.has-bgfx .contact .row{margin-bottom:36px} body.has-bgfx .contact .mail{margin-bottom:40px} body.has-bgfx .contact .bottom{margin-top:40px}
  body.has-bgfx .contact .grid{gap:14px 24px} body.has-bgfx .contact .grid a{margin-bottom:2px}
}
/* トップでは固定ヘッダーの 2 行目を出さない（貼り付いた面の「01 Philosophy」と重なるため） */
body.has-bgfx header.site .brand span{display:none}
@media(min-width:601px){.warp-on body.has-bgfx .hero{height:200vh} .warp-on body.has-bgfx .sec{height:240vh}}
/* 低い画面（高さ 860px 以下）：会社概要の面が 1 画面に収まるよう文字と余白を詰める */
@media(min-width:901px) and (max-height:860px){
  body.has-bgfx .company .warp .text{padding:64px 60px 40px 120px; line-height:1.65}
  body.has-bgfx .company .warp h2{font-size:30px; margin-bottom:8px}
  body.has-bgfx .company .warp dl.profile{margin-top:14px}
  body.has-bgfx .company .warp dl.profile dt{padding:8px 0 0; font-size:9px}
  body.has-bgfx .company .warp dl.profile dd{padding:2px 0 7px; font-size:13px}
  body.has-bgfx .company .warp dl.profile dd ol{font-size:12px; line-height:1.5}
  body.has-bgfx .company .warp .view{margin-top:16px}
  body.has-bgfx .sec .warp .text{padding-top:80px}
}
/* 幅 601〜900px：1列にして写真の箱は隠す（面の中身を1画面に収める） */
@media(min-width:601px) and (max-width:900px){
  body.has-bgfx .sec .warp,body.has-bgfx .sec.flip .warp{display:grid; grid-template-columns:1fr}
  body.has-bgfx .sec .warp .media{display:none}
  body.has-bgfx .sec .warp .text{padding:90px 24px 60px}
  body.has-bgfx .hero .warp{padding:120px 28px 50px}
  body.has-bgfx .company .warp .text{background:transparent; color:var(--ink-d)}
  body.has-bgfx .company .warp .text{padding:64px 24px 40px; line-height:1.65}
  body.has-bgfx .company .warp h2{font-size:28px; margin-bottom:6px}
  body.has-bgfx .company .warp dl.profile{margin-top:14px} body.has-bgfx .company .warp dl.profile dt{padding:9px 0 0; font-size:9px} body.has-bgfx .company .warp dl.profile dd{padding:3px 0 8px; font-size:13px} body.has-bgfx .company .warp dl.profile dd ol{font-size:12px; line-height:1.55}
  body.has-bgfx .company .warp .view{margin-top:18px}
  body.has-bgfx .company .warp{background:rgba(16,18,22,calc(.8 * var(--pane,1)))}
  body.has-bgfx .company .warp dl.profile,body.has-bgfx .company .warp dl.profile dt,body.has-bgfx .company .warp dl.profile dd{border-color:rgba(255,255,255,calc(.14 * var(--deco,1)))} body.has-bgfx .company .warp dl.profile dt{color:var(--muted-d)} body.has-bgfx .company .warp dl.profile dd ol{color:#b4b7bf}
}
.hero.full .left{padding-right:120px}
.hero.full .left>*{position:relative}
.hero.full .foot{margin-top:0}
.hero .left{position:relative; padding:170px 60px 80px 120px; display:flex; flex-direction:column; justify-content:space-between}
.hero h1{font-size:clamp(34px,3.6vw,56px); line-height:1.55; margin:0; letter-spacing:.06em; font-weight:500}
.hero h1 > span{display:block}
.hero h1 > span:nth-child(2){padding-left:1.2em}
.hero h1 > span:nth-child(3){padding-left:2.6em}
.hero .left p{color:#b4b7bf; font-size:14px; max-width:420px; margin:40px 0 0}
.hero .left .view{margin-top:50px}
.hero .foot{display:flex; justify-content:space-between; font-family:Inter; font-size:10px; letter-spacing:.2em; color:var(--muted-d); margin-top:80px}
.hero .right{position:relative; background:var(--light); overflow:hidden}
.hero .photo{position:absolute; inset:0; background-size:cover; background-position:center;
  background-image:url(/img/hero.jpg),
    radial-gradient(ellipse at 30% 80%,rgba(0,0,0,.25),transparent 50%),
    linear-gradient(180deg,#d9dad8 0%,#bfc2c3 45%,#8d9296 100%)}
.hero .fog{position:absolute; inset:-20%; background:radial-gradient(ellipse at 50% 40%,rgba(255,255,255,.55),transparent 60%); animation:fog 18s ease-in-out infinite alternate; pointer-events:none}
@keyframes fog{from{transform:translate(-4%,0) scale(1)}to{transform:translate(4%,-3%) scale(1.1)}}
.hero .shapes{position:absolute; left:0; right:0; bottom:0; height:60%; display:flex; align-items:flex-end; justify-content:center; gap:4%; padding:0 10%}
.hero .shapes i{display:block; width:14%; border-radius:50% 50% 0 0/100% 100% 0 0; height:var(--h); mix-blend-mode:multiply; opacity:.85; transform-origin:bottom; animation:grow 1.6s var(--ease) both; animation-delay:var(--d)}
@keyframes grow{from{transform:scaleY(0)}to{transform:scaleY(1)}}
.hero .tag{position:absolute; right:44px; bottom:44px; font-family:Inter; font-size:10px; letter-spacing:.2em; color:var(--ink-l)}

/* ===== 節（左右2分割） ===== */
.sec{display:grid; grid-template-columns:1fr 1fr; min-height:90vh}
.sec .text{padding:140px 60px 120px 120px; position:relative}
.sec .num{position:absolute; left:120px; top:60px}
.sec .line{position:absolute; left:0; top:68px; width:90px; height:1px; background:currentColor; opacity:.5}
.sec h2{font-size:clamp(32px,3.4vw,48px); margin:0 0 30px; font-weight:500; letter-spacing:.06em; line-height:1.5}
.sec h3{font-size:16px; font-weight:500; margin:0 0 26px; letter-spacing:.08em}
.sec p{font-size:14px; max-width:460px}
.sec .view{margin-top:46px}
.sec .media{position:relative; overflow:hidden}
.sec .ph{position:absolute; inset:60px 60px 60px 0; background-size:cover; background-position:center}
.sec.flip .ph{inset:60px 0 60px 60px}

.phil{background:var(--dark)} body.has-bgfx .phil .warp{background:rgba(16,18,22,calc(.72 * var(--pane,1)))}
.phil p{color:#b4b7bf}
.phil .ph{background-image:url(/img/philosophy.jpg),linear-gradient(170deg,#262a32,#15181d)}

.biz{background:var(--light2); color:var(--ink-l)} body.has-bgfx .biz .warp{background:rgba(16,18,22,calc(.74 * var(--pane,1)))}
body.has-bgfx .biz{color:var(--ink-d)} body.has-bgfx .biz p{color:#b4b7bf}
body.has-bgfx .biz .list{border-color:var(--line-d)} body.has-bgfx .biz .item{border-color:var(--line-d)} body.has-bgfx .biz .item .en{color:var(--muted-d)}
body.has-bgfx .biz .ph{background-image:url(/img/business.jpg),linear-gradient(160deg,#262a32,#15181d)}
.biz p{color:#4d5058}
.biz .ph{background-image:url(/img/business.jpg),linear-gradient(160deg,#dfe0dd,#c9cbca)}
.biz .list{margin-top:40px; border-top:1px solid var(--line-l)}
.biz .item{display:grid; grid-template-columns:50px 1fr; gap:20px; padding:26px 0; border-bottom:1px solid var(--line-l); align-items:start}
.biz .item .en{color:var(--muted-l); padding-top:8px}
.biz .item h4{margin:0 0 8px; font-size:17px; font-weight:700; line-height:1.6}
.biz .item p{margin:0; font-size:13px}
.sw{display:inline-block; width:9px; height:9px; border-radius:50%; margin:0 12px 3px 0; vertical-align:middle; border:1px solid currentColor; opacity:.7}

.company{background:var(--dark)} body.has-bgfx .company .warp{background:rgba(16,18,22,calc(.8 * var(--pane,1)))}
.company .text{background:var(--light2); color:var(--ink-l)}
.company .media{display:flex; align-items:center; justify-content:center; padding:60px}
.company .mark{font-size:clamp(60px,8vw,120px); letter-spacing:.1em; line-height:1; color:#fff; opacity:.9}
.company .mark small{display:block; font-family:Inter; font-size:11px; letter-spacing:.4em; margin-top:24px; opacity:.6}

/* 定義リスト（会社概要の表） */
dl.profile{display:grid; grid-template-columns:170px 1fr; margin:30px 0 0; border-top:1px solid var(--line-l)}
dl.profile dt,dl.profile dd{margin:0; padding:18px 0; border-bottom:1px solid var(--line-l); font-size:14px}
dl.profile dt{font-family:Inter; font-size:10px; letter-spacing:.24em; color:var(--muted-l); padding-top:24px}
dl.profile dd ol{margin:0; padding-left:0; list-style:none; color:#4d5058; font-size:13px}
dl.profile dd ol li{margin:2px 0}

/* ===== 下層ページ ===== */
.page-head{background:var(--dark); padding:190px 120px 90px; position:relative}
.page-head .num{position:absolute; left:120px; top:120px}
.page-head .line{position:absolute; left:0; top:128px; width:90px; height:1px; background:#fff; opacity:.5}
.page-head h1{font-size:clamp(36px,4vw,60px); margin:0; font-weight:500; letter-spacing:.08em; line-height:1.4}
.page-head .lead{color:#b4b7bf; font-size:14px; max-width:560px; margin:26px 0 0}
.page-body{background:var(--light2); color:var(--ink-l); padding:100px 120px 120px}
.page-body .inner{max-width:820px}
.page-body p,.page-body li{font-size:14px; color:#3a3d44}
.page-body h2{font-size:20px; font-weight:500; letter-spacing:.06em; margin:52px 0 14px; padding-left:14px; border-left:2px solid var(--ink-l); line-height:1.5}
.page-body h2:first-child{margin-top:0}
.page-body h3{font-size:15px; font-weight:700; margin:24px 0 8px}
.page-body ul,.page-body ol{padding-left:1.4em}
.page-body table{width:100%; border-collapse:collapse; font-size:13px; margin:8px 0 18px}
.page-body th,.page-body td{border-bottom:1px solid var(--line-l); padding:12px 10px; text-align:left; vertical-align:top}
.page-body th{font-weight:500; color:var(--muted-l); width:34%; font-size:12px}
.page-body a{border-bottom:1px solid rgba(0,0,0,.3)}
.page-body a:hover{border-color:var(--ink-l)}
.page-body .meta{font-family:Inter,"Noto Sans JP",sans-serif; font-size:11px; letter-spacing:.14em; color:var(--muted-l); margin:0 0 36px}
.page-body dl.profile{max-width:820px}
.page-body .cards{display:grid; grid-template-columns:1fr 1fr; gap:24px; max-width:1000px}
.page-body .card{border:1px solid var(--line-l); padding:34px 32px 38px; background:#fff; position:relative; overflow:hidden}
.page-body .card .shape{position:absolute; right:-10px; top:-40px; width:110px; height:160px; border-radius:50%; background:linear-gradient(180deg,#d8dadd,#eef0f2); opacity:.9; transition:transform .9s var(--ease)}
.page-body .card:hover .shape{transform:translateY(-10px) scale(1.06)}
.page-body .card .en{color:var(--muted-l)}
.page-body .card h3{font-size:19px; margin:16px 0 12px; line-height:1.55; position:relative}
.page-body .card p{margin:0; font-size:13px; position:relative}
.page-body .note{color:var(--muted-l); font-size:13px; margin-top:34px}
.page-body .big-mail{display:inline-block; font-family:Inter; font-size:clamp(22px,3vw,40px); letter-spacing:.04em; border-bottom:1px solid var(--ink-l); padding-bottom:8px; margin:10px 0 28px; word-break:break-all}
.page-body .big-mail:hover{border-color:var(--c3); color:var(--c3)}

/* ===== お問い合わせ＋フッター（最終画面） ===== */
.contact{background:var(--dark); padding:160px 120px 60px; position:relative; color:var(--ink-d)} body.has-bgfx .contact{background:transparent} body.has-bgfx .contact .warp{background:rgba(10,11,14,calc(.88 * var(--pane,1))); margin:-160px -120px -60px; padding:160px 120px 60px}
.contact .row{display:flex; align-items:center; gap:30px; margin-bottom:120px}
.contact .row i{display:block; width:150px; height:1px; background:#fff; opacity:.6}
.contact .row h2{font-size:clamp(32px,3.6vw,52px); margin:0; font-weight:500; letter-spacing:.08em}
.contact .mail{display:inline-block; font-family:Inter; font-size:clamp(18px,2.2vw,28px); letter-spacing:.06em; border-bottom:1px solid rgba(255,255,255,.5); padding-bottom:8px; margin-bottom:120px; transition:border-color .4s}
.contact .mail:hover{border-color:#fff}
.contact .grid{display:grid; grid-template-columns:repeat(4,1fr); gap:30px; font-size:12px; color:#b4b7bf}
.contact .grid .en{color:var(--muted-d); display:block; margin-bottom:12px}
.contact .grid a{display:block; margin-bottom:6px}
.contact .bottom{display:flex; justify-content:space-between; margin-top:120px; font-family:Inter; font-size:10px; letter-spacing:.2em; color:var(--muted-d)}
.contact.compact{padding-top:110px}
.contact.compact .row{margin-bottom:70px}
.contact.compact .mail{margin-bottom:80px}
.contact.compact .bottom{margin-top:80px}

/* 吸い込み中は装飾（罫線・短い線・輪）も文字と一緒に薄くなる（--deco 1=通常, 0=透明） */
body.has-bgfx .warp dl.profile,body.has-bgfx .warp dl.profile dt,body.has-bgfx .warp dl.profile dd,body.has-bgfx .warp .list,body.has-bgfx .warp .item{border-color:rgba(128,132,140,calc(.45 * var(--deco,1)))}
body.has-bgfx .warp .view i,body.has-bgfx .warp .line,body.has-bgfx .warp .sw,body.has-bgfx .warp .row i{opacity:calc(.7 * var(--deco,1))}
body.has-bgfx .warp .mail{align-self:flex-start; border-bottom-color:rgba(255,255,255,calc(.5 * var(--deco,1)))}   /* メールの下線：文字の幅に収め、文字と一緒に薄くなる */

/* スクロール出現 */
.rv{opacity:0; transform:translateY(26px); transition:opacity 1.1s ease, transform 1.2s var(--ease)}
.rv.in{opacity:1; transform:none}
@media(prefers-reduced-motion:reduce){.rv{opacity:1; transform:none; transition:none} .hero .fog,.hero .shapes i{animation:none} .bgfx canvas{display:none} .bgfx .bh{animation:none}}

@media(max-width:900px){
  body{font-size:15px}
  header.site{position:absolute}  /* スマホでは固定しない（小さな英字が本文に重なるため） */
  header.site .in{padding:22px 20px}
  header.site nav,.side-label{display:none}
  .hero,.sec{grid-template-columns:1fr}
  .hero .left{padding:120px 20px 50px; min-height:70vh}
  .hero.full .left{padding-right:20px; min-height:100vh}
  .hero.full .foot{margin-top:40px}
  .hero .right{min-height:60vh}
  .hero .foot{margin-top:50px}
  .sec .text{padding:90px 20px 70px}
  .sec .num{left:20px; top:40px} .sec .line{display:none}
  .sec .media{min-height:50vh}
  .sec .ph,.sec.flip .ph{inset:0}
  .sec.flip{display:flex; flex-direction:column-reverse}
  body.has-bgfx .contact .warp{margin:-90px -20px -40px; padding:90px 20px 40px}
  dl.profile{grid-template-columns:1fr}
  dl.profile dt{padding-bottom:0; border:none} dl.profile dd{padding-top:4px}
  .page-head{padding:130px 20px 60px} .page-head .num{left:20px; top:90px} .page-head .line{display:none}
  .page-body{padding:60px 20px 80px}
  .page-body .cards{grid-template-columns:1fr}
  .page-body th{display:block; width:100%; border:none; padding-bottom:0} .page-body td{display:block; padding-top:4px}
  .contact{padding:90px 20px 40px}
  .contact .row{margin-bottom:60px} .contact .row i{width:40px}
  .contact .mail{margin-bottom:60px}
  .contact .grid{grid-template-columns:1fr 1fr}
  .contact .bottom{margin-top:60px; flex-direction:column; gap:8px}
}

/* Contact もトップ（幅 601px 以上）では他の面と同じく画面に貼り付ける。
   面が下から入ってくる間は文字は穴の中にあり、貼り付いてから文字が穴から出てくる（スマホは下の指定で通常表示） */
@media(min-width:601px){
  .warp-on body.has-bgfx .contact{height:150vh; min-height:0; padding:0; display:block}
  .warp-on body.has-bgfx .contact .warp{position:sticky; top:0; height:100vh; margin:0; padding:160px 120px 60px; overflow:hidden; display:flex; flex-direction:column; justify-content:center}
}
@media(min-width:901px) and (max-height:940px){ .warp-on body.has-bgfx .contact .warp{padding:110px 120px 60px} }
@media(min-width:601px) and (max-width:900px){ .warp-on body.has-bgfx .contact .warp{padding:90px 20px 40px} }
@media(min-width:601px) and (max-width:900px) and (max-height:820px){ .warp-on body.has-bgfx .contact .warp{padding:64px 20px 28px} }

/* スマホ（600px 以下）：吸い込み演出は切って普通に縦に流す。
   パソコン用の貼り付け（sticky）・2列の指定より後ろに置くこと（前に置くと上書きされて崩れる） */
@media(max-width:600px){
  .ch{display:inline}
  body.has-bgfx .sec .warp,body.has-bgfx .hero .warp{position:static; height:auto; overflow:visible}
  body.has-bgfx .sec .warp,body.has-bgfx .sec.flip .warp{display:block}
  body.has-bgfx .sec .warp .text{padding:90px 20px 70px}
  body.has-bgfx .sec .warp .media{display:none}          /* 写真の箱と大きな社名は隠す */
  body.has-bgfx .hero .warp{padding-top:120px; padding-bottom:50px}
  body.has-bgfx .company .warp .text{padding:90px 20px 60px}
}

