@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;800&family=Noto+Sans+JP:wght@400;500;700;900&display=swap");

:root {
  --color-text: #202020;
  --color-white: #fff;
  --color-black: #000;
  --color-gray-light: #f3f3f3;
  --color-gray-placeholder: #c4c4c4;
  --color-gray-map: #3c3c3c;
  --color-red: #ff0000;
  --color-orange: #ff5100;
  --color-accent: #ff0701;
  --gradient-brand: linear-gradient(90deg, var(--color-red) 0%, var(--color-orange) 100%);
  --gradient-dark: linear-gradient(90deg, #010101 0%, #3a3a3a 100%);
  --gradient-contact: linear-gradient(90deg, rgba(255, 0, 0, 0.92) 0%, rgba(255, 81, 0, 0.92) 100%);
  --gradient-instagram: linear-gradient(180deg, #9633e5 0%, #cd20d1 25.48%, #f619b4 45.67%, #fe3a7d 65.38%, #ff525b 82.69%, #fe8325 100%);
  --font-ja: "Noto Sans JP", sans-serif;
  --font-en: "Inter", sans-serif;
  --container-max: 90rem;
  --content-width: 69.44%;
  --header-height: clamp(4rem, 6.944vw, 6.25rem);

  /* ボタンホバー色（左→右に流れるアニメーション）— ここで指定 */
  --btn-dark-bg: var(--color-text);
  --btn-dark-color: var(--color-white);
  --btn-dark-sweep: #202020;
  --btn-dark-hover-color: #ffffff;
  --btn-outline-bg: var(--color-white);
  --btn-outline-color: var(--color-text);
  --btn-outline-border: var(--color-black);
  --btn-outline-sweep: #202020;
  --btn-outline-hover-color: #ffffff;
  --btn-gradient-bg: var(--gradient-brand);
  --btn-gradient-color: var(--color-white);
  --btn-gradient-sweep: #202020;
  --btn-gradient-hover-color: #ffffff;
  --btn-trial-bg: var(--color-white);
  --btn-trial-color: var(--color-red);
  --btn-trial-sweep: #202020;
  --btn-trial-hover-color: #ffffff;
  --btn-header-recruit-sweep-from: var(--color-white);
  --btn-header-recruit-sweep-to: var(--color-white);
  --btn-header-recruit-base-from: #010101;
  --btn-header-recruit-base-to: #3a3a3a;
  --btn-header-recruit-hover-color: var(--color-text);
  --btn-header-contact-sweep-from: var(--color-white);
  --btn-header-contact-sweep-to: var(--color-white);
  --btn-header-contact-base-from: var(--color-red);
  --btn-header-contact-base-to: var(--color-orange);
  --btn-header-contact-hover-text: linear-gradient(90deg, #ff0000 0%, #ff5100 100%);
  --btn-contact-bg: var(--color-white);
  --btn-contact-sweep: var(--gradient-brand);
  --btn-contact-hover-color: var(--color-white);
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--color-text);
  font-family: var(--font-ja);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  overflow-x: clip;
  width: 100%;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.inner {
  width: var(--content-width);
  max-width: 62.5rem;
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  text-align: center;
}

.section-heading__en {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  font-family: var(--font-en);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.4;
}

.section-heading__en--white {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: var(--color-white);
}

.section-heading__en--large {
  font-size: 3.375rem;
  letter-spacing: 0.03em;
}

.section-heading__ja {
  display: block;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  margin-top: -5px;
}

.chevron-arrow {
  display: block;
  flex-shrink: 0;
  height: 0.625rem;
  position: relative;
  width: 0.9375rem;
}

.chevron-arrow::before {
  background-color: currentColor;
  content: "";
  display: block;
  height: 1px;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0.9rem;
}

.chevron-arrow::after {
  background-color: transparent;
  border-bottom: 1px solid currentColor;
  border-left: 1px solid currentColor;
  content: "";
  display: block;
  height: 0.375rem;
  left: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 0.375rem;
}

.chevron-arrow--next {
  transform: rotate(180deg);
}

.btn {
  align-items: center;
  display: inline-flex;
  font-weight: 700;
  gap: 0.625rem;
  isolation: isolate;
  justify-content: center;
  letter-spacing: 0.1em;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

.btn>* {
  position: relative;
  transition: color 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.btn::before {
  background: var(--btn-sweep-bg, #202020);
  content: "";
  display: block;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  transform: translateX(-101%);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  z-index: 0;
}

.btn:hover::before {
  transform: translateX(0);
}

.btn:hover {
  color: #ffffff;
  opacity: 1;
}

.btn__arrow {
  border: none;
  display: block;
  flex-shrink: 0;
  height: 0.5625rem;
  position: relative;
  transform: none;
  width: 0.8125rem;
}

.btn__arrow::after {
  background-color: currentColor;
  clip-path: polygon(0 0, 70% 50%, 0 100%);
  content: "";
  display: block;
  height: 100%;
  width: 100%;
}

.btn__arrow--down::after {
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.btn--dark {
  --btn-sweep-bg: var(--btn-dark-sweep);
  background-color: var(--btn-dark-bg);
  color: var(--btn-dark-color);
  /* font-size: 1rem;
  height: 3.125rem;
  width: 18.75rem; */
}

.btn--dark:hover {
  color: var(--btn-dark-hover-color);
}

.btn--outline {
  --btn-sweep-bg: var(--btn-outline-sweep);
  background-color: var(--btn-outline-bg);
  border: 1px solid var(--btn-outline-border);
  color: var(--btn-outline-color);
  font-size: 0.875rem;
  font-weight: 500;
  height: 3.75rem;
  letter-spacing: 0.1em;
  width: 16.25rem;
}

.btn--outline::before {
  inset: -1px;
}

.btn--outline:hover {
  border-color: transparent;
  color: var(--btn-outline-hover-color);
}

.btn--gradient {
  --btn-sweep-bg: var(--btn-gradient-sweep);
  background: var(--btn-gradient-bg);
  color: var(--btn-gradient-color);
  font-size: 0.875rem;
  font-weight: 500;
  height: 2.5rem;
  letter-spacing: 0.1em;
  width: 15rem;
}

.btn--gradient:hover {
  color: var(--btn-gradient-hover-color);
}

.btn--gradient-text {
  background: var(--color-white);
  color: transparent;
}

.btn--gradient-text span {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
}

.visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

@media (max-width: 996px) {
  :root {
    --header-height: 3.5rem;
  }
}

@media (max-width: 768px) {
  :root {
    --content-width: 89.55%;
  }

  html {
    overflow-x: clip;
    width: 100%;
  }

  body {
    overflow-x: clip;
    width: 100%;
  }

  main {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    overflow-x: clip;
    width: 100%;
  }

  .section-heading {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    width: 100%;
  }

  .section-heading__en--large {
    font-size: 1.5rem;
  }

  .inner {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    width: var(--content-width);
  }
}

@media (min-width: 769px) {
  html {
    scrollbar-gutter: stable;
  }
}