.case-single {
  position: relative;
  overflow: hidden;
  color: #333;
  background: #fff;
}
.case-single::before, .case-single::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.35;
  pointer-events: none;
}
.case-single::before {
  top: 90px;
  left: -120px;
  background: #ff7aa8;
}
.case-single::after {
  right: -120px;
  bottom: 120px;
  background: #63d8ff;
}

.case-archive {
  padding: 0 5vw;
  position: relative;
  overflow: hidden;
  color: #333;
  background: #fff;
}
.case-archive::before, .case-archive::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.35;
  pointer-events: none;
}
.case-archive::before {
  top: 90px;
  left: -120px;
  background: #ff7aa8;
}
.case-archive::after {
  right: -120px;
  bottom: 120px;
  background: #63d8ff;
}
.case-archive__inner {
  position: relative;
  z-index: 1;
  width: min(1080px, 100% - 40px);
  margin: 0 auto;
}
.case-archive__hero {
  position: relative;
  padding: 150px 0 56px;
}
.case-archive__hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 40px;
  left: 50%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: #ffe36e;
  filter: blur(80px);
  opacity: 0.32;
  transform: translateX(-50%);
  pointer-events: none;
}
.case-archive__label {
  margin: 0 0 14px;
  color: #ff437e;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  letter-spacing: 0;
}
.case-archive__title {
  margin: 0;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.35;
}
.case-archive__body {
  padding: 16px 0 88px;
}
.case-archive__empty {
  padding: 48px 24px;
  text-align: center;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid #ececec;
}
.case-archive__empty h2 {
  margin: 0 0 12px;
  font-size: 22px;
}
.case-archive__empty p {
  margin: 0;
  line-height: 1.8;
}

.case-card-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.case-card {
  --case-card-frame-color: rgba(61, 120, 149, 0.5);
  position: relative;
  z-index: 2;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 170px 1fr auto;
  min-width: 0;
  color: #333;
  text-decoration: none;
  background: #fff;
  border-radius: 16px 0 8px 0;
  box-shadow: 0 14px 34px rgba(40, 40, 40, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.case-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-right: 2px solid var(--case-card-frame-color);
  border-bottom: 2px solid var(--case-card-frame-color);
  transform: translate(8px, 8px);
  pointer-events: none;
  border-radius: 0 0 16px 0;
}
.case-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 2.25em;
  height: 2.25em;
  background: var(--case-card-frame-color);
  clip-path: polygon(100% 0, 0 100%, 100% 100%);
  pointer-events: none;
  border-radius: 0 0 8px 0;
}
.case-card:has(.case-card__category-label--pr) {
  --case-card-frame-color: rgba(47, 120, 160, 0.5);
}
.case-card:has(.case-card__category-label--recruit) {
  --case-card-frame-color: rgba(181, 107, 42, 0.5);
}
.case-card:has(.case-card__category-label--sales) {
  --case-card-frame-color: rgba(50, 125, 88, 0.5);
}
.case-card:hover {
  color: #333;
  opacity: 0.9;
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(40, 40, 40, 0.12);
}
.case-card__category {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  min-width: 0;
  padding: 10px 12px 0;
  position: relative;
  z-index: 10;
}
.case-card__category .case-card__service:empty {
  display: none;
}
.case-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  padding: 16px;
  background: #fff;
  overflow: hidden;
}
.case-card__logo img {
  display: block;
  width: 100%;
  height: auto;
}
.case-card__logo span {
  color: #888;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}
.case-card__content {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  padding: 24px;
}
.case-card__action {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
  padding-top: 0px;
}
.case-card__action .-button {
  font-weight: bold;
  text-align: center;
  width: 100%;
  background-color: #333;
  color: #fff;
  border-radius: 80px;
  padding: 0.25em 1em;
}
.case-card__service {
  justify-self: start;
  margin: 0;
  padding: 5px 12px;
  color: #999;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  background: #eee;
  border-radius: 999px;
}
.case-card__category-label {
  color: #3d7895;
  background: #e5f5fb;
}
.case-card__category-label--pr {
  color: #2f78a0;
  background: #e4f4ff;
}
.case-card__category-label--recruit {
  color: #b56b2a;
  background: #fff0df;
}
.case-card__category-label--sales {
  color: #327d58;
  background: #e4f6ec;
}
.case-card__price {
  justify-self: start;
  margin: -4px 0 0;
  padding: 5px 12px;
  color: #ff437e;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  background: #fff;
  border: 1px solid #ff8caf;
  border-radius: 999px;
}
.case-card__title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.case-card__company {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 1.7;
}

.case-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}
.case-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 12px;
  color: #333;
  text-decoration: none;
  background: #fff;
  border: 1px solid #e5e5e5;
}
.case-pagination .current {
  color: #fff;
  background: #333;
  border-color: #333;
}

.case-mainvisual {
  position: relative;
  z-index: 1;
  width: 100%;
  background: #f8f8f8;
}
.case-mainvisual img {
  display: block;
  width: 100%;
  height: min(52vw, 560px);
  object-fit: cover;
}

.case-hero {
  padding: 50px 5vw 72px;
  background: #f8f8f8;
  border-bottom: 1px solid #ececec;
}
.case-hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  width: min(1080px, 100% - 40px);
  margin: 0 auto;
}
.case-hero__content {
  flex: 1 1 auto;
  min-width: 0;
}
.case-hero__label {
  margin: 0 0 18px;
  color: #ff437e;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
}
.case-hero__title {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.45;
}
.case-hero__meta {
  display: grid;
  gap: 12px;
  margin: 32px 0 0;
}
.case-hero__meta-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin: 0;
}
.case-hero__meta-row dt {
  color: #ff437e;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}
.case-hero__meta-row dd {
  min-width: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.case-hero__logo {
  flex: 0 0 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  padding: 16px 16px;
  background: #fff;
  border: 1px solid #e5e5e5;
}
.case-hero__logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.case-detail {
  position: relative;
  z-index: 1;
  padding: 72px 5vw 40px;
}
.case-detail__inner {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  width: min(1080px, 100% - 40px);
  margin: 0 auto;
}
.case-detail__section {
  padding: 40px 0;
  border-bottom: 1px solid #ececec;
}
.case-detail__section:first-child {
  padding-top: 0;
}
.case-detail__heading {
  position: relative;
  margin: 0 0 22px;
  padding-left: 22px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}
.case-detail__heading::before {
  content: "";
  position: absolute;
  top: 0em;
  left: 0;
  width: 6px;
  height: 1.2em;
  background: #ff437e;
}
.case-detail__body {
  font-size: 16px;
  line-height: 2;
}
.case-detail__body > *:first-child {
  margin-top: 0;
}
.case-detail__body > *:last-child {
  margin-bottom: 0;
}
.case-detail__body p {
  margin: 0 0 1.4em;
}
.case-detail__body a {
  color: #ff437e;
  text-decoration: underline;
}
.case-detail__body ul,
.case-detail__body ol {
  padding-left: 1.5em;
  margin: 0 0 1.4em;
}

.case-profile {
  display: grid;
  gap: 24px;
  min-width: 0;
  padding: 28px;
  background: #fff;
  border: 1px solid #e5e5e5;
}
.case-profile__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 170px;
  padding: 20px;
  background: #f8f8f8;
}
.case-profile__logo img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.case-profile__company {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
.case-profile__section {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding-top: 20px;
  border-top: 1px solid #ececec;
}
.case-profile__heading {
  margin: 0;
  color: #ff437e;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}
.case-profile__body {
  min-width: 0;
  color: #555;
  font-size: 14px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.case-profile__body > *:first-child {
  margin-top: 0;
}
.case-profile__body > *:last-child {
  margin-bottom: 0;
}
.case-profile__body p {
  margin: 0 0 1em;
}
.case-profile__body a {
  color: #ff437e;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.case-story {
  min-width: 0;
}

.case-nav {
  position: relative;
  z-index: 1;
  padding: 32px 16px 80px;
}
.case-nav__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  width: min(900px, 100% - 40px);
  margin: 0 auto;
}
.case-nav__link, .case-nav__back {
  color: #333;
  text-decoration: none;
}
.case-nav__link {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 18px;
  border: 1px solid #e5e5e5;
  background: #fff;
  transition: opacity 0.2s ease;
}
.case-nav__link:hover {
  opacity: 0.75;
}
.case-nav__link span {
  color: #ff437e;
  font-size: 13px;
  font-weight: 700;
}
.case-nav__link strong {
  font-size: 14px;
  line-height: 1.6;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.case-nav__link--next {
  text-align: right;
}
.case-nav__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  min-height: 48px;
  padding: 0 24px;
  color: #fff;
  font-weight: 700;
  background: #333;
  border-radius: 999px;
  transition: opacity 0.2s ease;
}
.case-nav__back:hover {
  opacity: 0.75;
}

@media screen and (max-width: 767px) {
  .case-archive::before, .case-archive::after {
    width: 240px;
    height: 240px;
    filter: blur(56px);
  }
  .case-archive__inner {
    width: calc(100% - 30px);
  }
  .case-archive__hero {
    padding: 96px 0 40px;
  }
  .case-archive__body {
    padding-bottom: 56px;
  }
  .case-card-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .case-card__category {
    padding: 16px 20px 0;
  }
  .case-card__logo {
    min-height: 140px;
  }
  .case-card__content {
    padding: 20px;
  }
  .case-card__title {
    font-size: 18px;
  }
  .case-mainvisual img {
    height: 62vw;
  }
  .case-hero {
    padding: 44px 0 44px;
  }
  .case-hero__inner {
    display: grid;
    gap: 28px;
    width: calc(100% - 30px);
  }
  .case-hero__title {
    font-size: 26px;
  }
  .case-hero__meta-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .case-hero__logo {
    min-height: 130px;
    padding: 24px;
  }
  .case-detail {
    padding: 48px 16px 24px;
  }
  .case-detail__inner {
    display: flex;
    flex-direction: column;
    gap: 36px;
    width: calc(100% - 30px);
  }
  .case-detail__section {
    padding: 32px 0;
  }
  .case-detail__heading {
    font-size: 21px;
  }
  .case-profile {
    order: 2;
    padding: 22px;
  }
  .case-profile__logo {
    min-height: 130px;
  }
  .case-story {
    order: 1;
  }
  .case-nav {
    padding-bottom: 56px;
  }
  .case-nav__inner {
    display: flex;
    flex-direction: column;
    width: calc(100% - 30px);
  }
  .case-nav__link, .case-nav__back {
    width: 100%;
    box-sizing: border-box;
  }
  .case-nav__empty {
    display: none;
  }
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .case-card-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}/*# sourceMappingURL=case.css.map */