/* 会社概要ページ専用スタイル（静的版 company.html の <style> ブロックを外出し） */
/* ---- page-specific: Company ---- */
.company-hero {
  position: relative;
  min-height: 600px;
  padding-top: var(--header-h);
  display: flex;
  align-items: flex-start;
  color: var(--c-white);
  background-color: #313233;
  /* PSD places the photo at 1924x1283 offset (1,-541) over the 1920x600
     hero, i.e. cover with the frame pulled down to 79.6%. No dot mesh here
     (unlike the contact hero) — the reference pixels are smooth. */
  background-image: url("../img/company/hero-bg.jpg");
  background-repeat: no-repeat;
  background-position: center 79.6%;
  background-size: cover;
  overflow: hidden;
}
/* Neutral black wash solved per column against the source photo: 0.89 at the
   left edge, easing to a flat 0.40 from ~60% across. Not navy — the sky
   reads as charcoal grey, not blue, in the design. */
.company-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(0, 0, 0, 0.888) 0%,
    rgba(0, 0, 0, 0.787) 16.7%,
    rgba(0, 0, 0, 0.651) 32.3%,
    rgba(0, 0, 0, 0.492) 47.9%,
    rgba(0, 0, 0, 0.403) 58.3%,
    rgba(0, 0, 0, 0.396) 100%);
  pointer-events: none;
}
.company-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 94px clamp(24px, 10.36vw, 199px) 0;
}
.company-hero__title { display: flex; align-items: baseline; gap: 64px; margin-bottom: 0; }
.company-hero__en { font-family: Georgia, serif; font-size: clamp(34px, 3.13vw, 60px); letter-spacing: 0.06em; margin-left: 32px; }
.company-hero__ja { font-family: var(--ff-jp-serif); font-weight: 500; font-size: clamp(20px, 1.82vw, 35px); letter-spacing: 0.14em; }
.company-hero__badges { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; margin-top: 33px; }
.company-hero__badge {
  display: inline-block;
  background: var(--c-white);
  color: #091152;
  /* PSD plates: 407x75 and 522x75, text ink inset 30 left / 21 top. */
  padding: 20px 22px 25px 30px;
  font-family: var(--ff-jp-serif);
  font-weight: 500;
  font-size: clamp(18px, 1.56vw, 30px);
  line-height: 1;
  letter-spacing: 0.05em;
  font-feature-settings: "halt" 1;
}

.our-business { padding: 110px 0 0; text-align: center; }
.our-business .section-head__en { display: block; margin-bottom: 6px; }

.company-about { padding: 70px 0 130px; }

/* Exact proportions from the PSD (長方形31 photo frame 717x611 @x299,
   長方形32 panel 723x492 @x884,y1053), normalized to the 1320px column.
   The panel is in normal flow so its height follows its content — that
   keeps the bottom padding intact even when a line wraps further than
   the design assumed. */
.company-about__hero { position: relative; min-height: 611px; margin-bottom: 90px; }
.company-about__photo-frame {
  position: absolute;
  left: 0; top: 0;
  width: 54.3%; height: 611px;
  background-size: cover;
  background-position: center;
}
.company-about__panel-wrap {
  position: relative;
  margin-left: 44.2%;
  padding-top: 9.1%;
  display: flex;
}
/* Asymmetric by design: the reference indents the text 67px from the
   panel's left edge but runs it almost to the container's right edge. */
.company-about__panel {
  background: var(--c-white);
  width: 100%;
  padding: 64px 20px 60px 5.1%;
}

.company-about__eyebrow { font-family: var(--ff-jp-serif); color: #1da0c6; font-size: clamp(16px, 1.6vw, 20px); letter-spacing: 0.18em; margin-bottom: 18px; display: block; }
.company-about__heading { font-family: var(--ff-jp-serif); font-weight: 400; color: var(--c-navy); font-size: clamp(38px, 4.5vw, 60px); line-height: 1.4; margin-bottom: 26px; }
.company-about__lead { font-size: clamp(15px, 1.3vw, 17px); line-height: 2; color: var(--c-text); }
.company-about__lead p + p { margin-top: 1.4em; }

/* Table measured off the reference: 354px tinted label column (#f6fbfe,
   centred labels), 107px indent on the value column, 20px type on a 1.2
   line, #e6e6e6 rules under every row including the last. */
.company-table-wrap { border-top: 2px solid var(--c-navy); }
.company-table-wrap .about-table { margin-bottom: 0; }
.company-table-wrap .about-table th {
  width: 26.8%;
  background: #f6fbfe;
  text-align: center;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  padding: 33px 12px;
  border-bottom: 1px solid #e6e6e6;
}
.company-table-wrap .about-table td {
  font-size: 20px;
  line-height: 1.2;
  padding: 33px 0 33px 8.1%;
  border-bottom: 1px solid #e6e6e6;
}
.company-table-wrap .about-table tr:last-child th,
.company-table-wrap .about-table tr:last-child td { border-bottom: 1px solid #e6e6e6; }
.company-table-wrap .about-table td p + p { margin-top: 21px; }

@media (max-width: 1280px) {
  .company-hero { min-height: 520px; }
  .our-business { padding-top: 88px; }
  .company-about { padding: 56px 0 96px; }
  .company-about__hero { min-height: 0; margin-bottom: 70px; }
  .company-about__photo-frame { height: 100%; }
  .company-about__panel { padding: 48px 20px 48px 5.1%; }
  .company-table-wrap .about-table th,
  .company-table-wrap .about-table td { font-size: 17px; padding-top: 24px; padding-bottom: 24px; }
}

@media (max-width: 1024px) {
  .company-hero { min-height: 440px; align-items: center; }
  .company-hero__inner { padding-top: var(--header-h); padding-bottom: 40px; }
  .company-hero__en { margin-left: 0; }
  .company-hero__badges { margin-top: 24px; }
  .company-hero__badge { font-size: clamp(18px, 2.6vw, 26px); padding: 12px 20px; }
  .our-business { padding-top: 72px; }
  .company-about { padding: 48px 0 80px; }
  .company-about__hero { margin-bottom: 56px; }
  .company-about__photo-frame { position: static; width: 100%; height: 300px; }
  .company-about__panel-wrap { position: static; display: block; margin-left: 0; padding-top: 0; }
  .company-about__panel { width: 90%; margin: -50px auto 0; padding: 40px 28px; }
  .company-about__heading { font-size: clamp(30px, 5vw, 44px); }
}

@media (max-width: 768px) {
  .company-hero { min-height: 380px; }
  .company-hero__title { flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
  .company-about__panel { width: 100%; margin: -40px 0 0; padding: 32px 22px; }
  .company-about__eyebrow { font-size: 14px; letter-spacing: 0.12em; }
  .company-about__heading { font-size: 26px; margin-bottom: 18px; }
  .company-about__lead { font-size: 15px; line-height: 1.9; }
  .company-table-wrap .about-table th { width: auto; display: block; text-align: left; font-size: 15px; font-weight: 700; padding: 0 16px 6px; }
  .company-table-wrap .about-table td { display: block; font-size: 15px; padding: 8px 16px 0; }
  .company-table-wrap .about-table tr { display: block; padding: 18px 0; border-bottom: 1px solid #e6e6e6; }
  .company-table-wrap .about-table th, .company-table-wrap .about-table td { border-bottom: none; }
  .company-table-wrap .about-table tr:last-child th,
  .company-table-wrap .about-table tr:last-child td { border-bottom: none; }
}

@media (max-width: 560px) {
  .company-hero { min-height: 320px; }
  .company-hero__badge { font-size: 15px; padding: 9px 12px; }
  .company-hero__badges { gap: 10px; }
  .company-about__photo-frame { height: 220px; }
}
