@charset "UTF-8";
@import url("https://fonts.cdnfonts.com/css/trajan-pro");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap");

/* =========================
   リセット
========================= */
body {
  margin: 0;
}

ul {
  display: block;
  margin: 0;
  padding: 0;
}

p {
  display: block;
  margin: 0;
}

h2 {
  display: block;
  font-size: 0;
  font-weight: bold;
  margin: 0;
}

/* 固定ヘッダー分の余白（PC:80px / SP:42px） */
.contents_area_ {
  padding-top: 80px;
}

/* PC/ SP の表示切り替え */
.pc {
  display: block !important;
}

.sp {
  display: none !important;
}

/* =========================
   スクロールコンテナ (#atelier)
========================= */
#atelier {
  background: #fff;
  color: #000;
  font-style: normal;
  font-weight: 400;
  margin: 0 auto;
  text-align: center;
  width: 100%;

  /* 画面からヘッダーぶんを引いた高さで固定 */
  height: calc(100vh - 80px);
  min-height: calc(100vh - 80px);

  /* コンテナスクロール */
  overflow-y: auto;
  overflow-x: hidden;

  /* 縦方向のスナップ */
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

#atelier .inner {
  margin: 0 auto;
  max-width: 1000px;
  overflow: hidden;
  padding-bottom: 0;
  padding-top: 0;
  text-align: center;
  width: 90%;
}

#atelier a:hover {
  opacity: 0.5;
  transition: 0.6s;
}

#atelier img {
  max-width: 100%;
  display: block;
}

/* =========================
   main（1画面分）
========================= */
#main {
  margin: 0 auto;
  width: 100%;
  position: relative;
  background-image: url(../image/main_pc.jpg);
  background-size: cover;
  background-position: left;

  /* コンテナと同じ高さ（＝1スナップぶん） */
  height: 100%;
  min-height: 100%;

  scroll-snap-align: start;
  scroll-snap-stop: always;
}

#main .bg {
  width: 100%;
}

#main .mainMesse {
  display: block;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

#main .mainMesse img {
  display: block;
  position: absolute;
  width: inherit;
  height: inherit;
  opacity: 0;
  object-fit: contain;
}

#main .mainMesse img.mainLogo {
  width: 30%;
  animation: none;
  right: 10%;
  left: auto;
  opacity: 1;
  z-index: 1;
}

#main .mainMesse img.message {
  height: 75%;
  animation: fade-in 3s ease-in-out 3s;
  animation-fill-mode: forwards;
  top: 50%;
  left: 24%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

#main .mainMesse .grayOverlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(50, 50, 50, 0.4);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  animation: overlay-fade-in 3s ease-in-out 3s;
  animation-fill-mode: forwards;
}

#main .mainMesse img {
  z-index: 2;
  position: absolute;
}

/* オーバーレイ用アニメーション */
@keyframes overlay-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fade-out {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* =========================
   look
========================= */
#look {
  width: 100%;
  height: auto;
  min-height: auto;
  overflow: visible;
}

#look .look-wrap {
  align-items: center;
}

/* 各 lookBox = 1スナップ分のパネル */
#look .look-wrap .lookBox {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;

  /* コンテナと同じ高さ（ヘッダーを引いたぶん） */
  height: calc(100vh - 80px);
  min-height: calc(100vh - 80px);

  scroll-snap-align: start;
  scroll-snap-stop: always;
  box-sizing: border-box;
}

#look .look-wrap .look-wrap__photo {
  display: block;
  position: relative;
  width: 100%;
  z-index: 1;
  height: 100%;
}

#look .look-wrap .look-wrap__photo img {
  object-fit: cover;
  height: 100%;
}

#look .look-wrap .look-wrap__photo.detaile {
  height: 100%;
}

#look .look-wrap .look-wrap__photo.detaile img {
  height: 60%;
  width: 100%;
  object-position: center;
}

/* A セクションだけ高さ調整したい場合 */
#look .look-wrap .look-wrap__photo.detaile.fir img {
  height: calc(100vh - 40%);
}

#look .look-wrap .look-wrap__photo.detaile .detailBox {
  height: 40%;
  position: relative;
}

#look .look-wrap .look-wrap__photo.detaile .detailBox .itemName {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

#look .look-wrap .look-wrap__photo.detaile .detailBox .items {
  display: flex;
  justify-content: space-between;
  width: 80%;
  margin: 0 auto 1.5vh;
  align-items: center;
}

#look .look-wrap .look-wrap__photo.detaile .detailBox .items:last-of-type {
  margin-bottom: 0;
}

#look .look-wrap .look-wrap__photo.detaile .detailBox .items .text {
  text-align: left;
  font-family: "futura-pt", sans-serif;
}

#look .look-wrap .look-wrap__photo.detaile .detailBox .items .text p.item {
  font-size: 2vh;
  font-weight: 500;
}

#look .look-wrap .look-wrap__photo.detaile .detailBox .items .text p.plice {
  font-size: 1.5vh;
  font-weight: 400;
}

#look .look-wrap .look-wrap__photo.detaile .detailBox .items a.buybtn {
  border: solid 1px #000;
  padding: 2px 16px;
  font-size: 1.5vh;
}

/* フェード系アニメーション（既存のまま） */
#look .look-wrap .look-wrap__photo .fade.three img:nth-of-type(1) {
  animation-delay: 0s;
}
#look .look-wrap .look-wrap__photo .fade.three img:nth-of-type(2) {
  animation-delay: 4s;
}
#look .look-wrap .look-wrap__photo .fade.three img:nth-of-type(3) {
  animation-delay: 8s;
}

#look .look-wrap .look-wrap__photo .fade.two img:nth-of-type(1) {
  animation-delay: 0s;
}
#look .look-wrap .look-wrap__photo .fade.two img:nth-of-type(2) {
  animation-delay: 4s;
}

@keyframes slideAnime01 {
  0% {
    opacity: 0;
  }
  16% {
    opacity: 1;
  }
  33% {
    opacity: 1;
  }
  49% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@keyframes slideAnime02 {
  0% {
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  75% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* =========================
   footer button（スナップ外）
========================= */
#bnrArea {
  background-color: #fff;
  padding: 120px 0;
}

.ftrBnr {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.ftrBnr li {
  width: 100%;
}

.ftrBnr li.buyBtn a {
  background-color: #e3dfde;
  color: #000;
  font-family: "futura-pt", sans-serif;
  display: block;
  font-size: 16px;
  font-weight: 500;
  margin: 0 auto;
  max-width: 600px;
  padding: 16px 20px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

/* =========================
   フェードアニメーション（sa）
========================= */
.sa {
  opacity: 0;
  transition: all 2s ease;
}

.sa.show {
  opacity: 1;
  transform: none;
}

.sa--lr {
  transform: translate(-100px, 0);
}

.sa--rl {
  transform: translate(100px, 0);
}

.sa--up {
  transform: translate(0, 100px);
}

.sa--down {
  transform: translate(0, -100px);
}

.sa--scaleUp {
  transform: scale(0.5);
}

.sa--scaleDown {
  transform: scale(1.5);
}

.sa--rotateL {
  transform: rotate(180deg);
}

.sa--rotateR {
  transform: rotate(-180deg);
}

/* =========================
   PC レイアウト補正
========================= */
@media screen and (max-width: 1024px) {
  #main {
    max-width: inherit;
    width: 100%;
    background-image: url(../image/main_sp.jpg);
  }
  #look {
    max-width: inherit;
    width: 70%;
  }
}

/* =========================
   SP レイアウト
========================= */
@media only screen and (max-width: 750px) {
  .pc {
    display: none !important;
  }
  .sp {
    display: block !important;
  }

  .contents_area_ {
    padding-top: 42px;
  }

  /* コンテナも dvh ベースに */
  #atelier {
    height: calc(100dvh - 42px);
    min-height: calc(100dvh - 42px);
    overflow-y: visible !important; /* 内部スクロール完全停止 */
    overflow-x: hidden !important;
  }

  /******************
  main（SP）
  *******************/
  #main {
    margin: 0 auto 80px;
    background-position: right -100px top 0;
    background-repeat: no-repeat;
    background-position: 80% center;
    position: relative;
    height: 100%;
    min-height: 100%;
  }

  #main .mainMesse {
    height: 100%;
  }

  #main img {
    display: block;
    position: absolute;
    bottom: 4%;
    left: 5%;
    width: 45%;
  }

  #main .mainMesse img.message {
    height: auto;
    width: 70%;
    animation: fade-in 3s ease-in-out 3s;
    animation-fill-mode: forwards;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
  }

  /******************
  look（SP）
  *******************/
  #look {
    margin: 0 auto;
    width: 100%;
  }

  #look .look-wrap .lookBox {
    display: grid;
    gap: 0;
    grid-template-columns: 1fr;
    width: 100%;

    /* コンテナと同じ：1画面分 */
    height: calc(100dvh - 42px);
    min-height: calc(100dvh - 42px);

    margin: 0 auto;
    padding: 5% 0 0;
    overflow: hidden;
  }

  #look .look-wrap img {
    display: block;
  }

  #look .look-wrap .look-wrap__photo.slider {
    display: block;
    position: relative;
    width: 64%;
    z-index: 1;
    height: 45dvh;
    margin: 0 auto;
  }

  #look .look-wrap .look-wrap__photo.detaile {
    height: 50dvh;
    width: 100%;
  }

  #look .look-wrap .look-wrap__photo {
    display: block;
    position: relative;
    width: 100%;
    z-index: 1;
  }

  #look .look-wrap .look-wrap__photo.detaile.fir img {
    height: 40%;
    width: 64%;
  }

  #look .look-wrap .look-wrap__photo.detaile img {
    height: 40%;
    width: 64%;
    object-position: center;
    margin: 0 auto;
  }

  #look .look-wrap .look-wrap__photo.detaile .detailBox {
    height: 50%;
    width: 80%;
    position: relative;
    margin: 0 auto;
  }

  #look .look-wrap .look-wrap__photo.detaile .detailBox .items {
    width: 100%;
    margin: 0 auto 6px;
    align-items: center;
  }

  #look .look-wrap .look-wrap__photo.detaile .detailBox .items .text p.item {
    font-size: 1.8dvh;
  }

  #look .look-wrap .look-wrap__photo.detaile .detailBox .items .text p.plice {
    font-size: 1.4dvh;
  }

  #look .look-wrap .look-wrap__photo.detaile .detailBox .items a.buybtn {
    border: solid 1px #000;
    padding: 2px 16px;
    font-size: 1.6dvh;
  }

  .slider {
    position: relative;
    width: 100%;
    max-width: 800px;
    overflow: hidden;
    margin: 0 auto;
  }

  .slider .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
  }

  .slider .slide.active {
    opacity: 1;
  }

  .ftrBnr li.buyBtn a {
    background-color: #e3dfde;
    color: #000;
    font-family: "futura-pt", sans-serif;
    display: block;
    font-size: 16px;
    font-weight: 500;
    margin: 0 auto;
    width: 60%;
    max-width: 300px;
    padding: 16px 20px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
  }
}
