/* ==========================================================================
   X-Force — plan-b.co.jp 準拠 Phase 4
   Accent: #c8102e  |  Body BG: #eee  |  Text: #111
   ========================================================================== */
@charset "UTF-8";
html { font-size: 10px; }
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, sans-serif;
  font-size: 1.6rem;
  color: #111;
  letter-spacing: 1px;
  line-height: 1.8;
  background: #eee;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: .24s cubic-bezier(.3,.74,.5,.93); }
img { max-width: 100%; height: auto; vertical-align: middle; }

/* fade-in */
.js-fade { opacity: 0; transform: translateY(30px); transition: opacity .6s cubic-bezier(.3,.74,.5,.93), transform .6s cubic-bezier(.3,.74,.5,.93); }
.js-fade.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   HEADER — plan-b 完全準拠 (fixed, 100px)
   ========================================================================== */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 3000;
  height: 100px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
  opacity: 0; pointer-events: none;
  transition: opacity .6s cubic-bezier(.3,.74,.5,.93), background .24s cubic-bezier(.3,.74,.5,.93), box-shadow .24s;
}
.header.is-visible { opacity: 1; pointer-events: auto; }
.header::before {
  content: ''; position: absolute; inset: 0;
  background: #f1f1f2; opacity: 0;
  transition: opacity .24s cubic-bezier(.3,.74,.5,.93);
  z-index: -1;
}
.header.is-scrolled::before { opacity: 1; }
.header.is-scrolled { box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
/* is-hidden removed: header always stays visible on scroll */

.header_siteid { display: flex; align-items: center; gap: 12px; }
.header_logo-img { height: 32px; width: auto; }
.header_logo-txt {
  font-family: 'Inter', sans-serif; font-weight: 700;
  font-size: 1.8rem; letter-spacing: 0.06em;
  color: #fff; transition: color .3s;
}
.header.is-scrolled .header_logo-txt { color: #111; }

.menu_inner { display: flex; }
.menu_link {
  position: relative; display: block;
  font-size: 1.4rem; font-weight: 500; color: #fff;
  padding: 0 18px; line-height: 100px; letter-spacing: 1px;
  transition: color .24s cubic-bezier(.3,.74,.5,.93);
}
.menu_link::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 6px; background: #c8102e;
  transition: width .4s cubic-bezier(.3,.74,.5,.93);
}
.menu_link:hover::after { width: 100%; }
.header.is-scrolled .menu_link { color: #222; }
.header.is-scrolled .menu_link:hover { color: #c8102e; }

/* Hamburger */
.menu_btn {
  display: none; position: fixed; top: 0; right: 0;
  width: 55px; height: 55px; background: #c8102e;
  cursor: pointer; z-index: 3100;
}
.bar-outer { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 24px; height: 16px; }
.bar { display: block; position: absolute; left: 0; width: 100%; height: 2px; background: #fff; transition: .24s cubic-bezier(.3,.74,.5,.93); }
.bar--01 { top: 0; } .bar--02 { top: 50%; transform: translateY(-50%); } .bar--03 { bottom: 0; }
.menu_btn.is-open .bar--01 { top: 50%; transform: translateY(-50%) rotate(45deg); }
.menu_btn.is-open .bar--02 { opacity: 0; }
.menu_btn.is-open .bar--03 { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

.sp-menu {
  position: fixed; inset: 0; z-index: 3050;
  background: rgba(200,16,46,0.96);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .34s cubic-bezier(.72,0,.275,1);
}
.sp-menu.is-open { opacity: 1; pointer-events: auto; }
.sp-menu ul { list-style: none; text-align: center; }
.sp-menu li { margin-bottom: 20px; }
.sp-menu a { color: #fff; font-size: 2rem; font-weight: 700; letter-spacing: 3px; }

@media (max-width: 991px) {
  .header { height: 55px; padding: 0 16px; }
  .menu_link { display: none; }
  .menu_btn { display: block; }
}

/* ==========================================================================
   HERO — XFパーティクル維持 (100vh)
   ========================================================================== */
.kv {
  position: relative; width: 100%; height: 100vh;
  background: #000; color: #fff; overflow: hidden;
}
.kv-bg {
  position: absolute; inset: 0; z-index: 1;
  opacity: 0; filter: blur(20px); transform: scale(1.12);
  transition: opacity 4s cubic-bezier(0.22,1,0.36,1), filter 5s cubic-bezier(0.22,1,0.36,1), transform 8s cubic-bezier(0.22,1,0.36,1);
}
.kv-bg.show { opacity: 1; filter: blur(0); transform: scale(1); }
.kv-bg.settled { will-change: auto; filter: none; transition: none; }
.kv-bg img { width: 100%; height: 100%; object-fit: cover; }
.kv-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0.4) 70%, rgba(0,0,0,0.55) 100%);
}
#heroCanvas { position: absolute; inset: 0; z-index: 2; }
.hero-content.kv-content {
  position: absolute; inset: 0; z-index: 4;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 40px;
}
.kv-logo {
  font-family: 'Inter', sans-serif; font-weight: 700;
  font-size: clamp(2.4rem, 4vw, 4rem); letter-spacing: 0.14em;
  opacity: 0; transform: translateY(40px); filter: blur(14px);
  transition: opacity 3.5s cubic-bezier(0.22,1,0.36,1), transform 3.5s cubic-bezier(0.22,1,0.36,1), filter 3s cubic-bezier(0.22,1,0.36,1);
}
.kv-logo.on { opacity: 1; transform: translateY(0); filter: blur(0); }
.kv-accent { width: 0; height: 1px; margin: 24px auto 28px; background: rgba(255,255,255,0.25); transition: width 1.2s ease; }
.kv-accent.on { width: 60px; }
.kv-catch {
  font-size: clamp(2.2rem, 5vw, 4.6rem); font-weight: 800; line-height: 1.8; letter-spacing: 0.06em;
  opacity: 0; transform: translateY(35px); filter: blur(12px);
  transition: opacity 3s cubic-bezier(0.22,1,0.36,1), transform 3s cubic-bezier(0.22,1,0.36,1), filter 2.5s cubic-bezier(0.22,1,0.36,1);
  font-feature-settings: "palt";
}
.kv-catch.on { opacity: 1; transform: translateY(0); filter: blur(0); }
.kv-sub {
  margin-top: 24px; font-family: 'Inter'; font-size: 1.2rem;
  letter-spacing: 0.2em; color: rgba(255,255,255,0.3);
  opacity: 0; filter: blur(6px); transition: opacity 2.5s ease, filter 2s ease;
}
.kv-sub.on { opacity: 1; filter: blur(0); }
.kv-rotate {
  position: absolute; inset: 0; z-index: 5;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 40px; opacity: 0; transition: opacity 1s ease; pointer-events: none;
}
.kv-rotate.on { opacity: 1; }
.rotate-label, .kv-rotate-label { font-family: 'Inter'; font-size: 1.2rem; letter-spacing: 0.2em; color: rgba(255,255,255,0.3); margin-bottom: 24px; opacity: 0; transition: opacity 2s ease; }
.rotate-label.on, .kv-rotate-label.on { opacity: 1; }
.kv-rotate-catch { font-size: clamp(2.2rem, 5vw, 4.6rem); font-weight: 800; line-height: 1.8; letter-spacing: 0.06em; color: #fff; font-feature-settings: "palt"; min-height: 3.6em; display: flex; align-items: center; justify-content: center; }
.rotate-desc, .kv-rotate-desc { font-size: 1.2rem; color: rgba(255,255,255,0.3); letter-spacing: 0.2em; margin-top: 24px; opacity: 0; transition: opacity 2s ease 0.4s; }
.rotate-desc.on, .kv-rotate-desc.on { opacity: 1; }
.hero-content.fade-out { opacity: 0 !important; transition: opacity 1.5s ease !important; }
.index-kv-scroll-txt { opacity: 0; transition: opacity 1s ease; }
.index-kv-scroll-txt.on { opacity: 1; }

/* ==========================================================================
   SERVICE — plan-b 完全準拠
   横型カード: 左=写真 / 右=テキスト+赤ボタン の 2×2グリッド
   ========================================================================== */
.sec-service {
  background: #fff;
  padding: 120px 0 80px;
}
@media (max-width: 991px) { .sec-service { padding: 80px 0 40px; } }
@media (max-width: 767px) { .sec-service { padding: 50px 0 30px; } }

.sec-service .section_head { text-align: center; margin-bottom: 60px; }
.section_ttl {
  font-family: 'Inter', sans-serif;
  font-size: 3.8rem; font-weight: 800;
  letter-spacing: 0.14em; color: #111;
}
.section_sub {
  font-size: 1.4rem; color: #666; margin-top: 6px; letter-spacing: 0.1em;
}
.section_ttl-line {
  display: block; width: 30px; height: 2px;
  background: #111; margin: 14px auto 0;
}

.service-grid {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
@media (max-width: 767px) { .service-grid { grid-template-columns: 1fr; } }

/* 横型サービスカード — plan-b完全準拠 */
.sv-card {
  display: flex; background: #fff;
  overflow: hidden; min-height: 220px;
  border: 1px solid #ddd;
  transition: box-shadow .3s, border-color .3s;
}
.sv-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); border-color: #ccc; }
.sv-card-img {
  width: 45%; flex-shrink: 0; overflow: hidden;
  position: relative; background: #ddd;
}
.sv-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.3,.74,.5,.93);
}
.sv-card:hover .sv-card-img img { transform: scale(1.05); }
.sv-card-body {
  flex: 1; display: flex; flex-direction: column;
  justify-content: center; padding: 30px 28px;
}
.sv-card-title {
  font-size: 1.8rem; font-weight: 700;
  margin-bottom: 12px; line-height: 1.4;
}
.sv-card-desc {
  font-size: 1.3rem; color: #666; line-height: 1.8;
  margin-bottom: 20px;
}
.sv-card-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: #c8102e; color: #fff;
  font-size: 1.2rem; font-weight: 700;
  letter-spacing: 0.08em; padding: 10px 24px;
  align-self: flex-start;
  transition: background .24s cubic-bezier(.3,.74,.5,.93);
}
.sv-card-btn::before { content: '+'; font-size: 1.4rem; }
.sv-card-btn:hover { background: #a00d24; color: #fff; }

@media (max-width: 767px) {
  .sv-card { flex-direction: column; }
  .sv-card-img { width: 100%; height: 180px; }
  .sv-card-body { padding: 20px; }
}

/* ==========================================================================
   中段 — plan-b 完全準拠
   左: ミッション + 代表メッセージ (縦積み画像カード)
   右: 4バナー (2×2) + ニュース
   ========================================================================== */
.sec-middle {
  background: #eee;
  padding: 0;
}
.mid-wrap {
  max-width: 1200px; margin: 0 auto; padding: 20px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
@media (max-width: 991px) { .mid-wrap { grid-template-columns: 1fr; } }

/* 左カラム: ミッション + 代表メッセージ */
.mid-left { display: flex; flex-direction: column; gap: 20px; }

.mid-card {
  position: relative; overflow: hidden;
  display: block; min-height: 300px;
  background: #333;
}
.mid-card img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0;
  transition: transform .6s cubic-bezier(.3,.74,.5,.93);
}
.mid-card:hover img { transform: scale(1.05); }
.mid-card-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start;
  padding: 40px;
}
.mid-card-label {
  font-size: 1.2rem; color: rgba(255,255,255,0.7);
  letter-spacing: 0.1em; margin-bottom: 12px;
}
.mid-card-title {
  font-size: 2.8rem; font-weight: 700; color: #fff;
  line-height: 1.5; margin-bottom: 24px;
  font-feature-settings: "palt";
}
@media (max-width: 767px) { .mid-card-title { font-size: 2rem; } }
.mid-card-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: #c8102e; color: #fff;
  font-size: 1.2rem; font-weight: 700;
  letter-spacing: 0.08em; padding: 10px 24px;
  transition: background .24s;
}
.mid-card-btn::before { content: '+'; font-size: 1.4rem; }
.mid-card-btn:hover { background: #a00d24; }

/* 右カラム: 4バナー + ニュース */
.mid-right { display: flex; flex-direction: column; gap: 20px; }

/* 4バナー 2×2 */
.mid-banners {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.mid-banner {
  display: flex; align-items: center; justify-content: center;
  padding: 20px 16px; background: #fff;
  text-align: center; min-height: 90px;
  border: 1px solid #e0e0e0;
  transition: box-shadow .3s, border-color .3s;
}
.mid-banner:hover { box-shadow: 0 2px 12px rgba(0,0,0,0.08); border-color: #ccc; }
.mid-banner-inner { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.mid-banner-logo {
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem; font-weight: 700; color: #222;
  letter-spacing: 0.04em;
}
.mid-banner-sub { font-size: 1.4rem; font-weight: 700; color: #222; letter-spacing: 0.04em; }
.mid-banner-icon { width: 32px; height: 32px; margin-bottom: 6px; }
.mid-banner-icon svg { width: 100%; height: 100%; }

/* ニュース */
.mid-news { background: #fff; padding: 30px; }
.mid-news-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px;
}
.mid-news-ttl { font-size: 2rem; font-weight: 700; }
.mid-news-more {
  font-size: 1.2rem; color: #999; display: flex; align-items: center; gap: 4px;
}
.mid-news-more::before { content: '+'; }
.mid-news-more:hover { color: #c8102e; }

.news-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px 0; border-bottom: 1px solid #eee;
}
.news-item:last-child { border-bottom: none; }
.news-cat {
  display: inline-block; flex-shrink: 0;
  font-size: 1rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 3px 10px; color: #fff;
}
.news-cat--news { background: #c8102e; }
.news-cat--press { background: #222; }
.news-date {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem; color: #999; flex-shrink: 0;
  padding: 2px 8px; border: 1px solid #ddd; border-radius: 2px;
}
.news-title { font-size: 1.3rem; line-height: 1.6; color: #333; }
.news-item:hover .news-title { color: #c8102e; }

@media (max-width: 767px) {
  .news-item { flex-wrap: wrap; }
}

/* ==========================================================================
   下段 — CI + COMPANY カード (plan-b 準拠)
   ========================================================================== */
.sec-bottom {
  background: #eee;
  padding: 0 0 20px;
}
.bottom-wrap {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
@media (max-width: 767px) { .bottom-wrap { grid-template-columns: 1fr; } }

.bottom-card {
  position: relative; overflow: hidden;
  display: block; min-height: 260px; background: #333;
}
.bottom-card img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0;
  transition: transform .6s cubic-bezier(.3,.74,.5,.93);
}
.bottom-card:hover img { transform: scale(1.05); }
.bottom-card-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center;
}
.bottom-card-en {
  font-family: 'Inter', sans-serif;
  font-size: 2.4rem; font-weight: 800;
  color: #fff; letter-spacing: 0.1em; margin-bottom: 6px;
}
.bottom-card-line { width: 30px; height: 2px; background: #fff; margin: 10px auto; }
.bottom-card-ja { font-size: 1.3rem; color: rgba(255,255,255,0.8); letter-spacing: 0.08em; }
.bottom-card-brand {
  font-family: 'Inter', sans-serif;
  font-size: 3.6rem; font-weight: 800;
  color: #fff; letter-spacing: 0.06em; margin-top: 12px;
}

/* ==========================================================================
   FOOTER — 白背景・全中央揃え
   ========================================================================== */
.footer {
  background: #fff; color: #111;
  padding: 60px 30px 40px;
  border-top: 1px solid #e0e0e0;
}
.footer-wrap {
  max-width: 1100px; margin: 0 auto;
  text-align: center;
}
.footer-logo {
  margin-bottom: 30px;
}
.footer-logo img { height: 40px; width: auto; opacity: 0.9; }
.footer-nav {
  list-style: none;
  display: flex; flex-wrap: wrap;
  justify-content: center; gap: 8px 32px;
  margin-bottom: 20px;
}
.footer-nav li a {
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem; font-weight: 500;
  color: #666;
  letter-spacing: 0.06em;
  transition: color .24s;
}
.footer-nav li a:hover { color: #c8102e; }
.footer-legal {
  list-style: none;
  display: flex; justify-content: center; gap: 20px;
  margin-bottom: 24px;
}
.footer-legal li a {
  font-size: 1.2rem; color: #aaa;
  transition: color .24s;
}
.footer-legal li a:hover { color: #666; }
.footer .copyright {
  font-size: 1.2rem; color: #ccc;
}
/* ==========================================================================
   MCT 反映追加クラス（2026-06-01）
   Mission: 今ここにないオモシロイをつくる
   Concept: 人生を、最大のエンタメにする。
   Tagline: LIFE IS PLAYFUL.
   ========================================================================== */

/* 中段カード（MVC/TOPメッセージ）のサブテキスト */
.mid-card-sub {
  font-size: 1.5rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.7;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  font-feature-settings: "palt";
  max-width: 90%;
}
@media (max-width: 767px) { .mid-card-sub { font-size: 1.3rem; } }

/* MVCカード内のTagline（英字、小） */
.mid-card-tagline {
  display: inline-block;
  margin-top: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.75);
}

/* 下段カード（CI/COMPANY）の補足コピー */
.bottom-card-tagline {
  display: block;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.08em;
  margin-top: 8px;
  font-feature-settings: "palt";
  max-width: 90%;
  text-align: center;
}

/* フッターTagline */
.footer-tagline {
  margin: 12px 0 0;
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #888;
}
