@charset "utf-8";
/* =========================================================
   ペット保険とは？ ページ専用CSS
   - 画像は /img/pet_insurance/ 配下を想定
   - クラスは pi- プレフィックスで名前空間を切り、共通CSSと干渉させない
   ========================================================= */
:root {
    --pi-blue: #1a7fd4;
    --pi-blue-dark: #146ac2;
    --pi-blue-deep: #0058a2;
    --pi-navy: #12447f;
    --pi-blue-mid: #2a8ee0;
    --pi-blue-light: #57a9e8;
    --pi-blue-pale: #eaf1f8;
    --pi-blue-pale2: #f3f9fe;
    --pi-blue-line: #b9ddf2;
    --pi-orange: #f7941e;
    --pi-orange-light: #fbac4e;
    --pi-orange-pale: #fff6ec;
    --pi-red: #e2483c;
    --pi-gray: #5f7185;
    --pi-gray-light: #eaf1f8;
    --pi-text: #222;
    --pi-shadow: 0 6px 24px rgba(36, 75, 99, .08);
    --pi-radius: 24px;
  }

  .pi {
    background: var(--pi-blue-pale);
    color: var(--pi-text);
    font-family: "Noto Sans JP", "Lato", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-size: 20.8px;
    line-height: 2;
    overflow: hidden;
  }

  .pi *,
  .pi *::before,
  .pi *::after {
    box-sizing: border-box;
  }

  .pi :where(h2, h3, h4, p, ul, ol, li, dl, dt, dd, table) {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    font-size: inherit;
    line-height: inherit;
    text-align: left;
  }

  .pi :where(ul, ol) {
    list-style: none;
  }

  .pi :where(img) {
    max-width: 100%;
    height: auto;
    vertical-align: top;
  }

  .pi :where(a) {
    text-decoration: none;
    color: inherit;
    transition: opacity .3s;
  }

  .pi :where(a):hover {
    opacity: .8;
    text-decoration: none;
  }

  .pi-inner {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
  }

  .pi-pc {
    display: block;
  }

  .pi-sp {
    display: none;
  }

  /* ---------- 共通：セクション見出し ---------- */
  .pi-sec__head {
    text-align: center;
    margin-bottom: 64px;
  }

  .pi-label {
    display: inline-block;
    min-width: 110px;
    padding: .25em 1.6em;
    border-radius: 999px;
    background: var(--pi-blue);
    color: #fff;
    font-family: "Lato", "Noto Sans JP", sans-serif;
    font-size: 17.6px;
    font-weight: 700;
    letter-spacing: .18em;
    line-height: 1.6;
    text-align: center;
  }

  .pi-label--orange {
    background: var(--pi-orange);
  }

  .pi-sec__title {
    margin-top: 25.6px;
    color: var(--pi-navy);
    font-size: 41.6px;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1.4;
    text-align: center;
  }

  .pi-sec__lead {
    margin-top: 38.4px;
    font-size: 20px;
    line-height: 2.1;
    text-align: center;
  }

  /* 白い角丸ブロック（POINT01 / POINT03 / REASON） */
  .pi-white {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 64px;
  }

  /* 白ブロック同士が続くときは水色の余白を挟む */
  .pi-white+.pi-white {
    margin-top: 48px;
  }

  .pi-white--both {
    border-radius: 40px;
  }

  .pi-pale {
    background: var(--pi-blue-pale);
  }

  .pi-pale2 {
    background: #e1ecf6;
    /* ペット保険の選び方の背景（Figmaの色に合わせて調整可） */
  }

  /* 番号付き小見出し */
  .pi-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--pi-blue);
    color: #fff;
    font-family: "Lato", sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
  }

  .pi-h3 {
    display: flex;
    align-items: center;
    gap: 25.6px;
    color: var(--pi-blue-dark);
    font-size: 30.4px;
    font-weight: 700;
    line-height: 1.4;
  }

  /* 小ラベル（フルカバー型と入院・手術特化型 など） */
  .pi-tag {
    display: inline-block;
    padding: .25em 1.4em;
    border-radius: 6px;
    background: linear-gradient(90deg, #4499df 0%, #6fb5ea 100%);
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.6;
  }

  .pi-note {
    color: #5c6b7a;
    font-size: 16px;
    line-height: 1.7;
  }

  /* =========================================================
     ヒーロー
  ========================================================= */
  .pi-hero {
    position: relative;
    padding: 128px 0 0;
    background: #eaf1f8 url(/img/pet_insurance/bg_wave_pc.png) center top / cover no-repeat;
    overflow: hidden;
  }

  .pi-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 64px;
    padding-bottom: 96px;
  }

  .pi-hero__copy {
    flex: 0 0 calc(50% - 32px);
    max-width: none;
    padding-top: 96px;
  }

  .pi-hero__title {
    color: var(--pi-blue-deep);
    font-size: 64px;
    font-weight: 900;
    letter-spacing: .04em;
    line-height: 1.2;
  }

  .pi-hero__title small {
    display: inline-block;
    margin-left: .3em;
    font-size: 36px;
    font-weight: 700;
  }

  .pi-hero__sub {
    white-space: nowrap;
    margin-top: 32px;
    color: var(--pi-blue-mid);
    font-size: 28.8px;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1.4;
  }

  .pi-hero__sub .pi-hero__bar {
    display: inline-block;
    width: 2px;
    height: .9em;
    margin: 0 .5em;
    background: currentColor;
    vertical-align: -.1em;
  }

  .pi-hero__lead {
    width: 100%;
    margin-top: 28.8px;
    font-size: 20px;
    line-height: 1.95;
    font-weight: 500;
  }

  .pi-hero__visual {
    position: relative;
    flex: 0 0 calc(50% - 32px);
    min-width: 0;
    margin-top: 200px;
  }

  .pi-hero__visual>img {
    width: 100%;
  }

  @media (min-width: 1200px) {

    /* デザイン同様、写真はコンテンツ幅の右側へ少しはみ出させる。
       ただし .pi-hero は overflow:hidden なので、はみ出し量は
       「コンテンツ幅(1170px)の外側に実際に残っている余白」を上限にする。
       余白 = 50vw - 570px。100vw はスクロールバーを含むぶん過大評価に
       なるので、さらに 30px 引いて 50vw - 600px を上限とする。
       これで 1200〜1370px 付近でも写真の右端が切れない。 */
    .pi-hero__visual>img {
      width: calc(100% + max(0px, min(18%, 50vw - 600px)));
      max-width: none;
      margin-left: 0;
      /* 左（文字側）にはかぶせず、右側だけはみ出す */
    }
  }

  /* 右上のバッジ */
  .pi-hero__badge {
    position: absolute;
    right: 0;
    top: -192px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 180px;
    padding: 16px 14px;
    box-sizing: border-box;
    border-radius: 50%;
    background: #fff;
    box-shadow: var(--pi-shadow);
    color: var(--pi-blue-deep);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
    white-space: nowrap;
    /* 2行固定（<br>）で楕円からはみ出さない */
  }

  .pi-hero__badge-ic {
    display: block;
    /* width: 84px; */
    height: 60%;
    margin-bottom: 9.6px;
    line-height: 1;
  }

  .pi-hero__badge-ic img {
    display: block;
    width: 100%;
    height: 100%;
  }

  /* 肉球の飾り */
  .pi-paw {
    position: absolute;
    height: auto;
    opacity: .85;
    pointer-events: none;
    z-index: 0;
  }

  .pi-hero .pi-paw--1 {
    left: 43%;
    top: 144px;
    width: 65.6px;
    transform: rotate(20deg);
  }

  .pi-hero .pi-paw--2 {
    left: 58%;
    top: 48px;
    width: 75.2px;
    transform: rotate(15deg);
  }

  .pi-hero .pi-paw--3 {
    left: 5%;
    bottom: 160px;
    width: 80px;
    transform: rotate(30deg);
  }

  .pi-hero__scroll {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9.6px;
    padding-bottom: 80px;
    color: var(--pi-blue);
    font-size: 20.8px;
    font-weight: 700;
    line-height: 1.4;
  }

  .pi-hero__scroll span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    box-shadow: var(--pi-shadow);
    color: var(--pi-blue);
    font-size: 20.8px;
  }

  .pi-hero__scroll span img {
    display: block;
    width: 18px;
    height: 18px;
  }

  /* =========================================================
     POINT 01 人とペットの医療制度の違い
  ========================================================= */
  .pi-point01 {
    position: relative;
    z-index: 2;
    padding: 144px 0 128px;
  }

  .pi-point01__fig {
    margin: 64px auto 48px;
    text-align: center;
  }

  .pi-point01__fig img {
    width: 515px;
  }

  .pi-tbl {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 0 1px #dde7f0;
    font-size: 20.8px;
    line-height: 1.6;
  }

  .pi-tbl th,
  .pi-tbl td {
    padding: 28px 32px;
    text-align: center;
    vertical-align: middle;
    border: 0;
    border-bottom: 1px solid #dde7f0;
  }

  .pi-tbl tr:last-child td {
    border-bottom: 0;
  }

  .pi-tbl thead th {
    color: #fff;
    font-size: 22.4px;
    font-weight: 700;
    padding: 32px 32px;
  }

  .pi-tbl thead th:nth-child(1) {
    background: var(--pi-gray);
    width: 26%;
  }

  .pi-tbl thead th:nth-child(2) {
    background: var(--pi-blue);
  }

  .pi-tbl thead th:nth-child(3) {
    background: #7bb8ea;
  }

  .pi-tbl tbody th {
    background: var(--pi-blue-pale2);
    color: #2b3644;
    font-weight: 700;
    text-align: left;
    padding-left: 48px;
  }

  .pi-tbl tbody td {
    background: #fff;
    color: var(--pi-blue);
    font-weight: 700;
  }

  /* =========================================================
     POINT 02 ペット保険が必要な理由
  ========================================================= */
  .pi-point02 {
    padding: 160px 0 128px;
  }

  .pi-card {
    background: #fff;
    border-radius: var(--pi-radius);
    box-shadow: var(--pi-shadow);
  }

  .pi-reason-card {
    display: flex;
    align-items: center;
    gap: 64px;
    padding: 50px 40px;
  }

  .pi-reason-card+.pi-reason-card,
  .pi-fee+.pi-reason-card,
  .pi-reason-card+.pi-fee {
    margin-top: 64px;
  }

  .pi-reason-card__body {
    flex: 1 1 auto;
  }

  .pi-reason-card__text {
    margin: 22.4px 0 0 64px;
    font-size: 20px;
    line-height: 2;
  }

  .pi-reason-card__img {
    flex: 0 0 150px;
    text-align: center;
  }

  .pi-reason-card__img img {
    width: 150px;
  }

  /* 実際にかかる診療費の一例 */
  .pi-fee {
    overflow: hidden;
  }

  .pi-fee__head {
    display: flex;
    align-items: baseline;
    gap: 38.4px;
    padding: 32px 64px;
    background: linear-gradient(90deg, #2084d7 0%, #3f9be4 100%);
    color: #fff;
  }

  .pi-fee__head h3 {
    font-size: 27.2px;
    font-weight: 700;
    line-height: 1.5;
  }

  .pi-fee__head small {
    font-size: 16px;
    font-weight: 500;
  }

  .pi-fee__tbl {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    font-size: 20.8px;
    line-height: 1.6;
  }

  .pi-fee__tbl th {
    padding: 22.4px 38.4px;
    background: var(--pi-blue-pale2);
    color: var(--pi-navy);
    font-size: 20.8px;
    font-weight: 700;
    text-align: left;
    border: 0;
  }

  .pi-fee__tbl td {
    padding: 22.4px 38.4px;
    border: 0;
    border-bottom: 1px solid #e6eef5;
    vertical-align: middle;
    background: #fff;
  }

  .pi-fee__tbl tr:last-child td {
    border-bottom: 0;
  }

  .pi-fee__pet {
    display: flex;
    align-items: center;
    gap: 22.4px;
    font-weight: 700;
  }

  .pi-fee__tbl th:nth-child(1) {
    width: 32%;
  }

  .pi-fee__tbl th:nth-child(2) {
    width: 27%;
  }

  .pi-fee__tbl th:nth-child(3) {
    width: 19%;
  }

  .pi-fee__tbl th:nth-child(4) {
    width: 22%;
  }

  .pi-fee__pet img {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
  }

  .pi-fee__badge {
    display: inline-block;
    padding: .1em .9em;
    border-radius: 999px;
    background: #e3f1fc;
    color: var(--pi-blue);
    font-size: 19.2px;
    font-weight: 700;
    white-space: nowrap;
  }

  .pi-fee__price {
    color: var(--pi-red);
    font-family: "Lato", "Noto Sans JP", sans-serif;
    font-size: 28px;
    font-weight: 700;
    text-align: right !important;
    white-space: nowrap;
  }

  .pi-fee__price small {
    font-size: 20.8px;
    margin-left: .15em;
  }

  .pi-fee__tbl th:last-child,
  .pi-fee__tbl td:last-child {
    text-align: right;
  }

  .pi-fee__note {
    padding: 25.6px 64px 44.8px;
  }

  /* =========================================================
     POINT 03 ペット保険のしくみ
  ========================================================= */
  .pi-point03 {
    padding: 144px 0 96px;
  }

  .pi-point03 .pi-inner {
    max-width: 1200px;
  }

  .pi-block {
    margin-top: 64px;
  }

  .pi-block__text {
    margin-top: 25.6px;
    font-size: 20px;
    line-height: 2;
  }

  .pi-block .pi-tag {
    margin-top: 44.8px;
  }

  .pi-block .pi-tag+.pi-block__text {
    margin-top: 25.6px;
  }

  /* 補償タイプ比較 */
  .pi-types {
    display: flex;
    gap: 41.6px;
    margin-top: 41.6px;
  }

  .pi-type {
    flex: 1 1 0;
    min-width: 0;
    /* 中身（折り返し禁止の文言など）で横幅が広がらないように */
    padding: 48px 40px 54.4px;
    border: 1px solid var(--pi-blue-line);
    border-radius: 16px;
    background: #fff;
    text-align: center;
  }

  .pi-type--full {
    border-color: #f9be7a;
  }

  .pi-type__name {
    display: inline-block;
    min-width: 230px;
    padding: .35em 2em;
    border-radius: 999px;
    background: var(--pi-blue);
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5;
  }

  .pi-type--full .pi-type__name {
    background: var(--pi-orange);
  }

  .pi-type__items {
    display: flex;
    justify-content: space-around;
    margin-top: 41.6px;
  }

  .pi-type__items li {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
  }

  .pi-type__ic {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 82px;
    height: 82px;
    flex: 0 0 auto;
    margin: 0 0 16px;
    border-radius: 50%;
    background: #e3f1fc;
    overflow: hidden;
  }

  .pi-type__ic img {
    display: block;
    width: 54%;
    height: 54%;
    background: transparent;
    object-fit: contain;
  }

  /* Figma書き出しの丸背景つきアイコンを使う場合は、この2行を有効にして円いっぱいに表示
  .pi-type__ic { background: none; }
  .pi-type__ic img { width: 100%; height: 100%; } */

  .pi-type--full .pi-type__ic {
    background: var(--pi-orange-pale);
    color: var(--pi-orange);
  }

  .pi-type__marks {
    display: flex;
    margin-top: 32px;
    padding: 19.2px 0;
    border-radius: 8px;
    background: var(--pi-blue-pale);
  }

  .pi-type--full .pi-type__marks {
    background: var(--pi-orange-pale);
  }

  .pi-type__marks li {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    color: var(--pi-blue);
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
  }

  .pi-type__marks .pi-mark-o {
    display: block;
    width: 24px;
    height: 24px;
    border: 3px solid currentColor;
    border-radius: 50%;
  }

  /* × は ○△ と同じく CSS で描画（画像不要） */
  .pi-type__marks .pi-mark-x {
    position: relative;
    display: block;
    width: 24px;
    height: 24px;
  }

  .pi-type__marks .pi-mark-x::before,
  .pi-type__marks .pi-mark-x::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 26px;
    height: 3px;
    border-radius: 2px;
    background: currentColor;
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .pi-type__marks .pi-mark-x::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .pi-type__marks .pi-mark-t {
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 12px 22px 12px;
    border-color: transparent transparent currentColor transparent;
    position: relative;
  }

  .pi-type__marks .pi-mark-t::after {
    content: "";
    position: absolute;
    left: -7px;
    top: 6px;
    border-style: solid;
    border-width: 0 7px 13px 7px;
    border-color: transparent transparent #fff transparent;
  }

  .pi-type--full .pi-type__marks .pi-mark-t::after {
    border-bottom-color: var(--pi-orange-pale);
  }

  .pi-type--full .pi-type__marks li {
    color: var(--pi-orange);
  }

  .pi-type__caption {
    margin-top: 32px;
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
  }

  /* 1200px未満のPC幅：キャプションが収まらない場合は文字を少し落とす */
  @media (min-width: 992px) and (max-width: 1299px) {
    .pi-type {
      padding-left: 28px;
      padding-right: 28px;
    }

    .pi-type__caption {
      font-size: 16px;
    }
  }

  .pi-type__cost {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-top: 38.4px;
    color: var(--pi-blue);
    font-size: 20.8px;
    font-weight: 700;
  }

  .pi-type--full .pi-type__cost {
    color: var(--pi-orange);
  }

  .pi-type__cost img {
    width: 62px;
    height: auto;
  }

  .pi-type__cost span {
    display: flex;
    gap: 25.6px;
  }

  .pi-types+.pi-note {
    margin-top: 22.4px;
  }

  /* 補償の対象外 */
  .pi-excl {
    margin-top: 41.6px;
    padding: 48px 51.2px;
    border-radius: 16px;
    background: var(--pi-blue-pale2);
  }

  .pi-excl li {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0 38.4px;
    padding-left: 57.6px;
    position: relative;
    line-height: 1.8;
  }

  .pi-excl li+li {
    margin-top: 22.4px;
  }

  .pi-excl li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .35em;
    width: 24px;
    height: 24px;
    background: url(/img/pet_insurance/icon_ng.png) center / contain no-repeat;
  }

  .pi-excl__t {
    color: var(--pi-navy);
    font-size: 22px;
    font-weight: 700;
  }

  .pi-excl__d {
    font-size: 20.8px;
  }

  /* 補償限度額・免責金額 */
  .pi-limits {
    display: flex;
    gap: 41.6px;
    margin-top: 41.6px;
  }

  @supports (grid-template-rows: subgrid) {
    .pi-limits {
      display: grid;
      grid-template-columns: 1fr 1fr;
      row-gap: 0;
    }

    .pi-limit {
      display: grid;
      grid-template-rows: subgrid;
      grid-row: span 9;
      align-content: start;
    }

    .pi-limit>* {
      margin-top: 0 !important;
    }

    .pi-limit__sub {
      padding-top: 32px;
    }

    .pi-limit__list {
      padding-top: 16px;
    }

    .pi-limit__ex {
      justify-self: start;
      margin-top: 32px !important;
    }

    .pi-limit__total {
      padding-top: 22.4px;
    }

    .pi-limit__brace {
      margin-top: 6.4px !important;
    }

    .pi-bar {
      margin-top: 16px !important;
    }

    .pi-bar__scale {
      margin-top: 9.6px !important;
    }

    .pi-limit__result {
      margin-top: 25.6px !important;
    }
  }

  .pi-limit {
    flex: 1 1 0;
    min-width: 0;
    padding: 51.2px 51.2px 51.2px;
    border: 1px solid var(--pi-blue-line);
    border-radius: 16px;
    background: #fff;
  }

  .pi-limit__title {
    position: relative;
    padding: 0 0 22.4px 38.4px;
    border-bottom: 2px dashed #cfe3f3;
    color: var(--pi-navy);
    white-space: nowrap;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.5;
  }

  .pi-limit__title::before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: 12px;
    height: 12px;
    border-radius: 2px;
    background: var(--pi-blue);
  }

  .pi-limit__sub {
    margin-top: 32px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
  }

  .pi-limit__list {
    margin-top: 16px;
  }

  .pi-limit__list li {
    position: relative;
    padding-left: 35.2px;
    font-size: 18px;
    line-height: 1.8;
  }

  .pi-limit__list li+li {
    margin-top: 6.4px;
  }

  .pi-limit__list li::before {
    content: "";
    position: absolute;
    left: 4.8px;
    top: .95em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4b9fe3;
  }

  .pi-limit__ex {
    display: inline-block;
    margin-top: 32px;
    padding: .4em 2.4em;
    border-radius: 8px;
    background: var(--pi-blue-pale);
    color: var(--pi-blue);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
  }

  .pi-limit__total {
    margin-top: 22.4px;
    font-size: 20.8px;
    font-weight: 700;
    text-align: center;
  }

  .pi-limit__brace {
    position: relative;
    height: 12px;
    margin-top: 6.4px;
    border-left: 1px solid #a9c8e3;
    border-right: 1px solid #a9c8e3;
  }

  .pi-limit__brace::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 5px;
    border-top: 1px solid #a9c8e3;
  }

  .pi-bar {
    display: flex;
    height: 96px;
    margin-top: 16px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--pi-gray-light);
  }

  .pi-bar__seg {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20.8px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
  }

  .pi-bar__seg--blue {
    background: linear-gradient(180deg, #57a9e8 0%, #1a7fd4 100%);
  }

  .pi-bar__seg--orange {
    background: linear-gradient(180deg, #fbb862 0%, #f7941e 100%);
  }

  .pi-bar__scale {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin-top: 9.6px;
    color: #8a97a5;
    font-family: "Lato", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
  }


  .pi-bar__scale {
    --pi-bar-edge-l: 3.4em;
    --pi-bar-edge-r: 8.4em;
  }

  .pi-bar__scale .is-blue,
  .pi-bar__scale .is-orange {
    position: absolute;
    top: 0;
    left: clamp(var(--pi-bar-edge-l), var(--pi-bar-pos, 50%), calc(100% - var(--pi-bar-edge-r)));
    transform: translateX(-50%);
    white-space: nowrap;
  }

  .pi-bar__scale .is-blue {
    color: var(--pi-blue);
  }

  .pi-bar__scale .is-orange {
    color: var(--pi-orange);
  }

  .pi-limit__result {
    display: flex;
    align-items: center;
    gap: 25.6px;
    margin-top: 22.4px;
    padding: 25.6px 38.4px;
    border-radius: 8px;
    background: var(--pi-blue-pale);
    font-size: 18px;
    line-height: 1.7;
  }

  .pi-limit__result .pi-shield {
    flex: 0 0 auto;
  }

  .pi-limit__result strong {
    color: var(--pi-blue);
  }

  .pi-limit__result strong.is-orange {
    color: var(--pi-orange);
  }

  .pi-limits+.pi-note {
    margin-top: 32px;
  }

  /* =========================================================
     POINT 04 ペット保険の選び方
  ========================================================= */
  .pi-point04 {
    padding: 160px 0 144px;
  }

  .pi-choose {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 38.4px;
    margin-top: 80px;
  }

  .pi-choose__item {
    position: relative;
    padding: 57.6px 64px 64px;
  }

  .pi-choose__head {
    display: flex;
    align-items: center;
    gap: 25.6px;
    padding-right: 68px;
    min-height: 60px;
  }

  .pi-choose__head h3 {
    color: var(--pi-blue-dark);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
  }

  .pi-choose__ic {
    position: absolute;
    right: 64px;
    top: 57.6px;
    width: 54px;
  }

  .pi-choose__text {
    margin-top: 28.8px;
    font-size: 20px;
    line-height: 2;
  }

  /* =========================================================
     REASON 「プリズムペット」が選ばれる理由
  ========================================================= */
  .pi-reason {
    padding: 144px 0 128px;
  }

  .pi-rcard {
    padding: 64px 80px 73.6px;
    border: 1px solid #edf3f8;
  }

  .pi-rcard+.pi-rcard {
    margin-top: 38.4px;
  }

  .pi-reason .pi-sec__head+.pi-rcard {
    margin-top: 64px;
  }

  .pi-rcard__head {
    display: flex;
    align-items: center;
    gap: 25.6px;
  }

  .pi-rcard__num {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: auto;
    min-width: 60px;
    height: 60px;
    /* padding: 0 10px; */
    border-radius: 12px;
    background: linear-gradient(180deg, #2a8ee0 0%, #146ac2 100%);
    white-space: nowrap;
    color: #fff;
    font-family: "Lato", sans-serif;
    font-weight: 700;
    line-height: 1;
  }

  .pi-rcard__num .pi-rcard__num-t {
    font-size: 10px;
    letter-spacing: 0;
    transform: scale(.9);
  }

  .pi-rcard__num b {
    margin-top: 3.2px;
    font-size: 20px;
  }

  .pi-rcard__head h3 {
    color: var(--pi-blue-dark);
    font-size: 30.4px;
    font-weight: 700;
    line-height: 1.4;
  }

  .pi-rcard__text {
    margin-top: 35.2px;
    font-size: 20px;
    line-height: 2;
  }

  .pi-rcard__text p+p {
    margin-top: 1.6em;
  }

  .pi-txtlink {
    color: var(--pi-blue);
    text-decoration: underline;
    text-underline-offset: .2em;
  }

  .pi-txtlink:hover {
    opacity: .75;
  }

  /* 5日間通院した場合 */
  .pi-ex {
    margin-top: 48px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--pi-blue-pale2);
  }

  .pi-ex__head {
    padding: 25.6px 32px;
    background: linear-gradient(90deg, #2a8ee0 0%, #57a9e8 100%);
    color: #fff;
    font-size: 27.2px;
    font-weight: 700;
    letter-spacing: .06em;
    line-height: 1.5;
    text-align: center;
  }

  .pi-ex__body {
    padding: 48px 57.6px 57.6px;
    overflow: hidden;
  }

  .pi-ex__plan {
    font-size: 20.8px;
    font-weight: 700;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }

  .pi-ex__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    column-gap: 130px;
    align-items: stretch;
    margin-top: 32px;
  }

  .pi-ex__left {
    min-width: 0;
  }

  .pi-ex__limit {
    display: flex;
    align-items: center;
    gap: 64px;
    padding: 16px 48px;
    /* border-radius: 12px; */
    background: linear-gradient(90deg, #F1F1F1 0%, rgba(226, 240, 251, 0) 100%);
  }

  .pi-ex__limit img {
    flex: 0 0 auto;
    width: 130px;
    margin: -22px 0 -10px;
  }

  .pi-ex__limit-t {
    font-size: 20.8px;
    font-weight: 700;
    line-height: 1.5;
  }

  .pi-ex__limit-v {
    white-space: nowrap;
    color: var(--pi-blue);
    font-family: "Lato", "Noto Sans JP", sans-serif;
    font-size: 42.6px;
    font-weight: 900;
    line-height: 1.2;
    margin-top: 10px;
  }

  .pi-ex__limit-v small {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 27.2px;
    font-weight: 700;
    margin: 0 .2em;
  }

  .pi-ex__calc {
    position: relative;
    margin-top: 25.6px;
    padding: 38.4px 38.4px 38.4px;
    border-radius: 12px;
    background: #fff;
    font-size: 20.8px;
    font-weight: 700;
    line-height: 1.6;
  }

  .pi-ex__calc .pi-ex__red {
    white-space: nowrap;
    color: var(--pi-red);
    font-family: "Lato", "Noto Sans JP", sans-serif;
    font-size: 36px;
    font-weight: 900;
  }

  .pi-ex__calc .pi-ex__red small {
    font-size: 20.8px;
  }

  .pi-ex__calc .pi-ex__own {
    display: block;
    white-space: nowrap;
    margin-top: 16px;
    color: var(--pi-blue);
    font-size: 38.4px;
    font-weight: 900;
    line-height: 1.3;
  }

  .pi-ex__arrow {
    position: absolute;
    right: 275px;
    top: 50%;
    width: 100px;
    height: auto;
    margin: 0;
    transform: translateY(-50%);
  }

  .pi-ex__chart {
    display: flex;
    align-items: flex-end;
    gap: 32px;
    padding-top: 32px;
  }

  .pi-ex__col {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    width: 120px;
    height: 330px;
    white-space: nowrap;
    text-align: center;
    font-size: 18.4px;
    font-weight: 700;
    line-height: 1.5;
  }

  .pi-ex__col-pay {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px 8px 0 0;
    background: #eaeef2;
    color: #333;
  }

  html {
    scroll-behavior: smooth;
  }

  .pi-ex__col-own {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 62px;
    margin-top: 6px;
    border-radius: 0 0 8px 8px;
    background: var(--pi-blue);
    color: #fff;
  }

  .pi-ex__col--total {
    justify-content: center;
    border-radius: 8px;
    background: linear-gradient(180deg, #8ecbf4 0%, #1a7fd4 100%);
    color: #fff;
  }

  .pi-rcard .pi-note {
    margin-top: 48px;
  }

  /* REASON 02 ペット別リンク */
  .pi-pets {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 32px;
    margin-top: 48px;
  }

  .pi-pets li {
    min-width: 0;
    grid-column: span 2;
  }

  .pi-pets li:nth-child(-n+2) {
    grid-column: span 3;
  }

  .pi-pets a {
    display: flex;
    align-items: center;
    gap: 25.6px;
    height: 100%; /* 同じ行のボタンの高さを揃える */
    min-height: 100px;
    padding: 19.2px 25.6px;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(180deg, #57a9e8 0%, #1a7fd4 100%);
    color: #fff;
    font-size: 17.6px;
    font-weight: 700;
    line-height: 1.5;
  }

  .pi-pets a>img {
    flex: 0 0 auto;
    width: 118px;
    height: 76px;
    border-radius: 6px;
    object-fit: cover;
    background: #fff;
  }

  /* テキスト＋矢印を縦積み */
  .pi-pets a span {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    /* gap: 9.6px; */
    text-align: left;
  }

  /* 縦積みのときは矢印を右端へ */
  .pi-pets a span .pi-pets__arrow {
    align-self: flex-end;
  }

  .pi-pets a span .pi-pets__arrow {
    display: block;
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
  }

  .pi-pets li:nth-child(n+3) a {
    padding: 19.2px 19.2px;
    gap: 19.2px;
  }

  /* 上段（犬・猫）はテキストと矢印を横並び */
  .pi-pets li:nth-child(-n+2) a span {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 19.2px;
    text-align: center;
  }

  .pi-pets li:nth-child(-n+2) a span .pi-pets__arrow {
    align-self: center;
  }

  /* 下段（小動物・鳥・爬虫類）：矢印を「保険とは」と同じ行の右端に置く。
     flex の縦積みだと矢印が単独の行になってしまうため、
     通常の行組みに戻して float で最終行の右端へ寄せる。
     2段組みになる 1200px 以上だけに適用する（それ以下は横長カードなので不要）。 */
  @media (min-width: 1200px) {
    .pi-pets li:nth-child(n+3) a span {
      display: block;
      text-align: left;
    }

    .pi-pets li:nth-child(n+3) a span .pi-pets__arrow {
      float: right;
      margin-top: .25em; /* 行の中央あたりに合わせる */
    }
  }

  /* =========================================================
     クロージング CTA
  ========================================================= */
  .pi-cta {
    position: relative;
    padding: 160px 0 160px;
    background: #eaf1f8 url(/img/pet_insurance/bg_wave_pc.png) center / cover no-repeat;
    overflow: hidden;
  }

  .pi-cta .pi-paw--1 {
    right: 10%;
    top: 112px;
    width: 75.2px;
    transform: rotate(20deg);
  }

  .pi-cta .pi-paw--2 {
    left: 13%;
    top: 416px;
    width: 70.4px;
    transform: rotate(-25deg);
  }

  .pi-cta .pi-paw--3 {
    right: 11%;
    top: 384px;
    width: 65.6px;
    transform: rotate(10deg);
  }

  .pi-cta .pi-paw--4 {
    left: 3%;
    bottom: 192px;
    width: 75.2px;
    transform: rotate(-20deg);
  }

  .pi-cta__inner {
    position: relative;
    z-index: 1;
  }

  .pi-cta__title {
    position: relative;
    display: inline-block;
    color: var(--pi-blue-dark);
    font-size: 43.2px;
    font-weight: 900;
    letter-spacing: .04em;
    line-height: 1.4;
    text-align: center;
  }

  .pi-cta__title em {
    position: relative;
    color: var(--pi-orange);
    font-style: normal;
  }

  /* 強調の「ちょんちょん」（3本線）は画像で表示 */
  .pi-cta__title em::after {
    content: "";
    position: absolute;
    right: -.55em;
    top: -.75em;
    width: 1em;
    height: 1em;
    background: url(/img/pet_insurance/icon_kira.png) center / contain no-repeat;
  }

  .pi-cta__head {
    text-align: center;
  }

  .pi-cta__lead {
    margin-top: 38.4px;
    font-size: 20.8px;
    line-height: 2;
    text-align: center;
  }

  .pi-cta__divider {
    position: relative;
    margin-top: 64px;
    text-align: center;
  }

  .pi-cta__divider::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    border-top: 2px solid #7fb6e6;
  }

  .pi-cta__divider span {
    position: relative;
    display: inline-block;
    padding: .3em 2.4em;
    border-radius: 999px;
    background: var(--pi-blue);
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5;
  }

  .pi-cta__divider span .pi-cta__paw {
    display: inline-block;
    width: 1.1em;
    height: auto;
    vertical-align: -.15em;
    margin-left: .4em;
  }

  .pi-plans {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px; /* カード幅を稼いで文字が矢印にかからないようにする */
    margin-top: 64px;
  }

  .pi-plans li {
    min-width: 0;
    display: flex;
  }

  .pi-plan {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--pi-shadow);
  }

  .pi-plan__img {
    flex: 0 0 auto;
    aspect-ratio: 752 / 489;
    overflow: hidden;
    background: #fff;
  }

  .pi-plan__img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .pi-plan__body {
    position: relative;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 84px;
    /* 右の余白は矢印（right:24px + 40px）の分を確保する。
       nowrap だと入りきらない文字が矢印の下へ潜り込むので折り返しを許可し、
       はみ出しではなく改行で逃がす。 */
    padding: 25.6px 80px 25.6px 32px;
    white-space: normal;
    overflow: hidden;
    background: linear-gradient(90deg, #f4882f 0%, #f8a03d 100%);
    color: #fff;
  }

  .pi-plan__body b {
    display: block;
    font-size: 25.6px;
    font-weight: 700;
    line-height: 1.4;
  }

  .pi-plan__body small {
    display: block;
    margin-top: 3.2px;
    font-size: 19.2px;
    line-height: 1.5;
  }

  .pi-plan__body::after {
    content: "";
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff url(/img/pet_insurance/icon_arrow_or.png) center / 22px 22px no-repeat;
  }

  /* =========================================================
     ふわっと表示（CSSのみ／JSなし）
     ページを開いたときに、下から浮き上がりながらフェードイン。
     JSに一切依存しないので、スクリプトが動かない環境でも
     コンテンツが消えたままになることはない。
  ========================================================= */
  .pi-fade {
    animation: pi-fade-in 1.5s ease-out forwards;
  }

  @keyframes pi-fade-in {
    0% {
      opacity: 0;
      transform: translateY(20px);
    }

    100% {
      opacity: 1;
      transform: none;
    }
  }

  /* 「視差効果を減らす」設定のときは動かさない */
  @media (prefers-reduced-motion: reduce) {
    .pi-fade {
      animation: none;
    }
  }

  /* =========================================================
     タブレット（〜991px）
  ========================================================= */
  @media (max-width: 1199px) {

    /* タブレット直前：文字とイラストを 5 : 5 に */
    .pi-hero__inner {
      gap: 32px;
      padding-bottom: 72px;
    }

    .pi-hero__copy {
      flex: 0 0 calc(50% - 16px);
      max-width: none;
      padding-top: 72px;
    }

    .pi-hero__visual {
      flex: 0 0 calc(50% - 16px);
      margin-top: 168px;
    }

    .pi-hero__title {
      font-size: 48px;
    }

    .pi-hero__title small {
      font-size: 26px;
    }

    .pi-hero__sub {
      white-space: normal;
      margin-top: 24px;
      font-size: 23px;
    }

    .pi-hero__lead {
      margin-top: 24px;
      font-size: 18px;
    }

    .pi-hero__badge {
      width: 140px;
      height: 140px;
      top: -156px;
      font-size: 12px;
      padding: 12px 10px;
    }

    /* .pi-hero__badge-ic {
      width: 68px;
      height: 68px;
    } */

    .pi-ex__grid {
      grid-template-columns: minmax(0, 1fr);
      justify-items: center;
      row-gap: 16px;
    }

    .pi-ex__left {
      width: 100%;
    }

    .pi-ex__arrow {
      position: static;
      width: 90px;
      transform: rotate(90deg);
    }
  }

  @media (max-width: 991px) {
    .pi-plans {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 20px;
    }

    .pi-plan__body {
      padding: 16px 52px 16px 16px;
      min-height: 0;
    }

    .pi-plan__body b {
      font-size: 17px;
    }

    .pi-plan__body small {
      font-size: 12px;
    }

    .pi-plan__body::after {
      right: 12px;
      width: 32px;
      height: 32px;
    }

    .pi-hero__title {
      font-size: 62.4px;
    }

    .pi-hero__title small {
      font-size: 35.2px;
    }

    .pi-hero__sub {
      white-space: normal;
      font-size: 28.8px;
    }

    .pi-hero__badge {
      width: 140px;
      height: 140px;
      font-size: 16px;
      top: -128px;
    }

    /* .pi-hero__badge-ic {
      width: 64px;
      height: 64px;
    } */

    .pi-hero__badge-ic .fa-heart {
      font-size: 64px;
    }

    .pi-hero__badge-ic .fa-paw {
      font-size: 30px;
    }

    .pi-sec__title {
      font-size: 36.8px;
    }

    .pi-choose__head h3 {
      font-size: 25.6px;
    }
  }

  /* =========================================================
     タブレット・スマートフォン（〜991px）
     ※タブレットでもスマホと同じ縦並びレイアウトにする
  ========================================================= */
  @media (max-width: 991px) {
    .pi {
      font-size: 22.4px;
    }

    .pi-pc {
      display: none;
    }

    .pi-sp {
      display: block;
    }

    .pi-white,
    .pi-white--both {
      border-radius: 28px;
    }

    .pi-white+.pi-white {
      margin-top: 24px;
    }

    .pi-white--both {
      border-radius: 24px;
    }

    .pi-label {
      min-width: 100px;
      font-size: 16px;
      padding: .15em 1.4em;
    }

    .pi-sec__title {
      margin-top: 22.4px;
      font-size: 35.2px;
    }

    .pi-sec__lead {
      margin-top: 25.6px;
      font-size: 20px;
      text-align: left;
    }

    .pi-sec__head {
      margin-bottom: 41.6px;
    }

    .pi-num {
      width: 30px;
      height: 30px;
      font-size: 22.4px;
    }

    .pi-h3 {
      gap: 16px;
      font-size: 24px;
    }

    .pi-tag {
      font-size: 20px;
    }

    .pi-note {
      font-size: 14px;
    }

    /* ヒーロー */
    .pi-hero {
      padding-top: 64px;
    }

    .pi-hero {
      background-image: url(/img/pet_insurance/bg_wave_sp.png);
      background-position: center top;
    }

    .pi-hero__inner {
      flex-direction: column;
      gap: 48px;
      padding-bottom: 48px;
    }

    .pi-hero__copy {
      flex: none;
      padding-top: 0;
    }

    .pi-hero__title {
      font-size: 44.8px;
    }

    .pi-hero__title small {
      font-size: 27.2px;
    }

    .pi-hero__sub {
      white-space: normal;
      margin-top: 19.2px;
      font-size: 27.2px;
    }

    .pi-hero__lead {
      margin-top: 25.6px;
      font-size: 20px;
      line-height: 1.9;
    }

    .pi-hero__visual {
      flex: none;
      width: 100%;
      max-width: none;
      margin: 0;
    }

    .pi-hero__badge {
      display: none;
    }

    .pi-hero .pi-paw--1 {
      left: auto;
      right: 8%;
      top: 144px;
      width: 48px;
    }

    .pi-hero .pi-paw--2 {
      left: auto;
      right: 14%;
      top: 514px;
      width: 52.8px;
    }

    .pi-hero .pi-paw--3 {
      left: 5%;
      bottom: 448px;
      width: 48px;
    }

    .pi-hero__scroll {
      padding-bottom: 48px;
    }

    /* POINT01 */
    .pi-point01 {
      padding: 80px 0 80px;
    }

    .pi-point01__fig {
      margin: 38.4px auto 32px;
    }

    .pi-point01__fig img {
      width: 280px;
    }

    .pi-tbl {
      font-size: 20.8px;
    }

    .pi-tbl th,
    .pi-tbl td {
      padding: 19.2px 12.8px;
    }

    .pi-tbl thead th {
      font-size: 20.8px;
      padding: 19.2px 9.6px;
    }

    .pi-tbl thead th:nth-child(1) {
      width: 32%;
    }

    .pi-tbl tbody th {
      padding-left: 19.2px;
    }

    /* POINT02 */
    .pi-point02 {
      padding: 96px 0 80px;
    }

    .pi-reason-card {
      flex-direction: column;
      gap: 32px;
      padding: 48px 32px 48px;
    }

    .pi-reason-card__text {
      margin: 19.2px 0 0;
      font-size: 20.8px;
      line-height: 1.9;
    }

    .pi-reason-card__img {
      flex: none;
    }

    .pi-reason-card__img img {
      width: 130px;
    }

    .pi-reason-card+.pi-reason-card,
    .pi-fee+.pi-reason-card,
    .pi-reason-card+.pi-fee {
      margin-top: 32px;
    }

    .pi-fee__head {
      flex-direction: column;
      gap: 0;
      padding: 22.4px 25.6px;
    }

    .pi-fee__head h3 {
      font-size: 25.6px;
    }

    .pi-fee__head small {
      font-size: 19.2px;
    }

    .pi-fee__tbl thead {
      display: none;
    }

    .pi-fee__tbl,
    .pi-fee__tbl tbody,
    .pi-fee__tbl tr {
      display: block;
      width: 100%;
    }

    .pi-fee__tbl tr {
      position: relative;
      display: grid;
      grid-template-columns: 1fr auto;
      grid-template-areas:
        "pet badge"
        "dis price";
      align-items: center;
      column-gap: 16px;
      padding: 22.4px 25.6px;
      border-bottom: 1px solid #e6eef5;
    }

    .pi-fee__tbl td {
      display: block;
      padding: 0;
      border: 0;
    }

    .pi-fee__tbl td:nth-child(1) {
      grid-area: pet;
    }

    .pi-fee__tbl td:nth-child(2) {
      grid-area: dis;
      padding-left: 83.2px;
      font-size: 20.8px;
    }

    .pi-fee__tbl td:nth-child(3) {
      grid-area: badge;
      text-align: right;
    }

    .pi-fee__tbl td:nth-child(4) {
      grid-area: price;
    }

    .pi-fee__pet {
      white-space: normal;
      font-size: 24px;
      gap: 19.2px;
    }

    .pi-fee__badge {
      font-size: 19.2px;
      padding: .1em 1em;
    }

    .pi-fee__price {
      font-size: 27.2px;
    }

    .pi-fee__note {
      padding: 19.2px 25.6px 32px;
    }

    /* POINT03 */
    .pi-point03 {
      padding: 80px 0 64px;
    }

    .pi-block {
      margin-top: 48px;
    }

    .pi-block__text {
      margin-top: 19.2px;
      font-size: 20px;
      line-height: 1.9;
    }

    .pi-block .pi-tag {
      margin-top: 32px;
    }

    .pi-types,
    .pi-limits {
      flex-direction: column;
      gap: 32px;
      margin-top: 32px;
    }

    @supports (grid-template-rows: subgrid) {
      .pi-limits {
        grid-template-columns: 1fr;
        row-gap: 32px;
      }

      .pi-limit {
        display: block;
        grid-row: auto;
      }
    }

    .pi-type {
      padding: 38.4px 25.6px 41.6px;
    }

    .pi-type__name {
      min-width: 170px;
      font-size: 20px;
    }

    .pi-type__items li {
      font-size: 20px;
    }

    .pi-type__ic {
      width: 60px;
      height: 60px;
      font-size: 27.2px;
    }

    .pi-type__marks li {
      font-size: 27.2px;
    }

    .pi-type__marks .pi-mark-o {
      width: 20px;
      height: 20px;
    }

    .pi-type__caption {
      font-size: 16px;
    }

    .pi-type__cost {
      font-size: 25.6px;
      gap: 19.2px;
    }

    .pi-type__cost img {
      width: 44px;
    }

    .pi-type__cost span {
      gap: 16px;
    }

    .pi-excl {
      padding: 32px 25.6px;
    }

    .pi-excl li {
      display: block;
      padding-left: 51.2px;
    }

    .pi-excl li::before {
      top: .5em;
      width: 20px;
      height: 20px;
    }

    .pi-excl__t {
      display: block;
      font-size: 25.6px;
    }

    .pi-excl__d {
      display: block;
      font-size: 20px;
      line-height: 1.7;
    }

    .pi-limit {
      padding: 38.4px 25.6px;
    }

    .pi-limit__title {
      font-size: 22.4px;
    }

    .pi-limit__sub {
      font-size: 20.8px;
    }

    .pi-limit__list li {
      font-size: 20.8px;
    }

    .pi-limit__ex {
      display: block;
      text-align: center;
      font-size: 20.8px;
    }

    .pi-bar {
      height: 76px;
    }

    .pi-bar__seg {
      font-size: 20px;
    }

    .pi-limit__result {
      font-size: 20.8px;
      padding: 22.4px 25.6px;
    }

    /* POINT04 */
    .pi-point04 {
      padding: 96px 0 80px;
    }

    .pi-choose {
      grid-template-columns: 1fr;
      gap: 25.6px;
      margin-top: 48px;
    }

    .pi-choose__item {
      padding: 38.4px 32px 41.6px;
    }

    .pi-choose__head {
      padding-right: 86.4px;
      min-height: 0;
    }

    .pi-choose__head h3 {
      font-size: 24px;
    }

    .pi-choose__ic {
      right: 32px;
      top: 32px;
      width: 54px;
    }

    .pi-choose__text {
      margin-top: 22.4px;
      font-size: 20.8px;
      line-height: 1.9;
    }

    /* REASON */
    .pi-reason {
      padding: 80px 0 80px;
    }

    .pi-rcard {
      padding: 48px 32px 48px;
    }

    .pi-rcard__num {
      min-width: 52px;
      height: 46px;
      padding: 0 6px;
    }

    .pi-rcard__num .pi-rcard__num-t {
      font-size: 16px;
      transform: scale(.72);
    }

    .pi-rcard__num b {
      font-size: 25.6px;
    }

    .pi-rcard__head h3 {
      font-size: 24px;
    }

    .pi-rcard__text {
      margin-top: 25.6px;
      font-size: 20.8px;
      line-height: 1.9;
    }

    .pi-ex__head {
      font-size: 24px;
    }

    .pi-ex__body {
      padding: 32px 25.6px 38.4px;
    }

    .pi-ex__plan {
      font-size: 20.8px;
    }

    .pi-ex__grid {
      justify-items: stretch;
      row-gap: 19.2px;
      margin-top: 22.4px;
    }

    .pi-ex__limit {
      gap: 25.6px;
      padding: 16px 25.6px;
      justify-content: center;
    }

    .pi-ex__limit img {
      width: 80px;
    }

    .pi-ex__limit-t {
      font-size: 20.8px;
    }

    .pi-ex__limit-v {
      font-size: 33.6px;
    }

    .pi-ex__limit-v small {
      font-size: 22.4px;
    }

    .pi-ex__calc {
      padding: 32px 25.6px;
      font-size: 20.8px;
      text-align: center;
    }

    .pi-ex__calc .pi-ex__red {
      font-size: 28.8px;
    }

    .pi-ex__calc .pi-ex__red small {
      font-size: 20.8px;
    }

    .pi-ex__calc .pi-ex__own {
      font-size: 28.8px;
    }

    .pi-ex__arrow {
      position: static;
      width: 60px;
      margin: 0 auto;
      transform: rotate(90deg);
    }

    .pi-ex__chart {
      justify-content: center;
      gap: 32px;
      padding-top: 0;
    }

    .pi-ex__col {
      width: 90px;
      height: 240px;
      font-size: 20.8px;
    }

    .pi-ex__col-own {
      height: 50px;
    }

    .pi-rcard .pi-note {
      margin-top: 32px;
    }

    .pi-pets {
      gap: 25.6px;
      margin-top: 32px;
    }

    .pi-pets {
      grid-template-columns: 1fr;
    }

    .pi-pets li,
    .pi-pets li:nth-child(-n+2) {
      grid-column: auto;
    }

    .pi-pets a,
    .pi-pets li:nth-child(n+3) a {
      flex-direction: column;
      align-items: stretch;
      gap: 12.8px;
      min-height: 0;
      padding: 16px 16px 19.2px;
    }

    .pi-pets a>img {
      width: 100%;
      height: 140px;
      object-fit: cover;
      object-position: center top;
      /* 上は切らず、下側だけ見切れる */
    }

    .pi-pets a span,
    .pi-pets li:nth-child(-n+2) a span {
      flex-direction: column;
      align-items: flex-start;
      justify-content: center;
      gap: 9.6px;
      font-size: 20.8px;
      text-align: left;
    }

    .pi-pets a span .pi-pets__arrow,
    .pi-pets li:nth-child(-n+2) a span .pi-pets__arrow {
      align-self: flex-end;
    }

    /* CTA */
    .pi-cta {
      padding: 96px 0 96px;
    }

    .pi-cta__title {
      font-size: 32px;
    }

    .pi-cta__lead {
      margin-top: 25.6px;
      font-size: 20.8px;
      line-height: 1.9;
    }

    .pi-cta__divider {
      margin-top: 48px;
    }

    .pi-cta__divider::before {
      display: none;
    }

    .pi-cta__divider span {
      font-size: 25.6px;
      padding: .4em 2em;
    }

    .pi-plans {
      margin-top: 38.4px;
    }

    .pi-plan__body {
      padding: 25.6px 96px 25.6px 32px;
    }

    .pi-cta .pi-paw--1 {
      right: 6%;
      top: 80px;
      width: 48px;
    }

    .pi-cta .pi-paw--2,
    .pi-cta .pi-paw--3 {
      display: none;
    }

    .pi-cta .pi-paw--4 {
      left: 4%;
      bottom: auto;
      top: 800px;
      width: 48px;
    }
  }

  /* タブレットのみ：ペット別リンクは2列、画像を大きめに */
  @media (min-width: 768px) and (max-width: 991px) {
    .pi-pets {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 32px;
    }

    .pi-pets a>img {
      height: 160px;
    }

    .pi-pets a span {
      font-size: 22.4px;
    }
  }

  /* 992〜1199px：6列グリッドのままだと1列が狭すぎて文字が
     1〜2文字ずつ折り返し、ボタンの高さがバラついてしまう。
     タブレットと同じ横長カード（画像左・文字・矢印右）を2列に並べる。 */
  @media (min-width: 992px) and (max-width: 1199px) {
    .pi-pets {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 24px;
    }

    .pi-pets li,
    .pi-pets li:nth-child(-n+2) {
      grid-column: auto;
    }

    .pi-pets a,
    .pi-pets li:nth-child(n+3) a {
      flex-direction: row;
      align-items: center;
      gap: 16px;
      min-height: 0;
      padding: 14px 18px 14px 14px;
    }

    .pi-pets a>img,
    .pi-pets li:nth-child(n+3) a>img {
      width: 110px;
      height: 74px;
      flex: 0 0 auto;
      object-fit: cover;
      object-position: center top;
    }

    .pi-pets li:nth-child(1) a>img {
      object-position: center 28%;
    }

    .pi-pets a span,
    .pi-pets li:nth-child(-n+2) a span {
      flex: 1 1 auto;
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      font-size: 17px;
      line-height: 1.45;
      text-align: left;
      /* 992px 付近は1行に収まらないので折り返しを許可する。
         グリッドで伸縮するため折り返しても行内の高さは揃う。 */
      white-space: normal;
    }

    .pi-pets a span .pi-pets__arrow,
    .pi-pets li:nth-child(-n+2) a span .pi-pets__arrow {
      align-self: center;
    }

    /* 意図しない位置での改行は止める */
    .pi-pets a span br {
      display: none;
    }

    /* プランカード：1200px以上より1枚が狭いので、
       矢印まわりを詰めて文字を流動的に縮め、1行に収める */
    .pi-plan__body {
      padding: 22.4px 68px 22.4px 24px;
    }

    .pi-plan__body b {
      font-size: clamp(21px, 2.1vw, 25.6px);
    }

    .pi-plan__body small {
      font-size: clamp(15px, 1.6vw, 19.2px);
    }

    .pi-plan__body::after {
      right: 20px;
      width: 36px;
      height: 36px;
      background-size: 20px 20px;
    }
  }

  /* =========================================================
     スマートフォン（〜767px）：文字サイズのみ一段小さく
  ========================================================= */
  @media (max-width: 767px) {
    .pi {
      font-size: 16px;
    }

        .pi-type__items li {
      font-size: 18px;
    }

    .pi-plans {
      grid-template-columns: 1fr;
      gap: 24px;
    }

    .pi-plan__body {
      padding: 24px 88px 24px 32px;
    }

    .pi-plan__body b {
      font-size: 20px;
    }

    .pi-plan__body small {
      font-size: 14px;
    }

    .pi-plan__body::after {
      right: 24px;
      width: 40px;
      height: 40px;
    }

    .pi-sec__title {
      font-size: 30.4px;
    }

    .pi-sec__lead,
    .pi-block__text,
    .pi-reason-card__text,
    .pi-rcard__text,
    .pi-choose__text,
    .pi-cta__lead,
    .pi-hero__lead {
      font-size: 16px;
      line-height: 1.9;
    }

    .pi-hero__title {
      font-size: 41.6px;
    }

    .pi-hero__title small {
      font-size: 24px;
    }

    .pi-hero__sub {
      font-size: 24px;
    }

    .pi-h3,
    .pi-fee__head h3 {
      font-size: 24px;
    }
    .pi-rcard__head h3,
    .pi-choose__head h3{
      font-size: 20px;
    }

    .pi-fee__pet,
    .pi-type__cost,
    .pi-limit__title {
      font-size: 20px;
    }

    .pi-type__name{
        font-size: 18px;
    }
    .pi-fee__tbl td,
    .pi-tbl th,
    .pi-tbl td,
    .pi-note,
    .pi-at {
      font-size: 19.2px;
    }

    .pi-pets a span {
      font-size: 20.8px;
    }

    .pi-plan__body b {
      font-size: 24px;
    }

    .pi-plan__body small {
      font-size: 19.2px;
    }

    .pi-cta__title {
      font-size: 28.8px;
    }
  }

  /* =========================================================
     スマートフォン（〜767px）：見出し階層と表の文字サイズ
     h2(ヒーロー32) > h2(セクション26 / CTA24) > h3(20) > h4(18) > h5(16)
  ========================================================= */
  @media (max-width: 767px) {
    .pi-hero__title {
      font-size: 32px;
    }

    .pi-hero__title small {
      font-size: 16px;
    }

    .pi-hero__sub {
      font-size: 24px;
    }

    .pi-sec__title {
      font-size: 28px;
    }

    .pi-cta__title {
      font-size: 24px;
    }

    /* .pi-h3,
    .pi-fee__head h3,
    .pi-choose__head h3,
    .pi-rcard__head h3 {
      font-size: 20px;
    } */

    .pi-limit__title,
    .pi h4 {
      font-size: 18px;
    }

    .pi h5 {
      font-size: 16px;
    }

    /* 表 */
    .pi-tbl {
      font-size: 13px;
    }

    .pi-tbl th,
    .pi-tbl td,
    .pi-tbl thead th {
      font-size: 13px;
      padding: 10px 8px;
    }

    .pi-fee__tbl {
      font-size: 13px;
    }

    .pi-fee__tbl td,
    .pi-fee__tbl td:nth-child(2) {
      font-size: 13px;
    }

    .pi-fee__tbl td:nth-child(2) {
      padding-left: 64px;
    }

    .pi-fee__pet {
      font-size: 14px;
    }

    .pi-fee__pet img {
      width: 30px;
      height: 30px;
    }

    .pi-fee__badge {
      font-size: 12px;
    }

    .pi-fee__tbl td.pi-fee__price {
      font-size: 18px;
    }

    .pi-fee__price small {
      font-size: 12px;
    }

    .pi-fee__head h3 {
      font-size: 18px;
    }

    .pi-fee__head small {
      font-size: 12px;
    }

    .pi-fee__note,
    .pi-note {
      font-size: 12px;
    }

    .pi-limit__list li,
    .pi-limit__sub,
    .pi-limit__ex,
    .pi-limit__total,
    .pi-bar__seg,
    .pi-bar__scale,
    .pi-limit__result {
      font-size: 13px;
    }

      .pi-limit__ex{
    padding: .4em 1.8em;
  }

  }


  @media (max-width: 767px) {
    .pi-type__caption {
      font-size: 13px;
    }
  }

  /* スマホ：5日間通院の例（REASON 01）を小さく */
  @media (max-width: 767px) {
    .pi-ex__head {
      font-size: 16px;
      padding: 12px 16px;
    }

    .pi-ex__body {
      padding: 20px 16px 24px;
    }

    .pi-ex__plan {
      font-size: 14px;
    }

    .pi-ex__grid {
      row-gap: 12px;
      margin-top: 14px;
    }

    .pi-ex__limit {
      gap: 12px;
      padding: 12px 14px;
    }

    .pi-ex__limit img {
      width: 64px;
    }

    .pi-ex__limit-t {
      font-size: 15px;
    }

    /* 「1日8,000円」は nowrap なので画面幅に合わせて縮める */
    .pi-ex__limit-v {
      font-size: clamp(20px, 5.8vw, 26px);
    }

    .pi-ex__limit-v small {
      font-size: clamp(12px, 3.2vw, 14px);
    }

    .pi-ex__calc {
      padding: 18px 16px;
      font-size: 16px;
      line-height: 1.7;
    }

    .pi-ex__calc .pi-ex__red {
      font-size: clamp(19px, 5.6vw, 22px);
    }

    .pi-ex__calc .pi-ex__red small {
      font-size: 14px;
    }

    /* 「自己負担額が 2,000円」も nowrap なので画面幅に合わせて縮める。
       それでも入らない場合は折り返して逃がす */
    .pi-ex__calc .pi-ex__own {
      font-size: clamp(17px, 5.2vw, 21px);
      margin-top: 6px;
      white-space: normal;
    }

    .pi-ex__arrow {
      width: 54px;
    }

    .pi-ex__chart {
      gap: 16px;
      justify-content: center;
    }

    /* 幅を固定するとはみ出すので、画面幅を2等分する */
    .pi-ex__col {
      flex: 1 1 0;
      width: auto;
      min-width: 0;
      max-width: 160px;
      height: 200px;
      font-size: 14px;
      line-height: 1.4;
    }

    .pi-ex__col-own {
      height: 44px;
    }

    .pi-rcard .pi-note {
      font-size: 12px;
    }
  }

  /* =========================================================
     タブレット以下（〜991px）の個別調整
  ========================================================= */
  @media (max-width: 991px) {

    /* 2. ヒーロー見出し（h1）を大きく */
    .pi-hero__title {
      font-size: 52px;
    }

    .pi-hero__title small {
      font-size: 30px;
    }

    /* 3. 人とペットの図 */
    .pi-point01__fig img {
      width: 420px;
      max-width: 100%;
    }

    /* 4. POINT02 カードのイラスト */
    .pi-reason-card__img img {
      width: 180px;
    }

    /* 5・6. 診療費表：ペットアイコンを行の高さに合わせ、傷病名の左端をペット名に揃える */
    .pi-fee__pet {
      gap: 16px;
      font-size: 24px;
    }

    .pi-fee__pet img {
      width: 60px;
      height: 60px;
    }

    .pi-fee__tbl td:nth-child(2) {
      padding-left: 76px;
      font-size: 20px;
    }

    /* 7. タイプ説明キャプション */
    .pi-type__caption {
      font-size: 20px;
      white-space: nowrap;
    }

    /* 8. 補償対象外：本文（22.4px）よりわずかに大きいだけ */
    .pi-excl__t {
      font-size: 24px;
    }

    .pi-excl__d {
      font-size: 22.4px;
    }

    /* 9. 補償限度額・免責金額：本文と同じ大きさに */
    .pi-limit__title {
      font-size: 24px;
    }

    .pi-limit__sub,
    .pi-limit__list li,
    .pi-limit__ex,
    .pi-limit__total,
    .pi-bar__seg,
    .pi-bar__scale,
    .pi-limit__result {
      font-size: 22.4px;
    }

    /* 10. REASON 番号バッジ：文字を小さく、余白を持たせる */
    .pi-rcard__num {
      min-width: 68px;
      height: 56px;
      padding: 6px 14px;
    }

    .pi-rcard__num .pi-rcard__num-t {
      font-size: 10px;
      transform: none;
      letter-spacing: .04em;
    }

    .pi-rcard__num b {
      font-size: 20px;
      margin-top: 2px;
    }

    /* 11. 5日間通院：犬の画像を大きく（水色ボックスを上下に突き抜ける） */
    .pi-ex__limit {
      overflow: visible;
      margin-top: 24px;
    }

    .pi-ex__limit img {
      width: 150px;
      margin: -30px 0 -12px;
    }

    /* 12. 犬の写真：顔を確実に、体は顔の1/3程度 */
    .pi-pets li:nth-child(1) a>img {
      object-position: center 28%;
    }
  }

  /* 13. タブレット・スマホ：ペット別リンクは横長カード（画像左・テキスト・矢印右）のまま1列 */
  @media (max-width: 991px) {
    .pi-pets {
      grid-template-columns: minmax(0, 1fr);
      gap: 16px;
    }

    .pi-pets a,
    .pi-pets li:nth-child(n+3) a {
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 16px;
      min-height: 0;
      padding: 12px 16px 12px 12px;
    }

    .pi-pets a>img,
    .pi-pets li:nth-child(n+3) a>img {
      width: 96px;
      height: 64px;
      flex: 0 0 auto;
      object-fit: cover;
      object-position: center top;
    }

    .pi-pets li:nth-child(1) a>img {
      object-position: center 28%;
    }

    .pi-pets a span,
    .pi-pets li:nth-child(-n+2) a span {
      flex: 1 1 auto;
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      text-align: left;
      font-size: 17px;
      line-height: 1.45;
      white-space: nowrap;
    }

    .pi-pets a span .pi-pets__arrow,
    .pi-pets li:nth-child(-n+2) a span .pi-pets__arrow {
      align-self: center;
    }

    .pi-pets a span br {
      display: none;
    }

    /* 1列時は折り返しなし */
  }

  /* スマホ側の上書き */
  @media (max-width: 767px) {
    .pi-hero__title {
      font-size: 8vw;
    }

    .pi-hero__title small {
      font-size: 5.5vw;
    }

    .pi-point01__fig img {
      width: 320px;
    }

    .pi-reason-card__img img {
      width: 130px;
    }

    .pi-fee__pet {
      gap: 12px;
      font-size: 14px;
    }

    .pi-fee__pet img {
      width: 36px;
      height: 36px;
    }

    .pi-fee__tbl td:nth-child(2) {
      padding-left: 48px;
      font-size: 13px;
    }

    .pi-type__caption {
      font-size: 14px;
      white-space: normal;
    }

    .pi-excl__t {
      font-size: 17px;
    }

    .pi-excl__d {
      font-size: 16px;
    }

    .pi-limit__title {
      font-size: 17px;
    }

    .pi-limit__sub,
    .pi-limit__list li,
    .pi-limit__ex,
    .pi-limit__total,
    .pi-bar__seg,
    .pi-bar__scale,
    .pi-limit__result {
      font-size: 15px;
    }

    .pi-rcard__num {
      min-width: 60px;
      height: 48px;
      padding: 5px 12px;
    }

    .pi-rcard__num b {
      font-size: 18px;
    }

    .pi-ex__limit {
      margin-top: 20px;
      gap: 10px;
      padding: 10px 12px;
    }

    /* 犬の写真が大きいと「1日8,000円」が右にはみ出すので抑える */
    .pi-ex__limit img {
      width: 80px;
      margin: -16px 0 -6px;
    }
  }

  /* タブレットのみ（768〜991px）の追加調整 */
  @media (min-width: 768px) and (max-width: 991px) {

    /* 3. 5日間通院：矢印とグラフを大きく */
    .pi-ex__arrow {
      width: 90px;
    }

    .pi-ex__chart {
      gap: 40px;
    }

    .pi-ex__col {
      width: 130px;
      height: 320px;
      font-size: 20px;
    }

    .pi-ex__col-own {
      height: 64px;
    }


    /* 5. プランカードを少し大きく */
    .pi-plans {
      gap: 14px;
      margin-left: -8px;
      margin-right: -8px;
    }

    .pi-plan__body {
      padding: 18px 52px 18px 14px;
    }

    .pi-plan__body b {
      font-size: 18px;
    }

    .pi-plan__body small {
      font-size: 13px;
    }

    .pi-plan__body::after {
      width: 36px;
      height: 36px;
      right: 12px;
      background-size: 20px 20px;
    }
  }

  @media (max-width: 767px) {

    .pi-pets a,
    .pi-pets li:nth-child(n+3) a {
      padding: 10px 12px 10px 10px;
      gap: 12px;
    }

    .pi-pets a span,
    .pi-pets li:nth-child(-n+2) a span {
      display: flex;
      padding: 0;
      font-size: 14px;
      /* 1行に収まらないラベルは折り返す（矢印にかぶらないように） */
      white-space: normal;
      gap: 8px;
    }

    /* 折り返し位置を「ペット」の後ろで固定する */
    .pi-pets a span br {
      display: inline;
    }
  }

  /* スマホ：プランカードは横長（画像左・テキスト右）にして大きくなりすぎないように */
  @media (max-width: 767px) {
    .pi-plans {
      gap: 16px;
    }

    .pi-plan {
      flex-direction: row;
      align-items: stretch;
    }

    .pi-plan__img {
      flex: 0 0 36%;
      aspect-ratio: auto;
      min-height: 104px;
    }

    .pi-plan__img img {
      object-fit: contain;
      padding: 8px;
      box-sizing: border-box;
    }

    .pi-plan__body {
      flex: 1 1 auto;
      min-height: 0;
      padding: 14px 48px 14px 12px;
      white-space: normal;
    }

    .pi-plan__body b {
      font-size: 15px;
      line-height: 1.35;
    }

    .pi-plan__body small {
      font-size: 11px;
      line-height: 1.4;
    }

    .pi-plan__body::after {
      right: 12px;
      width: 30px;
      height: 30px;
      background-size: 16px 16px;
    }

    .pi-cta__divider span{
      font-size: 20px;
    }

  }

  @media (max-width: 564px) {
      .pi-tag {
        font-size: 18px;
    }

    .pi-point01__fig img {
        width: 80%;
    }

    .pi-rcard__num{
      padding: 6px 4px;
      border-radius: 8px;
    }

    .pi-ex__arrow {
        width: 72px;
    }

    .pi-hero__title{
      font-size: 9vw;
    }

    .pi-cta__divider span{
      padding: .4em 1.2em;
    }

        .pi-cta__divider span {
        font-size: 18px;
    }

    .pi-choose__head{
      gap: 16px;
    }

    .pi-choose__head{
      padding-right: 64px;
    }

    .pi-choose__head h3{
      font-size: 18px;
    }
  }

  /* 幅の狭いスマホ（〜400px）：ペット別リンクの文字スペースを確保する。
     写真が大きいと「犬のペット保険とは」が途中で折り返してしまうため。 */
  @media (max-width: 400px) {

    .pi-pets a,
    .pi-pets li:nth-child(n+3) a {
      padding: 10px 10px 10px 8px;
      gap: 10px;
    }

    .pi-pets a>img,
    .pi-pets li:nth-child(n+3) a>img {
      width: 76px;
      height: 52px;
    }

    .pi-pets a span,
    .pi-pets li:nth-child(-n+2) a span {
      font-size: 13px;
      gap: 6px;
    }
  }

  /* 極小幅（〜374px：iPhone SE 第1世代など） */
  @media (max-width: 374px) {
    .pi-ex__limit img {
      width: 64px;
      margin: -12px 0 -4px;
    }

    .pi-ex__limit-t {
      font-size: 13px;
    }

    .pi-ex__limit-v {
      font-size: 18px;
    }

    .pi-ex__limit-v small {
      font-size: 11px;
    }
  }

/* ---------------------------------------------------------
   REASON 02 対応ペットのラインナップ（リンクなし）＋「詳細はこちら」
   画像は丸い背景つきの透過PNG（/img/pet_insurance/lineup_*.png）
   --------------------------------------------------------- */
.pi-lineup {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}
.pi-lineup li {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pi-lineup__img {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 1 / 1; /* 画像の縦横比が少し違っても、5つの丸の大きさと位置をそろえる */
  margin: 0;
}
.pi-lineup__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pi-lineup__name {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 10px 0 0;
  padding: 0;
  color: var(--pi-blue);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}
/* 「〇〇の」「ペット保険」の切れ目でだけ折り返す */
.pi-lineup__name span {
  display: inline-block;
}

/* 詳細はこちら（CTAへのアンカー） */
.pi-lineup__more {
  margin: 40px 0 0;
  text-align: center;
}
.pi-lineup__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-width: 320px;
  padding: 16px 20px 16px 40px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--pi-blue-light) 0%, var(--pi-blue) 100%);
  box-shadow: var(--pi-shadow);
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition: opacity .2s;
}
.pi-lineup__btn:hover {
  color: #fff;
  opacity: .85;
  text-decoration: none;
}
.pi-lineup__btn span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
}
.pi-lineup__btn span img {
  display: block;
  width: 16px;
  height: 16px;
}
/* 移動先：固定ヘッダー（PC 79px / SP 70px）に隠れないよう上に余白 */
#pi-plans {
  scroll-margin-top: 100px;
}

@media (max-width: 991px) {
  .pi-lineup {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
    margin-top: 32px;
  }
  /* 上段3つ・下段2つを中央寄せ */
  .pi-lineup li { grid-column: span 2; }
  .pi-lineup li:nth-child(4) { grid-column: 2 / span 2; }
  .pi-lineup li:nth-child(5) { grid-column: 4 / span 2; }
  .pi-lineup__name { font-size: 15px; }
  .pi-lineup__more { margin-top: 32px; }
}
@media (max-width: 767px) {
  .pi-lineup { gap: 12px 8px; }
  .pi-lineup__name {
    margin-top: 6px;
    font-size: 13px;
  }
  .pi-lineup__btn {
    width: 100%;
    min-width: 0;
    padding: 14px 16px 14px 32px;
    font-size: 17px;
  }
}
