/* ============================================================
   lp08 — ニジ看護転職 (static multi-page, non-SPA clone of lp07)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@500;700;900&display=swap');

:root {
  --color-primary: #fa7c9e;
  --color-primary-dark: #ff5c73;
  --color-primary-light: #fff4f4;
  --color-text: #333;
  --color-white: #fff;
  --color-line: #00b900;
  --color-footer: #475569;
  --color-error: #dc3545;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Zen Maru Gothic', 'Hiragino Sans', 'Noto Sans JP', sans-serif;
  font-weight: 500;
  color: var(--color-text);
  background: linear-gradient(to bottom, #fff0f3, #ffffff);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

button {
  font-family: inherit;
}

a {
  color: inherit;
}

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

ul {
  list-style: none;
}

.page-wrap {
  min-height: 100vh;
  max-width: 480px;
  margin: 0 auto;
  overflow-x: hidden;
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  height: 50px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 16px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header img {
  height: 36px;
  width: auto;
  object-fit: contain;
  object-position: left center;
}

.site-header .license {
  font-size: 10px;
  color: #aaa;
  text-align: right;
  line-height: 1.4;
  flex-shrink: 0;
}

/* ============================================================
   MainVisual
   ============================================================ */
.main-visual {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 120px;
  padding-bottom: 80px;
  background-image: url('https://files.catbox.moe/0rmk4i.webp');
  background-size: cover;
  background-position: center;
}

@media (min-width: 769px) {
  .main-visual {
    background-image: url('https://files.catbox.moe/1z8mfk.webp');
    background-position: 70% center;
  }
}

.main-visual__inner {
  width: 100%;
  max-width: 480px;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.main-visual__title {
  font-family: 'Zen Maru Gothic', sans-serif;
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.main-visual__title .pink-tag {
  display: inline-block;
  background: #fa7c9e;
  border-radius: 4px;
  padding: 2px 10px;
  font-size: 12px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 4px;
  white-space: nowrap;
}

.main-visual__title .white-line {
  display: inline-block;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 4px;
  padding: 3px 10px;
  line-height: 1.3;
  margin-bottom: 4px;
  white-space: nowrap;
}

.main-visual__title .white-line.brand {
  color: #fa7c9e;
  font-size: 26px;
  font-weight: 900;
}

.main-visual__title .white-line.sub {
  color: #444;
  font-size: 15px;
  font-weight: 700;
}

.main-visual__title .white-line.accent {
  color: #fa7c9e;
  font-size: 15px;
  font-weight: 700;
}

.feature-circles {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.feature-circles .circle {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: rgba(250, 124, 158, 0.9);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
  box-sizing: border-box;
  gap: 2px;
}

.feature-circles .circle span {
  font-size: 11.5px;
  line-height: 1.45;
  font-weight: 700;
}

.feature-circles .circle .strong {
  font-weight: 900;
}

.feature-circles .circle .emph {
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
}

.survey-wrap {
  width: 100%;
  margin-top: 8px;
}

/* ============================================================
   ReasonSection
   ============================================================ */
.reason-section {
  padding: 48px 16px;
  background: #fff;
}

.reason-section .inner {
  max-width: 480px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 32px;
}

.section-title h2 {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 900;
  font-size: 24px;
  color: #333;
  line-height: 1.4;
  margin-bottom: 10px;
}

.section-title h2 .accent {
  color: #fa7c9e;
}

.section-title .bar {
  width: 48px;
  height: 4px;
  background: #fa7c9e;
  border-radius: 2px;
  margin: 0 auto;
}

.reason-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.reason-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px 16px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #ffe0e8;
}

.reason-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.reason-card__head .icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reason-card__head h3 {
  font-weight: 700;
  font-size: 15px;
  color: #333;
  line-height: 1.4;
}

.reason-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.reason-card li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 13px;
  color: #555;
  line-height: 1.7;
}

.reason-card li::before {
  content: '✓';
  color: #fa7c9e;
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================================
   SurveySection
   ============================================================ */
.survey-section {
  position: relative;
  padding: 48px 16px 64px;
  background-image: url('https://files.catbox.moe/8xmkak.webp');
  background-size: cover;
  background-position: center;
}

@media (min-width: 769px) {
  .survey-section {
    background-image: url('https://files.catbox.moe/xjemef.webp');
  }
}

.survey-section .inner {
  max-width: 480px;
  margin: 0 auto;
}

.survey-section .lead {
  text-align: center;
  margin-bottom: 24px;
}

.survey-section .lead p {
  font-weight: 700;
  color: #222;
}

.survey-section .lead p.primary {
  font-size: 16px;
  margin-bottom: 6px;
}

.survey-section .lead p.secondary {
  font-size: 13px;
  color: #444;
}

/* ============================================================
   Survey Form
   ============================================================ */
.survey-form {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  border: 1px solid #ff5c73;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.survey-form__header {
  background: #ff5c73;
  color: #fff;
  padding: 14px 16px;
  position: relative;
  min-height: 72px;
  display: flex;
  align-items: center;
}

.survey-form__badge {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 12px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
  flex-shrink: 0;
}

.survey-form__badge .small {
  font-size: 11px;
  color: #ff5c73;
  font-weight: 700;
}

.survey-form__badge .big {
  font-size: 22px;
  color: #ff5c73;
  font-weight: 900;
  line-height: 1;
}

.survey-form__header p {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.6;
  padding-right: 72px;
}

.survey-form__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 10px 16px;
  background: #fff8fa;
  border-bottom: 1px solid #ffe0e8;
}

.survey-form__dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
  transition: background 0.3s ease;
}

.survey-form__dots .dot.active {
  background: #ff5c73;
}

.survey-form__dots .counter {
  font-size: 11px;
  color: #aaa;
  margin-left: 6px;
}

.survey-form__body {
  padding: 20px 16px;
}

.survey-step {
  display: none;
}

.survey-step.active {
  display: block;
}

.step-q {
  font-weight: 700;
  font-size: 15px;
  color: #333;
  margin-bottom: 4px;
}

.step-sub {
  font-size: 12px;
  color: #aaa;
  margin-bottom: 14px;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.choice-label {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #fff8fa;
  border-radius: 8px;
  padding: 12px 8px;
  cursor: pointer;
  font-size: 13px;
  color: #555;
  transition: all 0.15s ease;
  border: 1.5px solid #f0c8d4;
  font-weight: 600;
  line-height: 1.3;
  min-height: 50px;
  background-color: #fff8fa;
}

.choice-label:hover {
  background: #ffe8ee;
  border-color: #fa7c9e;
}

.choice-label.selected {
  border-color: #fa7c9e;
  background: #ffe0ea;
  color: #c03060;
  font-weight: 700;
}

.input-row {
  margin-bottom: 16px;
}

.input-row label {
  font-size: 13px;
  color: #666;
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.input-row label .hint {
  font-size: 11px;
  color: #fa7c9e;
  margin-left: 6px;
}

.input-row label .hint-muted {
  font-size: 11px;
  color: #aaa;
  margin-left: 6px;
}

.input-row input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 15px;
  font-family: 'Zen Maru Gothic', sans-serif;
  outline: none;
  color: #333;
}

.input-row input[type='tel'] {
  padding: 14px 16px;
  font-size: 18px;
  letter-spacing: 1px;
}

.input-row .zip-wrap {
  position: relative;
}

.input-row .zip-status {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: #fa7c9e;
}

.input-row .zip-found {
  color: #4caf50;
  font-size: 12px;
  margin-top: 4px;
}

.input-row .error {
  color: #dc3545;
  font-size: 12px;
  margin-top: 4px;
}

.submit-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.submit-row .free {
  font-size: 11px;
  color: #ff5c73;
  font-weight: 700;
  margin-bottom: 6px;
}

.btn-next {
  background: #ff5c73;
  box-shadow: 0 6px 0 #c93e55;
  border-radius: 5px;
  color: #fff;
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  padding: 15px 24px;
  font-size: 15px;
}

.btn-next:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 #c93e55;
}

.btn-next:active:not(:disabled) {
  transform: translateY(3px);
  box-shadow: 0 3px 0 #c93e55;
}

.btn-next:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-next.wide {
  width: 100%;
  max-width: 320px;
  padding: 16px 24px;
  font-size: 16px;
}

.btn-back {
  background: transparent;
  border: none;
  color: #bbb;
  font-size: 12px;
  cursor: pointer;
  padding: 4px 8px;
  text-decoration: underline;
}

.submit-error {
  margin-top: 12px;
  padding: 12px 14px;
  background: #fff5f5;
  border: 1.5px solid #ff5c73;
  border-radius: 8px;
  color: #cc2233;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-section {
  padding: 60px 20px;
  background: #fff4f4;
}

.faq-section .inner {
  max-width: 800px;
  margin: 0 auto;
}

.faq-section .section-title h2 {
  font-size: clamp(24px, 4vw, 32px);
  margin-bottom: 12px;
}

.faq-section .section-title {
  margin-bottom: 48px;
}

.faq-section .section-title .bar {
  width: 60px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid #ffc8d8;
}

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  background: #fff;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s ease;
  font: inherit;
}

.faq-item.open .faq-item__q {
  background: #fff0f5;
}

.faq-item__q .q-mark {
  font-size: 18px;
  color: #fa7c9e;
  font-weight: 900;
  line-height: 1.4;
  flex-shrink: 0;
  font-family: 'Zen Maru Gothic', sans-serif;
}

.faq-item__q .q-text {
  flex: 1;
  font-weight: 700;
  font-size: 14px;
  color: #333;
  line-height: 1.6;
  padding-top: 2px;
}

.faq-item__q .chevron {
  color: #fa7c9e;
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-item__q .chevron {
  transform: rotate(180deg);
}

.faq-item__a {
  display: none;
  gap: 12px;
  padding: 12px 20px 16px 20px;
  background: #fff8fb;
  border-top: 1px solid #ffd8e8;
}

.faq-item.open .faq-item__a {
  display: flex;
}

.faq-item__a .a-mark {
  font-size: 18px;
  color: #ff5c73;
  font-weight: 900;
  line-height: 1.4;
  flex-shrink: 0;
  font-family: 'Zen Maru Gothic', sans-serif;
}

.faq-item__a p {
  font-size: 13px;
  font-weight: 500;
  color: #555;
  line-height: 1.8;
  padding-top: 2px;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: #475569;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.site-footer .inner {
  padding: clamp(42px, 5vw, 52px) 40px 14px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.site-footer .brand {
  text-align: center;
}

.site-footer .brand .name {
  font-weight: 900;
  font-size: 20px;
  color: #fa7c9e;
  margin-bottom: 4px;
}

.site-footer .brand .license {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

.site-footer nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.site-footer nav a {
  color: #fff;
  font-size: 14px;
  text-decoration: none;
}

.site-footer .copyright {
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  padding-bottom: 8px;
}

/* ============================================================
   Thanks page
   ============================================================ */
.thanks-section {
  padding: 80px 24px 60px;
  background: #fff;
  text-align: center;
}

.thanks-section .check {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fa7c9e, #ff5c73);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: #fff;
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
}

.thanks-section h1 {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 900;
  font-size: 22px;
  color: #ff5c73;
  line-height: 1.4;
  margin-bottom: 20px;
}

.thanks-section .lead {
  font-size: 14px;
  color: #555;
  line-height: 1.9;
  margin-bottom: 28px;
}

.thanks-section .lead .muted {
  font-size: 12px;
  color: #888;
}

.thanks-section .line-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #00b900;
  color: #fff;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 0 #007a00;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.thanks-section .line-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #007a00;
}

.thanks-section .line-btn img {
  width: 28px;
  height: 28px;
}
