@charset "UTF-8";

/*----------------------------------
  component.css（全ページで読み込む）
-----------------------------------*/
/*----------------------------------
  セクション見出し
  ・英字ラベル（左にマゼンタの点）＋ 日本語見出し
  ・ラベルが日本語の場合は --ja
-----------------------------------*/
.c-section-ttl__en {
  position: relative;
  padding-inline-start: 0.875rem;
  font-family: "M PLUS 1", sans-serif;
  color: #d00168;
  font-size: max(0.8125rem, 10.4px);
  font-weight: 460;
  line-height: 2.1538461538;
  letter-spacing: 0.1em;
}

@media (min-width: 0px) {
  .c-section-ttl__en {
    font-size: 0.8125rem;
  }
}

@media (min-width: 768px) {
  .c-section-ttl__en {
    font-size: max(0.875rem, 10px);
    font-weight: 460;
    line-height: 2;
    letter-spacing: 0.1em;
  }
}

.c-section-ttl__en::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background-color: #d00168;
  translate: 0 -50%;
  pointer-events: none;
}

.c-section-ttl__en--ja {
  font-family: "M PLUS 1", sans-serif;
  font-weight: 620;
}

.c-section-ttl__ja {
  margin-block-start: 0.5rem;
  color: #3a3a3a;
  font-size: max(1.5rem, 19.2px);
  font-weight: 500;
  line-height: 1.5833333333;
}

@media (min-width: 0px) {
  .c-section-ttl__ja {
    font-size: 1.5rem;
  }
}

@media (min-width: 768px) {
  .c-section-ttl__ja {
    margin-block-start: 0.625rem;
    font-size: max(2rem, 10px);
    font-weight: 500;
    line-height: 1.5;
  }
}

.c-section-ttl__ja br {
  display: none;
}

@media (min-width: 768px) {
  .c-section-ttl__ja br {
    display: inline;
  }
}

.c-section-ttl__ja--br {
  font-size: clamp(1.625rem, 6.9vw, 1.75rem);
  line-height: 1.5;
  letter-spacing: 0.08em;
}

@media (min-width: 768px) {
  .c-section-ttl__ja--br {
    font-size: max(2rem, 10px);
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: normal;
  }
}

.c-section-ttl__ja--br br {
  display: inline;
}

.c-lead {
  color: #645a63;
  font-size: max(0.875rem, 11.2px);
  font-weight: 460;
  line-height: 2;
}

@media (min-width: 0px) {
  .c-lead {
    font-size: 0.875rem;
  }
}

@media (min-width: 768px) {
  .c-lead {
    font-size: max(0.875rem, 10px);
    font-weight: 460;
    line-height: 2;
  }
}

@media (min-width: 390px) {
  .c-lead {
    letter-spacing: 0.02em;
  }
}

@media (min-width: 414px) {
  .c-lead {
    letter-spacing: normal;
  }
}

.c-section-head {
  display: grid;
  row-gap: 1rem;
}

@media (min-width: 768px) {
  .c-section-head {
    grid-template-columns: 1fr 23.25rem;
    align-items: end;
    column-gap: 2.5rem;
  }
}

@media (min-width: 768px) {
  .c-section-head--wide {
    grid-template-columns: 1fr 31.25rem;
  }
}

/*----------------------------------
  ボタン（マゼンタ・右に矢印の丸）
-----------------------------------*/
.c-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 1rem;
  width: fit-content;
  max-width: 100%;
  min-height: 3.5rem;
  padding-block: 0.5rem;
  padding-inline: 1.25rem 0.5rem;
  border-radius: 100vmax;
  background-color: #d00168;
  overflow: hidden;
  isolation: isolate;
  transition: background-color 0.4s ease;
}

@media (min-width: 768px) {
  .c-btn {
    column-gap: 2rem;
    padding-inline: 1.5rem 0.5rem;
  }
}

.c-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: #b1045a;
  scale: 0 1;
  transform-origin: left center;
  transition: scale 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.c-btn p {
  color: #ffffff;
  font-size: max(0.875rem, 11.2px);
  font-weight: 500;
  line-height: 1.4285714286;
}

@media (min-width: 0px) {
  .c-btn p {
    font-size: 0.875rem;
  }
}

@media (min-width: 768px) {
  .c-btn p {
    font-size: max(0.875rem, 10px);
    font-weight: 500;
    line-height: 1.4285714286;
  }
}

@media (any-hover: hover) {
  .c-btn:hover::before {
    scale: 1 1;
  }

  .c-btn:hover .c-btn__icon img {
    translate: 0.1875rem 0;
  }

  .c-btn:hover .c-btn__icon {
    background-color: #d00168;
  }
}

.c-btn__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2.5625rem;
  height: 2.5625rem;
  border-radius: 50%;
  background-color: #b1045a;
  transition: background-color 0.4s ease;
}

.c-btn__icon img {
  width: 0.625rem;
  height: auto;
  aspect-ratio: 10.348/10.89;
  transition: translate 0.4s ease;
}

/*----------------------------------
  テキストリンク（下線＋マゼンタの丸矢印）
-----------------------------------*/
.c-link {
  display: inline-flex;
  align-items: center;
  column-gap: 0.75rem;
}

.c-link p {
  position: relative;
  padding-block-end: 0.125rem;
  color: #645a63;
  font-size: max(0.875rem, 11.2px);
  font-weight: 460;
  line-height: 2;
}

@media (min-width: 0px) {
  .c-link p {
    font-size: 0.875rem;
  }
}

@media (min-width: 768px) {
  .c-link p {
    font-size: max(0.875rem, 10px);
    font-weight: 460;
    line-height: 2;
  }
}

.c-link p::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, #d00168 50%, #bdb39d 50%);
  background-size: 200% 100%;
  background-position: 100% 0;
  transition: background-position 0.5s ease;
  pointer-events: none;
}

@media (any-hover: hover) {
  .c-link:hover p::after {
    background-position: 0 0;
  }

  .c-link:hover .c-link__icon img {
    translate: 0.125rem 0;
  }
}

.c-link__icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: #d00168;
}

.c-link__icon img {
  width: 0.625rem;
  height: auto;
  aspect-ratio: 10.348/10.89;
  transition: translate 0.4s ease;
}

/*----------------------------------
  タグ（マゼンタの角丸ラベル）
-----------------------------------*/
.c-tag {
  display: inline-block;
  width: fit-content;
  padding: 0.0625rem 0.8125rem;
  border-radius: 0.625rem;
  background-color: #d00168;
  color: #ffffff;
  font-size: max(0.75rem, 9.6px);
  font-weight: 620;
  line-height: 1.6666666667;
  letter-spacing: 0.1em;
}

@media (min-width: 0px) {
  .c-tag {
    font-size: 0.75rem;
  }
}

@media (min-width: 768px) {
  .c-tag {
    font-size: max(0.75rem, 10px);
    font-weight: 620;
    line-height: 1.6666666667;
    letter-spacing: 0.1em;
  }
}

/*----------------------------------
  画像の枠（ふわっと見せるアニメーションの対象）
-----------------------------------*/
.c-img {
  overflow: hidden;
}

.c-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*----------------------------------
  アニメーション
  .js-fadeUp（下からふわっと表示）・.js-imgReveal（画像を幕が開くように表示）
  .js-lineX（横線を左から引く）・.js-lineY（縦線を上から引く）は animation.js（GSAP）で制御
  CSSでは初期状態を持たないため、JSが動かないCMS管理画面でもそのまま表示される

  ちらつき防止：<head> の1行スクリプトで html に .js-anim を付け、JSが動く環境だけ最初から隠しておく。
  （.js-anim は animation.js の実行後、または3秒後に外れる）
-----------------------------------*/
.js-anim .js-fadeUp,
.js-anim .js-imgReveal,
.js-anim .js-lineX,
.js-anim .js-lineY,
.js-anim .js-pop {
  visibility: hidden;
}

/*----------------------------------
  CMS管理画面用（JS 無効）：Swiper のスライドをサムネイルで一覧表示
  html.is-js がない＝JS が動かない CMS 管理画面のみ有効。
  公開サイトでは Swiper の初期化前に一瞬この表示になりレイアウトシフト（CLS）が起きるため対象外にする
-----------------------------------*/
html:not(.is-js) .swiper:not(.swiper-initialized) .swiper-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  height: auto;
}

html:not(.is-js) .swiper:not(.swiper-initialized) .swiper-slide {
  width: 15rem;
  height: auto;
  margin: 0;
}

/*----------------------------------
  一文字落ち対策（全ページ共通）
  ※ text-wrap-style のみ指定し、white-space: nowrap など「改行しない」指定には影響させない
-----------------------------------*/
p,
dd,
li {
  text-wrap-style: pretty;
}

h1,
h2,
h3,
h4 {
  text-wrap-style: auto;
  font-feature-settings: "palt";
}

@supports (hanging-punctuation: first) {

  p,
  dd,
  li {
    text-wrap-style: auto;
    hanging-punctuation: allow-end;
  }

  html .u-pretty {
    text-wrap-style: auto;
  }
}

.c-section-ttl__en--ja {
  font-feature-settings: "palt";
}

/*----------------------------------
  一文字落ち 個別調整（Chrome・Edge・Firefox で 0 件、Safari は可能な範囲）
  ・余白（padding-inline-end／負の margin-inline-end）で調整
    （余白だと画面端に寄りすぎる 1 箇所のみ letter-spacing で調整）
  ・一文字落ちが出る幅（375／414／768／1024／1366 の各区間）だけに当て、次の区間で 0 に戻す
-----------------------------------*/
/* 全ブラウザ：見出し（pretty の対象外のため Chrome・Edge でも落ちる箇所） */
@media (min-width: 375px) {
  .p-detail__title {
    padding-inline-end: 1rem;
  }

  .p-detail__info>h2 {
    padding-inline-end: 1.3125rem;
  }
}

@media (min-width: 414px) {
  .p-top-fv__ttl {
    margin-inline-end: -0.5rem;
  }

  .p-cta__ttl {
    padding-inline-end: 0.5rem;
  }

  .p-detail__title {
    padding-inline-end: 0;
  }

  .p-detail__info>h2 {
    padding-inline-end: 0;
  }
}

@media (min-width: 768px) {
  .p-top-issues__ttl {
    padding-inline-end: 1.125rem;
  }

  .p-top-fv__ttl {
    margin-inline-end: 0;
  }

  .p-cta__ttl {
    padding-inline-end: 0;
  }
}

@media (min-width: 1024px) {
  .p-top-issues__ttl {
    padding-inline-end: 0;
  }
}

/* Firefox・Safari：text-wrap-style: pretty が効かない／auto に戻しているブラウザだけに当てる */
@supports (not (text-wrap-style: pretty)) or (hanging-punctuation: first) {
  @media (min-width: 375px) {
    .p-top-produce__item:nth-of-type(1) .c-btn p {
      margin-inline-end: -0.1875rem;
    }

    .p-top-consult__diagram-item:nth-of-type(4)>.p-top-consult__diagram-label:nth-of-type(2) {
      margin-inline-end: -0.125rem;
    }

    .p-top-profile__text:nth-of-type(4) {
      padding-inline-end: 0.125rem;
    }

    .p-top-career__row:nth-of-type(2)>p:nth-of-type(2) {
      padding-inline-end: 0.5625rem;
    }

    .p-cta__text {
      padding-inline-end: 0.125rem;
    }

    .p-cta__btn>a>p {
      padding-inline-end: 0.0625rem;
    }

    .p-page-header__nav-item>p {
      padding-inline-end: 0.6875rem;
    }

    .p-service-area:nth-of-type(1) .p-service-area__support-item:nth-of-type(1)>.p-service-area__support-text {
      padding-inline-end: 0.3125rem;
    }

    .p-service-area:nth-of-type(2) .p-service-area__support-item:nth-of-type(3)>.p-service-area__support-text {
      padding-inline-end: 0.3125rem;
    }

    .p-service-area:nth-of-type(2) .p-service-area__catch {
      margin-inline-end: -0.5625rem;
    }

    .p-service-area:nth-of-type(2) .p-service-area__text {
      margin-inline-end: -0.375rem;
    }

    .p-service-flow__item:nth-of-type(3) .p-service-flow__card-text {
      margin-inline-end: -0.3125rem;
    }

    .p-service-flow__item:nth-of-type(5) .p-service-flow__card-text {
      margin-inline-end: -0.3125rem;
    }

    .p-form__privacy>.p-form__privacy-text:nth-of-type(1) {
      margin-inline-end: -0.25rem;
    }

    .p-form__privacy>.p-form__privacy-text:nth-of-type(3) {
      padding-inline-end: 0.6875rem;
    }

    .p-form__privacy>.p-form__privacy-text:nth-of-type(11) {
      margin-inline-end: -0.125rem;
    }

    .p-form__privacy>.p-form__privacy-text:nth-of-type(13) {
      margin-inline-end: -0.25rem;
    }

    .p-form__privacy>.p-form__privacy-text:nth-of-type(15) {
      margin-inline-end: -0.125rem;
    }
  }

  @media (min-width: 414px) {
    .p-top-produce .c-lead {
      letter-spacing: -0.04em;
    }

    .p-top-produce__item:nth-of-type(1) .c-btn p {
      margin-inline-end: 0;
    }

    .p-top-consult__text:nth-of-type(2) {
      margin-inline-end: -0.3125rem;
    }

    .p-top-consult__diagram-item:nth-of-type(4)>.p-top-consult__diagram-label:nth-of-type(2) {
      margin-inline-end: 0;
    }

    .p-top-profile__text:nth-of-type(3) {
      margin-inline-end: -0.3125rem;
    }

    .p-top-profile__text:nth-of-type(4) {
      padding-inline-end: 0;
    }

    .p-top-career__row:nth-of-type(2)>p:nth-of-type(2) {
      padding-inline-end: 0;
    }

    .p-cta__text {
      padding-inline-end: 0;
    }

    .p-cta__btn>a>p {
      padding-inline-end: 0;
    }

    .p-page-header__nav-item>p {
      padding-inline-end: 0;
    }

    .p-service-areas .c-lead {
      margin-inline-end: -0.3125rem;
    }

    .p-service-area:nth-of-type(1) .p-service-area__support-item:nth-of-type(1)>.p-service-area__support-text {
      padding-inline-end: 0;
    }

    .p-service-area:nth-of-type(2) .p-service-area__support-item:nth-of-type(3)>.p-service-area__support-text {
      padding-inline-end: 0;
    }

    .p-service-area:nth-of-type(2) .p-service-area__catch {
      margin-inline-end: 0;
    }

    .p-service-area:nth-of-type(2) .p-service-area__text {
      margin-inline-end: 0;
    }

    .p-service-output__item:nth-of-type(1)>.p-service-output__text {
      padding-inline-end: 0.375rem;
    }

    .p-service-output__item:nth-of-type(2)>.p-service-output__text {
      padding-inline-end: 0.375rem;
    }

    .p-service-flow__text {
      margin-inline-end: -0.3125rem;
    }

    .p-service-flow__item:nth-of-type(2) .p-service-flow__card-text {
      margin-inline-end: -0.3125rem;
    }

    .p-service-flow__item:nth-of-type(3) .p-service-flow__card-text {
      margin-inline-end: 0;
    }

    .p-service-flow__item:nth-of-type(5) .p-service-flow__card-text {
      margin-inline-end: 0;
    }

    .p-contact__examples-item:nth-of-type(4) {
      margin-inline-end: -0.3125rem;
    }

    .p-contact__note>p:nth-of-type(2) {
      padding-inline-end: 0.5rem;
    }

    .p-form__privacy>.p-form__privacy-text:nth-of-type(1) {
      margin-inline-end: 0;
    }

    .p-form__privacy>.p-form__privacy-text:nth-of-type(3) {
      padding-inline-end: 0;
    }

    .p-form__privacy>.p-form__privacy-text:nth-of-type(5) {
      margin-inline-end: -0.375rem;
    }

    .p-form__privacy>.p-form__privacy-text:nth-of-type(11) {
      margin-inline-end: 0;
    }

    .p-form__privacy>.p-form__privacy-text:nth-of-type(13) {
      margin-inline-end: -0.4375rem;
    }

    .p-form__privacy>.p-form__privacy-text:nth-of-type(15) {
      margin-inline-end: 0;
    }
  }

  @media (min-width: 768px) {
    .p-top-produce .c-lead {
      letter-spacing: normal;
    }

    .p-top-consult__text:nth-of-type(2) {
      margin-inline-end: 0;
    }

    .p-top-profile__text:nth-of-type(3) {
      margin-inline-end: 0;
    }

    .p-top-career__row:nth-of-type(2)>p:nth-of-type(2) {
      padding-inline-end: 0.625rem;
    }

    .p-top-career__row:nth-of-type(4)>p:nth-of-type(2) {
      padding-inline-end: 1.125rem;
    }

    .p-service-areas .c-lead {
      margin-inline-end: 0;
    }

    .p-service-output__item:nth-of-type(1)>.p-service-output__text {
      padding-inline-end: 0;
    }

    .p-service-output__item:nth-of-type(2)>.p-service-output__text {
      padding-inline-end: 0;
    }

    .p-service-output__item:nth-of-type(3)>.p-service-output__text {
      padding-inline-end: 0.5rem;
    }

    .p-service-flow__text {
      margin-inline-end: 0;
    }

    .p-service-flow__item:nth-of-type(2) .p-service-flow__card-text {
      margin-inline-end: 0;
    }

    .p-contact__examples-item:nth-of-type(2) {
      padding-inline-end: 0.1875rem;
    }

    .p-contact__examples-item:nth-of-type(3) {
      padding-inline-end: 0.1875rem;
    }

    .p-contact__examples-item:nth-of-type(4) {
      margin-inline-end: 0;
    }

    .p-contact__note>p:nth-of-type(1) {
      padding-inline-end: 0.3125rem;
    }

    .p-contact__note>p:nth-of-type(2) {
      padding-inline-end: 0;
    }

    .p-form__privacy>.p-form__privacy-head:nth-of-type(6) {
      margin-inline-end: -0.5rem;
    }

    .p-form__privacy>.p-form__privacy-text:nth-of-type(5) {
      margin-inline-end: 0;
      padding-inline-end: 0.375rem;
    }

    .p-form__privacy>.p-form__privacy-text:nth-of-type(13) {
      margin-inline-end: -0.5rem;
    }

    .p-form__privacy>.p-form__privacy-text:nth-of-type(17) {
      margin-inline-end: -0.5rem;
    }
  }

  @media (min-width: 1024px) {
    .p-top-issues .c-lead {
      margin-inline-end: -0.0625rem;
    }

    .p-top-career__row:nth-of-type(2)>p:nth-of-type(2) {
      padding-inline-end: 0;
    }

    .p-top-career__row:nth-of-type(4)>p:nth-of-type(2) {
      padding-inline-end: 0;
    }

    .p-service-output__item:nth-of-type(3)>.p-service-output__text {
      padding-inline-end: 0;
    }

    .p-contact__examples-item:nth-of-type(2) {
      padding-inline-end: 0;
    }

    .p-contact__examples-item:nth-of-type(3) {
      padding-inline-end: 0;
    }

    .p-contact__note>p:nth-of-type(1) {
      padding-inline-end: 0;
    }

    .p-contact__note>p:nth-of-type(2) {
      padding-inline-end: 0.0625rem;
    }

    .p-form__privacy>.p-form__privacy-head:nth-of-type(6) {
      margin-inline-end: -0.25rem;
    }

    .p-form__privacy>.p-form__privacy-text:nth-of-type(5) {
      padding-inline-end: 0;
    }

    .p-form__privacy>.p-form__privacy-text:nth-of-type(9) {
      margin-inline-end: -0.375rem;
    }

    .p-form__privacy>.p-form__privacy-text:nth-of-type(13) {
      margin-inline-end: -0.125rem;
    }

    .p-form__privacy>.p-form__privacy-text:nth-of-type(17) {
      margin-inline-end: 0;
    }
  }

  @media (min-width: 1366px) {
    .p-contact__note>p:nth-of-type(2) {
      padding-inline-end: 0.1875rem;
    }

    .p-form__privacy>.p-form__privacy-head:nth-of-type(6) {
      margin-inline-end: 0;
    }

    .p-form__privacy>.p-form__privacy-text:nth-of-type(1) {
      padding-inline-end: 0.0625rem;
    }

    .p-form__privacy>.p-form__privacy-text:nth-of-type(9) {
      margin-inline-end: 0;
    }

    .p-form__privacy>.p-form__privacy-text:nth-of-type(11) {
      padding-inline-end: 0.125rem;
    }

    .p-form__privacy>.p-form__privacy-text:nth-of-type(13) {
      margin-inline-end: 0;
      padding-inline-end: 0.0625rem;
    }
  }
}