/* 日本文藝 下のページ（私たちについて、事業内容 など）
   トップと同じ紙、墨、朱。上に紙のギャラリーの一場面、下に静かな文章。 */
:root {
  --paper: #ffffff; --paper-rgb: 255, 255, 255;   /* 2026-12-02 持ち主「真っ白にするか」→ 白（前は #f5f1e9、パソコンだけ #f4ece0）。トップの会場と場面の絵も白の地に合わせた */
  --ink: #2b2622; --sub: #6b635b; --line: rgba(43, 38, 34, 0.17); --red: #d6372a;
  --mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "Noto Serif JP", serif;
  --latin: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;   /* 2026-12-02 世界観をそろえる：欧文の書体（Cormorant Garamond）もやめて、数字も英字も明朝に */
  --gut: clamp(28px, 6.6vw, 108px);
  --col: clamp(300px, 32vw, 380px);
  --text: 640px;
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 110px; }
body {
  margin: 0; color: var(--ink); background: var(--paper);
  font-family: var(--mincho); font-weight: 400; font-size: 15px; line-height: 2.2; letter-spacing: 0.08em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  line-break: strict; overflow-wrap: anywhere;
}
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 5px; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; z-index: 30; left: 16px; top: 16px; padding: 10px 18px; background: var(--ink); color: var(--paper); font-size: 13px; transform: translateY(-200%); }
.skip:focus { transform: none; }
.ph { display: inline-block; }   /* 文の切れ目でだけ折り返す */

/* ---- 上の帯（トップと同じ） ---- */
.top {
  position: fixed; z-index: 6; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; align-items: center;
  padding: calc(28px + env(safe-area-inset-top, 0px)) var(--gut) 30px; pointer-events: none;
  background: linear-gradient(180deg, rgb(var(--paper-rgb)) 0%, rgb(var(--paper-rgb)) 52%, rgba(var(--paper-rgb), 0.7) 76%, rgba(var(--paper-rgb), 0) 100%);
}
.top a, .top button { pointer-events: auto; }
/* 2026-12-02 左上：「日本文藝 | NIHONBUNGEI」を右のメニューと同じ大きさに。印は「藝」のもとの字「埶」（苗木を植える人）。nb/img/mark.svg */
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 500; font-size: 13.5px; letter-spacing: 0.2em; line-height: 1; white-space: nowrap; }
.brand .mark { width: 22px; height: 22px; flex: none; display: block; }
.brand .sep { color: var(--sub); letter-spacing: 0; margin: 0 0.55em 0 0.1em; font-weight: 400; }
.brand .en { letter-spacing: 0.16em; font-weight: 400; }
.nav { display: flex; gap: clamp(18px, 2.5vw, 42px); font-size: 13.5px; letter-spacing: 0.2em; line-height: 1; }
.nav a { position: relative; padding: 9px 0; }
.nav a::after, .foot nav a::after, .legal a::after, .line-link::after { content: ""; position: absolute; left: 0; right: 0.2em; bottom: 1px; height: 1px; background: var(--red); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.6s var(--ease); }
.nav a:hover::after, .nav a:focus-visible::after, .nav a[aria-current="page"]::after, .foot nav a:hover::after, .legal a:hover::after, .line-link:hover::after { transform: scaleX(1); }
.menu-btn { display: none; width: 44px; height: 44px; margin-right: -10px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; position: relative; }
.menu-btn i { position: absolute; left: 10px; right: 10px; height: 1px; background: currentColor; transition: transform 0.5s var(--ease), top 0.5s var(--ease); }
.menu-btn i:nth-of-type(1) { top: 18px; } .menu-btn i:nth-of-type(2) { top: 26px; }
.menu-open .menu-btn i:nth-of-type(1) { top: 22px; transform: rotate(24deg); } .menu-open .menu-btn i:nth-of-type(2) { top: 22px; transform: rotate(-24deg); }
.menu { position: fixed; inset: 0; z-index: 5; background: var(--paper); display: grid; place-items: center; opacity: 0; transition: opacity 0.5s ease; }
.menu[hidden] { display: none; }
.menu-open .menu { opacity: 1; }
.menu nav { display: grid; gap: 26px; }
.menu a { display: grid; gap: 4px; font-size: 19px; letter-spacing: 0.32em; line-height: 1.5; }
.menu small { display: none; }   /* メニューの英字の添え書きは出さない（世界観をそろえる） */

/* ---- はじめ：左に題、右に紙のギャラリーの一場面 ---- */
.hero { position: relative; height: clamp(520px, 40vw, 760px); overflow: hidden; }   /* 場面の写真の横長に合わせた高さ */
.hero .scene { position: absolute; top: 86px; bottom: 0; right: 0; left: calc(var(--gut) + var(--col) - 4vw); }
.hero .scene img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; display: block; }
.hero .scene::after {   /* 左と右と下を、紙へとかす */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgb(var(--paper-rgb)) 0%, rgba(var(--paper-rgb), 0.82) 4%, rgba(var(--paper-rgb), 0.4) 9%, rgba(var(--paper-rgb), 0) 15%, rgba(var(--paper-rgb), 0) 92%, rgba(var(--paper-rgb), 0.6) 97%, rgb(var(--paper-rgb)) 100%),
    linear-gradient(0deg, rgb(var(--paper-rgb)) 0%, rgba(var(--paper-rgb), 0.6) 7%, rgba(var(--paper-rgb), 0) 18%),
    linear-gradient(180deg, rgb(var(--paper-rgb)) 0%, rgba(var(--paper-rgb), 0.5) 4%, rgba(var(--paper-rgb), 0) 11%);
}
.hero .head { position: absolute; left: var(--gut); bottom: clamp(56px, 12vh, 120px); width: var(--col); }
.label { display: flex; align-items: baseline; gap: 14px; margin-bottom: 20px; font-family: var(--latin); color: var(--sub); line-height: 1; }
.label::before { content: ""; align-self: center; width: 26px; height: 1px; background: var(--red); }
.label span { display: none; }   /* 見出しの上の英字は出さない。朱の線だけ残す（世界観をそろえる） */
.hero h1 { font-weight: 500; font-size: clamp(24px, 2vw, 30px); letter-spacing: 0.34em; line-height: 1.8; }
.hero .lead { margin-top: 26px; font-size: 15px; line-height: 2.3; letter-spacing: 0.1em; }
.crumb { margin-top: 30px; font-size: 12.5px; letter-spacing: 0.16em; color: var(--sub); line-height: 1; }
.crumb a { position: relative; }
.crumb a::after { content: "／"; margin: 0 0.6em; color: var(--line); }
.hero.plain { height: auto; min-height: 0; padding: calc(170px + env(safe-area-inset-top, 0px)) 0 30px; }
.hero.plain .head { position: static; margin-left: var(--gut); width: auto; max-width: var(--text); }

/* ---- 本文 ---- */
main { position: relative; z-index: 1; }
.sec { padding: clamp(70px, 11vh, 120px) var(--gut) 0; }
.sec + .sec { margin-top: clamp(10px, 2vh, 20px); }
.sec > .inner { max-width: 980px; }
.sec h2 { font-weight: 500; font-size: clamp(20px, 1.62vw, 24px); letter-spacing: 0.3em; line-height: 1.9; margin-bottom: 26px; }
.sec h2.big { font-size: clamp(22px, 2vw, 28px); letter-spacing: 0.26em; line-height: 2; }
.prose { max-width: var(--text); }
.prose p { font-size: 15.5px; line-height: 2.4; letter-spacing: 0.1em; }
.prose p + p { margin-top: 1.4em; }
.prose .note { font-size: 13.5px; color: var(--sub); line-height: 2.1; }
.rule { height: 1px; background: var(--line); border: 0; margin: clamp(70px, 11vh, 120px) var(--gut) 0; max-width: 980px; }

/* 番号つきの並び（大切にする5つ、事業の特徴など） */
.points { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 clamp(30px, 4vw, 64px); border-top: 1px solid var(--line); max-width: 980px; }
.points li { padding: 26px 0 28px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 2.6em 1fr; align-content: start; }
.points .n { font-family: var(--latin); font-size: 15px; color: var(--sub); line-height: 1.9; letter-spacing: 0.06em; }
.points h3 { font-weight: 500; font-size: 16px; letter-spacing: 0.18em; line-height: 1.9; }
.points p { grid-column: 2; margin-top: 8px; font-size: 14px; line-height: 2.1; letter-spacing: 0.07em; color: var(--sub); }

/* 事業の3つ */
.svc { border-top: 1px solid var(--line); max-width: 980px; }
.svc > li { padding: clamp(40px, 6vh, 64px) 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 0 clamp(30px, 5vw, 80px); }
.svc .t .n { font-family: var(--latin); font-size: 15px; color: var(--sub); letter-spacing: 0.06em; }
.svc .t h3 { margin-top: 6px; font-weight: 500; font-size: clamp(19px, 1.5vw, 22px); letter-spacing: 0.2em; line-height: 1.8; }
.svc .t .e { display: none; }   /* 英字の添え書きは出さない */
.svc .d p { font-size: 15px; line-height: 2.3; letter-spacing: 0.08em; }
.svc .d p + p { margin-top: 1.2em; }
.svc .feat { margin-top: 26px; border-top: 1px solid var(--line); }
.svc .feat li { padding: 14px 0 13px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 2.4em 1fr; }
.svc .feat .n { font-family: var(--latin); font-size: 14px; color: var(--sub); line-height: 1.9; }
.svc .feat b { font-weight: 500; font-size: 14.5px; letter-spacing: 0.14em; line-height: 1.9; }
.svc .feat span.x { grid-column: 2; font-size: 13.5px; color: var(--sub); line-height: 2; letter-spacing: 0.06em; margin-top: 4px; }
.svc .soon { display: inline-block; margin-top: 10px; font-size: 14px; letter-spacing: 0.1em; color: var(--sub); }

/* 表（会社概要、会期と会場） */
.table { max-width: 880px; border-top: 1px solid var(--line); }
.table > div { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 0 24px; padding: 18px 0 17px; border-bottom: 1px solid var(--line); }
.table dt { font-size: 13.5px; letter-spacing: 0.2em; color: var(--sub); line-height: 2; }
.table dd { font-size: 15px; letter-spacing: 0.08em; line-height: 2; }
.table dd span { display: block; }

/* 実績 */
.works { max-width: 980px; border-top: 1px solid var(--line); }
.works > li { padding: clamp(36px, 5vh, 56px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.works .date { font-family: var(--latin); font-size: 14px; color: var(--sub); letter-spacing: 0.06em; line-height: 1; }
.works h3 { margin-top: 12px; font-weight: 500; font-size: clamp(17px, 1.35vw, 20px); letter-spacing: 0.14em; line-height: 1.9; }
.works .body { margin-top: 16px; max-width: var(--text); }
.works .body p { font-size: 15px; line-height: 2.3; letter-spacing: 0.08em; }
.works .body p + p { margin-top: 0.9em; }
.works .meta { margin-top: 18px; max-width: var(--text); font-size: 14px; line-height: 2.1; letter-spacing: 0.08em; }
.works .meta div { display: grid; grid-template-columns: 4em 1fr; }
.works .meta dt { color: var(--sub); }
.list13 { margin-top: 22px; max-width: 880px; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 0 40px; border-top: 1px solid var(--line); }
.list13 li { padding: 13px 0 12px; border-bottom: 1px solid var(--line); }
.list13 b { display: block; font-weight: 500; font-size: 14.5px; letter-spacing: 0.1em; line-height: 1.8; }
.list13 span { display: block; font-size: 13px; color: var(--sub); letter-spacing: 0.06em; line-height: 1.9; }
.out { display: inline-flex; align-items: center; gap: 12px; margin-top: 20px; font-size: 14px; letter-spacing: 0.16em; line-height: 1.6; position: relative; }
.out::after { content: ""; width: 30px; height: 1px; background: currentColor; transition: width 0.6s var(--ease); }
.out:hover { color: var(--red); }
.out:hover::after { width: 46px; }

/* お知らせ */
.news { max-width: 880px; border-top: 1px solid var(--line); }
.news a { display: grid; grid-template-columns: 6.4em 1fr; align-items: baseline; padding: 18px 0 17px; border-bottom: 1px solid var(--line); }
.news time { font-family: var(--latin); font-size: 15px; letter-spacing: 0.06em; color: var(--sub); line-height: 1.6; font-variant-numeric: lining-nums; }
.news span { font-size: 15px; line-height: 1.9; letter-spacing: 0.08em; transition: color 0.3s; }
.news i { font-style: normal; display: inline-block; }
.news a:hover span { color: var(--red); }
.empty { font-size: 14.5px; color: var(--sub); letter-spacing: 0.1em; line-height: 2.2; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); max-width: 880px; }
.article { max-width: var(--text); }
.article time { font-family: var(--latin); font-size: 15px; color: var(--sub); letter-spacing: 0.06em; }
.article h2 { margin-top: 12px; }
.article p { font-size: 15.5px; line-height: 2.4; letter-spacing: 0.08em; }
.article p + p { margin-top: 1.1em; }
.article .meta { margin-top: 24px; border-top: 1px solid var(--line); }
.article .meta div { display: grid; grid-template-columns: 4em 1fr; padding: 12px 0 11px; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 2; letter-spacing: 0.08em; }
.article .meta dt { color: var(--sub); }
.back { display: inline-flex; align-items: center; gap: 16px; margin-top: 44px; font-size: 14px; letter-spacing: 0.22em; line-height: 1; padding: 8px 0; }
.back::before { content: ""; width: 40px; height: 1px; background: currentColor; transition: width 0.6s var(--ease), background-color 0.3s; }
.back:hover::before { width: 64px; background: var(--red); }

/* 採用：流れ */
.flow { max-width: 880px; border-top: 1px solid var(--line); counter-reset: s; }
.flow li { display: grid; grid-template-columns: 6em minmax(0, 1fr); gap: 0 24px; padding: 22px 0 21px; border-bottom: 1px solid var(--line); }
.flow .s { font-family: var(--latin); font-size: 14px; color: var(--sub); letter-spacing: 0.06em; line-height: 1.9; }
.flow b { font-weight: 500; font-size: 15px; letter-spacing: 0.16em; line-height: 1.9; }
.flow p { grid-column: 2; margin-top: 4px; font-size: 12.5px; color: var(--sub); line-height: 2; letter-spacing: 0.06em; }

/* ボタン（線と言葉だけ） */
.more { display: inline-flex; align-items: center; gap: 18px; margin-top: 34px; padding: 8px 0; font-size: 14px; letter-spacing: 0.24em; line-height: 1; }
.more::after { content: ""; width: 46px; height: 1px; background: currentColor; transition: width 0.6s var(--ease), background-color 0.3s; }
.more:hover::after, .more:focus-visible::after { width: 72px; background: var(--red); }

/* ---- フォーム ---- */
.form { max-width: var(--text); }
.form .f { padding: 16px 0 18px; }
.form .lab { display: flex; align-items: baseline; gap: 12px; font-size: 14.5px; letter-spacing: 0.16em; line-height: 1.8; margin-bottom: 8px; }
.form .lab em { font-style: normal; font-size: 12px; letter-spacing: 0.1em; color: #b92d22; }
.form .lab small { font-size: 12px; letter-spacing: 0.1em; color: var(--sub); }
.form input[type=text], .form input[type=email], .form input[type=tel], .form textarea {
  width: 100%; font: inherit; font-size: 16px; letter-spacing: 0.06em; color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid rgba(43, 38, 34, 0.62); border-radius: 0; padding: 10px 2px 9px; line-height: 1.8; transition: border-color 0.3s;
}
.form textarea { min-height: 9.5em; resize: vertical; border: 1px solid rgba(43, 38, 34, 0.62); padding: 12px 14px; margin-top: 4px; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.form input::placeholder, .form textarea::placeholder { color: rgba(43, 38, 34, 0.5); }
.form .choice { display: grid; gap: 0; margin-top: 2px; }
.form .choice label, .form .agree label { display: inline-flex; align-items: center; gap: 14px; font-size: 15px; letter-spacing: 0.1em; line-height: 1.8; cursor: pointer; padding: 8px 0; }
.form input[type=radio], .form input[type=checkbox] { appearance: none; -webkit-appearance: none; width: 19px; height: 19px; margin: 0; border: 1px solid rgba(43, 38, 34, 0.7); background: transparent; display: grid; place-items: center; cursor: pointer; flex: none; }
.form input[type=radio] { border-radius: 50%; }
.form input[type=radio]:checked::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--red); }
.form input[type=checkbox]:checked::after { content: ""; width: 9px; height: 9px; background: var(--red); }
.form input[type=radio]:focus-visible, .form input[type=checkbox]:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; box-shadow: none; }
.form .agree { padding: 24px 0 6px; }
.form .agree a { border-bottom: 1px solid var(--line); white-space: nowrap; }
.form .err { display: block; margin-top: 6px; font-size: 13px; color: #b92d22; letter-spacing: 0.06em; line-height: 1.8; min-height: 0; }
.form .send { margin-top: 30px; display: inline-flex; align-items: center; gap: 22px; font: inherit; font-size: 14.5px; letter-spacing: 0.3em; color: var(--paper); background: var(--ink); border: 0; padding: 18px 36px 18px 40px; cursor: pointer; transition: background-color 0.3s; }
.form .send::after { content: ""; width: 34px; height: 1px; background: currentColor; transition: width 0.6s var(--ease); }
.form .send:hover { background: var(--red); }
.form .send:hover::after { width: 50px; }
.form .send[disabled] { opacity: 0.5; cursor: default; }
.form .status { margin-top: 22px; font-size: 14.5px; line-height: 2.1; letter-spacing: 0.08em; }
.form .status.ok { color: var(--ink); }
.form .status.ng { color: #b92d22; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.checks { max-width: var(--text); margin-bottom: 34px; }
.checks li { position: relative; padding: 8px 0 8px 26px; font-size: 14px; letter-spacing: 0.1em; line-height: 1.9; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 9px; height: 5px; border-left: 1px solid var(--red); border-bottom: 1px solid var(--red); transform: rotate(-45deg); }
.done { max-width: var(--text); padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.done b { display: block; font-weight: 500; font-size: 17px; letter-spacing: 0.2em; line-height: 2; }
.done p { margin-top: 10px; font-size: 14.5px; line-height: 2.2; letter-spacing: 0.08em; color: var(--sub); }

/* ---- お問い合わせへの入口（各ページのおわり） ---- */
.cta { padding: clamp(90px, 14vh, 150px) var(--gut) 0; }
.cta .inner { max-width: 980px; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 0 clamp(30px, 5vw, 80px); align-items: start; }
.cta h2 { font-weight: 500; font-size: clamp(18px, 1.4vw, 21px); letter-spacing: 0.28em; line-height: 2; }
.cta .doors { border-top: 1px solid var(--line); }
.cta .doors li { border-bottom: 1px solid var(--line); }
.cta .doors a { display: block; padding: 20px 0 19px; }
.cta .doors .k { display: flex; align-items: center; justify-content: space-between; font-size: 15px; letter-spacing: 0.22em; line-height: 1.6; transition: color 0.3s; }
.cta .doors .k::after { content: ""; width: 30px; height: 1px; background: currentColor; transition: width 0.6s var(--ease); }
.cta .doors a:hover .k { color: var(--red); }
.cta .doors a:hover .k::after { width: 48px; }
.cta .doors .d { display: block; margin-top: 6px; font-size: 13.5px; line-height: 2; letter-spacing: 0.06em; color: var(--sub); }

/* ---- おわり ---- */
.end { padding: clamp(110px, 16vh, 170px) var(--gut) calc(34px + env(safe-area-inset-bottom, 0px)); }
.foot { position: relative; width: 100%; }
.insta { font-size: 15px; line-height: 2.3; letter-spacing: 0.14em; }
.insta small { display: block; margin-top: 10px; font-size: 12.5px; letter-spacing: 0.1em; color: var(--sub); }
.cols { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: 46px; padding-top: 30px; border-top: 1px solid var(--line); }
.cols:first-child { margin-top: 0; }   /* 上に何も置かないとき（Instagram の文は外した）は、上の余白なしで、線からはじめる */
address { font-style: normal; display: grid; gap: 4px; font-size: 13.5px; line-height: 2; letter-spacing: 0.1em; }
address b { font-weight: 500; font-size: 14px; letter-spacing: 0.3em; margin-bottom: 8px; }
address b .sep { margin: 0 0.35em 0 0.05em; font-family: var(--latin); font-weight: 400; color: var(--sub); letter-spacing: 0; }   /* 社名「日本文藝 | NIHONBUNGEI」の、区切りの線 */
address b .en { font-family: var(--latin); letter-spacing: 0.16em; }
address > span { display: block; padding-left: 3.6em; text-indent: -3.6em; }
address i { font-style: normal; display: inline-block; width: 3.6em; text-indent: 0; color: var(--sub); }
address u { text-indent: 0; text-decoration: none; display: inline-block; }
.foot nav { display: grid; grid-template-columns: repeat(4, auto); gap: 6px clamp(20px, 2.6vw, 44px); font-size: 13.5px; letter-spacing: 0.18em; line-height: 2; }
.foot nav { flex: none; } .foot nav a { white-space: nowrap; }   /* せまい幅でも、メニューの名前は途中で折り返さない（住所のほうが、切れ目で折り返す） */
.foot nav a, .legal a { position: relative; }
.legal { display: flex; gap: 30px; align-items: center; margin-top: 30px; font-size: 12.5px; letter-spacing: 0.14em; color: var(--sub); line-height: 2; }
.legal span { margin-left: auto; font-family: var(--latin); font-size: 13px; letter-spacing: 0.12em; }

/* ---- 静かな登場 ---- */
.js .rise { opacity: 0; transform: translateY(12px); transition: opacity 1.2s ease, transform 1.2s var(--ease); }
.js .rise.in { opacity: 1; transform: none; }
.js .hero .scene img { opacity: 0; transition: opacity 1.6s ease; }
.js .hero .scene img.in { opacity: 1; }

html:not(.has-blog) [data-blog] { display: none !important; }   /* メディア：投稿が1件もないあいだは、メニューに出さない（page.js が has-blog をつける） */

/* ---- 大きな画面 ---- */
@media (min-width: 1700px) {
  :root { --gut: 7.2vw; --col: min(25vw, 540px); --text: 700px; }
  body { font-size: 16px; } .brand { font-size: 14.5px; } .brand .mark { width: 24px; height: 24px; } .nav { font-size: 14.5px; }
  .hero h1 { font-size: 32px; } .prose p, .article p { font-size: 16.5px; } .sec h2 { font-size: 27px; }
}

/* ---- せまい画面（スマートフォン、縦長のタブレット）：上に場面、下に題と文章 ---- */
@media (max-aspect-ratio: 1/1) and (max-width: 1100px), (max-width: 600px) {
  :root { --gut: clamp(24px, 7vw, 44px); }
  body { font-size: 14px; }
  .top { padding: calc(16px + env(safe-area-inset-top, 0px)) var(--gut) 22px; }
  .brand { font-size: 13px; gap: 10px; } .brand .mark { width: 20px; height: 20px; }
  .nav { display: none; }
  .menu-btn { display: block; }
  .hero { height: auto; min-height: 0; overflow: visible; padding-top: calc(70px + env(safe-area-inset-top, 0px)); }
  .hero .scene { position: relative; inset: auto; left: auto; height: min(50vh, 72vw, 520px); }
  .hero .scene img { object-position: 50% 60%; }
  .hero .scene::after { background: linear-gradient(0deg, rgb(var(--paper-rgb)) 0%, rgba(var(--paper-rgb), 0.5) 8%, rgba(var(--paper-rgb), 0) 18%), linear-gradient(180deg, rgb(var(--paper-rgb)) 0%, rgba(var(--paper-rgb), 0.5) 6%, rgba(var(--paper-rgb), 0) 14%); }
  .hero .head { position: static; width: auto; margin: 26px var(--gut) 0; }
  .hero.plain { padding-top: calc(120px + env(safe-area-inset-top, 0px)); }
  .hero.plain .head { margin-top: 0; }
  .hero h1 { font-size: 21px; letter-spacing: 0.3em; }
  .hero .lead { font-size: 14.5px; margin-top: 18px; }
  .sec { padding-top: 64px; }
  .sec h2 { font-size: 18.5px; letter-spacing: 0.26em; margin-bottom: 18px; }
  .sec h2.big { font-size: 20px; }
  .prose p, .article p { font-size: 15px; line-height: 2.15; letter-spacing: 0.07em; }
  .points { grid-template-columns: 1fr; }
  .svc > li { grid-template-columns: 1fr; gap: 18px; padding: 36px 0; }
  .table > div { grid-template-columns: 1fr; gap: 2px; padding: 14px 0 13px; }
  .table dt { font-size: 13px; }
  .news a { grid-template-columns: 1fr; padding: 14px 0 13px; }
  .news time { font-size: 14px; }
  .flow li { grid-template-columns: 1fr; gap: 2px; }
  .flow p { grid-column: 1; }
  .cta { padding-top: 84px; }
  .cta .inner { grid-template-columns: 1fr; gap: 18px; }
  .end { padding-top: 96px; }
  .insta { font-size: 14px; }
  .cols { flex-direction: column; align-items: flex-start; gap: 26px; margin-top: 30px; padding-top: 24px; }
  .foot nav { grid-template-columns: repeat(2, auto); justify-content: start; gap: 0 34px; } .foot nav a { display: block; padding: 7px 0; } .legal a { display: inline-block; padding: 9px 0; }   /* 押しやすく（高さ 約40px） */
  .more, .back, .out { padding-top: 12px; padding-bottom: 12px; }
  .legal { flex-wrap: wrap; gap: 6px 22px; margin-top: 26px; } .legal span { width: 100%; margin: 8px 0 0; }
  .form .send { width: 100%; justify-content: center; }
}
@media (max-aspect-ratio: 1/1) and (min-width: 601px) and (max-width: 1100px) {
  :root { --gut: clamp(44px, 8vw, 84px); }
  .hero .scene { height: min(46vh, 560px); }
}

@media (max-width: 360px) { .brand .sep, .brand .en { display: none; } }   /* とてもせまい画面では「日本文藝」だけ（メニューのボタンと重ならないように） */
/* 2026-12-02 中くらいの幅（小さめのノートパソコン、せまくしたウィンドウ）：メニューの文字が2行に折れないように。
   〜1180px は左上を「日本文藝」だけに、〜900px はメニューをボタン（≡）にする */
.nav a { white-space: nowrap; }
@media (min-width: 901px) and (max-width: 1180px) and (min-aspect-ratio: 1/1) { .brand .sep, .brand .en { display: none; } }
@media (max-width: 900px) { .nav { display: none; } .menu-btn { display: block; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01s !important; transition-delay: 0s !important; }
  .js .rise, .js .hero .scene img { opacity: 1; transform: none; }
}

/* 2026-12-02 持ち主「下のページも、同じように小さくそろえてよ」→ トップの下の段と同じ考えで、ひとまわり小さく
   （見出し PC 16px／スマホ 14.5px、本文 PC 13px／スマホ 12.5px。ページの題は少し大きく） */
.hero h1 { font-size: 18px; letter-spacing: 0.3em; }
.hero .lead { margin-top: 20px; font-size: 13px; line-height: 2.2; }
.crumb { font-size: 11.5px; }
.sec h2 { font-size: 16px; letter-spacing: 0.24em; margin-bottom: 20px; } .sec h2.big { font-size: 17px; }
.prose p, .article p { font-size: 13px; line-height: 2.25; letter-spacing: 0.08em; } .prose .note { font-size: 12px; }
.points .n { font-size: 13px; } .points h3 { font-size: 14px; } .points p { font-size: 12.5px; }
.svc .t .n { font-size: 13px; } .svc .t h3 { font-size: 16px; } .svc .d p { font-size: 13px; line-height: 2.2; }
.svc .feat .n { font-size: 12.5px; } .svc .feat b { font-size: 13px; } .svc .feat span.x { font-size: 12px; } .svc .soon { font-size: 12.5px; }
.table dt { font-size: 12px; } .table dd { font-size: 13px; }
.works .date { font-size: 12.5px; } .works h3 { font-size: 15px; } .works .body p { font-size: 13px; line-height: 2.2; } .works .meta { font-size: 12.5px; }
.list13 b { font-size: 13px; } .list13 span { font-size: 12px; }
.out, .more, .back { font-size: 12.5px; }
.news time { font-size: 12.5px; } .news span { font-size: 13px; } .empty { font-size: 13px; }
.article time { font-size: 12.5px; } .article .meta div { font-size: 12.5px; }
.flow .s { font-size: 12.5px; } .flow b { font-size: 13.5px; } .flow p { font-size: 12px; }
.form .lab { font-size: 13px; } .form .choice label, .form .agree label { font-size: 13.5px; } .form .send { font-size: 13px; } .form .status { font-size: 13px; }
.checks li { font-size: 12.5px; } .done b { font-size: 15px; } .done p { font-size: 13px; }
.cta h2 { font-size: 16px; letter-spacing: 0.24em; } .cta .doors .k { font-size: 13.5px; } .cta .doors .d { font-size: 12px; }
.insta { font-size: 13px; }
@media (min-width: 1700px) {
  .hero h1 { font-size: 20px; } .sec h2 { font-size: 17px; } .prose p, .article p { font-size: 14px; }
}
@media (max-aspect-ratio: 1/1) and (max-width: 1100px), (max-width: 600px) {
  .hero h1 { font-size: 16px; letter-spacing: 0.26em; } .hero .lead { font-size: 12.5px; margin-top: 14px; }
  .sec h2 { font-size: 14.5px; margin-bottom: 14px; } .sec h2.big { font-size: 15px; }
  .prose p, .article p { font-size: 12.5px; line-height: 2.05; letter-spacing: 0.06em; }
  .svc .t h3 { font-size: 14.5px; } .svc .d p { font-size: 12.5px; line-height: 2.05; }
  .table dd { font-size: 12.5px; } .works .body p { font-size: 12.5px; } .news span { font-size: 12.5px; } .news time { font-size: 12px; }
  .cta h2 { font-size: 14.5px; } .insta { font-size: 12.5px; }
}

/* 2026-12-02 実績紹介：会場の写真（1展4枚。持ち主「3枚だとバランス悪い」）と、展覧会ごとの Instagram（持ち主「必ずInstagramいれてよ」） */
.works .shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 24px; max-width: 980px; }
.works .shots figure { margin: 0; }
.works .shots img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: #f1efeb; }
.works .ig { display: inline-flex; align-items: baseline; gap: 10px; margin-top: 14px; font-size: 12.5px; letter-spacing: 0.14em; line-height: 1.6; transition: color 0.3s; }
.works .ig small { font-family: var(--latin); font-size: 12.5px; letter-spacing: 0.04em; color: var(--sub); transition: color 0.3s; }
.works .ig:hover, .works .ig:focus-visible, .works .ig:hover small { color: var(--red); }
.works .out + .ig { margin-left: 32px; }
.list13 .ig { display: inline-flex; margin-top: 2px; font-size: 12px; } .list13 .ig small { font-size: 12px; }
@media (max-aspect-ratio: 1/1) and (max-width: 1100px), (max-width: 600px) {
  .works .shots { grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 18px; }
  .works .out + .ig { display: flex; margin-left: 0; }
}