:root {
  --bg: #f6f0e4;        /* 生成り */
  --bg-2: #efe6d3;
  --paper: #fffdf8;
  --ink: #2b2723;       /* 炭 */
  --ink-soft: #5a524a;
  --accent: #d2532a;    /* 朱 */
  --accent-soft: #f6d9c9;
  --line: #06c755;
  --line-dark: #05a647;
  --border: #d9cdb6;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 18px;
  line-height: 1.85;
  overflow-x: hidden;
  word-break: normal;
  overflow-wrap: anywhere;
  line-break: strict;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.45; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.hand { font-family: "Yomogi", "Noto Sans JP", cursive; font-weight: 400; }
.sp { display: inline; }
.pc { display: none; }
@media (min-width: 768px) { .sp { display: none; } .pc { display: inline; } }

/* ボタン */
.btn {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  text-decoration: none; font-weight: 700; border-radius: 999px;
  text-align: center; line-height: 1.4; transition: transform .15s, background .15s;
}
.btn-line { background: var(--line); color: #fff; box-shadow: 0 4px 0 var(--line-dark); }
.btn-line:hover { background: var(--line-dark); }
.btn-line:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--line-dark); }
.btn-sm { font-size: 14px; padding: 8px 16px; box-shadow: 0 3px 0 var(--line-dark); }
.btn-lg { font-size: clamp(16px, 4.6vw, 19px); padding: 14px 18px 16px; width: 100%; max-width: 460px; }
.btn-sub { font-size: 13px; font-weight: 700; opacity: .95; }
.btn-outline {
  background: var(--paper); color: var(--ink); border: 2px solid var(--ink);
  padding: 10px 22px; font-size: 16px; box-shadow: 0 3px 0 var(--ink); flex-direction: row;
}
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-outline::after { content: " →"; white-space: pre; }
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ヘッダー */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 240, 228, .97);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; position: relative; }
.logo { display: flex; flex-direction: column; text-decoration: none; line-height: 1.15; }
.logo-word { font-weight: 900; font-size: 22px; letter-spacing: .08em; }
.logo-word::first-letter { color: var(--accent); }
.logo small { font-size: 11px; color: var(--ink-soft); font-weight: 400; letter-spacing: 0; }
.nav-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  font: inherit; font-size: 14px; font-weight: 700; color: var(--ink);
  background: var(--paper); border: 1px solid var(--border); border-radius: 999px;
  padding: 6px 14px; cursor: pointer;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  display: block; width: 16px; height: 2px; background: var(--ink); border-radius: 2px; position: relative;
}
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bar::before { top: -5px; } .nav-toggle-bar::after { top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { top: 0; transform: rotate(-45deg); }
.gnav { display: none; }
.gnav.is-open {
  display: block; position: absolute; top: 60px; left: 0; right: 0;
  background: var(--paper); border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 20px rgba(43, 39, 35, .12);
}
.gnav ul { padding: 8px 20px 18px; }
.gnav li a:not(.btn) {
  display: block; padding: 12px 4px; text-decoration: none; font-weight: 700;
  border-bottom: 1px dashed var(--border);
}
.gnav a[aria-current="page"] { color: var(--accent); }
.gnav-cta { margin-top: 14px; }
.gnav-cta .btn { width: 100%; font-size: 16px; padding: 12px 16px; }
@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .gnav, .gnav.is-open { display: block; position: static; background: none; border: 0; box-shadow: none; }
  .gnav ul { display: flex; align-items: center; gap: 4px; padding: 0; }
  .gnav li a:not(.btn) { border: 0; padding: 6px 10px; font-size: 15px; border-radius: 6px; }
  .gnav li a:not(.btn):hover { background: var(--bg-2); }
  .gnav-cta { margin: 0 0 0 8px; }
  .gnav-cta .btn { width: auto; font-size: 14px; padding: 8px 16px; }
  .logo small { font-size: 12px; }
}

/* ヒーロー */
.hero { position: relative; padding: 0 0 56px; overflow: hidden; }
.noren {
  display: flex; justify-content: center; gap: 4px;
  padding: 0 12px;
}
.noren span {
  flex: 0 1 52px; height: 64px; background: var(--ink); color: var(--bg);
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8px;
  font-weight: 900; font-size: 18px; border-radius: 0 0 6px 6px;
}
.noren span:nth-child(odd) { height: 70px; }
.hero-inner { padding-top: 36px; text-align: center; }
.hero-kicker { color: var(--accent); font-size: 20px; margin-bottom: 8px; }
.hero-title { font-size: 28px; font-weight: 900; letter-spacing: .02em; margin-bottom: 20px; }
.mark { background: linear-gradient(transparent 62%, var(--accent-soft) 62%); color: var(--accent); }
.hero-lead { font-size: 17px; color: var(--ink-soft); margin: 0 auto 22px; max-width: 640px; text-align: left; }
.hero-points { display: flex; flex-direction: column; gap: 8px; margin: 0 auto 28px; max-width: 440px; }
.hero-points li {
  background: var(--paper); border: 1px solid var(--border); border-radius: 10px;
  padding: 8px 14px; font-size: 16px;
}
.hero-points strong { color: var(--accent); font-size: 20px; }
.hero-note { font-size: 15px; color: var(--ink-soft); margin-top: 14px; }
@media (min-width: 768px) {
  .hero { padding-bottom: 80px; }
  .noren span { height: 90px; font-size: 22px; flex-basis: 70px; }
  .noren span:nth-child(odd) { height: 100px; }
  .hero-inner { padding-top: 56px; }
  .hero-title { font-size: 46px; }
  .hero-lead { text-align: center; font-size: 19px; max-width: 760px; }
  .hero-points { flex-direction: row; max-width: 640px; justify-content: center; }
}

/* セクション共通 */
.section { padding: 64px 0; scroll-margin-top: 60px; }
.section:nth-of-type(even) { background: var(--bg-2); }
.sec-title {
  font-size: 26px; font-weight: 900; text-align: center; margin-bottom: 28px;
}
.sec-title .hand { display: block; font-size: 18px; color: var(--accent); margin-bottom: 2px; }
.sec-lead { max-width: 720px; margin: 0 auto 32px; }
@media (min-width: 768px) {
  .section { padding: 88px 0; }
  .sec-title { font-size: 34px; margin-bottom: 36px; }
  .sec-lead { text-align: center; }
}

/* お悩み（伝票風） */
.denpyo-list {
  background: var(--paper); max-width: 720px; margin: 0 auto;
  border: 1px solid var(--border); border-top: 6px solid var(--accent);
  border-radius: 4px 4px var(--radius) var(--radius);
  padding: 8px 18px;
  box-shadow: 0 6px 18px rgba(43, 39, 35, .08);
  background-image: repeating-linear-gradient(transparent 0, transparent 100%);
}
.denpyo-list li {
  padding: 14px 0; border-bottom: 1px dashed var(--border);
  display: flex; gap: 12px; align-items: flex-start;
}
.denpyo-list li:last-child { border-bottom: none; }
.tag {
  flex: 0 0 auto; font-size: 13px; font-weight: 700; color: var(--accent);
  border: 1.5px solid var(--accent); border-radius: 4px; padding: 0 4px; margin-top: 4px; line-height: 1.6;
  min-width: 4.6em; text-align: center;
}
.worries-after { text-align: center; margin-top: 32px; font-size: 19px; }
.worries-after strong { color: var(--accent); }

/* ストリートAIとは */
.compare { display: grid; gap: 14px; margin-bottom: 36px; }
.compare-col { border-radius: var(--radius); padding: 20px; }
.compare-old { background: var(--paper); border: 1px solid var(--border); color: var(--ink-soft); }
.compare-new { background: var(--ink); color: var(--bg); }
.compare-head { font-weight: 900; font-size: 19px; margin-bottom: 10px; }
.compare-new .compare-head { color: #ffb38f; }
.compare-col li { padding-left: 1.2em; position: relative; margin-bottom: 6px; font-size: 16px; }
.compare-old li::before { content: "・"; position: absolute; left: 0; }
.compare-new li::before { content: "◎"; position: absolute; left: 0; color: #ffb38f; font-size: .85em; top: .15em; }
.three-points { display: grid; gap: 14px; }
.point { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.point-num { font-family: "Yomogi", cursive; color: var(--accent); font-size: 22px; }
.point h3 { font-size: 21px; margin-bottom: 4px; }
.point p { font-size: 16px; color: var(--ink-soft); }
@media (min-width: 768px) {
  .compare { grid-template-columns: 1fr 1.3fr; }
  .three-points { grid-template-columns: repeat(3, 1fr); }
}

/* プロフィール */
.profile-card {
  background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 20px; max-width: 820px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.avatar {
  position: relative; width: 150px; height: 150px; flex: 0 0 auto; border-radius: 50%;
  background: var(--accent); overflow: hidden; border: 4px solid var(--bg-2);
}
.avatar-fallback {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: "Yomogi", cursive; font-size: 46px;
}
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.profile-name { font-size: 26px; font-weight: 900; text-align: center; }
.profile-name span { font-size: 17px; font-weight: 700; }
.profile-role { color: var(--accent); font-weight: 700; text-align: center; margin-bottom: 14px; font-size: 16px; }
.profile-facts { margin-bottom: 16px; }
.profile-facts strong { white-space: nowrap; }
.profile-facts li { padding-left: 1.3em; position: relative; margin-bottom: 4px; }
.profile-facts li::before { content: "●"; color: var(--accent); position: absolute; left: 0; font-size: .7em; top: .45em; }
.profile-text { font-size: 16px; color: var(--ink-soft); }
@media (min-width: 768px) {
  .profile-card { flex-direction: row; align-items: flex-start; padding: 36px; gap: 32px; }
  .avatar { width: 180px; height: 180px; }
  .profile-name, .profile-role { text-align: left; }
}

/* 無料相談 */
.consult-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.consult-badges li {
  background: var(--accent); color: #fff; font-weight: 700; font-size: 15px;
  padding: 4px 14px; border-radius: 999px;
}
.steps { max-width: 720px; margin: 0 auto 20px; display: grid; gap: 14px; }
.steps li {
  display: flex; gap: 14px; background: var(--paper); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px;
}
.step-num {
  flex: 0 0 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--bg);
  display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 20px;
}
.steps h3 { font-size: 19px; margin-bottom: 4px; }
.steps p { font-size: 16px; color: var(--ink-soft); }
.consult-note { text-align: center; font-size: 16px; color: var(--ink-soft); margin-bottom: 28px; }
.cta-center { text-align: center; }

/* 研修プラン */
.plan-grid { display: grid; gap: 18px; margin-bottom: 24px; }
.plan {
  position: relative; background: var(--paper); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 20px;
}
.plan-term { font-family: "Yomogi", cursive; color: var(--accent); font-size: 20px; }
.plan-name { font-size: 26px; font-weight: 900; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.plan li { padding-left: 1.3em; position: relative; margin-bottom: 6px; font-size: 16px; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 900; }
.plan-reco { border: 3px solid var(--accent); box-shadow: 0 8px 24px rgba(210, 83, 42, .18); }
.plan-badge {
  position: absolute; top: -16px; right: 16px; background: var(--accent); color: #fff;
  font-weight: 900; font-size: 15px; padding: 2px 16px; border-radius: 999px;
}
.price-note {
  text-align: center; font-weight: 700; background: var(--paper); border: 2px dashed var(--accent);
  border-radius: var(--radius); padding: 14px 16px; max-width: 640px; margin: 0 auto;
}
@media (min-width: 900px) {
  .plan-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .plan-reco { transform: translateY(-8px); }
}

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq-list details { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); }
.faq-list summary {
  cursor: pointer; list-style: none; padding: 16px 48px 16px 52px; position: relative;
  font-weight: 700; font-size: 17px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before {
  content: "Q"; position: absolute; left: 16px; top: 14px; color: var(--accent);
  font-weight: 900; font-size: 20px;
}
.faq-list summary::after {
  content: "+"; position: absolute; right: 18px; top: 12px; font-size: 24px; font-weight: 700; color: var(--ink-soft);
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 18px 18px 52px; position: relative; font-size: 16px; color: var(--ink-soft); }
.faq-list details p::before {
  content: "A"; position: absolute; left: 16px; top: -2px; color: var(--line-dark); font-weight: 900; font-size: 20px;
}

/* お客様の声 */
.coming {
  text-align: center; color: var(--ink-soft); background: var(--paper);
  border: 1px dashed var(--border); border-radius: var(--radius); padding: 28px; max-width: 520px; margin: 0 auto;
}

/* SNS */
.sns-list { display: grid; gap: 12px; max-width: 720px; margin: 0 auto; }
.sns-item {
  display: flex; align-items: center; gap: 14px; text-decoration: none;
  background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 18px;
  font-weight: 700;
}
.sns-item svg { width: 34px; height: 34px; flex: 0 0 auto; }
.sns-item span { display: flex; flex-direction: column; line-height: 1.4; }
.sns-item small { font-weight: 400; font-size: 14px; color: var(--ink-soft); }
.sns-ig { color: var(--ink); }
.sns-ig svg { color: #c13584; }
.sns-ig:hover { border-color: var(--accent); }
.sns-off { opacity: .55; }
@media (min-width: 768px) { .sns-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .sns-list { max-width: none; grid-template-columns: repeat(4, 1fr); } }
.sns-note svg { color: var(--ink); }
.sns-note:hover { border-color: var(--accent); }
.sec-lead a, .faq-list a { color: var(--accent); font-weight: 700; }

/* 最終CTA */
.final-cta {
  background: var(--ink); color: var(--bg); text-align: center; padding: 64px 0;
  border-top: 8px solid var(--accent);
}
.final-kicker { color: #ffb38f; font-size: 20px; margin-bottom: 6px; }
.final-cta h2 { font-size: 26px; font-weight: 900; margin-bottom: 16px; }
.final-cta p:not(.final-kicker) { font-size: 16px; margin-bottom: 28px; opacity: .9; }
@media (min-width: 768px) { .final-cta { padding: 88px 0; } .final-cta h2 { font-size: 34px; } }

/* 実績 */
.result-grid { display: grid; gap: 16px; max-width: 880px; margin: 0 auto; }
.result {
  background: var(--paper); border: 1px solid var(--border); border-top: 6px solid var(--accent);
  border-radius: 4px 4px var(--radius) var(--radius); padding: 22px 20px; text-align: center;
}
.result-label { font-weight: 700; color: var(--ink-soft); font-size: 16px; }
.result-num { font-size: 22px; font-weight: 900; line-height: 1.3; margin: 6px 0 4px; }
.result-num strong { font-size: 52px; color: var(--accent); letter-spacing: .02em; margin: 0 2px; }
.result-sub { font-weight: 900; font-size: 20px; margin-bottom: 4px; }
.result-sub strong { color: var(--accent); font-size: 28px; }
.result-text { font-size: 16px; color: var(--ink-soft); text-align: left; margin-top: 10px; }
@media (min-width: 768px) { .result-grid { grid-template-columns: 1fr 1fr; } }

/* 事業カード */
.service-flow { display: grid; gap: 18px; counter-reset: svc; }
.service-card {
  background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 20px; display: flex; flex-direction: column; gap: 10px; position: relative;
}
.service-step { font-family: "Yomogi", cursive; color: var(--accent); font-size: 18px; }
.service-step span {
  display: inline-block; background: var(--ink); color: var(--bg); font-family: "Noto Sans JP", sans-serif;
  font-weight: 900; font-size: 14px; padding: 0 8px; border-radius: 4px; margin-right: 8px;
}
.service-card h3 { font-size: 22px; font-weight: 900; }
.service-card h3 small { font-size: 14px; font-weight: 400; color: var(--ink-soft); }
.service-catch { font-weight: 700; color: var(--accent); }
.service-card p:not(.service-step):not(.service-catch) { font-size: 16px; color: var(--ink-soft); }
.service-card .btn { margin-top: auto; align-self: flex-start; }
@media (min-width: 900px) {
  .service-flow { grid-template-columns: repeat(3, 1fr); }
  .service-card h3 { font-size: 20px; }
  .service-card:not(:last-child)::after {
    content: "▶"; position: absolute; right: -16px; top: 50%; transform: translateY(-50%);
    color: var(--accent); font-size: 14px; z-index: 1;
  }
}

/* 代表メッセージ */
.message-text p { font-size: 16px; color: var(--ink-soft); margin-bottom: 12px; }
.message-text p:last-child { margin-bottom: 0; }
.message .profile-role { margin-bottom: 0; }
.message .profile-name { margin-bottom: 12px; }

/* 会社概要 */
.company-table { max-width: 820px; margin: 0 auto; background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); padding: 4px 20px; }
.company-table > div { padding: 14px 0; border-bottom: 1px dashed var(--border); }
.company-table > div:last-child { border-bottom: 0; }
.company-table dt { font-weight: 900; color: var(--accent); font-size: 15px; }
.company-table dd { margin: 2px 0 0; font-size: 16px; }
.company-table dd small { color: var(--ink-soft); }
.company-table a { color: var(--accent); font-weight: 700; }
.dd-list li { padding-left: 1.1em; position: relative; }
.dd-list li::before { content: "・"; position: absolute; left: 0; }
@media (min-width: 768px) {
  .company-table { padding: 4px 32px; }
  .company-table > div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; }
  .company-table dd { margin: 0; }
}

/* 5項目のポイント */
@media (min-width: 768px) { .three-points.five { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .three-points.five { grid-template-columns: repeat(3, 1fr); } }

/* タイムライン */
.timeline { max-width: 720px; margin: 0 auto 28px; padding-left: 22px; border-left: 3px solid var(--accent); display: grid; gap: 20px; }
.timeline li { position: relative; background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; }
.timeline li::before {
  content: ""; position: absolute; left: -32px; top: 22px; width: 15px; height: 15px; border-radius: 50%;
  background: var(--accent); border: 3px solid var(--bg);
}
.timeline-date { font-weight: 900; color: var(--accent); }
.timeline h3 { font-size: 20px; margin-bottom: 4px; }
.timeline p:not(.timeline-date) { font-size: 16px; color: var(--ink-soft); }

/* フッター */
.site-footer { background: #1f1c19; color: #cfc6b6; padding: 36px 0 110px; font-size: 14px; text-align: center; }
.footer-logo { font-weight: 900; font-size: 18px; color: var(--bg); margin-bottom: 14px; }
.footer-logo small { display: block; font-weight: 400; font-size: 12px; color: #cfc6b6; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-bottom: 16px; }
.footer-nav a { color: var(--bg); text-decoration: none; font-weight: 700; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-bottom: 16px; }
.footer-links a { color: #cfc6b6; }
.link-pending { color: #8f877b; }
.copy { color: #8f877b; font-size: 12px; }
@media (min-width: 768px) { .site-footer { padding-bottom: 36px; } }

/* スマホ固定CTA */
.fixed-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(31, 28, 25, .92);
  transform: translateY(110%); transition: transform .25s ease;
}
.fixed-cta.is-show { transform: translateY(0); }
.fixed-cta .btn { width: 100%; font-size: 18px; padding: 13px 16px; }
@media (min-width: 768px) { .fixed-cta { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fixed-cta, .btn { transition: none; }
}
