@charset "UTF-8";

/* Top Common
------------------------------------------------------------- */
.p-page-home .c-loadingImage__item {
  z-index: 1;
}

:is(.s-top-mv, .p-page-home) :where(img, video, iframe) {
  width: 100%;
  height: auto;
}

.p-page-home {
  padding-bottom: 6rem;
}

.s-top-section {
  margin: 6rem 0;
}

.s-top-section:last-child {
  margin-bottom: 0;
}

.s-top-section .cc-heading {
  padding: 0 1.5rem;
}

.s-top-section .cc-heading {
  width: var(--container-width);
  margin: 0 auto 3rem;
}

:is(.s-top-mv, .p-page-home) :is(.cc-button--primary, .cc-button--secondary, .cc-button--tertiary) {
  text-transform: uppercase;
}

.s-top-section :is(.cc-button--primary, .cc-button--secondary, .cc-button--tertiary) {
  margin: 3rem auto 0;
}

@media (min-width: 768px) {
  .p-page-home {
    padding-bottom: 10rem;
  }

  .s-top-section {
    margin: 10rem 0;
  }

  .s-top-section .cc-heading {
    margin-bottom: 3rem;
    padding: 0;
  }
}


/* MV
------------------------------------------------------------- */
:where(#rootTemplate) > .s-top-mv {
  display: none;
}

.p-page-home .s-top-mv {
  display: block;
}

.s-top-mv {
  overflow: hidden;
  position: relative;
}

.s-top-mv__logo {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
  width: 18.595rem;
  margin: auto;
}

.s-top-mv__scroll {
  position: absolute;
  left: 50%;
  bottom: 4rem;
  z-index: 1;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 1.6rem;
  font-size: 1.3rem;
  text-align: center;
  color: var(--color-white);
}

.s-top-mv__scroll::before {
  content: "";
  display: inline-block;
  width: 0.1rem;
  height: 5rem;
  background-color: currentColor;
  animation: scrollLine 2s ease-in-out infinite;
}

.s-top-mv__visual {
  overflow: hidden;
}

.s-top-mv__visual:has(iframe),
.s-top-mv__visual :is(img, video) {
  position: relative;
  width: 100%;
  height: calc(100svh - var(--header-height, 0px));
}

.s-top-mv__visual-inner {
  position: absolute !important;
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  height: auto;
  padding: 0 !important;
  transform: translate(-50%, -50%);
}

.s-top-mv__visual-inner iframe {
  pointer-events: none;
}

/* PC: 動画 426:226 */
.s-top-mv__visual-inner.u-hidden-md-down {
  aspect-ratio: 426 / 226;
  width: max(100%, calc((100svh - var(--header-height, 0px)) * 426 / 226));
}

/* SP: 動画 240:390 */
.s-top-mv__visual-inner.u-hidden-md-up {
  aspect-ratio: 240 / 390;
  width: max(100%, calc((100svh - var(--header-height, 0px)) * 240 / 390));
}

.s-top-mv__visual :is(img, video) {
  object-fit: cover;
}

.s-top-mv__visual iframe {
  height: 100%;
  pointer-events: none;
}

@media (min-width: 768px) {
  :where(#rootTemplate) > .s-top-mv {
    display: block;
  }

  .p-page-home .s-top-mv {
    display: none;
  }

  .s-top-mv__logo {
    width: 18.595rem;
  }

  .s-top-mv__scroll {
    bottom: 6rem;
  }
}

@keyframes scrollLine {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  51% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}


/* Brand
------------------------------------------------------------- */
.s-top-brand {
  --hover-transition: 1s ease;
  height: calc(100svh - var(--header-height, 0px));
}

.s-top-brand__inner {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  height: 100%;
}

.s-top-brand__item {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}

.s-top-brand__item-hero {
  position: relative;
}

.s-top-brand__item-hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 4rem;
  background:
    linear-gradient(
      to bottom,
      transparent 0%,
    #fff 100%
    );
}

.s-top-brand__item-hero-bg {
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.s-top-brand__item-hero-bg :where(img) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.s-top-brand__item-caption {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.9rem 1.5rem;
}

.s-top-brand__item-lead {
  font-size: 1.1rem;
  line-height: 1.4;
  text-align: center;
  letter-spacing: 0.1em;
}

.s-top-brand__item-logo {
  flex-shrink: 0;
}

.s-top-brand__item-logo-image {
  height: 3.2rem;
}

.s-top-brand__item-logo-image :where(img) {
  width: auto;
  height: 100%;
}

.s-top-brand__item-logo-arrow {
  display: none;
}

@media (min-width: 768px) {
  .s-top-brand__item-hero::after {
    height: 12rem;
    transition: height var(--hover-transition);
  }

  .s-top-brand__item-hero-bg :where(img) {
    transition: transform var(--hover-transition);
  }

  .s-top-brand__item-caption {
    justify-content: space-between;
    flex-direction: row;
    gap: 4rem;
    width: min(78.5714%, calc(1100 *(100vw / 1400)));
    margin: 0 auto;
    padding: 2rem 0;
  }

  .s-top-brand__item-lead {
    font-size: 1.8rem;
    text-align: left;
  }

  .s-top-brand__item-logo {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
  }

  .s-top-brand__item-logo-image {
    height: 4.8rem;
  }

  .s-top-brand__item-logo-arrow {
    display: block;
    opacity: 0;
    transform: translate(-1rem, 0);
    transition:
      opacity var(--hover-transition),
      transform var(--hover-transition);
  }

  @media (hover: hover) {
    .s-top-brand__item:hover .s-top-brand__item-hero::after {
      height: 100%;
    }
    
    .s-top-brand__item:hover .s-top-brand__item-hero-bg :where(img) {
      transform: scale(1.028);
    }

    .s-top-brand__item:hover .s-top-brand__item-logo-arrow {
      opacity: 1;
      transform: translate(0, 0);
    }
  }
}


/* Top Common Mask Section (Tour, Reservation)
------------------------------------------------------------- */
.s-top-mask {
  position: relative;
  height: 200vh;
}

.s-top-mask__inner {
  overflow: hidden;
  position: sticky;
  top: var(--header-height, 0px);
  width: 100%;
  height: calc(100vh - var(--header-height, 0px));
}

.s-top-mask__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.s-top-mask__image--second {
  -webkit-clip-path: inset(100% 0px 0px 0px);
  clip-path: inset(100% 0px 0px 0px);
  z-index: 1;
}

.s-top-mask__image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  background-color: rgb(0 0 0 / 10%);
}

.s-top-mask__image-inner {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 140%;
  background: center / cover no-repeat;
  transform: translateY(-50%);
}

.s-top-mask__image--first .s-top-mask__image-inner {
  inset: 0;
  height: 100%;
  background-image: var(--first-image-url);
  transform: none !important;
}

.s-top-mask__image--second .s-top-mask__image-inner {
  background-image: var(--second-image-url);
}

.s-top-mask__contents {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  pointer-events: none;
}

.s-top-mask__contents--first {
  z-index: 10;
}

.s-top-mask__contents--second {
  z-index: 11;
}

.s-top-mask__contents-inner {
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  color: var(--color-white);
  text-align: center;
  pointer-events: auto;
}

.s-top-mask__heading {
  font-size: 3rem;
  line-height: 2.25;
  letter-spacing: 0.1em;
}

.s-top-mask__lead {
  margin-top: 2rem;
  font-size: 1.6rem;
  letter-spacing: 0.1em;
}

.s-top-mask__body {
  display: grid;
  grid-template-columns: 100%;
  gap: 6rem;
  font-size: 1.3rem;
  line-height: 2.57;
  letter-spacing: 0.1em;
}

.s-top-mask__heading-group + .s-top-mask__body {
  margin-top: 8rem;
}

.s-top-mask__body .cc-button--secondary {
  margin: 0 auto;
}

/* フェードインアニメーション用 */
.s-top-mask .js-fade-item {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.s-top-mask .js-fade-item.is-visible {
  opacity: 1;
}

@media (min-width: 768px) {
  .s-top-mask__contents-inner {
    width: var(--container-width);
    padding: 0;
  }

  .s-top-mask__lead {
    margin-top: 6rem;
  }

  .s-top-mask__heading-group + .s-top-mask__body {
    margin-top: 16rem;
  }

  .s-top-mask__body {
    gap: 10rem;
  }
}


/* Top Tour
------------------------------------------------------------- */
.s-top-tour {
  --first-image-url: url(../img/top/tour/bg-1_sp.webp);
  --second-image-url: url(../img/top/tour/bg-2_sp.webp);
  margin-top: 0;
}

@media (min-width: 768px) {
  .s-top-tour {
    --first-image-url: url(../img/top/tour/bg-1_pc.webp);
    --second-image-url: url(../img/top/tour/bg-2_pc.webp);
  }
}

/* Top Reservation
------------------------------------------------------------- */
.s-top-reservation {
  --first-image-url: url(../img/top/reservation/bg-1_sp.webp);
  --second-image-url: url(../img/top/reservation/bg-2_sp.webp);
  margin-bottom: 6rem;
}

@media (min-width: 768px) {
  .s-top-reservation {
    --first-image-url: url(../img/top/reservation/bg-1_pc.webp);
    --second-image-url: url(../img/top/reservation/bg-2_pc.webp);
    margin-bottom: 10rem;
  }
}


/* Top Tasting
------------------------------------------------------------- */
.s-top-tasting__inner {
  display: grid;
  grid-template-columns: 100%;
  margin: 0 1.5rem;
  background-color: #EDEDED;
}

.s-top-tasting__keyvisual-inner {
  display: block;
  width: 100%;
  height: 100%;
}

.s-top-tasting__keyvisual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.s-top-tasting__contents {
  padding: 3rem 2rem;
}

.s-top-tasting__heading {
  font-size: 1.6rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1em;
}

.s-top-tasting__paragraph {
  margin-top: 1rem;
  font-size: 1.4rem;
  letter-spacing: 0.1em;
}

.s-top-tasting__modal-set {
  margin-top: 3rem;
}

.s-top-tasting__modal-set .cc-button--tertiary {
  margin-top: 0;
  cursor: pointer;
}

.s-top-tasting__modal-set .m-modalBox {
  overflow-y: visible;
  padding: 0;
  color: var(--color-text-default);
}

.s-top-tasting__modal-set .m-modalBox__outer {
  overflow-y: auto;
  overscroll-behavior-y: contain;
  width: 100%;
  max-width: 100%;
  max-height: 100%;
  padding: 5rem 1.45rem;
  border-radius: 0;
}

.s-top-tasting__modal-set .m-modalBoxHeding__closeBtn {
  top: 1rem;
  right: 1.45rem;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  gap: 0.2rem;
  width: fit-content;
  height: 4.1rem;
  padding: 0;
  font-size: 1rem;
  color: currentColor;
  letter-spacing: 0.1em;
}

.s-top-tasting__modal-set .m-modalBoxHeding__closeBtn::before {
  content: "";
  transform: none;
  width: 2.4rem;
  height: 2.4rem;
  margin: 0;
  padding: 0;
  background:
    url(../../assets/img/common/icon/icon-close.svg)
    center / contain
    no-repeat;
}

.s-top-tasting__modal-heading-group {
  margin-bottom: 4rem;
  text-align: center;
}

.s-top-tasting__modal-heading {
  display: inline;
  padding: 1rem 1rem 0.5rem;
  font-size: 2.4rem;
  color: var(--color-white);
  font-weight: var(--fw-semibold);
  line-height: 1.85;
  letter-spacing: 0.1em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  background-color: var(--color-theme-main);
}

.s-top-tasting__modal-sub-heading {
  margin-top: 2rem;
  font-size: 1.4rem;
  line-height: 1.71;
  letter-spacing: 0.1em;
}

.s-top-tasting__results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: subgrid;
  gap: 3rem 0.9rem;
  margin-top: 6rem;
}

.s-top-tasting__item {
  position: relative;
  display: grid;
  align-content: space-between;
  grid-row: span 2;
  gap: 2rem;
}

.s-top-tasting__item img {
  width: 5.8rem;
  margin: 0 auto;
}

.s-top-tasting__item-caption {
  text-align: center;
}

.s-top-tasting__item-name {
  margin-top: 1rem;
  font-size: 1.3rem;
}

.s-top-tasting__item-name span {
  font-size: 1rem;
}

.s-top-tasting__item-price {
  margin-top: 1.5rem;
}

.s-top-tasting__item .cc-button--tertiary {
  width: 100%;
  height: 4.8rem;
}

@media (max-width: 767px) {
  .s-top-tasting__results {
    counter-reset: resultCounter;
  }

  .s-top-tasting__item {
    counter-increment: resultCounter;
  }

  .s-top-tasting__item::before {
    /* content: counter(resultCounter, upper-alpha); */
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    display: grid;
    place-content: center;
    width: 4.8rem;
    height: 4.8rem;
    font-size: 1.3rem;
    color: var(--color-white);
    text-align: center;
    letter-spacing: 0.1em;
    background-color: var(--color-theme-main);
  }

  .s-top-tasting__item:nth-of-type(1)::before {
    content: "い";
  }

  .s-top-tasting__item:nth-of-type(2)::before {
    content: "ろ";
  }

  .s-top-tasting__item:nth-of-type(3)::before {
    content: "は";
  }

  .s-top-tasting__item:nth-of-type(4)::before {
    content: "に";
  }
}

@media (min-width: 768px) {
  .s-top-tasting__inner {
    grid-template-columns: min(37.5%, 30rem) minmax(0, 1fr);
    width: var(--container-width);
    margin: 0 auto;
  }

  .s-top-tasting__paragraph {
    margin-top: 2rem;
  }

  .s-top-tasting__modal-set .m-modalBox {
    padding: 10vh 0;
  }
  
  .s-top-tasting__modal-set .m-modalBox__outer {
    width: 92%;
    max-width: 110rem;
    padding: 5rem 9%;
  }

  .s-top-tasting__modal-set .m-modalBoxHeding__closeBtn {
    top: 2rem;
    right: 2rem;
  }

  .s-top-tasting__modal-heading-group {
    margin-bottom: 3rem;
  }

  .s-top-tasting__results {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0;
    margin-top: 0.14rem;
  }
  
  .s-top-tasting__item {
    flex: 0 0 20.02224694%;
    gap: 1.5rem;
  }
  
  .s-top-tasting__item:nth-of-type(2) {
    margin-left: 4.89432703%;
  }
  
  .s-top-tasting__item:nth-of-type(3) {
    margin-left: 10.567297%;
  }
  
  .s-top-tasting__item:nth-of-type(4) {
    margin-left: auto;
  }

  .s-top-tasting__item img {
    width: 7.2rem;
  }

  .s-top-tasting__item .cc-button--tertiary {
    height: 4.8rem;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .s-top-tasting__item .cc-button--tertiary {
    font-size: 0.9rem;
  }
}

@media (min-width: 1020px) {
  .s-top-tasting__contents {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 5.6rem 3rem 3rem 4rem;
    gap: 1rem;
  }

  .s-top-tasting__modal-set {
    margin-top: 0;
    align-self: end;
  }
}


/* Top Brewery
------------------------------------------------------------- */
.s-top-brewery {
  position: relative;
  color: var(--color-white);
  background:
    url(../img/top/brewery/brewery-bg_sp.webp)
    center / cover
    no-repeat;
}

.s-top-brewery::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  background-color: var(--color-image-overlay-black);
}

.s-top-brewery__inner {
  position: relative;
  z-index: 1;
  width: var(--container-width);
  margin: 0 auto;
  padding: 7rem 1rem 6rem;
}

.s-top-brewery__heading {
  width: 18.755rem;
  margin: 0 auto;
}

.s-top-brewery__paragraph {
  margin-top: 5rem;
  font-size: 1.6rem;
  text-align: center;
  line-height: 2.25;
  letter-spacing: 0.1em;
}

.s-top-brewery__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 2.5rem;
  margin: 4rem auto 0;
  padding: 0 0.5rem;
}

.s-top-brewery__links .cc-button--arrow {
  width: 100%;
}

@media (min-width: 768px) {
  .s-top-brewery {
    background-image: url(../img/top/brewery/brewery-bg_pc.webp)
  }
  
  .s-top-brewery__inner {
    padding: 10.3rem 0 10.4rem;
  }
  
  .s-top-brewery__paragraph {
    line-height: 3;
  }
  
  .s-top-brewery__links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 6rem;
    width: 60rem;
    padding: 0;
  }
}


/* Top Column
------------------------------------------------------------- */
.s-top-column__list {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 1.5rem;
  width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.s-top-column__list .cc-column-item {
  flex: 0 0 24rem;
}

@media (min-width: 768px) {
  .s-top-column__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4.6rem;
    padding: 0;
  }
}


/* Top News
------------------------------------------------------------- */
.s-top-news .cc-heading {
  padding: 0;
}

.s-top-news__inner {
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.s-top-news__list {
  display: grid;
  grid-template-columns: 100%;
}

.s-top-news__item {
  border-bottom: 1px solid var(--color-theme-sub);
}

.s-top-news__item-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.6rem;
  align-items: center;
  gap: 1rem;
  padding: 2rem 1rem;
  font-size: 1.4rem;
  line-height: 1.75;
  letter-spacing: 0.02em;
}

.s-top-news__item-inner::after {
  content: "";
  display: block;
  aspect-ratio: 1;
  background:
    url(../img/common/icon/icon-circle-arrow-black.svg)
    center / 100%
    no-repeat;
}

.s-top-news__item-text {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.s-top-news__item-text dd {
  display: none;
}

.s-top-news__item-body a {
  text-decoration: underline;
}

.s-top-news__empty {
  padding: 3rem 1rem;
  font-size: 1.4rem;
  line-height: 1.75;
  letter-spacing: 0.02em;
  border-top: 1px solid var(--color-theme-sub);
  border-bottom: 1px solid var(--color-theme-sub);
}

@media (min-width: 768px) {
  .s-top-news .cc-heading {
    width: 100%;
  }

  .s-top-news__inner {
    display: grid;
    grid-template-columns: 27rem minmax(0, 1fr);
    grid-template-areas:
      "heading contents"
      "bottom bottom";
    align-items: start;
    column-gap: min(7.2%, 8rem);
    width: var(--container-width);
    padding: 0;
  }

  .s-top-news__inner .cc-heading {
    grid-area: heading;
  }

  .s-top-news__contents {
    grid-area: contents;
    margin-top: 1.6rem;
  }

  .s-top-news__item:first-of-type {
    border-top: 1px solid var(--color-theme-sub);
  }

  .s-top-news__item-inner {
    gap: 1rem;
    padding: 3rem 1rem;
  }

  .s-top-news__item-text {
    flex-direction: row;
    align-items: flex-start;
    gap: 4.7rem;
  }

  .s-top-news__item-published {
    flex-shrink: 0;
  }

  .s-top-news__empty {
    padding: 3rem 1rem;
  }

  .s-top-news__inner .cc-button--tertiary {
    grid-area: bottom;
  }
}
