/* CSS Document */
/* ==============================
   SOFT SECTION
   ============================== */
.soft-section {
  font-size: 1rem; /* 16px 相当 */
  line-height: 1.6; /* 行間を1.6倍に */
  letter-spacing: 0.02em;
  background-color: #fafafa;
}
.soft-section img {
  display: block; /* inline 要素の余白を消して扱いやすく */
  max-width: 100%; /* 親要素の幅を超えない */
  height: auto; /* アスペクト比を維持 */
  border: 0; /* 不要な線を消す */
}
@media (max-width: 768px) {
  .soft-section {
    font-size: 0.9375rem; /* 15px 相当に少し小さく */
  }
}
.soft-section-mainTitle {
  width: 100%;
  background: url("../common/images/app-sp/title-back-pc.webp") center/cover no-repeat;
  aspect-ratio: 1920 / 280; /* ブラウザが対応していれば優先 */
  padding-top: 10%; /* 非対応ブラウザ用フォールバック */
  min-height: 280px; /* 旧ブラウザで高さゼロになるのを回避 */
  position: relative;
  overflow: hidden; /* SVG や斜めオーバーレイを使う場合に備え */
}
.soft-section-mainTitle__inner {
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0 と同義 */
  display: flex;
  flex-direction: column;
  justify-content: center; /* 垂直センター */
  align-items: center; /* 水平センター */
  text-align: center;
  color: #fff;
  padding: 0 1.5rem;
}
.soft-section-mainTitle h2 {
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  line-height: 1.2;
  margin: 0 0 1rem;
  font-weight: 700;
}
.soft-section-mainTitle p {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  margin: 0;
  line-height: 1.7;
}
.soft-section-mainTitle p br {
  display: none;
}
@media (max-width: 768px) {
  .soft-section-mainTitle {
    aspect-ratio: auto;
    padding-top: 8%;
    min-height: 180px;
  }
  .soft-section-mainTitle p br {
    display: block;
  }
}
/* ==============================
   TYPICAL-PROBLEM SECTION
   ============================== */
.typical-problem {
  position: relative;
  padding: 5rem 1rem;
}
.typical-problem h3 {
  font-size: clamp(1.3rem, 3.1vw, 1.9rem);
  text-align: center;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 .6rem;
}
.typical-problem-lead {
  font-size: clamp(1.1rem, 2.3vw, 1.7rem);
  text-align: center;
  line-height: 1.7;
  margin: 0 auto 3rem;
}
/* スライド領域を隠す */
.problem-wrapper {
  position: relative;
  overflow: hidden;
  max-width: 1280px;
  margin: 0 auto;
}
/* 2つの ul を横並びにして、変形でスライド */
.problem-track {
  display: flex;
  width: 200%; /* 100% × 2ページ分 */
  transition: transform .4s ease; /* 横スライドのアニメ */
}
/* 各ページをビューポート幅いっぱいに */
.problem-track .problem-list {
  flex: 0 0 50%; /* 2ページなら50％／1ページあたり */
  display: flex; /* 既存の flex レイアウトをキープ */
  flex-wrap: wrap;
  gap: 3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media(max-width:1200px) {
  .problem-track .problem-list {
    gap: 2rem;
  }
}
@media(max-width:768px) {
  .typical-problem {
    padding: 4rem 1rem;
  }
}
/* 左右ナビをカード横に */
.problem-nav {
  position: absolute; /* 流れから外す */
  top: 55%;
  left: 50%;
  width: 100%;
  max-width: 1400px;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
}
.problem-nav button {
  pointer-events: all;
  color: #333;
  background: transparent;
  border: none;
  width: auto;
  height: auto;
  padding: 0.25em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.problem-nav button .material-symbols-outlined {
  font-size: 3rem;
}
.problem-nav button[disabled] {
  opacity: .2;
  cursor: default;
}
/* ==============================
   PROBLEM LIST ITEMS
   ============================== */
.problem-list-li {
  box-sizing: border-box;
  flex: 0 1 calc((100% - 6rem) / 3); /* 3列用 */
  border: 1px solid #d7d7d7;
  border-radius: 14px;
  background: #fff;
  position: relative;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .04);
  margin-top: 3.8rem;
}
@media(max-width:1200px) {
  .problem-list-li {
    flex: 0 1 calc((100% - 4rem) / 3); /* 3列用 */
  }
}
/* 960px 以下は 2 列。gap が 2 本になるので再計算 */
@media(max-width:960px) {
  .problem-list li {
    flex: 0 1 calc((100% - 2rem) / 2); /* 2 列：gap は 1 本 */
  }
}
/* 600px 以下は 1 列。幅 100% で OK */
@media(max-width:600px) {
  .problem-list li {
    flex: 1 1 100%;
  }
}
.problem-innner {
  padding: 3rem 0 1.5rem 0;
}
.problem-innner picture {
  text-align: center;
  margin: 0 auto 20px auto;
  display: block;
}
.problem-innner picture img {
  max-height: 200px;
  margin: 0 auto;
}
/* --------------- 吹き出し風 h4 --------------- */
#h01, #h07 {
  background: url("../common/images/app-sp/h01.svg") no-repeat 12px center;
}
#h02, #h08 {
  background: url("../common/images/app-sp/h03.svg") no-repeat 12px center;
}
#h03, #h09 {
  background: url("../common/images/app-sp/h04.svg") no-repeat 12px center;
}
#h04, #h10 {
  background: url("../common/images/app-sp/h06.svg") no-repeat 12px center;
}
#h05, #h11 {
  background: url("../common/images/app-sp/h05.svg") no-repeat 12px center;
}
#h06, #h12 {
  background: url("../common/images/app-sp/h02.svg") no-repeat 12px center;
}
#h01, #h02, #h03, #h04, #h05, #h06, #h07, #h08, #h09, #h10, #h11, #h12 {
  background-size: 60px auto;
  background-color: #ffffff;
}
@media(max-width:600px) {
  #h01, #h02, #h03, #h04, #h05, #h06, #h07, #h08, #h09, #h10, #h11, #h12 {
    background-size: 50px auto;
  }
}
.fukidashi01 {
  position: absolute;
  top: -3.8rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  width: 85%;
  height: 5.8rem;
  padding: 0.5rem 1rem 0 5.5rem;
  box-sizing: border-box;
  border: 1px solid #d7d7d7;
  border-radius: 14px;
  text-align: left;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .04);
}
.fukidashi01 h4 {
  font-size: clamp(1.05rem, 1.6vw, 1.1rem);
  line-height: 1.6;
}
.fukidashi01::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  border-style: solid;
  border-width: 14px 10px 0 10px;
  border-color: #cccccc transparent transparent;
  translate: -50% 100%;
}
.fukidashi01::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  border-style: solid;
  border-width: 12.3px 8.8px 0 8.8px;
  border-color: #ffffff transparent transparent;
  translate: -50% 100%;
}
@media(max-width:1200px) {
  .fukidashi01 h4 {
    line-height: 1.4;
  }
  .fukidashi01 h4 br {
    display: none;
  }
}
/* --------------- 内部リスト --------------- */
.point-list {
  border-bottom: 1px dotted #d7d7d7;
  padding: 0 1rem .8rem 0;
  width: 85%;
  margin: 0 auto 1rem auto;
}
.point-list li {
  list-style: disc;
  font-size: clamp(.95rem, 1.5vw, .95rem);
  line-height: 1.5;
  margin-bottom: .3rem;
  font-weight: 700;
  margin-left: 2rem;
}
.problem-list p {
  font-size: clamp(.9rem, 1.5vw, .9rem);
  padding: 0 2.5rem;
  line-height: 1.7;
}
.point-list li span, .problem-list p span {
  background-color: rgba(255, 255, 0, 0.15);
  color: #222222;
}
/* ==============================
   CASE-STUDY SECTION
   ============================== */
.case-study h3 {
  font-size: clamp(1.3rem, 3.1vw, 1.9rem);
  text-align: center;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 .6rem;
}
.case-study h3 span {
  font-size: clamp(3rem, 4vw, 7rem);
}
.case-study-lead {
  font-size: clamp(.9rem, 1.6vw, 1.5rem);
  text-align: center;
  line-height: 1.7;
  margin: 0 auto 3rem;
}
/* ──────────────────────────────────────────
   導入事例ループ横スクロール
────────────────────────────────────────── */
.case-study {
  padding: 0 0 7rem 0;
}
.case-study .slider {
  position: relative;
  overflow: hidden;
}
.case-study-list {
  display: flex;
  width: 400%;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 3rem;
  animation: cs-scroll 140s linear infinite;
}
.case-study-list-li {
  flex: 0 0 clamp(300px, 20vw, 380px);
  box-sizing: border-box;
  border: 1px solid #d7d7d7;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .04);
  overflow: hidden;
  transition:
    opacity .25s ease-in-out, /* 透過 */ border-color .25s ease-in-out; /* 枠色 */
}
.case-study-list-li:hover {
  opacity: 0.8;
  border-color: #b4b4b4;
}
.case-study-list-li picture, .case-study-list-li picture img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}
.case-study-list-li picture {
  margin-bottom: 1.5rem;
}
.case-study-list-innner {
  padding: 0 0 2rem 0;
}
.case-study-list-innner h4 {
  font-size: clamp(.9rem, 1.6vw, 1.1rem);
  line-height: 1.6;
  padding: 0 1.5rem;
  margin-bottom: 0.5rem;
}
.case-study-list-innner p.case-study-list-li-lead {
  font-size: clamp(.8rem, 1.5vw, 0.9rem);
  padding: 0 1.5rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.case-study-list-innner p.case-study-list-li-industry {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: clamp(.8rem, 1.5vw, .9rem);
  margin: 0;
  padding: 0 1.5rem;
  line-height: 1.6;
}
/* 業種タグ */
.case-study-list-li-industry .industry-tag {
  display: inline-block;
  padding: 0.4rem 0.7rem 0.5rem 0.7rem;
  border: 1px solid #004c99;
  color: #004c99;
  border-radius: 20px;
  font-size: 0.75rem;
  white-space: nowrap;
  line-height: 1;
}
/* 社名部分 */
.case-study-list-li-industry .company-name {
  line-height: 1.4;
  white-space: nowrap;
}
/* 5) アニメーション定義 */
@keyframes cs-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-75%);
  } /* 3/4分左へ移動 */
}
/* 6) ホバーで一時停止 
.case-study-list:hover {
  animation-play-state: paused;
}*/
/* 7) レスポンシブで min-width 調整 */
@media (max-width: 1200px) {
  .case-study-list {
    gap: 1.5rem;
    animation: cs-scroll 100s linear infinite;
  }
  .case-study-list-innner p.case-study-list-li-industry {
    display: block;
  }
  .case-study-list-li-industry .industry-tag {
    margin-bottom: 0.5rem;
  }
}
@media (max-width: 960px) {
  .case-study-list-li {
    flex: 0 0 clamp(300px, 20vw, 380px);
  }
}
@media (max-width: 600px) {
  .case-study-list {
    /* 自動アニメーションを止めて、横スクロール可能に */
    animation: none !important;
    width: auto !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .case-study-list-li {
    flex: 0 0 clamp(240px, 20vw, 280px);
  }
}
.reason-for-choosing {
  text-align: center;
  padding: 4rem 0;
}
.reason-for-choosing a {
  display: inline-block;
}
.reason-for-choosing img {
  display: block; /* inline 要素の余白を消して扱いやすく */
  max-width: 95%; /* 親要素の幅を超えない */
  height: auto;
  margin: 0 auto;
  border-radius: 20px;
  border: rgba(255, 255, 255, 1.00) solid 2px;
}
@media (max-width: 1200px) {
  .reason-for-choosing img {
    max-width: 80%;
  }
}
@media (max-width: 768px) {
  .reason-for-choosing {
    padding: 3rem 0 5rem 0;
  }
  .reason-for-choosing img {}
}