:root {
  --indigo: #000B4A;
  --white: #fff;
  --sunset-orange: #EB5252;
  --lavender: #7D4BF2;
  --yellow: #FFE66B;
  --indigo: #2C3F46;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "IBM Plex Sans JP", sans-serif;
  font-feature-settings: "palt";
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  line-height: 1.8;
  color: var(--white);
  background: var(--indigo);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  display: flex;
  justify-content: center;
}

.main {
  max-width: 480px;
  width: 100%;
  position: relative;
  background: var(--indigo);
}

.header {
  display: flex;
  justify-content: flex-end;
  padding: 12px 8px 4px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}

.button--ticket {
  border: 1px solid #FFF;
  background: linear-gradient(158deg, #D0B113 0.71%, #71BFB6 100%);
  color: white;
  line-height: 1.5;
  font-weight: 700;
  border: 1px solid var(--white);
  padding: 4px 12px 2px;
  border-radius: 100vmax;
}

.hero {
  position: relative;
}

.hero__image {
  width: 100%;
}

.hero__sub-image {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: auto;
  animation: fadeup 2s ease-out forwards;
}

.about {
  display: flex;
  flex-direction: column;
  padding: 20px 20px 40px;
  color: var(--white);
  margin-top: -40px;
  position: relative;
  z-index: 5;
}

.about__title {
  font-size: 18px;
  line-height: 1.8;
  font-weight: 700;
  margin-bottom: 16px;
  color: #FFED91;
  letter-spacing: 0.16em;
}

.about__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about__img {
  margin-top: 8px;
  width: 100%;
}

.section-title {
  text-align: center;
}

.content-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 20px 40px;
}

.beers {
  position: relative;
}

.beers__title {
  font-size: 20px;
  text-align: center;
}

.beer-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.beer {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.beer__image {
  width: 41%;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 9px;
  text-align: center;
  line-height: 1.4;
}

.beer__detail {
  width: 59%;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 8px;
}

.beer__name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.beer__feature {
  font-size: 12px;
  line-height: 1.4;
}

.beer__tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 2px;
}

.beer__tag {
  padding: 4px 4px 2px;
  color: var(--white);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  line-height: 140%;
  letter-spacing: -0.02em;
}

.beer__tag--jazzberry {
  background-color: #F33565;
}

.beer__tag--afterdark {
  background-color: #D37414;
}

.beer__tag--brooklyn {
  background-color: #D39014;
}

.beer__tag--yuzu {
  background-color: #C03C36;
}

.beer__radar {
  width: 70%;
  margin: 4px auto 0;
}

.beer__more-beers {
  text-align: center;
  font-weight: 700;
  font-size: 16px;
}

.beer__special {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  position: relative;
  margin-top: 16px;
}

.beer__special::before,
.beer__special::after {
  position: absolute;
  width: 40px;
  height: 40px;
  content: '';
}

.beer__special::before {
  border-left: solid 1px var(--yellow);
  border-top: solid 1px var(--yellow);
  top: 0;
  left: 0;
}

.beer__special::after {
  border-right: solid 1px var(--yellow);
  border-bottom: solid 1px var(--yellow);
  bottom: 0;
  right: 0;
}

.beer__special-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.beer__special-balloon {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--indigo);
  background: var(--yellow);
  border-radius: 4px;
  padding: 4px 8px 2px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
}

.beer__special-balloon::before {
  content: "";
  display: inline-block;
  background: url(../img/deco_balloon.svg) no-repeat center center;
  background-size: contain;
  width: 14px;
  height: 13px;
}

.beer__special-balloon::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 3px solid transparent;
  border-left: 3px solid transparent;
  border-top: 6px solid var(--yellow);
  border-bottom: 0;
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
}

.beer__special-description {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
}

.beer__special-description span {
  color: var(--yellow);
}

.foods {
  position: relative;
}

.food-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 0 auto;
  padding: 0 8px 16px;
}

.food__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.food__img {
  width: 100%;
  height: auto;
}

.food__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.food__more-foods {
  text-align: center;
  font-weight: 700;
  font-size: 16px;
}

.food__note {
  text-align: center;
  font-size: 10px;
  margin-top: -16px;
}

.ticket {
  background: linear-gradient(158deg, #CCAB6F 0.71%, #BEC693 55.96%, #B3BC83 100%);
  position: relative;
  padding: 60px 20px;
}

.ticket::before {
  content: "";
  display: block;
  width: 80px;
  height: 40px;
  background: var(--indigo);
  border-radius: 50% / 0 0 100% 100%;
  position: absolute;
  top: 0rem;
  left: 0;
  right: 0;
  margin: 0 auto;
}

.ticket::after {
  content: "";
  display: block;
  width: 80px;
  height: 40px;
  background: var(--indigo);
  border-radius: 50% / 100% 100% 0 0;
  position: absolute;
  bottom: 0rem;
  left: 0;
  right: 0;
  margin: 0 auto;
}

.section-sub-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  width: 100%;
  text-align: center;
  margin-bottom: 4px;
}

.ticket__prices {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 8px;
  line-height: 1.4;
}

.ticket__type {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: calc(50% - 4px);
  text-align: center;
  padding: 32px 0px 40px;
  position: relative;
  border-radius: 8px;
  color: var(--indigo);
  border: 1px solid var(--indigo);
}

.ticket--preorder {
  background: linear-gradient(128deg, #B0E1C6 0.14%, #76E0A6 100.32%);
}

.ticket--same-day {
  background-color: none;
}

.ticket__price {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.ticket__amount {
  font-size: 28px;
  font-weight: bold;
}

.ticket__tax {
  font-size: 12px;
}

.ticket__discount {
  width: 80px;
  background-color: var(--indigo);
  color: var(--white);
  padding: 4px 4px 2px;
  border-radius: 4px;
  position: absolute;
  top: -10px;
  right: 0;
  left: 0;
  margin: 0 auto;
  font-weight: 700;
  line-height: 1.4;
}

.ticket__discount span {
  position: relative;
}

.ticket__discount span::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 3px solid transparent;
  border-left: 3px solid transparent;
  border-top: 6px solid var(--indigo);
  border-bottom: 0;
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
}

.ticket__addition {
  border-top: 1px dotted var(--indigo);
  border-bottom: 1px dotted var(--indigo);
  padding: 16px 12px;
  text-align: center;
}

.ticket__description span {
  font-weight: 700;
  font-size: 16px;
}

.ticket__description {
  color: var(--indigo);
}

.ticket-button-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.button--purchase {
  display: inline-block;
  background: #DFDC4B;
  box-shadow: 0px 0px 16px 0px rgba(67, 78, 75, 0.60);
  color: var(--indigo);
  padding: 20px 24px 16px;
  font-size: 24px;
  width: 100%;
  border-radius: 100vmax;
  text-align: center;
  font-weight: 700;
  position: relative;
}

.button--purchase::after {
  content: "";
  display: block;
  width: 28px;
  height: 28px;
  background: url(../img/btn-arrow.svg) no-repeat center center;
  background-size: contain;
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
}

.button--disabled {
  opacity: 50%;
  pointer-events: none;
}

.ticket-note {
  font-size: 12px;
  color: var(--indigo);
}

.access {
  position: relative;
}

.map-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.acsess__sub-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.access__details {
  font-size: 12px;
}

.faq__accodion {
  padding: 8px 0 0;
}

.faq__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin-top: 28px;
  padding-bottom: 12px;
  border-bottom: 1px solid #A2A2A2;
}

.faq__title:nth-of-type(1) {
  margin-top: 0;
}

.faq__item {
  border-bottom: 1px solid #A2A2A2;
  padding: 12px 0;
}

.faq__question {
  cursor: pointer;
  position: relative;
  padding-right: 28px;
}

.faq__question::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease-out;
  background: url(../img/circle-down.svg) no-repeat center center;
  width: 28px;
  height: 28px;
}

.faq__item.active .faq__question::after {
  transform: translateY(-50%) rotate(180deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  font-size: 12px;
}

.faq__item.active .faq__answer {
  max-height: auto;
  padding: 0;
  margin-top: 4px;
}

.faq__link {
  color: var(--yellow);
  text-decoration: underline;
}

.footer {
  padding: 20px 0 20px;
  font-size: 12px;
}

.footer__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.footer__event-title {
  margin-bottom: 4px;
  text-align: center;
}


.footer__events-list {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.footer__line {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}

.footer__logo {
  max-width: 160px;
}

.footer__copyright {
  margin-top: 10px;
  font-size: 0.8em;
}

.present {
  pointer-events: none;
  opacity: 60%;
}

.left-block,
.right-block {
  display: none;
}

/* フローティングアクションパネル */
.floating-panel {
  position: fixed;
  bottom: 20px;
  right: -240px;
  /* 初期状態では画面外 */
  width: 220px;
  border-radius: 4px;
  padding: 4px 8px 8px;
  background: var(--gradation, linear-gradient(158deg, #CCAB6F 0.71%, #BEC693 55.96%, #B3BC83 100%));
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: right 0.6s ease;
  z-index: 1000;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.floating-panel.show {
  right: 8px;
  /* 表示状態 */
}

.floating-panel__copy {
  position: relative;
}

.floating-panel__copy::before {
  content: "";
  background: url(../img/deco_floating-copy.svg) no-repeat center center;
  background-size: contain;
  display: block;
  width: 18px;
  height: 20px;
  position: absolute;
  top: 50%;
  left: -22px;
  transform: translateY(-50%);
}

.floating-panel__close {
  position: absolute;
  top: 4px;
  right: 4px;
  cursor: pointer;
  color: #fff;
  display: flex;
}

.floating-panel__btn {
  display: block;
  background: #4394B4;
  padding: 6px 16px 4px 16px;
  border-radius: 100vmax;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

/* 要素フェイドイン用 */
.fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.5s, transform 1s;
}

.fade.active {
  opacity: 1;
  transform: translateY(0px);
}

@media screen and (min-width: 640px) {
  .main {
    max-width: 424px;
    margin: 0 auto;
  }

  .left-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 40px 0px 40px 40px;
    height: 100vh;
    position: sticky;
    top: 0;
    overflow: hidden;
    background: #597076;
  }

  .menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-top: 1px solid var(--yellow);
    border-bottom: 1px solid var(--yellow);
    border-left: 1px solid var(--yellow);
  }

  .menu__anchor {
    display: flex;
    flex-direction: column;
    padding: 20px 0;
    border-top: 1px dashed var(--yellow);
    border-bottom: 1px dashed var(--yellow);
  }

  .menu__anchor li {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 6px 0px;
    color: var(--yellow);
    font-size: 16px;
    font-weight: 700;
  }

  .menu__anchor li::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 7px solid var(--black);
    border-right: 0;
  }

  .float-btn {
    right: 32px;
    bottom: 32px;
    margin: 0;
    width: 120px;
    height: 120px;
    font-size: 20px;
  }

  .right-block {
    display: none;
  }

  .button--ticket {
    left: auto;
    right: auto;
    top: 0;
    margin: 12px 0 0 334px;
  }
}

@media screen and (min-width: 1080px) {
  .right-block {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex: 1;
    padding: 40px 40px 40px 0;
    height: 100vh;
    position: sticky;
    top: 0;
    overflow: hidden;
    background: #597076;
  }

  .right-block__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-top: 1px solid var(--yellow);
    border-bottom: 1px solid var(--yellow);
    border-right: 1px solid var(--yellow);
  }

  .right-block__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-radius: 8px;
    border: 1px dashed var(--yellow, #FFE66B);
    padding: 20px 20px 16px;
  }

  .note {
    text-align: right;
    margin-bottom: auto;
    font-size: 16px;
    line-height: 1.3;
  }
}