/* ============================================================
   Protect Arts コーポレートサイト 共通スタイル
   デザイン基準: Claude Design「Protect Arts Design System」
   （Navy #17324D 基調・真鍮ゴールド #B08D44 アクセント）
   ============================================================ */

/* ---- Webフォント ---- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&family=Inter:wght@400;500;600;700&display=swap');

/* ---- デザイントークン ---- */
:root {
  --pa-navy:      #17324D;
  --pa-navy-2:    #1F4060;
  --pa-navy-900:  #0E2236;
  --pa-blue-gray: #3B5673;
  --pa-line:      #C4CFDA;
  --pa-mist:      #EDF1F4;
  --pa-signal:    #B08D44;
  --pa-signal-deep: #957534;
  --pa-olive:     #5E6B4A;

  --pa-ink-700: #2A3A48;
  --pa-ink-500: #5A6B7A;
  --pa-ink-400: #8895A3;
  --pa-ink-300: #C4CFDA;

  --pa-tier-matsu: #B08D44;
  --pa-tier-take:  #9AA3AB;
  --pa-tier-ume:   #A9714A;

  --pa-success: #2e7d57;
  --pa-success-bg: #e6f1ec;
  --pa-danger:  #a8463d;

  --color-brand: var(--pa-navy);
  --color-brand-hover: var(--pa-navy-2);
  --color-brand-soft: #E9EEF3;
  --color-signal: var(--pa-signal);
  --color-signal-hover: var(--pa-signal-deep);

  --text-strong: var(--pa-navy);
  --text-body:   var(--pa-ink-700);
  --text-muted:  var(--pa-ink-500);
  --text-on-dark: #EAF0F6;

  --border-strong: #AAB8C6;

  --gradient-navy: linear-gradient(160deg, var(--pa-navy) 0%, var(--pa-navy-2) 100%);

  --font-sans:    "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, sans-serif;
  --font-display: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, sans-serif;
  --font-num:     "Inter", system-ui, sans-serif;

  --shadow-xl: 0 24px 60px rgba(14, 34, 54, 0.14);
  --ease-standard: cubic-bezier(0.4, 0.0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 140ms;
  --dur-base: 220ms;
  --blur-glass: saturate(140%) blur(12px);
}

/* ---- ベース ---- */
*, *::before, *::after { box-sizing: border-box; border-radius: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  color: var(--text-body);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--text-strong); margin: 0; letter-spacing: -0.01em; font-weight: 700; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; margin: 0; padding: 0; }
table { border-collapse: collapse; }
button { font-family: inherit; }
.num { font-family: var(--font-num); font-variant-numeric: tabular-nums; }

.pa-container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.pa-section { padding: 96px 0; }
.pa-section--mist { background: #fff; }

/* 見出し（英語の透かし付き） */
.sec-head { margin-bottom: 36px; position: relative; }
.sec-head .ghost {
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  font-family: var(--font-display); font-weight: 800; font-size: 88px;
  letter-spacing: 0.02em; line-height: 1; color: var(--pa-navy); opacity: 0.09;
  white-space: nowrap; z-index: 0; pointer-events: none; user-select: none;
}
.sec-head h2 { font-size: 28px; font-weight: 900; letter-spacing: -0.02em; position: relative; z-index: 1; line-height: 1.5; }

/* 大文字イニシャル見出し（SERVICE / ABOUT US 用） */
.initial-label { display: inline-flex; align-items: baseline; font-family: var(--font-num); font-weight: 900; letter-spacing: -0.01em; line-height: 1; opacity: 0.72; color: var(--pa-blue-gray); }
.initial-label .big { font-size: 64px; }
.initial-label .rest { font-size: 27px; font-weight: 700; letter-spacing: 0.06em; }

/* ---- スクロール表示アニメーション ---- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.25s var(--ease-out), transform 1.25s var(--ease-out); will-change: opacity, transform; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  *, *::before, *::after { animation: none !important; }
}

/* ============================================================
   ヘッダー
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(13, 28, 46, 0.3);
  -webkit-backdrop-filter: var(--blur-glass); backdrop-filter: var(--blur-glass);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background var(--dur-base) var(--ease-standard);
}
.site-header.is-scrolled { background: rgba(13, 28, 46, 0.82); border-bottom-color: rgba(255, 255, 255, 0.14); }
.site-header.is-solid { position: sticky; background: var(--pa-navy); border-bottom: 1px solid rgba(255,255,255,0.14); }
.header-inner { display: flex; align-items: center; height: 72px; width: 100%; padding: 0 40px; }

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand .names { display: flex; flex-direction: column; line-height: 1.15; }
.brand .ja { font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: 0.01em; white-space: nowrap; color: #fff; }
.brand .en { font-family: var(--font-num); font-size: 9.5px; letter-spacing: 0.22em; white-space: nowrap; text-transform: uppercase; color: #9FB4C9; }

.global-nav { display: flex; align-items: center; gap: 22px; margin-left: 32px; }
.global-nav a {
  font-size: 13px; font-weight: 500; color: #EDF2F8; white-space: nowrap;
  transition: color var(--dur-fast); text-shadow: 0 1px 6px rgba(9, 21, 36, 0.7);
  border-bottom: 2px solid transparent; padding-bottom: 3px;
}
.global-nav a:hover { color: #fff; }
.global-nav a.is-active { font-weight: 700; border-bottom-color: var(--pa-signal); }

.header-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.btn-contact {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--pa-signal); color: #fff; font-weight: 600; font-size: 13.5px;
  padding: 11px 20px; white-space: nowrap; flex: none; transition: background var(--dur-fast);
}
.btn-contact:hover { background: var(--pa-signal-deep); }

/* ハンバーガー（モバイル用メニュー開閉ボタン） */
.nav-toggle {
  display: none; flex: none; width: 44px; height: 44px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  background: transparent; border: none; cursor: pointer; padding: 0;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; transition: transform 0.25s var(--ease-standard), opacity 0.2s; }
.site-header.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* モバイルメニュー本体 */
.mobile-nav {
  display: none; background: var(--pa-navy);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  max-height: calc(100vh - 72px); overflow-y: auto;
}
.site-header.menu-open .mobile-nav { display: block; }
.mobile-nav a {
  display: block; padding: 15px 24px; font-size: 14.5px; font-weight: 500;
  color: #EDF2F8; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-nav a.is-active { color: var(--pa-signal); font-weight: 700; }
.mobile-nav .mnav-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 16px 20px 20px; padding: 14px; background: var(--pa-signal);
  color: #fff; font-weight: 600; font-size: 14.5px; border-bottom: none;
}

/* 言語プルダウン */
.lang-select { position: relative; flex: none; }
.lang-trigger {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(9, 21, 36, 0.35); border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 8px 11px; cursor: pointer; color: #fff;
  font-family: var(--font-num); font-weight: 700; font-size: 13px; letter-spacing: 0.04em;
}
.lang-trigger .caret { color: var(--pa-signal); display: inline-flex; transition: transform 0.15s; }
.lang-select.open .lang-trigger .caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 6px); right: 0; min-width: 132px;
  background: rgba(13, 28, 46, 0.96);
  -webkit-backdrop-filter: var(--blur-glass); backdrop-filter: var(--blur-glass);
  border: 1px solid rgba(255, 255, 255, 0.18); box-shadow: 0 12px 30px rgba(9, 21, 36, 0.4);
  z-index: 60; padding: 4px 0; display: none;
}
.lang-select.open .lang-menu { display: block; }
.lang-menu button {
  width: 100%; display: flex; align-items: center; gap: 8px;
  background: transparent; border: none; padding: 10px 14px; cursor: pointer;
  color: #fff; font-family: var(--font-num); font-weight: 700; font-size: 14px; letter-spacing: 0.04em;
}
.lang-menu button:hover { background: rgba(255, 255, 255, 0.1); }
.lang-menu button.is-current { color: var(--pa-signal); }
.lang-flag { display: block; width: 22px; height: 16px; object-fit: cover; border: 1px solid rgba(255, 255, 255, 0.35); }
.lang-trigger .lang-flag { width: 20px; height: 15px; }
/* Google翻訳ウィジェット（非表示で保持） */
#google_translate_element { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
.goog-te-banner-frame, .skiptranslate iframe { display: none !important; }
body { top: 0 !important; }
font[style] { background: transparent !important; box-shadow: none !important; }

/* ============================================================
   ボタン
   ============================================================ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 500; letter-spacing: 0.02em; line-height: 1.2; border: 1px solid transparent; cursor: pointer; transition: background var(--dur-base) var(--ease-standard), color var(--dur-base) var(--ease-standard), border-color var(--dur-base) var(--ease-standard); }
.btn-md { padding: 12px 24px; font-size: 15px; min-height: 44px; }
.btn-lg { padding: 16px 30px; font-size: 16px; min-height: 52px; }
.btn-primary { background: var(--color-brand); color: #fff; }
.btn-primary:hover { background: var(--color-brand-hover); }
.btn-cta { background: var(--color-signal); color: #fff; font-weight: 600; }
.btn-cta:hover { background: var(--color-signal-hover); }
.btn-ondark { background: rgba(255, 255, 255, 0.92); color: var(--pa-navy); }
.btn-ondark:hover { background: #fff; }
.btn-outline { background: transparent; border-color: var(--pa-navy); color: var(--pa-navy); font-weight: 600; }
.btn-outline:hover { background: var(--pa-navy); color: #fff; }

/* ============================================================
   フッター
   ============================================================ */
.site-footer { background: var(--pa-navy); color: var(--text-on-dark); border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer-inner { padding: 72px 32px 40px; max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-about p.desc { margin-top: 20px; font-size: 13px; line-height: 1.9; color: #9FB4C9; max-width: 280px; }
.footer-about .info { margin-top: 18px; font-size: 12.5px; line-height: 2; color: #C7D4E2; }
.footer-about .group { margin-top: 14px; font-size: 11.5px; color: #7E94AB; }
.footer-col h4 { font-size: 12.5px; color: #fff; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 12.5px; color: #9FB4C9; transition: color var(--dur-fast); }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom .copy { font-family: var(--font-num); font-size: 11px; color: #7E94AB; }
.footer-bottom a { font-size: 11.5px; color: #9FB4C9; }
.footer-bottom a:hover { color: #fff; }

/* ============================================================
   下層ページ共通ヒーロー
   ============================================================ */
.page-hero { position: relative; background: var(--pa-navy); overflow: hidden; }
.page-hero .bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero .scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,28,46,0.72) 0%, rgba(13,28,46,0.48) 55%, rgba(13,28,46,0.26) 100%); }
.page-hero .inner { position: relative; z-index: 2; padding: 150px 0 68px; }
.page-hero .initial-label { color: #8FA9C2; opacity: 0.9; }
.page-hero h1 { margin-top: 14px; font-size: 44px; color: #fff; letter-spacing: 0.02em; font-weight: 700; }
.breadcrumb { margin-top: 26px; font-size: 12px; color: #9FB4C9; }
.breadcrumb a { color: #9FB4C9; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { margin: 0 8px; }
.breadcrumb .cur { color: #fff; }

/* ============================================================
   CTAバンド（全ページ共通）
   ============================================================ */
.cta-band { background: var(--gradient-navy); position: relative; overflow: hidden; }
.cta-band .grid-bg, .grid-bg {
  position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 56px 56px;
}
.cta-band .inner { position: relative; padding: 80px 0; max-width: 720px; }
.cta-band h2 { font-size: 32px; color: #fff; line-height: 1.4; }
.cta-band p.lede { margin-top: 18px; font-size: 15.5px; line-height: 1.95; color: #C7D4E2; max-width: 540px; }
.cta-checks { display: flex; gap: 24px; margin-top: 26px; flex-wrap: wrap; }
.cta-checks span { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: #EAF0F6; }
.cta-checks .ck { color: var(--pa-signal); font-weight: 900; }
.cta-band .actions { display: flex; margin-top: 32px; }

/* チェックマーク（CSS製） */
.ck::before { content: "✓"; }

/* ============================================================
   レスポンシブ（共通）
   ============================================================ */
@media (max-width: 1080px) {
  .global-nav { display: none; }
  .nav-toggle { display: flex; }
}
@media (max-width: 1023px) {
  .pa-section { padding: 64px 0; }
  .pa-container { padding: 0 24px; }
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-hero h1 { font-size: 32px; }
  .sec-head .ghost { font-size: 56px; }
  .wrap { padding: 0 20px; }
}
@media (max-width: 767px) {
  .pa-section { padding: 48px 0; }
  .pa-container { padding: 0 20px; }
  .header-inner { padding: 0 12px 0 16px; }
  .brand .ja { font-size: 14px; }
  .header-tools { gap: 6px; }
  /* スマホではヘッダーのお問い合わせボタンを隠し、メニュー内のCTAに集約 */
  .header-inner > .header-tools .btn-contact { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-band h2 { font-size: 24px; }
  .initial-label .big { font-size: 46px; }
  .initial-label .rest { font-size: 20px; }
}

/* 下層ページ見出し: 画面幅が狭いと左右の余白が0になるのを防ぐ（広いPCでは従来どおり） */
@media (max-width: 1304px) {
  .page-hero .inner { padding-left: 32px; padding-right: 32px; }
}
@media (max-width: 860px) {
  .page-hero .inner { padding-left: 20px; padding-right: 20px; }
}
