@charset "UTF-8";

/*****************************
cases-detail
*****************************/
.cases-detail::before,
.cases-detail::after {
  background: url(../../images/common/bg-kikagaku1.webp) no-repeat center / cover;
  content: '';
  opacity: .1;
  position: absolute;
  height: 850px;
  width: 100vw;
  z-index: -1;
}
.cases-detail::before {
  top: -100px;
  left: -400px;
}
.cases-detail::after {
  bottom: -130px;
  right: -400px;
  transform: scale(1,-1);
}
.cases-detail .ttlbox3 {
  margin-bottom: 5rem;
}
.cases-detail .singlecontent .imgwrap {
  height: 500px;
  position: relative;
}
.cases-detail .singlecontent .imgwrap .mac {
  background: url(../../images/common/mac.svg) no-repeat center / contain;
  position: absolute;
  bottom: 0;
  left: 0;
  height: 400px;
  width: 740px;
}
.cases-detail .singlecontent .pcimg .imgbox {
  border-radius: 10px 10px 0 0;
  position: absolute;
  bottom: 30px;
  left: 92px;
  overflow-y: scroll;
  /* scrollbar-color: #003246 #f5f5f5; */
  scrollbar-width: none;
  height: 359px;
  width: 558px;
}
.cases-detail .singlecontent .imgwrap .iphone {
  border: 10px solid #000;
  border-radius: 20px;
  position: absolute;
  top: 0;
  right: 1px;
  height: 500px;
  width: 240px;
}
.cases-detail .singlecontent .spimg .imgbox {
  border-radius: 10px;
  position: absolute;
  top: 10px;
  right: 10px;
  overflow-y: scroll;
  /* scrollbar-color: #003246 #f5f5f5; */
  scrollbar-width: none;
  height: 480px;
  width: 221px;
}
.cases-detail .singlecontent .imgwrap .iphone::before {
  background: #000;
  border-radius: 0 0 13px 13px;
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 13px;
  width: 100px;
  z-index: 1;
}
.cases-detail .singlecontent .dlbox {
  background: #fff;
  max-width: 700px;
  margin: 8rem auto 0;
  padding: 2rem;
  box-shadow: 3px 3px 10px #eee;
}
.cases-detail .singlecontent .dlbox h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 2rem;
  padding-left: 2rem;
  border-left: 5px solid #617a84;
}
.cases-detail .singlecontent .dlbox dt,
.cases-detail .singlecontent .dlbox dd {
  padding: 1rem 2rem;
}
.cases-detail .singlecontent .dlbox dt {
  background: #003246;
  border-bottom: 1px solid #fff;
  color: #fff;
  font-weight: bold;
  width: 150px;
}
.cases-detail .singlecontent .dlbox div:last-of-type dt {
  border-bottom: 1px solid #003246;
}
.cases-detail .singlecontent .dlbox dd {
  border-bottom: 1px solid #003246;
  width: calc(100% - 150px);
}
.tabchange {
  display: none;
}
@media only screen and (max-width: 1180px) {
}
@media only screen and (max-width: 1024px) {
}
@media only screen and (max-width: 950px) {
  .tabchange {
    display: block;
  }
  .tabchange ul {
    display: flex;
    justify-content: center;
    gap: 1rem;
  }
  .tabchange ul li {
    background: #fff;
  }
  .tabchange ul input {
    display: none;
  }
  .tabchange ul label {
    border: 1px solid #003246;
    color: #003246;
    cursor: pointer;
    display: block;
    padding: .5rem 2rem;
  }
  .tabchange ul li:has(input:checked) {
    background: #003246;
  }
  .tabchange ul li:has(input:checked) label {
    color: #fff;
  }
  .pcimg,
  .spimg {
    display: none;
  }
  .singlecontent:has(.tabchange ul li:nth-of-type(1) input:checked) .pcimg,
  .singlecontent:has(.tabchange ul li:nth-of-type(2) input:checked) .spimg {
    display: block;
  }
  .cases-detail .singlecontent .imgwrap .mac,
  .cases-detail .singlecontent .pcimg .imgbox {
    left: 50%;
    transform: translateX(-50%);
  }
  .singlecontent:has(.tabchange ul li:nth-of-type(1) input:checked) .imgwrap {
    height: 450px;
  }
  .cases-detail .singlecontent .imgwrap .iphone {
    top: 40px;
  }
  .cases-detail .singlecontent .spimg {
    height: 435px;
    width: 225px;
    margin: auto;
    position: relative;
  }
  .cases-detail .singlecontent .spimg .imgbox {
    top: 50px;
  }
}
@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 768px) {
}
@media only screen and (max-width: 767px) {
  .cases-detail::before {
    top: -70px;
    left: 0px;
    height: 400px;
  }
  .cases-detail::after {
    bottom: -30px;
    right: 0;
    height: 400px;
  }
  .singlecontent:has(.tabchange ul li:nth-of-type(1) input:checked) .imgwrap {
    height: 260px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
  .cases-detail .singlecontent .imgwrap .mac {
    height: 210px;
    width: 370px;
  }
  .cases-detail .singlecontent .pcimg .imgbox {
    border-radius: 5px 5px 0 0;
    bottom: 18px;
    height: 183px;
    width: 285px;
  }
  .cases-detail .singlecontent .imgwrap .iphone {
    border: 8px solid #000;
    height: 450px;
  }
  .cases-detail .singlecontent .spimg .imgbox {
    border-radius: 10px;
    height: 435px;
    width: 225px;
    top: 48px;
    right: 9px;
  }
  .cases-detail .singlecontent .dlbox {
    padding: 1rem;
  }
  .cases-detail .singlecontent .dlbox h2 {
    font-size: 1.8rem;
    padding-left: 1rem;
  }
  .singlecontent:has(.tabchange ul li:nth-of-type(1) input:checked) .dlbox {
    margin: 3rem auto 0;
  }
  .singlecontent:has(.tabchange ul li:nth-of-type(2) input:checked) .dlbox {
    margin: 2rem auto 0;
  }
  .cases-detail .singlecontent .dlbox dt {
    width: 100%;
  }
  .cases-detail .singlecontent .dlbox dd {
    width: 100%;
  }
}