@charset "UTF-8";

/*-------------------------------------------
Main Visual
-------------------------------------------*/
#header-area {
  max-width: 1040px;
  height: clamp(400px, 100vh, 800px);
  margin: 0 auto 120px;
}
#header-area .fv {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: calc(100vh - 80px);
}
/* 縦書きテキスト共通設定 */
#header-area .fv .fv-p01,
#header-area .fv .fv-p02 {
  writing-mode: vertical-rl;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  letter-spacing: .65em;
  font-size: 12px;
  color: #9e9e9e;
  z-index: 2;
  white-space: nowrap;
}
/* 左側テキスト */
#header-area .fv .fv-p01 {
  transform: translateY(-50%) rotate(180deg);
  right: calc(100% - 15% + 40px);
}
/* 右側テキスト */
#header-area .fv .fv-p02 {
  left: calc(100% - 15% + 40px);
}

/* JS用 */
.mainvisual {
  opacity: 0;
  transition: opacity 2s ease;
  background-image: url('../img/top/TOP.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 70%;
  height: 100%;
  border-radius: 5px;
  overflow: hidden;
  z-index: 1;
}
.mainvisual.visible {
  opacity: 1;
}
.fv-p01,
.fv-p02 {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}
.fv-p01.visible,
.fv-p02.visible {
  opacity: 1;
  transform: translateY(0);
}
.header {
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s ease;
}
.header.visible {
  opacity: 1;
  transform: translateY(0);
}

/*-------------------------------------------
About
-------------------------------------------*/
.about {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 120px;
}
.about .text {
  max-width: 460px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  margin-right: auto;
}
.about .text .title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 30px;
}
.about .text .detail {
  font-size: 14px;
  line-height: 2;
  margin-bottom: 40px;
  text-align: justify;
}
.about .img {
  max-width: 400px;
  margin: 0 40px;
}

/* JS用 */
.about .text,
.about .img {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1.8s ease;
}
.about .text.show,
.about .img.show {
  opacity: 1;
  transform: translateY(0);
}

/*-------------------------------------------
Work
-------------------------------------------*/
.work {
  padding-bottom: 100px;
  margin-bottom: 100px;
}
.work .inner {
  margin-bottom: 40px;
}
.work .section-title-h {
  margin-bottom: 50px;
}
.work .menu-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}
.work .menu-list li {
  overflow: hidden;
}
.menu-list li img {
  transition: transform 0.6s ease;
  display: block;
  width: 100%;
  height: auto;
}
.menu-list li:hover img {
  transform: scale(1.1);
}

/* JS用 */
.menu-list li {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}
.menu-list li.show {
  opacity: 1;
  transform: translateY(0);
}
.work .btn {
  margin: 0 auto;
}

/*-------------------------------------------
Diary
-------------------------------------------*/
.diary {
  margin-bottom: 100px;
}
.diary .inner {
  margin-bottom: 40px;
}
.diary .section-title {
  margin-bottom: 50px;
}
.diary .section-title-h {
  margin-bottom: 20px;
}
.diary .diary-item {
  display: flex;
}
.diary .diary-item time {
  font-size: 12px;
}
.diary .diary-item .title {
  font-size: 14px;
  margin-top: 10px;
}
.diary .diary-item .item-left {
  width: 100%;
  max-width: 500px;
  padding-right: 40px;
}
.diary .diary-item .item-left .img {
  margin-bottom: 30px;
}
.diary .diary-item .item-right {
  border-left: solid 1px #333;
  padding-left: 40px;
}
.diary .diary-item .item-right .img {
  margin-right: 30px;
}
.diary .diary-item .item-right .item-top {
  margin-bottom: 40px;
}
.diary .diary-item .item-right .item-top a,
.diary .diary-item .item-right .item-bottom a {
  display: flex;
}
.diary .diary-item .item-right .item-top .img,
.diary .diary-item .item-right .item-bottom .img {
  width: 100%;
  max-width: 220px;
}
.diary .btn {
  margin: 0 auto;
}

/* JS用 */
.item-left,
.item-top,
.item-bottom {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}
.item-left.show,
.item-top.show,
.item-bottom.show {
  opacity: 1;
  transform: translateY(0);
}

/*-------------------------------------------
レスポンシブ
-------------------------------------------*/
@media screen and (max-width: 767px) {
  /*-------------------------------------------
  Main Visual
  -------------------------------------------*/
  #header-area .fv .fv-p01 {
    right: calc(100% - 15% + 20px);
  }
  #header-area .fv .fv-p02 {
    left: calc(100% - 15% + 20px);
  }
  /*-------------------------------------------
  About
  -------------------------------------------*/
  .about {
    flex-direction: column-reverse;
    margin-bottom: 60px;
  }
  .about .img {
    margin: 0 auto 40px;
  }
  .about .text {
    margin: 0 auto;
  }
  .about .btn {
    margin: 0 auto;
  }

  /*-------------------------------------------
  Work
  -------------------------------------------*/
  .work {
    padding-bottom: 60px;
    margin-bottom: 60px;
  }
  .work .menu-list {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }
  .work .menu-list li:nth-child(2) {
    grid-column: auto;
    grid-row: 3 / 5;
  }

  /*-------------------------------------------
  Diary
  -------------------------------------------*/
  .diary {
    margin-bottom: 60px;
  }
  .diary .inner {
    flex-direction: column;
  }
  .diary .section-title-v {
    margin-right: 0;
  }
  .diary .diary-item {
    flex-direction: column;
  }
  .diary .diary-item .item-left {
    max-width: 100%;
    padding: 0 0 40px;
  }
  .diary .diary-item .item-right {
    border-left: none;
    padding-left: 0;
  }
  .diary .diary-item .item-right .item-top a,
  .diary .diary-item .item-right .item-bottom a {
    flex-direction: column;
  }
  .diary .diary-item .item-left .img,
  .diary .diary-item .item-right .item-top .img,
  .diary .diary-item .item-right .item-bottom .img {
    max-width: 100%;
    margin: 0 0 10px;
    text-align: center;
  }
}