
.p-cases {
  background: var(--c-bg);
}

.p-cases__inner {
  padding: 80px 0 40px;
}

.p-cases--list .p-cases__inner {
  padding: 56px 0 100px;
}

.p-cases__lead {
  margin-top: 28px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.7;
  text-align: center;
}


.p-cases__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 44px;
}

.p-cases__grid .p-case__card {
  display: flex;
  flex-direction: column;
}

.p-cases__grid .p-case__name {
  margin-top: 0;
}


.p-cases__terms {
  margin-top: 18px;
  list-style: none;
}

.p-cases__term {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, .35);
}

.p-cases__rank {
  flex: 0 0 76px;
  color: var(--c-yellow-lt);
  font-size: 38px;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.p-cases__rank small {
  font-size: 18px;
}

.p-cases__kw {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
}

.p-cases__ja,
.p-cases__cnt {
  display: block;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.p-cases__cnt {
  margin-top: 2px;
  color: var(--c-yellow-lt);
}

.p-cases__more {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 500;
  text-align: right;
}

.p-cases--list .c-note {
  margin-top: 40px;
}

.p-cases--list .c-btn {
  margin-top: 40px;
}


.p-cases__sum {
  padding-bottom: 0;
}

@media (max-width: 768px) {
  .p-cases__inner {
    padding: 70px min(calc(60 / 750 * 100vw), 60px) 20px;
  }

  .p-cases--list .p-cases__inner {
    padding: 50px min(calc(30 / 750 * 100vw), 30px) 80px;
  }

  .p-cases__lead {
    font-size: 15px;
    text-align: left;
  }

  .p-cases__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .p-cases__rank {
    flex-basis: 64px;
    font-size: 34px;
  }

  .p-cases__kw {
    font-size: 17px;
  }

  .p-cases__ja,
  .p-cases__cnt,
  .p-cases__more {
    font-size: 13px;
  }
}


.p-cases__ko {
  word-break: keep-all;
}


.p-case .swiper-slide {
  display: flex;
}

.p-case .swiper-slide .p-case__card {
  flex: 1 1 auto;
}


.p-cases__nw {
  white-space: nowrap;
}


.p-cases--list .c-note > span {
  display: block;
  padding-left: 1em;
  text-indent: -1em;
}




.p-cases__link {
  margin-top: auto;
  padding-top: 20px;
  text-align: right;
  font-size: 16px;
  font-weight: 700;
}

.p-cases__link a {
  color: var(--c-yellow-lt);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.p-cases__link a::after {
  content: " ＞";
}


.p-lab__card {
  position: relative;
}

.p-lab__title a {
  color: inherit;
  text-decoration: none;
}

.p-lab__title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

@media (hover: hover) {
  .p-lab__card:hover .p-lab__title a {
    text-decoration: underline;
    text-underline-offset: 4px;
  }
}


.p-lab .swiper-slide {
  display: flex;
  height: auto;
}

.p-lab .swiper-slide .p-lab__card {
  flex: 1 1 auto;
}

.p-lab__thumb img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}


@media (min-width: 769px) {
  .p-lab .swiper-wrapper {
    grid-template-columns: repeat(6, 1fr);
    max-width: 1193px;
    margin-inline: auto;
  }

  .p-lab .swiper-slide {
    grid-column: span 2;
  }

  .p-lab .swiper-slide:nth-child(3n+1):nth-last-child(2) {
    grid-column: 2 / span 2;
  }

  .p-lab .swiper-slide:nth-child(3n+2):last-child {
    grid-column: 4 / span 2;
  }
}


.p-lab--index .p-lab__inner {
  padding: 80px 0 100px;
}

.p-lab--index .p-lab__lead {
  width: auto;
  max-width: 1034px;
  font-size: 18px;
  font-weight: 500;
}

.p-lab__list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 46px 49px;
  max-width: 1193px;
  margin: 60px auto 0;
  list-style: none;
}

.p-lab__item {
  grid-column: span 2;
  display: flex;
}

.p-lab__item:nth-child(3n+1):nth-last-child(2) {
  grid-column: 2 / span 2;
}

.p-lab__item:nth-child(3n+2):last-child {
  grid-column: 4 / span 2;
}

.p-lab__item .p-lab__card {
  flex: 1 1 auto;
}

.p-lab--index .c-note {
  margin-top: 56px;
}

.p-lab--index .c-note > span {
  display: block;
  padding-left: 1em;
  text-indent: -1em;
}


.p-labArticle {
  background: var(--c-bg);
}

.p-labArticle__inner {
  max-width: 880px;
  padding: 48px 0 110px;
}

.p-labArticle__crumb {
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}

.p-labArticle__crumb a {
  color: var(--c-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.p-labArticle__crumb span {
  margin: 0 .5em;
}

.p-labArticle__card {
  padding: 48px 56px 52px;
  border-radius: 24px;
  background: var(--c-white);
  box-shadow: 8px 8px 0 rgba(1, 75, 163, .12);
}

.p-labArticle__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  font-weight: 500;
}

.p-labArticle__cat {
  padding: 3px 16px;
  border-radius: 999px;
  background: var(--c-blue);
  color: var(--c-white);
  font-weight: 700;
}

.p-labArticle__title {
  margin-top: 18px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.5;
}

.p-labArticle__eye {
  margin-top: 28px;
}

.p-labArticle__eye img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.p-labArticle__lead {
  margin-top: 28px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.9;
}


.p-labArticle__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 28px;
  border: 2px solid var(--c-blue);
  border-radius: 12px;
  background: var(--c-blue);
  overflow: hidden;
  list-style: none;
}

.p-labArticle__facts li {
  padding: 14px 16px;
  background: var(--c-bg);
}

.p-labArticle__facts span {
  display: block;
  font-size: 13px;
  font-weight: 500;
}

.p-labArticle__facts b {
  display: block;
  margin-top: 2px;
  color: var(--c-blue);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.p-labArticle__body h2 {
  margin-top: 48px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--c-blue);
  color: var(--c-blue);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
}

.p-labArticle__body p {
  margin-top: 20px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.95;
}


.p-labArticle__tableWrap {
  margin-top: 24px;
  overflow-x: auto;
}

.p-labArticle__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.5;
}

.p-labArticle__table th,
.p-labArticle__table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(1, 75, 163, .25);
  text-align: left;
  vertical-align: middle;
}

.p-labArticle__table th {
  background: var(--c-blue);
  color: var(--c-white);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.p-labArticle__rank,
.p-labArticle__num {
  color: var(--c-blue);
  font-size: 22px;
  font-weight: 700;
  white-space: nowrap;
}

.p-labArticle__rank small,
.p-labArticle__num small {
  font-size: 14px;
}

.p-labArticle__note {
  margin-top: 40px;
}

.p-labArticle__note > span {
  display: block;
  padding-left: 1em;
  text-indent: -1em;
}

.p-labArticle__cta {
  margin-top: 48px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.8;
  text-align: center;
}

.p-labArticle__cta + .c-btn {
  margin-top: 24px;
}

.p-labArticle__back {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin-top: 40px;
  font-size: 15px;
  font-weight: 700;
}

.p-labArticle__back a {
  color: var(--c-blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 768px) {
  .p-cases__link {
    font-size: 14px;
  }

  .p-lab--index .p-lab__inner {
    padding: 70px min(calc(60 / 750 * 100vw), 60px) 80px;
  }

  .p-lab--index .p-lab__lead {
    font-size: 15px;
  }

  .p-lab__list {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 40px;
  }

  .p-lab__item,
  .p-lab__item:nth-child(3n+1):nth-last-child(2),
  .p-lab__item:nth-child(3n+2):last-child {
    grid-column: auto;
  }

  .p-lab__thumb img {
    border-radius: 8px;
  }

  .p-labArticle__inner {
    padding: 28px min(calc(30 / 750 * 100vw), 30px) 80px;
  }

  .p-labArticle__crumb {
    font-size: 13px;
  }

  .p-labArticle__card {
    padding: 28px 20px 32px;
    border-radius: 20px;
    box-shadow: none;
  }

  .p-labArticle__title {
    font-size: 22px;
  }

  .p-labArticle__lead {
    font-size: 15px;
  }

  .p-labArticle__facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .p-labArticle__facts li {
    padding: 10px 12px;
  }

  .p-labArticle__facts span {
    font-size: 13px;
  }

  .p-labArticle__facts b {
    font-size: 16px;
  }

  .p-labArticle__body h2 {
    margin-top: 36px;
    font-size: 19px;
  }

  .p-labArticle__body p {
    font-size: 15px;
    line-height: 1.9;
  }

  .p-labArticle__table {
    font-size: 13px;
  }

  .p-labArticle__table th,
  .p-labArticle__table td {
    padding: 10px 5px;
  }

  .p-labArticle__table th {
    font-size: 13px;
  }

  .p-labArticle__rank,
  .p-labArticle__num {
    font-size: 18px;
  }

  .p-labArticle__cta {
    font-size: 15px;
    text-align: left;
  }

  .p-labArticle__back {
    font-size: 14px;
  }
}
