@charset "utf-8";
/* CSS Document */
.main {
  background-color: #E9EAEC;
  padding-bottom: 120px;
}
@media (min-width:1200px) {
  .main {
    padding-bottom: 240px;
  }
}

.section-top__bg-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
   /*範囲外の背景画像を隠す*/
  clip-path: inset(0 0 0 0);
}
.section-top__bg {
  background-image:url("../images/top/top_image.jpg");
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  -webkit-appearance: none;
}

.section-lead {
  max-width: 1000px;
  margin: 80px auto;
  bottom: 240px;
  text-align: center;
  padding: 0 24px;
}
.section-lead h2 {
  font-family: "Noto Sans", sans-serif;
  letter-spacing: 0.1em;
  font-weight: 500;
  position: relative;
  font-size: 2.0rem;
  padding-top: 24px;
  padding-bottom: 40px;
  margin-bottom: 48px;
}
.section-lead h2::before {
  background-color: #333;
  border-radius: 2px;
  content: "";
  height: 2px;
  left: 50%;
  bottom: 0px;
  position: absolute;
  transform: translateX(-50%);
  width: 32px;
}
.section-lead p{
  font-size: 1.4rem;
  line-height: 2.8rem;
}
@media (min-width: 1200px) {
  .section-lead {
    max-width: 1000px;
    margin: 280px auto;
    bottom: 200px;
    text-align: center;
  }
  .section-lead h2 {
    font-size: 2.4rem;
  }
  .section-lead p{
  font-size: 1.6rem;
  line-height: 3.0rem;
}
}
.section-works {
  padding: 0 24px;
  margin-bottom: 80px;
  }
.section-works h2 {
  font-family: "Noto Sans", sans-serif;
  letter-spacing: 0.1em;
  font-weight: 500;
  font-size: 2.4rem;
  margin-bottom: 40px;
}
  .section-works ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
  }
  .section-works ul li {
    list-style: none;
    text-align: left;
    width: 38.4vw;
    margin-bottom: 40px;
  }
  .section-works ul li:last-child {
    display: none;
  }
  .section-works ul li a {
  text-decoration: none;
  }
.section-works ul li a:hover {
  opacity: 1.0;
}
.section-works__item-picture {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: 0 0;
  vertical-align: bottom;
}
.section-works__item-title {
  font-size: 1.4rem;
  padding: 8px 0 4px;
}
.section-works__item-title span {
  display: block;
}
.section-works__item-description {
  padding: 0px 20px 20px 20px;
}
.section-works__item-tag {
  display: inline-block;
  font-size: 1.0rem;
  line-height: 1.0rem;
  padding: 6px 8px;
  border: solid 1px #333;
}

@media (min-width:1200px) {
.section-works {
    margin-bottom: 240px;
  }
  .section-works h2 {
    font-size: 3.2rem;
  }
  .section-works ul {
    justify-content: space-between;
    max-width: 1200px;
    padding: 0 24px;
    margin: 0 auto;
  }
  .section-works ul li {
    width: 352px;
  }
   .section-works ul li:last-child {
    display: block;
  }
  .section-works__item-title span {
  display: inline-block;
}
  .section-works__item-tag {
  font-size: 1.2rem;
  padding: 8px 12px;
  }
}
.section-about__container {
  padding: 0 24px;
  margin: 0 auto;
}
.section-about__description {
  text-align: left;
}
.section-about h2{
  font-family: "Noto Sans", sans-serif;
  letter-spacing: 0.1em;
  font-weight: 500;
  font-size: 2.4rem;
  padding-bottom: 40px;
  text-align: left;
}
.section-about__coppyright {
  font-weight: 600;
  font-size: 1.8rem;
  line-height: 4.0rem;
  padding-bottom: 24px;
}
.section-about__coppyright span{
  font-size: 2.4rem;
}
.section-about p {
  font-size: 1.4rem;
}
.section-about__link-image {
  display: block;
  padding-bottom: 40px;
  width: 100%;
  max-width: 440px;
}
.section-about__description{
  display: block;
}
/* 動くボタン */
figure {
    width: 200px;
    height: 60px;
    cursor: pointer;
    perspective: 500px;
    margin-left: 8px;
}
figure div {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: 0.25s;
}
figure:hover div {
    transform: rotateX(-90deg);
}
figure a {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    box-sizing: border-box;
    border: 2px solid #333;
    font-family: "Noto Sans", sans-serif;
    font-weight: 400;
    line-height: 50px;
    font-size: 1.6rem;
    text-align: center;
    text-decoration: none;
}
figure a:nth-child(1) {
    color: #FFF;
    background: #333;
    transform: translate3d(0, 0, 30px);
    -webkit-appearance: none;
}
figure a:nth-child(2) {
    color: #333;
    background: #E9EAEC;
    transform: rotateX(90deg) translate3d(0, 0, 30px);
    -webkit-appearance: none;
}
figure a:nth-child(2):hover {
    opacity: 1.0;
}



@media (min-width:1200px) {
 .section-about__container {
   max-width: 1200px;
   margin-bottom: 20px;
   padding: 0 24px;
 }
  .section-about h2{
   font-size: 3.2rem;
 }
 .section-about__wrapper {
   display: flex;
 }
 .section-about__coppyright {
   font-size: 3.2rem;
   line-height: 7.2rem;
   padding-bottom: 48px;
 }
 .section-about__coppyright span{
   font-size: 4.8rem;
 }
 .section-about p {
   font-size: 1.6rem;
   line-height: 3.2rem;
 }
.section-about__link {
   padding-left: 64px;
 }
 .section-about__link-image{
   width: 440px;
 }
}

/*ふわっと表示1*/
.section-works__item,.offs .section-works__item {
  opacity: 0;
  transform: translateY(50px);
}
.section-works__item.ons,.ons .section-works__item {
  transition: all 1s cubic-bezier(0, 0, 0.13, 0.79);
  opacity: 1;
  transform: translateY(0);
}
/*ふわっと表示2*/
.section-about,.offs .section-about {
  opacity: 0;
  transform: translateY(50px);
}
.section-about,.ons .section-about {
  transition: all 1s cubic-bezier(0, 0, 0.13, 0.79);
  opacity: 1;
  transform: translateY(0);
}

/*ホバー*/
.section-works__item {
  position: relative;
  transition: .6s cubic-bezier(0.33, 1, 0.68, 1);
}
.section-works__item::before,
.section-works__item::after {
  content: "";
  display: block;
  position: absolute;
  margin: auto;
  top: 0;
  left: 0;
  transition: .6s cubic-bezier(0.33, 1, 0.68, 1);
  opacity: 0;
}

.section-works__item:hover {
  transform: scale(0.9);
}
 