/* ========================================
   Base Styles
======================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  color: #333;
  word-spacing: 1px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  font-family: var(--font-ja);
  background-color: var(--color-background);
  color: var(--color-foreground);
  line-height: 1.6;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: none;
}

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

button {
  cursor: pointer;
}

/* ========================================
   Layout Utilities
======================================== */

.container {
  max-width: var(--max-w-6xl);
  margin-inline: auto;
  padding-inline: 1rem;
}

.container--medium {
  max-width: var(--max-w-5xl);
  margin-inline: auto;
  padding-inline: 1rem;
}

.container--narrow {
  max-width: var(--max-w-4xl);
  margin-inline: auto;
  padding-inline: 1rem;
}

.container--xs {
  max-width: var(--max-w-3xl);
  margin-inline: auto;
  padding-inline: 1rem;
}

/* ========================================
   Section Utilities
======================================== */

/* PC */
.section {
  padding-block: 7.5rem;
}
#features.section {
  padding: 7.5rem 0 0;
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.section-title {
  font-size: var(--font-size-5xl);
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.05em;
  line-height: 1;
}
.cost .section-title {
  line-height: 1.3;
}
.section-subtitle {
  color: var(--color-primary);
  font-weight: 600;
  font-family: var(--font-en);
  font-size: var(--font-size-xl);
  letter-spacing: 0.1em;
  text-align: center;
  letter-spacing: 0.05em;
}

@media screen and (max-width: 1024px) {
  .section-head {
    gap: 0.625rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .section-subtitle {
    font-size: 1rem;
  }
}
/* スマホ */
@media (max-width: 767px) {
  .section {
    padding-block: 4rem;
  }

  .section-title {
    font-size: 2rem;
  }
}

/* ========================================
   Button
======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: var(--font-size-base);
  letter-spacing: 0.15em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-colors);
  text-decoration: none;
  white-space: nowrap;
  text-align: center;
}

.btn--primary {
  background-color: var(--color-accent);
  color: var(--color-accent-foreground);
  border-color: var(--color-accent);
}

.btn--primary:hover {
  background-color: var(--color-background);
  color: var(--color-accent);
}


@property --g-angle {
  syntax: '<angle>';
  initial-value: 90deg;
  inherits: false;
}

@property --g-color-0 {
  syntax: '<color>';
  initial-value: rgba(0, 84, 125, 0.75);
  inherits: false;
}

@property --g-color-1 {
  syntax: '<color>';
  initial-value: #00547d;
  inherits: false;
}

@property --g-color-2 {
  syntax: '<color>';
  initial-value: #00547d;
  inherits: false;
}

.btn--blue {
  position: relative;
  overflow: hidden;
  color: #fff;
  border-color: transparent;
  width: 274px;
  max-width: 100%;
  padding-block: 0.75rem;
  padding: 0px;
  height: 56px;
  border-radius: 4px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
  margin: 10px 0px 0px 0px;
  gap: 5px;

  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  align-items: center;
  justify-content: center;

  background: linear-gradient(var(--g-angle), var(--g-color-0) 0%, var(--g-color-1) 60%, var(--g-color-2) 100%);
  transition: --g-angle 0.3s ease, --g-color-0 0.3s ease, --g-color-1 0.3s ease, --g-color-2 0.3s ease;
}

.btn--blue:hover {
  --g-angle: 270deg;
  --g-color-0: rgba(0, 76, 112, 0.75);
  --g-color-1: #255985;
  --g-color-2: #224b72;
}

.btn--blue span {
  color: #fff;
  position: relative;
  z-index: 1;
}

@media screen and (max-width: 1024px) {
  .btn {
    font-size: 0.875rem;
  }
  .btn--primary {
    font-size: var(--font-size-sm);
  }
}
@media screen and (max-width: 767px) {
  .btn {
    font-size: 1rem;
  }
  .btn--primary {
    font-size: var(--font-size-base);
  }
  .btn--blue {
    width: 100%;
  }
}
/* ========================================
   Common Components
======================================== */

/* PC */
.summary-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  max-width: var(--max-w-5xl);
  margin-inline: auto;
}

.summary-block-icon {
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
  background-color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
}

.summary-block-text {
  font-size: 1.125rem;
  line-height: 1.5;
  font-weight: 500;
}

.double-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin:1.25rem auto 1.7rem;
  width: 40px;
}

.double-arrow svg {
  color: var(--color-primary);
  fill: var(--color-primary);
}

.double-arrow svg:first-child {
  margin-bottom: -4px;
}

/* スマホ */
@media (max-width: 767px) {
  .summary-block-text {
    font-size: 0.875rem;
  }
  .double-arrow {
    margin: 1.25rem auto;
  }

}

/* ========================================
   Animations
======================================== */

@keyframes bounce-up {
  0%   { opacity: 0; transform: translateY(100%); }
  40%  { opacity: 1; transform: translateY(-30px); }
  60%  { transform: translateY(10px); }
  80%  { transform: translateY(-5px); }
  100% { opacity: 1; transform: translateY(30%); }
}

@keyframes bounce-in {
  0%   { opacity: 0; transform: translateY(60px) scale(0.8); }
  50%  { opacity: 1; transform: translateY(-15px) scale(1.05); }
  70%  { transform: translateY(5px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ========================================
  Responsive
======================================== */

.pc-only {
  display: block;
}
.sp-only {
  display: none;
}
.pc-tb-only {
  display: block;
}
.pc-br {
  display: block;
}
.tb-br {
  display: none;
}
.sp-br {
  display: none;
}
.pc-tb-br {
  display: block;
}
.tb-sp-br {
  display: none;
}

@media screen and (max-width: 1024px) {
  .pc-only {
    display: block;
  }
  .sp-only {
    display: none;
  }
  .pc-tb-only {
    display: block;
  }
  .pc-br {
    display: none;
  }
  .tb-br {
    display: block;
  }
  .sp-br {
    display: none;
  }
  .pc-tb-br {
    display: block;
  }
  .tb-sp-br {
    display: block;
  }
}
/* スマホ */
@media (max-width: 767px) {
  .pc-only {
    display: none;
  }
  .sp-only {
    display: block;
  }
  .pc-tb-only {
    display: none;
  }
  .pc-br {
    display: none;
  }
  .tb-br {
    display: none;
  }
  .sp-br {
    display: block;
  }
  .pc-tb-br {
    display: none;
  }
  .tb-sp-br {
    display: block;
  }
}

/* ========================================
  Fade Up Animation
======================================== */

.appear {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.445, 0.05, 0.55, 0.95) 0.3s;
}

/* ========================================
  reCAPTCHA
======================================== */
.grecaptcha-badge { visibility: hidden; }