@charset "utf-8";
/* =========================================
   cases.css（導入実績ページ専用）
   追加分は本ファイルのみに記述
========================================= */

/* ---------- Intro ---------- */
.cases-intro{
  padding: 40px 0 10px;
  text-align: center;
}
.cases-catch{
  margin: 0 0 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.3;
  font-size: 32px;
  color: #7BA33B; /* デザイン画像のグリーン想定 */
}
.cases-lead{
  margin: 0;
  color: rgba(0,0,0,.55);
  letter-spacing: 0.08em;
  line-height: 2.0;
  font-size: 14px;
}

/* ---------- Headings (Cases List / Detail) ---------- */
.cases-section{
  padding: 48px 0;
}

/* 導入実績一覧：背景をブラウザ幅いっぱいに */
#cases-list{
  background: #EFF5FB;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

}



/* ---------- Tag ---------- */
.case-tag{
  font-family: "Noto Sans JP", sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 180%;
  padding: 0 10px;
  border-radius: 2px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #fff;
}
.case-tag.is-it{ background: #2CAED0; }
.case-tag.is-iot{ background: #43A6A0; }

/* ---------- List Cards (NO images) ---------- */
.cases-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 22px;
}
.case-card{
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  padding: 18px 18px 14px;
  text-decoration: none;
  color: inherit;
   transition: transform .25s ease, box-shadow .25s ease;
}

.case-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
}

.case-card .case-tag{
  position: absolute;
  top: 12px;
  left: 12px;
}
.case-card__title{
  font-family: "Noto Sans JP", sans-serif;
  margin: 40px 0 10px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.6;
  color: rgba(0,0,0,.78);
}
.case-card__text{
  font-family: "Noto Sans JP", sans-serif;
  margin: 0 0 16px;
  font-size: 14px;
  letter-spacing: 0.08em;
  line-height: 1.9;
  color: rgba(0,0,0,.55);
}
.case-card__more{
  font-family: "Noto Sans JP", sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 6px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: rgba(0,0,0,.55);
  padding-top: 8px;
   margin-top: auto;
}
.case-card__chev{
  width: 8px;
  height: 8px;
  border-right: 1px solid rgba(0,0,0,.5);
  border-bottom: 1px solid rgba(0,0,0,.5);
  transform: rotate(45deg);
  margin-top: 0;   /* ← 行内調整だけ */
}

/* ---------- Detail ---------- */
.cases-detail{
  padding-top: 10px;
}
.case-detail{
  margin-top: 26px;
}
.case-detail__head{
  background: #F2F2F2;
  padding: 30px;
}
.case-detail__head .case-tag{ margin-bottom: 10px; }
.case-detail__title_it{
  font-family: "Noto Sans JP", sans-serif;
  margin: 6px 0 6px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #2CAED0;
}


.case-detail__title_iot{
  font-family: "Noto Sans JP", sans-serif;
  margin: 6px 0 6px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #43A6A0;
}

.case-detail__lead{
  font-family: "Noto Sans JP", sans-serif;
  margin: 0;
  font-size: 16px;
  letter-spacing: 0.08em;
  color: rgba(0,0,0,.55);
  line-height: 1.9;
}
.case-detail__panel{
  background: #F2F2F2;
  padding: 30px;
}

.case-detail__panel > :last-child{
  margin-bottom: 0px; /* 見た目だけ微調整（必要な場合のみ） */
}

.case-detail__grid{
  background: #fff;
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 30px;
}

.case-detail__media{
  margin: 0;
  width: 100%;
  box-sizing: border-box;
  background: #fff;
}

.case-detail__media img{
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3; /* 640x480 */
  object-fit: cover;
}

.case-spec{
  font-family: "Noto Sans JP", sans-serif;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 20px 20px;
  background: #F2F2F2;
  font-size: 15px;
  letter-spacing: 0.08em;
  line-height: 1.9;
  color: rgba(0,0,0,.62);
}
.case-spec__row{
  display: grid;
  grid-template-columns: 100px 1fr;
  padding: 4px 0;
}
.case-spec dt{ font-weight: 700; }
.case-spec dd{ margin: 0; }

.case-block{
  margin: 0 0 25px;
}
.case-block__title{
  font-family: "Noto Sans JP", sans-serif;
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(0,0,0,.75);
  position: relative;
  padding-left: 14px;
}
.case-block__title::before{
  content:"";
  position:absolute;
  left:0;
  top: 4px;
  width: 3px;
  height: 22px;
  background: #B3CB30;
}
.case-block p{
  font-family: "Noto Sans JP", sans-serif;
  margin: 0 0 1em;
  font-size: 15px;
  letter-spacing: 0.08em;
  line-height: 2.0;
  color: rgba(0,0,0,.55);
}

.case-check{
  margin: 0 0 10px 0;
  padding: 0;
  list-style: none;
}
.case-check li{
  font-family: "Noto Sans JP", sans-serif;
  position: relative;
  padding-left: 22px;
  margin: 6px 0;
  font-size: 15px;
  letter-spacing: 0.08em;
  line-height: 1.9;
  color: rgba(0,0,0,.55);
}
.case-check li::before{
  content:"";
  position:absolute;
  left: 0;
  top: 6px;
  width: 12px;
  height: 8px;
  border-left: 2px solid #D14B4B;  /* 赤チェック */
  border-bottom: 2px solid #D14B4B;
  transform: rotate(-45deg);
}

.case-note{
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.9;
  color: rgba(0,0,0,.45);
}

.case-after{
  margin-top: 20px; 
  background: #fff;
  border: 1px solid rgba(0,0,0,.12);
  padding: 14px 16px;
}
.case-after__title{
  font-family: "Noto Sans JP", sans-serif;
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(0,0,0,.75);
  position: relative;
  padding-left: 14px;
}
.case-after__title::before{
  content:"";
  position:absolute;
  left:0;
  top: 4px;
  width: 3px;
  height: 22px;
  background: #B3CB30;
}
.case-after p{
  font-family: "Noto Sans JP", sans-serif;
  margin: 0;
  font-size: 15px;
  letter-spacing: 0.08em;
  line-height: 2.0;
  color: rgba(0,0,0,.55);
}

.cases-section.cases-detail{
  padding-bottom: 0;
}




@media (max-width: 768px){
  .cases-intro{ padding-top: 26px; }
  .cases-catch{ font-size: 22px; line-height: 1.6; }
  .cases-head__en{ font-size: 28px; }
  .cases-section{ padding: 34px 0; }


.case-tag{
  font-family: "Noto Sans JP", sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 160%;
  padding: 0 10px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #fff;
}

  .case-card{
    transition: none;
  }
  .case-card:hover{
    transform: none;
    box-shadow: none;
  }

  .cases-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
  .case-card{ padding: 16px 14px 12px; }


.case-card__title{
  font-family: "Noto Sans JP", sans-serif;
  margin: 30px 0 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.6;
  color: rgba(0,0,0,.78);
}
.case-card__text{
  font-family: "Noto Sans JP", sans-serif;
  margin: 0 0 16px;
  font-size: 13px;
  letter-spacing: 0.08em;
  line-height: 1.9;
  color: rgba(0,0,0,.55);
}
.case-card__more{
  font-family: "Noto Sans JP", sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(0,0,0,.55);
  padding-top: 8px;
   margin-top: auto;
}
.case-card__chev{
  width: 8px;
  height: 8px;
  border-right: 1px solid rgba(0,0,0,.5);
  border-bottom: 1px solid rgba(0,0,0,.5);
  transform: rotate(45deg);
  margin-top: 0;   /* ← 行内調整だけ */
}



  /* 詳細：指定順（見出し→画像→小見出し→文章）を崩さない縦積み */
  .case-detail__grid{
    grid-template-columns: 1fr;
  }
  
.case-detail__head{
  padding: 20px;
}

.case-detail__panel{
  padding: 20px;
}


.case-detail__title_it{
  font-family: "Noto Sans JP", sans-serif;
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #2CAED0;
}

.case-detail__title_iot{
  font-family: "Noto Sans JP", sans-serif;
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #43A6A0;
}

.case-detail__lead{
  font-family: "Noto Sans JP", sans-serif;
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: rgba(0,0,0,.55);
  line-height: 1.9;
}
  
.case-spec{
  font-family: "Noto Sans JP", sans-serif;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 10px 10px;
  background: #F2F2F2;
  font-size: 13px;
  letter-spacing: 0.08em;
  line-height: 1.9;
  color: rgba(0,0,0,.62);
}  
  
.case-spec__row{ grid-template-columns: 72px 1fr; }

.case-block{
  margin: 0;
}

.case-block__title{
  font-family: "Noto Sans JP", sans-serif;
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(0,0,0,.75);
  position: relative;
  padding-left: 14px;
}
.case-block__title::before{
  content:"";
  position:absolute;
  left:0;
  top: 4px;
  width: 2px;
  height: 20px;
  background: #B3CB30;
}
.case-block p{
  font-family: "Noto Sans JP", sans-serif;
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.08em;
  line-height: 2.0;
  color: rgba(0,0,0,.55);
}

.case-check{
  margin: 0 0 10px 0;
  padding: 0;
  list-style: none;
}
.case-check li{
  font-family: "Noto Sans JP", sans-serif;
  position: relative;
  padding-left: 22px;
  margin: 6px 0;
  font-size: 13px;
  letter-spacing: 0.08em;
  line-height: 1.9;
  color: rgba(0,0,0,.55);
}
.case-check li::before{
  content:"";
  position:absolute;
  left: 0;
  top: 6px;
  width: 10px;
  height: 6px;
  border-left: 2px solid #D14B4B;  /* 赤チェック */
  border-bottom: 2px solid #D14B4B;
  transform: rotate(-45deg);
}

  
.cases-section.cases-detail{
  padding-bottom: 0;
}

.case-after{
  margin-top: 20px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.12);
  padding: 14px 16px;
}
.case-after__title{
  font-family: "Noto Sans JP", sans-serif;
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(0,0,0,.75);
  position: relative;
  padding-left: 14px;
}
.case-after__title::before{
  content:"";
  position:absolute;
  left:0;
  top: 4px;
  width: 2px;
  height: 20px;
  background: #B3CB30;
}
.case-after p{
  font-family: "Noto Sans JP", sans-serif;
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.08em;
  line-height: 2.0;
  color: rgba(0,0,0,.55);
}

  
  
}
