@charset "UTF-8";

/* ---- ???? ---- */

#product_single {
  --section-color: var(--medix-blue-deep);
  --line-color: var(--medix-blue-deep);
}

#product_single .product_detail {
  margin-top: 0;
}

#product_single .product_detail_tags {
  gap: 0.5em;
  margin: 0 0 0.85em;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}

#product_single .product_tag {
  display: inline-block;
  padding: 0.25em 0.75em;
  font-size: 0.8em;
  color: #fff;
  background: var(--medix-blue-mid);
}

#product_single .product_detail_summary {
  gap: 2em;
  margin-top: 1.5em;
}

#product_single .product_detail_visual {
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 42%;
  flex: 0 0 42%;
  max-width: 42%;
}

#product_single .product_detail_intro {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  flex: 1;
  min-width: 0;
}

#product_single .product_detail_bullets {
  margin: 0 0 1em;
  padding-left: 1.2em;
  line-height: 1.8;
}

#product_single .product_detail_bullets li:not(:last-child) {
  margin-bottom: 0.6em;
}

#product_single .product_detail_spec_table thead th {
  background: #8094DD;
  /* フォールバック */
  background: var(--medix-blue-deep, #8094DD);
  color: #fff;
  border-color: #8094DD;
  border-color: var(--medix-blue-deep, #8094DD);
}

#product_single .product_detail_spec_table thead th:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.75);
}

#product_single .product_detail_cta {
  margin-top: 3em;
  text-align: center;
}

#product_single .product_detail_cta_btn {
  display: inline-block;
  min-width: min(100%, 520px);
  padding: 1.1em 2em;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--medix-blue-mid), var(--medix-blue-deep));
  color: #fff;
  font-size: 1.15em;
  font-weight: 700;
  text-align: center;
  border: none;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.4;
}

#product_single .product_detail_cta_btn+.product_detail_cta_btn,
#product_single .product_detail_cta_note+.product_detail_cta_btn {
  margin-top: 1em;
}

#product_single .product_detail_cta_btn_secondary {
  background: #fff;
  color: var(--medix-blue-deep, #8094DD);
  border: 2px solid var(--medix-blue-deep, #8094DD);
}

#product_single .product_detail_cta_btn:hover {
  opacity: 0.92;
  color: #fff;
}

#product_single .product_detail_cta_btn_secondary:hover {
  color: var(--medix-blue-deep, #8094DD);
  background: #f3f8fc;
}

#product_single .product_detail_catalog_mail.is_sending {
  opacity: 0.75;
  cursor: wait;
}

#product_single .product_detail_catalog_mail.is_sent {
  background: linear-gradient(90deg, #2a7a4b, #1f5f3a);
}

#product_single .product_detail_cta_note {
  margin: 0.85em 0 0;
  font-size: 0.9em;
  color: #666;
}

#product_single .product_detail_cta_note.is_error {
  color: #b00020;
}

#product_single .product_related_list {
  --num: 3;
  --gap: 1.5em;
  gap: var(--gap);
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-align-items: stretch;
  align-items: stretch;
}

#product_single .product_related_item {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  width: calc((100% - var(--gap) * (var(--num) - 1)) / var(--num));
  min-width: 0;
}

#product_single .product_related_link {
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 auto;
  flex: 1 1 auto;
  -webkit-flex-direction: column;
  flex-direction: column;
  width: 100%;
  min-height: 100%;
  background: #fff;
  color: inherit;
  text-decoration: none;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
  box-shadow: var(--medix-card-shadow, 0 3px 12px rgba(0, 0, 0, 0.06));
  -webkit-transition: -webkit-box-shadow 0.3s ease;
  transition: box-shadow 0.3s ease;
}

#product_single .product_related_item:hover .product_related_link,
#product_single .product_related_item:focus-within .product_related_link {
  -webkit-box-shadow: 0 10px 28px rgba(128, 148, 221, 0.28);
  box-shadow: var(--medix-card-shadow-hover, 0 10px 28px rgba(128, 148, 221, 0.28));
}

#product_single .product_related_link .img_box {
  position: relative;
  display: block;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
  aspect-ratio: 4 / 3;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  overflow: hidden;
}

#product_single .product_related_link .img_box img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: -webkit-transform 0.35s ease;
  transition: transform 0.35s ease;
}

#product_single .product_related_item:hover .product_related_link .img_box img,
#product_single .product_related_item:focus-within .product_related_link .img_box img {
  -webkit-transform: scale(1.06);
  transform: scale(1.06);
}

#product_single .product_related_link .img_placeholder {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background: #eef3f9;
  font-family: var(--font-futura-pt);
  font-size: 0.95em;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #9aa8bc;
}

#product_single .product_related_body {
  display: block;
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 1em 1em 2.75em;
  font-size: 0.875em;
}

#product_single .product_related_title {
  display: block;
  margin: 0;
  font-size: 1.05em;
  font-weight: 700;
  line-height: 1.5;
  color: #8094dd;
  color: var(--medix-blue-deep);
}

#product_single .product_related_more {
  position: absolute;
  right: 0.75em;
  bottom: 0.75em;
  left: auto;
  display: inline-block;
  margin: 0;
  padding: 0.45em 1.1em;
  font-family: var(--font-futura-pt);
  font-size: 0.85em;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.4;
  color: #e86162;
  color: var(--medix-footer-accent);
  background: transparent;
  border-radius: 2px;
  text-align: right;
  -webkit-transition: color 0.25s ease, background-color 0.25s ease;
  transition: color 0.25s ease, background-color 0.25s ease;
}

#product_single .product_related_item:hover .product_related_more,
#product_single .product_related_item:focus-within .product_related_more {
  color: #fff;
  background: #e86162;
  background: var(--medix-footer-accent);
}

#product_single .product_detail_main {
  position: relative;
  margin: 0;
  background: #f5f7fa;
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

#product_single .product_detail_main img,
#product_single .product_detail_main .img_placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

#product_single .product_detail_main .img_placeholder {
  background: linear-gradient(135deg, #eef2f7, #dfe7f1);
}

#product_single .product_detail_main_caption {
  position: absolute;
  top: 0.75em;
  right: 0.75em;
  z-index: 2;
  max-width: min(70%, 18em);
  margin: 0;
  padding: 0.35em 0.7em;
  border-radius: 4px;
  background: rgba(26, 74, 122, 0.88);
  background: color-mix(in srgb, var(--medix-blue-deep, #8094DD) 88%, transparent);
  color: #fff;
  font-size: 0.82em;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-align: left;
  pointer-events: none;
}

#product_single .product_detail_main_caption.is_empty,
#product_single .product_detail_main_caption:empty {
  display: none;
}

#product_single .product_detail_gallery {
  gap: 0.75em;
  margin-top: 1em;
  flex-wrap: wrap;
}

#product_single .product_detail_gallery li {
  width: calc(25% - 0.75em);
}

#product_single .product_detail_gallery_btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  outline: none;
  background: #111;
  cursor: pointer;
  overflow: hidden;
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
}

#product_single .product_detail_gallery_btn::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.48);
  pointer-events: none;
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
}

#product_single .product_detail_gallery_btn.is_active::after {
  opacity: 0;
}

#product_single .product_detail_gallery_btn img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

#product_single .product_detail_status,
#product_single .product_badge_list.is_single .product_badge {
  display: inline-block;
  margin: 0;
  padding: 0.45em 1em;
  font-size: 1em;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
  background: #E86162;
  background: var(--medix-footer-accent, #E86162);
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}

#product_single .product_badge_list.is_single .product_badge.is_new {
  font-family: var(--font-futura-pt);
  font-size: 1.1em;
  letter-spacing: 0.14em;
}

#product_single .product_catch_overlay_tl .product_badge_list.is_single {
  margin: 0 0 0.4em;
}

#product_single .product_catch_overlay_tl .product_badge {
  text-shadow: none;
}

#product_single .product_detail_title {
  margin: 0 0 0.5em;
  font-size: 1.6em;
  line-height: 1.5;
  color: var(--medix-blue-deep);
}

#product_single .product_detail_code,
#product_single .product_detail_meta {
  margin: 0 0 0.75em;
  font-size: 0.95em;
  color: #5a6472;
  line-height: 1.7;
  word-break: break-all;
}

#product_single .product_detail_size_nav {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 0.5em;
  margin: 0 0 1.25em;
}

#product_single .product_detail_size_btn {
  min-width: 5.5em;
  padding: 0.65em 1em;
  border: 1px solid var(--medix-blue-mid, #9CB3E4);
  background: #fff;
  color: var(--medix-blue-deep, #8094DD);
  font-weight: 700;
  line-height: 100%;
  cursor: pointer;
  -webkit-transition: background 0.2s ease, color 0.2s ease;
  transition: background 0.2s ease, color 0.2s ease;
}

#product_single .product_detail_size_btn.is_active,
#product_single .product_detail_size_btn:hover {
  background: var(--medix-blue-mid, #9CB3E4);
  color: #fff;
}

#product_single .product_detail_var_view[hidden],
#product_single .product_detail_spec_panel[hidden] {
  display: none !important;
}

#product_single .product_detail_specs .product_detail_section_title {
  margin-bottom: 0.75em;
}

#product_single .product_detail_specs .product_detail_size_nav {
  margin: 0 0 1.25em;
}

#product_single .product_detail.has_catch_hero .product_detail_var_view .product_desc_figure {
  margin-top: 0;
  margin-bottom: 1em;
}

#product_single .product_catch_body > .product_detail_var_view {
  margin: 0;
}

#product_single .product_catch_body > .product_detail_var_view .product_detail_desc {
  margin-bottom: 0;
}

#product_single .product_detail_spec_sub {
  margin: 0 0 0.6em;
  font-size: 0.92em;
  font-weight: 700;
  color: var(--medix-blue-deep, #8094DD);
}

#product_single .product_detail_spec_common_wrap {
  margin-bottom: 1.5em;
}

#product_single .product_detail_spec_matrix_block {
  margin-top: 0.25em;
}

#product_single .product_detail_spec_matrix_wrap {
  margin-top: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

#product_single .product_detail_spec_matrix {
  width: max-content;
  min-width: 100%;
  table-layout: auto;
}

#product_single .product_detail_spec_matrix thead th,
#product_single .product_detail_spec_matrix tbody th,
#product_single .product_detail_spec_matrix td {
  width: auto;
  min-width: 9em;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
}

#product_single .product_detail_spec_matrix thead th:first-child,
#product_single .product_detail_spec_matrix tbody th[scope="row"] {
  min-width: 6.5em;
  max-width: none;
  position: -webkit-sticky;
  position: sticky;
  left: 0;
  z-index: 1;
  box-shadow: 1px 0 0 #dbe3ee;
}

#product_single .product_detail_spec_matrix thead th:first-child {
  z-index: 2;
  background: #8094DD;
  background: var(--medix-blue-deep, #8094DD);
}

#product_single .product_detail_spec_matrix tbody th[scope="row"] {
  background: #f5f7fa;
}

/* ScrollHint 見た目調整 */
#product_single .scroll-hint-icon-wrap {
  z-index: 3;
}

#product_single .scroll-hint-text {
  font-size: 0.85em;
  letter-spacing: 0.04em;
}

#product_single .product_detail_spec_table_wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

#product_single .product_detail_variations {
  margin-top: 2.5em;
}

#product_single .product_detail_variation_list {
  margin: 0;
  padding: 0;
  list-style: none;
}

#product_single .product_detail_variation_item {
  padding: 1em 1.2em;
  border: 1px solid #d7dee8;
  background: #f7fafc;
}

#product_single .product_detail_variation_item:not(:last-child) {
  margin-bottom: 0.75em;
}

#product_single .product_detail_variation_head {
  gap: 1em;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}

#product_single .product_detail_variation_name {
  font-weight: 700;
  color: var(--medix-blue-deep);
}

#product_single .product_detail_variation_code {
  font-size: 0.92em;
  color: #5a6472;
}

#product_single .product_detail_variation_desc {
  margin: 0.6em 0 0;
  line-height: 1.7;
  color: #445;
}

#product_single .product_detail_catch {
  margin: 0 0 1em;
  font-size: 1.15em;
  font-weight: 700;
  color: var(--medix-blue-deep);
}

#product_single .product_detail_desc {
  margin: 0 0 1.5em;
  line-height: 1.9;
}

#product_single .product_desc_figure {
  display: block;
  max-width: 100%;
  margin: 0 0 1em;
}

#product_single .product_desc_figure img {
  display: block;
  width: 100%;
  height: auto;
}

#product_single .product_desc_figure.size_l {
  width: 100%;
  max-width: 100%;
}

#product_single .product_desc_figure.size_m {
  width: 70%;
  max-width: 640px;
}

#product_single .product_desc_figure.size_s {
  width: 42%;
  max-width: 400px;
}

#product_single .product_desc_figure.align_left,
#product_single .product_catch_body .product_desc_figure.align_left,
#product_single .product_detail.has_catch_hero .product_detail_var_view .product_desc_figure.align_left {
  margin-left: 0;
  margin-right: auto;
}

#product_single .product_desc_figure.align_center,
#product_single .product_catch_body .product_desc_figure.align_center,
#product_single .product_detail.has_catch_hero .product_detail_var_view .product_desc_figure.align_center {
  margin-left: auto;
  margin-right: auto;
}

#product_single .product_catch_body .product_desc_figure {
  margin-bottom: 1em;
}

#product_single .product_detail_actions {
  gap: 1em;
  flex-wrap: wrap;
}

#product_single .product_detail_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3em;
  padding: 0.75em 1.5em;
  font-size: 0.95em;
  text-decoration: none;
  border: 2px solid var(--medix-blue-deep);
  color: var(--medix-blue-deep);
  background: #fff;
  transition: background 0.2s ease, color 0.2s ease;
}

#product_single .product_detail_btn:hover {
  color: #fff;
  background: var(--medix-blue-deep);
}

#product_single .product_detail_btn_contact {
  border-color: var(--medix-footer-accent);
  color: var(--medix-footer-accent);
}

#product_single .product_detail_btn_contact:hover {
  background: var(--medix-footer-accent);
  color: #fff;
}

#product_single .product_detail_section {
  margin-top: 3em;
  padding: 3em 0 0;
  border-top: 1px solid var(--medix-blue-deep);
}

#product_single .product_detail_section_title {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  gap: 0.45em;
  margin: 0 0 1.25em;
  padding: 0;
  text-align: left;
  font-size: 1.25em;
  font-weight: 700;
  color: var(--medix-blue-deep);
  line-height: 1.4;
}

#product_single .product_detail_section_title .section_label {
  display: block;
  min-width: 0;
  color: #8094dd;
  color: var(--medix-blue-deep);
}

#product_single .product_detail_section_title .pink_deco {
  display: block;
  width: 1em;
  height: 1em;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
  line-height: 0;
  pointer-events: none;
}

#product_single .product_detail_section_title .pink_deco svg {
  display: block;
  width: 100%;
  height: 100%;
}

#product_single .product_detail_section_title .pink_deco svg path {
  stroke: #e86162;
  stroke: var(--medix-footer-accent, #e86162);
  stroke-width: 28px;
}

#product_single .product_detail_point_list {
  display: grid;
  gap: 1.25em;
}

#product_single .product_detail_point_item {
  padding: 1.25em 1.5em;
  background: #f8fafc;
  border-left: 4px solid var(--medix-footer-accent);
}

#product_single .product_detail_point_title {
  margin: 0 0 0.55em;
  padding: 0 0 0.4em;
  font-family: "Noto Serif JP", var(--font-system-serif);
  font-size: clamp(1.15em, 1.9vw, 1.4em);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: #3453C3; /* フォールバック */
  color: var(--medix-title-en, #3453C3);
  border-bottom: 1px solid #d5dde8;
}

#product_single .product_detail_point_body {
  margin: 0;
  line-height: 1.8;
}

#product_single .product_detail_point_figure {
  display: block;
  max-width: 100%;
  margin: 0.85em 0 0;
}

#product_single .product_detail_point_images.is_stack .product_detail_point_figure:first-child {
  margin-top: 0.85em;
}

#product_single .product_detail_point_images.is_stack .product_detail_point_figure + .product_detail_point_figure {
  margin-top: 0.75em;
}

#product_single .product_detail_point_figure img {
  display: block;
  width: 100%;
  height: auto;
}

#product_single .product_detail_point_figure.size_l {
  width: 100%;
  max-width: 100%;
}

#product_single .product_detail_point_figure.size_m {
  width: 70%;
  max-width: 640px;
}

#product_single .product_detail_point_figure.size_s {
  width: 42%;
  max-width: 400px;
}

#product_single .product_detail_point_figure.align_left {
  margin-left: 0;
  margin-right: auto;
}

#product_single .product_detail_point_figure.align_center {
  margin-left: auto;
  margin-right: auto;
}

#product_single .product_detail_point_images.is_row {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 0.75em;
  margin: 0.85em 0 0;
  max-width: 100%;
}

#product_single .product_detail_point_images.is_row.size_l {
  width: 100%;
  max-width: 100%;
}

#product_single .product_detail_point_images.is_row.size_m {
  width: 70%;
  max-width: 640px;
}

#product_single .product_detail_point_images.is_row.size_s {
  width: 42%;
  max-width: 400px;
}

#product_single .product_detail_point_images.is_row.align_left {
  margin-left: 0;
  margin-right: auto;
}

#product_single .product_detail_point_images.is_row.align_center {
  margin-left: auto;
  margin-right: auto;
}

#product_single .product_detail_point_images.is_row .product_detail_point_figure {
  margin: 0;
  width: auto;
  max-width: none;
  min-width: 0;
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 calc(50% - 0.4em);
  flex: 1 1 calc(50% - 0.4em);
  -webkit-align-self: center;
  align-self: center;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
}

#product_single .product_detail_point_images.is_row.count_3 .product_detail_point_figure {
  -webkit-flex-basis: calc(33.333% - 0.55em);
  flex-basis: calc(33.333% - 0.55em);
}

#product_single .product_detail_point_images.is_row.count_4 .product_detail_point_figure,
#product_single .product_detail_point_images.is_row.count_5 .product_detail_point_figure,
#product_single .product_detail_point_images.is_row.count_6 .product_detail_point_figure {
  -webkit-flex-basis: calc(25% - 0.6em);
  flex-basis: calc(25% - 0.6em);
}

#product_single .product_detail_spec_table_wrap {
  overflow-x: auto;
}

#product_single .product_detail_spec_table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  border: 1px solid #dbe3ee;
}

#product_single .product_detail_spec_table th,
#product_single .product_detail_spec_table td {
  padding: 0.7em 1em;
  border: 1px solid #dbe3ee;
  border-top: 0;
  border-left: 0;
  vertical-align: middle;
  line-height: 1.6;
  word-break: normal;
  overflow-wrap: break-word;
}

#product_single .product_detail_spec_table tr>*:first-child {
  border-left: 1px solid #dbe3ee;
}

#product_single .product_detail_spec_table thead th {
  width: auto;
  border-top: 1px solid #8094DD;
  border-top-color: var(--medix-blue-deep, #8094DD);
  border-bottom-color: #8094DD;
  border-bottom-color: var(--medix-blue-deep, #8094DD);
}

#product_single .product_detail_spec_table thead th:first-child {
  border-left-color: #8094DD;
  border-left-color: var(--medix-blue-deep, #8094DD);
}

#product_single .product_detail_spec_table thead th:last-child {
  border-right-color: #8094DD;
  border-right-color: var(--medix-blue-deep, #8094DD);
}

#product_single .product_detail_spec_table th[scope="row"],
#product_single .product_detail_spec_table tbody th {
  width: 32%;
  max-width: 12em;
  background: #f5f7fa;
  color: #8094DD;
  /* フォールバック */
  color: var(--medix-blue-deep, #8094DD);
  text-align: left;
  white-space: normal;
}

#product_single .product_detail_spec_table td {
  width: auto;
  background: #fff;
  color: #333;
}

/* 比較表は固定レイアウトを外し、列を広げて横スクロール */
#product_single .product_detail_spec_matrix.product_detail_spec_table {
  table-layout: auto;
  width: max-content;
  min-width: 100%;
}

#product_single .product_detail_spec_matrix.product_detail_spec_table th[scope="row"],
#product_single .product_detail_spec_matrix.product_detail_spec_table tbody th {
  width: auto;
  max-width: none;
  white-space: nowrap;
}

#product_single .product_detail_spec_image img {
  display: block;
  max-width: 100%;
  height: auto;
}

#product_single .product_detail_note {
  line-height: 1.8;
  color: #4a5568;
}

#product_single .product_detail_video_wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
}

#product_single .product_detail_video_wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

#product_single .product_detail_var_list {
  gap: 1.5em;
  flex-wrap: wrap;
}

#product_single .product_detail_var_item {
  width: calc(33.333% - 1em);
  border: 1px solid #e2e8f0;
  background: #fff;
}

#product_single .product_detail_var_img img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

#product_single .product_detail_var_body {
  padding: 1em;
}

#product_single .product_detail_var_name {
  margin: 0 0 0.35em;
  font-size: 1em;
  color: var(--medix-blue-deep);
}

#product_single .product_detail_var_code {
  margin: 0 0 0.5em;
  font-size: 0.85em;
  color: #5a6472;
}

#product_single .product_detail_var_desc {
  margin: 0;
  font-size: 0.92em;
  line-height: 1.7;
}

#product_single .product_detail>.back {
  margin: 2.5em 0 0;
  text-align: center;
}

@media screen and (max-width: 1024px) {
  #product_single .contents {
    -webkit-flex-direction: column;
    flex-direction: column;
  }

  #product_single .contents>.side,
  #product_single .contents>.main {
    width: 100%;
  }

  #product_single .contents>.side {
    position: static;
    margin-bottom: 2.5em;
  }

  #product_single .product_detail_summary {
    -webkit-flex-direction: column;
    flex-direction: column;
    gap: 1.5em;
  }

  #product_single .product_detail_visual,
  #product_single .product_detail_intro {
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    flex: 1 1 auto;
    max-width: 100%;
    width: 100%;
  }

  #product_single .product_detail_var_item {
    width: calc(50% - 0.75em);
  }

  #product_single .product_related_list {
    --num: 2;
  }
}

@media screen and (max-width: 768px) {
  #product_single .product_detail_title {
    font-size: 1.35em;
  }

  #product_single .product_desc_figure.size_m {
    width: 85%;
    max-width: 100%;
  }

  #product_single .product_desc_figure.size_s {
    width: 62%;
    max-width: 100%;
  }

  #product_single .product_detail_catch {
    font-size: 1.05em;
  }

  #product_single .product_detail_section {
    margin-top: 2.25em;
    padding-top: 2em;
  }

  #product_single .product_detail_section_title {
    font-size: 1.1em;
    margin-bottom: 1em;
  }

  #product_single .product_detail_point_item {
    padding: 1em 1.1em;
  }

  #product_single .product_detail_point_figure.size_m,
  #product_single .product_detail_point_images.is_row.size_m {
    width: 85%;
    max-width: 100%;
  }

  #product_single .product_detail_point_figure.size_s,
  #product_single .product_detail_point_images.is_row.size_s {
    width: 62%;
    max-width: 100%;
  }

  #product_single .product_detail_point_images.is_row.count_3 .product_detail_point_figure,
  #product_single .product_detail_point_images.is_row.count_4 .product_detail_point_figure,
  #product_single .product_detail_point_images.is_row.count_5 .product_detail_point_figure,
  #product_single .product_detail_point_images.is_row.count_6 .product_detail_point_figure {
    -webkit-flex-basis: calc(50% - 0.4em);
    flex-basis: calc(50% - 0.4em);
  }

  #product_single .product_detail_gallery {
    gap: 0.5em;
  }

  #product_single .product_detail_gallery li {
    width: calc(25% - 0.4em);
  }

  #product_single .product_detail_spec_table th,
  #product_single .product_detail_spec_table td {
    padding: 0.7em 0.75em;
    font-size: 0.92em;
  }

  #product_single .product_detail_spec_table th {
    width: auto;
    white-space: normal;
  }

  #product_single .product_detail_cta {
    margin-top: 2.25em;
  }

  #product_single .product_detail_cta_btn {
    width: 100%;
    min-width: 0;
    padding: 1em 1.25em;
    font-size: 1.05em;
  }

  #product_single .product_detail_actions {
    gap: 0.75em;
  }

  #product_single .product_detail_btn {
    width: 100%;
  }

  #product_single .product_related_body {
    padding: 0.85em 0.85em 2.5em;
  }

  #product_single .product_detail>.back {
    margin-top: 2em;
  }
}

/* ---- キャッチヒーロー構成 ---- */
#product_single .product_detail.has_catch_hero .product_detail_tags {
  margin-bottom: 1em;
}

#product_single .product_catch_hero {
  margin: 0;
}

#product_single .product_catch_visual {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #111;
}

#product_single .product_catch_visual .product_catch_bg,
#product_single .product_catch_visual .product_catch_fg {
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* 背景 hero.jpg … 通常フローで幅・高さの基準（実寸比率） */
#product_single .product_catch_visual .product_catch_bg {
  display: block;
  width: 100%;
  height: auto;
}

/* キャッチ画像 … 右寄せ・高さフル */
#product_single .product_catch_visual .product_catch_fg {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: right center;
}

#product_single .product_catch_overlay {
  position: absolute;
  z-index: 2;
  margin: 0;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

#product_single .product_catch_overlay_tl {
  top: 1.25em;
  left: 1.25em;
  right: 30%;
  max-width: 70%;
}

#product_single .product_catch_name {
  margin: 0 0 0.25em;
  font-size: clamp(1.35em, 2.9vw, 2.15em);
  font-weight: 700;
  line-height: 1.35;
  opacity: 0.9;
  mix-blend-mode: plus-lighter;
}

#product_single .product_catch_name.is_long {
  font-size: clamp(1.25em, 2.55vw, 1.9em);
}

#product_single .product_catch_name.is_xlong {
  font-size: clamp(1.15em, 2.3vw, 1.7em);
}

#product_single .product_catch_code {
  font-size: 0.9em;
  line-height: 1.4;
  opacity: 0.9;
  mix-blend-mode: plus-lighter;
}

#product_single .product_catch_overlay_br {
  bottom: -0.25em;
  right: -0.25em;
  left: 22%;
  max-width: 78%;
  text-align: right;
  font-family: "Noto Serif JP", var(--font-system-serif);
  font-size: clamp(1.4em, 4vw, 5em);
  line-height: 1.35;
  font-weight: 600;
  opacity: 0.5;
  mix-blend-mode: plus-lighter;
  overflow-wrap: anywhere;
  word-break: normal;
}

/* 長いキャッチは初期サイズをやや抑え、JS で収める（過度に小さくしない） */
#product_single .product_catch_copy.is_long {
  font-size: clamp(1.35em, 3.5vw, 3.9em);
}

#product_single .product_catch_copy.is_xlong {
  font-size: clamp(1.25em, 3.1vw, 3.3em);
}

#product_single .product_catch_tabs {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 0.6em;
  margin-top: 0.85em;
}

#product_single .product_catch_tab {
  width: 4.5em;
  height: 4.5em;
  padding: 0;
  border: 2px solid transparent;
  background: #f0f0f0;
  cursor: pointer;
  overflow: hidden;
}

#product_single .product_catch_tab.is_active {
  border-color: var(--medix-blue-deep, #8094DD);
}

#product_single .product_catch_tab_thumb,
#product_single .product_catch_tab_thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#product_single .product_catch_body {
  margin: 0 0 2em;
  padding: 1.5em 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

#product_single .product_catch_body>* {
  margin: 0 0 2em;
}

#product_single .product_catch_body>*:last-child {
  margin: 0;
}

#product_single .product_catch_body .product_detail_catch,
#product_single .product_catch_body .product_detail_title {
  margin: 0 0 0.75em;
  font-size: 1.35em;
  font-weight: 700;
  color: var(--medix-blue-deep, #8094DD);
  line-height: 1.45;
}

#product_single .product_catch_body>.product_detail_catch:last-child,
#product_single .product_catch_body>.product_detail_title:last-child {
  margin: 0;
}

#product_single .product_catch_slider {
  position: relative;
  margin: 0 0 2.5em;
}

#product_single .product_catch_swiper {
  overflow: hidden;
  padding-bottom: 2.5em;
}

#product_single .product_catch_slide_fig {
  margin: 0;
  background: #fff;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

#product_single .product_catch_slide_fig img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#product_single .product_catch_swiper .swiper-button-prev,
#product_single .product_catch_swiper .swiper-button-next {
  color: var(--medix-blue-deep, #8094DD);
  width: 2.2em;
  height: 2.2em;
}

#product_single .product_catch_swiper .swiper-button-prev::after,
#product_single .product_catch_swiper .swiper-button-next::after {
  font-size: 1.1em;
  font-weight: 700;
}

#product_single .product_catch_swiper .swiper-pagination-bullet {
  background: #9aa8b8;
  opacity: 1;
}

#product_single .product_catch_swiper .swiper-pagination-bullet-active {
  background: var(--medix-blue-deep, #8094DD);
}

@media screen and (max-width: 768px) {
  #product_single .product_catch_overlay_tl {
    top: 0.85em;
    left: 0.85em;
    right: 22%;
    max-width: none;
  }

  #product_single .product_catch_name {
    font-size: clamp(1.2em, 4.5vw, 1.65em);
  }

  #product_single .product_catch_name.is_long {
    font-size: clamp(1.1em, 4.1vw, 1.5em);
  }

  #product_single .product_catch_name.is_xlong {
    font-size: clamp(1.05em, 3.8vw, 1.35em);
  }

  #product_single .product_catch_overlay_br {
    right: 0.85em;
    bottom: 0.85em;
    left: 18%;
    max-width: none;
  }

  #product_single .product_catch_copy.is_long {
    font-size: clamp(1.2em, 4.8vw, 2.35em);
  }

  #product_single .product_catch_copy.is_xlong {
    font-size: clamp(1.1em, 4.2vw, 2em);
  }

  #product_single .product_catch_tab {
    width: 3.6em;
    height: 3.6em;
  }
}

@media screen and (max-width: 480px) {
  #product_single .product_detail_gallery li {
    width: calc(33.333% - 0.35em);
  }

  #product_single .product_detail_var_item {
    width: 100%;
  }

  #product_single .product_related_list {
    --num: 1;
    --gap: 1.25em;
  }
}

/* ---- ストーリー（Mr.CHEESECAKE __detail / __story 参考：左画像・右テキスト） ---- */

#product_single .product_story {
  margin: 2.5em 0 0;
  padding: 2.5em 0 1em;
  border-top: 1px solid #e2e8f0;
}

#product_single .product_story_inner {
  max-width: 920px;
  margin: 0 auto;
}

#product_single .product_story_lead {
  margin: 0 0 2em;
  text-align: center;
  font-family: "Noto Serif JP", var(--font-system-serif);
  font-size: clamp(1.25em, 2.4vw, 1.75em);
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--medix-blue-deep, #8094DD);
}

#product_single .product_story_block {
  margin: 0 0 2.75em;
}

#product_single .product_story_block:last-child {
  margin-bottom: 0;
}

#product_single .product_story_heading {
  margin: 0 0 1.1em;
  text-align: center;
  font-size: clamp(1.1em, 1.8vw, 1.35em);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--medix-blue-deep, #8094DD);
}

#product_single .product_story_row {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: flex-start;
  align-items: flex-start;
  gap: 1.25em 1.75em;
}

#product_single .product_story_figure {
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 46%;
  flex: 0 0 46%;
  max-width: 46%;
  margin: 0;
  overflow: hidden;
  background: #fff;
}

#product_single .product_story_figure img {
  display: block;
  width: 100%;
  height: auto;
}

#product_single .product_story_body {
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 0;
  flex: 1 1 0;
  min-width: 0;
}

#product_single .product_story_text {
  margin: 0;
  font-size: 0.98em;
  line-height: 1.9;
  letter-spacing: 0.03em;
  color: #2d3748;
}

#product_single .product_story_text p {
  margin: 0 0 1em;
}

#product_single .product_story_text p:last-child {
  margin-bottom: 0;
}

#product_single .product_story_intro .product_story_text {
  font-size: 1em;
}

#product_single .product_story_intro .product_story_figure.is_stack {
  position: relative;
  background: #e8eef5;
  aspect-ratio: 4 / 3;
}

#product_single .product_story_intro .product_story_figure.is_stack>img,
#product_single .product_story_point .product_story_figure:not(.is_stack):not(.is_empty)>img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

#product_single .product_story_intro .product_story_figure:not(.is_stack) {
  position: relative;
  background: transparent;
}

#product_single .product_story_intro .product_story_figure:not(.is_stack)>img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* ---- ストーリーポイント（intro 以外） ---- */
#product_single .product_story_point {
  margin: 0 0 1.25em;
  padding: 1.15em 1.2em 1.2em;
  background: #fff;
  border: 1px solid #e2e8f0;
  -webkit-box-shadow: 0 2px 14px rgba(0, 0, 0, 0.04);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.04);
}

#product_single .product_story_point .product_story_heading {
  margin: 0 0 0.9em;
  padding: 0.05em 0 0.45em 0.7em;
  text-align: left;
  font-family: "Noto Serif JP", var(--font-system-serif);
  font-size: clamp(1.28em, 2.4vw, 1.7em);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: #3453C3; /* フォールバック */
  color: var(--medix-title-en, #3453C3);
  border-left: 4px solid #e86162;
  border-left-color: var(--medix-footer-accent, #e86162);
  border-bottom: 1px solid #d5dde8;
}

#product_single .product_story_point .product_story_figure {
  position: relative;
  background: transparent;
}

#product_single .product_story_point .product_story_figure.is_stack {
  background: #e8eef5;
  aspect-ratio: 4 / 3;
}

#product_single .product_story_point .product_story_figure:not(.is_stack):not(.is_empty) img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

#product_single .product_story_point .product_story_figure.is_empty {
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 36%;
  flex: 0 0 36%;
  max-width: 36%;
  height: 8.5em;
  overflow: hidden;
  background: #e8eef5;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
}

#product_single .product_story_point .product_story_figure.is_empty .img_placeholder {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  background: linear-gradient(135deg, #eef2f7, #d5dee8);
  font-family: var(--font-futura-pt, sans-serif);
  font-size: 0.95em;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #6b7785;
}

#product_single .product_story_point .product_story_body {
  padding-top: 0;
}

/* ストーリー専用：ギャラリー画像の重ねカード（通常ギャラリーUIとは別） */
#product_single .product_story_figure.is_stack {
  cursor: pointer;
  overflow: visible;
  -webkit-user-select: none;
  user-select: none;
}

#product_single .product_story_stack {
  position: relative;
  width: 100%;
  height: 100%;
}

#product_single .product_story_stack_item {
  position: absolute;
  inset: 3% 4% 6% 4%;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(26, 74, 122, 0.12);
  -webkit-box-shadow: 0 8px 22px rgba(26, 74, 122, 0.12);
  box-shadow: 0 8px 22px rgba(26, 74, 122, 0.12);
  opacity: 0;
  pointer-events: none;
  -webkit-transform: rotate(-4deg) scale(0.94);
  transform: rotate(-4deg) scale(0.94);
  -webkit-transition: opacity 0.35s ease, -webkit-transform 0.35s ease;
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: 1;
}

#product_single .product_story_stack_item.is_active {
  opacity: 1;
  pointer-events: auto;
  -webkit-transform: rotate(0deg) scale(1);
  transform: rotate(0deg) scale(1);
  z-index: 4;
}

#product_single .product_story_stack_item.is_behind {
  opacity: 0.7;
  z-index: 3;
  -webkit-transform: rotate(5deg) translate(12px, 10px) scale(0.96);
  transform: rotate(5deg) translate(12px, 10px) scale(0.96);
}

#product_single .product_story_stack_item.is_deep {
  opacity: 0.4;
  z-index: 2;
  -webkit-transform: rotate(-6deg) translate(-10px, 14px) scale(0.92);
  transform: rotate(-6deg) translate(-10px, 14px) scale(0.92);
}

#product_single .product_story_stack_item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  -webkit-user-drag: none;
  background: #fff;
}

#product_single .product_story_stack_ui {
  position: absolute;
  left: 0.75em;
  right: 0.75em;
  bottom: 0.55em;
  z-index: 5;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  pointer-events: none;
}

#product_single .product_story_stack_index {
  font-family: "Noto Serif JP", var(--font-system-serif);
  font-size: 0.85em;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--medix-blue-deep, #8094DD);
  background: rgba(255, 255, 255, 0.88);
  padding: 0.2em 0.55em;
}

#product_single .product_story_stack_hint {
  font-size: 0.72em;
  letter-spacing: 0.08em;
  color: #5a6472;
  background: rgba(255, 255, 255, 0.8);
  padding: 0.2em 0.5em;
}

@media screen and (max-width: 768px) {
  #product_single .product_story {
    margin-top: 1.75em;
    padding-top: 1.75em;
  }

  #product_single .product_story_block {
    margin-bottom: 2.25em;
  }

  #product_single .product_story_inner {
    max-width: none;
  }

  #product_single .product_story_row {
    -webkit-flex-direction: column;
    flex-direction: column;
  }

  #product_single .product_story_figure {
    -webkit-flex: none;
    flex: none;
    max-width: none;
    width: 100%;
  }

  #product_single .product_story_point {
    padding: 1em 1em 1.05em;
  }

  #product_single .product_story_point .product_story_figure.is_empty {
    -webkit-flex: none;
    flex: none;
    max-width: none;
    width: 100%;
    height: 6.5em;
  }
}
