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

/* -- お悩み → 解決の間の下向き三角 -- */
.sl-onayami-arrow {
  margin: 40px auto;
  width: 74px;
  height: 28px;
  background-color: var(--color-main);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
@media screen and (max-width: 767px) {
  .sl-onayami-arrow {
    margin: 25px auto;
    width: 56px;
    height: 22px;
  }
}

/* -- お悩み→Studio解説を、ひと続きの背景にする -- */
.sl-onayami + .sl-kodawari {
  margin-top: 0;
  padding-top: 0;
}

/* -- ポイント見出し -- */
.sl-point {
  margin-top: 80px;
}
.sl-point-label {
  font-size: 12px;
  font-weight: var(--font-weight-bold);
  color: var(--color-main);
}

/* -- 想定サイト構成の白い帯（sl-business-items を流用） -- */
.sl-sitemap {
  margin-top: 30px;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  gap: 40px;
  background-color: var(--color-white);
}
.sl-sitemap-name {
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: var(--font-weight-bold);
}
.sl-sitemap-list {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 6px 40px;
}
.sl-sitemap-list > li {
  font-size: 12px;
}

/* -- テンプレート例（2列） -- */
.sl-sample {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.sl-sample-cap {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  text-decoration: underline;
}

@media screen and (max-width: 767px) {
  .sl-point {
    margin-top: 50px;
  }
  .sl-sitemap {
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .sl-sitemap-list {
    grid-template-columns: repeat(2, auto);
    gap: 6px 24px;
  }
  .sl-sample {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* -- イラストをカードの下端に揃える -- */
.sl-onayami-list.-bottom .sl-onayami-text {
  margin-bottom: 25px;
}
.sl-onayami-list.-bottom .sl-onayami-img {
  margin-top: auto;
  width: auto;
}

/* -- イラスト・アイコン用：円の中に余白を持たせて表示 -- */
.sl-onayami-img.-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}
.sl-onayami-img.-icon img {
  width: 60%;
  height: auto;
  object-fit: contain;
}
.sl-onayami-list.-bottom > li:nth-child(1) .sl-onayami-img.-icon img {
  width: 40%;
  padding: 0;
}
/* -- ポイント01の比較図：幅を絞って中央に置く -- */
.sl-point-fig img {
  display: block;
  width: 80%;
  margin-inline: auto;
}

/* -- Studioロゴ：小さく・切り抜かず・縦中央に置く -- */
.sl-kodawari-img.-logo {
  flex: 0 0 280px;
  align-self: center;
  margin-right: 50px;
  padding: 24px 28px;
  aspect-ratio: auto;
  border-radius: 8px;
}
.sl-kodawari-img.-logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media screen and (max-width: 767px) {
  .sl-kodawari-img.-logo {
    flex: none;
    width: 70%;
    margin: 0 auto 20px;
  }
}
