/* ==========================================================================
   お問い合わせ（/contact/）
   モバイルファースト：基本＝スマホ、@media (min-width: 769px) でPC
   ========================================================================== */
.syy-contact * { box-sizing: border-box; margin: 0; padding: 0; }
.syy-contact {
  font-family: var(--font-jp);
  color: var(--text-dark);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ===== PAGE HERO ===== */
.syy-contact .page-hero {
  background: var(--gradient-main);
  padding: 60px 20px 48px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.syy-contact .page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 100%);
}
.syy-contact .page-hero::after {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  filter: blur(60px);
  opacity: 0.5;
}
.syy-contact .page-hero-inner {
  position: relative; z-index: 1;
  max-width: 700px; margin: 0 auto;
}
.syy-contact .page-tag {
  font-family: var(--font-en);
  font-size: 12px; font-weight: 700;
  color: var(--accent-bright);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px; display: block;
}
.syy-contact .page-hero h1 {
  font-size: 28px; font-weight: 900;
  color: #fff; margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.syy-contact .page-hero p {
  font-size: 16px; color: var(--text-secondary); line-height: 1.8;
}

/* ===== CONTACT CONTENT ===== */
.syy-contact .contact-content {
  padding: 60px 20px;
  background: #f8fafc;
}
.syy-contact .contact-inner {
  max-width: 900px;
  margin: 0 auto;
}

/* CTA Box */
.syy-contact .cta-box {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 40px 24px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
  position: relative;
  overflow: hidden;
}
.syy-contact .cta-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient-accent);
}
.syy-contact .cta-box-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: block;
}
.syy-contact .cta-box h3 {
  font-size: 28px; font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.syy-contact .cta-box p {
  font-size: 15px;
  color: var(--text-dark-sub);
  margin-bottom: 12px;
  line-height: 1.8;
}

.syy-contact .cta-features {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
}
.syy-contact .cta-feat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-dark-sub);
}
.syy-contact .cta-feat .check {
  width: 22px; height: 22px;
  background: rgba(16,185,129,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  color: var(--emerald);
  font-weight: 700;
  flex-shrink: 0;
}

.syy-contact .form-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--gradient-accent);
  color: #fff !important;
  padding: 18px 40px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.3s;
  box-shadow: 0 6px 32px var(--accent-glow);
  position: relative;
  overflow: hidden;
}
.syy-contact .form-btn::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.15) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.6s;
}
.syy-contact .form-btn:hover::before { transform: translateX(100%); }
.syy-contact .form-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(59,130,246,0.5);
}
.syy-contact .form-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

/* フォーム埋め込み（Googleフォーム iframe） */
.syy-contact .form-embed {
  margin-top: 32px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 16px 8px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
  overflow: hidden;
}
.syy-contact .form-embed iframe {
  display: block;
  width: 100%;
  border: 0;
}
.syy-contact .form-embed-fallback {
  font-size: 14px;
  color: var(--text-dark-sub);
  text-align: center;
  padding: 16px;
}
.syy-contact .form-embed-fallback a { color: var(--accent); font-weight: 600; }

/* ===== FLOW SECTION ===== */
.syy-contact .flow-section {
  padding: 60px 20px;
  background: #fff;
}
.syy-contact .flow-inner {
  max-width: 800px;
  margin: 0 auto;
}
.syy-contact .section-header {
  text-align: center;
  margin-bottom: 56px;
}
.syy-contact .section-tag {
  font-family: var(--font-en);
  font-size: 12px; font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px; display: block;
}
.syy-contact .section-title {
  font-size: 32px; font-weight: 900;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.syy-contact .flow-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.syy-contact .flow-steps::before {
  content: '';
  position: absolute;
  left: 28px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--purple));
}
.syy-contact .flow-step {
  display: flex;
  gap: 24px;
  padding-bottom: 32px;
  position: relative;
}
.syy-contact .flow-step:last-child { padding-bottom: 0; }
.syy-contact .flow-num {
  width: 56px; height: 56px;
  min-width: 56px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-en);
  font-weight: 800; font-size: 20px;
  color: #fff;
  z-index: 1;
  box-shadow: 0 4px 16px var(--accent-glow);
}
.syy-contact .flow-body {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 24px 28px;
  flex: 1;
  min-width: 0;
  transition: all 0.3s;
}
.syy-contact .flow-body:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.syy-contact .flow-body h4 {
  font-size: 17px; font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.syy-contact .flow-body p {
  font-size: 14px;
  color: var(--text-dark-sub);
  line-height: 1.8;
}

/* ==========================================================================
   PC（769px〜）
   ========================================================================== */
@media (min-width: 769px) {
  .syy-contact .page-hero { padding: 80px 48px 64px; }
  .syy-contact .page-hero h1 { font-size: 40px; }
  .syy-contact .contact-content { padding: 80px 48px; }
  .syy-contact .cta-box { padding: 64px 48px; }
  .syy-contact .cta-features { flex-direction: row; gap: 32px; }
  .syy-contact .form-btn { font-size: 18px; padding: 20px 56px; }
  .syy-contact .form-embed { padding: 24px; }
  .syy-contact .flow-section { padding: 80px 48px; }
}
