@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital@0;1&family=Shippori+Mincho&display=swap');
/* reset */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, img, ins, kbd, q, s, samp, small, strike, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
* {
  box-sizing: border-box;
}
ol, ul {
  list-style: none;
}
html {
  font-size: 62.5%;
}
body {
  margin: 0;
  padding: 0;
  font-family: "Playfair Display", "Shippori Mincho", serif;
  font-weight: 400;
  font-size: 1.6rem;
  background: #000e12;
  line-height: 1.6;
}
/*-------------------------------------------

=cards

-------------------------------------------*/
.spacer {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}
.card-flip-wrap {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.cards {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  perspective: 1000px;
  background: transparent;
  transform-origin: center center;
}
.panel {
  flex: 1;
  height: 100%;
  margin-right: -1px;
  position: relative;
}
.panel:nth-child(1) {
  z-index: 3;
}
.panel:nth-child(2) {
  z-index: 2;
}
.panel:nth-child(3) {
  z-index: 1;
  margin-right: 0;
}
.card {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
}
.face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 0;
  overflow: hidden;
  z-index: 1;
  background-color: transparent;
}
.panel:first-child .face {
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}
.panel:last-child .face {
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}
.front img {
  position: absolute;
  top: 0;
  width: 300%;
  height: 100%;
  left: calc(var(--x) * -1);
  object-fit: cover;
  border-radius: inherit;
}
.back {
  background: linear-gradient(0deg, #601e02 0%, #fb4f03 100%);
  color: #fff;
  transform: rotateY(180deg);
  backface-visibility: hidden;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 2px 4px 0 rgba(255, 255, 255, 0.2);
}
.card-content {
  position: absolute;
  left: 2vw;
  font-size: 4.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  z-index: 2;
}
.top-txt {
  top: 2vw;
  font-family: "Shippori Mincho", serif;
  line-height: 1;
}
.bottom-txt {
  bottom: 2vw;
  font-size: 1.3rem;
  font-weight: normal;
  line-height: 1.8;
}
.back::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
  mix-blend-mode: overlay;
}
.back::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}
@media (max-width: 599px) {
  .cards {
    flex-direction: column;
  }
  .panel {
    margin-right: 0 !important;
    margin-bottom: -1px;
    width: 100%;
    overflow: hidden;
  }
  .panel:last-child {
    margin-bottom: 0;
  }
  .panel:first-child .face {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    border-bottom-left-radius: 0;
  }
  .panel:last-child .face {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    border-top-right-radius: 0;
  }
  .front img {
    width: 100% !important;
    height: 300% !important;
    left: 0 !important;
    object-fit: cover;
  }
  .panel:nth-child(1) .front img {
    top: 0;
  }
  .panel:nth-child(2) .front img {
    top: -100%;
  }
  .panel:nth-child(3) .front img {
    top: -200%;
  }
  .card-content {
    left: 5vw;
    font-size: 8vw;
  }
  .top-txt {
    top: 5vw;
  }
  .bottom-txt {
    bottom: 5vw;
    font-size: 3.5vw;
  }
}