@charset "UTF-8";

/* Common */
.l-container-wrap .l-container-wrap__body {
  padding-bottom: 0;
}

.p-page-brewing .cc-static-fv {
  --bg-image: url(../img/page/brewing/brewing-fv-bg.webp);
}

.p-page-brewing .cc-static-fv + .p-page-section {
  margin-top: 0;
}

.p-page-section:last-child {
  margin-bottom: 0;
}

.p-page-section--has-bg {
  background:
    var(--bg-image, none)
    center / cover
    no-repeat;
}

.p-page-section__inner {
  width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.p-page-section .cc-heading {
  margin-bottom: 4rem;
}

.p-page-section__body {
  display: grid;
  grid-template-columns: 100%;
  gap: 2.8rem;
  line-height: 1.714;
  letter-spacing: 0.1em;
}

.p-page-section__sub-heading {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  font-size: 3rem;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

.p-page-section__sub-heading span {
  font-size: 1.2rem;
}

/* Mooto */
.p-page-motto {
  color: var(--color-white);
}

.p-page-motto .p-page-section__inner {
  display: grid;
}

/* Chief & Introduction */
.p-page-section-group {
  display: grid;
  grid-template-columns: 100%;
}

/* Chief */
.p-page-chief {
  color: var(--color-white);
}

.p-page-chief__separator {
  width: 100%;
  border-color: currentColor;
}

.p-page-chief__profile :where(ul, ol) {
  padding-left: 1.5em;
}

.p-page-chief__profile :where(ul > li) {
  list-style-type: disc;
}

/* Introduction */
.p-page-intro {
  grid-area: 2 / 1 / 4 / 2;
  color: var(--color-white);
}

.p-page-intro__heading {
  font-size: 3rem;
  text-align: center;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

.p-page-intro__kurabito-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.p-page-intro__kurabito-item-caption {
  margin-top: 1rem;
  text-align: center;
  line-height: 1.714;
  letter-spacing: 0.1em;
}

@media (max-width: 767px) {
  /* Common */
  .p-page-section:where(:not(.p-page-section--has-bg)) {
    margin: 6rem 0;
  }

  .p-page-section--has-bg .p-page-section__inner {
    padding: 6rem var(--container-padding);
  }

  /* Mooto */
  .p-page-motto {
    --bg-image: url(../../img/page/brewing/brewing-motto-bg_sp.webp);
  }

  .p-page-motto .p-page-section__inner {
    gap: 3rem;
  }

  /* Chief & Introduction */
  .p-page-section-group {
    --section-overlap-height: 16.8rem; /* セクションの重なり範囲の高さ */
    grid-template-rows: auto var(--section-overlap-height, 0px) auto;
  }

  .p-page-section-group::before {
    content: "";
    display: block;
    grid-area: 1 / 1 / 3 / 1;
    width: 100%;
    height: 100%;
    background:
      url(../../img/page/brewing/brewing-chief-bg_sp.webp)
      center / cover
      no-repeat;
  }
  
  /* Chief */
  .p-page-chief {
    grid-area: 1 / 1 / 2 / 2;
  }

  .p-page-chief .p-page-section__inner {
    padding: 4rem 0 6rem;
  }

  .p-page-chief .p-page-section__body {
    padding: 0 var(--container-padding);
  }

  /* Introduction */
  .p-page-intro {
    background:
      linear-gradient(
        to bottom,
        rgb(0 0 0 / 0.7) var(--section-overlap-height, 0px),
        rgb(0 0 0 / 1) var(--section-overlap-height, 0px)
      );
  }

  .p-page-intro__heading {
    margin-bottom: 3rem;
  }

  .p-page-intro__kurabito-list {
    gap: 2rem 1rem;
  }

  .p-page-intro__kurabito-item-caption {
    font-size: 1.6rem;
  }
}

@media (min-width: 768px) {
  /* Common */
  .p-page-section:where(:not(.p-page-section--has-bg)) {
    margin: 10rem 0;
  }

  .p-page-section--has-bg .p-page-section__inner {
    padding: 10rem var(--container-padding);
  }

  /* Mooto */
  .p-page-motto {
    --bg-image: url(../../img/page/brewing/brewing-motto-bg_pc.webp);
  }

  .p-page-motto .p-page-section__inner {
    grid-template-columns: 550fr 480fr;
    align-content: start;
    gap: 6.363%;
    padding-bottom: 11.2rem;
  }

  /* Chief & Introduction */
  .p-page-section-group {
    --section-overlap-height: 22rem; /* セクションの重なり範囲の高さ */
    grid-template-rows: 70rem var(--section-overlap-height, 0px) auto;
  }
  
  /* Chief */
  .p-page-chief {
    --bg-image: url(../../img/page/brewing/brewing-chief-bg_pc.webp);
    grid-area: 1 / 1 / 3 / 1;
  }

  .p-page-chief .p-page-section__body {
    padding-right: min(500 *(100vw / 1400), 500px);
  }

  /* Introduction */
  .p-page-intro {
    background:
      linear-gradient(
        to bottom,
        rgb(0 0 0 / 0.7) var(--section-overlap-height, 0px),
        rgb(0 0 0 / 1) var(--section-overlap-height, 0px)
      );
  }

  .p-page-intro__heading {
    margin-bottom: 4rem;
  }

  .p-page-intro__kurabito-list {
    gap: 2rem 6.363%;
  }

  .p-page-intro__kurabito-item-caption {
    font-size: 1.8rem;
  }
}
