/* ===========================================================
   株式会社ミライワークス コーポレートサイト 共通スタイル
   テーマ：黒 × 黄（未来的・テック調 / 男性向け）
   フォント：Orbitron（見出し・英数）+ Noto Sans JP（本文）
   --- カラー定義 ---
   メイン黄色   : #ffd400
   明るい黄色   : #ffe600
   背景(黒)     : #0b0b0d
   面(ダーク)   : #151517 / #1b1b1f
   罫線        : #2a2a2e
   本文文字     : #e8e8ea / 補助: #a8a8ad
   =========================================================== */

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.85;
  color: #e8e8ea;
  background: #0b0b0d;
  letter-spacing: 0.02em;
}

.container { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

/* 見出し・ロゴ・ナビは未来的フォント */
h1, h2, h3,
.site-logo,
.global-nav a,
.ceo-sign strong {
  font-family: "Orbitron", "Noto Sans JP", sans-serif;
}

a { color: #ffd400; }

/* --- ヘッダー / グローバルナビ --- */
.site-header {
  background: #000;
  border-bottom: 2px solid #ffd400;
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px;
}
.site-logo {
  font-size: 1.3rem; font-weight: 900; letter-spacing: 0.14em;
  text-decoration: none; color: #ffd400; text-transform: uppercase;
}
.global-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.global-nav a {
  text-decoration: none; color: #e8e8ea; font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; padding-bottom: 6px;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.global-nav a:hover,
.global-nav a.is-current { color: #ffd400; border-bottom-color: #ffd400; }

/* --- ページ見出し（左に黄色アクセントバー） --- */
.page-title {
  position: relative; padding-left: 18px; margin: 44px 0 28px;
  font-weight: 700; letter-spacing: 0.06em; color: #fff;
}
.page-title::before {
  content: ""; position: absolute; left: 0; top: 0.15em; bottom: 0.15em;
  width: 6px; background: #ffd400;
}

/* --- メインコンテンツ --- */
.site-main { padding: 28px 0 72px; }
.site-main h2 { color: #fff; letter-spacing: 0.05em; }

/* --- ヒーロー（ホーム用 / 未来的SVGアートを背景に） --- */
.hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(11, 11, 13, 0.62) 0%, rgba(11, 11, 13, 0.82) 100%),
    url("images/hero-future.svg") center / cover no-repeat,
    #0b0b0d;
  padding: 112px 0; text-align: center; border-bottom: 1px solid #222;
}
.hero h1 {
  margin: 0 0 18px; font-size: 2.2rem; font-weight: 900;
  letter-spacing: 0.05em; color: #fff; line-height: 1.4;
}
.hero h1 .accent {
  color: #ffd400; text-shadow: 0 0 18px rgba(255, 212, 0, 0.5);
}
.hero p { color: #b5b5ba; margin: 0; }
.hero-actions { margin-top: 32px; }

/* --- お問い合わせボタン（黄色・目立たせる） --- */
.btn-contact {
  display: inline-block;
  font-family: "Orbitron", "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: #0b0b0d;
  background: #ffd400;
  padding: 16px 40px;
  border-radius: 4px;
  box-shadow: 0 0 24px rgba(255, 212, 0, 0.45);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-contact:hover {
  background: #ffe600;
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(255, 212, 0, 0.75);
}

/* --- カード / グリッド --- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.card {
  border: 1px solid #2a2a2e; border-top: 3px solid #ffd400; border-radius: 6px;
  padding: 24px; background: #151517;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(255, 212, 0, 0.16);
  border-color: #3a3a40;
}
.card h3 { margin-top: 0; color: #ffd400; letter-spacing: 0.04em; }
.card p { color: #b5b5ba; }

/* --- 「私たちにできること」: 事業内容を表す背景画像を敷いたブロック --- */
.capabilities {
  position: relative;
  margin-top: 12px;
  padding: 28px 28px 20px;
  border: 1px solid #1e1e22;
  border-radius: 10px;
  overflow: hidden;
  background:
    linear-gradient(rgba(11, 11, 13, 0.72), rgba(11, 11, 13, 0.88)),
    url("images/services-bg.svg") center / cover no-repeat,
    #0b0b0d;
}
.capabilities .page-title { margin-top: 8px; }

/* --- 「私たちにできること」: 3つの円が干渉しあうデザイン --- */
.venn {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: 480px;
  margin: 8px auto 0;
}
.venn-circle {
  position: absolute;
  width: 290px;
  height: 290px;
  transition: transform .25s ease;
}
/* 円本体（半透明）。mix-blend-mode で重なりが明るく光り「干渉」して見える */
.venn-circle::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #ffd400;
  background: rgba(255, 212, 0, 0.10);
  mix-blend-mode: screen;
  transition: background .25s ease, box-shadow .25s ease;
}
.venn-circle:hover { transform: scale(1.05); z-index: 5; }
.venn-circle:hover::before {
  background: rgba(255, 212, 0, 0.26);
  box-shadow: 0 0 45px rgba(255, 212, 0, 0.5);
}
/* 3円の配置（互いに重なる） */
.venn-a { top: 0; left: 0; }
.venn-b { top: 0; right: 0; }
.venn-c { bottom: 0; left: 50%; margin-left: -145px; }
/* ラベルは各円の外側ローブに配置（中央の重なりを避ける） */
.venn-label { position: absolute; z-index: 2; width: 56%; }
.venn-label h3 { margin: 0 0 6px; color: #fff; line-height: 1.35; letter-spacing: 0.03em; }
.venn-label p { margin: 0; font-size: 0.76rem; color: #cfcfd4; line-height: 1.6; }
.venn-a .venn-label { top: 18%; left: 9%;  text-align: left; }
.venn-b .venn-label { top: 18%; right: 9%; text-align: right; }
.venn-c .venn-label { bottom: 15%; left: 50%; transform: translateX(-50%); text-align: center; width: 60%; }

@media (max-width: 560px) {
  .venn { transform: scale(0.74); transform-origin: top center; height: 360px; }
}

/* --- お知らせリスト --- */
.site-main ul { padding-left: 1.2em; }
.site-main li { margin-bottom: 6px; color: #cfcfd4; }

/* --- テーブル（会社概要用） --- */
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td {
  text-align: left; vertical-align: top; padding: 14px; border-bottom: 1px solid #2a2a2e;
}
.info-table th {
  width: 30%; background: #151517; color: #ffd400;
  white-space: nowrap; font-weight: 700; letter-spacing: 0.04em;
}
.info-table td { color: #d8d8dc; }

/* --- 代表メッセージ --- */
.ceo-message {
  display: flex; gap: 32px; flex-wrap: wrap;
  align-items: flex-start; margin-top: 20px;
}
.ceo-photo {
  width: 260px; max-width: 100%; height: auto; border-radius: 8px;
  border: 2px solid #ffd400; box-shadow: 0 8px 28px rgba(255, 212, 0, 0.18);
  flex-shrink: 0;
}
.ceo-body { flex: 1 1 320px; }
.ceo-body p { margin-top: 0; color: #cfcfd4; }
.ceo-sign { margin-top: 22px; font-size: 0.95rem; color: #a8a8ad; }
.ceo-sign strong {
  font-size: 1.2rem; color: #ffd400; margin-left: 8px; letter-spacing: 0.05em;
}

/* --- フッター --- */
.site-footer {
  border-top: 2px solid #ffd400; padding: 30px 0;
  font-size: 0.8rem; color: #888; text-align: center;
  background: #000; letter-spacing: 0.06em;
}
