/* TOP専用。承認された「01 工房」48pxを基準とする文字の役割別サイズ。
   共通theme.cssの数値を変えず、下層ページへ影響を広げない。 */
.home-page{
 --home-type-chapter:clamp(44px,5vw,48px);
 --home-type-action:20px;
 --home-type-story:36px;
 --home-type-section:32px;
 --home-type-service:28px;
 --home-type-card:24px;
 --home-type-entry:18px;
 --home-type-body:15px;
 --home-type-small:13px;
 --home-type-meta:12px;
}

/* 番号付き3章は同じ組み。章名は意味単位で折り返す。 */
:is(#about,#shop,#production) .chapter-heading{
 display:grid;
 grid-template-columns:max-content minmax(0,1fr);
 align-items:baseline;
 gap:12px 20px;
}
:is(#about,#shop,#production) .chapter-heading>div{display:contents}
:is(#about,#shop,#production) .chapter-heading .chapter-number{
 grid-column:1;grid-row:1;font-family:var(--serif);font-size:var(--home-type-chapter);font-weight:500;line-height:1.15;
}
:is(#about,#shop,#production) .chapter-heading .chapter-name{
 grid-column:2;grid-row:1;min-width:0;margin:0;font-family:var(--serif);font-size:var(--home-type-chapter);font-weight:500;line-height:1.15;overflow-wrap:normal;
}
:is(#about,#shop,#production) .chapter-heading .chapter-action{
 grid-column:1/-1;grid-row:2;margin:0;font-size:var(--home-type-action);line-height:1.6;
}

.home-page .chapter-name .chapter-word{display:inline-block;white-space:nowrap}

/* 番号のない章も同格の文字サイズ。中央／左の配置は維持する。 */
:is(#people,#faq) .chapter-heading-named .chapter-name{
 font-family:var(--serif);font-size:var(--home-type-chapter);font-weight:500;line-height:1.4;
}
:is(#people,#faq) .chapter-heading-named .chapter-action{
 font-size:var(--home-type-action);line-height:1.6;
}

/* 情景や姿勢を伝える大きい言葉と、その配下の小見出し。 */
.home-page .home-shop h2,
.home-page .home-production h2,
.home-page .visit h2{font-size:var(--home-type-story);line-height:1.8}
#use .use-head h2,
.home-page .section-top h2,
#people .people-story h2,
.home-page .home-faq-heading h2,
.home-page .business-heading h2{font-size:var(--home-type-section);line-height:1.7}
.home-page .intro-text .intro-principle{font-size:28px;line-height:1.75}
#use .use-item h3,
.home-page .business-card h3{font-size:var(--home-type-service);line-height:1.6}
.home-page .work-caption h3,
.home-page .work-third h3,
.home-page .visit-start h3{font-size:var(--home-type-card);line-height:1.7}
.home-page .visit-steps h4{font-size:var(--home-type-entry);line-height:1.7}
.home-page .info-label{font-size:var(--home-type-section)}
.home-page .channel-title,
.home-page .overview-action{font-size:var(--home-type-entry)}

/* 読む本文と補足を区別。受付状態やキャプションの文言は変えない。 */
.home-page .intro-text,
#use .use-description,
.home-page .work-caption p:not(.tag),
.home-page .work-third p:not(.tag),
.home-page .home-shop-inner>div>p:not(.shop-opening),
.home-page .home-production-inner>div>p:not(.production-outreach),
#people .people-story-text p,
.home-page .home-faq-heading>p:last-child,
.home-page .home-faq-answer,
.home-page .visit-copy>p,
.home-page .visit-steps p,
.home-page .business-heading>p,
.home-page .business-card p:not(.business-photo-caption){font-size:var(--home-type-body)}
.home-page .intro-text{line-height:2.1}
.home-page .info-row .title{font-size:var(--home-type-body)}
.home-page .outline-action,
.home-page .use-button,
.home-page .business-card .business-link{font-size:var(--home-type-body)}
.home-page .use-head>p,
.home-page .channel-description,
.home-page .channel-account,
.home-page .people-story-link,
.home-page .visit-start-note,
.home-page .business-note,
.home-page .business-photo-caption{font-size:var(--home-type-small)}
.home-page .use-meta>p,
.home-page .use-num,
.home-page .work-caption .tag,
.home-page .work-third .tag{font-size:var(--home-type-meta)}

@media(max-width:800px){
 .home-page{
  --home-type-chapter:clamp(30px,9vw,44px);
  --home-type-action:16px;
  --home-type-story:28px;
  --home-type-section:26px;
  --home-type-service:24px;
  --home-type-card:22px;
  --home-type-entry:16px;
  --home-type-body:14px;
 }
 :is(#about,#shop,#production) .chapter-heading{gap:10px 16px}
 .home-page .intro-text .intro-principle{font-size:22px}
 .home-page .work-caption h3,.home-page .work-third h3{font-size:22px}
 .home-page .overview-action{font-size:14px}
}


/* 補助案内・2つの入口も既存の文字階層に合わせる。 */
.home-page .use-start-guide h3{font-size:var(--home-type-entry)}

.home-page .use-start-guide .use-start-status,.home-page .guide-banner-copy small{font-size:var(--home-type-small)}
.home-page .workshop-resources>h3{font-size:var(--home-type-entry)}

.home-page .guide-banner-copy strong{font-size:20px}
@media(max-width:800px){.home-page .guide-banner-copy strong{font-size:18px}}

@media(max-width:400px){.home-page .guide-banner-copy strong{font-size:17px}}


