@charset "UTF-8";

/* =========================================================
   page-solution-medical.php 専用スタイル
   prefix : .pm  ( pip-medical )
   ========================================================= */

.pm {
  --pm-red       : #CB1414;
  --pm-red-dark  : #c8281f;
  --pm-text      : #222;
  --pm-text-sub  : #666;
  --pm-bg-soft   : #fff7f5;
  --pm-bg-table  : #fff2ed;
  --pm-border    : #ececec;
  --pm-shadow    : 0 6px 18px rgba(0, 0, 0, 0.06);
  color: var(--pm-text);
}

/* container：既存テーマ側のものがあれば優先される想定。無い場合の保険として最低限の定義 */
.pm .container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 50px 20px;
  box-sizing: border-box;
}

/* ---------- 共通：見出し ---------- */
.pm-eyebrow {
  text-align: center;
  font-size: 16px;
  color: var(--pm-red);
  margin: 0 0 12px;
  font-weight: 700;
}
.pm-section__ttl {
  text-align: center;
  font-size: 34px;
  color: var(--pm-red);
  line-height: 1.5;
  margin: 0 0 20px;
  font-weight: 700;
}
.pm-section__lead {
  text-align: center;
  font-size: 20px;
  color: var(--pm-text);
  margin: 0 0 30px;
  letter-spacing: -0.03em;
}
.pm-em {
  color: var(--pm-red);
}
.c-mv__breadcrumbs>span a {
  color: var(--pm-text);
}

.c-mv__breadcrumbs>span:last-child {
  font-weight: normal;
}
/* =========================================================
   KV（ヒーロー）
   ========================================================= */
/* .pm-kv::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -160px;
  width: 520px;
  height: 520px;
  background: var(--pm-red);
  opacity: 0.06;
  border-radius: 50%;
  pointer-events: none;
} */
 /*
.pm-kv__inner {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  padding: 0 0 0 80px;
  display: flex;
  gap: 50px;
  align-items: center;
  justify-content: center;
}
  */
.pm-kv__content {
  min-width: 0;
}

.pm-kv__ttl {
  font-size: 36px;
  line-height: 1.45;
  font-weight: 700;
  margin: 0 0 20px;
  color: var(--pm-red);
}

.pm-kv__lead {
  font-size: 15px;
  line-height: 1.85;
  color: var(--pm-text-sub);
  margin: 0 0 24px;
  letter-spacing: -0.03em;
}
.pm-kv__checks {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pm-kv__check {
  position: relative;
  font-size: 16px;
  line-height: 1.6;
  color: var(--pm-text);
  font-weight: 700;
}

.pm-kv__badges {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: flex;
  gap: 20px;
}
.pm-kv__badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border-left: 2px solid var(--pm-red);
}
.pm-kv__badge-mark {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--pm-red);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.pm-kv__badge-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.pm-kv__badge-ttl {
  font-size: 15px;
  font-weight: 700;
  color: var(--pm-text);
  line-height: 1.3;
}
.pm-kv__badge-sub {
  font-size: 12px;
  color: var(--pm-text-sub);
  line-height: 1.4;
}
.pm-kv__btns {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}
.pm-kv__visual {
  position: relative;
  width: 45%;
  max-height: 800px;
}
.pm-kv__visual img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 800px;
  object-fit: cover;
}

/* KV内のアウトラインボタン（赤枠） */
.pm-btn--outline {
  background: #fff;
  color: var(--pm-red);
  border: 2px solid var(--pm-red);
}
.pm-btn--outline:hover {
  background: var(--pm-bg-soft);
  opacity: 1;
}

/* =========================================================
   ISSUE
   ========================================================= */
.pm-issue {
  padding: 0 0 64px;
  background: #fff;
}
.pm-issue__grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pm-issue__card {
  background: #fff;
  border: 1px solid var(--pm-border);
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--pm-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pm-issue__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}
.pm-issue__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pm-issue__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pm-issue__ttl {
  font-size: 22px;
  line-height: 1.5;
  margin: 0 0 20px;
  font-weight: 700;
}
.pm-issue__txt {
  font-size: 14px;
  line-height: 1.7;
  color: var(--pm-text-sub);
  margin: 0;
  text-align: center;
  margin-bottom: 10px;
}

.pm-issue__label {
  display: inline-flex;
  font-size: 12px;
  color: var(--pm-text-sub);
  background: #F7F7F7;
  color: #808080;
  padding: 4px 15px;
  border-radius: 10px;
  margin: 0;
  text-align: center;
}

/* =========================================================
   CTA（赤バー：CTA1 / CTA2 / CTA3 共通）
   ========================================================= */
.pm-cta {
  background: var(--pm-red);
  color: #fff;
  padding: 50px 0;
  text-align: center;
}
.pm-cta__eyebrow {
  font-size: 16px;
  letter-spacing: 0.18em;
  margin: 0 0 10px;
  font-weight: 700;
}
.pm-cta__ttl {
  font-size: 34px;
  line-height: 1.5;
  margin: 0 0 30px;
  font-weight: 700;
}
.pm-cta__lead {
  font-size: 18px;
  margin: 0 0 30px;
}

.pm-cta__label {
  font-size: 14px;
  color: #fff;
  border: 1px solid #fff;
  padding: 4px 40px;
  border-radius: 5px;
  margin: 0 0 30px;
  display: inline-block;
}
.pm-cta__btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* ---------- ボタン ---------- */
.pm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 300px;
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  line-height: 1.3;
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
  box-sizing: border-box;
}

.pm-btn__arrow {
  font-size: 13px;
  border: 1px solid #fff;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pm-btn--outline .pm-btn__arrow {
  border-color: var(--pm-red);
  color: var(--pm-red);
}


.pm-btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}
.pm-btn--white {
  background: #fff;
  color: var(--pm-red);
  border: 1px solid #fff;
}
.pm-btn--red {
  background: var(--pm-red);
  color: #fff;
  border: 1px solid var(--pm-red);
}
.pm-btn--red:hover {
  background: var(--pm-red-dark);
  border-color: var(--pm-red-dark);
  opacity: 1;
}
.pm-btn__main {
  display: inline-block;
}

/* =========================================================
   SOLUTION
   ========================================================= */
.pm-solution {
  padding: 64px 0;
  background: #F7F7F7;
}

.pm-solution .pm-section__ttl {
  color: var(--pm-text);
}

.pm-solution__grid {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pm-solution__card {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--pm-shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-align: center;
}
.pm-solution__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}
.pm-solution__img {
  /* aspect-ratio: 16 / 9; */
  background: #eee;
  overflow: hidden;
}
.pm-solution__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pm-solution__ttl {
  font-size: 22px;
  line-height: 1.5;
  margin: 20px 0 12px;
  font-weight: 700;
  text-align: center;
}
.pm-solution__txt {
  font-size: 14px;
  line-height: 1.7;
  color: var(--pm-text-sub);
  margin: 0 0 15px;
  flex: 1;
}
.pm-solution__tag {
  display: inline-block;
  margin: 0 auto 20px;
  padding: 4px 8px;
  background: #FFF58D;
  color: var(--pm-red);
  font-size: 12px;
  font-weight: 700;
  border-radius: 5px;
  justify-content: center;
  width: max-content;
}

/* =========================================================
   EFFECT（比較テーブル）
   ========================================================= */
.pm-effect {
  padding: 64px 0;
  background: #fff;
}
.pm-effect__tableWrap {
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  background: #fff;
}
.pm-effect__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
  table-layout: fixed;
}

/* 列幅：Before | シーン | After */
.pm-effect__table col {
  width: auto;
}
.pm-effect__th--before,
.pm-effect__before {
  width: 38%;
}
.pm-effect__th--scene,
.pm-effect__scene {
  width: 20%;
}
.pm-effect__th--after,
.pm-effect__after {
  width: 42%;
}

/* ヘッダ共通 */
.pm-effect__th {
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  vertical-align: middle;
  line-height: 1.4;
}
.pm-effect__th--before {
  background: #1a1a1a;
  border-radius: 12px 0 0 0;
}
.pm-effect__th--scene {
  background: #666666;
}
.pm-effect__th--after {
  background: var(--pm-red);
  border-radius: 0 12px 0 0;
}

/* ボディセル共通 */
.pm-effect__before,
.pm-effect__scene,
.pm-effect__after {
  padding: 20px 15px;
  text-align: center;
  font-size: 14px;
  line-height: 1.7;
  vertical-align: middle;
  border-top: 1px solid #f0f0f0;
}

/* Before：白背景、グレー文字、左寄せ */
.pm-effect__before {
  background: #fff;
  color: var(--pm-text-sub);
}

/* シーン：濃いグレー背景、白文字、中央 */
.pm-effect__scene {
  background: #6b6b6b;
  color: #fff;
  font-weight: 700;
  text-align: center;
  font-size: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* After：薄い赤背景、赤文字（強調） */
.pm-effect__after {
  background: #fdecea;
  font-weight: 700;
}

tr:nth-child(even) .pm-effect__before {
  background: #F7F7F7;
}

tr:nth-child(odd) .pm-effect__scene {
  background: #999999;
}

tr:nth-child(odd) .pm-effect__after {
  background: #fff;
}

/* After 内のバッジ：白背景＋赤枠＋赤文字 */
.pm-effect__badge {
  display: inline-block;
  color: var(--pm-red);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  vertical-align: baseline;
  white-space: nowrap;
}

/* 角丸：最終行 */
.pm-effect__table tbody tr:last-child .pm-effect__before {
  border-radius: 0 0 0 12px;
}
.pm-effect__table tbody tr:last-child .pm-effect__after {
  border-radius: 0 0 12px 0;
}

/* =========================================================
   CASE（導入事例）
   ========================================================= */
.pm-case {
  padding: 80px 0;
}
.pm-case__grid {
  list-style: none;
  padding: 0;
  margin: 40px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pm-case__card a {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--pm-shadow);
  display: flex;
  flex-direction: column;
}
.pm-case__img {
  aspect-ratio: 16 / 9;
  background: #ddd;
  overflow: hidden;
}
.pm-case__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pm-case__cat {
  font-size: 16px;
  font-weight: 700;
  margin: 20px 20px 6px;
}
.pm-case__ttl {
  font-size: 20px;
  line-height: 1.5;
  margin: 0 20px 10px;
  font-weight: 700;
}
.pm-case__txt {
  font-size: 16px;
  line-height: 1.7;
  color: var(--pm-text-sub);
  margin: 0 20px 15px;
  flex: 1;
}

.pm-case__note {
  font-size: 12px;
  color: var(--pm-text-sub);
  margin: 0 20px 20px;
}

.pm-case__more {
  display: inline-block;
  margin: 0 20px 20px;
  font-size: 13px;
  color: var(--pm-red);
  font-weight: 700;
  text-decoration: none;
}
.pm-case__more:hover {
  text-decoration: underline;
}
.pm-case__btnWrap {
  text-align: center;
}

/* =========================================================
   STRENGTH（医療機関に選ばれる理由）
   ========================================================= */
.pm-strength {
  padding: 64px 0;
  background: #f7f7f7;
}
.pm-strength__list {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pm-strength__item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid var(--pm-border);
  border-radius: 6px;
  box-shadow: var(--pm-shadow);
}
.pm-strength__icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pm-strength__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pm-strength__body {
  flex: 1;
}
.pm-strength__ttl {
  color: var(--pm-red);
  font-size: 30px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--pm-border);
  font-weight: 700;
}
.pm-strength__txt {
  font-size: 18px;
  line-height: 1.7;
  color: var(--pm-text-sub);
  margin: 0;
  letter-spacing: -0.03em;
}

.sp-only {
  display: none;
}
.pc-only {
  display: block;
}

/* =========================================================
   レスポンシブ
   ========================================================= */
@media screen and (max-width: 1024px) {
  .pm-issue__grid,
  .pm-solution__grid,
  .pm-case__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pm-kv__inner {
    flex-direction: column-reverse;
    padding: 0;
    gap: 32px;
  }
  .pm-kv__visual {
    width: 100%;
  }
  .pm-kv__ttl {
    font-size: 30px;
  }
  .pm-kv__badges {
    flex-wrap: wrap;
  }
}

/* =========================================================
   SP（スマホ）
   ========================================================= */
@media screen and (max-width: 767px) {

  .sp-only {
    display: block;
  }
  .pc-only {
    display: none;
  }

  /* 共通：見出し */
  .pm-eyebrow {
    font-size: 13px;
  }

  .pm-kv__visual img {
    height: 400px;
    object-fit: cover;
  }


  .pm-section__ttl {
    font-size: 22px;
    line-height: 1.45;
    margin-bottom: 12px;
  }
  .pm-section__lead {
    font-size: 14px;
    margin-bottom: 28px;
    letter-spacing: 0;
  }

  /* 共通：ボタン */
  .pm-btn {
    width: 100%;
    max-width: 320px;
    padding: 13px 22px;
    font-size: 15px;
    border-radius: 28px;
  }
  .pm-btn__arrow {
    width: 22px;
    height: 22px;
    font-size: 12px;
  }

  /* -------- KV -------- */
  .pm-kv {
    padding: 30px 0;
    margin-bottom: 0;
  }
  .pm-kv__inner {
    padding: 0 0;
    gap: 24px;
  }

  .pm-kv__content {
    padding: 0 20px;
  }
  .pm-kv__ttl {
    font-size: 22px;
    line-height: 1.5;
    margin-bottom: 16px;
  }
  .pm-kv__lead {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 18px;
  }
  .pm-kv__checks {
    gap: 6px;
    margin-bottom: 20px;
  }
  .pm-kv__check {
    font-size: 14px;
    line-height: 1.5;
  }
  .pm-kv__badges {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
  }
  .pm-kv__badge {
    padding: 12px 14px;
    width: 100%;
    box-sizing: border-box;
  }
  .pm-kv__badge-ttl {
    font-size: 14px;
  }
  .pm-kv__badge-sub {
    font-size: 11px;
  }
  .pm-kv__btns {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .pm-kv__btns .pm-btn {
    max-width: none;
  }

  /* -------- ISSUE -------- */
    .pm-issue {
        padding: 0px 0 56px;
    }
  .pm-issue__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .pm-issue__card {
    padding: 24px 18px;
  }
  .pm-issue__icon {
    width: 60px;
    height: 60px;
    margin-bottom: 14px;
  }
  .pm-issue__ttl {
    font-size: 17px;
    margin-bottom: 12px;
  }
  .pm-issue__txt {
    font-size: 13px;
    text-align: left;
  }
  .pm-issue__label {
    font-size: 11px;
    padding: 4px 12px;
  }

  /* -------- CTA -------- */
  .pm-cta {
    padding: 36px 0 40px;
  }
  .pm-cta__eyebrow {
    font-size: 13px;
  }
  .pm-cta__ttl {
    font-size: 18px;
    margin-bottom: 18px;
    padding: 0;
  }
  .pm-cta__lead {
    font-size: 14px;
    margin-bottom: 18px;
    padding: 0;
  }
  .pm-cta__btns {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  /* -------- SOLUTION -------- */
  .pm-solution {
    padding: 48px 0 56px;
  }
  .pm-solution__grid {
    margin-top: 20px;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .pm-solution__ttl {
    font-size: 18px;
    margin: 16px 0 10px;
  }
  .pm-solution__txt {
    font-size: 13px;
    padding: 0 16px;
  }
  .pm-solution__tag {
    font-size: 11px;
    margin: 0 auto 16px;
  }

  /* -------- EFFECT（横スクロール） -------- */
  .pm-effect {
    padding: 48px 0 56px;
  }
  .pm-effect__tableWrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .pm-effect__table {
    font-size: 12px;
  }
  .pm-effect__th {
    font-size: 13px;
    padding: 14px 16px;
  }
  .pm-effect__before,
  .pm-effect__scene,
  .pm-effect__after {
    padding: 16px 14px;
    font-size: 13px;
    line-height: 1.65;
  }
  .pm-effect__badge {
    font-size: 12px;
  }

  /* -------- CASE -------- */
  .pm-case {
    padding: 48px 0 56px;
  }
  .pm-case__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .pm-case__ttl {
    font-size: 16px;
  }
  .pm-case__txt {
    font-size: 13px;
  }

  /* -------- STRENGTH -------- */
  .pm-strength {
    padding: 48px 0 56px;
  }

  .pm-strength__list {
    margin-top: 20px;
  }
  .pm-strength__item {
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
  }
  .pm-strength__icon {
    width: 40px;
    height: 40px;
  }
  .pm-strength__ttl {
    font-size: 16px;
  }
  .pm-strength__txt {
    font-size: 13px;
  }

  /* -------- パンくず -------- */
  .pm-kv .c-mv__breadcrumbs {
    font-size: 11px;
  }
}

/***20260625 KVの調整***/
.medical_detail-contWrap picture {
    position: absolute;
    width: 100%;
    opacity: 0.2;
}

.medical_detail-contWrap {
    position: relative;
    overflow: hidden;
    margin-top: 5.1rem;
    background: #eee;
}
@media screen and (min-width: 1024px) {
.pm-kv__content {
        max-width: 140rem;
        padding: 1rem 10rem;
        margin: 0 auto;
    }
}
@media screen and (min-width: 768px) {
  .medical_detail-contWrap picture {
    opacity: 1;
  }
    @media screen and (min-width: 1024px) {
        .medical_detail-contWrap {
            margin-top: 9.1rem;
        }
    }
}
.pm-kv__content{
    position: relative;
    padding-bottom: 3rem;  
}
@media (max-width: 1200px) {
.pm-kv__badges {
    margin: 0 0 10px;
}
.pm-kv__lead {
    margin: 0 0 10px;
    text-shadow: 1px 1px 0 #f9f7f9, -1px -1px 0 #f9f7f9, -1px 1px 0 #f9f7f9, 1px -1px 0 #f9f7f9, 0px 1px 0 #f9f7f9, 0 -1px 0 #f9f7f9, -1px 0 0 #f9f7f9, 1px 0 0 #f9f7f9;
}
.pm-kv__ttl {
    margin: 0 0 10px;
}
}
@media (max-width: 768px) {
  .pm-kv__check{
     text-shadow: 1px 1px 0 #f9f7f9, -1px -1px 0 #f9f7f9, -1px 1px 0 #f9f7f9, 1px -1px 0 #f9f7f9, 0px 1px 0 #f9f7f9, 0 -1px 0 #f9f7f9, -1px 0 0 #f9f7f9, 1px 0 0 #f9f7f9; 
}
}
@media screen and (min-width: 768px) {
.pm-kv__content {
    padding: 2rem 6rem;
}
}