@charset "UTF-8";
@font-face {
  font-family: "huiwen-mincho";
  src: url(/kchappiness/font/huiwen-mincho.woff2);
}

:root {
  --font-family: "微軟正黑體", "Open sans", "Helvetica Neue", HelveticaNeue, Helvetica, Arial, sans-serif;
  --font-styled: "huiwen-mincho", "Open sans", "Helvetica Neue", HelveticaNeue, Helvetica, Arial, sans-serif;
  --font-jf: 'jf-jinxuan', "微軟正黑體",
        "Open sans",
        "Helvetica Neue",
        HelveticaNeue,
        Helvetica,
        Arial,
        sans-serif;
  --light: #FDF1E7;
  --beige: #F9D9A8;
  --white: #ffffff;
  --dark: #290406;
  --brown: #4E0A0C;
  --black: #0E0605;
}

body::after {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  z-index: -1;
  content: url(/kchappiness/images/bg.jpg), url(/kchappiness/images/bg-2.jpg), url(/kchappiness/images/btn_hand.png), url(/kchappiness/images/p2-yt-frame.png), url(/kchappiness/images/footer.jpg), url(/kchappiness/images/btn-start_active.png), url(/kchappiness/images/record-bg.png), url(/kchappiness/images/nav-top_sm.png), url(/kchappiness/images/nav-bottom_sm.png), url(/kchappiness/images/results-img.png), url(/kchappiness/images/reels-frame.png), url(/kchappiness/images/btn-record.png);
}

body,
html {
  width: 100%;
  font-family: var(--font-family);
  background-color: var(--beige);
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

.font-styled {
  font-family: var(--font-styled);
}

.font-styled-inner {
  font-family: var(--font-styled);
  letter-spacing: 0.1em;
  line-height: 2;
}

.multiline-ellipsis {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.main-page {
  background: url(/kchappiness/images/bg.jpg) repeat center/200px;
}

.bg-2 {
  background: url(/kchappiness/images/bg-2.jpg) no-repeat center/cover;
}

.wrapper {
  margin: 0 auto;
  max-width: 1200px;
  padding: 60px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 40px;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

@media screen and (max-width: 768px) {
  .wrapper {
    gap: 20px;
    padding: 40px 10px;
  }
}

.section-title {
  height: 40px;
}

@media screen and (max-width: 768px) {
  .section-title {
    height: auto;
    width: 90%;
  }
}

.btn,
.btnRecord {
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

.btn:hover,
.btnRecord:hover {
  -webkit-transform: translate(2px, 2px);
          transform: translate(2px, 2px);
}

.btn-w-hand {
  position: relative;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

.btn-w-hand:hover {
  -webkit-transform: translate(2px, 2px);
          transform: translate(2px, 2px);
}

.btn-w-hand:after {
  position: absolute;
  content: "";
  width: 60%;
  height: 70%;
  bottom: -20%;
  right: -30%;
  background: url(/kchappiness/images/btn_hand.png) no-repeat center/contain;
}

.yt-video-box {
  background: url(/kchappiness/images/p2-yt-frame.png) no-repeat center/contain;
}

@media screen and (max-width: 768px) {
  .yt-video-box {
    background: url(/kchappiness/images/p2-yt-frame_sm.png) no-repeat center/contain;
  }
}

.riverItem .r-item-name {
  position: absolute;
  bottom: -20px;
  left: -2%;
  width: 40%;
  color: var(--brown);
}

.riverItem .r-item-title {
  position: absolute;
  top: 40%;
  right: -2%;
  width: 60%;
  height: 50%;
  color: var(--brown);
  padding: 0 20px;
}

@media screen and (max-width: 768px) {
  .riverItem {
    font-size: 12px;
  }
}

.permission-text {
  font-family: var(--font-styled);
  font-size: 25px;
  color: #271405;
  letter-spacing: 0.1em;
  line-height: 2;
  white-space: pre-wrap;
  text-align: left;
}

@media screen and (max-width: 768px) {
  .permission-text {
    font-size: 14px;
  }
}

.container::-webkit-scrollbar {
  width: 10px;
}

.container::-webkit-scrollbar-thumb {
  background-color: #EEB053;
  border-radius: 20px;
}

.container::-webkit-scrollbar-thumb:vertical {
  background: transparent url(/kchappiness/images/scrollbar-thumb.png) no-repeat;
  background-size: 10px 60px;
  background-position: center;
  display: block;
}

@media screen and (max-width: 768px) {
  .sound-record-bg[data-active=true] {
    height: 100svh;
    background: url(/kchappiness/images/record-info-content-bottom_sm.png) no-repeat bottom/contain, url(/kchappiness/images/record-info-content-top_sm.png) no-repeat center 18%/contain;
  }
}

footer {
  background: url(/kchappiness/images/footer.jpg) repeat-x center/auto 100%;
}

.btnStart {
  position: relative;
}

.btnStart:before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
  background: url(/kchappiness/images/btn-start_active.png) no-repeat left/contain;
}

.btnStart:after {
  position: absolute;
  content: "";
  width: 30px;
  height: 30px;
  bottom: -15%;
  right: -12%;
  background: url(/kchappiness/images/btn_hand.png) no-repeat center/contain;
}

@media screen and (max-width: 768px) {
  .btnStart:after {
    bottom: -50%;
    right: -24%;
  }
}

.btnStart:after:hover:before {
  opacity: 1;
}

.input-control {
  border: #EFB77D 2px solid;
  padding: 10px 20px;
  border-radius: 6px;
}

.input-control::-webkit-input-placeholder {
  font-family: var(--font-jf);
  letter-spacing: 0.03em;
  text-align: center;
}

.input-control:-ms-input-placeholder {
  font-family: var(--font-jf);
  letter-spacing: 0.03em;
  text-align: center;
}

.input-control::-ms-input-placeholder {
  font-family: var(--font-jf);
  letter-spacing: 0.03em;
  text-align: center;
}

.input-control::placeholder {
  font-family: var(--font-jf);
  letter-spacing: 0.03em;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .input-control {
    padding: 6px 14px;
  }
}

.video-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%;
}

.video-container .responsive-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

.permission-text-box {
  aspect-ratio: 1.45;
  height: 100%;
  background: url(/kchappiness/images/record-bg.png) no-repeat center/contain;
}

@media screen and (max-width: 768px) {
  .permission-text-box {
    aspect-ratio: 0.87;
    background: url(/kchappiness/images/record-bg_sm.png) no-repeat center/contain;
  }
}

.embla {
  --slide-spacing: 1rem;
  --slide-size: 100%;
  --slide-height: 19rem;
}

.embla__viewport {
  overflow: hidden;
}

.embla__container {
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-touch-action: pan-y;
      touch-action: pan-y;
  margin-left: calc(var(--slide-spacing) * -1);
}

.embla__slide {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 var(--slide-size);
          flex: 0 0 var(--slide-size);
  min-width: 0;
  padding-left: var(--slide-spacing);
  position: relative;
}

.embla__slide__img {
  display: block;
  height: var(--slide-height);
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.embla__slide__number {
  width: 4.6rem;
  height: 4.6rem;
  z-index: 1;
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  border-radius: 50%;
  background-color: rgba(var(--background-site-rgb-value), 0.85);
  line-height: 4.6rem;
  font-weight: 900;
  text-align: center;
  pointer-events: none;
}

.embla__slide__number > span {
  color: var(--brand-primary);
  background-image: linear-gradient(45deg, var(--brand-primary), var(--brand-secondary));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.6rem;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.embla__button {
  -webkit-appearance: none;
  background-color: transparent;
  -ms-touch-action: manipulation;
      touch-action: manipulation;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  padding: 0;
  margin: 0;
}

.embla__buttons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  left: 1.6rem;
}

.embla__button {
  z-index: 1;
  color: var(--background-site);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  cursor: pointer;
  width: 4rem;
  height: 4rem;
}

.embla__button:disabled {
  opacity: 0.3;
}

.embla__button__svg {
  width: 65%;
  height: 65%;
}

.arrow {
  border: solid white;
  border-width: 0 3px 3px 0;
  padding: 3px;
  height: 30px;
  width: 30px;
}

@media screen and (max-width: 768px) {
  .arrow {
    height: 20px;
    width: 20px;
  }
}

.right {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

.left {
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
}

.reels-frame {
  position: relative;
}

.reels-frame::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: url(/kchappiness/images/reels-frame.png) no-repeat center/contain;
}

.btnRecord {
  height: 100%;
  width: 100%;
  aspect-ratio: 1;
  background: url(/kchappiness/images/btn-record.png) no-repeat center/contain;
}

.river-wrapper1b {
  position: absolute;
  top: 0;
  right: 0;
}

.river-wrapper2a {
  position: absolute;
  top: 200px;
  right: 0;
}

@media screen and (max-width: 768px) {
  .river-wrapper2a {
    top: 130px;
  }
}

.river-wrapper2b {
  position: absolute;
  top: 200px;
  right: 0;
}

@media screen and (max-width: 768px) {
  .river-wrapper2b {
    top: 130px;
  }
}

@-webkit-keyframes marqueeA {
  0% {
    -webkit-transform: translateX(100%);
            transform: translateX(100%);
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
}

@keyframes marqueeA {
  0% {
    -webkit-transform: translateX(100%);
            transform: translateX(100%);
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
}

@-webkit-keyframes marqueeB {
  0% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(-100%);
            transform: translateX(-100%);
  }
}

@keyframes marqueeB {
  0% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(-100%);
            transform: translateX(-100%);
  }
}

.note {
  position: absolute;
  height: 60px;
  -webkit-animation: float 4s ease-in-out infinite;
          animation: float 4s ease-in-out infinite;
}

.note[data-num="1"] {
  top: 20%;
  left: 33%;
  -webkit-animation: float 4s ease-in-out infinite -1s;
          animation: float 4s ease-in-out infinite -1s;
}

.note[data-num="2"] {
  top: 50%;
  left: 53%;
  -webkit-animation: float 4s ease-in-out infinite -2s;
          animation: float 4s ease-in-out infinite -2s;
}

.note[data-num="3"] {
  top: 28%;
  left: 13%;
  -webkit-animation: float 4s ease-in-out infinite -3s;
          animation: float 4s ease-in-out infinite -3s;
}

.note[data-num="4"] {
  top: 60%;
  left: 20%;
  -webkit-animation: float 4s ease-in-out infinite -4s;
          animation: float 4s ease-in-out infinite -4s;
}

.note[data-num="5"] {
  top: 54%;
  left: 73%;
  -webkit-animation: float 4s ease-in-out infinite -5s;
          animation: float 4s ease-in-out infinite -5s;
}

.note[data-num="6"] {
  top: 20%;
  left: 68%;
  -webkit-animation: float 4s ease-in-out infinite -2s;
          animation: float 4s ease-in-out infinite -2s;
}

.note[data-num="7"] {
  top: 75%;
  left: 86%;
  -webkit-animation: float 4s ease-in-out infinite -2s;
          animation: float 4s ease-in-out infinite -2s;
}

.note[data-num="8"] {
  top: 51%;
  left: 86%;
  -webkit-animation: float 4s ease-in-out infinite -3s;
          animation: float 4s ease-in-out infinite -3s;
}

.note[data-num="9"] {
  top: 43%;
  left: 26%;
  -webkit-animation: float 4s ease-in-out infinite -1s;
          animation: float 4s ease-in-out infinite -1s;
}

@-webkit-keyframes float {
  0% {
    -webkit-transform: translatey(0px);
            transform: translatey(0px);
  }
  50% {
    -webkit-transform: translatey(-40px);
            transform: translatey(-40px);
  }
  100% {
    -webkit-transform: translatey(0px);
            transform: translatey(0px);
  }
}

@keyframes float {
  0% {
    -webkit-transform: translatey(0px);
            transform: translatey(0px);
  }
  50% {
    -webkit-transform: translatey(-40px);
            transform: translatey(-40px);
  }
  100% {
    -webkit-transform: translatey(0px);
            transform: translatey(0px);
  }
}

.deco-img {
  max-height: 300px;
}

.naveItem {
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

.naveItem[data-active="true"] {
  -webkit-transform-origin: right;
          transform-origin: right;
  -webkit-transform: scale(1.08);
          transform: scale(1.08);
}

.mb-nav {
  background: url(/kchappiness/images/nav-top_sm.png) no-repeat top/contain, url(/kchappiness/images/nav-bottom_sm.png) no-repeat bottom/contain, -webkit-gradient(linear, left top, right top, from(#703024), to(#703024));
  background: url(/kchappiness/images/nav-top_sm.png) no-repeat top/contain, url(/kchappiness/images/nav-bottom_sm.png) no-repeat bottom/contain, linear-gradient(to right, #703024, #703024);
}

.river-note {
  position: relative;
}

.river-note:before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  background: url(/kchappiness/images/deco-note-bg.png) no-repeat center 70%/120%;
}

@media screen and (max-width: 768px) {
  .river-note:before {
    background: url(/kchappiness/images/deco-note-bg.png) no-repeat center/300%;
  }
}

.sound-results {
  position: relative;
}

.sound-results:after {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  background: url(/kchappiness/images/results-deco-front_L.png) no-repeat left/30% 100%, url(/kchappiness/images/results-deco-front_R.png) no-repeat right/30% 100%, url(/kchappiness/images/deco-note-bg.png) no-repeat center 70%/120%;
  pointer-events: none;
}

@media screen and (max-width: 768px) {
  .sound-results:after {
    background: url(/kchappiness/images/deco-note-bg.png) no-repeat center 60%/300%;
  }
}

.dialog-text {
  font-size: 18px;
  font-weight: 600;
  font-family: var(--font-jf);
  letter-spacing: 0.03em;
  line-height: 2em;
}

.event-info-text {
  font-family: var(--font-jf);
  letter-spacing: 0.03em;
  line-height: 2em;
}

.event-info-text h3 {
  font-size: 18px;
  font-family: var(--font-jf);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1;
  margin-top: 20px;
  margin-bottom: -20px;
}

.event-info-text h2 {
  font-size: 20px;
  font-family: var(--font-jf);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1;
  margin-top: 20px;
  margin-bottom: -10px;
}

@media screen and (max-width: 768px) {
  .event-info-text {
    font-size: 12px;
  }
  .event-info-text h3 {
    font-size: 14px;
  }
  .event-info-text h2 {
    font-size: 12px;
  }
}

.record-top-text {
  font-family: var(--font-jf);
}

.record-results-img {
  background: url(/kchappiness/images/results-img.png) no-repeat center/contain;
}
/*# sourceMappingURL=main.css.map */