@charset "UTF-8";

body {
  background: #f5f6f8;
}

/*------------------------------------------------------------

プロダクション詳細

------------------------------------------------------------*/
.record-renewal {
  --main: #111827;
  --sub: #5b6472;
  --muted: #7b8492;
  --line: #e6e8ee;
  --bg: #f7f8fb;
  --card: #ffffff;
  --accent: #1f2937;
  --accent2: #d94b4b;
  --accent-soft: #fff3f3;
  --shadow: 0 14px 36px rgba(17, 24, 39, 0.06);
  --shadow-soft: 0 8px 22px rgba(17, 24, 39, 0.045);

  color: var(--main);
  line-height: 1.85;
  font-size: 16px;
  background: #f5f6f8;
  border-radius: 26px;
}

.record-renewal * {
  box-sizing: border-box;
}

.record-renewal a {
  color: inherit;
  text-decoration: none;
}

.record-renewal a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =========================
   Hero
========================= */

.record-renewal .rr-hero {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  padding: 46px 36px;
  background:
    radial-gradient(circle at top right, rgba(217, 75, 75, 0.16), transparent 34%),
    radial-gradient(circle at bottom left, rgba(148, 163, 184, 0.18), transparent 36%),
    linear-gradient(135deg, #1f2937 0%, #111827 54%, #0b1120 100%);
  color: #fff;
  margin-bottom: 30px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
}

.record-renewal .rr-hero::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.record-renewal .rr-label-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.record-renewal .rr-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
}

.record-renewal .rr-label-success {
  background: rgba(34, 197, 94, 0.18);
  color: #dcfce7;
  border-color: rgba(187, 247, 208, 0.2);
}

.record-renewal .rr-label-neutral {
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.88);
}

.record-renewal .rr-title,
#about .record-renewal .rr-title {
  position: relative;
  z-index: 1;
  font-size: clamp(29px, 4vw, 42px) !important;
  line-height: 1.34;
  margin: 0 0 16px;
  letter-spacing: 0.025em;
  color: #fff;
  font-weight: 800;
}

.record-renewal .rr-lead {
  position: relative;
  z-index: 1;
  max-width: 780px;
  font-size: 17px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.86);
  margin: 0 0 24px;
}

/* =========================
   Buttons
========================= */

.record-renewal .rr-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.record-renewal .rr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 19px;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.4;
  transition:
    transform 0.18s ease,
    opacity 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
}

.record-renewal .rr-btn-primary {
  background: #fff;
  color: #111827;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
}

.record-renewal .rr-btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.record-renewal .rr-btn:hover {
  transform: translateY(-1px);
  opacity: 0.92;
  text-decoration: none;
}

/* =========================
   Summary
========================= */

.record-renewal .rr-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: -6px 0 34px;
}

.record-renewal .rr-summary-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.record-renewal .rr-summary-item span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 5px;
  letter-spacing: 0.03em;
}

.record-renewal .rr-summary-item strong {
  display: block;
  font-size: 18px;
  line-height: 1.55;
  color: var(--main);
}

/* =========================
   Sections / Cards
========================= */

.record-renewal .rr-section {
  margin: 24px 0;
  padding: 30px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.record-renewal .rr-section-title {
  position: relative;
  font-size: 25px;
  line-height: 1.45;
  margin: 0 0 18px;
  padding-bottom: 12px;
  letter-spacing: 0.02em;
}

.record-renewal .rr-section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 3px;
  border-radius: 999px;
  background: var(--accent2);
}

.record-renewal .rr-section-lead {
  color: var(--sub);
  margin: 0 0 22px;
}

.record-renewal .rr-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 23px;
  box-shadow: 0 5px 16px rgba(17, 24, 39, 0.035);
}

.record-renewal .rr-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.record-renewal .rr-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.record-renewal .rr-mini-title {
  font-size: 18px;
  line-height: 1.5;
  margin: 0 0 11px;
  letter-spacing: 0.02em;
}

.record-renewal .rr-list {
  padding-left: 1.2em;
  margin: 0;
}

.record-renewal .rr-list li + li {
  margin-top: 8px;
}

/* =========================
   Tags / Points
========================= */

.record-renewal .rr-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.record-renewal .rr-tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid var(--line);
  color: #334155;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
}

.record-renewal .rr-point {
  border-left: 4px solid var(--accent2);
  background: var(--accent-soft);
  padding: 18px 20px;
  border-radius: 18px;
  margin: 24px 0;
  color: #3f2323;
}

/* =========================
   Table
========================= */

.record-renewal .rr-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  margin-bottom: 24px;
  box-shadow: 0 5px 16px rgba(17, 24, 39, 0.03);
}

.record-renewal .rr-table th,
.record-renewal .rr-table td {
  padding: 15px 17px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.record-renewal .rr-table th {
  width: 28%;
  background: #f8fafc;
  text-align: left;
  color: #374151;
  font-weight: 800;
  white-space: nowrap;
}

.record-renewal .rr-table td {
  color: #1f2937;
}

.record-renewal .rr-table tr:last-child th,
.record-renewal .rr-table tr:last-child td {
  border-bottom: none;
}

.record-renewal .rr-table a {
  color: #1d4ed8;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* =========================
   CTA
========================= */

.record-renewal .rr-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(217, 75, 75, 0.15), transparent 34%),
    linear-gradient(135deg, #1f2937, #0f172a);
  color: #fff;
  border-radius: 26px;
  padding: 34px;
  margin: 42px 0;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
}

.record-renewal .rr-cta h2 {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.45;
  letter-spacing: 0.02em;
}

.record-renewal .rr-cta p {
  color: rgba(255, 255, 255, 0.84);
  margin: 0 0 22px;
}

/* =========================
   Notes / FAQ
========================= */

.record-renewal .rr-note {
  font-size: 14px;
  line-height: 1.8;
  color: var(--sub);
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 18px;
}

.record-renewal details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 4px 14px rgba(17, 24, 39, 0.03);
}

.record-renewal details + details {
  margin-top: 12px;
}

.record-renewal summary {
  cursor: pointer;
  font-weight: 800;
}

.record-renewal details p {
  margin: 12px 0 0;
  color: var(--sub);
}

/* =========================
   Responsive
========================= */

@media (max-width: 900px) {
  .record-renewal .rr-summary,
  .record-renewal .rr-grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .record-renewal .rr-grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .record-renewal {
    padding: 12px;
    border-radius: 20px;
  }

  .record-renewal .rr-hero,
  .record-renewal .rr-cta {
    padding: 30px 21px;
    border-radius: 22px;
  }

  .record-renewal .rr-title,
  #about .record-renewal .rr-title {
    font-size: 28px !important;
  }

  .record-renewal .rr-lead {
    font-size: 15.5px;
  }

  .record-renewal .rr-actions {
    gap: 10px;
  }

  .record-renewal .rr-btn {
    width: 100%;
    min-height: 46px;
  }

  .record-renewal .rr-section {
    padding: 22px 20px;
    border-radius: 20px;
  }

  .record-renewal .rr-section-title {
    font-size: 22px;
  }

  .record-renewal .rr-summary,
  .record-renewal .rr-grid-3 {
    grid-template-columns: 1fr;
  }

  .record-renewal .rr-summary-item,
  .record-renewal .rr-card {
    border-radius: 18px;
  }

  .record-renewal .rr-table {
    border-radius: 18px;
  }

  .record-renewal .rr-table th,
  .record-renewal .rr-table td {
    display: block;
    width: 100%;
  }

  .record-renewal .rr-table th {
    border-bottom: none;
    padding-bottom: 6px;
  }

  .record-renewal .rr-table td {
    padding-top: 6px;
  }
}



/*------------------------------------------------------------

プロダクション一覧

------------------------------------------------------------*/

/* =========================
   Filter Buttons
========================= */

.record_btn {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.record_btn li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.record_btn li a {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;

  min-height: 38px;
  padding: 9px 13px 9px 15px;
  border-radius: 999px;

  background: #ffffff;
  border: 1px solid #e4e7ee;
  color: #263243;

  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;

  box-shadow: 0 5px 14px rgba(17, 24, 39, 0.035);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease,
    color 0.18s ease;
}

.record_btn li a::after {
  content: "\f105";
  font-family: "Font Awesome 5 Pro";
  font-size: 13px;
  font-weight: 300;
  line-height: 1;
  margin-left: 2px;
  color: #9ca3af;
  transition: transform 0.18s ease, color 0.18s ease;
}

.record_btn li a:hover {
  opacity: 1;
  transform: translateY(-1px);
  border-color: #cfd5df;
  background: #f9fafb;
  color: #111827;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.07);
}

.record_btn li a:hover::after {
  transform: translateX(2px);
  color: #d94b4b;
}

/* =========================
   Card List
========================= */

.list1 {
  display: grid;
  gap: 14px;
}

.list1 article {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e6e8ee;
  border-radius: 20px;
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.045);
  margin-bottom: 0;
  padding: 18px;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.list1 article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #d94b4b, #1f2937);
  opacity: 0;
  transition: opacity 0.18s ease;
}

body.mobile article {
  transition-property: box-shadow;
}

.list1 article:hover {
  transform: translateY(-2px);
  border-color: #d9dee8;
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.09);
}

.list1 article:hover::before {
  opacity: 1;
}

.list1 a {
  position: relative;
  z-index: 1;
  color: #111827;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  text-decoration: none;
}

.list1 a:hover {
  text-decoration: none;
}

.list1_img {
  width: 34%;
  overflow: hidden;
  border-radius: 16px;
  background: #f3f4f6;
}

.list1_img img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.24s ease;
}

.list1 article:hover .list1_img img {
  transform: scale(1.025);
}

.list1_info {
  width: calc(66% - 18px);
  min-width: 0;
}

.list1_ttl {
  position: relative;
  display: inline;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
  color: #111827;
}

.list1_ttl::after {
  content: "\f105";
  font-family: "Font Awesome 5 Pro";
  font-size: 14px;
  font-weight: 300;
  margin-left: 7px;
  color: #d94b4b;
}

.list1_txt {
  color: #5b6472;
  font-size: 14px;
  line-height: 1.75;
  margin: 9px 0 12px;
}

.list1_sub {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  color: #7b8492;
  font-size: 12px;
  line-height: 1.5;
}

.list1_sub span {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  color: #4b5563;
}

/* =========================
   Production List Sections
========================= */

.record_list {
  margin-top: 26px;
}

.record_list > div {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e6e8ee;
  border-radius: 24px;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.055);
  margin-bottom: 22px;
  padding: clamp(22px, 4vw, 36px);
}

.record_list > div::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1f2937, #d94b4b);
  opacity: 0.88;
}

.record_list h2 {
  position: relative;
  border-bottom: none;
  color: #111827;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.45;
  margin: 0 0 18px;
  padding: 0 0 13px;
  letter-spacing: 0.03em;
}

.record_list h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42px;
  height: 3px;
  border-radius: 999px;
  background: #d94b4b;
}

.record_list ul {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.record_list ul li {
  position: relative;
  list-style: none;
  border-bottom: 1px solid #edf0f5;
  padding: 15px 0 15px 20px;
}

.record_list ul li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.record_list ul li::before {
  content: "";
  position: absolute;
  top: 1.65em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #d94b4b;
  box-shadow: 0 0 0 4px #fff3f3;
}

.record_list ul li::marker {
  content: "";
}

.record_list a {
  position: relative;
  display: inline;
  color: #111827;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.55;
  text-decoration: none;
  margin-bottom: 5px;
  transition: color 0.18s ease;
}

.record_list a::after {
  content: "\f105";
  font-family: "Font Awesome 5 Pro";
  font-size: 13px;
  font-weight: 300;
  margin-left: 7px;
  color: #b8c0cc;
  transition:
    color 0.18s ease,
    transform 0.18s ease;
}

.record_list a:hover {
  color: #d94b4b;
  text-decoration: none;
}

.record_list a:hover::after {
  color: #d94b4b;
}

.record_list ul li span.text {
  display: block;
  color: #5b6472;
  font-size: 13.5px;
  line-height: 1.75;
  margin-top: 5px;
}

/* 説明文が空の項目で余白が出すぎないように */
.record_list ul li span.text:empty {
  display: none;
}

/* =========================
   Desktop refinement
========================= */

@media only screen and (min-width: 1025px) {
  .list1 {
    gap: 16px;
  }

  .list1 article {
    margin-bottom: 0;
    padding: 20px;
  }

  .record_list ul {
    grid-template-columns: 1fr 1fr;
    column-gap: 28px;
  }

  .record_list ul li:nth-last-child(2) {
    border-bottom: none;
  }
}

/* =========================
   Responsive
========================= */

@media only screen and (max-width: 768px) {
  .record_btn {
    gap: 8px;
    margin-bottom: 20px;
  }

  .record_btn li a {
    min-height: 36px;
    padding: 8px 12px;
    font-size: 13px;
  }

  .list1 article {
    border-radius: 18px;
    padding: 16px;
  }

  .list1 a {
    gap: 13px;
  }

  .list1_img {
    width: 100%;
    border-radius: 14px;
  }

  .list1_info {
    width: 100%;
  }

  .list1_ttl {
    font-size: 17px;
  }

  .record_list {
    margin-top: 22px;
  }

  .record_list > div {
    border-radius: 20px;
    margin-bottom: 18px;
    padding: 22px 20px;
  }

  .record_list h2 {
    font-size: 21px;
  }

  .record_list ul li {
    padding: 14px 0 14px 19px;
  }

  .record_list a {
    font-size: 15.5px;
  }

  .record_list ul li span.text {
    font-size: 13px;
  }
}

@media only screen and (max-width: 480px) {
  .record_btn {
    gap: 7px;
  }

  .record_btn li a {
    font-size: 12.5px;
    padding: 8px 11px;
  }

  .record_list > div {
    padding: 20px 18px;
  }

  .record_list h2 {
    font-size: 20px;
  }
}




/*------------------------------------------------------------

　　プロダクションカテゴリ別一覧

------------------------------------------------------------*/

.ma-record-archive {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 20px 60px;
}

/* ---------- ヒーロー ---------- */

.ma-record-hero {
  margin-bottom: 22px;
}

.ma-record-hero-inner {
  padding: 30px 30px 28px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
}

.ma-record-hero-kicker {
  margin: 0 0 8px;
  color: #2563eb;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ma-record-hero-title {
  margin: 0 0 12px;
  color: #111827;
  font-size: 32px;
  font-weight: 850;
  line-height: 1.45;
}

.ma-record-hero-description {
  margin: 0;
  color: #475569;
  font-size: 15px;
  line-height: 1.95;
}

.ma-record-hero-description p {
  margin: 0;
}

/* ---------- カテゴリナビ ---------- */

.ma-record-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 30px;
}

.ma-record-category-nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  color: #334155;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.4;
  text-decoration: none;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.ma-record-category-nav-link:hover {
  background: #e8f1ff;
  border-color: #bfdbfe;
  color: #1e4f8f;
  text-decoration: none;
}

.ma-record-category-nav-link.is-current {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}

/* ---------- 一覧ヘッダー ---------- */

.ma-record-list-section {
  margin-top: 28px;
}

.ma-record-list-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.ma-record-list-title {
  margin: 0;
  color: #111827;
  font-size: 23px;
  font-weight: 850;
  line-height: 1.5;
}

.ma-record-list-count {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  font-weight: 700;
}

/* ---------- カードグリッド ---------- */

.ma-record-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

/* ---------- カード ---------- */

.ma-record-card {
  min-width: 0;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 5px 18px rgba(15, 23, 42, 0.06);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.ma-record-card:hover {
  transform: translateY(-3px);
  border-color: #bfdbfe;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.11);
}

.ma-record-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.ma-record-card-link:hover {
  color: inherit;
  text-decoration: none;
}

.ma-record-card-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 0;
  background: #f1f5f9;
  overflow: hidden;
}

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

.ma-record-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px;
}

.ma-record-card-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 13px;
}

.ma-record-label {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.ma-record-label-type {
  background: #f1f5f9;
  color: #334155;
}

.ma-record-label-status.is-open {
  background: #e8f1ff;
  color: #1e4f8f;
}

.ma-record-label-status.is-closed {
  background: #f3f4f6;
  color: #6b7280;
}

.ma-record-label-status.is-checking {
  background: #fff7ed;
  color: #9a3412;
}

.ma-record-card-title {
  margin: 0 0 10px;
  color: #111827;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.55;
}

.ma-record-card-lead {
  margin: 0 0 15px;
  color: #475569;
  font-size: 14px;
  line-height: 1.85;
}

/* ---------- 主な対象タグ ---------- */

.ma-record-target-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 16px;
}

.ma-record-target-tags span {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 9px;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

/* ---------- メタ情報 ---------- */

.ma-record-card-meta {
  margin: auto 0 0;
  padding: 14px 0 0;
  border-top: 1px solid #eef2f7;
}

.ma-record-card-meta div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 13px;
  line-height: 1.5;
}

.ma-record-card-meta div:last-child {
  margin-bottom: 0;
}

.ma-record-card-meta dt {
  flex: 0 0 auto;
  color: #64748b;
  font-weight: 800;
}

.ma-record-card-meta dd {
  margin: 0;
  color: #334155;
  font-weight: 800;
  text-align: right;
}

/* ---------- 詳細リンク ---------- */

.ma-record-card-more {
  margin-top: 18px;
}

.ma-record-card-more span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #2563eb;
  font-size: 14px;
  font-weight: 850;
}

.ma-record-card-more span::after {
  content: "→";
  font-size: 15px;
  transform: translateY(-1px);
}

/* ---------- ページネーション ---------- */

.ma-record-pagination {
  margin-top: 36px;
}

.ma-record-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.ma-record-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  color: #334155;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.ma-record-pagination .page-numbers.current {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}

.ma-record-pagination .page-numbers:hover {
  background: #e8f1ff;
  border-color: #bfdbfe;
  color: #1e4f8f;
  text-decoration: none;
}

/* ---------- 空表示 ---------- */

.ma-record-empty {
  margin-top: 28px;
  padding: 26px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
}

.ma-record-empty h2 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 20px;
  font-weight: 850;
}

.ma-record-empty p {
  margin: 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.8;
}

/* ---------- タブレット ---------- */

@media (max-width: 1024px) {
  .ma-record-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- スマホ ---------- */

@media (max-width: 640px) {
  .ma-record-archive {
    padding: 24px 16px 46px;
  }

  .ma-record-hero-inner {
    padding: 20px 16px;
    border-radius: 17px;
  }

  .ma-record-hero-title {
    font-size: 24px;
  }

  .ma-record-hero-description {
    font-size: 14px;
  }

  .ma-record-category-nav {
    gap: 8px;
    margin-bottom: 24px;
  }

  .ma-record-category-nav-link {
    min-height: 34px;
    padding: 7px 11px;
    font-size: 13px;
  }

  .ma-record-list-head {
    display: block;
    margin-bottom: 15px;
  }

  .ma-record-list-title {
    font-size: 20px;
  }

  .ma-record-list-count {
    margin-top: 4px;
  }

  .ma-record-card-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .ma-record-card {
    border-radius: 15px;
  }

  .ma-record-card-body {
    padding: 17px;
  }

  .ma-record-card-title {
    font-size: 17px;
  }

  .ma-record-card-meta div {
    display: block;
  }

  .ma-record-card-meta dt {
    margin-bottom: 3px;
  }

  .ma-record-card-meta dd {
    text-align: left;
  }
}
/* =========================================
   プロダクションカテゴリ別一覧：カードリンク装飾リセット
========================================= */
.ma-record-category-nav-link {
  text-decoration: none !important;
}
.ma-record-card-link,
.ma-record-card-link:hover,
.ma-record-card-link:focus,
.ma-record-card-link:visited {
  color: inherit;
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

/* カード内のタイトル・文章にテーマ側の下線が出る場合の保険 */
.ma-record-card-link *,
.ma-record-card-link:hover *,
.ma-record-card-link:focus * {
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

