/* ==========================================================================
  l-aiGood
   ========================================================================== */
.l-aiGood {
  /* 設定値 */
  --color-primary: #a51e6d;
  --color-text: #333333;
  --color-white: #ffffff;
  --color-accent-bg: #f6e9f0;
  --gradient-main: linear-gradient(90deg, #fe5759 0%, #8e52fb 100%);
  --padding-inner: 20px;
  /* --inner-width-md: 1280px; */
  --inner-width-md: 1100px;
  --inner-width-sm: 950px;
  --font-family-base: "Noto Sans JP", sans-serif;
  --header-height: 80px;
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: var(--header-height);
}

@media screen and (min-width: 769px) {
  .sp_only {
    display: none;
  }
}

.l-aiGood.l-aiGood--interview {
  background: #f3f3f3;
}

@media screen and (max-width: 768px) {
  .l-aiGood {
    --header-height: 60px;
  }
}

.l-aiGood__inner {
  max-width: calc(var(--inner-width-md) + var(--padding-inner) * 2);
  margin-inline: auto;
  padding-inline: var(--padding-inner);

  @media screen and (width < 768px) {
    max-width: 600px;
  }
}

.l-aiGood__inner.sm {
  max-width: calc(var(--inner-width-sm) + var(--padding-inner) * 2);

  @media screen and (width < 768px) {
    max-width: 500px;
  }
}

.l-column.l-aiGood__column {
  grid-template-columns: 1fr;
  max-width: 1000px;
  margin-inline: auto;
}

.l-aiGood .c-single01__body-in {
  padding-top: 50px;

  @media screen and (width < 768px) {
    padding-top: 20px;
  }
}

.p-aiGoodTitle {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.45;
  border-left: 8px solid var(--color-primary);
  padding-left: 16px;

  @media screen and (width < 768px) {
    font-size: 16px;
  }
}

/* ==========================================================================
   header & footer
   ========================================================================== */

.l-header.is-ai-social-good {
  background: #fff;
  --header-height: 80px;
  height: var(--header-height);
}
@media screen and (max-width: 768px) {
  .l-header.is-ai-social-good {
    --header-height: 60px;
  }
}
.l-header.is-ai-social-good .l-header__inner {
  height: inherit;
}

.l-header.is-ai-social-good .l-header-logo {
  width: 179px;
}

@media screen and (max-width: 768px) {
  .l-header.is-ai-social-good .l-header-logo {
    width: 120px;
  }
}

.l-header.is-ai-social-good .l-header-logo img {
  width: 100%;
}

.l-header.is-ai-social-good .l-nav-search-btn,
.l-header.is-ai-social-good .l-nav-cv,
.l-header.is-ai-social-good .l-nav-search-container,
.l-header.is-ai-social-good .c-other-link01,
.l-header.is-ai-social-good .l-nav-bottom {
  display: none;
}

@media screen and (max-width: 768px) {
  .l-header.is-ai-social-good .l-nav {
    height: calc(100% - var(--header-height));
    top: var(--header-height);
  }
}

.l-header.is-ai-social-good .l-nav-list {
  margin-left: auto;
  gap: 40px;
}

.l-header.is-ai-social-good .l-nav-list__item-link {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.02em;
  padding: 20px 0;
}

@media screen and (max-width: 768px) {
  .l-header.is-ai-social-good .l-nav-list__item-link {
    font-size: 16px;
  }
}

.l-footer.is-ai-social-good {
  background: #fff;
  border-top: 1px solid #e9eaed;
}

.l-footer.is-ai-social-good .l-footer-logo {
  max-width: 140px;
}

@media screen and (max-width: 768px) {
  .l-footer.is-ai-social-good .l-footer-logo {
    max-width: 120px;
  }
}

.l-footer.is-ai-social-good .l-footer-logo img {
  width: 100%;
}

.l-footer-nav__list.l-footer-nav__list--row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

@media screen and (max-width: 768px) {
  .l-footer-nav__list.l-footer-nav__list--row {
    flex-direction: column;
    gap: 20px;
  }
}

.l-footer-nav__list.l-footer-nav__list--row .l-footer-nav__item span {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

@media screen and (max-width: 768px) {
  .l-footer-nav__list.l-footer-nav__list--row .l-footer-nav__item span {
    font-size: 16px;
  }
}

.l-footer-ai-works {
  margin-block: 80px 100px;
}

.l-footer-ai-works__inner {
}

.l-footer-ai-works__cr {
  text-align: center;
}

.l-footer-ai-works__cr-txt {
  display: inline-block;
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-text-primary);
}

/* ==========================================================================
  p-aiSocialGoodMv
   ========================================================================== */
.p-aiGoodMv {
  background-image: var(--gradient-main);
  padding: 64px 0;
  color: var(--color-white);
}

.p-aiGoodMv__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.p-aiGoodMv__media-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;

  @media screen and (width < 768px) {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

.p-aiGoodMv__media-item {
  border-radius: 16px;
  overflow: hidden;
}

.p-aiGoodMv__content {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.p-aiGoodMv__title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.05em;
  margin: 0;

  @media screen and (width < 768px) {
    font-size: 24px;
  }
}

.p-aiGoodMv__lead {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
  margin: 0;

  @media screen and (width < 768px) {
    font-size: 16px;
  }
}

/* ==========================================================================
  p-aiGoodKv
   ========================================================================== */
.p-aiGoodKv {
  position: relative;
  overflow-x: clip;
}

.p-aiGoodKv::after {
  content: "";
  display: block;
  width: 100%;
  height: 80px;
  background: linear-gradient(0deg, #fff 0%, transparent 100%);
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 4;

  @media screen and (width < 768px) {
    height: 50px;
  }
}


.p-aiGoodKv__inner {
  position: relative;
}

.p-aiGoodKv__wrapper {
  padding-block: 80px 230px;
  position: relative;

  @media screen and (width < 768px) {
    padding-block: 20px 146px;
    max-width: 400px;
    margin-inline: auto;
  }
}

.p-aiGoodKv__content {
  position: relative;
  z-index: 3;
}

.p-aiGoodKv__title {
  font-size: 72px;
  font-weight: 700;
  line-height: 1.4;


  @media screen and (width < 768px) {
    font-size: 30px;
  }
}

.p-aiGoodKv__title .text-accent {
  color: var(--color-primary);
}

.p-aiGoodKv__title .text-back-accent {
  display: inline-block;
  background: var(--gradient-main);
  color: #fff;
  padding-inline: 20px 10px;
  margin-block-start: 20px;
  line-height: 1.3;

  @media screen and (width < 768px) {
    font-size: 32px;
    margin-block-start: 6px;
    padding-inline: 8px 4px;
  }

  span {
    font-family: "Lato", serif;
  }
}

.p-aiGoodKv__lead {
  margin-block-start: 40px;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;

  @media screen and (width < 768px) {
    font-size: 14px;
    margin-block-start: 16px;
    line-height: 1.8;
  }

  span {
    font-family: "Lato", serif;
  }
}

.p-aiGoodKv__back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

.p-aiGoodKv__img {
  position: absolute;
  bottom: 0;
  right: -28%;
  width: min(1200px, calc(1200 / 1440 * 100%));
  z-index: 2;

  @media screen and (width < 768px) {
    right: -27%;
    width: min(355px, calc(355 / 375 * 100%));
  }

  img {
    width: 100%;
    height: auto;
  }
}

/* ==========================================================================
  p-aiGoodContent
   ========================================================================== */
.p-aiGoodContent {
  margin-block-start: 80px;
  overflow-x: clip;

  @media screen and (width < 768px) {
    margin-block-start: 60px;
  }
}

.p-aiGoodContent.bg-accent {
  background-color: var(--color-accent-bg);
  padding-block: 45px 40px;
  position: relative;
}

.p-aiGoodContent.bg-accent:before {
  content: "";
  display: block;
  width: 100%;
  height: 10px;
  background: var(--gradient-main);
  position: absolute;
  top: 0;
  left: 0;
}

.p-aiGoodContent__body {
  margin-block-start: 32px;
}

.p-aiGoodContent__body.is_wide {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
}

/* ==========================================================================
  p-aiGoodResult
   ========================================================================== */

.p-aiGoodResult {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;

  @media screen and (width < 768px) {
    grid-template-columns: repeat(1, 1fr);
  }
}

.p-aiGoodResult__item {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  gap: 0;
  background-color: var(--color-accent-bg);
  padding: 12px;
}

.p-aiGoodResult__title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--color-primary);
  text-align: center;
  align-self: center;
}

.p-aiGoodResult__visual {
  width: 120px;
  margin-inline: auto;
  margin-block-start: 16px;

  img {
    width: 100%;
    height: auto;
  }
}

.p-aiGoodResult__value {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
  margin-block-start: 16px;
}

/* ==========================================================================
    p-aiGoodWork
     ========================================================================== */

.p-aiGoodWork {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 40px;

  @media screen and (width < 768px) {
    grid-template-columns: repeat(1, 1fr);
    gap: 40px;
  }
}

.p-aiGoodWork__item {
  background-color: var(--color-accent-bg);
  padding: 32px;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 4;
  gap: 24px;

  @media screen and (width < 768px) {
    padding: 15px;
    gap: 10px;
  }
}

.p-aiGoodWork__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary);

  @media screen and (width < 768px) {
    gap: 4px;
  }
}

.p-aiGoodWork__order {
  margin: 0;
  flex-shrink: 0;
}

.p-aiGoodWork__name {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 600;
}

.p-aiGoodWork__figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
}

.p-aiGoodWork__description {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.p-aiGoodWork__cta-wrapper {
  justify-self: end;
}

.p-aiGoodWork__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 16px;
  background-color: var(--color-white);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  width: fit-content;
  transition: opacity 0.3s ease;
}

@media (any-hover: hover) {
  .p-aiGoodWork__cta:hover {
    opacity: 0.8;
  }
}

.p-aiGoodWork__cta-icon {
  flex: 0 0 auto;
}

/* ==========================================================================
      p-aiGoodGallery
       ========================================================================== */

.p-aiGoodGallery__slide {
  aspect-ratio: 360 / 202;
}
.p-aiGoodGallery__slide video,
.p-aiGoodGallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  cursor: pointer;
}
/* ==========================================================================
      p-aiGoodVoice
       ========================================================================== */

.p-aiGoodVoice {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;

  @media screen and (width < 768px) {
    grid-template-columns: repeat(1, 1fr);
  }
}

.p-aiGoodVoice__item {
  display: block;
  transition: opacity 0.3s ease;
}

@media (any-hover: hover) {
  .p-aiGoodVoice__item:hover {
    opacity: 0.8;
  }
}

.p-aiGoodVoice__figure {
  aspect-ratio: 454 / 259;
}

.p-aiGoodVoice__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ==========================================================================
      p-aiGoodFooter
       ========================================================================== */

.p-aiGoodFooter__content {
  background-color: #f6e9f0;
  margin-block-start: 160px;
  padding-block: 40px;

  @media screen and (width < 768px) {
    margin-block-start: 80px;
  }
}

.p-aiGoodFooter__copy {
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  text-align: center;
  padding: 16px 20px;
  background: #a51e6d;
}

.p-aiGoodFooter__inner {
  padding-inline: 20px;
}

.p-aiGoodFooter__logo {
  width: 255px;
  margin-inline: auto;

  @media screen and (width < 768px) {
    width: 160px;
  }
}

.p-aiGoodFooter__logo img {
  width: 100%;
  height: auto;
}

.p-aiGoodFooter__body {
  margin-block-start: 48px;

  @media screen and (width < 768px) {
    margin-block-start: 32px;
  }
}

.p-aiGoodFooter__text {
  font-size: 56px;
  font-weight: 600;
  text-align: center;

  @media screen and (width < 768px) {
    font-size: 20px;
    line-height: 1.5;
  }
}

.p-aiGoodFooter__text .text-accent {
  color: #a51e6d;
}

.p-aiGoodFooter__text .text-back-accent {
  background: linear-gradient(90deg, #fe5759 0%, #8e52fb 100%);
  color: #fff;
  font-weight: 700;
  padding-inline: 10px;

  @media screen and (width < 768px) {
    padding-inline: 5px 0;
  }
}
/* ==========================================================================
      p-singleAiGood
       ========================================================================== */

.p-singleAiGood {
}

.p-singleAiGood__content > *:first-child {
  margin-block-start: 0;
}

.p-singleAiGood__content > h2 {
  margin-block: 80px 32px;

  @media screen and (width < 768px) {
    margin-block: 40px 20px;
  }
}

.is-layout-flow > * {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

/* .p-singleAiGood__content > h3 {
  margin-block-start: 32px;

  @media screen and (width < 768px) {
    margin-block-start: 24px;
  }
} */

/* .p-singleAiGood__content > p,
.p-singleAiGood__content > ul,
.p-singleAiGood__content > ol,
.p-singleAiGood__content > * {
  margin-block-start: 32px;

  @media screen and (width < 768px) {
    margin-block-start: 24px;
  }
} */

.p-singleAiGood h2 {
  font-size: 20px;
  font-weight: 600;
  /* margin: 0; */
  border-left: 8px solid var(--color-primary);
  padding-left: 16px;

  @media screen and (width < 768px) {
    font-size: 20px;
  }
}

.p-singleAiGood h3 {
  font-size: 18px;
  font-weight: 600;
  /* margin: 0; */
  /* border-left: 8px solid var(--color-primary); */
  /* padding-left: 16px; */

  @media screen and (width < 768px) {
    font-size: 18px;
  }
}

.p-singleAiGood h4 {
  font-size: 18px;
  font-weight: 600;
  /* margin: 0; */
  /* border-left: 8px solid var(--color-primary); */
  /* padding-left: 16px; */

  @media screen and (width < 768px) {
    font-size: 16px;
  }
}

.p-singleAiGood p,
.p-singleAiGood li {
  font-size: 16px;
}
.p-singleAiGood__content ul {
  list-style: disc;
  padding-left: 2em;
}

.p-singleAiGood__content ol {
  list-style: decimal;
  padding-left: 2em;
}

@media screen and (width < 768px) {
  .p-singleAiGood p,
  .p-singleAiGood li {
    font-size: 14px;
  }
}

.p-singleAiGood__mv {
  display: grid;
  grid-template-columns: 55% 1fr;
  align-items: center;
  gap: 40px;

  @media screen and (width < 768px) {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }
}

.p-singleAiGood__mvImage img {
  width: 100%;
  height: auto;
}

.p-singleAiGood__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
  margin: 0;
  color: var(--color-primary);
  word-break: auto-phrase;

  @media screen and (width < 768px) {
    font-size: 20px;
  }
}

.p-singleAiGood__body {
  margin-block: 80px;

  @media screen and (width < 768px) {
    margin-block: 40px;
  }
}

.p-singleAiGood__content {
}

.p-singleAiGood__bottom {
  background: var(--color-accent-bg);
  padding-block: 40px 200px;

  @media screen and (width < 768px) {
    padding-block: 40px 100px;
  }
}

.p-singleAiGood__bottomContent + .p-singleAiGood__bottomContent {
  margin-block-start: 50px;

  @media screen and (width < 768px) {
    margin-block-start: 25px;
  }
}

.p-singleAiGood__bottomHead {
  h2 {
    margin-block-start: 0;
  }
}

.p-singleAiGood__bottomBody {
  margin-block-start: 32px;

  @media screen and (width < 768px) {
    margin-block-start: 24px;
  }
}

.p-singleAiGood__lists {
  display: grid;
  gap: 16px;

  @media screen and (width < 768px) {
    gap: 12px;
  }
}

.p-singleAiGood__list {
  background: var(--color-white);
  padding: 10px 24px;
  font-size: 16px;
  position: relative;
}

.p-singleAiGood__list::before {
  content: "";
  display: block;
  width: 8px;
  height: 70%;
  background: var(--color-primary);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
}

.p-singleAiGood__btnArea {
  margin-block-start: 48px;
  display: flex;
  justify-content: center;

  @media screen and (width < 768px) {
    margin-block-start: 32px;
  }
}

.p-aiGood-btn {
  display: grid;
  place-items: center;
  width: 400px;
  height: 62px;
  font-size: 20px;
  font-weight: 600;
  color: var(--color-white);
  /* background: var(--color-primary); */
  background: #333333;
  padding: 10px;
  transition: opacity 0.3s ease;

  @media screen and (width < 768px) {
    font-size: 16px;
    padding: 12px 24px;
    margin-block-start: 32px;
  }
}
@media (hover: hover) {
  .p-aiGood-btn:hover {
    opacity: 0.8;
  }
}

.c-singleAiGood-headBlock {
  gap: 0;

  h2 {
    font-size: 22px;
    font-weight: 600;
    color: var(--color-white);
    background: var(--gradient-main);
    padding: 15px;
    border: none;
    width: 100%;
    line-height: 1.2;

    @media screen and (width < 768px) {
      font-size: 20px;
      padding: 10px;
    }
  }
  p {
    font-size: 16px;
    background: var(--color-accent-bg);
    padding: 32px;

    @media screen and (width < 768px) {
      font-size: 14px;
      padding: 20px;
    }
  }
}

/* ==========================================================================
      single-interview
       ========================================================================== */

.csr_interview_prof {
  border-color: var(--color-primary) !important;
}

.csr_interview_prof__img img {
  max-width: 300px;
  margin-inline: auto;
}

.csr_interview_prof__head {
  width: 100%;
  border-color: var(--color-primary) !important;

  p {
    color: var(--color-primary) !important;
  }
}

.csr_interview_prof__body {
}
