/* ==========================================================================
 * Page Name : 事業内容_WEBサイト制作（このページ固有の調整のみ）
 * File Name : /assets/css/solution/website.css
 * Created   : 2026-09-24
 * Updated   : 2026-09-24
 *
 * セクションの共通デザインは assets/css/solution.css 側（.sl-* クラス）を参照。
 * このファイルには「WEBサイト制作ページだけ」に必要な微調整のみを書く。
 * ========================================================================== */

/* -- 02：デザイン × システム／分析・改善／Web戦略 -- */
.sl-skill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.sl-skill-group {
  display: flex;
  gap: 8px;
}
.sl-skill-box {
  width: 150px;
  padding: 14px 10px;
  text-align: center;
  background-color: var(--color-back-light);
  border-radius: 8px;
}
.sl-skill-box.-main {
  background-color: var(--color-back-pink);
}
.sl-skill-name {
  font-size: 14px;
  font-weight: var(--font-weight-bold);
}
.sl-skill-box.-main .sl-skill-name {
  color: var(--color-main);
}
.sl-skill-box ul {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sl-skill-box li {
  padding: 4px;
  font-size: 12px;
  line-height: 1.4;
  background-color: var(--color-white);
  border-radius: 3px;
}
.sl-skill-x {
  flex: 0 0 auto;
  font-size: 28px;
  line-height: 1;
  color: var(--color-main);
}
.sl-skill-bracket {
  margin: 20px auto 0;
  width: min(100%, 700px);
  height: 12px;
  border: solid var(--color-border-beige);
  border-width: 0 1px 1px;
}
.sl-skill-caption {
  margin-top: 12px;
  text-align: center;
  font-size: 12px;
  line-height: 1.8;
}
.sl-skill-caption strong {
  display: block;
  font-size: 16px;
  font-weight: var(--font-weight-bold);
}
.sl-scope-btnbox {
  display: flex;
  justify-content: center;
}

@media screen and (max-width: 767px) {
  .sl-skill {
    flex-direction: column;
    gap: 10px;
  }
  .sl-skill > .sl-skill-box,
  .sl-skill-group {
    width: 100%;
  }
  .sl-skill-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .sl-skill-box {
    width: auto;
  }
  .sl-skill-bracket {
    display: none;
  }
  .sl-skill-caption strong {
    font-size: 14px;
  }
}

/* -- 02：カード右のグラフを小さく・切り抜かずに表示 -- */
.sl-kodawari-img.-contain {
  flex: 0 0 280px;
  align-self: center;
  margin-right: 50px;
  aspect-ratio: auto;
  padding: 20px;
}
.sl-kodawari-img.-contain img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
/* -- 円グラフのタイトル・凡例 -- */
.sl-graph-title {
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.6;
}
.sl-graph-legend {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
}
.sl-graph-legend > li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sl-graph-legend > li::before {
  content: "";
  flex: 0 0 12px;
  height: 12px;
  border-radius: 2px;
  background-color: var(--color-main);
}
.sl-graph-legend > li.-sub::before {
  background-color: var(--color-border-beige);
}
@media screen and (max-width: 767px) {
  .sl-kodawari-img.-contain {
    flex: none;
    width: 40%;
    margin: 0 auto 20px;
    padding: 0;
  }
  .sl-kodawari-text.sl-kodawari-fig {
    margin: 25px 0 10px;
  }
  .sl-business-items > li {
    font-size: 12px;
  }
}
