@media screen and (max-width: 768px) {
  .pc {
    display: none;
  }
}

@media screen and (min-width: 769px) {
  .sp {
    display: none;
  }
}

.u-1000 {
  display: block;
}
@media screen and (max-width: 1000px) {
  .u-1000 {
    display: none;
  }
}

/*キャプション*/
figure { position: relative }
.cap_txt {
position: absolute;
font-size: 10px;
bottom: 5px;
}
.cap_R { right: 5px;}
.cap_L { left: 5px;}
.cap_W { color: #fff;}
.cap_B { color: #000;}
.cap_ShaW { text-shadow: 2px 0 2px #fff, -2px 0 2px #fff, 0 2px 2px #fff, 0 -2px 2px #fff;}
.cap_ShaB { text-shadow: 2px 0 2px #000, -2px 0 2px #000, 0 2px 2px #000, 0 -2px 2px #000;}


.wrap{
  width: 90%;
  max-width: 1000px;
  margin: auto;
}

.flex{
  display: flex;
}

main{
  color: #4d4948;
}

/* 背景画像 */
.bg-img{
  background-image: url("../img/bg.jpg");
  background-size: cover;
  background-position: center;
}

.mv {
  background-image: url("../img/mv.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
  width: 100%;
  height: 19.1666666667vw;
  min-height: 230px;
}

.mv figure {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 246px;
}

.text-containar {
  margin: auto;
  color: #4d4948;
  padding: 60px 0;
  font-feature-settings: "palt";
}
.text-containar h2 {
  width: clamp(250px, 30vw, 500px);
  max-height: 50px;
  text-align: center;
  object-fit: contain;
  margin: 0 auto 26px auto;
}

.text-containar h2 img {
  width: auto;
  height: 100%;
  max-height: 50px;
}

.text-containar h3{
  /* font-size: 26px; */
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 44px;
  letter-spacing: 0.16em;
  margin-bottom: 16px;
  text-align: center;
}

.text-containar p {
  margin-top: 25px;
  font-size: clamp(16px, 1.8vw, 18px);
  text-align: center;
  line-height: 2;
  letter-spacing: 0.1em;
}

.sec01,.sec02,.sec03,.sec04 {
  overflow: hidden;
}

/*アニメーション*/

.slide-left {
    visibility: visible;
    animation: clip 0.8s both;
}

.slide-left.is-animeted {
    overflow: hidden;
    visibility: hidden;
    transition: clip-path 0.8s;
}

.slide-left.is-animeted img {
  scale:1;
}

.slide-left img {
  scale: 1.05;
  transition: scale 2s;
}

@keyframes clip {
    0% {
      clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
    }
    100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}

.slide-right {
    visibility: visible;
    animation: clip2 0.8s both;
}

.slide-right.is-animeted{
    overflow: hidden;
    visibility: hidden;
    transition: clip-path 0.8s;
}

.slide-right.is-animeted img {
  scale:1;
}

.slide-right img {
  scale: 1.05;
  transition: scale 2s;
}


@keyframes clip2 {
  0% {
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  }
  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}




/* sec01
-------------------------------------------------------------*/

.sec01 .img-container {
  padding-bottom: 80px;
}

/* sec03,sec04
-------------------------------------------------------------*/
.sec03,.sec04 {
  background-image: url("../img/bg_layerd.png");
  background-size: cover;
  background-position: center;
}
.flex .img-container,
.flex .text-containar {
  width: 50%;
}

.sec03 .text-containar ,
.sec04 .text-containar  {
  display:flex;
  margin: 0;
  padding: 0;
  justify-content: center;
  align-items: center;
}


.sec03 .text-containar h2,
.sec04 .text-containar h2 {
  width: clamp(200px, 19vw, 300px);
  margin: 0 auto 40px auto;
}

.sec03 .text-containar h3,
.sec04 .text-containar h3 {
  /* font-size: 26px; */
  font-size: clamp(14px, 1.6vw, 20px);
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.sec03 .text-containar p,
.sec04 .text-containar p  {
  margin-top: 0px;
  font-size: clamp(12px, 1.3vw, 16px);
  letter-spacing: 0.05em;
}

/* sec04
-------------------------------------------------------------*/

.sec04 .flex {
  flex-direction: row-reverse;
}


/* ノート */
.notes {
  padding-bottom: 60px;
}
.design-n {
  padding-top: 60px;
}
@media screen and (max-width: 999px) {

}
.notes p {
  text-align: left;
  font-size: 10px;
  letter-spacing: 0.065em;
  line-height: 12px;
  margin: 0;
}

@media screen and (max-width: 768px) {
  .mv {
    min-height: 67px;
  }
  .mv figure {
    width: clamp(129px, 36.8571428571vw, 246px);
  }
  .text-containar {
    margin: 0;
    padding: 40px 0;
  }
  .text-containar h2 {
    width: clamp(280px, 50vw, 500px);
  }
  .text-containar h3{
    font-size: clamp(20px, 3.5vw, 24px);
    line-height: 1.7;
  }

  .text-containar p {
    font-size: clamp(14px, 2.38vw, 16px);
    letter-spacing: 0.05em;
    line-height: 2.5;
  }

  /* sec01
-------------------------------------------------------------*/

  .sec01 .img-container {
    padding-bottom: 50px;
  }


  /* sec03,sec04
  -------------------------------------------------------------*/
  .sec03 .flex,
  .sec04 .flex {
    flex-wrap: wrap;
  }

  .flex .img-container,
  .flex .text-containar {
    width: 100%;
  }

  .sec03 .text-containar ,
  .sec04 .text-containar  {
    padding: 40px 0;
    width: 90%;
    margin: 0 auto;
  }

  .sec03 .text-containar h3,
  .sec04 .text-containar h3 {
    font-size: clamp(20px, 3.5vw, 24px);
    letter-spacing: 0.05em;
    margin-bottom: 20px;
  }

  .sec03 .text-containar p,
  .sec04 .text-containar p  {
    margin-top: 0px;
    font-size: clamp(14px, 2.38vw, 16px);
    letter-spacing: 0.05em;
    line-height: 2.5;
  }
/* sec04
-------------------------------------------------------------*/

  .sec04 .flex {
    flex-direction:unset;
  }
  
}
