:root {
  --blue: #1a73e8;
  --blue-dark: #1557b0;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --bg: #f8fafc;
  --card: #ffffff;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 4px 16px rgba(16, 24, 40, 0.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(26, 115, 232, 0.08), transparent 60%),
    radial-gradient(900px 400px at 100% 0%, rgba(26, 115, 232, 0.05), transparent 55%),
    var(--bg);
  min-height: 100vh;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.55rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.brand-logo,
.brand-logo-jp {
  height: 64px !important;
  max-height: 64px !important;
  width: auto !important;
  display: block;
  object-fit: contain;
}

.brand-and {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1c499e;
  line-height: 1;
  user-select: none;
}

.nav {
  display: flex;
  gap: 1.5rem;
  margin-left: auto;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

.nav a:hover,
.nav a.active { color: var(--text); }

.nav a.active { font-weight: 600; }

.btn-quote {
  background: var(--blue);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.btn-quote:hover { background: var(--blue-dark); }

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: #fff;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  font-size: 1.2rem;
  cursor: pointer;
}

.page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2.25rem 1.5rem 4rem;
}

.page-intro {
  margin-bottom: 1.5rem;
}

.page-intro h1 {
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.page-intro p {
  color: var(--muted);
  max-width: 40rem;
  font-size: 0.98rem;
}

.toolbar {
  margin-bottom: 1.75rem;
}

.toolbar input {
  width: min(420px, 100%);
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
  background: #fff;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.toolbar input:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
}

.product-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.product-group--dual {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.product-group--single {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 1.15rem;
}

.product-block {
  animation: fadeUp 0.35s ease both;
}

.product-block--single .report-grid {
  grid-template-columns: 1fr;
}


@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.product-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
  letter-spacing: -0.02em;
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.report-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.report-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(16, 24, 40, 0.1);
}

.report-thumb {
  display: block;
  background: #f3f4f6;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  cursor: zoom-in;
  border: none;
  padding: 0;
  width: 100%;
}

.report-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.35s ease;
}

.report-card:hover .report-thumb img {
  transform: scale(1.03);
}

.report-body {
  padding: 1rem 1.05rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.report-type {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.report-name {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.meta {
  margin-top: 0.25rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.meta-row {
  display: flex;
  gap: 0.5rem;
  padding: 0.15rem 0;
}

.meta-row span:first-child {
  min-width: 3.6rem;
}

.meta-row strong {
  color: var(--text);
  font-weight: 600;
}

.verify {
  margin-top: auto;
  padding-top: 0.75rem;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.verify:hover { text-decoration: underline; }

.empty {
  text-align: center;
  color: var(--muted);
  padding: 3rem 1rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 1.25rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox[hidden] { display: none; }

.lightbox img {
  max-width: min(920px, 100%);
  max-height: 92vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  background: #fff;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  font-size: 1.6rem;
  line-height: 1;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  font-size: 2rem;
  line-height: 1;
}

.lightbox-nav.prev { left: 1rem; }
.lightbox-nav.next { right: 1rem; }

.lightbox-close:hover,
.lightbox-nav:hover { background: rgba(255, 255, 255, 0.22); }

@media (max-width: 860px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.25rem 1.25rem;
    gap: 0.85rem;
  }
  .nav-toggle { display: inline-grid; place-items: center; margin-left: auto; }
  .btn-quote { display: none; }
  .report-grid { grid-template-columns: 1fr; }
  .product-group--single { grid-template-columns: 1fr; }
}

@media (min-width: 1100px) {
  .product-group--dual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
  }
  .product-group--single {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .product-block { display: flex; flex-direction: column; }
}

.brand-logo-jp, .brand-logo { height: 64px !important; max-height: 64px !important; width: auto !important; }
