/*!
global > color
------------------------------
*/
/*!
global > content-width
------------------------------
*/
/*!
global > font
------------------------------
*/
/*!
global > mixin
------------------------------
*/
/* ================================
UTILITIES
================================ */
.p-detail__project-ttl, .p-detail__project-lead, .p-detail__brand-desc, .p-detail__brand-tags .c-cardresults__catlabel {
  font-size: 0.75rem;
}
@media screen and (min-width: 768px) {
  .p-detail__project-ttl, .p-detail__project-lead, .p-detail__brand-desc, .p-detail__brand-tags .c-cardresults__catlabel {
    font-size: 0.875rem;
  }
}

.p-detail__tags .c-cardresults__catlabel {
  font-size: 0.875rem;
}
@media screen and (min-width: 768px) {
  .p-detail__tags .c-cardresults__catlabel {
    font-size: 1rem;
  }
}

.p-detail__group-ttl {
  font-size: 1rem;
}
@media screen and (min-width: 768px) {
  .p-detail__group-ttl {
    font-size: 1.125rem;
  }
}

.p-detail__ttl {
  font-size: 1.75rem;
}
@media screen and (min-width: 768px) {
  .p-detail__ttl {
    font-size: 2rem;
  }
}

.c-ffen {
  font-family: "Zen Old Mincho", serif;
}

.c-fw400 {
  font-weight: 400;
}

.c-fw500 {
  font-weight: 500;
}

.c-fw600 {
  font-weight: 600;
}

.c-fw700 {
  font-weight: 700;
}

.c-fw800 {
  font-weight: 800;
}

.c-fw900 {
  font-weight: 900;
}

.c-ls0 {
  letter-spacing: 0;
}

.c-ls20 {
  letter-spacing: 0.02em;
}

.c-ls40 {
  letter-spacing: 0.04em;
}

.c-ls100 {
  letter-spacing: 0.1em;
}

.p-works__main {
  padding-block: 60px 80px;
}
@media screen and (min-width: 768px) {
  .p-works__main {
    padding-block: 94px 160px;
  }
}
.p-works__list {
  display: grid;
  gap: 25px 15px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
@media screen and (min-width: 768px) {
  .p-works__list {
    gap: 33px 18px;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  }
}
.p-works__card {
  background-color: #fff;
}
@media screen and (min-width: 768px) {
  .p-works__card {
    padding-inline: 13px;
    padding-block: 10px 19px;
  }
}
@media screen and (min-width: 768px) {
  .p-works__card .c-cardresults__ct {
    padding-top: 11px;
  }
}
@media screen and (min-width: 768px) {
  .p-works__card .c-cardresults__local {
    padding-inline: 31px 0;
  }
}
.p-works__card .c-cardresults__local::before {
  left: 0;
}
@media screen and (min-width: 768px) {
  .p-works__card .c-cardresults__ttl {
    padding-bottom: 59px;
  }
}
@media screen and (min-width: 768px) {
  .p-works__card .c-cardresults__cttop {
    padding-bottom: 11px;
  }
}
@media screen and (min-width: 768px) {
  .p-works__card .c-cardresults__cats {
    margin-top: 12px;
    column-gap: 17px;
  }
}
@media screen and (min-width: 768px) {
  .p-works__card .c-cardresults__btn {
    bottom: 17px;
    right: 12px;
  }
}

.p-detail__inner {
  max-width: 900px;
  margin-inline: auto;
  padding-block: 60px 80px;
}
@media screen and (min-width: 768px) {
  .p-detail__inner {
    padding-block: 100px 160px;
  }
}
.p-detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 15px;
}
@media screen and (min-width: 768px) {
  .p-detail__tags {
    gap: 7px;
    margin-bottom: 16px;
  }
}
@media screen and (min-width: 768px) {
  .p-detail__tags .c-cardresults__catlabel {
    padding-block: 2px 3px;
  }
}
.p-detail__ttl {
  font-weight: 600;
  line-height: 1.21875;
}
.p-detail__gallery {
  margin-top: 30px;
}
@media screen and (min-width: 768px) {
  .p-detail__gallery {
    margin-top: 42px;
  }
}
.p-detail__thumb {
  margin-top: 10px;
}
.p-detail__thumb .swiper-slide {
  cursor: pointer;
}
@media screen and (min-width: 768px) {
  .p-detail__thumb .swiper-slide {
    transition: opacity 0.5s ease;
  }
  .p-detail__thumb .swiper-slide:hover {
    opacity: 0.7;
  }
}
.p-detail__project {
  background-color: #F6F9FC;
  margin-top: 40px;
}
@media screen and (min-width: 768px) {
  .p-detail__project {
    margin-top: 65px;
  }
}
.p-detail__project-ttl {
  font-weight: 700;
  text-align: center;
  background-color: #162243;
  color: #fff;
  padding-inline: 20px;
  padding-block: 5px;
}
@media screen and (min-width: 768px) {
  .p-detail__project-ttl {
    padding-block: 4px;
  }
}
.p-detail__project-content {
  padding-inline: 20px;
  padding-block: 20px 30px;
}
@media screen and (min-width: 768px) {
  .p-detail__project-content {
    padding-inline: 40px;
    padding-block: 32px 60px;
  }
}
.p-detail__project-row {
  margin-inline: auto;
  border-bottom: 1px solid #CCCCCC;
  padding-bottom: 10px;
}
@media screen and (min-width: 768px) {
  .p-detail__project-row {
    display: flex;
    max-width: 621px;
    gap: 10px;
    padding-bottom: 8px;
  }
}
.p-detail__project-row:not(:last-child) {
  margin-bottom: 10px;
}
@media screen and (min-width: 768px) {
  .p-detail__project-row:not(:last-child) {
    margin-bottom: 18px;
  }
}
.p-detail__project-lead {
  font-weight: 700;
  flex-shrink: 0;
  color: #09316B;
  margin-bottom: 5px;
}
@media screen and (min-width: 768px) {
  .p-detail__project-lead {
    margin-bottom: 0;
    width: 87px;
  }
}
.p-detail__project-desc {
  font-weight: 500;
  color: #000;
}
.p-detail__group {
  border-bottom: 1px solid #ccc;
  margin-top: 40px;
  padding-bottom: 30px;
}
@media screen and (min-width: 768px) {
  .p-detail__group {
    margin-top: 61px;
    padding-bottom: 41px;
  }
}
.p-detail__group-ttl {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.05em;
  font-weight: 700;
  text-align: center;
  gap: 5px;
}
@media screen and (min-width: 768px) {
  .p-detail__group-ttl {
    gap: clamp(0.625rem, 7.8704vw + -3.1528rem, 2.75rem);
  }
}
.p-detail__group-ttl::after, .p-detail__group-ttl::before {
  height: 1px;
  background-color: #ccc;
  content: "";
  min-width: 15px;
}
@media screen and (min-width: 768px) {
  .p-detail__group-ttl::after, .p-detail__group-ttl::before {
    position: relative;
    top: -1px;
  }
}
.p-detail__brands {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 25px;
  gap: 10px;
}
@media screen and (min-width: 768px) {
  .p-detail__brands {
    margin-inline: auto;
    max-width: 826px;
    gap: 8px;
    margin-top: 28px;
  }
}
.p-detail__brand {
  border: 1px solid #D9D9D9;
  background-color: #fff;
  padding-inline: 5px;
  padding-block: 5px 15px;
  width: calc(50% - 5px);
}
@media screen and (min-width: 768px) {
  .p-detail__brand {
    padding-block: 6px 17px;
    min-height: 155px;
    width: 200px;
  }
}
.p-detail__brand-img {
  background-color: #F6F9FC;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-inline: 10px;
  min-height: 70px;
}
@media screen and (min-width: 768px) {
  .p-detail__brand-img {
    min-height: 72px;
  }
}
.p-detail__brand-img img {
  object-fit: contain;
  max-width: 100%;
  zoom: 0.9;
  max-height: 52px;
}
@media screen and (min-width: 768px) {
  .p-detail__brand-img img {
    zoom: 1;
  }
}
.p-detail__brand-desc {
  font-weight: 500;
  text-align: center;
  margin-top: 7px;
}
.p-detail__brand-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
}
@media screen and (min-width: 768px) {
  .p-detail__brand-tags .c-cardresults__catlabel {
    padding-block: 1px 2px;
    padding-inline: 6px;
  }
}
.p-detail__btn {
  margin-top: 40px;
}
@media screen and (min-width: 768px) {
  .p-detail__btn {
    margin-top: 64px;
  }
}
@media screen and (min-width: 768px) {
  .p-detail__btn .c-btn01__link {
    gap: 20px;
  }
}
