@charset "UTF-8";

/**
 * サイト全体に適用する子テーマ用 CSS
 */


:root {
  --font-family-base: "Noto Sans JP", sans-serif;
  --font-family-second: YakuHanJP, "Noto Sans JP", sans-serif;
  --font-family-third: "Noto Serif JP", serif;
  --font-family-fourth: "Inter", sans-serif;
}

:root {
  --cq-ref-mobile: 375;
  --cq-ref: 1240;
  --fluid-basis-mobile: (100vw - 320px) / (375 - 320);
  --fluid-basis: (100vw - 768px) / (1440 - 768);
  --fluid-basis-2: (100vw - 1440px) / (1800 - 1440);
}

:root {
  --black: #000;
  --white: #fff;
  --text-linear-gradient: linear-gradient(90deg, #241D85 0%, #1E1E1E 100%);
}

:root {
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  --font-weight-black: 900;
}

:root {
  --padding-inner: 30px;
}

@media (max-width: 767px) {
  :root {
    --padding-inner: 20px;
    --max-width-inner: 540px;
  }
}

.u-desktop {
  display: block;
}

.u-desktop-inline {
  display: inline;
}

.u-mobile {
  display: none;
}

.u-mobile-inline {
  display: none;
}

@media (max-width: 767px) {
  .u-mobile {
    display: block;
  }

  .u-mobile-inline {
    display: inline;
  }

  .u-desktop {
    display: none;
  }

  .u-desktop-inline {
    display: none;
  }
}


/* ---------- 共通ボタン ---------- */

.link-button {
  align-items: center;
  background-color: var(--black);
  border-radius: 3px;
  color: var(--white);
  display: inline-flex;
  font-family: var(--font-family-base);
  font-size: clamp(14px, calc(18 * 100 / var(--cq-ref) * 1cqi), 18px);
  font-weight: var(--font-weight-black);
  gap: 10px;
  justify-content: center;
  letter-spacing: normal;
  line-height: 1.2;
  max-width: 300px;
  overflow: hidden;
  padding: 13px 30px;
  position: relative;
  text-decoration: none;
  width: 100%;
  z-index: 0;
}

@media (max-width: 767px) {
  .link-button {
    font-size: min(22px, calc(18 * 100 / var(--cq-ref-mobile) * 1cqi));
    letter-spacing: normal;
    line-height: 1.2;
  }
}

.link-button::before,
.link-button::after {
  content: "";
  position: absolute;
}

.link-button::before {
  background: linear-gradient(90deg, #241D85 52.4%, #08071F 100%);
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  z-index: 0;
}

.link-button::after {
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  box-sizing: border-box;
  height: 7px;
  inset: 0 12px 0 auto;
  margin: auto;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  will-change: transform;
  width: 7px;
  z-index: 1;
}

.link-button__text {
  position: relative;
  z-index: 1;
}

@media (any-hover: hover) {
  .link-button:hover::before {
    opacity: 1;
  }

  .link-button:hover::after {
    transform: translateX(3px) rotate(45deg);
  }
}

