/* コンポーネントCSS読み込み */
/* layout */
@import url("../../layout/_header.css");
@import url("../../layout/_footer.css");

/* pages */
@import url("../../pages/top/components/_mv.css");
@import url("../../pages/top/components/_about.css");
@import url("../../pages/top/components/_recommend.css");
@import url("../../pages/top/components/_charm.css");
@import url("../../pages/top/components/_works.css");
@import url("../../pages/top/components/_earn.css");
@import url("../../pages/top/components/_review.css");
@import url("../../pages/top/components/_start.css");
@import url("../../pages/top/components/_step.css");
@import url("../../pages/top/components/_faq.css");
@import url("../../pages/top/components/_cta.css");
@import url("../../pages/top/components/_sns.css");
@import url("../../pages/top/components/_gallery.css");

/* ページ固有CSS */
#main {
  background-color: var(--white);
}

/* 追加CSS */
.links-area {
  margin: 24px 0;
  padding: 0 10px;
}

.links-area h2 {
  text-align: center;
}

.links-area ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 10px;
  padding: 0;
  margin: 20px 0 20px 0;
  list-style: none;
}

.links-area li {
  position: relative;
  flex: 1 1 calc(50% - 5px);
  height: 70px;
  border-radius: 5px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.links-area li a {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%;
  width: 100%;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  text-decoration: none;
  position: relative;
  z-index: 1;
}

.links-area li::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

/* @mixin tablet() */
@media screen and (min-width: 769px) {
  #main {
    max-width: 375px;
    margin-inline: auto;
  }
}
