.factory-makes {
 --ink:#232323;
 --muted:#54514d;
 --paper:#f3efeb;
 --line:#dedad5;
 font:1rem/1.75 Arial,"Noto Sans CJK JP",sans-serif;
 letter-spacing:normal;
 color:var(--ink);
 background:#fff;

 &, & * { box-sizing:border-box; }
 img { display:block; max-width:100%; height:auto; }
 a { color:inherit; }
 h1,h2,h3,p,ol { margin:0; }
 h1,h2,h3 { font-weight:700; line-height:1.4; letter-spacing:.045em; }
 h1 { font-size:clamp(1.8rem,1.35rem + 1.65vw,2.625rem); }
 h2 { font-size:clamp(1.55rem,1.2rem + 1vw,2rem); }
 h3 { font-size:clamp(1.25rem,1rem + .7vw,1.625rem); }
 .wrap { width:min(calc(100% - 80px),1120px); margin-inline:auto; }
 .hero { display:grid; isolation:isolate; background:#ead5bc; }
 .hero > * { grid-area:1/1; }
 .hero img { width:100%; height:clamp(440px, 100vw - 580px, 54.6875vw); object-fit:cover; object-position:90% center; }
 .hero-copy { z-index:1; align-self:center; padding-block:28px; }
 .hero-copy p { margin:20px 0 26px; max-width:22em; color:#37312c; }
 .cta { display:inline-grid; place-items:center; min-height:49px; padding:8px 24px; border-radius:3px; background:var(--ink); color:#fff; text-decoration:none; font-weight:700; font-size:.875rem; }
 .jump { border-bottom:1px solid var(--line); }
 .jump .wrap { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); }
 .jump a { display:grid; place-items:center; text-align:center; text-decoration:none; min-height:54px; padding:6px 2px; font-size:.875rem; font-weight:700; }
 .jump a + a { border-left:1px solid var(--line); }
 :is(#concept, #content, #flow, #contact) { scroll-margin-block-start:135px; }
 .section { padding:68px 0 72px; }
 .features { border-bottom:1px solid var(--line); }
 .feature-list { display:grid; gap:28px; margin-top:26px; }
 .feature { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-areas:"photo copy"; background:#f7f5f3; }
 .feature:nth-child(even) { grid-template-areas:"copy photo"; }
 .feature img { grid-area:photo; width:100%; aspect-ratio:3/2; object-fit:cover; }
 .feature div { grid-area:copy; align-self:center; padding:clamp(20px,4vw,56px); }
 .feature p { margin-top:12px; color:var(--muted); }
 .photo-note { margin-block-start:16px; color:#696560; font-size:12px; text-align:left; }
 #content h2 { margin-bottom:25px; }
 .cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px 22px; }
 .cards a { display:block; text-decoration:none; }
 .cards img, .cards svg { width:100%; height:auto; aspect-ratio:6/5; object-fit:contain; background:#e2e1e6; }
 .cards [data-sample="factory-sample-tee-silk"] img { background:#e7e7e9; }
 .cards [data-sample="factory-sample-acrylic"] img { background:#e1dfe2; }
 .cards [data-sample="factory-cheki-photocard"] img { background:#dedad9; }
 .cards [data-sample="factory-sample-badge"] img { background:#ececee; }
 .cards [data-sample="factory-wood-puzzle"] img { background:#cec9c6; }
 .cards span { display:flex; overflow-wrap:anywhere; gap:8px; justify-content:space-between; padding-top:8px; font-weight:700; font-size:.875rem; line-height:1.5; }
 .cards b { font-weight:400; flex:none; }
 .cards .sample-row-divider {
  grid-column:1/-1;
  border-top:1px solid var(--line);
  margin-block:-2px;
 }
 .cards [data-sample="factory-sample-hoodie-dtf"] img {
  background:linear-gradient(#e2e1e6, #e2e1e6, #e2e1e6, #e2e1e7, #e2e1e6, #e1e0e6, #e1e0e6, #e1e0e5, #e1e0e6) left / 50% 100% no-repeat,
             linear-gradient(#e2e1e6, #e2e1e6, #e2e1e6, #e2e1e7, #e2e1e6, #e2e1e6, #e1e0e5, #e0dfe4, #e2e1e6) right / 50% 100% no-repeat;
 }
 .cards [data-sample="factory-sample-tee-dtg-white"] img {
  background:linear-gradient(#e2e2e4, #e2e2e4, #e0e0e2, #e0e0e2, #e0e0e2, #dfdfe1, #dfdfe1, #e0e0e2, #e0e0e2) left / 50% 100% no-repeat,
             linear-gradient(#dddddf, #dddddf, #dddddf, #dcdcde, #dcdcde, #dbdbdd, #dbdbdd, #dddddf, #dddddf) right / 50% 100% no-repeat;
 }
 .cards [data-sample="factory-sample-ecobag-emb"] img {
  background:linear-gradient(#dadae2, #dbdbe3, #dcdce4, #dbdbe3, #dadae2, #d9d9e1, #d9d9e1, #d8d8e0, #d7d7df) left / 50% 100% no-repeat,
             linear-gradient(#d1d1d9, #d2d2da, #d1d1d9, #d0d0d8, #cfcfd7, #d0d0d8, #cfcfd7, #cfcfd7, #ceced6) right / 50% 100% no-repeat;
 }
 .cards [data-sample="factory-sample-laser-wood"] img {
  background:linear-gradient(#d0cecf, #d2d0d1, #d3d1d1, #cbc8c5, #b1aba7, #b4afac, #c2bdbb, #ceccca, #d2d0d0) left / 50% 100% no-repeat,
             linear-gradient(#dcdbd9, #dddcda, #dedddb, #dedddb, #dedddc, #dedddb, #dedddb, #dedddb, #dfddde) right / 50% 100% no-repeat;
 }
 .flow { border-top:1px solid var(--line); background:#f8f7f5; }
 .flow ol { list-style:none; padding:0; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); margin-top:26px; border-block:1px solid var(--line); }
 .flow li { padding:22px 17px; }
 .flow li + li { border-left:1px solid var(--line); }
 .flow h3 { font-size:1.0625rem; margin:8px 0 5px; }
 .flow p { font-size:.875rem; }
 .flow svg { display:block; width:34px; height:34px; fill:none; }
 .contact .factory-consultation-link { font-family:"HelveticaNeue","Yu Gothic Medium",YuGothic,Lato,"Hiragino Kaku Gothic ProN",Meiryo,sans-serif; }
 .contact { padding:120px 20px; background:#f3ede9; text-align:center; }
 .contact p { margin:10px auto 26px; }
 @media (width >= 768px) {
  .feature:first-child p { text-wrap:balance; }
  .tote-phrase { white-space:nowrap; }
 }
 @media (max-width:1050px) {
  .hero { display:flex; flex-direction:column; background:var(--paper); }
  .hero-copy { padding-block:28px 22px; }
  .hero img { height:min(71.43vw, 438px); object-position:94% center; }
 }
 @media (max-width:767px) {
  .wrap { width:calc(100% - 40px); }
  .hero-copy p { margin:10px 0 16px; max-width:unset; font-size:.875rem; }
  .jump .wrap { width:100%; }
  .jump a { min-height:48px; font-size:.75rem; }
  :is(#concept, #content, #flow, #contact) { scroll-margin-block-start:110px; }
  .section { padding:38px 0 43px; }
  .feature-list { margin-top:18px; gap:18px; }
  .feature, .feature:nth-child(even) { grid-template-columns:minmax(0,1fr); grid-template-areas:"photo" "copy"; }
  .feature div { padding:16px 18px 20px; }
  .feature p { font-size:.875rem; margin-top:7px; }
  .acrylic-phrase { display:inline-block; max-width:100%; }
  #content h2 { margin-bottom:18px; }
  .cards { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px 10px; }
  .cards span { font-size:.8125rem; padding-top:5px; }
  .cards .sample-row-divider { margin-block:0; }

  .flow ol { display:block; margin-top:18px; }
  .flow li { display:grid; grid-template-columns:36px minmax(0,1fr); gap:10px; padding:12px 0; }
  .flow li + li { border-left:0; border-top:1px solid var(--line); }
  .flow h3 { margin:0 0 3px; }
  .contact { padding:34px 20px 50px; }
  .contact p { font-size:.875rem; margin:8px auto 20px; }
 }
 /* 共通CSSとページ本文のタイポグラフィを併用してもカードの表示を保つ。 */
 .contact .factory-line-contact__invite { letter-spacing:normal; }
 .contact .factory-form-contact__arrow::after { box-sizing:border-box; }
}

body:has(.factory-makes) .factory-drawer input { font-size:16px; }
