body.home {
  color: var(--color-main);
  font-family: var(--font-sans);
}

.home .l-main {
  overflow: hidden;
}

.p-section__inner {
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
}
@media screen and (max-width: 767px) {
  .p-section__inner {
    width: calc(100% - clamp(40px, -1.3793103448px + 10.6100795756vw, 80px));
  }
}

.p-section {
  padding: 80px 0;
}
@media screen and (max-width: 767px) {
  .p-section {
    padding: clamp(56px, 31.1724137931px + 6.3660477454vw, 80px) 0;
  }
}

.p-hero {
  height: min(800px, 100vh);
  min-height: 580px;
  position: relative;
  overflow: hidden;
  color: #fff;
}
@media screen and (max-width: 1024px) {
  .p-hero {
    height: 680px;
  }
}
@media screen and (max-width: 767px) {
  .p-hero {
    height: clamp(580px, 476.5517241379px + 26.525198939vw, 680px);
  }
}

.p-hero__media,
.p-hero__slide {
  position: absolute;
  inset: 0;
}

.p-hero__media {
  z-index: 0;
}

.p-hero__slide {
  display: block;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  will-change: opacity;
}

.p-hero__slide.is-active {
  z-index: 1;
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .p-hero__slide {
    transition: none;
  }
}
.p-hero__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: min(800px, 100%);
  object-fit: cover;
  object-position: center;
}
@media screen and (max-width: 767px) {
  .p-hero__image {
    height: 100%;
  }
}

.p-hero__copy {
  position: absolute;
  z-index: 2;
  left: 64px;
  bottom: 80px;
  font-family: var(--font-serif);
  font-weight: 600;
  text-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
}
@media screen and (max-width: 1024px) {
  .p-hero__copy {
    left: 0;
    bottom: 56px;
  }
}
@media screen and (max-width: 767px) {
  .p-hero__copy {
    right: auto;
    bottom: 40px;
  }
}

.p-hero__lead {
  color: #fff;
  font-size: clamp(26px, calc(36 / 1920 * 100vw), 36px);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-left: 40px;
  font-weight: 600;
  font-family: var(--font-serif);
}
@media screen and (max-width: 767px) {
  .p-hero__lead {
    margin: 0 0 10px 23px;
    font-size: 24px;
    letter-spacing: -1px;
    line-height: 1.2;
  }
}

.p-hero__title {
  font-size: clamp(46px, calc(64 / 1920 * 100vw), 64px);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-top: 14px;
}
@media screen and (max-width: 767px) {
  .p-hero__title {
    width: fit-content;
    font-size: 36px;
    line-height: 1.2;
    letter-spacing: -2px;
    margin-top: 0;
  }
}

.p-hero__title-main-wrap {
  position: relative;
  left: -20px;
}
@media screen and (max-width: 767px) {
  .p-hero__title-main-wrap {
    left: 0;
  }
}

.p-hero__title-em,
.p-hero__title-main,
.p-hero__title-sub {
  display: inline;
}
@media screen and (max-width: 767px) {
  .p-hero__title-em,
  .p-hero__title-main,
  .p-hero__title-sub {
    line-height: 1.2;
  }
}

@media screen and (max-width: 767px) {
  .p-hero__title-em {
    display: inline-block;
    width: 120px;
  }
  .p-hero__title-sub {
    display: block;
    margin-top: 8px;
    margin-left: 23px;
  }
}
.p-clients {
  background: var(--color-bg);
  padding: 24px 0 16px;
  overflow: hidden;
}
@media screen and (max-width: 767px) {
  .p-clients {
    height: clamp(116px, 74.6206896552px + 10.6100795756vw, 156px);
    padding: clamp(16px, 7.724137931px + 2.1220159151vw, 24px) 0 clamp(8px, -0.275862069px + 2.1220159151vw, 16px);
  }
}

.p-clients__track {
  overflow: hidden;
}

.p-clients__list {
  align-items: center;
  gap: 4px;
}

.p-clients__slide {
  width: 180px;
  height: 80px;
  flex: 0 0 180px;
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: 4px;
}
@media screen and (max-width: 767px) {
  .p-clients__slide {
    width: clamp(140px, 98.6206896552px + 10.6100795756vw, 180px);
    height: clamp(60px, 39.3103448276px + 5.3050397878vw, 80px);
    flex-basis: clamp(140px, 98.6206896552px + 10.6100795756vw, 180px);
  }
}

.p-clients__slide img {
  max-width: 130px;
  max-height: 40px;
  object-fit: contain;
}
@media screen and (max-width: 767px) {
  .p-clients__slide img {
    max-width: clamp(104px, 77.1034482759px + 6.8965517241vw, 130px);
    max-height: clamp(30px, 19.6551724138px + 2.6525198939vw, 40px);
  }
}

.p-clients__note {
  width: min(1200px, 100% - 48px);
  margin: 8px auto 0;
  text-align: right;
  font-size: clamp(12px, calc(14 / 1920 * 100vw), 14px);
  line-height: 1.8;
}
@media screen and (max-width: 767px) {
  .p-clients__note {
    width: calc(100% - clamp(40px, -1.3793103448px + 10.6100795756vw, 80px));
    margin-top: 8px;
    font-size: clamp(12px, 9.9310344828px + 0.5305039788vw, 14px);
    line-height: 1.8;
    text-align: right;
  }
}

.p-section__action {
  display: flex;
  justify-content: flex-end;
  margin-top: 38px;
}
@media screen and (max-width: 767px) {
  .p-section__action {
    margin-top: 22px;
  }
}

.p-solutions .p-section__action {
  margin-top: 37px;
}
@media screen and (max-width: 767px) {
  .p-solutions .p-section__action {
    margin-top: 24px;
  }
}

.p-solutions__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 40px;
}
@media screen and (max-width: 1024px) {
  .p-solutions__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 767px) {
  .p-solutions__grid {
    grid-template-columns: 1fr;
    gap: clamp(4px, 1.9310344828px + 0.5305039788vw, 6px);
    margin-top: clamp(24px, 7.4482758621px + 4.2440318302vw, 40px);
  }
}

.p-solution-card {
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: 4px;
}
@media screen and (max-width: 767px) {
  .p-solution-card {
    width: 100%;
    height: auto;
    aspect-ratio: 350/138;
  }
}

.p-solution-card__picture {
  display: block;
  width: 100%;
  height: 100%;
}

.p-solution-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-duration) var(--transition-ease);
}
@media screen and (max-width: 767px) {
  .p-solution-card__image {
    position: absolute;
    inset: 0;
    object-fit: cover;
    object-position: center center;
  }
}

.p-solution-card:hover .p-solution-card__image {
  transform: scale(1.04);
}

.p-solution-card:hover .c-arrow,
.p-solution-card:focus-visible .c-arrow {
  background: #fff;
  border: 1px solid var(--color-line);
}

.p-solution-card:hover .c-arrow::after,
.p-solution-card:focus-visible .c-arrow::after {
  background: var(--color-sub);
}

.p-solution-card:nth-child(5) .p-solution-card__image,
.p-solution-card:nth-child(6) .p-solution-card__image {
  object-position: center bottom;
}

@media screen and (max-width: 767px) {
  .p-solution-card:nth-child(1) .p-solution-card__image {
    object-position: center top;
  }
}

@media screen and (max-width: 767px) {
  .p-solution-card:nth-child(5) .p-solution-card__image {
    object-position: center top;
  }
}

@media screen and (max-width: 767px) {
  .p-solution-card:nth-child(6) .p-solution-card__image {
    object-position: center center;
  }
}

.p-solution-card__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(255, 255, 255, 0) 45%, rgba(255, 255, 255, 0.95) 70.673%);
}
@media screen and (max-width: 767px) {
  .p-solution-card__gradient {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.05) 20%, rgba(255, 255, 255, 0.95) 38%);
  }
}

.p-solution-card__body {
  position: absolute;
  inset: auto 24px 24px;
  display: flex;
  flex-direction: column;
}
@media screen and (max-width: 767px) {
  .p-solution-card__body {
    inset: 24px 16px 16px 41.142857%;
  }
}

.p-solution-card__body > strong {
  position: relative;
  display: inline-block;
  align-self: flex-start;
  width: max-content;
  max-width: 100%;
  font-size: clamp(20px, calc(28 / 1920 * 100vw), 28px);
  line-height: 1.4;
}
@media screen and (max-width: 767px) {
  .p-solution-card__body > strong {
    font-size: clamp(20px, 11.724137931px + 2.1220159151vw, 28px);
    white-space: nowrap;
  }
}

.p-solution-card__body > small {
  font-size: clamp(12px, calc(14 / 1920 * 100vw), 14px);
  line-height: 1.8;
}
@media screen and (max-width: 767px) {
  .p-solution-card__body > small {
    font-size: clamp(12px, 9.9310344828px + 0.5305039788vw, 14px);
  }
}

.p-solution-card__foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: clamp(12px, calc(14 / 1920 * 100vw), 14px);
  line-height: 1.8;
}
@media screen and (max-width: 767px) {
  .p-solution-card__foot {
    font-size: clamp(12px, 9.9310344828px + 0.5305039788vw, 14px);
    align-items: flex-end;
    gap: clamp(8px, 3.8620689655px + 1.0610079576vw, 12px);
    margin-top: clamp(4px, -0.1379310345px + 1.0610079576vw, 8px);
  }
}

.p-solution-card__foot > span {
  flex: 1;
}

.p-strengths {
  padding: 112px 0;
  position: relative;
  background: #f7f7f7 url("../image/top/strengths-bg-202609-pc.png") center/cover no-repeat;
}
@media screen and (max-width: 767px) {
  .p-strengths {
    padding: 56px 0;
    background-image: url("../image/top/strengths-bg-202609-sp.png");
  }
}

.p-strengths .p-section__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "heading secondary" "featured secondary";
  grid-template-rows: auto 1fr;
  column-gap: clamp(48px, calc(112 / 1920 * 100vw), 112px);
  row-gap: 120px;
}
@media screen and (max-width: 767px) {
  .p-strengths .p-section__inner {
    display: block;
  }
}

.p-strengths .c-heading {
  grid-area: heading;
}

@media screen and (max-width: 767px) {
  .p-strengths .c-heading > span {
    gap: 4px;
    font-size: 12px;
  }
}

@media screen and (max-width: 767px) {
  .p-strengths .c-heading > span::before {
    width: 6px;
    height: 6px;
  }
}

.p-strength-metric {
  color: var(--color-main);
}

.p-strength-metric--featured {
  grid-area: featured;
  align-self: start;
}
@media screen and (max-width: 767px) {
  .p-strength-metric--featured {
    margin: 40px 20px 0;
  }
}

.p-strengths__secondary {
  grid-area: secondary;
  align-self: stretch;
  padding-left: 80px;
  border-left: 1px solid rgba(0, 181, 181, 0.2);
}
@media screen and (max-width: 767px) {
  .p-strengths__secondary {
    margin: 23px 20px 0;
    padding: 24px 0 0;
    border-top: 1px solid rgba(0, 181, 181, 0.2);
    border-left: 0;
  }
}

.p-strengths__secondary .p-strength-metric + .p-strength-metric {
  margin-top: 31px;
  padding-top: 32px;
  border-top: 1px solid rgba(0, 181, 181, 0.2);
}
@media screen and (max-width: 767px) {
  .p-strengths__secondary .p-strength-metric + .p-strength-metric {
    margin-top: 23px;
    padding-top: 24px;
  }
}

.p-strength-metric__label {
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(16px, calc(20 / 1920 * 100vw), 20px);
  font-weight: 700;
  line-height: 1.4;
}
@media screen and (max-width: 767px) {
  .p-strength-metric__label {
    gap: 4px;
    font-size: 16px;
  }
}

.p-strength-metric--featured .p-strength-metric__label {
  gap: 8px;
  margin-bottom: 16px;
  font-size: clamp(20px, calc(28 / 1920 * 100vw), 28px);
}
@media screen and (max-width: 767px) {
  .p-strength-metric--featured .p-strength-metric__label {
    gap: 4px;
    margin-bottom: 8px;
    font-size: 16px;
  }
}

.p-strength-metric__icon {
  width: 30px;
  height: 30px;
  flex: none;
  display: grid;
  place-items: center;
}
@media screen and (max-width: 767px) {
  .p-strength-metric__icon {
    width: 24px;
    height: 24px;
  }
}

.p-strength-metric__icon img {
  display: block;
  max-width: 100%;
  max-height: 100%;
}

.p-strength-metric__icon--installations {
  width: 40px;
  height: 40px;
}
@media screen and (max-width: 767px) {
  .p-strength-metric__icon--installations {
    width: 24px;
    height: 24px;
  }
}

.p-strength-metric__icon--installations img {
  width: 74.17%;
  height: 90.83%;
}

.p-strength-metric__icon--partners img {
  width: 81.74%;
  height: 81.67%;
}

.p-strength-metric__icon--award img {
  width: 58.33%;
  height: 91.66%;
}

.p-strength-metric__value {
  padding-left: 38px;
  display: flex;
  align-items: flex-start;
  gap: 4px;
  white-space: nowrap;
}

.p-strength-metric--featured .p-strength-metric__value {
  padding-left: 0;
  gap: 8px;
}

.p-strength-metric__number {
  display: inline-block;
  font-family: var(--font-en);
  font-size: clamp(60px, calc(80 / 1920 * 100vw), 80px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -3px;
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.p-strength-metric--featured .p-strength-metric__number {
  font-size: clamp(80px, calc(112 / 1920 * 100vw), 112px);
  letter-spacing: -5px;
}

.p-strength-metric__plus {
  margin-top: 13px;
  color: var(--color-accent);
  font-size: clamp(36px, calc(48 / 1920 * 100vw), 48px);
  font-weight: 700;
  line-height: 1;
}

.p-strength-metric--featured .p-strength-metric__plus {
  margin-top: 18px;
  margin-left: 12px;
  font-size: clamp(48px, calc(72 / 1920 * 100vw), 72px);
}

@media screen and (max-width: 1024px) {
  .p-strength-metric--featured .p-strength-metric__plus {
    margin-left: 0;
  }
}
.p-strength-metric__unit {
  margin-top: 30px;
  font-size: clamp(24px, calc(32 / 1920 * 100vw), 32px);
  font-weight: 700;
  line-height: 1.4;
}

.p-strength-metric--featured .p-strength-metric__unit {
  margin-top: 38px;
  font-size: clamp(32px, calc(48 / 1920 * 100vw), 48px);
}

.p-strength-metric--award .p-strength-metric__unit {
  margin-left: 4px;
}

.p-strength-metric__description {
  margin-top: 24px;
  font-size: 20px;
  line-height: 1.8;
}

.p-strength-metric__description span {
  display: block;
}

@media screen and (max-width: 767px) {
  .p-strength-metric__number,
  .p-strength-metric--featured .p-strength-metric__number {
    font-size: 60px;
    letter-spacing: -2.4px;
  }
  .p-strength-metric__plus,
  .p-strength-metric--featured .p-strength-metric__plus {
    margin-top: 13px;
    font-size: 32px;
  }
  .p-strength-metric__unit,
  .p-strength-metric--featured .p-strength-metric__unit {
    margin-top: 23px;
    font-size: 24px;
  }
  .p-strength-metric__value,
  .p-strength-metric--featured .p-strength-metric__value {
    padding-left: 0;
    gap: 4px;
  }
  .p-strength-metric__description {
    margin-top: 8px;
    font-size: 14px;
  }
  .p-strength-metric__description span {
    display: inline;
  }
}
@media screen and (min-width: 768px) and (max-width: 899px) {
  .p-strengths .p-section__inner {
    display: block;
  }
  .p-strength-metric--featured {
    margin-top: 64px;
  }
  .p-strengths__secondary {
    margin-top: 48px;
    padding: 48px 0 0;
    border-top: 1px solid rgba(0, 181, 181, 0.2);
    border-left: 0;
  }
}
.p-cases {
  padding-bottom: 80px;
}
@media screen and (max-width: 767px) {
  .p-cases {
    padding: clamp(56px, 31.1724137931px + 6.3660477454vw, 80px) 0;
  }
}

.p-works-filter {
  position: relative;
  padding: 64px 20px;
  background: var(--color-bg);
}
.p-works-filter::after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 50%;
  z-index: 1;
  width: 60px;
  height: 30px;
  background: url("../image/works/works-filter-arrow.svg") center/contain no-repeat;
  transform: translateX(-50%);
}
@media screen and (max-width: 767px) {
  .p-works-filter::after {
    width: 40px;
    height: 20px;
    bottom: -20px;
  }
}
@media screen and (max-width: 767px) {
  .p-works-filter {
    padding: 32px 20px;
  }
}

.p-works-filter__inner {
  width: min(1200px, 100%);
  margin: 0 auto;
}

.p-works-filter__tabs {
  display: flex;
  gap: 15px;
}
.p-works-filter__tabs a {
  flex: 1 1 0;
  position: relative;
  min-height: 60px;
  display: grid;
  place-items: center;
  padding: 12px;
  border-radius: 4px;
  background: #ddd;
  color: var(--color-sub);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.8;
  text-decoration: none;
  transition: background-color var(--transition-duration) var(--transition-ease), color var(--transition-duration) var(--transition-ease);
}
.p-works-filter__tabs a.is-current {
  background: var(--color-sub);
  color: #fff;
}
@media (hover: hover) {
  .p-works-filter__tabs a:not(.is-current):hover,
  .p-works-filter__tabs a:not(.is-current):focus-visible {
    background: #c9c9c9;
  }
}
.p-works-filter__tabs a.is-current::after {
  content: "";
  position: absolute;
  bottom: -16px;
  left: 50%;
  width: 0;
  height: 0;
  border-top: 16px solid var(--color-sub);
  border-right: 8px solid transparent;
  border-left: 8px solid transparent;
  transform: translateX(-50%);
}
@media screen and (max-width: 767px) {
  .p-works-filter__tabs {
    gap: 4px;
  }
  .p-works-filter__tabs a {
    min-height: 51px;
    padding: 8px 6px;
    font-size: 14px;
    line-height: 1.8;
    text-align: center;
  }
  .p-works-filter__tabs a.is-current::after {
    bottom: -12px;
    border-top-width: 12px;
    border-right-width: 6px;
    border-left-width: 6px;
  }
}

.p-works-filter__terms {
  margin-top: 48px;
  list-style: none;
}
.p-works-filter__terms > li {
  min-width: 0;
}

.p-works-filter__term {
  box-sizing: border-box;
  width: 100%;
  min-height: 47px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: 99px;
  background: #fff;
  color: var(--color-sub);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  text-align: center;
  text-decoration: none;
  transition: background-color var(--transition-duration) var(--transition-ease), transform var(--transition-duration) var(--transition-ease);
}
.p-works-filter__term:not(.is-current):hover, .p-works-filter__term:not(.is-current):focus-visible {
  background: rgba(255, 255, 255, 0.5);
}

.p-works-filter__terms--issue {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(161px, 1fr));
  gap: 12px;
}

.p-works-filter__terms--product {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.p-works-filter__term--issue {
  min-height: 125px;
  flex-direction: column;
  gap: 8px;
  padding: 20px 12px;
  border: 0;
  border-radius: 4px;
  font-size: 15px;
}
.p-works-filter__term--issue.is-current {
  background: #dbeff5;
  box-shadow: inset 0 0 0 1px var(--color-sub);
}

.p-works-filter__term--product {
  min-height: 80px;
  justify-content: flex-start;
  gap: 12px;
  padding: 10px;
  border: 0;
  border-radius: 4px;
  font-size: 15px;
  line-height: 1.8;
  text-align: left;
}
.p-works-filter__term--product.is-current {
  background: #dbeff5;
  box-shadow: inset 0 0 0 1px var(--color-sub);
}

.p-works-filter__term--issue > span:last-child,
.p-works-filter__term--product > span:last-child {
  min-width: 0;
}

.p-works-filter__term--issue > span:last-child {
  white-space: nowrap;
}

.p-works-filter__term--product > span:last-child {
  overflow-wrap: anywhere;
}

.p-works-filter__term-media {
  width: 50px;
  height: 50px;
  display: grid;
  flex: none;
  place-items: center;
}
.p-works-filter__term-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.p-works-filter__term--product .p-works-filter__term-media {
  width: 60px;
  height: 60px;
}

.p-works-filter__terms--industry {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.p-works-filter__terms--industry .p-works-filter__term {
  width: auto;
}

.p-works-filter__term--industry {
  min-height: 44px;
  padding: 6px 16px;
}
.p-works-filter__term--industry.p-works-filter__term--all.is-current {
  border-color: var(--color-sub);
  background: #dbeff5;
}
.p-works-filter__term--industry.p-works-filter__term--filled {
  border-color: transparent;
  background: #fff;
}
.p-works-filter__term--industry.p-works-filter__term--outline {
  border-color: var(--color-sub);
}
.p-works-filter__term--industry.p-works-filter__term--filled.is-current, .p-works-filter__term--industry.p-works-filter__term--outline.is-current {
  border-color: var(--color-sub);
  background: #dbeff5;
  color: var(--color-sub);
}

@media screen and (max-width: 767px) {
  .p-works-filter__terms {
    margin-top: 28px;
  }
  .p-works-filter__terms--issue {
    grid-template-columns: repeat(auto-fit, minmax(161px, 1fr));
    gap: 5px 4px;
  }
  .p-works-filter__terms--product {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 5px;
  }
  .p-works-filter__term--issue {
    min-height: 52px;
    flex-direction: row;
    justify-content: flex-start;
    gap: 8px;
    padding: 12px 10px;
    font-size: 13px;
    line-height: 1.4;
    text-align: left;
  }
  .p-works-filter__term--issue .p-works-filter__term-media {
    width: 28px;
    height: 28px;
  }
  .p-works-filter__term--product {
    min-height: 60px;
    gap: 8px;
    padding: 10px;
    font-size: 13px;
    line-height: 1.4;
  }
  .p-works-filter__term--product .p-works-filter__term-media {
    width: 40px;
    height: 40px;
  }
  .p-works-filter__terms--industry {
    gap: 12px 5px;
  }
  .p-works-filter__term--industry {
    min-height: 37px;
    padding: 6px 12px;
    font-size: 14px;
  }
}
.p-case-filter {
  width: min(100% + 48px, 1240px);
  margin-top: 40px;
  margin-inline: 50%;
  border-radius: 4px;
  transform: translateX(-50%);
}
@media screen and (max-width: 767px) {
  .p-case-filter {
    width: calc(100% + clamp(40px, -1.3793103448px + 10.6100795756vw, 80px));
    margin-top: clamp(24px, 7.4482758621px + 4.2440318302vw, 40px);
  }
}

.p-case-filter__panels .p-works-filter__terms {
  margin-top: 48px;
}
@media screen and (max-width: 767px) {
  .p-case-filter__panels .p-works-filter__terms {
    margin-top: 28px;
  }
}

.p-case-filter__panels [hidden] {
  display: none;
}

.p-cases__filter-empty {
  margin-top: 54px;
  color: var(--color-main);
  font-size: 16px;
  line-height: 1.8;
}
@media screen and (max-width: 767px) {
  .p-cases__filter-empty {
    margin-top: 40px;
    font-size: 14px;
  }
}

.p-case-slider {
  width: calc(100vw - max(24px, (100vw - 1200px) / 2));
  overflow: hidden;
  scrollbar-width: none;
  margin-top: 54px;
}
@media screen and (max-width: 767px) {
  .p-case-slider {
    margin-top: 26px;
    width: auto;
    overflow: hidden;
    margin-right: calc(-1 * clamp(20px, -0.6896551724px + 5.3050397878vw, 40px));
  }
}

.p-case-slider .splide__track {
  overflow: hidden;
}

.p-case-slider .splide__list {
  align-items: stretch;
}

.p-case-slide {
  width: 860px;
  flex: 0 0 860px;
}
@media screen and (max-width: 1024px) {
  .p-case-slide {
    width: 760px;
    flex-basis: 760px;
  }
}
@media screen and (max-width: 767px) {
  .p-case-slide {
    width: min(350px, 100vw - 40px);
    flex-basis: min(350px, 100vw - 40px);
  }
}

@media screen and (min-width: 768px) and (max-width: 807px) {
  .p-case-slide,
  .p-case-slider .p-case-card {
    width: calc(100vw - 48px);
  }
  .p-case-slide {
    flex-basis: calc(100vw - 48px);
  }
  .p-case-slider .p-case-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .p-case-slider .p-case-card__image,
  .p-case-slider .p-case-card__image img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }
}
@media screen and (max-width: 767px) {
  .p-case-slider .p-case-card {
    width: min(350px, 100vw - 40px);
    height: 423px;
  }
  .p-case-slider .p-case-card__image,
  .p-case-slider .p-case-card__image img {
    height: auto;
    aspect-ratio: 310/174;
  }
  .p-case-slider .p-case-card__details {
    padding-right: 0;
    gap: 8px;
  }
}
.p-case-slider::-webkit-scrollbar {
  display: none;
}

.p-case-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 52px;
}
@media screen and (max-width: 820px) {
  .p-case-controls {
    margin-top: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(24px, 7.4482758621px + 4.2440318302vw, 40px);
  }
}

.p-case-controls__top {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
@media screen and (max-width: 767px) {
  .p-case-controls__top {
    width: 100%;
  }
}

.p-case-controls__arrows {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.p-case-controls__arrow {
  width: 40px;
  height: 40px;
  padding: 0;
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  transition: opacity var(--transition-duration) var(--transition-ease);
}
@media screen and (max-width: 767px) {
  .p-case-controls__arrow {
    width: 24px;
    height: 24px;
  }
}

.p-case-controls__arrow:disabled {
  cursor: default;
  opacity: 1;
}

.p-case-controls__arrow img {
  display: block;
  width: 24px;
  height: 14px;
  object-fit: contain;
}
@media screen and (max-width: 767px) {
  .p-case-controls__arrow img {
    width: 15px;
    height: 8px;
  }
}

.p-case-controls__arrow--prev img {
  transform: rotate(-90deg);
}

.p-case-controls__arrow--next img {
  transform: rotate(90deg);
}

.p-case-controls__progress {
  position: relative;
  width: 600px;
  height: 2px;
  background: var(--color-line);
}
.p-case-controls__progress::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-sub);
  transform: scaleX(var(--case-progress-scale, 0.33));
  transform-origin: left center;
  transition: transform var(--transition-duration) var(--transition-ease);
}
@media screen and (max-width: 767px) {
  .p-case-controls__progress {
    width: auto;
    flex: 1;
  }
}

.p-case-controls__action {
  margin-left: auto;
}

@media screen and (max-width: 767px) {
  .p-case-controls__action .c-more {
    width: 200px;
  }
}

.p-column {
  margin-top: 109px;
}
@media screen and (max-width: 767px) {
  .p-column {
    margin-top: 55px;
  }
}

.p-column__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 40px;
}
@media screen and (max-width: 1024px) {
  .p-column__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 767px) {
  .p-column__grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: clamp(24px, 7.4482758621px + 4.2440318302vw, 40px);
  }
}

.p-products {
  background: var(--color-bg);
}

.p-products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
@media screen and (max-width: 1024px) {
  .p-products__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 767px) {
  .p-products__grid {
    grid-template-columns: 1fr;
    gap: clamp(4px, -8.4137931034px + 3.1830238727vw, 16px);
    margin-top: clamp(24px, 7.4482758621px + 4.2440318302vw, 40px);
  }
}

.p-product-card {
  min-height: 100px;
  padding: 10px 16px 10px 10px;
  display: flex;
  align-items: center;
  gap: 13px;
  background: #fff;
  border-radius: 8px;
  transition: background-color var(--transition-duration) var(--transition-ease), transform var(--transition-duration) var(--transition-ease);
}
@media screen and (max-width: 767px) {
  .p-product-card {
    min-height: clamp(66px, 30.8275862069px + 9.0185676393vw, 100px);
    padding: clamp(8px, 5.9310344828px + 0.5305039788vw, 10px) clamp(16px, 16px + 0vw, 16px) clamp(8px, 5.9310344828px + 0.5305039788vw, 10px) clamp(8px, 5.9310344828px + 0.5305039788vw, 10px);
    padding-right: 10px;
    gap: clamp(12px, 7.8620689655px + 1.0610079576vw, 16px);
    border-radius: 4px;
  }
}

.p-product-card:hover,
.p-product-card:focus-visible {
  background: rgba(255, 255, 255, 0.5);
}

.p-product-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 4px;
}
@media screen and (max-width: 767px) {
  .p-product-card img {
    width: clamp(50px, 18.9655172414px + 7.9575596817vw, 80px);
    height: clamp(50px, 18.9655172414px + 7.9575596817vw, 80px);
  }
}

.p-product-card strong {
  flex: 1;
  font-size: clamp(16px, calc(20 / 1920 * 100vw), 20px);
  line-height: 1.4;
}
@media screen and (max-width: 767px) {
  .p-product-card strong {
    font-size: clamp(16px, 11.8620689655px + 1.0610079576vw, 20px);
  }
}

.p-product-card > span {
  font-size: clamp(20px, calc(30 / 1920 * 100vw), 30px);
  font-weight: 300;
}

.p-product-card > .c-arrow--plain {
  margin-left: auto;
}

.p-information {
  padding-bottom: 112px;
}
@media screen and (max-width: 767px) {
  .p-information {
    padding-bottom: clamp(64px, 14.3448275862px + 12.7320954907vw, 112px);
  }
}

.p-information__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 112px;
}
@media screen and (max-width: 767px) {
  .p-information__cards {
    grid-template-columns: 1fr;
    gap: clamp(8px, -8.5517241379px + 4.2440318302vw, 24px);
    margin-bottom: clamp(56px, -1.9310344828px + 14.8541114058vw, 112px);
  }
}

.p-photo-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "card";
  aspect-ratio: 3/2;
  position: relative;
  overflow: hidden;
  color: #fff;
  border-radius: 8px;
}
@media screen and (max-width: 767px) {
  .p-photo-link {
    border-radius: 4px;
  }
}

.p-photo-link__image,
.p-photo-link__overlay,
.p-photo-link__body {
  grid-area: card;
}

.p-photo-link__image {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
  object-fit: cover;
  transition: transform var(--transition-duration) var(--transition-ease);
}

.p-photo-link:hover .p-photo-link__image,
.p-photo-link:focus-visible .p-photo-link__image {
  transform: scale(1.04);
}

.p-photo-link__overlay {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, rgba(17, 65, 91, 0) 0%, rgba(17, 65, 91, 0.1) 50%, rgba(17, 65, 91, 0.8) 70%, #11435b 100%);
}

.p-photo-link__body {
  z-index: 2;
  min-width: 0;
  margin: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  column-gap: 16px;
  align-self: end;
}
@media screen and (max-width: 767px) {
  .p-photo-link__body {
    margin: clamp(20px, 9.6551724138px + 2.6525198939vw, 30px);
    grid-template-columns: minmax(0, 1fr) clamp(24px, 15.724137931px + 2.1220159151vw, 32px);
    column-gap: clamp(12px, 7.8620689655px + 1.0610079576vw, 16px);
  }
}

.p-photo-link__title {
  --underline-offset: 7px;
  grid-column: 1;
  position: relative;
  display: table;
  font-size: clamp(24px, calc(32 / 1920 * 100vw), 32px);
  font-weight: 700;
  width: fit-content;
  margin-top: -52px;
}
@media screen and (max-width: 767px) {
  .p-photo-link__title {
    font-size: clamp(24px, 15.724137931px + 2.1220159151vw, 32px);
    margin-top: 0;
  }
}

.p-photo-link__description {
  grid-column: 1;
  margin-top: 10px;
  color: #fff;
  font-size: clamp(14px, calc(16 / 1920 * 100vw), 16px);
  line-height: 1.8;
}
@media screen and (max-width: 767px) {
  .p-photo-link__description {
    width: auto;
    margin-top: clamp(6px, 1.8620689655px + 1.0610079576vw, 10px);
    padding-right: 0;
    font-size: clamp(14px, 11.9310344828px + 0.5305039788vw, 16px);
    font-weight: 500;
    line-height: 1.8;
  }
}

.p-photo-link__body .c-arrow--inverse {
  grid-column: 2;
  grid-row: 1/span 2;
  position: relative;
  align-self: end;
  justify-self: end;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: var(--color-sub);
  color: #fff;
  border-radius: 4px;
  font-size: 26px;
  font-style: normal;
}
@media screen and (max-width: 767px) {
  .p-photo-link__body .c-arrow--inverse {
    width: clamp(24px, 15.724137931px + 2.1220159151vw, 32px);
    height: clamp(24px, 15.724137931px + 2.1220159151vw, 32px);
  }
}

.p-photo-link .c-arrow--inverse {
  background: #fff;
  border: 0;
}

.p-photo-link .c-arrow--inverse::after {
  background: var(--color-sub);
}

.p-photo-link:hover .c-arrow--inverse,
.p-photo-link:focus-visible .c-arrow--inverse {
  background: transparent;
  border: 1px solid var(--color-line);
}

.p-photo-link:hover .c-arrow--inverse::after,
.p-photo-link:focus-visible .c-arrow--inverse::after {
  background: #fff;
}

.p-news__list {
  margin-top: 35px;
  border-top: 1px solid var(--color-line);
}
@media screen and (max-width: 767px) {
  .p-news__list {
    margin-top: clamp(24px, 7.4482758621px + 4.2440318302vw, 40px);
  }
}

.p-news__list a {
  min-height: 77px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--color-line);
}
@media screen and (max-width: 767px) {
  .p-news__list a {
    padding: 14px 0;
    flex-direction: column;
    align-items: stretch;
    gap: clamp(8px, -0.275862069px + 2.1220159151vw, 16px);
    min-height: 0;
  }
}

.p-news__meta {
  display: contents;
}
@media screen and (max-width: 767px) {
  .p-news__meta {
    display: flex;
    align-items: center;
    gap: clamp(8px, -0.275862069px + 2.1220159151vw, 16px);
  }
}

.p-news__list time {
  width: fit-content;
  color: #666;
  font-size: clamp(12px, calc(14 / 1920 * 100vw), 14px);
}
@media screen and (max-width: 767px) {
  .p-news__list time {
    width: auto;
    font-size: clamp(12px, 9.9310344828px + 0.5305039788vw, 14px);
  }
}

.p-news__text {
  flex: 1;
  font-size: clamp(14px, calc(16 / 1920 * 100vw), 16px);
}
@media screen and (max-width: 767px) {
  .p-news__text {
    font-size: clamp(14px, 11.9310344828px + 0.5305039788vw, 16px);
    line-height: 180%;
  }
}

.p-news__text-inner {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-bottom: 3px;
  margin-bottom: -3px;
}
@media screen and (max-width: 767px) {
  .p-news__text-inner {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
}
