*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111827;
  background-color: #ffffff;
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: #ec4899;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
}

h1, h2, h3 {
  font-family: "Noto Serif JP", "Noto Sans JP", system-ui, sans-serif;
  font-weight: 700;
  margin: 0 0 0.75em;
}

/* ヒーロー */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/fv-hero-regional.jpg");
  background-size: cover;
  background-position: center;
  filter: brightness(0.45);
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(236,72,153,0.6), rgba(147,51,234,0.6));
  z-index: -1;
}
.hero-inner {
  padding: 80px 16px 56px;
}
.hero-title {
  font-size: 1.8rem;
}
.hero-title span {
  display: block;
}
.hero-subtag {
  font-size: 0.95rem;
  color: #fee2e2;
}
.hero-sub {
  font-size: 1rem;
  margin-top: 0.75em;
  margin-bottom: 1.5em;
}
.hero-badge {
  display: inline-block;
  padding: 0.6em 1.4em;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(248, 250, 252, 0.5);
  font-size: 0.85rem;
  margin-bottom: 1.5em;
}
.hero-cta {
  display: inline-block;
  padding: 0.8em 2.4em;
  border-radius: 999px;
  background: linear-gradient(90deg, #ec4899, #a855f7);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(236,72,153,0.5);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}
.hero-cta:hover { opacity: 0.95; }
.hero-cta-secondary {
  background: rgba(255,255,255,0.95);
  color: #be185d;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}
.hero-law-badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}
.hero-zero-fee {
  font-size: 0.95rem;
  margin: -0.5em 0 1em;
  opacity: 0.95;
}

/* 法準拠バナー */
.law-compliance-bar {
  background: linear-gradient(90deg, #0f172a, #1e293b);
  color: #e2e8f0;
  padding: 14px 16px;
  text-align: center;
}
.law-compliance-text {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
}

/* フォーム上の安心文言 */
.form-reassurance {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 28px;
  text-align: center;
}
.form-reassurance-title {
  margin: 0 0 8px;
  font-weight: 700;
  color: #065f46;
  font-size: 1.05rem;
}
.form-reassurance-sub {
  margin: 0;
  font-size: 0.9rem;
  color: #047857;
}

/* CTA上の補足テキスト */
.cta-note {
  font-size: 0.85rem;
  color: #6b7280;
  margin: 0 0 10px;
}

/* セクション */
section {
  padding: 56px 0;
}
.section-muted {
  background: linear-gradient(to bottom, #fdf2ff, #f9fafb);
}
.section-deep {
  background: radial-gradient(circle at top left, #f97316, #a855f7);
  color: #fff;
}
.section-navy {
  background: #020617;
  color: #fff;
}
.section-title {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 32px;
}
.section-title-light {
  color: #fff;
}
.section-title-small {
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.section-desc {
  font-size: 0.9rem;
  color: #4b5563;
  text-align: center;
  margin-top: -12px;
  margin-bottom: 24px;
}

/* 関西エリア都道府県別リンク */
.section-prefecture-links {
  padding: 40px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

/* トップ：職種への導線 */
.section-job-types {
  padding: 48px 0 56px;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
}
.prefecture-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}
.prefecture-links a {
  display: inline-block;
  padding: 12px 20px;
  background: #fff;
  border: 2px solid #ec4899;
  color: #ec4899;
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}
.prefecture-links a:hover {
  background: #ec4899;
  color: #fff;
  text-decoration: none;
}

/* 3つの強みカード */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}
.card-img {
  height: 180px;
  overflow: hidden;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-body {
  padding: 18px 18px 20px;
}
.card-title {
  font-size: 1.05rem;
  margin-bottom: 0.4em;
}
.card-text {
  font-size: 0.9rem;
  color: #4b5563;
}

/* FAQ */
.faq-controls {
  display: flex;
  overflow-x: auto;
  gap: 8px;
  padding-bottom: 8px;
  margin-bottom: 16px;
}
.faq-chip {
  border-radius: 999px;
  border: none;
  padding: 0.4em 0.9em;
  font-size: 0.8rem;
  cursor: pointer;
  white-space: nowrap;
  background: #e5e7eb;
  color: #374151;
}
.faq-chip.active {
  background: #ec4899;
  color: #fff;
}
.faq-item {
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  margin-bottom: 8px;
  overflow: hidden;
  background: #fff;
}
.faq-q {
  padding: 10px 14px;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-a {
  padding: 0 14px 10px;
  border-top: 1px solid #e5e7eb;
  font-size: 0.85rem;
  color: #4b5563;
  display: none;
}

/* 都道府県ページ用FAQ（dl形式） */
.faq-list { margin: 0 0 24px; padding: 0; }
.faq-list dt {
  font-weight: 700;
  margin-top: 16px;
  padding: 12px 16px;
  background: #f8fafc;
  border-radius: 8px;
  font-size: 0.95rem;
}
.faq-list dt:first-of-type { margin-top: 0; }
.faq-list dd { margin: 0 0 0 0; padding: 12px 16px 0; font-size: 0.9rem; color: #4b5563; line-height: 1.7; }

/* お知らせ */
.alert {
  background: #fef3c7;
  border-top: 1px solid #fed7aa;
  border-bottom: 1px solid #fed7aa;
  color: #92400e;
}
.list-plain {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.list-plain li {
  margin-bottom: 10px;
}
.list-dotted {
  padding-left: 1.1em;
  margin: 0;
}
.list-dotted li {
  margin-bottom: 6px;
}

/* フロー */
.flow-step {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}
.flow-num {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.flow-num-1 { background: #ec4899; }
.flow-num-2 { background: #a855f7; }
.flow-num-3 { background: #6d28d9; }

/* フォーム */
.form-box {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.25);
  padding: 20px 18px 22px;
  max-width: 560px;
  margin: 0 auto;
}
.form-row {
  margin-bottom: 12px;
}
label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 4px;
}
input,
select,
textarea {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 0.9rem;
  box-sizing: border-box;
}
textarea {
  resize: vertical;
  min-height: 80px;
}
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.8rem;
  margin-bottom: 6px;
}
.checkbox-row input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
}
.submit-btn {
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 10px;
  background: linear-gradient(90deg, #ec4899, #a855f7);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
}

/* 年齢確認モーダル */
.age-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
}
.age-modal {
  background: #fff;
  border-radius: 18px;
  padding: 22px 18px;
  max-width: 380px;
  width: 90%;
  text-align: center;
}
.age-modal p {
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.age-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
}
.age-btn-yes,
.age-btn-no {
  flex: 1;
  padding: 8px 0;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
}
.age-btn-yes {
  background: linear-gradient(90deg, #22c55e, #16a34a);
  color: #fff;
  font-weight: 700;
}
.age-btn-no {
  background: #e5e7eb;
  color: #374151;
}

/* 成功事例・体験談 */
.testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 24px;
}
@media (min-width: 768px) {
  .testimonials {
    grid-template-columns: repeat(3, 1fr);
  }
}
.testimonial-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}
.testimonial-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ec4899, #a855f7);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.testimonial-info {
  flex: 1;
}
.testimonial-region {
  font-size: 0.85rem;
  font-weight: 600;
  color: #111827;
}
.testimonial-age {
  font-size: 0.75rem;
  color: #6b7280;
}
.testimonial-text {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 12px;
}
.testimonial-rating {
  color: #fbbf24;
  font-size: 0.9rem;
}

/* よくある不安と解決策 */
.concerns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 24px;
}
@media (min-width: 768px) {
  .concerns {
    grid-template-columns: repeat(2, 1fr);
  }
}
.concern-item {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
  border-left: 4px solid #ec4899;
}
.concern-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}
.concern-title {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: #111827;
}
.concern-solution {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.7;
}

/* フッター */
footer {
  font-size: 0.75rem;
  color: #6b7280;
  text-align: center;
  padding: 24px 0;
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
}
.footer-links {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-links a {
  color: #6b7280;
  text-decoration: underline;
  font-size: 0.85rem;
}
.footer-links a:hover {
  color: #ec4899;
}
.footer-links span {
  color: #d1d5db;
}

/* パンくず（都道府県ページ用） */
.breadcrumb {
  padding: 12px 0;
  font-size: 0.85rem;
  color: #6b7280;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}
.breadcrumb a {
  color: #6b7280;
  text-decoration: none;
}
.breadcrumb a:hover {
  color: #ec4899;
}
.breadcrumb-sep {
  margin: 0 8px;
  color: #9ca3af;
}

/* 都道府県ページ: 地域別コンテンツ・地図 */
.local-content,
.local-stats {
  max-width: 720px;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.8;
  color: #4b5563;
}
.local-content p,
.local-stats p {
  margin-bottom: 12px;
}
.map-wrap {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}
.map-wrap iframe {
  display: block;
}

/* 職種ページ：比較表 */
.job-compare-wrap {
  overflow-x: auto;
  margin: 24px 0;
}
.job-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}
.job-compare-table th,
.job-compare-table td {
  border: 1px solid #e5e7eb;
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}
.job-compare-table thead th {
  background: #fdf2f8;
  color: #9d174d;
  font-weight: 700;
}
.job-compare-table tbody tr:nth-child(even) {
  background: #fafafa;
}
.job-lead-badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(236,72,153,0.12), rgba(168,85,247,0.12));
  color: #9d174d;
  font-size: 0.9rem;
  font-weight: 700;
}
.job-nav-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 20px;
}
@media (min-width: 640px) {
  .job-nav-cards {
    grid-template-columns: 1fr 1fr;
  }
}
.job-nav-card {
  display: block;
  padding: 20px;
  border-radius: 12px;
  border: 2px solid #fce7f3;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.job-nav-card:hover {
  border-color: #ec4899;
  box-shadow: 0 8px 24px rgba(236, 72, 153, 0.15);
  text-decoration: none;
}
.job-nav-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: #be185d;
}
.job-nav-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.6;
}

