/* =============================================
   CSS Variables
   ============================================= */
:root {
  --navy: #3B6EF8;
  --navy-dark: #2454D6;
  --orange: #FF6B35;
  --orange-dark: #E8511E;
  --white: #fff;
  --gray: #F4F7FF;
  --gray-mid: #DDE4F8;
  --text: #1E293B;
  --text-mid: #5A6A8A;
  --text-light: #8A97B8;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(0,0,0,0.07);
  --shadow-strong: 0 8px 32px rgba(0,0,0,0.12);
  --transition: 0.22s ease;
}

/* =============================================
   Reset & Base
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 15px;
  line-height: 1.7;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =============================================
   Buttons
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,107,53,0.4); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-nav {
  background: var(--orange);
  color: var(--white);
  padding: 9px 20px;
  font-size: 14px;
  border-radius: 50px;
}
.btn-nav:hover { background: var(--orange-dark); }

.btn-full { width: 100%; justify-content: center; font-size: 16px; padding: 16px; }

/* =============================================
   Header / Nav
   ============================================= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-mid);
  height: 96px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
}

.logo { display: flex; align-items: center; overflow: hidden; height: 96px; }
.logo-img {
  height: 180px;
  width: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav > a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  padding: 8px 12px;
  border-radius: 6px;
  transition: var(--transition);
}
.nav > a:hover { color: var(--orange); background: rgba(59,110,248,0.07); }

/* Dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  padding: 8px 12px;
  border-radius: 6px;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-dropdown-trigger:hover { color: var(--orange); background: rgba(59,110,248,0.07); }

.nav-caret {
  font-size: 10px;
  transition: transform 0.2s;
}
.nav-dropdown:hover .nav-caret { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
  min-width: 220px;
  padding: 4px 8px 8px;
  padding-top: 12px; /* gap bridge: invisible area keeps hover alive */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s, visibility 0.18s, transform 0.18s;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text);
  transition: var(--transition);
}
.nav-dropdown-menu a:hover { background: var(--gray); color: var(--orange); }
.nav-dropdown-menu a i { width: 18px; color: var(--orange); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 96px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-mid);
  z-index: 999;
  padding: 12px 0;
  display: none;
  flex-direction: column;
  box-shadow: var(--shadow-strong);
}
.mobile-menu.open { display: flex; }

.mobile-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--gray);
}
.mobile-link:last-child { border-bottom: none; }
.mobile-group-label { font-size: 12px; color: var(--text-light); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 12px 24px 4px; }
.mobile-sub { padding-left: 40px; font-size: 14px; color: var(--text-mid); }
.mobile-sub i { color: var(--orange); width: 16px; }
.mobile-cta { background: var(--orange); color: var(--white); border-radius: 8px; margin: 8px 16px; justify-content: center; }

/* =============================================
   Hero
   ============================================= */
.hero {
  padding: 148px 0 80px;
  background: linear-gradient(135deg, #1A3FBF 0%, var(--navy) 60%, #5B8BFF 100%);
  color: var(--white);
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-text { flex: 1; }

.hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 18px;
}

.highlight {
  color: var(--orange);
}

.hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 24px;
  line-height: 1.8;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
}
.badge i { color: #7dde92; }

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-actions .btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.hero-actions .btn-outline:hover { background: rgba(255,255,255,0.15); color: var(--white); }

.hero-visual { flex: 0 0 440px; }
/* サービスサムネイルグリッド（ヒーロー右側） */
.hero-svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 100%;
}
.hero-svc-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  display: block;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  border: 2px solid rgba(255,255,255,0.15);
}
.hero-svc-card:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 14px 36px rgba(0,0,0,0.45);
  border-color: var(--orange);
}
.hero-svc-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s;
}
.hero-svc-card:hover img {
  transform: scale(1.06);
}

/* =============================================
   Section Commons
   ============================================= */
.section { padding: 80px 0; }
.section-light { background: var(--gray); }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.section-label-light { color: rgba(255,107,53,0.85); }
.section-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 14px;
}
.section-title-light { color: var(--white); }
.section-desc {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.8;
}
.section-desc-light { color: rgba(255,255,255,0.8); }

/* =============================================
   ご利用の流れ（横並び）
   ============================================= */
.flow-h {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.flow-h-step {
  flex: 1;
  background: var(--white);
  border-radius: 18px;
  padding: 36px 24px 32px;
  text-align: center;
  box-shadow: 0 6px 28px rgba(0,0,0,0.09);
  border: 2px solid var(--gray-mid);
  transition: var(--transition);
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.flow-h-step::after {
  content: attr(data-step);
  position: absolute;
  bottom: -10px;
  right: 6px;
  font-size: 80px;
  font-weight: 900;
  color: var(--navy);
  opacity: 0.04;
  line-height: 1;
  pointer-events: none;
  letter-spacing: -2px;
}
.flow-h-step:hover { border-color: var(--orange); box-shadow: 0 10px 40px rgba(59,110,248,0.15); transform: translateY(-4px); }

.flow-h-step-main {
  border-color: var(--orange);
  background: linear-gradient(160deg, #FFF5F1 0%, #fff 100%);
  box-shadow: 0 8px 36px rgba(255,107,53,0.18);
}
.flow-h-step-main::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), #f9a46a);
  border-radius: 18px 18px 0 0;
}

.flow-h-num {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--text-light);
  text-transform: uppercase;
  margin-bottom: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.flow-h-num span {
  font-size: 48px;
  color: var(--navy);
  display: block;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -2px;
}

.flow-h-num-orange span { color: var(--orange); }

.flow-h-icon {
  width: 64px;
  height: 64px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 14px auto 18px;
  color: var(--white);
  font-size: 26px;
  box-shadow: 0 4px 16px rgba(59,110,248,0.25);
  transition: var(--transition);
}
.flow-h-step:hover .flow-h-icon { transform: scale(1.08); }
.flow-h-icon-orange {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  box-shadow: 0 4px 16px rgba(255,107,53,0.35);
}

.flow-h-step h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.4;
}
.flow-h-step p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.8;
}

.flow-h-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: var(--orange);
  font-size: 22px;
  flex-shrink: 0;
  align-self: center;
  opacity: 0.7;
}

/* チェックボックス風 */
.flow-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 4px 0 8px;
  text-align: left;
}
.flow-checkbox {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 7px;
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
  cursor: default;
}
.flow-checkbox.checked {
  border-color: var(--orange);
}
.flow-checkbox input[type="checkbox"] {
  appearance: none;
  width: 15px; height: 15px;
  border: 2px solid var(--gray-mid);
  border-radius: 3px;
  flex-shrink: 0;
  position: relative;
}
.flow-checkbox.checked input[type="checkbox"] {
  background: var(--orange);
  border-color: var(--orange);
}
.flow-checkbox.checked input[type="checkbox"]::after {
  content: '';
  position: absolute;
  left: 2px; top: -1px;
  width: 7px; height: 10px;
  border: 2px solid white;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}
.flow-checkbox i { color: var(--orange); width: 14px; font-size: 12px; }
.flow-checkbox:not(.checked) { opacity: 0.55; }
.cb-free {
  margin-left: auto;
  background: #e6f4ea;
  color: #2c6e49;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 50px;
}

.flow-select-note {
  margin-top: 6px;
  font-size: 10px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.flow-select-note i { color: var(--orange); }

/* プラットフォームミニバッジ */
.flow-platforms-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
  margin-top: 8px;
}
.plat-mini {
  font-size: 9px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 50px;
  white-space: nowrap;
}
.plat-mercari  { background: #FF0211; color: white; }
.plat-base     { background: #111; color: white; }
.plat-stores   { background: #3b5bdb; color: white; }
.plat-payid    { background: #003087; color: white; }
.plat-yahuoku  { background: #ff0033; color: white; }
.plat-yahushop { background: #d50000; color: white; }
.plat-shopify  { background: #96bf48; color: white; }
.plat-rakuten  { background: #bf0000; color: white; }

/* =============================================
   サービス詳細
   ============================================= */
.svc-heading-img {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 0 0 32px;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.svc-detail {
  display: flex;
  align-items: flex-start;
  gap: 56px;
  padding: 56px 0;
}
.svc-detail-reverse { flex-direction: row-reverse; }

.svc-detail-body { flex: 1; min-width: 0; }

.svc-detail-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}
.svc-detail-icon-wrap {
  width: 52px; height: 52px;
  background: var(--orange);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
  flex-shrink: 0;
}
.svc-detail-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--text-light);
  text-transform: uppercase;
  margin-bottom: 2px;
}
.svc-detail-body h3 {
  font-size: 24px;
  font-weight: 900;
  color: var(--navy);
}
.svc-detail-catch {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.6;
}
.svc-detail-desc {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 20px;
}
.svc-detail-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.svc-detail-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.svc-detail-points li i { color: var(--orange); flex-shrink: 0; }

/* サービス横アイコン画像（透過PNG・背景なし・枠なし） */
.svc-icon-display {
  object-fit: contain !important;
  background: none;
  padding: 0;
  box-shadow: none !important;
  border-radius: 0 !important;
  border: none !important;
}

/* サービスブロック */
.section-features { padding-bottom: 0; }

.svc-bg-wrap {
  padding: 80px 0;
  scroll-margin-top: 96px;
  position: relative;
}

/* 奇数ブロック：白 */
#svc-cleaning,
#svc-measurement {
  background: var(--white);
}

/* 偶数ブロック：薄グレー */
#svc-photo,
#svc-listing {
  background: #EEF2FF;
}

/* 上部アクセントライン */
.svc-bg-wrap::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--orange) 60%, transparent 100%);
  opacity: 0.18;
}

.svc-bg-wrap .svc-detail { padding: 0; }

.svc-option-box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--gray);
  border: 1px dashed var(--gray-mid);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-top: 22px;
  scroll-margin-top: 100px;
}
.svc-option-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--navy);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.svc-option-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.svc-option-desc {
  font-size: 12.5px;
  color: var(--text-mid);
  line-height: 1.7;
}
.svc-option-points {
  list-style: none;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.svc-option-points li {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.svc-option-points i { color: var(--orange); font-size: 11px; width: 14px; }
.svc-option-note {
  margin-top: 8px;
  font-size: 11.5px;
  color: var(--text-light);
}

/* 共通：サービス内 注記 */
.svc-note {
  margin-top: 14px;
  font-size: 11.5px;
  color: var(--text-light);
  line-height: 1.7;
}

/* クリーニング：3ステップカード */
.svc-substeps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}
.svc-substep {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.svc-substep-img {
  aspect-ratio: 4 / 3;
  background: repeating-linear-gradient(45deg, #F4F7FF, #F4F7FF 12px, #EEF2FF 12px, #EEF2FF 24px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.svc-substep-img i { font-size: 24px; color: #B9C6EF; }
.svc-substep-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
.svc-substep-body { padding: 14px 16px 16px; }
.svc-substep-num {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--orange);
  margin-bottom: 4px;
}
.svc-substep-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}
.svc-substep-desc {
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.7;
}

/* 撮影：納品フォーマット */
.svc-spec-strip {
  margin-top: 20px;
  background: var(--gray);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.svc-spec-label {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.svc-spec-label i { color: var(--navy); }
.svc-spec-samples {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}
.svc-spec-sample-img {
  flex: 1;
  aspect-ratio: 1 / 1;
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.svc-spec-sample-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
.svc-spec-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.svc-spec-chip {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
}

/* 採寸：アイテム別採寸箇所（図解） */
.svc-measure-diagram {
  margin-top: 20px;
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.svc-measure-diagram img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* 採寸：登録情報サンプルカード */
.svc-reg-sample { margin-top: 22px; }
.svc-reg-label {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.svc-reg-label i { color: var(--navy); }
/* 採寸：EC管理画面風 登録情報モック */
.svc-ec-mock {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
}
.svc-ec-topbar {
  background: var(--navy-dark);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.svc-ec-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.svc-ec-dot-red { background: #FF5F57; }
.svc-ec-dot-yellow { background: #FEBC2E; }
.svc-ec-dot-green { background: #28C840; }
.svc-ec-status {
  margin-left: auto;
  display: flex;
  align-items: center;
}
.svc-ec-status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
  animation: svc-ec-pulse 1.8s infinite;
}
@keyframes svc-ec-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,107,53,0.5); }
  70% { box-shadow: 0 0 0 6px rgba(255,107,53,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,107,53,0); }
}

.svc-ec-body {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 20px;
  padding: 20px;
  background: var(--gray);
}
.svc-ec-image {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 10px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: start;
}
.svc-ec-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.svc-ec-form { display: flex; flex-direction: column; min-width: 0; }
.svc-ec-label {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--text-light);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  display: block;
}
.svc-ec-field {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 13px;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 20px;
  line-height: 1.5;
}
.svc-ec-field-title {
  font-weight: 700;
  border-color: #C7D3F5;
  background: linear-gradient(180deg, #fff, #FAFBFF);
  margin-bottom: 16px;
  display: block;
  white-space: nowrap;
  overflow-x: hidden;
}
.svc-ec-check {
  color: #2c9e5e;
  font-size: 12px;
  flex-shrink: 0;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(.34,1.56,.64,1);
  transition-delay: calc(var(--d) * 0.15s + 0.3s);
}
.svc-ec-mock.svc-ec-revealed .svc-ec-check { opacity: 1; transform: scale(1); }

.svc-ec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
}
.svc-ec-item-wide { grid-column: 1 / -1; }
.svc-ec-item {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  transition-delay: calc(var(--d) * 0.15s);
}
.svc-ec-mock.svc-ec-revealed .svc-ec-item { opacity: 1; transform: translateY(0); }

.svc-ec-cursor {
  display: inline-block;
  width: 2px;
  height: 14px;
  flex-shrink: 0;
  background: var(--navy);
  margin-left: 2px;
  vertical-align: middle;
  animation: svc-ec-blink 0.9s step-end infinite;
  transition: opacity 0.3s ease;
}
.svc-ec-cursor.svc-ec-cursor-hidden { opacity: 0; }
@keyframes svc-ec-blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .svc-ec-item, .svc-ec-check { transition: none; }
  .svc-ec-status-dot, .svc-ec-cursor { animation: none; }
}

.svc-divider {
  height: 1px;
  background: var(--gray-mid);
}

/* =============================================
   料金表
   ============================================= */
.price-table-wrap {
  overflow-x: auto;
  margin-bottom: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  min-width: 560px;
}
.price-table th {
  background: var(--navy);
  color: var(--white);
  padding: 14px 16px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}
.th-sub { font-size: 11px; font-weight: 400; opacity: 0.75; }
.price-table td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid var(--gray-mid);
  font-size: 14px;
}
.plan-name {
  font-weight: 700;
  font-size: 15px;
  text-align: left !important;
  padding-left: 24px !important;
}
.plan-price {
  font-weight: 900;
  font-size: 17px;
  color: var(--orange);
}
.check { color: var(--orange); font-size: 20px; }
.cross { color: var(--gray-mid); font-size: 18px; }
.plan-featured td { background: #EEF2FF; }
.plan-badge {
  display: inline-block;
  background: var(--orange);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 50px;
  margin-left: 6px;
  vertical-align: middle;
}
.price-note {
  font-size: 13px;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 32px;
}
.price-note i { color: var(--orange); }
.price-cta { text-align: center; }

/* =============================================
   ギャラリー
   ============================================= */

/* 撮影説明バナー */
.gallery-info-banner {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 16px 24px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}
.gallery-info-main {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 900;
  white-space: nowrap;
  flex-shrink: 0;
}
.gallery-info-main i { color: var(--orange); font-size: 22px; }
.gallery-info-main strong { color: var(--white); font-size: 26px; }
.gallery-info-shots {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 14px;
  color: rgba(255,255,255,0.92);
  padding-top: 2px;
}
.gallery-info-shots span { display: flex; align-items: center; gap: 5px; }
.gallery-info-shots i { color: #7dde92; font-size: 11px; }
.gallery-shots-break { width: 100%; height: 0; padding: 0; margin: 0; }

/* カテゴリータブ */
.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.gallery-tab {
  padding: 8px 20px;
  border-radius: 50px;
  border: 2px solid var(--gray-mid);
  background: var(--white);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-mid);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}
.gallery-tab:hover { border-color: var(--orange); color: var(--orange); }
.gallery-tab.active { background: var(--orange); border-color: var(--orange); color: var(--white); }

/* カテゴリーパネル */
.gallery-category { display: none; }
.gallery-category.active { display: block; }

.gallery-cat-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-mid);
  margin-bottom: 14px;
  padding-left: 2px;
}

/* 写真横並びスクロール行 */
.gallery-shot-row {
  display: grid;
  grid-template-columns: repeat(10, minmax(88px, 1fr));
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.gallery-shot-row::-webkit-scrollbar { height: 4px; }
.gallery-shot-row::-webkit-scrollbar-track { background: var(--gray-mid); border-radius: 2px; }
.gallery-shot-row::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.2); border-radius: 2px; }

.gallery-shot-wrap {
  position: relative;
  min-width: 0;
}
.gallery-shot-wrap img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  border: 2px solid var(--gray-mid);
  transition: var(--transition);
}
.gallery-shot-wrap img:hover {
  border-color: var(--orange);
  transform: scale(1.10);
  box-shadow: var(--shadow-strong);
  z-index: 1;
  position: relative;
}
.shot-num {
  position: absolute;
  top: 5px;
  left: 5px;
  background: var(--navy);
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  z-index: 2;
  pointer-events: none;
}

.gallery-note { text-align: center; font-size: 13px; color: var(--text-light); margin-top: 20px; }
.gallery-note i { color: var(--orange); margin-right: 4px; }

/* インラインギャラリー（撮影セクション直下） */
.gallery-inline {
  margin-top: 28px;
  padding: 24px 0 0;
  border-top: 1px solid var(--gray-mid);
}

.gallery-block {
  margin-bottom: 16px;
}

.gallery-block-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.05em;
  margin-bottom: 7px;
  padding-left: 10px;
  border-left: 3px solid var(--orange);
}

/* =============================================
   対応プラットフォーム
   ============================================= */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.platform-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mid);
  text-align: center;
}
.plat-logo {
  width: 110px;
  height: 72px;
  padding: 10px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--gray-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.plat-logo:hover { transform: translateY(-3px); box-shadow: var(--shadow-strong); border-color: var(--orange); }
.plat-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* =============================================
   FAQ
   ============================================= */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item[open] { border-color: var(--orange); box-shadow: var(--shadow); }

.faq-q {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  color: var(--navy);
  user-select: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q i { color: var(--orange); flex-shrink: 0; font-size: 18px; }
.faq-q::after {
  content: '+';
  margin-left: auto;
  font-size: 22px;
  color: var(--text-light);
  line-height: 1;
}
.faq-item[open] .faq-q::after { content: '−'; color: var(--orange); }

.faq-a {
  padding: 0 22px 18px 52px;
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.9;
}

/* =============================================
   Contact
   ============================================= */
.section-contact {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
}

.contact-wrap {
  max-width: 640px;
  margin: 0 auto;
}

.contact-form {
  background: var(--white);
  padding: 40px 44px;
  border-radius: 20px;
  box-shadow: var(--shadow-strong);
}

.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.required {
  background: var(--orange);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 3px;
  margin-left: 4px;
  vertical-align: middle;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-mid);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  transition: border-color 0.2s;
  background: var(--white);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--orange); }
.form-group textarea { resize: vertical; }

.form-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
  margin-top: 16px;
}

/* =============================================
   Footer
   ============================================= */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 40px 0;
  text-align: center;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.footer-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}
.footer-desc { font-size: 13px; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.4); }

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 960px) {
  .hero-visual { display: none; }
  .hero-inner { justify-content: center; text-align: center; }
  .hero-badges, .hero-actions { justify-content: center; }

  .flow-h {
    flex-direction: column;
    gap: 0;
  }
  .flow-h-arrow {
    padding: 8px 0;
    transform: rotate(90deg);
    font-size: 18px;
    align-self: center;
  }
  .flow-h-step { width: 100%; border-radius: 14px; }
  .flow-h-num span { font-size: 36px; }

  .svc-detail, .svc-detail-reverse {
    flex-direction: column;
    gap: 28px;
  }
  .svc-heading-img { max-width: 240px; margin-bottom: 24px; }

  .platform-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .plat-logo { width: 88px; height: 58px; }

  .gallery-shot-row { grid-template-columns: repeat(10, minmax(100px, 1fr)); }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .hamburger { display: flex; }

  .section { padding: 56px 0; }

  .platform-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .plat-logo { width: 70px; height: 50px; }
  .platform-item { font-size: 10px; gap: 6px; }

  .contact-form { padding: 28px 22px; }

  .gallery-info-banner { gap: 16px; padding: 16px 20px; }
  .gallery-info-main { font-size: 16px; }
  .gallery-shot-row { grid-template-columns: repeat(10, minmax(80px, 1fr)); }

  .svc-substeps { grid-template-columns: 1fr; }
  .svc-substep-img { aspect-ratio: 21 / 9; }

  .svc-ec-body { grid-template-columns: 1fr; }
  .svc-ec-image { max-width: 220px; margin: 0 auto; }
}

@media (max-width: 480px) {
  .hero { padding: 100px 0 56px; }
  .hero-title { font-size: 26px; }

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

  .flow-checkbox { font-size: 11px; }
  .plat-mini { font-size: 9px; padding: 2px 5px; }

  .gallery-info-banner { flex-direction: column; gap: 12px; }
  .gallery-info-shots { gap: 6px 12px; font-size: 12px; }
  .gallery-shot-row { grid-template-columns: repeat(10, minmax(72px, 1fr)); }
  .gallery-tabs { gap: 6px; }
  .gallery-tab { font-size: 12px; padding: 7px 14px; }

  .svc-measure-diagram { padding: 10px; }

  .svc-ec-body { padding: 16px; gap: 16px; }
  .svc-ec-grid { grid-template-columns: 1fr; }
}
