.page-material,
body:has(.p-material) {
  background-color: #161417;
}

.footer--material-bg {
  background-color: #161417;
}

.p-material {
  position: relative;
  background-color: #161417;
  color: #ffffff;
  overflow: hidden;
}
.p-material__hero {
  position: relative;
  padding-top: 158px;
  padding-bottom: 80px;
  min-height: 535px;
}
.p-material__hero .c-breadcrumb {
  margin-bottom: 40px;
}
@media (max-width: 1024px) {
  .p-material__hero {
    padding-top: 130px;
    min-height: 420px;
  }
}
@media screen and (max-width: 599px) {
  .p-material__hero {
    padding-top: 100px;
    padding-bottom: 0;
    min-height: auto;
  }
}
.p-material__page-title {
  margin-top: 73px;
}
.p-material__page-title .c-page-title__en {
  color: #ffffff;
}
.p-material__page-title .c-page-title__ja {
  color: #ffffff;
}
@media (max-width: 1024px) {
  .p-material__page-title {
    margin-top: 50px;
  }
}
@media screen and (max-width: 599px) {
  .p-material__page-title {
    margin-top: 24px;
  }
}
.p-material__body {
  position: relative;
  padding: 180px 210px 160px 140px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.p-material__body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 80px;
  bottom: 0;
  background-color: #3d3a3f;
  border-radius: 0 100px 15px 0;
  z-index: 0;
}
.p-material__body::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 25%;
  background-color: #302f31;
  z-index: 0;
}
.p-material__body > * {
  position: relative;
  z-index: 1;
}
@media screen and (max-width: 959px) {
  .p-material__body {
    padding: 60px 40px 80px 40px;
    gap: 48px;
  }
  .p-material__body::before {
    right: 40px;
  }
  .p-material__body::after {
    width: 100px;
  }
}
@media screen and (max-width: 599px) {
  .p-material__body {
    padding: 40px 20px 60px 20px;
    gap: 40px;
  }
  .p-material__body::before {
    display: none;
  }
  .p-material__body::after {
    display: none;
  }
}
.p-material__card {
  display: flex;
  align-items: center;
  gap: 60px;
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
}
@media screen and (max-width: 959px) {
  .p-material__card {
    flex-direction: column;
    gap: 32px;
    max-width: 600px;
  }
}
@media screen and (max-width: 599px) {
  .p-material__card {
    gap: 24px;
    max-width: 100%;
  }
}
.p-material__card-image {
  flex-shrink: 0;
  width: 394px;
  aspect-ratio: 16/10;
}
.p-material__card-image img {
  width: 100%;
  height: 100%;
  border-radius: 11px;
  object-fit: cover;
  display: block;
}
@media screen and (max-width: 959px) {
  .p-material__card-image {
    width: 100%;
    max-width: 320px;
  }
}
@media screen and (max-width: 599px) {
  .p-material__card-image {
    max-width: none;
  }
}
.p-material__card-text {
  flex: 1;
  min-width: 0;
}
.p-material__card-title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 600;
  font-size: 32px;
  color: #ffffff;
  letter-spacing: 0.1em;
  line-height: 1.4;
  margin-bottom: 24px;
}
@media screen and (max-width: 599px) {
  .p-material__card-title {
    font-size: 22px;
    margin-bottom: 16px;
  }
}
.p-material__card-desc {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #ffffff;
  letter-spacing: 0.1em;
  line-height: 2;
  margin-bottom: 32px;
}
@media screen and (max-width: 599px) {
  .p-material__card-desc {
    font-size: 13px;
    margin-bottom: 24px;
  }
}
.p-material__card-actions {
  display: flex;
  align-items: center;
  gap: 40px;
}
@media screen and (max-width: 599px) {
  .p-material__card-actions {
    flex-direction: column;
    gap: 20px;
  }
}
.p-material__card-divider {
  position: relative;
  flex: 1;
  height: 1px;
}
.p-material__card-divider::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.25);
}
.p-material__card-divider::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 30%;
  height: 3px;
  background-color: #ffffff;
}
@media screen and (max-width: 599px) {
  .p-material__card-divider {
    width: 100%;
  }
}
.p-material__card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-width: 277px;
  max-width: 277px;
  height: 51px;
  padding: 0 56px 0 40px;
  background-color: transparent;
  color: #ffffff;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 16px;
  border: 1px solid #ffffff;
  border-radius: 121px;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.p-material__card-btn:hover {
  background-color: #ffffff;
  color: #4a474c;
}
.p-material__card-btn:hover .p-material__card-btn-arrow {
  background-color: #4a474c;
}
.p-material__card-btn:hover .p-material__card-btn-arrow-img {
  filter: invert(100%);
}
@media screen and (max-width: 599px) {
  .p-material__card-btn {
    min-width: 100%;
    max-width: 100%;
    font-size: 14px;
  }
}
.p-material__card-btn-arrow {
  position: absolute;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 21px;
  height: 21px;
  background-color: #ffffff;
  border-radius: 50%;
  overflow: hidden;
  transition: background-color 0.3s ease;
}
.p-material__card-btn-arrow-img {
  width: 11px;
  height: auto;
  transform: translateX(-2px);
  transition: transform 0.3s ease, filter 0.3s ease;
}
.p-material__card-btn:hover .p-material__card-btn-arrow-img {
  transform: translateX(10px);
}
.p-material__partners {
  padding: 60px 0;
}
@media screen and (max-width: 599px) {
  .p-material__partners {
    padding: 40px 0;
  }
}
.p-material__partners .partners__label {
  color: #ffffff;
  margin-bottom: 24px;
  padding-left: 40px;
}
@media screen and (max-width: 599px) {
  .p-material__partners .partners__label {
    padding-left: 20px;
  }
}
.p-material__works {
  padding: 80px 0 155px;
}
@media screen and (max-width: 599px) {
  .p-material__works {
    padding: 60px 0 100px;
  }
}
.p-material__works-inner {
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  max-width: 1400px;
}
.p-material__works-label {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: #ffffff;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}
.p-material__works-card {
  display: block;
  position: relative;
  height: 240px;
  overflow: hidden;
  background: url("../images/material/case-studies.png") center/cover no-repeat;
  text-decoration: none;
  transition: filter 0.3s ease;
}
.p-material__works-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.35);
  pointer-events: none;
  z-index: 1;
}
.p-material__works-card:hover {
  filter: brightness(0.85);
}
@media screen and (max-width: 599px) {
  .p-material__works-card {
    height: 200px;
  }
}
.p-material__works-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
@media screen and (max-width: 599px) {
  .p-material__works-card-inner {
    padding: 0 24px;
  }
}
.p-material__works-en {
  font-family: "Raleway", sans-serif;
  font-weight: 500;
  font-size: 80px;
  line-height: 1;
  letter-spacing: 0.05em;
  color: #FFFFFF;
}
@media screen and (max-width: 599px) {
  .p-material__works-en {
    font-size: 48px;
  }
}
.p-material__works-btn {
  position: absolute;
  right: 40px;
  bottom: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 278px;
  height: 51px;
  padding: 0 50px 0 30px;
  background-color: #1f1e22;
  color: #ffffff;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 16px;
  border-radius: 121px;
  letter-spacing: 0.1em;
}
@media screen and (max-width: 599px) {
  .p-material__works-btn {
    right: 20px;
    bottom: 20px;
    min-width: 220px;
    height: 44px;
    font-size: 14px;
  }
}
.p-material__works-btn-arrow {
  position: absolute;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 21px;
  height: 21px;
  background-color: #ffffff;
  border-radius: 50%;
  overflow: hidden;
}
.p-material__works-btn-arrow-img {
  width: 11px;
  height: auto;
  transform: translateX(-2px);
  transition: transform 0.3s ease;
}
.p-material__works-card:hover .p-material__works-btn-arrow-img {
  transform: translateX(10px);
}

/* products / material 両ページ共通の works-card オーバーライド */
.p-material__works {
  padding: 130px 0;
}
@media screen and (max-width: 599px) {
  .p-material__works {
    padding: 30px 0;
  }
}
.p-material__works-label {
  color: #FFFFFF;
}
.p-material__works-label--gray {
  color: #4a474c;
}
@media screen and (max-width: 599px) {
  .p-material__works-card {
    height: auto;
    aspect-ratio: 345/240;
    background-image: url("../images/products/wearable/case-studies-sp.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  .p-material__works-card::before {
    display: none;
  }
  .p-material__works-card-inner {
    align-items: flex-start;
    padding-top: 70px;
  }
  .p-material__works-en {
    font-size: 36px;
  }
  .p-material__works-btn {
    right: auto;
    bottom: auto;
    top: 62%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 200px;
    height: 42px;
    font-size: 13px;
    padding: 0 36px 0 20px;
  }
}

.p-material__tech {
  position: relative;
  padding: 100px 40px;
  text-align: center;
  background: url("../images/material/hero-bg.png") center/cover no-repeat;
  color: #ffffff;
  overflow: hidden;
}
.p-material__tech::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.35);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}
.p-material__tech:hover::before {
  opacity: 1;
}
@media screen and (max-width: 599px) {
  .p-material__tech {
    padding: 60px 24px;
  }
}
.p-material__tech-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}
.p-material__tech-en {
  font-family: "Raleway", sans-serif;
  font-weight: 500;
  font-size: 80px;
  line-height: 1;
  letter-spacing: 0.05em;
  color: #ffffff;
  margin-bottom: 24px;
}
@media screen and (max-width: 599px) {
  .p-material__tech-en {
    font-size: 48px;
  }
}
.p-material__tech-title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.1em;
  margin-bottom: 40px;
}
@media screen and (max-width: 599px) {
  .p-material__tech-title {
    font-size: 16px;
    margin-bottom: 32px;
  }
}
.p-material__tech-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  max-width: 426px;
  min-width: 277px;
  height: 51px;
  padding: 0 56px 0 40px;
  background-color: #1f1e22;
  color: #ffffff;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 16px;
  border: none;
  border-radius: 121px;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.p-material__tech-btn:hover {
  background-color: #333;
}
@media screen and (max-width: 599px) {
  .p-material__tech-btn {
    max-width: 100%;
    min-width: 240px;
    font-size: 14px;
  }
}
.p-material__tech-btn-arrow {
  position: absolute;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 21px;
  height: 21px;
  background-color: #ffffff;
  border-radius: 50%;
  overflow: hidden;
}
.p-material__tech-btn-arrow-img {
  width: 11px;
  height: auto;
  transform: translateX(-2px);
  transition: transform 0.3s ease;
}
.p-material__tech-btn:hover .p-material__tech-btn-arrow-img {
  transform: translateX(10px);
}
.p-material__back {
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  max-width: 1400px;
  padding-top: 60px;
  padding-bottom: 80px;
}
@media screen and (max-width: 599px) {
  .p-material__back {
    padding-top: 40px;
    padding-bottom: 50px;
  }
}
.p-material__back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.p-material__back-link:hover {
  opacity: 0.7;
}
.p-material__back-link::before {
  content: "";
  display: block;
  width: 14px;
  height: 5px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14.09' height='4.4' fill='none'%3E%3Cpath d='M8.81 0L14.09 4.4H8.81V0Z' fill='%23fff'/%3E%3Cpath d='M0 3.52H9.69C9.69 4.01 9.29 4.4 8.81 4.4H0V3.52Z' fill='%23fff'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transform: scaleX(-1);
}
