@charset "UTF-8";

/* CSS Document */
main {
  width: 100%;
  margin-bottom: 180px;
  text-align: justify;
}

.main_inner {
  width: 80%;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

header .now {
  color: #2961A1 !important;
}

/*トップイメージ*/
.works_top_img {
  width: 100%;
  height: calc(100vh - 110px);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  margin-top: 110px;
  margin-bottom: 96px;
}

/*説明*/
.works_description_wrapper {
  margin-bottom: 160px;
}

.works_title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: solid var(--color-gray-light) 1px;
  margin-bottom: 32px;
  padding-bottom: 14px;
}

.works_title h2 {
  font-size: 23px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-align: left;
}

.works_title p {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  color: var(--color-gray-light);
  letter-spacing: 0.15em;
}

.works_text dl {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.works_text dl:not(:last-of-type) {
  margin-bottom: 32px;
}

.works_detail_problem dl {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  margin-bottom: 15px;
}

.works_text dl dt,
.works_detail_problem dl dt {
  width: 15%;
  min-width: 100px;
  font-weight: 600;
  color: var(--color-gray-dark);
}

.works_text dl dd,
.works_detail_problem dl dd {
  width: 85%;
  color: var(--color-black);
}

.works_text dl a {
  display: block;
  width: 83%;
  transition: opacity .3s cubic-bezier(.4, .1, .3, 1);
  color: #333333;
}

.works_text dl a:hover {
  opacity: 0.7;
}

/* リスト全体の余白をリセット */
.works_list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.works_list li {
  position: relative;
  padding-left: 1.2em;
  line-height: 1.8;
  margin-bottom: 0.4em;
}

/* 中黒 */
.works_list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 5px;
  height: 5px;
  background-color: var(--color-gray-light);
  border-radius: 50%;
}

.works_detail {
  margin-bottom: 120px;
}

.works_detail h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  margin-top: 26px;
}

.works_detail h3 .separator {
  font-weight: 400;
  color: var(--color-gray-dark);
}

.works_detail p {
  font-size: 15px;
  margin-inline: auto;
  max-inline-size: max-content;
}

.works_detail p a {
  color: var(--color-black);
  transition: opacity .3s cubic-bezier(.4, .1, .3, 1);
}

.works_detail p a:hover {
  opacity: 0.8;
}

.works_detail .works_detail_img_wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.works_detail .works_detail_img {
  width: 100%;
  height: auto;
  border-radius: 3px;
}

/* 画像グラデーション*/
.works_detail_img {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #F7F9FC 0%, #EDF0F5 100%);
}

.works_detail_img.transparent {
  background: none;
}

.works_detail_img img {
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1s ease, transform 1s ease;
  transform-origin: center center;
}

.works_detail_img img.is-visible {
  opacity: 1;
  transform: scale(1.0);
}

.works_detail_img.bg-green video {
  width: 80%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 12px 16px 32px rgba(193, 220, 209, 0.8);
  border: 1px solid #ffffff;
}

.works_detail_img.bg-green {
  background: #DEF5EC;
  padding: 5vw 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.works_detail_img img,
.works_detail_img video {
  width: 100%;
  height: auto;
  display: block;
  /* border-radius: 2px; */
}

/*WEBのみ*/
.works_text dl .url {
  color: #2961A1;
}

.works_detail .site_img {
  display: flex;
  column-gap: 10px;
}

.works_detail .site_img {
  display: flex;
  column-gap: 10px;
}

.works_detail .sp_only {
  column-gap: 30px;
}

.lp_url {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.works_detail .site_img img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  box-shadow: 5px 5px 6px rgba(51, 51, 51, 0.05);
}

.site_img .site_pc,
.site_sp {
  display: flex;
  flex-direction: column;
  row-gap: 15px;
}

/*APNG*/
.works_detail .apng_img {
  display: flex;
  column-gap: 30px;
  margin-bottom: 30px;
}

.works_detail .apng_img img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  box-shadow: 5px 5px 6px rgba(51, 51, 51, 0.05);
}

.site_img .site_pc,
.site_sp {
  display: flex;
  flex-direction: column;
  row-gap: 15px;
}

/*ボタン*/
.btn_area {
  text-align: center;
}

.btn_area a {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.1em;
  border-radius: 100px;
  background-color: var(--color-gray-light);
  color: #fff;
  overflow: hidden;
  position: relative;
  transition-duration: .4s;
  z-index: 2;
  padding: 22px 60px;
}

.btn_area a::after {
  background: #2961A1;
  border-radius: 50%;
  content: "";
  display: block;
  margin: auto;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  width: 100%;
  padding-top: 100%;
  height: 0;
  z-index: -1;
  transform: translateY(-50%) scale(0.1);
  transition: opacity .4s, transform 0s;
  transition-delay: 0s, .3s;
}

.btn_area a:hover {
  color: #fff;
}

.btn_area a:hover::after {
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
  transition-delay: 0s;
  transition: opacity .7s, transform .5s ease-in-out;
}




@media screen and (max-width: 900px) {
  .pc_only {
    display: none;
  }

  .lp_url {
    white-space: inherit
  }

  main {
    margin-bottom: 140px;
  }

  .main_inner {
    width: 80%;
    min-width: unset;
  }

  .works_top_img {
    height: calc(55vh - 110px);
  }

  .works_description_wrapper {
    margin-bottom: 104px;
  }

  .works_text dl dt,
  .works_detail_problem dl dt {
    width: 25%;
  }

  .works_text dl dd,
  .works_detail_problem dl dd {
    width: 75%;
  }

  .works_text dl a {
    width: 75%;
    /* URL対策 */
    display: inline-block;
    word-break: break-all;
    overflow-wrap: break-word;
  }

  .works_detail {
    margin-bottom: 80px;
  }

  .works_title h2 {
    font-size: 20px;
  }

  .works_title p {
    display: none;
  }

  .works_text dl,
  .works_detail_problem dl {
    flex-direction: column;
    gap: 4px;
  }

  .works_text dl dt,
  .works_detail_problem dl dt {
    width: 100%;
    font-size: 13px;
    font-weight: 400;
  }

  .works_text dl dd,
  .works_detail_problem dl dd {
    width: 100%;
  }

  .works_text dl:not(:last-of-type) {
    margin-bottom: 32px;
  }


}

@media screen and (max-width: 430px) {
  main {
    margin-bottom: 100px;
  }

  main p,
  main dd {
    line-height: 1.8;
  }

  .works_top_img {
    margin-top: 72px;
    margin-bottom: 56px;
    height: calc(40vh - 72px);
  }

  .main_inner {
    width: 88%;
  }

  .works_title h2 {
    font-size: 18px;
  }


  .works_text dl dd,
  .works_detail_problem dl dd {
    font-size: 14px;
  }

  .works_list li {
    padding-left: 1em;
  }


  .works_detail h3 {
    margin-top: 24px;
    font-size: 15px;
  }

  .works_detail p {
    font-size: 14px;
  }

  .works_detail .site_img img {
    border-radius: 3px;
  }

  .works_detail .works_detail_img_wrap {
    gap: 6px;
  }
}

@media screen and (min-width: 1920px) {
  .main_inner {
    width: 50%;
  }
}