/* =============================================
   RISING ENTERTAINMENT — 共通スタイル
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Noto+Serif+JP:wght@400;600&display=swap');

:root {
  --navy:     #1a2f4a;
  --navy2:    #0f1e30;
  --navy3:    #243d5c;
  --gold:     #c9a84c;
  --gold-lt:  #e2c97a;
  --gold-dim: rgba(201,168,76,0.15);
  --white:    #ffffff;
  --bg:       #f5f5f3;
  --bg2:      #eeecea;
  --border:   #e0ddd7;
  --border2:  #ccc9c2;
  --text:     #1e1e1e;
  --text-sub: #555555;
  --text-m:   #999999;
  --shadow-sm:  0 1px 4px rgba(0,0,0,0.06);
  --shadow:     0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg:  0 6px 28px rgba(0,0,0,0.11);
  --radius:   6px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.75;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── TOP BAR ── */
#top-bar {
  background: var(--navy2);
  display: flex; justify-content: flex-end; align-items: center;
  padding: 0.35rem max(2rem, calc((100% - 1160px) / 2 + 2rem));
  gap: 1.2rem;
}
.tb-link {
  font-size: 0.7rem; color: rgba(255,255,255,0.55);
  letter-spacing: 0.06em; transition: color 0.2s;
}
.tb-link:hover { color: rgba(255,255,255,0.9); }
.tb-link.tb-cta {
  background: var(--gold); color: var(--navy2);
  padding: 0.28rem 0.9rem; border-radius: 2px; font-weight: 700;
}
.tb-link.tb-cta:hover { background: var(--gold-lt); }
.tb-link.tb-cta-secondary {
  border: 1px solid rgba(255,255,255,0.6); color: #fff;
  padding: 0.28rem 0.9rem; border-radius: 2px; font-weight: 700;
}
.tb-link.tb-cta-secondary:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* ── LANGUAGE SWITCHER ── */
.lang-switcher {
  position: relative;
}
.lang-btn {
  display: flex; align-items: center; gap: 0.4rem;
  background: none; border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.7); font-family: inherit;
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.04em;
  padding: 0.25rem 0.7rem; border-radius: 3px;
  cursor: pointer; transition: all 0.2s;
}
.lang-btn:hover { border-color: rgba(255,255,255,0.5); color: #fff; }
.lang-btn i { font-size: 0.8rem; }
.lang-btn .lang-arrow { font-size: 0.5rem; margin-left: 0.15rem; transition: transform 0.2s; }
.lang-switcher.open .lang-arrow { transform: rotate(180deg); }
.lang-dropdown {
  display: none; position: absolute; top: calc(100% + 6px); right: 0;
  background: var(--navy2); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px; min-width: 150px; z-index: 500;
  box-shadow: 0 6px 24px rgba(0,0,0,0.35); overflow: hidden;
}
.lang-switcher.open .lang-dropdown { display: block; }
.lang-option {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 0.9rem; font-size: 0.72rem;
  color: rgba(255,255,255,0.65); cursor: pointer;
  transition: all 0.15s; border: none; background: none;
  width: 100%; text-align: left; font-family: inherit;
}
.lang-option:hover { background: rgba(255,255,255,0.08); color: #fff; }
.lang-option.active { color: var(--gold-lt); }
.lang-option .lang-code {
  font-size: 0.58rem; color: rgba(255,255,255,0.3);
  margin-left: auto; letter-spacing: 0.05em;
}

/* Google Translate UI の非表示 */
.goog-te-banner-frame, .skiptranslate, #goog-gt-tt, .VIpgJd-yAWNEb-L7lbkb { display: none !important; }
body { top: 0 !important; }
/* 翻訳待ちフェードイン（日本語チラつき防止） */
html.lang-loading body { opacity: 0; }
html.lang-ready body { transition: opacity 0.3s; opacity: 1; }

/* モバイル用言語ボタン */
.lang-mobile {
  display: none; margin-left: auto;
}
.lang-mobile .lang-btn {
  padding: 0.2rem 0.55rem; font-size: 0.62rem;
}

/* ── ハンバーガーメニュー ── */
.mobile-order {
  display: none; align-items: center; gap: 0.3rem;
  background: var(--gold); color: var(--navy2);
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.03em;
  padding: 0.35rem 0.7rem; border-radius: 3px;
  margin-left: auto; white-space: nowrap;
  text-decoration: none;
}
.menu-toggle {
  display: none; background: none; border: none;
  color: rgba(255,255,255,0.85); font-size: 1.6rem;
  padding: 0.5rem 0.6rem; cursor: pointer; margin-left: 1.2rem;
}
.mobile-nav {
  display: none; position: fixed; top: 66px; left: 0; right: 0; bottom: 0;
  background: var(--navy); z-index: 299; overflow-y: auto;
  flex-direction: column; padding: 1rem 0;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem; color: rgba(255,255,255,0.8);
  font-size: 0.92rem; font-weight: 500; letter-spacing: 0.03em;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.15s;
}
.mobile-nav a:hover { background: rgba(255,255,255,0.06); }
.mobile-nav a span {
  font-size: 0.62rem; color: rgba(255,255,255,0.3);
  letter-spacing: 0.1em;
}
.mobile-nav .mobile-nav-btns {
  display: flex; flex-direction: column; gap: 0.6rem;
  padding: 1.2rem 1.5rem; margin-top: auto;
}
.mobile-nav .mobile-nav-btns a {
  display: flex; align-items: center; justify-content: center;
  padding: 0.7rem; border-radius: 4px; font-size: 0.82rem;
  font-weight: 600; border-bottom: none;
}
.mobile-nav .mn-inquiry {
  border: 1px solid rgba(255,255,255,0.5); color: #fff;
}
.mobile-nav .mn-order {
  background: var(--gold); color: var(--navy2);
}

/* ── HEADER ── */
#site-header {
  background: var(--navy);
  position: sticky; top: 0; z-index: 300;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.header-inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; align-items: center;
  padding: 0 2rem; height: 66px; gap: 0;
}
.logo-link {
  flex-shrink: 0; margin-right: auto;
  display: flex; align-items: center; gap: 0.7rem;
}
.logo-link img { height: 36px; width: auto; }
.logo-link .logo-text {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.73rem;
  color: rgba(255,255,255,0.92);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.5;
  white-space: nowrap;
}

nav { display: flex; align-items: stretch; height: 100%; }
.nav-link {
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 0.6rem; height: 100%; text-align: center;
  color: rgba(255,255,255,0.8); white-space: nowrap;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.02em;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-link span { font-size: 0.5rem; color: rgba(255,255,255,0.35); letter-spacing: 0.08em; margin-top: 1px; }
.nav-link:hover { color: #fff; border-bottom-color: rgba(201,168,76,0.5); }
.nav-link.active { color: var(--gold-lt); border-bottom-color: var(--gold); }

/* ── PAGE HERO ── */
.page-hero {
  background: linear-gradient(110deg, var(--navy) 55%, var(--navy3) 100%);
  color: white; padding: 3.5rem 2rem 3rem;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; right: -80px; top: -80px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(201,168,76,0.1) 0%, transparent 65%);
  pointer-events: none;
}
.hero-bg-text {
  position: absolute; right: 2rem; bottom: 0;
  font-size: 5.5rem; font-weight: 900; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.04); pointer-events: none; user-select: none;
  line-height: 1;
}
.hero-inner { max-width: 1160px; margin: 0 auto; padding: 0 2rem; position: relative; }
.breadcrumb {
  display: flex; align-items: center; gap: 0.45rem;
  font-size: 0.7rem; color: rgba(255,255,255,0.45); margin-bottom: 1rem;
}
.breadcrumb a { color: rgba(255,255,255,0.45); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold-lt); }
.bc-sep { opacity: 0.4; }
.hero-en {
  font-size: 0.68rem; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.5rem; font-weight: 500;
}
.hero-ja {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 600; letter-spacing: 0.04em; line-height: 1.2;
}
.hero-desc {
  margin-top: 0.9rem; font-size: 0.85rem;
  color: rgba(255,255,255,0.55); max-width: 580px; font-weight: 300; line-height: 1.8;
}
.hero-sns-box {
  position: absolute; right: 2rem; bottom: 3rem;
  text-align: center;
}
.hero-sns-label {
  font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 0.8rem;
}
.hero-sns-icons { display: flex; gap: 1.2rem; }
.hero-sns-icons a {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  width: 80px; padding: 1rem 0.5rem;
  border: 1px solid var(--gold); border-radius: var(--radius);
  background: rgba(201,168,76,0.12); color: var(--gold-lt);
  transition: all 0.25s;
}
.hero-sns-icons a:hover {
  background: rgba(201,168,76,0.25); border-color: var(--gold-lt);
  color: white;
}
.hero-sns-icons i { font-size: 2rem; }
.hero-sns-icons span { font-size: 0.6rem; letter-spacing: 0.08em; font-weight: 500; }

/* ── SECTION LABEL ── */
.sec-label {
  display: inline-flex; align-items: center; gap: 0.8rem;
  margin-bottom: 0.6rem;
}
.sec-label-en {
  font-size: 0.65rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); font-weight: 700;
}
.sec-label-line { width: 32px; height: 1px; background: var(--gold); opacity: 0.5; }
.sec-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  font-weight: 600; letter-spacing: 0.04em; line-height: 1.35;
  color: var(--navy);
}
.sec-title.light { color: white; }
.sec-body {
  font-size: 0.88rem; color: var(--text-sub); line-height: 1.9;
  max-width: 700px;
}

/* ── DIVIDER ── */
.divider {
  border: none; border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

/* ── CARD BASE ── */
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.22s, transform 0.22s;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

/* ── BUTTON ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: inherit; font-size: 0.82rem; font-weight: 500;
  padding: 0.65rem 1.6rem; border-radius: 3px; cursor: pointer;
  transition: all 0.2s; border: 1.5px solid transparent; letter-spacing: 0.04em;
  text-decoration: none;
}
.btn-primary { background: var(--navy); color: white; border-color: var(--navy); }
.btn-primary:hover { background: var(--navy2); }
.btn-gold { background: var(--gold); color: var(--navy2); border-color: var(--gold); font-weight: 700; }
.btn-gold:hover { background: var(--gold-lt); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: white; }
.btn-outline-white { background: transparent; color: white; border-color: rgba(255,255,255,0.5); }
.btn-outline-white:hover { background: white; color: var(--navy); }

/* ── TABLE ── */
.info-table { width: 100%; border-collapse: collapse; font-size: 0.87rem; }
.info-table th, .info-table td {
  padding: 0.85rem 1.2rem; border-bottom: 1px solid var(--border2);
  vertical-align: top; text-align: left; background: var(--white);
}
.info-table th {
  width: 180px; background: var(--white);
  color: var(--text-sub); font-weight: 500; white-space: nowrap;
  border-right: 1px solid var(--border2);
}
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }

/* ── FOOTER ── */
#site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  margin-top: 3rem;
}
.footer-inner {
  max-width: 1160px; margin: 0 auto;
  padding: 2rem 2rem 1.5rem;
  display: grid; grid-template-columns: 260px 1fr 1fr 1fr;
  gap: 2rem;
}
.footer-brand img { height: 30px; width: auto; opacity: 0.9; }
.footer-brand address {
  font-style: normal; font-size: 0.72rem; margin-top: 0.6rem;
  color: rgba(255,255,255,0.38); line-height: 1.7;
}
.footer-sns { display: flex; gap: 0.8rem; margin-top: 0.8rem; }
.footer-sns a {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.5);
  font-size: 0.9rem; transition: background 0.2s, color 0.2s;
}
.footer-sns a:hover { background: rgba(201,168,76,0.2); color: var(--gold-lt); }
.footer-col h4 {
  font-size: 0.65rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.3); margin-bottom: 0.6rem; font-weight: 600;
}
.footer-col a {
  display: block; font-size: 0.78rem;
  color: rgba(255,255,255,0.55); margin-bottom: 0.35rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold-lt); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  text-align: center; padding: 0.9rem 2rem;
  font-size: 0.68rem; color: rgba(255,255,255,0.28); letter-spacing: 0.1em;
}

/* ── UTIL ── */
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }
.py-lg { padding-top: 4rem; padding-bottom: 4rem; }
.py-md { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.mb-xl { margin-bottom: 3.5rem; }
.mb-lg { margin-bottom: 2rem; }
.mb-md { margin-bottom: 1.2rem; }
.text-center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }

/* ── RESPONSIVE ── */
@media (max-width: 1000px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  #top-bar { display: none; }
  nav { display: none; }
  .lang-mobile { display: block; order: 10; flex-basis: 100%; margin-left: 0; padding-top: 0.5rem; padding-bottom: 0.4rem; }
  .menu-toggle { display: block; }
  .mobile-order { display: inline-flex; }
  .header-inner { padding: 0.5rem 1rem; flex-wrap: wrap; height: auto; }
  .page-hero { padding: 2rem 1.2rem; }
  .hero-sns-box {
    position: static; margin-top: 1.2rem;
    display: flex; align-items: center; gap: 1rem;
  }
  .hero-sns-label { margin-bottom: 0; font-size: 0.55rem; white-space: nowrap; }
  .hero-sns-icons a { width: auto; padding: 0.6rem 0.8rem; flex-direction: row; gap: 0.4rem; }
  .hero-sns-icons i { font-size: 1.3rem; }
  .hero-sns-icons span { font-size: 0.6rem; }
  .wrap { padding: 0 1rem; }
  .py-lg { padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .info-table th { width: 120px; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-bg-text { display: none; }
  /* ニュース項目：縦並びに */
  .news-item { flex-wrap: wrap; gap: 0.5rem 1rem; }
  .news-date { min-width: auto; }
  .news-title { flex-basis: 100%; }
  /* 事業内容カード：縦並びに */
  .biz-grid { grid-template-columns: 1fr; }
  .biz-card { border-right: none; border-bottom: 1px solid var(--border); }
  .biz-card:last-child { border-bottom: none; }
  .mobile-nav { top: 98px; }
}
