@charset "UTF-8";
 
/* ========================================
   導入事例ページ (case.html) 専用スタイル
   ======================================== */

#Case {
  width: 100%;
  background: url( "../images/PCnewsbg.png" ) top center / 2559px 1011px no-repeat #e1efff ;
  min-height:906px;
  padding-top: 75px;
}

#Case h2{
  font-size:50px;
  color: #5496e1;
  line-height: 50px;
  text-align: center;
  font-weight: 700;
  padding:  80px 0 35px 0;
}

#Case .ttl_lead{
  font-size:14px;
  color: #000;
  font-weight: bold;
  text-align: center;
  padding:  0 0 80px 0;
}
/* ここから導入事例コンテンツ */
div.case-wrapper{
    display: flex;
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto 80px auto;
    align-items: flex-start;
    gap: 20px; /* 追加: サイドバーとコンテンツの間隔 */
    position: relative;
}
 
/* サイドバー */
.sidebar-wrapper{
  width: 240px;
  flex-shrink: 0;
  position: relative;
}
 
.case-sidebar {
  position: fixed;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  z-index: 1000;
  box-sizing: border-box;
  width: 240px;
  height: auto;
  background-color: #fff; /* 追加: 背景色を指定(お好みで調整) */
  border-radius: 10px; /* 追加: 見た目の調整(お好みで) */
  box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* 追加: 影をつける(お好みで) */
}
 
.case-sidebar h3 {
  padding: 20px;
  margin: 0;
  font-size: 18px;
  border-bottom: 1px solid #e0e0e0;
}
 
.case-sidebar ul {
  margin: 0;
  padding: 10px 0;
  list-style: none;
}
 
.case-sidebar li {
  margin: 0;
  padding: 0;
}
 
.case-sidebar li a {
  display: block;
  padding: 12px 20px;
  color: #333;
  text-decoration: none;
  transition: background-color 0.2s;
}
 
.case-sidebar li a:hover {
  background-color: #f5f5f5;
}
 
.case-sidebar li a.is-active {
  background-color: #5496e1;
  color: #fff;
  font-weight: bold;
}

/* 事例内容 */
/* タイトル */
.case-content-area{
  flex: 1;
  margin: 0 0 0 20px;
}
.case-image{
  text-align: right;
}
.case-image > img{
  width: 540px;
  border-radius: 20px;
}
.case-company-name {
  color: #fff;
  font-weight: 700;
  font-size: 28px;
  background-color: #5496e1;
  border-radius: 20px;
  width: 540px;
  height: 385px;
  position: relative;
  margin: -330px 0 0 0;
  z-index: -1;
}
.case-company-name > p{
  position: absolute;
  bottom: 0;
  left: 20px;
}
.honorific{font-size: 80%;}
/* 本文 */
.case-text-block{
  margin: 60px 0 0 0;
}
.case-text-block > h4 {
  font-size: 28px;
  color: #707070;
  position: relative;
  padding: 0 0 0 20px;
}
.case-text-block > h4::before{
  content:"";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 28px;
  background-color: #5496e1;
  border-radius: 5px 0 0 5px;
}
.case-text-block > p{
  font-size: 120%;
}

@media screen and (max-width:769px){
  main {
    height: 16vw;
  }

  main header{
    position: relative;
    height: 16vw;
    width:100vw;
    background: rgba(255,255,255,1);
    z-index: 1000;
  }


  #Case {
    width: 100vw;
    background: #e1efff ;
    background-image: none;
    min-height: 200vw;
  }

  #Case h2{
    font-size:7.11vw;
    color: #5496e1;
    line-height:7.11vw;
    text-align: center;
    font-weight: 700;
    padding:  15.5vw 0 6.66vw 0;
  }

  #Case .ttl_lead{
    font-size: 3.55vw;
    color: #000;
    font-weight: bold;
    text-align: center;
    padding:  0 0 6vw 0;
  }
  div.case-wrapper{
    display: block;
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto 80px auto;
    align-items: flex-start;
    gap: 20px; /* 追加: サイドバーとコンテンツの間隔 */
    position: relative;
  }

  /* 事例内容 */
  /* タイトル */
  .case-content-area{
    margin: 0 2vw;
  }
  .case-image{
    text-align: right;
  }
  .case-image > img{
    border-radius: 4vw 4vw 4vw 0vw;
  }
  .case-company-name {
    color: #5496e1;
    font-weight: 700;
    font-size: 5vw;
    background-color: transparent;
    border-radius: 0;
    width:100%; height: 0;
    position: static;
    margin: 0;
    z-index: -1;
  }
  .case-company-name > p{
    position: static;
    text-align: left;
    margin: 2vw 0 0 0;
  }


  
}
