/* =========================================================
   News Release (v25)
   Shared styles for Index + Detail pages
   ========================================================= */

/* ---------------------------------------------------------
   Page heading (navy title bar)
   --------------------------------------------------------- */
.box_news_mds_i {
  max-width: 724px;
  margin: 0 auto;
  padding: 6px 8px 3px;
  border-bottom: 1px solid #023059;
}

.box_news_mds_i p {
  margin: 0;
  padding: 0;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.45;
  color: #023059;
  position: relative;
  top: 1px;
}


/* =========================================================
   News index: filters
   ========================================================= */

.nr-filters {
  max-width: 724px;
  margin: 16px auto 0;
  padding: 0 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 10px;
}

.nr-filter {
  appearance: none;
  border: 1px solid #cfcfcf;
  background: #fff;
  color: #1a1a1a;
  border-radius: 2px;
  padding: 10px 12px;
  line-height: 1.2;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}

@media (hover:hover) {
  .nr-filter:hover{
    border-color: #9c9c9c;
    background: #fdfdfd;
  }
}

.nr-filter.is-active {
  border-color: #023059;
  background: #f7f8f9;
}


/* ---------------------------------------------------------
   Main content wrapper (Index + Detail)
   --------------------------------------------------------- */
.article {
  max-width: 724px;
  margin: 20px auto 0;
  padding: 0 0 6em 0;
  line-height: 1.6;
  font-size: 13px;
}

.article > div,
.article > p,
.article > section {
  margin-top: 1.6em;
}

.article > :first-child {
  margin-top: 0;
}

.article > .nr-item + .nr-item {
  margin-top: 6em;
}

.nr-item[hidden] {
  display: none !important;
}

/* =========================================================
   Index page (list)
   ========================================================= */

/* Each news item */
.nr-item {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Grey title bar */
.nr-title {
  padding: 10px 12px;
  background: #f7f8f9;
}

.nr-title h2 {
  margin: 0;
  font-family: "montserrat", "source-han-sans-japanese", sans-serif;
  font-weight: 600;
  font-feature-settings: "palt";
  font-size: 14px;
  line-height: 1.7;
}

.nr-title a {
  color: #827a73;
  text-decoration: none;
}

.nr-title a:hover {
  text-decoration: underline;
}

/* Meta line (date + "New!") */
.nr-meta {
  margin: 4px 0 -1px;
  display: flex;
  gap: 10px;
  align-items: baseline;
  flex-wrap: wrap;
}

.nr-date {
  font-size: 11px;
  color: var(--prm-subtext);
}

.nr-new {
  font-size: 10px;
  font-style: italic;
  color: var(--prm-alert);
}

/* Category label line (e.g., "New Product") */
.nr-kicker {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  width: min(98%, 740px);
  margin: 0 auto;
  font-size: 11px;
  line-height: 1.4;
}

.nr-cat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  padding: 2px 6px;
  line-height: 1;
  border-radius: 2px;
  border: 1px solid #023059;
  background: #fff;
  color: #023059;
  letter-spacing: 0.02em;
  font-size: 11px;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Helvetica Neue",
    Arial,
    sans-serif;
  position: relative;
  top: 0;
}

/* iOS Safari optical adjustment for badge vertical alignment */
@supports (-webkit-touch-callout: none) {
  .nr-cat{
    padding-top: 1px;
    padding-bottom: 0px;
  }
}

/* Lower area: thumbnail (left) + lead (right) on desktop */
.nr-lower {
  width: min(98%, 740px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  align-items: start;
}

/* Thumbnail */
.nr-thumb {
  display: block;
  border-radius: 3px;
  overflow: hidden;
  background: #f2f2f2;
}

.nr-thumb img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Lead text */
.nr-lead {
  width: auto;
  margin: 0;
  line-height: 1.8;
  color: #6f6f6f;
}

.nr-lead .brand {
  white-space: normal;
}

.nr-lead .role {
  margin-left: 0.4em;
  font-size: 0.95em;
  color: #666;
}

/* Price list block (for revision pages etc.) */
.nr-price-list {
  margin: 4em 0;
  padding: 1em 1.2em;
  border-left: 3px solid #023059;
  list-style: none;
}

.nr-price-list li {
  line-height: 1.7;
}


/* =========================================================
   Detail: Product blocks
   ========================================================= */
.nr-product {
  max-width: 724px;
  margin: 5.5em auto;
}

.nr-product:first-of-type {
  margin-top: 7em;
}

.nr-product-title {
  margin: 0 0 1.2em;
  padding-bottom: 0.45em;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: #023059;
  border-bottom: 1px solid #023059;
}

/* Two-column layout */
.ctlg_box_detail {
  max-width: 724px;
  margin: 1.2em auto 0;
  display: flex;
  gap: 36px;
  align-items: flex-start;
}

.ctlg_box_detail_left {
  flex: 0 0 320px;
}

.ctlg_box_detail_right {
  flex: 1 1 auto;
  min-width: 0;
}

/* Product images (caption overlay) */
.pic.mjns {
  position: relative;
  margin: 0 0 22px;
}

.pic.mjns img {
  display: block;
  width: 100%;
  height: auto;
}

.pic.mjns p {
  position: absolute;
  right: 10px;
  bottom: 10px;
  margin: 0;
  padding: 6px 10px 4px;
  font-size: 12px;
  line-height: 1.4;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

/* Specs (grid) */
.desc {
  display: grid;
  grid-template-columns: 7em 1fr;
  column-gap: 18px;
  align-items: start;
  border-top: 1px solid #e6e6e6;
  padding-top: 14px;
}

.inline-block_left_c {
  grid-column: 1;
  font-weight: 600;
  white-space: nowrap;
  color: #555;
}

.inline-block_right {
  grid-column: 2;
  min-width: 0;
}

.desc .line {
  grid-column: 1 / -1;
  height: 0;
  margin: 14px 0;
  border-top: 1px solid #e6e6e6;
  font-size: 0;
  line-height: 0;
}

.nowrap {
  white-space: nowrap;
}


/* =========================================================
   News Release table
   ========================================================= */
.nr-table-wrap {
  margin: 18px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.nr-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
  line-height: 1.6;
}

.nr-table-caption {
  text-align: left;
  font-weight: 600;
  margin: 30px 0 10px;
}

/* Table head */
.nr-table thead th {
  text-align: left;
  font-weight: 700;
  padding: 12px 12px;
  border-top: 1px solid #d8d8d8;
  border-bottom: 1px solid #d8d8d8;
  background: #f7f7f7;
  white-space: nowrap;
}

/* Table body */
.nr-table tbody td {
  padding: 12px 12px;
  border-bottom: 1px solid #e3e3e3;
  vertical-align: top;
}

.nr-table td:nth-child(3),
.nr-table td:nth-child(4) {
  text-align: right;
  white-space: nowrap;
}

.nr-table td.is-num {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.nr-table td:first-child,
.nr-table th:first-child {
  white-space: nowrap;
}

.nr-table tbody tr:hover td {
  background: #fafafa;
}


/* =========================================================
   Detail: Sections (Website link / Related link / Assets)
   ========================================================= */
.nr-section-title {
  margin: 4em 0 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}

.nr-website {
  margin-top: 5em;
}

.nr-website-text {
  margin: 0 0 0.6em;
  line-height: 1.8;
}

.nr-website-link {
  margin: 0;
  line-height: 1.8;
}

.nr-website-link a,
.nr-movie-link a {
  word-break: break-all;
}

.nr-movie-link {
  margin: 0.8em 0 0 0;
  line-height: 1.8;
}

/* Subtle variant (price revision pages etc.) */
.nr-website--subtle {
  margin-top: 0;
  padding-top: 1.2em;
  border-top: 1px solid #eee;
}

.nr-section-title--subtle {
  margin: 0 0 0.6em;
  font-size: 1rem;
  font-weight: 600;
  color: #444;
}

.nr-website--subtle .nr-website-text {
  margin: 0.2em 0 0.6em;
  color: #666;
  font-size: 0.95em;
}

.nr-website--subtle .nr-website-link a {
  font-size: 0.95em;
  opacity: 0.9;
}

/* Assets section (rules + hashtags) */
.nr-assets-lead {
  margin: 0 0 1.6em;
  line-height: 1.8;
}

.nr-assets-subtitle {
  font-weight: 600;
}

.nr-assets-block {
  margin: 0 0 1.6em;
}

.nr-assets-h {
  margin: 0 0 0.6em;
  font-size: 14px;
  font-weight: 600;
}

.nr-assets-list {
  margin: 0;
  padding-left: 1.4em;
  line-height: 1.8;
}

.nr-assets-list li {
  margin: 0.5em 0;
}

.nr-hashtags {
  margin: 0.6em 0 0;
  padding-left: 0;
  list-style: none;
  line-height: 1.9;
}

.nr-hashtags li {
  margin: 0;
}

.nr-assets-note {
  margin: 0.8em 0 0;
  line-height: 1.8;
}

.nr-assets-foot {
  margin: 2em 0 0;
  line-height: 1.8;
}


/* =========================================================
   Detail: Action buttons (download)
   ========================================================= */
.nr-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5em 0 1.5em;
  gap: 3em;
}

.nr-actions--compact {
  padding: 3em 0 3.5em;
  gap: 2em;
}

.button_dl {
  margin: 0;
  text-align: center;
}

.button_dl a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 auto;
  max-width: 220px;
  padding: 14px 30px;
  background: #f0f0f0;
  border-radius: 3px;
  color: #494949;
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s ease-in-out;
}

/* Button frame decoration */
.button_dl a::before {
  content: "";
  position: absolute;
  bottom: -7px;
  right: -7px;
  width: 100%;
  height: 2px;
  background-color: #a9a9a9;
  transition: 0.2s ease 0s;
}

.button_dl a::after {
  content: "";
  position: absolute;
  top: 7px;
  right: -7px;
  width: 2px;
  height: 100%;
  background-color: #a9a9a9;
  transition: 0.2s ease 0.2s;
}

.button_dl a:hover::before {
  width: 0%;
}

.button_dl a:hover::after {
  height: 0%;
}

.button_dl a:hover {
  background-color: #e2e2e2;
  text-decoration: none;
}


/* =========================================================
   Notes (legal / labeling notes)
   ========================================================= */
.nr-retail-note {
  font-size: 0.95em;
  color: #555;
  margin-top: 1em;
}

.nr-pdf-note {
  font-size: 12px;
  color: #666;
  text-align: center;
  margin: 0 0 1em;
}

.nr-note {
  margin-top: 1.2em;
  padding-top: 1em;
  border-top: 1px solid #ddd;
  font-size: 0.78rem;
  color: #666;
  line-height: 1.7;
}

.nr-note + .nr-note {
  padding-top: 0;
  border-top: none;
}

.nr-note:first-of-type {
  margin-top: 3em;
}


/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 768px) {

  /* Product blocks stack */
  .ctlg_box_detail {
    flex-direction: column;
    gap: 18px;
  }

  .ctlg_box_detail_left,
  .ctlg_box_detail_right {
    width: 100%;
  }

  /* Specs label/value become vertical */
  .inline-block_left_c,
  .inline-block_right {
    display: block;
    width: 100%;
  }

  .inline-block_left_c {
    margin-bottom: 6px;
  }

  /* Index: stack thumbnail + lead on mobile */
  .nr-item {
    gap: 12px;
  }

  .nr-lower {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .nr-thumb {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
  }

  .nr-title {
    padding: 10px;
  }

  .nr-note {
    font-size: 0.85rem;
  }
}