/* ============================================================
   Stripe Design System — CSS Variables
============================================================ */
:root {
  --stripe-purple:   #1a6ef5;
  --purple-hover:    #1558cc;
  --purple-deep:     #0f3d8c;
  --purple-light:    #a8c8fb;
  --purple-mid:      #3b82f6;
  --deep-navy:       #0a1f3c;
  --brand-dark:      #0f2a5e;
  --dark-navy:       #071830;
  --label:           #1e3a5f;
  --body-color:      #334155;
  --white:           #ffffff;
  --border:          #dbeafe;
  --border-purple:   #93c5fd;
  --ruby:            #0ea5e9;
  --magenta:         #38bdf8;
  --magenta-light:   #e0f2fe;
  --success:         #15be53;
  --success-text:    #108c3d;
  --btn-contact:     #22c55e;
  --btn-contact-hover: #16a34a;

  --shadow-elevated: rgba(50,50,93,0.25) 0px 30px 45px -30px, rgba(0,0,0,0.1) 0px 18px 36px -18px;
  --shadow-standard: rgba(23,23,23,0.08) 0px 15px 35px;
  --shadow-ambient:  rgba(23,23,23,0.06) 0px 3px 6px;
  --shadow-deep:     rgba(3,3,39,0.25) 0px 14px 21px -14px, rgba(0,0,0,0.1) 0px 8px 17px -8px;

  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;

  --font-main: 'Noto Sans JP', 'SF Pro Display', sans-serif;
}

/* ============================================================
   Reset & Base
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  font-weight: 300;
  color: var(--body-color);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   Buttons
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, border-color 0.18s;
  border: none;
}

.btn--primary {
  background: var(--stripe-purple);
  color: var(--white);
  padding: 14px 28px;
  box-shadow: var(--shadow-ambient);
}
.btn--primary:hover {
  background: var(--purple-hover);
  box-shadow: var(--shadow-elevated);
}

.btn--ghost {
  background: transparent;
  color: var(--stripe-purple);
  padding: 13px 27px;
  border: 1px solid var(--border-purple);
}
.btn--ghost:hover {
  background: rgba(26,110,245,0.04);
  border-color: var(--stripe-purple);
}


/* お問い合わせフォームボタン（緑・角丸） */
.btn--contact {
  background: var(--btn-contact);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 500;
  box-shadow: 0 4px 14px rgba(34,197,94,0.35);
}
.btn--contact:hover {
  background: var(--btn-contact-hover);
  box-shadow: 0 6px 20px rgba(34,197,94,0.45);
}

/* ============================================================
   Header
============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.header--scrolled {
  border-bottom-color: var(--border);
  box-shadow: rgba(0,55,112,0.08) 0px 2px 12px;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--deep-navy);
}
.logo__icon {
  width: 34px; height: 34px;
  background: var(--stripe-purple);
  color: var(--white);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.logo__text {
  font-size: 18px;
  font-weight: 500;
  color: var(--deep-navy);
  letter-spacing: -0.3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  font-size: 14px;
  font-weight: 400;
  color: var(--label);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}
.nav__link:hover {
  color: var(--deep-navy);
  background: rgba(6,27,49,0.04);
}
.nav__cta {
  font-size: 14px;
  font-weight: 400;
  background: var(--stripe-purple);
  color: var(--white);
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  margin-left: 8px;
  transition: background 0.18s;
}
.nav__cta:hover { background: var(--purple-hover); }

.nav__sp-cta { display: none; }

/* ============================================================
   Hero
============================================================ */
.hero {
  padding: 148px 0 112px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #eef4ff 0%, #ffffff 45%, #e0f7fa 100%);
}


/* 背景グラデーション装飾 */
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -160px;
  width: 820px; height: 820px;
  background: radial-gradient(circle, rgba(26,110,245,0.18) 0%, rgba(59,130,246,0.06) 45%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -80px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(14,165,233,0.12) 0%, rgba(56,189,248,0.06) 45%, transparent 70%);
  pointer-events: none;
}

/* 追加の装飾 */
.hero__deco {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero__deco::before {
  content: '';
  position: absolute;
  top: 30%; left: 38%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,110,245,0.07) 0%, transparent 65%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--stripe-purple);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 24px;
  padding: 7px 14px;
  background: linear-gradient(135deg, rgba(26,110,245,0.10) 0%, rgba(56,189,248,0.08) 100%);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(26,110,245,0.20);
}

.hero__title {
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 300;
  color: var(--deep-navy);
  line-height: 1.08;
  letter-spacing: -1.2px;
  margin-bottom: 24px;
}

.hero__text {
  font-size: 17px;
  font-weight: 300;
  color: var(--body-color);
  line-height: 1.75;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--body-color);
  opacity: 0.85;
}

.hero__image-wrapper {
  position: relative;
}
.hero__image {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elevated);
}

/* ============================================================
   Section Base
============================================================ */
.section {
  padding: 96px 0;
}
.section--alt {
  background: linear-gradient(180deg, #f0f6ff 0%, #e8f0fe 100%);
}

.section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section__label {
  display: inline-block;
  font-size: 20px;
  font-weight: 500;
  color: var(--stripe-purple);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section__title {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 300;
  color: var(--deep-navy);
  letter-spacing: -0.64px;
  line-height: 1.12;
  margin-bottom: 16px;
}
.section__subtitle {
  font-size: 16px;
  font-weight: 300;
  color: var(--body-color);
  line-height: 1.75;
}

/* ============================================================
   Features (����)
============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background: linear-gradient(135deg, #eef4ff 0%, #ffffff 60%);
  border: 1px solid rgba(26,110,245,0.15);
  border-left: 4px solid var(--stripe-purple);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}
.feature-card::after {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,110,245,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.feature-card:hover {
  box-shadow: var(--shadow-elevated);
  border-left-color: var(--purple-hover);
  transform: translateY(-2px);
}

.feature-card__icon {
  width: 44px; height: 44px;
  background: rgba(26,110,245,0.10);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature-card__icon img { width: 22px; height: 22px; }

.feature-card__title {
  font-size: 18px;
  font-weight: 400;
  color: var(--deep-navy);
  letter-spacing: -0.22px;
  line-height: 1.4;
  margin-bottom: 12px;
}
.feature-card__text {
  font-size: 15px;
  font-weight: 300;
  color: var(--body-color);
  line-height: 1.75;
}

.features__more {
  text-align: center;
  margin-top: 48px;
}

/* ============================================================
   Achievements (����)
============================================================ */
.section--achievements {
  background: var(--brand-dark);
}
.section--achievements .section__label { color: var(--magenta); }
.section--achievements .section__title { color: var(--white); }
.section--achievements .section__subtitle { color: rgba(255,255,255,0.65); }

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.achievement-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: background 0.2s;
}
.achievement-card:hover {
  background: rgba(255,255,255,0.10);
}

.achievement-card__tag {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 16px;
}

.achievement-card__title {
  font-size: 18px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: -0.22px;
  line-height: 1.4;
  margin-bottom: 16px;
}

.achievement-card__highlight {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: #fbbf24;
  background: rgba(21,190,83,0.15);
  border: 1px solid rgba(21,190,83,0.3);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  margin-bottom: 16px;
}

.achievement-card__text {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
}

/* ============================================================
   Services (�T�[�r�X)
============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 100px; height: 100px;
  background: radial-gradient(circle at bottom right, rgba(26,110,245,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.service-card:hover {
  box-shadow: var(--shadow-standard);
  border-color: var(--border-purple);
  transform: translateY(-2px);
}

.service-card__tag {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--stripe-purple);
  margin-bottom: 12px;
}
.service-card__title {
  font-size: 17px;
  font-weight: 400;
  color: var(--deep-navy);
  letter-spacing: -0.2px;
  line-height: 1.4;
  margin-bottom: 12px;
}
.service-card__text {
  font-size: 14px;
  font-weight: 300;
  color: var(--body-color);
  line-height: 1.75;
}

/* ============================================================
   Contact CTA
============================================================ */
.section--contact {
  background: linear-gradient(160deg, #eef4ff 0%, #e0f2fe 100%);
  position: relative;
  overflow: hidden;
}
.section--contact::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse, rgba(26,110,245,0.10) 0%, rgba(14,165,233,0.06) 40%, transparent 70%);
  pointer-events: none;
}

.contact-card {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 72px 64px;
  box-shadow: var(--shadow-elevated);
  background: var(--white);
  overflow: hidden;
}

.contact-card__image {
  display: block;
  width: 100%;
  max-width: 440px;
  max-height: 300px;
  margin: 0 auto 24px;
  border-radius: 12px;
  border: 1px solid var(--border);
  object-fit: cover;
  box-shadow: var(--shadow-elevated);
  position: relative;
  z-index: 1;
}

.contact-card__icon {
  width: 52px; height: 52px;
  background: rgba(26,110,245,0.10);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  position: relative; z-index: 1;
}
.contact-card__icon img { width: 24px; height: 24px; }

.contact-card__title {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 300;
  color: var(--deep-navy);
  letter-spacing: -0.5px;
  line-height: 1.3;
  margin-bottom: 20px;
  position: relative; z-index: 1;
}
.contact-card__text {
  font-size: 15px;
  font-weight: 300;
  color: var(--body-color);
  line-height: 1.8;
  margin-bottom: 36px;
  position: relative; z-index: 1;
}
.contact-card__cta {
  position: relative; z-index: 1;
}
.contact-card__note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--body-color);
  opacity: 0.8;
  position: relative; z-index: 1;
}

/* ============================================================
   Footer
============================================================ */
.footer {
  background: var(--brand-dark);
  color: rgba(255,255,255,0.6);
  padding: 48px 0 32px;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 24px;
}
.footer__copy {
  font-size: 14px;
  font-weight: 300;
}
.footer__links {
  display: flex;
  gap: 24px;
}
.footer__link {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  transition: color 0.15s;
}
.footer__link:hover { color: var(--white); }

.footer__bottom {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

/* ============================================================
   Back to Top
============================================================ */
.back-to-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 44px; height: 44px;
  background: var(--stripe-purple);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-size: 18px;
  cursor: pointer;
  box-shadow: var(--shadow-deep);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, background 0.18s;
  z-index: 200;
}
.back-to-top.show { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--purple-hover); }

/* ============================================================
   Fade-in animation
============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Responsive
============================================================ */
.sp-only { display: none; }
.pc-only { display: inline; }

@media (max-width: 1024px) {
  .achievements-grid { grid-template-columns: 1fr; gap: 16px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero { padding: 110px 0 72px; }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__image-wrapper { order: -1; }
  .features-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 48px 28px; }
  .footer__inner { flex-direction: column; gap: 16px; text-align: center; }
  .nav .nav__link { display: none; }
  .nav__cta { display: none; }
  .nav__sp-cta { display: flex; }
  .sp-only { display: inline; }
  .pc-only { display: none; }
}