@charset "UTF-8";
body {
  font-size: 1.6rem;
}
@media screen and (max-width: 559px) {
  body {
    font-size: 1.4rem;
  }
}

[lang="en"] {
  font-family: 'Alata', sans-serif;
}

.sp-only {
  display: none;
}

@media screen and (max-width: 559px) {
  .sp-only {
    display: block;
  }
}

input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px #fff inset;
}

.home-List__item {
  position: relative;
}

.home-List__item ._name {
  display: block;
  position: absolute;
  top: 0;
  font-size: 1.2rem;
  pointer-events: none;
  opacity: .6;
  margin-left: 0;
}

.home-List__item ._heading {
  font-size: 6.5rem;
  line-height: 1;
  transition: padding .3s;
  display: inline-block;
  padding: 2rem 3rem 6rem 0;
  /* max-width: 740px; */
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: 'Alata', sans-serif;
}

@media screen and (min-width: 560px) {
  .home-List {
    padding-top: 4rem;
    margin-bottom: 20rem;
  }
  .home-List__item ._heading:hover {
    padding: 2rem 3rem 14rem 0;
  }
  .home-List__item ._heading:hover + ._info {
    opacity: 1;
  }
  .home-List__item ._heading:hover + ._info::before {
    transform: scaleX(1);
  }
}

.home-List__item ._info {
  position: absolute;
  top: 10rem;
  font-size: 1.4rem;
  line-height: 1.7;
  opacity: 0;
  padding: 1em 0 0;
  transition: opacity .6s;
  pointer-events: none;
  font-family: 'Alata', sans-serif;
}

.home-List__item ._info span {
  display: block;
}

.home-List__item ._info::before {
  position: absolute;
  content: "";
  background-color: #fff;
  height: 1px;
  width: 4rem;
  top: 0;
  left: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .6s;
}


/*.home-List__item ._image ここから*/
.home-List__item ._image {
  position: absolute;
  top: 25%;
  right: 0;
  opacity: 0;
  transform: scale(1.1) translateY(-50%);
  transition: transform .5s .1s, opacity .5s .1s;
  width: 62.5%;
  max-width: 750px;
  pointer-events: none;
  z-index: -1;
  /* aspect-ratio: 750/375; */
}

.home-List__item ._image img {
  display: block;
  width: 100%;
  /* height: 100%;
  object-fit: contain;
  object-position: right; */
}

@media (hover: none) and (pointer: coarse) {
  .home-List__item {
    margin-bottom: 10rem;
  }
  .home-List__item ._name {
    position: static;
  }
  .home-List__item ._heading {
    font-size: 3rem;
    padding: 0 2rem 0 0;
    line-height: 1.5;
    max-width: 100%;
  }
  .home-List__item ._image {
    position: static;
    opacity: 1;
    transform: scale(1) translateY(0);
    text-align: center;
    width: 100%;
    max-width: none;
  }
  .home-List__item ._info {
    position: relative;
    top: 0;
    opacity: 1;
    margin: 1rem 0 2rem;
  }
  .home-List__item ._info::before {
    transform: scaleX(1);
    background-color: #333;
  }
}

@media screen and (max-width: 559px) {
  .home-List__item {
    margin-bottom: 10rem;
  }
  .home-List__item ._name {
    position: static;
  }
  .home-List__item ._heading {
    font-size: 3rem;
    padding: 0 2rem 0 0;
    line-height: 1.5;
    max-width: 100%;
  }
  .home-List__item ._image {
    position: static;
    opacity: 1;
    transform: scale(1) translateY(0);
  }
  .home-List__item ._info {
    position: relative;
    top: 0;
    opacity: 1;
    margin: 1rem 0 2rem;
  }
  .home-List__item ._info::before {
    transform: scaleX(1);
    background-color: #333;
  }
}
@media screen and (max-width: 559px) {
  .home-List__item {
    margin-bottom: 10rem;
  }
  .home-List__item ._name {
    position: static;
  }
  .home-List__item ._heading {
    font-size: 3rem;
    padding: 0 2rem 0 0;
    line-height: 1.5;
    max-width: 100%;
  }
  .home-List__item ._image {
    position: static;
    opacity: 1;
    transform: scale(1) translateY(0);
  }
  .home-List__item ._info {
    position: relative;
    top: 0;
    opacity: 1;
    margin: 1rem 0 2rem;
  }
  .home-List__item ._info::before {
    transform: scaleX(1);
    background-color: #333;
  }
}

.home-List__item ._bg {
  display: none;
}

body {
  transition: background-color .6s;
}

body header, body main {
  transition: color .6s, border-color .6s;
}

body .home-List__item {
  transition: opacity .6s;
}

body a._heading[href^="http"]::after,
body a._heading[href^="//"]::after {
  transition: background-image .6s;
}

body.is-itemHover {
  background-color: #333;
}

body.is-itemHover header, body.is-itemHover main {
  color: #fafafa;
  border-color: #fafafa;
}

body.is-itemHover .home-List__item.is-active {
  opacity: 1;
}

body.is-itemHover .home-List__item:not(.is-active) {
  opacity: .4;
}

body.is-itemHover .home-List__item.is-active ._image {
  opacity: 1;
  transform: scale(1) translateY(-50%);
}
/*.home-List__item ._image ここまで*/

a._heading {
  position: relative;
}

.home-Works {
  padding-top: 15rem;
  position: relative;
  z-index: 2;
}

.home-Works__inner {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 1200px;
}

.home-Works__inner ._title {
  margin-bottom: 1em;
}

@media screen and (min-width: 560px) {
  .home-Works {
    padding-bottom: 15rem;
  }
}

.WorksList__items {
  overflow: hidden;
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  flex-wrap: wrap;
}

.WorksList__item {
  width: calc( (100% - 4rem) / 3);
  max-width: 320px;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
}

.WorksList__item:not(:nth-child(3n)) {
  margin-right: 2rem;
}

@media screen and (min-width: 560px) and (max-width: 959px) {
  .WorksList__item {
    width: calc( (100% - 2rem) / 2);
  }
  .WorksList__item:not(:nth-child(3n)) {
    margin-right: 0;
  }
  .WorksList__item:not(:nth-child(2n)) {
    margin-right: 2rem;
  }
}

@media screen and (max-width: 559px) {
  .WorksList__item {
    width: 100%;
  }
  .WorksList__item:not(:nth-child(3n)), .WorksList__item:not(:nth-child(2n)) {
    margin-right: 0;
  }
}

.WorksList__image img {
  display: block;
  max-width: 100%;
  margin: 0 auto;
}

.WorksList__text {
  background-color: #fff;
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.15) inset;
  padding: 3rem 2rem;
  min-height: 20rem;
  flex: 1 1 auto;
}

.WorksList__text ._tags {
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  margin-bottom: 2em;
  color: #fff;
  font-weight: 500;
}

.WorksList__text ._tag {
  background-color: #333;
  border-radius: 1.3em;
  line-height: 2.6;
  padding: 0 1.3em;
  display: inline-block;
  margin-bottom: 0.5em;
}

.WorksList__text ._tag:not(:last-child) {
  margin-right: .5em;
}

.WorksList__text ._title {
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  line-height: 1;
  padding-bottom: 1em;
}

.WorksList__text ._link {
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media screen and (min-width: 560px) and (max-width: 959px) {
  .WorksList__text ._title {
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 559px) {
  .WorksList__text {
    padding: 2rem;
  }
  .WorksList__text ._title {
    font-size: 1.6rem;
  }
  .WorksList__text ._link {
    font-size: 1.3rem;
    letter-spacing: 0.1em;
  }
}

.WorksTab__inner {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 1200px;
}

.WorksTab__buttons {
  position: relative;
  display: flex;
  margin-bottom: 4rem;
}

.WorksTab__button {
  background-color: transparent;
  outline: none;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;

  height: 35px;
  color: inherit;
  border: 1px solid currentColor;
  font-size: 12px;
  letter-spacing: 0.05em;
  border-radius: 22.5px;
  padding: 2px 29px;
  margin-right: 10px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
  margin-top: 10px;

  text-align: center;
  min-width: 50px;
  cursor: pointer;
  transition: all 0.2s;
}

.WorksTab__button:focus {
  outline: none;
}

.WorksTab__button:not(:last-child) {
  margin-right: 1rem;
}

.WorksTab__button[aria-selected="true"], .WorksTab__button:hover {
  background: #333;
  color: #fff;
}

.WorksTab__panel[aria-hidden="true"] {
  display: none;
}

/* add 202307 */
.home-List__bg {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;

  opacity: 0;
  transition: opacity .6s;

  background-repeat: repeat-y;
  background-size: 100% auto;
  background-position: 0 0 ;
  --speed: 30s;
  --bgHeight: 100%;
}
body.is-itemHover .home-List__bg {
  opacity: 1;
  animation: scroll-anim var(--speed) linear infinite ;
}
@keyframes scroll-anim {
  0%{
    background-position: 0 0;
  }
  1%{
    background-position: 0 0;
  }
  100% {
    background-position: 0 var(--bgHeight) ;
  }
}
@media (hover: none) and (pointer: coarse) {
  .home-List__bg {
    display: none;
  }
}
@media screen and (max-width: 559px) {
  .home-List__bg {
    display: none;
  }
}

.home-List__bg::after {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0,0,0,.7);
  pointer-events: none;
  z-index: 1;
}

.l-Breadcrumb,.l-Copyright {
  z-index: 3;
}

.l-Breadcrumb__list {
  transition: color .6s;
}
.l-Breadcrumb__list::after {
  transition: background-color .6s;
}

body.is-itemHover .l-Breadcrumb__list {
  color: #fafafa;
}
body.is-itemHover .l-Breadcrumb__list::after {
  background-color: #fafafa;
}

body.is-itemHover .Works ._kind {
  color: #fafafa;
  border-color: #fafafa;
}
