@charset "utf-8";
/* ==========================================================================
   技術記事（Factory Tech）専用スタイル
   /tech 配下のページでのみ読み込む（import.css には入れない）。
   既存70ページのインタビュー詳細に影響を出さないため、すべて .p-tech 配下に限定する。

   FV（メインビジュアル）はインタビュー詳細と同じ style.css のクラスをそのまま使うので、
   ここには「3:2以外の画像が入稿されてもトリミングしない」保険だけを置く。
   ========================================================================== */

.p-tech {
  --gold: #AC7815;
  --ink: #222222;
  --sub: #222222;
  --mute: #222222;
  --line: #E3E1DD;
  --bg: #FAF9F7;
  --sans: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', sans-serif;
  --serif: 'Noto Serif JP', 'Hiragino Mincho ProN', serif;
  --en: 'Didact Gothic', sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  line-height: 1.95;
  font-size: 16px;
}

/* 追従バーがフッター最下部を覆わないようにページ全体の下に余白を取る */
body.p-tech-body {
  padding-bottom: 72px;
}

.p-tech a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* サイト共通グリッド .l-content と同一（1156 - 18*2 = 内寸1120px）。
   本文HTMLがモックのまま .wrap を使えるようにエイリアスを用意する。 */
.p-tech .wrap {
  width: 100%;
  max-width: 1156px;
  padding: 0 18px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* 本文はFV（コンテンツ幅1120px）に揃える。
   モックでは長文だけ840px／900pxに絞っていたが、FVとの幅の食い違いが目立つため
   全ブロックを1120pxで通す。 */

.p-tech section {
  padding: 64px 0;
  border-top: 1px solid var(--line);
}
.p-tech section.alt {
  background: var(--bg);
}

/* FV：既存 style.css のクラスをそのまま使う。
   ここは3:2以外の画像が来た場合にトリミングせず収めるための保険のみ。 */
.p-tech .fv-sec {
  padding: 0;
  border-top: none;
}
.p-tech .p-int-detail-head-img img,
.p-tech .p-int-detail-head-img-sp img {
  object-fit: contain;
  display: block;
}
.p-tech .p-int-detail-head-img img {
  height: 747px;
}
@media screen and (max-width: 1180px) {
  .p-tech .p-int-detail-head-img img { height: 700px; }
}
@media screen and (max-width: 1100px) {
  .p-tech .p-int-detail-head-img img { height: 640px; }
}
@media screen and (max-width: 1000px) {
  .p-tech .p-int-detail-head-img img { height: 600px; }
}
@media screen and (max-width: 955px) {
  .p-tech .p-int-detail-head-img img { height: 560px; }
}
@media screen and (max-width: 890px) {
  .p-tech .p-int-detail-head-img img { height: 500px; }
}
@media screen and (max-width: 800px) {
  .p-tech .p-int-detail-head-img img { height: 460px; }
}
@media screen and (max-width: 768px) {
  .p-tech .p-int-detail-head-img img { height: auto; }
}

/* headings
   FV内の見出し・キャッチは style.css（インタビュー詳細と共通）に完全に任せるため、
   :not() で除外する。ここで値を再指定すると将来インタビュー側とズレる。 */
.p-tech h1:not(.p-int-detail-head-h1) {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: .02em;
  margin-bottom: 20px;
}
.p-tech h2:not(.p-int-detail-head-h2) {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: .02em;
  margin-bottom: 16px;
}
.p-tech h3 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  margin: 32px 0 12px;
  letter-spacing: .02em;
}
.p-tech h4 {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 6px;
}
.p-tech .lead {
  color: var(--sub);
  font-size: 16px;
  margin-bottom: 32px;
}
.p-tech p:not(.p-int-detail-head-box-p) {
  margin-bottom: 16px;
}
.p-tech p:not(.p-int-detail-head-box-p):last-child {
  margin-bottom: 0;
}

/* hero（FV直下の実績数値＋CTA）
   padding のショートハンドを使うと .wrap の左右18pxを打ち消して
   この行だけ1156pxになり、FVより左右に18pxはみ出す。上下だけ指定する。 */
.p-tech .hero {
  padding-top: 36px;
  padding-bottom: 52px;
}
.p-tech .facts {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid var(--line);
  margin-bottom: 30px;
}
.p-tech .facts div {
  flex: 1;
  min-width: 150px;
  padding: 18px 20px;
  border-left: 1px solid var(--line);
}
.p-tech .facts div:first-child {
  border-left: none;
}
.p-tech .facts b {
  display: block;
  font-family: var(--en);
  font-size: 26px;
  color: var(--ink);
  line-height: 1.2;
  font-weight: 400;
}
.p-tech .facts span {
  font-size: 13.5px;
  color: var(--sub);
  line-height: 1.65;
  display: block;
  margin-top: 4px;
}
.p-tech .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* buttons */
.p-tech .btn {
  display: inline-block;
  text-decoration: none;
  font-size: 15px;
  letter-spacing: .05em;
  padding: 14px 40px 14px 20px;
  position: relative;
  transition: .3s;
  border: 1px solid transparent;
  font-family: var(--sans);
  cursor: pointer;
}
.p-tech .btn::after {
  content: "→";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--en);
}
.p-tech .btn-p {
  background: var(--gold);
  color: #fff;
}
.p-tech .btn-p:hover {
  background: #946512;
}
.p-tech .btn-s {
  border-color: var(--line);
  color: var(--ink);
}
.p-tech .btn-s:hover {
  border-color: var(--gold);
  color: var(--ink);
}
.p-tech .tel-inline {
  font-family: var(--en);
  font-size: 21px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: .03em;
}
.p-tech .tel-inline small {
  font-family: var(--sans);
  font-size: 11.5px;
  color: var(--mute);
  display: block;
  letter-spacing: .1em;
}

/* toc */
.p-tech .toc {
  border: 1px solid var(--line);
  padding: 24px 26px;
}
.p-tech .toc b {
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--mute);
  display: block;
  margin-bottom: 12px;
  font-family: var(--en);
}
.p-tech .toc ol {
  margin-left: 18px;
  font-size: 16px;
  columns: 2;
  column-gap: 32px;
  list-style: decimal;
}
.p-tech .toc li {
  margin-bottom: 7px;
  break-inside: avoid;
}
.p-tech .toc a {
  text-decoration: none;
}
.p-tech .toc a:hover {
  text-decoration: underline;
}
@media (max-width: 640px) {
  .p-tech .toc ol { columns: 1; }
}

/* lists */
.p-tech ul.plain {
  list-style: none;
}
.p-tech ul.plain li {
  padding: 11px 0 11px 22px;
  border-bottom: 1px solid var(--line);
  position: relative;
  font-size: 16px;
}
.p-tech ul.plain li:first-child {
  border-top: 1px solid var(--line);
}
.p-tech ul.plain li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--ink);
}

/* tables */
.p-tech table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  margin-bottom: 14px;
}
.p-tech th,
.p-tech td {
  border: 1px solid var(--line);
  padding: 13px 16px;
  text-align: left;
  vertical-align: top;
  line-height: 1.8;
}
.p-tech th {
  background: var(--bg);
  font-weight: 500;
}
.p-tech table.kv th {
  width: 190px;
}
.p-tech table.size th {
  background: var(--bg);
  font-size: 14.5px;
  white-space: nowrap;
}
.p-tech table.size td {
  font-family: var(--en);
  font-size: 15.5px;
  letter-spacing: .02em;
}
.p-tech table.size td.jp {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--sub);
}
.p-tech .tcap {
  font-size: 13.5px;
  color: var(--mute);
  margin-bottom: 26px;
}
@media (max-width: 768px) {
  .p-tech th,
  .p-tech td { padding: 10px 11px; font-size: 14.5px; }
  .p-tech table.kv th { width: 110px; }
  .p-tech .scrollx { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .p-tech .scrollx table { min-width: 520px; }
}

/* 要確認マーカー（入稿中の未確定箇所） */
.p-tech .tbc {
  background: #FFF6DF;
  border-bottom: 1px solid #E2A400;
  color: var(--ink);
  font-size: 13.5px;
  padding: 1px 6px;
}
.p-tech .tbc-box {
  background: #FFF6DF;
  border: 1px solid #F0DCA8;
  border-left: 3px solid #E2A400;
  padding: 14px 18px;
  font-size: 14.5px;
  color: var(--ink);
  margin: 20px 0 0;
  line-height: 1.85;
}

/* placeholder */
.p-tech .ph {
  background: var(--bg);
  border: 1px dashed #C9C5BD;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ink);
  font-size: 12.5px;
  padding: 24px;
  line-height: 1.8;
  min-height: 170px;
}
.p-tech .ph b {
  display: block;
  color: var(--ink);
  margin-bottom: 6px;
  font-weight: 500;
}

/* two col */
.p-tech .two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 768px) {
  .p-tech .two { grid-template-columns: 1fr; }
}

/* process */
.p-tech ol.proc {
  list-style: none;
  counter-reset: p;
}
.p-tech ol.proc li {
  padding: 16px 0 16px 52px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.p-tech ol.proc li:first-child {
  border-top: 1px solid var(--line);
}
.p-tech ol.proc li::before {
  counter-increment: p;
  content: counter(p, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 18px;
  font-family: var(--en);
  font-size: 13px;
  color: var(--ink);
  letter-spacing: .06em;
}
.p-tech ol.proc li p {
  font-size: 15.5px;
  color: var(--sub);
  margin: 0;
}
.p-tech ol.proc li.key h4::after {
  content: "重要";
  font-size: 10px;
  background: var(--gold);
  color: #fff;
  padding: 2px 7px;
  margin-left: 9px;
  letter-spacing: .06em;
  vertical-align: 2px;
}

/* cases */
.p-tech .cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.p-tech .case {
  border: 1px solid var(--line);
}
.p-tech .case .b {
  padding: 16px 18px 20px;
}
.p-tech .case h4 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 9px;
}
.p-tech .case dl {
  display: grid;
  grid-template-columns: 66px 1fr;
  font-size: 13.5px;
  row-gap: 4px;
  color: var(--sub);
}
.p-tech .case dt {
  color: var(--mute);
}
@media (max-width: 768px) {
  .p-tech .cases { grid-template-columns: 1fr; }
}

/* 関連記事リンク */
.p-tech .story {
  display: flex;
  gap: 20px;
  align-items: center;
  border: 1px solid var(--line);
  padding: 22px 24px;
  text-decoration: none;
  color: inherit;
  transition: .3s;
  margin-top: 28px;
}
.p-tech .story:hover {
  border-color: var(--gold);
  background: var(--bg);
}
.p-tech .story .t {
  flex: 1;
}
.p-tech .story .t .lb {
  font-family: var(--en);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--ink);
  margin-bottom: 6px;
}
.p-tech .story .t h4 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 5px;
}
.p-tech .story .t p {
  font-size: 14px;
  color: var(--sub);
  margin: 0;
}
.p-tech .story .thumb {
  width: 120px;
  flex-shrink: 0;
}
.p-tech .story .ar {
  color: var(--ink);
  font-family: var(--en);
  font-size: 20px;
}
@media (max-width: 640px) {
  .p-tech .story { flex-wrap: wrap; }
}

/* faq */
.p-tech .faq details {
  border-bottom: 1px solid var(--line);
}
.p-tech .faq details:first-child {
  border-top: 1px solid var(--line);
}
.p-tech .faq summary {
  padding: 18px 40px 18px 30px;
  cursor: pointer;
  font-size: 16.5px;
  position: relative;
  list-style: none;
  line-height: 1.7;
}
.p-tech .faq summary::-webkit-details-marker {
  display: none;
}
.p-tech .faq summary::before {
  content: "Q";
  position: absolute;
  left: 4px;
  top: 17px;
  font-family: var(--en);
  color: var(--ink);
}
.p-tech .faq summary::after {
  content: "+";
  position: absolute;
  right: 10px;
  top: 16px;
  color: var(--mute);
  font-size: 18px;
}
.p-tech .faq details[open] summary::after {
  content: "−";
}
.p-tech .faq .a {
  padding: 0 40px 20px 30px;
  font-size: 16px;
  color: var(--sub);
}

/* form */
.p-tech .fgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.p-tech .fgrid .full {
  grid-column: 1/-1;
}
.p-tech .fld label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--sub);
}
.p-tech .req {
  background: var(--gold);
  color: #fff;
  font-size: 10.5px;
  padding: 2px 6px;
  margin-left: 6px;
}
.p-tech .opt {
  background: var(--bg);
  color: var(--mute);
  font-size: 10.5px;
  padding: 2px 6px;
  margin-left: 6px;
  border: 1px solid var(--line);
}
.p-tech .fld input,
.p-tech .fld select,
.p-tech .fld textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 12px 14px;
  font-size: 16px;
  font-family: var(--sans);
  background: #fff;
  box-sizing: border-box;
}
.p-tech .fld textarea {
  min-height: 110px;
  resize: vertical;
}
.p-tech .radiogrp {
  border: 1px solid var(--line);
  background: #fff;
}
.p-tech .rlabel {
  display: block;
  padding: 13px 16px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  cursor: pointer;
  margin-bottom: 0;
}
.p-tech .rlabel input {
  width: auto;
  margin-right: 8px;
}
.p-tech .rbody {
  padding: 16px;
  border-bottom: 1px solid var(--line);
}
.p-tech .rbody:last-child {
  border-bottom: none;
}
.p-tech .sizerow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
}
.p-tech .sizerow input {
  width: 80px;
}
.p-tech .privacy-row {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 6px;
}
.p-tech .privacy-row label {
  font-size: 16px;
}
.p-tech .privacy-row input {
  width: auto;
  margin-right: 8px;
}
.p-tech .error {
  color: #c0392b;
  font-size: 13px;
  margin-top: 6px;
}
.p-tech .d-none {
  display: none !important;
}
.p-tech #file-info {
  font-size: 13px;
  margin-top: 8px;
}
@media (max-width: 768px) {
  .p-tech .fgrid { grid-template-columns: 1fr; }
}

/* 確認画面 */
.p-tech .cfm dl {
  display: grid;
  grid-template-columns: 200px 1fr;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.p-tech .cfm dl:first-child {
  border-top: 1px solid var(--line);
}
.p-tech .cfm dt {
  padding: 14px 16px;
  background: var(--bg);
  color: var(--sub);
  font-size: 13px;
}
.p-tech .cfm dd {
  padding: 14px 16px;
}
.p-tech .cfm-btns {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .p-tech .cfm dl { grid-template-columns: 1fr; }
  .p-tech .cfm dt { padding-bottom: 4px; }
}

/* 追従バー */
.p-tech .sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(34, 34, 34, .97);
  padding: 12px 20px;
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  z-index: 50;
}
.p-tech .sticky .lb {
  color: #c9c7c3;
  font-size: 13px;
  margin-right: 8px;
}
@media (max-width: 768px) {
  .p-tech .sticky .lb { display: none; }
  .p-tech .sticky .btn { flex: 1; text-align: center; }
}

/* 記事下の関連リンク */
.p-tech .tech-related {
  background: #1b1b1b;
  color: #8d8a85;
  font-size: 13px;
  padding: 36px 0;
  border-top: none;
}
.p-tech .tech-related .l-content {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.p-tech .tech-related b {
  color: #ddd;
  font-weight: 500;
  display: block;
  margin-bottom: 6px;
  font-family: var(--serif);
  font-size: 15px;
}
.p-tech .tech-related a {
  color: #8d8a85;
}

/* ==========================================================================
   /tech 一覧（Factory Tech）
   ========================================================================== */

/* 一覧ヘッダー。専用のヘッダー画像を用意したらこの背景を差し替える。
   .p-lower-header と併用するので、他ページに影響しない専用クラス名にしている。 */
.p-lower-header-tech {
  background: #222;
}

.p-tech-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .p-tech-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .p-tech-list { grid-template-columns: 1fr; }
}
.p-tech-card {
  border: 1px solid var(--line);
  background: #fff;
  transition: .3s;
}
.p-tech-card:hover {
  border-color: var(--gold);
}
.p-tech-card > a {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.p-tech-card-img {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--bg);
}
.p-tech-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.p-tech-card-body {
  padding: 18px 20px 22px;
}
.p-tech-card-h3 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 8px;
}
.p-tech-card-company {
  font-size: 12.5px;
  color: var(--sub);
  margin-bottom: 10px;
}
.p-tech-card-spec {
  font-size: 13px;
  color: var(--ink);
  border-top: 1px solid var(--line);
  padding-top: 10px;
  margin: 0;
  line-height: 1.7;
}
.p-tech-list-empty {
  font-size: 15px;
  padding: 40px 0;
}
