@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;600;700&family=Inter:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

body {
  font-family: 'Noto Sans JP', 'Inter', sans-serif;
  letter-spacing: 0.1em;
}

.eng {
  font-family: "Roboto", sans-serif;
}

.bg-festa-green {
  background-color: #7d9c8c;
}

.text-festa-green {
  color: #194248;
}

.text-red {
  color: #ba5140;
}

.border-festa-green {
  border-color: #7d9c8c;
}

.bg-festa-gold {
  background-color: #bfa46f;
}

.text-festa-gold {
  color: #bfa46f;
}

.bg-festa-red {
  background-color: #ba5140;
}

.bg-events {
  background-color: #edece0;
}

.hero-gradient {
  background: url('images/main-bg.jpg');
  background-size: cover;
  background-position: center;
}

.hero-gradient-end {
  background: url('images/main-bg.jpg');
  background-size: cover;
  background-position: center;
  background-color: rgba(255, 255, 255, 0.4);
  background-blend-mode: lighten;
}

/* Header Transitions */
nav {
  transition: all 0.4s ease-out;
}

nav.scrolled {
  background-color: white !important;
}

nav .nav-link {
  color: white;
  transition: color 0.4s ease-out;
}

nav.scrolled .nav-link {
  color: #111111 !important;
}

nav .logo-text {
  opacity: 0;
  transition: opacity 0.4s ease-out;
  cursor: pointer;
}

nav.scrolled .logo-text {
  opacity: 1;
}

/* Mobile Menu */
#mobile-menu {
  transition: transform 0.3s ease-in-out;
  transform: translateX(100%);
}

#mobile-menu.active {
  transform: translateX(0);
}

.hamburger-line {
  transition: all 0.3s ease-in-out;
}

.hamburger-active .line-1 {
  transform: translateY(7px) rotate(45deg);
}

.hamburger-active .line-2 {
  opacity: 0;
}

.hamburger-active .line-3 {
  transform: translateY(-7px) rotate(-45deg);
}



.mv-illust {
  position: absolute;
  bottom: 90px;
  left: 0;
  right: 0;
  margin: auto;
  width: 60%;
}


/* Shop Card Styles */
.shop-card {
  display: flex;
  height: 180px;
}

.shop-card-img-container {
  position: relative;
  width: 180px;
  height: 180px;
  flex-shrink: 0;
}

.shop-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #e5e5e5;
}

.date-badge {
  position: absolute;
  top: -10px;
  left: 5px;
  width: 45px;
  height: auto;
  z-index: 10;
}

.shop-card-content {
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.description {
  color: #333333;
}

.tag-food {
  background-color: #dfd9be !important;
  color: #9b8841;
}

.tag-workshop {
  background-color: #c8c3e0 !important;
  color: #8173b3;
}

.tag-goods {
  background-color: #ccdfd5 !important;
  color: #629c81;
}


/* Speech Bubble */
.speech-bubble {
  position: relative;
  background: white;
  border: 2px solid #c84c32;
  border-radius: 30px;
  padding: 6px 24px;
  display: inline-block;
  inline-size: fit-content;
  color: #c84c32;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: calc(100%/2);
  border-width: 12px 12px 0 0;
  border-style: solid;
  border-color: #c84c32 transparent transparent transparent;
}

.speech-bubble::before {
  content: '';
  position: absolute;
  bottom: -8px;
  left: calc(100%/2);
  border-width: 10px 10px 0 0;
  border-style: solid;
  border-color: white transparent transparent transparent;
  z-index: 1;
}

@media (min-width: 768px) {
  .speech-bubble::after {
    left: 31px;
  }

  .speech-bubble::before {
    left: 31px;
  }
}


#consultation {
  background: url(./images/bg.jpg) no-repeat center bottom;
}

/* Marquee Animation */
.marquee-container {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  padding: 20px 0 0;
}

.marquee-content {
  display: inline-block;
  animation: marquee 15s linear infinite;
}

.marquee-item {
  display: inline-block;
  width: 150px;
  height: auto;
  margin-right: 50px;
}

@keyframes marquee {
  0% {
    transform: translateX(100vw);
  }

  100% {
    transform: translateX(-100%);
  }
}


.ribbon {
  --r: .8em;
  /* control the cutout */

  padding-right: calc(var(--r) + .72em);
  line-height: 1.8;
  clip-path: polygon(-100vw 0, 100% 0, calc(102% - var(--r)) 50%, 100% 100%, -100vw 100%);
  border-image: conic-gradient(#ba5140 0 0) fill 0 //100vw;
    width: fit-content;
}