@charset "UTF-8";

/**************************** top（親 #top からの結合セレクタで記述） ****************************/

section {
  margin: var(--section-margin) 0;
}

/* 画像未配置時も白一色にならないようフォールバック背景 */
#top {
  position: relative;
  padding: 0;
  margin-top: 0;
  /* section の上余白を打ち消し：ヘッダーをヒーロー画像の上に重ねる */
}

#top .base {
  display: block;
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  object-fit: cover;
}


#top .logo {
  height: 60%;
  /* load 安定まで非表示（Vivus 準備中のちらつき防止） */
  opacity: 0;
  mix-blend-mode: overlay;
}

#top .logo.is_ready {
  opacity: 1;
}

#top .text {
  height: auto;
  /* ロゴマーク中央の横線より下へ */
  -webkit-transform: translate(-50%, calc(-50% + 3.2vh));
  transform: translate(-50%, calc(-50% + 3.2vh));
  opacity: 0;
  color: #fff;
  font-size: 2.6vh;
  -webkit-transition: opacity 0.9s ease;
  transition: opacity 0.9s ease;
}

#top .text.is_shown {
  opacity: 1;
}

#top .text .futura_alpha {
  gap: 0.18em;
  -webkit-filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

#top .text .futura_alpha .futura_alpha_letter,
#top .text .futura_alpha .futura_alpha_letter svg {
  height: 1em;
}

#top .text .futura_alpha .futura_alpha_space {
  width: 0.55em;
  height: 1em;
}

#top .logo svg,
#top .text svg {
  height: 100%;
  display: block;
}

#top .logo svg {
  overflow: visible;
}

#top .logo svg path {
  fill: none;
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-miterlimit: 10;
}

#top .text .futura_alpha .futura_alpha_letter svg {
  width: auto;
  height: 1em;
  max-width: none;
  max-height: none;
}

#top .text .futura_alpha .futura_alpha_letter svg path {
  fill: currentColor;
  stroke: none;
}

#top .scroll_hint {}

#top .scroll_hint span {}

/**************************** about ****************************/
#about {}

#about .inner>*:not(:last-child) {
  margin: 0 auto 6rem;
}

#about .logo img {
  display: block;
  width: 100%;
  max-width: 450px;
  height: auto;
  margin: auto;
}

#about h2 {
  font-size: clamp(2em, 5vw, 3em);
}

#about h3 {
  font-size: 1.5em;
}

#about .inner p {}

@media screen and (max-width: 768px) {
  #about .inner>*:not(:last-child) {
    margin: 0 auto 3rem;
  }

  #about h2 {
    font-size: clamp(1.5em, 7vw, 2em);
    line-height: 1.5;
  }

  #about h3 {
    font-size: 1.15em;
    line-height: 1.6;
  }

  .gradation_back {
    --wave-height: 22vw;
  }
}

@media screen and (max-width: 480px) {
  #top .base {
    height: 100svh;
    min-height: 28em;
  }

  #about .inner>*:not(:last-child) {
    margin: 0 auto 2.25rem;
  }
}

/**************************** pickup ****************************/
#pickup {
  --line-color: var(--medix-blue-deep);
  --section-color: var(--medix-blue-deep);
  padding: 0 var(--side-padding) var(--section-margin);
  background: #e6e6e6;
}

#pickup .lists {
  max-width: 56em;
  margin: 0 auto;
  border-top: 1px solid #ccc;
}

#pickup .lists .item {
  border-bottom: 1px solid #ccc;
}

#pickup .lists .item a {
  gap: 1.25em 1.75em;
  padding: 1.35em 0.25em;
  color: inherit;
  text-decoration: none;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
}

#pickup .lists .item a:hover,
#pickup .lists .item a:focus-visible {
  opacity: 0.75;
}

#pickup .lists .item a:hover .news_cat,
#pickup .lists .item a:focus-visible .news_cat {
  border-color: #e86162;
  border-color: var(--medix-footer-accent);
  color: #e86162;
  color: var(--medix-footer-accent);
}

#pickup .date_wrap {
  position: relative;
  display: inline-block;
  -webkit-flex: 0 0 auto;
  flex: 0 0 auto;
  min-width: 6.5em;
  padding-right: 0.9em;
}

#pickup .date_wrap time {
  display: block;
  font-size: 0.95em;
  line-height: 1.4;
  color: #555;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

#pickup .new_tag {
  position: absolute;
  top: 0;
  right: 0;
  -webkit-transform: translate(35%, -55%);
  transform: translate(35%, -55%);
  padding: 0.15em 0.4em;
  border-radius: 2px;
  background: #e86162;
  background: var(--medix-footer-accent);
  color: #fff;
  font-size: 0.65em;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.06em;
  white-space: nowrap;
  pointer-events: none;
}

#pickup .news_cat {
  display: inline-block;
  -webkit-flex: 0 0 auto;
  flex: 0 0 auto;
  min-width: 8em;
  padding: 0.3em 0.85em;
  border: 1px solid var(--medix-blue-deep);
  border-radius: 99px;
  color: var(--medix-blue-deep);
  font-size: 0.8em;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
  -webkit-transition: color 0.2s ease, border-color 0.2s ease;
  transition: color 0.2s ease, border-color 0.2s ease;
}

#pickup .lists .title {
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 12em;
  flex: 1 1 12em;
  min-width: 0;
  font-size: 1em;
  font-weight: 600;
  line-height: 1.55;
  color: var(--font-color);
}

#pickup .pickup_empty {
  margin: 0 auto 1.5em;
  text-align: center;
  color: #666;
}

@media screen and (max-width: 768px) {
  #pickup .lists .item a {
    gap: 0.65em 1em;
    padding: 1.1em 0;
    -webkit-align-items: flex-start;
    align-items: flex-start;
  }

  #pickup .date_wrap {
    min-width: 0;
    padding-right: 1em;
  }

  #pickup .news_cat {
    min-width: 0;
  }

  #pickup .lists .title {
    -webkit-flex-basis: 100%;
    flex-basis: 100%;
    order: 3;
  }
}

/**************************** gradation_back ****************************/
.gradation_back {
  --wave-height: 16vw;
  --section-color: var(--medix-on-blue);
  --wave-fill: #e6e6e6;
  position: relative;
  z-index: 0;
  color: #fff;
  color: var(--medix-on-blue);
  padding: var(--wave-height) 0;
  /* overflow:hidden 禁止：下端クリップが波の谷に水平ヘアラインを作る */
}

.gradation_back::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #8094DD;
  background: linear-gradient(180deg, var(--medix-blue-light) 0%, var(--medix-blue-mid) 45%, var(--medix-blue-deep) 100%);
}

.gradation_back .top_wave,
.gradation_back .bottom_wave {
  position: absolute;
  left: 0;
  width: 100%;
  line-height: 0;
  pointer-events: none;
  color: #e6e6e6;
  color: var(--wave-fill);
}

.gradation_back .top_wave {
  top: -1px;
  height: calc(var(--wave-height) + 1px);
}

.gradation_back .top_wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

.gradation_back .bottom_wave {
  bottom: -2px;
  height: calc((var(--wave-height) / 16 * 10) + 2px);
}

.gradation_back .bottom_wave svg {
  display: block;
  width: 100%;
  height: 100%;
  /* 形状に沿って下へ1px伸ばし、青矩形下端の隙間を埋める */
  -webkit-filter: drop-shadow(0 1px 0 #e6e6e6);
  filter: drop-shadow(0 1px 0 #e6e6e6);
}

/**************************** improvement / support（トップ） ****************************/
@property --orbit-rot {
  syntax: "<angle>";
  inherits: true;
  initial-value: 0deg;
}

@property --orbit-pulse {
  syntax: "<number>";
  inherits: false;
  initial-value: 1;
}

#improvement,
#support {
  --line-color: #fff;
  --section-color: var(--medix-blue-deep);
  padding: 0 var(--side-padding) 4em;
}

#improvement {
  margin: 0 0 var(--section-margin);
}

/* ---- improvement：円周UI（企業の柱） ---- */
#improvement .lead {
  max-width: 36em;
  margin: 0 auto 2.75em;
  text-align: center;
  line-height: 2;
  font-size: clamp(1em, 2.2vw, 1.15em);
}

#improvement .orbit {
  --orbit-size: min(90vw, 90vh);
  --orbit-core: 62%;
  --orbit-icon: 4.2em;
  --orbit-icon-scale: 0.82;
  --orbit-r: calc((var(--orbit-size) - var(--orbit-icon)) / 2);
  --orbit-n: 4;
  --orbit-rot: calc(-180deg / var(--orbit-n));
  --orbit-dur: 5s;
  position: relative;
  width: var(--orbit-size);
  height: var(--orbit-size);
  margin: 0 auto 2.75em;
  overflow: visible;
  pointer-events: none;
  -webkit-transition: --orbit-rot var(--orbit-dur) linear;
  transition: --orbit-rot var(--orbit-dur) linear;
}

#improvement .orbit.is_frozen {
  -webkit-transition: none;
  transition: none;
}

#improvement .orbit_bg_num {
  --orbit-num-h: calc(var(--orbit-size) * 0.75);
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 0;
  margin: 0;
  /* 中央円（--orbit-core ≈ 62%）より大きくし、画像の外にはみ出して見える */
  width: auto;
  height: var(--orbit-num-h);
  line-height: 1;
  color: rgba(255, 255, 255, 0.1);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  overflow: visible;
}

#improvement .orbit_bg_num_track {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
}

#improvement .orbit_bg_num_item {
  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;
  height: var(--orbit-num-h);
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
}

#improvement .orbit_bg_num .futura_num {
  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;
  gap: 0.02em;
  overflow: visible;
}

#improvement .orbit_bg_num .futura_num_digit {
  display: block;
  height: calc(var(--orbit-size) * 0.75);
  line-height: 0;
  overflow: visible;
}

/* base.css の svg { max-width:100%; height:auto } を打ち消し、orbit 基準で拡大 */
#improvement .orbit_bg_num .futura_num_digit svg {
  display: block;
  width: auto;
  height: calc(var(--orbit-size) * 0.75);
  max-width: none;
  max-height: none;
}

@media (prefers-reduced-motion: reduce) {
  #improvement .orbit_bg_num_track {
    -webkit-transition: none !important;
    transition: none !important;
  }
}

#improvement .orbit_ring {
  position: absolute;
  inset: calc(var(--orbit-icon) / 2);
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  pointer-events: none;
  -webkit-box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 0 40px rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 0 40px rgba(255, 255, 255, 0.06);
}

#improvement .orbit_icons {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

#improvement .orbit_icon {
  --orbit-pulse: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--orbit-icon);
  height: var(--orbit-icon);
  margin: calc(var(--orbit-icon) / -2) 0 0 calc(var(--orbit-icon) / -2);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  overflow: visible;
  opacity: 0.42;
  -webkit-box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  /* 回転は --orbit-rot の補間に追従（transform 遷移を付けるとホバー停止時に飛ぶ） */
  -webkit-transform: rotate(calc(var(--orbit-rot) - var(--i) * (360deg / var(--orbit-n)))) translateY(var(--orbit-r)) rotate(calc(-1 * (var(--orbit-rot) - var(--i) * (360deg / var(--orbit-n))))) scale(calc(var(--orbit-icon-scale) * var(--orbit-pulse)));
  transform: rotate(calc(var(--orbit-rot) - var(--i) * (360deg / var(--orbit-n)))) translateY(var(--orbit-r)) rotate(calc(-1 * (var(--orbit-rot) - var(--i) * (360deg / var(--orbit-n))))) scale(calc(var(--orbit-icon-scale) * var(--orbit-pulse)));
  -webkit-transition: opacity 0.3s ease, -webkit-box-shadow 0.3s ease;
  transition: opacity 0.3s ease, box-shadow 0.3s ease;
}

/* ホバー：当該アイコンのみプルン＋白い波（::after） */
#improvement .orbit_icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  -webkit-transform: translate(-50%, -50%) scale(1);
  transform: translate(-50%, -50%) scale(1);
}

#improvement .orbit_icon.is_wave {
  -webkit-transition: border-color 0.3s ease, background-color 0.3s ease, opacity 0.3s ease, -webkit-box-shadow 0.3s ease;
  transition: border-color 0.3s ease, background-color 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
  -webkit-animation: medix_orbit_plun 0.58s cubic-bezier(0.34, 1.4, 0.64, 1) both;
  animation: medix_orbit_plun 0.58s cubic-bezier(0.34, 1.4, 0.64, 1) both;
}

#improvement .orbit_icon.is_wave::after {
  -webkit-animation: medix_orbit_ripple 0.7s ease-out both;
  animation: medix_orbit_ripple 0.7s ease-out both;
}

@-webkit-keyframes medix_orbit_plun {
  0% {
    --orbit-pulse: 1;
  }

  28% {
    --orbit-pulse: 1.28;
  }

  48% {
    --orbit-pulse: 0.88;
  }

  68% {
    --orbit-pulse: 1.1;
  }

  100% {
    --orbit-pulse: 1;
  }
}

@keyframes medix_orbit_plun {
  0% {
    --orbit-pulse: 1;
  }

  28% {
    --orbit-pulse: 1.28;
  }

  48% {
    --orbit-pulse: 0.88;
  }

  68% {
    --orbit-pulse: 1.1;
  }

  100% {
    --orbit-pulse: 1;
  }
}

@-webkit-keyframes medix_orbit_ripple {
  0% {
    opacity: 0.9;
    -webkit-transform: translate(-50%, -50%) scale(1);
  }

  100% {
    opacity: 0;
    -webkit-transform: translate(-50%, -50%) scale(1.85);
  }
}

@keyframes medix_orbit_ripple {
  0% {
    opacity: 0.9;
    -webkit-transform: translate(-50%, -50%) scale(1);
    transform: translate(-50%, -50%) scale(1);
  }

  100% {
    opacity: 0;
    -webkit-transform: translate(-50%, -50%) scale(1.85);
    transform: translate(-50%, -50%) scale(1.85);
  }
}

@media (prefers-reduced-motion: reduce) {
  #improvement .orbit_icon.is_wave,
  #improvement .orbit_icon.is_wave::after {
    -webkit-animation: none;
    animation: none;
  }
}

#improvement .orbit_icon img,
#improvement .orbit_icon svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

#improvement .orbit_icon svg>circle {
  fill: #8094DD;
  fill: var(--medix-blue-deep);
  -webkit-transition: fill 0.3s ease;
  transition: fill 0.3s ease;
}

#improvement .orbit_icon_fallback {
  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%;
  font-family: var(--font-futura-pt);
  font-weight: 700;
  color: #fff;
  background: #8094DD;
  background: var(--medix-blue-deep);
  border-radius: 50%;
}

#improvement .orbit_icon:hover,
#improvement .orbit_icon:focus-visible {
  opacity: 1;
  outline: none;
  z-index: 5;
}

#improvement .orbit_icon.is_active {
  --orbit-icon-scale: 1;
  opacity: 1;
  -webkit-box-shadow: 0 6px 22px rgba(232, 97, 98, 0.45);
  box-shadow: 0 6px 22px rgba(232, 97, 98, 0.45);
  z-index: 4;
}

#improvement .orbit_icon:hover svg>circle,
#improvement .orbit_icon:focus-visible svg>circle,
#improvement .orbit_icon.is_active svg>circle {
  fill: #e86162;
  fill: var(--medix-footer-accent);
}

#improvement .orbit_icon:hover .orbit_icon_fallback,
#improvement .orbit_icon:focus-visible .orbit_icon_fallback,
#improvement .orbit_icon.is_active .orbit_icon_fallback {
  background: #e86162;
  background: var(--medix-footer-accent);
}

#improvement .orbit_core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--orbit-core);
  height: var(--orbit-core);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: 2;
  border-radius: 50%;
  overflow: hidden;
  pointer-events: auto;
  background: #00245c;
  background: var(--medix-blue-deep);
  -webkit-box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

#improvement .orbit_panel {
  position: absolute;
  inset: 0;
  color: #fff;
  color: var(--medix-on-blue);
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  -webkit-transform: scale(0.96);
  transform: scale(0.96);
  -webkit-transition: opacity 0.45s ease, visibility 0.45s ease, -webkit-transform 0.45s ease;
  transition: opacity 0.45s ease, visibility 0.45s ease, transform 0.45s ease;
}

#improvement .orbit_panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--panel-bg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.3;
  z-index: 0;
  -webkit-transition: opacity 0.4s ease, -webkit-filter 0.4s ease, -webkit-transform 0.4s ease;
  transition: opacity 0.4s ease, filter 0.4s ease, transform 0.4s ease;
}

#improvement .orbit_panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 35, 95, 0.35);
  z-index: 1;
  pointer-events: none;
  -webkit-transition: background-color 0.4s ease;
  transition: background-color 0.4s ease;
}

#improvement .orbit_panel.is_active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  -webkit-transform: scale(1);
  transform: scale(1);
}

#improvement .orbit_panel.is_active:hover::before,
#improvement .orbit_panel.is_active:focus-visible::before {
  opacity: 0.55;
  -webkit-filter: brightness(1.18) saturate(1.12);
  filter: brightness(1.18) saturate(1.12);
  -webkit-transform: scale(1.06);
  transform: scale(1.06);
}

#improvement .orbit_panel.is_active:hover::after,
#improvement .orbit_panel.is_active:focus-visible::after {
  background: rgba(232, 97, 98, 0.28);
}

#improvement .orbit_panel .text {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 0;
  background: transparent;
}

#improvement .orbit_panel .text h3 {
  position: absolute;
  top: 22%;
  left: 22%;
  z-index: 3;
  display: inline-block;
  max-width: 56%;
  margin: 0;
  padding: 0;
  font-size: clamp(1.35em, 3vw, 1.85em);
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
  color: #fff;
  color: var(--medix-on-blue);
  -webkit-text-shadow: 0 1px 8px rgba(0, 20, 60, 0.65);
  text-shadow: 0 1px 8px rgba(0, 20, 60, 0.65);
}

#improvement .orbit_panel .text .desc {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: 72%;
  max-width: 18em;
  margin: 0;
  font-size: clamp(0.85em, 1.8vw, 1em);
  line-height: 1.8;
  text-align: center;
  color: #fff;
  color: var(--medix-on-blue);
  -webkit-text-shadow: 0 1px 8px rgba(0, 20, 60, 0.55);
  text-shadow: 0 1px 8px rgba(0, 20, 60, 0.55);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

#improvement .btn_box {
  margin-top: 0.5em;
}

@media screen and (max-width: 768px) {
  #improvement {
    padding-bottom: 3em;
  }

  #improvement .lead {
    margin-bottom: 2em;
    line-height: 1.8;
    font-size: 0.95em;
  }

  #improvement .orbit {
    --orbit-size: min(90vw, 90vh);
    --orbit-core: 64%;
    --orbit-icon: 3.6em;
    width: var(--orbit-size);
    height: var(--orbit-size);
    margin-bottom: 2em;
  }

  #improvement .orbit_bg_num {
    --orbit-num-h: calc(var(--orbit-size) * 0.9);
  }

  #improvement .orbit_bg_num .futura_num_digit,
  #improvement .orbit_bg_num .futura_num_digit svg {
    height: calc(var(--orbit-size) * 0.9);
  }

  #improvement .orbit_panel .text h3 {
    top: 20%;
    left: 20%;
    max-width: 58%;
    font-size: 1.3em;
  }

  #improvement .orbit_panel .text .desc {
    width: 78%;
    font-size: 0.82em;
    line-height: 1.65;
  }
}

@media screen and (max-width: 480px) {
  #improvement .orbit {
    --orbit-size: min(90vw, 90vh);
    --orbit-core: 66%;
    --orbit-icon: 3.2em;
    width: var(--orbit-size);
    height: var(--orbit-size);
  }

  #improvement .orbit_panel .text h3 {
    font-size: 1.15em;
  }

  #improvement .orbit_panel .text .desc {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* ---- support / improvement.is_lists：4カテゴリ横並び（円形） ---- */
#support .lead,
#improvement.is_lists .lead {
  max-width: 42em;
  margin: 0 auto 3em;
  text-align: center;
  line-height: 2;
}

#support .lists,
#improvement.is_lists .lists {
  --num: 4;
  --gap-x: 1.75em;
  --gap-y: 2.5em;
  gap: var(--gap-y) var(--gap-x);
  -webkit-align-items: stretch;
  align-items: stretch;
  max-width: 64em;
  margin: 0 auto 2.5em;
}

#support .lists .item,
#improvement.is_lists .lists .item {
  width: calc((100% - (var(--num) - 1) * var(--gap-x)) / var(--num));
  text-align: center;
}

#support .lists .item>a,
#improvement.is_lists .lists .item>a {
  height: 100%;
  color: inherit;
  text-decoration: none;
}

#support .lists .item>a:hover,
#improvement.is_lists .lists .item>a:hover {
  opacity: 0.9;
}

#support .lists .item .img,
#improvement.is_lists .lists .item .img {
  position: relative;
  width: 100%;
  max-width: 180px;
  aspect-ratio: 1;
  margin: 0 auto 1.2em;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

#support .lists .item .img img,
#improvement.is_lists .lists .item .img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: -webkit-transform 0.35s ease;
  transition: transform 0.35s ease;
}

/* SVGアイコン表示（写真ではなくアイコンを円内に収める） */
#improvement.is_lists .lists .item .img.is_svg {
  background: transparent;
}

#improvement.is_lists .lists .item .img.is_svg img {
  object-fit: contain;
  padding: 0;
}

#support .lists .item:hover .img img,
#improvement.is_lists .lists .item:hover .img img {
  -webkit-transform: scale(1.06);
  transform: scale(1.06);
}

#support .lists .item h3,
#improvement.is_lists .lists .item h3 {
  position: relative;
  padding: 0.65em 0;
  margin: 0;
  font-size: clamp(0.95em, 2vw, 1.15em);
  font-weight: 700;
  line-height: 1.4;
}

#support .lists .item h3:before,
#improvement.is_lists .lists .item h3:before {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  content: "";
  display: block;
  width: 0.7em;
  height: 100%;
  background: #e86162;
  background: var(--medix-footer-accent);
  z-index: -1;
  -webkit-transition: width 0.35s ease;
  transition: width 0.35s ease;
}

#support .lists .item>a:hover h3:before,
#support .lists .item>a:focus-visible h3:before,
#improvement.is_lists .lists .item>a:hover h3:before,
#improvement.is_lists .lists .item>a:focus-visible h3:before {
  width: 100%;
}

#support .btn_box,
#improvement.is_lists .btn_box {
  margin-top: 0.5em;
}

@media screen and (max-width: 768px) {

  #support,
  #improvement.is_lists {
    padding-bottom: 3em;
  }

  #support .lead,
  #improvement.is_lists .lead {
    margin-bottom: 2em;
    line-height: 1.8;
    font-size: 0.95em;
  }

  #support .lists,
  #improvement.is_lists .lists {
    --num: 2;
    --gap-x: 1.25em;
    --gap-y: 2em;
    max-width: 28em;
    margin-bottom: 2em;
  }

  #support .lists .item .img,
  #improvement.is_lists .lists .item .img {
    max-width: 140px;
    margin-bottom: 1em;
  }

  #support .lists .item h3,
  #improvement.is_lists .lists .item h3 {
    font-size: 0.95em;
  }
}

@media screen and (max-width: 480px) {

  #support .lists,
  #improvement.is_lists .lists {
    --num: 1;
    --gap-y: 1.75em;
    max-width: 14em;
  }

  #support .lists .item .img,
  #improvement.is_lists .lists .item .img {
    max-width: 160px;
  }
}


/* ---- SOLUTIONS（旧・復旧用に残置） ---- */
/**************************** solutions ****************************/
#solutions {
  padding: 0 var(--side-padding);
}

#solutions .title_box .label_en {
  --line-color: #fff;
  --section-color: var(--medix-blue-deep);
}

#solutions .info {
  text-align: center;
  max-width: 42em;
  margin: 0 auto 3.5em;
}

#solutions .info h3 {
  margin: 0 0 1.5em;
  font-size: clamp(1.2em, 3.6vw, 1.8em);
  font-weight: 700;
}

#solutions .info p {
  line-height: 2;
}

#solutions .lists {
  --num: 4;
  --gap-x: 2em;
  --gap-y: 4em;
  gap: var(--gap-y) var(--gap-x);
  -webkit-align-items: stretch;
  align-items: stretch;
}

#solutions .lists .item {
  width: calc((100% - (var(--num) - 1) * var(--gap-x)) / var(--num));
  text-align: center;
}

#solutions .lists .item>a {
  height: 100%;
  color: inherit;
  text-decoration: none;
}

#solutions .lists .item>a:hover {
  opacity: 0.85;
}

#solutions .lists .item .img {
  position: relative;
  width: 100%;
  max-width: 180px;
  aspect-ratio: 1;
  margin: 0 auto 1.2em;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

#solutions .lists .item:nth-child(1) .img {
  background-image: url(../img/solution/solution01.png);
}

#solutions .lists .item:nth-child(2) .img {
  background-image: url(../img/solution/solution02.png);
}

#solutions .lists .item:nth-child(3) .img {
  background-image: url(../img/solution/solution03.png);
}

#solutions .lists .item:nth-child(4) .img {
  background-image: url(../img/solution/solution04.png);
}

#solutions .lists .item .img .num {
  position: absolute;
  top: 50%;
  left: 50%;
  font-family: var(--font-futura-pt);
  font-size: clamp(1.5em, 10vw, 2em);
  font-weight: 500;
  letter-spacing: 0.15em;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

#solutions .lists .item h4 {
  position: relative;
  padding: 0.75em 0;
  margin: 1em 0;
  font-size: 1.1em;
  font-weight: 700;
  line-height: 1.5;
}

#solutions .lists .item h4:before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  content: "";
  display: block;
  width: 0.75em;
  height: 100%;
  background: var(--medix-footer-accent);
  z-index: -1;
}

#solutions .lists .item .bar {
  display: block;
  width: 2.2em;
  height: 3px;
  margin: 0 auto 1em;
  border-radius: 2px;
}

#solutions .lists .item:nth-child(1) .bar {
  background: linear-gradient(90deg, #FF6B7F 0%, #FFB347 100%);
  background: var(--medix-solution-bar-1);
}

#solutions .lists .item:nth-child(2) .bar {
  background: linear-gradient(90deg, #FFB347 0%, #FFE566 100%);
  background: var(--medix-solution-bar-2);
}

#solutions .lists .item:nth-child(3) .bar {
  background: linear-gradient(90deg, #5BC0EB 0%, #7ED957 100%);
  background: var(--medix-solution-bar-3);
}

#solutions .lists .item:nth-child(4) .bar {
  background: linear-gradient(90deg, #4A90D9 0%, #5BC0EB 100%);
  background: var(--medix-solution-bar-4);
}

#solutions .lists .item>a>p {
  margin: 0;
  text-align: left;
}

#solutions .lists .item .more_box {
  margin-top: auto;
  padding-top: 1.5em;
}

@media screen and (max-width: 768px) {
  #solutions .lists .item {
    -webkit-flex: 1 1 40%;
    flex: 1 1 40%;
    max-width: none;
  }
}

@media screen and (max-width: 480px) {
  #solutions .lists .item {
    -webkit-flex: 1 1 100%;
    flex: 1 1 100%;
    max-width: 280px;
  }
}




/**************************** case ****************************/
#case {
  --line-color: #fff;
  --section-color: var(--medix-blue-deep);
}

#case .case_empty {
  margin: 0 0 2em;
  text-align: center;
}

#case .lists .item {
  --img-width: 50%;
  --gap: 2em;
  margin: 0;
}

#case .lists .item:not(:last-child) {
  margin-bottom: 5em;
}

#case .lists .item_link {
  gap: var(--gap);
  -webkit-align-items: stretch;
  align-items: stretch;
  color: inherit;
  text-decoration: none;
}

#case .lists .item .img {
  position: relative;
  width: var(--img-width);
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
}

#case .lists .item .img .img_frame {
  position: relative;
  display: block;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.12);
}

/* 背後: 同一画像を幅100%カバー＋ブラー（余白埋め） */
#case .lists .item .img .img_blur {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  -webkit-transform: translate(-50%, -50%) scale(1.12);
  transform: translate(-50%, -50%) scale(1.12);
  object-fit: cover;
  -webkit-filter: blur(18px);
  filter: blur(18px);
  pointer-events: none;
  -webkit-transition: -webkit-transform 0.35s ease;
  transition: transform 0.35s ease;
}

/* 前面: 元比率を保ち中央配置（小さい画像でも伸びない） */
#case .lists .item .img .img_main {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: -webkit-transform 0.35s ease;
  transition: transform 0.35s ease;
}

#case .lists .item:hover .img .img_blur,
#case .lists .item:focus-within .img .img_blur {
  -webkit-transform: translate(-50%, -50%) scale(1.2);
  transform: translate(-50%, -50%) scale(1.2);
}

#case .lists .item:hover .img .img_main,
#case .lists .item:focus-within .img .img_main {
  -webkit-transform: scale(1.06);
  transform: scale(1.06);
}

#case .lists .item .img .num {
  position: absolute;
  right: 0.1em;
  bottom: -0.45em;
  z-index: 2;
  font-size: clamp(4rem, 12vw, 7.5rem);
  line-height: 1;
  color: #fff;
  pointer-events: none;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}

#case .lists .item:hover .img .num,
#case .lists .item:focus-within .img .num {
  color: #e86162;
  color: var(--medix-footer-accent);
}

#case .lists .item .text {
  width: calc(100% - var(--img-width) - var(--gap));
  min-width: 0;
}

#case .lists .item .text h3 {
  margin: 0 0 1em;
  font-size: clamp(1.6rem, 2.8vw, 1.8em);
  font-weight: 700;
  line-height: 1.6;
}

#case .lists .item .text .client {
  margin: 0 0 1em;
  font-weight: 500;
}

#case .lists .item .text .client .label {}

#case .lists .item .text .machine {
  margin: 0 0 2em;
  font-size: 0.85em;
  color: var(--medix-footer-accent);
}

#case .lists .item .text .machine .label {}

#case .more_box {}

#case .more_box .flex {
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: inline-flex;
  gap: 0;
}

#case .more_box svg {
  height: 1.5em;
}

#case .more_box svg path {
  -webkit-transition: fill 0.2s ease;
  transition: fill 0.2s ease;
}

#case .more_box .line {
  position: relative;
  width: 10em;
  max-width: 100%;
  height: 1px;
  background: #fff;
  -webkit-transition: background-color 0.2s ease;
  transition: background-color 0.2s ease;
}

#case .more_box .line::after {
  content: "";
  position: absolute;
  bottom: 3px;
  right: -1px;
  width: 0.55em;
  height: 1px;
  background: #fff;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transition: background-color 0.2s ease;
  transition: background-color 0.2s ease;
}

#case .lists .item:hover .more_box svg path,
#case .lists .item:focus-within .more_box svg path {
  fill: var(--medix-footer-accent);
}

#case .lists .item:hover .more_box .line,
#case .lists .item:focus-within .more_box .line,
#case .lists .item:hover .more_box .line::after,
#case .lists .item:focus-within .more_box .line::after {
  background: var(--medix-footer-accent);
}

@media screen and (max-width: 768px) {
  #case .lists .item {
    --img-width: 100%;
    --gap: 0;
  }

  #case .lists .item:not(:last-child) {
    margin-bottom: 3em;
  }

  #case .lists .item_link.flex {
    -webkit-box-orient: vertical;
    -webkit-flex-direction: column;
    flex-direction: column;
  }

  #case .lists .item .img {
    -webkit-flex: 0 0 auto;
    flex: 0 0 auto;
    width: 100%;
  }

  #case .lists .item .text {
    width: 100%;
    padding: 1.25em 0.5em 2em;
  }

  #case .lists .item .text h3 {
    font-size: 1.25em;
    margin-bottom: 0.75em;
  }

  #case .lists .item .img .num {
    bottom: -0.2em;
    font-size: clamp(3rem, 18vw, 5rem);
  }
}


/**************************** products ****************************/
#products {
  --line-color: var(--medix-blue-deep);
  --section-color: var(--medix-blue-deep);
  position: relative;
  z-index: 1;
  padding: 0 var(--side-padding) var(--section-margin);
  background: #e6e6e6;
}

#products .product_block {
  margin: 0 auto 6em;
}

#products .product_block.product_facility {
  margin-bottom: 7em;
}

#products .product_block:last-of-type {
  margin-bottom: 0;
}

#products .block_title {
  position: relative;
  margin: 0 auto 3em;
  padding: 0.5em 0;
  text-align: center;
}

#products .product_search .block_title {
  margin-bottom: 1.5em;
}

#products .block_title .block_label {
  position: relative;
  z-index: 1;
  display: inline-block;
  font-size: 1.1em;
  font-weight: 700;
  line-height: 1.5;
  color: var(--medix-blue-deep);
}

#products .block_title .pink_deco {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: 6.5em;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0.65;
}

#products .block_title .pink_deco svg {
  display: block;
  width: 100%;
  height: auto;
  margin: auto;
}

#products .block_title .pink_deco svg path {
  stroke: #E86162;
  stroke: var(--medix-footer-accent);
  stroke-width: 10px;
}

#products .arrow_btn {
  display: block;
  width: 1.35em;
  margin: 0.5em auto 0;
  line-height: 0;
  -webkit-transition: -webkit-transform 0.35s ease, opacity 0.35s ease;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

#products .arrow_btn svg {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

#products .arrow_btn svg path {
  fill: #E86162;
  fill: var(--medix-footer-accent);
}

#products .cat_item:hover .arrow_btn,
#products .cat_item:focus-visible .arrow_btn,
#products .facility_item:hover .arrow_btn,
#products .facility_item:focus-visible .arrow_btn {
  opacity: 0.85;
  -webkit-transform: translateY(0.2em);
  transform: translateY(0.2em);
}

/* ---- カテゴリ / 施設・目的（円形アイコン） ---- */
#products .cat_list,
#products .facility_list {
  --num: 5;
  --gap: 1.5em;
  gap: var(--gap);
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-align-items: flex-start;
  align-items: flex-start;
}

#products .cat_list>li,
#products .facility_list>li {
  width: calc((100% - (var(--num) - 1) * var(--gap)) / var(--num));
  min-width: 0;
}

#products .cat_item,
#products .facility_item {
  display: block;
  color: var(--medix-blue-deep);
  text-align: center;
  text-decoration: none;
}

#products .cat_circle,
#products .facility_circle {
  position: relative;
  gap: 0;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  padding: 1.5em 1em;
  border-radius: 50%;
  background: #fff;
  box-sizing: border-box;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-box-shadow: 0 0 0 transparent;
  box-shadow: 0 0 0 transparent;
  -webkit-transition: background-color 0.35s ease, -webkit-transform 0.35s ease, -webkit-box-shadow 0.35s ease;
  transition: background-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

#products .cat_item:hover .cat_circle,
#products .cat_item:focus-visible .cat_circle,
#products .facility_item:hover .facility_circle,
#products .facility_item:focus-visible .facility_circle {
  background: #F2F4FB;
  -webkit-transform: scale(1.04);
  transform: scale(1.04);
  -webkit-box-shadow: 0 8px 22px rgba(128, 148, 221, 0.22);
  box-shadow: 0 8px 22px rgba(128, 148, 221, 0.22);
  -webkit-box-shadow: var(--medix-card-shadow-hover);
  box-shadow: var(--medix-card-shadow-hover);
}

#products .cat_circle>*,
#products .facility_circle>* {
  margin: 0;
}

#products .cat_icon,
#products .facility_icon {
  display: block;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
  width: 34%;
  line-height: 0;
  -webkit-transition: -webkit-transform 0.35s ease;
  transition: transform 0.35s ease;
}

#products .cat_item:hover .cat_icon,
#products .cat_item:focus-visible .cat_icon,
#products .facility_item:hover .facility_icon,
#products .facility_item:focus-visible .facility_icon {
  -webkit-transform: scale(1.08);
  transform: scale(1.08);
}

#products .cat_icon svg,
#products .facility_icon svg,
#products .cat_icon img,
#products .facility_icon img {
  display: block;
  width: 100%;
  height: auto;
}

#products .facility_icon.is_img {
  width: 56%;
}

#products .cat_label,
#products .facility_label {
  font-weight: 700;
  padding: 0.5em 0;
  text-align: center;
  -webkit-transition: color 0.2s ease;
  transition: color 0.2s ease;
}

#products .cat_item:hover .cat_label,
#products .cat_item:focus-visible .cat_label,
#products .facility_item:hover .facility_label,
#products .facility_item:focus-visible .facility_label {
  color: #C7D6F0;
  color: var(--medix-blue-light);
}

#products .cat_circle .arrow_btn,
#products .facility_circle .arrow_btn {
  display: block;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
  width: 1.25em;
  margin: 0 auto;
  line-height: 0;
}

/* ---- カテゴリから探す（写真5枚横並び） ---- */
#products .product_category.is_photos {
  margin-bottom: 8em;
}

#products .product_category.is_photos .cat_list {
  --num: 5;
  --gap: 0;
  width: 100vw;
  max-width: none;
  margin: 0 0 0 calc(50% - 50vw);
  -webkit-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-box-align: stretch;
  -webkit-align-items: stretch;
  align-items: stretch;
}

#products .product_category.is_photos .cat_list>li {
  width: calc(100% / var(--num));
  min-width: 0;
}

#products .product_category.is_photos .cat_item {
  display: block;
  height: 100%;
  color: #fff;
  text-align: center;
  text-decoration: none;
}

#products .product_category.is_photos .cat_panel {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  min-height: 28em;
  aspect-ratio: 2 / 3;
  background: #8094DD;
  background: var(--medix-blue-deep, #8094DD);
}

#products .product_category.is_photos .cat_photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: -webkit-transform 0.45s ease;
  transition: transform 0.45s ease;
}

#products .product_category.is_photos .cat_shade {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  background: rgba(0, 45, 98, 0.42);
  pointer-events: none;
  -webkit-transition: background-color 0.35s ease;
  transition: background-color 0.35s ease;
}

#products .product_category.is_photos .cat_icon {
  position: absolute;
  top: -1em;
  left: -1.5em;
  z-index: 2;
  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;
  width: 50%;
  padding: 0.45em;
  border-radius: 50%;
  background: transparent;
  box-sizing: border-box;
  opacity: 0.25;
  -webkit-transform: none;
  transform: none;
  -webkit-mix-blend-mode: overlay;
  mix-blend-mode: overlay;
}

#products .product_category.is_photos .cat_icon svg,
#products .product_category.is_photos .cat_icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#products .product_category.is_photos .cat_core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 88%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

#products .product_category.is_photos .cat_label {
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: clamp(0.92em, 1.15vw, 1.2em);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.12em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
  -webkit-transition: color 0.2s ease;
  transition: color 0.2s ease;
}

#products .product_category.is_photos .arrow_btn {
  position: absolute;
  left: 50%;
  bottom: 1.15em;
  z-index: 2;
  width: 1.55em;
  margin: 0;
  opacity: 1;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

#products .product_category.is_photos .cat_item:hover .cat_photo,
#products .product_category.is_photos .cat_item:focus-visible .cat_photo {
  -webkit-transform: scale(1.06);
  transform: scale(1.06);
}

#products .product_category.is_photos .cat_item:hover .cat_shade,
#products .product_category.is_photos .cat_item:focus-visible .cat_shade {
  background: rgba(0, 45, 98, 0.28);
}

#products .product_category.is_photos .cat_item:hover .cat_icon,
#products .product_category.is_photos .cat_item:focus-visible .cat_icon {
  -webkit-transform: none;
  transform: none;
}

#products .product_category.is_photos .cat_item:hover .cat_label,
#products .product_category.is_photos .cat_item:focus-visible .cat_label {
  color: #fff;
}

#products .product_category.is_photos .cat_item:hover .arrow_btn,
#products .product_category.is_photos .cat_item:focus-visible .arrow_btn {
  opacity: 1;
  -webkit-transform: translateX(-50%) translateY(0.2em);
  transform: translateX(-50%) translateY(0.2em);
}

@media screen and (max-width: 768px) {
  #products .product_category.is_photos {
    margin-bottom: 6em;
  }

  #products .product_category.is_photos .cat_list {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
  }

  #products .product_category.is_photos .cat_list>li {
    width: 100%;
  }

  #products .product_category.is_photos .cat_panel {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  #products .product_category.is_photos .cat_label {
    font-size: 1.05em;
  }

  #products .product_category.is_photos .cat_icon {
    width: 35%;
  }
}

/* ---- 検索 ---- */
#products .product_search {
  --gap: 3em;
  gap: var(--gap);
  -webkit-align-items: flex-start;
  align-items: flex-start;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

#products .search_box {
  position: relative;
  z-index: 0;
  -webkit-flex: 1 1 280px;
  flex: 1 1 280px;
  max-width: calc(50% - var(--gap) / 2);
  isolation: isolate;
}

#products .search_form {
  position: relative;
  z-index: 1;
  margin: 0;
}

#products .search_field {
  position: relative;
  z-index: 1;
  gap: 0.75em;
  width: 100%;
  min-height: 3.2em;
  padding: 0.5em 1em;
  border: 1px solid var(--medix-blue-deep);
  border-radius: 0;
  background: #fff;
  box-sizing: border-box;
  -webkit-transition: border-color 0.2s ease, background-color 0.2s ease;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

#products .search_field:focus-within {
  border-color: #e86162;
  /* フォールバック */
  border-color: var(--medix-footer-accent, #e86162);
  background: #e8f4ff;
  /* フォールバック */
  background: color-mix(in srgb, var(--medix-blue-light, #C7D6F0) 14%, #fff);
}

#products .search_field input {
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 auto;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.35em 0;
  border: 0;
  background: transparent;
  font-size: 1em;
  color: var(--medix-blue-deep);
  outline: none;
}

#products .search_field button {
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
  width: 1.5em;
  height: 1.5em;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

#products .search_field button svg {
  display: block;
  width: 1.5em;
  height: auto;
}

#products .search_note {
  margin: 0.85em 0 0;
  font-size: 0.78em;
  line-height: 1.5;
  color: var(--medix-blue-deep);
  text-align: center;
}

#products .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;
}

@media screen and (max-width: 768px) {

  #products .product_category:not(.is_photos) .cat_list,
  #products .facility_list {
    --num: 2;
  }

  #products .search_box {
    max-width: 100%;
  }
}

@media screen and (max-width: 480px) {

  #products .product_category:not(.is_photos) .cat_list,
  #products .facility_list {
    --num: 1;
    max-width: 280px;
    margin: 0 auto;
  }
}

/**************************** features ****************************/
#features {
  --line-color: var(--medix-blue-deep);
  --section-color: #fff;
}

#features .lists {
  --num: 3;
  overflow: visible;
  /* 外側ピンク用の余白。菱形同士は square_box 幅で頂点が接するようにする */
  padding: 0 3%;
  box-sizing: border-box;
  -webkit-align-items: flex-start;
  align-items: flex-start;
}

#features .lists .item {
  width: calc(100% / var(--num));
  padding: 0;
}

#features .lists .item:nth-child(1) {
  --feat-i: 0;
}

#features .lists .item:nth-child(2) {
  --feat-i: 1;
}

#features .lists .item:nth-child(3) {
  --feat-i: 2;
}

#features .lists .item .square_box {
  position: relative;
  /* 幅 80.4% ≈ 1/1.244 … 回転88%正方形の左右頂点が隣と接する */
  width: 80.4%;
  aspect-ratio: 1;
  margin: 0 auto 3em;
  overflow: visible;
}

/* 青菱形（88%・45deg）の左右頂点 = square_box の -12% / 112% */
#features .lists .item .square_box .pink_left,
#features .lists .item .square_box .pink_right {
  position: absolute;
  top: 50%;
  width: 15%;
  aspect-ratio: 1 / 1;
  background: var(--medix-footer-accent);
  opacity: 0.5;
  z-index: 1;
  -webkit-transform: translate(-50%, -50%) rotate(45deg);
  transform: translate(-50%, -50%) rotate(45deg);
}

#features .lists .item .square_box .pink_left {
  left: -12%;
}

#features .lists .item .square_box .pink_right {
  left: 112%;
}

/* 接合部は隣どうしのピンクが重なるので、右側は最後以外非表示 */
#features .lists .item:not(:last-child) .square_box .pink_right {
  display: none;
}

#features .lists .item .square_box .square {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: 88%;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--medix-blue-deep);
  -webkit-transform: translate(-50%, -50%) rotate(45deg);
  transform: translate(-50%, -50%) rotate(45deg);
}

#features .lists .item .square_box h3 {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  font-size: 1.2em;
  font-weight: 700;
  line-height: 1.3;
  color: var(--medix-blue-deep);
  text-align: center;
  white-space: nowrap;
}

#features .lists .item p {
  color: var(--medix-blue-deep);
  box-sizing: border-box;
  padding: 0 12%;
  line-height: 1.85;
  text-align: center;
}

#features .lists .item p .note {
  display: block;
  margin-top: 0.65em;
  font-size: 0.8em;
  line-height: 1.6;
  color: #777;
}

/* ---- WOW：青菱形 → h3 → ピンク → 本文 ---- */
#features .lists.wow:not(.animated) .item .square_box .square,
#features .lists.wow:not(.animated) .item .square_box h3,
#features .lists.wow:not(.animated) .item .square_box .pink_left,
#features .lists.wow:not(.animated) .item .square_box .pink_right,
#features .lists.wow:not(.animated) .item p {
  opacity: 0;
  visibility: hidden;
}

#features .lists.wow.animated .item:nth-child(1) .square_box .square {
  -webkit-animation: medix_feat_square 0.75s ease 0s both;
  animation: medix_feat_square 0.75s ease 0s both;
}

#features .lists.wow.animated .item:nth-child(2) .square_box .square {
  -webkit-animation: medix_feat_square 0.75s ease 0.12s both;
  animation: medix_feat_square 0.75s ease 0.12s both;
}

#features .lists.wow.animated .item:nth-child(3) .square_box .square {
  -webkit-animation: medix_feat_square 0.75s ease 0.24s both;
  animation: medix_feat_square 0.75s ease 0.24s both;
}

#features .lists.wow.animated .item:nth-child(1) .square_box h3 {
  -webkit-animation: medix_feat_title 0.55s ease 0.4s both;
  animation: medix_feat_title 0.55s ease 0.4s both;
}

#features .lists.wow.animated .item:nth-child(2) .square_box h3 {
  -webkit-animation: medix_feat_title 0.55s ease 0.52s both;
  animation: medix_feat_title 0.55s ease 0.52s both;
}

#features .lists.wow.animated .item:nth-child(3) .square_box h3 {
  -webkit-animation: medix_feat_title 0.55s ease 0.64s both;
  animation: medix_feat_title 0.55s ease 0.64s both;
}

#features .lists.wow.animated .item:nth-child(1) .square_box .pink_left,
#features .lists.wow.animated .item:nth-child(1) .square_box .pink_right {
  -webkit-animation: medix_feat_pink 0.65s ease 0.75s both;
  animation: medix_feat_pink 0.65s ease 0.75s both;
}

#features .lists.wow.animated .item:nth-child(2) .square_box .pink_left,
#features .lists.wow.animated .item:nth-child(2) .square_box .pink_right {
  -webkit-animation: medix_feat_pink 0.65s ease 0.87s both;
  animation: medix_feat_pink 0.65s ease 0.87s both;
}

#features .lists.wow.animated .item:nth-child(3) .square_box .pink_left,
#features .lists.wow.animated .item:nth-child(3) .square_box .pink_right {
  -webkit-animation: medix_feat_pink 0.65s ease 0.99s both;
  animation: medix_feat_pink 0.65s ease 0.99s both;
}

#features .lists.wow.animated .item:nth-child(1) p {
  -webkit-animation: medix_feat_text 0.55s ease 1.05s both;
  animation: medix_feat_text 0.55s ease 1.05s both;
}

#features .lists.wow.animated .item:nth-child(2) p {
  -webkit-animation: medix_feat_text 0.55s ease 1.17s both;
  animation: medix_feat_text 0.55s ease 1.17s both;
}

#features .lists.wow.animated .item:nth-child(3) p {
  -webkit-animation: medix_feat_text 0.55s ease 1.29s both;
  animation: medix_feat_text 0.55s ease 1.29s both;
}

@media screen and (max-width: 768px) {
  #features .lists {
    --num: 1;
    gap: 2.5em 0;
    padding: 0 1.5em;
  }

  #features .lists .item {
    width: 100%;
    max-width: 18em;
    margin: 0 auto;
    padding: 0;
  }

  #features .lists .item .square_box {
    width: 80%;
    max-width: 14em;
    margin-bottom: 1.5em;
  }

  /* SPは縦積みなので各菱形の左右ピンクを両方表示 */
  #features .lists .item:not(:last-child) .square_box .pink_right {
    display: block;
  }

  #features .lists .item .square_box h3 {
    font-size: 1.05em;
  }

  #features .lists .item p {
    font-size: 0.92em;
    line-height: 1.8;
    padding: 0 0.5em;
  }
}

@-webkit-keyframes medix_feat_square {
  from {
    opacity: 0;
    -webkit-transform: translate(calc(-50% - 5em), -50%) rotate(0deg);
    transform: translate(calc(-50% - 5em), -50%) rotate(0deg);
  }

  to {
    opacity: 1;
    -webkit-transform: translate(-50%, -50%) rotate(45deg);
    transform: translate(-50%, -50%) rotate(45deg);
  }
}

@keyframes medix_feat_square {
  from {
    opacity: 0;
    -webkit-transform: translate(calc(-50% - 5em), -50%) rotate(0deg);
    transform: translate(calc(-50% - 5em), -50%) rotate(0deg);
  }

  to {
    opacity: 1;
    -webkit-transform: translate(-50%, -50%) rotate(45deg);
    transform: translate(-50%, -50%) rotate(45deg);
  }
}

@-webkit-keyframes medix_feat_pink {
  from {
    opacity: 0;
    -webkit-transform: translate(calc(-50% - 4em), -50%) rotate(0deg);
    transform: translate(calc(-50% - 4em), -50%) rotate(0deg);
  }

  to {
    opacity: 0.5;
    -webkit-transform: translate(-50%, -50%) rotate(45deg);
    transform: translate(-50%, -50%) rotate(45deg);
  }
}

@keyframes medix_feat_pink {
  from {
    opacity: 0;
    -webkit-transform: translate(calc(-50% - 4em), -50%) rotate(0deg);
    transform: translate(calc(-50% - 4em), -50%) rotate(0deg);
  }

  to {
    opacity: 0.5;
    -webkit-transform: translate(-50%, -50%) rotate(45deg);
    transform: translate(-50%, -50%) rotate(45deg);
  }
}

@-webkit-keyframes medix_feat_title {
  from {
    opacity: 0;
    -webkit-transform: translate(calc(-50% - 1.5em), -50%);
    transform: translate(calc(-50% - 1.5em), -50%);
  }

  to {
    opacity: 1;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }
}

@keyframes medix_feat_title {
  from {
    opacity: 0;
    -webkit-transform: translate(calc(-50% - 1.5em), -50%);
    transform: translate(calc(-50% - 1.5em), -50%);
  }

  to {
    opacity: 1;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }
}

@-webkit-keyframes medix_feat_text {
  from {
    opacity: 0;
    -webkit-transform: translateY(0.75em);
    transform: translateY(0.75em);
  }

  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@keyframes medix_feat_text {
  from {
    opacity: 0;
    -webkit-transform: translateY(0.75em);
    transform: translateY(0.75em);
  }

  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

/**************************** information ****************************/
#information {
  --line-color: var(--medix-blue-deep);
  --section-color: #fff;
  --news-slide-gap: 1em;
  --news-fade-width: min(12vw, 5em);
  --news-fade-bg: #e8e8e8;
  background: #e8e8e8;
  padding: var(--section-margin) 0;
}

#information .news_slider_box {
  position: relative;
  padding: 0;
}

#information .news_slider_box::before,
#information .news_slider_box::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: var(--news-fade-width);
  z-index: 2;
  pointer-events: none;
}

#information .news_slider_box::before {
  left: 0;
  background: -webkit-linear-gradient(left, var(--news-fade-bg) 0%, transparent 100%);
  background: linear-gradient(to right, var(--news-fade-bg) 0%, transparent 100%);
}

#information .news_slider_box::after {
  right: 0;
  background: -webkit-linear-gradient(right, var(--news-fade-bg) 0%, transparent 100%);
  background: linear-gradient(to left, var(--news-fade-bg) 0%, transparent 100%);
}

#information .news_list {
  overflow: hidden;
  font-size: inherit;
}

#information .news_list.swiper .swiper-wrapper .swiper-slide {
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
  width: min(280px, 78vw);
  height: auto;
  margin-right: var(--news-slide-gap);
}

#information .news_list.swiper .swiper-wrapper .swiper-slide:last-child {
  margin-right: 0;
}

#information .news_list .item a {
  display: block;
  color: var(--medix-blue-deep);
}

#information .news_list .item .img_box {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 1 / 1;
  background: #d8d8d8;
}

#information .news_list .item .img_box img,
#information .news_list .item .img_box .img_placeholder:not(.is_logo) {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#information .news_list .item .img_box .img_placeholder.is_logo {
  position: absolute;
  top: 0;
  left: 0;
  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;
  width: 100%;
  height: 100%;
  background: #eef2f7;
}

#information .news_list .item .img_box .img_placeholder.is_logo img {
  position: relative;
  width: 30%;
  max-width: 5em;
  height: auto;
  min-height: 0;
  object-fit: contain;
}

#information .news_list .item .news_cat {
  position: absolute;
  left: 0;
  bottom: 1em;
  z-index: 1;
  padding: 0.55em 1.15em 0.55em 0.85em;
  border-radius: 0 99px 99px 0;
  color: #fff;
  font-size: 0.75em;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
}

#information .news_list .item .news_cat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--medix-footer-accent);
  z-index: -2;
}

#information .news_list .item .news_cat::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--medix-blue-deep);
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transform-origin: left center;
  transform-origin: left center;
  -webkit-transition: -webkit-transform 0.35s ease;
  transition: transform 0.35s ease;
  z-index: -1;
}

#information .news_list .item a:hover .news_cat::after,
#information .news_list .item a:focus-visible .news_cat::after {
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

#information .news_list .item time {
  display: block;
  margin: 0.5em 0 0;
  color: var(--medix-footer-accent);
  font-size: 0.75em;
}

#information .news_list .item .title {
  line-height: 1.6;
}

#information .news_slider_box .swiper-button-prev,
#information .news_slider_box .swiper-button-next {
  position: absolute;
  top: calc(min(280px, 78vw) / 2);
  z-index: 5;
  width: 2em;
  height: 2em;
  margin-top: 0;
  color: var(--medix-blue-deep);
  opacity: 0.55;
  pointer-events: auto;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
}

#information .news_slider_box .swiper-button-prev:hover,
#information .news_slider_box .swiper-button-next:hover,
#information .news_slider_box .swiper-button-prev:focus-visible,
#information .news_slider_box .swiper-button-next:focus-visible {
  opacity: 0.9;
}

#information .news_slider_box .swiper-button-prev::after,
#information .news_slider_box .swiper-button-next::after {
  font-size: 1.6rem;
  font-weight: 700;
}

#information .news_slider_box .swiper-button-prev {
  left: 0.35em;
}

#information .news_slider_box .swiper-button-next {
  right: 0.35em;
}

#information .news_slider_box .swiper-button-disabled {
  opacity: 0.25;
  pointer-events: none;
}

@media screen and (max-width: 768px) {
  #information {
    --news-fade-width: min(14vw, 3.5em);
  }

  #information .news_list.swiper .swiper-wrapper .swiper-slide {
    width: min(260px, 72vw);
  }

  #information .news_slider_box .swiper-button-prev,
  #information .news_slider_box .swiper-button-next {
    top: calc(min(260px, 72vw) / 2);
  }

  #information .news_slider_box .swiper-button-prev {
    left: 0.15em;
  }

  #information .news_slider_box .swiper-button-next {
    right: 0.15em;
  }
}
