/* 敷島書店サイト — 追加の装飾（全ページ共通の"お洒落"レイヤー） */

html{scroll-behavior:smooth}

/* カードのホバー：やわらかく浮き上がる */
.card,.flow-step,.stat,.plan{transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease}
.card:hover,.flow-step:hover{transform:translateY(-4px);box-shadow:0 18px 40px -20px rgba(20,30,50,.26);border-color:#cbd4dd}
.stat:hover{transform:translateY(-3px);box-shadow:0 16px 36px -20px rgba(20,30,50,.22)}
.plan:hover{transform:translateY(-6px);box-shadow:0 26px 52px -22px rgba(20,30,50,.30)}

/* 画像カード：ホバーでゆっくりズーム */
.imgcard{overflow:hidden}
.imgcard .ph{transition:transform .5s ease}
.imgcard:hover .ph{transform:scale(1.05)}

/* スクロールで浮かび上がる（agency.js が .reveal/.in を付与。JS無効時は素の表示） */
.reveal{opacity:0;transform:translateY(16px);transition:opacity .55s ease, transform .55s ease}
.reveal.in{opacity:1;transform:none}

/* 写真バンドの見出しに、うっすら質感 */
.photoband{background-attachment:scroll}

/* ナビ：中央から左右に開く下線（墨黒・spring）。現在地の朱下線は廃止 */
.links a{position:relative}
.links a::after{content:"";position:absolute;left:0;right:0;bottom:-5px;height:1.5px;background:#141414;transform:scaleX(0);transform-origin:center;transition:transform .3s var(--sp-out,ease)}
.links a:hover::after,.links a.on::after{transform:scaleX(1)}
.links a.on{text-decoration:none!important}

/* ヒーロー：見出しがふわっと登場 */
@keyframes fadeUp{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
.hero-copy>*{opacity:0;animation:fadeUp .6s cubic-bezier(.2,.6,.2,1) forwards}
.hero-copy>*:nth-child(1){animation-delay:.05s}
.hero-copy>*:nth-child(2){animation-delay:.13s}
.hero-copy>*:nth-child(3){animation-delay:.21s}
.hero-copy>*:nth-child(4){animation-delay:.29s}
.hero-copy>*:nth-child(5){animation-delay:.37s}
.hero-copy>*:nth-child(6){animation-delay:.45s}
.hero-shot{opacity:0;animation:fadeUp .7s ease .3s forwards}
.page-hero .wrap>*{opacity:0;animation:fadeUp .55s ease forwards}
.page-hero .wrap>*:nth-child(1){animation-delay:.05s}
.page-hero .wrap>*:nth-child(2){animation-delay:.14s}
.page-hero .wrap>*:nth-child(3){animation-delay:.23s}
.page-hero .wrap>*:nth-child(4){animation-delay:.32s}

/* 見出しの下線（朱）・区切りの朱線は使わない */
.hero h1 .hl::after{display:none!important}

/* フッター（見出し付きカラム＋CTA） */
.foot{background:#17181A!important;border-top:1px solid #2c2d30;padding:58px 0 30px}
.foot-cols{display:grid;grid-template-columns:1.7fr 1fr 1.2fr;gap:48px;align-items:start}
.foot-brand{display:block}
.foot-brand .fb-top{display:flex;align-items:center;gap:10px}
.foot-brand .fb-top .logo{width:32px;height:32px}
.foot-brand .fb-top span{font-weight:900;font-size:19px;color:#fff}
.fb-desc{margin:14px 0 20px;font-size:13px;font-weight:400;line-height:1.9;color:#c9d3df;max-width:340px}
.foot-cta{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;font-weight:800;font-size:14px;color:#fff;border:1.5px solid rgba(255,255,255,.5);border-radius:999px;padding:11px 24px;transition:.2s}
.foot-cta:hover{background:#fff;color:#17181A;border-color:#fff}
.foot-col h4{font-size:12px;font-weight:800;letter-spacing:.12em;color:#9aabbf;margin:0 0 16px}
.foot-col a{display:block;color:#eaeff5;font-size:14.5px;font-weight:600;padding:6px 0;transition:color .2s}
.foot-col a:hover{color:#fff;text-decoration:none}
.foot-note{display:block;color:#b3bdca;font-size:13px;padding:5px 0;line-height:1.7}
.foot-bottom{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-top:44px;padding-top:22px;border-top:1px solid rgba(255,255,255,.14);font-size:12.5px;color:#a4b0c0;letter-spacing:.04em}
@media(max-width:760px){.foot-cols{grid-template-columns:1fr;gap:34px}}

/* モーション控えめ設定を尊重 */
@media(prefers-reduced-motion:reduce){
  .hero-copy>*,.hero-shot,.page-hero .wrap>*{opacity:1!important;animation:none!important}
  .reveal{opacity:1!important;transform:none!important}
  html{scroll-behavior:auto}
}

/* アクセシビリティ：キーボード操作時のフォーカス表示 */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible,.btn:focus-visible,.linkbtn:focus-visible{outline:3px solid #2a5aa0;outline-offset:3px;border-radius:5px}

/* FAQ（ネイティブの details でアクセシブルに） */
.faqlist{max-width:820px;margin:34px auto 0;text-align:left}
.faqlist details{background:#fff;border:1px solid var(--line);border-radius:12px;margin-bottom:12px;overflow:hidden;transition:box-shadow .2s}
.faqlist details[open]{box-shadow:0 14px 32px -20px rgba(20,30,50,.28)}
.faqlist summary{cursor:pointer;list-style:none;padding:18px 22px;font-weight:800;font-size:15px;color:var(--ink);display:flex;justify-content:space-between;align-items:center;gap:14px}
.faqlist summary::-webkit-details-marker{display:none}
.faqlist summary::after{content:"+";font-size:20px;line-height:1;color:var(--blue);font-weight:900}
.faqlist details[open] summary::after{content:"\2212"}
.faqlist .a{padding:0 22px 20px;font-size:14px;color:var(--ink2);line-height:1.85}

/* お客様の声 */
.voices{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:32px;text-align:left}
.voice{background:#fff;border:1px solid var(--line);border-radius:14px;padding:26px 24px;transition:transform .22s ease,box-shadow .22s ease}
.voice:hover{transform:translateY(-4px);box-shadow:0 18px 40px -20px rgba(20,30,50,.24)}
.voice .q{font-size:15px;color:var(--ink);line-height:1.9;font-weight:600;margin:0}
.voice .who{margin-top:16px;font-size:13px;color:var(--muted);font-weight:700;border-top:1px solid var(--line);padding-top:12px}
@media(max-width:760px){.voices{grid-template-columns:1fr}}

/* ==========================================================================
   Apple流フルイド・モーションレイヤー
   応答=押した瞬間 / spring系イージング / 半透明ナビの追従 / スタッガー登場
   ※momentumの無い登場は跳ねさせず critically-damped（跳ねはボタン押下のみ）
   ========================================================================== */
:root{
  --sp-out:cubic-bezier(.16,1,.3,1);    /* 減速・臨界ダンピング相当（跳ねない） */
  --sp-soft:cubic-bezier(.22,1,.36,1);  /* やわらかい減速 */
  --sp-press:cubic-bezier(.4,0,.2,1);   /* 押下の戻り */
  /* styles.css明朝ブロックが--blueを藍#17325aに再定義しているのを墨黒へ戻す。
     料金プランのリング/バッジ/相談ボタン等の紺色を一括でモノトーン化 */
  --blue:#141414; --blue-d:#3a3a3a;
}

/* 1) 応答：押した瞬間に反応（pointer-down / :active・§1,§4） -------------- */
.btn,.linkbtn,.foot-cta,.nav-cta a,.faqlist summary{
  transition:transform .2s var(--sp-out),background-color .2s ease,color .2s ease,border-color .2s ease,box-shadow .2s var(--sp-out);
  -webkit-tap-highlight-color:transparent;touch-action:manipulation;
}
.btn:hover{transform:translateY(-1px)}
.btn:active,.linkbtn:active,.foot-cta:active,.nav-cta a:active{
  transform:scale(.955);transition-duration:.08s;transition-timing-function:var(--sp-press);
}
/* リンクボタンの矢印はホバーで前進（既存）、押下は全体で沈む */
.linkbtn:active .arw{transition:none}

/* 2) ホバーの浮きをspring化（既存カーブを上書き・§4） ------------------- */
.card,.flow-step,.stat,.plan,.voice,.imgcard,.imgcard .ph{
  transition:transform .34s var(--sp-out),box-shadow .34s var(--sp-out),border-color .34s var(--sp-out);
  will-change:transform;
}
.imgcard .ph{transition:transform .6s var(--sp-soft)}

/* 3) 登場：spring減速＋わずかに大きめの初期オフセット（跳ねない・§8） --- */
/* 既定の出現＝軽い浮き上がりフェード。各要素はスクロールで画面に入った時に個別発火 */
.reveal{opacity:0;transform:translateY(18px);transition:opacity .55s var(--sp-out),transform .6s var(--sp-out);will-change:transform,opacity}
.reveal.in{opacity:1;transform:none}

/* ズームイン（拡大）はカード全般（.card）と料金プラン（.plan）に適用。
   stat・比較表(.cmp)など非カード要素は既定の浮き上がりのまま */
.card.reveal,.plan.reveal{transform:scale(.93);transition:opacity .55s var(--sp-out),transform .7s var(--sp-out)}
.card.reveal.in,.plan.reveal.in{transform:none}

/* 4) 半透明ナビ：追従・スクロールエッジ（§12） ------------------------- */
.nav{
  transition:transform .42s var(--sp-out),background-color .3s ease,box-shadow .3s ease,border-color .3s ease,backdrop-filter .3s ease;
  will-change:transform;
}
.nav.scrolled{
  background:rgba(255,255,255,.72)!important;
  -webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);
  border-bottom-color:rgba(20,20,20,.10)!important;
  box-shadow:0 1px 0 rgba(20,20,20,.04),0 10px 30px -20px rgba(20,30,50,.35);
}
.nav.nav-hide{transform:translateY(-102%)}

/* 5) FAQ：開閉を滑らかに（回転する＋／−、答えのフェードイン・§4） ------ */
.faqlist summary::after{transition:transform .3s var(--sp-out),content 0s}
.faqlist details[open] summary::after{content:"+";transform:rotate(45deg)}
@keyframes faqReveal{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
.faqlist details[open] .a{animation:faqReveal .34s var(--sp-out)}

/* 6) reduced-motion：新モーションも無効化しopacity中心の代替に（§14） --- */
@media(prefers-reduced-motion:reduce){
  .btn,.linkbtn,.foot-cta,.nav-cta a,.card,.flow-step,.stat,.plan,.voice,.imgcard,.imgcard .ph,.nav{transition:background-color .2s ease,color .2s ease,box-shadow .2s ease!important}
  .btn:hover,.btn:active,.linkbtn:active,.foot-cta:active,.nav-cta a:active,.card:hover,.flow-step:hover,.stat:hover,.plan:hover,.voice:hover,.imgcard:hover .ph{transform:none!important}
  .nav.nav-hide{transform:none!important}
  .faqlist details[open] .a{animation:none!important}
  .reveal{transition:opacity .35s ease!important;transform:none!important;transition-delay:0ms!important}
}

/* ==========================================================================
   参照移植レイヤー（博報堂／電通 2026-08-24 取得）
   ①チャコール黒クローム（電通）②余白拡張＋斜め微テクスチャ（電通）
   ※ヒーローの円形写真・アイボリー地は index.html インラインに実装
   ========================================================================== */

/* ①クローム：フッターはチャコール黒（電通型）だが、CTA帯まで黒だと下部が黒ベタ
   になり重い。CTA（資料請求）はヒーローと同じアイボリー明地にして黒を締めだけに。 */
.cta-band{background-color:#F7F4EE!important;border-top:1px solid var(--line)}
/* アイボリー地の裏に「資料（紙もの）」画像を薄く敷く。上下は端でフェード */
.cta-band::before{
  content:""!important;display:block!important;position:absolute!important;inset:0!important;z-index:0!important;
  background:url(../assets/photo-desk.jpg) center/cover no-repeat!important;
  filter:grayscale(1) contrast(1.03)!important;opacity:.16!important;
  -webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 24%,#000 76%,transparent 100%)!important;
          mask-image:linear-gradient(to bottom,transparent 0,#000 24%,#000 76%,transparent 100%)!important;
}
.cta-band h2{color:#141414!important}
.cta-band p{color:#5a5a5a!important}
.cta-band .btn.white{background:#141414!important;color:#fff!important} /* 明地で映える濃ボタン */
.cta-band .btn.white:hover{background:#000!important}
.cta-band .btn.outline{color:#141414!important;border-color:#141414!important;background:transparent!important}
.cta-band .btn.outline:hover{background:rgba(20,20,20,.06)!important}
/* フッターのライトグレー文字はチャコール上でも可読（微調整） */
.foot-col a{color:#e7e9ec}
.foot-col a:hover{color:#fff}
.fb-desc,.foot-note{color:#b9bcc2}
.foot-bottom{color:#9a9da3;border-top-color:rgba(255,255,255,.12)}
.foot-col h4{color:#8b8e95}

/* ②余白拡張：セクション上下をゆったり（電通の深呼吸する余白） ------------- */
.sec{padding:96px 0}
.features,.schools{padding:104px 0}
.cta-band{padding:92px 0}
.photoband{padding:64px 0}
@media(max-width:760px){
  .sec{padding:64px 0}
  .features,.schools{padding:68px 0}
  .cta-band{padding:64px 0}
}

/* グレー面（斜めテクスチャは削除・単色に） */
.sec.alt,.features,.schools{background-color:var(--soft)}

/* ==========================================================================
   モーション強化（Apple流：spring / 割り込み可 / reduced-motion尊重）
   ①ヒーロー円のリビール＋パララックス ②見出しマスク登場 ③キーワード帯
   ========================================================================== */

/* ①ヒーロー：円が中心から開いて順に登場。clip-pathで開くのでtransformは
   パララックス（agency.jsがpointerで付与）に温存する */
.hero-shot{opacity:1!important;animation:none!important} /* 既存fadeUpのopacity:0残留を解消 */
@keyframes circReveal{
  from{opacity:0;clip-path:circle(0% at 50% 50%)}
  to{opacity:1;clip-path:circle(50% at 50% 50%)}
}
.hero-photos img{clip-path:circle(50% at 50% 50%);animation:circReveal .85s var(--sp-out) both}
.hero-photos img:nth-child(1){animation-delay:.12s}
.hero-photos img:nth-child(2){animation-delay:.24s}
.hero-photos img:nth-child(3){animation-delay:.36s}
.hero-photos img:nth-child(4){animation-delay:.48s}
.hero-photos img:nth-child(5){animation-delay:.60s}
.hero-photos img:nth-child(6){animation-delay:.72s}

@media(prefers-reduced-motion:reduce){
  .hero-photos img{animation:none!important;clip-path:circle(50% at 50% 50%)!important;opacity:1!important}
}

/* 「選ばれる理由」カードの見出し左隣に、ふつうのチェック（墨黒） */
.reasons .card h3{display:flex;align-items:baseline;gap:.4em}
.reasons .card h3::before{content:"✓";flex:none;color:#141414;font-weight:900;font-size:.92em}

/* 「こんなお悩み」カードの見出し左隣に△（墨黒・悩みの印） */
.problems .card h3{display:flex;align-items:baseline;gap:.4em}
.problems .card h3::before{content:"△";flex:none;color:#141414;font-weight:900;font-size:.92em}

/* ブランド名右肩の朱の角印（落款）を非表示（モノトーン維持） */
.brand .bname::after{display:none!important}

/* statカード：等高ストレッチをやめ内容にフィット＋余白を詰める（下の空き解消） */
.stats{align-items:start}
.stat{padding:18px 22px}
/* 数字でない語句の値（毎日など）は太くしすぎない */
.stat .v.word{font-weight:800!important;-webkit-text-stroke:0!important;letter-spacing:0!important}


/* ==========================================================================
   モバイル作り込み（<=900px）
   ========================================================================== */
@media(max-width:900px){
  /* ナビ＝アコーディオン型（styles.cssの絶対配置offsetを廃止し、下に展開） */
  .nav.open .nav-in{flex-wrap:wrap;height:auto;align-items:center;row-gap:0}
  .nav.open .links{position:static;order:3;flex:0 0 100%;display:flex;flex-direction:column;gap:0;
    margin:6px -24px 0;padding:2px 24px 0;background:#fff;border-top:1px solid var(--line);border-bottom:none}
  .nav.open .links a{padding:16px 2px;font-size:16px;border-bottom:1px solid var(--line)}
  .nav.open .links a::after{display:none} /* 下線アニメはメニューでは無効 */
  .nav.open .nav-cta{position:static;order:4;flex:0 0 100%;display:flex;margin:12px 0 8px;padding:0}
  .nav.open .nav-cta .btn{width:100%;padding:14px;font-size:15px;border-radius:12px}
  .burger{font-size:24px;padding:6px;line-height:1}

  /* セクション余白をモバイルで詰める */
  .sec{padding:52px 0}
  .features,.schools{padding:56px 0}
  .cta-band{padding:52px 0}
  .photoband{min-height:240px}

  /* ヒーロー：左右間隔・ボタン全幅 */
  .hero .hero-in{gap:22px}
  .hero-btns{flex-direction:column;gap:10px}
  .hero-btns .btn{width:100%}
  .trust{gap:6px 16px}

  /* 比較表：横スクロール（最小幅を確保してつぶれ防止） */
  .cmp{position:relative;-webkit-overflow-scrolling:touch}
  .cmp table{min-width:560px}
  /* 会社概要テーブルはモバイルで縦積み */
  .corp tr{display:block;border-bottom:1px solid var(--line);padding:10px 0}
  .corp th{display:block;width:auto;padding:0 0 2px;font-size:12px;color:var(--muted)}
  .corp td{display:block;padding:0}

  /* 見出しの過大化を抑える */
  h2{font-size:26px}
  .page-hero h1{font-size:30px}
}
@media(max-width:560px){
  .wrap{padding:0 18px}
  h2{font-size:23px}
  .sec-lead,.lead{font-size:15px}
}


/* ===== ロゴ差し替え（日と水平線 2026-09-07） ===== */
.brand{align-items:center;gap:12px}
.brand .logo{width:auto!important;height:30px!important;border-radius:0!important}
.brand .bwrap{display:flex;flex-direction:column;line-height:1}
.brand .ben{font-family:var(--gothic);font-size:8px;font-weight:500;letter-spacing:.26em;
  color:#6B6A66;margin-top:6px;white-space:nowrap}
.foot-brand .fb-top{gap:12px}
.foot-brand .fb-top .logo{width:auto!important;height:28px!important;border-radius:0!important}
@media(max-width:640px){
  .brand .logo{height:26px!important}
  .brand .ben{font-size:7px;letter-spacing:.22em;margin-top:5px}
}

/* ロゴはアウトライン化した正式データを1枚で使う（字形・字間を固定） */
.brand .brandmark{height:34px;width:auto;display:block}
.foot-brand .fb-top .brandmark{height:30px;width:auto;display:block}
@media(max-width:640px){.brand .brandmark{height:28px}}


/* ===== ロゴを大きく（2026-09-07） ===== */
.nav-in{height:84px!important}
.brand .brandmark{height:48px!important}
.foot-brand .fb-top .brandmark{height:68px!important}
@media(max-width:900px){
  .nav-in{height:72px!important}
  .brand .brandmark{height:40px!important}
  .foot-brand .fb-top .brandmark{height:52px!important}
}
@media(max-width:640px){
  .nav-in{height:64px!important}
  .brand .brandmark{height:34px!important}
  .foot-brand .fb-top .brandmark{height:46px!important}
}


/* ===================================================================
   角をゼロに（2026-09-07）
   ロゴが直線と円だけで出来ているため、写真とカードの角丸だけを外す。
   書体・色・記号などその他のデザインは元のまま。
   =================================================================== */
/* 写真とカードだけ角をゼロに。ボタン類は丸のまま */
/* 写真まわりだけ角ゼロ。料金・数値・声・フローのカードは元の丸角に戻す */
.card,.imgcard,.imgcard .ph,.hero-shot,.photoband img{
  border-radius:0!important;
}

/* フッター：ロゴ・説明・ボタンの間を空ける */
.foot-brand .fb-top{margin-bottom:0!important}
.foot-brand .fb-desc{margin:26px 0 30px!important;line-height:2!important}
.foot-brand .foot-cta{margin-top:4px}
@media(max-width:900px){
  .foot-brand .fb-desc{margin:20px 0 24px!important}
}


/* ===================================================================
   ヒーロー：全面写真（2026-09-07 採用案）
   写真は墨に沈め、左と下に暗を差し込む。文字は生成り。朱は目印の点のみ。
   =================================================================== */
.hero.hero-full{position:relative;padding:0!important;overflow:hidden;background:#17181D;
  min-height:min(84vh,720px);border-top:0!important}
.hero-full .hero-bg{position:absolute;inset:0;z-index:0}
.hero-full .hero-bg img{width:100%;height:100%;object-fit:cover;object-position:50% 50%;
  filter:saturate(.82) contrast(1.03) brightness(.97) sepia(.12)}
.hero-full .hero-scrim{position:absolute;inset:0;z-index:1;background:
  linear-gradient(to top,rgba(20,14,10,.68) 0 16%,rgba(20,14,10,.2) 40%,rgba(20,14,10,0) 64%),
  linear-gradient(to bottom,rgba(20,14,10,.14) 0 4%,rgba(20,14,10,.04) 16%,rgba(20,14,10,0) 30%),
  linear-gradient(to right,rgba(20,14,10,.4) 0 22%,rgba(20,14,10,0) 56%)}
.hero-full .hero-in{position:relative;z-index:2;display:flex!important;flex-direction:column;
  justify-content:space-between;min-height:min(84vh,720px);
  padding-top:62px!important;padding-bottom:56px!important;grid-template-columns:none!important;gap:0!important}

.hero-full .eyebrow{color:#EFEBE1!important;letter-spacing:.24em!important}
.hero-full .eyebrow::before{width:11px!important;height:11px!important;border-radius:50%!important;
  background:var(--accent)!important}
.hero-full h1{font-family:var(--mincho)!important;font-weight:800!important;
  font-size:clamp(34px,5.4vw,70px)!important;line-height:1.34!important;letter-spacing:.08em!important;
  color:#F7F4EC!important;margin-top:22px}
.hero-full h1 .hl{color:#F7F4EC!important}
.hero-full h1 .hl::after{display:none!important}
.hero-full .tagline{color:#DCD7CC!important;font-size:17px;letter-spacing:.06em;margin-top:20px}

.hero-full .hero-bot{display:flex;align-items:flex-end;justify-content:space-between;gap:48px;flex-wrap:wrap}
.hero-full .hero-txt{max-width:520px}
.hero-full .lead{color:#C9C4B9!important;font-size:15.5px;line-height:2.0;margin:0;max-width:520px}
.hero-full .lead b{color:#F0ECE2;font-weight:700}
.hero-full .trust{display:flex;gap:22px;flex-wrap:wrap;margin:18px 0 0;padding:0;list-style:none}
.hero-full .trust li{font-size:12px;font-weight:700;color:#CFCABF;letter-spacing:.04em}
.hero-full .hero-btns{display:flex;gap:11px;margin:0}
.hero-full .btn.primary{background:#F5F1E8!important;color:#17181D!important;border-color:#F5F1E8!important}
.hero-full .btn.ghost{border-color:rgba(245,241,232,.62)!important;color:#F5F1E8!important;background:transparent!important}

@media(max-width:900px){
  .hero.hero-full,.hero-full .hero-in{min-height:auto}
  .hero-full .hero-in{padding-top:44px!important;padding-bottom:40px!important;gap:52px!important}
  .hero-full .hero-scrim{background:linear-gradient(to bottom,rgba(20,14,10,.72),rgba(20,14,10,.86))}
  .hero-full .hero-bot{flex-direction:column;align-items:flex-start;gap:26px}
  .hero-full .tagline{font-size:15px}
  .hero-full .lead{font-size:14.5px}
}

/* 上ブロックを左揃えに固定（既存のセンター寄せを打ち消す） */
.hero-full .hero-in,.hero-full .hero-top,.hero-full .hero-top *,
.hero-full .hero-bot,.hero-full .hero-txt{text-align:left!important}
.hero-full .hero-top{align-self:flex-start;max-width:900px}
.hero-full .eyebrow{justify-content:flex-start!important}

/* スマホ：ヒーロー本文のはみ出しを防ぐ */
.hero-full .hero-txt{min-width:0}
@media(max-width:900px){
  .hero-full .hero-txt,.hero-full .lead{max-width:100%!important;width:100%}
  .hero-full .trust{gap:10px 18px}
  .hero-full .trust li{font-size:11.5px}
  .hero-full .hero-btns{width:100%}
  .hero-full .hero-btns .btn{flex:1;text-align:center}
}

/* 比較表が min-width:560px でページ全体を広げていた（スマホ横スクロールの原因）
   表だけを横スクロールさせ、ページ本体は広げない */
.cmp{overflow-x:auto!important;min-width:0!important;max-width:100%!important;-webkit-overflow-scrolling:touch}

/* ---- ヒーロー微調整（2026-09-07） ---- */
/* 目印を赤丸から傍線へ */
.hero-full .eyebrow::before{width:30px!important;height:1.5px!important;border-radius:0!important;
  background:var(--accent)!important}
/* 中央に寄りすぎていたので、版面を広げて左右の端に近づける */
.hero-full .hero-in{max-width:none!important;width:100%!important;padding-left:clamp(24px,4.5vw,84px)!important;padding-right:clamp(24px,4.5vw,84px)!important}
/* 画面の高さいっぱいに。下に次のセクションの白が覗かないようにする */
.hero.hero-full{min-height:calc(100vh - 84px)}
.hero-full .hero-in{min-height:calc(100vh - 84px)}
@supports(height:100svh){
  .hero.hero-full,.hero-full .hero-in{min-height:calc(100svh - 84px)}
}
@media(max-width:900px){
  .hero-full .hero-in{max-width:100%!important;padding-left:24px!important;padding-right:24px!important}
  .hero.hero-full,.hero-full .hero-in{min-height:calc(100svh - 68px)}
}

/* 下ブロックも版面いっぱいに（.hero-in の align-items:center を打ち消す） */
.hero-full .hero-in{align-items:stretch!important}
.hero-full .hero-bot{align-self:stretch!important;width:100%!important;margin:0!important}
.hero-full .hero-top{align-self:stretch!important;width:100%!important}

/* 一行（tagline）の太さを落とす */
.hero-full .tagline{font-weight:500!important;letter-spacing:.08em!important;color:#E4DFD4!important}

/* ===================================================================
   先生インタビュー（取材記事）
   =================================================================== */
/* 一覧 */
.vlist{display:grid;grid-template-columns:repeat(2,1fr);gap:28px}
@media(max-width:820px){.vlist{grid-template-columns:1fr}}
.vcard{display:block;color:inherit;text-decoration:none;background:#fff;border:1px solid var(--line);
  transition:box-shadow .2s ease,transform .2s ease}
.vcard:hover{box-shadow:0 10px 30px rgba(20,20,20,.08);transform:translateY(-2px)}
.vcard .ph{aspect-ratio:16/10;overflow:hidden;background:#eee}
.vcard .ph img{width:100%;height:100%;object-fit:cover;display:block}
.vcard .bd{padding:24px 26px 26px}
.vcard .vmeta{display:flex;align-items:center;gap:12px;font-size:11px;letter-spacing:.14em;
  font-weight:700;color:#6f6f6f}
.vcard .vmeta .no{color:var(--accent)}
.vcard h3{font-size:20px;line-height:1.6;margin:12px 0 0;letter-spacing:.02em}
.vcard p{font-size:13.5px;line-height:1.95;color:var(--ink2);margin-top:12px}
.vcard .who{margin-top:16px;padding-top:14px;border-top:1px solid var(--line);
  font-size:12px;color:#6f6f6f;letter-spacing:.04em}

/* 記事本文 */
.article{max-width:760px;margin:0 auto}
.article .ameta{display:flex;gap:14px;align-items:center;font-size:11.5px;letter-spacing:.14em;
  font-weight:700;color:#6f6f6f;margin-bottom:18px}
.article .ameta .no{color:var(--accent)}
.article h1{font-size:clamp(26px,3.4vw,38px);line-height:1.6;letter-spacing:.03em;margin:0}
.article .astand{font-size:15px;line-height:2.05;color:var(--ink2);margin-top:22px}
.article .ahero{margin:34px 0 0}
.article .ahero img{width:100%;display:block}
.article .ahero figcaption{font-size:11.5px;color:#8a8a8a;margin-top:10px;letter-spacing:.04em}
.article h2{font-size:21px;line-height:1.7;margin:46px 0 0;letter-spacing:.03em;
  padding-left:16px;border-left:3px solid var(--accent)}
.article p{font-size:15.5px;line-height:2.15;margin-top:20px;letter-spacing:.02em}
.article .q{font-weight:700;margin-top:34px;font-size:15.5px;line-height:2}
.article .q::before{content:"—— ";color:var(--accent)}
.article blockquote{margin:34px 0 0;padding:22px 26px;background:var(--soft);
  font-size:17px;line-height:2;letter-spacing:.02em;font-weight:700}
/* プロフィール */
.aprof{margin-top:44px;border:1px solid var(--line);padding:24px 26px;display:flex;gap:20px;align-items:flex-start}
.aprof .pi{width:64px;height:64px;flex:none;background:var(--soft);overflow:hidden}
.aprof .pi img{width:100%;height:100%;object-fit:cover;display:block}
.aprof .nm{font-weight:800;font-size:15px}
.aprof .tx{font-size:13px;line-height:1.9;color:var(--ink2);margin-top:6px}
/* この記事から分かること */
.apoints{margin-top:40px;border-top:2px solid var(--ink);padding-top:22px}
.apoints .t{font-size:11.5px;letter-spacing:.2em;font-weight:700;color:var(--accent)}
.apoints ul{margin:16px 0 0;padding:0;list-style:none;display:flex;flex-direction:column;gap:12px}
.apoints li{font-size:14.5px;line-height:1.95;padding-left:22px;position:relative}
.apoints li::before{content:"";position:absolute;left:0;top:.72em;width:10px;height:2px;background:var(--ink)}
/* 記事末のCTA */
.acta{margin-top:52px;background:var(--ink);color:#fff;padding:34px 34px 32px}
.acta h3{font-size:20px;letter-spacing:.03em;margin:0;color:#fff}
.acta p{font-size:13.5px;line-height:1.95;color:#c9c9c9;margin-top:12px}
.acta .btns{display:flex;gap:11px;margin-top:22px;flex-wrap:wrap}
.acta .btn.primary{background:#fff!important;color:var(--ink)!important;border-color:#fff!important}
.acta .btn.ghost{background:transparent!important;border-color:rgba(255,255,255,.6)!important;color:#fff!important}

/* ヒーローのボタンのホバーを、CTA帯と同じ挙動にそろえる
   （塗り＝より濃く／線＝うっすら色が差す。暗い地なので明暗を反転して適用） */
.hero-full .btn.primary:hover{background:#fff!important;color:var(--sumi,#17181D)!important;border-color:#fff!important}
.hero-full .btn.ghost:hover{background:rgba(245,241,232,.12)!important;
  border-color:rgba(245,241,232,.85)!important;color:#F5F1E8!important}

/* 記事末のCTAを、サイト共通のCTA帯と同じ見た目にそろえる */
.acta{background:var(--soft)!important;color:var(--ink)!important;border:1px solid var(--line);
  text-align:center;padding:44px 34px 40px!important}
.acta h3{color:var(--ink)!important;font-size:23px}
.acta p{color:var(--ink2)!important;margin-top:12px}
.acta .btns{justify-content:center;margin-top:24px}
.acta .btn.primary{background:#17181d!important;color:#fff!important;border-color:#17181d!important}
.acta .btn.primary:hover{background:#000!important}
.acta .btn.ghost{background:transparent!important;border-color:#17181d!important;color:#17181d!important}
.acta .btn.ghost:hover{background:rgba(20,20,20,.06)!important}

/* CTA帯の背景テクスチャを全ページで効かせる
   （position指定がページ側のインラインにしか無く、voice等で外れていた） */
.cta-band{position:relative!important;overflow:hidden!important}
.cta-band .wrap{position:relative!important;z-index:1!important}

/* 先生の声（取材前）：Coming soon だけを枠の中央に */
.voice.soon{background:var(--soft);border-style:dashed;display:flex;align-items:center;justify-content:center;
  min-height:150px;text-align:center}
.voice.soon span{font-size:16px;font-weight:800;letter-spacing:.1em;color:#a5a096}
/* リンクボタンを画面中央に */
.linkcenter{display:flex;justify-content:center}

/* 記事ヘッダー：写真 → 見出し（左）＋日付（右）→ 話者 → タグ
   見出しは .article h1（サイト共通の h1 = 700）をそのまま使う */
.article .ahero.top{margin:0 0 28px}
.article .hrow{display:grid;grid-template-columns:1fr auto;gap:26px;align-items:baseline}
.article .hrow h1{margin:0}
.article .adate{font-size:13px;color:var(--ink2);white-space:nowrap;margin:0;letter-spacing:.05em}
.article .aby{font-size:13.5px;color:var(--ink2);margin-top:16px;letter-spacing:.02em}
.article .atags{display:flex;flex-wrap:wrap;gap:7px;margin-top:18px}
.article .atags span{font-size:11.5px;color:var(--ink2);border:1px solid var(--line);
  border-radius:999px;padding:4px 12px;line-height:1.5}
@media(max-width:640px){
  .article .hrow{grid-template-columns:1fr;gap:8px}
  .article .adate{order:-1}
}

/* 記事は横幅を広く（760 → 920） */
.article{max-width:920px!important}
@media(max-width:980px){.article{max-width:100%!important}}

/* 記事トップの写真は横長に固定：開いた瞬間に見出しまで入るようにする */
.article .ahero.top{margin:0 0 22px}
.article .ahero.top img{width:100%;height:clamp(240px,42vh,420px);object-fit:cover;object-position:center 35%;display:block}
.article .ahero.top figcaption{margin-top:8px}
.sec.article-sec{padding-top:44px}
@media(max-width:640px){
  .article .ahero.top img{height:clamp(200px,34vh,280px)}
  .sec.article-sec{padding-top:28px}
}

/* 記事一覧の「Coming soon」カード：文言だけを枠の中央に */
.vcard.soon{background:var(--soft);border-style:dashed;pointer-events:none;
  display:flex;align-items:center;justify-content:center;text-align:center;min-height:100%}
.vcard.soon span{font-size:16px;font-weight:800;letter-spacing:.1em;color:#a5a096}

/* ===================================================================
   下層ページの共通ヘッダー（2026-09-12 刷新）
   写真テクスチャ・方眼・隅のカギをやめ、白地に「英字ラベル＋大見出し」だけに。
   全ページ共通（WordPress側も同じCSSなのでテンプレート変更は不要）
   =================================================================== */
.page-hero{background:#fff!important;background-image:none!important;
  padding:48px 0 26px!important;border-top:0!important}
.page-hero::before{display:none!important}
.page-hero .wrap::before,.page-hero .wrap::after{display:none!important}
.page-hero .eyebrow{color:var(--accent)!important;font-size:13px!important;font-weight:700!important;
  letter-spacing:.16em!important;margin-bottom:20px!important;gap:0!important}
.page-hero .eyebrow::before{display:none!important}
.page-hero h1{font-size:35px!important;line-height:1.4;letter-spacing:.02em;margin:0}
.page-hero .lead{font-size:16px!important;color:var(--ink2);line-height:2.15;
  margin-top:24px!important;max-width:900px}
.page-hero+section{border-top:0!important}
.page-hero+.sec{padding-top:0!important}
@media(max-width:900px){.page-hero h1{font-size:29px!important}}
@media(max-width:640px){
  .page-hero{padding:32px 0 16px!important}
  .page-hero h1{font-size:25px!important}
  .page-hero+.sec{padding-top:0!important}
}

/* 会社概要：MISSION / VALUE */
.mvv{max-width:1080px}
.mvv p{font-size:16px;line-height:2.3;color:var(--ink2);margin-top:30px}
.mvv p:first-child{margin-top:28px}
.mvv p.close{color:var(--ink)}
.vals{display:grid;grid-template-columns:repeat(3,1fr);gap:44px;margin-top:46px}
.val{background:none;border:0;border-top:2px solid var(--ink);padding:20px 0 0}
.val .n{font-family:ui-monospace,Menlo,monospace;font-size:12px;letter-spacing:.14em;
  font-weight:700;color:var(--accent)}
.val h3{font-size:23px;margin:18px 0 0;letter-spacing:.005em;line-height:1.4;font-weight:700}
.val .jp{font-size:14px;font-weight:700;color:var(--ink);margin-top:10px}
.val p{font-size:13.5px;line-height:2;color:var(--ink2);margin-top:16px}
/* セクションのタグから通し番号を外す（項目側に番号があるページ用） */
.tag.nonum::before{display:none!important}
.tag.nonum{gap:0!important}
@media(max-width:900px){.vals{gap:34px}.val h3{font-size:20px}}
@media(max-width:900px){.vals{grid-template-columns:1fr}}

/* ヒーローを置かないページの先頭見出し（会社概要）。h2と同じ見え方にする */
.sec h1{font-size:33px;line-height:1.4;letter-spacing:.012em;margin:0}
.sec.lead-sec{padding-top:56px;padding-bottom:56px}
@media(max-width:900px){.sec h1{font-size:26px}}
@media(max-width:640px){.sec h1{font-size:23px}.sec.lead-sec{padding-top:36px;padding-bottom:36px}}

/* 意図した改行は広い画面だけ。狭い画面では自然に折り返す */
@media(max-width:820px){.mvv br{display:none}}

/* トップのヒーローを、ちょうど1画面に収める
   --fill は agency.js が「ヒーローの上端から画面下まで」を測って入れる。
   JSが効かない時は 84vh/720px の従来値にフォールバックする */
.hero.hero-full{min-height:var(--fill,min(84vh,720px))!important}
.hero-full .hero-in{min-height:var(--fill,min(84vh,720px))!important}

/* 1画面ちょうどで終わらせるセクション（私たちについて／MISSION）
   --fill は agency.js が実測して入れる。中身は上下中央に置く */
.sec.fill-screen{min-height:var(--fill,auto);display:flex;align-items:center}
.sec.fill-screen>.wrap{width:100%}
@media(max-width:820px){.sec.fill-screen{min-height:0;display:block}}

/* 蛍光ペン風のマーカー。文字の下6割だけに色を敷く */
.marker{background-image:linear-gradient(transparent 54%,rgba(255,221,87,.88) 54%,rgba(255,221,87,.88) 96%,transparent 96%);
  background-repeat:no-repeat;padding:0 .08em;
  -webkit-box-decoration-break:clone;box-decoration-break:clone}

/* 私たちについて：見出しまわりにも余白を足す */
.sec.lead-sec .tag{margin-bottom:16px}
.sec.lead-sec h1{line-height:1.5}

/* ===================================================================
   一覧カード（ニュース／先生の声で共通）2026-09-12
   枠線付きの写真 → 見出し → 日付 → 分類タグ。カード自体には枠も影も置かない
   =================================================================== */
.plist{display:grid;grid-template-columns:repeat(3,1fr);gap:46px 30px;margin-top:0}
@media(max-width:1080px){.plist{grid-template-columns:repeat(2,1fr);gap:40px 26px}}
@media(max-width:640px){.plist{grid-template-columns:1fr;gap:34px}}
.pcard{display:block;color:inherit;text-decoration:none;background:none;border:0}
.pcard .ph{aspect-ratio:2/1;overflow:hidden;background:var(--soft);border:1px solid var(--ink);
  transition:opacity .2s ease}
.pcard .ph img{width:100%;height:100%;object-fit:cover;object-position:center 35%;display:block;
  transition:transform .35s ease}
.pcard:hover .ph img{transform:scale(1.035)}
.pcard h3{font-size:16px;line-height:1.8;font-weight:500;margin:18px 0 0;letter-spacing:.01em;
  color:var(--ink)}
.pcard:hover h3{opacity:.62}
.pcard .pwho{font-size:12.5px;color:var(--ink2);margin-top:10px;line-height:1.75;letter-spacing:.02em}
.pcard .pdate{font-size:13px;color:var(--muted);margin-top:10px;letter-spacing:.03em}
.pcard .ptag{display:inline-block;margin-top:12px;font-size:11.5px;letter-spacing:.06em;
  color:var(--ink2);background:var(--soft);padding:5px 11px;line-height:1.5}
.pcard.soon .ph{display:flex;align-items:center;justify-content:center;border-style:dashed;
  border-color:var(--line)}
.pcard.soon .ph span{font-size:14px;font-weight:700;letter-spacing:.1em;color:#a5a096}

/* 絞り込みタブ */
.ptabs{display:flex;border:1px solid var(--ink);margin:0 0 44px}
.ptabs button{flex:1;appearance:none;background:#fff;border:0;border-left:1px solid var(--ink);
  font-family:inherit;font-size:13px;font-weight:700;letter-spacing:.08em;color:var(--ink);
  padding:15px 8px;cursor:pointer;transition:.15s}
.ptabs button:first-child{border-left:0}
.ptabs button:hover{background:var(--soft)}
.ptabs button[aria-selected="true"]{background:var(--ink);color:#fff}
@media(max-width:760px){
  .ptabs{flex-wrap:wrap;border-bottom:0}
  .ptabs button{flex:1 0 50%;border-left:1px solid var(--ink);border-bottom:1px solid var(--ink);
    font-size:12px;letter-spacing:.03em;padding:14px 6px}
  .ptabs button:nth-child(odd){border-left:0}
}

/* ===================================================================
   教育現場インサイト資料の導線（先生の声・記事末／一覧末）2026-09-12
   広告を売り込むのではなく、現場のインサイトを渡す導線として置く
   =================================================================== */
.insight{margin-top:56px;border:1px solid var(--ink);padding:38px 40px;background:#fff;
  display:grid;grid-template-columns:1fr auto;gap:36px;align-items:center}
.insight .lbl{font-size:11.5px;font-weight:700;letter-spacing:.18em;color:var(--accent)}
.insight h3{font-size:21px;line-height:1.65;margin:14px 0 0;letter-spacing:.02em}
.insight p{font-size:13.5px;line-height:2;color:var(--ink2);margin-top:14px}
.insight ul{margin:16px 0 0;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:8px 10px}
.insight li{font-size:12px;color:var(--ink2);border:1px solid var(--line);padding:5px 11px;line-height:1.5}
.insight .act{display:flex;flex-direction:column;gap:14px;align-items:center;min-width:240px}
.insight .note{font-size:11.5px;color:var(--muted);line-height:1.7;text-align:center}
@media(max-width:900px){
  .insight{grid-template-columns:1fr;gap:26px;padding:30px 24px}
  .insight .act{min-width:0}
}

/* ===================================================================
   記事コンテンツ（VOICE／インサイト）2026-09-12
   カテゴリのピル・要点サマリー・本文の見出し/引用/箇条書き・分析枠
   =================================================================== */
/* カテゴリ（ピル型・記事ヘッダーの先頭） */
.acats{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 16px}
.acats a,.acats span{display:inline-block;font-size:11.5px;font-weight:700;letter-spacing:.08em;
  color:#fff;background:var(--ink);border-radius:999px;padding:6px 14px;line-height:1.5;
  text-decoration:none}
.acats .alt{background:#fff;color:var(--ink);border:1px solid var(--ink)}

/* この記事のポイント（ヘッダー直下の要点3つ） */
.asummary{margin-top:28px;border:1px solid var(--line);background:var(--soft);padding:26px 30px}
.asummary .t{font-size:11.5px;letter-spacing:.18em;font-weight:700;color:var(--accent);margin:0}
.asummary ol{margin:16px 0 0;padding:0;list-style:none;counter-reset:ap;
  display:flex;flex-direction:column;gap:12px}
.asummary li{counter-increment:ap;font-size:14.5px;line-height:1.95;padding-left:32px;position:relative}
.asummary li::before{content:counter(ap,decimal-leading-zero);position:absolute;left:0;top:0;
  font-family:ui-monospace,Menlo,monospace;font-size:12px;font-weight:700;color:var(--accent);
  line-height:2.3}

/* 本文：小見出し・引用・箇条書き */
.article h3{font-size:17px;line-height:1.7;margin:32px 0 0;letter-spacing:.03em;font-weight:700}
.article ul:not(.plain){margin:18px 0 0;padding:0;list-style:none;
  display:flex;flex-direction:column;gap:10px}
.article ul:not(.plain) li{font-size:15px;line-height:1.95;padding-left:22px;position:relative}
.article ul:not(.plain) li::before{content:"";position:absolute;left:0;top:.85em;
  width:10px;height:1px;background:var(--ink)}
.article blockquote cite{display:block;font-size:12.5px;font-weight:500;color:var(--ink2);
  margin-top:12px;font-style:normal;letter-spacing:.03em}

/* 敷島書店の分析・インサイト（広告主への示唆） */
.analysis{margin-top:56px;border-top:2px solid var(--ink);padding-top:28px}
.analysis .lbl{font-size:11.5px;letter-spacing:.18em;font-weight:700;color:var(--accent);margin:0}
.analysis h3{font-size:20px;line-height:1.65;margin:14px 0 0;letter-spacing:.02em}
.analysis>p{font-size:14.5px;line-height:2.1;color:var(--ink2);margin-top:16px}
.analysis .hints{margin:24px 0 0;padding:0;list-style:none;display:grid;gap:14px}
.analysis .hints li{border-left:3px solid var(--accent);padding:2px 0 2px 16px;
  font-size:14px;line-height:1.95}
.analysis .hints b{display:block;font-size:14.5px;margin-bottom:4px}
@media(max-width:640px){
  .asummary{padding:22px 20px}
  .analysis h3{font-size:18px}
}

/* 一覧ページ（ニュース／記事・メディア）の調整 2026-09-13 */
/* 左右の余白を詰めてカードを大きく見せる。.plist があるページだけに効く */
body:has(.ptabs) .page-hero>.wrap,
body:has(.ptabs) .sec>.wrap{max-width:1220px}
/* リード文が無いページ（ニュース）でも、見出しの下を同じ間隔にする */
.page-hero:not(:has(.lead)){padding-bottom:52px!important}
/* 日付と分類タグを同じ行に並べる */
.pcard .pdate{display:inline-block;margin-top:14px;vertical-align:middle}
.pcard .ptag{display:inline-block;margin:14px 0 0 12px;vertical-align:middle}
@media(max-width:640px){
  .page-hero:not(:has(.lead)){padding-bottom:32px!important}
}

/* 丸枠ボタン（これまで index/service のインラインにしか無かったので共通化） */
.linkbtn{display:inline-flex;align-items:center;gap:10px;font-weight:800;font-size:15px;
  color:var(--blue);border:1.5px solid var(--blue);border-radius:999px;padding:12px 28px;
  transition:.2s;background:#fff;text-decoration:none}
.linkbtn:hover{background:var(--blue);color:#fff}
.linkbtn .arw{transition:transform .2s}
.linkbtn:hover .arw{transform:translateX(5px)}

/* 丸枠ボタンの黒塗り版 */
.linkbtn.solid{background:var(--blue);color:#fff;border-color:var(--blue)}
.linkbtn.solid:hover{background:#000;border-color:#000;color:#fff}
/* 暗い写真の上に置く丸枠ボタン */
.linkbtn.on-dark{background:transparent;color:#fff;border-color:rgba(255,255,255,.75)}
.linkbtn.on-dark:hover{background:#fff;color:var(--ink);border-color:#fff}
/* 写真帯：文章を左、ボタンを右に */
.photoband .pb-in{display:flex;align-items:center;justify-content:space-between;gap:48px;width:100%}
.photoband .pb-txt{max-width:780px}
.photoband .pb-txt p{max-width:none}
@media(max-width:820px){
  .photoband .pb-in{flex-direction:column;align-items:flex-start;gap:26px}
}

/* 写真帯：ラベル・見出し・説明文の間隔を広げる */
.photoband .pb-txt .lbl{margin-bottom:13px!important}
.photoband .pb-txt h2{line-height:1.5}
.photoband .pb-txt p{margin-top:22px!important}

/* トップの記事セクション：見出しは中央、カードは一覧と同じ作り */
.sec.center-head-cards .plist{margin-top:40px;text-align:left}

/* 下層ページの英字ラベルを朱の丸枠で囲う */
.page-hero .eyebrow{display:inline-block!important;border:1px solid var(--accent)!important;
  border-radius:999px!important;padding:4px 15px!important;line-height:1.45!important;
  font-size:11px!important;letter-spacing:.13em!important;font-weight:700!important}

/* 導入校数 */
.schools-fig{display:flex;align-items:baseline;gap:10px;margin:26px 0 24px;
  padding-top:20px;border-top:1px solid var(--line);flex-wrap:wrap}
.schools-fig b{font-size:42px;font-weight:900;letter-spacing:-.02em;line-height:1;color:var(--ink)}
.schools-fig small{font-size:16px;font-weight:800;color:var(--ink)}
.schools-fig span{font-size:13.5px;color:var(--ink2)}

/* ===================================================================
   トップと私たちについての入場アニメーション（2026-09-18）
   下層ページの .page-hero と同じ fadeUp を、この2ページにも当てる
   =================================================================== */
/* トップ：ヒーローの文字が順に浮かび上がる */
.hero-full .hero-top>*,.hero-full .hero-bot>*{opacity:0;
  animation:fadeUp .7s cubic-bezier(.2,.6,.2,1) forwards}
.hero-full .hero-top>*:nth-child(1){animation-delay:.12s}
.hero-full .hero-top>*:nth-child(2){animation-delay:.24s}
.hero-full .hero-top>*:nth-child(3){animation-delay:.36s}
.hero-full .hero-bot>*:nth-child(1){animation-delay:.48s}
.hero-full .hero-bot>*:nth-child(2){animation-delay:.60s}
/* トップ：背景写真がゆっくり寄りから戻る */
@keyframes heroZoom{from{transform:scale(1.06)}to{transform:scale(1)}}
.hero-full .hero-bg img{animation:heroZoom 12s cubic-bezier(.16,.7,.3,1) forwards}

/* 私たちについて：ラベル → 見出し → 本文の順に */
.sec.lead-sec .wrap>.tag,.sec.lead-sec .wrap>h1,.sec.lead-sec .mvv>p{
  opacity:0;animation:fadeUp .65s cubic-bezier(.2,.6,.2,1) forwards}
.sec.lead-sec .wrap>.tag{animation-delay:.08s}
.sec.lead-sec .wrap>h1{animation-delay:.20s}
.sec.lead-sec .mvv>p:nth-of-type(1){animation-delay:.36s}
.sec.lead-sec .mvv>p:nth-of-type(2){animation-delay:.46s}
.sec.lead-sec .mvv>p:nth-of-type(3){animation-delay:.56s}
.sec.lead-sec .mvv>p:nth-of-type(4){animation-delay:.66s}
/* 私たちについて：蛍光ペンが左から引かれる */
.marker{background-size:100% 100%}
@keyframes markerIn{from{background-size:0 100%}to{background-size:100% 100%}}
.sec.lead-sec .marker{background-size:0 100%;
  animation:markerIn .75s cubic-bezier(.3,.7,.3,1) 1.05s forwards}
.sec.lead-sec .mvv>p:nth-of-type(4) .marker:nth-of-type(2){animation-delay:1.45s}

@media(prefers-reduced-motion:reduce){
  .hero-full .hero-top>*,.hero-full .hero-bot>*,.hero-full .hero-bg img,
  .sec.lead-sec .wrap>.tag,.sec.lead-sec .wrap>h1,.sec.lead-sec .mvv>p{
    opacity:1!important;animation:none!important;transform:none!important}
  .sec.lead-sec .marker{background-size:100% 100%!important;animation:none!important}
}

/* ===================================================================
   ニュース：横1行のリスト（2026-09-18）
   小さな写真 → 分類タグ → 見出し → 右端に日付。行は細い罫線で区切る
   =================================================================== */
.nlist{border-top:1px solid var(--line)}
.nrow{display:grid;grid-template-columns:232px 1fr 42px;gap:36px;align-items:center;
  padding:30px 4px;border-bottom:1px solid var(--line);color:inherit;text-decoration:none;
  transition:background-color .2s ease}
.nrow:hover{background:var(--soft);text-decoration:none}
.nrow .nph{aspect-ratio:16/9;overflow:hidden;background:var(--soft)}
.nrow .nph img{width:100%;height:100%;object-fit:cover;object-position:center 40%;display:block;
  transition:transform .35s ease}
.nrow:hover .nph img{transform:scale(1.04)}
.nrow .nph.none{display:flex;align-items:center;justify-content:center}
.nrow .nph.none span{font-size:11px;letter-spacing:.14em;color:#a5a096;font-weight:700}
.ncats{display:flex;gap:8px;flex-wrap:wrap}
.ncats span{font-size:11.5px;font-weight:700;color:var(--ink);border:1px solid var(--ink);
  padding:4px 11px;line-height:1.4;letter-spacing:.04em}
.nrow h3{font-size:17px;line-height:1.75;margin:14px 0 0;font-weight:500;letter-spacing:.015em}
.nrow:hover h3{opacity:.62}
.ndate{font-size:13px;font-weight:400;color:var(--muted);letter-spacing:.03em;
  white-space:nowrap;margin:0}
@media(max-width:900px){
  .nrow{grid-template-columns:168px 1fr;gap:24px;padding:24px 2px}
  .narw{display:none}
}
@media(max-width:560px){
  .nrow{grid-template-columns:1fr;gap:0}
  .nrow .nph{margin-bottom:16px}
  .nrow h3{font-size:16px;margin-top:12px}
}

/* ===================================================================
   分類タグの見た目を全ページで統一（2026-09-18）
   黒の細枠・白地・角は四角。ニュース／記事・メディア／記事ページ共通
   =================================================================== */
.pcard .ptag,
.acats a,.acats span,
.article .atags span,
.ncats span{
  display:inline-block;background:#eeeeee!important;color:var(--ink2)!important;
  border:0!important;border-radius:0!important;
  font-size:11.5px!important;font-weight:500!important;letter-spacing:.05em!important;
  padding:5px 12px!important;line-height:1.5!important;text-decoration:none}
.acats a:hover{background:#e2e2e2!important;color:var(--ink)!important}
.article .atags{gap:8px}

/* ヘッダーのボタン：右上向きの矢印 */
.nav-cta a{display:inline-flex;align-items:center;gap:3px}
.arw-ne{display:inline-block;font-size:1.05em;line-height:1}

/* ニュース：日付を分類タグの左に置き、右端に矢印 */
.nmeta{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.nmeta .ndate{order:0}
.nmeta .ncats{display:inline-flex;gap:8px;flex-wrap:wrap}
.narw{justify-self:end;position:relative;display:block;width:20px;height:12px;
  font-size:0;margin-right:22px;transition:transform .22s var(--sp-out,ease)}
.narw::before{content:"";position:absolute;left:0;top:50%;width:100%;height:1px;
  background:var(--ink);transform:translateY(-50%)}
.narw::after{content:"";position:absolute;right:0;top:50%;width:7px;height:7px;
  border-top:1px solid var(--ink);border-right:1px solid var(--ink);
  transform:translateY(-50%) rotate(45deg)}
.nrow:hover .narw{transform:translateX(5px)}

/* ===================================================================
   ヘッダーのナビ：下線が中央から文字幅ぶん広がる（2026-09-18）
   線は1pxに細くし、文字から少し離す。文字幅からははみ出さない
   =================================================================== */
.links a::after{left:0!important;right:0!important;height:1px!important;bottom:-7px!important;
  transform-origin:center!important;
  transition:transform .48s cubic-bezier(.16,.84,.28,1)!important;
  will-change:transform}
.links a:hover::after{transform:scaleX(1)!important}
.links a{transition:color .34s cubic-bezier(.16,.84,.28,1)}
.links a:hover{color:var(--ink)}
.links a.on{color:var(--ink)}
.links a.on::after{transform:scaleX(1)!important}
@media(prefers-reduced-motion:reduce){
  .links a::after{transition:none!important}
}

/* ===================================================================
   Apple設計の抜け漏れを補う（2026-09-18）
   後から追加した部品の押下反応（§1）と、透明度・コントラストの
   ユーザー設定への対応（§14）
   =================================================================== */
/* §1 応答：後から足した部品にも、押した瞬間の反応を与える */
.pcard,.nrow,.ptabs button,.acats a,.vcard{
  -webkit-tap-highlight-color:transparent;touch-action:manipulation;
  transition:transform .2s var(--sp-out),background-color .2s ease,opacity .2s ease;
}
.pcard:active,.nrow:active,.acats a:active{transform:scale(.99);
  transition-duration:.08s;transition-timing-function:var(--sp-press)}
.ptabs button:active{transform:scale(.97);
  transition-duration:.08s;transition-timing-function:var(--sp-press)}
/* カード内の写真は拡大を打ち消して、面全体が沈むように見せる */
.pcard:active .ph img,.nrow:active .nph img{transform:none}

/* §14 透明度を下げる設定：すりガラスをやめて不透明にする */
@media(prefers-reduced-transparency:reduce){
  .nav,.nav.scrolled{background:#fff!important;
    -webkit-backdrop-filter:none!important;backdrop-filter:none!important}
  .cta-band::before{opacity:.06!important}
}
/* §14 コントラストを上げる設定：地をはっきりさせ、枠を立てる */
@media(prefers-contrast:more){
  .nav,.nav.scrolled{background:#fff!important;
    -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
    border-bottom-color:#141414!important}
  .pcard .ptag,.acats a,.acats span,.article .atags span,.ncats span{
    background:#fff!important;color:var(--ink)!important;
    border:1px solid var(--ink)!important}
  .pdate,.ndate,.pwho{color:var(--ink2)!important}
  .ptabs button{border-color:#141414!important}
  .cta-band::before{display:none!important}
}
/* §14 動きを減らす設定：後から足した部品も止める */
@media(prefers-reduced-motion:reduce){
  .pcard,.nrow,.ptabs button,.acats a{transition:background-color .2s ease!important}
  .pcard:active,.nrow:active,.ptabs button:active,.acats a:active{transform:none!important}
  .nrow:hover .narw{transform:none!important}
  .pcard:hover .ph img,.nrow:hover .nph img{transform:none!important}
}
