/* 2026-10-19: 04「3つの段階で理解」をメインTOPに採用。各案は比較用にも保持。 */
.flow-demo{--flow-yellow:#ffdb00;--flow-shadow:0 6px 24px #00000009;background:#fafafa}
.flow-art{display:block;position:relative;aspect-ratio:1;overflow:hidden;background:white;flex:none;border-radius:18px}
.flow-art img{position:absolute;max-width:none!important;width:300%;height:200%;object-fit:fill}
.flow-art-5:after{content:'';position:absolute;right:0;top:0;width:11%;height:100%;background:white}
.flow-art-2:after{content:'';position:absolute;right:0;top:0;width:5%;height:100%;background:white}
.flow-step-number{font-size:23px;line-height:1.3;font-weight:900;letter-spacing:-.03em;color:#171717;flex:none}
.flow-demo h3{font-size:15px;font-weight:800;line-height:1.7;text-wrap:balance}
.flow-demo .flow-step-copy p{font-size:12px;line-height:1.9;margin-top:5px}
.flow-demo .flow-note{font-size:10px;line-height:1.9;color:#626262;margin-top:16px}
.flow-safety{background:#fff5ba;border-radius:17px;padding:17px 18px;font-size:11px;line-height:2;margin-top:24px}
.illustrated-timeline{position:relative;display:grid;gap:16px}
.illustrated-timeline:before{content:'';position:absolute;top:25px;bottom:45px;left:17px;width:2px;background:#e1e1e1}
.illustrated-timeline>li{position:relative;display:grid;grid-template-columns:36px 86px minmax(0,1fr);gap:12px;align-items:center;min-height:116px}
.illustrated-timeline .flow-step-number{position:relative;font-size:14px;border-radius:50%;background:var(--flow-yellow);display:grid;place-items:center;width:36px;height:36px}
.illustrated-timeline .flow-art{width:86px;box-shadow:var(--flow-shadow)}
.illustrated-timeline .flow-step-copy{padding:13px 0}
.photo-steps{display:grid;grid-template-columns:1fr 1fr;gap:16px 14px}
.photo-steps>li{min-width:0;background:white;border-radius:21px;overflow:hidden;box-shadow:var(--flow-shadow)}
.flow-photo{position:relative}.flow-photo>img{width:100%;aspect-ratio:1.5;object-fit:cover}
.flow-photo .flow-step-number{position:absolute;bottom:0;left:12px;transform:translateY(50%);border-radius:12px;background:var(--flow-yellow);padding:4px 9px;font-size:19px}
.photo-steps .flow-step-copy{padding:26px 14px 17px}.photo-steps h3{font-size:14px}.photo-steps .flow-step-copy p{font-size:11px}
.conversation-label{text-align:center;display:table;margin:0 auto 23px;font-size:10px;background:#171717;color:white;border-radius:25px;padding:6px 14px}
.conversation-steps{display:grid;gap:24px}.conversation-question{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-left:32px}
.conversation-question>span{order:2;display:grid;place-items:center;border-radius:50%;width:28px;height:28px;background:#171717;color:#ffdb00;flex:none;font-weight:800}
.conversation-question>p{padding:9px 14px;border-radius:17px 17px 4px 17px;background:#ffea72;font-size:12px;font-weight:600}
.conversation-answer{display:grid;grid-template-columns:64px minmax(0,1fr);gap:10px;margin-top:9px;align-items:start}
.conversation-answer .flow-art{width:64px;box-shadow:var(--flow-shadow);border-radius:50%}
.conversation-bubble{background:white;border-radius:4px 19px 19px 19px;box-shadow:var(--flow-shadow);padding:14px 16px}
.conversation-bubble h3{display:flex;align-items:flex-start;gap:8px;font-size:13px}.conversation-bubble .flow-step-number{font-size:15px;line-height:1.5}.conversation-bubble>p{font-size:12px;margin-top:6px;line-height:1.9}
.phase-steps{display:grid;gap:28px}.phase-steps>li{background:white;border-radius:24px;padding:20px;box-shadow:var(--flow-shadow);position:relative}
.phase-steps>li:not(:last-child):after{content:'↓';font-size:18px;font-weight:700;color:#a0a0a0;position:absolute;bottom:-28px;left:calc(50% - 9px)}
.phase-heading{display:flex;align-items:center;gap:11px}.phase-heading>span{font-size:26px;font-weight:900;color:#171717;background:linear-gradient(transparent 55%,#ffdb00 55%)}
.phase-visuals{display:grid;grid-template-columns:1fr 1fr;max-width:290px;margin:8px auto 13px;gap:12px}.phase-visuals .flow-art{width:100%}
.phase-steps ol{display:grid;gap:13px}.phase-steps ol>li{display:flex;gap:9px;align-items:flex-start}.phase-steps ol>li>span{font-size:11px;font-weight:800;background:#f1f1f1;border-radius:8px;padding:2px 7px;margin-top:2px}
.phase-steps h4{margin:0;font-size:13px;line-height:1.8}.phase-steps ol p{font-size:11px;line-height:1.9;margin-top:3px}
.step-choices{display:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:16px}.is-enhanced .step-choices{display:grid}
.step-choices button{font:inherit;border:0;background:white;border-radius:14px;min-height:62px;padding:8px 5px;font-size:11px;font-weight:700;line-height:1.6;cursor:pointer;box-shadow:var(--flow-shadow)}
.step-choices button>span{display:block;font-size:17px;font-weight:900}.step-choices button[aria-pressed=true]{background:#ffdb00;color:#171717}.step-choices button:hover{background:#fff2aa}
.step-viewer button:focus-visible{outline:3px solid #d04c13;outline-offset:3px}.step-panels{display:grid;gap:14px}.step-panel{background:white;border-radius:24px;box-shadow:var(--flow-shadow);padding:20px 24px}.step-panel[hidden]{display:none}
.step-panel>.flow-art{width:180px;max-width:100%;margin:0 auto 12px}.step-panel>div{display:flex;align-items:flex-start;gap:14px}.step-panel .flow-step-copy{min-height:82px}.step-controls{display:none;align-items:center;justify-content:space-between;gap:8px;margin-top:18px}.is-enhanced .step-controls{display:flex}
.step-controls button{background:#171717;color:white;border:0;border-radius:24px;min-height:44px;padding:8px 18px;font:inherit;font-size:12px;font-weight:700;cursor:pointer}.step-controls button:disabled{background:#e6e6e6;color:#888;cursor:default}.step-controls p{font-size:12px;font-weight:800}
.flow-options-gallery:before{display:none}.flow-options-gallery{background:#f0f0f0}.flow-gallery-wrap{max-width:1220px;margin:auto;padding:35px 30px 45px}.flow-gallery-header{max-width:900px;margin-bottom:30px}.flow-gallery-header>p:first-child{font-size:12px;font-weight:800;color:#626262}.flow-gallery-header h1{font-size:34px;font-weight:900;line-height:1.65;margin:15px 0}.flow-gallery-header>p{font-size:13px;line-height:2}.flow-gallery-header .flow-recommendation{background:#ffea72;padding:12px 16px;border-radius:14px;margin-top:18px;font-weight:700;font-size:12px}.flow-gallery-header nav{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}.flow-gallery-header nav a{border-radius:25px;background:white;min-height:44px;display:flex;align-items:center;padding:8px 14px;font-weight:700;font-size:12px}.flow-gallery-header nav a:hover{background:#ffdb00}.flow-gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:28px}.flow-option{border-radius:24px;background:white;overflow:hidden;box-shadow:0 8px 28px #00000009;min-width:0}.flow-option-heading{padding:24px 26px}.flow-option-heading>p:first-child{font-size:12px;font-weight:900;color:#171717;display:inline-block;background:#ffdb00;padding:3px 10px;border-radius:20px}.flow-option-heading h2{font-size:23px;line-height:1.6;font-weight:900;margin:10px 0}.flow-option-heading>p{font-size:12px;line-height:1.9}.flow-option-heading>a{display:inline-flex;align-items:center;min-height:44px;font-size:12px;font-weight:800;text-decoration:underline;text-underline-offset:4px;margin-top:8px}.flow-gallery-footer{font-size:12px;line-height:2;margin-top:30px}.flow-gallery-footer a{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline}
@media(max-width:960px){.flow-gallery-grid{grid-template-columns:1fr}.flow-option{max-width:560px;width:100%;margin:auto}}
@media(max-width:560px){.flow-demo{padding:32px 22px}.flow-demo h3{font-size:13px}.flow-demo .flow-step-copy p{font-size:11px}.illustrated-timeline>li{grid-template-columns:30px 70px minmax(0,1fr);gap:10px;min-height:104px}.illustrated-timeline:before{left:14px}.illustrated-timeline .flow-step-number{width:30px;height:30px;font-size:12px}.illustrated-timeline .flow-art{width:70px;border-radius:15px}.photo-steps{gap:14px 11px}.photo-steps .flow-step-copy{padding:23px 12px 14px}.photo-steps h3{font-size:12px}.photo-steps .flow-step-copy p{font-size:10px}.flow-photo .flow-step-number{font-size:16px}.conversation-question>p{font-size:11px}.conversation-answer{grid-template-columns:54px minmax(0,1fr);gap:8px}.conversation-answer .flow-art{width:54px}.conversation-bubble{padding:12px}.conversation-bubble h3{font-size:12px}.conversation-bubble>p{font-size:11px}.phase-steps>li{padding:18px}.phase-visuals{max-width:250px}.phase-steps h4{font-size:12px}.step-panel{padding:18px}.step-panel>.flow-art{width:170px}.step-choices button{font-size:10px}.flow-gallery-wrap{padding:24px 14px 35px}.flow-gallery-header h1{font-size:27px}.flow-gallery-header>p{font-size:12px}.flow-gallery-header nav a{font-size:11px;padding-inline:12px}.flow-option-heading{padding:22px}.flow-option-heading h2{font-size:21px}.flow-option .flow-demo{padding-inline:20px}.flow-option .illustrated-timeline>li{grid-template-columns:28px 60px minmax(0,1fr);gap:9px}.flow-option .illustrated-timeline .flow-art{width:60px}.flow-option .illustrated-timeline .flow-step-number{width:28px;height:28px}.flow-option .illustrated-timeline:before{left:13px}}
@media(max-width:370px){.flow-demo{padding-inline:18px}.illustrated-timeline>li{grid-template-columns:28px 58px minmax(0,1fr);gap:8px}.illustrated-timeline .flow-art{width:58px}.flow-options-gallery .flow-demo{padding-inline:16px}.flow-option .illustrated-timeline>li{grid-template-columns:25px 48px minmax(0,1fr);gap:7px}.flow-option .illustrated-timeline .flow-art{width:48px}.flow-demo h3{font-size:12px}.flow-gallery-header h1{font-size:24px}.photo-steps{grid-template-columns:1fr}.photo-steps>li{display:grid;grid-template-columns:100px minmax(0,1fr)}.flow-photo>img{height:100%;aspect-ratio:1;min-height:120px}.flow-photo .flow-step-number{top:6px;bottom:auto;left:6px;transform:none}.photo-steps .flow-step-copy{padding:16px 12px}.phase-steps>li{padding:15px}.conversation-answer{grid-template-columns:44px minmax(0,1fr)}.conversation-answer .flow-art{width:44px}.step-choices{gap:6px}.step-choices button{font-size:9px}.step-controls button{padding-inline:14px}}
