/* ==========================================================================
   製品ページの見た目（site.css のあとに読み込みます）
   製品ごとの色は <body class="p-mfg"> などで切り替わります
     p-mfg＝製造管理（オレンジ） p-cost＝原価管理（緑） p-inv＝在庫管理（青） p-web＝HP作成（ピンク）
   （2026-11-09 作り直し。旧版は _backup_20261109_monoforce/css/product.css）
   ========================================================================== */

body { --acc: var(--c-brand); --acc-text: var(--acc); }
body.p-mfg { --acc: var(--c-mfg); --acc-text: var(--c-mfg-text); }   /* 文字だけ濃いオレンジ */
body.p-cost { --acc: var(--c-cost); }
body.p-inv { --acc: var(--c-inv); }
body.p-web { --acc: var(--c-web); }
.sec__eyebrow { color: var(--acc-text); }

/* ---- 最初の画面 ---------------------------------------------------------- */
.p-hero { position: relative; overflow: hidden; background: radial-gradient(70% 90% at 100% 0%, color-mix(in srgb, var(--acc) 12%, transparent), transparent 65%), #fff; }
.p-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; padding-top: 24px; padding-bottom: 72px; }
.p-hero__logo { width: 260px; height: auto; }
.p-hero__title { margin-top: 20px; font-size: clamp(30px, 4.2vw, 46px); }
.p-hero__lead { margin-top: 16px; font-size: clamp(16px, 1.6vw, 18px); color: var(--c-sub); }
.p-hero .btn-row { margin-top: 28px; }
.p-hero .reply-note { margin-top: 14px; }
.p-hero__shot { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--c-line); box-shadow: 0 24px 48px rgba(35, 37, 132, .14); background: #fff; }
.p-hero__shot::before { content: ""; display: block; height: 26px; background: linear-gradient(90deg, var(--c-brand-deep), var(--acc)); }
.p-hero__shot img { display: block; width: 100%; height: auto; }
.p-hero__mark { display: grid; place-items: center; aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--c-bg-soft), #fff); }
.p-hero__mark img { width: 46%; height: auto; }
@media (max-width: 899px) {
  .p-hero__inner { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-bottom: 48px; }
  .p-hero__logo { width: 210px; }
  .p-hero__mark { display: none; }   /* HP作成の飾りのマークは、スマホでは出さない */
}
@media (max-width: 767px) { .p-hero .btn-row .btn { flex: 1 1 auto; } }

/* ---- ページ内の目次 ------------------------------------------------------ */
.p-jump { border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); background: #fff; }
.p-jump ul { list-style: none; display: flex; gap: 6px 26px; flex-wrap: wrap; padding: 14px 0; font-size: 14px; font-weight: 500; }
.p-jump a { color: var(--c-ink); text-decoration: none; }
.p-jump a::before { content: "↓ "; color: var(--acc-text); }
.p-jump a:hover { color: var(--acc-text); }

/* ---- 課題 ---------------------------------------------------------------- */
.voices { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.voice { background: #fff; border-radius: var(--radius); padding: 26px 26px 24px; box-shadow: var(--shadow); border-top: 4px solid var(--acc); }
.voice__q { font-weight: 700; font-size: 17px; line-height: 1.6; }
.voice__a { margin-top: 10px; color: var(--c-sub); font-size: 15px; }
@media (max-width: 767px) { .voices { grid-template-columns: minmax(0, 1fr); } }

/* ---- 解決できること ------------------------------------------------------ */
.gist { border-radius: 20px; padding: 36px 40px; background: color-mix(in srgb, var(--acc) 7%, #fff); }
.gist__text { font-size: clamp(19px, 2.2vw, 24px); font-weight: 700; line-height: 1.6; }
.gist__sub { margin-top: 14px; color: var(--c-sub); }
.track { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; counter-reset: tr; }
.track li { counter-increment: tr; position: relative; padding: 8px 16px 8px 40px; border-radius: 999px; background: #fff; border: 1px solid var(--c-line); font-size: 14px; font-weight: 500; }
.track li::before { content: counter(tr); position: absolute; left: 8px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--acc); color: #fff; font-family: var(--f-en); font-size: 12px; font-weight: 700; }
.track__note { margin-top: 14px; font-size: 14px; color: var(--c-sub); }
.points { list-style: none; margin-top: 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.points li { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 22px 22px 22px 56px; position: relative; font-weight: 700; }
.points li::before { content: ""; position: absolute; left: 22px; top: 28px; width: 18px; height: 10px; border-left: 3px solid var(--acc); border-bottom: 3px solid var(--acc); transform: rotate(-45deg); }
@media (max-width: 899px) { .points { grid-template-columns: minmax(0, 1fr); } .gist { padding: 26px 22px; } }

/* ---- 画面イメージ -------------------------------------------------------- */
.shots { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
.shots figure { margin: 0; }
.shots img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--c-line); box-shadow: var(--shadow); background: #fff; }
.shots figcaption { margin-top: 10px; font-size: 14px; color: var(--c-sub); }
.shots__note { margin-top: 24px; font-size: 13px; color: var(--c-sub); }
@media (max-width: 767px) { .shots { grid-template-columns: minmax(0, 1fr); } }

/* ---- 制作の進め方（HP作成） ---------------------------------------------- */
.process { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: pr; }
.process li { counter-increment: pr; background: #fff; border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); }
.process li::before { content: counter(pr, decimal-leading-zero); font-family: var(--f-en); font-weight: 700; font-size: 28px; color: var(--acc); }
.process h3 { font-size: 18px; margin-top: 4px; }
.process p { margin-top: 8px; font-size: 15px; color: var(--c-sub); }
@media (max-width: 899px) { .process { grid-template-columns: minmax(0, 1fr); } }

/* ---- 作り込み ------------------------------------------------------------ */
.custom p + p { margin-top: 14px; }
.custom { font-size: 17px; }

/* ---- 動作環境 ------------------------------------------------------------ */
.spec-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; font-size: 15px; }
.spec-table th, .spec-table td { padding: 14px 18px; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.spec-table th { width: 10em; font-weight: 700; background: #FAFAFD; }
.spec-note { margin-top: 14px; font-size: 13px; color: var(--c-sub); }
@media (max-width: 539px) {
  .spec-table th, .spec-table td { display: block; width: auto; border-bottom: 0; }
  .spec-table th { padding-bottom: 4px; }
  .spec-table td { padding-top: 0; border-bottom: 1px solid var(--c-line); }
}

/* ---- ほかの製品 ---------------------------------------------------------- */
.card__logo { width: 100%; max-width: 220px; height: auto; margin-bottom: 16px; }
