/* トップページに出す、カラーシミュレーションへの入口のコーナー
   見出し（top__title）とボタン（btn）はテーマの見た目をそのまま使い、ここでは並べ方だけを決める。
   切り替える画面幅は、テーマと同じ 975px（見出しとボタンがスマホ用の大きさに変わる幅） */
#csim-entry {
  background: #fff;
  padding: 88px 0 96px;
}
#csim-entry .csim-entry__lead {
  margin: 40px auto 0;
  max-width: 760px;
  text-align: center;
  font-size: 1.125rem;
  line-height: 1.9;
}
/* 文の切れ目でだけ折り返す */
#csim-entry .csim-entry__lead span {
  display: inline-block;
}
#csim-entry .csim-entry__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 40px auto 0;
  padding: 0;
  list-style: none;
}
#csim-entry .csim-entry__list li {
  display: flex;
  margin: 0;
  padding: 0;
}
#csim-entry .csim-entry__list a {
  display: block;
  width: 100%;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border: 2px solid #E0E0E0;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .15s, box-shadow .15s;
}
#csim-entry .csim-entry__list a:hover {
  border-color: #21A751;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
}
#csim-entry .csim-entry__list a:focus-visible {
  border-color: #21A751;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
}
#csim-entry .csim-entry__list img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
#csim-entry .csim-entry__name {
  display: block;
  padding: 12px 8px 14px;
  text-align: center;
  font-weight: bold;
  font-size: 1rem;
  line-height: 1.4;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
#csim-entry .btn {
  margin-top: 40px;
}
@media screen and (max-width: 975px) {
  #csim-entry {
    padding: 48px 0 56px;
  }
  #csim-entry .csim-entry__lead {
    margin-top: 24px;
    font-size: .9375rem;
    line-height: 1.8;
  }
  #csim-entry .csim-entry__list {
    gap: 16px;
    margin-top: 24px;
  }
  #csim-entry .csim-entry__name {
    font-size: .875rem;
  }
  #csim-entry .btn {
    margin-top: 28px;
  }
}
@media screen and (max-width: 767px) {
  #csim-entry .csim-entry__list {
    gap: 8px;
  }
  #csim-entry .csim-entry__list a {
    border-width: 1px;
    border-radius: 8px;
  }
  #csim-entry .csim-entry__name {
    padding: 8px 4px 10px;
    font-size: .75rem;
  }
}
