@charset "UTF-8";

.works .works-link {
  background-color: rgba(17, 141, 255, 0.1);
}

.works .works-link .nav-txt {
  color: #118DFF;
}

.works-lower .scroll-tab {
  padding: 20px 40px 20px 52px;
}

.works-lower .banner-tab {
  padding: 28px 40px 28px 52px;
}

.scroll-tab .view-btn-inactive {
  margin-bottom: 0;
}

/* main contents */
.main {
  width: calc(100% - 220px);
  margin: 0 0 0 220px;
}

.works-lower-top {
  width: 100%;
  height: 480px;
  position: relative;
  margin-bottom: 48px;
}

.icon-btn {
  position: absolute;
  bottom: 0;
  left: 40px;
  align-items: flex-end;
  justify-content: start;
  column-gap: 40px;
  z-index: 4;
}

.icon-btn a {
  margin-bottom: 22px;
  height: fit-content;
}

.view-btn-active {
  width: 112px;
  height: 36px;
  border-radius: 20px;
  background-color: #118DFF;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: 1.6rem;
  font-style: normal;
  line-height: 36px;
  text-align: center;
  color: #fff;
  transition: all .3s ease-out;
  -webkit-transition: all .3s ease-out;
  -moz-transition: all .3s ease-out;
  -ms-transition: all .3s ease-out;
}

.recommenu_btn {
  width: 148px;
}

.view-btn-inactive {
  margin-bottom: 22px;
  width: 112px;
  height: 36px;
  border-radius: 20px;
  background-color: #DADADA;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: 1.6rem;
  font-style: normal;
  line-height: 36px;
  text-align: center;
  color: #aaa;
}

.company-icon {
  width: 160px;
  border-radius: 50%;
  border: 1px solid #F1F3F9;
}

.lower-top-mv {
  width: 100%;
  height: 480px;
  overflow: hidden;
}

.lower-top-mv img {
  width: 100%;
}

.lower-top-mv::after {
  content: "";
  width: 100%;
  height: 480px;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.lower-top-mv::before {
  content: "";
  width: 100%;
  height: 80px;
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: #fff;
  border-radius: 48px 48px 0px 0px;
  z-index: 3;
}

.works-lower-contents {
  width: calc(100% - 80px);
  margin: 0 auto;
}

.works-lower-company-name {
  margin-bottom: 64px;
}

.works-lower-site-name {
  margin-bottom: 12px;
  font-size: 4rem;
  font-weight: 500;
  line-height: 1.5;
}

.works-lower-client {
  color: #B0B0B0;
  font-size: 24px;
}

.detail-list {
  margin-bottom: 64px;
}

.detail-list li {
  padding: 40px 0;
  border-top: 1px solid #F1F3F9;
}

.detail-list li:last-child {
  border-bottom: 1px solid #F1F3F9;
}

.prototype {
  width: 100%;
  margin: 0 auto;
}

.prototype iframe {
  width: 100%;
  height: 800px;
}

.detail-item {
  margin-bottom: 64px;
}

.detail-item:last-child {
  margin-bottom: 0;
}

.portfolio-detail li {
  border-top: initial;
  padding: 0 0 40px;
}

.portfolio-detail li:last-child {
  border-bottom: initial;
  padding-bottom: 0;
}

.portfolio-detail .heading {
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid #F1F3F9;
}

.detail-capture {
  padding: 48px;
  background-color: #F9FAFC;
  border-radius: 20px;
}

.detail-head {
  color: #B0B0B0;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 16px;
}

.detail-txt {
  /* margin-bottom: 16px; */
  font-size: 16px;
  line-height: 1.75;
  word-break: break-all;
}

.detail-txt span {
  color: #B0B0B0;
  font-size: 1.4rem;
}

.detail-txt a {
  color: #118DFF;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
  transition: all .3s ease-out;
  -webkit-transition: all .3s ease-out;
  -moz-transition: all .3s ease-out;
  -ms-transition: all .3s ease-out;
}

.work-details {
  margin-bottom: 32px;
}

.capture-list {
  margin-bottom: 80px;
}

.capture-item {
  width: 100%;
  margin-bottom: 24px;
  padding: 48px 40px;
  border-radius: 20px;
  background-color: #F9FAFC;
}

.clip-capture {
  width: 100%;
  margin-bottom: 24px;
  padding: 48px 80px;
  border-radius: 20px;
  background-color: #F9FAFC;
}

.capture-item:last-child {
  margin-bottom: 0;
}

.capture-head {
  position: relative;
  margin-left: 34px;
  color: #667A8A;
  font-size: 24px;
  font-weight: 500;
  cursor: pointer;
}

.capture-head::after {
  content: "";
  width: 19px;
  height: 10px;
  background-image: url(../img/common/arr_capture.svg);
  background-size: contain;
  -webkit-background-size: contain;
  -moz-background-size: contain;
  -ms-background-size: contain;
  background-position: 0 0;
  background-repeat: no-repeat;
  top: 50%;
  left: -35px;
  transform: translateY(-50%) rotate(0deg);
  -webkit-transform: translateY(-50%) rotate(0deg);
  -ms-transform: translateY(-50%) rotate(0deg);
  position: absolute;
  transition: all .2s ease-out;
  -webkit-transition: all .2s ease-out;
  -moz-transition: all .2s ease-out;
  -ms-transition: all .2s ease-out;
}

.capture-item.open .capture-head::after {
  transform: translateY(-50%) rotate(180deg);
}

.capture-img {
  margin-top: 40px;
  margin-bottom: 64px;
  justify-content: center;
  column-gap: 80px;
  row-gap: 40px;
}

.no-accordion {
  margin: 0;
}

.capture-pc {
  width: 50%;
  max-width: 800px;
  filter: drop-shadow(0px 10px 20px rgba(0, 0, 0, 0.10));
}

.capture-sp {
  width: 12%;
  max-width: 200px;
  filter: drop-shadow(0px 10px 20px rgba(0, 0, 0, 0.10));
}

.megumilk_capture-sp {
  width: 30%;
  max-width: 450px;
  filter: drop-shadow(0px 10px 20px rgba(0, 0, 0, 0.10));
}

.pc-modal-leadtxt, .modal-leadtxt {
  text-align: center;
  color: #667A8A;
  font-size: 2.4rem;
  font-weight: 500;
  margin-bottom: 40px;
  line-height: 1.5;
}

.pc-modal-leadtxt span, .sp-modal-leadtxt span {
  font-size: 2rem;
}

.sp-modal-leadtxt {
  display: none;
  text-align: center;
  color: #667A8A;
  font-size: 2.4rem;
  font-weight: 500;
  margin-bottom: 40px;
  line-height: 1.5;
}

.clip-list {
  justify-content: start;
  width: 100%;
  max-width: 1296px;
  gap: 24px;
  margin: 0 auto 64px;
}

.clip-item {
  display: block;
  width: calc((100% - 48px) / 3);
}

.mail-magazine .clip-item {
  overflow: hidden;
  height: 800px;
}

.plus-more {
  max-width: calc((400px * 3) + (48px * 2));
  margin: 0 auto;
  color: #667A8A;
  text-align: center;
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 80px;
  border-radius: 50px;
  border: 1px solid #667A8A;
  cursor: pointer;
}

.clip-item {
  filter: drop-shadow(0px 10px 20px rgba(0, 0, 0, 0.10));
}

.close {
  padding: 11px 34px 9px;
  border: 1px solid #667A8A;
  border-radius: 20px;
  width: fit-content;
  margin: 0 auto;
  color: #667A8A;
  font-family: Inter;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}

.accordion-body {
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all .3s ease-out;
  -webkit-transition: all .3s ease-out;
  -moz-transition: all .3s ease-out;
  -ms-transition: all .3s ease-out;
}

.capture-item.open .accordion-body {
  opacity: 1;
}

.flat .capture-img {
  margin: 0;
}


.modal {
  display: none;
  position: fixed;
  left: 220px;
  top: 0;
  width: calc(100% - 220px);
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-content: center;
  z-index: 999;
}

.modal-content {
  margin: auto;
  position: relative;
  width: 80%;
  max-width: 600px;
}

.modal-close {
  position: absolute;
  top: -72px;
  right: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 3.2rem;
  padding: 12px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.mail-magazine-capture {
  height: 80vh;
  /* overflow: hidden; */
  overflow-y: auto;
}

.mail-magazine-modal .modal-content {
  margin-top: 72px;
}

body.modal-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}



@media screen and (max-width: 1024px) {
  .main {
    width: calc(100% - 180px);
    margin-left: 180px;
  }

  .company-icon {
    width: 120px;
  }

  .works-lower-top, .lower-top-mv, .lower-top-mv::after {
    height: 260px;
  }

  .icon-btn a{
    margin-bottom: 8px;
  }

  .works-lower-top {
    margin-bottom: 28px;
  }

  .lower-top-mv::before {
    height: 60px;
  }

  .works-lower-site-name {
    font-size: 3.2rem;
  }

  .detail-capture {
    padding: 24px;
  }

  .capture-pc {
    width: 100%;
    max-width: 400px;
  }

  .capture-sp {
    width: 100%;
    max-width: 300px;
  }

  .megumilk_capture-sp{
    width: 100%;
    max-width: 300px;
  }

  .clip-capture {
    padding: 48px 40px;
  }

  .clip-list {
    gap: 16px;
  }

  .clip-item {
    width: calc((100% - 16px) / 2);
  }

  .pc-modal-leadtxt {
    display: none;
  }

  .sp-modal-leadtxt {
    display: block;
  }

  .modal-content {
    width: 65%;
  }
}


@media screen and (max-width: 560px) {
  .works .works-link {
    background-color: transparent;
  }

  .works-lower .scroll-tab-ttl {
    width: calc(100% - 121px);
  }

  .main {
    width: 100%;
    margin: 0;
  }

  .works-lower .scroll-tab {
    padding: 16px 20px 12px;
    column-gap: 16px;
  }

  .works-lower .banner-tab {
    padding: 24px 20px 20px;
  }

  .works-lower .banner-tab .scroll-tab-ttl {
    width: 100%;
  }

  .works-lower .scroll-tab-ttl {
    align-items: center;
    align-content: center;
  }

  .works-lower-top {
    height: 172px;
    margin-bottom: 16px;
  }

  .lower-top-mv {
    height: 172px;
  }

  .lower-top-mv::after {
    height: 172px;
  }

  .lower-top-mv::before {
    height: 50px;
    border-radius: 24px 24px 0 0;
  }

  .icon-btn {
    width: calc(100% - 40px);
    left: 20px;
    column-gap: normal;
    justify-content: space-between;
  }

  .company-icon {
    width: 100px;
  }

  .view-btn-active, .view-btn-inactive {
    width: 105px;
    height: 32px;
  }

  .recommenu_btn {
    width: 148px;
  }

  .view-btn-inactive {
    margin-bottom: 4px;
  }

  .icon-btn a {
    margin-bottom: 4px;
  }

  .works-lower-contents {
    width: calc(100% - 40px);
  }

  .works-lower-company-name {
    margin-bottom: 40px;
  }

  .works-lower-site-name {
    font-size: 2.4rem;
    margin-bottom: 8px;
  }

  .works-lower-client {
    font-size: 2rem;
  }

  .detail-list li {
    padding: 24px 0;
  }

  .detail-list {
    margin-bottom: 40px;
  }

  .prototype iframe {
    height: 400px;
  }

  .portfolio-detail .heading {
    padding-bottom: 16px;
    margin-bottom: 16px;
  }

  .portfolio-detail li {
    padding: 0px 0px 24px;
  }

  .detail-item {
    margin-bottom: 40px;
  }

  .detail-capture {
    padding: 12px;
    border-radius: 10px;
  }

  .capture-list {
    margin-bottom: 48px;
  }

  .capture-item, .clip-capture {
    margin-bottom: 16px;
    padding: 24px 16px;
    border-radius: 10px;
  }

  .capture-head {
    font-size: 2rem;
    margin-left: 30px;
  }

  .capture-head::after {
    width: 18px;
    height: 9px;
    left: -31px;
  }

  .capture-pc, .capture-sp, .megumilk_capture-sp {
    max-width: none;
  }

  .capture-img {
    margin-bottom: 32px;
  }


  .sp-modal-leadtxt, .modal-leadtxt {
    font-size: 2rem;
    margin-bottom: 24px;
  }

  .sp-modal-leadtxt span {
    font-size: 1.8rem;
  }

  .clip-list {
    gap: 16px;
    max-width: none;
    margin-bottom: 36px;
  }

  .plus-more {
    font-size: 2rem;
    line-height: 44px;
  }

  .modal {
    width: 100%;
    height: calc(100vh - 80px);
    left: 0;
  }

  .modal-content {
    width: 75%;
  }

  .modal-close {
    font-size: 4rem;
    top: initial;
    right: initial;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
  }

  .mail-magazine-capture {
    height: 70vh;
  }

  .mail-magazine .clip-item {
    height: 287px;
  }

  .mail-magazine-modal .modal-content {
    margin-top: 0;
    margin-bottom: 20px;
  }
}