:root {
  --green: #0b5553;
  --green-deep: #103638;
  --green-soft: #e7f1ed;
  --paper: #f6f5ef;
  --white: #fffef9;
  --ink: #173638;
  --muted: #6f817d;
  --orange: #ed9163;
  --line: rgba(23, 54, 56, .14);
  --shadow: 0 24px 70px rgba(17, 59, 57, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Manrope, "Noto Sans SC", sans-serif; }
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
.hidden { display: none !important; }

.module-header { position: sticky; z-index: 20; top: 0; height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(20px, 5vw, 72px); color: white; background: rgba(10, 66, 64, .96); border-bottom: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(14px); }
.module-brand { display: flex; align-items: center; gap: 12px; }
.module-brand i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--green-deep); background: var(--orange); font-style: normal; font-weight: 800; }
.module-brand b, .module-brand small { display: block; }
.module-brand b { font-size: 13px; letter-spacing: .08em; }
.module-brand small { margin-top: 2px; color: #9bc0b9; font-size: 9px; }
.back-link { color: #c7ddd7; font-size: 11px; }

.module-main { max-width: 1240px; min-height: calc(100vh - 72px); margin: 0 auto; padding: 54px clamp(20px, 5vw, 70px) 80px; }
.eyebrow { margin: 0 0 10px; color: var(--orange); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.module-hero { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 30px; margin-bottom: 34px; }
.module-hero h1 { max-width: 800px; margin: 0; font-size: clamp(34px, 5vw, 58px); line-height: 1.15; letter-spacing: -.045em; }
.module-hero > div > p:last-child { max-width: 740px; margin: 16px 0 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.source-tag { padding: 10px 13px; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); background: rgba(255,255,255,.55); font-size: 9px; }

.journey-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; margin: 28px 0 36px; border: 1px solid var(--line); border-radius: 14px; background: var(--line); }
.journey-step { display: flex; align-items: center; gap: 13px; padding: 17px 20px; background: rgba(255,255,255,.7); }
.journey-step span { display: grid; place-items: center; width: 31px; height: 31px; flex: none; border-radius: 50%; color: var(--muted); background: #e5e9e5; font-size: 10px; font-weight: 800; }
.journey-step b, .journey-step small { display: block; }
.journey-step b { font-size: 11px; }
.journey-step small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.journey-step.active { background: var(--green-deep); color: white; }
.journey-step.active span { color: var(--green-deep); background: var(--orange); }
.journey-step.active small { color: #9dc0b9; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 0 0 18px; }
.section-heading h2 { margin: 0 0 5px; font-size: 25px; }
.section-heading p { margin: 0; color: var(--muted); font-size: 11px; }
.scene-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.scene-card { position: relative; min-height: 310px; padding: 23px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: 0 8px 25px rgba(16, 61, 58, .035); cursor: pointer; transition: .22s; text-align: left; }
.scene-card:hover, .scene-card.selected { border-color: #7da69d; transform: translateY(-3px); box-shadow: var(--shadow); }
.scene-card.focus { color: white; background: linear-gradient(145deg, var(--green), var(--green-deep)); }
.scene-card.focus .scene-type, .scene-card.focus li, .scene-card.focus .scene-strategy { color: #c2d9d4; }
.scene-code { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 16px; border-radius: 10px; color: var(--green); background: var(--green-soft); font-size: 12px; font-weight: 800; }
.focus .scene-code { color: var(--green-deep); background: var(--orange); }
.focus-badge { position: absolute; top: 22px; right: 22px; color: var(--orange); font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.scene-card h3 { margin: 0 0 4px; font-size: 16px; }
.scene-type { color: var(--muted); font-size: 9px; }
.scene-card ul { margin: 7px 0 0; padding-left: 17px; color: var(--muted); font-size: 9px; line-height: 1.7; }
.scene-details { margin-top: 14px; }.scene-details > b { color: var(--orange); font-size: 8px; letter-spacing: .06em; }

.selection-panel { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 18px; padding: 20px 23px; border-radius: 14px; background: #e7eee9; }
.selection-panel b, .selection-panel small { display: block; }
.selection-panel b { font-size: 13px; }
.selection-panel small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.primary-button, .secondary-button { min-height: 44px; padding: 0 20px; border-radius: 9px; font-size: 11px; font-weight: 700; cursor: pointer; }
.primary-button { border: 0; color: white; background: var(--green); }
.primary-button:disabled { opacity: .35; cursor: not-allowed; }
.secondary-button { border: 1px solid var(--line); background: white; }

.sop-section { padding-top: 100px; margin-top: -40px; }
.sop-hero { position: relative; overflow: hidden; padding: 34px; color: white; border-radius: 20px; background: var(--green-deep); }
.sop-hero::after { content: "D"; position: absolute; right: 35px; top: -24px; color: rgba(255,255,255,.07); font-size: 160px; font-weight: 900; }
.sop-hero h2 { position: relative; z-index: 1; margin: 8px 0; font-size: 31px; }
.sop-hero p { position: relative; z-index: 1; max-width: 740px; margin: 0; color: #aecac4; font-size: 11px; line-height: 1.8; }
.sop-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin-top: 16px; }
.sop-card { padding: 25px; border: 1px solid var(--line); border-radius: 17px; background: var(--white); }
.sop-card header { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 15px; }
.sop-number { display: grid; place-items: center; width: 39px; height: 39px; flex: none; border-radius: 11px; color: white; background: var(--green); font-size: 12px; font-weight: 800; }
.sop-card h3 { margin: 0 0 4px; font-size: 15px; }
.sop-card header small { color: var(--orange); font-size: 8px; font-weight: 700; }
.sop-card ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 10px; line-height: 1.8; }
.sop-card li + li { margin-top: 8px; }
.action-bar { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: 18px; padding: 24px 27px; color: white; border-radius: 15px; background: linear-gradient(120deg, var(--green), #176c65); }
.action-bar b, .action-bar small { display: block; }
.action-bar b { font-size: 16px; }
.action-bar small { margin-top: 4px; color: #b9d3ce; font-size: 9px; }
.action-bar .primary-button { color: var(--green-deep); background: var(--orange); }

.talk-grid { display: grid; grid-template-columns: 280px 1fr; gap: 18px; }
.challenge-nav { display: flex; flex-direction: column; gap: 8px; }
.challenge-tab { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.72); text-align: left; cursor: pointer; }
.challenge-tab span { display: block; margin-bottom: 5px; color: var(--orange); font-size: 8px; font-weight: 800; letter-spacing: .08em; }
.challenge-tab b { font-size: 10px; line-height: 1.5; }
.challenge-tab.active { color: white; border-color: var(--green); background: var(--green); }
.talk-card { min-height: 530px; padding: 34px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: var(--shadow); }
.talk-card h2 { margin: 8px 0 12px; font-size: 26px; line-height: 1.4; }
.customer-quote { margin: 20px 0; padding: 18px 20px; border-left: 3px solid var(--orange); color: #516d68; background: #f4eee5; font-size: 12px; line-height: 1.8; }
.response-list { display: grid; gap: 11px; }
.response-item { display: grid; grid-template-columns: 31px 1fr; gap: 12px; padding: 15px; border-radius: 12px; background: var(--green-soft); }
.response-item i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: white; background: var(--green); font-size: 9px; font-style: normal; }
.response-item b { display: block; margin-bottom: 4px; font-size: 11px; }
.response-item p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.75; }
.talk-summary { margin-top: 18px; padding: 17px; color: white; border-radius: 12px; background: var(--green-deep); font-size: 10px; line-height: 1.7; }
.footer-note { margin: 30px 0 0; color: #95a19e; font-size: 8px; text-align: center; }

@media (max-width: 920px) {
  .scene-grid { grid-template-columns: repeat(2, 1fr); }
  .talk-grid { grid-template-columns: 1fr; }
  .challenge-nav { display: grid; grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 650px) {
  .module-header { height: 64px; }
  .module-main { padding-top: 34px; }
  .module-hero { grid-template-columns: 1fr; }.module-hero h1 { font-size: 29px; }.section-heading { align-items: flex-start; flex-direction: column; gap: 7px; }
  .source-tag { width: max-content; }
  .journey-steps { grid-template-columns: 1fr; }
  .scene-grid, .sop-grid, .challenge-nav { grid-template-columns: 1fr; }
  .selection-panel, .action-bar { align-items: stretch; flex-direction: column; }
  .selection-panel button, .action-bar a { width: 100%; text-align: center; }
  .talk-card { padding: 24px 19px; }
  .back-link { font-size: 0; }
  .back-link::after { content: "返回"; font-size: 10px; }
}
