:root {
  --background-default: #F5F8FA;
  --background-light: #fff;
  --background-gray: #F7F8F9;
  --background-gray2: #F1F1F1;
  --white: #fff;
  --text-primary: #171E21;
  --text-secondary: #EB2F4C;
  --text-link-hover: #a2193e;
  --text-link-gray: #696969;
  --text-note: #6e6e6e;
  --border-default: rgba(0, 0, 0, 0.07);
  --button-primary: #D92152;
  --button-primary-hover: #a2193e;
  --button-secondary: #D92152;
  --button-secondary-hover: #fde6ec;
  --main-color: #EB2F4C;
  --main-gradation: linear-gradient(107deg, #D54209 4.59%, #E31F60 105.97%);
  --case-main: #1E87DA;
  --case-blue: #1E87DA;
  --case-pink: #FF5862;
  --case-green: #20AB35;
  --case-yellow: #B3900E;
  --line: #06C755;
  --app: #F99133;
}

/* ベース */
* {
  padding: 0;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text-primary);
}

a {
  text-decoration: none;
  transition: .3s;
  color: inherit;
}

@media (hover:hover) {
  a:hover {
    cursor: pointer;
  }
}

picture,
img,
a,
span {
  display: inline-block;
}

video,
img,
svg {
  width: 100%;
  height: auto;
}

button {
  font: inherit;
  color: inherit;
  background: transparent;
  background: none;
  border: none;
}

input,
textarea,
select {
  font: inherit;
}

li {
  list-style: none;
}

@media (min-width: 840px) {
  a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
  }
}

/* inner */
.l-inner {
  width: min(1180px, 100%);
  padding-inline: 40px;
  margin-inline: auto;
}

@media screen and (max-width: 840px) {
  .l-inner {
    width: 100%;
    padding-inline: 16px;
    max-width: 500px;
    margin-inline: auto;
  }
}

/* ボタン */
.c-button-primary {
  color: var(--white);
  background-color: var(--button-primary);
  transition: background-color 0.3s ease;
  border-radius: 100vmax;
}

@media (hover:hover) {
  .c-button-primary:hover {
    background-color: var(--button-primary-hover);
  }
}

.c-button-secondary {
  color: var(--button-secondary);
  border: 1px solid var(--button-secondary);
  background-color: var(--background-light);
  transition: background-color 0.3s ease;
  border-radius: 100vmax;
}

@media (hover:hover) {
  .c-button-secondary:hover {
    background-color: var(--button-secondary-hover);
  }
}

.c-heading {
  color: var(--main-color);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: .05em;
}

@media screen and (max-width: 840px) {
  .c-heading {
    font-size: 22px;
  }
}

/* セクション */
.p-sec__text {
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  line-height: 1.5;
}

@media screen and (max-width: 840px) {
  .p-sec__text {
    font-size: 18px;
  }
}

.white {
  color: var(--white);
}

.red {
  color: var(--main-color);
}

.blue {
  color: var(--case-blue);
}

.pink {
  color: var(--case-pink);
}

.green {
  color: var(--case-green);
}

.yellow {
  color: var(--case-yellow);
}

/* ヘッダー */
.p-header-wrap {
  position: relative;
}

.p-header {
  position: sticky;
  top: 0;
  z-index: 101;
  background-color: var(--white);
}

@media screen and (max-width: 840px) {
  .p-header {
    border-bottom: 1px solid var(--border-default);
  }
}

.p-header__main {
  display: grid;
  grid-template-columns: 188px 1fr;
  max-width: 1200px;
  margin-inline: auto;
  flex-shrink: 0;
  align-items: center;
  position: relative;
  padding: 40px 40px 28px;
}

@media screen and (max-width: 840px) {
  .p-header__main {
    grid-template-columns: 150px 1fr;
    padding: 16px;
  }
}

.p-header__logo {
  display: block;
  width: 188px;
  aspect-ratio: 188 / 40;
}

@media screen and (max-width: 840px) {
  .p-header__logo {
    width: 150px;
  }
}

.p-header__logo img {
  display: block;
}

.p-header__button {
  display: flex;
  align-items: center;
  column-gap: 16px;
  justify-self: end;
}


.p-header__search {
  display: flex;
  align-items: center;
  column-gap: 4px;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

@media screen and (max-width: 840px) {
  .p-header__search {
    display: none;
  }
}

@media (hover:hover) {
  .p-header__search:hover {
    color: var(--text-link-hover);
    text-decoration: underline;
  }

  .p-header__search:hover .p-header__search-img {
    background-image: url(../img/search-hover.png);
  }
}

.p-header__search-img {
  width: 16px;
  height: 16px;
  background: url(../img/search.png) no-repeat center center / contain;
  transition: background-image 0.3s ease;
}

.p-header__search-text {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.p-header__login,
.p-header__join {
  font-size: 14px;
  font-weight: 700;
  padding: 11.5px 20px;
  border-radius: 100vmax;
}

@media screen and (max-width: 840px) {
  .p-header__login {
    display: none;
  }
}

@media screen and (max-width: 840px) {
  .p-header__join {
    font-size: 12px;
    padding: 3.5px 17.5px;
    text-align: center;
  }
}

@media screen and (max-width: 840px) {
  .p-header__join span {
    display: inline-block;
  }
}

.p-header__main-menu {
  background: linear-gradient(0deg, rgba(220, 220, 220, 0.20) 0%, rgba(220, 220, 220, 0.20) 100%), #FFF;
  padding-block: 22.77px;
  padding-inline: 40px;
}

@media screen and (max-width: 840px) {
  .p-header__main-menu {
    display: none;
  }
}

.p-header__nav {
  display: flex;
  justify-content: center;
}

.p-header__list {
  display: flex;
  align-items: center;
  column-gap: 30px;
}

.p-header__link {
  position: relative;
  color: var(--text-link-gray);
  font-size: 14px;
  font-weight: 700;
  padding-inline: 12px;
  padding-block-end: 14.45px;
  white-space: nowrap;
}

.p-header__link::before {
  position: absolute;
  content: "";
  background: url(../img/header_arrow.png) no-repeat center center / cover;
  bottom: 0;
  left: 50%;
  translate: -50%;
  width: 16px;
  aspect-ratio: 5 / 3;
  transition: bottom 0.3s ease;
}

@media (hover:hover) {
  .p-header__link:hover {
    color: var(--text-link-hover);
  }

  .p-header__link:hover.p-header__link::before {
    bottom: -6px;
  }
}

/* ドロワーメニュー */
.p-drawer__icon {
  display: none;
}

@media screen and (max-width: 840px) {
  .p-drawer__icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 16px;
  }
}

.p-drawer__icon--bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 100vmax;
  transition: rotate 0.3s linear, translate 0.3s linear;
}

.p-drawer__icon.js-show .p-drawer__icon--bar:nth-of-type(1) {
  rotate: 45deg;
  translate: 0 7px;
}
.p-drawer__icon.js-show .p-drawer__icon--bar:nth-of-type(2) {
  display: none;
}
.p-drawer__icon.js-show .p-drawer__icon--bar:nth-of-type(3) {
  rotate: -45deg;
  translate: 0 -7px;
}

.p-drawer {
  position: fixed;
  bottom: 0;
  left: 0;
  translate: 0 -100%;
  width: 100%;
  height: calc(100svh - 66px);
  height: calc(100vh - 66px);
  background-color: var(--background-light);
  transition: translate 0.3s linear;
  margin-block-start: 66px;
  inset: 0;
  z-index: 100;
  padding-inline: 16px;
  padding-block: 40px;
  overflow-y: auto;
}

.p-drawer.js-show {
  translate: 0;
}

.p-drawer__item a {
  min-height: 56px;
  display: flex;
  align-items: center;
  color: var(--text-link-gray);
  border-bottom: 1px solid var(--border-default);
  font-size: 16px;
  font-weight: 700;
}

.p-drawer__link {
  width: 100%;
  padding: 6px 20px;
  text-align: center;
  font-weight: 700;
  margin-block-end: 24px;
  min-height: 40px;
}

/* FV */
.p-fv {
  padding-block: 31px 60px;
  position: relative;
}

@media screen and (max-width: 840px) {
  .p-fv {
    padding: 0px 17px 19px 16px;
  }
}


.p-fv__img {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  display: block;
}

.p-fv__btn {
  position: absolute;
  width: min(calc(229 / 1440 * 100vw), 229px);
  aspect-ratio: 229 / 52;
  top: min(calc(190 / 466 * 100%), 190px);
  right: min(calc(340 / 1440  * 100vw), 340px);

  transition: scale .2s ease-in-out;
  cursor: pointer;
}

@media screen and (max-width: 840px) {
  .p-fv__btn {
    width: calc(182 / 390 * 100%);
    left: calc(50% - 6px);
    translate: -50%;
    top: calc(330 / 499 * 100%);
  }
}

.p-fv__btn:hover {
  scale: 1.2;
}

.p-fv__btn img {
  filter: drop-shadow(0 6px 0  rgba(87, 87, 87, 0.21));
}



.p-fv__button {
  margin-block-start: 38px;
  text-align: center;
}

@media screen and (max-width: 840px) {
  .p-fv__button {
  margin-block-start: 14px;
  width: 100%;
  max-width: 500px;
  margin-inline: auto;
}
}

.p-fv__link {
  position: relative;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 22px 69px;
  min-width: 550px;
  text-align: center;
}

@media screen and (max-width: 840px) {
.p-fv__link {
  font-size: 14px;
  padding: 14px 26px;
  min-width: 0;
  width: 100%;
  letter-spacing: 0.01em;
}
}

.p-fv__link::before {
  position: absolute;
  content: "";
  width: 32px;
  aspect-ratio: 1;
  top: 50%;
  translate: 0 -50%;
  right: 25px;
  background: url(../img/button-arrow.svg) no-repeat center / contain;
}

@media screen and (max-width: 840px) {
  .p-fv__link::before {
    width: 21px;
    right: 12px;
  }
}

/* 初期設定 */
button {
  background: none;
}
:where(dialog) {
  width: unset;
  max-width: unset;
  /* height: unset;
  max-height: unset; */
  padding: unset;
  color: unset;
  background-color: unset;
  border: unset;
  overflow: unset;
}
body:has(dialog[open]) {
  overflow: hidden;
}

/* モーダルのスタイル ============ */

dialog::backdrop {
  opacity: 0;
  transition: background 0.3s ease-in-out;
}

dialog.js-show.p-modal {
  opacity: 1;
  visibility: visible;
}

dialog.js-show::backdrop {
  opacity: 1;
  background: rgb(0 0 0  / 0.20) ;
  backdrop-filter: blur(6px);
}

.p-modal {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  max-width: 800px;
  max-height: 80vh;
  aspect-ratio: 16 / 9;
  margin: auto;
}

@media screen and (max-width: 840px) {
  .p-modal {
    width: calc(360 / 390 * 100%);
  }
}


.p-modal__body {
  position: relative;

}

.p-modal__body iframe {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  height: 100%;
}

.p-modal__icon {
  position: absolute;
  width: 64px;
  aspect-ratio: 1;
  padding: 16px;
  border-radius: 50%;
  background: var(--background-light);
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  bottom: calc(100% + 20px);
  right: -40px;
  transition: opacity 0.3s ease-in-out;
  cursor: pointer;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.16);
}

@media screen and (max-width: 840px) {
  .p-modal__icon {
    right: 0;
    width: 46px;
    padding: 8px;
  }
}

@media (any-hover: hover) {
  .p-modal__icon:hover {
    opacity: .5;
  }
}

.p-modal__icon--bar {
  width: 100%;
  height: 2px;
  background: var(--text-primary);
}

.p-modal__icon--bar:nth-of-type(1) {
  rotate: 135deg;
  translate: 0 7.5px;
}

@media screen and (max-width: 840px) {
  .p-modal__icon--bar:nth-of-type(1)  {
    translate: 0 8px;
  }
}

.p-modal__icon--bar:nth-of-type(2) {
  rotate: -135deg;
  translate: 0 -8px;
}

@media screen and (max-width: 840px) {
  .p-modal__icon--bar:nth-of-type(2)  {
    translate: 0 -7.5px;
  }
}

/* キャッチ */
.p-catch {
  background-color: var(--background-gray);
}

.p-catch__inner {
  padding-block: 8px;
  padding-inline: 16px;
  display: flex;
  column-gap: 16px;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width: 840px) {
  .p-catch__inner {
    column-gap: 12px;
  }
}

.p-catch__img {
  width: 73px;
  aspect-ratio: 73 / 72;
}

.p-catch__text {
  color: var(--main-color);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  font-feature-settings: "palt";
}

@media screen and (max-width: 840px) {
  .p-catch__text {
    font-size: 14px;
  }
}

/* ctaボタン */
.p-cta {
  position: fixed;
  display: block;
  width: 197px;
  height: 85px;
  opacity: 0;
  pointer-events: none;
  z-index: 99;
  transition: opacity 0.3s ease;
  right: 10px;
  bottom: 20px;
}

@media screen and (max-width: 840px) {
  .p-cta {
    width: 150px;
  }
}


@media (hover:hover) {
  .p-cta:hover .p-cta__body::after {
    right: 10px;
  }
}

.p-cta.is-active {
  opacity: 1;
  pointer-events: auto;
}

.p-cta__head {
  --main-gradation: #D54209;
  border: 2.4px solid var(--main-gradation);
  background-color: var(--white);
  border-radius: 12px 12px 0 0;
  padding-inline-start: 3px;
  font-feature-settings: "palt";
}

@media screen and (max-width: 840px) {
  .p-cta__head {
    padding-inline-start: 2px;
  }
}

.p-cta__head-text {
  position: relative;
  background: var(--main-gradation);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.8;
  letter-spacing: calc(.84 / 12 * 1em);
  width: fit-content;
  margin-inline: auto;
  column-gap: 3px;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media screen and (max-width: 840px) {
  .p-cta__head-text {
    font-size: 10px;
  }
}

.p-cta__head-text .f-lg {
  font-size: 16px;
}

@media screen and (max-width: 840px) {
  .p-cta__head-text .f-lg {
    font-size: 12px;
  }
}

.p-cta__head-text::before,
.p-cta__head-text::after {
  position: absolute;
  content: "";
  top: calc(50% - 6px);
  translate: -50%;
  width: 10px;
  aspect-ratio: 2 / 3;
}

@media screen and (max-width: 840px) {
  .p-cta__head-text::before,
  .p-cta__head-text::after {
    width: 7px;
    top: calc(50% - 4px);
  }
}

.p-cta__head-text::before {
  background: url(../img/cta_left.png) no-repeat center center /contain;
  left: -7px;
}

@media screen and (max-width: 840px) {
  .p-cta__head-text::before {
    left: -6px;
  }
}

.p-cta__head-text::after {
  background: url(../img/cta_right.png) no-repeat center center /contain;
  right: -16px;
}

@media screen and (max-width: 840px) {
  .p-cta__head-text::after {
    right: -11px;
  }
}

.p-cta__body {
  position: relative;
  background: var(--main-gradation);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .05em;
  border-radius: 0 0 12px 12px;
  padding: 5px 28px 7px 30px;
  font-feature-settings: "palt";
}

@media screen and (max-width: 840px) {
  .p-cta__body {
    border-radius: 0 0 8px 8px;
    padding: 0 18px 4px;
    font-size: 10px;
  }
}

.p-cta__body::after {
  position: absolute;
  content: "";
  width: 14px;
  aspect-ratio: 27 / 26;
  top: 50%;
  translate: 0 -50%;
  right: 15px;
  background: url(../img/cta_arrow.png) no-repeat center center / contain;
  transition: right 0.3s ease;
}

@media screen and (max-width: 840px) {
  .p-cta__body::after {
    width: 10px;
    right: 16px;
  }
}

.p-cta__body .f-md {
  font-size: 16px;
}

@media screen and (max-width: 840px) {
  .p-cta__body .f-md {
    font-size: 12px;
  }
}

.p-cta__body .f-lg {
  font-size: 20px;
  letter-spacing: 0;
}

@media screen and (max-width: 840px) {
  .p-cta__body .f-lg {
    font-size: 16px;
  }
}


/* モデルケース */
.p-case {
  background: linear-gradient(180deg, #FFE7CA 0%, #FFC8C9 100%);
  padding-block: 80px;
}

@media screen and (max-width: 840px) {
  .p-case {
    padding-block: 40px;
  }
}

.p-case__inner {
  width: min(calc(1196px + 16px * 2), 100%);
  padding-inline: 16px;
  margin-inline: auto;
}

.p-case__heading {
  padding-block: 20.5px;
  font-size: 28px;
  background: rgba(255, 255, 255, 0.37);
  text-align: center;
}

@media screen and (max-width: 840px) {
  .p-case__heading {
    font-size: 22px;
  }
}

.p-case__list {
  margin-block-start: 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px 20px;
  justify-items: center;
  width: fit-content;
  margin-inline: auto;
}

@media screen and (max-width: 1070px) {
  .p-case__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.p-case__splide {
  margin-block-start: 30px;
}

.p-case__item {
  position: relative;
}

@media screen and (max-width: 1180px) {
  .p-case__item {
    width: 250px !important;
  }
}

.p-case__item.is-case-1 {
  --case-main: #1E87DA;
}
.p-case__item.is-case-2 {
  --case-main: #FF5862;
}

.p-case__item.is-case-3 {
  --case-main: #20AB35;
}

.p-case__item.is-case-4 {
  --case-main: #B3900E;
}

.p-case__img img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 250 / 159;
  border-radius: 16px 16px 0 0;
  object-fit: cover;
}

.p-case__body {
  position: relative;
  background: linear-gradient(180deg, #FFF 51.92%, #F2F9FF 100%);
  padding: 17px 10px 40px 20px;
  border-radius: 0 0 16px 16px;
  min-height: 287px;
}

.p-case__item-title {
  color: var(--case-main);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  font-feature-settings: "palt";
  letter-spacing: .05em;
  margin-inline: -16px -6px;
}

.p-case__item-list {
  margin-block-start: 28px;
  display: flex;
  flex-direction: column;
  row-gap: 14px;
}

.p-case__item-merit {
  position: relative;
  padding-inline-start: 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  border-left: 2px solid var(--case-main);
}

.p-case__item .p-case__item-merit::before {
  position: absolute;
  content: "";
}

.p-case__item.is-case-1 .p-case__body {
  background: linear-gradient(180deg, #FFF 51.92%, #F2F9FF 100%);
}

.p-case__item.is-case-2 .p-case__body {
  background: linear-gradient(180deg, #FFF 53.83%, #FFF3F4 100%);
}

.p-case__item.is-case-3 .p-case__body {
  background: linear-gradient(180deg, #FFF 57.14%, #F6FFF7 100%);
}

.p-case__item.is-case-4 .p-case__body {
  background: linear-gradient(180deg, #FFF 53.32%, #FFFCF1 100%);
}

.p-case__item.is-case-1 .p-case__item-merit:nth-of-type(1)::before {
  background: url(../img/case_item1-1.png) no-repeat center / contain;
  width: 42px;
  aspect-ratio: 1;
  top: -16px;
  left: 0;
}

.p-case__item.is-case-1 .p-case__item-merit:nth-of-type(2)::before {
  background: url(../img/case_item1-2.png) no-repeat center / contain;
  width: 61px;
  aspect-ratio: 1;
  top: -28px;
  left: 90px;
}

.p-case__item.is-case-1 .p-case__item-merit:nth-of-type(3)::before {
  background: url(../img/case_item1-3.png) no-repeat center / contain;
  width: 71px;
  aspect-ratio: 71 / 69;
  top: -16px;
  left: 110px;
}

.p-case__item.is-case-2 .p-case__item-merit:nth-of-type(1)::before {
  background: url(../img/case_item2-1.png) no-repeat center / contain;
  width: 44px;
  aspect-ratio: 1;
  top: -16px;
  left: 84px;
}

.p-case__item.is-case-2 .p-case__item-merit:nth-of-type(2)::before {
  background: url(../img/case_item2-2.png) no-repeat center / contain;
  width: 42px;
  aspect-ratio: 1;
  top: -16px;
  left: 129px;
}

.p-case__item.is-case-2 .p-case__item-merit:nth-of-type(3)::before {
  background: url(../img/case_item2-3.png) no-repeat center / contain;
  width: 58px;
  aspect-ratio: 58 / 59;
  top: -2px;
  left: 143px;
}

.p-case__item.is-case-3 .p-case__item-merit:nth-of-type(1)::before {
  background: url(../img/case_item3-1.png) no-repeat center / contain;
  width: 47px;
  aspect-ratio: 1;
  top: -20px;
  left: 56px;
}

.p-case__item.is-case-3 .p-case__item-merit:nth-of-type(2)::before {
  background: url(../img/case_item3-2.png) no-repeat center / contain;
  width: 72px;
  aspect-ratio: 1;
  top: -21px;
  left: 132px;
}

.p-case__item.is-case-3 .p-case__item-merit:nth-of-type(3)::before {
  background: url(../img/case_item3-3.png) no-repeat center / contain;
  width: 77px;
  aspect-ratio: 77 / 76;
  top: 4px;
  left: 42px;
}

.p-case__item.is-case-4 .p-case__item-merit:nth-of-type(1)::before {
  background: url(../img/case_item4-1.png) no-repeat center / contain;
  width: 50px;
  aspect-ratio: 1;
  top: -18px;
  left: 90px;
}

.p-case__item.is-case-4 .p-case__item-merit:nth-of-type(2)::before {
  background: url(../img/case_item4-2.png) no-repeat center / contain;
  width: 56px;
  aspect-ratio: 1;
  top: 7px;
  left: 68px;
}

.p-case__item.is-case-4 .p-case__item-merit:nth-of-type(3)::before {
  background: url(../img/case_item4-3.png) no-repeat center / contain;
  width: 61px;
  aspect-ratio: 61 / 59;
  top: 8px;
  left: 0px;
}

.p-case__item-note {
  position: absolute;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.1;
  bottom: 10px;
  right: 3px;
}

.splide__pagination {
  bottom: -28px;
}

.splide__pagination__page {
  background: var(--white);
  margin: 0 4px;
}

.splide__pagination__page.is-active {
  background: var(--button-primary);
  transform: scale(1);
}

.p-case__button {
  margin-block: 28px 0;
  text-align: center;
}

@media screen and (max-width: 840px) {
  .p-case__button {
    margin-block: 58px 0;
  }
}

.p-case__link {
  position: relative;
  padding-block: 21px;
  padding-inline: 26px;
  min-width: 648px;
  text-transform: uppercase;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .05em;
}

@media screen and (max-width: 840px) {
  .p-case__link {
    padding-block: 14px;
    font-size: 14px;
    min-width: 0;
    max-width: 500px;
    width: 100%;
  }
}

.p-case__link::before {
  position: absolute;
  content: "";
  width: 38px;
  height: 30px;
  background: url(../img/button-secondary-arrow.svg) no-repeat center / contain;
  right: 33px;
  top: 50%;
  translate: 0 -50%;
}

@media screen and (max-width: 840px) {
  .p-case__link::before {
    width: 21px;
    height: 21px;
    right: 11px;
  }
}

.p-about {
  padding-block: 80px;
  background: linear-gradient(180deg, #FDC681 0%, #FB9697 100%);
}

@media screen and (max-width: 840px) {
  .p-about {
    padding-block: 43px;
  }
}

.p-about__heading {
  text-transform: uppercase;
  font-size: 36px;
  background: rgba(255, 255, 255, 0.35);
  text-align: center;
  margin-block: 0 30px;
  padding-block: 13px;
}

@media screen and (max-width: 840px) {
  .p-about__heading {
    font-size: 22px;
  }
}

.p-about__list {
  margin-block: 30px 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  row-gap: 30px;
}

@media screen and (max-width: 840px) {
  .p-about__list {
    margin-block: 24px 0;
    row-gap: 24px;
  }
}

.p-about__item {
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.80);
  padding-block: 60px;
  padding-inline: 20px;
}

@media screen and (max-width: 840px) {
  .p-about__item {
    padding-block: 32px;
  }
}

.p-about__title {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 16px;
  color: var(--main-color);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: .1em;
}

@media screen and (max-width: 840px) {
  .p-about__title {
    font-size: 22px;
  }
}

.p-about__icon {
  width: 65px;
  aspect-ratio: 65 / 60;
}

.p-about__icon img {
  display: block;
}

.p-about__catch {
  margin-block-start: 20px;
  text-align: center;
  color: var(--main-color);
  font-size: 20px;
  font-weight: 600;
}

@media screen and (max-width: 840px) {
  .p-about__catch {
    margin-block-start: 10px;
    font-size: 16px;
  }
}

.p-about__catch-list {
  margin-block-start: 40px;
  display: flex;
  column-gap: 29px;
  justify-content: center;
}

@media screen and (max-width: 1070px) {
  .p-about__catch-list {
    column-gap: 16px;
  }
}

@media screen and (max-width: 840px) {
  .p-about__catch-list {
    margin-block-start: 22px;
    flex-direction: column;
    row-gap: 20px;
    align-items: center;
  }
}

.p-about__catch-item {
  background-color: var(--background-light);
  border: 2px solid var(--main-color);
  border-radius: 16px;
  padding: 14px 14px 0;
  max-width: 312px;
  height: fit-content;
  overflow: hidden;
}

.p-about__catch-img {
  width: 100%;
}

.p-about__catch-img img {
  display: block;
  aspect-ratio: 280 / 118;
}

@media screen and (max-width: 840px) {
  .p-about__catch-img img {
    aspect-ratio: 280 / 90;
    object-fit: cover;
  }
}

.p-about__note {
  margin-block: 13px 0;
  color: var(--text-note);
  font-size: 12px;
  text-align: center;
}

.p-about__body {
  height: 120px;
  display: grid;
  place-items: center;
}

@media screen and (max-width: 840px) {
  .p-about__body {
  height: 105px;
}
}

.p-about__desc {
  text-align: center;
  margin: auto;
  color: var(--main-color);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  font-feature-settings: "palt";
}

@media screen and (max-width: 1070px) {
  .p-about__desc {
    font-size: 20px;
  }

}

@media screen and (max-width: 840px) {
  .p-about__desc {
    font-size: 20px;
    height: auto;
  }
}

.p-about__desc .text-lg {
  font-size: 32px;
}

.p-about__desc .text-s {
  font-size: 18px;
}

@media screen and (max-width: 1090px) {
  .p-about__desc .text-s {
    font-size: 16px;
  }
}

@media screen and (max-width: 900px) {
  .p-about__desc .text-s {
    font-size: 14px;
  }
}

.p-about__desc .text-md {
  font-size: 30px;
}

@media screen and (max-width: 1070px) {
  .p-about__desc .text-md {
    font-size: 26px;
  }
}

.p-about__desc.--small {
  font-size: 18px;
  line-height: 1.5;
  display: grid;
  place-items: center;
  height: 147px;
}

@media screen and (max-width: 840px) {
  .p-about__desc.--small {
    font-size: 14px;
    line-height: 1.6;
    height: 106px;
  }
}

.p-about__body.--small {
  display: inline-block;
  height: auto;
  white-space: nowrap;
}

.p-about__desc.--small .text-lg {
  font-size: 30px;
  line-height: 1.1;
}

@media screen and (max-width: 840px) {
  .p-about__desc.--small .text-lg{
    font-size: 24px;
  }
}

.p-about-img {
  overflow: hidden;
  height: 0;
}

.p-about__img img {
  display: block;
}

.p-about__button {
  background-color: var(--main-color);
  margin-inline: -14px;
  width: calc(100% + 14px * 2);
  padding-block: 9.5px;
}

.p-about__detail {
  color: var(--white);
  display: inline-flex;
  column-gap: 6px;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.p-about__button-icon {
  position: relative;
  content: "";
  border-radius: 50%;
  aspect-ratio: 1;
  width: 18px;
  background-color: var(--background-light);
}

.p-about__button-icon::before,
.p-about__button-icon::after {
  position: absolute;
  content: "";
  border-radius: 100vmax;
  background-color: var(--main-color);
  top: 50%;
  left: 50%;
  translate: -50% -50%;
}

.p-about__button-icon::before {
  width: 12px;
  height: 2px;
}

.p-about__button-icon::after {
  width: 2px;
  height: 12px;
  transition: rotate 0.5s ease-in-out;
}

.p-about__catch-item.is-open .p-about__button-icon::after {
  rotate: 90deg;
}

/* ランク判定について */
.p-rank {
  background: linear-gradient(180deg, #FFDEDE 0%, #FFEFF4 100%);
  padding-block: 80px 0;
}

@media screen and (max-width: 840px) {
  .p-rank{
    padding-block: 40px 0;
  }
}

.p-rank__heading {
  background: rgba(255, 255, 255, 0.37);
  padding-block: 13.5px;
  text-align: center;
  margin-block-end: 32px;
}

@media screen and (max-width: 840px) {
  .p-rank__heading {
    margin-block-end: 21px;
  }
}

.p-rank__inner {
  padding-inline: 16px;
}

.p-rank__catch {
  margin-block-start: 32px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
}

@media screen and (max-width: 840px) {
  .p-rank__catch {
    margin-block-start: 21px;
    font-size: 16px;
  }
}

.p-rank__img {
  margin-block-start: 32px;
  max-width: 810px;
  margin-inline: auto;
}

@media screen and (max-width: 840px) {
  .p-rank__img {
    max-width: 500px;
  }
}

.p-rank__img img {
  aspect-ratio: 810 / 547;
}

@media screen and (max-width: 840px) {
  .p-rank__img img {
    aspect-ratio: 339 / 276;
  }
}

.p-rank__note {
  margin-block: -32px 0;
  text-align: center;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

@media screen and (max-width: 840px) {
  .p-rank__note {
    margin-block: -10px;
  }
}


/* TOKYU POINT プログラムの始め方 */
.p-how-to {
  background: linear-gradient(180deg, #FFF0F5 0%, #FF9C6B 100%);
  padding-block: 80px;
}

@media screen and (max-width: 840px) {
  .p-how-to {
    padding-block: 43px;
  }
}

.p-how-to__heading {
  text-transform: uppercase;
  text-align: center;
  padding-block: 13px;
  background: rgba(255, 255, 255, 0.37);
  margin-block: 0 42px;
  line-height: 1.2;
}

@media screen and (max-width: 840px) {
  .p-how-to__heading {
    margin-block: 0 24px;
  }
}

.p-how-to__wrap {
  position: relative;
  margin-block: 42px 0;
  padding: 43px 16px 41px;
  z-index: 0;
  width: 100%;
  display: flex;
  column-gap: 24px;
  row-gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

@media screen and (max-width: 840px) {
  .p-how-to__wrap {
    margin-block: 24px 0;
    flex-direction: column;
    row-gap: 16px;
    padding: 19px 14px;
  }
}

.p-how-to__wrap::before {
  position: absolute;
  content: "";
  opacity: 0.28;
  background: var(--background-light);
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  z-index: -1;
}


.p-how-to__head {
  height: 91px;
  text-align: center;
  background-color: var(--background-light);
  display: grid;
  place-content: center;
  border-radius: 16px 16px 0 0;
}

@media screen and (max-width: 840px) {
  .p-how-to__head {
    height: auto;
    padding: 14px 16px;
    row-gap: 6px;
  }
}

.p-how-to__container-title {
  --main-gradation: linear-gradient(107deg, #D54209 4.59%, #E31F60 105.97%);
  background: var(--main-gradation);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;

}

.p-how-to__container.--gold .p-how-to__container-title {
  --main-gradation: linear-gradient(158deg, #FFC95D -5.63%, #E15D01 124.71%);
}

.p-how-to__note {
  font-size: 12px;
  font-weight: 500;
}

.p-how-to__body {
  --how-to_gradation: linear-gradient(99deg, #FF6C71 -2.69%, #ED1E29 32.68%, #B71100 63.63%, #C62D00 99.48%);
  background: var(--how-to_gradation);
  padding: 29px 24px 25px;
  border-radius: 0 0 16px 16px;
}

@media screen and (max-width: 840px) {
  .p-how-to__body {
    padding: 24px 14px;
  }
}

.p-how-to__container.--gold .p-how-to__body {
  --how-to_gradation: linear-gradient(158deg, #FFC95D -5.63%, #E15D01 124.71%);
}
.p-how-to__cards {
  display: flex;
  column-gap: 20px;
}

@media screen and (max-width: 840px) {
  .p-how-to__cards {
    flex-direction: column;
    row-gap: 16px;
  }
}

.p-how-to__card {
  background-color: var(--background-light);
  border-radius: 10px;
  padding-inline: 20px;
  width: 290px;
  min-height: 480px;
}

@media screen and (max-width: 840px) {
  .p-how-to__card {
    width: 100%;
    max-width: 290px;
    margin-inline: auto;
    padding-inline: 18px;
  }
}

@media screen and (max-width: 840px) {
  .p-how-to__card.--app {
    min-height: 0;
    padding-block-end: 27px;
  }
}

.p-how-to__card.--app .p-how-to__card-head {
  padding-block: 7px 0;
}

.p-how-to__card.--line .p-how-to__card-img {
  width: 202px;
  aspect-ratio: 202 / 131;
  margin: 16px 41px 4px 7px;
}

.p-how-to__card.--plastic .p-how-to__card-img {
  width: 149px;
  aspect-ratio: 149 / 119;
  margin: 30px auto 2px 40px;
}

.p-how-to__card.--app .p-how-to__card-img {
  width: 95px;
  aspect-ratio: 95 / 140;
  margin: 0 auto 4px;
}

.p-how-to__card-img img {
  display: block;
}

.p-how-to__card-title {
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .05em;
  padding-block-end: 24px;
  border-bottom: 1px solid var(--main-color);
}

.p-how-to__card.--app .p-how-to__card-title {
  color: var(--app);
}

.p-how-to__card.--line .p-how-to__card-title {
  color: var(--line);
}

.p-how-to__card.--plastic .p-how-to__card-title {
  color: var(--main-color);
}

.p-how-to__card.--app .p-how-to__card-title {
  color: var(--app);
  border-color: var(--app);
}

.p-how-to__card-title .text-lg {
  font-size: 22px;
}

.p-how-to__list {
  margin-block: 16px 0;
  display: flex;
  flex-direction: column;
  row-gap: 14px;
}

.p-how-to__item {
  position: relative;
  padding-inline-start: 31px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.28;
}

.p-how-to__card.--plastic .p-how-to__item:nth-of-type(2) {
  margin-block-start: 8px;
}

.p-how-to__card.--plastic .p-how-to__item:nth-of-type(3) {
  margin-block-start: 8px;
}

.p-how-to__item::before,
.p-how-to__item::after {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
}

.p-how-to__item::before {
  content: "";
  background-color: var(--line);
  width: 24px;
  aspect-ratio: 1;
  border-radius: 50%;
  left: 0;
}

.p-how-to__card.--plastic .p-how-to__item::before {
  background-color: var(--main-color);
}


.p-how-to__card.--line .p-how-to__item::after,
.p-how-to__card.--plastic .p-how-to__item::after {
  content: "1";
  left: 8px;
  color: var(--white);
}

.p-how-to__card.--line .p-how-to__item:nth-of-type(2):after,
.p-how-to__card.--plastic .p-how-to__item:nth-of-type(2)::after {
  content: "2";
}

.p-how-to__card.--line .p-how-to__item:nth-of-type(3):after,
.p-how-to__card.--plastic .p-how-to__item:nth-of-type(3)::after {
  content: "3";
}

.p-how-to__card.--line .p-how-to__item:nth-of-type(4):after,
.p-how-to__card.--plastic .p-how-to__item:nth-of-type(4)::after {
  content: "4";
}

.p-how-to__text {
  margin-block-start: 56px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}

@media screen and (max-width: 840px) {
  .p-how-to__text {
   margin-block-start: 18px;
  }
}

.p-how-to__text .gold {
  display: inline;
  color: var(--app);
}

.p-how-to__apps {
  margin-block: 40px 0;
  display: flex;
  column-gap: 30px;
  justify-content: center;
  align-items: center;
}

.p-how-to__app {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 30px;
  border: 2px solid var(--white);
  width: 420px;
  border-radius: 10px;
  padding: 34px;
}

.p-how-to__app.--line {
  background: var(--line);
}

.p-how-to__app.--plus {
  background: var(--main-gradation);
}

.p-how-to__app-text {
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.p-how-to__app-qr {
  width: 120px;
  aspect-ratio: 1;
}

.p-how-to__apps--sp {
  display: none;
}

@media screen and (max-width: 840px) {
  .p-how-to__apps--sp {
  margin-block: 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  }
}

.p-how-to__app--sp {
  position: relative;
  border: 1.5px solid var(--white);
  border-radius: 7px;
  color: var(--white);
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .05em;
  width: 100%;
  padding: 14px 12px;
}

.p-how-to__app--sp.--line {
  background-color: var(--line);
}

.p-how-to__app--sp.--plus {
  background: var(--main-gradation);
}

.p-how-to__app--sp::after {
  position: absolute;
  content: "";
  width: 14px;
  aspect-ratio: 1;
  top: 50%;
  translate: 0 -50%;
  right: 18px;
  background: url(../img/how-to_button-arrow.png) no-repeat center / contain;
}

.p-how-to__app--sp.--plus::before {
  position: absolute;
  content: "";
  width: 17px;
  height: 21px;
  background: url(../img/download.png) no-repeat center / contain;
  top: 50%;
  translate: 0 -50%;
  left: 26px;
}

.p-how-to__app--sp:nth-of-type(2) {
  background-color: var(--main-color);
}

/* キャンペーン情報 */
.p-campaign {
  background: linear-gradient(180deg, #FFE2C5 0%, #FFF0E9 100%);
  padding-block: 80px;
}

@media screen and (max-width: 840px) {
  .p-campaign {
    padding-block: 43px 53px;
  }
}

.p-campaign__inner {
  max-width: 1440px;
  width: 100%;
  margin-inline: auto;
}

.p-campaign__heading {
  background: rgba(255, 255, 255, 0.55);
  padding-block: 13px;
  margin-block: 0 22px;
  text-align: center;
}

@media screen and (max-width: 840px) {
  .p-campaign__heading {
    margin-block: 0 16px;
  }
}

.p-campaign__slides {
  margin-block: 40px 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  row-gap: 40px;
}

@media screen and (max-width: 840px) {
  .p-campaign__slides {
    margin-block: 36px 0;
    row-gap: 20px;
  }
}


.p-campaign__top-wrap {
  display: flex;
  column-gap: 24px;
}

@media screen and (max-width: 840px) {
  .p-campaign__top-wrap {
    column-gap: 13px;
  }
}


@keyframes loop {
  0% {
    translate: 0;
  }
  100% {
    translate: -100%;
  }
}

@keyframes left-loop {
  0% {
    translate: -100%;
  }
  100% {
    translate: 0;
  }
}

.p-campaign__top-slides {
  display: flex;
  flex-shrink: 0;
  column-gap: 24px;
  animation: loop 30s infinite linear 0.5s both;
}

@media screen and (max-width: 840px) {
  .p-campaign__top-slides {
    column-gap: 13px;
  }
}


@media (hover:hover) {
  .p-campaign__top-wrap:hover .p-campaign__top-slides {
    animation-play-state: paused;
  }
}

.p-campaign__bottom-wrap {
  display: flex;
  column-gap: 24px;
}

@media screen and (max-width: 840px) {
  .p-campaign__bottom-wrap {
    column-gap: 13px;
  }
}


.p-campaign__bottom-slides {
  display: flex;
  flex-shrink: 0;
  column-gap: 24px;
  animation: left-loop 30s infinite linear 0.5s both;
}

@media screen and (max-width: 840px) {
  .p-campaign__bottom-slides {
    column-gap: 13px;
  }
}


@media (hover:hover) {
  .p-campaign__bottom-wrap:hover .p-campaign__bottom-slides {
    animation-play-state: paused;
  }
}

.p-campaign__slide {
  flex-shrink: 0;
}

.p-campaign__slide img {
  display: block;
  width: calc(272 / 1440 * 100vw);
  aspect-ratio: 272 / 182;
  height: auto;
}

@media screen and (max-width: 840px) {
  .p-campaign__slide img {
    width: 150px;
    aspect-ratio: 150 / 100;
  }
}

.p-campaign__img-wrap {
  padding-inline: 20px;
  max-width: 1040px;
  width: 100%;
  margin-inline: auto;
  margin-block-start: 83px;
}

@media screen and (max-width: 840px) {
  .p-campaign__img-wrap {
    margin-block-start: 53px;
    padding-inline: 16px;
  }
}

.p-campaign__img {
  display: block;
  width: 100%;
  transition: opacity 0.3s ease;
}

@media screen and (max-width: 840px) {
  .p-campaign__img {
    max-width: 500px;
    margin-inline: auto;
  }
}

@media (any-hover: hover) {
  .p-campaign__img:hover {
    opacity: .7;
  }
}


.p-campaign__img img {
  aspect-ratio: 1040 / 272;
}

@media screen and (max-width: 840px) {
  .p-campaign__img img {
    aspect-ratio: 358 / 160;
  }
}

/* よくある質問 */
summary {
  display: block;
}

summary::-webkit-details-marker {
  display: none;
}

.p-faq {
  background: linear-gradient(180deg, #FDC681 0%, #DB8586 100%);
  padding-block: 80px;
}

@media screen and (max-width: 840px) {
  .p-faq {
    padding-block: 43px;
  }
}

.p-faq__inner {
  width: min(880px, 100%);
  padding-inline: 40px;
  margin-inline: auto;
}

@media screen and (max-width: 840px) {
  .p-faq__inner {
    padding-inline: 16px;
  }
}

.p-faq__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 6px;
}

.p-faq__heading::after {
  content: "";
  width: 220px;
  height: 3px;
  background-color: var(--main-color);
}

.p-faq__list {
  margin-block-start: 47px;
  display: flex;
  flex-direction: column;
  row-gap: 10px;
  align-items: center;
}

@media screen and (max-width: 840px) {
  .p-faq__list {
    margin-block-start: 24px;
  }
}

.p-faq__item {
  border-radius: 10px;
  background-color: var(--background-gray);
  padding-inline: 29px 0;
  width: 100%;
}

@media screen and (max-width: 840px) {
  .p-faq__item {
    padding-inline: 16px 0;
  }
}

.p-faq__question {
  position: relative;
  padding-block: 16px;
  width: 100%;
}

@media (hover:hover) {
  .p-faq__question:hover {
    cursor: pointer;
  }
}

.p-faq__question::before,
.p-faq__question::after {
  position: absolute;
  content: "";
  top: 50%;
  translate: 0 -50%;
  background-color: var(--main-color);
  border-radius: 100vmax;
}

.p-faq__question::before {
  width: 20px;
  height: 2px;
  right: 29px;
}

@media screen and (max-width: 840px) {
  .p-faq__question::before {
    right: 16px;
  }
}

.p-faq__question::after {
  width: 2px;
  height: 20px;
  right: 38px;
  transition: rotate 0.3s ease;
}

@media screen and (max-width: 840px) {
  .p-faq__question::after {
    right: 25px;
  }
}

details[open] .p-faq__question::after {
  rotate: 90deg;
}

.p-faq__question-text {
  position: relative;
  font-size: 18px;
  font-weight: 500;
  padding-inline: 31px 63px;
}

@media screen and (max-width: 840px) {
  .p-faq__question-text {
    font-size: 14px;
    padding-inline: 31px 52px;
  }
}

.p-faq__question-text::before {
  position: absolute;
  content: "Q";
  color: var(--main-color);
  font-size: 22px;
  left: 0;
  top: 50%;
  translate: 0 -50%;
}

@media screen and (max-width: 840px) {
  .p-faq__question-text::before {
    font-size: 18px;
  }
}

.p-faq__answer {
  padding-block: 16px;
}

.p-faq__answer-text {
  position: relative;
  font-size: 16px;
  font-weight: 500;
  padding-inline: 29px 63px;
}

@media screen and (max-width: 840px) {
  .p-faq__answer-text {
    font-size: 14px;
  }
}

.p-faq__answer-text::before {
  position: absolute;
  content: "A";
  color: var(--main-color);
  font-size: 22px;
  left: 0;
}

@media screen and (max-width: 840px) {
  .p-faq__answer-text::before {
    font-size: 18px;
  }
}

.p-faq__note {
  font-size: 12px;
}

@media screen and (max-width: 840px) {
  .p-faq__note {
    font-size: 10px;
  }
}

/* フッター */
.p-footer {
  background-color: var(--background-light);
  padding-block-start: 48px;
}

@media screen and (max-width: 840px) {
  .p-footer {
    padding-block-start: 40px;
  }
}

.p-footer__logo {
  width: 188px;
  aspect-ratio: 188 / 40;
}

.p-footer__wrap {
  margin-block-start: 48px;
  display: flex;
  justify-content: space-between;
}

@media screen and (max-width: 840px) {
  .p-footer__wrap {
    margin-block-start: 40px;
    flex-direction: column;
    row-gap: 24px;
  }
}

.p-footer__inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 40px;

}

@media screen and (max-width: 840px) {
  .p-footer__inner {
    padding-inline: 16px;
  }
}

.p-footer__list {
  display: flex;
  flex-direction: column;
  row-gap: 24px;
}

.p-footer__link {
  position: relative;
  text-transform: uppercase;
  transition: color 0.3s ease, text-decoration 0.3s ease;
  font-size: 14px;
  font-weight: 400;
}

@media (hover:hover) {
  .p-footer__link:hover {
    color: var(--text-link-hover);
    text-decoration: underline;
  }
}


.p-footer__link[target="_blank"]::before{
  position: absolute;
  content: "";
  background: url(../img/external-link.png) no-repeat center / contain;
  width: 16px;
  aspect-ratio: 1;
  left: calc(100% + 4px);
  top: 50%;
  translate: 0 -50%;
}

.p-footer__block {
  background-color: var(--background-default);
  border-radius: 16px;
  padding: 24px;
  height: fit-content;
}

@media screen and (max-width: 840px) {
  .p-footer__block {
    margin-block-start: 40px;
    width: fit-content;
    margin-inline: auto;
  }
}

.p-footer__head {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 16px;
}

.p-footer__img {
  width: 70px;
  aspect-ratio: 1;
}

.p-footer__text {
  font-size: 16px;
  font-weight: 700;
}

.p-footer__button {
  margin-block-start: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 8px;
}

.p-footer__button-link:nth-of-type(1) {
  width: 109px;
  aspect-ratio: 109 / 40;
}

.p-footer__button-link:nth-of-type(2) {
  width: 136px;
  aspect-ratio: 136 / 40;
}

.p-footer__bottom-list {
  margin-block-start: 64px;
  display: flex;
  align-items: center;
  column-gap: 48px;
}

@media screen and (max-width: 840px) {
  .p-footer__bottom-list {
    margin-block-start: 40px;
    justify-content: center;
  }
}

.p-footer__bottom-link {
  font-size: 14px;
  font-weight: 400;
}

.p-footer__bottom-item {
  position: relative;
}

.p-footer__bottom-item:first-of-type:before {
  position: absolute;
  content: "";
  width: 1px;
  height: 16px;
  top: 50%;
  left: calc(100% + 24px);
  background-color: var(--border-default);
}

.p-footer__bottom-link {
  transition: color 0.3s ease;
}

@media (any-hover: hover) {
  .p-footer__bottom-link:hover {
    color: var(--text-link-hover);
    text-decoration: underline;
  }
}

.p-footer__copy {
  margin-block-start: 64px;
  background-color: var(--background-default);
  text-align: center;
  padding-block: 24px;
}

@media screen and (max-width: 840px) {
  .p-footer__copy  {
    margin-block-start: 40px;
  }
}

.p-footer__small {
  font-size: 12px;
  font-weight: 400;
}

/* ユーティリティー */
.u-sp {
  display: none;
}

@media screen and (max-width: 840px) {
  .u-sp {
    display: block;
  }
}

@media screen and (max-width: 840px) {
  .u-sp.inline {
    display: inline;
  }
}

@media screen and (max-width: 840px) {
  .u-pc {
    display: none;
  }
}

.u-scroll-lock {
  overflow: hidden;
  touch-action: none;
  height: 100%;
}