@charset "UTF-8";

.link-unabled a {
  opacity: 0.6;
  pointer-events: none;
  cursor: text;
}

/*-------------------------
subpage top
-------------------------*/
.subpage-top__title {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24rem 0 16rem 0;
}

.subpage-title__en {
  font-size: 4.8rem;
  font-weight: 600;
  color: #3E7F79;
  line-height: unset;
  margin: 0 0 15px 0;
}

.subpage-title__ja {
  font-size: 1.8rem;
  color: #33403D;
}

.subpage-title__note {
  font-size: 1.6rem;
  color: #33403D;
  margin-top: 30px;
}

/*-------------------------
category
-------------------------*/
.workslist-content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 240px auto;
}

.workslist-filter {
  margin: 0 0 120px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: stretch;
  justify-content: center;
  column-gap: 60px;
}

.workslist-filter a {
  /*  display: inline-block;*/
  display: block;
  padding: 2rem;
  position: relative;
  font-size: 1.8rem;
  color: #8B9592;
  text-decoration: none;
  transition: all .3s;
}

.workslist-filter a:hover {
  color: #33403D;
}

.workslist-filter a.active {
  color: #33403D;
  font-weight: 600;
}

.workslist-filter a.active:after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100px;
  height: 2px;
  background: #3E7F79;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

.workslist-boxes {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  column-gap: 60px;
  row-gap: 100px;
}

.workslist-boxes a {
  text-decoration: none;
  display: block;
  width: 100%;
}

.workslist-item__thumbnail {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.thumbnail-image {
  position: relative;
  overflow: hidden;
}

.thumbnail-image img {
  /*
  width: 100%;
  max-width: 540px;
  height: 100%;
  max-height: 350px;
*/
  width: 540px;
  height: 350px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: .4s ease;
}

.workslist-item__thumbnail p {
  font-size: 1.2rem;
  font-weight: 300;
  color: #33403D;
  writing-mode: vertical-rl;
  text-orientation: sideways;
  margin-top: 2px;
}

.thumbnail-overlay {
  position: absolute;
  inset: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  align-items: center;
  /*  background: rgba(51, 64, 61, .3);*/
  background: linear-gradient(to top, rgba(51, 64, 61, .9) 10%, transparent 90%);
  opacity: 0;
  transition: .3s;
}

.thumbnail-overlay span {
  color: #FFF;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: .2em;
  transform: translateY(10px);
  transition: .3s ease;
  text-shadow: 0 0 10px rgba(51, 64, 61, 1);
}

/* website category */
.website:hover .thumbnail-image img {
  transform: scale(1.05);
  /*  filter: blur(5px);*/
}

.website:hover .thumbnail-overlay {
  opacity: 1;
}

.website:hover .thumbnail-overlay span {
  transform: translateY(0);
}

/* banner category */
.banner:hover .thumbnail-image img {
  transform: scale(1.05);
  /*  filter: blur(5px);*/
}

.banner:hover .thumbnail-overlay {
  opacity: 1;
}

.banner:hover .thumbnail-overlay span {
  transform: translateY(0);
}

/* graphic category */
.graphic:hover .thumbnail-image img {
  transform: scale(1.05);
  /*  filter: blur(5px);*/
}

.graphic:hover .thumbnail-overlay {
  opacity: 1;
}

.graphic:hover .thumbnail-overlay span {
  transform: translateY(0);
}

.workslist-item__detail {
  width: calc((100% - 60px) / 2);
  flex: 0 0 calc((100% - 60px) / 2);
  /*略↑
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: calc((100% - 60px) / 2);
*/
}

.workslist-item__detail h3 {
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: #33403D;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: baseline;
}

.workslist-item__detail h3 span {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.5;
}

.workslist-item__detail h3 span::before {
  content: "/";
  font-size: 1.8rem;
  margin: 0 5px 0 15px;
}

.is-animated {
  animation: .4s zoom-in;
}

/*-------------------------
contact
-------------------------*/
.contact-content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 100px;
}

.contact-content h2 {
  font-size: 4.2rem;
  color: #3E7F79;
  text-align: center;
  line-height: normal;
  font-weight: 700;
}

.contact-message__title {
  font-size: 2.8rem;
  font-weight: bold;
  margin: 30px 0 80px 0;
  text-align: center;
  color: #33403D;
  line-height: normal;
}

.contact-message__txt {
  font-size: 1.6rem;
  text-align: center;
  color: #5E6966;
}

.contact__btn {
  width: 100%;
  max-width: 1200px;
  display: block;
  margin: 0 auto 240px;
  text-align: center;
}

.contact__btn-loading {
  display: inline-flex;
  text-decoration: none;
  font-weight: 700;
  color: #3E7F79;
  width: 200px;
  height: 200px;
  font-size: 1.4rem;
  position: relative;
  opacity: 1 !important;
  background-color: #3E7F79;
  border-radius: 100%;
  transition: color 0.4s;
  overflow: hidden;
}

.contact__btn-loading::before,
.contact__btn-loading::after {
  content: "";
  display: block;
  position: absolute;
  width: 50%;
  height: 0;
  background-color: #7CCFC6;
  pointer-events: none;
}

.contact__btn-loading::before {
  bottom: 0;
  left: 0;
}

.contact__btn-loading::after {
  top: 0;
  right: 0;
}

.contact__btn-loading:hover {
  color: #7CCFC6;
}

.contact__btn-loading:hover::before,
.contact__btn-loading:hover::after {
  height: 100%;
}

.contact__btn-loading:hover::before {
  transition: height 0.2s 0.2s linear;
}

.contact__btn-loading:hover::after {
  transition: height 0.2s linear;
}

.contact__btn-loading span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  background-color: #FBFCFB;
  border-radius: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9;
}

img.img-bg__bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50%;
  height: auto;
  z-index: -1;
}

@media (max-width:1440px) {
  .subpage-top__title {
    margin: 0 auto 0 10%;
    padding: 22rem 0 16rem 0;
    width: fit-content;
  }

  .workslist-content {
    padding: 0 4rem 0 4rem;
  }

  .thumbnail-image img {
    width: 100%;
    height: 100%;
  }

  .workslist-item__detail h3 {
    flex-direction: column;
    row-gap: 10px;
    line-height: 1.3;
    margin: 20px 0 0 0;
  }

  .workslist-item__detail h3 span::before {
    margin: 0 5px 0 0;
  }
}

@media (max-width: 1024px) {
  .subpage-top__title {
    /*    width: 90%;*/
    padding: 20rem 10% 14rem 0;
  }

  .subpage-title__en {
    font-size: 4rem;
  }

  .workslist-content {
    width: 90%;
    padding: 0 2rem 0 2rem;
  }

  .workslist-filter a {
    font-size: 1.6rem;
    padding: 1.5rem;
  }

  .workslist-boxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .workslist-item__detail {
    width: 100%;
    /*    flex: 0 0 calc((100% - 100px) / 2);*/
  }

  .thumbnail-image img {
    width: 100%;
    height: 100%;
  }

  /*
  .workslist-item__detail h3 {
    flex-direction: column;
    row-gap: 10px;
    line-height: unset;
    margin: 20px 0 0 0;
  }
*/
  /*
  .workslist-item__detail h3 span::before {
    margin: 0 5px 0 0;
  }
*/
  .workslist-content {
    margin: 0 auto;
  }

  .contact-content {
    width: 90%;
    padding: 0 2rem 0 2rem;
    margin: 160px auto 80px auto;
  }

  .contact-content h2 {
    font-size: 3.6rem;
  }

  .contact-message__title {
    margin: 30px 0 60px 0;
  }
}

@media (max-width: 768px) {
  .subpage-top__title {
    padding: 18rem 10% 12rem 0;
  }

  .workslist-filter {
    margin: 0 0 100px 0;
  }

  .workslist-boxes {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    row-gap: 80px;
  }

  .workslist-item__detail h3 {
    /*    font-size: 2.8rem;*/
    flex-direction: initial;
  }

  .workslist-item__detail h3 span::before {
    margin: 0 5px 0 15px;
  }

  .workslist-item__thumbnail p {
    font-size: 1rem;
    line-height: unset;
    margin-left: 5px;
  }
}

@media (max-width: 608px) {
  .subpage-title__en {
    font-size: 3.6rem;
    margin: 0 0 10px 0;
  }

  .subpage-title__ja {
    font-size: 1.6rem;
  }

  .workslist-filter {
    row-gap: 15px;
    column-gap: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 0 80px 0;
  }

  .workslist-filter a {
    font-size: 1.4rem;
    white-space: nowrap;
    padding: 1.5rem;
    /* width: fit-content; */
    text-align: center;
  }

  .workslist-filter a:first-child {
    /* width: fit-content; */
    width: 30%;
    text-align: center;
  }

  .workslist-filter a.all {
    grid-column-start: 1;
    grid-column-end: 4;
    grid-row-start: 1;
    grid-row-end: 3;
  }

  .workslist-filter a.active:after {
    width: 100%;
    left: 0;
    transform: none;
  }

  .workslist-item__detail {
    width: 100%;
    flex: initial;
  }

  .workslist-item__detail h3 {
    font-size: 2rem;
    flex-direction: column;
  }

  .workslist-item__detail h3 span::before {
    margin: 0 5px 0 0;
    font-size: 1.4rem;
  }

  .thumbnail-overlay span {
    font-size: 1.4rem;
  }

  .contact-content h2 {
    font-size: 3.0rem;
  }

  .contact-message__title {
    font-size: 2.4rem;
  }
}

@media (max-width: 428px) {
  .subpage-title__note {
    font-size: 1.4rem;
    line-height: 1.5;
    text-align: justify;
  }

  .workslist-item__detail h3 {
    flex-direction: column;
    /*    font-size: 2.2rem;*/
  }

  .workslist-item__detail h3 span::before {
    margin: 0 5px 0 0;
  }

  .workslist-filter {
    row-gap: 15px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    margin: 0 0 80px 0;
  }

  .workslist-filter a {
    width: fit-content;
  }

  .contact-message__title {
    font-size: 2.2rem;
    margin: 20px 0 40px 0;
  }

  .contact-message__txt {
    font-size: 1.4rem;
  }

  .contact-content {
    margin: 140px auto 80px auto;
  }

  .contact__btn {
    margin: 0 auto 220px;
  }

  .contact__btn-loading {
    width: 180px;
    height: 180px;
  }
}

/*@media (max-width: 320px) {}*/