/* 採用版は、雷のたてがみが渦を描く共通シンボルを中心に据える。制作コンセプトは本文に表示せず、円弧の線と暗い色で表現する。 */
:root { color-scheme: dark; --bg: #080f11; --ink: #e1e9e3; --muted: #9bb0a6; --accent: #fede06; --line: #293a35; --mono: "Consolas", "Cascadia Mono", monospace; }
/* RAION本体の既定Dark.Yellow（MahApps.Metro 2.4.11）のAccentBaseに合わせる。 */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Segoe UI", Arial, "Yu Gothic", Meiryo, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin: 0; }
svg, img { display: block; }
svg { flex-shrink: 0; }
::selection { background: var(--accent); color: var(--bg); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.wrap { width: min(1220px, calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 10; top: 12px; left: 16px; padding: 13px 18px; background: var(--accent); color: var(--bg); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 105px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 11px; font-size: 21px; font-weight: 600; letter-spacing: -.03em; }
.brand img { border-radius: 50%; }
.brand-bot { margin-left: 7px; color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: .12em; }
.navigation { display: flex; align-items: center; gap: 38px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; }
.navigation a { display: flex; align-items: center; gap: 22px; min-height: 44px; }
.navigation span { color: var(--accent); font-size: 20px; }
.navigation a:hover { color: var(--accent); }

.hero { position: relative; display: grid; grid-template-columns: .98fr 1fr; align-items: center; gap: 45px; min-height: 675px; padding-block: 55px 103px; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { color: var(--accent); font-family: var(--mono); font-size: 10px; font-weight: 400; letter-spacing: .09em; line-height: 1.8; }
.eyebrow > span { margin-left: 12px; color: #768d82; }
h1 { margin-top: 28px; font-size: clamp(80px, 9vw, 128px); font-weight: 600; letter-spacing: -.065em; line-height: 1; }
.hero-name { display: flex; align-items: center; gap: 28px; margin-top: 12px; font-family: var(--mono); font-size: 17px; letter-spacing: .28em; }
.hero-name > span:first-child { color: #b8cbc0; font-size: 15px; letter-spacing: .48em; }
.hero-name > span:last-child { color: var(--accent); }
.hero-motto { margin-top: 31px; color: #a5b9ae; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; }
.hero-motto > span { margin-inline: 12px; color: var(--accent); }
.hero-description { margin-top: 21px; color: var(--muted); font-size: 15px; font-weight: 400; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; margin-top: 28px; }
.hero-link { display: inline-flex; align-items: center; gap: 20px; min-height: 48px; padding-bottom: 2px; border-bottom: 1px solid #63806d; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; }
.hero-link svg { width: 21px; height: 21px; fill: none; stroke: var(--accent); stroke-width: 1.4; }
.hero-link:hover { color: var(--accent); border-color: var(--accent); }
.symbol-stage { min-width: 0; }
.stage-top, .stage-bottom { display: flex; align-items: center; justify-content: flex-end; gap: 20px; font-family: var(--mono); font-size: 8px; line-height: 1.8; letter-spacing: .1em; color: #718d7d; }
.stage-top { padding-bottom: 16px; }
.stage-bottom { padding-top: 16px; }
.symbol-field { position: relative; isolation: isolate; aspect-ratio: 1; display: grid; place-items: center; }
/* 円内だけを照らす。光の位置と寸法は固定し、ホタルのようなゆっくりした明滅を濃度だけで表す。 */
/* 球の陰影を作らず、平面の円へ均一な光を重ねる。中心から縁への色・濃度の勾配は付けない。 */
.symbol-field::before { content: ""; position: absolute; z-index: 3; inset: 3%; border-radius: 50%; background: #fffbea; mix-blend-mode: screen; opacity: 0; pointer-events: none; animation: firefly-light 25s ease-in-out infinite; }
/* 円形と密度を調整した正式マスターを共通キャンバスのまま置く。旧画像向けの位置補正は重ねない。 */
/* 毛束は内側の円弧、台座は外側の円弧へ触れないよう、表示幅だけ少し抑えて隙間を確保する。 */
.hero-symbol { position: relative; z-index: 1; width: 94%; height: auto; border-radius: 50%; }
/* 3秒かけて明るくなり、4秒かけて静かに消える。消えたあとは18秒の休止を置く。 */
/* 最初の控えめな明滅より光を感じられるよう、円全体のピーク濃度を22%にする。 */
/* 画像自体は暗転させない。動きの抑制時は基本のopacity 0で光を表示しない。 */
@keyframes firefly-light {
  0%, 4%, 32%, 100% { opacity: 0; }
  16% { opacity: .22; }
}
/* 円弧だけをゆっくり回す。拡大した画像の背景に隠れないよう、円弧は画像の手前へ描く。 */
.symbol-orbit { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; fill: none; animation: orbit 60s linear infinite; }
.orbit-track { stroke: #345043; stroke-width: .6; }
.orbit-dashes { stroke: #456d54; stroke-width: .6; stroke-dasharray: 74 20 3 22; }
.orbit-accent { stroke: var(--accent); stroke-width: 1.2; }
@keyframes orbit { to { transform: rotate(360deg); } }
.stage-ticks { width: 74px; height: 6px; background: repeating-linear-gradient(90deg, #739780 0, #739780 1px, transparent 1px, transparent 8px); }
.hero-foot { position: absolute; bottom: 22px; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #698572; font-family: var(--mono); font-size: 8px; line-height: 1.8; letter-spacing: .07em; }
.hero-foot > span > span { margin-left: 12px; }

.capabilities { padding-block: 64px 86px; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: start; justify-content: space-between; gap: 35px; margin-bottom: 38px; }
.section-heading h2 { font-size: 40px; font-weight: 400; line-height: 1.18; letter-spacing: -.045em; }
.section-heading h2 > span { color: var(--muted); }
.capability-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.capability { display: flex; flex-direction: column; padding: 28px 31px 25px; border: 1px solid #2d4238; background: #10201830; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.card-top > span { color: #a4bdaf; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; }
.card-top svg { width: 27px; height: 27px; fill: none; stroke: var(--accent); stroke-width: 1.1; }
.capability h3 { font-size: 29px; font-weight: 400; line-height: 1.3; letter-spacing: -.04em; }
.capability > p { flex: 1; margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.card-line { position: relative; height: 1px; margin-top: 33px; background: #284335; }
.card-line > span { position: absolute; width: 36px; height: 1px; background: var(--accent); }
/* 主機能の3カードに続けて、認証とデータ準備を支える機能を短く紹介する。 */
.workflow-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin: 28px 0 0; padding-top: 26px; border-top: 1px solid var(--line); }
.workflow-tools dt { color: var(--accent); font-family: var(--mono); font-size: 10px; line-height: 1.8; letter-spacing: .06em; }
.workflow-tools dd { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; }

.access-section { border-top: 1px solid var(--line); background: linear-gradient(110deg, #1832251c, transparent 60%); }
.access-inner { display: grid; grid-template-columns: .94fr 1fr; align-items: start; gap: 85px; padding-block: 82px 89px; }
.access-heading h2 { margin-top: 27px; font-family: var(--mono); font-size: clamp(44px, 4.1vw, 59px); font-weight: 400; line-height: 1.08; letter-spacing: -.055em; }
.access-heading h2 > span { color: var(--accent); }
.access-tagline { margin-top: 25px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.access-details { padding-top: 2px; }
.hub-label { color: #b2c5b8; font-family: var(--mono); font-size: 11px; line-height: 1.8; letter-spacing: .02em; }
.hub-notice { margin-top: 18px; color: #c0cec5; font-size: 14px; line-height: 1.9; }
.admission { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.admission-english { color: #a5b9ae; font-family: var(--mono); font-size: 12px; line-height: 1.9; }
.admission-japanese { margin-top: 12px; color: #b0c1b7; font-size: 14px; line-height: 1.9; }
.hub-button, .hero-access { display: flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 63px; margin-top: 27px; padding: 21px 24px; color: #161b15; background: var(--accent); font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .06em; clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px)); }
.hero-access { min-height: 52px; margin-top: 0; padding: 15px 19px; gap: 32px; font-size: 11px; }
.hub-button svg, .hero-access svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.hub-button:hover, .hero-access:hover { background: #bba404; }
/* 切り欠きの外へ輪郭線が隠れないよう、参加ボタンのフォーカスは内側に描く。 */
.hub-button:focus-visible, .hero-access:focus-visible { outline: none; box-shadow: inset 0 0 0 3px #edf5dc; }
.hub-platform { display: flex; justify-content: space-between; margin-top: 13px; color: #8ca997; font-family: var(--mono); font-size: 10px; letter-spacing: .07em; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 96px; border-top: 1px solid var(--line); }
.footer-brand { display: flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 500; letter-spacing: .05em; }
.footer-brand img { border-radius: 50%; }
.footer-brand > span { margin-left: 14px; color: #8daa96; font-size: 10px; letter-spacing: .15em; }
.back-top { display: flex; align-items: center; gap: 17px; min-height: 44px; color: #95ad9b; font-family: var(--mono); font-size: 8px; letter-spacing: .08em; }
.back-top > span { color: var(--accent); font-size: 17px; }
.back-top:hover { color: var(--accent); }

@media (max-width: 1100px) {
  .wrap { width: calc(100% - 72px); }
  .hero { gap: 25px; min-height: 626px; }
  h1 { font-size: 88px; }
  .capability h3 { font-size: 26px; }
  .access-inner { gap: 54px; }
  .access-heading h2 { font-size: 46px; }
}
@media (max-width: 800px) {
  .wrap { width: calc(100% - 48px); }
  .site-header { min-height: 82px; }
  .brand { font-size: 19px; gap: 8px; }
  .brand img { width: 29px; height: 29px; }
  .brand-bot { font-size: 8px; margin-left: 5px; }
  .navigation { font-size: 11px; }
  .nav-capabilities { display: none !important; }
  .navigation a { gap: 17px; }
  /* スマートフォンのHeroを縦に詰めても、マークと参加導線を読める余白を確保する。 */
  .hero { grid-template-columns: 1fr; gap: 28px; min-height: 0; padding-block: 34px 69px; }
  .eyebrow { font-size: 9px; }
  .eyebrow > span { margin-left: 8px; }
  h1 { margin-top: 24px; font-size: clamp(68px, 13.3vw, 98px); }
  .hero-name { margin-top: 9px; font-size: 14px; gap: 24px; }
  .hero-name > span:first-child { font-size: 13px; }
  .hero-motto { margin-top: 20px; font-size: 10px; }
  .hero-description { margin-top: 14px; font-size: 14px; line-height: 1.8; }
  .hero-actions { margin-top: 22px; gap: 14px 20px; }
  .hero-link { min-height: 46px; font-size: 10px; gap: 16px; }
  .hero-access { min-height: 48px; padding: 13px 17px; gap: 24px; }
  .symbol-stage { width: min(100%, 380px); justify-self: center; }
  .stage-top, .stage-bottom { font-size: 7px; }
  .stage-top { padding-bottom: 12px; }
  .stage-bottom { padding-top: 12px; }
  .hero-foot { bottom: 19px; font-size: 7px; }
  .hero-foot > span:nth-child(2) { display: none; }
  .capabilities { padding-block: 45px 52px; }
  .section-heading { display: block; margin-bottom: 27px; }
  .section-heading h2 { margin-top: 19px; font-size: 34px; }
  .capability-grid { grid-template-columns: 1fr; gap: 16px; }
  .capability { padding: 24px; }
  .card-top { margin-bottom: 24px; }
  .capability h3 { font-size: 25px; }
  .capability > p { font-size: 14px; }
  .workflow-tools { grid-template-columns: 1fr; }
  .access-inner { grid-template-columns: 1fr; gap: 38px; padding-block: 48px 57px; }
  .access-heading h2 { margin-top: 22px; font-size: 47px; }
  .access-tagline { margin-top: 20px; }
  .hub-label { font-size: 10px; }
  .hub-notice { margin-top: 15px; }
  .hub-button { min-height: 61px; padding: 20px 22px; font-size: 12px; }
  .site-footer { min-height: 94px; }
  .back-top { font-size: 7px; gap: 12px; }
}
@media (max-width: 580px) {
  .symbol-stage { width: min(78%, 280px); }
  .capability { padding: 25px 27px; }
  .capability h3 { font-size: 28px; }
  .capability > p { font-size: 14px; }
  .card-line { margin-top: 27px; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 36px); }
  .hero { padding-top: 30px; gap: 24px; }
  h1 { font-size: 67px; }
  .stage-top, .stage-bottom { font-size: 6px; }
  .stage-ticks { width: 55px; }
  .capability { padding-inline: 22px; }
  .capability h3 { font-size: 25px; }
  .access-heading h2 { font-size: 41px; }
  .hub-button { padding-inline: 18px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
