/* ===========================================================
   REDDESK productions — Web Design Direction 2026
   Minimal / Modern / Archive / Trust
   =========================================================== */

/* ============ デザイントークン ============ */
:root{
  --max-w: 1120px;

  /* カラー */
  --bg:      #ffffff;
  --bg-soft: #F5F5F7;
  --surface: #ffffff;
  --text:    #1D1D1F;
  --text-soft:#6E6E73;
  --border:  #D2D2D7;

  /* アクセント（ブランドカラー：赤） */
  --accent:      #D22630;
  --accent-dark: #aa1e27;

  /* 内部変数（upload-tool / FAQ / form の参照先を一括で差し替え） */
  --primary:  #D22630;
  --primary2: #e86068;
  --grad:     #D22630;

  /* タイポグラフィ */
  --radius: 10px;
}

/* ============ リセット ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue",
               "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ============ ユーティリティバー ============ */
.util-bar {
  background: var(--bg-soft);
  color: var(--text-soft);
  text-align: center;
  font-size: 0.82rem;
  padding: 8px 16px;
  border-bottom: 1px solid var(--border);
}
.util-bar a { font-weight: 600; color: var(--accent); text-decoration: none; }

/* ============ ヘッダー ============ */
header.site {
  position: sticky; top: 0; z-index: 150;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1280px; margin: 0 auto; width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px; height: 64px; gap: 24px;
}
.logo {
  font-size: 1.05rem; font-weight: 700;
  letter-spacing: -.01em; text-decoration: none; color: var(--text);
  flex-shrink: 1; min-width: 0; white-space: nowrap;
}
.logo span { color: var(--accent); }
.logo small { display: none; }

nav.main-nav {
  display: flex; gap: 28px; font-size: 0.88rem;
  font-weight: 500; align-items: center;
}
nav.main-nav a {
  text-decoration: none; color: var(--text-soft);
  padding: 4px 0; transition: color .15s;
}
nav.main-nav a:hover,
nav.main-nav a.active { color: var(--text); }

.header-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.header-cta {
  background: var(--accent); color: #fff;
  font-weight: 600; padding: 9px 20px;
  border-radius: 8px; text-decoration: none;
  font-size: 0.88rem; white-space: nowrap;
  transition: background .15s;
}
.header-cta:hover { background: var(--accent-dark); }

.header-line-btn {
  color: var(--text-soft); font-size: 0.88rem;
  font-weight: 500; text-decoration: none;
  white-space: nowrap; display: inline-flex;
  align-items: center; gap: 6px;
}
.header-line-btn:hover { color: var(--text); }
.header-line-btn svg { display: none; }

/* ハンバーガー（モバイル専用） */
.hamburger {
  display: none; width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 8px; border: 1px solid var(--border);
  background: #fff; align-items: center;
  justify-content: center; cursor: pointer;
  flex-direction: column; gap: 5px;
}
.hamburger span { display: block; width: 18px; height: 1.5px; background: var(--text); }

/* モバイルナビ */
#mobile-nav {
  position: fixed; top: 0; right: -100%; width: 80%; max-width: 320px;
  height: 100vh; background: #fff; z-index: 200;
  padding: 24px 28px; display: flex; flex-direction: column;
  gap: 0; border-left: 1px solid var(--border);
  transition: right .3s cubic-bezier(.25,.1,.25,1);
  overflow-y: auto;
}
#mobile-nav.open { right: 0; }
.mobile-nav-top {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 28px;
  font-size: 0.9rem; font-weight: 700;
}
#mobile-close {
  border: none; background: none; font-size: 1.4rem;
  cursor: pointer; line-height: 1; color: var(--text-soft);
}
#mobile-nav a {
  display: block; padding: 12px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none; font-size: 0.95rem;
  font-weight: 500; color: var(--text);
}
#mobile-nav a:hover { color: var(--accent); }

/* ============ ボタン ============ */
.btn {
  display: inline-block; padding: 14px 28px;
  font-size: 0.97rem; font-weight: 600;
  border-radius: 8px; text-decoration: none;
  margin: 6px 6px; min-height: 48px; line-height: 1.4;
  transition: background .15s, color .15s, border-color .15s;
  border: none; cursor: pointer;
}
.btn-primary {
  background: var(--accent); color: #fff;
}
.btn-primary:hover { background: var(--accent-dark); }

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

.btn-secondary {
  background: transparent; color: var(--text);
  border: 0.5px solid var(--border);
  font-weight: 500;
}
.btn-secondary:hover { background: var(--bg-soft); border-color: var(--text-soft); }

.btn-block { display: block; width: 100%; text-align: center; }

.btn-line {
  background: #06c755; color: #fff;
  display: inline-flex; align-items: center;
  gap: 8px; justify-content: center;
}
.btn-line:hover { background: #05b34b; }
.btn-line svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

a.btn[aria-disabled="true"] { opacity: 0.4; pointer-events: none; cursor: not-allowed; }

/* テキストリンク（矢印つき） */
.text-link {
  font-size: 0.92rem; color: var(--accent);
  text-decoration: none; font-weight: 500;
  display: inline-block; padding: 4px 0;
}
.text-link:hover { text-decoration: underline; }

/* ============ スクロールリビール ============ */
[data-reveal] {
  opacity: 0; transform: translateY(16px);
  transition: opacity .6s cubic-bezier(.25,.1,.25,1),
              transform .6s cubic-bezier(.25,.1,.25,1);
}
[data-reveal].visible { opacity: 1; transform: translateY(0); }

/* ============ セクション共通 ============ */
section { padding: 120px 24px; }
.section-inner { max-width: var(--max-w); margin: 0 auto; position: relative; z-index: 2; }
.bg-soft { background: var(--bg-soft); }

.eyebrow {
  display: inline-block; font-size: 0.72rem; font-weight: 600;
  letter-spacing: .1em; color: var(--text-soft);
  text-transform: uppercase; margin-bottom: 18px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 600;
  margin: 0 0 20px; letter-spacing: -.02em; line-height: 1.3;
}
.section-sub {
  color: var(--text-soft); margin-bottom: 48px;
  font-size: 1rem; max-width: 560px; line-height: 1.8;
}

/* ============ グリッド / カード ============ */
.grid { display: grid; gap: 1px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.bento { grid-template-columns: repeat(4, 1fr); }
.bento .card:first-child { grid-column: span 2; }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
}
.card h3 { font-size: 1rem; margin: 0 0 8px; font-weight: 600; }
.card p { font-size: 0.92rem; color: var(--text-soft); margin: 0; line-height: 1.7; }

.icon-circle {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--bg-soft); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.icon-circle svg { width: 22px; height: 22px; stroke: var(--text); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.service-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
  display: flex; flex-direction: column; gap: 10px; text-align: left;
}
.service-card h3 { margin: 4px 0; font-size: 1.05rem; font-weight: 600; }
.service-card p { font-size: 0.9rem; color: var(--text-soft); flex-grow: 1; line-height: 1.7; }
.service-card a.link { font-size: 0.88rem; font-weight: 600; color: var(--accent); text-decoration: none; }

.placeholder-box {
  border: 1px dashed var(--border); background: var(--bg-soft);
  color: var(--text-soft); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  text-align: center; font-size: 0.82rem; min-height: 90px; padding: 10px;
}

/* ============ ページバナー（下位ページ用） ============ */
.page-banner {
  background: var(--bg); padding: 72px 24px 64px;
  border-bottom: 1px solid var(--border);
}
.page-banner h1 {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 700; margin: 0 0 12px; letter-spacing: -.02em;
}
.page-banner p { color: var(--text-soft); margin: 0; max-width: 600px; font-size: 0.97rem; }
.page-banner .eyebrow { color: var(--accent); }

/* ============ ヒーロー（下位サービスページ用） ============ */
.hero { background: var(--bg); padding: 80px 24px; border-bottom: 1px solid var(--border); }
.hero-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center;
}
.hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem); line-height: 1.35;
  margin: 0 0 16px; font-weight: 700; letter-spacing: -.02em;
}
.hero p { font-size: 1rem; margin-bottom: 28px; color: var(--text-soft); max-width: 480px; }
.hero-visual {
  border-radius: 12px; background: var(--bg-soft);
  border: 1px solid var(--border); min-height: 260px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.hero-visual svg { width: 80px; height: 80px; stroke: var(--border); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ============ ステップ ============ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.step {
  background: var(--surface); border: 1px solid var(--border);
  border-right: none; padding: 28px 24px;
}
.step:last-child { border-right: 1px solid var(--border); }
.step-num {
  font-size: 2rem; font-weight: 700; color: var(--border);
  line-height: 1; margin-bottom: 16px; letter-spacing: -.02em;
}
.step h3 { font-size: 0.97rem; margin: 0 0 6px; font-weight: 600; }
.step p { font-size: 0.85rem; color: var(--text-soft); margin: 0; line-height: 1.6; }

/* ============ TOP PAGE 専用 ============ */

/* --- HERO --- */
.hero-top {
  padding: 100px 24px 0;
  text-align: center;
}
.hero-top-inner {
  max-width: 760px; margin: 0 auto;
}
.hero-top .hero-eyebrow {
  font-size: 0.78rem; font-weight: 500; letter-spacing: .1em;
  color: var(--text-soft); text-transform: uppercase; margin: 0 0 28px;
}
.hero-top h1 {
  font-size: clamp(2.3rem, 6vw, 5rem);
  font-weight: 600; line-height: 1.2;
  letter-spacing: -.04em; margin: 0 0 24px;
  color: var(--text);
}
.hero-nowrap { white-space: nowrap; }
@media(max-width: 600px) { .hero-nowrap { white-space: normal; } }

.hero-top .hero-sub {
  font-size: 1.05rem; color: var(--text-soft);
  margin: 0 auto 36px; max-width: 440px; line-height: 1.8;
}
.hero-top-cta {
  display: flex; align-items: center;
  justify-content: center; gap: 16px; flex-wrap: wrap;
  margin-bottom: 72px;
}
.hero-top-photo {
  max-width: 640px; margin: 0 auto;
  border-radius: 0;
  overflow: visible; border: none;
}
.hero-top-photo img {
  width: 100%; display: block;
  object-fit: contain;
  transform: scale(1);
  transition: none;
}
.hero-top-photo img.loaded { transform: scale(1); }

/* --- MEDIA SECTION --- */
.media-section { padding: 96px 24px; }
.media-layout {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.media-text {}
.media-text h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600; letter-spacing: -.03em; line-height: 1.2;
  margin: 0 0 20px;
}
.media-text p { color: var(--text-soft); margin: 0 0 36px; font-size: 1rem; line-height: 1.8; }
.media-list {
  font-size: 0.95rem; color: var(--text-soft);
  margin: 0 0 32px; letter-spacing: .03em;
}
.media-visual {
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border); background: var(--bg-soft);
  min-height: 300px; display: flex; align-items: center; justify-content: center;
}
.media-visual .placeholder-box { border: none; min-height: 300px; width: 100%; border-radius: 0; }

/* --- DIGITAL SECTION --- */
.digital-section { padding: 96px 24px; background: var(--bg-soft); }
.digital-layout {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.digital-visual {
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border); background: var(--bg);
  min-height: 280px; display: flex; align-items: center; justify-content: center;
  order: -1;
}
.digital-visual .placeholder-box { border: none; min-height: 280px; width: 100%; border-radius: 0; background: var(--bg); }
.digital-text h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600; letter-spacing: -.03em; line-height: 1.2;
  margin: 0 0 20px;
}
.digital-text p { color: var(--text-soft); margin: 0 0 28px; font-size: 1rem; line-height: 1.8; }

/* --- DISC SECTION --- */
.disc-section { padding: 96px 24px; }
.disc-layout {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 72px; align-items: center;
}
.disc-text h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600; letter-spacing: -.03em; line-height: 1.2;
  margin: 0 0 20px;
}
.disc-text p { color: var(--text-soft); margin: 0 0 28px; font-size: 1rem; line-height: 1.8; }
.disc-visual {
  display: flex; align-items: center; justify-content: center;
}
.disc-visual img { width: 100%; height: auto; object-fit: contain; display: block; border-radius: 12px; }

/* --- TRUST SECTION --- */
.trust-section { padding: 96px 24px; background: var(--bg-soft); }
.trust-inner { max-width: var(--max-w); margin: 0 auto; }

.trust-headline { margin-bottom: 40px; }
.trust-headline h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 600; letter-spacing: -.04em; line-height: 1.2; margin: 0;
}
.trust-body { max-width: 600px; margin-bottom: 56px; }
.trust-body p { font-size: 1.05rem; color: var(--text-soft); line-height: 1.85; margin: 0 0 20px; }

.trust-items {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; border-top: 1px solid var(--border);
}
.trust-item {
  padding: 28px 36px 28px 0;
  border-right: 1px solid var(--border);
}
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { border-right: none; padding-right: 0; padding-left: 36px; }
.trust-item:nth-child(2) { padding-left: 36px; }
.trust-item h3 { font-size: 1.05rem; font-weight: 600; margin: 0 0 10px; }
.trust-item p { font-size: 0.92rem; color: var(--text-soft); margin: 0; line-height: 1.75; }

/* --- ABOUT PAGE (about.html 専用) --- */
.abt-hero { padding: 120px 24px 96px; }
.abt-hero-inner { max-width: 760px; margin: 0 auto; }
.abt-eyebrow {
  font-size: 0.82rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-soft); margin: 0 0 24px;
}
.abt-hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 600; letter-spacing: -.04em; line-height: 1.2;
  margin: 0 0 32px;
}
.abt-hero p { font-size: 1.05rem; color: var(--text-soft); line-height: 1.85; margin: 0 0 20px; }

.abt-section { padding: 96px 24px; }
.abt-section.is-soft { background: var(--bg-soft); }
.abt-inner { max-width: var(--max-w); margin: 0 auto; }
.abt-narrow { max-width: 680px; }
.abt-section h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600; letter-spacing: -.03em; line-height: 1.25;
  margin: 0 0 32px;
}
.abt-section p { font-size: 1.02rem; color: var(--text-soft); line-height: 1.85; margin: 0 0 20px; }
.abt-section p:last-child { margin-bottom: 0; }

.abt-items {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; border-top: 1px solid var(--border); margin-top: 8px;
}
.abt-item { padding: 28px 36px 28px 0; border-right: 1px solid var(--border); }
.abt-item:first-child { padding-left: 0; }
.abt-item:nth-child(2) { padding-left: 36px; }
.abt-item:last-child { border-right: none; padding-right: 0; padding-left: 36px; }
.abt-item h3 { font-size: 1.05rem; font-weight: 600; margin: 0 0 10px; }
.abt-item p { font-size: 0.92rem; margin: 0; line-height: 1.75; }

.abt-info { border-top: 1px solid var(--border); margin-top: 8px; }
.abt-info-row {
  display: grid; grid-template-columns: 200px 1fr; gap: 24px;
  padding: 24px 0; border-bottom: 1px solid var(--border);
}
.abt-info-row dt { font-size: 0.92rem; font-weight: 600; margin: 0; }
.abt-info-row dd { font-size: 0.95rem; color: var(--text-soft); margin: 0; line-height: 1.75; }
/* --- OTHER WORK（index.html 下部の軽い紹介） --- */
.other-work-section { padding: 56px 24px; border-top: 1px solid var(--border); }
.other-work-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
}
.other-work-inner p { margin: 0; color: var(--text-soft); font-size: 0.98rem; line-height: 1.8; }
.other-work-inner .text-link { white-space: nowrap; }

/* --- SERVICE PAGES (services*.html 専用) --- */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.svc-list li {
  padding: 18px 0; border-bottom: 1px solid var(--border);
  font-size: 0.98rem; color: var(--text-soft); line-height: 1.75;
}
.svc-list li strong { color: var(--text); font-weight: 600; }

.svc-index { border-top: 1px solid var(--border); margin-top: 8px; }
.svc-index-row {
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  padding: 32px 0; border-bottom: 1px solid var(--border);
}
.svc-index-row h3 { font-size: 1.35rem; font-weight: 600; margin: 0 0 8px; letter-spacing: -.02em; }
.svc-index-row p { font-size: 0.95rem; color: var(--text-soft); margin: 0; line-height: 1.75; }
.svc-index-row .text-link { white-space: nowrap; }
.svc-for {
  display: block; margin-top: 10px !important;
  font-size: 0.88rem !important; color: var(--text-soft);
  padding-left: 14px; border-left: 2px solid var(--border);
}
.svc-price-lead {
  font-size: 1.9rem; font-weight: 600; letter-spacing: -.02em;
  color: var(--text); margin: 0 0 8px;
}
.svc-price-lead span { font-size: 0.98rem; font-weight: 400; color: var(--text-soft); margin-left: 8px; }
.svc-note {
  margin-top: 32px; padding: 20px 0 0; border-top: 1px solid var(--border);
  font-size: 0.92rem !important; color: var(--text-soft);
}
.svc-sub {
  margin: 44px 0 18px; padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em;
  color: var(--text);
}

.svc-steps { border-top: 1px solid var(--border); margin-top: 8px; }
.svc-step {
  display: grid; grid-template-columns: 64px 1fr; gap: 24px;
  padding: 24px 0; border-bottom: 1px solid var(--border);
}
.svc-step .num { font-size: 0.9rem; color: var(--text-soft); letter-spacing: .08em; padding-top: 2px; }
.svc-step h3 { font-size: 1.02rem; font-weight: 600; margin: 0 0 6px; }
.svc-step p { font-size: 0.92rem; color: var(--text-soft); margin: 0; line-height: 1.75; }

.tks-list { margin: 0; padding-left: 1.2em; }
.tks-list li { margin: 0 0 8px; }
.tks-list li:last-child { margin-bottom: 0; }

/* --- HOW IT WORKS --- */
.how-section { padding: 120px 24px; background: var(--bg-soft); }
.how-inner { max-width: var(--max-w); margin: 0 auto; }
.how-inner h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600; letter-spacing: -.03em; line-height: 1.2;
  margin: 0 0 16px;
}
.how-inner > p { color: var(--text-soft); margin: 0 0 64px; font-size: 1rem; }
.how-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; border-top: 1px solid var(--border);
}
.how-step {
  padding: 36px 28px 36px 0;
  border-right: 1px solid var(--border);
}
.how-step:last-child { border-right: none; padding-right: 0; }
.how-step:not(:first-child) { padding-left: 28px; }
.how-num {
  font-size: 2.4rem; font-weight: 700;
  color: var(--border); line-height: 1;
  margin-bottom: 20px; letter-spacing: -.04em;
  display: block;
}
.how-step h3 { font-size: 1rem; font-weight: 600; margin: 0 0 8px; }
.how-step p { font-size: 0.88rem; color: var(--text-soft); margin: 0; line-height: 1.65; }

/* --- PRICE SECTION --- */
.price-section { padding: 120px 24px; }
.price-inner { max-width: var(--max-w); margin: 0 auto; }
.price-inner h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600; letter-spacing: -.03em; line-height: 1.2;
  margin: 0 0 16px;
}
.price-inner > p { color: var(--text-soft); margin: 0 0 56px; font-size: 1rem; }
.price-table {
  width: 100%; border-collapse: collapse;
  font-size: 0.95rem; margin-bottom: 40px;
}
.price-table th, .price-table td {
  text-align: left; padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.price-table th {
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-soft); background: var(--bg-soft);
}
.price-table td:last-child { font-weight: 600; white-space: nowrap; }
.price-note { font-size: 0.85rem; color: var(--text-soft); margin: 0 0 40px; }
.price-cta { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

/* --- TOP FAQ --- */
.faq-top-section { padding: 120px 24px; background: var(--bg-soft); }
.faq-top-inner { max-width: 760px; margin: 0 auto; }
.faq-top-inner h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600; letter-spacing: -.03em; margin: 0 0 56px;
}

/* --- FINAL CTA --- */
.final-cta-section {
  padding: 120px 24px; background: var(--bg-soft);
  text-align: center;
}
.final-cta-inner { max-width: 640px; margin: 0 auto; }
.final-cta-inner h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600; letter-spacing: -.03em; line-height: 1.2;
  margin: 0 0 16px;
}
.final-cta-inner p { color: var(--text-soft); margin: 0 0 40px; font-size: 1rem; line-height: 1.8; }
.final-cta-btns {
  display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; align-items: center;
}

/* ============ LINEバナー ============ */
.line-banner { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); text-align: center; padding: 56px 24px; }
.line-banner h2 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); margin: 0 0 10px; font-weight: 600; }
.line-banner p { color: var(--text-soft); margin: 0 0 24px; font-size: 0.97rem; }
.line-banner .line-qr-wrap { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.line-banner .line-qr-card { background: #fff; border-radius: 12px; padding: 14px; display: inline-flex; flex-direction: column; align-items: center; gap: 8px; border: 1px solid var(--border); }
.line-banner .line-qr-card img { width: 120px; height: 120px; display: block; }
.line-banner .line-qr-card span { font-size: 0.76rem; font-weight: 500; color: var(--text-soft); }

.line-qr-block { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.line-qr-block img { width: 80px; height: 80px; border-radius: 8px; border: 1px solid var(--border); }
.line-qr-block .line-qr-text { font-size: 0.82rem; color: var(--text-soft); font-weight: 500; }
.line-mobile-btn { display: none; }

/* ============ FAQ（全ページ共通） ============ */
.faq-item {
  background: var(--surface); border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.faq-item:first-of-type { border-top: 1px solid var(--border); }
.faq-q {
  padding: 20px 36px; font-weight: 600; cursor: pointer;
  display: flex; justify-content: space-between;
  align-items: center; font-size: 0.97rem; gap: 16px;
}
.faq-a { padding: 0 36px 20px; font-size: 0.92rem; color: var(--text-soft); display: none; line-height: 1.75; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-q .mark { transform: rotate(45deg); }
.faq-q .mark { font-size: 1.4rem; transition: transform .2s; color: var(--text-soft); flex-shrink: 0; font-weight: 300; }
.faq-tabs { display: flex; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; }
.faq-tab {
  border: 1px solid var(--border); border-radius: 6px;
  padding: 8px 18px; font-size: 0.85rem; font-weight: 500;
  cursor: pointer; background: #fff; color: var(--text-soft);
}
.faq-tab.active { background: var(--text); color: #fff; border-color: var(--text); }

/* ============ フォーム ============ */
fieldset.field-group { border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }
fieldset.field-group legend { font-size: 0.82rem; font-weight: 600; color: var(--accent); padding: 0 8px; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 0.88rem; margin-bottom: 8px; font-weight: 600; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; border: 1px solid var(--border); background: #fff;
  border-radius: 8px; padding: 12px 16px;
  font-size: 1rem; font-family: inherit; min-height: 48px;
  transition: border-color .15s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--accent);
}
.form-row textarea { min-height: 120px; }
.form-row .hint { font-size: 0.78rem; color: var(--text-soft); margin-top: 6px; }
.form-note { font-size: 0.85rem; color: var(--text-soft); margin: -4px 0 16px; line-height: 1.6; }
.form-note-lg { font-size: 15px; color: var(--text); margin: 10px 0 16px; line-height: 1.7; }
.form-error { background: #fdecec; color: #c0392b; border: 1px solid #f3c6c4; border-radius: 8px; padding: 12px 16px; font-size: 0.88rem; margin-bottom: 16px; }
.input-error { border-color: #c0392b !important; background: #fdecec; }
.tape-type-row { margin-bottom: 18px; padding-top: 14px; border-top: 1px dashed var(--border); }
.tape-type-row[data-index="1"] { border-top: none; padding-top: 0; }
.tape-row-label { font-size: 0.8rem; font-weight: 600; color: var(--accent); margin-bottom: 10px; }
.tape-row-grid { display: grid; grid-template-columns: 1fr 130px; gap: 14px; }
.order-link-pop { animation: order-link-pop-anim 0.7s ease-out; }
@keyframes order-link-pop-anim { 0% { transform: scale(1); } 35% { transform: scale(1.05); } 100% { transform: scale(1); } }
.checkbox-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 0.95rem; font-weight: 500; }
.checkbox-row input { width: 20px; height: 20px; flex-shrink: 0; }
.result-box {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  text-align: center; margin-bottom: 24px; font-size: 0.95rem; color: var(--text-soft);
}

/* ============ 動画アップロードツール ============ */
.upload-dropzone {
  border: 1.5px dashed var(--border); border-radius: var(--radius);
  background: var(--bg-soft); padding: 36px 20px;
  text-align: center; cursor: pointer; transition: border-color .15s, background .15s;
}
.upload-dropzone:hover, .upload-dropzone.dragover { border-color: var(--accent); background: #fff; }
.upload-dropzone svg { width: 36px; height: 36px; stroke: var(--text-soft); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 10px; }
.upload-dropzone p { margin: 0; color: var(--text-soft); font-size: 0.92rem; }
.upload-dropzone strong { color: var(--accent); }

.upload-list { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.upload-item {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 12px; cursor: grab;
}
.upload-item.dragging { opacity: .4; }
.upload-item.drag-over { border-color: var(--accent); }
.upload-item .drag-handle { flex-shrink: 0; color: var(--text-soft); font-size: 1.2rem; line-height: 1; user-select: none; touch-action: none; }
.upload-item .order-num {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-weight: 700; font-size: 0.76rem;
  display: flex; align-items: center; justify-content: center;
}
.upload-item .thumb {
  flex-shrink: 0; width: 84px; height: 56px; border-radius: 6px;
  background: var(--bg-soft); overflow: hidden;
  display: flex; align-items: center; justify-content: center; position: relative;
  border: 1px solid var(--border);
}
.upload-item .thumb img, .upload-item .thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.upload-item .thumb .dur { position: absolute; bottom: 2px; right: 4px; background: rgba(0,0,0,.6); color: #fff; font-size: 0.64rem; padding: 1px 4px; border-radius: 3px; }
.upload-item .meta { flex: 1; min-width: 0; }
.upload-item .meta input[type="text"] { width: 100%; border: 1px solid var(--border); border-radius: 6px; padding: 7px 10px; font-size: 0.9rem; font-family: inherit; }
.upload-item .meta .filesize { font-size: 0.74rem; color: var(--text-soft); margin-top: 4px; }
.upload-item .progress-bar { height: 4px; border-radius: 4px; background: var(--bg-soft); margin-top: 6px; overflow: hidden; }
.upload-item .progress-bar i { display: block; height: 100%; width: 0%; background: var(--accent); transition: width .2s; }
.upload-item .status { font-size: 0.74rem; color: var(--text-soft); margin-top: 3px; }
.upload-item .remove-btn { flex-shrink: 0; border: none; background: none; color: var(--text-soft); font-size: 1.1rem; cursor: pointer; padding: 4px 8px; line-height: 1; }
.upload-item .remove-btn:hover { color: #c0392b; }
.upload-receipt {
  margin-top: 20px; background: var(--surface);
  border: 1px solid var(--accent); border-radius: var(--radius); padding: 20px; text-align: center;
}
.upload-receipt .code { font-size: 1.3rem; font-weight: 700; letter-spacing: .04em; color: var(--accent); margin: 8px 0; }

/* ============ フッター ============ */
footer.site {
  background: var(--bg-soft); padding: 60px 24px 32px;
  font-size: 0.88rem; border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 24px;
}
.footer-inner h4 { margin: 0 0 14px; font-size: 0.85rem; font-weight: 600; color: var(--text); }
.footer-inner ul { list-style: none; padding: 0; margin: 0; }
.footer-inner li { margin-bottom: 10px; }
.footer-inner a { text-decoration: none; color: var(--text-soft); font-size: 0.85rem; }
.footer-inner a:hover { color: var(--text); }
.footer-inner p { color: var(--text-soft); font-size: 0.85rem; line-height: 1.75; margin: 0; }
.footer-bottom {
  max-width: var(--max-w); margin: 32px auto 0;
  border-top: 1px solid var(--border); padding-top: 20px;
  font-size: 0.76rem; color: var(--text-soft); text-align: center;
}

/* ============ ご注文の流れ ============ */
.flow-section { background: transparent; padding: 48px 0; }
.flow-section .section-inner { max-width: 1120px; }
.flow-section .section-title { text-align: center; margin-bottom: 40px; font-size: 1.8rem; }
.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1120px;
  margin: 0 auto;
}
.flow-step {
  padding: 24px 20px;
  border-left: 3px solid var(--text-soft);
  padding-left: 28px;
}
.flow-number {
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 12px;
  line-height: 1;
}
.flow-step h3 {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0 0 12px 0;
  line-height: 1.4;
  color: var(--text);
}
.flow-step p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 8px 0;
}
.flow-note {
  font-size: 0.95rem;
  background: #fafafa;
  padding: 12px;
  border-left: 2px solid var(--accent);
  margin-top: 12px !important;
  color: var(--text);
}

/* ============ レスポンシブ ============ */
@media(max-width: 1080px) {
  nav.main-nav { display: none; }
  .hamburger { display: flex; }
}
@media(max-width: 860px) {
  section { padding: 80px 20px; }
  .hero-top { padding: 80px 20px 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .media-layout, .digital-layout, .disc-layout { grid-template-columns: 1fr; gap: 48px; }
  .abt-hero { padding: 80px 20px 64px; }
  .abt-section { padding: 72px 20px; }
  .abt-items { grid-template-columns: 1fr; }
  .abt-item { padding: 28px 0; border-right: none; border-bottom: 1px solid var(--border); }
  .abt-item:nth-child(2) { padding-left: 0; }
  .abt-item:last-child { border-bottom: none; padding-left: 0; }
  .abt-info-row { grid-template-columns: 1fr; gap: 6px; }
  .other-work-section { padding: 48px 20px; }
  .other-work-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .svc-index-row { grid-template-columns: 1fr; gap: 12px; align-items: start; }
  .svc-step { grid-template-columns: 48px 1fr; gap: 16px; }
  .digital-visual { order: 0; }
  .trust-headline h2 { font-size: 2.4rem; }
  .trust-items { grid-template-columns: 1fr; }
  .trust-item { padding: 32px 0; border-right: none; border-bottom: 1px solid var(--border); }
  .trust-item:last-child { border-bottom: none; padding-left: 0; }
  .trust-item:nth-child(2) { padding-left: 0; }
  .how-steps { grid-template-columns: 1fr 1fr; }
  .how-step { padding-left: 0 !important; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step { border-right: 1px solid var(--border); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .grid-4, .grid-3, .grid-2, .bento { grid-template-columns: 1fr 1fr; }
  .bento .card:first-child { grid-column: span 2; }
  .faq-q { padding: 20px 22px; }
  .faq-a { padding: 0 22px 20px; }

  /* スマホヘッダー：ロゴ・CTA・ハンバーガーの3要素だけを1行に収める。
     「LINEで相談」はハンバーガーメニュー内の導線に集約する。
     このブロックは860px以下で必ず適用されるため、
     はみ出しによって表示幅が広がっても確実に効く。 */
  .header-inner { padding: 0 14px; gap: 10px; height: 60px; }
  .logo { font-size: 0.88rem; letter-spacing: -.02em; }
  .header-line-btn { display: none; }
  .header-right { gap: 8px; }
  .header-cta { padding: 8px 12px; font-size: 0.76rem; }
  .hamburger { width: 38px; height: 38px; }

  /* 料金表：3列×左右20pxのパディングが幅を超過させるため縮小する */
  .price-table { font-size: 0.85rem; }
  .price-table th, .price-table td { padding: 12px 10px; }

  /* ご注文の流れ：スマホは1列 */
  .flow-grid { grid-template-columns: 1fr; }

  /* ご利用の流れ（4ステップ）：スマホは1列 */
  .how-steps { grid-template-columns: 1fr; }
  .how-step { border-right: none; padding-right: 28px; border-bottom: 1px solid var(--border); }
  .how-step:last-child { border-bottom: none; }

  /* 料金表下ボタン：スマホ中央揃え */
  .price-cta { text-align: center; }

  /* contact.html：スマホ1カラン */
  [data-page="contact"] .section-inner { grid-template-columns: 1fr !important; gap: 24px; }

  /* faq.html 3ボタン統一：スマホ表示 */
  .bg-soft .section-inner { display: flex; flex-direction: column; gap: 12px; }
  .bg-soft .btn { width: 100%; max-width: 300px; margin: 0 auto; padding: 12px 24px; font-size: 1rem; height: auto; }
}
