@charset "utf-8";

/*----------
KV
----------*/
.kv {
  background-color: #ffffff;
}

.kv .container {
  width: 100%;
  margin: 60px auto 0;
}

@media only screen and (min-width: 768px) {
  .kv .container {
    max-width: 900px;
  }
}


/*----------
LEAD
----------*/
.lead .container {
  width: 100%;
  margin: 60px auto 0;
}

.lead p {
  font-size: min(2.7906976744186047vw, 12px);
  line-height: 2;
  color: #000000;
  text-align: center;
  margin-block: var(--leading-trim);
}

@media only screen and (min-width: 768px) {
  .lead .container {
    width: 900px;
    margin: 120px auto 0;
  }
}


/*----------
TITLE
----------*/
.title .container {
  width: 100%;
  margin: 60px auto 0;
}

.title .bg-boy {
  background-color: #6A9092;
}

.title .bg-girl {
  background-color: #D5B0AC;
}

.title .bg-baby {
  background-color: #E3C66A;
}

.title .image {
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.title .snow-boy1 {
  width: 5.81%;
  position: absolute;
  top: 39.5%;
  left: 17.5%;
  transform: translate(-50%,-50%);
}

.title .snow-boy2 {
  width: 7.44%;
  position: absolute;
  top: 48.5%;
  left: 81.5%;
  transform: translate(-50%,-50%);
}

.title .snow-girl1 {
  width: 6.97%;
  position: absolute;
  top: 46%;
  left: 14%;
  transform: translate(-50%,-50%);
}

.title .snow-girl2 {
  width: 5.81%;
  position: absolute;
  top: 52.5%;
  left: 54.5%;
  transform: translate(-50%,-50%);
}

.title .snow-baby1 {
  width: 5.58%;
  position: absolute;
  top: 26.5%;
  left: 28.5%;
  transform: translate(-50%,-50%);
}

.title .snow-baby2 {
  width: 6.97%;
  position: absolute;
  top: 45%;
  left: 66.5%;
  transform: translate(-50%,-50%);
}

.title.is-active .snow-boy1, 
.title.is-active .snow-girl1, 
.title.is-active .snow-baby1 {
  animation: fall 6s linear infinite, sway1 2s ease-in-out infinite alternate;
}

.title.is-active .snow-boy2, 
.title.is-active .snow-girl2, 
.title.is-active .snow-baby2 {
  animation: fall 8s linear infinite, sway2 2s ease-in-out infinite alternate;
}

@keyframes fall {
  to {
    top: 120vh;
  }
}

@keyframes sway1 {
  from {
    transform: translateX(0px) rotate3d(0);
  }
  to {
    transform: translateX(-30px) rotate3d(1,1,1,-720deg);
  }
}

@keyframes sway2 {
  from {
    transform: translateX(0px) rotate3d(0);
  }
  to {
    transform: translateX(30px) rotate3d(1,1,1,720deg);
  }
}

.title .text p {
  width: calc(100% - 40px * 2);
  margin: 0 auto;
  padding-top: 20px;
  font-size: min(2.7906976744186047vw, 12px);
  line-height: 2;
  color: #000000;
  text-align: left;
  margin-block: var(--leading-trim);
}

@media only screen and (min-width: 768px) {
  .title .container {
    margin: 120px auto 0;
  }

  .title .image {
    width: 700px;
  }

  .title .snow-boy1 {
    width: 6%;
    top: 40%;
    left: 17%;
  }

  .title .snow-boy2 {
    width: 7.5%;
    top: 48%;
    left: 81%;
  }

  .title .snow-girl1 {
    width: 7%;
    top: 46%;
    left: 14%;
  }

  .title .snow-girl2 {
    width: 6%;
    top: 52%;
    left: 54%;
  }

  .title .snow-baby1 {
    width: 5.5%;
    top: 26%;
    left: 29%;
  }

  .title .snow-baby2 {
    width: 7%;
    top: 45%;
    left: 66%;
  }

  .title .text {
    width: 900px;
    margin: 0 auto;
    padding: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .title .text img {
    width: 400px;
  }

  .title .text p {
    width: 350px;
    margin: 0;
    padding: 0;
  }
}


/*----------
SLIDE
----------*/
.slide .container {
  width: 100%;
  margin: 40px auto 0;
}

.swiper-wrapper {
  transition-timing-function: linear;
}

.swiper-slide img {
  height: auto;
  width: 100%;
  border-radius: 10px;
}


/*----------
ITEM
----------*/
.items .container {
  margin: 60px auto 0;
}

.items .item-group {
  width: 100%;
  position: relative;
}

.items .item-area {
  width: 100%;
  height: 180vw;
  padding-top: 30px;
  position: sticky;
  top: 0;
  z-index: 1;
  opacity: 0;
  /* filter: blur(5px); */
  /* transition: opacity 1s ease-in-out, filter 1.5s ease-in-out; */
  transition: opacity 0.5s ease-in-out;
  overflow: hidden;
}

.items .item-area.is-visible {
  opacity: 1;
  /* filter: blur(0); */
}

.items .item-area:nth-of-type(n+2) {
  padding-top: calc(var(--pad-top) + 30px);
  pointer-events: none;
}

.items h4 {
  line-height: 1.5;
  text-align: center;
  margin-block: var(--leading-trim);
  position: relative;
  z-index: 99;
}

#boy.items h4 {
  color: #006622;
}

#girl.items h4 {
  color: #CC0000;
}

#baby.items h4 {
  color: #C5990A;
}

.items h4 span:nth-of-type(1) {
  font-size: min(3.7209302325581395vw, 16px);
}

.items h4 span:nth-of-type(2) {
  font-size: min(3.255813953488372vw, 14px);
}

.items .item-img {
  width: 81.39%;
  max-width: 350px;
  margin: 40px auto 0;
  pointer-events: auto;
}

.items .item-img img {
  border-radius: 10px;
}

.items .rotate5 img {
  transform: rotate(5deg);
}

.items .rotate10 img {
  transform: rotate(10deg);
}

.items .rotate15 img {
  transform: rotate(15deg);
}

.items .rotate-3 img {
  transform: rotate(-3deg);
}

.items .rotate-5 img {
  transform: rotate(-5deg);
}

.items .rotate-10 img {
  transform: rotate(-10deg);
}

.items .modal-link {
  padding-top: 50px;
  font-size: min(3.255813953488372vw, 14px);
  line-height: 1.5;
  text-align: center;
  margin-block: var(--leading-trim);
}

#boy.items .modal-link {
  color: #006622;
}

#girl.items .modal-link {
  color: #CC0000;
}

#baby.items .modal-link {
  color: #C5990A;
}

.items .credit-area {
  width: calc(100% - 50px * 2);
  margin: 0 auto;
}

.items .credit-area .credit {
  margin: 10px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.items .credit-area .credit .name {
  font-size: min(2.3255813953488373vw, 10px);
  line-height: 1.5;
  color: #000000;
  text-align: center;
  margin-block: var(--leading-trim);
}

.items .credit-area .credit .btn {
  font-size: min(2.7906976744186047vw, 12px);
  line-height: 1.5;
  color: #ffffff;
  text-align: center;
  padding: 0px 15px;
  background-color: #000000;
  border: 1px solid #000000;
  transition: 0.3s cubic-bezier(0.45, 0, 0.55, 1);
}

.items .credit-area .credit .btn:hover {
  color: #000000;
  background: #ffffff;
}

.items .otherlink {
  margin: 0 auto;
  text-align: center;
}

.items .otherlink .btn {
  display: flex;
  justify-content: center;
  align-items: center;
}

.items .otherlink .btn a {
  padding: 10px 34px 10px 50px;
  background-color: #ffffff;
  border: 1px solid #000000;
  border-radius: 50px;
  transition: 0.3s cubic-bezier(0.45, 0, 0.55, 1);
}

.items .otherlink .btn .text {
  font-size: min(2.7906976744186047vw, 12px);
  line-height: 1.5;
  color: #000000;
  text-align: center;
  margin-block: var(--leading-trim);
}

.items .otherlink .btn .arrow {
  position: relative;
  display: inline-block;
  width: 6px;
  height: 1px;
  margin: 3px 0 3px 10px;
  border-radius: 9999px;
  background-color: #000000;
}

.items .otherlink .btn .arrow::before,
.items .otherlink .btn .arrow::after {
  content: "";
  position: absolute;
  top: calc(50% - 0.5px);
  right: 0;
  width: 5px;
  height: 1px;
  border-radius: 9999px;
  background-color: #000000;
  transform-origin: calc(100% - 0.5px) 50%;
}

.items .otherlink .btn .arrow::before {
  transform: rotate(45deg);
}

.items .otherlink .btn .arrow::after {
  transform: rotate(-45deg);
}

.items .otherlink .btn a:hover {
  background-color: #000000;
}

.items .otherlink .btn a:hover .text {
  color: #ffffff;
}

.items .otherlink .btn a:hover .arrow, 
.items .otherlink .btn a:hover .arrow::before, 
.items .otherlink .btn a:hover .arrow::after {
  background-color: #ffffff;
}

@media only screen and (min-width: 768px) {
  .items .container {
    margin: 120px auto 0;
  }

  .items .item-inner {
    width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }

  .items .item-group {
    width: 500px;
    order: 2;
  }

  .items .item-area {
    height: 750px;
    padding-top: 50px;
  }

  .items .item-area:nth-of-type(n+2) {
    padding-top: calc(var(--pad-top) + 50px);
  }

  .items .item-img {
    margin: 60px auto 0;
  }

  .items .item-logo {
    position: sticky;
    top: 0;
    width: 400px;
    height: 750px;
    order: 1;
  }

  .items .item-logo img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 300px;
  }
}


/*----------
ANIMATION
----------*/
/* フェードイン */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}