/* =========================================================
   MRI本体サイト 共通スタイル
   方針: 白基調コーポレート × chiba-aiブランドブルー（ハイブリッド）
   ========================================================= */

:root {
  --navy: #0B1E3D;
  --blue: #1565C0;
  --cyan: #00B4D8;
  --light: #E3F2FD;
  --gray: #546E7A;
  --white: #FFFFFF;
  --section: #F0F4F8;
  --text: #1f2937;
  --border: #E3E8EF;

  --grad-hero: linear-gradient(135deg, #0B1E3D, #1565C0);
  --grad-accent: linear-gradient(135deg, #1565C0, #00B4D8);

  --max: 1120px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 30, 61, .08);
  --header-h: 72px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Meiryo', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  color: var(--text);
  line-height: 1.8;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; transition: opacity .2s, color .2s; }
a:hover { opacity: .8; }

img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- ヘッダー / グローバルナビ ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
  display: flex; align-items: center;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; }
.brand .brand-logo { height: 34px; width: auto; }

.gnav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.gnav a {
  display: block; padding: 8px 12px; font-size: 14px; font-weight: 700;
  color: var(--navy); border-radius: 8px;
}
.gnav a:hover { background: var(--light); opacity: 1; }
.gnav a.is-current { color: var(--blue); }
.gnav .nav-cta a {
  background: var(--blue); color: #fff; padding: 8px 16px;
}
.gnav .nav-cta a:hover { background: var(--navy); opacity: 1; }

.nav-toggle {
  display: none; border: 0; background: transparent; cursor: pointer;
  width: 44px; height: 44px; padding: 0;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: ''; display: block; position: relative;
  width: 26px; height: 2px; background: var(--navy); margin: 0 auto;
  transition: transform .25s, opacity .25s;
}
.nav-toggle span::before { position: absolute; top: -8px; }
.nav-toggle span::after { position: absolute; top: 8px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-8px) rotate(-45deg); }

/* ---------- セクション共通 ---------- */
.section { padding: 88px 0; }
.section--alt { background: var(--section); }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head .en {
  display: block; font-size: 13px; font-weight: 800; letter-spacing: .18em;
  color: var(--blue); text-transform: uppercase; margin-bottom: 8px;
}
.section-head h2 {
  font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; color: var(--navy);
  margin: 0; line-height: 1.4;
}
.section-head p { color: var(--gray); margin: 14px auto 0; max-width: 640px; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: 15px;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn--primary { background: var(--grad-accent); color: #fff; box-shadow: 0 8px 20px rgba(21, 101, 192, .3); }
.btn--primary:hover { transform: translateY(-2px); opacity: 1; box-shadow: 0 12px 26px rgba(21, 101, 192, .4); }
.btn--ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .6); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); opacity: 1; }
.btn--outline { background: #fff; color: var(--blue); border: 1.5px solid var(--blue); }
.btn--outline:hover { background: var(--light); opacity: 1; }

/* 共通: アクション（CTA帯でも使用） */
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- HERO ショートムービー ---------- */
.hero-video { position: relative; width: 100%; height: clamp(480px, 72vh, 680px); overflow: hidden; background: linear-gradient(135deg, #0a1730 0%, #0B1E3D 55%, #123a6b 100%); }
.hero-video__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* SVGアニメーション版（自作モーション） */
.hero-anim { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-anim .ha-glow { animation: ha-glow-drift 18s ease-in-out infinite; transform-box: view-box; transform-origin: center; }
.hero-anim .ha-link { stroke: #00B4D8; stroke-width: 1.4; opacity: .55; stroke-dasharray: 6 10; animation: ha-flow 2.2s linear infinite; }
.hero-anim .ha-link.s2 { animation-duration: 3.1s; opacity: .4; }
.hero-anim .ha-link.s3 { animation-duration: 2.6s; opacity: .5; }
.hero-anim .ha-node { fill: #cdefff; animation: ha-pulse 3.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.hero-anim .ha-node.n2 { animation-delay: .6s; }
.hero-anim .ha-node.n3 { animation-delay: 1.2s; }
.hero-anim .ha-node.n4 { animation-delay: 1.8s; }
.hero-anim .ha-win { fill: #00E5FF; animation: ha-twinkle 4s ease-in-out infinite; }
.hero-anim .ha-particle { fill: #7fe0ff; filter: drop-shadow(0 0 5px #00E5FF) drop-shadow(0 0 2px #00E5FF); animation: ha-rise 7s linear infinite; transform-box: fill-box; }
@keyframes ha-flow { to { stroke-dashoffset: -32; } }
@keyframes ha-pulse { 0%,100% { opacity: .45; transform: scale(.78); } 50% { opacity: 1; transform: scale(1.15); } }
@keyframes ha-twinkle { 0%,100% { opacity: .15; } 45% { opacity: 1; } 70% { opacity: .5; } }
@keyframes ha-rise { 0% { transform: translateY(70px); opacity: 0; } 10% { opacity: .95; } 85% { opacity: .9; } 100% { transform: translateY(-440px); opacity: 0; } }
@keyframes ha-glow-drift { 0%,100% { transform: translate(-4%, 2%); } 50% { transform: translate(7%, -3%); } }
/* 暮らしのアイコン・信号リング・成長カーブ */
.hero-anim .ha-station { fill: rgba(0, 180, 216, .08); stroke: #3a7fc0; stroke-width: 1.2; }
.hero-anim .ha-station-g { animation: ha-activate 6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.hero-anim .ha-icon { fill: none; stroke: #cfe6f5; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.hero-anim .ha-ring { fill: none; stroke: #00E5FF; stroke-width: 2.6; opacity: 0; transform-box: fill-box; transform-origin: center; animation: ha-ring 6s ease-out infinite; }
.hero-anim .ha-trend { fill: none; stroke: #00E5FF; stroke-width: 2.5; opacity: .6; stroke-dasharray: 10 8; animation: ha-flow 2.8s linear infinite; }
/* 点灯（発光＋拡大）をはっきりと。各ステーションを時間差で順に灯す */
@keyframes ha-activate {
  0%, 100% { transform: scale(.9); filter: none; }
  11% { transform: scale(1.18); filter: drop-shadow(0 0 14px #00E5FF) drop-shadow(0 0 6px #00E5FF); }
  22% { transform: scale(.9); filter: none; }
}
@keyframes ha-ring { 0% { transform: scale(.5); opacity: .9; } 11% { opacity: .8; } 45% { opacity: 0; } 100% { transform: scale(2.2); opacity: 0; } }
/* 右：MRIロゴ中心の放射クラスター（各点が1つずつ繋がり1周） */
.hero-anim .ha-spoke { stroke: #00B4D8; stroke-width: 1.6; opacity: .42; stroke-dasharray: 5 9; animation: ha-flow 2.6s linear infinite; }
.hero-anim .ha-rn { transform-box: fill-box; transform-origin: center; animation: ha-ringpulse 6s ease-in-out infinite; }
.hero-anim .ha-rn-bg { fill: rgba(0, 180, 216, .12); stroke: #3a7fc0; stroke-width: 1.2; }
.hero-anim .ha-rn-ic { fill: none; stroke: #cfe6f5; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.hero-anim .ha-sweep { transform-box: view-box; transform-origin: 1120px 340px; animation: ha-sweep 6s linear infinite; }
.hero-anim .ha-sweep circle { fill: #00E5FF; filter: drop-shadow(0 0 10px #00E5FF) drop-shadow(0 0 4px #00E5FF); }
.hero-anim .ha-hub { animation: ha-hub-glow 3s ease-in-out infinite; }
@keyframes ha-ringpulse {
  0%   { opacity: 1; transform: scale(1.65); filter: drop-shadow(0 0 9px #00E5FF); }
  12%  { opacity: .45; transform: scale(1); filter: none; }
  100% { opacity: .45; transform: scale(1); filter: none; }
}
@keyframes ha-sweep { to { transform: rotate(360deg); } }
@keyframes ha-hub-glow {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(0,180,216,.5)); }
  50%      { filter: drop-shadow(0 0 14px #00E5FF); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-anim .ha-link, .hero-anim .ha-node, .hero-anim .ha-win, .hero-anim .ha-particle, .hero-anim .ha-glow,
  .hero-anim .ha-station-g, .hero-anim .ha-ring, .hero-anim .ha-trend,
  .hero-anim .ha-spoke, .hero-anim .ha-rn, .hero-anim .ha-sweep, .hero-anim .ha-hub { animation: none; }
  .hero-anim .ha-node { opacity: .9; } .hero-anim .ha-win { opacity: .8; } .hero-anim .ha-ring { opacity: 0; }
  .hero-anim .ha-rn { opacity: .9; } .hero-anim .ha-sweep { opacity: 0; }
}
.hero-video__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11, 30, 61, .88) 0%, rgba(11, 30, 61, .6) 30%, rgba(11, 30, 61, .2) 52%, rgba(11, 30, 61, 0) 66%);
}
.hero-video__content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; color: #fff; }
.hero-video__title { font-size: clamp(28px, 5vw, 54px); font-weight: 800; line-height: 1.3; margin: 0 0 20px; letter-spacing: .01em; }
.hero-video__text { font-size: clamp(15px, 1.6vw, 19px); line-height: 1.9; color: rgba(255, 255, 255, .9); margin: 0 0 32px; max-width: 34em; }
/* ヒーロー：見出し→本文→ボタンを順に立ち上げる */
.hero-video__content .hero-video__title,
.hero-video__content .hero-video__text,
.hero-video__content .hero__actions { opacity: 0; animation: hero-rise .85s cubic-bezier(.2, .7, .2, 1) both; }
.hero-video__content .hero-video__title { animation-delay: .25s; }
.hero-video__content .hero-video__text  { animation-delay: .85s; }
.hero-video__content .hero__actions      { animation-delay: 1.45s; }
@keyframes hero-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .hero-video__content .hero-video__title,
  .hero-video__content .hero-video__text,
  .hero-video__content .hero__actions { animation: none; opacity: 1; }
}
@media (max-width: 768px) {
  /* PC配置を縮小：左に説明文、右にMRIロゴ円 */
  .hero-video { height: 290px; }
  .hero-video__overlay { background: linear-gradient(90deg, rgba(11, 30, 61, .95) 0%, rgba(11, 30, 61, .82) 40%, rgba(11, 30, 61, .3) 66%, rgba(11, 30, 61, 0) 86%); }
  .hero-video__content { position: absolute; inset: 22px 24px; height: auto; width: auto; padding: 0; max-width: none; justify-content: center; }
  .hero-video__title { font-size: 22px; margin: 0 0 12px; max-width: 64%; }
  .hero-video__text { font-size: 12.5px; line-height: 1.65; margin: 0 0 18px; max-width: 64%; }
}

/* ---------- 事業カード ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(11, 30, 61, .12); }
.card .ico {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad-accent); color: #fff; margin-bottom: 18px;
}
.card .ico svg { width: 28px; height: 28px; }
.card h3 { font-size: 19px; color: var(--navy); margin: 0 0 10px; font-weight: 800; }
.card p { margin: 0; font-size: 14.5px; color: #4b5563; }
.card .num { font-size: 12px; font-weight: 800; color: var(--cyan); letter-spacing: .1em; }

/* ---------- 沿革（年月｜概要 の行レイアウト・現行サイト準拠） ---------- */
.timeline { max-width: 840px; margin: 0 auto; padding: 0; list-style: none; }
.timeline li {
  display: grid; grid-template-columns: 130px 1fr; gap: 24px; align-items: start;
  padding: 16px 6px; border-bottom: 1px solid var(--border);
}
.timeline li:first-child { border-top: 1px solid var(--border); }
.timeline .date { font-weight: 800; color: var(--blue); font-size: 15px; white-space: nowrap; }
.timeline .txt { color: var(--text); line-height: 1.7; }
@media (max-width: 600px) {
  .timeline li { grid-template-columns: 84px 1fr; gap: 14px; padding: 13px 4px; }
  .timeline .date { font-size: 13.5px; }
  .timeline .txt { font-size: 14px; }
}
.timeline .txt a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.timeline .txt a:hover { color: var(--navy); }

/* ---------- メディア掲載 ---------- */
.media-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 800px; margin: 0 auto; }
.media-grid .group-card { text-align: left; }
.media-grid .gc-name { margin: 0; }
.media-grid .gc-tag { display: block; font-size: 12px; font-weight: 800; letter-spacing: .08em; color: var(--cyan); margin: 0 0 8px; }
/* 写真つきカード */
.media-grid .media-card { padding: 0; overflow: hidden; }
.media-thumb { width: 100%; height: auto; display: block; }
.media-card .media-body { padding: 18px 22px 22px; }
.media-card .media-body .gc-tag { margin: 0 0 6px; }
.media-card .media-body .gc-name { margin: 0; }
@media (max-width: 640px) { .media-grid { grid-template-columns: 1fr; } .media-thumb { height: auto; object-fit: contain; } }

/* ---------- グループ会社 ---------- */
.group-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.group-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; text-align: center; transition: border-color .2s, box-shadow .2s;
}
.group-card:hover { border-color: var(--cyan); box-shadow: var(--shadow); }
.group-card .gc-logo { height: 52px; width: auto; max-width: 80%; object-fit: contain; margin: 4px auto 16px; }
.group-card .gc-name { font-weight: 800; color: var(--navy); font-size: 17px; margin: 0 0 6px; }
.group-card .gc-desc { font-size: 13.5px; color: var(--gray); margin: 0; }

/* ---------- CTA帯 ---------- */
.cta-band { background: var(--grad-hero); color: #fff; text-align: center; padding: 72px 0; }
.cta-band h2 { font-size: clamp(22px, 3.2vw, 30px); margin: 0 0 14px; font-weight: 800; }
.cta-band p { color: rgba(255, 255, 255, .85); margin: 0 0 28px; }
.cta-band .hero__actions { justify-content: center; }

/* ---------- フッター ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .8); padding: 56px 0 28px; }
.footer-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 32px; }
.footer-brand .footer-logo { height: 30px; width: auto; background: #fff; padding: 8px 12px; border-radius: 8px; }
.footer-brand .addr { font-size: 13px; margin-top: 12px; line-height: 1.9; color: rgba(255, 255, 255, .6); }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; align-items: flex-start; }
.footer-links a { color: rgba(255, 255, 255, .8); font-size: 14px; }
.footer-links a:hover { color: var(--cyan); opacity: 1; }
.footer-certs { display: flex; align-items: stretch; gap: 14px; flex-wrap: nowrap; margin-left: auto; align-self: center; max-width: 520px; }
/* 同じサイズの白枠に揃えて横並び（object-fit で中央配置） */
.footer-certs .cert-logo {
  flex: 1 1 0; min-width: 0; height: 84px; object-fit: contain; box-sizing: border-box;
  background: #fff; padding: 9px 14px; border-radius: 10px; display: block;
}
@media (max-width: 768px) {
  .footer-certs { margin-left: 0; gap: 10px; flex-wrap: nowrap; max-width: 100%; }
  .footer-certs .cert-logo { height: 58px; padding: 7px 10px; }
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: rgba(255, 255, 255, .55);
}
.pagetop {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; background: var(--blue); color: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; transform: translateY(8px);
}
.pagetop.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ---------- 下層ページ共通: ページヘッダー ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background: var(--grad-hero); color: #fff; padding: 44px 0 40px;
}
.page-hero .grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 40px 40px; mask-image: radial-gradient(circle at 80% 30%, #000, transparent 80%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .en { display: block; font-size: 13px; font-weight: 800; letter-spacing: .2em; color: #9ac8e8; text-transform: uppercase; margin-bottom: 8px; }
.page-hero h1 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; margin: 0; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,.7); margin: 18px 0 0; }
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { margin: 0 8px; opacity: .6; }

/* 代表挨拶など本文リード */
.prose { max-width: 820px; margin: 0 auto; }
.prose p { font-size: 16px; line-height: 2; color: #374151; margin: 0 0 1.2em; }
.greeting-sign { text-align: right; margin-top: 24px; color: var(--navy); }
.greeting-sign .role { font-size: 13px; color: var(--gray); display: block; }
.greeting-sign .name { font-size: 20px; font-weight: 800; }

/* 代表挨拶: 写真＋プロフィール（左カラム）＋挨拶文（右カラム） */
.greeting { display: grid; grid-template-columns: 360px 1fr; grid-template-rows: auto 1fr; grid-template-areas: "photo head" "photo prose"; column-gap: 40px; row-gap: 0; align-items: start; max-width: 1060px; margin: 0 auto; }
.greeting .greeting-head { grid-area: head; }
.greeting .greeting-left { grid-area: photo; }
.greeting .prose { grid-area: prose; }
.greeting-left { display: block; }
.greeting .prose { display: flex; flex-direction: column; }
.greeting .profile { margin: 22px 0 0; max-width: none; }
.greeting .profile h3 { font-size: 16px; margin: 0 0 8px; }
.greeting .profile .edu { font-size: 14px; line-height: 1.55; margin: 0 0 8px; white-space: nowrap; }
.greeting .profile .career-label { margin: 0 0 4px; }
.greeting .career li { gap: 8px; padding: 1.5px 0; font-size: 12px; line-height: 1.45; border-bottom: 0; }
.greeting .career .yr { min-width: 5em; white-space: nowrap; }
/* 代表挨拶を上に詰め、顔写真をファーストビューに */
#greeting { padding-top: 28px; }
/* 見出しを本文カラム側に置き、写真を上詰めに */
#greeting .greeting-head { text-align: left; margin: 0 0 20px; }
#greeting .greeting-head .en { margin-bottom: 6px; }
.greeting .greeting-photo { margin: 0; }
.greeting .greeting-photo img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.greeting .greeting-photo figcaption { text-align: center; margin-top: 12px; color: var(--navy); }
.greeting .greeting-photo .role { display: block; font-size: 12px; color: var(--gray); }
.greeting .greeting-photo .name { font-size: 18px; font-weight: 800; }
.greeting .prose { margin: 0; }
@media (max-width: 768px) {
  /* モバイル: 見出し→写真→挨拶文 の順で縦積み */
  .greeting { grid-template-columns: 1fr; grid-template-rows: auto; grid-template-areas: "head" "photo" "prose"; row-gap: 20px; }
  .greeting .greeting-head { margin: 0 0 4px; }
  .greeting .greeting-photo { max-width: 300px; margin: 0 auto; }
  /* 学歴はモバイルでは折り返し可（小型端末でのはみ出し防止） */
  .greeting .profile .edu { white-space: normal; font-size: 13.5px; }
  /* モバイルは上下の余白を詰めて密度を上げる */
  .section { padding: 52px 0; }
  .section-head { margin-bottom: 28px; }
}

/* 会社概要テーブル */
.info-table { width: 100%; max-width: 860px; margin: 0 auto; border-collapse: collapse; }
.info-table th, .info-table td { text-align: left; padding: 18px 20px; border-bottom: 1px solid var(--border); vertical-align: top; font-size: 15px; }
.info-table th { width: 220px; color: var(--navy); font-weight: 800; background: #fafbfd; }
.info-table td { color: #374151; }
.info-table .note { display: block; color: var(--gray); font-size: 12.5px; margin-top: 6px; }
@media (max-width: 640px) {
  .info-table, .info-table tbody, .info-table tr, .info-table th, .info-table td { display: block; width: 100%; }
  .info-table th { border-bottom: 0; padding-bottom: 4px; background: transparent; }
  .info-table td { padding-top: 4px; padding-bottom: 16px; }
}

/* 理念 / Mission・Vision・Values */
.creed { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.creed .creed-label { font-size: 13px; font-weight: 800; letter-spacing: .18em; color: var(--blue); }
.creed .creed-main { font-size: clamp(22px, 3.4vw, 30px); font-weight: 800; color: var(--navy); margin: 12px 0 0; line-height: 1.6; }
.mvv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mvv .card { text-align: left; }
.mvv .mvv-ico { width: 52px; height: 52px; border-radius: 13px; background: var(--grad-accent); color: #fff; display: grid; place-items: center; margin-bottom: 16px; }
.mvv .mvv-ico svg { width: 27px; height: 27px; }
.mvv .mvv-en { font-size: 17px; font-weight: 800; letter-spacing: .12em; color: var(--cyan); }
.mvv h3 { font-size: 17px; color: var(--navy); margin: 6px 0 10px; }
.mvv p { font-size: 14.5px; color: #4b5563; margin: 0; }
@media (max-width: 900px) { .mvv { grid-template-columns: 1fr; } }

/* SDGs */
.sdgs-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 8px; }
.sdg-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.sdg-card .sdg-icon { width: 88px; height: 88px; border-radius: 10px; display: block; margin-bottom: 16px; }
.sdg-card .sdg-body { padding: 0; margin: 0; list-style: none; }
.sdg-card .sdg-body li { font-size: 13.5px; color: #4b5563; margin-bottom: 10px; }
.sdg-card .sdg-body .means { display: block; color: var(--blue); font-size: 12px; margin-top: 2px; }
@media (max-width: 900px) { .sdgs-list { grid-template-columns: 1fr; } }

/* ---------- フォーム ---------- */
.form { max-width: 720px; margin: 0 auto; }
.field { margin-bottom: 24px; }
.field > label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 8px; font-size: 15px; }
.field .req { color: #DC2626; font-size: 12px; font-weight: 800; margin-left: 8px; }
.field .opt { color: var(--gray); font-size: 12px; font-weight: 700; margin-left: 8px; }
.field .hint { font-size: 12.5px; color: var(--gray); margin: 6px 0 0; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea {
  width: 100%; padding: 13px 16px; font-size: 15px; font-family: inherit;
  border: 1.5px solid var(--border); border-radius: 10px; background: #fff; color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus,
.field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21, 101, 192, .12);
}
.field textarea { resize: vertical; min-height: 160px; }
.field .err-msg { color: #DC2626; font-size: 13px; margin: 6px 0 0; display: none; }
.field.has-error input,
.field.has-error textarea { border-color: #DC2626; }
.field.has-error .err-msg { display: block; }

/* ラジオ */
.radio-group { display: flex; gap: 12px; flex-wrap: wrap; }
.radio-group label {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  border: 1.5px solid var(--border); border-radius: 10px; padding: 12px 20px; font-weight: 700; color: var(--navy);
  transition: border-color .2s, background .2s;
}
.radio-group label:has(input:checked) { border-color: var(--blue); background: var(--light); }
.radio-group input { accent-color: var(--blue); width: 18px; height: 18px; }

/* ファイル */
.field input[type="file"] {
  width: 100%; padding: 11px 14px; font-size: 14px; font-family: inherit;
  border: 1.5px dashed var(--border); border-radius: 10px; background: #fafbfd; cursor: pointer;
}
.field input[type="file"]::file-selector-button {
  margin-right: 12px; border: 0; border-radius: 8px; padding: 8px 14px; cursor: pointer;
  background: var(--blue); color: #fff; font-weight: 700;
}
.file-group[hidden] { display: none; }

/* honeypot（視覚・支援技術から隠す） */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* フォーム送信ボタン行 */
.form-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.btn--lg { padding: 16px 40px; font-size: 16px; }
.btn--plain { background: #fff; color: var(--gray); border: 1.5px solid var(--border); }
.btn--plain:hover { background: var(--section); opacity: 1; }

/* 確認画面 */
.confirm-note { text-align: center; color: var(--gray); margin: 0 0 28px; }
.confirm-table { width: 100%; border-collapse: collapse; margin-bottom: 32px; }
.confirm-table th, .confirm-table td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--border); font-size: 15px; vertical-align: top; }
.confirm-table th { width: 200px; color: var(--navy); font-weight: 800; background: #fafbfd; white-space: nowrap; }
.confirm-table td { color: #374151; white-space: pre-wrap; }
@media (max-width: 600px) {
  .confirm-table, .confirm-table tbody, .confirm-table tr, .confirm-table th, .confirm-table td { display: block; width: 100%; }
  .confirm-table th { border-bottom: 0; padding-bottom: 2px; }
}

/* 個人情報の同意 */
.privacy-agree { text-align: center; margin: 8px 0 24px; font-size: 14px; }
.privacy-agree label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.privacy-agree input { width: 18px; height: 18px; accent-color: var(--blue); }

/* 応募書類フォーマットサンプル */
.sample-box {
  background: var(--section); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 26px; margin: 0 auto 36px; max-width: 720px;
}
.sample-box .ttl { font-weight: 800; color: var(--navy); margin: 0 0 6px; font-size: 15px; }
.sample-box .note { margin: 0 0 14px; font-size: 13.5px; color: #4b5563; }
.sample-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.sample-list a {
  display: inline-flex; align-items: center; gap: 8px; background: #fff;
  border: 1.5px solid var(--border); border-radius: 10px; padding: 9px 16px;
  font-size: 14px; font-weight: 700; color: var(--blue);
}
.sample-list a:hover { border-color: var(--blue); opacity: 1; }
.sample-list a svg { width: 16px; height: 16px; flex: none; }

/* サンクスページ */
.thanks-hero { text-align: center; max-width: 640px; margin: 0 auto; }
.thanks-hero .check {
  width: 76px; height: 76px; border-radius: 50%; background: var(--grad-accent); color: #fff;
  display: grid; place-items: center; margin: 0 auto 24px;
}
.thanks-hero .check svg { width: 38px; height: 38px; }
.thanks-hero h2 { color: var(--navy); font-size: 26px; margin: 0 0 16px; }
.thanks-hero p { color: #374151; line-height: 1.9; margin: 0 0 28px; }

/* ---------- 規程ページ（健康宣言・個人情報・情報セキュリティ）---------- */
.legal { max-width: 860px; margin: 0 auto; }
.legal p { line-height: 1.95; color: #374151; margin: 0 0 1.2em; }
.legal h3 {
  color: var(--navy); font-size: 19px; font-weight: 800; margin: 2em 0 .7em;
  padding-left: 14px; border-left: 4px solid var(--blue); line-height: 1.5;
}
.legal h3:first-child { margin-top: 0; }
.legal ol, .legal ul { padding-left: 1.4em; color: #374151; line-height: 1.95; margin: 0 0 1.2em; }
.legal li { margin-bottom: .5em; }
.legal .lead { font-size: 16px; }
.sign-block { text-align: right; margin-top: 36px; color: var(--navy); line-height: 1.8; }
.sign-block .date { color: var(--gray); font-size: 14px; display: block; }
.sign-block .name { font-size: 18px; font-weight: 800; }
.contact-box {
  background: var(--section); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 26px; margin: 20px 0;
}
.contact-box .ttl { font-weight: 800; color: var(--navy); margin: 0 0 8px; }
.contact-box p { margin: 0; line-height: 1.9; }
.measures { display: flex; flex-direction: column; gap: 16px; margin: 8px 0 0; }
.measure {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 26px; box-shadow: var(--shadow);
}
.measure h3 {
  margin: 0 0 8px; padding: 0; border: 0; color: var(--navy); font-size: 17px; font-weight: 800;
  display: flex; align-items: baseline; gap: 12px;
}
.measure h3 .no { color: var(--cyan); font-size: 14px; font-weight: 800; }
.measure p { margin: 0; color: #4b5563; font-size: 14.5px; }

/* 取り組み（イラスト付き） */
.measure--img { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; }
.measure--img .illust { width: 100%; border-radius: 10px; display: block; }
@media (max-width: 640px) { .measure--img { grid-template-columns: 1fr; gap: 16px; } }

/* 認定証 */
.cert-row { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; margin: 8px 0 8px; }
.cert-row figure { margin: 0; max-width: 240px; text-align: center; }
.cert-row img { width: 100%; border: 1px solid var(--border); border-radius: 8px; box-shadow: var(--shadow); }
.cert-row figcaption { font-size: 13px; color: var(--gray); margin-top: 10px; }

/* 推進体制図 */
.taisei-chart { max-width: 780px; margin: 12px auto 0; }
.taisei-chart img { width: 100%; border: 1px solid var(--border); border-radius: 10px; background: #fff; padding: 12px; }
.taisei-chart figcaption { text-align: center; font-size: 13px; color: var(--gray); margin-top: 10px; }

/* 代表 サイン画像・略歴 */
.greeting .sign-text { margin: 18px 0 0; align-self: flex-end; text-align: left; color: var(--navy); line-height: 1.25; font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "HiraMinProN-W3", "HGS明朝E", "MS PMincho", serif; }
.greeting .sign-text .sign-role { display: block; font-size: 13px; color: var(--gray); margin: 0 0 4px; }
.greeting .sign-text .sign-name { display: block; font-family: "Yuji Syuku", "Yu Mincho", serif; font-size: 34px; font-weight: 400; letter-spacing: .12em; }
.profile { max-width: 860px; margin: 48px auto 0; }
.profile h3 { color: var(--navy); font-size: 20px; font-weight: 800; margin: 0 0 16px; padding-left: 14px; border-left: 4px solid var(--blue); }
.profile .edu { color: #374151; margin: 0 0 16px; }
.career { list-style: none; padding: 0; margin: 0; }
.career li { display: flex; gap: 18px; padding: 9px 0; border-bottom: 1px dashed var(--border); font-size: 15px; }
.career li:last-child { border-bottom: 0; }
.career .yr { color: var(--blue); font-weight: 800; white-space: nowrap; min-width: 8.5em; }
.career .org { color: #374151; }
@media (max-width: 520px) { .career li { flex-direction: column; gap: 2px; } .career .yr { min-width: 0; } }

/* ---------- アクセスページ ---------- */
.access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; max-width: 1000px; margin: 0 auto; }
.access-info .info-table { margin: 0; }
.map-embed {
  position: relative; width: 100%; aspect-ratio: 4 / 3;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border);
}
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-link { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 700; }
@media (max-width: 768px) {
  .access-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- 採用情報ページ ---------- */
.recruit-sub { max-width: 860px; margin: 0 auto 16px; display: flex; align-items: center; gap: 12px; }
.recruit-sub .tag {
  display: inline-block; background: var(--grad-accent); color: #fff;
  font-size: 13px; font-weight: 800; padding: 6px 16px; border-radius: 999px;
}
.recruit-sub h3 { font-size: 20px; color: var(--navy); margin: 0; font-weight: 800; }
.salary { color: var(--blue); font-weight: 800; }
.benefits { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 900px; margin: 0 auto; padding: 0; }
.benefits li {
  list-style: none; background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: 10px 18px; font-size: 14px; color: #374151; box-shadow: 0 2px 8px rgba(11, 30, 61, .04);
}
.benefits li::before { content: '✓'; color: var(--cyan); font-weight: 800; margin-right: 8px; }
.benefits li a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.benefits li a:hover { color: var(--blue); opacity: 1; }
.recruit-note { text-align: center; color: var(--gray); font-size: 13px; margin-top: 28px; }

/* ---------- 事業内容ページ ---------- */
.biz-list { display: flex; flex-direction: column; gap: 28px; max-width: 940px; margin: 0 auto; }
.biz-item {
  display: grid; grid-template-columns: 128px 1fr; gap: 36px; align-items: start;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 38px 40px; box-shadow: var(--shadow);
}
.biz-media { text-align: center; }
.biz-icon {
  width: 76px; height: 76px; border-radius: 18px; display: grid; place-items: center;
  background: var(--grad-accent); color: #fff; margin: 0 auto 12px;
}
.biz-icon svg { width: 38px; height: 38px; }
.biz-no { font-size: 13px; font-weight: 800; letter-spacing: .14em; color: var(--cyan); }
.biz-body h3 { font-size: 22px; color: var(--navy); margin: 2px 0 14px; font-weight: 800; }
.biz-lead { font-size: 16px; line-height: 1.9; color: #374151; margin: 0 0 18px; }
.biz-note {
  background: var(--section); border-left: 4px solid var(--blue); border-radius: 8px;
  padding: 14px 18px; font-size: 14.5px; color: #4b5563; margin: 0;
}
.biz-note .q { color: var(--navy); font-weight: 700; }
@media (max-width: 720px) {
  .biz-item { grid-template-columns: 1fr; gap: 18px; padding: 28px 24px; }
  .biz-media { display: flex; align-items: center; gap: 16px; text-align: left; }
  .biz-icon { margin: 0; width: 60px; height: 60px; }
}

/* ---------- スクロール演出 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { height: 240px; order: -1; }
  .cards, .group-grid { grid-template-columns: 1fr; }

  .nav-toggle { display: block; }
  .gnav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: #fff; border-bottom: 1px solid var(--border);
    transform: translateY(-120%); transition: transform .3s; box-shadow: var(--shadow);
  }
  .gnav.open { transform: translateY(0); }
  .gnav ul { flex-direction: column; gap: 0; padding: 8px 16px 16px; }
  .gnav a { padding: 14px 8px; border-radius: 0; border-bottom: 1px solid var(--border); }
  .gnav .nav-cta a { margin-top: 12px; border-radius: 8px; text-align: center; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: none; opacity: 1; transform: none; }
}

/* ---------- 多言語（日本語／中文／English）---------- */
/* 既定はすべて非表示。body のクラス（lang-ja/zh/en）に応じて該当言語のみ表示 */
[data-lang] { display: none; }
.lang-ja [data-lang="ja"],
.lang-zh [data-lang="zh"],
.lang-en [data-lang="en"] { display: block; }
span[data-lang] { display: none; }
.lang-ja span[data-lang="ja"],
.lang-zh span[data-lang="zh"],
.lang-en span[data-lang="en"] { display: inline; }

/* 言語スイッチャー（プルダウン） */
.lang-switch { display: flex; align-items: center; gap: 6px; }
.lang-switch .globe { width: 18px; height: 18px; color: var(--gray); flex: none; }
.lang-select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  padding: 7px 32px 7px 12px; border: 1.5px solid var(--border); border-radius: 10px;
  background-color: #fff; color: var(--navy); font-size: 13px; font-weight: 700;
  font-family: inherit; line-height: 1.4; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23546E7A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 13px;
  transition: border-color .2s, box-shadow .2s;
}
.lang-select:hover { border-color: var(--blue); }
.lang-select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21, 101, 192, .12); }

/* ヘッダー内の配置 */
.header-right { display: flex; align-items: center; gap: 16px; }
@media (max-width: 900px) {
  .header-right { gap: 10px; }
  .lang-switch .globe { display: none; }
  .lang-select { padding: 6px 26px 6px 9px; font-size: 12px; background-position: right 7px center; }
}
