/* =====================================================
   FREE design preview / theme: light lock
   radius rule: buttons=pill, cards&images=16px
   accent lock: beacon amber #d9a13c(灯台の灯り) のみ
   ===================================================== */
* { margin:0; padding:0; box-sizing:border-box; }
:root{
  --navy:#0c243f;
  --navy-deep:#081a30;
  --ink:#16283c;
  --body:#5a6373;
  --paper:#fdfbf7;   /* 紙質感ウォーム・白寄せ3段（旧 #f7f4ec / 2026-08-04変更） */
  --white:#ffffff;   /* カード・タグ・フォームなど「浮かせる面」用。純白のまま維持 */
  --surface:#f6f2e9; /* 交互セクション用の一段濃い紙。paperが白寄りになった分の区切りを担保 */
  --line:#ebe6dc;    /* 紙が明るくなった分、罫線も一段薄く（旧 #e5dfd2） */
  --amber:#d9a13c;
  --amber-text:#8f6214;   /* 淡色背景上の文字用（コントラスト5.2:1） 2026-09-08 */
  --ease:cubic-bezier(0.16,1,0.3,1);
  --r-card:16px;
}
/* scroll-behavior:smooth はLenisと競合するため使用しない（アンカーはJSで対応） */
body{
  font-family:"Zen Kaku Gothic New","Hiragino Kaku Gothic ProN",sans-serif;
  color:var(--ink);
  background:var(--paper);
  line-height:1.8;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }
.en{ font-family:"Outfit",sans-serif; }
.container{ width:100%; max-width:1200px; margin:0 auto; padding:0 64px; }

/* ---------- オープニング（灯台の灯が点く） ---------- */
#opening{
  position:fixed; inset:0; z-index:200; background:var(--navy);
  display:flex; align-items:center; justify-content:center;
  pointer-events:none; /* 表示中も下のページを操作可能に */
}
#opening .inner{ display:flex; flex-direction:column; align-items:center; gap:18px; }
#opening svg{ width:60px; height:57px; opacity:0; transform:scale(.88); }
#opening .word{
  font-family:"Outfit",sans-serif; font-weight:600; font-size:24px;
  letter-spacing:.14em; color:#fff; opacity:0;
}
#opening .light{ width:0; height:2px; background:var(--amber); border-radius:2px; }
@media (prefers-reduced-motion: reduce){ #opening{ display:none; } }

/* ---------- ヘッダー出入り ---------- */
header{ transition:transform .5s var(--ease); }
header.hide{ transform:translateY(-100%); }

/* ---------- line-rise 部品 ---------- */
.lm{ display:block; overflow:hidden; }
.ln{ display:block; transform:translateY(112%); }
.fu{ opacity:0; transform:translateY(28px); }
@media (prefers-reduced-motion: reduce){
  .ln{ transform:none; }
  .fu{ opacity:1; transform:none; }
}

/* =====================================================
   ヘッダー
   ===================================================== */
/* ピル型フローティングヘッダー（gpt-taste版から全ページ共通に移植） */
header{
  position:fixed; inset:14px 0 auto 0; z-index:50;
  background:none; padding:0 20px;
}
.nav{
  max-width:1120px; margin:0 auto; padding:0 10px 0 26px;
  height:64px; display:flex; align-items:center; justify-content:space-between; gap:24px;
  background:rgba(253,251,247,.92);   /* --paper の白寄せ3段に追従 */
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border:1px solid rgba(12,36,63,.07);
  border-radius:999px;
  box-shadow:0 12px 32px rgba(12,36,63,.12);
  transition:box-shadow .4s var(--ease), background .4s var(--ease);
}
header.hide + * .nav{ box-shadow:none; }
.brand{ display:flex; align-items:center; gap:10px; flex-shrink:0; }
.brand svg{ width:34px; height:32px; }
.brand .wordmark{ font-family:"Outfit",sans-serif; font-weight:600; font-size:21px; letter-spacing:.06em; color:var(--navy); }
.brand .tag{ font-size:10px; color:var(--body); letter-spacing:.04em; margin-left:2px; line-height:1.4; }
.nav-links{ display:flex; gap:30px; font-size:13.5px; font-weight:500; }
.nav-links a{ position:relative; padding:4px 0; }
.nav-links a::after{
  content:""; position:absolute; left:0; bottom:0; height:2px; width:100%;
  background:var(--amber); transform:scaleX(0); transform-origin:right;
  transition:transform .35s var(--ease);
}
.nav-links a:hover::after{ transform:scaleX(1); transform-origin:left; }
.nav-cta{
  flex-shrink:0; background:var(--navy); color:#fff;
  font-size:13.5px; font-weight:700; padding:12px 26px; border-radius:999px;
  transition:transform .3s var(--ease), box-shadow .3s var(--ease);
  box-shadow:0 4px 14px rgba(12,36,63,.18);
}
.nav-cta:hover{ transform:translateY(-2px); box-shadow:0 8px 22px rgba(12,36,63,.24); }
.nav-cta:active{ transform:scale(.98); }
.menu-btn{ display:none; flex-direction:column; gap:5px; background:none; border:none; padding:10px; cursor:pointer; }
.menu-btn span{ width:24px; height:2px; background:var(--navy); display:block; transition:transform .3s var(--ease), opacity .2s var(--ease); }
body.nav-open .menu-btn span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
body.nav-open .menu-btn span:nth-child(2){ opacity:0; }
body.nav-open .menu-btn span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

/* =====================================================
   メガメニュー（サービス）
   デスクトップ=ホバー/クリックでドロップダウン
   1024px以下=ドロワー内のアコーディオンに変化
   ===================================================== */
.has-mega{ position:relative; }
.mega-btn{
  font:inherit; font-size:13.5px; font-weight:500; color:inherit;
  background:none; border:none; padding:4px 0; cursor:pointer;
  display:inline-flex; align-items:center; gap:7px; position:relative;
}
.mega-btn::after{
  content:''; position:absolute; left:0; right:14px; bottom:0; height:1.5px;
  background:var(--navy); transform:scaleX(0); transform-origin:right;
  transition:transform .35s var(--ease);
}
.has-mega:hover .mega-btn::after,
.has-mega.open .mega-btn::after{ transform:scaleX(1); transform-origin:left; }
.mega-btn .chev{
  width:6px; height:6px; flex:none; margin-top:-3px;
  border-right:1.6px solid currentColor; border-bottom:1.6px solid currentColor;
  transform:rotate(45deg); transition:transform .3s var(--ease);
}
.has-mega.open .mega-btn .chev{ transform:rotate(-135deg); margin-top:2px; }
.mega-btn.current{ color:var(--navy); font-weight:700; }
.mega-btn.current::after{ transform:scaleX(1); }

.mega{
  position:absolute; top:calc(100% + 20px); left:50%; z-index:120;
  /* ボタン→パネル間の20px隙間をホバー橋渡しで埋める（離脱判定の暴発防止） */
  transform:translateX(-50%) translateY(-8px);
  width:min(940px, calc(100vw - 64px));
  background:var(--white); border:1px solid var(--line); border-radius:20px;
  box-shadow:0 26px 64px rgba(12,36,63,.17); padding:32px;
  opacity:0; visibility:hidden; pointer-events:none;
  transition:opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
}
.has-mega.open .mega{
  opacity:1; visibility:visible; pointer-events:auto;
  transform:translateX(-50%) translateY(0);
}
/* 透明のホバーブリッジ本体（開いている間だけ当たり判定を持つ） */
.mega::before{
  content:''; position:absolute; left:0; right:0; top:-26px; height:26px;
}
.mega-inner{ display:grid; grid-template-columns:repeat(3,1fr) .92fr; gap:28px; min-height:0; }
.mega-head{ display:block; padding-bottom:13px; margin-bottom:14px; border-bottom:1px solid var(--line); }
.mega-head .cat{ display:block; font-size:14px; font-weight:900; color:var(--navy); line-height:1.55; }
.mega-head .sub{
  display:block; font-family:"Outfit",sans-serif; font-size:10px; font-weight:600;
  letter-spacing:.18em; color:var(--amber); margin-top:5px;
}
.mega-head:hover .cat{ color:var(--amber); }
.mega-col ul{ display:flex; flex-direction:column; gap:10px; }
.mega-col li a{ font-size:12.5px; color:var(--body); line-height:1.6; display:block; }
.mega-col li a:hover{ color:var(--navy); }

/* AI導入支援＝ダークバナー（2026-07-03決定の導線をメガ内にも置く） */
.mega-ai{
  background:var(--navy); color:#fff; border-radius:15px; padding:24px 22px;
  display:flex; flex-direction:column; gap:12px; justify-content:space-between;
}
.mega-ai .en-label{
  font-family:"Outfit",sans-serif; font-size:10px; font-weight:600;
  letter-spacing:.18em; color:var(--amber);
}
.mega-ai .t{ font-size:14.5px; font-weight:900; line-height:1.65; }
.mega-ai .d{ font-size:11.5px; line-height:1.8; color:rgba(255,255,255,.72); }
.mega-ai .go{ font-size:12px; font-weight:700; color:var(--amber); }
.mega-ai:hover{ background:var(--navy-deep); }

/* ドロワー用CTA・スクリム（デスクトップでは出さない） */
.nav-drawer-cta{ display:none; }
.nav-scrim{
  position:fixed; inset:0; background:rgba(8,26,48,.42); z-index:120;
  opacity:0; visibility:hidden; transition:opacity .4s var(--ease), visibility .4s;
}
body.nav-open .nav-scrim{ opacity:1; visibility:visible; }
/* header は z-index:50 で重ね合わせコンテキストを作る。
   ドロワーはその中にあるため、開いている間だけ header 自体をスクリムより前に出す */
body.nav-open header{ z-index:130; }

/* =====================================================
   ヒーロー
   ===================================================== */
.hero{ padding:150px 0 96px; position:relative; overflow:hidden; }
.hero-grid{
  display:grid; grid-template-columns:1.05fr .95fr; gap:64px; align-items:center;
}
.hero h1{
  font-size:clamp(32px,4vw,56px);
  font-weight:900; line-height:1.42; letter-spacing:.01em; color:var(--navy);
}
.hero .sub{
  margin-top:26px; font-size:clamp(15px,1.25vw,18px); font-weight:500; color:var(--body);
}
/* h1内でもsubでも使えるようスコープを.heroに広げた（XD準拠でマーカーは見出し側の“まちのWEB相談役”へ） */
.hero .soudan{
  background:linear-gradient(transparent 62%, rgba(217,161,60,.45) 62%) no-repeat left bottom;
  background-size:0% 100%;
  transition:background-size .9s var(--ease);
  font-weight:inherit; color:inherit; padding:0 2px;
}
.hero .soudan.draw{ background-size:100% 100%; }
@media (prefers-reduced-motion: reduce){
  .hero .soudan{ background-size:100% 100%; }
}
/* XDの右端吹き出し「WEBのこと、誰に相談したらいいか分からない…」を見出し上の悩みバルーンとして配置 */
.hero-bubble{
  display:inline-block; position:relative;
  background:var(--white); border:1px solid var(--line); border-radius:999px;
  padding:10px 20px; margin-bottom:22px;
  font-size:13.5px; font-weight:700; color:var(--navy); line-height:1.6;
}
.hero-bubble::after{
  content:''; position:absolute; left:30px; bottom:-6.5px; width:11px; height:11px;
  background:var(--white); border-right:1px solid var(--line); border-bottom:1px solid var(--line);
  transform:rotate(45deg);
}
/* 見出し2行目（XDでは36px→32pxと一段小さい）。
   “まちのWEB相談役”が折り返すとマーカーが割れるため1行に収まるサイズにする */
.hero h1 .h1-sub{ font-size:.6em; margin-top:12px; white-space:nowrap; }
@media (max-width:1200px){
  .hero h1 .h1-sub{ white-space:normal; }
}
.hero-cta-row{ margin-top:40px; display:flex; align-items:center; gap:20px; flex-wrap:wrap; }
.btn-main{
  display:inline-flex; align-items:center; gap:12px;
  background:var(--navy); color:#fff; font-weight:700; font-size:15.5px;
  padding:18px 38px; border-radius:999px;
  box-shadow:0 6px 20px rgba(12,36,63,.22);
  transition:box-shadow .3s var(--ease); /* transformはGSAPマグネットが担当 */
}
.btn-main .arrow{ transition:transform .3s var(--ease); }
.btn-main:hover{ box-shadow:0 14px 32px rgba(12,36,63,.3); }
.btn-main:hover .arrow{ transform:translateX(4px); }
.hero-tel{ font-size:12.5px; color:var(--body); line-height:1.5; }
.hero-tel .num{ font-family:"Outfit",sans-serif; font-size:19px; font-weight:600; color:var(--navy); display:block; letter-spacing:.02em; }

/* パターンC: 縦ラベルのサイドレール */
.hero-wrap{ position:relative; }
.side-rail{
  position:absolute; left:-6px; top:16px; bottom:auto; height:calc(100% - 32px);
  display:flex; flex-direction:column; align-items:center; gap:14px;
}
.side-rail .dot{ width:7px; height:7px; border-radius:50%; background:var(--amber); }
.side-rail .bar{ width:1px; flex-grow:1; background:var(--line); }
.side-rail .txt{
  writing-mode:vertical-rl; font-size:10.5px; letter-spacing:.32em;
  color:var(--body); text-transform:uppercase; font-weight:500;
}

/* MV: スタッガード3カラム＋1枚アクセント
   ・カラム内は目地14px均一、カラムごと縦にずらす（＝意図した段差）
   ・各タイルの縦横比は元画像に合わせて「見切れ」をなくす
   ・浮かせて傾けるのは紙モック1枚だけ */
.photo-stack{
  position:relative; z-index:1;
  display:grid; grid-template-columns:1fr 1.3fr 1fr; gap:14px;
  align-items:start;
}
.pcol{ display:flex; flex-direction:column; gap:14px; }
.pcol.c2{ margin-top:-24px; }  /* 主役カラムは少し持ち上げ */
.pcol.c3{ margin-top:56px; }   /* 右カラムは下げて段差をつくる */

.photo{
  position:relative; border-radius:var(--r-card); overflow:hidden;
  box-shadow:0 12px 30px rgba(12,36,63,.13);
  clip-path:inset(100% 0 0 0);
}
.photo img{ width:100%; height:100%; object-fit:cover; display:block; }

/* 縦横比は元画像準拠（1:1素材→a11、2:3素材→a23 等） */
.photo.a11{ aspect-ratio:1/1; }
.photo.a34{ aspect-ratio:3/4; }
.photo.a23{ aspect-ratio:2/3; }
.photo.a43{ aspect-ratio:4/3; }
.photo.main{ box-shadow:0 20px 48px rgba(12,36,63,.22); }

/* 浮きアクセント：紙モック1枚だけカラムの目地をまたぐ（元画像が縦なので2:3） */
.photo.g-print{
  position:absolute; left:14%; top:40%; width:23%; aspect-ratio:2/3;
  z-index:10; transform:rotate(-3deg);
  border:6px solid var(--paper);
  box-shadow:0 24px 54px rgba(12,36,63,.28);
}

@media (prefers-reduced-motion: reduce){
  .photo{ clip-path:none; }
}
.hero-news{
  margin-top:48px;
  display:flex; align-items:center; gap:18px; flex-wrap:wrap;
  background:var(--white); border:1px solid var(--line); border-radius:var(--r-card);
  padding:16px 24px; font-size:13.5px;
  transition:border-color .3s var(--ease);
}
.hero-news:hover{ border-color:var(--navy); }
.hero-news .date{ font-family:"Outfit",sans-serif; color:var(--body); font-size:12.5px; letter-spacing:.03em; }
.hero-news .cat{ font-size:11px; font-weight:700; color:var(--navy); background:rgba(12,36,63,.07); padding:3px 12px; border-radius:999px; }
.hero-news .ttl{ font-weight:500; }

/* =====================================================
   導入企業マーキー
   ===================================================== */
.clients{ padding:52px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:var(--surface); overflow:hidden; }
.clients .label{ text-align:center; font-size:12.5px; color:var(--body); margin-bottom:26px; font-weight:500; }
.marquee{ display:flex; width:max-content; animation:marquee 36s linear infinite; }
.marquee:hover{ animation-play-state:paused; }
@media (prefers-reduced-motion: reduce){ .marquee{ animation:none; } }
@keyframes marquee{ to{ transform:translateX(-50%); } }
.marquee .set{ display:flex; align-items:center; gap:72px; padding-right:72px; }
.client{ display:flex; align-items:center; gap:12px; opacity:.55; filter:grayscale(1); transition:opacity .3s, filter .3s; }
.client:hover{ opacity:1; filter:none; }
.client .mark{
  width:38px; height:38px; border-radius:50%; background:var(--navy);
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-family:"Outfit",sans-serif; font-weight:600; font-size:15px;
}
.client .name{ font-size:14px; font-weight:700; color:var(--ink); white-space:nowrap; }

/* =====================================================
   メッセージ
   ===================================================== */
.message{ padding:140px 0; text-align:center; }
.message h2{
  font-size:clamp(26px,3vw,42px); font-weight:900; line-height:1.6; color:var(--navy); letter-spacing:.01em;
}
.message .body-txt{
  margin:36px auto 0; max-width:640px; color:var(--body); font-size:15.5px;
}
.message-photo{
  margin:64px auto 0; max-width:860px;
  border-radius:var(--r-card); overflow:hidden;
  box-shadow:0 24px 60px rgba(12,36,63,.14);
}
.message-photo img{ width:100%; aspect-ratio:21/9; object-fit:cover; }

/* =====================================================
   悩みナビ(サービス)
   ===================================================== */
.service{ padding:120px 0 140px; background:var(--surface); }
.sec-label{
  font-family:"Outfit",sans-serif; font-size:12px; letter-spacing:.22em; text-transform:uppercase;
  color:var(--amber-text); font-weight:600; display:block; margin-bottom:14px;
}
.service h2, .works h2, .reasons h2{
  font-size:clamp(26px,2.8vw,40px); font-weight:900; color:var(--navy); line-height:1.5;
}
.service .lead{ margin-top:18px; color:var(--body); max-width:560px; font-size:15px; }
.nayami-grid{
  margin-top:56px;
  display:grid; grid-template-columns:repeat(2,1fr); gap:20px;
}
.nayami{
  background:var(--paper); border:1px solid var(--line); border-radius:var(--r-card);
  padding:40px 38px; position:relative; overflow:hidden;
  transition:transform .4s var(--ease), box-shadow .4s var(--ease);
  display:flex; flex-direction:column; gap:18px;
}
.nayami:hover{ transform:translateY(-6px); box-shadow:0 18px 40px rgba(12,36,63,.12); }
.nayami .voice{
  font-size:clamp(17px,1.5vw,21px); font-weight:900; line-height:1.6; color:var(--navy);
}
.nayami .menus{ color:var(--body); font-size:13.5px; line-height:2.1; flex-grow:1; }
.nayami .go{
  display:inline-flex; align-items:center; gap:8px;
  font-weight:700; font-size:13.5px; color:var(--navy);
}
.nayami .go .arrow{ transition:transform .3s var(--ease); }
.nayami:hover .go .arrow{ transform:translateX(4px); }
.nayami svg.icon{ width:44px; height:44px; }
/* AIセルだけネイビー反転(ベント変化) */
.nayami.ai{ background:var(--navy); border-color:var(--navy); }
.nayami.ai .voice{ color:#fff; }
.nayami.ai .menus{ color:#b8c5d3; }
.nayami.ai .go{ color:var(--amber); }
.nayami.ai .badge{
  position:absolute; top:22px; right:22px;
  font-size:11px; font-weight:700; color:var(--navy);
  background:var(--amber); border-radius:999px; padding:4px 14px;
}

/* =====================================================
   実績
   ===================================================== */
.works{ padding:130px 0; }
.works-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:24px; flex-wrap:wrap; margin-bottom:52px; }
.works-link{
  display:inline-flex; align-items:center; gap:10px;
  font-weight:700; font-size:14px; color:var(--navy);
  border:1.5px solid var(--navy); border-radius:999px; padding:12px 28px;
  transition:background .3s var(--ease), color .3s var(--ease);
}
.works-link:hover{ background:var(--navy); color:#fff; }
/* 実績の2軸ラベル（制作実績／導入実績） */
.works-axis{
  display:flex; align-items:center; gap:14px;
  margin:0 0 26px; font-size:clamp(17px,1.5vw,21px); font-weight:900; color:var(--navy);
}
.works-axis + .works-grid{ margin-bottom:64px; }
.works-axis .a-dot{ width:9px; height:9px; border-radius:50%; background:var(--amber); flex-shrink:0; }
.works-axis .a-en{ font-size:11px; letter-spacing:.2em; color:var(--body); font-weight:500; text-transform:uppercase; }
.works-axis .a-line{ flex-grow:1; height:1px; background:var(--line); }

.works-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }

/* 実績: 主役1枚＋控え2枚の非対称レイアウト（taste版から移植） */
.works-grid.feat{ grid-template-columns:1.05fr .95fr; }
.works-grid.feat .wcard.hero-card{ grid-row:1 / span 2; }
.works-grid.feat .wcard.hero-card .quote{ font-size:19px; }
.works-grid.feat .wcard.mini{ display:grid; grid-template-columns:36% 1fr; }
.works-grid.feat .wcard.mini .thumb{ aspect-ratio:auto; height:100%; min-height:150px; }
.works-grid.feat .wcard.mini .body{ padding:22px 24px; }
.works-grid.cols2{ grid-template-columns:repeat(2,1fr); }

.wcard{
  background:var(--white); border:1px solid var(--line); border-radius:var(--r-card); overflow:hidden;
  display:flex; flex-direction:column;
  transition:transform .4s var(--ease), box-shadow .4s var(--ease);
}
.wcard:hover{ transform:translateY(-6px); box-shadow:0 18px 40px rgba(12,36,63,.12); }
.wcard .thumb{ aspect-ratio:16/10; overflow:hidden; }
/* 直接の子画像のみ。.mock 内部の画像を巻き込まないよう子セレクタで限定する */
.wcard .thumb > img{ width:100%; height:100%; object-fit:cover; }
/* サムネ内部はGSAPパララックスが担当（hoverズームはtransform競合のため廃止） */

/* =====================================================
   実績モック v2（正面フラット・実機風ラップトップ＋スマホ）
   斜めパースは使わない：制作物の表示面積が減り、
   グリッドで並べたときに角度と光源が揃わないため
   ===================================================== */
.mock{
  position:relative; width:100%; height:100%;
  background:linear-gradient(158deg,#f0f2f6 0%,#e2e6ed 100%);
  overflow:hidden;
}
/* 接地面の淡い影（床を感じさせる） */
.mock::after{
  content:''; position:absolute; left:6%; right:6%; bottom:4.5%;
  height:7%;
  background:radial-gradient(ellipse 50% 100% at 50% 100%, rgba(12,36,63,.16), transparent 70%);
  pointer-events:none;
}

/* --- ラップトップ（スクリーンベゼル＋ヒンジデッキ） --- */
.mock .m-pc{
  position:absolute; left:6%; top:9%; width:72%; z-index:1;
  background:#0f1116;
  border:3px solid #1a1c22;
  border-bottom-width:0;
  border-radius:10px 10px 0 0;
  padding:5px 5px 0;
  box-shadow:0 14px 30px rgba(12,36,63,.22);
}
/* インカメラ */
.mock .m-pc::before{
  content:''; position:absolute; top:1px; left:50%; transform:translateX(-50%);
  width:3px; height:3px; border-radius:50%;
  background:#3a3f4a; z-index:2;
}
/* デッキ（キーボード側）。本体より左右に張り出す */
.mock .m-pc::after{
  content:''; position:absolute; left:-4.5%; right:-4.5%; bottom:0;
  transform:translateY(100%);
  height:9px;
  background:linear-gradient(180deg, #dfe3e9 0%, #c9ced7 55%, #aab0bb 100%);
  border-radius:0 0 10px 10px;
  box-shadow:0 6px 14px rgba(12,36,63,.18);
}
/* デッキ中央のサムノッチは screen 内には描けないため省略（小サイズで潰れるだけ） */
.mock .m-bar{
  aspect-ratio:34 / 1; background:#e9e7e2;
  display:flex; align-items:center; gap:3px; padding-left:7px;
  border-radius:4px 4px 0 0;
}
.mock .m-bar i{
  width:3.5px; height:3.5px; border-radius:50%;
  background:#c3c0b9; flex:none;
}
.mock .m-pc img{ width:100%; height:auto; display:block; border-radius:0 0 2px 2px; }

/* --- スマホ（ダイナミックアイランド＋サイドボタン） --- */
.mock .m-sp{
  position:absolute; right:4.5%; bottom:8%; width:17%; z-index:2;
  border-radius:14% / 7%;
  overflow:hidden; background:#fff;
  border:3px solid #17181c;
  box-shadow:0 12px 24px rgba(12,36,63,.30);
}
.mock .m-sp::before{
  content:''; position:absolute; top:3.5%; left:50%; transform:translateX(-50%);
  width:34%; height:4%; border-radius:999px;
  background:#17181c; z-index:2;
}
.mock .m-sp img{ width:100%; height:auto; display:block; }

/* ラップトップ単体（重ねるスマホ無し）。TOPのミニカード等で使う。縦中央に置く */
.mock .m-pc.solo{ left:9%; width:82%; top:50%; transform:translateY(-56%); }

@media(max-width:900px){
  .mock .m-bar i{ width:3px; height:3px; }
  .mock .m-pc{ padding:4px 4px 0; border-width:2px 2px 0; }
  .mock .m-pc::after{ height:7px; }
  .mock .m-sp{ border-width:2px; }
}
.wcard .body{ padding:26px 26px 24px; display:flex; flex-direction:column; gap:14px; flex-grow:1; }
.wcard .quote{ font-weight:700; font-size:15.5px; line-height:1.75; color:var(--navy); }
.wcard .meta{ font-size:12.5px; color:var(--body); border-top:1px solid var(--line); padding-top:14px; margin-top:auto; line-height:1.9; }
.wcard .tags{ display:flex; gap:6px; flex-wrap:wrap; }
.wcard .tags span{
  font-size:11px; font-weight:500; color:var(--body);
  background:var(--paper); border-radius:999px; padding:3px 12px;
}
.wcard .tags .area{ color:var(--navy); font-weight:700; background:rgba(217,161,60,.16); }
/* 公開前タスクの可視マーカー（実データ差し替え時に一括削除する）。wcard外でも使う */
.todo{
  display:inline-block; margin-top:7px; padding:2px 9px;
  font-size:11.5px; font-weight:700; letter-spacing:.02em;
  color:#9a5c22; background:rgba(217,161,60,.20); border-radius:4px;
}

/* =====================================================
   CTA
   ===================================================== */
.cta{
  background:linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  padding:130px 0; color:#fff; text-align:center; position:relative; overflow:hidden;
}
.cta::before{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(ellipse 60% 50% at 50% 0%, rgba(217,161,60,.12), transparent 70%);
}
/* 灯台の灯が掃く演出（ブランドモチーフ・CTAのみ） */
.cta .beacon-sweep{
  position:absolute; inset:-35%; pointer-events:none; mix-blend-mode:soft-light;
  background:conic-gradient(from 0deg at 50% -8%, transparent 0deg, rgba(255,216,145,.55) 10deg, transparent 26deg);
  animation:beam 16s linear infinite;
}
@keyframes beam{ to{ transform:rotate(360deg); } }
@media (prefers-reduced-motion: reduce){ .cta .beacon-sweep{ display:none; } }
/* メッセージ本文の文字スクラブ用 */
.message .body-txt span{ will-change:opacity; }
.cta h2{ font-size:clamp(26px,3vw,42px); font-weight:900; line-height:1.6; position:relative; }
.cta p{ margin:26px auto 44px; max-width:520px; color:#b8c5d3; font-size:15.5px; position:relative; }
.cta .btn-main{ background:#fff; color:var(--navy); box-shadow:0 10px 30px rgba(0,0,0,.3); position:relative; }
.cta .tel{ margin-top:30px; font-size:13px; color:#8fa0b3; position:relative; }
.cta .tel .num{ font-family:"Outfit",sans-serif; font-size:24px; font-weight:600; color:#fff; margin-right:14px; letter-spacing:.02em; }

/* =====================================================
   フッター
   ===================================================== */
footer{ background:var(--surface); border-top:1px solid var(--line); padding:64px 0 36px; font-size:13px; }
.f-grid{ display:grid; grid-template-columns:1.2fr 2fr; gap:56px; margin-bottom:48px; }
.f-brand .brand{ margin-bottom:18px; }
.f-brand p{ color:var(--body); font-size:12.5px; line-height:2; }
.f-nav{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.f-nav .head{ font-weight:700; margin-bottom:14px; color:var(--navy); }
.f-nav li{ padding:4px 0; }
.f-nav a{ color:var(--body); transition:color .25s; }
.f-nav a:hover{ color:var(--navy); }
.copy{ text-align:center; color:var(--body); font-size:11.5px; border-top:1px solid var(--line); padding-top:28px; }

/* =====================================================
   レスポンシブ
   ===================================================== */
@media (max-width:1024px){
  .container{ padding:0 40px; }
  .menu-btn{ display:flex; position:relative; z-index:130; }

  /* backdrop-filter は fixed 子要素の包含ブロックを作ってしまい、
     ドロワーが画面基準で配置できなくなる。SPでは不透明背景に置き換える */
  .nav{
    background:rgba(253,251,247,.97);
    backdrop-filter:none; -webkit-backdrop-filter:none;
  }

  /* --- ナビ＝右からのドロワーに変化 --- */
  .nav-links{
    display:flex; flex-direction:column; align-items:stretch; gap:0;
    position:fixed; top:0; right:0; bottom:0; z-index:125;
    width:min(430px, 88vw); padding:92px 26px 44px;
    background:var(--paper); overflow-y:auto; overscroll-behavior:contain;
    box-shadow:-22px 0 60px rgba(12,36,63,.20);
    transform:translateX(100%); transition:transform .42s var(--ease);
  }
  body.nav-open{ overflow:hidden; }
  body.nav-open .nav-links{ transform:none; }

  .nav-links > a, .nav-links .mega-btn{
    width:100%; font-size:15px; font-weight:700; color:var(--navy);
    padding:17px 2px; border-bottom:1px solid var(--line);
    justify-content:space-between;
  }
  .nav-links a::after, .mega-btn::after{ display:none; }
  .has-mega{ width:100%; }

  /* メガ＝アコーディオン（grid-template-rows で高さアニメ） */
  .mega{
    position:static; transform:none; width:auto; padding:0; z-index:auto;
    background:transparent; border:none; border-radius:0; box-shadow:none;
    opacity:1; visibility:visible; pointer-events:auto;
    display:grid; grid-template-rows:0fr;
    transition:grid-template-rows .42s var(--ease);
  }
  .has-mega.open .mega{ grid-template-rows:1fr; transform:none; }
  .mega-inner{
    grid-template-columns:1fr; gap:0; overflow:hidden; min-height:0;
    padding:0;
  }
  .mega-col{ padding:16px 0 4px; border-bottom:1px solid var(--line); }
  .mega-head{ padding-bottom:10px; margin-bottom:10px; }
  .mega-col li a{ font-size:13.5px; padding:7px 0 7px 14px; border-left:2px solid var(--line); }
  .mega-ai{ margin:16px 0 4px; }

  /* .nav-links > a より詳細度を上げないと色と罫線が勝てない */
  .nav-links > a.nav-drawer-cta{
    display:block; margin-top:26px; text-align:center;
    background:var(--navy); color:#fff; border-radius:999px;
    padding:16px 24px; font-size:14px; font-weight:700; border-bottom:none;
  }
  .nav-links > a.nav-drawer-cta::after{ display:none; }
  .hero-grid{ grid-template-columns:1fr; gap:44px; }
  .side-rail{ display:none; }
  .photo-stack{ max-width:520px; margin:0 auto; width:100%; }
  .nayami-grid{ grid-template-columns:1fr; }
  .works-grid{ grid-template-columns:1fr; max-width:560px; margin:0 auto; }
  .works-grid.feat{ grid-template-columns:1fr; }
  .works-grid.feat .wcard.hero-card{ grid-row:auto; }
  .works-grid.cols2{ grid-template-columns:1fr; }
  .f-grid{ grid-template-columns:1fr; }
}
@media (max-width:768px){
  .container{ padding:0 22px; }
  .nav{ padding:0 22px; }
  .nav-cta{ display:none; }
  .hero{ padding:120px 0 72px; }
  /* SP: モザイクは全タイル維持（間引くと目地に穴があく）。目地だけ細く */
  .photo-stack{ gap:8px; }
  .message{ padding:96px 0; }
  .service, .works{ padding:88px 0; }
  .cta{ padding:96px 0; }
  .hero-cta-row .btn-main{ width:100%; justify-content:center; }
  .f-nav{ grid-template-columns:1fr; }
}

/* =====================================================
   下層ページ共通
   ===================================================== */
.page-head{ padding:150px 0 64px; }
.breadcrumb{ display:flex; gap:10px; font-size:12px; color:var(--body); margin-bottom:22px; }
.breadcrumb a{ color:inherit; text-decoration:none; }
.breadcrumb a:hover{ color:var(--navy); }
.breadcrumb .sep{ opacity:.5; }
.page-head h1{ font-size:clamp(30px,3.4vw,50px); font-weight:900; color:var(--navy); line-height:1.4; letter-spacing:.01em; }
.page-head .lead{ margin-top:20px; color:var(--body); max-width:680px; font-size:15.5px; }
.page-section{ padding:96px 0; }
.page-section.alt{ background:var(--surface); }
.btn-sub{
  display:inline-flex; align-items:center; gap:10px;
  padding:14px 32px; border:2px solid var(--navy); border-radius:999px;
  color:var(--navy); font-weight:700; font-size:14px; text-decoration:none;
  transition:background .3s var(--ease), color .3s var(--ease);
}
.btn-sub:hover{ background:var(--navy); color:#fff; }
@media (max-width:768px){
  .page-head{ padding:120px 0 48px; }
  .page-section{ padding:64px 0; }
}
/* 下層セクション見出し（sec-labelとセットで使用） */
.sec-title{
  font-size:clamp(24px,2.6vw,36px); font-weight:900; color:var(--navy);
  line-height:1.5; letter-spacing:.01em; margin-bottom:48px;
}
/* ナビ: 現在地表示 */
.nav-links a.current{ color:var(--navy); font-weight:700; }
.nav-links a.current::after{ transform:scaleX(1); }

/* =====================================================
   下層: 実績一覧（works.html）
   ===================================================== */
.works-tabs{ display:flex; gap:10px; flex-wrap:wrap; margin:36px 0 18px; }
.works-tab{
  font-size:13px; font-weight:700; color:var(--body);
  background:var(--white); border:1px solid var(--line); border-radius:999px;
  padding:10px 22px; cursor:pointer;
  transition:color .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.works-tab:hover{ color:var(--navy); border-color:var(--navy); }
.works-tab.active{ background:var(--navy); border-color:var(--navy); color:#fff; }
.works-filter{
  background:var(--white); border:1px solid var(--line); border-radius:var(--r-card);
  padding:24px 28px; margin-bottom:64px;
  display:flex; flex-direction:column; gap:12px;
}
.works-filter .note{ font-size:11.5px; color:var(--body); letter-spacing:.04em; }
.works-filter .group{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.works-filter .label{ font-size:12.5px; font-weight:700; color:var(--navy); width:76px; flex-shrink:0; }
.chip{
  font-size:12px; color:var(--body); background:var(--paper);
  border:1px solid var(--line); border-radius:999px; padding:4px 15px; cursor:pointer;
  transition:color .3s var(--ease), border-color .3s var(--ease);
}
.chip:hover{ color:var(--navy); border-color:var(--navy); }
.works-list{ margin-bottom:80px; }
.works-list.last{ margin-bottom:0; }
@media (max-width:768px){
  .works-filter{ padding:20px; margin-bottom:48px; }
  .works-filter .label{ width:100%; }
  .works-list{ margin-bottom:56px; }
}

/* =====================================================
   下層: 会社概要（about.html）
   ===================================================== */
.greet-grid{ display:grid; grid-template-columns:1.15fr .85fr; gap:72px; align-items:start; }
.greet-grid h2{
  font-size:clamp(23px,2.5vw,34px); font-weight:900; color:var(--navy);
  line-height:1.75; letter-spacing:.01em; margin-bottom:36px;
}
.greet-body p{ color:var(--body); font-size:15px; line-height:2.15; }
.greet-body p + p{ margin-top:26px; }
.greet-sign{ margin-top:34px; font-size:14px; font-weight:700; color:var(--navy); }
.greet-sign .name{ font-size:18px; margin-left:10px; letter-spacing:.06em; }
.greet-photo{
  border-radius:var(--r-card); overflow:hidden;
  box-shadow:0 20px 48px rgba(12,36,63,.16);
  position:sticky; top:110px;
}
.greet-photo img{ width:100%; aspect-ratio:1/1; object-fit:cover; }
.greet-photo figcaption{
  background:var(--white); font-size:12px; color:var(--body);
  padding:12px 18px; border-top:1px solid var(--line);
}
/* 会社概要テーブル（定義リスト型・罫線細め・左セル太字） */
.company-table{ max-width:840px; border-top:1px solid var(--line); }
.company-table dl{
  display:grid; grid-template-columns:200px 1fr; gap:20px;
  padding:24px 12px; border-bottom:1px solid var(--line); margin:0;
}
.company-table dt{ font-weight:700; font-size:14px; color:var(--navy); letter-spacing:.04em; }
.company-table dd{ font-size:14.5px; color:var(--body); line-height:1.9; margin:0; }
/* アクセス */
.access-grid{ display:grid; grid-template-columns:1.25fr .75fr; gap:56px; align-items:start; }
.access-map{
  background:#eae5d9; border:1px solid var(--line); border-radius:var(--r-card);
  aspect-ratio:16/9; display:flex; align-items:center; justify-content:center;
  color:var(--body); font-family:"Outfit",sans-serif; font-size:14px; letter-spacing:.18em;
}
.access-info h3{ font-size:17px; font-weight:900; color:var(--navy); margin-bottom:14px; display:flex; align-items:center; gap:10px; }
.access-info h3 .a-dot{ width:8px; height:8px; border-radius:50%; background:var(--amber); flex-shrink:0; }
.access-info p{ font-size:14px; color:var(--body); line-height:2.05; }
.access-info p + h3{ margin-top:30px; }
@media (max-width:1024px){
  .greet-grid{ grid-template-columns:1fr; gap:44px; }
  .greet-photo{ position:static; max-width:440px; }
  .access-grid{ grid-template-columns:1fr; gap:36px; }
}
@media (max-width:768px){
  .company-table dl{ grid-template-columns:1fr; gap:6px; padding:18px 6px; }
}

/* =====================================================
   下層: FREEの特徴（feature.html）
   ===================================================== */
.feature-row{ display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:center; }
.feature-row + .feature-row{ margin-top:120px; }
.feature-row.rev .feature-txt{ order:2; }
.feature-row.rev .feature-photo{ order:1; }
.feature-num{
  font-family:"Outfit",sans-serif; font-size:14px; font-weight:600;
  color:var(--amber-text); letter-spacing:.22em;
  display:flex; align-items:center; gap:14px; margin-bottom:20px;
}
.feature-num::after{ content:""; width:48px; height:1px; background:var(--amber); }
.feature-txt h2{
  font-size:clamp(20px,2vw,28px); font-weight:900; color:var(--navy);
  line-height:1.75; letter-spacing:.01em; margin-bottom:26px;
}
.feature-txt p{ font-size:15px; color:var(--body); line-height:2.15; }
.feature-photo{
  border-radius:var(--r-card); overflow:hidden;
  box-shadow:0 20px 48px rgba(12,36,63,.16);
}
.feature-photo img{ width:100%; aspect-ratio:4/3; object-fit:cover; }
/* 数字で見るFREE */
.stats-grid{ margin-top:56px; display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.stat{
  background:var(--white); border:1px solid var(--line); border-radius:var(--r-card);
  padding:46px 28px 40px; text-align:center;
  display:flex; flex-direction:column; align-items:center; gap:16px;
}
.stat .num{
  font-family:"Outfit",sans-serif; font-size:58px; font-weight:600;
  color:var(--navy); line-height:1; letter-spacing:.02em;
}
.stat .num .unit{ font-size:20px; font-weight:500; color:var(--body); margin-left:6px; }
.stat svg.badge{ width:58px; height:58px; }
.stat .label{ font-size:13.5px; font-weight:700; color:var(--ink); line-height:1.7; }
.stats-note{ margin-top:20px; font-size:11.5px; color:var(--body); text-align:center; }
@media (max-width:1024px){
  .feature-row{ grid-template-columns:1fr; gap:36px; }
  .feature-row + .feature-row{ margin-top:80px; }
  .feature-row.rev .feature-txt{ order:1; }
  .feature-row.rev .feature-photo{ order:2; }
  .stats-grid{ grid-template-columns:1fr; max-width:440px; margin-left:auto; margin-right:auto; }
}

/* 実績カード：ねらい・結果（2026-09-08） */
.wcard .result{ font-size:12.5px; line-height:1.8; color:var(--navy); font-weight:700; padding:10px 12px; background:rgba(217,161,60,.10); border-radius:8px; }
.wcard .result span{ display:block; font-size:10.5px; color:#b8842a; letter-spacing:.1em; margin-bottom:2px; }
/* 選ばれる理由：姿勢の一文 */
.r-stance{ margin:18px 0 0; font-size:20px; font-weight:900; line-height:1.7; color:var(--navy); letter-spacing:.01em; }
.r-stance br.pc{ display:block; } @media (max-width:768px){ .r-stance{ font-size:17px; } .r-stance br.pc{ display:none; } }

/* =====================================================
   案A統合 2026-09-08
   単体サービスページ（svc_*.html）を入口3ページのセクションとして吸収。
   .abs = absorbed section。既存の .page-section / .alt / .container / .btn-sub と組み合わせて使う
   ===================================================== */
.page-section[id]{ scroll-margin-top:96px; } /* 固定ヘッダーぶん。別ページからアンカー着地しても見出しが隠れない */
.abs h2{ font-size:clamp(26px,2.8vw,40px); font-weight:900; color:var(--navy); line-height:1.5; }
.abs-lead{ margin-top:18px; color:var(--body); font-size:15px; max-width:680px; line-height:2; }
.abs-note{ margin-top:12px; font-size:12.5px; color:var(--body); }
.abs-grid{ margin-top:44px; display:grid; grid-template-columns:1fr 1fr; gap:24px; align-items:start; }
.abs-box{ background:var(--white); border:1px solid var(--line); border-radius:var(--r-card); padding:30px 34px; }
.abs-box h3{ font-size:15px; font-weight:900; color:var(--navy); padding-bottom:12px; border-bottom:1px solid var(--line); }
.abs-fit, .abs-flow{ list-style:none; margin:0; padding:0; }
.abs-fit li, .abs-flow li{
  display:flex; gap:12px; align-items:flex-start; padding:13px 0; border-bottom:1px dashed var(--line);
  font-size:14.5px; font-weight:700; color:var(--navy); line-height:1.7;
}
.abs-fit li:last-child, .abs-flow li:last-child{ border-bottom:none; }
.abs-fit li svg{ width:22px; height:22px; flex-shrink:0; margin-top:2px; }
.abs-flow .num{ font-family:"Outfit",sans-serif; font-weight:600; font-size:12px; color:var(--amber); letter-spacing:.12em; flex-shrink:0; min-width:24px; padding-top:4px; }
.abs-flow small{ display:block; font-weight:500; color:var(--body); font-size:12.5px; line-height:1.8; margin-top:2px; }
.abs-foot{
  margin-top:24px; display:flex; flex-wrap:wrap; gap:18px 28px; align-items:center; justify-content:space-between;
  background:var(--paper); border:1px solid var(--line); border-left:4px solid var(--amber);
  border-radius:var(--r-card); padding:22px 28px;
}
.abs-foot .btn-sub{ flex-shrink:0; }
.abs-price{ font-size:14px; font-weight:700; color:var(--navy); line-height:1.8; max-width:720px; }
.abs-price .k{ display:inline-block; font-size:11px; letter-spacing:.12em; color:var(--body); margin-right:10px; }
.abs-price small{ display:block; font-weight:500; font-size:12px; color:var(--body); margin-top:4px; }
/* 短い案内ブロック（本文が別ページにあるサービス用） */
.abs-mini{
  margin-top:28px; display:flex; flex-wrap:wrap; gap:18px 28px; align-items:center; justify-content:space-between;
  background:var(--white); border:1px solid var(--line); border-radius:var(--r-card); padding:28px 32px;
}
.abs-mini p{ font-size:14.5px; color:var(--body); line-height:1.9; max-width:640px; }
@media (max-width:1024px){ .abs-grid{ grid-template-columns:1fr; } }
@media (max-width:768px){
  .abs-box{ padding:22px 20px; }
  .abs-foot{ padding:20px 20px; }
  .abs-mini{ padding:22px 20px; }
  .abs-foot .btn-sub, .abs-mini .btn-sub{ width:100%; justify-content:center; }
}

/* =====================================================
   2026-09-08 フッター会員表記
   ===================================================== */
.foot-cert{
  margin-top:10px; text-align:center; font-size:11px; color:var(--body); opacity:.7; letter-spacing:.02em;
}

/* 2026-09-08 サービス再整理：メガメニュー2列＋AIカード（PCのみ列幅を変更。SPは既存の1列アコーディオンのまま） */
@media (min-width:1025px){
  .mega-inner.v2{ grid-template-columns:1.3fr .92fr; max-width:760px; }
}
/* 2026-09-08 TOP悩みカード：準備中サービスの注記（集客カードのみ） */
.nayami .menus .soon{ display:block; font-size:11.5px; color:var(--body); opacity:.75; line-height:1.7; margin-top:4px; }

/* AI導入実績カード（LPの事例と同型） 2026-09-08 */
.case-grid{ margin-top:32px; display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.case-card{ background:#fff; border:1px solid var(--line); border-radius:16px; overflow:hidden; display:flex; flex-direction:column; color:inherit; text-decoration:none; transition:box-shadow .3s var(--ease), transform .3s var(--ease); }
.case-card:hover{ transform:translateY(-6px); box-shadow:0 18px 40px rgba(12,36,63,.12); }
.case-card figure{ margin:0; background:var(--paper); }
.case-card figure img{ width:100%; height:auto; display:block; }
.case-card .c-body{ padding:26px 28px 28px; }
.case-card .c-tag{ display:inline-block; font-size:11px; font-weight:700; letter-spacing:.08em; color:var(--amber); border:1px solid rgba(217,161,60,.5); border-radius:999px; padding:3px 10px; margin-bottom:10px; }
.case-card h3{ font-size:18px; font-weight:900; color:var(--navy); margin:0 0 12px; }
.case-card ul{ display:flex; flex-direction:column; gap:8px; margin:0; padding:0; list-style:none; }
.case-card li{ position:relative; padding-left:22px; font-size:13.5px; line-height:1.85; color:var(--ink); }
.case-card li::before{ content:""; position:absolute; left:0; top:11px; width:10px; height:10px; border-radius:50%; background:var(--amber); }
.case-card .c-result{ margin-top:16px; padding:12px 16px; background:var(--paper); border-left:4px solid var(--navy); border-radius:8px; font-size:13.5px; color:var(--ink); }
.case-card .c-result strong{ color:var(--navy); font-weight:900; }
@media (max-width:768px){ .case-grid{ grid-template-columns:1fr; } }

/* 広告用ショート動画カード 2026-09-08 */
.short-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-bottom:16px; }
.short-card{ background:#fff; border:1px solid var(--line); border-radius:16px; overflow:hidden; display:flex; flex-direction:column; cursor:pointer; transition:box-shadow .3s var(--ease), transform .3s var(--ease); }
.short-card:hover{ transform:translateY(-6px); box-shadow:0 18px 40px rgba(12,36,63,.12); }
.short-card .sc-frame{ position:relative; aspect-ratio:9/16; background:#0c243f; }
.short-card video{ width:100%; height:100%; object-fit:contain; display:block; background:#0c243f; }
.short-card .sc-sound{ position:absolute; right:12px; bottom:12px; width:40px; height:40px; border:0; border-radius:50%; background:rgba(12,36,63,.72); color:#fff; display:grid; place-items:center; cursor:pointer; padding:0; }
.short-card .sc-sound span{ display:grid; place-items:center; }
.short-card .sc-sound svg{ width:18px; height:18px; }
.short-card .sc-sound[aria-pressed="true"]{ background:var(--amber); color:var(--navy); }
.short-card .body{ padding:20px 22px 22px; display:flex; flex-direction:column; gap:12px; }
.short-card .quote{ font-weight:700; font-size:15px; line-height:1.6; color:var(--navy); }
.short-card .tags{ display:flex; gap:6px; flex-wrap:wrap; }
.short-card .tags span{ font-size:11px; padding:4px 9px; border-radius:999px; background:var(--paper); color:var(--body); }
.short-card .tags .area{ color:var(--navy); font-weight:700; background:rgba(217,161,60,.16); }
.short-card .meta{ font-size:12.5px; color:var(--body); line-height:1.8; }
.short-note{ font-size:12px; color:var(--body); margin:0 0 72px; }
@media (max-width:768px){ .short-grid{ grid-template-columns:1fr 1fr; gap:14px; } .short-card .body{ padding:14px 14px 16px; } .short-card .quote{ font-size:13.5px; } .short-note{ margin-bottom:48px; } }
@media (max-width:480px){ .short-grid{ grid-template-columns:1fr; } .short-card .sc-frame{ max-height:70vh; } }

/* 実績ページ：セクション末尾の余白（CTAに密着していた） 2026-09-08 */
.works-index{ padding-bottom:120px; }
@media (max-width:768px){ .works-index{ padding-bottom:80px; } }

/* ショート動画：再生／一時停止ボタン */
.short-card .sc-play{ position:absolute; left:12px; bottom:12px; width:40px; height:40px; border:0; border-radius:50%; background:rgba(12,36,63,.72); color:#fff; display:grid; place-items:center; cursor:pointer; padding:0; }
.short-card .sc-play span{ display:grid; place-items:center; }
.short-card .sc-play svg{ width:18px; height:18px; }

.short-card .sc-play span[hidden], .short-card .sc-sound span[hidden]{ display:none; }

/* 改行制御 */
.nb{ white-space:nowrap; }
br.sp{ display:none; }
@media (max-width:768px){ br.sp{ display:block; } }

/* 実績ページ：タブ・チップをボタン化（works-filter.js） 2026-09-08 */
button.works-tab, button.chip{ font-family:inherit; line-height:1.5; appearance:none; -webkit-appearance:none; }
.works-tab[aria-selected="true"]{ background:var(--navy); border-color:var(--navy); color:#fff; }
.chip[aria-pressed="true"]{ background:var(--navy); border-color:var(--navy); color:#fff; font-weight:700; }
.chip[aria-pressed="true"]:hover{ color:#fff; }
.works-tab:focus-visible, .chip:focus-visible{ outline:2px solid var(--amber); outline-offset:2px; }
.chip-reset{ background:transparent; border-style:dashed; }
.works-filter .reset-row{ justify-content:flex-end; margin-top:2px; }
.works-axis .a-count{
  font-family:"Outfit",sans-serif; font-size:13px; font-weight:600; letter-spacing:.04em;
  color:var(--navy); background:rgba(217,161,60,.22); border-radius:999px; padding:3px 12px;
}
.works-axis .a-count[hidden], .works-list .wcard[hidden], [data-scope][hidden], .works-empty[hidden]{ display:none; }
.works-empty{
  margin:-40px 0 80px; padding:32px 28px; background:var(--white); border:1px dashed var(--line);
  border-radius:var(--r-card); font-size:15px; font-weight:700; color:var(--navy); line-height:1.9;
}
.works-empty a{ display:inline-block; margin-left:12px; color:var(--navy); text-decoration:underline; text-underline-offset:4px; }
.works-empty a span{ margin-left:4px; }
@media (max-width:768px){
  .works-tabs{ gap:8px; }
  .works-tab{ padding:9px 16px; font-size:12.5px; }
  .works-empty{ margin:-24px 0 56px; padding:24px 20px; font-size:14px; }
  .works-empty a{ display:block; margin:8px 0 0; }
}

/* SP用の図 2026-09-08
   理由04・05の図は、PC用SVG（.pc-only）とSP用SVG（.sp-only）を figure 内に並べて切り替える。
   SP用は縦長viewBox・要素を減らし、実表示で14px以上の文字にする */
.reasons .r-diagram .sp-only{ display:none; }
@media (max-width:768px){
  /* top-renewal.css（後読み）の .r-diagram{aspect-ratio:3/2} に勝つため .reasons を前置して詳細度を上げる */
  .reasons .r-diagram .pc-only{ display:none; }
  .reasons .r-diagram .sp-only{ display:block; max-height:none; }
  .reasons .r-diagram{ aspect-ratio:auto; padding:12px; }
}

/* バナーが1枚のときは全幅 2026-09-08 */
.banner-grid:has(> .banner:only-child){ grid-template-columns:1fr; }

/* CTA：フォームボタンをLINEボタンと同じ形に 2026-09-08 */
.cta .contact-options .btn-main{ border-radius:8px; min-height:54px; padding:14px 23px; font-size:14px; gap:12px; box-shadow:none; }
.cta .contact-options .btn-main .arrow{ font-size:15px; }

/* メガメニュー2列版：パネル幅を内容に合わせ、AIカードの余白を確実に効かせる 2026-09-08 */
.has-mega .mega:has(.mega-inner.v2){ width:min(720px, calc(100vw - 64px)); }
.mega-inner.v2{ max-width:none; }
.mega-inner .mega-ai{ padding:24px 22px !important; }

/* リード文の語中改行を防ぐ 2026-09-08 */
.r-lead, .lead, .page-head p, .sh-lead{ word-break:auto-phrase; overflow-wrap:anywhere; }

/* =====================================================
   緩急モーション 2026-09-08
   motion.js とセット。初期非表示クラス（.mo-*）はJSが付与するので、
   JSが動かない環境では下記の hidden 状態は一切適用されない。
   動かすのは transform / opacity / clip-path のみ（page-head見出しの blur は指示どおり例外）
   ===================================================== */
:root{
  --mo-quart: cubic-bezier(0.25, 1, 0.5, 1);   /* 小さいUI・ラベル */
  --mo-quint: cubic-bezier(0.22, 1, 0.36, 1);  /* 出現全般 */
  --mo-expo:  cubic-bezier(0.16, 1, 0.3, 1);   /* 見出し・写真（強い減速＝溜め） */
}

/* --- 見出し：ラベルは速く小さく（0.3s）、h2 は遅れて大きくゆっくり（0.8s） --- */
/* 初期非表示は :not(.mo-on) で詳細度(0,2,0)にする。TOPの top-renewal.css（後読み）の .fu{opacity:1} に負けないため */
.mo-label{ transition:opacity .3s var(--mo-quart), transform .3s var(--mo-quart); }
.mo-label:not(.mo-on){ opacity:0; transform:translateY(6px); }
.mo-label.mo-on{ opacity:1; transform:none; }
.mo-h2:not(.mo-lines){ transition:opacity .8s var(--mo-expo) .1s, transform .8s var(--mo-expo) .1s; }
.mo-h2:not(.mo-lines):not(.mo-on){ opacity:0; transform:translateY(20px); }
.mo-h2:not(.mo-lines).mo-on{ opacity:1; transform:none; }
/* 行ライズ版（TOP。GSAPの無いページで .ln を行ごとに持ち上げる） */
.mo-lines .ln{ transform:translateY(112%); transition:transform .8s var(--mo-expo); transition-delay:calc(.1s + var(--mo-i, 0) * .09s); }
.mo-lines.mo-on .ln{ transform:none; }

/* --- カード群・単体要素のスタッガー（--mo-d はJSが1枚ずつ振る） --- */
/* 見出し（.1s）より後に動き出すよう、カードは .18s を土台にして1枚ずつ足す */
.mo-item{ transition:opacity .7s var(--mo-quint), transform .7s var(--mo-quint); transition-delay:calc(.18s + var(--mo-d, 0s)); }
.mo-item:not(.mo-on){ opacity:0; transform:translateY(22px); }
.mo-item.mo-on{ opacity:1; transform:none; }

/* --- 選ばれる理由（TOP）：番号→見出し→本文→写真の順に時間差 --- */
.mo-row .reason-num{ opacity:0; transform:translateY(8px); transition:opacity .4s var(--mo-quart), transform .4s var(--mo-quart); }
.mo-row .reason-num::after{ transform:scaleX(0); transition:transform .5s var(--mo-expo) .2s; }
.mo-row h3{ opacity:0; transform:translateY(18px); transition:opacity .8s var(--mo-expo) .1s, transform .8s var(--mo-expo) .1s; }
.mo-row p{ opacity:0; transform:translateY(14px); transition:opacity .7s var(--mo-quint) .22s, transform .7s var(--mo-quint) .22s; }
.mo-row p + p{ transition-delay:.3s; }
.mo-row .r-photo{ opacity:0; transform:scale(1.04); transition:opacity .9s var(--mo-quint) .35s, transform 1.1s var(--mo-expo) .35s; }
.mo-row.mo-on .reason-num, .mo-row.mo-on h3, .mo-row.mo-on p, .mo-row.mo-on .r-photo{ opacity:1; transform:none; }
.mo-row.mo-on .reason-num::after{ transform:scaleX(1); }
/* REASON番号の左から伸びる短い線（静止時も同じ見た目） */
.reasons .reason-num{ display:flex; align-items:center; gap:12px; }
.reasons .reason-num::after{ content:""; width:32px; height:1px; background:var(--amber); transform-origin:left center; }

/* --- 単体の写真・図：少しだけ寄りながら入る（1.04→1.0） --- */
.mo-photo{ transition:opacity .9s var(--mo-quint), transform 1.1s var(--mo-expo); }
.mo-photo:not(.mo-on){ opacity:0; transform:scale(1.04); }
.mo-photo.mo-on{ opacity:1; transform:none; }

/* --- 実績カード「ねらい・結果」の琥珀の帯：表示時に左から塗られる --- */
.wcard .result{ position:relative; isolation:isolate; background:transparent; }
.wcard .result::before{ content:""; position:absolute; inset:0; z-index:-1; border-radius:8px; background:rgba(217,161,60,.10); }
.mo-item .result::before{ clip-path:inset(0 100% 0 0); transition:clip-path .7s var(--mo-quart); transition-delay:calc(var(--mo-d, 0s) + .5s); }
.mo-item.mo-on .result::before{ clip-path:inset(0 0 0 0); }

/* --- ページ遷移感：page-head の見出し（下層）。下から24px＋ぼかし6px → 0（0.9s） --- */
.page-head h1 .ln{ transform:none; }   /* 行ライズはこの見出しでは使わない（JS無しでも見える） */
.mo-js .page-head h1.mo-head{ animation:mo-head-in .9s var(--mo-expo) .05s both; }
@keyframes mo-head-in{
  from{ opacity:0; transform:translateY(24px); filter:blur(6px); }
  to{ opacity:1; transform:none; filter:blur(0); }
}

/* --- ホバー：画像だけ 1.03倍にゆっくり（0.6s）。浮き上がりは既存のまま。
       GSAPのパララックスが transform を握るサムネがあるため、個別プロパティ scale で足す --- */
.mo-js .wcard .thumb > img,
.mo-js .case-card figure img,
.mo-js .short-card video{ transition:scale .6s var(--mo-quint); }
.mo-js .wcard:hover .thumb > img,
.mo-js .case-card:hover figure img,
.mo-js .short-card:hover video{ scale:1.03; }
.mo-js .short-card .sc-frame{ overflow:hidden; }

/* --- ボタン：矢印が先に動き、本体は 0.1s 遅れて沈む --- */
.mo-js .btn-main{ transition:box-shadow .3s var(--ease), translate .3s var(--mo-quart) .1s; }
.mo-js .btn-main:hover{ translate:0 2px; }
.mo-js .line-cta,
.mo-js .brand-mv .actions .line-cta{ transition:background .2s ease, box-shadow .2s ease, transform .2s ease, translate .3s var(--mo-quart) .1s; }
.mo-js .line-cta:hover,
.mo-js .brand-mv .actions .line-cta:hover{ translate:0 2px; }
.mo-js .line-cta > svg,
.mo-js .line-cta > span[aria-hidden]{ transition:transform .3s var(--ease); }
.mo-js .line-cta:hover > svg{ transform:translateX(4px); }
.mo-js .line-cta:hover > span[aria-hidden]{ transform:translate(2px,-2px); }

/* --- メガメニュー：開くとき列を左から 40ms ずつずらしてフェード（PCのみ） --- */
@media (min-width:1025px){
  .mo-js .mega-inner > *{ opacity:0; translate:0 6px; transition:opacity .3s var(--mo-quart), translate .3s var(--mo-quart); }
  .mo-js .has-mega.open .mega-inner > *{ opacity:1; translate:0 0; }
  .mo-js .has-mega.open .mega-inner > :nth-child(2){ transition-delay:.04s; }
  .mo-js .has-mega.open .mega-inner > :nth-child(3){ transition-delay:.08s; }
  .mo-js .has-mega.open .mega-inner > :nth-child(4){ transition-delay:.12s; }
}

/* --- ヒーロー視差（TOP）：JSが transform を書くカードだけ合成レイヤーに --- */
.mo-js .hero.brand-mv .tile{ will-change:transform; }

/* --- reduced-motion：上のすべてを無効化（JS側も冒頭で終了する二重ガード） --- */
@media (prefers-reduced-motion: reduce){
  .mo-label, .mo-h2, .mo-lines .ln, .mo-item, .mo-photo,
  .mo-row .reason-num, .mo-row .reason-num::after, .mo-row h3, .mo-row p, .mo-row .r-photo,
  .mo-item .result::before, .mega-inner > *{
    opacity:1 !important; transform:none !important; clip-path:none !important; translate:none !important;
    transition:none !important; animation:none !important;
  }
  .page-head h1.mo-head{ animation:none !important; }
  .wcard .thumb > img, .case-card figure img, .short-card video{ transition:none !important; scale:none !important; }
  .btn-main, .line-cta{ translate:none !important; transition:none !important; }
  .hero.brand-mv .tile{ will-change:auto; }
}

/* サービスページ：制作の流れ（要約） 2026-09-08 */
.sf-list{ list-style:none; margin:40px 0 0; padding:0; display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:16px; }
.sf-item{ display:flex; gap:14px; align-items:flex-start; background:#fff; border:1px solid var(--line); border-radius:14px; padding:20px 20px 18px; }
.sf-num{ font-family:"Outfit",sans-serif; font-size:13px; font-weight:600; letter-spacing:.12em; color:var(--amber-text); padding-top:3px; flex:none; }
.sf-item h3{ font-size:15px; font-weight:800; color:var(--navy); line-height:1.5; margin:0 0 6px; }
.sf-item p{ font-size:12.5px; line-height:1.8; color:var(--body); margin:0; }
.sf-more{ margin-top:24px; font-size:13.5px; font-weight:700; }
.sf-more a{ color:var(--navy); border-bottom:1px solid var(--amber); padding-bottom:2px; }

/* TOP 選ばれる理由の写真：角丸と影を特徴ページ（.feature-photo）に揃える 2026-09-08 */
.reasons .r-photo{ border-radius:var(--r-card); overflow:hidden; box-shadow:0 20px 48px rgba(12,36,63,.16); }
.reasons .r-photo img{ border-radius:0; display:block; }

/* 実績の絞り込みUI：hidden属性を確実に効かせる 2026-09-08 */
.works-tabs[hidden], .works-filter[hidden]{ display:none !important; }

/* 送信完了・プライバシーポリシー・フォーム同意 2026-09-08 */
.thanks-box{ background:#fff; border:1px solid var(--line); border-radius:var(--r-card); padding:40px 36px; text-align:center; }
.thanks-box p{ font-size:15px; line-height:2; color:var(--body); margin:0 0 14px; }
.thanks-box strong{ color:var(--navy); }
.thanks-actions{ display:flex; flex-wrap:wrap; gap:14px; justify-content:center; margin-top:26px; }
.thanks-actions .btn-sub{ display:inline-flex; align-items:center; padding:14px 22px; border:1px solid var(--line); border-radius:999px; font-size:13.5px; font-weight:700; color:var(--navy); }
.policy{ max-width:820px; }
.policy h2{ font-size:18px; font-weight:900; color:var(--navy); margin:40px 0 12px; padding-left:14px; border-left:4px solid var(--amber); line-height:1.5; }
.policy p, .policy li{ font-size:14.5px; line-height:2; color:var(--body); }
.policy ul{ margin:0 0 8px; padding-left:22px; }
.policy a{ color:var(--navy); text-decoration:underline; }
.policy-contact{ margin-top:44px; padding:24px 26px; background:#fff; border:1px solid var(--line); border-radius:var(--r-card); }
.policy-contact p{ margin:0 0 8px; }
.policy-date{ font-size:12.5px; color:var(--body); opacity:.8; }
.form-agree .chk a{ color:var(--navy); text-decoration:underline; }
.form-error{ margin-top:12px; padding:12px 16px; background:#fff3f0; border:1px solid #e5b4a8; border-radius:8px; color:#a33; font-size:13.5px; line-height:1.8; }
.foot-privacy{ display:inline-block; margin-right:16px; color:var(--body); text-decoration:underline; text-underline-offset:3px; }
@media (max-width:768px){ .thanks-box{ padding:28px 20px; } .thanks-actions{ flex-direction:column; align-items:stretch; } }

/* 実績の絞り込みUIは当面非表示（JSがhiddenを外しても出さない） 2026-09-08 */
.works-tabs, .works-filter{ display:none !important; }

/* メッセージ見出し：SPの語中改行対策 2026-09-08 */
@media (max-width:480px){ .message h2{ font-size:22px; letter-spacing:0; } }
@media (max-width:360px){ .message h2{ font-size:20px; } }
