/* =========================================================
   Euspec — Company (会社情報) pages
   Shares /styles.css (palette, header, footer, buttons).
   This file only adds styles specific to the /company directory.
   ========================================================= */

/* ===== Page hero (navy band under the fixed header) ===== */
.page-hero {
  position: relative;
  background: radial-gradient(120% 120% at 80% 0%, #0e3559 0%, #001f3f 58%, #001730 100%);
  color: #fff;
  padding: clamp(132px, 16vw, 168px) 0 clamp(54px, 7vw, 84px);
  overflow: hidden;
}
.page-hero .hero-grid {
  position: absolute; inset: -2px;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(120% 90% at 70% 10%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 90% at 70% 10%, #000 0%, transparent 78%);
}
/* グリッドに重ねる抽象幾何学モチーフ（奥行き） */
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--geo); background-size: cover; background-position: center 20%;
}
.page-hero-inner { position: relative; z-index: 1; }
.breadcrumb {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 12.5px; color: rgba(255, 255, 255, .7); margin-bottom: 22px; letter-spacing: .04em;
}
.breadcrumb a { color: rgba(255, 255, 255, .7); transition: color .25s; }
.breadcrumb a:hover { color: var(--gold-soft); }
.breadcrumb .sep { color: rgba(255, 255, 255, .35); }
.breadcrumb [aria-current] { color: var(--gold-soft); }
/* BAT寄せ：英字を主役に大きく、日本語タイトルは控えめに添える */
.page-eyebrow {
  font-family: var(--font-en); font-size: clamp(40px, 7vw, 64px); font-weight: 600;
  letter-spacing: .01em; line-height: 1.05; color: #fff; margin-bottom: 12px;
}
.page-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(16px, 2vw, 20px); line-height: 1.6; color: rgba(255, 255, 255, .8); margin-bottom: 22px;
}
.page-lead { font-size: clamp(14.5px, 1.6vw, 16.5px); line-height: 2; color: rgba(255, 255, 255, .82); max-width: 720px; }

/* ===== Company tab bar (directory navigation) ===== */
.company-tabs {
  position: sticky; top: 64px; z-index: 80;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.company-tabs-inner { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.company-tabs-inner::-webkit-scrollbar { display: none; }
.company-tab {
  position: relative; flex: 0 0 auto; padding: 20px 26px;
  font-size: 15px; font-weight: 700; color: var(--ink-soft); white-space: nowrap;
  transition: color .25s;
}
.company-tab .en { display: block; font-family: var(--font-en); font-size: 10.5px; font-weight: 600; letter-spacing: .22em; color: #b9c4d1; margin-bottom: 3px; }
.company-tab::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: -1px; height: 3px;
  background: var(--ink); border-radius: 3px 3px 0 0; transform: scaleX(0); transform-origin: center; transition: transform .3s var(--ease);
}
.company-tab:hover { color: var(--navy); }
.company-tab:hover::after { transform: scaleX(1); }
.company-tab.active { color: var(--navy); }
.company-tab.active .en { color: var(--ink); }
.company-tab.active::after { transform: scaleX(1); }

/* ===== Corporate section base ===== */
/* セクション間余白 従来比1.5倍 */
.corp { padding: clamp(90px, 12vw, 156px) 0; }
.corp-narrow { max-width: 880px; }
/* BAT寄せ：見出しは左寄せ（HTMLのinline centerを打ち消す） */
.corp-head { margin-bottom: clamp(34px, 5vw, 56px); text-align: left !important; }
.corp-head .section-tag { display: block; }
.corp-head .section-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(19px, 2.6vw, 27px); line-height: 1.55; color: var(--navy); }
.corp-head .section-lead { margin-top: 18px; font-size: 16px; color: var(--ink-soft); line-height: 1.95; }

/* Policy statement block */
/* POLICY見出し: 明朝で大きく太く、洗練された印象に */
.corp-head .policy-title {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(28px, 4.6vw, 48px); line-height: 1.65; letter-spacing: .03em; color: var(--navy);
}
.statement { max-width: 880px; }
.statement p { font-size: clamp(16px, 2vw, 18px); line-height: 2.15; color: var(--ink); }
.statement p + p { margin-top: 1.5em; }
.statement strong { color: var(--navy); font-weight: 700; }
/* セクション末尾のCTAボタン */
.corp-foot-cta { text-align: center; margin-top: clamp(44px, 6vw, 64px); }

/* Mission / Vision / Values */
.mvv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.mvv-card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--ink); border-radius: var(--radius-lg); padding: 38px 32px; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.mvv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
/* 概念を表すラインアイコン（旗・望遠鏡・歯車） */
.mvv-icon { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 16px; background: rgba(0, 0, 0, .05); color: var(--ink); margin-bottom: 20px; }
.mvv-icon svg { width: 30px; height: 30px; }
.mvv-label { font-family: var(--font-en); font-weight: 700; letter-spacing: .18em; font-size: 13px; color: var(--gold); margin-bottom: 8px; }
.mvv-jp { font-family: var(--font-display); font-weight: 700; font-size: clamp(17px, 1.9vw, 19.5px); line-height: 1.6; color: var(--navy); margin-bottom: 16px; }
.mvv-card p { font-size: 14.5px; line-height: 1.95; color: var(--ink-soft); }

/* ===== 代表メッセージ ===== */
.message-block { max-width: 860px; }
.message-block .msg-head { font-family: var(--font-display); font-weight: 900; font-size: clamp(22px, 3.4vw, 32px); line-height: 1.65; color: var(--navy); margin-bottom: 40px; }
.message-block .msg-head .accent { color: var(--gold); }
.message-block p { font-size: 16px; line-height: 2.1; color: var(--ink); }
.message-block p + p { margin-top: 1.5em; }
.message-block strong { color: var(--navy); font-weight: 700; }
/* 手書き風の署名（右下配置） */
.msg-sign { margin-top: 52px; padding-top: 30px; border-top: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.msg-sign .role { font-size: 13.5px; color: var(--ink-soft); }
.msg-sign .name { font-family: "Yuji Syuku", var(--font-serif); font-weight: 400; font-size: clamp(28px, 4vw, 38px); color: var(--navy); line-height: 1.4; }

/* ===== 社名の由来（独立コラム枠） ===== */
.origin-box {
  max-width: 860px; margin: 0 auto;
  background: var(--light);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(34px, 5vw, 56px); box-shadow: var(--shadow-sm);
}
.origin-box .origin-tag { display: inline-block; font-family: var(--font-en); font-size: 12px; font-weight: 700; letter-spacing: .3em; color: var(--gold); margin-bottom: 14px; }
.origin-box h2 { font-family: var(--font-serif); font-weight: 700; font-size: clamp(21px, 3vw, 28px); color: var(--navy); margin-bottom: 24px; line-height: 1.6; }
.origin-box > p { font-size: 15.5px; line-height: 2.05; color: var(--ink); }
.origin-terms { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 26px 0; }
.origin-term { background: rgba(255, 255, 255, .75); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.origin-term h3 { font-family: var(--font-en); font-weight: 600; font-size: 17px; color: var(--navy); margin-bottom: 4px; }
.origin-term .term-jp { font-size: 12.5px; font-weight: 700; color: var(--gold); margin-bottom: 10px; }
.origin-term p { font-size: 13.5px; line-height: 1.95; color: var(--ink-soft); }

/* ===== 代表プロフィール ===== */
.profile-box { max-width: 860px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(30px, 4vw, 48px); box-shadow: var(--shadow-sm); }
.profile-box dl { display: flex; flex-direction: column; gap: 0; }
.profile-box .profile-row { display: grid; grid-template-columns: 130px 1fr; gap: 18px; padding: 18px 0; }
.profile-box .profile-row:not(:last-child) { border-bottom: 1px dashed var(--line); }
.profile-box dt { font-weight: 700; color: var(--navy); font-size: 15px; }
.profile-box dd { font-size: 15px; line-height: 2; color: var(--ink); }
.profile-box dd .en-name { font-family: var(--font-en); font-size: 13px; color: var(--ink-soft); margin-left: 10px; letter-spacing: .06em; }

/* ===== 事業内容 ===== */
.biz-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.biz-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px 36px; box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.biz-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.biz-no { font-family: var(--font-en); font-weight: 800; font-size: 15px; letter-spacing: .14em; color: var(--gold); margin-bottom: 14px; }
.biz-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 21px; color: var(--navy); line-height: 1.5; margin-bottom: 16px; }
.biz-card p { font-size: 14.5px; line-height: 1.95; color: var(--ink-soft); margin-bottom: 18px; }
.biz-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.biz-tags span { font-size: 12.5px; font-weight: 600; color: var(--navy); background: rgba(0, 31, 63, .05); border-radius: 999px; padding: 6px 14px; }

/* Feature row (横並びの特徴) */
.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-item { text-align: center; padding: 30px 24px; }
.feature-item .fi-icon { width: 64px; height: 64px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 18px; background: rgba(0, 0, 0, .05); color: var(--ink); font-size: 26px; font-weight: 900; }
.feature-item h4 { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--navy); margin-bottom: 10px; }
.feature-item p { font-size: 13.5px; line-height: 1.85; color: var(--ink-soft); }

/* ===== Corporate CTA band ===== */
.corp-cta { position: relative; overflow: hidden; background: #001f3f; color: #fff; text-align: center; padding: clamp(84px, 12vw, 138px) 0; }
.corp-cta::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: var(--geo); background-size: cover; background-position: center; opacity: .7; }
.corp-cta .container { position: relative; }
.corp-cta h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(22px, 3.4vw, 34px); margin-bottom: 16px; }
.corp-cta p { font-size: 15.5px; color: rgba(255, 255, 255, .82); line-height: 1.95; margin-bottom: 32px; max-width: 600px; margin-inline: auto; }
.corp-cta .btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .mvv-grid, .biz-grid, .feature-row { grid-template-columns: 1fr; max-width: 540px; margin-inline: auto; }
  .origin-terms { grid-template-columns: 1fr; }
  .profile-box .profile-row { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 760px) {
  .company-tab { padding: 16px 18px; font-size: 14px; }
  .company-tabs { top: 0; }
}
