@charset "UTF-8";
/* =========================================================================
 *  WORKS ( 導入事例 )
 *
 *  一覧・カード・FV・タブ・ページネーションは knowledge.css を共用し、
 *  このファイルには WORKS 固有の差分だけを置く。
 * ========================================================================= */

/* ---- 一覧カード : 企業名 ------------------------------------------------ */
.Works__item__company {
  margin: 0.8rem 0 0;
  font-size: 1.3rem;
  line-height: 1.5;
  letter-spacing: 0.15em;
  color: #555555;
}

/* ---- 詳細 ---------------------------------------------------------------- */
.Works__single {
  position: relative;
  padding: 10rem 0 12rem;
  color: #000000;
}
.Works__single *,
.Works__single *::before,
.Works__single *::after {
  box-sizing: border-box;
}
@media only screen and (max-width: 768px) {
  .Works__single {
    padding: 6rem 0 8rem;
  }
}

/* 見出しまわり */
.Works__head {
  text-align: center;
}
.Works__head__cats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  list-style: none;
  padding: 0;
  margin: 0 0 2.2rem;
}
.Works__head__cats .cat__link {
  display: inline-block;
  padding: 0.3rem 1.5rem;
  background: #3F3E47;
  color: #FFFFFF;
  font-size: 1.2rem;
  line-height: 1.5;
  letter-spacing: 0.15em;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.Works__head__cats .cat__link:hover {
  background: #002E6C;
}
.Works__head__title {
  margin: 0;
  word-break: auto-phrase; /* 日本語を文節で折り返す ( 対応ブラウザのみ ) */
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.1em;
}
.Works__head__byline {
  margin: 2rem 0 0;
  font-size: 1.5rem;
  line-height: 1.5;
  letter-spacing: 0.15em;
  color: #555555;
}
@media only screen and (max-width: 768px) {
  .Works__head__title {
    font-size: 2rem;
    letter-spacing: 0.05em;
    text-align: left;
  }
  .Works__head__byline {
    font-size: 1.3rem;
    text-align: left;
  }
  .Works__head__cats {
    justify-content: flex-start;
  }
}

/* メインビジュアル */
.Works__visual {
  margin: 4.6rem 0 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.Works__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media only screen and (max-width: 768px) {
  .Works__visual {
    margin-top: 3rem;
  }
}

/* 企業情報テーブル */
.Works__info {
  width: 100%;
  text-align: left;
  margin: 6rem 0 0;
  border-collapse: collapse;
  border: 1px solid #E2E2E4;
  font-size: 1.4rem;
  line-height: 1.7;
  letter-spacing: 0.15em;
}
.Works__info th,
.Works__info td {
  padding: 1.8rem 2.8rem;
  border-top: 1px solid #E2E2E4;
  text-align: left;
  vertical-align: middle;
}
.Works__info tr:first-child th,
.Works__info tr:first-child td {
  border-top: none;
}
.Works__info th {
  width: 22rem;
  background: #F4F4F5;
  font-weight: 700;
}
.Works__info td {
  background: #FFFFFF;
  word-break: break-all;
}
.Works__info a {
  color: #00295F;
}
@media only screen and (max-width: 768px) {
  .Works__info {
    margin-top: 4rem;
    font-size: 1.3rem;
  }
  .Works__info th,
  .Works__info td {
    padding: 1.2rem 1.4rem;
  }
  .Works__info th {
    width: 9rem;
  }
}

/* リード文 */
.Works__lead {
  margin: 6.4rem 0 0;
  text-align: left;
}
.Works__lead p {
  margin: 0;
  font-size: 1.5rem;
  line-height: 2;
  letter-spacing: 0.08em;
}
@media only screen and (max-width: 768px) {
  .Works__lead {
    margin-top: 4rem;
  }
  .Works__lead p {
    font-size: 1.4rem;
  }
}

/* 課題 / 解決策 / 成果 */
.Works__summary {
  margin: 6.4rem 0 0;
  text-align: left;
  padding: 0.8rem 5rem;
  background: #F4F4F5;
}
.Works__summary__row {
  display: flex;
  gap: 4rem;
  padding: 3.8rem 0;
  border-top: 1px solid #DEDEE0;
}
.Works__summary__row:first-child {
  border-top: none;
}
.Works__summary__label {
  flex: 0 0 14rem;
}
.Works__summary__label .num {
  display: block;
  font-family: "din-condensed", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.25em;
  color: #00295F;
}
.Works__summary__label .label {
  display: block;
  margin-top: 0.6rem;
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.12em;
}
.Works__summary__body {
  flex: 1 1 auto;
  min-width: 0;
}
.Works__summary__body p {
  margin: 0;
  font-size: 1.5rem;
  line-height: 2;
  letter-spacing: 0.08em;
}
.Works__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 2.4rem 0 0;
}
.Works__stats li {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 20rem;
  padding: 1.6rem 2.4rem;
  background: #FFFFFF;
}
.Works__stats .stat__label {
  font-size: 1.2rem;
  line-height: 1.5;
  letter-spacing: 0.15em;
  color: #666670;
}
.Works__stats .stat__value {
  margin-top: 0.2rem;
  font-family: "din-condensed", sans-serif;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: #00295F;
}
@media only screen and (max-width: 768px) {
  .Works__summary {
    margin-top: 4rem;
    padding: 0.4rem 2rem;
  }
  .Works__summary__row {
    flex-direction: column;
    gap: 1.2rem;
    padding: 2.8rem 0;
  }
  .Works__summary__label {
    flex: none;
    display: flex;
    align-items: baseline;
    gap: 1rem;
  }
  .Works__summary__label .label {
    margin-top: 0;
    font-size: 1.8rem;
  }
  .Works__summary__body p {
    font-size: 1.4rem;
  }
  .Works__stats {
    gap: 1rem;
  }
  .Works__stats li {
    min-width: 0;
    flex: 1 1 0;
    padding: 1.4rem 1rem;
  }
  .Works__stats .stat__value {
    font-size: 3.2rem;
  }
}

/* 自由記述 ( WYSIWYG ) */
.Works__content {
  margin: 8rem 0 0;
  text-align: left;
  font-size: 1.5rem;
  line-height: 2;
  letter-spacing: 0.08em;
}
.Works__content p {
  margin: 0 0 2rem;
}
.Works__content h2 {
  margin: 6.4rem 0 2.8rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid #D8D8DB;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.1em;
}
.Works__content > h2:first-child {
  margin-top: 0;
}
.Works__content h3 {
  margin: 3.6rem 0 1.2rem;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.08em;
  color: #00295F;
}
.Works__content h4 {
  margin: 3rem 0 1rem;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.8;
}
.Works__content strong {
  font-weight: 700;
}
.Works__content a {
  color: #00295F;
  text-decoration: underline;
}
.Works__content a:hover {
  text-decoration: none;
}
.Works__content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 2.2rem auto 2.4rem;
}
.Works__content blockquote {
  margin: 3.2rem 0;
  padding: 0 0 0 2.2rem;
  border-left: 3px solid #00295F;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.9;
}
.Works__content blockquote p {
  margin: 0;
}
.Works__content ul,
.Works__content ol {
  margin: 0 0 2rem;
  padding-left: 2em;
}
.Works__content ul {
  list-style: disc;
}
.Works__content ol {
  list-style: decimal;
}
@media only screen and (max-width: 768px) {
  .Works__content {
    margin-top: 5rem;
    font-size: 1.4rem;
    letter-spacing: 0.05em;
  }
  .Works__content h2 {
    margin: 4.8rem 0 2rem;
    font-size: 1.8rem;
  }
  .Works__content h3 {
    font-size: 1.5rem;
  }
  .Works__content blockquote {
    font-size: 1.6rem;
  }
}

/* ---- 詳細下部 : KNOWLEDGE の最新記事 / 他の事例 --------------------------- */
.Works__related {
  position: relative;
  padding: 9rem 0 10rem;
}
.Works__related--knowledge {
  background: #F4F4F5;
}
.Works__related .Knowledge__list {
  text-align: left;
}
.Works__related--works {
  background: #FFFFFF;
}
.Works__related__heading {
  margin: 0 0 5rem;
  text-align: center;
  color: #3F3E47;
}
.Works__related__heading span {
  display: block;
  font-family: "din-condensed", sans-serif;
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.22em;
  text-indent: 0.22em;
}
.Works__related__heading small {
  display: block;
  margin-top: 0.8rem;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.15em;
  color: #555555;
}
@media only screen and (max-width: 768px) {
  .Works__related {
    padding: 6rem 0 7rem;
  }
  .Works__related__heading {
    margin-bottom: 3.2rem;
  }
  .Works__related__heading span {
    font-size: 2.6rem;
  }
  .Works__related__heading small {
    font-size: 1.3rem;
  }
}

/* ---- 一覧 : 業種タブ ( 7項目を1行に収める ) ------------------------------- */
.Works .Knowledge__filter__list {
  gap: 1.2rem;
}
.Works .Knowledge__filter__list .filter__item__link {
  padding: 1rem 2rem;
}
@media only screen and (max-width: 768px) {
  .Works .Knowledge__filter__list {
    gap: 0.8rem;
  }
  .Works .Knowledge__filter__list .filter__item__link {
    padding: 0.6rem 1.2rem;
    font-size: 1.3rem;
  }
}
