/* 制作事例本文だけに適用。テーマのヘッダーや既存サービスには影響させない。 */
.wn-project-content{box-sizing:border-box;max-width:960px;margin:32px auto;padding:clamp(20px,5vw,52px);background:#fffdf7;color:#263d32;font:16px/1.95 system-ui,-apple-system,sans-serif;border:1px solid #d9e2d2;border-radius:20px;overflow-wrap:anywhere}
.wn-project-content *{box-sizing:border-box}.wn-project-content h1{font-size:clamp(25px,4vw,40px);line-height:1.5;letter-spacing:.01em}.wn-project-content h2{margin:2.2em 0 .7em;font-size:clamp(21px,3vw,28px);line-height:1.5}.wn-project-content h3{font-size:19px;line-height:1.6;margin-top:1.6em}.wn-project-content p{margin:1em 0}.wn-project-content header{border-bottom:1px solid #d9e2d2;padding-bottom:24px}.wn-project-content header>p:first-child{color:#556d42;font-weight:700}.wn-project-content a{color:#145d43;text-decoration:underline;text-underline-offset:4px}.wn-project-content a:focus-visible{outline:3px solid #bc6817;outline-offset:4px}.wn-project-content figure{margin:26px 0}.wn-project-content img{display:block;width:100%;height:auto;border:1px solid #d9e2d2;border-radius:12px}.wn-project-content figcaption{font-size:14px;color:#4a5d50;line-height:1.7;margin-top:10px}.wn-project-content ul{padding-left:1.5em}.wn-project-content li{margin:.5em 0}.wn-project-content .wn-project-pending{display:inline-block;padding:9px 14px;background:#eaf0e3;border-radius:8px;color:#44553d;font-size:14px}.wn-project-content .wn-project-facts{background:#eef3e8;padding:18px 24px;border-radius:12px}.wn-project-content [data-project-link]{display:inline-block;min-height:44px;padding:7px 0}@media(max-width:480px){.wn-project-content{margin:12px 8px;padding:20px 16px;border-radius:12px}.wn-project-content h1{font-size:26px}.wn-project-content .wn-project-facts{padding:14px 18px}}
.wn-project-content figure img{max-height:540px;object-fit:contain;background:#f1f4eb}.wn-project-content figure>a{display:block}.wn-project-content figure>a:focus-visible{outline-offset:3px}
/* 掲載先ごとの密度を調整。既存テーマの色やボタンを上書きしない。 */
.wn-project-content[data-project-page="com-card"]{max-width:1120px;border-left:5px solid #176951;box-shadow:0 8px 28px #173e3510}
.wn-project-content[data-project-page="com-card"] h2{margin:.2em 0;font-size:28px}
.wn-project-content[data-project-page="store-example"]{padding:24px;background:#f5f8f4;font-size:15px}
.wn-project-content[data-project-page="store-example"] h2:first-child{margin-top:0}
.wn-project-content[data-project-page="ivy-footer"]{background:transparent;border:0;border-radius:0;margin:0 auto;padding:12px 24px 84px;font-size:13px;text-align:center}
.wn-project-content[data-project-page="ivy-footer"] p{margin:0}
@media(min-width:769px){.wn-project-content[data-project-page="ivy-footer"]{padding-bottom:24px}}
/* 制作紹介の独立ページも、おへやと同じ温かい背景・緑の文字に揃える。 */
body.wn-project-ivy{background:#fffaf0;color:#304d3e}
.wn-project-ivy>main>a{color:#2b654b;font-weight:700;text-underline-offset:4px;display:inline-block;min-height:44px}
.wn-project-ivy h1{font-size:clamp(25px,4vw,34px);line-height:1.5;letter-spacing:.02em}
.wn-project-ivy .wn-project-content{background:#fffef9;border-color:#d9e2cd}
.wn-project-content[data-project-page="com-card"] article{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:center;gap:32px}
.wn-project-content[data-project-page="com-card"] figure{margin:0}
.wn-project-content[data-project-page="com-card"] article>div>p:first-child{font-size:13px;font-weight:700;color:#526b55}
@media(max-width:767px){.wn-project-content[data-project-page="com-card"] article{grid-template-columns:minmax(0,1fr);gap:16px}}
.wn-project-content[data-project-page="com-card"] figure img{height:240px;object-fit:cover;object-position:top}
/* 既存のサービスカード内で使う短い紹介。価格や購入ボタンの外見は変更しない。 */
.wn-project-entry{padding:12px 16px;border-left:3px solid #557e60;background:#f2f6ed;color:#263d32;font-size:14px;line-height:1.8;overflow-wrap:anywhere}
.wn-project-entry a{color:#145d43;text-decoration:underline;text-underline-offset:3px;display:inline-block;min-height:44px;padding:8px 0}
.wn-project-entry a:focus-visible{outline:3px solid #bc6817;outline-offset:3px}
/* 制作紹介の要点・体験・相談を区別し、縦長の実画面は必要な部分を大きく見せる。 */
.wn-project-content .wn-project-eyebrow,.wn-project-content .wn-project-number{margin:0 0 .5em;font-size:13px;font-weight:700;letter-spacing:.04em;color:#526b55}
.wn-project-content .wn-project-note{font-size:14px;line-height:1.8;color:#4a5d50}
.wn-project-content .wn-project-hero{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:32px;align-items:center;padding:8px 0 32px}
.wn-project-content .wn-project-hero h2{margin:.25em 0 .7em;font-size:clamp(25px,3.3vw,34px);line-height:1.5}
.wn-project-content .wn-project-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 22px;margin:18px 0}
.wn-project-content .wn-project-actions>p{margin:0;max-width:100%}
.wn-project-content .wn-project-primary>a{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 20px;border-radius:8px;background:#215f48;color:#fff;font-weight:700;line-height:1.6;text-decoration:none}
.wn-project-content .wn-project-primary>a:hover{background:#174b38;text-decoration:underline;text-underline-offset:4px}
.wn-project-content .wn-project-primary>a:focus-visible{outline:3px solid #bc6817;outline-offset:4px}
/* Navigatorの.prose内リンク指定より優先し、濃緑ボタンの文字色だけを白に固定する。 */
.wn-project-content .wn-project-primary>a[data-project-link]{color:#fff!important}
.wn-project-content .wn-project-facts{margin:32px 0;padding:24px}
.wn-project-content .wn-project-facts h2,.wn-project-content .wn-project-summary h2,.wn-project-content .wn-project-consult h2{margin-top:0}
.wn-project-content .wn-project-facts dl{margin:0}
.wn-project-content .wn-project-facts dl>div{display:grid;grid-template-columns:5.5em minmax(0,1fr);gap:16px;padding:10px 0;border-top:1px solid #d5e0cf}
.wn-project-content dt{font-weight:700}.wn-project-content dd{margin:0}
.wn-project-content .wn-project-features{display:grid;gap:24px;margin-top:24px}
.wn-project-content .wn-project-feature{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;align-items:center;padding:24px;border:1px solid #d9e2d2;border-radius:14px;background:#fff}
.wn-project-content .wn-project-feature h3{margin:0;font-size:21px}
.wn-project-content .wn-project-feature-play{grid-template-columns:minmax(0,1fr);background:#eef3e8}
.wn-project-content .wn-project-shot{margin:24px 0}
.wn-project-content .wn-project-hero .wn-project-shot,.wn-project-content .wn-project-feature .wn-project-shot{margin:0}
.wn-project-content .wn-project-shot img{height:300px;max-height:none;object-fit:cover}
.wn-project-content .wn-project-shot-room img{object-position:50% 10%}
.wn-project-content .wn-project-hero .wn-project-shot-room img{height:380px}
.wn-project-content .wn-project-shot-graph img{object-position:50% 43%}
.wn-project-content .wn-project-shot-diary img{object-position:50% 27%}
.wn-project-content[data-project-page="blog-story"] .wn-project-shot img{height:400px}
.wn-project-content[data-project-page="com-card"] .wn-project-shot img{height:260px;object-position:50% 10%}
.wn-project-content .wn-project-summary{margin:28px 0;padding:24px;background:#f0f4eb;border-radius:12px}
.wn-project-content .wn-project-summary>:last-child{margin-bottom:0}
.wn-project-content .wn-project-consult{margin-top:40px;padding:28px;border:1px solid #c9d9c1;border-radius:14px;background:#eef3e8}
.wn-project-content .wn-project-destinations{display:grid;gap:16px}
.wn-project-content .wn-project-destinations>div{padding:20px;border:1px solid #d9e2d2;border-radius:12px;background:#fff}
.wn-project-content .wn-project-destinations dt{margin-bottom:8px;font-size:18px}
.wn-project-content .wn-project-destinations p{margin:.5em 0 0}
@media(max-width:760px){.wn-project-content .wn-project-hero,.wn-project-content .wn-project-feature{grid-template-columns:minmax(0,1fr);gap:20px}.wn-project-content .wn-project-hero .wn-project-shot-room img{height:320px}.wn-project-content .wn-project-feature{padding:20px}.wn-project-content .wn-project-feature img{height:260px}.wn-project-content .wn-project-consult{padding:22px}}
@media(max-width:480px){.wn-project-content .wn-project-facts,.wn-project-content .wn-project-summary,.wn-project-content .wn-project-consult{padding:18px}.wn-project-content .wn-project-facts dl>div{grid-template-columns:minmax(0,1fr);gap:2px}.wn-project-content .wn-project-feature{padding:16px}.wn-project-content .wn-project-actions{align-items:stretch;gap:10px}.wn-project-content .wn-project-actions>p{width:100%}.wn-project-content .wn-project-primary>a{width:100%;text-align:center}.wn-project-content .wn-project-hero .wn-project-shot-room img{height:290px}.wn-project-content .wn-project-shot img,.wn-project-content[data-project-page="blog-story"] .wn-project-shot img{height:240px}.wn-project-content[data-project-page="com-card"] .wn-project-shot img{height:240px}}
/* 狭い画面ではテーマ側の余白と重ねすぎず、本文とボタンの横幅を確保する。 */
@media(max-width:480px){.wn-project-content{margin-left:0;margin-right:0;padding-left:12px;padding-right:12px}.wn-project-content .wn-project-consult{padding:16px 12px}}
/* Navigatorの手動ダーク表示に追従。本文だけ白くなるテーマ指定を、紹介枠の面色と対で補正する。
   色の上書きは自前の紹介枠・入口だけに限定し、既存ページや購入フォームには適用しない。 */
html[data-theme="dark"] .wn-project-content{background:#172c26;color:#e8eee9;border-color:#4b675a}
html[data-theme="dark"] .wn-project-content :is(h1,h2,h3,p,li,dt,dd,strong,figcaption){color:#e8eee9!important}
html[data-theme="dark"] .wn-project-content :is(.wn-project-eyebrow,.wn-project-number,.wn-project-note,figcaption){color:#c2d4c6!important}
html[data-theme="dark"] .wn-project-content :is(.wn-project-facts,.wn-project-summary,.wn-project-consult,.wn-project-feature-play){background:#243d32;border-color:#4b675a}
html[data-theme="dark"] .wn-project-content .wn-project-feature,html[data-theme="dark"] .wn-project-content .wn-project-destinations>div{background:#20372e;border-color:#4b675a}
html[data-theme="dark"] .wn-project-content :is(header,img),html[data-theme="dark"] .wn-project-content .wn-project-facts dl>div{border-color:#4b675a}
html[data-theme="dark"] .wn-project-content a{color:#b0edcc!important}
html[data-theme="dark"] .wn-project-content .wn-project-primary>a[data-project-link]{color:#fff!important}
html[data-theme="dark"] .wn-project-content a:focus-visible,html[data-theme="dark"] .wn-project-entry a:focus-visible{outline-color:#ffbb70}
html[data-theme="dark"] .wn-project-entry{background:#243d32;color:#e8eee9}
html[data-theme="dark"] .wn-project-entry a{color:#b0edcc!important}
