:root {
  --font-noto: "Noto Sans JP", "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
  --font-arial: "Arial", sans-serif;
  --font-arial-black: "Arial Black", sans-serif;
  --color-body: #333333;
  --color-body-white: #ffffff;
  --color-base: #ffffff;
  --color-base-translucent: #ffffffee;
  --color-base-greenish: #f5fcf8;
  --color-main: #6ec31e;
  --color-accent: #d20003;
  --color-light-gray: #dddddd;
  --color-table-green: #31d9a2;
  --color-table-red: #f34955;
  --color-table-orange: #ff912f;
  --color-table-yellow: #f9fa89;
  --width-base: 1200px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
  @media (min-width: 768px) {
    scroll-padding-top: 250px;
  }
  @media (min-width: 1201px) {
    scroll-padding: 150px;
  }
}
body {
  line-height: 1.5;
  font-family: var(--font-noto);
  font-size: 14px;
  container-type: inline-size;
  @media (min-width: 768px) {
    font-size: 16px;
  }
}
a, button {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
  cursor: pointer;
  &:hover {
    opacity: 0.7;
  }
}
li {
  list-style-type: none;
}
img {
  width: 100%;
  height: auto;
}

.the-header {
  display: flex;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 5px solid var(--color-main);
  background-color: var(--color-base);
  align-items: center;
  @media (min-width: 768px) {
    flex-direction: column;
    padding-block: 20px;
  }
  @media (min-width: 1201px) {
    flex-direction: row;
    padding-block: 0;
    padding-inline: 20px;
  }
}

.site-logo {
  width: 240px;
  font-size: 0;
  @media (min-width: 768px) {
    width: 300px;
  }
}

.hamburger-button {
  position: relative;
  width: 80px;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  @media (min-width: 768px) {
    display: none;
  }
  > .line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 50%;
    height: 5%;
    background-color: var(--color-main);
    transition: all 0.5s;
    &.-top {
      transform: translateY(-300%);
    }
    &.-bottom {
      transform: translateY(300%);
    }
  }
  &.-active {
    > .line {
      box-shadow: none;
    }
    > .line.-top {
      transform: rotate(45deg);
    }
    > .line.-middle {
      opacity: 0;
    }
    > .line.-bottom {
      transform: rotate(-45deg);
    }
  }
}

.global-nav {
  @media (max-width: 767px) {
    display: flex;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 100%;
    z-index: -9999;
    background-color: var(--color-base-translucent);
    width: 240px;
    height: 100%;
    transition: translate 0.5s;
    &.-active {
      translate: -240px 0;
    }
  }
  > .list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 120px;
    @media (min-width: 768px) {
      flex-direction: row;
      margin-top: 0;
    }
    @media (min-width: 1201px) {
      gap: 30px;
    }
  }
  > .list > .item > .link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 140px;
    height: 60px;
    border: 3px solid var(--color-main);
    border-radius: 10px;
    background-color: var(--color-base);
    color: var(--color-main);
    font-size: 20px;
    font-weight: bold;
    &.-small {
      font-size: 16px;
    }
    &.-fill {
      background-color: var(--color-main);
      color: var(--color-body-white);
    }
  }
}

.the-main-content {
  background-color: var(--color-base-greenish);
  padding-block: 30px;
  padding-inline: 5px;
  @media (min-width: 768px) {
    flex-direction: row;
    padding-inline: 20px;
    margin-top: 0;
  }
  > .inner {
    margin-inline: auto;
    padding-block: 50px;
    max-width: var(--width-base);
    background-color: var(--color-base);
  }
}

.base-section {
  padding-inline: 5px;
  @media (min-width: 768px) {
    padding-inline: 50px;
  }
  &:not(:last-child) {
    margin-block: 50px 100px;
    @media (min-width: 768px) {
      margin-block: 50px 150px;
    }
  }
}

.page-heading {
  text-align: center;
  font-size: 32px;
  @media (min-width: 768px) {
    font-size: 48px;
  }
}

.section-heading {
  margin-bottom: 30px;
  text-align: center;
  font-size: 24px;
  @media (min-width: 768px) {
    margin-bottom: 50px;
    font-size: 32px;
  }
  > span {
    display: inline-block;
  }
}

.lead-paragraph {
  margin-top: 30px;
  @media (min-width: 768px) {
    margin-top: 50px;
  }
  > .text {
    text-align: center;
  }
  > .text > span {
    display: inline-block;
  }
  > .image {
    margin-top: 30px;
    @media (min-width: 768px) {
      margin-top: 50px;
    }
  }
}

.how-to-use {
  > .item {
    &:not(:last-child) {
      margin-bottom: 50px;
      @media (min-width: 768px) {
        margin-bottom: 100px;
      }
    }
  }
  > .item > .image {
    margin-top: 10px;
  }
  > .item > .notice {
    display: flex;
    margin-top: 10px;
    &::before {
      content: '※';
    }
  }
}

.how-to-use-heading {
  font-size: 20px;
  @media (min-width: 768px) {
    font-size: 24px;
  }
  > .label {
    display: block;
    margin-inline: auto;
    margin-bottom: 20px;
    padding: 0.25em 1em;
    width: fit-content;
    background-color: var(--color-accent);
    font-size: 24px;
    color: var(--color-body-white);
    @media (min-width: 768px) {
      margin-inline: 0;
      font-size: 32px;
    }
  }
  > .link {
    font-weight: bold;
    color: var(--color-main);
    text-decoration: underline;
  }
}

.shop-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 10px;
  @media (min-width: 768px) {
    grid-template-columns: repeat(4, 1fr);
  }
}

.bullet-points {
  margin-top: 10px;
  > .item {
    display: flex;
    &::before {
      content: '・';
    }
  }
}

.shop-infomation {
  display: flex;
  flex-direction: column;
  gap: 30px;
  @media (min-width: 1201px) {
    flex-direction: row;
  }
  > .item {
    &.-left {
      flex: 1;
    }
    &.-right {
      flex: 2;
    }
  }
  > .item > .holidays-calendar {
    margin-top: 50px;
  }
}

.description-list {
  display: table;
  width: 100%;
  > .item {
    display: table-row;
  }
  > .item > .term,
  > .item > .definition {
    display: table-cell;
    padding: 0.5em;
    border: 2px solid var(--color-base);
    background-color: var(--color-base-greenish);
  }
  > .item > .term {
    text-align: center;
    font-weight: bold;
  }
}

.googlemap-container {
  height: 100%;
  > iframe {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    @media (min-width: 1201px) {
      aspect-ratio: auto;
    }
  }
}

.base-button {
  display: flex;
  align-items: center;
  gap: 0.25em;
  margin-inline: auto;
  margin-top: 100px;
  padding: 1em 2em;
  border-radius: 9999px;
  width: fit-content;
  background-color: var(--color-main);
  color: var(--color-body-white);
  font-size: min(6vw, 32px);
  font-weight: bold;
  &::after {
    content: '';
    width: 0.5em;
    height: 0.5em;
    border-top: 0.125em solid currentColor;
    border-right: 0.125em solid currentColor;
    transform: rotate(45deg);
    transform-origin: center;
  }
}

.faq-accordion {
  border-top: 1px solid var(--color-light-gray);
  border-bottom: 1px solid var(--color-light-gray);
  > .item {
    overflow: hidden;
    &:not(:last-child) {
      border-bottom: 1px solid var(--color-light-gray);
    }
  }
  > .item > .question,
  > .item > .answer > .inner {
    display: flex;
    align-items: center;
    &::before {
      margin-right: 30px;
      line-height: 1;
      font-size: 24px;
      @media (min-width: 768px) {
        font-size: 40px;
      }
    }
  }
  > .item > .question,
  > .item > .answer {
    font-size: 16px;
    @media (min-width: 768px) {
      font-size: 20px;
    }
  }
  > .item > .question {
    padding: 10px;
    cursor: pointer;
    @media (min-width: 768px) {
      padding: 20px;
    }
    &::before {
      content: url('/img/faq_question.png');
    }
    &::after {
      content: '';
      display: inline-block;
      margin-left: auto;
      aspect-ratio: 32 / 19;
      width: 20px;
      background-image: url('/img/arrow.svg');
      background-size: contain;
      transition: transform 0.5s;
      @media (min-width: 768px) {
        width: 32px;
      }
    }
    &.-active::after {
      transform: scaleY(-1);
    }
  }
  > .item > .answer {
    display: grid;
    grid-template-rows: 0fr;
    padding: 0 10px;
    transition: grid-template-rows 0.5s, padding 0.5s;
    @media (min-width: 768px) {
      padding: 0 20px;
    }
  }
  > .item > .question.-active + .answer {
    grid-template-rows: 1fr !important;
    padding: 10px !important;
    @media (min-width: 768px) {
      padding: 20px !important;
    }
  }
  > .item > .answer > .inner {
    overflow: hidden;
    &::before {
      content: url('/img/faq_answer.png');
    }
  }
}

.brand-banner-list {
  display: grid;
  gap: 10px;
  font-size: 0;
  @media (min-width: 768px) {
    grid-template-columns: repeat(2, 1fr);
  }
}

.base-table {
  margin-block: 30px;
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  &.-evenly {
    @media (min-width: 768px) {
      table-layout: fixed;
    }
  }
  > .caption {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: bold;
    @media (min-width: 768px) {
      font-size: 24px;
    }
  }
}

.table-row {
  > .header,
  > .data {
    border: 1px solid var(--color-light-gray);
    padding: 15px 5px;
    font-size: 16px;
    @media (min-width: 768px) {
      font-size: 20px;
    }
  }
  > .header {
    background-color: var(--color-table-yellow);
    &.-orange {
      background-color: var(--color-table-orange);
      color: var(--color-body-white);
    }
    &.-red {
      background-color: var(--color-table-red);
      color: var(--color-body-white);
    }
    &.-green {
      background-color: var(--color-table-green);
      color: var(--color-body-white);
    }
    &.-small {
      font-size: 16px;
    }
  }
  > .data {
    white-space: nowrap;
    font-weight: bold;
  }
  > .header > .small,
  > .data > .small {
    font-size: 12px;
    font-weight: normal;
    color: var(--color-accent);
  }
}

.notice-text {
  text-align: center;
  font-size: 10px;
  @media (min-width: 768px) {
    font-size: 14px;
  }
  &.-right {
    text-align: right;
  }
}

.grid-container {
  display: grid;
  gap: 20px;
  @media (min-width: 1201px) {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sub-section {
  border: 5px solid var(--color-main);
  padding: 20px 10px;
  @media (min-width: 768px) {
    padding: 30px 20px;
    font-size: 14px;
  }
  > .heading {
    margin-bottom: 20px;
    text-align: center;
    font-size: 16px;
    @media (min-width: 768px) {
      font-size: 20px;
    }
  }
  > .heading > span {
    display: inline-block;
  }
}

.caution-list {
  > .item {
    display: flex;
    align-items: center;
    &:not(:last-child) {
      margin-bottom: 5px;
    }
    &::before {
      content: '';
      display: inline-block;
      flex-shrink: 0;
      margin-right: 10px;
      width: 30px;
      aspect-ratio: 1 / 1;
      background-image: url('/img/list-marker.png');
      background-position: center;
      background-size: contain;
      @media (min-width: 768px) {
        width: 50px;
      }
    }
  }
}

.the-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 120px;
  background-color: var(--color-main);
  color: var(--color-body-white);
}
