/* LOGIFOOD-DESK 製品サイト 共通スタイル（rakushiru-desk/styles.css と同じ作り）
   字の大きさの決まり（2026-10-12 利用者確認）
   - キャッチ h1：最大 36px・太さ 700（スマホは 26px まで）
   - h2：22〜26px / h3：18〜20px / 本文：17px / 最小：14px
   色はパンフレット（LogiFood-Desk/docs/presales/pamphlet）に合わせる（DESK のパンフと同じ色）。 */

:root {
  --ink: #14233c;
  --text: #24324a;
  --muted: #56637a;
  --line: #d5dbe6;
  --blue: #1f4fbf;
  --blue-dark: #183f99;
  --blue-soft: #eaf0fb;
  --orange: #ef8a17;
  --orange-dark: #a85600; /* 白地の字・白字の地でコントラスト 4.5 以上 */
  --orange-soft: #fff2e2;
  --bg: #ffffff;
  --bg-alt: #f4f6fa;
  --navy: #14233c;

  --fs-h1: clamp(1.625rem, 1.1rem + 1.6vw, 2.25rem);   /* 26〜36px */
  --fs-h2: clamp(1.375rem, 1.15rem + 0.7vw, 1.625rem); /* 22〜26px */
  --fs-h3: clamp(1.125rem, 1.05rem + 0.25vw, 1.25rem); /* 18〜20px */
  --fs-body: 1.0625rem;                                 /* 17px */
  --fs-small: 0.875rem;                                 /* 14px */

  --radius: 12px;
  --shadow: 0 1px 2px rgba(20, 35, 60, .06), 0 8px 24px rgba(20, 35, 60, .08);
  --wrap: 1120px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", Meiryo, system-ui, -apple-system, "Hiragino Sans", "Yu Gothic UI", sans-serif;
  font-size: var(--fs-body);
  line-height: 1.85;
  font-feature-settings: "palt";
  letter-spacing: .02em;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }

h1, h2, h3 { color: var(--ink); line-height: 1.45; margin: 0; font-weight: 700; letter-spacing: .03em; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.measure { max-width: 36em; }
.nobr { white-space: nowrap; display: inline-block; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }

/* ---------- ヘッダ（全ページ共通） ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand img { width: 32px; height: 32px; border-radius: 7px; }
.brand-name { font-weight: 700; font-size: 1.125rem; letter-spacing: .06em; line-height: 1.2; }
.brand-sub { display: block; font-size: .75rem; font-weight: 500; color: var(--muted); letter-spacing: .04em; }

.global-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.global-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.global-nav a {
  display: block; padding: 8px 12px; border-radius: 8px;
  color: var(--text); text-decoration: none; font-size: .9375rem; font-weight: 500; white-space: nowrap;
}
.global-nav a:hover { background: var(--bg-alt); color: var(--ink); }
.global-nav a[aria-current="page"] { color: var(--blue); background: var(--blue-soft); font-weight: 700; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; line-height: 1.4; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: #f6a345; color: var(--ink); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: #fff; }
.btn-outline:hover { background: var(--blue-soft); color: var(--blue-dark); }
.btn-sm { padding: 8px 16px; font-size: .9375rem; }
.global-nav .btn { margin-left: 10px; }
.global-nav .btn[aria-current="page"] { background: #f6a345; color: var(--ink); }

.nav-toggle {
  display: none; margin-left: auto; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 8px 12px; font: inherit; font-size: .9375rem; font-weight: 700; color: var(--ink); cursor: pointer;
  white-space: nowrap; flex-shrink: 0;
}
.nav-toggle-bars { width: 18px; height: 12px; position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after, .nav-toggle-bars span {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--ink); border-radius: 2px;
}
.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars span { top: 5px; }
.nav-toggle-bars::after { bottom: 0; }

@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .global-nav {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    flex-direction: column; align-items: stretch; padding: 12px 24px 20px;
  }
  .global-nav.is-open { display: flex; }
  .global-nav ul { flex-direction: column; }
  .global-nav a { padding: 12px 8px; font-size: 1rem; border-bottom: 1px solid var(--bg-alt); border-radius: 0; }
  .global-nav a[aria-current="page"] { border-radius: 8px; }
  .global-nav .btn { margin: 12px 0 0; border-radius: 10px; border-bottom: 0; display: flex; padding: 12px; }
}

/* ---------- 区切り・見出し ---------- */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { margin-bottom: 40px; }
.section-head .eyebrow { margin-bottom: 8px; }
.section-head p { margin-top: 12px; color: var(--muted); }

.eyebrow {
  display: inline-block; font-size: var(--fs-small); font-weight: 700; color: var(--blue);
  letter-spacing: .08em;
}

/* ---------- トップの冒頭 ---------- */
.intro { padding: 64px 0 72px; background: linear-gradient(180deg, var(--blue-soft) 0%, #fff 100%); }
.intro .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.intro .eyebrow { margin-bottom: 14px; }
.intro h1 { margin-bottom: 20px; }
.intro .lead { color: var(--text); }
.intro .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.intro .note { margin-top: 16px; font-size: var(--fs-small); color: var(--muted); }

.screen {
  margin: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid var(--line); overflow: hidden;
}
.screen img { width: 100%; }
.screen figcaption { padding: 10px 16px; font-size: var(--fs-small); color: var(--muted); border-top: 1px solid var(--line); }

/* ---------- 3 つの特長 ---------- */
.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.point {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
}
.point img { aspect-ratio: 2 / 1; object-fit: cover; object-position: left top; border-bottom: 1px solid var(--line); }
.point-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.point-num { font-size: var(--fs-small); font-weight: 700; color: var(--orange-dark); letter-spacing: .08em; }
.point ul { margin: 0; padding-left: 1.2em; font-size: 1rem; line-height: 1.8; }
.point li + li { margin-top: 4px; }
.more { margin-top: auto; padding-top: 8px; font-weight: 700; font-size: 1rem; text-decoration: none; }
.more::after { content: " →"; }
.more:hover { text-decoration: underline; }

/* ---------- 安心 ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.checks li::before {
  content: ""; width: 24px; height: 24px; margin-top: 4px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.checks strong { display: block; color: var(--ink); font-size: var(--fs-h3); margin-bottom: 4px; }
.checks span { color: var(--text); }
.illust { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; }

/* ---------- 仕事の流れ ---------- */
.flows { display: grid; gap: 16px; }
.flow { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
.flow-label { font-weight: 700; color: var(--ink); }
.flow ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.flow li { background: var(--blue-soft); color: var(--blue-dark); font-weight: 700; font-size: 1rem; padding: 6px 14px; border-radius: 999px; }
.flow li + li::before { content: "→"; color: var(--muted); font-weight: 400; margin-right: 8px; margin-left: -2px; background: none; }
.flow li + li { position: relative; }
.flow-note { margin-top: 16px; color: var(--muted); font-size: 1rem; }

/* ---------- ページへの入口 ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card {
  display: flex; flex-direction: column; gap: 8px; padding: 24px; text-decoration: none; color: var(--text);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.card:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--text); }
.card h3 { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card h3::after { content: "→"; color: var(--blue); font-weight: 400; }
.card p { font-size: 1rem; color: var(--muted); line-height: 1.75; }
.card-tag { font-size: .8125rem; font-weight: 700; color: var(--orange-dark); }

/* ---------- お問い合わせの帯 ---------- */
.cta { background: var(--navy); color: #fff; padding: 56px 0; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta h2 { color: #fff; }
.cta p { color: #c9d3e6; margin-top: 8px; }
.cta .tel { color: #fff; font-weight: 700; font-size: 1.25rem; text-decoration: none; letter-spacing: .04em; }
.cta .cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.cta .tel-box { font-size: var(--fs-small); color: #c9d3e6; line-height: 1.5; }

/* ---------- フッタ（全ページ共通） ---------- */
.site-footer { background: #0e1a2e; color: #c9d3e6; padding: 56px 0 28px; font-size: .9375rem; line-height: 1.8; }
.site-footer a { color: #e6ecf7; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 40px; }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand .brand-sub { color: #9fb0cc; }
.footer-title { color: #fff; font-weight: 700; font-size: .9375rem; margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.company img { width: 140px; background: #fff; border-radius: 6px; padding: 6px 10px; margin-bottom: 12px; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid #24324a; font-size: var(--fs-small); color: #8c9bb5; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* ---------- 静かな動き ---------- */
@media (prefers-reduced-motion: no-preference) {
  .fade { opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; }
  .fade.is-in { opacity: 1; transform: none; }
}

/* ---------- スマホ・タブレット ---------- */
@media (max-width: 900px) {
  .intro .wrap, .split { grid-template-columns: 1fr; gap: 32px; }
  .points, .cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .section { padding: 56px 0; }
}
@media (min-width: 600px) and (max-width: 900px) {
  .cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  :root { --header-h: 60px; }
  .wrap { padding: 0 16px; }
  .intro { padding: 40px 0 48px; }
  .brand-sub { display: none; }
  .brand-name { font-size: 1rem; }
  .flow { grid-template-columns: 1fr; gap: 8px; }
  .footer-grid { grid-template-columns: 1fr; }
  .intro .actions .btn { flex: 1 1 100%; }
}

/* ======================================================
   2026-10-12 企画書（00_サイト企画.md）にあわせて足した部品
   ====================================================== */

/* トップ以外のページの頭 */
.page-head { padding: 48px 0 40px; background: linear-gradient(180deg, var(--blue-soft) 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.breadcrumb { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: var(--fs-small); color: var(--muted); }
.breadcrumb li + li::before { content: "／"; margin-right: 6px; color: var(--line); }
.breadcrumb a { color: var(--muted); }
.page-head h1 { margin-bottom: 14px; }
.page-head .lead { color: var(--text); }
.page-head.has-photo .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: center; }
.page-head .photo { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.page-head .photo img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }

/* ページの中の目次 */
.toc { margin-top: 28px; }
.toc-title { font-size: var(--fs-small); font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.toc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.toc a {
  display: inline-block; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: .9375rem; font-weight: 500; color: var(--ink); text-decoration: none;
}
.toc a:hover { border-color: var(--blue); color: var(--blue); }

/* 左に文・右に写真の段 */
.row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: start; }
.row + .row { margin-top: 0; }
.row.reverse > .row-text { order: 2; }
.row-text h2 { margin-bottom: 18px; }
.row-text .eyebrow { margin-bottom: 8px; }
.row-media { display: grid; gap: 16px; }
.bullets { margin: 0; padding-left: 1.2em; display: grid; gap: 10px; }
.bullets li::marker { color: var(--blue); }
.screen-sm { max-width: 100%; }
.screen-strip { background: var(--bg-alt); padding: 10px; }

/* 表 */
.table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 1rem; }
.table th, .table td { text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid var(--line); line-height: 1.75; }
.table tr:last-child th, .table tr:last-child td { border-bottom: 0; }
.table th { width: 30%; background: var(--bg-alt); color: var(--ink); font-weight: 700; }
.table-note { margin-top: 12px; color: var(--muted); font-size: 1rem; }

/* 帳票のカード */
.doc-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.doc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.doc-card h3 { margin-bottom: 6px; }
.doc-card p { font-size: 1rem; color: var(--muted); line-height: 1.75; }

/* 入れ方の図 */
.setups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.setup { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.setup h3 { margin-bottom: 6px; }
.setup p { color: var(--text); font-size: 1rem; }
.setup svg { width: 100%; height: auto; margin: 16px 0 4px; display: block; }

/* 入れるまでの流れ */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.step img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-bottom: 1px solid var(--line); }
.step-body { padding: 16px 18px 20px; }
.step-num { counter-increment: step; font-size: var(--fs-small); font-weight: 700; color: var(--orange-dark); letter-spacing: .06em; }
.step-num::before { content: "その " counter(step); }
.step h3 { margin: 4px 0 6px; }
.step p { font-size: 1rem; line-height: 1.75; color: var(--text); }

/* よくある質問 */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; position: relative;
  font-weight: 700; color: var(--ink); line-height: 1.6;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "問"; color: var(--blue); margin-right: 10px; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .answer { padding: 0 22px 20px 22px; display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.faq .answer::before { content: "答"; color: var(--orange-dark); font-weight: 700; }

/* お試しの相談の段（トップ以外のページの下） */
.trial { background: var(--orange-soft); border-top: 1px solid #f6dcbb; padding: 48px 0; }
.trial .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.trial h2 { margin-bottom: 8px; }
.trial p { max-width: 40em; }

/* お問い合わせのフォーム */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 40px; align-items: start; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field > label, .field > legend { font-weight: 700; color: var(--ink); font-size: 1rem; padding: 0; }
.field fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.req, .opt { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 4px; font-size: .8125rem; font-weight: 700; vertical-align: 1px; }
.req { background: var(--orange-dark); color: #fff; }
.opt { background: var(--bg-alt); color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid #b9c3d4; border-radius: 8px; background: #fff; color: var(--ink);
}
.field textarea { min-height: 160px; resize: vertical; line-height: 1.75; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 79, 191, .18); }
.field .hint { font-size: var(--fs-small); color: var(--muted); }
.field [aria-invalid="true"] { border-color: #c62828; }
.field .error { font-size: var(--fs-small); color: #c62828; font-weight: 700; }
.choices { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: inline-block; padding: 9px 16px; border: 1px solid #b9c3d4; border-radius: 999px; font-size: 1rem; background: #fff; }
.choice input:checked + span { border-color: var(--blue); background: var(--blue-soft); color: var(--blue-dark); font-weight: 700; }
.choice input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.form-note { font-size: var(--fs-small); color: var(--muted); }
.form .btn { justify-self: start; min-width: 200px; }
.form .btn[disabled] { opacity: .6; cursor: wait; }
.form-result { padding: 18px 20px; border-radius: 10px; line-height: 1.8; }
.form-result.ok { background: #e8f5ec; border: 1px solid #a8d5b5; color: #1b4d2c; }
.form-result.ng { background: #fdecec; border: 1px solid #f0b4b4; color: #7a1f1f; }
.form-result strong { display: block; margin-bottom: 4px; }
.side-box { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; font-size: 1rem; }
.side-box h2 { font-size: var(--fs-h3); margin-bottom: 12px; }
.side-box img { width: 140px; margin-bottom: 12px; }
.side-box .tel { font-size: 1.25rem; font-weight: 700; color: var(--ink); text-decoration: none; }

/* トップ：F キーの帯のカード */
.point .strip { aspect-ratio: 2 / 1; display: flex; align-items: center; background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 0 12px; }
.point .strip img { aspect-ratio: auto; object-fit: contain; border: 0; border-radius: 6px; }

@media (max-width: 900px) {
  .row, .page-head.has-photo .wrap, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .row.reverse > .row-text { order: 0; }
  .doc-cards, .setups { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .table th { width: 38%; }
}
@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; }
  .form { padding: 22px 18px; }
  .form .btn { justify-self: stretch; }
  .table th, .table td { display: block; width: 100%; }
  .table th { border-bottom: 0; padding-bottom: 6px; }
  .page-head { padding: 32px 0 28px; }
}

/* カード全体を押せるリンクにしたとき */
.card-link { text-decoration: none; color: var(--text); transition: border-color .15s, box-shadow .15s, transform .15s; }
.card-link:hover { color: var(--text); border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-2px); }
.card-link:hover .more { text-decoration: underline; }
.point-body p { font-size: 1rem; line-height: 1.8; }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1040px) { .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards-4 { grid-template-columns: 1fr; } }
@media (min-width: 901px) {
  .row-text { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* フッタのリンクの色が、オレンジのボタンの字に移らないようにする */
.site-footer .btn-primary, .site-footer .btn-primary:hover { color: var(--ink); text-decoration: none; }

/* 推奨環境・性能の目安 */
.env-specs .setup h3 { margin-bottom: 14px; }
.env-specs .table th { width: 32%; }
.perf-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.perf { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; display: flex; flex-direction: column; }
.perf h3 { margin-bottom: 4px; }
.perf-vol { font-size: 1rem; color: var(--muted); }
.perf-time { margin-top: auto; padding-top: 14px; font-size: 1.25rem; font-weight: 700; color: var(--blue); line-height: 1.5; }
.perf-time span { display: block; font-size: var(--fs-small, 14px); font-weight: 400; color: var(--muted); }
@media (max-width: 900px) { .perf-list { grid-template-columns: 1fr 1fr; } .env-specs .table th { width: 38%; } }
@media (max-width: 600px) { .perf-list { grid-template-columns: 1fr; } .env-specs .table th { width: 100%; } }

/* LOGIFOOD-DESK で足した物 */
.row-single { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.row-single .row-text { position: static; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .cards-3 { grid-template-columns: 1fr; } }
.pains { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pain { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); }
.pain-q { font-weight: 700; color: var(--ink); }
.pain-q::before { content: "こんなこと、ありませんか"; display: block; font-size: var(--fs-small); color: var(--orange-dark); margin-bottom: 4px; }
.pain-a { background: var(--blue-soft); border-radius: var(--radius); padding: 14px 18px; }
.pain-a .pain-tag { font-size: var(--fs-small); font-weight: 700; color: var(--blue); margin-bottom: 2px; }
.pain-a strong { color: var(--blue-dark); margin-right: .4em; }
@media (max-width: 760px) { .pain { grid-template-columns: 1fr; gap: 10px; } }

/* 油絵風の絵（パンフの E1・E3・E4） */
.art-band { position: relative; overflow: hidden; background: var(--navy); }
.art-band img { display: block; width: 100%; height: clamp(300px, 36vw, 520px); object-fit: cover; object-position: center 45%; }
.art-band-text { padding: 28px 0 32px; background: var(--navy); color: #fff; }
.art-band-title { font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.45; margin-bottom: 8px; color: #fff; }
.art-band-text p:not(.art-band-title) { color: #e3e9f4; max-width: 36em; }
@media (max-width: 600px) {
  .art-band img { height: 220px; }
  .art-band-text { padding: 20px 0 28px; }
}
.art-wide { margin: 0 0 32px; border-radius: var(--radius); overflow: hidden; }
.art-wide img { display: block; width: 100%; aspect-ratio: 16 / 5; object-fit: cover; object-position: center 60%; }
@media (max-width: 600px) { .art-wide img { aspect-ratio: 16 / 9; } }
.cta-art { position: relative; overflow: hidden; isolation: isolate; }
.cta-art .cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-art::before { content: ""; position: absolute; inset: 0; background: rgba(20,35,60,.84); z-index: -1; }
