/* ==========================================================================
   Common — rem / tokens / base overrides (reset は reset.css)
   ========================================================================== */

html {
  font-size: min(calc(100vw / 1440 * 10), 10px);
  scroll-behavior: smooth;
  scrollbar-gutter: auto;
  scroll-padding-top: var(--header-height);
}

:root {
  --color-red: #eb0000;
  --color-red-dark: #b00404;
  --color-black: #000;
  --color-white: #fff;
  --color-gray-666: #666;
  --color-gray-999: #999;
  --color-gray-f8: #f8f8f8;
  --color-gray-ddd: #ddd;
  --font-sans: "Noto Sans JP", sans-serif;
  --font-display: "Bebas Neue", sans-serif;
  --font-serif: "Noto Serif JP", serif;
  --content-width: 100rem;
  --page-width: 144rem;
  --header-height: 10rem;
  --transition-base: opacity 0.3s, filter 0.3s;
}

@media (max-width: 767.98px) {
  html {
    font-size: calc(100vw / 393 * 10);
  }

  :root {
    --header-height: 8rem;
  }

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--color-black);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
  /* hidden だと sticky の包含ブロックになり追従が効かないため clip を使用 */
  overflow-x: clip;
}

/* reset の img/svg 制約をデザイン用に上書き */
img,
svg {
  width: 100%;
  height: auto;
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  pointer-events: none;
  max-inline-size: none;
  max-block-size: none;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

/* reset の table ボーダーを無効化（デザイン側で制御） */
table {
  border: none;
  width: 100%;
}

th,
td {
  border: none;
  padding: 0;
  vertical-align: top;
}

a,
button,
.btn {
  transition: var(--transition-base);
}

a:hover,
button:hover,
.btn:hover {
  opacity: 0.8;
  filter: brightness(1.05);
}

.container {
  width: 100%;
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: 0;
}

@media (max-width: 767.98px) {
  .container {
    padding-inline: 2rem;
  }
}

.page-wrap {
  /* hidden だと子孫の sticky が効かないため clip を使用 */
  overflow-x: clip;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* fixed の SPナビは flex 高さ計算から除外 */
.page-wrap>.nav-sp {
  flex: 0 0 0;
  height: 0;
  min-height: 0;
  margin: 0;
  overflow: visible;
}

/* コンテンツが少なくてもフッターを最下部へ（余白は main 側に開く） */
.main {
  flex: 1 0 auto;
  width: 100%;
}

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

.text-gradient-red {
  background: linear-gradient(to right, var(--color-red), var(--color-red-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 黒背景用（見出し英字） */
.text-gradient-dark {
  background: linear-gradient(to bottom, #555, #222);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 白背景用（見出し英字） */
.text-gradient-white {
  background: linear-gradient(to right, #fff, #e0e0e0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sr-only {
  position: absolute;
  width: 0.1rem;
  height: 0.1rem;
  padding: 0;
  margin: -0.1rem;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 768px) {
  .--sp {
    display: none !important;
  }
}

@media (max-width: 767.98px) {
  .--pc {
    display: none !important;
  }
}

body.is-nav-open {
  overflow: hidden;
}

/* ==========================================================================
     Shared components — header / nav-sp / buttons / sec-title / footer / CTA
     ========================================================================== */

/* Header */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background-color: transparent;
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

.header.is-scrolled {
  background-color: var(--color-black);
  box-shadow: 0 0.2rem 1rem rgba(0, 0, 0, 0.3);
}

.header__inner {
  display: flex;
  align-items: center;
  max-width: var(--page-width);
  height: 100%;
  margin-inline: auto;
  padding-inline: 3rem 2rem;
  box-sizing: border-box;
}

@media (max-width: 767.98px) {
  .header__inner {
    padding-inline: 2rem;
  }
}

.header__logo {
  display: block;
  flex-shrink: 0;
}

@media (max-width: 767.98px) {
  .header__logo {
    padding-block: 1.2rem;
  }
}

.header__logo-img {
  display: block;
  width: 16.1rem;
  height: 5.1rem;
}

@media (max-width: 767.98px) {
  .header__logo-img {
    width: 12.8rem;
    height: auto;
  }
}

.header__nav {
  margin-left: auto;
  margin-right: 4.8rem;
}

@media (max-width: 767.98px) {
  .header__nav {
    display: none;
  }
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 4.8rem;
}

.header__nav-link {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-white);
  white-space: nowrap;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-shrink: 0;
}

@media (max-width: 767.98px) {
  .header__actions {
    display: none;
  }
}

.header__tel {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--color-white);
  text-decoration: none;
}

.header__tel-num {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
}

.header__cta {
  display: block;
  flex-shrink: 0;
  width: 20rem;
  min-width: 20rem;
  height: 5.2rem;
  padding: 0.2rem;
  background: linear-gradient(to right, var(--color-red), var(--color-red-dark));
  box-sizing: border-box;
  color: var(--color-white);
  text-decoration: none;
}

.header__cta-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  width: 100%;
  height: 100%;
  border: solid 0.1rem var(--color-black);
  box-sizing: border-box;
  font-size: 1.4rem;
  font-weight: 800;
}

.header__menu-btn {
  display: none;
}

@media (max-width: 767.98px) {
  .header__menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    width: 3rem;
    height: 3rem;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
  }
}

/* SP Nav（オーバーレイ。PCヘッダーレイアウトには影響しない） */

.nav-sp {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--color-black);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.nav-sp.is-open {
  opacity: 1;
  visibility: visible;
}

.nav-sp__inner {
  overflow-y: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 1.5rem 2rem 12.2rem;
  text-align: center;
  background: var(--color-black);
}

.nav-sp__close {
  position: absolute;
  top: 3rem;
  right: 2.4rem;
  width: 2.2rem;
  height: 2.2rem;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-sp__close-icon,
.nav-sp__close-icon::before,
.nav-sp__close-icon::after {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2.2rem;
  height: 0.3rem;
  background: var(--color-white);
}

.nav-sp__close-icon {
  transform: translate(-50%, -50%) rotate(45deg);
}

.nav-sp__close-icon::before {
  content: "";
  transform: translate(-50%, -50%) rotate(90deg);
}

.nav-sp__close-icon::after {
  display: none;
}

.nav-sp__logo {
  width: 100%;
  margin: 0 0 auto;
  text-align: left;
}

.nav-sp__logo-img {
  display: block;
  width: 16.1rem;
  height: 5.1rem;
}

@media (max-width: 767.98px) {
  .nav-sp__logo-img {
    width: 12.8rem;
    height: auto;
  }
}

.nav-sp__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 3rem;
  margin-top: 9.4rem;
  margin-bottom: 4rem;
}

.nav-sp__link {
  display: inline-block;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-white);
}

.nav-sp__tel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 0;
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--color-white);
}

.nav-sp__cta {
  display: block;
  width: 100%;
  max-width: 35.3rem;
  height: 7rem;
  margin-top: 5rem;
  margin-bottom: auto;
  margin-inline: auto;
  padding: 0.4rem;
  background: linear-gradient(to right, var(--color-red), var(--color-red-dark));
  box-sizing: border-box;
  color: var(--color-white);
  text-decoration: none;
}

.nav-sp__cta-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  width: 100%;
  height: 100%;
  border: solid 0.1rem var(--color-black);
  box-sizing: border-box;
  font-size: 1.8rem;
  font-weight: 800;
}

/* Buttons */

.btn-info {
  min-width: 38rem;
  display: flex;
  padding: 0.4rem;
  color: var(--color-white);
  background: linear-gradient(to right, var(--color-red), var(--color-red-dark));
}

@media (max-width: 767.98px) {
  .btn-info {
    min-width: 0;
    width: 100%;
  }
}

.btn-info__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border: solid 0.1rem var(--color-black);
  width: 100%;
  padding: 1.2rem 1.2rem 1.2rem 7.3rem;
  box-sizing: border-box;
}

@media (max-width: 767.98px) {
  .btn-info__inner {
    padding: 1.4rem 1.6rem 1.4rem 6rem;
  }
}

.btn-info__icon {
  position: absolute;
  left: 2.3rem;
  top: 50%;
  transform: translateY(-50%) scaleX(-1);
  display: block;
  width: 2.8rem;
}

@media (max-width: 767.98px) {
  .btn-info__icon {
    left: 1.6rem;
  }
}

.btn-info__title {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.3;
}

.btn-info__sub {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0.4rem 0 0.3rem;
}

@media screen and (max-width: 768px) {
  .btn-info__sub {
    font-size: 1.2rem;
  }
}

.btn-cta {
  display: block;
  width: 60rem;
  max-width: 100%;
  margin-inline: auto;
  padding: 0.4rem;
  background: linear-gradient(to right, var(--color-red), var(--color-red-dark));
  color: var(--color-white);
  box-sizing: border-box;
  text-decoration: none;
}

.btn-cta__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 8.2rem;
  border: solid 0.1rem var(--color-black);
  box-sizing: border-box;
}

.btn-cta__text {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.btn-cta__icon {
  position: absolute;
  top: 50%;
  right: 3.6rem;
  transform: translateY(-50%);
  width: 4rem;
  height: 4rem;
  flex-shrink: 0;
}

.btn-cta__circle {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.btn-cta__arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.3rem;
  height: 1.6rem;
  transform: translate(-50%, -50%);
  object-fit: contain;
}

.header__tel-icon {
  width: 1.5rem;
  height: 1.8rem;
  object-fit: contain;
  flex-shrink: 0;
}

.header__cta-icon {
  width: 2.1rem;
  height: 2.2rem;
  object-fit: contain;
  flex-shrink: 0;
}

.header__menu-btn img {
  width: 3rem;
  height: 1.3rem;
  object-fit: contain;
}

.nav-sp__tel img,
.nav-sp__cta img {
  width: 2.4rem;
  height: 2.4rem;
  object-fit: contain;
  flex-shrink: 0;
}

/* Section title */

.sec-title {
  text-align: center;
  margin-bottom: 4rem;
}

.sec-title__en {
  font-family: var(--font-display);
  font-size: 12rem;
  line-height: 0.9;
  color: #fff;
  margin-bottom: -5.4rem;
}

@media (max-width: 767.98px) {
  .sec-title__en {
    font-size: 10rem;
  }
}

.sec-title__ja {
  position: relative;
  z-index: 1;
  font-size: 3.6rem;
  font-weight: 800;
  letter-spacing: -0.18rem;
  overflow: visible;
  white-space: nowrap;
}

@media (max-width: 767.98px) {
  .sec-title__ja {
    font-size: 2.4rem;
    white-space: normal;
    letter-spacing: -0.1rem;
    padding-inline: 1rem;
  }
}

.sec-title--left {
  text-align: left;
}

.sec-title--left .sec-title__en {
  font-size: 8rem;
  text-align: left;
}

/* Footer */

.footer {
  flex-shrink: 0;
  margin-top: auto;
  background: var(--color-white);
}

.footer__inner.container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 120rem;
  padding-block: 4rem 2rem;
  box-sizing: border-box;
}

@media (max-width: 767.98px) {
  .footer__inner.container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3rem;
    max-width: none;
    padding: 4rem 2rem 3rem;
  }
}

@media (max-width: 767.98px) {
  .footer__brand {
    display: flex;
    justify-content: center;
  }
}

.footer__logo-img {
  display: block;
  width: 16.1rem;
  height: 5.1rem;
}

@media (max-width: 767.98px) {
  .footer__logo-img {
    width: 14.2rem;
    height: auto;
  }
}

.footer__nav-list {
  display: flex;
  gap: 3.7rem;
}

@media (max-width: 767.98px) {
  .footer__nav-list {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.6rem 2.4rem;
  }
}

@media (max-width: 767.98px) {
  .footer__nav {
    width: 100%;
  }
}

.footer__nav-link {
  font-size: 1.4rem;
  font-weight: 700;
}

.footer__bottom {
  background: var(--color-black);
  padding-block: 1.9rem;
}

@media (max-width: 767.98px) {
  .footer__bottom {
    padding-block: 1.6rem;
  }
}

.footer__copy {
  max-width: 120rem;
  width: 100%;
  margin-inline: auto;
  box-sizing: border-box;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--color-gray-999);
}

@media (max-width: 767.98px) {
  .footer__copy {
    max-width: none;
    padding-inline: 2rem;
    text-align: center;
    font-size: 1.4rem;
  }
}

/* ==========================================================================
                                                         CTA
                                                         ========================================================================== */

.cta {
  position: relative;
  margin-top: 9.4rem;
  padding: 6rem 0 6.7rem;
  box-sizing: border-box;
  text-align: center;
  color: var(--color-white);
  overflow: hidden;
}

@media (max-width: 767.98px) {
  .cta {
    height: auto;
    margin-top: 0;
    padding: 5rem 2rem 5.5rem;
  }
}

.cta+.cta,
.flow+.cta {
  margin-top: 0;
}

.cta__bg {
  position: absolute;
  inset: 0;
}

.cta__bg-img {
  position: absolute;
  left: 0;
  top: -86.46%;
  width: 100%;
  height: 227.84%;
  max-width: none;
  object-fit: cover;
}

@media (max-width: 767.98px) {
  .cta__bg-img {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

.cta__bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 767.98px) {
  .cta__inner {
    width: 100%;
    max-width: 35.3rem;
    margin-inline: auto;
    padding-inline: 0;
    align-items: stretch;
  }
}

.cta__title {
  font-size: 3rem;
  font-weight: 800;
  margin: 0 0 1rem;
  line-height: 1.36;
  white-space: nowrap;
}

@media (max-width: 767.98px) {
  .cta__title {
    white-space: normal;
    font-size: 2.2rem;
    letter-spacing: -0.05rem;
    line-height: 1.4;
    margin-bottom: 0.8rem;
  }
}

.cta__label {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-red);
  margin: 0 0 4rem;
  line-height: 1;
}

@media (max-width: 767.98px) {
  .cta__label {
    font-size: 1.8rem;
    margin-bottom: 2.4rem;
  }
}

.cta__lead {
  font-size: 1.6rem;
  font-weight: 500;
  margin: 0 auto 3rem;
  max-width: 83.6rem;
  line-height: 1.375;
}

@media (max-width: 767.98px) {
  .cta__lead {
    font-size: 1.4rem;
    line-height: 1.7;
    margin-bottom: 2.4rem;
    max-width: none;
  }
}

.cta__btns {
  display: flex;
  gap: 2rem;
  justify-content: center;
  width: 100%;
  text-align: left;
}

@media (max-width: 767.98px) {
  .cta__btns {
    flex-direction: column;
    align-items: stretch;
    gap: 1.2rem;
  }
}