/* ==========================================
   めんどう代行屋 LP — stylesheet
   ========================================== */

/* ----- Variables ----- */
:root {
  --red:       #c0392b;
  --red-dark:  #922b21;
  --red-pale:  #fdf4f3;
  --ink:       #1a1a1a;
  --ink-soft:  #444;
  --gray:      #666;
  --light:     #faf8f5;
  --white:     #fff;
  --border:    #e0dbd5;
  --shadow-s:  0 2px 8px rgba(0,0,0,.07);
  --shadow-m:  0 6px 20px rgba(0,0,0,.11);
  --r:         6px;
  --ease:      .2s ease;
  --font-serif: 'Noto Serif JP', serif;
  --font-sans:  'Noto Sans JP', sans-serif;
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* ----- Layout ----- */
.inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ----- Section Base ----- */
.section { padding: 64px 0; }
.bg-light { background: var(--light); }

.sec-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.sec-label::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}
.sec-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 5vw, 2.1rem);
  font-weight: 900;
  line-height: 1.45;
  color: var(--ink);
}
.sec-rule {
  width: 36px;
  height: 3px;
  background: var(--red);
  margin: 16px 0 28px;
  border-radius: 2px;
}

/* ----- Announcement Bar ----- */
.ann-bar {
  background: var(--ink);
  padding: 10px 20px;
  text-align: center;
}
.ann-bar p {
  color: rgba(255,255,255,.88);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: .04em;
}
.ann-bar strong { color: #fff; }

/* ----- Hero ----- */
.hero {
  position: relative;
  background: var(--light);
  padding: 64px 20px 80px;
  text-align: center;
  border-bottom: 4px solid var(--red);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 20px,
    rgba(192,57,43,.03) 20px,
    rgba(192,57,43,.03) 21px
  );
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}
.eyebrow {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 2px;
  letter-spacing: .12em;
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 8vw, 3.4rem);
  font-weight: 900;
  line-height: 1.32;
  color: var(--ink);
  margin-bottom: 24px;
  letter-spacing: -.01em;
}
.hero-title em {
  font-style: normal;
  color: var(--red);
  position: relative;
  display: inline;
}
.hero-title em::after {
  content: '';
  position: absolute;
  bottom: 1px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--red);
  border-radius: 2px;
}
.hero-sub {
  font-size: clamp(.95rem, 3vw, 1.1rem);
  color: var(--ink-soft);
  margin-bottom: 38px;
  line-height: 1.9;
}
.hero-trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 20px;
}
.hero-trust span {
  font-size: 0.8rem;
  color: var(--gray);
}

/* ----- Buttons ----- */
.btn-primary {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 360px;
  background: var(--red);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 18px 24px 16px;
  border-radius: var(--r);
  letter-spacing: .04em;
  box-shadow: 0 5px 0 var(--red-dark);
  transition: transform var(--ease), box-shadow var(--ease);
  cursor: pointer;
  border: none;
  font-family: var(--font-sans);
}
.btn-primary:hover  { transform: translateY(-2px); box-shadow: 0 7px 0 var(--red-dark); }
.btn-primary:active { transform: translateY(4px);  box-shadow: 0 1px 0 var(--red-dark); }

.btn-secondary {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 360px;
  background: var(--white);
  color: var(--red);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 18px 24px 16px;
  border-radius: var(--r);
  letter-spacing: .04em;
  box-shadow: 0 5px 0 var(--red-dark);
  transition: transform var(--ease), box-shadow var(--ease);
  font-family: var(--font-sans);
}
.btn-secondary:hover  { transform: translateY(-2px); box-shadow: 0 7px 0 var(--red-dark); }
.btn-secondary:active { transform: translateY(4px);  box-shadow: 0 1px 0 var(--red-dark); }

.btn-sub {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  opacity: .82;
  margin-top: 5px;
  letter-spacing: 0;
}
.btn-secondary .btn-sub { opacity: 1; color: var(--gray); }

/* ----- Worry List ----- */
.worry-list { list-style: none; }
.worry-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: var(--white);
  border-radius: var(--r);
  margin-bottom: 10px;
  box-shadow: var(--shadow-s);
  font-size: 0.97rem;
  line-height: 1.65;
  border-left: 3px solid transparent;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.worry-item:last-child { margin-bottom: 0; }
.worry-item:hover { border-color: var(--red); box-shadow: var(--shadow-m); }
.worry-icon { flex-shrink: 0; font-size: 1.3rem; margin-top: 1px; }

/* ----- Service List ----- */
.service-list { list-style: none; }
.service-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.service-item:last-child { border-bottom: none; }
.service-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 2px;
}
.service-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.service-body p  { font-size: 0.88rem; color: var(--gray); line-height: 1.7; }

/* ----- Flow ----- */
.flow-steps { position: relative; }
.flow-steps::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 40px;
  width: 2px;
  background: linear-gradient(to bottom, var(--red), transparent);
  opacity: .25;
  pointer-events: none;
}
.flow-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px dashed var(--border);
  position: relative;
}
.flow-step:last-child { border-bottom: none; }
.flow-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 900;
  z-index: 1;
  box-shadow: 0 0 0 4px var(--light);
}
.flow-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; padding-top: 8px; }
.flow-body p  { font-size: 0.88rem; color: var(--gray); line-height: 1.7; }

/* ----- Why Cards ----- */
.why-cards { display: grid; gap: 14px; }
.why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--red);
  padding: 18px 22px;
  border-radius: 0 var(--r) var(--r) 0;
  box-shadow: var(--shadow-s);
  transition: box-shadow var(--ease), transform var(--ease);
}
.why-card:hover { box-shadow: var(--shadow-m); transform: translateX(4px); }
.why-card h3 { font-size: 0.97rem; font-weight: 700; margin-bottom: 7px; }
.why-card p  { font-size: 0.85rem; color: var(--gray); line-height: 1.7; }

/* ----- Testimonials ----- */
.testi-cards { display: grid; gap: 16px; }
.testi-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px 20px 20px;
  box-shadow: var(--shadow-s);
  position: relative;
}
.testi-card::before {
  content: '\201C';
  position: absolute;
  top: 10px;
  left: 16px;
  font-family: var(--font-serif);
  font-size: 3.5rem;
  color: var(--red);
  opacity: .12;
  line-height: 1;
  pointer-events: none;
}
.testi-text {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 18px;
  padding-top: 6px;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 40px;
  height: 40px;
  background: var(--red-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--red);
  flex-shrink: 0;
}
.testi-name { font-size: 0.82rem; color: var(--gray); line-height: 1.5; }
.testi-name strong { display: block; font-size: 0.88rem; color: var(--ink); font-weight: 700; }

/* ----- FAQ Accordion ----- */
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 20px 4px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  text-align: left;
  line-height: 1.55;
  transition: color var(--ease);
}
.faq-btn:hover { color: var(--red); }
.faq-q-mark {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}
.faq-icon {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 1.4rem;
  color: var(--red);
  line-height: 1;
  transition: transform .3s ease;
  padding-bottom: 2px;
}
.faq-item.is-open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height .38s ease, padding .38s ease;
}
.faq-item.is-open .faq-answer { max-height: 320px; }
.faq-answer-inner {
  display: flex;
  gap: 14px;
  padding: 0 4px 22px;
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.8;
}
.faq-a-mark {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gray);
}

/* ----- CTA Section ----- */
.cta-section {
  background: var(--red);
  padding: 72px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(255,255,255,.05) 20px,
    rgba(255,255,255,.05) 21px
  );
  pointer-events: none;
}
.cta-section .inner { position: relative; z-index: 1; }
.cta-section h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 5vw, 2.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.45;
  margin-bottom: 14px;
}
.cta-note {
  color: rgba(255,255,255,.82);
  font-size: 0.9rem;
  margin-bottom: 32px;
  line-height: 1.8;
}
.cta-reassure {
  margin-top: 20px;
  font-size: 0.8rem;
  color: rgba(255,255,255,.6);
}

/* ----- Footer ----- */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,.5);
  text-align: center;
  padding: 30px 20px;
  font-size: 0.78rem;
  line-height: 2.2;
}
.footer a { color: rgba(255,255,255,.5); }
.footer a:hover { color: rgba(255,255,255,.85); }

/* ----- Sticky CTA ----- */
.sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 10px 16px calc(14px + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,.97);
  border-top: 2px solid var(--red);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transform: translateY(100%);
  transition: transform .3s ease;
}
.sticky.is-visible { transform: translateY(0); }
.sticky a {
  display: block;
  background: var(--red);
  color: var(--white);
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  padding: 14px;
  border-radius: var(--r);
  box-shadow: 0 3px 0 var(--red-dark);
  transition: transform var(--ease), box-shadow var(--ease);
}
.sticky a:active { transform: translateY(3px); box-shadow: 0 0 0 var(--red-dark); }
.sticky-pad { height: calc(72px + env(safe-area-inset-bottom, 0px)); }

/* ----- Responsive ----- */
@media (min-width: 600px) {
  .testi-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .hero-title { font-size: 1.9rem; }
  .hero-trust { flex-direction: column; align-items: center; gap: 6px; }
  .btn-primary, .btn-secondary { font-size: 1rem; padding: 16px 20px 14px; }
}
