/* デザイン B案 の共通の締め（トップ・下層とも）。oasiz.org の「案内のカード＋フッター」の組み方を、B案の白と水色に置き換えたもの。
   地は透明（上の段の地をそのまま見せる）。その上に お知らせ・採用 のカード、KV の対になる青い CONTACT の面、ロゴとリンクだけの簡素なフッターを置く。
   カードの英字とフッターのリンクは、カーソルを乗せると1文字ずつ入れ替わる（header.js が文字を分け、header.css の .roll で動かす）。 */
.bt { position: relative; z-index: 6; overflow: hidden; background: transparent;   /* 段の背景は透明にし、上の段の地をそのまま見せる（2026-10-30） */ color: var(--ink, #26333D); font-family: var(--ja); isolation: isolate; }


/* 案内のカード */
.bt-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 16px; }
.bn { position: relative; display: block; min-height: 300px; padding: 46px 40px 96px calc(clamp(28px, 5vw, 72px) - 1px);   /* 左は CONTACT と同じ（枠線 1px を引く） */ border-radius: 8px; background: rgba(255,255,255,.78); border: 1px solid rgba(255,255,255,.95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
/* カードに乗せただけでは英字を回さず（矢印の色だけ変える）、英字そのものに乗せたときに回す。キーボードで選んだときは回す */
.bn:hover .roll .ch { transform: none; }
.bn .bn-en .roll:hover .ch, .bn:focus-visible .roll .ch { transform: translateY(-100%); }
.bn-ja { font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.bn-en { margin-top: 6px; font-family: var(--latin); font-size: clamp(44px, 4.6vw, 68px); font-weight: 700; line-height: 1.1; letter-spacing: .01em; }
.bn-en .roll { line-height: 1.1; }
.bn-en .r1 .ch:first-child { color: var(--wuuzy-blue, #0080C8); }   /* 頭の1文字は強みの青 */
.bn-en .roll .r2 { color: var(--wuuzy-blue, #0080C8); }
.bn-tx { margin-top: 18px; font-size: 13.5px; line-height: 1.9; letter-spacing: .04em; color: var(--ink-soft, #5B6873); }
/* 矢印の丸：はじめから青い立体（ほかの矢印ボタンと同じ）。カードに乗せると少しふくらみ、矢印だけ右へ進む */
.bn-go { position: absolute; right: 22px; bottom: 22px; display: grid; place-items: center; width: 60px; height: 60px; overflow: hidden; border-radius: 50%; color: #fff; background: #0080C8; box-shadow: inset 0 2px 1px rgba(183,209,234,.95), inset 0 -2px 2px rgba(40,90,150,.45), inset 2px 0 2px rgba(40,90,150,.18);
  transition: transform .3s cubic-bezier(.2,.7,.1,1); }
.bn-go i { grid-area: 1 / 1; font-style: normal; font-size: 18px; line-height: 1; transform: rotate(-45deg); transition: transform .3s cubic-bezier(.2,.7,.1,1); }   /* note・採用サイトは外部へ出るので斜め上の矢印 */
.bn-go i + i { display: none; }
.bn:hover .bn-go, .bn:focus-visible .bn-go { transform: scale(var(--hv-scale-round)); }
.bn:hover .bn-go i, .bn:focus-visible .bn-go i { transform: translate(calc(var(--hv-arrow) * .71), calc(var(--hv-arrow) * -.71)) rotate(-45deg); }   /* 乗せたら矢印の向き（斜め上）へ動かす */
.bn:focus-visible { outline: 2px solid var(--wuuzy-blue, #0080C8); outline-offset: 3px; }

/* CONTACT：KV の対。WUUZY ブルーの面に KV の文字の壁を白く薄く流し、右に WUUZY ブルーの立体の W が回りながら降りてきて止まる（contact-w.js）。
   KV で回って見極められた W が、ページの最後に「あなたの課題」の場所へ置かれる、という締め */
.cta { position: relative; z-index: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 48px; margin: 0 16px; min-height: 640px; padding: 88px clamp(28px, 5vw, 96px) 88px clamp(28px, 5vw, 72px); border-radius: 28px; overflow: hidden; isolation: isolate; color: #fff;
  background: radial-gradient(60% 80% at 72% 18%, rgba(255,255,255,.2), rgba(255,255,255,0) 70%), linear-gradient(135deg, #0D8FD9 0%, #0066A8 100%); }
.cta:focus-visible { outline: 2px solid var(--wuuzy-blue, #0080C8); outline-offset: 3px; }
.cta-wall { position: absolute; inset: 0; z-index: -1; display: flex; flex-direction: column; justify-content: center; gap: .4vw; pointer-events: none; }
.cta-wall span { display: block; width: max-content; font-family: var(--latin); font-weight: 600; font-size: 8.4vw; line-height: .98; letter-spacing: -.01em; white-space: nowrap; color: rgba(255,255,255,.09); animation: cta-wall 60s ease-in-out infinite alternate; }
.cta-wall .ja { font-family: var(--ja); font-weight: 700; font-size: 6vw; letter-spacing: .04em; animation-direction: alternate-reverse; }
@keyframes cta-wall { from { transform: translateX(-4%); } to { transform: translateX(-28%); } }
.cta-txt { display: block; }
.cta-ja { display: block; font-size: 14px; font-weight: 700; letter-spacing: .08em; }
.cta-en { display: block; margin-top: 10px; font-family: var(--latin); font-weight: 700; font-size: clamp(64px, 10.4vw, 150px); line-height: 1; letter-spacing: .03em; text-shadow: 0 10px 30px rgba(0,51,102,.25); }
.cta-h { display: block; margin-top: 40px; font-size: clamp(22px, 2.4vw, 34px); font-weight: 700; line-height: 1.5; }
.cta-tx { display: block; margin-top: 16px; font-size: 15px; line-height: 1.9; letter-spacing: .04em; color: rgba(255,255,255,.88); }
/* 白い立体のボタン（お知らせのカテゴリ・右下のボタンと同じ面取り） */
.cta-btn { display: inline-flex; align-items: center; gap: 20px; margin-top: 40px; padding: 10px 10px 10px 32px; border-radius: 999px; background: #F7F9FB; color: var(--ink, #26333D); font-size: 16px; font-weight: 700; letter-spacing: .04em;
  box-shadow: inset 0 2px 1px #fff, inset 0 -2px 2px rgba(38,51,61,.12), 0 12px 28px rgba(0,51,102,.25); transition: transform .3s cubic-bezier(.2,.7,.1,1), color .25s; }
.cta-btn i { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: #fff; background: #0080C8; box-shadow: inset 0 2px 1px rgba(183,209,234,.95), inset 0 -2px 2px rgba(40,90,150,.45), inset 2px 0 2px rgba(40,90,150,.18); font-style: normal; font-family: var(--latin); font-size: 18px; transition: transform .5s cubic-bezier(.23,1,.32,1); }
.cta:hover .cta-btn, .cta:focus-visible .cta-btn { transform: scale(var(--hv-scale)); color: var(--hv-color); }
.cta:hover .cta-btn i, .cta:focus-visible .cta-btn i { transform: translateX(var(--hv-arrow)); color: #fff; }
/* 立体の W の置き場所（枠や丸は付けず、青い面にじかに置く）。足元に淡い影を落とす。立体が描けないときは平らな WUUZY ブルーの W を置く */
.cta-slot { position: relative; display: grid; place-items: center; width: clamp(280px, 32vw, 520px); aspect-ratio: 1; }
.cta-slot::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 14%; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,40,80,.35), rgba(0,40,80,0)); z-index: -1; }
.cta-slot b { font-family: var(--latin); font-weight: 700; font-size: clamp(160px, 19vw, 300px); line-height: 1; color: var(--wuuzy-blue, #0080C8); text-shadow: 0 10px 30px rgba(0,51,102,.25); }
.cta-slot.is-3d b { visibility: hidden; }
.cta-slot canvas { position: absolute; left: -25%; top: -25%; width: 150%; height: 150%; pointer-events: none; }

/* フッター：ロゴとリンクの 1 段と、SNS・方針・コピーライトの段だけ */
.ft { position: relative; padding: 72px var(--gutter, 4.5vw) 56px; }   /* 左右はヘッダーと同じ */
.ft-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 48px; }
.ft-top .ft-nav { padding-top: 12px; }   /* ナビはロゴの高さにそろえる（ロゴの下に note の丸ボタンがあるため） */
.ft-logo { display: block; width: 132px; height: auto; transition: opacity .3s; }
@media (hover: hover) { a:hover > .ft-logo { opacity: .6; } }
a:focus-visible > .ft-logo { opacity: .6; }
.ft-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 14px 36px; font-family: var(--ja); font-size: 13.5px; font-weight: 700; letter-spacing: .04em; color: var(--ink, #26333D); }
.ft-nav a[aria-current="page"] { color: #0068A3; }
/* 小さい文字なので、ロゴの青を少し深くして薄いグレーの地でも読める濃さにする（5:1 以上） */
.ft-nav .roll .r2, .ft-bottom .roll .r2 { color: #0068A3; }
.ft-bottom { display: flex; justify-content: flex-end; align-items: center; gap: 40px; margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(38,51,61,.1); font-family: var(--ja); font-size: 11.5px; letter-spacing: .04em; color: var(--ink-soft, #5B6873); }
.ft-bottom a[aria-current="page"] { color: #0068A3; }
/* 会社名と住所は下段の左に置き、規約のリンクと分ける */
.ft-co { display: grid; gap: 3px; margin-right: auto; }
.ft-co-name { font-size: 12px; font-weight: 700; color: var(--ink, #26333D); }
/* 住所と規約が 1 行に入らない幅（〜1279px）は、住所を上の行、規約を下の行に分ける */
@media (min-width: 961px) and (max-width: 1279px) {
  .ft-bottom { flex-wrap: wrap; justify-content: flex-start; gap: 12px 32px; }
  .ft-co { flex-basis: 100%; }
  .ft-bottom small { margin-left: auto; }
}
/* 文面がまだ無いページ（ハラスメントの基本方針）は、押せない見た目にしておく */
.ft-bottom a[aria-disabled="true"] { cursor: default; }
/* SNS のアイコン：線だけの小さなアイコン。左に寄せ、右の PRIVACY POLICY・コピーライトと分ける */
/* ロゴの下に note の丸ボタンを置く */
.ft-brand { display: grid; justify-items: start; gap: 20px; }
.ft-sns { display: flex; gap: 14px; list-style: none; }
.ft-sns a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(38,51,61,.18); border-radius: 50%; color: var(--ink, #26333D); transition: color .25s, border-color .25s; }
.ft-sns a[href]:hover { color: #0068A3; border-color: #0068A3; }
.ft-sns a[aria-disabled="true"] { cursor: default; }
.ft-sns svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ft-sns svg .dot { fill: currentColor; stroke: none; }
/* note：白い立体の丸に黒い note のロゴ（メンバー紹介の note の丸ボタンと同じ） */
.ft-sns a.sns-note { width: 42px; height: 42px; border: 0; background: #F7F9FB; box-shadow: inset 0 2px 1px rgba(255,255,255,1), inset 0 -2px 2px rgba(38,51,61,.12), inset 2px 0 2px rgba(38,51,61,.04); transition: transform .3s cubic-bezier(.2,.7,.1,1); }
.ft-sns a.sns-note svg { width: 16px; height: 16px; fill: #000; stroke: none; }
.ft-sns a.sns-note:hover { transform: scale(var(--hv-scale-round)); }

@media (prefers-reduced-motion: reduce) {
  .ft a:hover .roll .r1, .ft a:focus-visible .roll .r1 { color: #0068A3; }
  .bn-go, .bn-go i, .cta-btn, .cta-btn i { transition: none; }
  .cta-wall span { animation: none; }
  .bn .bn-en .roll:hover .ch, .bn:focus-visible .roll .ch { transform: none; }
  .bn:hover .bn-en .r1 { color: inherit; }
  .bn .bn-en .roll:hover .r1, .bn:focus-visible .bn-en .r1 { color: var(--wuuzy-blue, #0080C8); }
}
@media (max-width: 960px) {
  .bt-cards { grid-template-columns: 1fr; gap: 12px; padding: 12px; }
  .bn { min-height: 0; padding: 36px 22px 96px 23px; }   /* 左は CONTACT と同じ（枠線 1px を引く） */
  .bn-go { width: 48px; height: 48px; }
  .cta { grid-template-columns: 1fr; justify-items: start; gap: 40px; margin: 0 12px; min-height: 0; padding: 64px 24px; border-radius: 24px; }
  .cta-slot { justify-self: center; width: min(80vw, 360px); }
  .cta-wall span { font-size: 15vw; }
  .cta-wall .ja { font-size: 10vw; }
  .ft { padding: 56px var(--gutter, 4.5vw) 40px; }
  .ft-top { flex-direction: column; align-items: flex-start; }
  .ft-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
  .ft-bottom { flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 56px; }
  .ft-sns { margin: 0 0 8px; }
  .ft-co { margin-bottom: 8px; }
}
/* SP（Figma の SP デザイン）：カードは矢印を本文の右に並べて低くし、CONTACT は立体の W を右下に重ねる。
   フッターはロゴ → リンク → note の順に積む */
@media (max-width: 820px) {
  /* SP は左右を 20px にそろえる（ほかのセクションの端と同じ位置） */
  .bt-cards { padding: 12px var(--gutter, 20px); }
  .cta { grid-template-columns: minmax(0, 1fr); margin: 0 var(--gutter, 20px); }
  .ft { padding: 56px var(--gutter, 20px) 40px; }
  .bn { padding: 22px 20px 20px 23px; }
  .bn-en { font-size: 40px; }
  .bn-tx { margin: 8px 52px 0 0; font-size: 12px; line-height: 1.8; }
  .bn-go { right: 20px; bottom: 20px; width: 36px; height: 36px; }
  .bn-go i { font-size: 14px; }
  .cta { gap: 14px; padding: 40px 24px 220px; border-radius: 20px; }
  .cta-en { font-size: min(60px, calc((100vw - 88px) / 5.4)); }   /* 「CONTACT」（字間を足して字幅は約 5.2em）を、余白 20px×2・カードの内側 24px×2 を除いた幅に収める（320px まで） */
  .cta-h { margin-top: 14px; font-size: 22px; }
  .cta-tx { font-size: 13px; }
  .cta-btn { margin-top: 18px; padding: 6px 6px 6px 20px; gap: 14px; font-size: 13.5px; }
  .cta-btn i { width: 36px; height: 36px; font-size: 14px; }
  .cta-slot { position: absolute; right: 2px; bottom: -6px; width: 230px; }
  .ft-top { gap: 24px; }
  .ft-brand { display: contents; }
  .ft-brand > a { order: 0; }
  .ft-top .ft-nav { order: 1; padding-top: 0; width: 100%; }
  .ft-sns { order: 2; margin: 0; }
  .ft-bottom { margin-top: 24px; }
}
/* タブレット（iPad の縦・横、680〜1180px。iPad mini の 744px から）：CONTACT のバナーは文章の右に W を大きく置き、W の下に空けていた余白と最低の高さをやめて縦を詰める */
@media (min-width: 680px) and (max-width: 1180px) {
  .cta { grid-template-columns: minmax(0, 1fr) auto; justify-items: stretch; align-items: center; gap: 24px; min-height: 0; padding: 56px 24px 56px clamp(28px, 5vw, 56px); }
  .cta-slot { position: relative; right: auto; bottom: auto; justify-self: end; width: clamp(280px, 36vw, 400px); }
  .bn { padding-left: calc(clamp(28px, 5vw, 56px) - 1px); }   /* 左は CONTACT と同じ（枠線 1px を引く） */
  .cta-en { font-size: min(7.5vw, 96px); }   /* 「CONTACT」が W の左の列に収まる大きさ */
  .cta-h { font-size: clamp(20px, 2.6vw, 26px); }
  .cta-h { text-wrap: pretty; }   /* 見出しは行の終わりに 1〜2 文字だけ落ちないようにする（本文は行いっぱいまで詰める） */
}
@media (min-width: 821px) and (max-width: 1180px) {
  .cta-slot { width: clamp(380px, 38vw, 440px); }   /* 821〜960px は今まで文章の下に 360px で置いていたので、それより大きくする */
}
/* iPhone Duo を開いた横向きの幅（700〜960px）：PC と同じ組み方（カード 2 列・フッターは横並び）のまま、文字と余白を詰めて高さを抑える */
@media (min-width: 700px) and (max-width: 960px) {
  .bt-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 12px var(--gutter, 20px); }
  .bn { padding: 22px 20px 20px calc(clamp(28px, 5vw, 56px) - 1px); }
  .bn-en { font-size: 40px; }
  .bn-tx { margin: 8px 48px 0 0; font-size: 12px; line-height: 1.7; }
  .bn-tx br { display: none; }
  .bn-go { right: 18px; bottom: 18px; width: 36px; height: 36px; }
  .bn-go i { font-size: 14px; }
  .cta { margin: 0 var(--gutter, 20px); padding: 32px 16px 32px calc(clamp(28px, 5vw, 56px) - 1px); gap: 8px; border-radius: 20px; }
  .cta-slot { width: clamp(220px, 29vw, 270px); }
  .cta-en { font-size: min(7.5vw, 68px); }
  .cta-h { margin-top: 12px; font-size: clamp(18px, 2.4vw, 22px); }
  .cta-tx { margin-top: 8px; font-size: 12.5px; line-height: 1.75; }
  .cta-btn { margin-top: 16px; padding: 6px 6px 6px 20px; gap: 14px; font-size: 13.5px; }
  .cta-btn i { width: 36px; height: 36px; font-size: 14px; }
  .ft { padding: 36px var(--gutter, 20px) 28px; }
  .ft-top { flex-direction: row; justify-content: space-between; align-items: flex-start; gap: 32px; }
  .ft-brand { display: grid; gap: 12px; }
  .ft-top .ft-nav { display: flex; order: 0; width: auto; padding-top: 4px; gap: 10px 24px; font-size: 13px; }
  .ft-bottom { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; align-items: center; gap: 6px 20px; margin-top: 20px; padding-top: 16px; font-size: 11px; letter-spacing: .02em; }
  .ft-co { flex-basis: 100%; margin-bottom: 4px; }
  .ft-bottom small { margin-left: auto; }
}
/* CONTACT の見出しは「あなたの課題に、」「どの強みが活きるか。」の 2 行。幅 375px 未満でも 2 行に収める */
@media (max-width: 374px) { .cta-h { font-size: 20px; } }
