@import url("./variables.css");
@import url("https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&family=Kosugi+Maru&display=swap");

.section {
  padding: 60px 0;
  max-width: 950px;
  margin: 0 auto;
}
.section__title {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  line-height: 28px;
  white-space: nowrap;
}
.section__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

@media screen and (min-width: 641px) {
  .section {
    padding: 80px 0;
  }
  .section__title {
    font-size: 20px;
    line-height: 34px;
  }
}

/* =========================
  ファーストビューセクション
========================= */
.section--firstview {
  padding: 25px 20px 30px 20px;
}
.section--firstview h1 {
  font-size: 18px;
  line-height: 20px;
  font-weight: bold;
  text-align: left;
  margin-bottom: 30px;
}
.firstview__image {
  height: 30px;
  width: auto;
}
.firstview__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}
.firstview__discription {
  font-size: 13px;
  line-height: 26px;
  text-align: center;
  white-space: nowrap;
}
.firstview__discription_sp {
  display: inline-block;
}
.firstview__discription_pc {
  display: none;
}
@media screen and (min-width: 640px) {
  .section--firstview h1 {
    font-size: 22px;
  }
  .section--firstview {
    padding: 0;
    margin-bottom: 50px;
  }
  .firstview__discription_sp {
    display: none;
  }
  .firstview__discription_pc {
    display: inline-block;
  }
  .firstview__image {
    height: 50px;
  }
  .firstview__discription {
    font-size: 14px;
    line-height: 34px;
  }
  .firstview-br4 {
    display: none;
  }
}

/* =========================
  特長セクション
========================= */
.section--features {
  background-color: var(--neutral-gray-50);
  border-radius: 12px;
  padding: 60px 20px;
}

.environments,
.features {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 30px;
  margin-block-start: 30px !important;
}
.environments_item,
.features_item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.environments_item_image_wrapper,
.features_item_image_wrapper {
  width: 70px;
  min-width: 70px;
  height: 70px;
  background-color: var(--neutral-white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-sizing: border-box;
}
.features_item_image_wrapper img {
  width: 40px;
}
.environments_item_content__title,
.features_item_content__title {
  font-size: 15px;
  font-weight: bold;
  line-height: 26px;
}
.features_item_content__title_yen {
  font-size: 14px;
}
.features_item_content__title_include-tax {
  font-size: 12px;
}

.environments_item_content,
.features_item_content {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.environments_item_content__discription,
.features_item_content__discription {
  font-size: 14px;
  line-height: 22px;
}
.environments_item_content__caption,
.features_item_content__caption {
  font-size: 12px;
  line-height: 22px;
}
.environments_item_content__link,
.features_item_content__link {
  font-size: 12px;
  font-weight: bold;
  color: var(--main-purple) !important;
  display: flex;
  align-items: center;
}
@media screen and (min-width: 640px) {
  .section--features {
    padding: 50px 0;
  }

  .features {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    grid-template-columns: repeat(2, 1fr);
    margin-block-start: 70px !important;
  }
  .features_item {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }
  .features_item_image_wrapper {
    width: 130px;
    min-width: 130px;
    height: 130px;
  }
  .features_item_image_wrapper img {
    width: 60%;
  }
  .features_item_content__title {
    text-align: center;
    font-size: 16px;
    line-height: 30px;
    white-space: nowrap;
  }

  .features_item_content__discription {
    font-size: 14px;
    text-align: center;
  }
  .features_item_content__caption {
    font-size: 12px;
    text-align: center;
  }
  .features_item_content__link {
    justify-content: center;
  }
}
/* =========================
  ログイン・新規登録セクション
========================= */
.authentication {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}
.authentication__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}
.authentication__title {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  display: flex;
  align-items: center;
  gap: 10px;
}
.authentication__title img {
  height: 20px;
}
.authentication__caption {
  font-size: 14px;
  text-align: center;
  margin-top: 10px;
}
.authentication-footer {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 15px;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
  background-color: var(--neutral-white);
  visibility: hidden; /* 見えない */
  opacity: 0;
}
.authentication-footer.is-fixed {
  visibility: visible;
  opacity: 1;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5;
}
@media screen and (min-width: 640px) {
  .authentication__title {
    font-size: 22px;
    line-height: 34px;
  }
  .authentication__title--epos {
    font-size: 18px;
    line-height: 34px;
  }
  .authentication__caption {
    margin-top: 30px;
  }
}
@media screen and (min-width: 950px) {
  .authentication-footer {
    display: none;
  }
}

/* =========================
  エポス特典セクション
========================= */
.section--epos {
  position: relative;
  background-color: var(--neutral-gray-50);
  padding: 40px 20px;
}
.section--epos::before {
  content: "";
  clip-path: polygon(50% 0, 0% 100%, 100% 100%);
  background-color: var(--neutral-gray-50);
  position: absolute;
  width: 50px;
  height: 30px;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
}
.section--epos .section__title {
  font-size: 16px;
  line-height: 28px;
}
.epos__points {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
  justify-content: center;
}
.epos__point {
  background-color: var(--neutral-white);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-sizing: border-box;
}
.epos__header {
  display: flex;
  align-items: center;
}
.point__number {
  font-family: Jost, sans-serif;
  font-weight: 600;
  margin-right: 20px;
}

.point__label {
  font-size: 12px;
  font-weight: 600;
}

.point__value {
  font-size: 30px;
  font-weight: 700;
}

.point__title {
  line-height: 24px;
  font-size: 15px;
  font-weight: bold;
  white-space: nowrap;
}
.point__caption {
  font-size: 12px;
}
.point__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.point01__image {
  width: 160px;
}
.point02__image {
  width: 295px;
}
.epos__point--third .point__content .point__content__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.epos__point--third img {
  width: 100%;
  object-fit: contain;
}
.epos__point--third .br1 {
  display: none;
}
.epos__cta {
  margin-top: 30px;
  transition: all 150ms linear;
}

.epos__cta:hover {
  opacity: 0.7;
}
.section__title--epos-br {
  display: block;
}
.point__content__footer__link-item {
  display: flex;
  align-items: center;
  text-decoration: underline;
  font-size: 12px;
  gap: 5px;
}
.point__content__footer__link-item img {
  width: 11px;
}
.epos__point--third .point__caption {
  display: flex;
  align-items: center;
  flex-direction: column;
}
.point__content__inner--maruko,
.point__content__inner--epos-sunday {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

@media screen and (min-width: 640px) {
  .section--epos {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .section__title--epos-br {
    display: none;
  }
  .epos__points {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
  }
  .epos__point {
    width: 295px;
    height: 257px;
  }
  .point__title .br1,
  .point__title .br2 {
    display: none;
  }
  .epos__point--first img {
    width: 166px;
  }
  .epos__point--second img {
    width: 260px;
  }
  .epos__point--third {
    width: 100%;
    max-width: 600px;
    height: fit-content;
  }
  .epos__point--third .point__title br {
    display: none;
  }

  .epos__point--third .point__caption {
    flex-direction: row;
  }

  .epos__point--third .point03__image {
    min-width: 348px;
    width: 100%;
    object-fit: contain;
  }
  .epos__point--third .point__content .point__content__inner {
    display: flex;
    flex-direction: column;
  }
  .epos__cta {
    max-width: 620px;
  }
}
@media screen and (min-width: 950px) {
  .epos__point {
    height: 300px;
  }
  .epos__point--second .point__content,
  .epos__point--first .point__content {
    margin-top: 20px;
  }
  .epos__point--third {
    height: fit-content;
  }

  .epos__point--third .point__content .point__content__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .epos__point--third img {
    object-fit: contain;
  }
}

/* =========================
  お気に入りセクション
========================= */
.section--favorites {
  border-bottom: solid 1px var(--neutral-gray-200);
}
.favorites__pc-title {
  display: none;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 15px;
}
.favorites_content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 30px 0;
  gap: 10px;
}
.favorites__arrow {
  display: inline-block;
  clip-path: polygon(
    70% 10%,
    70% 40%,
    100% 40%,
    50% 80%,
    0 40%,
    30% 40%,
    30% 10%
  );

  min-width: 40px;
  height: 30px;
  background-color: var(--neutral-gray-300);
}
.favorites__sp-title {
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 15px;
}
.favorites__discription {
  font-size: 13px;
  line-height: 24px;
  text-align: center;
  margin-top: 20px;
}
.favorites img {
  max-width: 300px;
}
@media screen and (min-width: 640px) {
  .favorites__pc-title {
    display: block;
    margin-top: 60px;
  }
  .favorites__sp-title {
    display: none;
  }
  .favorites_content {
    flex-direction: row;
    align-items: center;
  }
  .favorites__arrow {
    transform: rotate(-90deg);
  }
  .favorites img {
    width: 300px;
  }
  .favorites__discription_br1 {
    display: none;
  }
}
/* =========================
  通知セクション
========================= */

/* =========================
  クーポンセクション
========================= */
.section--coupon {
  border-bottom: solid 1px var(--neutral-gray-200);
}

.coupon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  overflow: hidden;
}

@keyframes slide-bg {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
.coupon_bg-slider {
  width: 100%;
  animation: slide-bg 20s infinite linear 0.5s both;
}

.coupon_bg-track {
  display: flex;
  overflow: hidden;
  height: 172px;
  width: 200%;
}

.bg {
  height: 100%;
  width: 950px;
}
.bg > img {
  height: 100%;
  width: 950px;
}

@media screen and (min-width: 641px) {
  .coupon_bg-track {
    height: 437px;
  }
}
/* =========================
  カテゴリーから探すセクション
========================= */
.category-search__sub-title {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  margin: 40px 0;
  margin-block-start: 40px !important;
  margin-block-end: 40px !important;
}
.category-list {
  display: grid;
  grid-template-columns: 100px 100px 100px;
  justify-content: center;
  column-gap: 18px;
  row-gap: 30px;
  margin-bottom: 40px;
  margin-block-end: 40px !important;
}

.category-list__item {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  box-sizing: border-box;
  transition: opacity 150ms linear;
}
.category-list__item:hover {
  opacity: 0.6;
}
.category-list__item .category-list__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  justify-content: center;
  gap: 10px;
}
.category-list__item img {
  width: 100px;
  height: 100px;
  object-fit: cover;
}

.category-list__item .category-list__item-name {
  text-align: center;
  white-space: nowrap;
  font-weight: bold;
  line-height: 18px;
}
.section--category-search .skeleton-button {
  margin: 0 auto;
}

@media screen and (min-width: 641px) {
  .section--category-search__title_br {
    display: none;
  }
  .category-search__sub-title {
    margin: 50px 0;
    margin-block-start: 50px !important;
    margin-block-end: 50px !important;
  }
  .category-list {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    column-gap: 30px;
    row-gap: 50px;
    margin-bottom: 50px;
    margin-block-end: 50px !important;
  }
  .category-list__item {
    width: 100px;
  }
}

/* =========================
  人気ブランドから探すセクション
========================= */
.section--brand {
  background-color: var(--neutral-gray-50);
  padding-left: 0;
  padding-right: 0;
}
.shop-slider,
.brand-slider {
  overflow: hidden;
  width: 100%;
}

.shop-track,
.brand-track {
  display: flex;
  gap: 10px;
  width: 200%;
}

.shop-list,
.brand-list {
  position: relative;
  display: grid;
  gap: 10px;
  width: auto;
  flex-shrink: 0;
}
.brand-list {
  grid-template-rows: repeat(3, 100px);
  grid-template-columns: repeat(11, 100px);
}
.shop-list {
  grid-template-columns: repeat(12, 100px);
  grid-template-rows: repeat(3, 100px);
}
.brand-list__item,
.shop-list__item {
  background-color: var(--neutral-white);
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: circle(50% at center);
  transition: all 150ms linear;
  box-sizing: border-box;
}
.brand-list__link,
.shop-list__link {
  position: relative;
  width: 100%;
  height: 100%;
}
.brand-list__item:hover,
.shop-list__item:hover {
  opacity: 0.7;
}
.brand-list__item .brand-list__link img,
.shop-list__item .shop-list__link img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  max-height: 100px;
}

@media screen and (min-width: 641px) {
  .brand-list,
  .shop-list {
    gap: 20px;
  }
  .shop-track,
  .brand-track {
    gap: 20px;
  }
}

/* =========================
  マルイのオリジナルショップセクション
========================= */
.original-shop {
  display: flex;
  align-items: center;
  gap: 15px;
  overflow-x: scroll;
  overflow-y: visible;
  margin-top: 40px;
  padding-left: 20px;
  padding-right: 20px;
}
.original-shop::-webkit-scrollbar {
  display: none;
}
.original-shop_image_wrapper {
  width: 260px;
  min-width: 260px;
  box-sizing: border-box;
  box-shadow: var(--elevation-drop-shadow-sp-item-shadow);
  border-radius: 6px;
}

.original-shop_image_wrapper img {
  width: 100%;
  transition: all 150ms linear;
  border-radius: 6px;
}
.original-shop_image_wrapper:hover {
  opacity: 0.7;
}
@media screen and (min-width: 641px) {
  .section--original-shop {
    padding-left: 0;
  }
  .original-shop {
    justify-content: center;
    overflow: visible;
    padding: 0;
  }
  .original-shop_image_wrapper {
    width: 225px;
    min-width: 225px;
  }
}
/* =========================
  人気ショップから探すセクション
========================= */
.section--shop {
  background-color: var(--neutral-gray-50);
  padding-left: 0;
  padding-right: 0;
}
/* =========================
  NEWSセクション
========================= */
.section--news {
  padding: 60px 0;
}
.section--news .section__title {
  letter-spacing: 2px;
}
.news {
  margin-top: 50px;
  margin-block-start: 50px !important;
}

.news_item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  border-bottom: solid 1px var(--neutral-gray-200);
  padding: 20px;
  transition: all 150ms linear;
}
.news_item:hover {
  opacity: 0.7;
}
.news_item:first-child {
  border-top: solid 1px var(--neutral-gray-200);
}

.news_item_content__title {
  font-size: 14px;
  font-weight: bold;
  line-height: 24px;
  margin-bottom: 10px;
}

.news_item_image_wrapper {
  width: 100px;
  min-width: 100px;
  height: 100px;
  box-sizing: border-box;
}
@media screen and (min-width: 641px) {
  .section--news {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .news_item_content__title-br {
    display: none;
  }
  .section--news .news {
    max-width: 375px;
  }
}

/* =========================
  環境セクション
========================= */
.section--environments {
  padding: 60px 20px;
}
.environments {
  margin-top: 40px;
}
.environments_item_image_wrapper {
  width: 70px;
  min-width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-sizing: border-box;
}
.environments_item_image_wrapper img {
  width: 70px;
}
@media screen and (min-width: 641px) {
  .section--environments {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 1px solid var(--neutral-gray-200);
    padding: 80px 35px;
  }
  .environments {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 70px;
    max-width: 880px;
    margin-block-start: 70px !important;
  }
  .environments_item {
    width: 390px;
    align-items: center;
  }
  .environments_item_content {
    gap: 10px;
  }
}

/* =========================
  情報セクション
========================= */
.section--notification {
  background-color: var(--neutral-white);
  padding: 60px 20px;
  border-bottom: solid 1px var(--neutral-gray-200);
}
.notification {
  margin-top: 30px;
}

.notification__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
}
.notification__content__footer p {
  font-size: 14px;
  text-align: center;
  margin-bottom: 10px;
}
.notification__content__footer__link {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.notification__content__footer__link-item {
  display: flex;
  align-items: center;
  text-decoration: underline;
  font-size: 12px;
  gap: 5px;
}
.notification__content__footer__link-item a {
  color: var(--neutral-gray-900) !important;
  text-decoration: 1px solid var(--neutral-gray-900) !important;
}
.notification__content__footer__link-item img {
  width: 11px;
}

.notification--store .notification__content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.media-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 335px;
  background-color: var(--neutral-gray-50);
  border-radius: 12px;
  text-decoration: none;
  font-size: 14px;
  padding: 15px;
  box-sizing: border-box;
}

.media-button__image {
  width: 50px;
  height: 50px;
  margin-right: 10px;
  background-color: var(--neutral-white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.media-button__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.media-button__inner .icon-chevron-right {
  color: var(--main-purple);
  font-size: 20px;
}

.media-button__content {
  align-items: center;
  display: flex;
}

.media-title {
  font-size: 14px;
  font-weight: 600;
}

.media-description {
  font-size: 12px;
  color: var(--neutral-gray-900);
  font-weight: normal;
}

@media screen and (min-width: 641px) {
  .information-section__title h2 {
    font-size: 22px;
    line-height: 34px;
  }
  .media-button,
  .store-link {
    max-width: 335px;
  }
}
@media screen and (min-width: 641px) {
  .information-section--faq__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .faq-wrapper {
    max-width: 700px;
    font-size: 14px;
  }
}

/* =========================
  スクロールトップボタン(旧マルコLPスタイル上書き)
========================= */

#PageTopButton {
  position: fixed !important;
  right: 20px !important;
  bottom: 100px !important;
  z-index: 10;
}
.pageTopButton {
  width: 50px !important;
  height: 50px !important;
  border: none !important;
  color: var(--neutral-white) !important;
  font-size: 30px !important;
  border-radius: 50% !important;
  background: linear-gradient(
    225deg,
    rgba(27, 104, 255, 0.7) 0%,
    rgba(174, 11, 243, 0.7) 100%
  ) !important;
  box-shadow: var(--elevation-drop-shadow-small-bottun) !important;
  z-index: 1001 !important;
  box-sizing: border-box !important;
}
.pageTopButton i {
  font-size: 30px !important;
  vertical-align: text-top !important;
}

/* =========================
  ボタン
========================= */
.primary-button {
  display: block;
  width: 100%;
  max-width: 335px;
  height: 50px;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  line-height: 50px;
  background: var(--main-purple);
  margin: 0 auto;
  box-sizing: border-box;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  color: var(--neutral-white) !important;
  z-index: 0;
}
.primary-button::after {
  position: absolute;
  top: 50%;
  left: -500px;
  right: -500px;
  bottom: -800px;
  content: "";
  border-radius: 50%;
  background: var(--main-purple-2nd);
  z-index: -1;
}

.secondary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 335px;
  height: 50px;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  line-height: 50px;
  background: var(--neutral-white);
  border: solid 1px var(--main-purple);
  margin: 0 auto;
  box-sizing: border-box;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  color: var(--main-purple) !important;
}

.skeleton-button {
  display: block;
  text-align: center;
  padding: 12px 0;
  border-radius: 6px;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  color: var(--neutral-gray-900) !important;
  border: 1px solid var(--neutral-gray-900);
  background-color: var(--neutral-white);
  max-width: 335px;
  min-width: 335px;
}

.skeleton-button i {
  font-size: 16px;
}

.skeleton-button:hover {
  opacity: 0.6;
  transition: all 0.5s ease;
}

@media screen and (min-width: 641px) {
  .skeleton-button {
    min-width: 335px;
  }
  .secondary-button,
  .primary-button {
    width: 300px;
  }
}
.eposinsurance {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 150ms linear;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 50px;
}
.eposinsurance:hover {
  opacity: 0.7;
}

@media screen and (min-width: 641px) {
  .eposinsurance {
    padding-top: 50px;
  }
}
/* =========================
  ご利用ガイドスタイル上書き
========================= */
@media only screen and (max-width: 949.98px) {
  .sidebar-common {
    margin: 0;
  }
  .container-common .section-common-payment .wrapper {
    padding-right: 0;
    padding-left: 0;
  }
  .section-common-payment {
    padding: 0 0 0;
  }
  .section-common-payment .payment-content {
    padding-bottom: 0;
  }
  .section-common-payment.is-eposcard .payment-content {
    padding-bottom: 0;
  }
}

.sidebar-common.hidden {
  width: 0;
  opacity: 0;
  overflow: hidden;
}

.section-target {
  flex: 1;
  width: 100%;
}

.section-target.expanded {
  flex: 0 0 100%;
}
.payment-content.expanded {
  width: 100% !important;
}
