/* ===========================
   保育士転職サポート LP - styles.css
   =========================== */

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

:root {
  --color-bg: #faf9f7;
  --color-fg: #1b2131;
  --color-card: #ffffff;
  --color-primary: #2b6cb0;
  --color-primary-light: rgba(43, 108, 176, 0.1);
  --color-primary-fg: #ffffff;
  --color-secondary: #f7f5f2;
  --color-muted: #f3f4f6;
  --color-muted-fg: #6b7280;
  --color-accent: #ed8936;
  --color-accent-fg: #ffffff;
  --color-destructive: #dc2626;
  --color-border: #e5e7eb;
  --color-emerald: #059669;
  --color-emerald-light: #d1fae5;
  --color-emerald-border: #6ee7b7;
  --radius: 0.75rem;
  --font-main: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* --- Utility --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.text-balance {
  text-wrap: balance;
}

/* --- PR Notice --- */
.pr-notice {
  background-color: var(--color-muted);
  padding: 8px 16px;
  text-align: right;
}
.pr-notice span {
  font-size: 12px;
  color: var(--color-muted-fg);
}

/* --- Header --- */
.site-header {
  background-color: var(--color-card);
  border-bottom: 1px solid var(--color-border);
  padding: 16px 0;
}
.site-header .inner {
  max-width: 896px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-header .logo-icon {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  fill: var(--color-primary);
}
.site-header h1 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
}

/* --- CTA Button --- */
.cta-button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--color-accent);
  color: var(--color-accent-fg);
  border-radius: 9999px;
  padding: 20px 48px;
  box-shadow: 0 10px 25px rgba(237, 137, 54, 0.35);
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  font-family: var(--font-main);
}
.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(237, 137, 54, 0.45);
}
.cta-button .cta-main {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
}
.cta-button .cta-sub {
  margin-top: 4px;
  font-size: 14px;
  opacity: 0.9;
}
.cta-button.cta-large {
  padding: 24px 56px;
}
.cta-button.cta-large .cta-main {
  font-size: 20px;
}
.cta-button .arrow {
  transition: transform 0.2s ease;
}
.cta-button:hover .arrow {
  transform: translateX(4px);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-bg .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.92), rgba(255,255,255,0.5), rgba(255,255,255,0.6));
}
.hero .inner {
  position: relative;
  max-width: 896px;
  margin: 0 auto;
  padding: 64px 20px 80px;
  text-align: center;
}
.hero .sub-label {
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-destructive);
}
.hero h2 {
  margin-bottom: 24px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--color-fg);
}
.hero h2 .highlight {
  position: relative;
  display: inline-block;
  color: var(--color-primary);
}
.hero h2 .highlight::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 12px;
  background-color: rgba(43, 108, 176, 0.15);
  z-index: -1;
}
.hero .lead {
  margin-bottom: 40px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-muted-fg);
}
.hero .pain-box {
  max-width: 520px;
  margin: 0 auto 40px;
  background: var(--color-card);
  border-radius: var(--radius);
  padding: 24px;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border: 1px solid var(--color-border);
}
.hero .pain-box li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(229,231,235,0.5);
}
.hero .pain-box li:last-child {
  border-bottom: none;
}
.hero .pain-box .check-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--color-destructive);
}
.hero .pain-box span {
  font-size: 14px;
  color: var(--color-fg);
}
.hero .note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--color-muted-fg);
}

/* --- Empathy Section --- */
.empathy {
  background-color: var(--color-card);
  padding: 80px 0;
}
.empathy .inner {
  max-width: 896px;
  margin: 0 auto;
  padding: 0 20px;
}
.empathy h2 {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  color: var(--color-fg);
  margin-bottom: 48px;
}
.empathy .content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.empathy .photo {
  width: 100%;
}
.empathy .photo-wrapper {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.empathy .photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.empathy .text {
  width: 100%;
  text-align: center;
}
.empathy .text p {
  line-height: 2;
  color: var(--color-muted-fg);
  margin-bottom: 24px;
}
.empathy .text p:last-child {
  margin-bottom: 0;
}
.empathy .callout {
  border-left: 4px solid var(--color-accent);
  background-color: rgba(237, 137, 54, 0.05);
  padding: 20px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 24px;
}
.empathy .callout p {
  line-height: 2;
  color: var(--color-fg);
  margin-bottom: 0;
}
.empathy .callout strong {
  font-weight: 700;
}
.empathy .text strong {
  color: var(--color-fg);
  font-weight: 700;
}

/* --- Solution Section --- */
.solution {
  background-color: var(--color-secondary);
  padding: 80px 0;
}
.solution .inner {
  max-width: 896px;
  margin: 0 auto;
  padding: 0 20px;
}
.solution h2 {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  color: var(--color-fg);
  margin-bottom: 24px;
}
.solution .section-image {
  position: relative;
  max-width: 672px;
  margin: 0 auto 48px;
  aspect-ratio: 21/9;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.solution .section-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.solution .section-image .gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.2), transparent);
}
.solution .cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.solution .card {
  flex: 1;
  background: var(--color-card);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  border: 1px solid var(--color-border);
  transition: box-shadow 0.2s ease;
}
.solution .card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.solution .card .icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.solution .card .icon-wrap svg {
  width: 28px;
  height: 28px;
  color: var(--color-primary);
}
.solution .card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-fg);
  margin-bottom: 12px;
}
.solution .card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-muted-fg);
}

/* --- Comparison Section --- */
.comparison {
  background-color: var(--color-card);
  padding: 80px 0;
}
.comparison .inner {
  max-width: 896px;
  margin: 0 auto;
  padding: 0 20px;
}
.comparison h2 {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  color: var(--color-fg);
  margin-bottom: 48px;
}
.comparison .columns {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.comparison .col {
  flex: 1;
  border-radius: var(--radius);
  padding: 32px;
}
.comparison .col-bad {
  border: 2px solid rgba(220, 38, 38, 0.3);
  background-color: rgba(220, 38, 38, 0.05);
}
.comparison .col-good {
  border: 2px solid var(--color-emerald-border);
  background-color: var(--color-emerald-light);
}
.comparison .col h3 {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
}
.comparison .col-bad h3 {
  color: var(--color-destructive);
}
.comparison .col-good h3 {
  color: var(--color-emerald);
}
.comparison .col li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 14px;
  color: var(--color-fg);
}
.comparison .col li:last-child {
  border-bottom: none;
}
.comparison .col li svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
}
.comparison .col-bad li svg {
  color: var(--color-destructive);
}
.comparison .col-good li svg {
  color: var(--color-emerald);
}

/* --- Assurance Section --- */
.assurance {
  background-color: var(--color-secondary);
  padding: 80px 0;
}
.assurance .inner {
  max-width: 896px;
  margin: 0 auto;
  padding: 0 20px;
}
.assurance h2 {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  color: var(--color-fg);
  margin-bottom: 48px;
}
.assurance .cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}
.assurance .card {
  flex: 1;
  background: var(--color-card);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  border: 1px solid var(--color-border);
}
.assurance .card .icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.assurance .card .icon-wrap svg {
  width: 32px;
  height: 32px;
  color: var(--color-primary);
}
.assurance .card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-fg);
  margin-bottom: 8px;
}
.assurance .card p {
  font-size: 14px;
  color: var(--color-muted-fg);
}
.assurance .target-box {
  border: 2px solid var(--color-primary);
  background: var(--color-card);
  border-radius: var(--radius);
  padding: 32px;
}
.assurance .target-box h3 {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 20px;
}
.assurance .target-box li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-muted-fg);
  font-size: 14px;
  margin-bottom: 12px;
}
.assurance .target-box li:last-child {
  margin-bottom: 0;
}
.assurance .target-box .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-primary);
  flex-shrink: 0;
}

/* --- CTA Section (mid) --- */
.cta-section {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}
.cta-section .bg {
  position: absolute;
  inset: 0;
}
.cta-section .bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-section .bg .overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(43, 108, 176, 0.88);
}
.cta-section .inner {
  position: relative;
  max-width: 896px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}
.cta-section .inner p {
  font-size: 18px;
  line-height: 2;
  color: var(--color-primary-fg);
  margin-bottom: 32px;
}

/* --- FAQ Section --- */
.faq {
  background-color: var(--color-card);
  padding: 80px 0;
}
.faq .inner {
  max-width: 768px;
  margin: 0 auto;
  padding: 0 20px;
}
.faq h2 {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  color: var(--color-fg);
  margin-bottom: 48px;
}
.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-main);
  text-align: left;
}
.faq-question .q-text {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
}
.faq-question .q-text .q-label {
  flex-shrink: 0;
}
.faq-question .chevron {
  width: 20px;
  height: 20px;
  color: var(--color-muted-fg);
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-left: 12px;
}
.faq-item.open .faq-question .chevron {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer {
  max-height: 300px;
}
.faq-answer-inner {
  padding: 0 0 24px 28px;
  line-height: 1.8;
  color: var(--color-muted-fg);
  font-size: 14px;
}
.faq-answer-inner .a-label {
  font-weight: 500;
  color: var(--color-fg);
}

/* --- Last CTA Section --- */
.last-cta {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}
.last-cta .bg {
  position: absolute;
  inset: 0;
}
.last-cta .bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.last-cta .bg .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.72), rgba(255,255,255,0.5), rgba(255,255,255,0.6));
}
.last-cta .inner {
  position: relative;
  max-width: 896px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}
.last-cta h2 {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--color-fg);
  margin-bottom: 24px;
}
.last-cta .lead {
  line-height: 2;
  color: var(--color-muted-fg);
  margin-bottom: 40px;
}
.last-cta .note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--color-muted-fg);
}

/* --- Footer --- */
.site-footer {
  background-color: var(--color-fg);
  padding: 40px 0;
}
.site-footer .inner {
  max-width: 896px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}
.site-footer .copy {
  font-size: 14px;
  color: var(--color-muted-fg);
  margin-bottom: 16px;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.site-footer nav a {
  font-size: 14px;
  color: var(--color-muted-fg);
  transition: color 0.2s ease;
}
.site-footer nav a:hover {
  color: var(--color-primary-fg);
}

/* --- Responsive (MD: 768px+) --- */
@media (min-width: 768px) {
  .hero h2 {
    font-size: 36px;
  }
  .hero .lead {
    font-size: 18px;
  }
  .empathy h2,
  .solution h2,
  .comparison h2,
  .assurance h2,
  .faq h2,
  .last-cta h2 {
    font-size: 30px;
  }
  .empathy .content {
    flex-direction: row;
    gap: 48px;
  }
  .empathy .photo {
    width: 40%;
  }
  .empathy .text {
    width: 60%;
    text-align: left;
  }
  .solution .cards {
    flex-direction: row;
  }
  .comparison .columns {
    flex-direction: row;
  }
  .assurance .cards {
    flex-direction: row;
  }
  .cta-section .inner p {
    font-size: 20px;
  }
  .last-cta h2 {
    font-size: 36px;
  }
}
