/* ----------------------------------
under common
---------------------------------- */
main.under {
  padding-top: 41.9rem;
}
main.under section:not(#contact) .ttl-h2 {
  position: relative;
  max-width: 70rem;
  margin: 0 auto 5.2rem;
}
main.under section:not(#contact) .ttl-h2::before {
  position: absolute;
  top: -14.7rem;
  left: calc(50% + 4.2rem);
  content: "";
  display: block;
  width: 47.9rem;
  height: 42.1rem;
  background: url(../img/under-ttl-bg.svg) center/contain no-repeat;
  transform: translateX(-50%);
  z-index: -1;
}
@media screen and (max-width: 767px) {
  main.under {
    padding-top: 23.3rem;
  }
  main.under section:not(#contact) .ttl-h2 {
    max-width: none;
    margin-bottom: 4.2rem;
    padding: 0 2rem;
  }
  main.under section:not(#contact) .ttl-h2::before {
    top: -7.4rem;
    left: calc(50% + 1.7rem);
    width: 29.1rem;
    height: 21.4rem;
    background-image: url(../img/under-ttl-bg_sp.svg);
  }
}


/* ----------------------------------
works-page
---------------------------------- */
#works-page .works-wrap {
  padding: 0;
  overflow: visible;
}
#works-page .works-wrap .in::after {
  content: none;
}
#works-page .works-list {
  display: flex;
  flex-wrap: wrap;
  row-gap: 6.5rem;
  column-gap: 3rem;
}
#works-page .works-list li {
  width: calc(33.33% - (3rem * 2 / 3));
}
#works-page .works-list li a {
  display: block;
}
#works-page .works-list .img-wrap {
  position: relative;
  width: 100%;
  height: 39rem;
  overflow: hidden;
  border-top-left-radius: 5rem;
  border-bottom-right-radius: 5rem;
  z-index: 2;
}
#works-page .works-list .img-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 1s;
  z-index: 1;
}
#works-page .works-list li a:hover .img-wrap img {
  transform: scale(1.05);
}
#works-page .works-list .txt-wrap {
  padding-top: 1.1rem;
}
#works-page .works-list .txt-wrap dt {
  font-size: 2rem;
  font-weight: var(--bold);
  letter-spacing: 0.1em;
}
#works-page .works-list .txt-wrap dt span {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-size: max(1.2rem, 10px);
  color: var(--color-orange1);
  line-height: 1;
  letter-spacing: 0.05em;
}
#works-page .works-list .txt-wrap dd {
  font-size: 1.4rem;
  font-size: max(1.4rem, 10px);
  padding-top: 1rem;
}
#works-page .tab {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.7rem;
  margin-bottom: 5.2rem;
}
#works-page .tab .tab-item {
  padding: 0.6rem;
  width: 11.4rem;
  border-radius: 2rem;
  background: var(--color-white);
  font-family: var(--font-en);
  font-size: 1.3rem;
  font-size: max(1.3rem, 10px);
  font-weight: var(--bold);
  text-align: center;
  color: var(--color-orange1);
}
#works-page .tab .tab-item.current,
#works-page .tab .tab-item:hover {
  background: var(--color-orange1);
  color: var(--color-white);
}
#works-page .tab .tab-item.current {
  pointer-events: none;
}
@media screen and (min-width: 768px) {
  #works-page .works-list li a {
    position: relative;
    overflow: hidden;
  }
  #works-page .works-list .txt-wrap {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgb(0 0 0 / 0.5);
    color: var(--color-white);
    border-bottom-right-radius: 5rem;
    transition: .3s;
    opacity: 0;
    z-index: 2;
  }
  #works-page .works-list li a:hover .txt-wrap {
    opacity: 1;
  }
}
@media screen and (max-width: 767px) {
  #works-page .tab {
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 4.2rem;
  }
  #works-page .tab .tab-item {
    padding: 0.4rem;
    width: 10rem;
    font-size: 1.2rem;
  }
  #works-page .works-list {
    flex-wrap: wrap;
    gap: 4rem;
  }
  #works-page .works-list li {
    width: 100%;
  }
  #works-page .works-list .img-wrap {
    height: 31rem;
  }
  #works-page .works-list .txt-wrap dt {
    font-size: 1.6rem;
  }
  #works-page .works-list .txt-wrap dt span {
    font-size: 1.1rem;
  }
  #works-page .works-list .txt-wrap dd {
    font-size: 1.2rem;
    padding-top: 0;
  }
}


/* ----------------------------------
works-page パスワード
---------------------------------- */
.works-password {
  text-align: center;
  margin: 13rem auto;
}
.works-password p {
  font-size: 1.4rem;
  font-size: max(1.4rem, 10px);
  line-height: 1.857;
}
.works-password .moreBtn {
  margin: 5rem auto 0;
  background: var(--color-orange1);
  font-family: var(--font-ja);
  color: var(--color-white);
}
.works-password form {
  margin-top: 5rem;
}
.works-password .field {
  font-size: 1.4rem;
  font-size: max(1.4rem, 10px);
  line-height: 1.857;
}
.works-password .field input {
  display: block;
  width: 39rem;
  margin: 1rem auto 0;
  padding: 1.5rem 2rem;
  border: none;
  background: #f4f4e4;
  border-radius: 0.5rem;
  outline: none;
}
.works-password .error {
  font-size: 1.1rem;
  font-size: max(1.1rem, 10px);
  color: #e95038;
}
@media screen and (max-width: 767px) {
  .works-password {
    margin: 11rem auto 4rem;
  }
  .works-password p,
  .works-password .field {
    font-size: 1.3rem;
    line-height: 1.76;
  }
  .works-password .field input {
    width: 100%;
  }

}


/* ----------------------------------
detail-page
---------------------------------- */
#detail-page .in {
  position: relative;
  z-index: 1;
}
#detail-page .desc-wrap {
  width: 95rem;
  margin: 10rem auto 7.8rem;
}
#detail-page .desc-wrap p {
  font-size: 1.4rem;
  font-size: max(1.4rem, 10px);
  line-height: 1.857;
}
#detail-page .design-wrap + a[target="_blank"] {
  font-size: 1.2rem;
  font-size: max(1.2rem, 10px);
  margin-top: 4rem;
  padding-left: 2.5rem;
  transition: .3s;
  background: url(../img/icon-window.svg) center left/1.5rem no-repeat;
  letter-spacing: 0;
}
#detail-page .design-wrap + a[target="_blank"]:hover {
  color: var(--color-blue);
}
#detail-page .desc-area {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0;
  margin-top: 1rem;
  padding-left: 7rem;
}
#detail-page .desc-area::before {
  position: absolute;
  top: 1rem;
  left: 0;
  content: "";
  display: block;
  width: 5.5rem;
  height: 1px;
  background: #bababa;
  transform: unset;
}
#detail-page .desc-area li {
  position: relative;
  font-size: 1.2rem;
  font-size: max(1.2rem, 10px);
  letter-spacing: 0.1em;
}
#detail-page .desc-area li + li {
  padding-left: 2.2rem;
}
#detail-page .desc-area li + li::before {
  position: absolute;
  top: 50%;
  left: 0.8rem;
  content: "/";
  font-size: 1.2rem;
  font-size: max(1.2rem, 10px);
  transform: translateY(-50%);
}
#detail-page .design-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 9rem;
}
#detail-page .design-wrap .design-pc .box::-webkit-scrollbar,
#detail-page .design-wrap .design-sp .box::-webkit-scrollbar {
  display: none;
}
#detail-page .design-wrap .design-pc .box {
  width: 100rem;
  height: 62rem;
}
#detail-page .design-wrap .design-sp .box {
  width: 25.5rem;
  height: 50rem;
}
#detail-page .design-wrap .design-pc .box,
#detail-page .design-wrap .design-sp .box {
  border: 1.5rem solid var(--color-white);
  border-radius: 3rem;
  overflow-y: scroll;
  box-shadow: 0 0 0.2rem rgb(0 0 0 / 0.2);
}
#detail-page #works.works-wrap {
  padding-top: 26rem;
  padding-bottom: 10rem;
}
#detail-page #works.works-wrap .in::after,
#detail-page #works.works-wrap .ttl-h2::before {
  content: none;
}
#detail-page .design-wrap p {
  margin-bottom: 3rem;
  font-size: 1.5rem;
  font-size: max(1.5rem, 10px);
  font-family: var(--font-en);
  letter-spacing: 0.2em;
  color: #bababa;
  border-left: 0.4rem solid #bababa;
  padding-left: 1.4rem;
  line-height: 1;
}
#detail-page .cms {
  margin-top: 1rem;
  font-size: 1.2rem;
  font-size: max(1.2rem, 10px);
  letter-spacing: 0.1em;
}
@media screen and (max-width: 767px) {
  #detail-page .desc-area li,
  #detail-page .cms {
    font-size: 1rem;
  }
  #detail-page .desc-area::before {
    top: 0.9rem;
  }
  #detail-page .desc-wrap {
    width: auto;
    margin: 10.8rem auto 6.5rem;
    padding: 0;
  }
  #detail-page .desc-wrap p {
    width: auto;
    font-size: 1.3rem;
    line-height: 1.76;
  }
  #detail-page .design-wrap {
    flex-direction: column;
    gap: 5rem;
    align-items: center;
  }
  #detail-page .design-wrap .design-pc .box {
    width: 100%;
    height: 40rem;
  }
  #detail-page .design-wrap .design-sp .box {
    width: 23.5rem;
    margin: 0 auto;
  }
  #detail-page .design-wrap .design-pc .box,
  #detail-page .design-wrap .design-sp .box {
    border-width: 1rem;
  }
  #detail-page #works.works-wrap {
    padding-top: 17rem;
    padding-bottom: 0;
  }
  #detail-page .design-wrap p {
    margin-bottom: 2rem;
    font-size: 1.3rem;
    border-left: 0.4rem solid #bababa;
    padding-left: 1rem;
  }
  #detail-page .design-wrap + a[target="_blank"] {
    font-size: 1.1rem;
  }
}


/* ----------------------------------
information-page
---------------------------------- */
#information-page .information-wrap {
  padding-top: 0;
}
#information-page .information-wrap .in {
  margin-top: 11rem;
  margin-bottom: 10rem;
}
.info-detail-wrap {
  max-width: 95rem;
  margin: 0 auto;
}
.info-detail-wrap * {
  font-size: 1.5rem;
  font-size: max(1.5rem, 10px);
  line-height: 1.857;
}
.info-detail-wrap > *:not(:first-of-type) {
  margin-top: 2rem;
}
#information-page .backBtn {
  text-align: center;
  margin: 7rem auto 0;
  background: #efefef;
}
#information-page .backBtn:hover {
  color: var(--color-white);
  background: var(--color-blue);
}
@media screen and (max-width: 767px) {
  #information-page .information-wrap .in {
    margin-top: 6rem;
  }
  .info-detail-wrap * {
    font-size: 1.3rem;
    line-height: 1.76;
  }
}