/* ============================================================
   HERO's CUP 2026-10：カードの作り直し（オーナー指示「文字・枠がチープ、動きがない」）
   heros.css / rich.css / apple.css の後に読み込み、枠のカードを
   「線と余白」で区切る形に置き換える。動きは transform / opacity だけ。
   ============================================================ */
:root{
  --r2-ease: cubic-bezier(.16, 1, .3, 1);
  --r2-move: cubic-bezier(.77, 0, .175, 1);
  --r2-line: rgba(16, 32, 64, .12);
  --r2-ink: #121826;
  --r2-ink-2: #4a5263;
  --r2-ink-3: #8a91a0;
  --r2-o: #e8590c;
}

/* ---------- 開催の4つの軸：2列×2段、線で区切る ---------- */
body .pillars{
  display: grid; grid-template-columns: 1fr; gap: 0;
  background: none; border: 0; border-top: 1px solid var(--r2-line); border-radius: 0; overflow: visible;
}
@media (min-width: 820px){ body .pillars{ grid-template-columns: 1fr 1fr; } }
body .pillars .pillar{
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 0; padding: clamp(32px, 4vw, 56px) clamp(4px, 3vw, 44px) clamp(32px, 4vw, 52px);
  border: 0; border-bottom: 1px solid var(--r2-line); border-radius: 0;
  background: none; box-shadow: none; clip-path: none; color: var(--r2-ink);
}
@media (min-width: 820px){
  body .pillars .pillar:nth-child(odd){ border-right: 1px solid var(--r2-line); padding-left: 0; }
  body .pillars .pillar:nth-child(even){ padding-right: 0; }
}
/* 上の線：画面に入ると少し伸び、乗せると端まで */
body .pillars .pillar::before{
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; width: auto;
  background: linear-gradient(90deg, var(--r2-o), rgba(232, 89, 12, .2));
  transform: scaleX(0); transform-origin: left; transition: transform 1s var(--r2-ease);
}
body .pillars.is-in .pillar::before{ transform: scaleX(.22); }
body .pillars.is-in .pillar:nth-child(2)::before{ transition-delay: .08s; }
body .pillars.is-in .pillar:nth-child(3)::before{ transition-delay: .16s; }
body .pillars.is-in .pillar:nth-child(4)::before{ transition-delay: .24s; }
/* カーソルについてくる光 */
body .pillars .pillar::after{
  content: ""; display: block !important; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  opacity: 0; transition: opacity .35s ease;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(232, 89, 12, .1), transparent 65%);
}
body .pillars .pillar h3{
  margin: 0 0 14px; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.35; letter-spacing: .02em; color: var(--r2-ink);
  transition: color .3s ease;
}
body .pillars .pillar p{ margin: 0; max-width: 34em; font-size: 15.5px; line-height: 2; color: var(--r2-ink-2); }
@media (hover: hover) and (pointer: fine){
  body .pillars .pillar:hover{ background: none; box-shadow: none; transform: none; }
  body .pillars .pillar:hover::before{ transform: scaleX(1); transition-delay: 0s; }
  body .pillars .pillar:hover::after{ opacity: 1; }
  body .pillars .pillar:hover h3{ color: var(--r2-o); }
  body .pillars .pillar:hover p{ color: var(--r2-ink-2); }
}

/* ---------- 課題 → 価値：1対1で並べ、課題に線が引かれて価値が現れる ---------- */
.shift{ margin-top: clamp(32px, 4vw, 56px); }
.shift-head{
  display: none; grid-template-columns: 1fr 96px 1.25fr; gap: 0 24px; padding-bottom: 20px;
  font-size: clamp(17px, 1.6vw, 21px); font-weight: 700; letter-spacing: .04em; color: var(--r2-ink-3);
}
.shift-head span:last-child{ color: var(--r2-o); }
.shift-rows{ list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--r2-line); }
.shift-rows li{
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 1fr; gap: 10px; padding: 26px 4px;
  border-bottom: 1px solid var(--r2-line);
}
.shift-rows li::after{
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .35s ease;
  background: radial-gradient(360px circle at var(--mx, 70%) var(--my, 50%), rgba(232, 89, 12, .09), transparent 65%);
}
.shift-rows .from{ font-size: 16px; font-weight: 700; color: var(--r2-ink-3); }
.shift-rows .from s{ position: relative; text-decoration: none; }
/* 打ち消し線（左から引かれる） */
.shift-rows .from s::after{
  content: ""; position: absolute; left: -2px; right: -2px; top: 52%; height: 2px; border-radius: 2px;
  background: var(--r2-ink-3); transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--r2-move) calc(.2s + var(--i, 0) * .22s);
}
.shift-rows .arw{ position: relative; display: none; height: 2px; align-self: center; }
.shift-rows .arw::before{
  content: ""; position: absolute; inset: 0; background: var(--r2-o); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .55s var(--r2-move) calc(.45s + var(--i, 0) * .22s);
}
.shift-rows .arw::after{
  content: ""; position: absolute; right: 0; top: 50%; width: 10px; height: 10px; margin-top: -5px;
  border-top: 2px solid var(--r2-o); border-right: 2px solid var(--r2-o); transform: rotate(45deg) scale(.4); opacity: 0;
  transition: transform .4s var(--r2-ease) calc(.8s + var(--i, 0) * .22s), opacity .3s ease calc(.8s + var(--i, 0) * .22s);
}
.shift-rows .to{
  display: grid; gap: 6px; opacity: 0; transform: translateX(-14px);
  transition: transform .7s var(--r2-ease) calc(.7s + var(--i, 0) * .22s), opacity .5s ease calc(.7s + var(--i, 0) * .22s);
}
.shift-rows .to b{ font-size: clamp(22px, 2.4vw, 30px); line-height: 1.3; letter-spacing: .02em; color: var(--r2-ink); transition: color .3s ease; }
.shift-rows .to small{ font-size: 16px; line-height: 1.8; color: var(--r2-ink-2); }
.shift.is-in .from s::after{ transform: scaleX(1); }
.shift.is-in .arw::before{ transform: scaleX(1); }
.shift.is-in .arw::after{ transform: rotate(45deg); opacity: 1; }
.shift.is-in .to{ opacity: 1; transform: none; }
@media (min-width: 820px){
  .shift-head{ display: grid; }
  .shift-rows li{ grid-template-columns: 1fr 96px 1.25fr; gap: 0 24px; align-items: center; padding: 30px 4px; }
  .shift-rows .from{ font-size: 18px; }
  .shift-rows .arw{ display: block; }
}
@media (hover: hover) and (pointer: fine){
  .shift-rows li:hover::after{ opacity: 1; }
  .shift-rows li:hover .to b{ color: var(--r2-o); }
}

/* ---------- 大会体験（横に流れるカード）：番号を小さく、上の線と光 ---------- */
body .exp .exp-card{ position: relative; isolation: isolate; overflow: hidden; }
body .exp .exp-card::after{
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .35s ease;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 126, 53, .16), transparent 65%);
}
@media (hover: hover) and (pointer: fine){ body .exp .exp-card:hover::after{ opacity: 1; } }

/* 動きを減らす設定：すぐ最後の状態に */
@media (prefers-reduced-motion: reduce){
  body .pillars .pillar::before,
  .shift-rows .from s::after, .shift-rows .arw::before, .shift-rows .arw::after, .shift-rows .to{ transition: none !important; }
  .shift-rows .to{ opacity: 1; transform: none; }
  .shift-rows .from s::after, .shift-rows .arw::before{ transform: scaleX(1); }
  .shift-rows .arw::after{ opacity: 1; transform: rotate(45deg); }
}

/* ---------- 一番上の4つ（補欠なし など）：枠・英語・説明をやめ、言葉だけを大きく ---------- */
body .hero-facts.hero-points{
  list-style: none; margin: clamp(28px, 4vw, 44px) 0 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px 0;
  background: none; border: 0; border-radius: 0; box-shadow: none; clip-path: none; overflow: visible;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
@media (min-width: 760px){ body .hero-facts.hero-points{ grid-template-columns: repeat(4, auto); justify-content: start; gap: 0; } }
body .hero-points li{
  position: relative; padding: 2px clamp(16px, 2.4vw, 32px); background: none;
  font-size: clamp(19px, 2.2vw, 28px); font-weight: 700; line-height: 1.3; letter-spacing: .02em; color: #fff; white-space: nowrap;
}
body .hero-points li::before{
  content: ""; position: absolute; left: 0; top: .15em; bottom: .15em; width: 2px; border-radius: 2px; background: var(--r2-o);
}
@media (min-width: 760px){
  body .hero-points li:first-child{ padding-left: 0; }
  body .hero-points li:first-child::before{ display: none; }
  body .hero-points li + li::before{ background: rgba(255, 255, 255, .22); }
}

/* ---------- HERO審査の項目：チェック付きの箱をやめ、番号つきの太字の行に（2026-10-21 オーナー指示「文字が細くチープ」） ---------- */
.judge-list{ list-style: none; margin: clamp(28px, 4vw, 44px) 0 0; padding: 0; counter-reset: j; display: grid; border-top: 1px solid var(--r2-line); }
@media (min-width: 820px){ .judge-list{ grid-template-columns: 1fr 1fr; column-gap: clamp(28px, 4vw, 56px); } }
.judge-list li{
  position: relative; counter-increment: j; display: grid; grid-template-columns: 52px 1fr; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid var(--r2-line); background: none; box-shadow: none; border-radius: 0;
  font-size: clamp(18px, 1.7vw, 21px); font-weight: 700; line-height: 1.5; letter-spacing: .02em; color: var(--r2-ink);
}
.judge-list li::before{ content: counter(j, decimal-leading-zero); font-size: 14px; font-weight: 700; letter-spacing: .08em; color: var(--r2-o); }
.judge-list li::after{ content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--r2-o); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--r2-ease); }
@media (hover: hover) and (pointer: fine){ .judge-list li:hover::after{ transform: scaleX(1); } }
.art .judge-list li{ font-size: 17px; padding: 16px 0; }
.judge-list li small{ grid-column: 2; margin-top: 4px; font-size: 13px; font-weight: 500; letter-spacing: .06em; color: var(--r2-ink-3); }

/* ---------- 囲み枠（.callout）をやめる（2026-10-21 オーナー指示「わけのわからない枠やめて」） ----------
   背景・枠線・角丸をなくし、短いオレンジの線＋太い見出し＋本文だけにする。
   線は画面に入ると伸びる。大事なことは見出しの大きさと太さで伝える */
body .callout, body .callout.navy{
  position: relative; margin-top: clamp(40px, 5vw, 64px) !important; padding: 28px 0 0; max-width: 44em;
  background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
}
body .callout::before{
  content: ""; position: absolute; left: 0; top: 0; width: 48px; height: 3px; border-radius: 3px; background: var(--r2-o);
  transform: scaleX(0); transform-origin: left; transition: transform .9s var(--r2-ease) .15s;
}
body .callout.is-in::before, body .callout:not(.rv)::before{ transform: none; }
body .callout h4, body .callout.navy h4{
  margin: 0 0 14px; font-size: clamp(20px, 2vw, 26px); font-weight: 700; line-height: 1.45; letter-spacing: .02em; color: var(--r2-ink) !important;
}
body .callout p, body .callout li{ font-size: 16px !important; line-height: 2; color: var(--r2-ink-2); }
body .callout b, body .callout strong{ color: var(--r2-ink); }
body .callout ul{ margin: 0; padding-left: 1.2em; }
body .callout li + li{ margin-top: 6px; }
body .callout a{ color: var(--r2-o) !important; border-bottom: 1px solid currentColor !important; font-weight: 700; text-decoration: none; }
@media (prefers-reduced-motion: reduce){ body .callout::before{ transform: none; transition: none; } }
/* 大会規約のページでは .art ol の丸い番号の指定が重なり、文字が1列目の細い所に押し込まれていた。審査項目の一覧ではその指定を打ち消す */
.art .judge-list{ display: grid; gap: 0; margin: 14px 0 16px; }
.art .judge-list > li{ counter-increment: j; padding-left: 0; display: grid; grid-template-columns: 52px 1fr; color: var(--r2-ink); }
.art .judge-list > li::before{
  content: counter(j, decimal-leading-zero); position: static; inset: auto; width: auto; height: auto; margin: 0; border-radius: 0; background: none; display: block;
  font-size: 14px; font-weight: 700; line-height: inherit; letter-spacing: .08em; color: var(--r2-o); text-align: left;
}
.judge-list li small{ grid-row: 2; }

/* 言葉の途中で改行しない（2026-11-03 オーナー指摘「結果ではな／く」）。見出しを言葉の区切りごとに包む */
.nw { display: inline-block; }

/* 言葉の途中で改行しない（2026-11-03 オーナー指示「改行おかしいところ全部直して」）。
   本文には言葉の区切りごとに見えない区切り（U+200B）が入っている。そこと空白・句読点でだけ改行する。長すぎる語だけははみ出さないよう折る */
body { word-break: keep-all; overflow-wrap: anywhere; }

/* 第1回 古川製作所 presents（2026-11-10） */
.phero .presents{margin:0 0 10px;font-size:clamp(15px,1.6vw,19px);font-weight:700;letter-spacing:.06em;color:#fff}
.phero .presents span,.x-presents span{font-family:Anton,"Zen Kaku Gothic New",sans-serif;font-weight:400;letter-spacing:.14em;color:#F26B21;margin-left:.4em}
.x-presents{margin:0 0 6px;font-size:clamp(14px,1.4vw,18px);font-weight:700;letter-spacing:.08em;color:#fff}
