/* =========================================================
   TKwriteworks — top page
   Visual language carried over from the mock: dark ground + the "W" of diagonal bands,
   slanted cuts between blocks, one condensed numeral face, four service colours, grain.
   Layout is ordinary CSS (max 1200px content column) — PC only for now.
   ========================================================= */
:root{
  --dark:#0e1112;
  --dark2:#0f1112;
  --light:#eef0ef;
  --light2:#f0f1f0;
  --navy:#08233a;
  --red:#e8412b;
  --blue:#187eeb;
  --yellow:#fde351;
  --green:#0a9253;
  --green-d:#2bbf72;      /* green for dark grounds */
  --ink:#151515;
  --ink2:#3a3a3a;
  --mute:#6b6b6b;
  --rule:#c9ccca;
  --rule-d:#2e3133;
  --font-jp:"Noto Sans JP","Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
  --font-num:"Sofia Sans Extra Condensed","Oswald","Arial Narrow",sans-serif;
  --font-script:"Caveat","Segoe Script",cursive;
  --font-hand:"Zen Kurenaido","Klee One",var(--font-jp);
  --wrap:1200px;
  --gutter:48px;
  /* slanted-edge wipe polygons (top-left, top-right, bottom-right, bottom-left);
     the edge leans like the mock's cuts: 30% run over 100% rise */
  --wipe-r-from:polygon(-30% -20%,-30% -20%,-72% 120%,-72% 120%);
  --wipe-r-to:polygon(-30% -20%,142% -20%,100% 120%,-72% 120%);
  --wipe-l-from:polygon(130% -20%,130% -20%,172% 120%,172% 120%);
  --wipe-l-to:polygon(-42% -20%,130% -20%,172% 120%,0% 120%);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
html,body{background:var(--light);color:var(--ink);font-family:var(--font-jp);-webkit-font-smoothing:antialiased;overflow-x:clip}
body{font-size:15px;line-height:1.8;letter-spacing:.04em}
a{color:inherit;text-decoration:none}
img,svg{display:block}
ul{list-style:none}
:focus-visible{outline:2px solid var(--red);outline-offset:3px}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 var(--gutter)}

/* grain overlay */
.grain{position:relative}
.grain::after{
  content:"";position:absolute;inset:0;pointer-events:none;z-index:3;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size:220px;opacity:.16;mix-blend-mode:overlay;
}

/* ---------- typographic atoms ---------- */
.lbl{display:block;font-family:var(--font-num);font-weight:700;font-size:15px;letter-spacing:.32em;line-height:1;color:var(--red)}
.lbl-stack{font-weight:500;font-size:12px;letter-spacing:.34em;line-height:2.1}
.h2{font-weight:700;font-size:40px;line-height:1.3;letter-spacing:.06em;margin-top:18px;text-wrap:balance}
.lead{font-size:15px;line-height:1.95;letter-spacing:.06em;color:var(--ink2)}
.link{display:inline-flex;align-items:center;gap:16px;font-weight:700;font-size:14px;letter-spacing:.04em;line-height:1.2}
.link .txt{padding-bottom:4px;border-bottom:1.5px solid currentColor}
.link--light{color:#fff}
/* アイコン: 矢印ではなく、ブランドの斜めチップ(カテゴリ色と同じ平行四辺形)。hover で右へ滑る */
.arw{width:12px;height:10px;flex:none;fill:currentColor;stroke:none;overflow:visible;transition:transform .35s ease}
a:hover .arw{transform:translateX(6px)}
/* ボタン: 右端をモックの切れ目と同じ傾きで斜めに落とす。hover は位置を動かさず、斜めワイプで色が入れ替わる */
.btn{position:relative;isolation:isolate;display:inline-flex;align-items:center;justify-content:space-between;gap:24px;min-width:224px;height:56px;padding:0 28px 0 28px;background:#fff;color:var(--ink);font-weight:700;font-size:15px;letter-spacing:.06em;clip-path:polygon(0 0,100% 0,calc(100% - 16px) 100%,0 100%);transition:color .35s ease}
.btn::before{content:"";position:absolute;inset:0;z-index:-1;background:var(--red);clip-path:var(--wipe-r-from);transition:clip-path .55s cubic-bezier(.22,.61,.36,1)}
.btn:hover{color:#fff}
.btn:hover::before{clip-path:var(--wipe-r-to)}
.btn > *{position:relative}
/* 赤ボタン: 明るい地では hover で黒に(白だと背景に溶ける)。暗い地(ヒーロー)の上だけ白に */
.btn--red{background:var(--red);color:#fff}
.btn--red::before{background:var(--ink)}
.btn--red:hover{color:#fff}
.hero .btn--red::before,.pc--dark .btn--red::before{background:#fff}
/* 黒ボタン: hover で赤に */
.btn--dark{background:var(--ink);color:#fff}
.btn--dark::before{background:var(--red)}
.btn--dark:hover{color:#fff}
.hero .btn--red:hover,.pc--dark .btn--red:hover{color:var(--ink)}
.btn .arw{width:13px;height:11px}
.sec-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr) auto;gap:48px;align-items:end}
.sec-head .lead{padding-bottom:6px}
.sec-head .link{margin-bottom:8px;color:var(--ink)}

/* ---------- header ---------- */
.site-head{position:absolute;top:0;left:0;right:0;z-index:10;color:#fff}
.site-head .wrap{display:flex;align-items:center;height:96px;gap:32px;padding-right:250px}
/* 右端に食い込む CONTACT の面(案B) */
.head-cta{position:absolute;right:0;top:0;bottom:0;display:flex;align-items:center;gap:14px;padding:0 max(var(--gutter),calc((100% - var(--wrap)) / 2)) 0 52px;background:var(--red);color:#fff;font-family:var(--font-num);font-weight:800;font-size:22px;letter-spacing:.12em;line-height:1;clip-path:polygon(28px 0,100% 0,100% 100%,0 100%);transition:background-color .35s ease}
.head-cta small{font-family:var(--font-jp);font-size:10px;font-weight:700;letter-spacing:.2em;color:rgba(255,255,255,.85)}
.head-cta:hover{background:var(--ink)}
.gnav-contact{display:none}
/* スクロール後: 黒い帯で上部に固定して戻ってくる */
/* backdrop-filter / transform は fixed の子(SP全画面メニュー)の基準になるので使わない */
.site-head.is-fixed{position:fixed;background:rgba(14,17,18,.96);box-shadow:0 8px 24px rgba(0,0,0,.18);animation:headIn .45s cubic-bezier(.22,.61,.36,1)}
.site-head.is-fixed .wrap{height:64px}
.site-head.is-fixed .logo{font-size:20px}
.site-head.is-fixed .head-cta{font-size:18px;padding-left:42px}
@keyframes headIn{from{transform:translateY(-100%)}to{transform:none}}
.gnav-main{display:contents}
.site-head .logo{font-weight:700;font-size:26px;letter-spacing:-.01em;line-height:1}
.site-head .tagline{font-size:11px;line-height:1.6;letter-spacing:.1em;color:#d9dbdb}
.gnav{margin-left:auto;display:flex;gap:34px;font-weight:700;font-size:12px;letter-spacing:.12em}
.gnav a,.gnav-trigger{padding:6px 0;border-bottom:1.5px solid transparent;transition:border-color .25s}
.gnav-trigger{appearance:none;background:none;border:0;border-bottom:1.5px solid transparent;color:inherit;font:inherit;letter-spacing:inherit;cursor:default}
.gnav a:hover,.gnav-item:hover .gnav-trigger{border-bottom-color:#fff}
/* SERVICE のドロップダウン(PC: hover で開く。4つのサービス詳細へ) */
.gnav-item{position:relative;display:flex;align-items:center}
.gnav-sub{position:absolute;left:-24px;top:100%;padding-top:14px;min-width:260px;opacity:0;visibility:hidden;translate:0 6px;transition:opacity .25s,translate .25s,visibility 0s .25s}
.gnav-item:hover .gnav-sub,.gnav-item:focus-within .gnav-sub{opacity:1;visibility:visible;translate:0 0;transition:opacity .25s,translate .25s}
.gnav-sub{--pad:22px}
.gnav-sub::before{content:"";position:absolute;left:0;right:0;top:14px;bottom:0;background:var(--dark);clip-path:polygon(0 0,100% 0,calc(100% - 16px) 100%,0 100%)}
.gnav-sub a{position:relative;display:flex;align-items:center;gap:14px;padding:13px var(--pad) 13px 20px;border-bottom:1px solid var(--rule-d);font-family:var(--font-jp);font-size:13px;font-weight:700;letter-spacing:.06em;color:#fff;border-bottom-color:var(--rule-d)}
.gnav-sub a::before{content:"";width:5px;height:14px;background:var(--c);clip-path:polygon(40% 0,100% 0,60% 100%,0 100%);flex:none}
.gnav-sub a small{font-family:var(--font-num);font-size:12px;letter-spacing:.24em;color:#8a8d8c;font-weight:700}
.gnav-sub a:last-child{border-bottom:0}
.gnav-sub a:hover{background:rgba(255,255,255,.06);border-bottom-color:var(--rule-d)}
.gnav-sub a:first-child{margin-top:14px}

/* ---------- 1. hero ---------- */
/* the hero's bottom edge is the slanted seam of the mock; it rides 36px over the 01 canvas */
.hero{position:relative;z-index:2;background:var(--dark);color:#fff;min-height:clamp(680px,88vh,820px);overflow:clip;clip-path:polygon(0 0,100% 0,100% calc(100% - 36px),0 100%)}
/* the W lives in the right 58% and is bottom-aligned; the header rides over plain dark */
.hero-bg{position:absolute;left:42%;right:0;top:0;bottom:0;width:58%;height:100%}
.hero-in{position:relative;z-index:2;min-height:inherit;display:flex;flex-direction:column;justify-content:center;padding-top:120px;padding-bottom:132px}
.hero-copy{max-width:540px}
/* 見出しは「まだないあたりまえを、つくる。」と同じ手書き書体で2行、少し傾ける */
.hero-title{font-family:var(--font-hand);font-weight:400;font-size:clamp(50px,4.3vw,62px);line-height:1.3;letter-spacing:.03em;display:flex;flex-direction:column;transform:rotate(-4deg);transform-origin:left bottom;margin-left:.1em}
.hero-title span{display:block;white-space:nowrap}
.hero-title span:nth-child(2){padding-left:.4em}
.hero-lead{margin-top:34px;font-size:16.5px;line-height:1.9;letter-spacing:.06em;color:#e4e6e6}
.hero-cta{display:flex;align-items:center;gap:16px;margin-top:38px}
.hero-cta .btn{min-width:0;padding:0 22px 0 24px;gap:22px}
/* 最新のお知らせ(案D): 大きな日付 + 斜めの仕切り + カテゴリ + タイトル */
.hero-news{position:absolute;left:var(--gutter);bottom:44px;display:flex;align-items:flex-end;gap:22px;color:#fff;max-width:54%}
.hero-news .hn-date{font-family:var(--font-num);font-weight:800;font-size:56px;line-height:.85;letter-spacing:-.01em;flex:none}
.hero-news .hn-date small{display:block;font-size:13px;letter-spacing:.32em;color:var(--red);margin-bottom:8px;font-weight:700}
.hero-news .hn-date small b{font-weight:700;color:#a9adad;margin-left:.4em;letter-spacing:.12em}
.hero-news .hn-sep{width:1px;height:52px;background:rgba(255,255,255,.3);transform:skewX(-17deg);flex:none}
.hero-news .hn-body{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding-bottom:4px;min-width:0}
.hero-news .hn-kind{font-size:10px;letter-spacing:.14em;line-height:1;border:1px solid rgba(255,255,255,.5);padding:4px 8px}
.hero-news .hn-ttl{display:inline-flex;align-items:center;gap:10px;max-width:100%;font-size:14px;font-weight:500;letter-spacing:.04em;line-height:1.4;border-bottom:1px solid rgba(255,255,255,.4);padding-bottom:3px;transition:border-color .3s}
.hero-news:hover .hn-ttl{border-color:var(--red)}
.hero-news .arw{color:var(--red)}
.hero-hand{position:absolute;z-index:2;right:22px;top:56%;font-family:var(--font-hand);font-size:21px;line-height:1.7;letter-spacing:.06em;color:#1c1c1c;transform:rotate(-7deg);transform-origin:left top;text-align:left;white-space:nowrap}
/* SCROLL: 白い文字 + 長い線を赤い光点が繰り返し下へ流れる + 赤い矢尻 */
.hero-scroll{position:absolute;z-index:2;left:clamp(16px,2.2vw,32px);top:38%;display:flex;flex-direction:column;align-items:center;gap:16px;color:#fff;font-family:var(--font-num);font-size:13px;letter-spacing:.36em;font-weight:700}
.hero-scroll .w{writing-mode:vertical-rl}
.hero-scroll .ln{width:2px;height:120px;background:rgba(255,255,255,.35);position:relative;overflow:visible}
.hero-scroll .ln i{position:absolute;left:0;top:0;width:100%;height:36px;background:linear-gradient(to bottom,rgba(232,65,43,0),var(--red));animation:scrollDrop 1.8s cubic-bezier(.4,0,.6,1) infinite}
.hero-scroll .ln::after{content:"";position:absolute;bottom:-2px;left:50%;width:12px;height:12px;border-right:2px solid var(--red);border-bottom:2px solid var(--red);transform:translateX(-50%) rotate(45deg)}
@keyframes scrollDrop{0%{top:-36px;opacity:0}15%{opacity:1}85%{opacity:1}100%{top:120px;opacity:0}}
.hero-video{display:block;width:100%;height:100%;object-fit:cover}

/* ---------- 3. service: the stack ---------- */
.svc{position:relative;z-index:1;margin-top:-36px}
.stack{position:relative;background:#eff0ee;timeline-scope:--c2,--c3,--c4;--slot:160vh}
/* each panel: 100vh pinned + 60vh of rest before the next one slides over it */
.pc + .pc{margin-top:60vh}
/* each panel sticks to the top; later panels paint over earlier ones */
.pc{position:sticky;top:0;height:100vh;min-height:640px;transform-origin:50% 30%}
.pc-in{position:absolute;inset:0;overflow:clip;background:#eff0ee}
.pc2 .pc-in{background:var(--navy)}
.pc3 .pc-in{background:#e6e6e4}
.pc3 .pc-in::before{content:"";position:absolute;inset:0;background:url("../img/renewal/concrete_light.jpg") center/cover;opacity:.55}
.pc4 .pc-in{background:#ececeb}
.pc-bg{position:absolute;inset:0;width:100%;height:100%}
/* slanted top edges: the mock's seams between 01→02, 02→03, 03→04 (each a bent line) */
.pc2 .pc-in{clip-path:polygon(0 6vh,50% 10vh,100% 0,100% 100%,0 100%)}
.pc3 .pc-in{clip-path:polygon(0 3vh,46% 8vh,69% 10vh,100% 0,100% 100%,0 100%)}
.pc4 .pc-in{clip-path:polygon(0 2vh,48% 8vh,72% 7vh,92% 2vh,100% 1vh,100% 100%,0 100%)}
/* being covered: the panel underneath sinks back and dims while the next slides over it */
.pc-in::after{content:"";position:absolute;inset:0;background:#0e1112;opacity:0;pointer-events:none;z-index:3}

@supports (animation-timeline: view()) and (timeline-scope: --a){
  .ts{position:absolute;left:0;width:100%;height:100vh;pointer-events:none;visibility:hidden}
  .ts2{top:calc(var(--slot) * 1);view-timeline-name:--c2}
  .ts3{top:calc(var(--slot) * 2);view-timeline-name:--c3}
  .ts4{top:calc(var(--slot) * 3);view-timeline-name:--c4}
  .pc1,.pc2,.pc3{animation:recede linear both;animation-range:entry 0% entry 100%}
  .pc1 .pc-in::after,.pc2 .pc-in::after,.pc3 .pc-in::after{animation:dim linear both;animation-range:entry 0% entry 100%}
  .pc1,.pc1 .pc-in::after{animation-timeline:--c2}
  .pc2,.pc2 .pc-in::after{animation-timeline:--c3}
  .pc3,.pc3 .pc-in::after{animation-timeline:--c4}
  /* no scaling: the covered panel only slides up a little and darkens, so the page never
     shows gaps at the sides */
  @keyframes recede{to{translate:0 -6vh}}
  @keyframes dim{to{opacity:.6}}
}

/* panel copy */
.pc-grid{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);height:100%;align-items:center}
.pc-grid--r .pc-copy{grid-column:2}
.pc-copy{padding:56px 0}
.pc1 .pc-copy{padding-top:96px}
.pc .lbl{color:var(--red)}
.sh2{font-size:30px;font-weight:700;letter-spacing:.06em;line-height:1.3;margin:12px 0 44px}
.pc-body{display:grid;grid-template-columns:auto minmax(0,1fr);gap:0 40px;align-items:start}
.pc .num{font-family:var(--font-num);font-weight:700;font-size:184px;line-height:.82;letter-spacing:-.01em;position:relative;margin-top:-8px}
.plbl{display:flex;align-items:baseline;gap:1.2em;font-family:var(--font-num);font-weight:700;font-size:15px;letter-spacing:.32em;color:#222;margin-top:14px}
.plbl em{font-style:normal;font-family:var(--font-jp);font-weight:500;letter-spacing:.2em;font-size:13px}
.pt{font-size:50px;font-weight:700;letter-spacing:.03em;line-height:1.25;color:#141414;margin-top:12px}
.pp{font-size:17px;line-height:2;letter-spacing:.06em;color:#2a2a2a;margin-top:26px}
.pc .link{margin-top:32px;color:#141414;font-size:15px}
.pc .side{position:absolute;z-index:2;color:#2c2c2c;font-size:11px;line-height:2.2;letter-spacing:.34em}
.pc--dark .plbl,.pc--dark .plbl em,.pc--dark .side{color:#e9edf3}
.pc--dark .pt{color:#fff}
.pc--dark .pp{color:#e6eaf0}
.pc--dark .link{color:#fff}
.pc4 .side{color:#e9edf3}


/* ---------- 01〜04 パネルのビジュアル(通し案 2026-09-13) ----------
   写真の形・色ブロック・縦書き英語・キーワード・手書きの一言をパネルごとに変える。座標はパネルに対する %。 */
.pc-vis{position:absolute;inset:0;z-index:1;pointer-events:none}
.pc-vis .ph{position:absolute;overflow:hidden;z-index:2}
.pc-vis .ph img{width:100%;height:100%;object-fit:cover;display:block}
.pc-vis .vt{position:absolute;z-index:1;writing-mode:vertical-rl;font-family:var(--font-num);font-weight:800;font-size:clamp(160px,34vh,300px);line-height:.8;letter-spacing:.02em;color:transparent;-webkit-text-stroke:1.5px rgba(0,0,0,.22);user-select:none}
.pc-vis .vt--fill{color:rgba(10,146,83,.10);-webkit-text-stroke:0}
.pc-vis .kws{position:absolute;z-index:3;font-size:11px;letter-spacing:.34em;line-height:2.2;font-weight:500;color:#2c2c2c}
.pc-vis .hand{position:absolute;z-index:3;font-family:var(--font-hand);font-size:clamp(17px,1.6vw,22px);line-height:1.6;color:#1c1c1c;transform:rotate(-7deg);white-space:nowrap}
.pc-grid{z-index:3}
/* 01: 縦長の台形写真 + 赤い帯 + 右端に WRITE */
.pc1 .vt{right:2%;top:6%;-webkit-text-stroke-color:rgba(232,65,43,.45)}
.pc1 .ph-a{left:44%;top:-6%;width:23%;height:112%;clip-path:polygon(0 0,100% 0,72% 100%,0 100%)}
.pc1 .ph-b{left:66%;top:22%;width:12%;height:58%;background:var(--red);clip-path:polygon(35% 0,100% 0,65% 100%,0 100%)}
.pc1 .ph-b img{mix-blend-mode:multiply;opacity:.9}
.pc1 .kws{left:var(--gutter);bottom:9%}
.pc1 .hand{left:74%;bottom:12%}
.pc1 .peek{position:absolute;left:0;bottom:0;width:52%;height:9%;background:var(--navy);clip-path:polygon(0 0,100% 100%,0 100%)}
/* 02: 幅広の写真(上辺が斜め)+ 左に THINK + 右端に青の帯 */
.pc2 .vt{left:1%;top:4%;-webkit-text-stroke-color:rgba(24,126,235,.55)}
.pc2 .wedge{position:absolute;left:0;top:0;width:100%;height:14%;background:#0b2d4a;clip-path:polygon(0 60%,50% 100%,100% 0,100% 30%,0 100%)}
.pc2 .ph-a{left:8%;bottom:0;width:58%;height:60%;clip-path:polygon(0 18%,100% 0,100% 100%,0 100%)}
.pc2 .band{position:absolute;right:0;top:0;bottom:0;width:6%;background:var(--blue);clip-path:polygon(45% 0,100% 0,55% 100%,0 100%);opacity:.9;z-index:2}
.pc2 .kws{left:10%;top:16%;color:#e9edf3}
.pc2 .hand{right:9%;top:16%;color:#cfe3ff}
/* 03: 傾けた大きな写真 + 黄色い三角 + 右端に MAKE */
.pc3 .vt{right:1%;bottom:2%;-webkit-text-stroke-color:rgba(0,0,0,.28)}
.pc3 .ph-a{left:46%;top:16%;width:38%;height:70%;transform:rotate(-3deg);clip-path:polygon(0 3%,100% 0,97% 100%,3% 97%)}
.pc3 .ph-a img{filter:grayscale(1) contrast(1.05)}
.pc3 .tri{position:absolute;right:6%;top:0;width:18%;height:34%;background:var(--yellow);clip-path:polygon(100% 0,100% 100%,0 0);z-index:2}
.pc3 .kws{left:12%;top:9%}
.pc3 .hand{left:8%;bottom:9%}
.pc3 .peek{position:absolute;right:0;bottom:0;width:38%;height:8%;background:#101214;clip-path:polygon(0 100%,100% 0,100% 100%)}
.pc3 .num{-webkit-text-stroke:1px #b39a00}
/* 04: 扉のような縦長写真 + 緑の柱 + 黒い帯 + GROW */
.pc4 .vt{left:36%;top:4%}
.pc4 .ph-a{left:0;top:0;width:40%;height:100%;clip-path:polygon(0 0,100% 0,82% 100%,0 100%)}
.pc4 .pillar{position:absolute;left:40%;bottom:0;width:11%;height:40%;background:linear-gradient(180deg,#9ad24a,#0a9253);clip-path:polygon(20% 0,100% 0,80% 100%,0 100%);z-index:2}
.pc4 .dark{position:absolute;right:0;top:0;bottom:0;width:7%;background:#141516;clip-path:polygon(40% 0,100% 0,100% 100%,0 100%);z-index:1}
.pc4 .kws{left:5%;top:14%;color:#e9edf3}
.pc4 .hand{right:10%;bottom:12%}
.pc4 .floor{position:absolute;left:0;bottom:0;width:100%;height:11%;background:#101214;clip-path:polygon(0 0,50% 60%,72% 100%,100% 40%,100% 100%,0 100%)}
/* 登場: 写真は斜めワイプ、帯は少しずれて入る(既存の a-photo / a-strip をそのまま使う) */
.pc-vis .a{animation-duration:1.2s}
.pc-vis .a-photo{animation-name:photoIn}
.pc-vis .a-strip{animation-name:stripIn}


/* ---------- 3. reason(選ばれる理由・案A) ----------
   制作実績の枠を置き換え。黒地+石のテクスチャは works と共通。通常はモノクロ、hover した列だけ色が入る。 */
.reason{position:relative;background:var(--dark2);color:#fff;padding:120px 0 150px;overflow:clip}
.reason .wrap{position:relative;z-index:1}
.reason .lbl{color:#fff}
.reason .h2{font-weight:500;letter-spacing:.1em}
.reason .lead{color:#dcdede}
.reasons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:56px}
.reason-item{position:relative;padding:36px 28px 40px 0;border-top:1px solid #2e3133;transition:background .45s ease}
.reason-item + .reason-item{padding-left:28px;border-left:1px solid #2e3133}
.reason-item::after{content:"";position:absolute;left:0;top:-1px;width:56px;height:3px;background:#2e3133;transition:background .45s ease,width .45s ease}
.reason-item + .reason-item::after{left:28px}
.reason-item .rn{display:block;font-family:var(--font-num);font-weight:800;font-size:88px;line-height:.85;letter-spacing:-.01em;color:#3a3e40;margin-bottom:22px;transition:color .45s ease}
.reason-item .ren{display:block;font-family:var(--font-num);font-weight:700;font-size:13px;letter-spacing:.32em;color:#8a8d8c;margin-bottom:10px;transition:color .45s ease}
.reason-item h3{margin:0 0 14px;font-size:21px;line-height:1.5;letter-spacing:.04em;color:#fff}
.reason-item p{margin:0;font-size:13.5px;line-height:1.95;color:#c9cbcb}
.reason-item:hover{background:linear-gradient(180deg,rgba(255,255,255,.04),transparent)}
.reason-item:hover .rn,.reason-item:hover .ren{color:var(--c)}
.reason-item:hover::after{background:var(--c);width:calc(100% - 28px)}
.reason-item:first-child:hover::after{width:100%}

/* ---------- 4. works ---------- */
.works{position:relative;background:var(--dark2);color:#fff;padding:120px 0 150px;overflow:clip}
.works-tex{position:absolute;left:0;top:0;bottom:0;width:40%;background:url("../img/renewal/svc_stone.jpg") center/cover;clip-path:polygon(0 0,100% 0,70% 100%,0 100%);opacity:.9}
.works-tex::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(15,17,18,.1),rgba(15,17,18,.6))}
.works .wrap{position:relative;z-index:1}
.works .lbl{color:#fff}
.works .h2{font-weight:500;letter-spacing:.1em}
.works .lead{color:#dcdede}
.works .sec-head .link{color:#fff}
.works .card h3{color:#fff}
.works .card .cat{color:#c9cbcb}
.column .lbl{color:var(--ink)}
.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px;margin-top:64px}
.cards--3{grid-template-columns:repeat(3,minmax(0,1fr));gap:40px}
.card{position:relative}
.card a{display:block}
.card .ph{aspect-ratio:4/3.55;overflow:hidden;background:#dcdedd}
.card .ph img{width:100%;height:100%;object-fit:cover;transition:transform .8s cubic-bezier(.22,.61,.36,1)}
.card a:hover .ph img{transform:scale(1.05)}
.card h3{margin-top:18px;font-size:16px;font-weight:700;letter-spacing:.04em;line-height:1.55}
.card .cat{display:flex;align-items:center;gap:8px;margin-top:8px;font-size:12.5px;letter-spacing:.08em;color:var(--mute);line-height:1.4}
.card .cat i{display:inline-block;width:9px;height:14px;background:var(--c);clip-path:polygon(32% 0,100% 0,68% 100%,0 100%);flex:none}
.card .cat time{font-variant-numeric:tabular-nums;margin-right:6px}
.cards--3 .ph{aspect-ratio:16/10}
.cards--3 h3{font-size:17px}
.sample{position:absolute;top:12px;left:12px;background:var(--ink);color:#fff;font-size:11px;font-weight:700;letter-spacing:.14em;line-height:1;padding:6px 9px}

/* ---------- 5. news ---------- */
.news{position:relative;background:var(--light);padding:96px 0 120px}
/* slanted seam over the works block's dark bottom, higher on the left this time */
.news::before{content:"";position:absolute;left:0;right:0;top:-36px;height:36px;background:var(--light);clip-path:polygon(0 0,100% 100%,0 100%)}
.news-in{display:grid;grid-template-columns:280px minmax(0,1fr);gap:72px;align-items:start}
.news .h2{font-size:34px}
.news-head .link{margin-top:32px;color:var(--ink)}
.news-list li{border-top:1px solid var(--rule)}
.news-list li:last-child{border-bottom:1px solid var(--rule)}
.news-list a{display:grid;grid-template-columns:104px auto minmax(0,1fr) 28px;align-items:center;gap:26px;padding:24px 0}
.news-list time{font-size:13px;letter-spacing:.08em;color:var(--mute);font-variant-numeric:tabular-nums}
.kind{display:inline-block;width:104px;box-sizing:border-box;text-align:center;font-size:11px;font-weight:700;letter-spacing:.1em;line-height:1;padding:6px 6px;white-space:nowrap;border:1px solid #8a8a8a;color:#333}
.kind--award{background:var(--red);border-color:var(--red);color:#fff}
.news-list .ttl{font-size:15.5px;letter-spacing:.04em;color:#222;transition:color .25s}
.news-list a:hover .ttl{text-decoration:underline;text-underline-offset:5px}
.news-list .arw{color:var(--ink)}

/* ---------- 6. cta ---------- */
.cta{background:var(--light);padding:24px 0 136px}
/* CTA は全幅(ブラウザの端から端まで)。文言は本文カラム(1200px)の左端に揃える */
.cta .wrap{max-width:none;padding:0}
.cta-panel{position:relative;height:clamp(420px,34vw,560px);overflow:clip;color:#fff}
.cta-bg{position:absolute;inset:0;width:100%;height:100%}
.cta-copy{position:absolute;left:max(7%,calc((100% - var(--wrap)) / 2 + var(--gutter)));top:50%;transform:translateY(-50%);z-index:2;max-width:440px}
.cta-copy h2{font-size:34px;font-weight:700;line-height:1.45;letter-spacing:.04em;text-wrap:balance}
.cta-copy p{margin-top:20px;font-size:12.5px;line-height:1.95;letter-spacing:.05em}
.cta-copy .btn{margin-top:32px}
.cta-note{font-size:12px !important;color:#ffe9e6;margin-top:18px !important}
.cta-note small{opacity:.7;margin-left:6px}
.cta-script{position:absolute;right:max(8%,calc((100% - var(--wrap)) / 2 + var(--gutter)));top:19%;z-index:2;font-family:var(--font-script);font-weight:500;font-size:34px;line-height:1.3;letter-spacing:.02em;color:#202a38;transform:rotate(-13deg);transform-origin:left top}

/* ---------- 7. column ---------- */
.column{background:var(--light);padding:0 0 152px}

/* ---------- 8. footer(2026-09-13 改訂: ダーク地 + 大きな CONTACT ボタン) ---------- */
.site-foot{position:relative;background:var(--dark2);color:#fff;padding:96px 0 0;overflow:clip}
.site-foot .wrap{position:relative;z-index:1}
/* 大きな CONTACT ボタン: 右辺を斜めに落とした赤い帯。hover で白が斜めワイプで入り、文字が黒に反転、チップが右へ */
.foot-cta{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:space-between;gap:40px;padding:8px 64px 8px 48px;background:var(--red);color:#fff;clip-path:polygon(0 0,100% 0,calc(100% - 40px) 100%,0 100%);transition:color .45s ease}
.foot-cta::before{content:"";position:absolute;inset:0;z-index:-1;background:#fff;clip-path:var(--wipe-r-from);transition:clip-path .65s cubic-bezier(.22,.61,.36,1)}
.foot-cta:hover{color:var(--ink)}
.foot-cta:hover::before{clip-path:var(--wipe-r-to)}
.foot-cta__en{font-family:var(--font-num);font-weight:800;font-size:clamp(96px,15vw,220px);line-height:.9;letter-spacing:.01em}
.foot-cta__jp{display:flex;flex-direction:column;gap:8px}
.foot-cta__jp b{font-size:clamp(18px,1.8vw,24px);font-weight:700;letter-spacing:.04em;line-height:1.4}
.foot-cta__jp small{font-size:13px;letter-spacing:.04em;opacity:.85}
.foot-cta .arw{width:64px;height:56px;flex:none;transition:transform .45s ease}
.foot-cta:hover .arw{transform:translateX(20px)}
/* 中段 */
.foot-body{display:grid;grid-template-columns:1fr 1fr 1.1fr;gap:56px;padding:64px 0 48px}
.foot-h4{display:block;font-family:var(--font-num);font-weight:700;font-size:13px;letter-spacing:.32em;color:var(--red);margin-bottom:14px}
/* フッター SERVICE: 大きな英字(WRITE/THINK/MAKE/GROW)+ 日本語。hover で下線がサービス色に伸びる */
.foot-svc a{position:relative;display:flex;align-items:baseline;gap:14px;padding:10px 0 12px;border-bottom:1px solid var(--rule-d)}
.foot-svc a::after{content:"";position:absolute;left:0;bottom:-1px;height:2px;width:0;background:var(--c);transition:width .35s cubic-bezier(.22,.61,.36,1)}
.foot-svc a .en{font-family:var(--font-num);font-weight:800;font-size:36px;line-height:.9;letter-spacing:.02em;color:#fff;transition:color .3s}
.foot-svc a .jp{font-size:13px;font-weight:700;color:#c9cbcb}
.foot-svc a:hover::after{width:100%}
.foot-svc a:hover .en{color:var(--c)}
.foot-grp{display:grid;grid-template-columns:1fr 1fr;gap:32px}
.foot-grp ul{display:flex;flex-direction:column;gap:10px;font-size:13.5px}
.foot-grp a{display:inline-flex;align-items:center;gap:8px}
.foot-grp a .arw{width:9px;height:8px;color:#6b6f70}
.foot-grp a:hover{color:var(--red)}
.foot-co .logo{display:inline-block;font-weight:700;font-size:24px;letter-spacing:-.01em;line-height:1}
.foot-co .tagline{margin-top:12px;font-size:13px;letter-spacing:.08em;color:#c9ccca}
.foot-local{display:flex;flex-wrap:wrap;align-items:center;gap:6px 0;margin:12px 0 0;font-size:11.5px;letter-spacing:.06em;color:#a9adad}
.foot-local b{display:inline-block;margin-right:10px;padding:3px 9px 3px 8px;background:var(--red);color:#fff;font-size:10.5px;font-weight:700;letter-spacing:.14em;clip-path:polygon(0 0,100% 0,calc(100% - 6px) 100%,0 100%)}
.foot-local span+span::before{content:"/";margin:0 7px;color:#4a4f51}
.foot-co .addr{margin-top:22px;font-size:13px;line-height:1.9;color:#c9ccca}
.foot-co .addr b{display:block;color:#fff;font-size:14px;margin-bottom:4px}
.foot-co .mail{display:inline-flex;align-items:center;gap:10px;margin-top:14px;font-weight:700;color:#fff;border-bottom:1.5px solid #fff;padding-bottom:3px}
.foot-co .mail:hover{color:var(--red);border-color:var(--red)}
.foot-acts{display:none}
.foot-bottom{display:flex;justify-content:space-between;align-items:center;padding:22px 0 0;border-top:1px solid var(--rule-d);font-size:12px;letter-spacing:.04em;color:#a9adad}
.foot-bottom a:hover{color:#fff;text-decoration:underline;text-underline-offset:4px}
.foot-bottom .copy{margin:0}
/* 透かしの巨大ワードマーク(下端で切れる) */
.foot-mark{position:relative;font-family:var(--font-num);font-weight:800;font-size:clamp(120px,16vw,230px);line-height:.78;letter-spacing:-.01em;color:transparent;-webkit-text-stroke:1px rgba(255,255,255,.14);white-space:nowrap;margin:24px 0 -.14em calc((100% - var(--wrap)) / 2 + var(--gutter));pointer-events:none;user-select:none}

/* =========================================================
   Motion
   Every .a element owns a keyframe animation parked at 0% (hidden) until its section
   gets .in (IntersectionObserver in reveal.js); the hero plays on load. Everything reveals
   through the same slanted wipe as the mock's cuts.
   ========================================================= */
.a{animation-duration:1.1s;animation-timing-function:cubic-bezier(.22,.61,.36,1);animation-delay:var(--d,0s);animation-fill-mode:both;animation-play-state:paused;will-change:opacity,transform,clip-path}
.in .a,.hero .a{animation-play-state:running}
.a-t1,.a-t2,.a-t3,.a-t4,.a-row,.a-card{animation-name:textIn}
.a-t1{--d:.15s}.a-t2{--d:.25s}.a-t3{--d:.4s}.a-t4{--d:.55s}
.hero .a-t1{--d:.45s}.hero .a-t2{--d:.7s}.hero .a-t3{--d:.85s}.hero .a-t4{--d:1s}
@keyframes textIn{
  from{opacity:0;clip-path:var(--wipe-r-from);translate:-12px 8px}
  35%{opacity:1}
  to{opacity:1;clip-path:var(--wipe-r-to);translate:0 0}
}
.a-card{animation-duration:1.3s}
.a-card .ph img{animation:photoSettle 1.6s cubic-bezier(.22,.61,.36,1) var(--d,0s) both paused}
.in .a-card .ph img{animation-play-state:running}
@keyframes photoSettle{from{scale:1.08}to{scale:1}}

/* cta: the two panels cut in from either side */
.cta-bg .a{transform-box:fill-box;transform-origin:center;animation-duration:1.3s}
.a-panel-l{animation-name:panelL}
.a-panel-r{animation-name:panelR;--d:.15s}
@keyframes panelL{from{clip-path:var(--wipe-r-from)}to{clip-path:var(--wipe-r-to)}}
@keyframes panelR{from{clip-path:var(--wipe-l-from)}to{clip-path:var(--wipe-l-to)}}

/* hero W: 1) bands cut in one after another; 2) each band glides along its own stroke
   direction forever (--dx/--dy = half amplitude in viewBox units); 3) the city photo slowly
   pushes in inside its fixed clip; 4) on scroll the whole W drifts up as one rigid piece. */
.hero-bg .hb{transform-box:fill-box;transform-origin:center;animation:heroBand 1.1s cubic-bezier(.22,.61,.36,1) var(--in,0s) both,heroDrift var(--dur,10s) ease-in-out var(--dd,0s) infinite alternate}
.hero-bg .hb-grey{--in:.05s;--dx:-1.5;--dy:7;--dur:9s;--dd:-2s}
.hero-bg .hb-red{--in:.2s;--dx:-1.3;--dy:6;--dur:11.5s;--dd:-6s}
.hero-bg .hb-city{--in:.35s;--dx:2;--dy:6.5;--dur:13s;--dd:-4s}
.hero-bg .hb-tri{--in:.5s;--dx:-2;--dy:7;--dur:10s;--dd:-8s}
.hero-bg .hb-light{--in:.15s;animation-name:heroBandL}
@keyframes heroBand{from{clip-path:var(--wipe-r-from)}to{clip-path:var(--wipe-r-to)}}
@keyframes heroBandL{from{clip-path:var(--wipe-l-from)}to{clip-path:var(--wipe-l-to)}}
@keyframes heroDrift{from{transform:translate(calc(var(--dx,0) * -1px),calc(var(--dy,0) * -1px))}to{transform:translate(calc(var(--dx,0) * 1px),calc(var(--dy,0) * 1px))}}
.hero-bg .hero-img,.hero-bg foreignObject{transform-box:fill-box;transform-origin:50% 60%;animation:heroKen 22s ease-in-out infinite alternate}
@keyframes heroKen{from{scale:1}to{scale:1.08}}
@supports (animation-timeline: scroll()){
  .hero-bg .hb{animation:heroBand 1.1s cubic-bezier(.22,.61,.36,1) var(--in,0s) both,heroDrift var(--dur,10s) ease-in-out var(--dd,0s) infinite alternate,heroPar linear both;animation-timeline:auto,auto,scroll(root);animation-range:normal,normal,0 90vh}
  .hero-bg .hb-light{animation-name:heroBandL,heroPar;animation-timeline:auto,scroll(root);animation-range:normal,0 90vh}
  @keyframes heroPar{from{translate:0 0}to{translate:0 -36px}}
  /* hero copy scrolls away a touch slower than the W: depth without breaking the W */
  .hero-copy{animation:heroCopyPar linear both;animation-timeline:scroll(root);animation-range:0 90vh}
  @keyframes heroCopyPar{from{translate:0 0}to{translate:0 60px}}
}

/* 01–04 panel motion: number wipes in behind a thin slash; photos and strips follow */
.a-num{animation-name:numIn;animation-duration:1s}
.a-num::after{content:"";position:absolute;top:-6%;height:112%;width:4px;left:-72%;background:var(--slash,#151515);transform:skewX(-17deg);transform-origin:left bottom;opacity:0;animation:numSlash 1s cubic-bezier(.22,.61,.36,1) var(--d,0s) both paused}
.pc--dark{--slash:#fff}
.in .a-num::after{animation-play-state:running}
@keyframes numIn{from{clip-path:var(--wipe-r-from);translate:-5% 4%}to{clip-path:var(--wipe-r-to);translate:0 0}}
@keyframes numSlash{0%{left:-72%;opacity:1}80%{opacity:1}100%{left:104%;opacity:0}}
.pc .a-t1{--d:.2s}.pc .a-t2{--d:.3s}.pc .a-t3{--d:.45s}.pc .a-t4{--d:.6s}
.pc-bg .a{transform-box:fill-box;transform-origin:center}
.pc-bg .a-photo{animation-name:photoIn;animation-duration:1.3s}
@keyframes photoIn{from{opacity:0;clip-path:var(--wipe-r-from);scale:1.05}12%{opacity:1}to{opacity:1;clip-path:var(--wipe-r-to);scale:1}}
.pc-bg .a-strip{animation-name:stripIn;animation-duration:1.2s;--d:.2s}
@keyframes stripIn{from{opacity:0;translate:var(--sx,6%) var(--sy,-6%)}30%{opacity:1}to{opacity:1;translate:0 0}}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .a,.hero-bg .hb,.hero-bg .hero-img,.hero-bg foreignObject,.a-card .ph img,.hero-copy,.pc,.pc-in::after{animation:none !important;opacity:1;transform:none;translate:none;scale:none;clip-path:none}
  .a-num::after{display:none}
}

/* =========================================================
   WordPress 移植分の追加(試作に無い要素)
   ========================================================= */
/* ヒーロー W の動きを強める: 帯の往復を大きく速く、街の写真は寄りながら流れ、光の帯が一定間隔で各帯を斜めに走る */
.hero-bg .hb-grey{--dx:-5;--dy:22;--dur:7s;--dd:-2s}
.hero-bg .hb-red{--dx:-4.5;--dy:20;--dur:8.5s;--dd:-5s}
.hero-bg .hb-city{--dx:5;--dy:18;--dur:9.5s;--dd:-3s}
.hero-bg .hb-tri{--dx:-6;--dy:24;--dur:7.5s;--dd:-6.5s}
.hero-bg .hero-img,.hero-bg foreignObject{animation-duration:14s;animation-name:heroKen2}
@keyframes heroKen2{from{scale:1;translate:0 0}to{scale:1.16;translate:-10px 8px}}
.hero-bg .sweep{transform:skewX(-17deg);animation:heroSweep 6.5s cubic-bezier(.5,0,.3,1) var(--sd,0s) infinite;mix-blend-mode:screen}
.hero-bg .hb-grey .sweep{--sd:0s}.hero-bg .hb-red .sweep{--sd:.35s}.hero-bg .hb-city .sweep{--sd:.7s}.hero-bg .hb-tri .sweep{--sd:1.05s}
@keyframes heroSweep{0%{translate:0 0}22%{translate:1000px 0}100%{translate:1000px 0}}
@media (prefers-reduced-motion:reduce){.hero-bg .sweep{display:none}}
/* 制作実績サンプル(リンク無し) */
.card .card-in{display:block}
/* SP ハンバーガー(PCでは非表示) */
.nav-toggle{display:none;position:relative;z-index:30;margin-left:auto;width:44px;height:44px;border:0;background:none;cursor:pointer;color:#fff}
.nav-toggle span{position:absolute;left:10px;width:24px;height:2px;background:currentColor;transition:transform .35s cubic-bezier(.22,.61,.36,1),top .35s}
.nav-toggle span:first-child{top:17px}
.nav-toggle span:last-child{top:25px}
.nav-open .nav-toggle span:first-child{top:21px;transform:rotate(45deg)}
.nav-open .nav-toggle span:last-child{top:21px;transform:rotate(-45deg)}
/* WP が付ける margin を打ち消し */
html{margin-top:0 !important}

/* =========================================================
   Responsive
   タブレット(〜1119px): 幅に合わせて縮める。 スマホ(〜767px): 1 カラムに組み替える。
   斜めの継ぎ目・W・スタックの仕組みはそのまま、サイズだけ変える。
   ========================================================= */
@media (max-width:1119px){
  :root{--gutter:32px}
  body{font-size:14px}
  .h2{font-size:34px}
  .site-head .tagline{display:none}
  .head-cta{display:none}
  .site-head .wrap{padding-right:0}
  .gnav{gap:22px;font-size:11px}
  .hero{min-height:clamp(600px,82vh,720px)}
  .hero-bg{left:44%;width:56%}
  .hero-copy{max-width:440px}
  .hero-title{font-size:clamp(46px,6vw,64px)}
  .hero-lead{font-size:15px;margin-top:26px}
  .hero-hand{font-size:15px;right:10px;top:auto;bottom:10%}
  .hero-news{max-width:56%;gap:16px}
  .hero-news .hn-date{font-size:46px}
  .pc .num{font-size:140px}
  .pt{font-size:40px}
  .pp{font-size:15.5px}
  .pc-body{gap:0 28px}
  .cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
  .reasons{grid-template-columns:repeat(2,minmax(0,1fr))}
  .reason-item{padding-right:20px}
  .reason-item:nth-child(odd){padding-left:0;border-left:0}
  .reason-item:nth-child(odd)::after{left:0}
  .reason-item:nth-child(n+3){border-top:1px solid #2e3133}
  .cards--3{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
  .sec-head{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px}
  .sec-head .link{grid-column:1/-1;justify-self:start;margin:0}
  .news-in{grid-template-columns:220px minmax(0,1fr);gap:40px}
  .cta-copy{left:6%;max-width:400px}
  .cta-copy h2{font-size:30px}
  .cta-script{font-size:28px;right:5%}
  .foot-body{grid-template-columns:1fr 1fr;gap:40px}
  .foot-co{grid-column:1/-1}
  .foot-cta{padding:8px 44px 8px 36px}
}

@media (max-width:767px){
  :root{--gutter:20px}
  body{font-size:14px;line-height:1.85}
  .h2{font-size:28px;margin-top:12px}
  .lbl{font-size:13px}
  .lead{font-size:14px}
  .link{font-size:13px;gap:12px}
  .btn{min-width:0;width:100%;max-width:320px;height:52px}

  /* header: ハンバーガー + 全画面メニュー */
  .foot-local{gap:8px 0;font-size:11px;letter-spacing:.02em}
  .foot-local b{margin-right:8px}
  .foot-local span+span::before{margin:0 5px}
  .site-head .wrap{height:72px;gap:16px}
  .site-head .logo{font-size:22px}
  .nav-toggle{display:block}
  .gnav{position:fixed;inset:0;z-index:20;display:block;overflow-y:auto;padding:88px var(--gutter) 40px;background:var(--dark);font-size:15px;letter-spacing:.2em;
    clip-path:var(--wipe-r-from);visibility:hidden;transition:clip-path .55s cubic-bezier(.22,.61,.36,1),visibility 0s .55s}
  .gnav::after{content:"";position:absolute;right:-40px;top:-30px;width:200px;height:110px;background:var(--red);transform:rotate(-20deg);opacity:.9;pointer-events:none}
  .nav-open .gnav{clip-path:var(--wipe-r-to);visibility:visible;transition:clip-path .55s cubic-bezier(.22,.61,.36,1)}
  .gnav-main{display:flex;flex-direction:column;position:relative;z-index:1}
  .gnav-item{display:block;position:static}
  /* 大きな英字 + 小さな日本語(案D) */
  .gnav-main > a,.gnav-item > a,.gnav-trigger{display:flex;width:100%;text-align:left;align-items:baseline;gap:14px;padding:12px 0;border:0;font-family:var(--font-num);font-weight:800;font-size:40px;line-height:.95;letter-spacing:.02em}
  .gnav-main > a::after,.gnav-item > a::after,.gnav-trigger::after{content:attr(data-jp);font-family:var(--font-jp);font-size:11px;font-weight:500;letter-spacing:.14em;color:#8a8d8c}
  .gnav-main > a:hover,.gnav-item > a:hover{border:0}
  .gnav-contact{display:flex;color:var(--red)}
  .gnav-sub{position:static;opacity:1;visibility:visible;translate:none;margin:2px 0 14px;padding:0 0 0 14px;min-width:0;transition:none;border-left:1px solid var(--rule-d)}
  .gnav-sub::before{display:none}
  .gnav-sub a,.gnav-sub a:first-child{margin:0;padding:10px 0 10px 10px;font-size:14px;letter-spacing:.06em;border-bottom:1px solid var(--rule-d)}
  .gnav-sub a:last-child{border-bottom:1px solid var(--rule-d)}
  .nav-open{overflow:hidden}
  .site-head .logo{position:relative;z-index:30}

  /* hero: コピーを上、W を下に */
  .hero{height:auto;min-height:100svh;clip-path:polygon(0 0,100% 0,100% calc(100% - 20px),0 100%)}
  /* W はコピーの背面に置く: 右下に大きく(右側は画面外に少しはみ出す)、手前に暗いグラデーションを敷いて文字を読ませる */
  .hero-bg{left:auto;right:-50%;top:4%;bottom:auto;width:160%;height:74%;opacity:.85}
  .hero::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,rgba(14,17,18,.45) 0%,rgba(14,17,18,.25) 45%,rgba(14,17,18,.7) 100%),linear-gradient(90deg,rgba(14,17,18,.7) 0%,rgba(14,17,18,.3) 50%,rgba(14,17,18,0) 100%)}
  .hero-in{justify-content:center;padding-top:96px;padding-bottom:56px}
  /* SP では背面の W を動かさない(登場の斜めワイプだけ残し、往復・ズーム・光の帯・スクロール連動は止める) */
  .hero-bg .hb{animation:heroBand 1.1s cubic-bezier(.22,.61,.36,1) var(--in,0s) both !important}
  .hero-bg .hb-light{animation-name:heroBandL !important}
  .hero-bg .hero-img,.hero-bg .sweep{animation:none !important}
  .hero-bg .sweep{display:none}
  .hero-copy{max-width:none}
  .hero-title{font-size:clamp(38px,10.5vw,48px);line-height:1.3;transform:rotate(-3deg)}
  .hero-title span:nth-child(2){padding-left:.5em}
  .hero-lead{margin-top:20px;font-size:14px;line-height:1.85}
  .hero-lead br{display:none}
  .hero-cta{flex-direction:column;align-items:flex-start;gap:20px;margin-top:26px}
  .hero-news{position:static;max-width:none;margin-top:28px;gap:14px}
  .hero-news .hn-date{font-size:44px}
  .hero-news .hn-sep{height:44px}
  .hero-news .hn-ttl{font-size:13px}
  /* 手書きの一言はお知らせの下に、右寄せで置く(PC の絶対配置をやめて流し込み) */
  .hero{display:flex;flex-direction:column;justify-content:center}
  .hero-in{min-height:0;flex:none;padding-bottom:20px}
  .hero-hand{position:static;z-index:2;align-self:flex-end;margin:0 calc(var(--gutter) + 8px) 48px 0;font-size:20px;line-height:1.6;color:#fff;transform:rotate(-4deg);transform-origin:right bottom;text-align:left}
  .hero-scroll{display:none}
  .hero-copy{animation:none}

  /* 01–04: コピーを上半分、ビジュアルを下半分に分ける */
  .svc{margin-top:-20px}
  .pc{min-height:680px}
  .pc-in{background:#eff0ee}
  .pc2 .pc-in{background:#08233a}
  .pc3 .pc-in{background:#e4e4e2}
  .pc4 .pc-in{background:#ececeb}
  .pc-bg{top:auto;bottom:0;height:min(46%,330px)}
  /* SP: ビジュアルは下半分に収め、縦書き英語は小さく */
  /* 上の余白が空かないように: ビジュアルは下 58%、コピーは残りの上部領域で上下中央 */
  .pc-vis{top:auto;bottom:0;height:min(58%,470px)}
  .pc-grid{height:calc(100% - min(58%,470px));align-items:center}
  .pc-copy,.pc1 .pc-copy{padding:min(9vh,72px) 0 0}
  .pc-vis .vt{font-size:clamp(90px,22vh,150px)}
  .pc-vis .hand{font-size:15px}
  .pc-vis .kws{display:none}
  .pc1 .ph-a{left:40%;top:0;height:100%;width:30%}
  .pc1 .ph-b{left:68%;top:10%;height:70%}
  .pc1 .hand{left:8%;bottom:12%}
  .pc2 .ph-a{left:0;width:70%;height:78%}
  .pc2 .vt{left:auto;right:8%;top:0}
  .pc2 .hand{right:8%;top:auto;bottom:10%}
  .pc3 .ph-a{left:8%;top:12%;width:60%;height:76%}
  .pc3 .vt{right:0;bottom:0}
  .pc3 .hand{left:auto;right:6%;top:6%}
  .pc4 .ph-a{width:48%}
  .pc4 .pillar{left:48%}
  .pc4 .vt{left:auto;right:12%;top:0}
  .pc4 .hand{right:8%;bottom:16%}
  .pc2 .pc-in{clip-path:polygon(0 4vh,50% 7vh,100% 0,100% 100%,0 100%)}
  .pc3 .pc-in{clip-path:polygon(0 2vh,46% 6vh,69% 7vh,100% 0,100% 100%,0 100%)}
  .pc4 .pc-in{clip-path:polygon(0 1.5vh,48% 6vh,72% 5vh,92% 1.5vh,100% 1vh,100% 100%,0 100%)}
  .pc-grid{grid-template-columns:minmax(0,1fr);align-items:start;height:auto}
  .pc-grid--r .pc-copy{grid-column:1}
  .sh2{font-size:22px;margin:8px 0 22px}
  .pc-body{grid-template-columns:auto minmax(0,1fr);gap:0 16px}
  .pc .num{font-size:88px;margin-top:-4px}
  .plbl{font-size:12px;margin-top:6px;gap:.8em}
  .plbl em{font-size:11px}
  .pt{font-size:28px;margin-top:6px}
  .pp{font-size:14px;line-height:1.85;margin-top:14px}
  .pp br{display:none}
  .pc .link{margin-top:20px;font-size:13px}
  .pc .side{display:none}
  .a-num::after{width:3px}

  /* works / column: カード */
  .works{padding:72px 0 88px}
  .reason{padding:72px 0 80px}
  .reasons{grid-template-columns:minmax(0,1fr);margin-top:32px}
  .reason-item,.reason-item + .reason-item{padding:26px 0 28px;border-left:0}
  .reason-item + .reason-item::after{left:0}
  .reason-item:hover::after{width:100%}
  .reason-item .rn{font-size:64px;margin-bottom:14px}
  .reason-item h3{font-size:18px}
  .works-tex{width:70%}
  .sec-head{grid-template-columns:minmax(0,1fr);gap:16px}
  .sec-head .lead{padding-bottom:0}
  .sec-head .lead br{display:none}
  .cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px;margin-top:36px}
  .cards--3{grid-template-columns:minmax(0,1fr);gap:28px}
  .card h3{margin-top:12px;font-size:14px}
  .cards--3 h3{font-size:16px}
  .card .cat{font-size:12px}
  .sample{top:8px;left:8px;font-size:10px;padding:5px 7px}

  /* news */
  .news{padding:64px 0 80px}
  .news::before{top:-22px;height:22px}
  .news-in{grid-template-columns:minmax(0,1fr);gap:28px}
  .news .h2{font-size:28px}
  .news-head .link{margin-top:16px}
  .news-list a{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;padding:18px 0}
  .news-list .ttl{flex-basis:100%;font-size:14.5px}
  .news-list .arw{display:none}
  .kind{padding:5px 10px}

  /* cta: 赤いパネルに文字を載せる(SVG の斜め分割は PC のみ) */
  .cta{padding:8px 0 88px}
  .cta-panel{height:auto;padding:52px var(--gutter) 48px;background:#c81a12 url("../img/renewal/red_tex.jpg") center/cover}
  .cta-bg{display:none}
  .cta-copy{position:static;transform:none;max-width:none}
  .cta-copy h2{font-size:26px}
  .cta-copy p{font-size:13px}
  .cta-copy p br{display:none}
  .cta-copy .btn{margin-top:24px}
  .cta-script{position:static;margin-top:28px;font-size:26px;color:#ffd9d4;transform:rotate(-6deg);transform-origin:left center}

  .column{padding:0 0 96px}

  /* footer */
  .site-foot{padding:64px 0 0}
  .foot-cta{gap:12px;padding:6px 26px 6px 18px;clip-path:polygon(0 0,100% 0,calc(100% - 22px) 100%,0 100%)}
  .foot-cta__en{font-size:clamp(64px,19vw,84px)}
  .foot-cta .arw{width:30px;height:26px}
  .foot-body{grid-template-columns:minmax(0,1fr);gap:36px;padding:44px 0 36px}
  /* SP: 会社情報を白い斜めカードに。メールリンクの代わりに「地図」「メール」ボタン */
  .foot-co .logo,.foot-co .tagline{display:none}  /* カード内の社名と重複するのでロゴは出さない */
  .foot-card{position:relative;margin-top:0;padding:20px 30px 20px 22px;background:#fff;color:var(--ink);clip-path:polygon(0 0,100% 0,calc(100% - 20px) 100%,0 100%)}
  .foot-co .addr{margin:0;font-size:12.5px;line-height:1.8;color:#3a3a3a}
  .foot-co .addr b{color:var(--ink);font-size:13.5px}
  .foot-co .mail{display:none}
  .foot-acts{display:flex;gap:8px;margin-top:14px}
  .foot-acts .btn{flex:1;min-width:0;height:42px;padding:0 12px 0 14px;gap:8px;font-size:12.5px}
  .foot-acts .btn .arw{width:11px;height:9px}
  /* 線のボタンは斜めの辺で枠が切れるので、薄いグレーの塗りにする */
  .btn--line{background:#e6e8e7;color:var(--ink)}
  .btn--line::before{background:var(--ink)}
  .btn--line:hover{color:#fff}
  .foot-grp{gap:20px}
  /* SP: プライバシーポリシーをリンクとして上に、コピーライトは最下段に小さく */
  .foot-bottom{flex-direction:column;align-items:flex-start;gap:14px;padding-top:18px}
  .foot-bottom a{order:1;font-weight:700;color:#fff;font-size:12px;display:inline-flex;align-items:center;gap:8px}
  .foot-bottom a::after{content:"";width:7px;height:10px;background:var(--red);clip-path:polygon(32% 0,100% 0,68% 100%,0 100%)}
  .foot-bottom .copy{order:2;font-size:11px;color:#8a8d8c}
  .foot-mark{font-size:96px;margin-left:var(--gutter)}
}


/* =========================================================
   Loading — 全画面スプラッシュ「TKwriteworks を書く」
   画像は使わない。社名を一字ずつ打ち込み、名前の中の「w」だけをブランドの斜め帯 W(白・グレー・赤の単色)
   として上から下へ描く → 赤い下線 → タグライン → 画面全体をモックと同じ傾きの斜めワイプで開く。
   ========================================================= */
.rn-loader{position:fixed;inset:0;z-index:100;background:var(--dark);overflow:hidden;display:grid;place-items:center;color:#fff}
.rn-loader__in{display:flex;flex-direction:column;align-items:center;gap:clamp(14px,2.6vh,26px);padding:0 var(--gutter)}
/* 社名: 1文字ずつ(w も普通のテキスト)。最後に赤いマーカーが左から引かれる(右端は斜め) */
.rn-loader__name{margin:0;display:flex;align-items:baseline;font-weight:700;font-size:clamp(34px,7.2vw,88px);line-height:1;letter-spacing:-.01em;white-space:nowrap;position:relative;isolation:isolate;padding:0 .18em 0 .12em}
.rn-loader__name .ch{opacity:0;translate:0 .12em}
.rn-loading .rn-loader__name .ch{animation:rnChar .28s cubic-bezier(.22,.61,.36,1) calc(.12s + var(--i) * .07s) both}
@keyframes rnChar{to{opacity:1;translate:0 0}}
.rn-loader__name::before{content:"";position:absolute;left:0;right:-.6em;top:-.08em;bottom:-.14em;z-index:-1;background:var(--red);clip-path:polygon(0 0,100% 0,calc(100% - .32em) 100%,0 100%);transform:scaleX(0);transform-origin:left center}
.rn-loading .rn-loader__name::before{animation:rnMarker .55s cubic-bezier(.22,.61,.36,1) 1.25s both}
@keyframes rnMarker{to{transform:scaleX(1)}}
.rn-loader__tag{margin:0;font-size:clamp(12px,1.3vw,15px);letter-spacing:.2em;color:#c8caca;opacity:0;clip-path:var(--wipe-r-from)}
@keyframes rnText{from{opacity:0;clip-path:var(--wipe-r-from);translate:-10px 6px}30%{opacity:1}to{opacity:1;clip-path:var(--wipe-r-to);translate:0 0}}
/* 終了: 画面全体がモックの切れ目と同じ傾きで開く。中身は少し先に薄くなる */
.rn-loader.is-out{animation:rnOut .8s cubic-bezier(.7,0,.2,1) both}
.rn-loader.is-out .rn-loader__in{animation:rnFade .35s ease both}
@keyframes rnOut{from{clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}to{clip-path:polygon(0 0,0 0,-60% 100%,-60% 100%)}}
@keyframes rnFade{to{opacity:0}}
/* ローディング中はヒーローの動きを止めておく(幕が開くと同時に始まる) */
html.rn-loading{overflow:hidden}
html.rn-loading .hero .a,html.rn-loading .hero-bg .hb,html.rn-loading .hero-bg .hero-img,html.rn-loading .hero-copy{animation-play-state:paused !important}
@media (prefers-reduced-motion:reduce){.rn-loader{display:none}}
