/* ============================================================
   ALiVE INC. LP — style.css
   Design: Bright & Pop / 白基調・明るくポップ
   Colors: Navy #262F4C / Blue #00489D / Sky #50B9E6
           Mint #2EB7AD / Pink #EC86B9 / Yellow #FABF5E
   Fonts:  Bebas Neue (EN display) + Noto Sans JP (body)
   ============================================================ */

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', 'Yu Gothic', 'YuGothic', sans-serif;
  font-size: 16px;
  color: #333;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
address { font-style: normal; }

/* ── Container ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px)  { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* ── Utility ──────────────────────────────────────────────── */
.sp-only { display: none; }
.pc-only { display: inline; }
@media (max-width: 639px) {
  .sp-only { display: inline; }
  .pc-only { display: none; }
}

.text-blue   { color: #00489D; }
.text-mint   { color: #2EB7AD; }
.text-pink   { color: #EC86B9; }
.text-yellow { color: #FABF5E; }

.bg-white     { background: #fff; }
.bg-gray      { background: #F8FAFC; }
.bg-lightblue { background: #EFF6FF; }

/* ── Fade-in animation ────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.23,1,0.32,1),
              transform 0.6s cubic-bezier(0.23,1,0.32,1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.9rem 1.75rem;
  background: #262F4C;
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: clamp(0.85rem, 1.6vw, 1rem);
  white-space: nowrap;
  border: 2px solid #262F4C;
  transition: background 0.22s ease, color 0.22s ease, transform 0.16s ease;
}
.btn-primary:hover { background: #00489D; border-color: #00489D; }
.btn-primary:active { transform: scale(0.97); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.5rem;
  background: transparent;
  color: #262F4C;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: clamp(0.85rem, 1.6vw, 1rem);
  white-space: nowrap;
  border: 2px solid #262F4C;
  transition: background 0.22s ease, color 0.22s ease, transform 0.16s ease;
}
.btn-outline:hover { background: #262F4C; color: #fff; }
.btn-outline:active { transform: scale(0.97); }

.btn-full { width: 100%; font-size: 1.05rem; padding: 1rem 2rem; }

/* ── Tags ─────────────────────────────────────────────────── */
.tag {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
}
.tag-blue  { background: #00489D; }
.tag-mint  { background: #2EB7AD; }

/* ── Section common ───────────────────────────────────────── */
.section { padding: 5rem 0; }
@media (max-width: 767px) { .section { padding: 3.5rem 0; } }

.section-head { text-align: center; margin-bottom: 3.5rem; }

.section-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: #00489D;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: #262F4C;
  line-height: 1.3;
  margin-bottom: 1.25rem;
}

.section-bar {
  width: 4rem;
  height: 5px;
  border-radius: 9999px;
  margin: 0 auto 1.5rem;
}
.bar-blue   { background: #00489D; }
.bar-mint   { background: #2EB7AD; }
.bar-pink   { background: #EC86B9; }
.bar-yellow { background: #FABF5E; }
.bar-sky    { background: #50B9E6; }

.section-desc {
  color: #64748B;
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  line-height: 1.8;
  max-width: 42rem;
  margin: 0 auto;
}

/* ── HEADER ───────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid #262F4C;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}
.header-logo img { height: 3rem; width: auto; object-fit: contain; }
.header-cta { display: none; }
@media (min-width: 768px) { .header-cta { display: inline-flex; } }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 4.5rem;
  background: #B6CAD8;
}

.hero-slides {
  position: absolute;
  inset: 0;
  right: 0;
}
@media (min-width: 768px) {
  .hero-slides { left: auto; width: 60%; }
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
    #B6CAD8 0%,
    #B6CAD8 28%,
    rgba(182,202,216,0.65) 52%,
    transparent 78%
  );
}
@media (max-width: 767px) {
  .hero-overlay {
    background: linear-gradient(to bottom,
      rgba(182,202,216,0.9) 0%,
      rgba(182,202,216,0.7) 60%,
      rgba(182,202,216,0.4) 100%
    );
  }
}

.hero-dots {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}
.hero-dot {
  height: 0.5rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.6);
  width: 0.5rem;
  transition: width 0.3s ease, background 0.3s ease;
  cursor: pointer;
}
.hero-dot.active { width: 1.5rem; background: #00489D; }

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 40rem;
  padding-top: 2rem;
  padding-bottom: 5rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  color: #262F4C;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(38,47,76,0.8);
  font-weight: 500;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  animation: bounce 2s infinite;
}
.scroll-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: rgba(38,47,76,0.6);
}
.scroll-arrow { font-size: 1rem; color: rgba(38,47,76,0.6); }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ── STATS ────────────────────────────────────────────────── */
.stats-section {
  background: #fff;
  border-bottom: 2px solid #F1F5F9;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stat-item {
  padding: 2.5rem 1rem;
  text-align: center;
  border-right: 1px solid #E2E8F0;
}
.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 7vw, 4.5rem);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-blue  { color: #00489D; }
.stat-mint  { color: #2EB7AD; }
.stat-pink  { color: #EC86B9; }

.stat-suffix { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
.stat-label {
  font-size: clamp(0.75rem, 1.5vw, 0.9rem);
  font-weight: 700;
  color: #64748B;
  letter-spacing: 0.05em;
}

/* ── PROBLEM ──────────────────────────────────────────────── */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
@media (max-width: 767px) { .cards-3 { grid-template-columns: 1fr; } }

.problem-card {
  padding: 2rem;
  border: 2px solid transparent;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(38,47,76,0.1);
}
.card-blue  { background: #EFF6FF; border-color: rgba(0,72,157,0.25); }
.card-pink  { background: #FFF0F7; border-color: rgba(236,134,185,0.25); }
.card-mint  { background: #F0FAFA; border-color: rgba(46,183,173,0.25); }

.card-num {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 6vw, 4rem);
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.2;
}
.card-blue  .card-num { color: #00489D; }
.card-pink  .card-num { color: #EC86B9; }
.card-mint  .card-num { color: #2EB7AD; }

.card-title {
  font-weight: 900;
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: #262F4C;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}
.card-desc {
  font-size: clamp(0.875rem, 1.6vw, 1rem);
  color: #64748B;
  line-height: 1.7;
}

.problem-answer {
  background: #EFF6FF;
  border-left: 5px solid #00489D;
  padding: 2rem;
  text-align: center;
}
.problem-answer p {
  font-weight: 700;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: #262F4C;
  line-height: 1.7;
}
.problem-answer span {
  font-weight: 500;
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: #64748B;
}

/* ── SERVICE ──────────────────────────────────────────────── */
.genre-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (min-width: 768px) { .genre-grid { grid-template-columns: repeat(3, 1fr); } }

.genre-card {
  background: var(--bg);
  border: 2px solid color-mix(in srgb, var(--accent) 40%, transparent);
  padding: 1.75rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.genre-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(38,47,76,0.1);
}
.genre-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.genre-name {
  font-weight: 900;
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  color: #262F4C;
  margin-bottom: 0.5rem;
}
.genre-desc {
  font-size: clamp(0.8rem, 1.4vw, 0.9rem);
  color: #64748B;
  line-height: 1.6;
}
.genre-card::after {
  content: '';
  display: block;
  width: 2.5rem;
  height: 4px;
  border-radius: 9999px;
  background: var(--accent);
  margin-top: 0.75rem;
}

/* ── STRENGTH ─────────────────────────────────────────────── */
.strength-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 5rem;
}
.strength-row:last-child { margin-bottom: 0; }
.strength-row-rev .strength-text { order: 2; }
.strength-row-rev .strength-img-wrap { order: 1; }

@media (max-width: 767px) {
  .strength-row { grid-template-columns: 1fr; gap: 2rem; }
  .strength-row-rev .strength-text { order: 1; }
  .strength-row-rev .strength-img-wrap { order: 2; }
}

.strength-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 1.25rem;
}
.badge-blue   { background: #00489D; }
.badge-pink   { background: #EC86B9; }
.badge-mint   { background: #2EB7AD; }
.badge-yellow { background: #FABF5E; }

.strength-title {
  font-weight: 900;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #262F4C;
  line-height: 1.3;
  margin-bottom: 1.25rem;
}

.strength-desc {
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  color: #64748B;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.strength-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
}
.check-blue   { color: #00489D; }
.check-pink   { color: #EC86B9; }
.check-mint   { color: #2EB7AD; }
.check-yellow { color: #FABF5E; }

.strength-img-wrap {
  position: relative;
  overflow: hidden;
}
.strength-img {
  width: 100%;
  height: 20rem;
  object-fit: cover;
}
.strength-img-logo {
  object-fit: contain;
  background: #fff;
  padding: 2.5rem;
}

.img-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 900;
  color: #fff;
}
.tag-blue   { background: #00489D; }
.tag-pink   { background: #EC86B9; }
.tag-mint   { background: #2EB7AD; }
.tag-yellow { background: #FABF5E; }

/* ── CASES ────────────────────────────────────────────────── */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
@media (max-width: 767px) { .cases-grid { grid-template-columns: 1fr; } }

.case-card {
  background: #fff;
  border: 2px solid #F1F5F9;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(38,47,76,0.1);
}

.case-img-wrap { position: relative; height: 14rem; overflow: hidden; }
.case-img { width: 100%; height: 100%; object-fit: cover; }
.case-img-logo { object-fit: contain; background: #fff; padding: 2rem; }

.case-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 900;
  color: #fff;
}

.case-body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }

.case-title {
  font-weight: 900;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #262F4C;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.case-shop {
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.case-quote {
  margin-top: auto;
  border-left: 3px solid #E2E8F0;
  padding-left: 1rem;
}
.case-quote p {
  font-size: clamp(0.875rem, 1.6vw, 0.975rem);
  color: #64748B;
  line-height: 1.75;
}

/* ── FLOW ─────────────────────────────────────────────────── */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  margin-bottom: 4rem;
}
@media (max-width: 767px) {
  .flow-steps { grid-template-columns: 1fr; gap: 2rem; }
}

.flow-steps::before {
  content: '';
  position: absolute;
  top: 2.5rem;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: #E2E8F0;
}
@media (max-width: 767px) { .flow-steps::before { display: none; } }

.flow-step { text-align: center; position: relative; }

.flow-num {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.75rem;
  color: #fff;
  position: relative;
  z-index: 1;
}

.flow-title {
  font-weight: 900;
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  color: #262F4C;
  margin-bottom: 0.75rem;
}
.flow-desc {
  font-size: clamp(0.85rem, 1.5vw, 0.95rem);
  color: #64748B;
  line-height: 1.7;
}

.flow-cta { text-align: center; }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-list { max-width: 42rem; margin: 0 auto; }

.faq-item { border-bottom: 2px solid #F1F5F9; }

.faq-q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  text-align: left;
  font-weight: 700;
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  color: #262F4C;
  line-height: 1.6;
  transition: color 0.2s;
}
.faq-q:hover { color: #00489D; }
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }

.faq-icon {
  flex-shrink: 0;
  font-size: 0.75rem;
  color: #00489D;
  margin-top: 0.35rem;
  transition: transform 0.3s ease;
  display: inline-block;
}

.faq-a {
  padding-bottom: 1.5rem;
  overflow: hidden;
}
.faq-a[hidden] { display: none; }
.faq-a p {
  font-size: clamp(0.875rem, 1.6vw, 1rem);
  color: #64748B;
  line-height: 1.8;
}

/* ── CONTACT ──────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 2.5rem;
}
@media (max-width: 1023px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info-card {
  background: #fff;
  border: 2px solid #00489D;
  padding: 1.75rem;
  margin-bottom: 1rem;
}
.contact-logo { height: 3rem; width: auto; object-fit: contain; margin-bottom: 1.25rem; }

.contact-address { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-row { display: flex; align-items: flex-start; gap: 0.75rem; }
.contact-icon { font-size: 1rem; flex-shrink: 0; margin-top: 0.1rem; }
.contact-row p {
  font-size: clamp(0.875rem, 1.6vw, 1rem);
  color: #374151;
  line-height: 1.7;
}
.contact-tel {
  font-weight: 700;
  color: #262F4C;
  font-size: 1.1rem;
  transition: color 0.2s;
}
.contact-tel:hover { color: #00489D; }
.contact-mail { color: #374151; transition: color 0.2s; }
.contact-mail:hover { color: #00489D; }

.trust-badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.trust-badge {
  background: #fff;
  border: 2px solid;
  padding: 1rem 0.5rem;
  text-align: center;
}
.badge-icon { display: block; font-size: 1.1rem; margin-bottom: 0.25rem; }
.badge-label { font-weight: 900; font-size: 0.8rem; color: #262F4C; }

.contact-form-wrap {
  background: #fff;
  border: 2px solid #00489D;
  padding: 2rem;
}

.form-heading {
  font-weight: 900;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: #262F4C;
  padding-bottom: 1rem;
  border-bottom: 2px solid #F1F5F9;
  margin-bottom: 1.5rem;
}

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (max-width: 639px) { .form-row-2 { grid-template-columns: 1fr; } }

.form-group { display: flex; flex-direction: column; gap: 0.5rem; }

.form-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #00489D;
  letter-spacing: 0.05em;
}
.required { color: #EF4444; }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  border: 2px solid #E2E8F0;
  background: #fff;
  color: #262F4C;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: 'Noto Sans JP', sans-serif;
  outline: none;
  border-radius: 0;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus { border-color: #00489D; }

.form-textarea { resize: none; }

.form-note {
  font-size: 0.8rem;
  color: #9CA3AF;
  text-align: center;
  margin-top: 0.25rem;
}

.form-thanks { text-align: center; padding: 4rem 1rem; }
.thanks-icon {
  font-size: 4rem;
  color: #2EB7AD;
  margin-bottom: 1.5rem;
  display: block;
}
.form-thanks h3 {
  font-weight: 900;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  color: #262F4C;
  margin-bottom: 0.75rem;
}
.form-thanks p {
  font-size: clamp(0.875rem, 1.6vw, 1rem);
  color: #64748B;
  line-height: 1.7;
}

/* ── FOOTER ───────────────────────────────────────────────── */
.site-footer {
  background: #262F4C;
  padding: 2.5rem 0;
  border-top: 2px solid #262F4C;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.footer-logo {
  height: 2.5rem;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.footer-nav { display: flex; gap: 1.5rem; }
.footer-nav a {
  font-size: 0.9rem;
  color: #9CA3AF;
  transition: color 0.2s;
}
.footer-nav a:hover { color: #fff; }
.footer-copy { font-size: 0.85rem; color: #6B7280; }

/* ── Print ────────────────────────────────────────────────── */
@media print {
  .site-header, .hero-dots, .scroll-indicator { display: none; }
  .hero { min-height: auto; padding-top: 1rem; }
  .fade-in { opacity: 1; transform: none; }
}
