/* ==========================================================================
   パークフィールド株式会社 トップページ
   ========================================================================== */

:root {
  --color-navy-900: #0a1d3f;
  --color-navy-800: #0f2a5c;
  --color-navy-700: #16376f;
  --color-blue-600: #1e5fd9;
  --color-blue-500: #2f6fed;
  --color-blue-100: #e8f0fd;
  --color-blue-50: #f4f8fe;
  --color-ink: #1a2233;
  --color-text: #384258;
  --color-text-light: #6b7488;
  --color-white: #ffffff;
  --color-border: #e3e8f2;
  --color-accent: #7dd3fc;
  --color-accent-rgb: 125, 211, 252;

  /* オーバーレイグラデーション共通カラー（RGB値。全セクションでこの3色に統一） */
  --overlay-1: 30, 95, 217;   /* 明るい青（blue-600） */
  --overlay-2: 24, 68, 158;   /* 中間の青ネイビー */
  --overlay-3: 15, 42, 92;    /* 深いネイビー（navy-800） */

  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;

  --max-width: 1160px;
  --header-height: 76px;

  --shadow-card: 0 10px 30px rgba(15, 42, 92, 0.08);
  --shadow-card-hover: 0 16px 40px rgba(15, 42, 92, 0.14);
}

/* ---------- Reset ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-jp);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

section {
  position: relative;
}

section[id] {
  scroll-margin-top: var(--header-height);
}

.sp-only { display: none; }

/* ---------- Common ---------- */
.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-blue-600);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--color-ink);
  letter-spacing: 0.02em;
}

.section-head {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 44px;
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 36px;
  border-radius: 0;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-blue-600);
  color: var(--color-white);
  box-shadow: 0 8px 20px rgba(30, 95, 217, 0.3);
}

.btn-primary:hover {
  background: var(--color-navy-800);
  transform: translateY(-2px);
}

.btn-light {
  background: var(--color-white);
  color: var(--color-navy-800);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.btn-outline-light {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-blue-600);
  border: 1.5px solid var(--color-blue-600);
}

.btn-outline:hover {
  background: var(--color-blue-600);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* ==========================================================================
   1. ファーストビュー
   ========================================================================== */
.fv {
  min-height: 100vh;
  padding: calc(var(--header-height) + 48px) 24px 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.fv-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.fv-bg img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}

.fv-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(135deg, rgba(var(--overlay-1), 0.4) 0%, rgba(var(--overlay-2), 0.62) 45%, rgba(var(--overlay-3), 0.88) 100%);
}

.fv-shape {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.fv-shape-1 {
  background: rgba(var(--overlay-2), 0.4);
  clip-path: polygon(0 0, 46% 0, 22% 100%, 0 100%);
  animation: fvFlow1 16s linear infinite;
}

.fv-shape-2 {
  background: rgba(var(--overlay-1), 0.32);
  clip-path: polygon(78% 0, 100% 0, 100% 100%, 54% 100%);
  animation: fvFlow2 22s linear infinite;
}

.fv-shape-seam {
  background: rgba(var(--color-accent-rgb), 0.5);
  clip-path: polygon(46% 0, 47.4% 0, 23.4% 100%, 22% 100%);
  animation: fvFlowSeam 9s linear infinite;
}

/* 左端でフェードイン→右方向へ流れる→右端でフェードアウト→ループ先頭へ、を繰り返す */
@keyframes fvFlow1 {
  0%   { transform: translateX(-8%); opacity: 0; }
  12%  { opacity: 0.75; }
  82%  { opacity: 0.75; }
  100% { transform: translateX(10%); opacity: 0; }
}

@keyframes fvFlow2 {
  0%   { transform: translateX(-8%); opacity: 0; }
  12%  { opacity: 0.65; }
  82%  { opacity: 0.65; }
  100% { transform: translateX(10%); opacity: 0; }
}

@keyframes fvFlowSeam {
  0%   { transform: translateX(-8%); opacity: 0; }
  12%  { opacity: 1; }
  82%  { opacity: 1; }
  100% { transform: translateX(10%); opacity: 0; }
}

.fv-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  color: var(--color-white);
}

.fv-label {
  font-size: clamp(2.75rem, 6vw, 3.6rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.3;
  white-space: nowrap;
  margin-bottom: 28px;
  background: linear-gradient(90deg, #5bc2fa 0%, #d3f0ff 50%, #5bc2fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.fv-main {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  line-height: 1.5;
  white-space: nowrap;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.fv-sub {
  margin-top: 26px;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.92);
}

.fv-accent {
  color: var(--color-accent);
}

.fv-stats {
  margin-top: 48px;
  display: flex;
  gap: 16px;
}

.fv-stat-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 16px 12px;
}

.fv-stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.02em;
}

.fv-stat-value {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--color-accent);
  letter-spacing: 0.02em;
}

.fv-stat-note {
  margin-top: 16px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.02em;
  text-align: right;
}

.fv-links {
  margin-top: 28px;
  display: flex;
  gap: 16px;
}

.fv-link-card {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 20px 22px;
  text-align: left;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.fv-link-card:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  transform: translateY(-3px);
}

.fv-link-text {
  display: flex;
  flex-direction: column;
}

.fv-link-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  transition: color 0.25s ease;
}

.fv-link-desc {
  margin-top: 4px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.25s ease;
}

.fv-link-card:hover .fv-link-title,
.fv-link-card:hover .fv-link-desc {
  color: var(--color-navy-900);
}

.fv-link-arrow {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--color-white);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.fv-link-arrow svg {
  width: 16px;
  height: 16px;
}

.fv-link-card:hover .fv-link-arrow {
  background: var(--color-navy-900);
  border-color: var(--color-navy-900);
  color: var(--color-white);
}

/* ==========================================================================
   よくあるご相談・導入パターン
   ========================================================================== */
.patterns {
  position: relative;
  z-index: 0;
  padding: 110px 0;
  background: linear-gradient(160deg, rgb(var(--overlay-3)) 0%, rgb(var(--overlay-2)) 100%);
}

.patterns-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.patterns-shape {
  position: absolute;
  inset: 0;
}

.patterns-shape-1 {
  background: rgba(var(--overlay-1), 0.22);
  clip-path: polygon(0 0, 40% 0, 18% 100%, 0 100%);
  animation: fvFlow1 20s linear infinite;
}

.patterns-shape-2 {
  background: rgba(var(--overlay-1), 0.16);
  clip-path: polygon(70% 0, 100% 0, 100% 100%, 48% 100%);
  animation: fvFlow2 26s linear infinite;
}

.patterns-shape-seam {
  background: rgba(var(--color-accent-rgb), 0.4);
  clip-path: polygon(40% 0, 41.2% 0, 19.2% 100%, 18% 100%);
  animation: fvFlowSeam 11s linear infinite;
}

.patterns-inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.patterns .section-title {
  color: var(--color-white);
}

.patterns-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.pattern-card {
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  padding: 56px 64px;
}

.pattern-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-ink);
  letter-spacing: 0.02em;
}

.pattern-logos {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 28px;
}

.pattern-logo-box {
  height: 110px;
  min-width: 200px;
  padding: 16px 26px;
  background: var(--color-blue-50);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pattern-logo-box img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.pattern-logo-box--group {
  gap: 18px;
}

.pattern-logo-box--group img {
  max-height: 60%;
}

.pattern-plus {
  flex-shrink: 0;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-blue-600);
}

.pattern-desc {
  margin-top: 28px;
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--color-text);
}

.patterns-note {
  margin-top: 36px;
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.65);
}

/* ==========================================================================
   導入事例
   ========================================================================== */
.cases {
  padding: 110px 0;
  background: var(--color-blue-50);
  overflow: hidden;
}

.cases-marquee-wrap {
  position: relative;
}

.cases-marquee {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
}

.cases-track {
  display: flex;
  align-items: stretch;
  gap: 28px;
  width: max-content;
  padding: 0 24px;
  will-change: transform;
}

.cases-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: var(--color-blue-600);
  color: var(--color-white);
  box-shadow: 0 4px 12px rgba(30, 95, 217, 0.35);
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.cases-arrow svg {
  width: 18px;
  height: 18px;
}

.cases-arrow:hover {
  background: var(--color-navy-800);
}

.cases-arrow:disabled {
  opacity: 0.35;
  cursor: default;
  background: var(--color-blue-600);
  box-shadow: none;
}

.cases-arrow-prev {
  left: 12px;
}

.cases-arrow-next {
  right: 12px;
}

.case-card {
  flex: 0 0 300px;
  width: 300px;
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}

.case-card-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-blue-50);
}

.case-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  padding: 22px 22px 26px;
}

.case-card-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--color-ink);
  line-height: 1.6;
}

.case-card-summary {
  margin-top: 10px;
  font-size: 0.83rem;
  line-height: 1.8;
  color: var(--color-text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.case-card-note {
  margin-top: 10px;
  font-size: 0.7rem;
  color: var(--color-text-light);
}

/* ==========================================================================
   2. 私たちについて（バックストーリー＋自社運営ショップ）
   ========================================================================== */
.story {
  padding: 110px 24px;
  background: var(--color-white);
}

.story-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.story-col-carousel {
  padding-top: 8px;
}

.story-carousel {
  position: relative;
}

.story-track {
  position: relative;
  max-width: 520px;
  overflow: hidden;
  transition: height 0.4s ease;
}

.story-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  filter: blur(14px);
  transition: opacity 0.6s ease, filter 0.6s ease;
  pointer-events: none;
}

.story-slide.is-active {
  position: relative;
  opacity: 1;
  filter: blur(0);
  pointer-events: auto;
}

.story-slide-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-ink);
  line-height: 1.6;
}

.story-slide-body {
  margin-top: 18px;
  color: var(--color-text);
  font-size: 1rem;
  line-height: 2;
}

.story-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  max-width: 520px;
  margin: 40px 0 0;
}

.story-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  color: var(--color-blue-600);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

.story-arrow svg {
  width: 18px;
  height: 18px;
}

.story-arrow:hover {
  background: var(--color-blue-600);
  border-color: var(--color-blue-600);
  color: var(--color-white);
}

.story-arrow:disabled {
  opacity: 0.35;
  cursor: default;
  background: none;
  border-color: var(--color-border);
  color: var(--color-blue-600);
}

.story-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.story-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-border);
  transition: background 0.25s ease, transform 0.25s ease;
}

.story-dot.is-active {
  background: var(--color-blue-600);
  transform: scale(1.25);
}

.story-col-gallery {
  padding-top: 8px;
}

.own-shop-main {
  width: 100%;
  aspect-ratio: 1200 / 750;
  overflow: hidden;
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.own-shop-main img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.own-shop-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.own-shop-thumb {
  flex: 1;
  aspect-ratio: 1200 / 750;
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  opacity: 0.6;
  transition: opacity 0.25s ease, border-color 0.25s ease;
}

.own-shop-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.own-shop-thumb:hover {
  opacity: 0.9;
}

.own-shop-thumb.is-active {
  opacity: 1;
  border-color: var(--color-accent);
}

.own-shop-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 32px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-blue-600);
}

.own-shop-link span {
  font-size: 1.1rem;
}

/* ==========================================================================
   4. 選ばれる理由
   ========================================================================== */
.reasons {
  padding: 110px 24px;
  background: var(--color-blue-50);
}

.reasons-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.reason-card {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.reason-card:first-child {
  border-left: none;
}

.reason-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.reason-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.reason-card:hover .reason-card-bg img {
  transform: scale(1.06);
}

.reason-card-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(var(--overlay-1), 0.5) 0%, rgba(var(--overlay-2), 0.72) 45%, rgba(var(--overlay-3), 0.93) 100%);
}

.reason-card-overlay {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 34px;
  color: var(--color-white);
}

.reason-num {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.2em;
}

.reason-quote {
  margin-top: 16px;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.reason-title {
  margin-top: 22px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
  position: relative;
  padding-top: 22px;
}

.reason-title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 2px;
  background: rgba(255, 255, 255, 0.5);
}

.reason-body {
  margin-top: 16px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.9;
}

.reason-foundation {
  max-width: var(--max-width);
  margin: 24px auto 0;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 40px 48px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
}

.reason-foundation-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  color: var(--color-blue-600);
}

.reason-foundation-icon svg {
  width: 100%;
  height: 100%;
}

.reason-foundation-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-ink);
}

.reason-foundation-body {
  margin-top: 10px;
  font-size: 0.88rem;
  line-height: 1.85;
  color: var(--color-text);
}

.reason-cta {
  max-width: var(--max-width);
  margin: 40px auto 0;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* ==========================================================================
   5. サービスラインナップ
   ========================================================================== */
.services {
  position: relative;
  z-index: 0;
  padding: 110px 0;
  background: linear-gradient(160deg, rgb(var(--overlay-3)) 0%, rgb(var(--overlay-2)) 100%);
}

.services .section-title {
  position: relative;
  color: var(--color-white);
}

.services-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.services-shape {
  position: absolute;
  inset: 0;
}

.services-shape-1 {
  background: rgba(var(--overlay-1), 0.22);
  clip-path: polygon(0 0, 40% 0, 18% 100%, 0 100%);
  animation: fvFlow1 20s linear infinite;
}

.services-shape-2 {
  background: rgba(var(--overlay-1), 0.16);
  clip-path: polygon(70% 0, 100% 0, 100% 100%, 48% 100%);
  animation: fvFlow2 26s linear infinite;
}

.services-shape-seam {
  background: rgba(var(--color-accent-rgb), 0.4);
  clip-path: polygon(40% 0, 41.2% 0, 19.2% 100%, 18% 100%);
  animation: fvFlowSeam 11s linear infinite;
}

.service-category {
  max-width: var(--max-width);
  margin: 0 auto 96px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
}

.service-category:last-child {
  margin-bottom: 0;
}

.category-side {
  padding: 8px 0;
  position: sticky;
  top: calc(var(--header-height) + 32px);
}

.category-num {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.category-title {
  color: var(--color-white);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.category-desc {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  line-height: 1.9;
}

.category-main {
  min-width: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card-grid--single {
  grid-template-columns: 1fr;
}

.card-grid--two {
  grid-template-columns: repeat(2, 1fr);
}

.tool-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 0;
  padding: 28px 26px;
  box-shadow: var(--shadow-card);
}

a.tool-card {
  padding-bottom: 74px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

a.tool-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}

.tool-card--wide {
  grid-column: 1 / -1;
}

.tool-visual {
  width: 100%;
  height: 72px;
  flex-shrink: 0;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
}

.tool-visual img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.tool-visual svg {
  width: 32px;
  height: 32px;
  color: var(--color-blue-600);
}

.tool-name {
  margin-top: 18px;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--color-ink);
}

.tool-card--sm .tool-name {
  font-size: 1rem;
}

.tool-copy {
  margin-top: 10px;
  font-size: 0.88rem;
  color: var(--color-text);
  line-height: 1.8;
  flex-grow: 1;
}

.tool-arrow-link {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  color: var(--color-blue-600);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.tool-arrow-link svg {
  width: 16px;
  height: 16px;
}

a.tool-card:hover .tool-arrow-link {
  background: var(--color-blue-600);
  border-color: var(--color-blue-600);
  color: var(--color-white);
}

/* EC運営効率化：2 large (span6 of 12) + 4 small (span3 of 12) */
.service-category--tools .card-grid {
  grid-template-columns: repeat(12, 1fr);
}
.service-category--tools .tool-card--lg { grid-column: span 6; }
.service-category--tools .tool-card--sm { grid-column: span 3; }

/* ストア開設・移転：カード内の対応カート・モールのロゴ帯（リンクなし） */
.tool-logo-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  cursor: default;
}

.tool-logo-strip img {
  height: 20px;
  width: auto;
  max-width: 76px;
  object-fit: contain;
  cursor: default;
}

/* ストア開設・移転：小さめカード2枚（もっと見るで展開） */
.card-grid--sub {
  margin-top: 24px;
}

/* もっと見る／閉じるトグル（SP専用。PCでは常に非表示） */
.card-toggle {
  display: none;
}

.services-cta {
  position: relative;
  max-width: var(--max-width);
  margin: 56px auto 0;
  padding: 0 24px;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.services-cta a {
  margin-left: 8px;
  color: var(--color-accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.services-cta a:hover {
  color: var(--color-white);
}

/* ==========================================================================
   会社概要
   ========================================================================== */
.company {
  position: relative;
  z-index: 0;
  padding: 110px 24px;
  background: var(--color-blue-50);
  overflow: hidden;
}

.company-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.company-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  opacity: 0.1;
}

.company-inner {
  max-width: 820px;
  margin: 0 auto;
  background: var(--color-white);
  padding: 48px 56px;
  box-shadow: var(--shadow-card);
}

.company-lead {
  text-align: left;
  font-size: 0.98rem;
  line-height: 2;
  color: var(--color-text);
  margin-bottom: 32px;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table tr {
  border-top: 1px solid var(--color-border);
}

.company-table tr:last-child {
  border-bottom: 1px solid var(--color-border);
}

.company-table th {
  width: 190px;
  padding: 13px 20px 13px 4px;
  text-align: left;
  vertical-align: top;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-ink);
}

.company-table td {
  padding: 13px 4px;
  vertical-align: top;
  font-size: 0.87rem;
  line-height: 1.75;
  color: var(--color-text);
}

.company-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 24px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-blue-600);
}

.company-link span {
  font-size: 1.1rem;
}

/* ==========================================================================
   5.5 ブログ
   ========================================================================== */
.blog-teaser {
  padding: 110px 24px;
  background: var(--color-white);
}

.blog-list {
  max-width: 760px;
  margin: 0 auto;
}

.blog-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 4px;
  border-top: 1px solid var(--color-border);
}

.blog-list .blog-item:last-child {
  border-bottom: 1px solid var(--color-border);
}

.blog-item-thumb-wrap {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  overflow: hidden;
  background: var(--color-blue-50);
}

.blog-item-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-item-thumb--empty {
  background: var(--color-blue-50);
}

.blog-item-title {
  flex-grow: 1;
  min-width: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.25s ease;
}

.blog-item:hover .blog-item-title {
  color: var(--color-blue-600);
}

.blog-item-date {
  flex-shrink: 0;
  font-size: 0.8rem;
  color: var(--color-text-light);
}

.blog-teaser-cta {
  margin-top: 40px;
  text-align: center;
}

/* ==========================================================================
   6. FAQ
   ========================================================================== */
.faq {
  padding: 110px 24px;
  background: var(--color-blue-50);
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  border-top: 1px solid var(--color-border);
}

.faq-group-title {
  padding: 28px 4px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-blue-600);
  letter-spacing: 0.04em;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 4px;
  text-align: left;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--color-ink);
}

.faq-q-mark {
  flex-shrink: 0;
  color: var(--color-blue-600);
  font-weight: 900;
  font-size: 0.95rem;
  width: 34px;
}

.faq-question span:nth-child(2) {
  flex-grow: 1;
  line-height: 1.6;
}

.faq-toggle {
  position: relative;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  background: var(--color-blue-600);
  transition: transform 0.3s ease;
}

.faq-toggle::before {
  top: 9px;
  left: 0;
  width: 20px;
  height: 2px;
}

.faq-toggle::after {
  top: 0;
  left: 9px;
  width: 2px;
  height: 20px;
}

.faq-question[aria-expanded="true"] .faq-toggle::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq-question[aria-expanded="true"] + .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer p {
  padding: 0 4px 24px 56px;
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.9;
  position: relative;
}

.faq-answer p + p {
  padding-top: 4px;
}

.faq-a-mark {
  position: absolute;
  left: 4px;
  color: var(--color-navy-800);
  font-weight: 900;
  font-size: 0.95rem;
}

/* ==========================================================================
   7. クロージング
   ========================================================================== */
.closing {
  position: relative;
  padding: 120px 24px;
  overflow: hidden;
  background: rgb(var(--overlay-2));
}

.closing-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 65%);
  opacity: 0.28;
}

.closing-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.closing::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(var(--overlay-2), 0.7) 0%, rgba(var(--overlay-3), 0.94) 100%);
  z-index: 0;
}

.closing-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.closing-title {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.02em;
}

.closing-sub {
  max-width: 640px;
  margin: 18px auto 0;
  text-align: left;
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.8);
}

.closing-note {
  max-width: 640px;
  margin: 16px auto 0;
  text-align: left;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.closing-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* ==========================================================================
   レスポンシブ（767px以下 = スマートフォン表示）
   ========================================================================== */
@media (max-width: 767px) {
  .sp-only { display: inline; }

  :root {
    --header-height: 64px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-head {
    padding: 0 20px 32px;
  }

  /* ファーストビュー */
  .fv {
    padding: calc(var(--header-height) + 32px) 20px 48px;
  }

  .fv-label {
    font-size: 2.1rem;
    white-space: normal;
    margin-bottom: 16px;
  }

  .fv-main {
    font-size: 1.9rem;
    line-height: 1.6;
    white-space: normal;
  }

  .fv-sub {
    margin-top: 18px;
    font-size: 1.05rem;
    line-height: 1.8;
  }

  .fv-stats {
    margin-top: 24px;
    gap: 8px;
  }

  .fv-stat-card {
    padding: 10px 6px;
  }

  .fv-stat-label {
    font-size: 0.62rem;
    letter-spacing: 0.01em;
  }

  .fv-stat-value {
    margin-top: 5px;
    padding-top: 5px;
    font-size: 0.8rem;
  }

  .fv-stat-note {
    margin-top: 14px;
  }

  .fv-links {
    margin-top: 20px;
    flex-direction: column;
    gap: 12px;
  }

  .fv-link-card {
    padding: 18px 20px;
  }

  /* よくあるご相談・導入パターン */
  .patterns {
    padding: 72px 0;
  }

  .patterns-inner {
    padding: 0 20px;
  }

  .pattern-card {
    padding: 32px 24px;
  }

  .pattern-name {
    font-size: 1.2rem;
  }

  .pattern-logos {
    margin-top: 22px;
    flex-wrap: wrap;
    gap: 14px;
  }

  .pattern-logo-box {
    height: 84px;
    min-width: 0;
    flex: 1 1 calc(50% - 30px);
    padding: 12px 16px;
  }

  .pattern-desc {
    margin-top: 22px;
    font-size: 0.9rem;
  }

  /* 導入事例 */
  .cases {
    padding: 72px 0;
  }

  .cases-marquee {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
  }

  .cases-track {
    gap: 18px;
    padding: 0 20px;
  }

  .cases-arrow {
    width: 36px;
    height: 36px;
  }

  .cases-arrow svg {
    width: 15px;
    height: 15px;
  }

  .cases-arrow-prev {
    left: 6px;
  }

  .cases-arrow-next {
    right: 6px;
  }

  .case-card {
    flex-basis: 220px;
    width: 220px;
  }

  .case-card-body {
    padding: 18px 18px 22px;
  }

  .case-card-title {
    font-size: 0.9rem;
  }

  .case-card-summary {
    font-size: 0.8rem;
  }

  /* 私たちについて */
  .story {
    padding: 72px 20px;
  }

  .story-slide-title {
    font-size: 1.1rem;
  }

  .story-slide-body {
    margin-top: 14px;
    font-size: 0.92rem;
    line-height: 1.9;
  }

  .story-nav {
    margin-top: 28px;
    gap: 16px;
  }

  .story-arrow {
    width: 40px;
    height: 40px;
  }

  .story-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .own-shop-thumbs {
    flex-wrap: wrap;
  }

  .own-shop-thumb {
    flex: 0 0 calc(50% - 6px);
  }

  /* 選ばれる理由 */
  .reasons {
    padding: 72px 20px;
  }

  .reasons-inner {
    grid-template-columns: 1fr;
    gap: 16px;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
  }

  .reason-card {
    min-height: 380px;
    border-radius: 0;
    border-left: none;
    box-shadow: var(--shadow-card);
  }

  .reason-card-overlay {
    padding: 36px 28px;
  }

  .reason-quote {
    font-size: 1.2rem;
  }

  .reason-foundation {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 28px 24px;
    margin-top: 16px;
  }

  .reason-cta {
    flex-direction: column;
    gap: 14px;
    margin-top: 32px;
  }

  .reason-cta .btn {
    width: 100%;
  }

  /* サービス */
  .services {
    padding: 72px 0;
  }

  .service-category {
    padding: 0 20px;
    margin-bottom: 60px;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .category-side {
    padding: 0;
    position: static;
  }

  .category-title {
    font-size: 1.3rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .service-category--tools .tool-card--lg,
  .service-category--tools .tool-card--sm,
  .tool-card--wide {
    grid-column: 1 / -1;
  }

  .tool-logo-strip img {
    height: 18px;
  }

  /* EC運営効率化：大きめカードのみ初期表示。小さめカードは「もっと見る」で展開 */
  .service-category--tools .card-grid .tool-card--sm {
    display: none;
  }

  .service-category--tools .card-grid.is-expanded .tool-card--sm {
    display: flex;
  }

  /* ストア開設・移転：小さめカード2枚は「もっと見る」で展開 */
  .card-grid--sub {
    display: none;
  }

  .card-grid--sub.is-expanded {
    display: grid;
  }

  .card-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 18px;
    padding: 15px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    color: var(--color-blue-600);
    font-size: 0.9rem;
    font-weight: 700;
  }

  .card-toggle-icon svg {
    width: 16px;
    height: 16px;
    transition: transform 0.25s ease;
  }

  .card-toggle[aria-expanded="true"] .card-toggle-icon svg {
    transform: rotate(180deg);
  }

  .tool-arrow-link {
    right: 20px;
    bottom: 20px;
  }

  /* 会社概要 */
  .company {
    padding: 72px 20px;
  }

  .company-inner {
    padding: 32px 24px;
  }

  .company-lead {
    font-size: 0.9rem;
    margin-bottom: 24px;
  }

  .company-table,
  .company-table tbody,
  .company-table tr,
  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
  }

  .company-table tr {
    padding: 12px 0;
  }

  .company-table th {
    padding: 0 0 4px;
  }

  .company-table td {
    padding: 0;
  }

  /* ブログ */
  .blog-teaser {
    padding: 72px 20px;
  }

  .blog-item {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0;
  }

  .blog-item-thumb-wrap {
    width: 56px;
    height: 56px;
  }

  .blog-item-title {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.88rem;
  }

  .blog-item-date {
    flex-basis: 100%;
    order: 3;
    margin-top: 6px;
    font-size: 0.72rem;
  }

  /* FAQ */
  .faq {
    padding: 72px 20px;
  }

  .faq-question {
    padding: 18px 4px;
    gap: 12px;
    font-size: 0.92rem;
  }

  .faq-answer p {
    padding: 0 4px 20px 48px;
    font-size: 0.86rem;
  }

  .faq-a-mark {
    left: 4px;
  }

  /* クロージング */
  .closing {
    padding: 80px 20px;
  }

  .closing-title {
    font-size: 1.4rem;
  }

  .closing-sub {
    font-size: 0.92rem;
  }

  .closing-note {
    font-size: 0.78rem;
  }

  .closing-buttons {
    flex-direction: column;
    gap: 14px;
  }

  .closing-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .fv-main {
    font-size: 1.6rem;
  }

  .fv-label {
    font-size: 1.75rem;
  }

  .fv-stat-card {
    padding: 8px 4px;
  }

  .fv-stat-label {
    font-size: 0.56rem;
  }

  .fv-stat-value {
    font-size: 0.72rem;
  }
}
