/* ==========================================================================
   fine-force.co.jp 共通の見た目（2026-11-09 モノフォース版）
   全ページで読み込みます。トップだけの見た目は top.css、製品ページは product.css。

   ・色を変えるときは、下の :root の値だけを変えてください
   ・CSS や JS を直して公開するときは、全ページの読み込み（?v=20261109）の数字を
     その日の日付に変えてください。変えないと、見に来た人のブラウザが古い CSS を1日使い続けます
     （.htaccess で CSS・JS を1日キャッシュする設定のため）
   ・表示アニメーション（ふわっと出る）は .js の下だけに書きます
     （JavaScript が動かない環境でも、文章が消えたままにならないようにするため）
   ========================================================================== */

:root {
  --c-brand: #232584;       /* FINE BLUE */
  --c-brand-deep: #0E0662;
  --c-ink: #231F20;         /* 文字 */
  --c-sub: #5B5966;         /* 補足の文字 */
  --c-line: #E3E4EE;        /* 線 */
  --c-bg: #FFFFFF;
  --c-bg-soft: #F5F6FB;     /* 薄い地 */
  --c-mfg: #D7641C;         /* 製造管理（塗り・線に使う） */
  --c-mfg-text: #B4500F;    /* 製造管理の文字色（#D7641C は白地で 3.7:1 と薄いので、文字だけ濃くする） */
  --c-cost: #16865A;        /* 原価管理 */
  --c-inv: #1667B4;         /* 在庫管理 */
  --c-web: #C0307E;         /* HP作成 */
  --c-ok: #16865A;

  --f-ja: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --f-en: "Barlow", "Noto Sans JP", sans-serif;

  --hd-h: 72px;             /* ヘッダーの高さ */
  --fix-h: 0px;             /* スマホで下に固定するボタンの高さ（スマホでは下で上書き） */
  --radius: 14px;
  --shadow: 0 10px 30px rgba(35, 37, 132, .08);
}

/* ---- 基本 ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hd-h) + 12px); }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--f-ja);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: .02em;
  padding-bottom: var(--fix-h);
  overflow-wrap: anywhere;
}
img, svg { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--c-brand); }
a:hover { text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.45; margin: 0; font-weight: 700; letter-spacing: .03em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--c-inv); outline-offset: 3px; border-radius: 4px; }
.u-en { font-family: var(--f-en); letter-spacing: .06em; }
.u-sp { display: none; }
.u-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 767px) { .u-sp { display: inline; } .u-pc { display: none; } }

/* ---- 枠 ------------------------------------------------------------------ */
.l-wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.l-wrap--narrow { max-width: 880px; }
.sec { padding: 96px 0; }
.sec--soft { background: var(--c-bg-soft); }
.sec--brand { background: linear-gradient(135deg, var(--c-brand-deep), var(--c-brand)); color: #fff; }
@media (max-width: 767px) { .sec { padding: 64px 0; } }

/* ---- 見出し -------------------------------------------------------------- */
.sec__eyebrow {
  display: inline-block;
  font-family: var(--f-en); font-weight: 600; font-size: 14px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--c-brand); margin-bottom: 10px;
}
.sec__eyebrow::before { content: ""; display: inline-block; width: 22px; height: 2px; background: currentColor; vertical-align: middle; margin-right: 10px; }
.sec__title { font-size: clamp(24px, 3.4vw, 36px); }
.sec__lead { margin-top: 18px; color: var(--c-sub); max-width: 46em; }
.sec__head { margin-bottom: 48px; }
.sec__head--center { text-align: center; }
.sec__head--center .sec__lead { margin-left: auto; margin-right: auto; }
.sec--brand .sec__eyebrow, .sec--brand .sec__lead { color: rgba(255, 255, 255, .85); }

/* ---- ボタン -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 28px; border-radius: 999px;
  font-weight: 700; font-size: 16px; line-height: 1.4; text-decoration: none; text-align: center;
  border: 2px solid var(--c-brand); color: var(--c-brand); background: #fff;
  transition: background .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn::after { content: "→"; font-family: var(--f-en); transition: transform .2s; }
.btn:hover::after { transform: translateX(3px); }
.btn--primary { background: var(--c-brand); color: #fff; }
.btn--primary:hover { background: var(--c-brand-deep); border-color: var(--c-brand-deep); }
.btn--ghost { background: transparent; }
.btn--light { border-color: #fff; background: #fff; color: var(--c-brand); }
.btn--tel { border-color: var(--c-line); color: var(--c-ink); font-family: var(--f-en); font-size: 18px; letter-spacing: .04em; }
.btn--tel::after { content: none; }
.btn--tel::before { content: ""; width: 18px; height: 18px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E") center / contain no-repeat; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.reply-note { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--c-ok); }
.reply-note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(22, 134, 90, .15); }

/* ---- ヘッダー ------------------------------------------------------------ */
/* ※ backdrop-filter を付けないでください（スマホのメニュー .hd__sheet の position:fixed がヘッダーの中に閉じ込められます） */
.hd { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--c-line); }
.hd__bar { display: flex; align-items: center; gap: 24px; height: var(--hd-h); max-width: 1320px; margin: 0 auto; padding: 0 20px; }
.hd__logo { flex: none; margin: 0; }
.hd__logo a { display: block; }
.hd__logo img { display: block; height: 26px; width: auto; }
.hd__nav { display: flex; gap: 26px; margin-left: auto; font-size: 15px; font-weight: 500; }
.hd__nav a { color: var(--c-ink); text-decoration: none; padding: 6px 0; position: relative; white-space: nowrap; }
.hd__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--c-brand); transform: scaleX(0); transition: transform .2s; }
.hd__nav a:hover::after { transform: scaleX(1); }
.hd__tel { font-family: var(--f-en); font-weight: 600; font-size: 18px; color: var(--c-ink); text-decoration: none; white-space: nowrap; line-height: 1.2; text-align: right; }
.hd__tel small { display: block; font-family: var(--f-ja); font-weight: 400; font-size: 11px; color: var(--c-sub); }
.hd__cta { min-height: 44px; padding: 8px 20px; font-size: 15px; white-space: nowrap; }
.hd__menu-btn { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; background: none; border-radius: 10px; cursor: pointer; position: relative; }
.hd__menu-btn span, .hd__menu-btn span::before, .hd__menu-btn span::after { position: absolute; left: 13px; width: 22px; height: 2px; background: var(--c-ink); transition: transform .2s, top .2s; content: ""; }
.hd__menu-btn span { top: 23px; }
.hd__menu-btn span::before { left: 0; top: -7px; }
.hd__menu-btn span::after { left: 0; top: 7px; }
.hd__menu-btn[aria-expanded="true"] span { background: transparent; }
.hd__menu-btn[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.hd__menu-btn[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
.hd__sheet { display: none; }

/* 900〜1099px：電話番号は受付時間を省いて小さく残す（お問い合わせボタンと電話番号は、どの幅でも見えるようにします） */
@media (max-width: 1099px) {
  .hd__bar { gap: 16px; }
  .hd__nav { gap: 14px; font-size: 13px; }
  .hd__tel { font-size: 16px; }
  .hd__tel small { display: none; }
}
@media (max-width: 899px) {
  :root { --hd-h: 60px; }
  .hd__nav, .hd__cta { display: none; }
  .hd__menu-btn { display: block; }
  .hd__logo img { height: 22px; }
  .hd__sheet { display: block; position: fixed; inset: var(--hd-h) 0 0 0; background: #fff; padding: 24px 20px 40px; overflow-y: auto; visibility: hidden; transform: translateY(-8px); transition: transform .2s, visibility .2s; /* c10-ok */ opacity: 0; }
  .hd__sheet.is-open { /* c10-ok */ opacity: 1; visibility: visible; transform: none; }
  .hd__sheet nav a { display: block; padding: 16px 4px; border-bottom: 1px solid var(--c-line); color: var(--c-ink); text-decoration: none; font-weight: 700; }
  .hd__sheet .btn-row { margin-top: 28px; flex-direction: column; align-items: stretch; }
}

/* ---- スマホ・タブレットで下に固定するボタン（ヘッダーのボタンが隠れる 899px 以下） ---- */
.fixcta { display: none; }
@media (max-width: 899px) {
  :root { --fix-h: 68px; }
  .fixcta {
    display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    height: var(--fix-h); padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97); border-top: 1px solid var(--c-line);
  }
  .fixcta .btn { min-height: 0; padding: 6px 10px; font-size: 14px; }
  .fixcta .btn--tel { font-size: 15px; }
}

/* ---- カード（製品の色） -------------------------------------------------- */
.card {
  --acc: var(--c-brand);
  --acc-text: var(--acc);   /* 文字に使う色（製造管理だけ濃いオレンジ） */
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 32px 28px 28px; box-shadow: var(--shadow); overflow: hidden;
}
.card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--c-brand-deep), var(--acc)); }
.card--mfg { --acc: var(--c-mfg); --acc-text: var(--c-mfg-text); }
.card--cost { --acc: var(--c-cost); }
.card--inv { --acc: var(--c-inv); }
.card--web { --acc: var(--c-web); }
.card__label { font-family: var(--f-en); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--acc-text); }
.card__title { font-size: 22px; margin-top: 4px; }
.card__text { margin-top: 12px; color: var(--c-sub); font-size: 15px; }
.card__points { list-style: none; margin-top: 16px; font-size: 15px; }
.card__points li { position: relative; padding-left: 26px; margin-top: 6px; }
.card__points li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 14px; height: 8px; border-left: 2.5px solid var(--acc); border-bottom: 2.5px solid var(--acc); transform: rotate(-45deg); }
.card__act { margin-top: auto; padding-top: 22px; }
.card__act a { font-weight: 700; color: var(--acc-text); text-decoration: none; }
.card__act a::after { content: " →"; font-family: var(--f-en); }
.card__act a:hover { text-decoration: underline; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1023px) { .grid-4, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }

/* ---- 導入の流れ ---------------------------------------------------------- */
.flow { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: flow; }
.flow li { position: relative; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 28px 22px 24px; }
.flow li::before { counter-increment: flow; content: "STEP " counter(flow, decimal-leading-zero); font-family: var(--f-en); font-weight: 700; font-size: 13px; letter-spacing: .14em; color: var(--c-brand); }
.flow h3 { font-size: 18px; margin-top: 6px; }
.flow p { margin-top: 8px; font-size: 14px; color: var(--c-sub); }
@media (max-width: 1023px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 539px) { .flow { grid-template-columns: minmax(0, 1fr); } }

/* ---- よくある質問（JSなしで開閉） ---------------------------------------- */
.faq { border: 1px solid var(--c-line); border-radius: 12px; background: #fff; }
.faq + .faq { margin-top: 12px; }
.faq summary { list-style: none; cursor: pointer; display: flex; gap: 14px; align-items: flex-start; padding: 20px 56px 20px 22px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; flex: none; font-family: var(--f-en); font-weight: 700; color: var(--c-brand); font-size: 18px; line-height: 1.6; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 28px; width: 10px; height: 10px; border-right: 2px solid var(--c-brand); border-bottom: 2px solid var(--c-brand); transform: rotate(45deg); transition: transform .2s; }
.faq[open] summary::after { transform: rotate(-135deg); top: 32px; }
.faq__a { display: flex; gap: 14px; padding: 0 22px 22px; color: var(--c-sub); }
.faq__a::before { content: "A"; flex: none; font-family: var(--f-en); font-weight: 700; color: var(--c-web); font-size: 18px; line-height: 1.6; }

/* ---- お問い合わせのかたまり（各ページの最後） ---------------------------- */
.cta-band { text-align: center; }
.cta-band .sec__title { color: #fff; }
.cta-band .sec__lead { margin: 16px auto 0; }
.cta-band .btn-row { justify-content: center; margin-top: 32px; }
.cta-band .reply-note { color: #fff; margin-top: 20px; }
.cta-band .reply-note::before { box-shadow: 0 0 0 4px rgba(255, 255, 255, .2); }
.cta-band .btn--tel { color: #fff; border-color: rgba(255, 255, 255, .5); background: transparent; }

/* ---- パンくず ------------------------------------------------------------ */
.crumb { font-size: 13px; color: var(--c-sub); padding: 14px 0; }
.crumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.crumb li + li::before { content: "›"; margin-right: 10px; color: var(--c-line); }
.crumb a { color: var(--c-sub); }

/* ---- フッター ------------------------------------------------------------ */
.ft { background: #11134A; color: rgba(255, 255, 255, .85); padding: 64px 0 28px; font-size: 14px; }
.ft a { color: inherit; text-decoration: none; }
.ft a:hover { text-decoration: underline; }
.ft__upper { display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px; }
.ft__logo img { height: 28px; width: auto; }
.ft__addr { font-style: normal; margin-top: 18px; line-height: 1.9; }
.ft__nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ft__nav h2 { font-size: 13px; font-family: var(--f-en); letter-spacing: .14em; color: #fff; margin-bottom: 10px; text-transform: uppercase; }
.ft__nav ul { list-style: none; }
.ft__nav li { margin-top: 6px; }
.ft__series { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: 13px; }
.ft__lower { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 12px; font-size: 12px; color: rgba(255, 255, 255, .6); }
@media (max-width: 899px) { .ft__upper { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 539px) { .ft__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- 表示アニメーション（.js の下だけ） ---------------------------------- */
.js .rise { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .rise.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .rise { opacity: 1; transform: none; }
}

/* ---- 文書のページ（プライバシーポリシーなど） ---------------------------- */
.page-head { padding: 24px 0 40px; }
.page-head__title { font-size: clamp(26px, 3.6vw, 36px); margin-top: 8px; }
.doc { max-width: 840px; margin: 0 auto; padding: 0 20px 96px; }
.doc .lead { font-size: 16px; margin-bottom: 36px; line-height: 2.1; }
.doc h2 { font-size: 20px; margin: 44px 0 14px; padding-left: 14px; border-left: 4px solid var(--c-brand); }
.doc h3 { font-size: 17px; margin: 24px 0 8px; color: var(--c-brand); }
.doc p { color: #4A4F60; margin-bottom: 13px; line-height: 2.1; }
.doc ul, .doc ol { margin: 0 0 14px 24px; color: #4A4F60; line-height: 2.1; }
.doc li { margin-bottom: 5px; }
.doc .box { background: var(--c-bg-soft); border: 1px solid var(--c-line); border-radius: 12px; padding: 22px 26px; margin: 18px 0; }
.doc .box h3 { margin-top: 0; }
.doc .date { text-align: right; font-size: 14px; color: var(--c-sub); margin-top: 40px; }

/* ---- 見つからないページ（404） ------------------------------------------- */
.gone { list-style: none; display: grid; gap: 12px; max-width: 760px; }
.gone a { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 18px 22px; border: 1px solid var(--c-line); border-radius: 12px; background: #fff; color: var(--c-ink); text-decoration: none; font-weight: 700; }
.gone a:hover { border-color: var(--c-brand); }
.gone span { font-weight: 400; font-size: 14px; color: var(--c-sub); }
