
:root{--ink:#182D36;--green:#126B63;--pale:#D5EEEA;--line:#c7d3d8}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:#fff;font:17px/1.8 system-ui,-apple-system,"Hiragino Sans","Yu Gothic",sans-serif}a{color:inherit}a:focus-visible{outline:3px solid var(--green);outline-offset:4px}header{background:var(--green);color:white;padding:16px max(24px,calc((100vw - 1180px)/2));display:flex;align-items:center;justify-content:space-between;gap:24px}header .site-name{display:flex;align-items:center;gap:10px;font-size:17px;line-height:1.5;font-weight:600;text-decoration:none}.logo-space{width:32px;height:32px;flex:none}header nav{display:flex;gap:24px;flex:none}header nav a{font-size:15px;text-decoration:none;min-height:44px;display:flex;align-items:center}main{max-width:1180px;margin:auto;padding:0 24px}h1,h2,h3,p{margin:0}h1{font-size:clamp(34px,3.5vw,48px);line-height:1.45;letter-spacing:.02em}h1 span{display:block}h2{font-size:28px;line-height:1.5}h3{font-size:20px}.eyebrow{font-size:15px;color:var(--green);letter-spacing:.09em;font-weight:600;margin-bottom:12px}.hero{display:grid;grid-template-columns:1fr 1.1fr;align-items:center;gap:28px;padding:64px 0}.hero-copy>p:not(.eyebrow){margin:20px 0 24px;max-width:33em}.hero img{width:100%;border-radius:32px;display:block}.button,.start-label{display:inline-flex;align-items:center;justify-content:center;background:var(--green);color:white;text-decoration:none;padding:12px 24px;border-radius:8px;min-height:48px;font-weight:600}.section-block{padding:48px 0;border-top:1px solid var(--line)}.section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.section-head a{display:inline-flex;align-items:center;min-height:44px;color:var(--green)}.case-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.case-card{display:block;overflow:hidden;background:white;border:1px solid var(--line);border-radius:18px;text-decoration:none}.case-card:hover{border-color:var(--green)}.case-card img{width:100%;height:auto;aspect-ratio:3/1;object-fit:cover;display:block}.case-card>div{padding:24px}.case-card h2{font-size:24px;margin-bottom:12px}.start-label{margin-top:18px;font-size:16px}.latest .case-card{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;background:var(--pale);border:0}.latest .case-card img{aspect-ratio:1.65;object-fit:contain}.latest .case-card>div{padding:32px}.purpose{max-width:850px}.purpose p{margin-top:16px}.note{font-size:15px;margin-top:20px}footer{max-width:1180px;margin:32px auto 0;padding:24px;display:flex;flex-wrap:wrap;gap:24px;border-top:1px solid var(--line)}footer a{display:inline-flex;align-items:center;min-height:44px;font-size:15px}.skip{position:absolute;top:-80px;left:10px;background:white;padding:10px;z-index:10}.skip:focus{top:10px}.page-title{padding:48px 0 32px}.listing-grid{padding-bottom:48px}
@media(max-width:800px){header{display:block;padding:12px 20px}header .site-name{font-size:15px;gap:6px}.logo-space{width:24px;height:24px}header nav{gap:28px;margin-top:6px}.hero{display:flex;flex-direction:column;align-items:stretch;gap:28px;padding:28px 0 36px}h1{font-size:32px;line-height:1.4;letter-spacing:0}.hero-copy>p:not(.eyebrow){font-size:15px;line-height:1.75;margin:16px 0 20px}.hero .eyebrow{margin-bottom:12px}.hero img{border-radius:18px}main{padding:0 20px}.section-block{padding:32px 0}h2{font-size:24px}.section-head{align-items:flex-start;flex-wrap:wrap;gap:8px}.case-grid{grid-template-columns:1fr}.latest .case-card{display:block}.latest .case-card img{aspect-ratio:3/1}.latest .case-card>div,.case-card>div{padding:22px}.case-card h2{font-size:22px}.section-head a{font-size:15px}.page-title{padding-top:32px}}

/* HM-49: miniature room and copy share the opening scene. */
body{background:#f4f7f8}img{max-width:100%;height:auto}header .site-logo{width:40px;height:auto;flex:none}header .site-name{min-height:48px}.hero{position:relative;isolation:isolate;display:flex;align-items:center;min-height:580px;padding:48px 0;background:var(--pale)}.hero:before{content:"";position:absolute;z-index:-2;inset:0 calc((1180px - 100vw)/2 - 24px);background:var(--pale)}.hero .hero-art{position:absolute;z-index:-1;width:100vw;max-width:none;height:auto;left:50%;transform:translateX(-50%);border-radius:0}.hero-copy{width:43%;max-width:500px}.hero h1{font-size:clamp(30px,3.1vw,40px);line-height:1.5;letter-spacing:0}.hero h1 em{font-style:normal;text-decoration:underline;text-decoration-color:#e88946;text-decoration-thickness:6px;text-underline-offset:8px}.hero .eyebrow{font-size:15px}.hero-copy>p:not(.eyebrow){font-size:16px;line-height:1.85}.hero-actions{display:flex;gap:12px;flex-wrap:wrap}.button{font-size:16px;padding:12px 18px}.button-secondary{background:transparent;color:var(--green);border:1px solid var(--green)}.features{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:0;padding:24px 0}.features li{display:flex;align-items:center;gap:10px;font-size:15px}.features span{display:grid;place-items:center;color:var(--green);font-size:24px;min-width:36px;height:36px;border:1px solid var(--line);border-radius:50%}.latest .case-card{align-items:stretch}.latest .case-card img{height:100%;aspect-ratio:auto;object-fit:cover}
@media(max-width:1228px) and (min-width:801px){.hero:before{inset:0 -24px}}
@media(max-width:800px){header .site-name{font-size:15px}header .site-logo{width:32px;height:auto}.hero{display:flex;min-height:0;padding:24px 0 0;gap:12px}.hero:before{inset:0 -20px}.hero-copy{width:100%;max-width:none}.hero h1{font-size:30px;line-height:1.45}.hero-copy>p:not(.eyebrow){font-size:15px;line-height:1.75;margin:16px 0}.hero .eyebrow{font-size:15px;margin-bottom:10px}.hero .hero-art{position:static;transform:none;width:calc(100% + 40px);max-width:none;margin:0 -20px;height:auto}.hero-actions{gap:8px}.hero-actions .button{font-size:15px;padding:10px 12px}.features{grid-template-columns:1fr 1fr;gap:14px 10px;padding:22px 0}.features li{gap:6px;font-size:15px}.features span{min-width:28px;height:28px;font-size:20px}.latest .case-card img{height:auto;aspect-ratio:3/1;object-fit:cover}}

@media(max-width:800px){.mobile-info details>summary,details>summary{display:flex;align-items:center;justify-content:center;min-height:44px}}

/* HM-49: meaningful room-object icons and exact flat hero palette. */
.features span{border:0;border-radius:0;flex:none}
.features span img{display:block;width:36px;height:36px}
.hero .hero-art{filter:none}
.hero{overflow:visible}
.latest .case-card{background:#D5EEEA}
.latest .case-card img{background:#D5EEEA}
@media(max-width:800px){
 .hero{overflow:hidden;margin:0 -20px;padding:24px 20px 0}
 .hero:before{inset:0}
 .hero .hero-art{position:relative;flex:none;align-self:flex-end;width:186%;max-width:none;margin:0 -20px 0 0;height:auto}
 .features span{min-width:32px;height:36px}
 .features span img{width:32px;height:32px}
}

.hero-art-frame{display:contents}
@media(max-width:800px){
 .hero-art-frame{display:block;width:calc(100% + 40px);margin:0 -20px;overflow:hidden}
 .hero .hero-art{display:block;position:static;width:180%;max-width:none;margin:0;height:auto;transform:translateX(-39.5%)}
}
/* Claude: 色のフィルターが線のふちをにじませるため外し、背景を絵の色に合わせた（2026-11-26） */
.hero,.hero:before{background:#d0ece8}
@media(min-width:801px){.hero-copy{max-width:460px}}
/* Claude: 広い画面で絵がヘッダーと帯にかぶらないように、大きさの上限を決める */
@media(min-width:801px){.hero .hero-art{width:min(100vw,1340px)}}
/* Claude: 広い画面のヘッダーだけ「hmm…」の吹き出しつきロゴ */
.site-logo-wrap{flex:none;display:flex}@media(min-width:801px){header .site-logo{width:120px;height:40px}}

/* HM-51: one continuous miniature, cropped into complete scenes on small screens. */
.practice-journey{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));list-style:none;margin:24px 0 0;padding:0;gap:0}
.practice-journey li{min-width:0}
.practice-scene{position:relative;aspect-ratio:1;overflow:hidden;background:#d0ece8}
.practice-scene img{display:block;width:300%;max-width:none;height:100%;object-fit:fill}
.scene-2 img{transform:translateX(-33.333333%)}
.scene-3 img{transform:translateX(-66.666667%)}
.practice-copy{padding:18px 20px 0 0}
.practice-copy p{font-size:16px;margin-top:8px}
.thinking{position:absolute;left:55%;top:38%;font-size:clamp(11px,1.2vw,16px);line-height:1.4;border:1px solid var(--ink);border-radius:50%;padding:4px 9px;background:white}
.latest .case-card{background:#ceecea}
.latest .case-card img{height:auto;aspect-ratio:3/1;object-fit:contain;align-self:center;background:#ceecea;mask-image:none}
@media(min-width:801px){.hero{min-height:580px}.hero .hero-art{width:min(100vw,1340px)}header .site-name{min-width:0}.hero-copy{flex:none}}
@media(min-width:801px) and (max-width:1000px){.hero-copy{width:48%}.hero h1{font-size:30px}header{gap:16px;padding-inline:24px}header .site-name{font-size:15px}header nav{gap:18px}}
@media(max-width:800px){.practice-journey{grid-template-columns:1fr;gap:28px}.practice-scene{aspect-ratio:1}.practice-copy{padding:14px 0 0}.thinking{font-size:15px}.latest .case-card img{aspect-ratio:3/1;object-fit:contain}}

/* Claude: 練習の進め方の絵の上の空きを詰め、角を丸める（絵は変えない） */
.practice-scene{aspect-ratio:4/3}
.practice-scene img{position:absolute;left:0;bottom:0;height:auto;aspect-ratio:3/1}
.practice-scene.scene-1{border-radius:18px 0 0 18px}.practice-scene.scene-3{border-radius:0 18px 18px 0}
@media(max-width:800px){.practice-scene{aspect-ratio:4/3;border-radius:18px!important}}
.practice-scene .thinking{top:22%;left:60%}

/* Claude: 練習の進め方の見出しの前に番号（りささん 2026-11-26「タイトルの横に数字があっても良さそう」） */
.practice-journey{counter-reset:step}
.practice-journey li{counter-increment:step}
.practice-copy h3{display:flex;align-items:center;gap:10px}
.practice-copy h3:before{content:counter(step);flex:none;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--green);color:#fff;font-size:18px;font-weight:700;line-height:1}

/* Claude: 練習の進め方の絵を3枚に分ける（りささん 2026-11-26「なんかイラストがくっついている理由がよくわからない」） */
@media(min-width:801px){.practice-journey{gap:24px}}
.practice-scene.scene-1,.practice-scene.scene-2,.practice-scene.scene-3{border-radius:18px}
/* 床の線の端をそろえて、1枚ずつ閉じた部屋に見せる */
.practice-scene:before,.practice-scene:after{content:"";position:absolute;z-index:1;width:8.5%;top:72%;height:9%;background:#c9edeb}
.practice-scene:before{left:0}.practice-scene:after{right:0}

/* Claude: 練習の進め方を、問題のカードと同じ形のカード3枚に（りささん 2026-11-26「もう、カード型を並べたらダメなの？」） */
.practice-journey li{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden}
.practice-scene.scene-1,.practice-scene.scene-2,.practice-scene.scene-3{border-radius:0!important}
.practice-copy{padding:20px 24px 24px}
@media(max-width:800px){.practice-journey{gap:20px}.practice-copy{padding:18px 20px 22px}}

/* Claude: 過去の問題を3カラムに（りささん 2026-11-26「過去の問題も三カラムでもいいんじゃない？」）。3つに足りないときは「すべての問題を見る」を置く */
@media(min-width:801px){[data-problems=past].case-grid{grid-template-columns:repeat(3,minmax(0,1fr))}[data-problems=past] .case-card h2{font-size:20px}[data-problems=past] .case-card>div{padding:20px}}
.case-more{display:grid;place-items:center;min-height:120px;padding:24px;border:1px dashed var(--line);border-radius:18px;color:var(--green);font-weight:600;text-align:center}

/* Claude: ロゴをミントの丸に（りささん 2026-11-26「丸の中に入れてもいいよ」。仮：SVG になったら差し替え）。サイト名をロゴより目立たせる */
header .site-logo{width:64px;height:64px}header .site-name{gap:14px;font-size:21px}header{padding-top:8px;padding-bottom:8px}
@media(min-width:801px) and (max-width:1000px){header .site-name{font-size:17px}header .site-logo{width:56px;height:56px}}
@media(max-width:800px){header .site-logo{width:44px;height:44px}header .site-name{font-size:15px;gap:8px}header{padding-top:10px;padding-bottom:10px}}
@media(max-width:800px){header .site-logo{width:40px;height:40px}header .site-name{font-size:clamp(12px,3.8vw,15px);white-space:nowrap}}
@media(min-width:801px) and (max-width:1228px){.hero .hero-copy{width:auto;max-width:40vw}}
/* Claude: 丸をやめ、形のまま置く（りささん 2026-11-26「それだったらまるいらなくない？」） */
header .site-logo{width:auto!important}
/* Claude: ロゴを少し小さく（りささん 2026-11-26「ロゴマークもうちょっとだけ小さくしよ」） */
header .site-logo{height:54px}header{padding-top:13px;padding-bottom:13px}
@media(min-width:801px) and (max-width:1000px){header .site-logo{height:48px}}
@media(max-width:800px){header .site-logo{height:36px}header{padding-top:10px;padding-bottom:10px}}

/* HM-54: show the complete 2:1 covers at every card size. */
.case-card img,.latest .case-card img{width:100%;height:auto;aspect-ratio:2/1;object-fit:contain}

/* Claude: HM-54 のあと、背景を新しい絵の色に合わせた（2026-11-26） */
.hero,.hero:before{background:#cfefea}
.latest .case-card,.latest .case-card img{background:#ccefeb}
/* Claude: ロゴを今の80%に（りささん 2026-11-26「ヘッダーに表示するときは80%の大きさに縮小して」） */
header .site-logo{height:43px}
@media(min-width:801px) and (max-width:1000px){header .site-logo{height:38px}}
@media(max-width:800px){header .site-logo{height:29px}}
/* Claude: 問題一覧を最大3列に（りささん 2026-11-26「一覧は最大３カラムにしたい」・伝言） */
@media(min-width:801px){.listing-grid.case-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1001px){.listing-grid.case-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Claude: 「こんな場面で使えます」（りささん 2026-11-26「こんな場面にお使いください みたいなの入れる？」・伝言） */
.use-cards{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:24px 0 0;padding:0}
.use-cards li{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px}
.use-cards img{display:block;width:36px;height:36px}
.use-cards h3{margin:14px 0 0}
.use-cards p{font-size:16px;margin:8px 0 0}
@media(max-width:800px){.use-cards{grid-template-columns:1fr;gap:16px}.use-cards li{padding:20px}}
/* Claude: 押せないブロックはカードの形をやめる（りささん 2026-11-26「リンクのカードと進め方とかこんな場面で使えますのカードが同じだから、押したくなるんだよね」） */
.practice-journey li{background:none;border:0;border-radius:0;overflow:visible}
.practice-journey .practice-scene{border-radius:18px!important}
.practice-journey .practice-copy{padding:16px 4px 0!important}
.use-cards li{background:none;border:0;border-radius:0;padding:0 4px;border-top:2px solid var(--green);padding-top:18px}
@media(max-width:800px){.use-cards{gap:24px}.use-cards li{padding:16px 0 0}}
/* Claude: 押せるカードは、影と、乗せたときに少し浮く動きで、押せると分かるように */
.case-card{box-shadow:0 2px 8px rgba(24,45,54,.08);transition:transform .15s,box-shadow .15s}
.case-card:hover,.case-card:focus-visible{transform:translateY(-3px);box-shadow:0 8px 20px rgba(24,45,54,.14)}
.case-card .start-label:after{content:"→";margin-left:6px}
@media(prefers-reduced-motion:reduce){.case-card{transition:none}.case-card:hover{transform:none}}
/* Claude: 最新の課題も押せるカードの形に（りささん 2026-11-26「逆に最新の課題が押せなさそう」） */
.latest .case-card{background:#fff!important;border:1px solid var(--line)!important}
.latest .case-card img{background:#ccefeb}
/* Claude: 最新の課題のボタンをいちばん目立たせる。ほかの問題のボタンは線だけに */
.case-card .start-label{background:#fff;color:var(--green);border:2px solid var(--green)}
.latest .case-card .start-label{background:var(--green);color:#fff;border:0;min-height:52px;padding:14px 30px;font-size:17px}
/* Claude: 「使い方を見る」の背景を白に（りささん 2026-11-26「使い方を見るボタンの背景は白のがいいかも」） */
.hero .button-secondary{background:#fff}

/* Claude: サイト名を「ふむむの部屋」に（りささん 2026-11-26「そうしようか」）。前の名前は下に小さく添える */
header .site-title{display:flex;flex-direction:column;line-height:1.2}
header .site-title small{font-size:12px;font-weight:500;opacity:.85;margin-top:3px;letter-spacing:.02em}
@media(max-width:800px){header .site-title small{font-size:10px;margin-top:2px}}
@media(max-width:800px){header .site-name .site-title{font-size:17px}}

/* Claude: 「こんな場面で使えます」に場面の絵（HM-57。りささん 2026-11-26「ふむむやふむむ以外の人を合わせた場面イラスト」） */
.use-cards li{border-top:0!important;padding:0!important}
.use-cards img{width:100%!important;height:auto!important;aspect-ratio:4/3;border-radius:18px;background:#c5ece7}
.use-cards h3{margin-top:16px}
/* Claude: 「答えも採点も」の上の線を、ほかと同じ全幅に（りささん 2026-11-26「ラインが短い」）。文の行の長さは今のまま */
.purpose{max-width:none}
.purpose h2,.purpose p{max-width:850px}

/* Claude: 練習の進め方の絵が新しい3部屋の絵になったので、合わせ直す（りささん 2026-11-26「ぐちゃぐちゃでっせ」）。
   前の絵に合わせた床の目隠しが壁の下を消していたため外し、部屋ごとにカードの真ん中へ置き、壁の外の床だけ隠す */
.practice-scene.scene-1 img{transform:translateX(-1.23%)}
.practice-scene.scene-2 img{transform:translateX(-33.31%)}
.practice-scene.scene-3 img{transform:translateX(-65.81%)}
.practice-scene:before,.practice-scene:after{top:auto;bottom:22.4%;height:2.4%;background:#caeeec}
.scene-1:before{width:10.2%}.scene-1:after{width:10.1%}
.scene-2:before{width:8.4%}.scene-2:after{width:8.2%}
.scene-3:before{width:7.1%}.scene-3:after{width:6.95%}
/* Claude: 絵の背景の色を1色に（りささん 2026-11-26「なんか背景の色味が違うかも」） */
.practice-scene,.use-cards img{background:#d0ece8!important}

/* Claude: スマホ幅のFVは、絵を先に、そのあとにタイトル（りささん 2026-11-26「SPの時、イラストの後にタイトルの順にしたい」「FVのこと」） */
@media(max-width:800px){.hero .hero-art-frame{order:-1}.hero{padding-top:8px;padding-bottom:32px}}
/* Claude: スマホ幅のFVは、タイトルとボタンを中央に。本文は左寄せのまま（りささん 2026-11-26「タイトル文字はセンタリング本文はそのまま、ボタンはセンタリング」） */
@media(max-width:800px){.hero h1{text-align:center}.hero-actions{justify-content:center}}
/* Claude: FV下の特徴4つを、同じ間隔でまとめて中央に（りささん 2026-11-26「項目間を揃えてグループごとセンタリングしたい」）。1列に入らない幅は2列×2段で中央に。スマホの2列はそのまま */
@media(min-width:881px){.features{display:flex;flex-wrap:wrap;justify-content:center;gap:16px clamp(24px,4vw,56px)}.features li{flex:none}}
@media(min-width:801px) and (max-width:880px){.features{grid-template-columns:repeat(2,max-content);justify-content:center;column-gap:56px}}
/* Claude: スマホ幅のFVで、絵の上下の空きを詰める（りささん 2026-11-26「空き過ぎ、詰めて」） */
@media(max-width:800px){.hero{padding-top:0}.hero .hero-art{margin-top:-14%!important;margin-bottom:-6%!important}}
/* Claude: スマホ幅のFVのタイトルを少し大きく（りささん 2026-11-26「タイトルを少し大きくして」） 30px→34px */
@media(max-width:800px){.hero h1{font-size:34px}}
@media(max-width:360px){.hero h1{font-size:30px}}
/* Claude: スマホ幅のFVで、絵の床の線を画面の端から端まで（りささん 2026-11-26「イラストの下のラインは画面の端まで来て欲しい」）。絵の線の真上に同じ色の線を重ねる */
@media(max-width:800px){.hero-art-frame{position:relative}.hero-art-frame:after{content:"";position:absolute;left:0;right:0;top:90.1%;height:1.6%;min-height:2px;background:#182d36}}
/* Claude: 練習の進め方の部屋を、緑のカードの横中央に（りささん 2026-11-26「緑のエリアに対して横中央揃えて」）。13:07 に差し替わった絵は部屋がちょうど3等分の真ん中にあるので、ずらしをやめ、壁の外にはみ出た床だけ隠す */
.practice-scene.scene-1 img{transform:none}
.practice-scene.scene-2 img{transform:translateX(-33.3333%)}
.practice-scene.scene-3 img{transform:translateX(-66.6667%)}
.practice-scene:before,.practice-scene:after{top:auto;bottom:27.6%;height:1.9%;background:#cfece8}
.scene-1:before{width:16.4%}.scene-1:after{width:16.4%}
.scene-2:before{width:14.8%}.scene-2:after{width:14.9%}
.scene-3:before{width:13.8%}.scene-3:after{width:13.8%}
/* Claude: 壁の外にはみ出た床の線は消さない（りささん 2026-11-26「横のはみ出ている線は絶対消さないで」）。床の目隠しをやめる */
.practice-scene:before,.practice-scene:after{display:none!important}
