:root{--paper:#fff;--ink:#151515;--muted:#626262;--line:#b6b6b6;--accent:#b83a18;--serif:"Yu Mincho","Hiragino Mincho ProN",Georgia,serif;--sans:"Yu Gothic UI","Hiragino Kaku Gothic ProN",sans-serif;color-scheme:light}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--serif);-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline;text-underline-offset:6px}a:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:6px}img{max-width:100%;display:block}button,input{font:inherit}.shell{width:calc(100% - 96px);max-width:1440px;margin-inline:auto}.skip{position:absolute;left:24px;top:-80px;padding:12px 20px;background:white;z-index:10}.skip:focus{top:10px}.site-header{min-height:88px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:32px}.brand{font-family:Georgia,serif;font-size:44px;letter-spacing:5px;white-space:nowrap}.brand span{font-family:var(--sans);font-size:14px;letter-spacing:2px;margin-left:14px;vertical-align:middle}.site-header nav{display:flex;gap:42px;font-family:var(--sans);font-size:17px;letter-spacing:1px}.hero{display:grid;grid-template-columns:1.05fr 1fr;gap:48px;padding:62px 0 58px;border-bottom:1px solid var(--line);align-items:center}.hero h1{font-size:clamp(58px,7.6vw,118px);font-weight:500;letter-spacing:-.065em;line-height:1.24;margin:0;white-space:nowrap}.accent{color:var(--accent)}.hero-intro{padding-left:15px}.hero-intro p{font-size:clamp(17px,1.6vw,24px);line-height:1.95;margin:0;white-space:nowrap}.hero-links{display:flex;gap:64px;margin-top:48px}.text-link{display:inline-flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--accent);padding-bottom:5px;font-size:20px;line-height:1.5;min-height:40px}.text-link svg{width:27px;height:27px;fill:none;stroke:var(--accent);stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.text-link:hover{text-decoration:none;color:var(--accent)}.pillars{display:grid;grid-template-columns:1fr 1fr;padding:30px 0 28px}.pillar:first-child{padding-right:44px;border-right:1px solid var(--line)}.pillar:last-child{padding-left:42px}.pillar-title{font-family:Georgia,serif;font-size:80px;font-weight:400;line-height:1;margin:8px 0 20px;letter-spacing:1px}.pillar-title span{display:block;font-family:var(--sans);font-size:17px;letter-spacing:2px;line-height:1.5;margin-top:7px}.pillar-description{font-size:23px;margin:0 0 20px;line-height:1.6}.article-feature{padding-top:45px}.article-feature time,.meta{font-family:var(--sans);font-size:14px;color:var(--muted);letter-spacing:.06em}.article-feature h3{font-weight:500;font-size:clamp(26px,2.6vw,42px);line-height:1.55;letter-spacing:-.025em;margin:16px 0 22px}.article-feature p{font-size:21px;line-height:1.75;margin:0 0 48px}.work-image{display:block;overflow:hidden;background:#060710}.work-image img{width:100%;height:auto;aspect-ratio:20/9;object-fit:cover;object-position:center;transition:transform .3s ease}.work-image:hover img{transform:scale(1.025)}.work-title{font-size:34px;font-weight:500;margin:12px 0 2px;line-height:1.4}.work-description{font-size:20px;margin:0 0 6px;line-height:1.6}.site-footer{border-top:1px solid var(--line);padding:22px 0 24px}.footer-line{display:flex;align-items:center;justify-content:space-between;gap:24px}.footer-brand{font-family:Georgia,serif;font-size:22px;letter-spacing:2px}.footer-brand span{font-family:var(--sans);font-size:10px;letter-spacing:1.5px}.footer-line p{font-size:16px;margin:0}.about-note{font-family:var(--sans);font-size:13px;line-height:1.9;color:var(--muted);max-width:760px;margin:20px 0 0}.page-header{padding:65px 0 34px;border-bottom:1px solid var(--line)}.page-header h1{font-size:64px;font-weight:500;margin:0 0 16px;line-height:1.25}.page-header p{font-size:20px;line-height:1.8;margin:0;max-width:800px}.page-header .meta{margin-bottom:16px;font-size:14px}.search-form{display:flex;gap:12px;max-width:800px;margin:36px 0 14px;font-family:var(--sans);align-items:end}.search-field{flex:1;min-width:0}.search-field label{display:block;font-size:15px;margin-bottom:10px}.search-field input{width:100%;border:1px solid #999;padding:14px 16px;font-size:17px;border-radius:0;background:white;color:var(--ink)}button{border:1px solid var(--ink);background:var(--ink);color:white;padding:14px 22px;font-family:var(--sans);font-size:17px;cursor:pointer}button:hover{background:#383838}.results-status{font-family:var(--sans);font-size:14px;color:var(--muted)}.article-list{padding:28px 0 70px;max-width:1000px;min-height:350px}.article-row{border-bottom:1px solid var(--line);padding:30px 0}.article-row h2{font-size:32px;font-weight:500;line-height:1.5;margin:10px 0}.article-row p{font-size:18px;line-height:1.8;max-width:790px}.empty{padding:40px 0;font-family:var(--sans);line-height:1.9}.reading{max-width:840px;margin-inline:auto;padding:32px 0 80px;font-family:var(--sans);font-size:18px;line-height:2}.reading h2{font-family:var(--serif);font-size:32px;font-weight:500;line-height:1.55;margin:50px 0 18px}.reading h3{font-size:21px;margin-top:30px}.reading p{margin:0 0 22px}.reading a{border-bottom:1px solid var(--accent)}.reading li{margin-bottom:10px}.reading .lead{font-size:20px;line-height:1.95}.reading .takeaway{border-left:3px solid var(--accent);padding:4px 0 4px 24px;margin:28px 0}.toc{border-block:1px solid var(--line);padding:20px 0;margin:32px 0}.toc h2{font-family:var(--sans);font-size:16px;font-weight:600;margin:0 0 12px}.toc ol{margin:0;padding-left:24px}.toc li{margin:4px 0}.reading figure{margin:30px 0}.reading figure img{width:100%;height:auto;border:1px solid #ddd}.reading figcaption{font-size:14px;color:var(--muted);line-height:1.8;margin-top:10px}.table-scroll{overflow-x:auto;margin:25px 0;border-block:1px solid var(--line)}table{width:100%;border-collapse:collapse;font-size:15px;line-height:1.8}th,td{text-align:left;vertical-align:top;padding:14px 12px;border-bottom:1px solid #ddd}tr:last-child td{border:0}th{font-weight:600;background:#f8f8f8}.skill-table th:first-child{width:30%}code{font-family:Consolas,monospace;font-size:.9em;background:#f4f4f4;padding:2px 4px;overflow-wrap:anywhere}.sources{font-size:15px}.article-bottom{margin-top:50px}.back-link{font-family:var(--sans);font-size:15px;display:inline-block;margin-top:28px;border-bottom:1px solid var(--accent)}[hidden]{display:none!important}
@media(min-width:1600px){.hero{padding-block:70px}.hero h1{font-size:120px}}
@media(max-width:1100px){.shell{width:calc(100% - 64px)}.brand{font-size:34px}.brand span{font-size:11px;margin-left:8px}.site-header nav{gap:26px;font-size:15px}.hero{gap:24px;padding-block:48px}.hero h1{font-size:7.7vw}.hero-intro{padding-left:0}.hero-intro p{font-size:17px;white-space:normal}.hero-links{gap:26px;margin-top:30px}.text-link{font-size:17px;gap:18px}.pillar-title{font-size:68px}.pillar-description{font-size:19px}.pillar:first-child{padding-right:28px}.pillar:last-child{padding-left:28px}.article-feature p{font-size:18px}.work-title{font-size:29px}.work-description{font-size:17px}.desktop-break{display:none}}
@media(max-width:720px){.shell{width:calc(100% - 40px)}.site-header{min-height:110px;padding-block:18px;align-items:start;flex-direction:column;gap:15px}.brand{font-size:31px;letter-spacing:3px}.brand span{font-size:10px;letter-spacing:1.5px}.site-header nav{width:100%;gap:26px;font-size:14px;justify-content:flex-start}.hero{grid-template-columns:1fr;gap:25px;padding:37px 0 34px}.hero h1{font-size:clamp(47px,11.8vw,80px);letter-spacing:-.06em;line-height:1.3}.hero-intro p{font-size:16px;line-height:1.9}.hero-links{margin-top:22px;gap:32px}.text-link{font-size:17px;min-height:44px}.pillars{grid-template-columns:1fr;padding:0}.pillar:first-child{padding:30px 0 32px;border-right:0;border-bottom:1px solid var(--line)}.pillar:last-child{padding:32px 0}.pillar-title{font-size:64px;margin:0 0 16px}.pillar-title span{font-size:14px;margin-top:5px}.pillar-description{font-size:19px;margin-bottom:20px}.article-feature{padding-top:13px}.article-feature h3{font-size:27px;line-height:1.6;margin:12px 0 16px}.article-feature p{font-size:17px;line-height:1.9;margin-bottom:20px}.work-title{font-size:29px}.work-description{font-size:16px}.work-image img{aspect-ratio:16/9}.footer-line{align-items:start;flex-direction:column;gap:14px}.footer-line p{font-size:14px}.about-note{font-size:12px}.page-header{padding:38px 0 24px}.page-header h1{font-size:38px;line-height:1.55}.page-header p{font-size:17px}.search-form{gap:8px;margin-top:28px}.search-field input{font-size:16px;padding:12px}.search-form button{padding:12px 15px;font-size:16px}.article-list{padding:0 0 45px}.article-row h2{font-size:27px}.article-row p{font-size:16px}.reading{font-size:17px;padding-top:24px;line-height:1.95}.reading .lead{font-size:18px}.reading h2{font-size:27px;margin-top:38px}.reading h3{font-size:20px}.reading .takeaway{padding-left:17px}.table-scroll{margin-inline:0}table{min-width:600px;font-size:14px}.toc ol{padding-left:22px}.sources{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.work-image img{transition:none}}

.nowrap{white-space:nowrap}.hero-intro .balanced{display:inline-block;max-width:100%;white-space:normal;text-wrap:balance}

.studio-title{font-size:clamp(42px,4.4vw,68px);letter-spacing:-.045em;line-height:1.18;margin-top:5px;white-space:nowrap}.studio-title span{letter-spacing:.08em}
@media(max-width:720px){.studio-title{font-size:clamp(36px,10.1vw,56px);line-height:1.18;margin-top:0}.studio-title span{font-size:14px}}

/* PCでは見出しの強さを抑え、記事と作品を一覧しやすくする。 */
@media(min-width:1101px){
  .site-header{min-height:76px}
  .brand{font-size:34px;letter-spacing:4px}
  .brand span{font-size:12px;margin-left:10px}
  .site-header nav{font-size:15px;gap:34px}
  .hero{padding:46px 0 44px}
  .hero h1{font-size:clamp(64px,5.5vw,84px);line-height:1.3}
  .hero-intro p{font-size:18px}
  .hero-links{margin-top:32px;gap:42px}
  .text-link{font-size:17px;gap:20px}
  .text-link svg{width:23px;height:23px}
  .pillar-title{font-size:56px}
  .pillar-title span{font-size:14px}
  .studio-title{font-size:clamp(40px,3.2vw,48px)}
  .pillar-description{font-size:18px}
  .article-feature{padding-top:30px}
  .article-feature h3{font-size:28px;line-height:1.6}
  .article-feature p{font-size:18px;margin-bottom:32px}
  .work-title{font-size:28px}
  .work-description{font-size:17px}
  .page-header{padding:46px 0 28px}
  .page-header h1{font-size:44px;line-height:1.4}
  .page-header p{font-size:18px}
  .page-header .meta{font-size:14px}
  .article-row h2{font-size:28px}
  .reading > h2{font-size:28px}
  .reading .lead{font-size:18px}
}

/* AISI Journal + Creation Studio (作品 / ツール) */
.hero-links{flex-wrap:wrap;gap:20px 28px}
.site-header nav{flex-wrap:wrap}
.home-sections{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);padding:30px 0}
.journal-column{padding-right:28px;border-right:1px solid var(--line);min-width:0}
.section-family{font-family:var(--sans);font-size:17px;font-weight:500;letter-spacing:.04em;line-height:1.5;margin:0 0 20px;min-height:26px}
.section-family span{font-size:11px;color:var(--muted);margin-left:10px;letter-spacing:.06em}
.studio-section>.section-family{padding-left:28px}
.studio-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.studio-columns>section{padding-left:28px;min-width:0}
.studio-columns>section:first-child{padding-right:28px;border-right:1px solid var(--line)}
.column-title{font-family:var(--serif);font-size:36px;font-weight:500;line-height:1.35;margin:0 0 16px;letter-spacing:-.02em}
.column-title span{font-family:var(--sans);font-size:12px;letter-spacing:.08em;color:var(--muted);margin-left:12px;vertical-align:middle}
.column-description{font-size:16px;line-height:1.8;margin:0 0 22px;min-height:3.6em}
.home-sections .article-feature{padding-top:6px}
.home-sections .article-feature h3{font-size:25px;line-height:1.6;margin:16px 0}
.home-sections .article-feature p{font-size:16px;line-height:1.9;margin-bottom:24px}
.home-sections .work-title{font-size:25px;margin-top:14px}
.home-sections .work-description{font-size:16px;line-height:1.9;margin-bottom:12px}
.home-sections .work-image img{aspect-ratio:16/9}
.cycle-summary{border-block:1px solid var(--line);padding:22px 0;margin-bottom:18px}
.tool-name{font-family:Georgia,serif;font-size:32px;line-height:1.2;margin:0 0 18px}
.tool-purpose{font-size:21px;line-height:1.7;margin:0 0 18px}
.tool-flow{font-family:var(--sans);font-size:12px;line-height:1.8;margin:0;display:flex;gap:7px;flex-wrap:wrap}
.tool-flow span{color:var(--accent)}
.release-note{font-family:var(--sans);font-size:13px;color:var(--muted);margin:0 0 14px;line-height:1.8}
@media(max-width:1100px) and (min-width:721px){
 .home-sections{grid-template-columns:1fr;gap:28px}
 .journal-column{border-right:0;border-bottom:1px solid var(--line);padding:0 0 28px}
 .studio-section>.section-family{padding-left:0}
 .studio-columns>section:first-child{padding-left:0}
 .column-description{min-height:0}
 .home-sections .article-feature{max-width:680px}
}
@media(max-width:720px){
 .site-header nav{gap:12px 23px;font-size:13px}
 .hero-links{gap:18px 24px}
 .home-sections,.studio-columns{grid-template-columns:1fr;padding:0}
 .journal-column{padding:28px 0;border-right:0;border-bottom:1px solid var(--line)}
 .section-family{font-size:16px;margin-bottom:14px;min-height:0}
 .studio-section>.section-family{padding:28px 0 0;margin-bottom:20px}
 .studio-columns>section,.studio-columns>section:first-child{padding:0 0 28px;border-right:0}
 .studio-columns>section+section{border-top:1px solid var(--line);padding-top:28px}
 .column-title{font-size:34px;margin-bottom:12px}
 .column-description{min-height:0;font-size:17px;margin-bottom:20px}
 .home-sections .article-feature h3{font-size:25px}
 .cycle-summary{padding-block:20px}
}

/* 案3を土台に、Journalの探索と作品の画像面積を加えたローカル版。 */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
select{font:inherit;max-width:100%;border:1px solid #999;background:#fff;color:var(--ink);padding:10px 12px;border-radius:0}
select:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
button:disabled{opacity:.45;cursor:default}
body[data-home] .home-sections{grid-template-columns:minmax(0,1fr) minmax(0,2.2fr);padding:34px 0 46px;min-height:610px}
body[data-home] .studio-columns{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}
body[data-home] .column-title{font-size:34px;margin-bottom:8px}
body[data-home] .column-description{min-height:0;margin-bottom:12px;font-size:15px}
body[data-home] .section-family{font-size:15px;margin-bottom:18px}
.collection-link{font-family:var(--sans);font-size:15px;gap:24px;margin-bottom:28px}
.collection-link span{font-size:13px;color:var(--muted)}
.home-search{display:flex;gap:8px;margin:0 0 10px;font-family:var(--sans)}
.home-search input{min-width:0;flex:1;width:100%;font-size:15px;border:1px solid #999;padding:10px 12px;border-radius:0;background:#fff;color:var(--ink)}
.home-search button{font-size:14px;padding:10px 14px;min-height:44px}
.category-links{display:flex;gap:10px;flex-wrap:wrap;font-family:var(--sans);font-size:12px;margin-bottom:15px}
.category-links a{color:var(--muted);min-height:32px;display:inline-flex;align-items:center;text-decoration:underline;text-underline-offset:4px}
.journal-tabs{display:flex;gap:10px;border-bottom:1px solid var(--line);margin-bottom:2px}
.journal-tabs button{background:transparent;color:var(--muted);border:0;border-bottom:2px solid transparent;padding:10px 16px;font-size:15px;min-height:44px}
.journal-tabs button[aria-selected="true"]{color:var(--ink);border-bottom-color:var(--accent);font-weight:600}
.journal-tabs button:hover{background:#f5f5f5}
.home-article{padding:22px 0;border-bottom:1px solid #dedede}
.home-article:last-child{border-bottom:0;padding-bottom:0}
.home-article .meta{font-size:12px;line-height:1.8;margin:0 0 8px;letter-spacing:0}
.home-article h3{font-size:20px;font-weight:500;line-height:1.6;margin:0 0 10px;overflow-wrap:anywhere;text-wrap:pretty;line-break:strict}
.home-article p:not(.meta){font-family:var(--sans);font-size:14px;line-height:1.9;margin:0}
.popular-empty{padding:24px 0;font-family:var(--sans);font-size:14px;line-height:1.9;min-height:260px}
.popular-empty p{margin:0 0 12px}
.popular-empty .text-link{font-size:14px}
.panel-label{font-family:var(--sans);font-size:16px;margin:15px 0}
body[data-home] .work-image img{aspect-ratio:16/9;object-fit:contain}
body[data-home] .work-title{font-size:24px;margin-top:18px;margin-bottom:12px}
body[data-home] .work-description{font-size:15px;line-height:1.9}
body[data-home] .tool-name{font-size:31px;font-weight:400;margin:0 0 22px;overflow-wrap:anywhere}
body[data-home] .text-link:not(.collection-link){font-size:15px}
.collection-card .tool-flow{margin:24px 0;font-size:12px;color:var(--muted);line-height:1.9}
.collection-card .release-note{margin-top:15px;margin-bottom:18px}
.case-link{display:block;font-family:var(--sans);font-size:14px;line-height:1.8;text-decoration:underline;text-underline-offset:5px;margin-top:24px}
.collection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px;padding:38px 0 70px}
.collection-card{min-width:0}
.collection-grid .work-title{font-size:25px}
.collection-grid .work-image img{aspect-ratio:16/9;object-fit:contain}
.collection-grid .work-description{font-size:16px}
.archive-filters{display:flex;flex-wrap:wrap;align-items:center;gap:18px;font-family:var(--sans);font-size:14px;margin:20px 0}
.archive-filters label{display:flex;align-items:center;gap:8px}
.archive-filters a,.empty a{text-decoration:underline;text-underline-offset:4px}
.article-list{min-height:0;padding-bottom:30px}
.pagination{display:flex;align-items:center;justify-content:center;gap:24px;padding:10px 0 50px;font-family:var(--sans);font-size:15px}
.pagination button{font-size:15px;padding:10px 18px}
caption{text-align:left;font-weight:600;padding:12px}
@media(max-width:1100px) and (min-width:721px){
 body[data-home] .home-sections{grid-template-columns:1fr}
 body[data-home] .journal-column{display:block}
 .home-search{max-width:640px}
 .home-article{max-width:720px}
 .collection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:720px){
 body[data-home] .home-sections,body[data-home] .studio-columns{grid-template-columns:1fr;padding-top:0}
 body[data-home] .column-title{font-size:30px}
 body[data-home] .column-description{font-size:15px}
 body[data-home] .studio-section>.section-family{margin-bottom:20px}
 .collection-link{margin-bottom:24px;min-height:44px}
 .home-article h3{font-size:21px}
 .home-article p:not(.meta){font-size:15px}
 .home-search input{font-size:16px}
 .collection-grid{grid-template-columns:1fr;gap:36px;padding-top:28px}
 .archive-filters{gap:14px}
 .archive-filters label{flex-wrap:wrap}
 .article-row h2{font-size:23px}
 .site-header nav a{display:inline-flex;align-items:center;min-height:32px}
 .site-header nav{gap:4px 21px}
}

.work-preview{position:relative}.work-preview video{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;background:#060710}.preview-toggle{position:absolute;right:10px;bottom:10px;border:1px solid #ffffff80;border-radius:3px;padding:7px 12px;background:#111c;color:white;font-family:var(--sans);font-size:12px;cursor:pointer;min-height:34px}.preview-toggle:hover{background:#111}.preview-toggle[hidden]{display:none}
.reading .code-download-row{margin-top:-8px}.code-download{display:inline-flex;align-items:center;min-height:44px}
