/* ==========================================================
   ウレタン・ポリエチレンフォーム加工 LP
   ========================================================== */

:root {
  --navy: #111827;
  --navy-800: #1a2233;
  --navy-700: #263046;
  --brand: #2563eb;
  --brand-600: #1d4fd8;
  --accent: #f97316;
  --accent-600: #ea580c;
  --white: #ffffff;
  --mist: #f3f4f6;
  --ink: #1f2937;
  --muted: #4b5563;
  --line: #e5e7eb;
  --danger: #dc2626;

  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "BIZ UDPGothic", "Yu Gothic UI",
    "Yu Gothic", Meiryo, system-ui, sans-serif;

  --radius-card: 16px;
  --radius-tile: 8px;
  --header-h: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 1024px) {
  :root { --header-h: 80px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-feature-settings: "palt"; line-break: strict; color: var(--navy); }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: #fff; }

[hidden] { display: none !important; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 100; padding: 12px 20px;
  background: #fff; color: var(--navy); font-weight: 700; border-radius: 999px;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }
.nowrap { white-space: nowrap; }

.icon {
  width: 1em; height: 1em; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: 20px; }
@media (min-width: 1024px) { .container { padding-inline: 32px; } }

.section { padding-block: 80px; }
@media (min-width: 640px) { .section { padding-block: 112px; } }
.section--mist { background: var(--mist); }

/* フォーム切断面のセル模様 */
.foam-texture {
  background-image:
    radial-gradient(circle at 30% 30%, rgb(255 255 255 / 0.07) 0 2px, transparent 2.5px),
    radial-gradient(circle at 70% 60%, rgb(255 255 255 / 0.05) 0 3px, transparent 3.5px),
    radial-gradient(circle at 50% 90%, rgb(255 255 255 / 0.04) 0 1.5px, transparent 2px);
  background-size: 22px 22px, 31px 31px, 17px 17px;
}
.foam-texture-light {
  background-image:
    radial-gradient(circle at 30% 30%, rgb(17 24 39 / 0.06) 0 2px, transparent 2.5px),
    radial-gradient(circle at 70% 60%, rgb(17 24 39 / 0.045) 0 3px, transparent 3.5px);
  background-size: 22px 22px, 31px 31px;
}
/* 加工のカットラインを表す破線 */
.cut-line {
  display: inline-block; height: 2px;
  background-image: linear-gradient(90deg, var(--accent) 60%, transparent 0);
  background-size: 12px 2px; background-repeat: repeat-x;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 0;
  font-size: 15px; font-weight: 700; line-height: 1.4; cursor: pointer; text-align: center;
  transition: background-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn .icon { font-size: 18px; }
.btn--lg { min-height: 56px; padding: 16px 32px; font-size: 16px; }
@media (min-width: 640px) { .btn--lg { font-size: 18px; } }
.btn--block { width: 100%; }
.btn--express { background: var(--accent); color: #fff; box-shadow: 0 8px 24px -8px rgb(249 115 22 / 0.6); }
.btn--express:hover { background: var(--accent-600); transform: translateY(-2px); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-600); transform: translateY(-2px); }
.btn--ghost { border: 1px solid rgb(255 255 255 / 0.4); color: #fff; }
.btn--ghost:hover { background: rgb(255 255 255 / 0.1); }
.btn--outline { border: 1px solid rgb(17 24 39 / 0.2); color: var(--navy); background: transparent; }
.btn--outline:hover { background: rgb(17 24 39 / 0.05); }

/* ---------- Section heading ---------- */
.sec-head { max-width: 680px; }
.sec-head__en {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; font-weight: 700; color: var(--brand);
}
.sec-head__en .cut-line { width: 32px; }
.sec-head__title {
  margin-top: 16px; font-size: clamp(1.75rem, 1.1rem + 2.4vw, 2.75rem);
  line-height: 1.35; font-weight: 800;
}
.sec-head__lead { margin-top: 20px; color: var(--muted); font-size: clamp(1rem, .95rem + .2vw, 1.125rem); }
.sec-head--dark .sec-head__en { color: var(--accent); }
.sec-head--dark .sec-head__title { color: #fff; }
.sec-head--dark .sec-head__lead { color: #cbd5e1; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background-color .3s, box-shadow .3s;
}
.header.is-solid {
  background: rgb(255 255 255 / 0.96); box-shadow: 0 1px 0 rgb(17 24 39 / 0.08);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h);
}
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.header.is-solid .logo { color: var(--navy); }
.logo__mark { width: 32px; height: 32px; flex-shrink: 0; }
.logo__text { display: flex; flex-direction: column; line-height: 1.25; }
.logo__name { font-size: 15px; font-weight: 800; letter-spacing: -0.01em; }
.logo__sub { font-size: 10px; opacity: .75; }

.nav { display: none; }
@media (min-width: 1024px) { .nav { display: block; } }
.nav__list { display: flex; gap: 28px; }
.nav__link { font-size: 14px; font-weight: 700; color: rgb(255 255 255 / 0.9); transition: color .2s; }
.nav__link:hover { color: #fff; }
.header.is-solid .nav__link { color: var(--ink); }
.header.is-solid .nav__link:hover { color: var(--brand); }
.nav__link--express, .header.is-solid .nav__link--express { color: var(--accent); }

.header__actions { display: flex; align-items: center; gap: 8px; }
.header__cta { display: none; padding-inline: 20px; }
@media (min-width: 640px) { .header__cta { display: inline-flex; } }
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 0; border-radius: 999px; background: transparent; color: #fff; cursor: pointer;
}
.menu-btn .icon { font-size: 24px; }
.header.is-solid .menu-btn { color: var(--navy); }
@media (min-width: 1024px) { .menu-btn { display: none; } }
.menu-btn .icon--close { display: none; }
.menu-btn[aria-expanded="true"] .icon--open { display: none; }
.menu-btn[aria-expanded="true"] .icon--close { display: block; }

.mobile-menu {
  height: calc(100dvh - var(--header-h)); overflow-y: auto;
  background: #fff; border-top: 1px solid var(--line); padding: 0 20px 40px;
}
.mobile-menu[hidden] { display: none; }
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }
.mobile-menu__list li + li { border-top: 1px solid var(--line); }
.mobile-menu__link { display: flex; align-items: center; min-height: 56px; font-weight: 700; color: var(--navy); }
.mobile-menu__link--express { color: var(--accent); }
.mobile-menu .btn { margin-top: 24px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center; min-height: 100svh;
  background: var(--navy); color: #fff;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__media { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, rgb(17 24 39 / 0.95) 50%, rgb(38 48 70 / 0.9) 100%);
}
.hero__media { object-position: 72% center; }
.hero.has-media .hero__overlay {
  background: linear-gradient(180deg, rgb(17 24 39 / 0.55) 0%, rgb(17 24 39 / 0.82) 45%, rgb(17 24 39 / 0.9) 100%);
}
@media (min-width: 1024px) {
  .hero__media { object-position: right center; }
  .hero.has-media .hero__overlay {
    background: linear-gradient(90deg, rgb(17 24 39 / 0.94) 0%, rgb(17 24 39 / 0.86) 38%, rgb(17 24 39 / 0.35) 68%, rgb(17 24 39 / 0.1) 100%);
  }
}
.hero__art {
  position: absolute; top: 50%; right: -160px; width: 110%; max-width: none;
  transform: translateY(-50%); opacity: .25;
}
@media (min-width: 640px) { .hero__art { right: -96px; width: 80%; opacity: .4; } }
@media (min-width: 1024px) { .hero__art { right: -64px; width: 44%; opacity: 1; } }
@media (min-width: 1280px) { .hero__art { right: -16px; } }
.hero.has-media .hero__art { display: none; }
.hero__cut { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .hero__cut { animation: cut 1.6s cubic-bezier(0.65, 0, 0.35, 1) .4s both; }
@keyframes cut { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

.hero__inner { padding-block: 112px 96px; }
@media (min-width: 1024px) { .hero__inner { padding-top: 128px; } }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 999px; background: var(--accent);
  font-size: 14px; font-weight: 700;
}
.hero__title {
  margin-top: 24px; color: #fff; font-weight: 900; letter-spacing: -0.02em;
  font-size: clamp(1.95rem, 0.9rem + 4.6vw, 5.25rem); line-height: 1.2;
}
.hero__lead { margin-top: 24px; max-width: 600px; color: #e2e8f0; font-size: clamp(1rem, .95rem + .25vw, 1.125rem); }
.hero__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.hero__badge {
  padding: 6px 12px; border-radius: 6px; border: 1px solid rgb(255 255 255 / 0.25);
  font-size: 14px; font-weight: 700; line-height: 1.5;
}
.hero__badge--accent { border-color: var(--accent); color: var(--accent); }
.hero__actions { display: flex; flex-direction: column; gap: 12px; margin-top: 40px; }
@media (min-width: 640px) { .hero__actions { flex-direction: row; } }
.scroll-cue {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: none; flex-direction: column; align-items: center; gap: 8px;
  font-size: 12px; color: #cbd5e1;
}
@media (min-width: 640px) { .scroll-cue { display: flex; } }
.scroll-cue__bar { position: relative; width: 1px; height: 40px; overflow: hidden; background: rgb(255 255 255 / 0.2); }
.scroll-cue__bar::after {
  content: ""; position: absolute; inset: 0; background: var(--accent);
  animation: scroll-cue 2.2s ease-in-out infinite;
}
@keyframes scroll-cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ---------- ファーストビュー：水色テーマ ---------- */
.hero { background: #e0f2fe; color: var(--navy); }
.hero.has-media .hero__overlay {
  background: linear-gradient(180deg, rgb(224 242 254 / 0.78) 0%, rgb(224 242 254 / 0.9) 45%, rgb(224 242 254 / 0.94) 100%);
}
@media (min-width: 1024px) {
  .hero.has-media .hero__overlay {
    background: linear-gradient(90deg, rgb(224 242 254 / 0.96) 0%, rgb(224 242 254 / 0.88) 38%, rgb(224 242 254 / 0.3) 68%, rgb(224 242 254 / 0) 100%);
  }
}
.hero__eyebrow { color: #fff; }
.hero__title { color: var(--navy); }
.hero__lead { color: var(--ink); }
.hero__badge { border-color: rgb(17 24 39 / 0.25); background: rgb(255 255 255 / 0.6); color: var(--navy); }
.hero__badge--accent { border-color: var(--accent); color: var(--accent-600); }
.hero .btn--ghost { border-color: rgb(17 24 39 / 0.3); color: var(--navy); background: rgb(255 255 255 / 0.5); }
.hero .btn--ghost:hover { background: rgb(255 255 255 / 0.85); }
.scroll-cue { color: var(--muted); }
.scroll-cue__bar { background: rgb(17 24 39 / 0.15); }
/* 明るい背景の上でもヘッダーの文字を読めるようにする */
.header .logo { color: var(--navy); }
.header .nav__link { color: var(--ink); }
.header .nav__link:hover { color: var(--brand); }
.header .nav__link--express { color: var(--accent); }
.header .menu-btn { color: var(--navy); }

/* ---------- Problems ---------- */
.problems__grid { display: grid; gap: 12px; margin-top: 48px; }
@media (min-width: 640px) { .problems__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .problems__grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.problem {
  display: flex; align-items: center; gap: 16px; height: 100%;
  padding: 20px; background: #fff; border-radius: var(--radius-tile); box-shadow: inset 0 0 0 1px var(--line);
}
@media (min-width: 640px) { .problem { padding: 24px; } }
.problem__icon {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 44px; height: 44px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 20px;
}
.problem__text { font-weight: 700; color: var(--navy); line-height: 1.6; }
.problems__close { margin-top: 48px; font-size: clamp(1.25rem, 1rem + 1vw, 1.5rem); font-weight: 800; color: var(--navy); line-height: 1.5; }

/* ---------- Reasons ---------- */
.reasons__grid { display: grid; gap: 16px; margin-top: 48px; }
@media (min-width: 1024px) {
  .reasons__grid { grid-template-columns: 5fr 7fr; grid-template-rows: repeat(3, auto); }
  .reason--featured { grid-row: 1 / span 3; }
}
.reason--featured {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  padding: 28px; border-radius: var(--radius-card); background: var(--navy); color: #fff;
}
@media (min-width: 640px) { .reason--featured { padding: 40px; } }
.reason--featured .foam-texture { position: absolute; inset: 0; opacity: .6; }
.reason--featured > * { position: relative; }
.reason__top { display: flex; align-items: center; justify-content: space-between; }
.reason__no { font-size: 13px; font-weight: 700; color: var(--muted); }
.reason--featured .reason__no { color: var(--accent); }
.reason__tag { padding: 4px 12px; border-radius: 999px; background: var(--accent); font-size: 12px; font-weight: 700; }
.reason__big-icon { margin-top: 40px; font-size: 56px; color: var(--accent); stroke-width: 1.5; }
.reason--featured h3 { margin-top: 24px; color: #fff; font-size: clamp(1.875rem, 1.5rem + 1.2vw, 2.25rem); font-weight: 900; line-height: 1.3; }
.reason--featured p { margin-top: 16px; color: #cbd5e1; font-size: clamp(1rem, .95rem + .2vw, 1.125rem); }
.reason--featured .btn { margin-top: auto; align-self: flex-start; }
.reason--featured .reason__spacer { flex: 1; min-height: 40px; }

.reason {
  display: flex; gap: 20px; padding: 24px; border-radius: var(--radius-card); border: 1px solid var(--line);
}
@media (min-width: 640px) { .reason { padding: 32px; } }
.reason__icon {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 48px; height: 48px; border-radius: 12px; background: rgb(37 99 235 / 0.1); color: var(--brand); font-size: 24px;
}
.reason h3 { margin-top: 4px; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); font-weight: 800; line-height: 1.4; }
.reason p { margin-top: 8px; color: var(--muted); }

/* ---------- Services ---------- */
.services__head { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 1024px) { .services__head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.services__note { max-width: 380px; font-size: 14px; color: var(--muted); }
.services__grid { display: grid; gap: 16px; margin-top: 48px; }
@media (min-width: 640px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services__grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.service {
  display: flex; flex-direction: column; height: 100%; overflow: hidden;
  background: #fff; border-radius: var(--radius-card); border: 1px solid var(--line);
  transition: border-color .2s;
}
.service:hover { border-color: rgb(37 99 235 / 0.45); }
.service .media-slot { background-color: #fff; border-bottom: 1px solid var(--line); }
/* 加工サービスのイメージ図：余白を詰めて図を大きく */
.service .media-slot--4x3 { aspect-ratio: 2 / 1; }
.service .shape { width: auto; max-width: 78%; height: 82%; }
@media (min-width: 640px) and (max-width: 1023px) { .service .media-slot--4x3 { aspect-ratio: 16 / 10; } }
.service__body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.service__no { font-size: 12px; font-weight: 700; color: var(--brand); }
.service h3 { margin-top: 4px; font-size: 20px; font-weight: 800; line-height: 1.4; }
.service p { margin-top: 8px; flex: 1; color: var(--muted); }
.service__status { flex: 0 !important; margin-top: 16px !important; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--navy) !important; }
.service .shape { transition: transform .3s var(--ease); }
.service:hover .shape { transform: scale(1.05); }

.consult-bar {
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
  margin-top: 48px; padding: 24px; border-radius: var(--radius-card); background: var(--navy); color: #fff;
}
@media (min-width: 640px) { .consult-bar { flex-direction: row; align-items: center; justify-content: space-between; padding: 32px; } }
.consult-bar p { font-weight: 700; font-size: clamp(1rem, .95rem + .3vw, 1.125rem); }

/* 差し替え可能な画像枠 */
.media-slot { position: relative; overflow: hidden; background: var(--mist); }
.media-slot--dark { background: var(--navy-800); }
.media-slot--4x3 { aspect-ratio: 4 / 3; }
.media-slot--16x9 { aspect-ratio: 16 / 9; }
.media-slot > img { width: 100%; height: 100%; object-fit: cover; }
.media-slot__art { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.media-slot__label {
  position: absolute; left: 8px; bottom: 8px; padding: 1px 8px; border-radius: 4px;
  background: rgb(255 255 255 / 0.85); color: var(--muted); font-size: 11px; line-height: 20px;
}
.media-slot--dark .media-slot__label { background: rgb(255 255 255 / 0.1); color: #cbd5e1; }
.shape { width: 62%; max-width: 220px; height: auto; }
.shape .s { fill: none; stroke: var(--navy); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.shape .s-fill { fill: #fff; }
.shape .c { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 6 5; }
.shape .d { fill: none; stroke: var(--navy); stroke-width: 1.2; }
.shape .da { fill: none; stroke: var(--accent); stroke-width: 1.2; }

.service__no { flex: none !important; margin-top: 0 !important; }
/* スマートフォンでも加工サービスを2列表示 */
@media (max-width: 639px) {
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 32px; }
  .service { border-radius: 12px; }
  .service .media-slot--4x3 { aspect-ratio: 4 / 3; }
  .service .shape { max-width: 86%; height: 78%; }
  .service .media-slot__label { left: 6px; bottom: 6px; padding: 0 6px; font-size: 10px; line-height: 18px; }
  .service__body { padding: 12px 12px 14px; }
  .service__no { font-size: 11px; }
  .service h3 { font-size: 15px; line-height: 1.45; }
  .service p { margin-top: 6px; font-size: 12.5px; line-height: 1.65; }
  .service__status { margin-top: 10px !important; padding-top: 8px; font-size: 12px; }
}

/* ---------- Materials ---------- */
.materials__grid { display: grid; gap: 24px; margin-top: 48px; }
.materials__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.material { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-card); }
.material__mark { font-size: clamp(2.25rem, 2rem + 1vw, 3rem); font-weight: 900; letter-spacing: -0.02em; color: rgb(17 24 39 / 0.8); }
.media-slot--dark .material__mark { color: rgb(255 255 255 / 0.9); }
.material__body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
@media (min-width: 640px) { .material__body { padding: 32px; } }
.material__en { font-size: 14px; font-weight: 700; color: var(--brand); }
.material h3 { margin-top: 4px; font-size: clamp(1.5rem, 1.3rem + .8vw, 1.875rem); font-weight: 800; line-height: 1.35; }
.material__summary { margin-top: 12px; color: var(--muted); }
.material__specs { display: grid; gap: 20px; margin-top: 24px; }
@media (min-width: 1024px) { .material__specs { grid-template-columns: repeat(3, 1fr); } }
.material__specs dt { font-size: 12px; font-weight: 700; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tags li { padding: 2px 10px; border-radius: 6px; background: var(--mist); font-size: 14px; font-weight: 700; color: var(--navy); line-height: 1.8; }
.material__grade { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.material__specs + .material__grade { margin-top: 24px; }
.material__grade strong { color: var(--navy); }

.material .media-slot--16x9 { aspect-ratio: 3 / 1; }
/* スマートフォンでも対応素材を2列表示 */
@media (max-width: 639px) {
  .materials__grid { gap: 10px; margin-top: 32px; }
  .material { border-radius: 12px; }
  .material .media-slot--16x9 { aspect-ratio: 4 / 3; }
  .material__mark { font-size: 1.75rem; }
  .material .media-slot__label { left: 6px; bottom: 6px; padding: 0 6px; font-size: 10px; line-height: 18px; }
  .material__body { padding: 12px 12px 14px; }
  .material__en { font-size: 11px; }
  .material h3 { font-size: 15px; line-height: 1.45; }
  .material__summary { margin-top: 6px; font-size: 12.5px; line-height: 1.65; }
  .material__specs { gap: 12px; margin-top: 14px; }
  .material__specs dt { font-size: 11px; }
  .tags { gap: 4px; margin-top: 4px; }
  .tags li { padding: 1px 7px; font-size: 12px; }
  .material__grade { padding-top: 10px; font-size: 11.5px; line-height: 1.6; }
  .material__specs + .material__grade { margin-top: 14px; }
}

/* ---------- Use cases ---------- */
.uses__grid {
  display: grid; gap: 1px; margin-top: 48px; overflow: hidden;
  border-radius: var(--radius-card); background: var(--line); box-shadow: 0 0 0 1px var(--line);
}
@media (min-width: 640px) { .uses__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .uses__grid { grid-template-columns: repeat(5, 1fr); } }
.use { display: flex; flex-direction: column; padding: 24px; background: #fff; }
@media (min-width: 1024px) { .use { min-height: 256px; } }
.use__icon { font-size: 32px; color: var(--brand); stroke-width: 1.6; }
.use__label { margin-top: 24px; font-size: 12px; font-weight: 700; color: var(--muted); }
.use h3 { margin-top: 4px; font-size: 18px; font-weight: 800; line-height: 1.45; }
.use p { margin-top: 8px; font-size: 14px; color: var(--muted); }
.use--more { justify-content: center; background: var(--navy); color: #fff; font-weight: 700; }
.use--more a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 1024px) { .use--more { display: none; } }

/* ---------- Express（最重要セクション） ---------- */
.express {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: 80px; background: var(--navy); color: #fff;
}
@media (min-width: 640px) { .express { padding-block: 128px; } }
.express::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--accent); }
.express > .foam-texture { position: absolute; inset: 0; z-index: -1; opacity: .7; }
.express__top { display: grid; gap: 48px; }
@media (min-width: 1024px) { .express__top { grid-template-columns: 7fr 5fr; gap: 64px; } }
.express__tag { display: inline-flex; padding: 6px 16px; border-radius: 999px; background: var(--accent); font-size: 14px; font-weight: 700; }
.express__title {
  margin-top: 24px; color: #fff; font-weight: 900; letter-spacing: -0.02em; line-height: 1.25;
  font-size: clamp(2.125rem, 1.2rem + 3.6vw, 4.5rem);
}
.express__title span { display: inline-block; }
.express__sub { margin-top: 24px; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); font-weight: 700; color: var(--accent); line-height: 1.55; }
@media (min-width: 1024px) { .express__right { padding-top: 24px; } }
.voices li {
  display: flex; align-items: flex-start; gap: 12px; padding: 16px 20px;
  border: 1px solid rgb(255 255 255 / 0.15); border-radius: var(--radius-tile); background: rgb(255 255 255 / 0.05);
  font-weight: 700;
}
.voices li + li { margin-top: 12px; }
.voices .icon { margin-top: 6px; font-size: 16px; color: var(--accent); }
.express__desc { margin-top: 24px; color: #cbd5e1; }
.express__flow { margin-top: 80px; }
.express__flow h3 { color: #fff; font-size: 18px; font-weight: 700; }
.esteps { position: relative; display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 768px) {
  .esteps { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .esteps::before { content: ""; position: absolute; top: 27px; left: 12%; right: 12%; height: 2px;
    background-image: linear-gradient(90deg, var(--accent) 60%, transparent 0); background-size: 12px 2px; }
}
.estep { position: relative; display: flex; gap: 16px; }
@media (min-width: 768px) { .estep { flex-direction: column; align-items: center; text-align: center; } }
.estep__icon {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 56px; height: 56px; border-radius: 999px; background: var(--accent); font-size: 24px;
  box-shadow: 0 0 0 8px var(--navy);
}
.estep__no { font-size: 14px; font-weight: 700; color: var(--accent); }
.estep__title { margin-top: 2px; font-size: 18px; font-weight: 800; }
.estep__body { margin-top: 4px; font-size: 14px; color: #cbd5e1; line-height: 1.7; }
.express__cta {
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  margin-top: 64px; padding: 32px; border-radius: var(--radius-card); text-align: center;
  background: rgb(255 255 255 / 0.05); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1);
}
@media (min-width: 640px) { .express__cta { padding: 48px; } }
.express__cta-lead { font-size: clamp(1.125rem, 1rem + .4vw, 1.25rem); font-weight: 700; }
.express__cta-actions { display: flex; flex-direction: column; gap: 12px; width: 100%; justify-content: center; }
@media (min-width: 640px) { .express__cta-actions { flex-direction: row; width: auto; } }
.express__note { font-size: 12px; color: #94a3b8; }

/* ---------- Flow & FAQ ---------- */
.flow__steps { display: grid; gap: 12px; margin-top: 48px; }
@media (min-width: 768px) { .flow__steps { grid-template-columns: repeat(5, 1fr); gap: 0; } }
.fstep { position: relative; display: flex; gap: 16px; padding: 20px; background: var(--mist); border-radius: var(--radius-tile); }
@media (min-width: 768px) {
  .fstep { flex-direction: column; gap: 12px; padding: 0 16px 0 0; background: transparent; border-radius: 0; }
  .fstep:not(:last-child)::after { content: ""; position: absolute; top: 20px; left: 56px; right: 16px; height: 1px; background: rgb(17 24 39 / 0.15); }
}
.fstep__num {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 40px; height: 40px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 14px; font-weight: 900;
}
.fstep h3 { font-size: 16px; font-weight: 800; line-height: 1.5; }
@media (min-width: 768px) { .fstep h3 { font-size: 18px; } }
.fstep p { margin-top: 4px; font-size: 14px; color: var(--muted); line-height: 1.7; }

.faq { display: grid; gap: 40px; margin-top: 96px; }
@media (min-width: 1024px) { .faq { grid-template-columns: 4fr 8fr; } }
.faq__title { font-size: clamp(1.75rem, 1.1rem + 2.4vw, 2.25rem); font-weight: 800; line-height: 1.35; }
.faq__lead { margin-top: 16px; color: var(--muted); }
.faq__list { border-block: 1px solid var(--line); }
.faq__list li + li { border-top: 1px solid var(--line); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding-block: 20px; cursor: pointer; list-style: none; font-weight: 700; color: var(--navy);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q > span { display: flex; gap: 12px; }
.faq__q b { color: var(--brand); }
.faq__q .icon { font-size: 20px; color: var(--muted); transition: transform .2s; }
details[open] .faq__q .icon { transform: rotate(180deg); }
.faq__a { display: flex; gap: 12px; padding-bottom: 24px; color: var(--muted); }
.faq__a b { color: var(--accent); }

/* ---------- Contact ---------- */
.contact__grid { display: grid; gap: 48px; }
@media (min-width: 1024px) {
  .contact__grid { grid-template-columns: 4fr 8fr; }
  .contact__aside-inner { position: sticky; top: 112px; }
}
.contact__direct { margin-top: 32px; display: grid; gap: 12px; }
.direct-link {
  display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 12px; background: #fff;
  box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s;
}
.direct-link:hover { box-shadow: inset 0 0 0 1px var(--brand); }
.direct-link .icon { font-size: 20px; color: var(--accent); }
.direct-link small { display: block; font-size: 12px; color: var(--muted); }
.direct-link strong { font-size: 20px; font-weight: 900; color: var(--navy); word-break: break-all; }

.form {
  position: relative; padding: 20px; border-radius: var(--radius-card); background: #fff; box-shadow: inset 0 0 0 1px var(--line);
}
@media (min-width: 640px) { .form { padding: 40px; } }
.form__alert {
  display: flex; gap: 12px; margin-bottom: 32px; padding: 16px; border-radius: 8px;
  border: 1px solid #fecaca; background: #fef2f2; color: #991b1b; font-size: 14px; line-height: 1.7;
}
.form__alert .icon { margin-top: 3px; font-size: 20px; }
.form__alert[hidden] { display: none; }
.form__alert-title { font-weight: 700; }
.form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.form__legend, .field__label {
  display: flex; align-items: center; gap: 8px; margin-bottom: 8px; padding: 0; font-weight: 700; color: var(--navy);
}
.form__legend { margin-bottom: 12px; }
.req, .opt {
  display: inline-block; padding: 3px 6px; border-radius: 4px; font-size: 11px; font-weight: 700; line-height: 1;
}
.req { background: var(--accent); color: #fff; }
.opt { background: #e2e8f0; color: var(--muted); }
.type-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.type-option {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  min-height: 80px; padding: 12px 16px; border: 2px solid #e2e8f0; border-radius: 12px; cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.type-option:hover { border-color: #cbd5e1; }
.type-option input { position: absolute; opacity: 0; pointer-events: none; }
.type-option:has(input:focus-visible) { outline: 3px solid var(--brand); outline-offset: 2px; }
.type-option__title { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy); line-height: 1.5; }
.type-option__sub { font-size: 12px; color: var(--muted); line-height: 1.6; }
.type-option--express .type-option__title { color: var(--accent-600); }
.type-option:has(input:checked) { border-color: var(--brand); background: rgb(37 99 235 / 0.05); }
.type-option--express:has(input:checked) { border-color: var(--accent); background: rgb(249 115 22 / 0.06); }
.express-note {
  margin-top: 12px; padding: 12px 16px; border-radius: 8px; background: rgb(249 115 22 / 0.1);
  color: var(--accent-600); font-size: 14px; line-height: 1.7;
}
.express-note[hidden] { display: none; }

.form__grid { display: grid; gap: 24px; margin-top: 32px; }
@media (min-width: 640px) { .form__grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.input {
  width: 100%; min-height: 50px; padding: 12px 16px; border: 1px solid #cbd5e1; border-radius: 8px;
  background: #fff; font-size: 16px; line-height: 1.5; transition: border-color .2s, box-shadow .2s;
}
.input::placeholder { color: #94a3b8; }
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgb(37 99 235 / 0.2); }
.input[aria-invalid="true"] { border-color: var(--danger); }
select.input {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b5563' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 20px;
}
textarea.input { min-height: 160px; resize: vertical; }
.field__hint { margin-top: 6px; font-size: 12px; color: var(--muted); line-height: 1.6; }
.field__error { display: flex; gap: 6px; margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--danger); line-height: 1.6; }
.field__error:empty { display: none; }
.field__error::before { content: "!"; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 16px; height: 16px; margin-top: 3px; border-radius: 999px; background: var(--danger); color: #fff; font-size: 11px; }

.dropzone {
  padding: 20px; border: 2px dashed #cbd5e1; border-radius: 12px; background: rgb(243 244 246 / 0.6); text-align: center;
  transition: border-color .2s, background-color .2s;
}
.dropzone.is-over { border-color: var(--brand); background: rgb(37 99 235 / 0.05); }
.dropzone.is-invalid { border-color: #f87171; background: rgb(254 242 242 / 0.5); }
.dropzone__btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 999px;
  background: #fff; box-shadow: inset 0 0 0 1px #cbd5e1; font-weight: 700; color: var(--navy); cursor: pointer;
}
.dropzone__btn:hover { box-shadow: inset 0 0 0 1px var(--brand); }
.dropzone input:focus-visible + .dropzone__btn { outline: 3px solid var(--brand); outline-offset: 3px; }
.dropzone__hint { margin-top: 12px; font-size: 12px; color: var(--muted); line-height: 1.7; }
.file-list { display: grid; gap: 8px; margin-top: 12px; }
.file-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 6px 8px 6px 16px; border-radius: 8px; background: var(--mist); font-size: 14px;
}
.file-item__name { display: flex; align-items: center; gap: 8px; min-width: 0; }
.file-item__name span:first-of-type { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-item__name .icon { color: var(--brand); }
.file-item__size { flex-shrink: 0; color: var(--muted); }
.file-item button {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 36px; height: 36px; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
}
.file-item button:hover { background: #fff; }

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.consent { margin-top: 32px; padding: 16px; border-radius: 8px; background: var(--mist); }
.consent label { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 14px; }
.consent input { width: 20px; height: 20px; margin-top: 3px; flex-shrink: 0; accent-color: var(--brand); }
.consent a { font-weight: 700; color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }

.form__submit { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 32px; }
.submit-btn { width: 100%; min-height: 56px; font-size: 18px; }
@media (min-width: 640px) { .submit-btn { width: auto; min-width: 320px; } }
.submit-btn[disabled] { cursor: wait; opacity: .8; transform: none; }
.form__submit small { font-size: 12px; color: var(--muted); }
.spinner { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-done {
  padding: 32px; border-radius: var(--radius-card); background: #fff; text-align: center; box-shadow: inset 0 0 0 1px var(--line);
}
@media (min-width: 640px) { .form-done { padding: 48px; } }
.form-done[hidden] { display: none; }
.form-done:focus { outline: none; }
.form-done .icon { margin-inline: auto; font-size: 56px; color: var(--brand); }
.form-done h3 { margin-top: 20px; font-size: 24px; font-weight: 800; }
.form-done p { margin-top: 12px; color: var(--muted); }
.form-done .btn { margin-top: 32px; }

.about { margin-top: 80px; }
.about h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem); font-weight: 800; }
.about dl { margin-top: 24px; overflow: hidden; border-radius: var(--radius-card); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.about__row { display: grid; gap: 4px; padding: 16px 20px; }
.about__row + .about__row { border-top: 1px solid var(--line); }
@media (min-width: 640px) { .about__row { grid-template-columns: 12rem 1fr; gap: 24px; padding: 20px 32px; } }
.about dt { font-size: 14px; font-weight: 700; color: var(--navy); }
.about dd a { font-weight: 700; color: var(--brand); }
.is-pending { color: #94a3b8; }

/* ---------- 装飾イラスト（ウレタン加工品） ---------- */
.has-deco { position: relative; overflow: clip; }
.has-deco > .container { position: relative; z-index: 1; }
.deco {
  position: absolute; z-index: 0; pointer-events: none;
  width: var(--s); height: var(--s);
  top: var(--t, auto); bottom: var(--b, auto); left: var(--lt, auto); right: var(--rt, auto);
  transform: rotate(var(--r, 0deg));
  filter: drop-shadow(0 10px 12px rgb(17 24 39 / 0.08));
  animation: deco-float 7s ease-in-out infinite; animation-delay: var(--dl, 0s);
}
@keyframes deco-float {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50% { transform: translateY(-8px) rotate(var(--r, 0deg)); }
}
/* PC以外では見出しと重ならないよう、セクション上部の余白に小さく配置 */
@media (max-width: 1023px) {
  .deco { width: calc(var(--s) * 0.55); height: calc(var(--s) * 0.55); }
  .deco--top { top: 18px; right: 16px; left: auto; }
  .deco--bottom { bottom: 16px; }
}
@media (max-width: 639px) {
  .deco { width: calc(var(--s) * 0.45); height: calc(var(--s) * 0.45); }
  .deco--top { top: 14px; right: 14px; }
}
@media (prefers-reduced-motion: reduce) { .deco { animation: none; } }

/* ---------- 会社ロゴ（株式会社AMC） ---------- */
.logo__img { display: block; height: 40px; width: auto; max-width: 62vw; object-fit: contain; object-position: left center; }
@media (min-width: 640px) { .logo__img { height: 44px; } }
@media (min-width: 1024px) { .logo__img { height: 52px; } }
.footer__logo { display: block; width: min(380px, 100%); height: auto; }
.footer .footer__desc { margin-top: 20px; }

/* ---------- Footer ---------- */
.footer { padding: 64px 0 112px; background: var(--navy); color: #cbd5e1; }
@media (min-width: 1024px) { .footer { padding-bottom: 48px; } }
.footer__grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 5fr 4fr 3fr; } }
.footer .logo { color: #fff; }
.footer__name { margin-top: 20px; font-size: 14px; font-weight: 700; color: #fff; }
.footer__desc { margin-top: 8px; max-width: 440px; font-size: 14px; }
.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; font-size: 14px; }
.footer__nav a:hover, .footer__bottom a:hover { color: #fff; }
.footer__actions { display: grid; gap: 12px; align-content: start; }
.footer__bottom {
  display: flex; flex-direction: column; gap: 12px; margin-top: 48px; padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 0.1); font-size: 12px;
}
@media (min-width: 640px) { .footer__bottom { flex-direction: row; justify-content: space-between; } }

/* ---------- Mobile fixed CTA ---------- */
.mobile-cta {
  position: fixed; inset: auto 0 0; z-index: 40;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); background: rgb(255 255 255 / 0.96);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transform: translateY(110%); transition: transform .3s var(--ease); visibility: hidden;
}
.mobile-cta.is-visible { transform: none; visibility: visible; }
@media (min-width: 1024px) { .mobile-cta { display: none; } }

/* ---------- Privacy page ---------- */
.legal { max-width: 768px; margin-inline: auto; padding: 80px 20px; }
.legal h1 { margin-top: 24px; font-size: clamp(1.875rem, 1.5rem + 1.2vw, 2.25rem); font-weight: 800; }
.legal h2 { margin-top: 40px; font-size: 20px; font-weight: 800; }
.legal p { margin-top: 12px; }
.legal__back { font-size: 14px; font-weight: 700; color: var(--brand); }
.legal__note { margin-top: 16px; padding: 16px; border-radius: 8px; background: rgb(249 115 22 / 0.1); color: var(--accent-600); font-size: 14px; }

/* ---------- Scroll reveal（JSが有効な場合のみ） ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 動きを減らす設定 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .hero__cut { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}
