@charset "UTF-8";

/* Root Variables */
:root {
  /* Color */
  --color-orange: #ee5341;
  --color-orange-shadow: #f3a9a1;
  --color-orange-light: #ffcdbe;
  --color-yellow: #ffaf3f;
  --color-yellow-light: #ffd9a3;
  --color-black: #000;
  --color-gray: #d6d6d6;

  /* Font */
  --font-base: 'Noto Sans JP', sans-serif;
  --font-weight-bold: 700;

  /* Layout */
  --content-width: 1000px;

  /* Transition */
  --transition: 0.3s ease;
}

/* Global Styles */
html {
  font-family: var(--font-base);
  font-size: calc(1000vw / 375);

  @media (min-width: 769px) {
    font-size: 16px;
  }
}

body {
  background-color: var(--color-white);
  line-height: 1.7;
  font-size: 1.3rem;
  color: var(--color-black);
  overflow: hidden;

  @media (min-width: 769px) {
    font-size: 1rem;
  }

  * {
    box-sizing: border-box;
  }

  a {
    text-decoration: none;
  }

  figure {
    text-align: center;
  }

  .img {
    display: block;
    text-align: center;
  }

  img {
    height: auto;
    max-width: 100%;
    object-fit: contain;
    vertical-align: bottom;
  }

  .sp {
    display: block;

    @media (min-width: 769px) {
      display: none;
    }
  }

  .pc {
    display: none;

    @media (min-width: 769px) {
      display: block;
    }
  }
}

.main {
  font-family: var(--font-base);
  text-align: center;

  @media (min-width: 769px) {
    &.has-fixed-page-nav {
      padding-top: 60px;
    }
  }
}

.section {
  position: relative;
  padding: 4rem 0;

  @media (min-width: 769px) {
    padding: 100px 0;
  }

  .section_inner {
    position: relative;
    padding: 0 1.5rem;

    > *:last-child {
      margin-bottom: 0;
    }
  }

  .section_content {
    position: relative;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 1rem;

    @media (min-width: 769px) {
      max-width: 1000px;
      margin-inline: auto;
      padding: 40px;
      border-radius: 25px;
    }

    &:has(.section_body) {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;

      @media (min-width: 769px) {
        flex-direction: row;
        justify-content: space-between;
        gap: unset;
        padding: 60px;

        .btn {
          margin-left: 0;
        }
      }
    }

    &.section_content_reverse {
      @media (min-width: 769px) {
        flex-direction: row-reverse;
      }
    }
  }

  .section_image {
    border-radius: 0.5rem;
    overflow: hidden;

    @media (min-width: 769px) {
      width: 48%;
    }
  }

  .section_body {
    @media (min-width: 769px) {
      width: 48%;
    }
  }

  .section_lead {
    margin-bottom: 2rem;

    @media (min-width: 769px) {
      margin-bottom: 30px;
    }
  }

  .section_text {
    margin-bottom: 2rem;

    @media (min-width: 769px) {
      margin-bottom: 1rem;
    }
  }
}

#menu,
#safety,
#frying,
#rice,
#concept_safety {
  background-color: var(--color-orange);

  .section_inner {
    padding-top: 6rem;
    padding-bottom: 1.5rem;
    background: #fff;
    border-radius: 0 0 2rem 2rem;
    background:
      url(/lab/machikado/img/section_divider.svg) top center / contain no-repeat,
      linear-gradient(to bottom, var(--color-orange) 18vw, #fff 18vw);

    @media (min-width: 769px) {
      padding-top: 190px;
      padding-bottom: 100px;
      border-radius: 0 0 35px 35px;
      background:
        url(/lab/machikado/img/section_divider.svg) top center / contain no-repeat,
        linear-gradient(to bottom, var(--color-orange) 18vw, #fff 18vw);
    }
  }
}

#frying,
#rice,
#concept_safety {
  .section_inner {
    @media (min-width: 769px) {
      padding-top: 140px;
    }
  }

  .section_content {
    @media (min-width: 769px) {
      margin-top: 50px;
    }

    &::before {
      content: '';
      display: block;
      position: absolute;
      top: -1.7rem;
      left: 3rem;
      height: 3rem;
      width: 3rem;
      background-position: center;
      background-size: contain;
      background-repeat: no-repeat;

      @media (min-width: 769px) {
        top: -40px;
        left: 35%;
        height: 50px;
        width: 50px;
      }
    }
  }
}

.heading-primary {
  margin-bottom: 2rem;
  text-align: center;
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--color-black);

  @media (min-width: 769px) {
    margin-bottom: 50px;
    font-size: 42px;
  }

  .heading-primary_lead {
    display: block;
    line-height: 1;
    font-size: 0.7em;
  }
}

#machikado_concept {
  .section {
    padding: 4rem 0 0;
    text-align: left;

    @media (min-width: 769px) {
      padding: 100px 0 0;
    }
  }

  .heading-primary {
    padding: 0 1.5rem;
    font-size: 2.4rem;

    @media (min-width: 769px) {
      margin-bottom: 25px;
      padding-bottom: 0;
      font-size: 42px;
    }
  }
}

#menu,
#safety,
#store,
#intro {
  .heading-primary {
    padding-top: 1.5rem;
    position: relative;

    @media (min-width: 769px) {
      padding-top: 0;
    }

    &::before {
      content: '';
      height: 5rem;
      width: 5rem;
      position: absolute;
      top: -3.5rem;
      left: 50%;
      translate: -50% 0;
      background-position: bottom center;
      background-size: contain;
      background-repeat: no-repeat;
      opacity: 0.4;

      @media (min-width: 769px) {
        height: 90px;
        width: 90px;
        top: -100px;
      }
    }
  }
}

#intro {
  .heading-primary {
    &::before {
      height: 6rem;
      width: 6rem;
      top: -5.5rem;

      @media (min-width: 769px) {
        height: 100px;
        width: 100px;
        top: -110px;
      }
    }
  }
}

.btn_wrap {
  padding-right: 0.4rem;
  padding-bottom: 0.4rem;
}

.btn {
  display: block;
  width: fit-content;
  max-width: 28rem;
  margin-inline: auto;
  padding: 1rem 3.5rem;
  position: relative;
  background: #fff;
  border: 0.2rem solid var(--color-orange);
  border-radius: 0.5rem;
  box-shadow: 0.4rem 0.4rem 0 var(--color-orange-shadow);
  font-size: 1.4rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-black);
  transition: opacity var(--transition);

  @media (min-width: 769px) {
    font-size: 18px;
  }

  &:hover {
    opacity: 0.7;
  }
}

.btn--arrow,
.btn--more {
  padding-right: 4.5rem;
  text-align: left;

  &::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 1.5rem;
    translate: 0 -50%;
    width: 1.4rem;
    height: 1rem;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
  }
}

.btn--arrow::before {
  background-image: url(/lab/machikado/img/arrow_right_black.png);
}

.btn--more::before {
  background-image: url(/lab/machikado/img/icon_plus_black.png);
}

/* Navigation */
.page-nav {
  background: url(/lab/machikado/img/bg_wood.png) center / cover no-repeat;

  @media (min-width: 769px) {
    height: 60px;
    padding: 0 2%;

    &.is-fixed {
      position: fixed;
      top: 0;
      left: 0;
      z-index: 1001;
      width: 100%;
    }
  }
}

.page-nav_inner {
  @media (min-width: 769px) {
    display: flex;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    max-width: 1100px;
    margin-inline: auto;
  }
}

.page-nav_list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: 5.5rem;
  width: 100%;
  padding: 0.2rem;
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 1000;
  background:
    linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)),
    url(/lab/machikado/img/bg_wood.png) center / cover no-repeat;

  @media (min-width: 769px) {
    grid-template-columns: repeat(4, auto);
    gap: 45px;
    position: static;
    height: stretch;
    max-width: 715px;
    padding: 0;
    background: none;
  }
}

.page-nav_link {
  display: grid;
  justify-items: center;
  height: 100%;
  line-height: 1.1;
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-black);
  transition: opacity var(--transition);

  @media (min-width: 769px) {
    grid-template-columns: 45px auto;
    align-items: center;
    gap: 10px;
    text-align: left;
  }

  &:hover {
    opacity: 0.7;
  }
}

.page-nav_icon {
  height: 3rem;
  width: 4rem;
}

.page-nav_label {
  display: block;
}

.logo {
  display: grid;
  place-items: center;
  padding: 1rem 0;
  margin-inline: auto;
  max-width: 18rem;
  transition: opacity var(--transition);

  @media (min-width: 769px) {
    max-width: 200px;
    margin: 0;
    padding: 0;
  }

  &:hover {
    opacity: 0.7;
  }
}

body {
  padding-bottom: 5.5rem;

  @media (min-width: 769px) {
    padding-bottom: 0;
  }
}

/* MV */
.slider_controls {
  display: flex;
  height: 2rem;

  @media (min-width: 769px) {
    height: 30px;
  }
}

.slider_controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;

  @media (min-width: 769px) {
    margin-top: 1.5rem;
  }
}

.bx-controls-auto-item img {
  width: 2rem;
  height: auto;
  vertical-align: top;

  @media (min-width: 769px) {
    width: 30px;
  }
}

.bx-pager {
  display: flex;
  margin-left: 15px;
  padding-top: 0;
  padding-bottom: 0;
}

.bx-default-pager a {
  background: url(/lab/machikado/img/pager_off.png) no-repeat center center;
  text-indent: -9999px;
  display: block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}

.bx-default-pager a.active {
  background: url(/lab/machikado/img/pager_on.png) no-repeat center center;
}

/* News */
.news-list {
  display: grid;
  gap: 2rem;
  padding: 0 1.5rem;

  @media (min-width: 769px) {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: var(--content-width);
    margin-inline: auto;
    padding: 0;
  }
}

.news-list_item {
  border: 0.4rem solid var(--color-orange);
  border-radius: 1rem;
  overflow: hidden;

  @media (min-width: 769px) {
    border-radius: 10px;
  }
}

.news-list_item_link {
  display: block;
  transition: opacity var(--transition);

  &:hover {
    opacity: 0.7;
  }
}

.news-list_item_video {
  position: relative;

  &::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    height: 6rem;
    width: 6rem;
    background: url(/lab/machikado/img/video_start.png) center / contain no-repeat;
  }
}

/* Menu */
#menu {
  padding-bottom: 0;
  .heading-primary::before {
    background-image: url(/lab/machikado/img/icon_rice_bowl_orange.png);
  }

  .section_content {
    background: var(--color-orange-light);
    padding-bottom: 3rem;

    @media (min-width: 769px) {
      padding-bottom: 70px;
    }
  }
}

.menu_cards {
  display: grid;
  gap: 2rem;
  margin-bottom: 1.5rem;
  padding: 1rem;

  @media (min-width: 769px) {
    grid-template-columns: repeat(2, auto);
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 20px;
    padding: 30px;
  }
}

.menu_card {
  display: block;
  padding-bottom: 1rem;
  position: relative;
  transition: var(--transition);

  @media (min-width: 769px) {
    max-width: 400px;
  }

  &:hover {
    opacity: 0.7;
  }
}

.menu_card_image {
  border-radius: 0.5rem;
}

.menu_card_label {
  display: block;
  padding: 1rem 2.5rem;
  padding-right: 4.5rem;
  position: absolute;
  bottom: 0;
  right: -1rem;
  border-radius: 0.5rem;
  background: #fff;
  font-size: 1.4rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-black);

  &::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 1.5rem;
    translate: 0 -50%;
    width: 1.4rem;
    height: 1rem;
    background: url(/lab/machikado/img/arrow_right_black.png) center / contain no-repeat;
  }

  @media (min-width: 769px) {
    font-size: 1rem;
  }
}

/* Safety */
#safety {
  .heading-primary::before {
    background-image: url(/lab/machikado/img/icon_safety_orange.png);
  }

  .section_content {
    background: var(--color-yellow-light);
    margin-bottom: 6.5rem;
    padding-bottom: 7.5rem;

    @media (min-width: 769px) {
      padding-bottom: 170px;
      margin-bottom: 100px;
    }
  }
}

.gallery {
  display: flex;
  justify-content: space-between;
  position: absolute;
  bottom: -6rem;
  left: 0;
  width: 100%;
  padding: 0 1.5rem;

  @media (min-width: 769px) {
    bottom: -160px;
    padding: 0 80px;
  }
}

.gallery_item {
  width: 48%;
  border-radius: 0.5rem;
  overflow: hidden;

  &:nth-child(2) {
    margin-top: 2rem;
  }
}

#concept_safety {
  &.section {
    padding-bottom: 4rem;
  }

  .section_content {
    @media (min-width: 769px) {
      padding: 60px;
    }
  }

  .section_text:last-of-type {
    margin-bottom: 0;
  }

  .gallery {
    flex-direction: column-reverse;
    top: -15rem;
    right: 0;
    bottom: unset;
    left: unset;
    width: 45%;
    padding: 0;

    @media (min-width: 769px) {
      flex-direction: row;
      position: static;
      width: 100%;
      margin-top: 40px;
    }
  }

  .gallery_item {
    width: 75%;

    @media (min-width: 769px) {
      width: 48%;
    }

    &:nth-child(2) {
      margin-top: 0;
      margin-left: auto;
      margin-bottom: 0.8rem;

      @media (min-width: 769px) {
        margin: 0;
      }
    }
  }
}

/* Store */
#store {
  padding-top: 7rem;

  @media (min-width: 769px) {
    padding-top: 160px;
  }

  .heading-primary::before {
    background-image: url(/lab/machikado/img/icon_store_orange.png);
  }
}

.accordion {
  &:has(.accordion_button[aria-expanded='true']) .accordion_panel {
    margin-bottom: 1.5rem;
    grid-template-rows: 1fr;
  }

  @media (min-width: 769px) {
    max-width: 600px;
    margin-inline: auto;
  }
}

.accordion_button {
  display: block;
  width: 100%;
  margin-bottom: 0.5rem;
  padding: 1rem 1.5rem;
  position: relative;
  background: var(--color-orange);
  border-radius: 0.5rem;
  text-align: left;
  color: #fff;

  @media (min-width: 769px) {
    margin-bottom: 10px;
    padding: 15px 25px;
  }

  &::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 1.5rem;
    border-top: 0.7rem solid #fff;
    border-right: 0.6rem solid transparent;
    border-left: 0.6rem solid transparent;
    translate: 0 -50%;

    @media (min-width: 769px) {
      border-top-width: 9px;
      border-right-width: 8px;
      border-left-width: 8px;
    }
  }

  &[aria-expanded='true']::after {
    rotate: 180deg;
  }
}

.accordion_panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;

  > * {
    overflow: hidden;
  }
}

.prefecture_list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
  padding: 0 1.5rem;
}

.prefecture_link {
  display: block;
  padding: 0.5rem 1rem;
  position: relative;
  border-bottom: 0.1rem solid var(--color-gray);
  text-align: left;
  color: var(--color-black);
  transition: opacity var(--transition);

  &::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 1rem;
    border-top: 0.5rem solid transparent;
    border-left: 0.6rem solid var(--color-orange);
    border-bottom: 0.5rem solid transparent;
    translate: 0 -50%;

    @media (min-width: 769px) {
      border-top-width: 7px;
      border-bottom-width: 7px;
      border-left-width: 8px;
    }
  }

  &:hover {
    opacity: 0.7;
  }
}

.prefecture_link--disabled {
  color: #999;
  cursor: default;

  &:hover {
    opacity: 1;
  }
}

/* Archive */
#archive {
  background: #ffeecf;

  .section_content {
    margin-top: 4rem;
    padding: 2rem 1.5rem 3rem;
    position: relative;
    z-index: 0;

    @media (min-width: 769px) {
      max-width: 800px;
      padding: 60px 50px;
    }

    &::before,
    &::after {
      content: '';
      position: absolute;
    }

    &::before {
      height: 4.8rem;
      width: 4.8rem;
      border: 0.3rem solid var(--color-yellow);
      border-right-color: transparent;
      border-bottom-color: transparent;
      top: -2.4rem;
      left: 50%;
      z-index: -1;
      rotate: 45deg;
      translate: -50% 0;
    }

    &::after {
      height: 1.5rem;
      width: 1.5rem;
      border: 0.3rem solid var(--color-yellow);
      border-radius: 50%;
      background: #fff;
      top: -4rem;
      left: 50%;
      translate: -50% 0;
    }
  }

  .archive_list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1rem;
    margin-bottom: 1.5rem;

    @media (min-width: 769px) {
      gap: 30px 20px;
      margin-bottom: 50px;
    }
  }

  .archive_link {
    display: block;
    text-align: left;

    &:hover {
      opacity: 0.7;
    }
  }

  .archive_image {
    margin-bottom: 1rem;

    @media (min-width: 769px) {
      margin-bottom: 10px;
    }
  }

  .archive_title {
    margin-bottom: 0.2rem;
    font-size: 1.2rem;
    text-decoration: underline;
    color: var(--color-black);

    @media (min-width: 769px) {
      margin-bottom: 0;
      font-size: 15px;
    }
  }

  .archive_date {
    font-size: 1.1rem;
    color: #777;

    @media (min-width: 769px) {
      font-size: 13px;
    }
  }
}

/* person */
.person {
  height: 20rem;
  width: 10rem;
  position: absolute;
  top: 4rem;
  z-index: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0;
  transition:
    translate 0.6s,
    rotate 0.6s,
    opacity 0.6s;

  @media (min-width: 769px) {
    height: 370px;
    width: 200px;
    top: 100px;
    translate: 0 100px;
  }

  &.in-view {
    translate: 0 0;
    opacity: 1;
  }
}

.person_wrap {
  @media (min-width: 769px) {
    position: absolute;
    top: 0;
    left: 50%;
    translate: -50% 0;
    height: 370px;
    width: 100%;
    max-width: var(--content-width);
  }
}

.person_left {
  left: 1.5rem;

  @media (min-width: 769px) {
    left: 10px;
  }

  &.in-view {
    rotate: -10deg;
  }
}

.person_right {
  right: 1.5rem;

  @media (min-width: 769px) {
    right: 10px;
  }

  &.in-view {
    rotate: 10deg;
  }
}

#menu {
  .person_left {
    background-image: url(/lab/machikado/img/person_01.png);
  }

  .person_right {
    background-image: url(/lab/machikado/img/person_02.png);
  }
}

#safety {
  .person_left {
    background-image: url(/lab/machikado/img/person_03.png);
  }

  .person_right {
    background-image: url(/lab/machikado/img/person_04.png);
  }
}

/* Share */
.share {
  padding: 4rem 0 6rem;
  background: #ffeecf;

  @media (min-width: 769px) {
    padding: 100px 0;
  }
}

#machikado_concept {
  .share {
    background: transparent;
  }
}

.share_list {
  display: grid;
  grid-template-columns: repeat(3, 5rem);
  justify-content: center;
  gap: 3.5rem;

  @media (min-width: 769px) {
    grid-template-columns: repeat(3, 50px);
    gap: 35px;
  }
}

.share_link {
  display: block;
}

/* Intro */
#intro {
  &.section {
    padding-top: 8rem;
    padding-bottom: 5rem;
    text-align: center;

    @media (min-width: 769px) {
      padding: 130px 0 50px;
    }
  }

  .heading-primary::before {
    background-image: url(/lab/machikado/img/icon_rice_bowl_orange.png);
    opacity: 1;
  }
}

/* Frying */
#frying {
  .heading-primary {
    text-align: left;

    @media (min-width: 769px) {
      text-align: center;
    }
  }

  .section_content {
    background: var(--color-yellow-light);

    &::before {
      background-image: url(/lab/machikado/img/speech_tail_yellow.svg);
    }
  }
}

.section_decor {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0;
}

.section_decor_frying {
  top: -6rem;
  right: -6rem;
  translate: 0 3rem;
  rotate: -20deg;
  height: 20rem;
  width: 20rem;
  background-image: url(/lab/machikado/img/section_decor_frying.png);
  transition:
    translate 0.8s,
    rotate 0.8s,
    opacity 0.8s;

  @media (min-width: 769px) {
    height: 450px;
    width: 450px;
    top: -120px;
    right: -40px;
  }

  &.in-view {
    translate: 0 0;
    rotate: -10deg;
    opacity: 1;
  }
}

/* Rice */
#rice {
  .heading-primary {
    text-align: right;

    @media (min-width: 769px) {
      text-align: center;
    }
  }

  .section_content {
    background: var(--color-orange-light);

    &::before {
      background-image: url(/lab/machikado/img/speech_tail_orange.svg);
      right: 3rem;
      left: unset;

      @media (min-width: 769px) {
        right: unset;
        left: 35%;
        scale: -1 1;
      }
    }
  }
}

.section_decor_rice {
  top: 3.5rem;
  left: 0;
  height: 9rem;
  width: 13rem;
  background-image: url(/lab/machikado/img/section_decor_rice.png);

  @media (min-width: 769px) {
    height: 200px;
    width: 300px;
    left: 6%;
  }
}

/* Safety (Concept) */
#concept_safety {
  .section_inner {
    padding-top: 7rem;
  }

  .heading-primary {
    text-align: left;

    @media (min-width: 769px) {
      text-align: center;
    }
  }

  .section_content {
    background: var(--color-yellow-light);

    &::before {
      background-image: url(/lab/machikado/img/speech_tail_yellow.svg);

      @media (min-width: 769px) {
        left: 42%;
      }
    }
  }
}

/* FAQ */
#faq {
  padding-top: 5rem;
  background: url(/lab/machikado/img/faq_bg_sp.png) right top / contain no-repeat;

  @media (min-width: 769px) {
    background-image: url(/lab/machikado/img/faq_bg_pc.png);
  }

  .heading-primary {
    text-align: left;

    @media (min-width: 769px) {
      text-align: center;
    }
  }
}

.qa_list {
  max-width: 880px;
  margin-inline: auto;
  padding-top: 3rem;
}

.qa_question {
  display: grid;
  grid-template-columns: 2.5rem auto;
  gap: 1rem;
  position: relative;
  margin-bottom: 1rem;
  padding: 1rem;
  padding-right: 4rem;
  border-radius: 0.5rem;
  background: var(--color-orange-light);
  cursor: pointer;

  @media (min-width: 769px) {
    align-items: center;
    margin-bottom: 20px;
    padding: 10px 50px 10px 25px;
  }

  &::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 1.5rem;
    border-top: 0.7rem solid #fff;
    border-right: 0.6rem solid transparent;
    border-left: 0.6rem solid transparent;
    translate: 0 -50%;

    @media (min-width: 769px) {
      border-top-width: 10px;
      border-right-width: 8px;
      border-left-width: 8px;
    }
  }

  &[aria-expanded='true'] {
    &::after {
      rotate: 180deg;
    }

    + .qa_answer {
      margin-bottom: 1.5rem;
      grid-template-rows: 1fr;

      @media (min-width: 769px) {
        margin-bottom: 40px;
      }
    }
  }
}

.qa_answer {
  display: grid;
  grid-template-rows: 0fr;
  padding-left: 1rem;
  transition: grid-template-rows 0.3s ease;

  @media (min-width: 769px) {
    padding-left: 25px;
  }

  > * {
    overflow: hidden;
  }

  .qa_answer_inner {
    display: grid;
    gap: 1rem;
    grid-template-columns: 2.5rem auto;
  }

  .qa_answer_text {
    padding-top: 3px;
  }
}

.qa_question_label,
.qa_answer_label {
  display: grid;
  place-items: center;
  height: 2.5rem;
  width: 2.5rem;
  padding-left: 0.3rem;
  border-radius: 50%;
  font-family: 'Roboto', sans-serif;
  font-weight: 600;

  @media (min-width: 769px) {
    height: 35px;
    width: 35px;
  }
}

.qa_question_label {
  background: #fff;
  color: var(--color-orange);
}

.qa_answer_label {
  background: var(--color-orange);
  color: #fff;
}

/* Back to top */
.back-to-top {
  display: block;
  position: fixed;
  bottom: 7rem;
  right: 1rem;
  z-index: 1000;
  width: 3.5rem;
  transition: translate var(--transition);

  @media (min-width: 769px) {
    bottom: 30px;
    right: 30px;
  }

  &:hover {
    translate: 0 -0.3rem;
  }
}

/* Animation */
.fade-in {
  opacity: 0;
  translate: 0 2rem;
  transition:
    opacity 0.6s,
    rotate 0.6s,
    translate 0.6s;

  &.in-view {
    opacity: 1;
    translate: 0 0;
  }
}
