@charset "UTF-8";
/* 導入事例（case.html / case01.html …）専用 2026-11-24 */
.rs-case {
  --rs-red: #e60014;
  --rs-gray: #505555;
  --rs-bg: #fafaf0;
  --rs-line: #e5e5dc;
  color: #000;
  line-height: 1.9;
  max-width: 1080px;
  margin: 0 auto;
  padding: 10px 0 60px;
  /* 左の丸い見出しの枠（ページ全体にかぶさる）より手前に出してクリックできるようにする */
  position: relative;
  z-index: 15;
}
.rs-case * { box-sizing: border-box; }
.rs-case p { margin: 0 0 1em; }
.rs-case p:last-child { margin-bottom: 0; }

/* 一覧 */
.rs-case__intro { margin-bottom: 30px; }
.rs-case__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.rs-case__item {
  display: block;
  background: #fff;
  border: 1px solid var(--rs-line);
  border-top: 4px solid var(--rs-red);
  padding: 24px 26px 22px;
  color: #000 !important;
  text-decoration: none !important;
  transition: box-shadow .3s ease;
}
.rs-case__item:hover { box-shadow: 0 8px 22px rgba(0,0,0,.12); }
.rs-case .rs-case__item-title { font-size: 1.15rem; font-weight: bold; line-height: 1.5; margin: 16px 0 12px; }
.rs-case__item-meta { font-size: .85rem; color: var(--rs-gray); margin-bottom: 12px !important; }
.rs-case__item-more { color: var(--rs-red); font-weight: bold; font-size: .9rem; }
.rs-case__item-more::before { content: "▶ "; font-size: .75rem; }
.rs-case__tag {
  display: inline-block;
  background: var(--rs-gray);
  color: #fff;
  font-size: .75rem;
  font-weight: bold;
  padding: 0 8px;
  margin-right: 4px;
}
.rs-case__tag--red { background: var(--rs-red); }
.rs-case__soon { color: var(--rs-gray); font-size: .9rem; margin-top: 24px !important; }

/* 詳細：タイトル部分 */
.rs-case__hero {
  background: var(--rs-bg);
  border-left: 6px solid var(--rs-red);
  padding: 34px 36px;
}
.rs-case .rs-case__title { font-size: 1.7rem; font-weight: bold; line-height: 1.5; margin: 18px 0 14px; }
.rs-case__lead { font-size: 1rem; }
.rs-case__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.rs-case__stat { background: #fff; border: 1px solid var(--rs-line); text-align: center; padding: 14px 10px; }
.rs-case__stat b { display: block; color: var(--rs-red); font-size: 1.5rem; line-height: 1.3; }
.rs-case__stat span { font-size: .8rem; color: var(--rs-gray); }

/* 詳細：本文 */
.rs-case__section { margin-top: 46px; }
.rs-case__heading {
  font-size: 1.3rem;
  font-weight: bold;
  line-height: 1.4;
  border-bottom: 1px solid var(--rs-red);
  padding-bottom: 10px;
  margin-bottom: 20px;
}
.rs-case__heading::before { content: "■ "; color: var(--rs-red); }
.rs-case__grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.rs-case__grid2 > div { min-width: 0; }
.rs-case__info { margin: 0; }
.rs-case__info div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; border-bottom: 1px dotted #ccc; padding: 8px 0; }
.rs-case__info dt { font-weight: bold; color: var(--rs-gray); }
.rs-case__info dd { margin: 0; }
.rs-case__system { display: grid; grid-template-columns: 1fr 50px 1fr; align-items: center; }
.rs-case__system-box { background: #fff; border: 1px solid var(--rs-line); padding: 18px 22px; height: 100%; }
.rs-case__system-box--after { border: 2px solid var(--rs-red); }
.rs-case__system-box h3 { font-size: 1rem; font-weight: bold; margin-bottom: 8px; }
.rs-case__system-box--after h3 { color: var(--rs-red); }
.rs-case__system-box li { padding-left: 1em; text-indent: -1em; }
.rs-case__system-box li::before { content: "・"; }
.rs-case__arrow { text-align: center; color: var(--rs-red); font-size: 1.8rem; font-weight: bold; }
.rs-case__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rs-case__card { background: var(--rs-bg); padding: 22px; }
.rs-case__cards--one { grid-template-columns: 1fr; }
.rs-case__card h3 { font-size: 1.05rem; font-weight: bold; color: var(--rs-red); margin-bottom: 8px; }
.rs-case__effect-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.rs-case__effect-item { border: 1px solid var(--rs-line); border-top: 3px solid var(--rs-red); padding: 18px; }
.rs-case__effect-item b { display: block; font-size: 1.1rem; margin-bottom: 4px; }
.rs-case__effect-item span { font-size: .9rem; color: var(--rs-gray); }
.rs-case__voice { position: relative; background: var(--rs-bg); padding: 30px 34px 30px 90px; }
.rs-case__voice::before {
  content: "\201C";
  position: absolute; left: 28px; top: 14px;
  color: var(--rs-red); font-size: 72px; line-height: 1; font-family: Georgia, serif;
}
.rs-case__cta { margin-top: 50px; background: var(--rs-gray); color: #fff; padding: 34px 36px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.rs-case__cta h2 { font-size: 1.3rem; font-weight: bold; margin-bottom: 10px; }
.rs-case__btn {
  display: inline-block;
  background: var(--rs-red);
  color: #fff !important;
  font-weight: bold;
  text-decoration: none !important;
  padding: 14px 30px;
  white-space: nowrap;
  transition: opacity .3s ease;
}
.rs-case__btn:hover { opacity: .8; }
.rs-case__back { margin-top: 30px !important; }
.rs-case__back a { color: var(--rs-red); font-weight: bold; }

@media only screen and (min-width: 1280px) {
  /* 左の丸い見出し（固定表示）とかぶらないよう左を空ける */
  .rs-case { max-width: 1320px; padding: 60px 40px 60px 230px; }
}
@media only screen and (max-width: 1279px) {
  /* 見出し（CASE STUDY 導入事例）の下から本文を始める */
  .rs-case { padding: 100px 20px 60px; }
}
@media only screen and (max-width: 767px) {
  .rs-case__list, .rs-case__grid2, .rs-case__cards, .rs-case__effect-list, .rs-case__cta { grid-template-columns: 1fr; }
  .rs-case__stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .rs-case__stat b { font-size: 1.1rem; }
  .rs-case__system { grid-template-columns: 1fr; }
  .rs-case__arrow { transform: rotate(90deg); padding: 6px 0; }
  .rs-case__hero { padding: 24px 18px; }
  .rs-case__title { font-size: 1.3rem; }
  .rs-case__title br { display: none; }
  .rs-case__voice { padding: 56px 20px 22px; }
  .rs-case__voice::before { left: 16px; top: 6px; font-size: 56px; }
  .rs-case__cta { padding: 26px 20px; }
  .rs-case__btn { display: block; text-align: center; }
}

/* トップページの「CASE STUDY 導入事例」枠 */
#p-top #l-contents #block-case { margin-top: 10px; position: relative; }
#p-top #l-contents #block-case h2 { position: static; margin-bottom: 20px; }
#p-top #l-contents #block-case h2 a { color: #000; text-decoration: none; }
.top-case__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.top-case__item {
  display: block;
  background: #fff;
  border-top: 4px solid #e60014;
  padding: 18px 18px 16px;
  color: #000 !important;
  text-decoration: none !important;
  transition: box-shadow .3s ease;
}
.top-case__item:hover { box-shadow: 0 6px 16px rgba(0,0,0,.15); }
.top-case__tag { display: inline-block; background: #e60014; color: #fff; font-size: .7rem; font-weight: bold; padding: 0 6px; }
.top-case__title { font-weight: bold; line-height: 1.5; margin: 12px 0 0; font-size: .95rem; }
.top-case__more { text-align: right; margin-top: 16px; }
@media only screen and (max-width: 1279px) {
  #p-top #l-contents #block-case { padding-top: 75px; }
  #p-top #l-contents #block-case h2 { position: absolute; }
}
@media only screen and (max-width: 767px) {
  .top-case__list { grid-template-columns: 1fr; gap: 10px; }
  #p-top #l-contents #block-case { padding-top: 70px; }
}
