﻿:root {
      --blue-700: #1d4ed8;
      --blue-600: #2563eb;
      --blue-500: #3b82f6;
      --blue-50: #eff6ff;
      --ink: #0f172a;
      --muted: #64748b;
      --line: #e2e8f0;
      --soft: #f8fafc;
      --white: #ffffff;
      --shadow: 0 12px 32px rgba(15, 45, 110, 0.1);
      --radius: 14px;
      --header-h: 68px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      font-family: "Noto Sans JP", "Manrope", sans-serif;
      color: var(--ink);
      background: #f3f7fc;
      line-height: 1.6;
    }
    a { color: inherit; text-decoration: none; }
    button { font: inherit; cursor: pointer; }
    img { display: block; max-width: 100%; }
    .pc-only { display: inline; }
    @media (max-width: 760px) {
      .pc-only { display: none; }
    }

    .container {
      width: min(1180px, calc(100% - 40px));
      margin: 0 auto;
    }

    /* Header */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 40;
      min-height: var(--header-h);
      backdrop-filter: blur(14px);
      background: rgba(255, 255, 255, 0.88);
      border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    }
    .header-inner {
      min-height: var(--header-h);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
    }
    .brand {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-family: Manrope, sans-serif;
      font-weight: 800;
      letter-spacing: -0.02em;
      max-width: min(240px, 42vw);
    }
    .brand img,
    .brand .custom-logo,
    .brand-logo {
      display: block;
      width: auto;
      height: 36px;
      max-width: 100%;
      object-fit: contain;
    }
    .brand .custom-logo-link {
      display: inline-flex;
      line-height: 0;
    }
    .brand-mark {
      width: 34px;
      height: 34px;
      border-radius: 10px;
      display: grid;
      place-items: center;
      color: white;
      background: linear-gradient(145deg, #3b82f6, #1d4ed8);
      box-shadow: 0 8px 18px rgba(37, 99, 235, 0.35);
    }
    .header-search {
      flex: 1 1 auto;
      max-width: 420px;
      min-width: 0;
      display: flex;
      align-items: center;
      gap: 10px;
      height: 40px;
      padding: 0 14px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: #fff;
      box-shadow: 0 4px 12px rgba(15, 45, 110, 0.04);
    }
    .header-search i {
      color: #94a3b8;
      font-size: 13px;
    }
    .header-search input[type="search"] {
      flex: 1 1 auto;
      min-width: 0;
      border: 0;
      outline: none;
      background: transparent;
      font-size: 14px;
      color: #0f172a;
    }
    .header-search input[type="search"]::placeholder {
      color: #94a3b8;
    }
    .header-search:focus-within {
      border-color: #93c5fd;
      box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
    }
    .screen-reader-text {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }
    .header-actions {
      display: flex;
      align-items: center;
      gap: 10px;
      flex: 0 0 auto;
    }
    .icon-btn {
      width: 38px;
      height: 38px;
      border-radius: 999px;
      border: 1px solid var(--line);
      background: white;
      display: grid;
      place-items: center;
      color: #475569;
      text-decoration: none;
    }
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      border-radius: 999px;
      border: 1px solid transparent;
      padding: 11px 18px;
      font-weight: 700;
      font-size: 14px;
      transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    }
    .btn:hover { transform: translateY(-1px); }
    .btn-primary {
      background: linear-gradient(135deg, #3b82f6, #1d4ed8);
      color: white;
      box-shadow: 0 10px 22px rgba(37, 99, 235, 0.28);
    }
    .btn-ghost {
      background: white;
      border-color: #bfdbfe;
      color: var(--blue-700);
    }
    .btn-sm { padding: 8px 14px; font-size: 13px; }
    .btn-block { width: 100%; }

    .odm-account-menu {
      position: relative;
      display: inline-flex;
    }
    .odm-account-toggle {
      gap: 6px;
    }
    .odm-account-caret {
      font-size: 11px;
      line-height: 1;
      opacity: 0.85;
      margin-left: 2px;
    }
    .odm-account-toggle[aria-expanded="true"] .odm-account-caret {
      transform: rotate(180deg);
    }
    .odm-account-dropdown {
      position: absolute;
      top: calc(100% + 8px);
      right: 0;
      min-width: 180px;
      padding: 6px;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 12px;
      box-shadow: 0 12px 28px rgba(15, 45, 110, 0.12);
      z-index: 50;
    }
    .odm-account-dropdown[hidden] {
      display: none !important;
    }
    .odm-account-item {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px 12px;
      border-radius: 8px;
      color: #334155;
      font-size: 13px;
      font-weight: 600;
      text-decoration: none;
      white-space: nowrap;
    }
    .odm-account-item i {
      width: 1.1em;
      text-align: center;
      color: var(--blue-600);
    }
    .odm-account-item:hover,
    .odm-account-item:focus-visible {
      background: #eff6ff;
      color: var(--blue-700);
      outline: none;
    }
    .odm-account-item:focus:not(:focus-visible) {
      background: transparent;
      color: #334155;
      outline: none;
    }
    .btn.is-disabled,
    .btn[aria-disabled="true"] {
      opacity: 0.55;
      pointer-events: none;
      cursor: not-allowed;
      box-shadow: none;
      transform: none;
    }
    .odm-account-toggle i {
      color: var(--blue-600);
    }
    .odm-settings-email {
      display: flex;
      align-items: center;
      gap: 8px;
      margin: 0 0 8px !important;
      padding: 12px 14px;
      border-radius: 12px;
      background: #f8fafc;
      border: 1px solid var(--line);
      color: #0f172a !important;
      font-size: 15px !important;
      font-weight: 700;
    }
    .odm-settings-hr {
      border: 0;
      border-top: 1px solid var(--line);
      margin: 18px 0;
    }
    .odm-mypage-badge.is-fav {
      background: #fee2e2;
      color: #b91c1c;
    }
    .btn.is-faved {
      border-color: #fecaca;
      color: #b91c1c;
      background: #fff1f2;
    }
    .odm-account-toggle[aria-expanded="true"] {
      border-color: #93c5fd;
      background: #eff6ff;
    }

    /* Hero — 背景のみ再現（右LP画像は後差し込み） */
    .hero {
      position: relative;
      overflow: hidden;
      padding: 56px 0 48px;
      background: #ffffff;
    }
    .hero-bg {
      position: absolute;
      inset: 0;
      pointer-events: none;
      z-index: 0;
      background:
        radial-gradient(900px 480px at 78% 42%, rgba(59, 130, 246, 0.14), transparent 62%),
        radial-gradient(640px 360px at 18% 18%, rgba(125, 211, 252, 0.16), transparent 58%),
        radial-gradient(520px 280px at 55% 100%, rgba(191, 219, 254, 0.35), transparent 70%),
        linear-gradient(180deg, #ffffff 0%, #f7fbff 48%, #eef5ff 100%);
    }
    .hero-bg svg {
      position: absolute;
      left: -8%;
      bottom: -18%;
      width: 70%;
      height: auto;
      opacity: 0.55;
    }
    .hero-bg .wave-r {
      left: auto;
      right: -12%;
      bottom: -22%;
      width: 58%;
      opacity: 0.4;
      transform: scaleX(-1);
    }
    .hero-grid {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: minmax(280px, 460px) minmax(0, 1fr);
      gap: 32px;
      align-items: center;
      width: min(1180px, calc(100% - 40px));
      margin: 0 auto;
    }
    .hero-copy {
      animation: floatIn .7s ease both;
      position: relative;
      z-index: 2;
    }
    .hero-visual {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 360px;
    }
    .hero-visual img {
      width: 100%;
      height: auto;
      max-width: 640px;
      display: block;
      object-fit: contain;
      filter: drop-shadow(0 22px 40px rgba(15, 45, 110, 0.18));
      -webkit-backface-visibility: hidden;
      backface-visibility: hidden;
      transform: translateZ(0);
    }
    .hero-brand {
      font-family: Manrope, sans-serif;
      font-size: clamp(42px, 6vw, 64px);
      font-weight: 800;
      letter-spacing: -0.04em;
      line-height: 1;
      margin: 0 0 18px;
      background: linear-gradient(120deg, #0f172a 20%, #1d4ed8 85%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }
    .hero-title {
      margin: 0 0 14px;
      font-size: clamp(28px, 3.4vw, 40px);
      line-height: 1.35;
      font-weight: 900;
      letter-spacing: -0.02em;
    }
    .hero-lead {
      margin: 0 0 24px;
      color: var(--muted);
      font-size: 15px;
      max-width: 34em;
    }
    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-bottom: 22px;
    }
    .hero-points {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0;
      margin-top: 12px;
      width: 100%;
      max-width: 460px;
      position: relative;
    }
    .point {
      display: flex;
      align-items: center;
      gap: 12px;
      min-width: 0;
      color: #1e293b;
      padding: 12px 16px;
      position: relative;
    }
    /* 十字の区切り線（縦・横） */
    .point:nth-child(1),
    .point:nth-child(3) {
      padding-left: 0;
      padding-right: 18px;
    }
    .point:nth-child(2),
    .point:nth-child(4) {
      padding-left: 18px;
      padding-right: 0;
    }
    .point:nth-child(1),
    .point:nth-child(2) {
      padding-bottom: 14px;
    }
    .point:nth-child(3),
    .point:nth-child(4) {
      padding-top: 14px;
    }
    .point:nth-child(1)::after,
    .point:nth-child(3)::after {
      content: "";
      position: absolute;
      top: 10%;
      right: 0;
      width: 1px;
      height: 80%;
      background: #94a3b8;
      opacity: 0.55;
    }
    .hero-points::before {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      top: 50%;
      height: 1px;
      background: #94a3b8;
      opacity: 0.55;
      pointer-events: none;
      z-index: 1;
    }
    .point-icon {
      width: 36px;
      height: 36px;
      flex: 0 0 36px;
      object-fit: contain;
      display: block;
    }
    .point-text {
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 2px;
      line-height: 1.35;
      min-width: 0;
    }
    .point-text span,
    .point-text small {
      display: block;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      word-break: keep-all;
      line-break: strict;
    }
    .point-text span {
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.01em;
      color: #0f172a;
    }
    .point-text small {
      font-size: 12px;
      font-weight: 500;
      color: #475569;
    }

    /* Sections */
    .section {
      padding: 42px 0;
    }
    .section-head {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 18px;
    }
    .section-head h2 {
      margin: 0;
      font-size: 28px;
      letter-spacing: -0.02em;
    }
    .section-head p {
      margin: 6px 0 0;
      color: var(--muted);
      font-size: 14px;
    }
    .link-more {
      color: var(--blue-600);
      font-weight: 700;
      font-size: 14px;
      white-space: nowrap;
    }

    .tabs {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 18px;
    }
    .tab {
      border: 1px solid var(--line);
      background: white;
      color: #475569;
      border-radius: 999px;
      padding: 8px 14px;
      font-size: 13px;
      font-weight: 700;
    }
    .tab.is-active {
      background: var(--blue-600);
      border-color: var(--blue-600);
      color: white;
    }

    .card-row {
      display: grid;
      grid-template-columns: repeat(5, minmax(0, 1fr));
      gap: 14px;
      align-items: start;
    }

    .tpl-card {
      position: relative;
      background: white;
      border: 1px solid #e8eef7;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 10px 28px rgba(15, 45, 110, 0.08);
      transition: transform .18s ease, box-shadow .18s ease;
      text-align: left;
      padding: 0;
      width: 100%;
      color: inherit;
      display: flex;
      flex-direction: column;
    }
    .tpl-card-link {
      display: block;
      color: inherit;
      text-decoration: none;
      flex: 1;
    }
    .tpl-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 18px 40px rgba(15, 45, 110, 0.14);
    }
    .tpl-card.is-selected {
      border-color: #93c5fd;
      box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18), var(--shadow);
    }
    .tpl-thumb {
      position: relative;
      aspect-ratio: 16 / 10;
      overflow: hidden;
      flex: 0 0 auto;
      background: linear-gradient(145deg, #e8f1ff, #f8fbff);
    }
    .tpl-thumb::after {
      content: none;
    }
    .tpl-thumb img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center top;
      background: #e8f1ff;
      transition: transform .4s ease;
    }
    .tpl-thumb.has-live img {
      opacity: 0;
      position: absolute;
      inset: 0;
    }
    .tpl-thumb-live {
      position: absolute;
      inset: 0;
      overflow: hidden;
      pointer-events: none;
      background: #0f172a;
    }
    .tpl-thumb-live iframe {
      width: 1440px;
      height: 900px;
      border: 0;
      transform: scale(0.22);
      transform-origin: top left;
      pointer-events: none;
    }
    .tpl-card:hover .tpl-thumb:not(.has-live) img { transform: scale(1.04); }
    .tpl-cat {
      position: absolute;
      left: 12px;
      top: 12px;
      z-index: 2;
      padding: 6px 10px;
      border-radius: 999px;
      background: #dbeafe;
      color: #1d4ed8;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.02em;
      box-shadow: 0 6px 14px rgba(15, 45, 110, 0.12);
    }
    .tpl-cat.is-beauty { background: #fce7f3; color: #be185d; }
    .tpl-cat.is-build { background: #dbeafe; color: #1d4ed8; }
    .tpl-cat.is-food { background: #ffedd5; color: #c2410c; }
    .tpl-cat.is-law { background: #e0e7ff; color: #3730a3; }
    .tpl-cat.is-medical { background: #ccfbf1; color: #0f766e; }
    .tpl-cat.is-corp { background: #e2e8f0; color: #334155; }
    .tpl-cat.is-it { background: #ede9fe; color: #6d28d9; }
    .tpl-thumb-link {
      display: block;
      position: absolute;
      inset: 0;
      z-index: 1;
    }
    .fav {
      position: absolute;
      right: 12px;
      top: 12px;
      z-index: 3;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      border: 0;
      background: rgba(255, 255, 255, 0.95);
      color: #94a3b8;
      display: grid;
      place-items: center;
      box-shadow: 0 6px 14px rgba(15, 45, 110, 0.12);
      font-size: 14px;
      text-decoration: none;
      line-height: 1;
    }
    .fav:hover { color: #ef4444; }
    .fav.is-on { color: #ef4444; }
    .odm-fav-toast {
      position: fixed;
      left: 50%;
      bottom: 28px;
      transform: translateX(-50%);
      z-index: 100;
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 12px 16px;
      border-radius: 999px;
      background: #0f172a;
      color: #fff;
      box-shadow: 0 14px 30px rgba(15, 23, 42, 0.28);
      font-size: 13px;
      font-weight: 700;
    }
    .odm-fav-toast[hidden] { display: none !important; }
    .odm-fav-toast-undo {
      border: 0;
      background: transparent;
      color: #93c5fd;
      font-weight: 800;
      cursor: pointer;
      padding: 0;
      text-decoration: underline;
    }
    .tpl-card-link .tpl-title {
      margin: 12px 14px 0;
      font-size: 14px;
      font-weight: 800;
      line-height: 1.45;
      min-height: 2.9em;
      color: #0f172a;
    }
    .tpl-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      padding: 10px 14px 14px;
    }
    .tpl-price {
      font-family: Manrope, sans-serif;
      font-weight: 800;
      color: #0f172a;
      font-size: 16px;
      letter-spacing: -0.02em;
    }
    .tpl-preview-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      padding: 8px 12px;
      border-radius: 999px;
      border: 1px solid #bfdbfe;
      background: #fff;
      color: #1d4ed8;
      font-size: 12px;
      font-weight: 800;
      text-decoration: none;
      white-space: nowrap;
      transition: background .15s ease, transform .15s ease;
    }
    .tpl-preview-btn:hover {
      background: #eff6ff;
      transform: translateY(-1px);
    }

    /* Market (1枚目モック: 左フィルタ + 右一覧) */
    .market-section {
      padding-top: 8px;
    }
    .market-layout {
      display: grid;
      grid-template-columns: 280px minmax(0, 1fr);
      gap: 22px;
      align-items: start;
    }
    .filters-card {
      position: sticky;
      top: calc(var(--header-h) + 16px);
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 20px;
      box-shadow: 0 12px 30px rgba(15, 45, 110, 0.06);
      padding: 18px 16px 16px;
    }
    .filters-card-head {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 16px;
      padding-bottom: 12px;
      border-bottom: 1px solid #eef2f7;
    }
    .filters-card-head h2 {
      margin: 0;
      font-size: 16px;
      font-weight: 900;
    }
    .filters-card-icon {
      display: inline-grid;
      place-items: center;
      width: 28px;
      height: 28px;
      border-radius: 8px;
      background: #eff6ff;
      color: #2563eb;
      font-size: 13px;
      line-height: 1;
    }
    .filter-block + .filter-block { margin-top: 18px; }
    .filter-block h3 {
      display: flex;
      align-items: center;
      gap: 8px;
      margin: 0 0 10px;
      font-size: 13px;
      letter-spacing: 0.02em;
      color: #0f172a;
    }
    .filter-block h3 i {
      width: 1.1em;
      color: #64748b;
      font-size: 12px;
      text-align: center;
    }
    .filters-clear i {
      margin-right: 6px;
      font-size: 12px;
    }
    .filter-empty {
      margin: 0;
      font-size: 12px;
      color: #64748b;
      line-height: 1.6;
    }
    .check-list {
      display: grid;
      gap: 8px;
    }
    .check {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      color: #334155;
      cursor: pointer;
    }
    .check input { accent-color: var(--blue-600); }
    .check-label { flex: 1; }
    .count { color: #94a3b8; font-size: 12px; }
    .colors {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .swatch {
      width: 26px;
      height: 26px;
      border-radius: 50%;
      border: 2px solid #fff;
      box-shadow: 0 0 0 1px #cbd5e1;
      padding: 0;
      background: var(--swatch, #94a3b8);
      cursor: pointer;
    }
    .swatch.is-active,
    .swatch[aria-pressed="true"] {
      box-shadow: 0 0 0 2px var(--blue-600);
    }
    .filters-clear {
      margin-top: 18px;
    }

    .catalog-main {
      min-width: 0;
    }
    .catalog-intro h2 {
      margin: 0 0 6px;
      font-size: clamp(22px, 2.4vw, 28px);
      font-weight: 900;
      letter-spacing: -0.03em;
    }
    .catalog-intro p {
      margin: 0 0 16px;
      color: #64748b;
      font-size: 14px;
      line-height: 1.7;
    }
    .catalog-search {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 14px;
      padding: 0 14px;
      height: 48px;
      border: 1px solid #dbe3ef;
      border-radius: 14px;
      background: #fff;
      box-shadow: 0 8px 20px rgba(15, 45, 110, 0.04);
    }
    .catalog-search-icon {
      color: #94a3b8;
      font-size: 18px;
    }
    .catalog-search input {
      flex: 1;
      border: 0;
      outline: none;
      background: transparent;
      font-size: 14px;
      color: #0f172a;
    }
    .catalog-toolbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 14px;
      flex-wrap: wrap;
    }
    .catalog-count {
      font-size: 13px;
      color: #64748b;
      font-weight: 700;
    }
    .catalog-count strong {
      color: #0f172a;
      font-size: 15px;
    }
    .catalog-sort {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 12px;
      font-weight: 700;
      color: #64748b;
    }
    .catalog-sort select {
      border: 1px solid #dbe3ef;
      border-radius: 10px;
      padding: 8px 10px;
      background: #fff;
      font-size: 12px;
      font-weight: 700;
      color: #334155;
    }
    .grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 14px;
      align-items: start;
    }
    .market-empty {
      margin: 8px 0 0;
      color: #64748b;
      font-size: 14px;
    }
    .market-empty.is-hidden,
    .market-empty[hidden] {
      display: none !important;
    }
    .tpl-card.is-filtered-out {
      display: none;
    }

    /* Bottom strip */
    .why {
      margin-top: 28px;
      border-radius: 20px;
      padding: 18px 20px;
      background: linear-gradient(120deg, #0b1b36, #1d4ed8 70%, #2563eb);
      color: white;
      display: grid;
      grid-template-columns: 1.1fr 1fr;
      gap: 18px;
      align-items: center;
      box-shadow: var(--shadow);
    }
    .why h3 { margin: 0 0 10px; font-size: 18px; }
    .why-points {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px 14px;
      font-size: 13px;
    }
    .flow {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 8px;
    }
    .flow-step {
      background: rgba(255, 255, 255, 0.12);
      border: 1px solid rgba(255, 255, 255, 0.18);
      border-radius: 12px;
      padding: 10px;
      text-align: center;
      font-size: 12px;
      font-weight: 700;
    }
    .flow-step span {
      display: block;
      opacity: 0.75;
      font-size: 11px;
      margin-bottom: 4px;
      font-weight: 500;
    }

    .site-footer {
      padding: 28px 0 40px;
      color: var(--muted);
      font-size: 12px;
      text-align: center;
    }

    @keyframes floatIn {
      from { opacity: 0; transform: translateY(16px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @media (max-width: 1100px) {
      .hero-grid { grid-template-columns: 1fr; }
      .hero-visual { min-height: 220px; order: -1; }
      .hero-visual img { max-width: 480px; margin: 0 auto; }
      .hero-bg svg { width: 90%; opacity: 0.4; }
      .hero-points {
        max-width: none;
      }
      .card-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
      .market-layout { grid-template-columns: 240px minmax(0, 1fr); }
      .why { grid-template-columns: 1fr; }
    }
    @media (max-width: 760px) {
      .header-search {
        order: 3;
        flex: 1 1 100%;
        max-width: none;
      }
      .header-inner {
        flex-wrap: wrap;
        height: auto;
        padding-top: 10px;
        padding-bottom: 10px;
        row-gap: 10px;
      }
      .header-actions .icon-btn { display: none; }
      .odm-account-dropdown {
        right: 0;
        left: auto;
        min-width: 168px;
      }
      .card-row, .grid { grid-template-columns: 1fr 1fr; }
      .market-layout { grid-template-columns: 1fr; }
      .filters-card { position: static; }
      .flow { grid-template-columns: 1fr 1fr; }
      .hero { padding-top: 36px; }
    }

/* ========== LP Detail Page ========== */
    .lp-detail-page {
      padding: 24px 0 72px;
      background: #f3f6fb;
    }
    .lp-crumb {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 8px;
      margin-bottom: 18px;
      font-size: 12px;
      color: var(--muted);
      font-weight: 600;
    }
    .lp-crumb a:hover { color: var(--blue-600); }
    .lp-crumb .is-current { color: #334155; }

    .lp-detail-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.75fr);
      gap: 22px;
      align-items: start;
    }
    .lp-detail-primary {
      display: flex;
      flex-direction: column;
      gap: 18px;
      min-width: 0;
    }
    /* スライダー非表示時はサムネ直下のタブ間隔を詰める */
    .lp-detail-grid.is-no-slider .lp-detail-primary {
      gap: 10px;
    }
    .lp-detail-main { min-width: 0; }
    .lp-side-sticky { min-width: 0; }
    .lp-tabs-card { width: 100%; }

    .lp-gallery {
      min-width: 0;
    }
    .lp-gallery.is-single .lp-stage {
      box-shadow: 0 12px 28px rgba(15, 45, 110, 0.08);
    }
    .lp-stage {
      position: relative;
      display: block;
      border-radius: 12px;
      overflow: hidden;
      border: 1px solid #dbeafe;
      background: #0f172a;
      box-shadow: 0 16px 36px rgba(15, 45, 110, 0.1);
      aspect-ratio: 16 / 10;
      color: inherit;
      text-decoration: none;
    }
    .lp-stage-image {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: top center;
      background: #0f172a;
      transition: transform .35s ease;
    }
    .lp-stage-hover {
      position: absolute;
      inset: 0;
      z-index: 3;
      display: grid;
      place-items: center;
      background: rgba(15, 23, 42, 0.42);
      opacity: 0;
      transition: opacity .2s ease;
      pointer-events: none;
    }
    .lp-stage-hover-label {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 12px 18px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.96);
      color: #1d4ed8;
      font-size: 14px;
      font-weight: 800;
      letter-spacing: 0.02em;
      box-shadow: 0 10px 24px rgba(15, 23, 42, 0.2);
    }
    .lp-stage.is-preview-link:hover .lp-stage-hover,
    .lp-stage.is-preview-link:focus-visible .lp-stage-hover {
      opacity: 1;
    }
    .lp-stage.is-preview-link:hover .lp-stage-image,
    .lp-stage.is-preview-link:focus-visible .lp-stage-image {
      transform: scale(1.03);
    }
    .lp-stage-count {
      position: absolute;
      right: 14px;
      bottom: 12px;
      z-index: 2;
      padding: 5px 10px;
      border-radius: 999px;
      background: rgba(15, 23, 42, 0.66);
      color: #fff;
      font-size: 12px;
      font-weight: 800;
      font-family: Manrope, sans-serif;
    }
    .lp-thumbs {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 10px;
      margin-top: 12px;
    }
    .lp-thumb {
      margin: 0;
      padding: 0;
      border: 0;
      background: transparent;
      text-align: left;
      cursor: pointer;
    }
    .lp-thumb-media {
      display: block;
      border-radius: 8px;
      overflow: hidden;
      border: 2px solid #dbeafe;
      background: #fff;
      aspect-ratio: 16 / 10;
    }
    .lp-thumb.is-active .lp-thumb-media {
      border-color: #2563eb;
      box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.18);
    }
    .lp-thumb-media img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: top center;
      pointer-events: none;
    }
    .lp-thumb-label {
      display: block;
      margin-top: 6px;
      color: #64748b;
      font-size: 11px;
      font-weight: 700;
      line-height: 1.35;
    }
    .lp-thumb.is-active .lp-thumb-label { color: #1d4ed8; }

    .lp-side-sticky {
      position: static;
    }
    .lp-side-card {
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 12px;
      box-shadow: 0 16px 40px rgba(15, 45, 110, 0.1);
      padding: 22px;
    }
    .lp-purchase-note {
      margin: 10px 0 0;
      color: #64748b;
      font-size: 12px;
      line-height: 1.6;
      font-weight: 700;
    }
    .lp-side-card .lp-side-section {
      margin-top: 18px;
    }
    .lp-side-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }
    .lp-pill {
      display: inline-flex;
      padding: 6px 12px;
      border-radius: 999px;
      background: #eff6ff;
      color: #1d4ed8;
      font-size: 12px;
      font-weight: 800;
    }
    .lp-pill.is-soft {
      background: #f8fafc;
      color: #475569;
    }
    .lp-side-title {
      margin: 12px 0 10px;
      font-size: clamp(22px, 2.2vw, 28px);
      line-height: 1.35;
      letter-spacing: -0.03em;
      font-weight: 900;
    }
    .lp-side-lead {
      margin: 0 0 14px;
      color: #64748b;
      font-size: 13px;
      line-height: 1.8;
    }
    .lp-side-price {
      margin: 0 0 16px;
      color: #2563eb;
      font-size: 30px;
      font-weight: 900;
      letter-spacing: -0.03em;
      font-family: Manrope, sans-serif;
    }
    .lp-side-price small {
      margin-left: 6px;
      color: #64748b;
      font-size: 13px;
      font-weight: 700;
    }
    .lp-side-actions {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin: 0 0 14px;
    }
    .lp-side-actions .btn-block {
      margin: 0 !important;
    }
    .lp-buy-btn,
    .lp-preview-btn {
      border-radius: 14px !important;
    }
    .lp-buy-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 14px 18px !important;
      font-size: 15px;
    }
    .lp-buy-btn i {
      font-size: 14px;
      line-height: 1;
    }
    .lp-buy-btn:disabled,
    .lp-buy-btn.is-loading {
      opacity: 0.72;
      cursor: not-allowed;
    }
    .odm-checkout-flash {
      margin: 0 0 14px;
      padding: 14px 14px 12px;
      border-radius: 12px;
      border: 1px solid #bfdbfe;
      background: #eff6ff;
      color: #0f172a;
    }
    .odm-checkout-flash.is-cancel {
      border-color: #fecaca;
      background: #fef2f2;
    }
    .odm-checkout-flash p { margin: 8px 0 0; font-size: 13px; line-height: 1.6; }
    .odm-checkout-flash .btn { margin-top: 10px; }

    .odm-download-gate,
    .odm-purchase-complete { padding: 64px 0; }
    .odm-download-card {
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 16px;
      box-shadow: 0 12px 30px rgba(15, 45, 110, 0.06);
      padding: 28px 24px;
    }
    .odm-complete-product {
      margin: 18px 0 8px;
      padding: 14px 16px;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: #f8fafc;
      display: grid;
      gap: 4px;
    }
    .odm-complete-product strong {
      font-size: 15px;
      color: #0f172a;
    }
    .odm-complete-product span {
      font-size: 12px;
      color: #64748b;
    }
    .odm-complete-next {
      margin-top: 20px;
      padding-top: 18px;
      border-top: 1px solid var(--line);
    }
    .odm-complete-next h2 {
      margin: 0 0 8px;
      font-size: 16px;
      font-weight: 800;
      color: #0f172a;
    }
    .odm-complete-next > p {
      margin: 0 0 14px;
      color: #64748b;
      font-size: 14px;
      line-height: 1.7;
    }
    .odm-download-card h1 {
      margin: 0 0 10px;
      font-size: 22px;
      font-weight: 900;
    }
    .odm-download-card > p {
      margin: 0 0 10px;
      color: #64748b;
      font-size: 14px;
      line-height: 1.6;
    }
    .odm-download-ready {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin: 0 0 12px !important;
      color: #15803d !important;
      font-weight: 800 !important;
    }
    .odm-download-product {
      color: #0f172a !important;
      font-weight: 800;
      margin-bottom: 6px !important;
    }
    .odm-download-meta {
      margin-bottom: 18px !important;
      font-size: 12px !important;
    }
    .odm-download-error {
      color: #b91c1c !important;
      background: #fef2f2;
      border: 1px solid #fecaca;
      border-radius: 10px;
      padding: 10px 12px;
      margin-bottom: 14px !important;
    }
    .odm-download-notice {
      color: #1d4ed8 !important;
      background: #eff6ff;
      border: 1px solid #bfdbfe;
      border-radius: 10px;
      padding: 10px 12px;
      margin-bottom: 14px !important;
    }
    .odm-download-help {
      margin-top: 16px !important;
      font-size: 12px !important;
    }
    .odm-download-card .btn { margin-top: 8px; }
    .odm-download-card label {
      display: block;
      margin: 0 0 6px;
      font-size: 13px;
      font-weight: 700;
      color: #334155;
    }
    .odm-download-card input[type="email"],
    .odm-download-card input[type="password"] {
      width: 100%;
      margin-bottom: 14px;
      padding: 12px 14px;
      border: 1px solid #cbd5e1;
      border-radius: 12px;
      font-size: 15px;
    }

    .odm-account-page { padding: 48px 0 72px; }
    .odm-mypage-head {
      display: flex;
      justify-content: space-between;
      gap: 16px;
      align-items: end;
      margin-bottom: 22px;
    }
    .odm-mypage-head h1 {
      margin: 0 0 6px;
      font-size: clamp(24px, 3vw, 32px);
      font-weight: 900;
    }
    .odm-mypage-head p {
      margin: 0;
      color: #64748b;
      font-size: 14px;
    }
    .odm-mypage-user {
      display: flex;
      align-items: center;
      gap: 10px;
      color: #334155;
      font-size: 13px;
      font-weight: 700;
    }
    .odm-mypage-list {
      display: grid;
      gap: 14px;
    }
    .odm-mypage-item {
      display: grid;
      grid-template-columns: 160px minmax(0, 1fr);
      gap: 16px;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 14px;
      box-shadow: 0 10px 24px rgba(15, 45, 110, 0.05);
      padding: 14px;
    }
    .odm-mypage-thumb {
      border-radius: 10px;
      overflow: hidden;
      background: #0f172a;
      aspect-ratio: 16 / 10;
    }
    .odm-mypage-thumb img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: top center;
    }
    .odm-mypage-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 8px 12px;
      margin-bottom: 8px;
      color: #64748b;
      font-size: 12px;
      font-weight: 700;
    }
    .odm-mypage-badge {
      display: inline-flex;
      padding: 3px 8px;
      border-radius: 999px;
      background: #ecfdf5;
      color: #047857;
    }
    .odm-mypage-body h2 {
      margin: 0 0 12px;
      font-size: 18px;
      font-weight: 900;
      line-height: 1.4;
    }
    .odm-mypage-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    @media (max-width: 720px) {
      .odm-mypage-head { flex-direction: column; align-items: start; }
      .odm-mypage-item { grid-template-columns: 1fr; }
    }
    .lp-side-icons {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 8px;
      margin-top: 10px;
    }
    .lp-side-icon {
      display: grid;
      gap: 6px;
      justify-items: center;
      text-align: center;
      padding: 10px 4px;
      border-radius: 12px;
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      color: #334155;
      font-size: 10px;
      font-weight: 800;
      line-height: 1.3;
    }
    .lp-side-icon-mark {
      display: grid;
      place-items: center;
      width: 28px;
      height: 28px;
      color: #334155;
      font-size: 18px;
      line-height: 1;
    }
    .lp-side-icon-mark i { font-size: inherit; }
    .lp-side-section {
      margin-top: 18px;
      padding-top: 16px;
      border-top: 1px solid var(--line);
    }
    .lp-side-section h3 {
      margin: 0 0 12px;
      font-size: 14px;
      font-weight: 800;
      color: #0f172a;
    }
    .lp-feature-list,
    .lp-check-list {
      list-style: none;
      margin: 0;
      padding: 0;
      display: grid;
      gap: 10px;
    }
    .lp-feature-list li,
    .lp-check-list li {
      position: relative;
      padding-left: 22px;
      color: #334155;
      font-size: 13px;
      font-weight: 700;
      line-height: 1.5;
    }
    .lp-feature-list li::before,
    .lp-check-list li::before {
      content: "✓";
      position: absolute;
      left: 0;
      top: 0;
      color: #2563eb;
      font-weight: 900;
    }
    .lp-check-list li::before { color: #16a34a; }
    .lp-check-list.is-wide { max-width: 560px; }

    .lp-tabs-card {
      margin-top: 0;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 20px;
      box-shadow: 0 12px 30px rgba(15, 45, 110, 0.06);
      overflow: hidden;
      width: 100%;
    }
    .lp-tabs {
      display: flex;
      gap: 0;
      overflow-x: auto;
      border-bottom: 1px solid #e2e8f0;
      background: #f8fafc;
    }
    .lp-tab {
      flex: 0 0 auto;
      border: 0;
      background: transparent;
      padding: 14px 18px;
      color: #64748b;
      font-size: 13px;
      font-weight: 800;
      border-bottom: 2px solid transparent;
    }
    .lp-tab.is-active {
      color: #1d4ed8;
      border-bottom-color: #2563eb;
      background: #fff;
    }
    .lp-tab-panels { padding: 22px; }
    .lp-tab-panel[hidden] { display: none; }
    .lp-tab-split {
      display: grid;
      grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
      gap: 24px;
      align-items: start;
    }
    .lp-tab-copy {
      color: #475569;
      font-size: 14px;
      line-height: 1.9;
    }
    .lp-tab-copy p { margin: 0 0 12px; }

    .lp-related {
      margin-top: 42px;
    }
    .lp-related-head {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 16px;
    }
    .lp-related-head h2 {
      margin: 0;
      font-size: 22px;
      letter-spacing: -0.02em;
    }
    .lp-related-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 14px;
      align-items: start;
    }

    @media (max-width: 1100px) {
      .lp-detail-grid {
        grid-template-columns: 1fr;
      }
      /* スマホは従来どおり 画像 → 購入欄 → タブ */
      .lp-detail-primary {
        display: contents;
      }
      .lp-detail-main { order: 1; }
      .lp-side-sticky { order: 2; }
      .lp-tabs-card {
        order: 3;
        margin-top: 4px;
      }
      .lp-detail-grid.is-no-slider .lp-tabs-card {
        margin-top: 0;
      }
      .lp-side-card .lp-side-section {
        margin-top: 18px;
      }
      .lp-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .lp-tab-split { grid-template-columns: 1fr; }
      .lp-thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }
    @media (max-width: 760px) {
      .lp-related-grid { grid-template-columns: 1fr 1fr; }
      .lp-related-head {
        flex-direction: column;
        align-items: start;
      }
      .lp-side-icons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }

/* WordPress nav / logo tweaks */
.nav-links .menu,
.nav-links ul {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links li { margin: 0; }
.nav-links a { color: #334155; font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--blue-600); }
.brand .custom-logo-link { display: inline-flex; align-items: center; }
.brand .custom-logo { height: 34px; width: auto; }
.wp-block-image img { height: auto; max-width: 100%; }

