@charset "UTF-8";
/* ------------------------------
* 成果事例（case-study）用の追加CSS
*
* 既存の style.scss は現行の Dart Sass ではそのままコンパイルできず、
* dist/css/style.css を再生成すると既存ページの表示が変わるおそれがあるため、
* 追加分は別ファイル（dist/css/case-study.css）として出力する。
* ビルド: bun run build:case-study
------------------------------ */
/* ------------------------------
* headerHeight
------------------------------ */
/* ------------------------------
* font-family
------------------------------ */
@font-face {
  font-family: "times-new-roman";
  src: local("Times New Roman"), url(../font/Times-New-Roman.ttf);
  font-display: swap;
}
/* ------------------------------
* font-weight
------------------------------ */
/* ------------------------------
* font-size
------------------------------ */
/* ------------------------------
* color
------------------------------ */
/* ------------------------------
* イージング
------------------------------ */
/* ------------------------------
* メディアクエリ
------------------------------ */
/* ------------------------------
* p-caseStudy（成果事例 一覧・詳細）
------------------------------ */
@media screen and (max-width: 560px) {
  .p-caseStudy__br {
    display: none;
  }
}
.p-caseStudy {
  /* ------------------------------
  * 一覧
  ------------------------------ */
}
.p-caseStudy__intro {
  margin-top: 5.2rem;
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  line-height: 2;
}
@media screen and (max-width: 560px) {
  .p-caseStudy__intro {
    margin-top: 4rem;
    font-size: 1.8rem;
  }
}
.p-caseStudy__layer {
  border-bottom: 1px solid #e6e6e6;
}
@media screen and (max-width: 560px) {
  .p-caseStudy__layerWrap {
    margin-bottom: 4rem;
  }
}
.p-caseStudy__layerList {
  display: flex;
}
.p-caseStudy__layerItem a {
  position: relative;
  display: block;
  padding: 1.4rem 2.8rem;
  color: #797f89;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  transition: color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
@media screen and (max-width: 560px) {
  .p-caseStudy__layerItem a {
    padding: 1.4rem 2rem;
    font-size: 1.7rem;
  }
}
.p-caseStudy__layerItem a::after {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, #ff8219, #f0c135);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.p-caseStudy__layerItem a:hover {
  color: #333;
}
.p-caseStudy__layerItem a:hover::after {
  transform: scaleX(1);
}
.p-caseStudy__layerItem span {
  font-size: 1.2rem;
}
@media screen and (max-width: 560px) {
  .p-caseStudy__layerItem span {
    display: none;
  }
}
.p-caseStudy__layerItem--current a {
  color: #333;
  font-weight: 500;
}
.p-caseStudy__layerItem--current a::after {
  transform: scaleX(1);
}
.p-caseStudy__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6.4rem 4%;
  margin-top: 6rem;
}
@media screen and (max-width: 1024px) {
  .p-caseStudy__cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 6rem 5%;
  }
}
@media screen and (max-width: 560px) {
  .p-caseStudy__cards {
    grid-template-columns: 1fr;
    gap: 7rem;
    margin-top: 5rem;
  }
}
.p-caseStudy__cards--related {
  margin-top: 4rem;
}
.p-caseStudy__empty {
  margin-top: 6rem;
  color: #797f89;
  font-size: 1.5rem;
}
.p-caseStudy .wp-pagenavi {
  margin-top: 8rem;
}
.p-caseStudy {
  /* ------------------------------
  * カード（画像なし・文字のみ）
  ------------------------------ */
}
.p-caseStudy__cardLink {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 3.2rem 3.2rem 2.8rem;
  background: linear-gradient(to right, #ff8219, #f0c135) no-repeat top left/100% 3px, #f7f7f7;
  transition: background-color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
@media screen and (max-width: 560px) {
  .p-caseStudy__cardLink {
    padding: 3rem 2.8rem 2.6rem;
  }
}
.p-caseStudy__cardLink:hover {
  background-color: #fff;
  box-shadow: 0 0.5rem 10px rgba(45, 45, 45, 0.1);
}
.p-caseStudy__cardLink:hover .p-caseStudy__cardTitle {
  color: #ff8219;
}
.p-caseStudy__cardLink:hover .p-caseStudy__cardMore {
  color: #ff8219;
  background-position: 100% 50%;
}
.p-caseStudy__cardEn {
  color: rgba(121, 127, 137, 0.35);
  font-family: "times-new-roman", source-han-sans-japanese, "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "ヒラギノ 角ゴ ProN", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Mairyo, "メイリオ", sans-serif;
  font-size: 2.2rem;
  line-height: 1;
  letter-spacing: 0.05em;
}
@media screen and (max-width: 560px) {
  .p-caseStudy__cardEn {
    font-size: 2.4rem;
  }
}
.p-caseStudy__cardTitle {
  margin-top: 2rem;
  margin-bottom: 2.4rem;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.05em;
  transition: color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
@media screen and (max-width: 560px) {
  .p-caseStudy__cardTitle {
    font-size: 2.2rem;
  }
}
.p-caseStudy__cardMore {
  align-self: flex-start;
  margin-top: auto;
  padding-right: 3.2rem;
  background: url(../img/btn_arrow_black.svg) no-repeat;
  background-size: 1.6rem auto;
  background-position: calc(100% - 0.8rem) 50%;
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  transition: color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), background-position 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
@media screen and (max-width: 560px) {
  .p-caseStudy__cardMore {
    font-size: 1.7rem;
  }
}
.p-caseStudy {
  /* ------------------------------
  * 詳細：ヘッダー
  ------------------------------ */
}
.p-caseStudy__head {
  padding-bottom: 6rem;
}
@media screen and (max-width: 560px) {
  .p-caseStudy__head {
    padding-bottom: 5rem;
  }
}
.p-caseStudy__title {
  position: relative;
  padding-bottom: 2.5rem;
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.08em;
}
@media screen and (max-width: 560px) {
  .p-caseStudy__title {
    padding-bottom: 2rem;
    font-size: 2.6rem;
  }
}
.p-caseStudy__title::before {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 15rem;
  height: 1px;
  background-color: #2d2d2d;
  content: "";
}
.p-caseStudy__flow {
  margin-top: 4rem;
}
.p-caseStudy__flowList {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media screen and (max-width: 560px) {
  .p-caseStudy__flowList {
    grid-template-columns: repeat(2, 1fr);
  }
}
.p-caseStudy__flowItem a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.4rem 1rem;
  border: 1px solid #ccc;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  transition: color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
@media screen and (max-width: 560px) {
  .p-caseStudy__flowItem a {
    font-size: 1.7rem;
  }
}
.p-caseStudy__flowItem a:hover {
  border-color: #ff8219;
  color: #ff8219;
}
.p-caseStudy__flowItem span {
  margin-right: 0.8rem;
  color: #ff8219;
  font-family: roboto, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
}
@media screen and (max-width: 560px) {
  .p-caseStudy__flowItem span {
    font-size: 1.6rem;
  }
}
.p-caseStudy {
  /* ------------------------------
  * 詳細：①〜④
  ------------------------------ */
}
.p-caseStudy__step {
  padding: 8rem 0;
  border-top: 1px solid #e6e6e6;
  scroll-margin-top: 8rem;
}
@media screen and (max-width: 560px) {
  .p-caseStudy__step {
    padding: 6rem 0;
    scroll-margin-top: 7rem;
  }
}
.p-caseStudy__step:nth-child(even) {
  background-color: #f7f7f7;
}
.p-caseStudy__step--result {
  border-top: none;
  background: linear-gradient(to right, #ff8219, #f0c135) no-repeat top left/100% 3px, #fff6ee !important;
}
.p-caseStudy__stepInner {
  display: grid;
  grid-template-columns: 18rem 1fr;
  gap: 4rem;
}
@media screen and (max-width: 1024px) {
  .p-caseStudy__stepInner {
    grid-template-columns: 14rem 1fr;
    gap: 3rem;
  }
}
@media screen and (max-width: 560px) {
  .p-caseStudy__stepInner {
    display: block;
  }
}
@media screen and (max-width: 560px) {
  .p-caseStudy__stepHead {
    display: flex;
    align-items: baseline;
    gap: 1.6rem;
    margin-bottom: 1.6rem;
  }
}
.p-caseStudy__stepNo {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px #ff8219;
  font-family: roboto, sans-serif;
  font-size: 7.2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.03em;
}
@media screen and (max-width: 560px) {
  .p-caseStudy__stepNo {
    font-size: 5.6rem;
  }
}
.p-caseStudy__stepEn {
  display: block;
  margin-top: 1.2rem;
  color: #ff8219;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
@media screen and (max-width: 560px) {
  .p-caseStudy__stepEn {
    margin-top: 0;
    font-size: 1.5rem;
  }
}
.p-caseStudy__stepTitle {
  margin-bottom: 3.2rem;
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.08em;
}
@media screen and (max-width: 560px) {
  .p-caseStudy__stepTitle {
    margin-bottom: 2.8rem;
    font-size: 2.2rem;
  }
}
.p-caseStudy__content {
  font-size: 1.5rem;
  line-height: 2;
  letter-spacing: 0.08em;
}
@media screen and (max-width: 560px) {
  .p-caseStudy__content {
    font-size: 1.8rem;
  }
}
.p-caseStudy__content > :first-child {
  margin-top: 0;
}
.p-caseStudy__content p + p {
  margin-top: 1.5rem;
}
.p-caseStudy__content > ul + p,
.p-caseStudy__content > ol + p {
  margin-top: 1.5rem;
  padding-left: 1.6em;
}
.p-caseStudy__content ul,
.p-caseStudy__content ol {
  margin-top: 1.5rem;
}
.p-caseStudy__content ul:first-child,
.p-caseStudy__content ol:first-child {
  margin-top: 0;
}
.p-caseStudy__content li {
  position: relative;
  padding-left: 1.6em;
}
.p-caseStudy__content li + li {
  margin-top: 1rem;
}
.p-caseStudy__content li p {
  margin: 0;
}
.p-caseStudy__content li > ul + p,
.p-caseStudy__content li > ol + p {
  margin-top: 0.8rem;
}
.p-caseStudy__content ul > li::before {
  position: absolute;
  top: calc(1em - 3px);
  left: 0.3em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #ff8219;
  content: "";
}
.p-caseStudy__content ol {
  counter-reset: caseStudy;
}
.p-caseStudy__content ol > li {
  counter-increment: caseStudy;
}
.p-caseStudy__content ol > li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: #ff8219;
  font-family: roboto, sans-serif;
  font-weight: 700;
  content: counter(caseStudy) ".";
}
.p-caseStudy__content li ul,
.p-caseStudy__content li ol {
  margin-top: 0.8rem;
}
.p-caseStudy__content li ul li,
.p-caseStudy__content li ol li {
  color: #555;
  font-size: 1.4rem;
}
@media screen and (max-width: 560px) {
  .p-caseStudy__content li ul li,
  .p-caseStudy__content li ol li {
    font-size: 1.7rem;
  }
}
.p-caseStudy__content li ul li + li,
.p-caseStudy__content li ol li + li {
  margin-top: 0.4rem;
}
.p-caseStudy__content li ul > li::before {
  background-color: #bbb;
}
.p-caseStudy__content h3 {
  margin: 4rem 0 1.6rem;
  padding-left: 1.4rem;
  border-left: 3px solid #ff8219;
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.1em;
}
@media screen and (max-width: 560px) {
  .p-caseStudy__content h3 {
    font-size: 2rem;
  }
}
.p-caseStudy__content strong {
  font-weight: 700;
  background: linear-gradient(transparent 65%, rgba(240, 193, 53, 0.35) 65%);
}
.p-caseStudy__content blockquote {
  margin: 3.2rem 0;
  padding: 2rem 2.8rem;
  border-left: 4px solid #ff8219;
  background-color: #fff6ee;
}
@media screen and (max-width: 560px) {
  .p-caseStudy__content blockquote {
    padding: 1.8rem 2rem;
  }
}
.p-caseStudy__content blockquote p {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.7;
}
@media screen and (max-width: 560px) {
  .p-caseStudy__content blockquote p {
    font-size: 2.2rem;
  }
}
.p-caseStudy__content blockquote cite {
  display: block;
  margin-top: 0.6rem;
  color: #797f89;
  font-size: 1.3rem;
  font-style: normal;
}
@media screen and (max-width: 560px) {
  .p-caseStudy__content blockquote cite {
    font-size: 1.6rem;
  }
}
.p-caseStudy__content blockquote cite::before {
  content: "― ";
}
.p-caseStudy__step--result .p-caseStudy__content blockquote {
  background-color: #fff;
}
.p-caseStudy__content::after {
  display: block;
  clear: both;
  content: "";
}
.p-caseStudy__content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 3.2rem 0;
}
.p-caseStudy__content .aligncenter {
  margin-right: auto;
  margin-left: auto;
}
.p-caseStudy__content .alignleft,
.p-caseStudy__content .alignright {
  max-width: 45%;
  margin-top: 0.6rem;
}
@media screen and (max-width: 560px) {
  .p-caseStudy__content .alignleft,
  .p-caseStudy__content .alignright {
    float: none;
    max-width: 100%;
    margin: 3.2rem 0;
  }
}
.p-caseStudy__content .alignleft {
  float: left;
  margin-right: 3.2rem;
}
.p-caseStudy__content .alignright {
  float: right;
  margin-left: 3.2rem;
}
.p-caseStudy__content .wp-caption {
  width: auto !important;
  max-width: 100%;
  margin: 3.2rem 0;
}
.p-caseStudy__content .wp-caption img {
  margin: 0;
}
.p-caseStudy__content .wp-caption-text,
.p-caseStudy__content .gallery-caption {
  margin-top: 0.8rem;
  color: #797f89;
  font-size: 1.3rem;
  line-height: 1.6;
  letter-spacing: 0.05em;
}
@media screen and (max-width: 560px) {
  .p-caseStudy__content .wp-caption-text,
  .p-caseStudy__content .gallery-caption {
    font-size: 1.6rem;
  }
}
.p-caseStudy__content .gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3.2rem 0;
}
@media screen and (max-width: 560px) {
  .p-caseStudy__content .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }
}
.p-caseStudy__content .gallery br {
  display: none;
}
.p-caseStudy__content .gallery img {
  width: 100%;
  margin: 0;
  border: none !important;
  aspect-ratio: 3/2;
  object-fit: cover;
}
.p-caseStudy__content .gallery-columns-1 {
  grid-template-columns: 1fr;
}
.p-caseStudy__content .gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr);
}
@media screen and (max-width: 560px) {
  .p-caseStudy__content .gallery-columns-2 {
    grid-template-columns: 1fr;
  }
}
.p-caseStudy__content .gallery-item {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  text-align: left !important;
}
.p-caseStudy__content a {
  color: #ff8219;
  text-decoration: underline;
  transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.p-caseStudy__content a:hover {
  opacity: 0.75;
}
.p-caseStudy {
  /* ------------------------------
  * 詳細：前後の事例・関連事例
  ------------------------------ */
}
.p-caseStudy__postNav {
  margin-top: 8rem;
}
@media screen and (max-width: 560px) {
  .p-caseStudy__postNav {
    margin-top: 6rem;
  }
}
.p-caseStudy__related {
  margin-top: 10rem;
  padding-top: 8rem;
  border-top: 1px solid #e6e6e6;
}
@media screen and (max-width: 560px) {
  .p-caseStudy__related {
    margin-top: 7rem;
    padding-top: 6rem;
  }
}
.p-caseStudy__relatedTitle {
  font-size: 2.6rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}
@media screen and (max-width: 560px) {
  .p-caseStudy__relatedTitle {
    font-size: 2.4rem;
  }
}

/* ------------------------------
* ヘッダーのメガメニュー「事例・実績」
* 開き方・見た目は既存の consul / column と同じ。見出しの文言のみ追加する
------------------------------ */
.l-header__item--case > .sub-menu::before {
  content: "事例・実績";
}
