/* ============================================
   マルケイホーム 外壁の危険度診断LP
   WordPress固定ページ用スタイルシート
   ============================================ */

/* --- Google Fonts (HTML側でも読み込み) --- */
@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@400;500;700;900&family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

/* --- CSS Variables --- */
:root {
  --brand-primary: #4AADE8;
  --brand-primary-dark: #2E8BC0;
  --brand-primary-light: #EBF5FF;
  --brand-accent: #1B6FA0;
  --brand-navy: #1a3a5c;
  --brand-danger: #E53935;
  --font-heading: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --font-body: "Noto Sans JP", sans-serif;
  --color-foreground: #1a1a1a;
  --color-muted: #6b7280;
}

/* --- Reset & Base --- */
.gs-wrap,
.gs-wrap * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.gs-wrap {
  font-family: var(--font-body);
  color: var(--color-foreground);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.gs-wrap img {
  max-width: 100%;
  height: auto;
  display: block;
}

.gs-wrap a {
  text-decoration: none;
  color: inherit;
}

.gs-wrap button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

.gs-wrap h1,
.gs-wrap h2,
.gs-wrap h3,
.gs-wrap h4 {
  font-family: var(--font-heading);
  line-height: 1.3;
}

/* --- Utility --- */
.gs-container {
  max-width: 768px;
  margin: 0 auto;
  padding: 0 16px;
}

.gs-container-sm {
  max-width: 576px;
  margin: 0 auto;
  padding: 0 16px;
}

.gs-text-center { text-align: center; }
.gs-font-bold { font-weight: 700; }
.gs-font-black { font-weight: 900; }

/* --- Animations --- */
@keyframes gs-pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 173, 232, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(74, 173, 232, 0); }
}

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

.gs-animate-pulse-glow {
  animation: gs-pulse-glow 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.gs-animate-bounce {
  animation: gs-bounce 1.5s ease-in-out infinite;
}

/* ============================================
   HEADER
   ============================================ */
.gs-top-line {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-color: var(--brand-primary);
  z-index: 1001;
}

.gs-header {
  position: fixed;
  top: 4px;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s;
}

.gs-header.scrolled {
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

.gs-header-inner {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.gs-logo {
  display: flex;
  align-items: center;
  gap: 6px;
}

.gs-logo-text {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 18px;
  color: var(--brand-navy);
  letter-spacing: -0.02em;
}

.gs-nav {
  display: none;
  align-items: center;
  gap: 4px;
}

.gs-nav a {
  font-size: 14px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 8px;
  color: #4a5568;
  transition: color 0.2s;
}

.gs-nav a:hover {
  color: var(--brand-primary);
}

@media (min-width: 640px) {
  .gs-nav { display: flex; }
}

/* ============================================
   HERO
   ============================================ */
.gs-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

@media (min-width: 640px) {
  .gs-hero { min-height: 85vh; }
}

.gs-hero-bg {
  position: absolute;
  inset: 0;
}

.gs-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gs-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55), rgba(0,0,0,0.45), rgba(0,0,0,0.65));
}

.gs-hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 768px;
  margin: 0 auto;
  padding: 80px 16px 48px;
  text-align: center;
}

.gs-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 9999px;
  padding: 10px 20px;
  margin-bottom: 24px;
}

.gs-hero-badge span {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.gs-hero h1 {
  color: #fff;
  font-weight: 900;
  font-size: 36px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.gs-hero h1 .gs-highlight {
  color: var(--brand-primary);
}

.gs-hero-subtitle {
  font-size: 20px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px;
}

.gs-hero-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.9);
  line-height: 1.8;
  margin-bottom: 40px;
}

.gs-hero-desc .gs-free {
  color: var(--brand-primary);
  font-weight: 700;
}

@media (min-width: 640px) {
  .gs-hero h1 { font-size: 56px; }
  .gs-hero-subtitle { font-size: 24px; }
  .gs-hero-desc { font-size: 20px; }
}

/* --- CTA Button --- */
.gs-cta-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--brand-primary);
  color: #fff !important;
  font-weight: 700;
  border-radius: 12px;
  padding: 20px 40px;
  box-shadow: 0 4px 16px rgba(74,173,232,0.35);
  transition: transform 0.15s, box-shadow 0.15s;
  width: 100%;
  max-width: 480px;
}

.gs-cta-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 24px rgba(74,173,232,0.45);
}

.gs-cta-btn:active {
  transform: scale(0.97);
}

.gs-cta-btn .gs-cta-sub {
  font-size: 14px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gs-cta-btn .gs-cta-main {
  font-size: 20px;
}

.gs-scroll-indicator {
  margin-top: 48px;
  text-align: center;
}

.gs-scroll-indicator svg {
  width: 32px;
  height: 32px;
  color: rgba(255,255,255,0.5);
  margin: 0 auto;
}

/* ============================================
   PROBLEM SECTION
   ============================================ */
.gs-problem {
  padding: 64px 0 80px;
  background: #fff;
}

.gs-section-title {
  font-size: 30px;
  font-weight: 900;
  text-align: center;
  line-height: 1.3;
  margin-bottom: 8px;
}

@media (min-width: 640px) {
  .gs-section-title { font-size: 42px; }
}

.gs-section-line {
  width: 64px;
  height: 4px;
  border-radius: 9999px;
  background: var(--brand-primary);
  margin: 0 auto 40px;
}

/* Symptom grid */
.gs-symptom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 48px;
}

@media (min-width: 640px) {
  .gs-symptom-grid { gap: 16px; }
}

.gs-symptom-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

@media (min-width: 640px) {
  .gs-symptom-card { aspect-ratio: 1/1; }
}

.gs-symptom-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.gs-symptom-card:hover img {
  transform: scale(1.05);
}

.gs-symptom-card .gs-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.1), transparent);
}

.gs-symptom-card .gs-label {
  position: absolute;
  bottom: 8px;
  left: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

@media (min-width: 640px) {
  .gs-symptom-card .gs-label {
    bottom: 12px;
    left: 12px;
    font-size: 16px;
  }
}

/* Worry cards */
.gs-worry-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 48px;
}

.gs-worry-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: 12px;
  border-left: 4px solid;
}

.gs-worry-card.blue {
  border-left-color: var(--brand-primary);
  background: #EBF5FF;
}

.gs-worry-card.orange {
  border-left-color: #E88A4A;
  background: #FFF5EB;
}

.gs-worry-card.navy {
  border-left-color: #6B8FBF;
  background: #EEF3FA;
}

.gs-worry-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gs-worry-card.blue .gs-worry-icon { color: var(--brand-primary); }
.gs-worry-card.orange .gs-worry-icon { color: #E88A4A; }
.gs-worry-card.navy .gs-worry-icon { color: #6B8FBF; }

.gs-worry-card p {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  white-space: pre-line;
}

@media (min-width: 640px) {
  .gs-worry-card p { font-size: 18px; }
}

/* CTA box */
.gs-cta-box {
  background: var(--brand-primary-light);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
}

.gs-cta-box-title {
  font-size: 24px;
  font-weight: 900;
  color: var(--brand-navy);
  margin-bottom: 8px;
}

@media (min-width: 640px) {
  .gs-cta-box-title { font-size: 30px; }
}

.gs-cta-box-desc {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 32px;
}

@media (min-width: 640px) {
  .gs-cta-box-desc { font-size: 20px; }
}

/* ============================================
   DANGER SECTION
   ============================================ */
.gs-danger {
  padding: 64px 0 80px;
  background: var(--brand-primary-light);
}

.gs-danger-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 900;
  border: 2px solid var(--brand-danger);
  color: var(--brand-danger);
  background: #fef2f2;
}

.gs-danger-title .gs-red {
  color: var(--brand-danger);
}

.gs-danger-subtitle {
  font-size: 16px;
  color: var(--color-muted);
  line-height: 1.8;
  text-align: center;
  margin-bottom: 40px;
}

@media (min-width: 640px) {
  .gs-danger-subtitle { font-size: 18px; }
}

/* Danger cards */
.gs-danger-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.gs-danger-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.gs-danger-card-bg {
  position: absolute;
  inset: 0;
}

.gs-danger-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.gs-danger-card:hover .gs-danger-card-bg img {
  transform: scale(1.05);
}

.gs-danger-card-bg .gs-gradient {
  position: absolute;
  inset: 0;
  opacity: 0.85;
}

.gs-danger-card-bg .gs-gradient.dark-blue {
  background: linear-gradient(to right, #0c2d48, #1a3a5c);
}

.gs-danger-card-bg .gs-gradient.amber {
  background: linear-gradient(to right, #92400e, #78350f);
}

.gs-danger-card-bg .gs-gradient.red {
  background: linear-gradient(to right, #991b1b, #7f1d1d);
}

.gs-danger-card-content {
  position: relative;
  z-index: 10;
  padding: 24px;
}

@media (min-width: 640px) {
  .gs-danger-card-content { padding: 32px; }
}

.gs-danger-card-num {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.gs-danger-card h3 {
  color: #fff;
  font-weight: 900;
  font-size: 24px;
  line-height: 1.3;
  margin-top: 8px;
  margin-bottom: 16px;
}

@media (min-width: 640px) {
  .gs-danger-card h3 { font-size: 30px; }
}

.gs-danger-card-desc {
  color: rgba(255,255,255,0.9);
  font-size: 16px;
  line-height: 1.8;
  white-space: pre-line;
  margin-bottom: 16px;
}

@media (min-width: 640px) {
  .gs-danger-card-desc { font-size: 18px; }
}

.gs-danger-card-note {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (min-width: 640px) {
  .gs-danger-card-note { font-size: 16px; }
}

.gs-danger-bottom {
  text-align: center;
  margin-top: 48px;
}

.gs-danger-bottom h3 {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 12px;
}

@media (min-width: 640px) {
  .gs-danger-bottom h3 { font-size: 30px; }
}

.gs-danger-bottom p {
  font-size: 16px;
  color: var(--color-muted);
  line-height: 1.8;
}

@media (min-width: 640px) {
  .gs-danger-bottom p { font-size: 18px; }
}

/* ============================================
   HONESTY SECTION
   ============================================ */
.gs-honesty {
  padding: 64px 0 80px;
  background: #fff;
}

.gs-honesty-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid #a7f3d0;
  color: #047857;
  background: #ecfdf5;
}

.gs-honesty-content {
  margin-top: 40px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

@media (min-width: 640px) {
  .gs-honesty-content {
    flex-direction: row;
  }
}

.gs-honesty-image {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

@media (min-width: 640px) {
  .gs-honesty-image { width: 40%; }
}

.gs-honesty-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.gs-honesty-promises {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 640px) {
  .gs-honesty-promises { width: 60%; }
}

.gs-promise-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.gs-promise-item svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: #10b981;
  margin-top: 2px;
}

.gs-promise-item p {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  white-space: pre-line;
}

@media (min-width: 640px) {
  .gs-promise-item p { font-size: 18px; }
}

/* Free banner */
.gs-free-banner {
  background: var(--brand-primary);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
}

@media (min-width: 640px) {
  .gs-free-banner { padding: 40px; }
}

.gs-free-badge {
  display: inline-block;
  background: #fff;
  color: var(--brand-primary);
  font-weight: 900;
  font-size: 18px;
  padding: 8px 24px;
  border-radius: 9999px;
  margin-bottom: 16px;
}

.gs-free-banner h3 {
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 12px;
}

@media (min-width: 640px) {
  .gs-free-banner h3 { font-size: 30px; }
}

.gs-free-banner p {
  color: rgba(255,255,255,0.9);
  font-size: 16px;
  line-height: 1.7;
}

@media (min-width: 640px) {
  .gs-free-banner p { font-size: 18px; }
}

/* ============================================
   STEPS SECTION
   ============================================ */
.gs-steps {
  padding: 48px 0 64px;
  background: var(--brand-primary-light);
}

.gs-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (min-width: 640px) {
  .gs-steps-grid { gap: 24px; }
}

.gs-step-item {
  text-align: center;
}

.gs-step-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  box-shadow: 0 2px 8px rgba(74,173,232,0.3);
}

@media (min-width: 640px) {
  .gs-step-icon { width: 80px; height: 80px; }
}

.gs-step-icon svg {
  width: 32px;
  height: 32px;
  color: #fff;
}

.gs-step-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--brand-primary);
}

.gs-step-title {
  font-size: 16px;
  font-weight: 900;
  margin-top: 4px;
  margin-bottom: 4px;
}

@media (min-width: 640px) {
  .gs-step-title { font-size: 18px; }
}

.gs-step-desc {
  font-size: 12px;
  color: var(--color-muted);
  white-space: pre-line;
  line-height: 1.6;
}

@media (min-width: 640px) {
  .gs-step-desc { font-size: 14px; }
}

/* ============================================
   FORM SECTION
   ============================================ */
.gs-form-section {
  padding: 64px 0 80px;
  background: #fff;
}

.gs-form-header {
  text-align: center;
  margin-bottom: 32px;
}

.gs-form-header .gs-sakutto {
  font-size: 18px;
  font-weight: 900;
  color: var(--color-muted);
  margin-bottom: 12px;
}

@media (min-width: 640px) {
  .gs-form-header .gs-sakutto { font-size: 20px; }
}

.gs-form-header h2 {
  font-size: 30px;
  font-weight: 900;
  color: var(--brand-primary);
  margin-bottom: 8px;
}

@media (min-width: 640px) {
  .gs-form-header h2 { font-size: 36px; }
}

.gs-form-header .gs-form-time {
  font-size: 18px;
  color: var(--color-muted);
  font-weight: 500;
}

@media (min-width: 640px) {
  .gs-form-header .gs-form-time { font-size: 20px; }
}

/* Photo tips */
.gs-photo-tips {
  background: #f9fafb;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
  border: 1px solid #f3f4f6;
}

.gs-photo-tips-title {
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
}

.gs-photo-tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gs-photo-tip {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gs-photo-tip-img {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 6px;
}

.gs-photo-tip-img.bad {
  border: 2px solid #f87171;
}

.gs-photo-tip-img.good {
  border: 2px solid #22c55e;
}

.gs-photo-tip-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gs-photo-tip-badge {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gs-photo-tip-badge.bad {
  background: #ef4444;
}

.gs-photo-tip-badge.good {
  background: #22c55e;
}

.gs-photo-tip-badge svg {
  width: 12px;
  height: 12px;
  color: #fff;
}

.gs-photo-tip-label {
  font-size: 12px;
  font-weight: 700;
}

.gs-photo-tip-label.bad { color: #ef4444; }
.gs-photo-tip-label.good { color: #16a34a; }

.gs-photo-tip-desc {
  font-size: 10px;
  color: var(--color-muted);
  text-align: center;
  line-height: 1.4;
}

/* Form fields */
.gs-form-group {
  margin-bottom: 24px;
}

.gs-form-label {
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-foreground);
}

.gs-form-label .gs-required {
  color: #ef4444;
  font-size: 14px;
  margin-left: 4px;
}

.gs-form-hint {
  font-size: 14px;
  color: var(--color-muted);
  margin-bottom: 12px;
}

.gs-form-input,
.gs-form-select {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 16px;
  font-family: var(--font-body);
  color: var(--color-foreground);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}

.gs-form-input:focus,
.gs-form-select:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(74,173,232,0.2);
}

.gs-form-privacy {
  font-size: 12px;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Submit button */
.gs-submit-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: var(--brand-primary) !important;
  color: #fff;
  font-weight: 700;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(74,173,232,0.35);
  transition: transform 0.15s;
  font-family: var(--font-body);
  border: none;
  cursor: pointer;
}

.gs-submit-btn:hover {
  transform: scale(1.01);
}

.gs-submit-btn:active {
  transform: scale(0.97);
}

.gs-submit-btn .gs-sub {
  font-size: 14px;
  margin-bottom: 4px;
}

.gs-submit-btn .gs-main {
  font-size: 20px;
}

/* ============================================
   FOOTER
   ============================================ */
.gs-footer {
  padding: 32px 0;
  text-align: center;
  background: #1a2a3a;
}

.gs-footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

.gs-footer-logo span {
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 18px;
}

.gs-footer-company {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  margin-bottom: 4px;
}

.gs-footer-service {
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  margin-bottom: 16px;
}

.gs-footer-copy {
  color: rgba(255,255,255,0.4);
  font-size: 12px;
}

/* ============================================
   CONFIRM PAGE
   ============================================ */
.gs-confirm-wrap {
  min-height: 100vh;
  background: linear-gradient(135deg, #f0f9ff, #eff6ff);
  font-family: var(--font-body);
}

.gs-confirm-header {
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 30;
}

.gs-confirm-header-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.gs-confirm-back {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-primary);
  background: none;
  border: none;
  cursor: pointer;
}

.gs-confirm-title {
  flex: 1;
  text-align: center;
  font-size: 18px;
  font-weight: 900;
  color: var(--brand-navy);
}

.gs-confirm-main {
  max-width: 512px;
  margin: 0 auto;
  padding: 32px 16px;
}

.gs-confirm-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  overflow: hidden;
  margin-bottom: 24px;
}

.gs-confirm-card-header {
  padding: 20px 24px;
  border-bottom: 1px solid #f3f4f6;
  background: var(--brand-primary-light);
  text-align: center;
}

.gs-confirm-card-header h2 {
  font-size: 18px;
  font-weight: 900;
  color: var(--brand-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 4px;
}

.gs-confirm-card-header p {
  font-size: 14px;
  color: rgba(26,58,92,0.8);
}

.gs-confirm-card-body {
  padding: 20px 24px;
}

.gs-confirm-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
}

.gs-confirm-row:last-child {
  border-bottom: none;
}

.gs-confirm-row-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-navy);
}

.gs-confirm-row-value {
  font-size: 14px;
  font-weight: 500;
  word-break: break-all;
}

/* Confirm buttons */
.gs-confirm-actions {
  display: flex;
  gap: 12px;
}

.gs-confirm-back-btn {
  flex: 1;
  padding: 16px;
  border-radius: 12px;
  border: 2px solid #d1d5db;
  color: #6b7280;
  font-weight: 700;
  font-size: 16px;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s;
  font-family: var(--font-body);
}

.gs-confirm-back-btn:hover {
  background: #f9fafb;
}

.gs-confirm-submit-btn {
  flex: 1;
  padding: 16px;
  border-radius: 12px;
  background: var(--brand-primary);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(74,173,232,0.3);
  transition: transform 0.15s;
  font-family: var(--font-body);
}

.gs-confirm-submit-btn:hover {
  transform: scale(1.01);
}

.gs-confirm-submit-btn:active {
  transform: scale(0.97);
}

.gs-confirm-privacy {
  font-size: 12px;
  text-align: center;
  color: var(--color-muted);
  margin-top: 24px;
  line-height: 1.7;
}

/* ============================================
   THANKS PAGE
   ============================================ */
.gs-thanks-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0f9ff, #eff6ff);
  font-family: var(--font-body);
  padding: 16px;
}

.gs-thanks-card {
  width: 100%;
  max-width: 512px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  padding: 32px;
  text-align: center;
}

.gs-thanks-icon {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
}

.gs-thanks-icon .gs-pulse {
  position: absolute;
  inset: 0;
  background: #e0f2fe;
  border-radius: 50%;
  animation: gs-pulse-glow 2s infinite;
}

.gs-thanks-icon svg {
  position: relative;
  width: 48px;
  height: 48px;
  color: var(--brand-primary);
  margin: 16px auto;
}

.gs-thanks-card h1 {
  font-size: 24px;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 8px;
}

.gs-thanks-card > p {
  font-size: 18px;
  color: #475569;
  margin-bottom: 32px;
  line-height: 1.7;
}

.gs-thanks-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
  margin-bottom: 32px;
}

.gs-thanks-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: #f0f9ff;
  border-radius: 12px;
}

.gs-thanks-step-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gs-thanks-step-icon svg {
  width: 20px;
  height: 20px;
  color: #fff;
}

.gs-thanks-step-title {
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.gs-thanks-step-desc {
  font-size: 14px;
  color: #475569;
}

.gs-thanks-btn {
  display: inline-block;
  background: var(--brand-primary);
  color: #fff;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(74,173,232,0.3);
  transition: background 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 16px;
  text-decoration: none;
}

.gs-thanks-btn:hover {
  background: var(--brand-primary-dark);
  box-shadow: 0 4px 16px rgba(74,173,232,0.4);
}

/* ============================================
   WordPress Form Plugin Placeholder
   ============================================ */
/* 
  Contact Form 7 等のプラグインを使用する場合、
  以下のクラスでスタイルを上書きできます。

*/
.gs-wp-form-area .wpcf7-form input,
.gs-wp-form-area .wpcf7-form select,
.gs-wp-form-area .wpcf7-form textarea {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 16px;
}

.gs-wp-form-area .wpcf7-form input:focus,
.gs-wp-form-area .wpcf7-form select:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(74,173,232,0.2);
  outline: none;
}
.gs-wp-form-area .wpcf7-form .hidden-fields-container,
.gs-wp-form-area .wpcf7-form .gs-form-upload {
  display: none;
}

.wpcf7 .screen-reader-response {
  position: absolute;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  word-wrap: normal !important;
}
.wpcf7-not-valid-tip {
  color: #dc3232;
}