/* 共通 */

.case-inner {
  width: 1100px;
  margin: 0 auto;
}

@media screen and (max-width: 767px) {
  main {
    padding: 96px 0 0;
  }
  .case-inner {
    width: 91.46%;
  }
}


/*--------------------------
  kv
--------------------------*/

.case-kv {
  position: relative;
  height: 372px;
  padding: 196px 0 0;
  margin: 0 0 120px;
}

.case-kv-dtl {
  height: auto;
  padding: 196px 0 0;
  margin: 0 0 58px;
}

.case-kv::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 100%;
  background: #2980C4;
  z-index: -5;
}

.case-kv-dtl::before {
  height: 65.8%;
}

.case-kv-inner {
  position: relative;
}

.case-kv-ttl {
  font-size: 50px;
  font-weight: 700;
  color: #FFF;
  line-height: 1.2;
  margin: 0 0 16px;
}

.case-kv-catch {
  font-size: 16px;
  font-weight: 400;
  color: #FFF;
  line-height: 1.3;
}

.case-kv-dtl .case-kv-catch {
  margin: 0 0 80px;
}

.case-kv-illust {
  position: absolute;
  top: -44px;
  right: 0;
  width: 252px;
  z-index: 5;
}

.case-kv-data {
  border-radius: 10px;
  background: #FFF;
  box-shadow: 0 0 30px rgba(0, 0, 0, .1);
}

.case-kv-data-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 50px 56px 32px;
}

.case-kv-data-detail-icon {
  width: 340px;
  padding: 0 0 40px;
  text-align: center;
}

.case-kv-data-detail-icon img {
  width: 276px;
}

.case-kv-data-detail-box {
  width: 624px;
}

.case-kv-data-detail-txt {
  margin: 0 0 16px;
  padding: 0 0 18px;
  border-bottom: 1px solid #DFE1E2;
  font-size: 22px;
  line-height: 1.5;
}

.case-kv-data-detail-name {
  margin: 0 0 1px;
  font-size: 20px;
  font-weight: 700;
}
.case-kv-data-detail-type {
  margin: 0 0 9px;
  font-size: 18px;
}

/*--------------------------
  case-index
--------------------------*/

.case-index-head {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  margin: 0 0 50px;
}

/* case-index-head-ttl */

.case-index-head-ttl {
  position: relative;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  padding: 0 0 0 30px;
  margin: 26px 0 0;
}

.case-index-head-ttl::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 100%;
  background: #E03657;
}

/* case-select */

.case-select-wrapper {
  width: 22.5%;
}

.case-select-form {
  width: 100%;
  height: 62px;
}

.case-select {
  list-style: none;
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
  background: #FFF;
}

.case-select input {
  color: inherit;
  font: inherit;
  margin: 0;
  background: transparent;
  outline: none;
  border: none;
  border-radius: 0;
  -webkit-appearance: none;
    -moz-appearance: none;
          appearance: none;
  line-height: normal;
}

.case-select input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

.case-select-expand {
  width: 0;
  height: 62px;
  position: absolute;
  top: 0;
  right: 0;
}

.case-select-expand::after {
  content: '\003E';
  position: absolute;
  top: 50%;
  right: 32px;
  transform: translate(-50%, -50%) rotate(90deg) scaleY(1.75);
  color: #2980C4;
  font-size: 10px;
  pointer-events: none;
  z-index: 2;
  transition: all 250ms cubic-bezier(.4,.25,.3,1);
}

.case-select-expand:hover::after { opacity: 1; }

.case-select-expand:checked::after { transform: translate(-50%, -50%) rotate(90deg) scaleX(-1) scaleY(1.75); }

.case-select-expand-label {
  display: block;
  width: 100%;
  height: 62px;
  position: absolute;
  top: 0;
  left: 0;
  cursor: pointer;
}

.case-select-close { display: none; }

.case-select-close-label {
  width: 100%;
  height: 62px;
  position: absolute;
  top: 0;
  left: 0;
  display: none;
}

.case-select-items {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  padding-top: 62px;
  border: 1px solid #2980C4;
  border-radius: 6px;
}

.case-select-input { display: none; }

.case-select-label {
  transition: all 250ms cubic-bezier(.4,.25,.3,1);
  display: block;
  height: 0;
  overflow: hidden;
  background-color: #FFF;
  cursor: pointer;
  padding-left: 20px;
  color: #2980C4;
  font-size: 16px;
  font-weight: 700;
  line-height: 62px;
}

.case-select-options .case-select-option:last-child .case-select-label {
  border-radius: 6px;
}

.case-select-label-placeholder {
  width: 100%;
  height: 63px;
  vertical-align: middle;
  position: absolute;
  top: 0;
  left: 0;
}

.case-select-expand:checked + .case-select-close-label {
  display: block;
}

.case-select-expand:checked + .case-select-close-label + .case-select-options .case-select-label {
  height: 62px;
}

.case-select-expand:checked + .case-select-close-label + .case-select-options .case-select-label:hover { background-color: #f7f7f7; }

.case-select-expand:checked + .case-select-close-label + .case-select-options + .case-select-expand-label { display: none; }

.case-select-input:checked + .case-select-label {
  height: 62px;
  margin-top: -62px;
  border-radius: 6px;
}

/* case-index-list */

.case-index-list {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px 38.5px;
  margin-bottom: 140px;
}

.case-index-list .case-slider-data {
  padding-top: 0;
  padding-bottom: 31px;
}

.case-index-list .case-slider-ttl {
  margin: 0 0 11px;
  line-height: 1.6;
}

.case-index-list .case-cat {
  margin: 0 0 16px;
}

.case-index-list .case-slider-sub-img {
  width: 120px;
}

.case-index-list .case-slider-btn::before {
  top: 12px;
}

.case-index-list .swiper-li a[href$=".pdf"] .case-slider-btn::before {
  top: 6px;
}

/*--------------------------
  case-dtl
--------------------------*/

/* dtl-lead */

.dtl-lead {
  margin: 0 0 155px;
}

.dtl-lead .case-inner {
  position: relative;
  padding: 80px 60px 111px 60px;
  background: rgba(239, 239, 239, .3);
}

/* dtl-soln */

.dtl-soln {
  margin: 0 auto 116px;
  padding: 0 80px 24px;
  background: #FFF;
  border-radius: 6px;
  box-shadow: 0 0 30px rgba(0, 0, 0, .1);
}

.dtl-soln-card + .dtl-soln-card {
  padding: 50px 0 0;
  border-top: 1px solid #EFEFEF;
}

.dtl-soln-card-num {
  display: flex;
  color: #E03657;
  font-size: 16px;
  font-weight: 700;
}

.dtl-soln-card-num::before {
  content: "";
  width: 4px;
  height: 16px;
  margin: 6px 24px 0 0;
  background: #E03657;
}

.dtl-soln-card-body {
  padding: 0 0 50px 28px;
}

.dtl-soln-card-ttl {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
}

.dtl-soln-card-txt {
  font-size: 16px;
  line-height: 1.75;
}

/* dtl-sec */

.dtl-sec + .dtl-sec {
  margin-top: 117px;
}

.dtl-sug-item {
  display: flex;
  padding: 48px 56px;
  background: #FFF;
  border-radius: 6px;
  box-shadow: 0 0 30px rgba(0, 0, 0, .1);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.8;
}

.dtl-sug-item + .dtl-sug-item {
  margin-top: 26px;
}

.dtl-sug-item::before {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin: 11px 25px 0 0;
  background: #1A2792;
  border-radius: 4px;
}

.dtl-table table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  empty-cells: show;
  box-sizing: border-box;
}

.dtl-table table th {
  font-size: 16px;
  color: #fff;
  line-height: 1.75;
  text-align: center;
  word-break: break-all;
  border: 1px solid #DFE1E2;
  background: #2980C4;
  padding: 19px 16px;
  box-sizing: border-box;
}

.dtl-table table th:first-child {
  width: 440px;
}

.dtl-table table td {
  font-size: 16px;
  line-height: 1.75;
  word-break: break-all;
  padding: 18px 16px;
  border: 1px solid #DFE1E2;
  background: #fff;
}

.dtl-view-box {
  padding: 59px 56px 50px;
  background: rgba(239, 239, 239, .3);
}

.dtl-view-box-ttl {
  margin: 0 0 29px;
  color: #2980C4;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}

.dtl-view-box-txt {
  font-size: 16px;
  line-height: 1.75;
}

.dtl-view-box-txt + .dtl-view-box-txt {
  margin-top: 28px;
}

@media screen and (max-width: 767px) {
  .case-kv {
    height: 173px;
    padding: 45px 0 0;
    margin: 0 0 40px;
  }
  .case-kv-dtl {
    height: auto;
    padding: 45px 0 0;
    margin: 0 0 40px;
  }
  .case-kv::before {
    height: 100%;
  }
  .case-kv-dtl::before {
    height: 29.9%;
  }
  .case-kv-ttl-box {
    position: relative;
    width: auto;
    padding: 0 0 72px;
  }
  .case-kv-dtl .case-kv-ttl-box {
    padding: 0px 0 36px;
  }
  .case-kv-ttl {
    font-size: 30px;
    margin: 0 0 11px;
  }
  .case-kv-catch {
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
  }
  .case-kv-dtl .case-kv-catch {
    margin: 0 0 0;
  }
  .case-kv-illust {
    top: auto;
    bottom: 1px;
    width: 125px;
  }
  .case-kv-dtl .case-kv-illust {
    bottom: -35px;
  }
  .case-kv-data-detail {
    display: block;
    padding: 40px 16px 14px;
  }
  .case-kv-data-detail-icon {
    width: 100%;
    padding: 46px 0 42px;
    margin: 0;
  }
  .case-kv-data-detail-box {
    width: auto;
  }
  .case-kv-data-detail-txt {
    font-size: 20px;
  }

  .case-index-head {
    display: block;
    margin: 0 0 42px;
  }
  .case-index-head-ttl {
    font-size: 28px;
    margin: 0 0 18px;
  }
  .case-index-head-ttl::before {
    top: 14px;
  }
  .case-select-wrapper {
    width: 100%;
  }

  .case-index-list {
    display: block;
    margin-bottom: 74px;
  }
  .case-index-list .swiper-li {
    width: 100%;
  }
  .case-index-list .swiper-li:nth-child(n+2) {
    margin-top: 32px;
  }
  .case-index-list .case-slider-data {
    padding-bottom: 31px;
  }
  .case-index-list .case-slider-data-inner {
    margin: 0 0 29px;
  }

  .case-index .pickup {
    padding: 0;
  }

  .dtl-lead {
    margin: 0;
  }
  .dtl-lead .case-inner {
    padding: 0 0 100px;
    background: none;
  }

  .dtl-soln {
    margin: 0 auto 78px;
    padding: 0 4.6% 15px;
  }
  .dtl-soln-card + .dtl-soln-card {
    padding: 20px 0 0;
  }
  .dtl-soln-card-num::before {
    width: 4px;
    height: 16px;
    margin: 6px 16px 0 0;
  }
  .dtl-soln-card-body {
    padding: 2px 0 19px 6%;
  }
  .dtl-soln-card-ttl {
    margin: 0 0 8px;
    font-size: 20px;
    line-height: 1.7;
  }
  .dtl-soln-card-txt {
    font-size: 14px;
    line-height: 1.8;
  }

  .dtl-sec + .dtl-sec {
    margin-top: 77px;
  }
  .dtl-sug-item {
    padding: 19px 4.6% 18px;
    font-size: 14px;
  }
  .dtl-sug-item + .dtl-sug-item {
    margin-top: 16px;
  }
  .dtl-sug-item::before {
    margin: 8px 14px 0 0;
  }

  .dtl-table {
    overflow-x: scroll;
  }
  .dtl-table table {
    width: 900px
  }
  .dtl-table table th {
    font-size: 14px;
    color: #fff;
  }
  .dtl-table table th:first-child {
    width: 378px;
  }
  .dtl-table table td {
    font-size: 14px;
    padding: 17px 16px 18px;
  }

  .dtl-view-box {
    padding: 32px 4.6% 26px;
  }
  .dtl-view-box-ttl {
    margin: 0 0 13px;
    font-size: 20px;
    line-height: 1.7;
  }
  .dtl-view-box-txt {
    font-size: 14px;
    line-height: 1.8;
  }
  .dtl-view-box-txt + .dtl-view-box-txt {
    margin-top: 25px;
  }
}
