/* =========================================================
   MA-T System® BtoB サイト  ワイヤーフレーム 共通CSS
   スタイル基調：Nutribase（ワイド・レスポンシブ・ミニマル）
   ---------------------------------------------------------
   ・全ページ共通。トップ専用の指定（ヒーローKV等）もここに集約。
   ・キーカラー：#0C87C5（--key） / 副色：#6BC1EC（--key-light）
   ・ブレイクポイント（仕様準拠）：PC 1170px〜 / TAB 768〜1169px / SP 〜767px（小画面 〜480px）
   ========================================================= */

:root{
  --text-primary:#424242;   /* 仕様：テキストカラー */
  --text-secondary:#6e6e6e;
  --text-muted:#999;
  --border:#e2e2e2;
  --border-strong:#cfcfcf;
  --surface-2:#ffffff;
  --surface-1:#f1f5f6;      /* 仕様：ベースカラー（薄い背景） */
  --surface-0:#eeeeec;
  --accent-bg:#e3f3fc;
  --accent-text:#0a6a99;
  --key:#0086cd;         /* キーカラー（仕様：アクセントカラー #0086cd） */
  --key-light:#6BC1EC;   /* 副色（薄い青） */
  --key-dark:#006fab;    /* ホバー用の濃い青 */
  --green:var(--key);    /* 互換用：旧クラス名 .btn.green 等が参照 */
  --closed:#123a5c;      /* クローズ領域（医療・介護従事者向け）を示す紺 */
  --closed-bg:#eef3f7;
  --note:#b45309;        /* 注釈テキスト（控えめ） */
  --note-bg:#fdf6ec;
  --note-line:#e8cfa3;
  --radius:8px;
  --content:1180px;
  /* 仕様：書体は Noto Sans（Google Fonts の Noto Sans JP を読み込み、無い環境は近い和文ゴシックで代替） */
  font-family:"Noto Sans JP","Noto Sans","Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
}

*{ box-sizing:border-box; margin:0; padding:0; }

body{
  background:var(--surface-2);
  color:var(--text-primary);
  line-height:1.7;
  font-size:16px;            /* 基本フォントサイズ（仕様は14pxだが可読性優先で16px） */
  line-break:strict;         /* 仕様：行頭に「、」「。」等が来ない禁則処理 */
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;}
a{ color:inherit; }

.inner{ max-width:var(--content); margin:0 auto; padding:0 24px; width:100%; }

/* ---- 日本語の行末調整 ----
   text-wrap:pretty … 最終行が1〜2文字だけ残る「孤立改行」を避ける（Chrome117+/Safari17.5+。非対応は通常の折返し）
   word-break:auto-phrase … 見出しを文節単位で折り返す（Chrome119+。非対応は通常の折返し） */
p, li, td, .lead, .desc, .meta, .txt, .note, .modal p{ text-wrap:pretty; }
h1, h2, h3, h4, .catch, .howto, .sec-head .ja, .cta-band h2{ text-wrap:pretty; word-break:auto-phrase; }

/* ---- 画面ラベル（WF管理用バー）：運用上は非表示 ---- */
.screen-tag{ display:none; }

/* ---- 注釈（WF仕様メモ。控えめに） ---- */
.note{
  background:var(--note-bg); border:1px solid var(--note-line); color:var(--note);
  border-radius:6px; padding:10px 14px; font-size:12.5px; line-height:1.7; margin:16px 0;
}
.note::before{ content:"NOTE　"; font-weight:700; letter-spacing:.5px; }
.note b{ color:#8a3d06; }
.spec-bar{
  background:var(--note-bg); border:1px solid var(--note-line); color:var(--note);
  border-radius:6px; padding:12px 16px; font-size:12.5px; line-height:1.7;
}
.spec-bar::before{ content:"SPEC　"; font-weight:700; letter-spacing:.5px; }
.spec-bar b{ color:#8a3d06; }

/* =========================================================
   アース製薬 共通ヘッダー（本サイト www.earth.jp の .common-header-type2 と同寸）
   PC(1170px以上)：内側 max-width 1180px / 余白 17px 50px 18px / ロゴ幅 162px / 下線 #e5e5e5
   SP(1169px以下)：余白 20px 16px / ロゴ幅 124px
   ========================================================= */
.earth-header{ background:#fff; border-bottom:1px solid #e5e5e5; position:relative; z-index:20; }
.earth-header-inner{ max-width:1180px; margin:0 auto; padding:17px 50px 18px; }
.earth-header-ttl{ width:162px; line-height:0; }
.earth-header-ttl a{ display:inline-block; }
.earth-header-ttl img{ display:block; width:100%; height:auto; }
@media (max-width:1169px){
  .earth-header-inner{ padding:20px 16px; }
  .earth-header-ttl{ width:124px; }
}

/* =========================================================
   ヘッダー / グローバルナビ
   ========================================================= */
.header{ border-bottom:none; background:var(--surface-2);
  position:sticky; top:0; z-index:50;                       /* アース製薬共通ヘッダーが流れた後、このナビだけ画面上部に追従 */
  transition:box-shadow .2s; }
.header.is-stuck{ box-shadow:0 2px 12px rgba(0,0,0,.06); }
.header .inner{ transition:padding .2s; }
.header .logo img{ transition:height .2s; }
.header.is-stuck .inner{ padding-top:10px; padding-bottom:10px; }   /* 追従中は少し低く */
.header.is-stuck .logo img{ height:34px; }
.header.noline{ border-bottom:none; }   /* トップ：KV上の境界線なし */
.header .inner{ display:flex; align-items:center; justify-content:space-between; padding-top:18px; padding-bottom:18px; }
.logo{ display:flex; align-items:center; gap:10px; text-decoration:none; }
.logo .mark{
  width:34px; height:34px; border-radius:8px; border:1.5px dashed var(--border-strong);
  display:flex; align-items:center; justify-content:center; font-size:9px; color:var(--text-muted);
}
.logo .name{ font-size:19px; font-weight:600; letter-spacing:.3px; }
.logo .name small{ display:block; font-size:10px; font-weight:400; color:var(--text-muted); letter-spacing:0; }
/* 画像ロゴ（img/logo.svg）：高さ基準で表示。幅は画像比率に従う */
.logo img{ display:block; height:44px; width:auto; }
.footer .logo img{ height:40px; }

.gnav{ display:flex; align-items:center; gap:30px; }
.gnav a{ font-size:15px; color:#111; font-weight:500; text-decoration:none; transition:color .15s; }   /* 通常時：黒・太字 */
.gnav a:hover{ color:var(--key); }
.gnav a.is-current{ color:var(--key); font-weight:600; }   /* 現在地（layout.js の data-page で付与） */
.gnav a.cta{ background:var(--key); color:#fff; padding:9px 18px; border-radius:var(--radius); font-weight:500; }
.gnav a.download{
  background:var(--closed); color:#fff; border:0.5px solid var(--closed);
  padding:10px 20px; border-radius:var(--radius); font-weight:500; font-size:14px;
  display:inline-flex; align-items:center; gap:6px; cursor:pointer;
}
.gnav a.download:hover{ opacity:.9; color:#fff; }
.menu-btn{ display:none; align-items:center; gap:8px; font:inherit; font-size:13px; color:var(--text-primary); background:none; border:none; cursor:pointer; padding:6px 0; }
.menu-btn .bars{ display:flex; flex-direction:column; gap:5px; width:22px; }
.menu-btn .bars span{ display:block; width:22px; height:2px; background:var(--key); border-radius:2px; transition:transform .2s; }
.menu-btn.open .bars span:first-child{ transform:translateY(3.5px) rotate(45deg); }
.menu-btn.open .bars span:last-child{ transform:translateY(-3.5px) rotate(-45deg); }

/* スマホ用メニュー（ヘッダー直下にドロップダウン。820px以下でのみ使用） */
.sp-nav{ display:none; }
@media (max-width:1169px){
  .sp-nav{ display:block; position:absolute; left:0; right:0; top:100%; background:#fff; z-index:60;
    border-top:1px solid var(--border); box-shadow:0 12px 30px rgba(0,0,0,.10); padding:8px 24px 24px; }
  .sp-nav[hidden]{ display:none; }
  .sp-nav a{ display:block; padding:16px 4px; font-size:17px; font-weight:600; color:#111; text-decoration:none; border-bottom:0.5px solid var(--border); }
  .sp-nav a.is-current{ color:var(--key); }
  .sp-nav a.sp-dl{ margin-top:18px; border:none; border-radius:var(--radius); background:var(--closed); color:#fff; text-align:center; padding:15px 16px; }
  .sp-nav a.sp-dl small{ display:block; font-size:12px; font-weight:400; opacity:.85; margin-top:2px; }
  .header{ position:sticky; }
}

/* ---- パンくず ---- */
/* パンくず：キーカラーの帯（見出し帯の下に置く前提） */
.crumb{ background:linear-gradient(90deg, var(--key) 0%, #1a95cf 60%, var(--key-light) 100%); color:#fff; }
.crumb .inner{ padding-top:12px; padding-bottom:12px; font-size:13.5px; color:rgba(255,255,255,.9); letter-spacing:.3px; }
.crumb a{ color:#fff; text-decoration:none; }
.crumb a:hover{ text-decoration:underline; color:#fff; }

/* =========================================================
   ヒーロー（トップ）：フル幅キービジュアル＋コピー重ね
   PCは高さ900px固定、モバイルは16:9で画像上・コピー下
   ========================================================= */
.hero-visual{ position:relative; width:100%; background:var(--surface-0); overflow:hidden; }
.hero-media{ position:relative; z-index:0; width:100%; height:900px;
  background:url("../images/kv_pc.jpg") center center / cover no-repeat, var(--surface-1); }
.hero-scrim{ position:absolute; inset:0; z-index:1; pointer-events:none;
  background:linear-gradient(90deg, rgba(246,246,244,.82) 0%, rgba(246,246,244,.42) 40%, rgba(246,246,244,0) 66%); }
.hero-copywrap{ position:absolute; inset:0; z-index:2; display:flex; align-items:center; }
.hero-copywrap .copy{ max-width:640px; }
.hero-copywrap .eyebrow{ font-size:12.5px; letter-spacing:2px; color:var(--text-muted); margin-bottom:18px; }
.hero-copywrap h1{ font-size:52px; font-weight:800; color:#111; line-height:1.35; letter-spacing:.5px; }
.hero-copywrap p.lead{ margin-top:22px; margin-bottom:0; font-size:16px; color:var(--text-secondary); max-width:640px; }
.hero-copywrap .actions{ margin-top:30px; display:flex; gap:14px; flex-wrap:wrap; }

/* =========================================================
   パララックス背景（背景画像がスクロールに対してゆっくり動く）
   js/parallax.js が .parallax-bg を translateY で動かす。
   JS無効時・視差効果オフ時・820px以下は静止した背景として表示。
   ========================================================= */
.parallax{ position:relative; overflow:hidden; isolation:isolate; }
.parallax-bg{
  position:absolute; left:0; right:0; z-index:-1; pointer-events:none;
  top:-30%; height:160%;                 /* 動かしても上下に隙間が出ないよう大きめに */
  background-position:center center; background-size:cover; background-repeat:no-repeat;
  will-change:transform;
}
/* 文字の可読性を上げる薄い白ベール */
.parallax-bg::after{ content:""; position:absolute; inset:0;
  background:linear-gradient(90deg, rgba(255,255,255,.62) 0%, rgba(255,255,255,.45) 50%, rgba(255,255,255,.22) 100%); }
.parallax > .inner{ position:relative; z-index:1; }
/* トップ About：img/about_back.jpg */
.about-visual .parallax-bg{ background-image:url("../images/about_back.jpg"); }
.about-visual .ph{ background:rgba(255,255,255,.6); }
@media (max-width:767px){
  .parallax-bg{ top:0; height:100%; }
}

/* ページ見出し（下層ページのヘッダー帯） */
.pagehead{ position:relative; overflow:hidden; border-bottom:none;
  /* 白→薄い青のグラデに、やわらかい光のにじみを重ねる（画像不要・CSSのみ） */
  background:
    radial-gradient(ellipse 60% 120% at 88% 40%, rgba(0,134,205,.18) 0%, rgba(0,134,205,0) 60%),
    radial-gradient(ellipse 45% 100% at 62% 110%, rgba(107,193,236,.30) 0%, rgba(107,193,236,0) 60%),
    radial-gradient(ellipse 50% 90% at 8% -20%, rgba(255,255,255,.9) 0%, rgba(255,255,255,0) 60%),
    linear-gradient(100deg, #ffffff 0%, #eef7fc 45%, #d6ecf8 100%); }
/* 右側に細い2トーンの帯（sec-head のアクセントと同系） */
.pagehead::after{ content:""; position:absolute; right:-6%; top:-40%; width:26%; height:180%; pointer-events:none;
  background:linear-gradient(90deg, rgba(107,193,236,.22), rgba(0,134,205,.10)); transform:skewX(-18deg); }
.pagehead .inner{ position:relative; z-index:1; padding-top:56px; padding-bottom:56px; }
.pagehead .en{ font-size:13.5px; letter-spacing:2px; color:var(--key); font-weight:600; }
.pagehead h1{ font-size:36px; font-weight:700; color:#111; margin-top:8px; }
.pagehead p{ margin-top:12px; color:var(--text-secondary); font-size:16px; max-width:860px; }

/* =========================================================
   セクション
   ========================================================= */
.section{ padding:72px 0; border-bottom:0.5px solid var(--border); }
.section.tight{ padding:48px 0; }
.section.alt{ background:var(--surface-1); }
.section.noline{ border-bottom:none; }   /* 下の境界線なし（次セクションとの線を消したい時に） */
.parallax{ border-bottom:none; }          /* パララックス背景セクションは境界線なし */
.sec-head{ position:relative; display:flex; align-items:baseline; gap:14px;
  margin-bottom:34px; padding-bottom:16px; border-bottom:1px solid var(--border); }
/* 青2色（#0C87C5 + #6BC1EC）の2トーン・アクセントライン */
.sec-head::after{ content:""; position:absolute; left:0; bottom:-1px; width:64px; height:4px; border-radius:2px;
  background:linear-gradient(90deg, var(--key) 0 62%, var(--key-light) 62% 100%); }
.sec-head .en{ font-size:30px; font-weight:700; color:#111; letter-spacing:.5px; }
.sec-head .ja{ font-size:14px; color:var(--text-secondary); font-weight:500; }
.lead{ font-size:16px; color:var(--text-secondary); line-height:1.9; max-width:860px; margin-bottom:32px; }
.sub-head{ font-size:18px; font-weight:600; margin:8px 0 16px; }
.maxw{ max-width:760px; }

/* ダミーテキスト（グレーバー） */
.textlines{ display:grid; gap:9px; margin:14px 0; }
.textlines i{ display:block; height:9px; background:var(--surface-0); border-radius:3px; }
.textlines i.w40{width:40%} .textlines i.w55{width:55%} .textlines i.w70{width:70%}
.textlines i.w85{width:85%} .textlines i.w95{width:95%}

/* =========================================================
   画像プレースホルダ（破線）
   ========================================================= */
.ph{
  border:1.5px dashed var(--border-strong); border-radius:8px; background:var(--surface-1);
  display:flex; align-items:center; justify-content:center; text-align:center;
  color:var(--text-muted); font-size:13.5px; padding:12px;
}
.ph.h140{height:140px} .ph.h180{height:180px} .ph.h220{height:220px}
.ph.h280{height:280px} .ph.h360{height:360px}
.ph.ratio{aspect-ratio:4/3;} .ph.sq{aspect-ratio:1/1;} .ph.tall{aspect-ratio:3/4;}
.ph.circle{ border-radius:50%; }
.ph.solid{ border-style:solid; }

/* =========================================================
   ボタン
   ========================================================= */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-size:15px; font-weight:500; text-decoration:none; padding:13px 28px; border-radius:var(--radius);
  border:0.5px solid transparent; cursor:pointer;
  transition:background-color .15s, color .15s, border-color .15s, opacity .15s;
}
.btn .arrow{ font-style:normal; }
.btn.green,
.btn.key{ background:var(--key); color:#fff; }                 /* 主ボタン（青） ※.green は旧名の互換 */
.btn.green:hover, .btn.key:hover{ background:var(--key-dark); }
.btn.lightblue{ background:var(--key-light); color:#fff; border-color:var(--key-light); }  /* 副ボタン（薄い青） */
.btn.lightblue:hover{ background:var(--key); border-color:var(--key); }
.btn.blueline{ background:#fff; color:var(--key); border:1.5px solid var(--key); font-weight:600; }  /* 枠線ボタン */
.btn.blueline:hover{ background:var(--key); color:#fff; }
.btn.dark{ background:var(--text-primary); color:#fff; }
.btn.dark:hover{ background:#000; }
.btn.ghost{ background:transparent; color:var(--text-secondary); border-color:var(--border-strong); }
.btn.ghost:hover{ color:var(--key); border-color:var(--key); }
.btn.block{ display:flex; width:100%; }
.btn.lg{ padding:17px 36px; font-size:16px; }
.view-more{ text-align:center; margin-top:40px; }

/* =========================================================
   グリッド / カード
   ========================================================= */
.grid{ display:grid; gap:28px; }
.g2{ grid-template-columns:repeat(2,minmax(0,1fr)); }
.g3{ grid-template-columns:repeat(3,minmax(0,1fr)); }
.g4{ grid-template-columns:repeat(4,minmax(0,1fr)); }
.grid.vcenter{ align-items:center; }
.grid.wide{ gap:48px; }
.grid.xwide{ gap:56px; }

.card{ text-decoration:none; color:inherit; display:block; }
.card .thumb{ margin-bottom:14px; transition:border-color .15s, background-color .15s; }
.card h4{ font-size:17px; font-weight:600; margin-bottom:6px; transition:color .15s; }
.card .meta{ font-size:13.5px; color:var(--text-muted); }
.card .desc{ font-size:15px; color:var(--text-secondary); line-height:1.85; margin-top:8px; }
/* リンクカードのホバー：サムネ枠を青に、見出しを青に */
/* 実画像サムネ：<div class="thumb pic"><img src="…"></div>
   四角い画像でも枠に合わせて角丸＋トリミング（4:3）。object-fit を contain にすると全体表示 */
.thumb.pic{ position:relative; aspect-ratio:4/3; border-radius:8px; overflow:hidden;
  background:var(--surface-1); border:0.5px solid var(--border); }
.thumb.pic img{ display:block; width:100%; height:100%; object-fit:cover; transition:transform .35s ease; }
/* 画像が無い時（layout.js の noimg）：枠をグレー破線のプレースホルダに */
.thumb.pic.ph{ border:1.5px dashed var(--border-strong); background:var(--surface-1); }
.thumb.pic.ph::before{ content:attr(data-label); }
.thumb.pic.sq{ aspect-ratio:1/1; }
.thumb.pic.tall{ aspect-ratio:3/4; }
.thumb.pic.h280{ aspect-ratio:auto; height:280px; }
.thumb.pic.main{ aspect-ratio:4/3; background:#fff; }
.thumb.pic.main img{ object-fit:contain; }
.thumb.pic.main.ph{ background:var(--surface-1); }
a.card:hover .thumb.pic.ph{ border-color:var(--key); background:var(--accent-bg); }
a.card:hover .thumb.pic{ border-color:var(--key); }
a.card:hover .thumb.pic img{ transform:scale(1.04); }
a.card:hover .thumb{ border-color:var(--key); background:var(--accent-bg); }
a.card:hover h4{ color:var(--key); }
a.card:hover .pill{ color:var(--key); border-color:var(--key); }

/* 横並びカード（製品一覧：左に画像・右にテキスト） */
.card.row{ display:flex; gap:24px; align-items:flex-start; }
.card.row .ph, .card.row .thumb.pic{ width:150px; flex:0 0 150px; margin-bottom:0; }
.card.row h4{ font-size:19px; }

/* 枠付きカード（お問合せのサイド等） */
.card.boxed{ border:0.5px solid var(--border); border-radius:10px; padding:22px; background:var(--surface-2); }
.card.boxed + .card.boxed{ margin-top:20px; }
.card.boxed.closed{ background:var(--closed-bg); border-color:#cdd9e3; }
.card.boxed.closed h4{ color:var(--closed); }

.badge{ display:inline-block; font-size:11.5px; padding:3px 10px; border-radius:4px;
  background:var(--accent-bg); color:var(--accent-text); margin-bottom:8px; letter-spacing:.5px; }
.pill{ display:inline-block; font-size:12.5px; padding:5px 14px; border-radius:999px;
  border:0.5px solid var(--border-strong); color:var(--text-secondary); transition:color .15s, border-color .15s; }
.pill.is-active{ background:var(--key); color:#fff; border-color:var(--key); }
.pill-row{ display:flex; gap:10px; flex-wrap:wrap; align-items:center; }

/* News */
.news-date{ font-size:12.5px; color:var(--text-muted); margin-top:6px; }

/* 実績アイコン列 */
.logo-row{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.logo-row .item{ text-align:center; }
.logo-row .item .ph{ margin-bottom:10px; }
.logo-row .item span{ font-size:15px; }

/* 受賞リスト */
.award{ display:flex; gap:14px; align-items:flex-start; padding:16px 0; border-bottom:0.5px solid var(--border); }
.award:last-child{ border-bottom:none; }
.award .yr{ flex:0 0 60px; font-weight:600; color:var(--key); font-size:16px; }
.award .txt{ font-size:15px; color:var(--text-secondary); }

/* =========================================================
   製品詳細（05）
   ========================================================= */
.product-head h1{ font-size:32px; font-weight:700; color:#111; margin:12px 0 6px; }
.product-head .subs{ gap:12px; margin-top:12px; }
/* 製品メイン画像：枠は 4:3・角丸。画像は切らずに全体表示（余白は白） */
.product-head .main-pic{ aspect-ratio:4/3; border-radius:8px; overflow:hidden;
  background:#fff; border:0.5px solid var(--border); display:flex; align-items:center; justify-content:center; }
.product-head .main-pic img{ display:block; width:100%; height:100%; object-fit:contain; }
.product-head .actions{ margin-top:24px; display:flex; gap:14px; flex-wrap:wrap; }
.product-head .desc{ font-size:15px; color:var(--text-secondary); line-height:1.85; margin-top:4px; }
.catch{ font-size:20px; font-weight:700; color:var(--key); line-height:1.5; margin-top:14px; }   /* キャッチコピー：キーカラー */
.catch.lg{ font-size:27px; margin:0 0 16px; }
.cert{ display:inline-block; font-size:13px; font-weight:600; color:var(--key); border:1px solid var(--key);
  border-radius:4px; padding:3px 10px; margin-top:12px; letter-spacing:.3px; }
table.spec th small{ display:block; font-size:12px; font-weight:400; color:var(--text-muted); }
table.spec .dim{ display:block; }
table.spec .dim em{ font-style:normal; display:inline-block; min-width:48px; font-size:12.5px; color:var(--text-muted); }
.ingredients{ list-style:none; }
.ingredients li{ display:flex; gap:12px; padding:9px 0; border-bottom:0.5px solid var(--border); font-size:15px; color:var(--text-secondary); }
.ingredients li:last-child{ border-bottom:none; }
.ingredients li b{ flex:0 0 110px; font-weight:600; color:var(--text-primary); }
.card.feature{ position:relative; }
.card.feature .num{ display:block; font-size:13.5px; font-weight:700; color:var(--key); letter-spacing:1px; margin-bottom:6px; }
.howto{ font-size:20px; font-weight:600; line-height:1.8; color:#111; }
.caution{ margin-top:40px; border:0.5px solid var(--border); border-radius:10px; padding:20px 24px; background:var(--surface-2); }
.caution .ttl{ font-size:15.5px; font-weight:700; margin-bottom:8px; }
.caution ul{ list-style:none; }
.caution li{ position:relative; padding-left:18px; font-size:15px; color:var(--text-secondary); line-height:1.8; }
/* 製品一覧のサムネ：全カード共通の縦長枠（3:4・150px）。写真は枠いっぱいに拡大表示（cover）
   正方形・横長の写真（04・05）は左右がトリミングされ、中央の製品が大きく表示される */
.card.row .thumb.pic{ background:#fff; }
.card.row .thumb.pic img{ object-fit:cover; object-position:center center; }

/* 製品ギャラリー：メイン画像（クリックで拡大）＋サムネ列 */
.gallery a.main{ display:block; cursor:zoom-in; }
.gallery .subs .thumb{ padding:0; border:0.5px solid var(--border); background:#fff; cursor:pointer; font:inherit; }
.gallery .subs .thumb img{ object-fit:contain; }
.gallery .subs .thumb.is-active{ border:1.5px solid var(--key); }
.gallery .subs .thumb:hover{ border-color:var(--key); }
/* ライトボックス */
.lb-overlay{ position:fixed; inset:0; z-index:1100; background:rgba(20,20,20,.86); display:flex; align-items:center; justify-content:center; padding:32px; cursor:zoom-out; animation:modalFade .18s ease-out; }
.lb-overlay img{ max-width:100%; max-height:100%; object-fit:contain; background:#fff; border-radius:8px; box-shadow:0 24px 70px rgba(0,0,0,.4); }
.lb-close{ position:absolute; top:16px; right:20px; width:40px; height:40px; border:none; border-radius:50%; background:rgba(255,255,255,.15); color:#fff; font-size:24px; line-height:1; cursor:pointer; }
.lb-close:hover{ background:rgba(255,255,255,.3); }

/* 容量タブ（製品詳細：同一ページ内で切替） */
.variant-tabs{ display:flex; gap:8px; flex-wrap:wrap; margin-top:18px; }
.vtab{ font:inherit; font-size:15px; font-weight:600; padding:8px 16px; border-radius:999px; cursor:pointer;
  border:1.5px solid var(--border-strong); background:#fff; color:var(--text-secondary); transition:all .15s; }
.vtab:hover{ border-color:var(--key); color:var(--key); }
.vtab.is-active{ background:var(--key); border-color:var(--key); color:#fff; }
.vtab.soon{ cursor:default; border-style:dashed; color:var(--text-muted); }
.vtab.soon small{ font-size:11.5px; font-weight:400; margin-left:4px; }
[data-variant][hidden]{ display:none !important; }
table.spec .lineup a{ color:var(--key); text-decoration:none; font-weight:500; }
table.spec .lineup a:hover{ text-decoration:underline; }
.card.feature .tag{ display:inline-block; font-size:12.5px; color:var(--key); border:1px solid var(--key-light); border-radius:4px; padding:1px 8px; margin-bottom:6px; }
.steps{ list-style:none; counter-reset:step; }
.steps li{ position:relative; padding:0 0 12px 44px; font-size:16px; line-height:1.8; color:var(--text-primary); counter-increment:step; }
.steps li::before{ content:counter(step); position:absolute; left:0; top:2px; width:30px; height:30px; border-radius:50%; background:var(--key); color:#fff; font-size:14px; font-weight:700; display:flex; align-items:center; justify-content:center; }
.caution .warn{ margin-top:10px; padding-top:10px; border-top:0.5px dashed var(--border); font-size:15px; color:#8a3d06; line-height:1.8; }
.caution li::before{ content:"●"; position:absolute; left:0; font-size:8px; top:.55em; color:var(--text-muted); }

/* =========================================================
   テーブル / スペック
   ========================================================= */
table.spec{ width:100%; border-collapse:collapse; font-size:15px; }
table.spec th, table.spec td{ border-bottom:0.5px solid var(--border); padding:12px 8px; text-align:left; vertical-align:top; }
table.spec th{ width:150px; font-weight:600; color:var(--text-secondary); }
table.data{ width:100%; border-collapse:collapse; font-size:15px; }
table.data th, table.data td{ border-bottom:0.5px solid var(--border); padding:14px 10px; text-align:left; }
table.data thead th{ color:var(--text-muted); font-weight:600; font-size:13.5px; letter-spacing:.5px; }
table.data a{ color:var(--key); text-decoration:none; font-weight:500; }
table.data a:hover{ text-decoration:underline; }
.table-wrap{ overflow-x:auto; }

/* =========================================================
   フォーム（06）
   ========================================================= */
.contact-grid{ display:grid; grid-template-columns:1.4fr 1fr; gap:56px; align-items:start; }
.field{ margin:20px 0; }
.field label{ display:block; font-weight:600; font-size:15px; margin-bottom:8px; }
.field label.plain{ font-weight:400; }
.field label .req{ color:#c0392b; font-size:11.5px; margin-left:8px; border:0.5px solid #e0b4ac;
  padding:1px 6px; border-radius:3px; }
.ctrl{ height:50px; border:0.5px solid var(--border-strong); border-radius:var(--radius);
  background:var(--surface-2); display:flex; align-items:center; padding:0 14px; color:var(--text-muted); font-size:15px; }
.ctrl.area{ height:130px; align-items:flex-start; padding-top:12px; }
input.ctrl, textarea.ctrl{ width:100%; font:inherit; font-size:16px; color:var(--text-primary); }
input.ctrl::placeholder, textarea.ctrl::placeholder{ color:var(--text-muted); }
input.ctrl:focus, textarea.ctrl:focus{ outline:none; border-color:var(--key); }
textarea.ctrl.area{ height:150px; padding:12px 14px; resize:vertical; line-height:1.7; }
.field.is-error .ctrl{ border-color:#c0392b; background:#fff8f7; }
.ferr{ color:#c0392b; font-size:13.5px; margin-top:6px; }
.field label.check{ display:flex; align-items:center; gap:8px; font-size:16px; cursor:pointer; }
.field label.check input{ width:18px; height:18px; accent-color:var(--key); }
.field label.check a{ color:var(--key); }
.contact-form button.btn{ font:inherit; font-size:16px; font-weight:600; border:none; width:100%; }
.hp{ position:absolute; left:-9999px; top:-9999px; }   /* ハニーポット（画面外） */
.form-steps{ display:flex; gap:0; margin-bottom:36px; max-width:520px; }
.form-steps span{ flex:1; text-align:center; font-size:15px; padding:10px 0; color:var(--text-muted); border-bottom:3px solid var(--border); }
.form-steps span.is-active{ color:var(--key); font-weight:700; border-color:var(--key); }
table.spec.confirm td{ line-height:1.8; }
.confirm-actions{ display:flex; gap:16px; margin-top:32px; flex-wrap:wrap; }
.confirm-actions .btn{ flex:1 1 200px; font:inherit; font-size:16px; }
.confirm-actions button.btn{ border:none; cursor:pointer; }
select.ctrl{ width:100%; font:inherit; font-size:16px; color:var(--text-primary); cursor:pointer; appearance:none; -webkit-appearance:none;
  background:var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23999' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right:36px; }
select.ctrl:focus{ outline:none; border-color:var(--key); }
.search-row{ display:flex; gap:12px; flex-wrap:wrap; align-items:center; }
.search-row .ctrl{ flex:1; min-width:220px; }

/* =========================================================
   クローズ領域の帯
   ========================================================= */
.closed-band{ background:var(--closed); color:#fff; }
.closed-band .inner{ padding-top:14px; padding-bottom:14px; display:flex; align-items:center; gap:10px; font-size:15px; flex-wrap:wrap; }
.closed-band a{ color:#cfe4f2; text-decoration:none; margin-left:auto; }
.closed-band a:hover{ color:#fff; text-decoration:underline; }

/* CTAバンド */
/* CTAバンド：キーカラーの青地・白文字。上端は白がゆるく湾曲して食い込む形で、下の青いフッターと地続きになる */
.section:has(+ .cta-band){ border-bottom:none; }
.cta-band{ position:relative; background:var(--key); color:#fff; }
.cta-band .inner{ position:relative; z-index:1; padding:72px 24px 72px; text-align:center; }
.cta-band h2{ font-size:28px; font-weight:700; color:#fff; }
.cta-band p{ color:rgba(255,255,255,.88); margin:14px 0 26px; font-size:16px; }
.cta-band .actions{ display:flex; gap:18px; justify-content:center; flex-wrap:wrap; }
.cta-band .actions .btn{ flex:0 0 300px; }
.cta-band .btn.green{ background:#fff; color:var(--key); font-weight:600; }
.cta-band .btn.green:hover{ background:var(--key-light); color:#fff; }
.cta-band .btn.dark{ background:transparent; color:#fff; border:1.5px solid #fff; }
.cta-band .btn.dark:hover{ background:#fff; color:var(--key); }

/* =========================================================
   フッター
   ========================================================= */
.footer{ position:relative; background:#fff; }
/* 上部の青い波（SVGをCSSに内蔵。左が高く右へ流れる曲線） */
.footer-wave{ height:190px; background:var(--key);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1900 190' preserveAspectRatio='none'%3E%3Cpath d='M0 0 H1900 V190 C1500 110 1150 40 800 60 C500 78 250 150 0 130 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1900 190' preserveAspectRatio='none'%3E%3Cpath d='M0 0 H1900 V190 C1500 110 1150 40 800 60 C500 78 250 150 0 130 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.footer .inner{ padding-top:48px; padding-bottom:36px; }
.footer-top{ display:flex; justify-content:space-between; align-items:flex-start; gap:40px; }
.footer-left{ flex:0 0 auto; }
.footer-nav{ flex:0 0 auto; display:flex; justify-content:flex-end; gap:40px; padding-top:40px; }
.footer-nav .fcol{ display:flex; flex-direction:column; }
.footer-nav .fhead{ font-size:16px; font-weight:700; color:#111; text-decoration:none; margin-bottom:14px; white-space:nowrap; }
.footer-nav .fhead:hover{ color:var(--key); }
.footer-nav .fitem{ position:relative; font-size:15px; font-weight:500; color:var(--text-primary); text-decoration:none; padding-left:20px; margin-bottom:12px; line-height:1.7; white-space:nowrap; }
.footer-nav .fitem::before{ content:""; position:absolute; left:0; top:.85em; width:10px; height:2px; background:var(--key); }   /* 先頭の「–」 */
.footer-nav .fitem:hover{ color:var(--key); }
.footer-copy{ text-align:left; font-size:13.5px; color:var(--text-secondary); margin-top:56px; padding-top:28px; border-top:1px solid var(--border); letter-spacing:.5px; }

/* =========================================================
   医療・介護従事者 確認ポップアップ（背景ブラー・モーダル）
   ========================================================= */
.modal-overlay{
  position:fixed; inset:0; z-index:1000;
  display:flex; align-items:center; justify-content:center; padding:24px;
  background:rgba(25,25,25,.42);
  backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px);
  animation:modalFade .18s ease-out;
}
.modal-overlay[hidden]{ display:none; }
@keyframes modalFade{ from{opacity:0} to{opacity:1} }
.modal{
  width:100%; max-width:460px; background:var(--surface-2);
  border-radius:14px; padding:40px 34px 30px; text-align:center;
  box-shadow:0 24px 70px rgba(0,0,0,.30);
}
.modal .modal-icon{
  width:56px; height:56px; margin:0 auto 6px; border-radius:50%;
  background:var(--closed-bg); color:var(--closed);
  display:flex; align-items:center; justify-content:center; font-size:24px;
}
.modal h2{ font-size:22px; font-weight:600; margin:14px 0 12px; }
.modal p{ font-size:15.5px; color:var(--text-secondary); line-height:1.9; }
.modal-btns{ display:flex; flex-direction:column; gap:12px; margin-top:26px; }
.modal-btns .btn{ width:100%; }
.modal-note{ font-size:13px; color:var(--text-muted); margin-top:16px; }

/* ポップアップ・デモ画面用の背景（擬似ページをぼかす） */
.demo-blur{ filter:blur(5px); pointer-events:none; user-select:none; }

/* ---- ユーティリティ ---- */
.wire{ color:var(--key); text-decoration:none; }
.center{ text-align:center; } .muted{ color:var(--text-muted); } .mt0{margin-top:0;}
.mt8{ margin-top:8px; } .mt12{ margin-top:12px; } .mt16{ margin-top:16px; } .mt24{ margin-top:24px; }
.mb14{ margin-bottom:14px; } .mb36{ margin-bottom:36px; }
.pt16{ padding-top:16px; } .pt24{ padding-top:24px; } .pt36{ padding-top:36px; }
.divider{ border:none; border-top:0.5px solid var(--border); margin:32px 0; }

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width:1169px){
  .hero-copywrap h1{ font-size:42px; }
}
@media (max-width:1169px){   /* 仕様：TAB／SPレイアウトではヘッダ・フッタをSP型に */
  .gnav{ display:none; }
  .menu-btn{ display:flex; }
  .section{ padding:52px 0; }
  .g4{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .logo-row{ grid-template-columns:repeat(2,1fr); }
  .footer-top{ flex-direction:column; }
  .footer-left{ flex-basis:auto; }
  .footer-nav{ padding-top:0; gap:32px 40px; justify-content:flex-start; flex-wrap:wrap; }
  .logo img{ height:36px; }
  /* ヒーロー：画像を上、コピーを下に積む（高さは16:9に戻す） */
  .hero-scrim{ display:none; }
  /* SP：縦位置のキービジュアル images/kv_sp.jpg（600×900）に切り替え */
  .hero-media{ height:auto; aspect-ratio:4 / 5; background-image:url("../images/kv_sp.jpg"); background-position:center 78%; }   /* 写真の上下の空きを詰める（4:5・下寄せで足元の余白をカット） */
  .hero-copywrap{ position:static; }
  .hero-copywrap .inner{ padding-top:24px; padding-bottom:44px; }   /* 写真直下からコピー、ボタン下は次セクションとの余白 */
  .hero-copywrap .eyebrow{ margin-bottom:12px; }
  .hero-copywrap p.lead{ margin-top:16px; }
  .hero-copywrap .actions{ margin-top:24px; }
  .hero-copywrap h1{ font-size:32px; }
  .contact-grid{ grid-template-columns:1fr; gap:40px; }
  .grid.wide, .grid.xwide{ gap:32px; }
}
@media (max-width:480px){
  body{ font-size:15px; }
  .inner{ padding:0 16px; }
  .sp-nav{ padding:8px 16px 20px; }
  .pagehead h1{ font-size:28px; }
  .sec-head .en{ font-size:24px; }
  .g2,.g3{ grid-template-columns:1fr; }
  .g4{ grid-template-columns:1fr; }
  .logo-row{ grid-template-columns:1fr 1fr; }
  .footer-top{ flex-direction:column; }
  .footer-nav{ flex-direction:column; gap:24px; width:100%; }
  .footer-wave{ height:90px; }
  .cta-band .actions .btn{ flex:1 1 auto; width:100%; }
  .card.row{ flex-direction:column; }
  .card.row .ph, .card.row .thumb.pic{ width:100%; flex-basis:auto; aspect-ratio:4/3; }
  .product-head .subs{ grid-template-columns:repeat(4,1fr); }
  table.spec th{ width:110px; }
  table.data{ min-width:520px; }
}